second commit

This commit is contained in:
2024-12-27 22:31:23 +09:00
parent 2353324570
commit 10a0f110ca
8819 changed files with 1307198 additions and 28 deletions

8
node_modules/flowbite/lib/esm/dom/events.d.ts generated vendored Normal file
View File

@ -0,0 +1,8 @@
declare class Events {
private _eventType;
private _eventFunctions;
constructor(eventType: string, eventFunctions?: EventListener[]);
init(): void;
}
export default Events;
//# sourceMappingURL=events.d.ts.map

1
node_modules/flowbite/lib/esm/dom/events.d.ts.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/dom/events.ts"],"names":[],"mappings":"AAAA,cAAM,MAAM;IACR,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,eAAe,CAAkB;gBAE7B,SAAS,EAAE,MAAM,EAAE,cAAc,GAAE,aAAa,EAAO;IAKnE,IAAI;CAOP;AAED,eAAe,MAAM,CAAC"}

18
node_modules/flowbite/lib/esm/dom/events.js generated vendored Normal file
View File

@ -0,0 +1,18 @@
var Events = /** @class */ (function () {
function Events(eventType, eventFunctions) {
if (eventFunctions === void 0) { eventFunctions = []; }
this._eventType = eventType;
this._eventFunctions = eventFunctions;
}
Events.prototype.init = function () {
var _this = this;
this._eventFunctions.forEach(function (eventFunction) {
if (typeof window !== 'undefined') {
window.addEventListener(_this._eventType, eventFunction);
}
});
};
return Events;
}());
export default Events;
//# sourceMappingURL=events.js.map

1
node_modules/flowbite/lib/esm/dom/events.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"events.js","sourceRoot":"","sources":["../../../src/dom/events.ts"],"names":[],"mappings":"AAAA;IAII,gBAAY,SAAiB,EAAE,cAAoC;QAApC,+BAAA,EAAA,mBAAoC;QAC/D,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC5B,IAAI,CAAC,eAAe,GAAG,cAAc,CAAC;IAC1C,CAAC;IAED,qBAAI,GAAJ;QAAA,iBAMC;QALG,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,UAAC,aAAa;YACvC,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;gBAC/B,MAAM,CAAC,gBAAgB,CAAC,KAAI,CAAC,UAAU,EAAE,aAAa,CAAC,CAAC;aAC3D;QACL,CAAC,CAAC,CAAC;IACP,CAAC;IACL,aAAC;AAAD,CAAC,AAhBD,IAgBC;AAED,eAAe,MAAM,CAAC"}

100
node_modules/flowbite/lib/esm/dom/instances.d.ts generated vendored Normal file
View File

@ -0,0 +1,100 @@
import { AccordionInterface } from '../components/accordion/interface';
import { CarouselInterface } from '../components/carousel/interface';
import { CollapseInterface } from '../components/collapse/interface';
import { DialInterface } from '../components/dial/interface';
import { DismissInterface } from '../components/dismiss/interface';
import { DrawerInterface } from '../components/drawer/interface';
import { DropdownInterface } from '../components/dropdown/interface';
import { ModalInterface } from '../components/modal/interface';
import { PopoverInterface } from '../components/popover/interface';
import { TabsInterface } from '../components/tabs/interface';
import { TooltipInterface } from '../components/tooltip/interface';
import { InputCounterInterface } from '../components/input-counter/interface';
import { CopyClipboardInterface } from '../components/clipboard/interface';
import { DatepickerInterface } from '../components/datepicker/interface';
declare class Instances {
private _instances;
constructor();
addInstance(component: keyof Instances['_instances'], instance: any, id?: string, override?: boolean): boolean;
getAllInstances(): {
Accordion: {
[id: string]: AccordionInterface;
};
Carousel: {
[id: string]: CarouselInterface;
};
Collapse: {
[id: string]: CollapseInterface;
};
Dial: {
[id: string]: DialInterface;
};
Dismiss: {
[id: string]: DismissInterface;
};
Drawer: {
[id: string]: DrawerInterface;
};
Dropdown: {
[id: string]: DropdownInterface;
};
Modal: {
[id: string]: ModalInterface;
};
Popover: {
[id: string]: PopoverInterface;
};
Tabs: {
[id: string]: TabsInterface;
};
Tooltip: {
[id: string]: TooltipInterface;
};
InputCounter: {
[id: string]: InputCounterInterface;
};
CopyClipboard: {
[id: string]: CopyClipboardInterface;
};
Datepicker: {
[id: string]: DatepickerInterface;
};
};
getInstances(component: keyof Instances['_instances']): false | {
[id: string]: AccordionInterface;
} | {
[id: string]: CarouselInterface;
} | {
[id: string]: CollapseInterface;
} | {
[id: string]: DialInterface;
} | {
[id: string]: DismissInterface;
} | {
[id: string]: DrawerInterface;
} | {
[id: string]: DropdownInterface;
} | {
[id: string]: ModalInterface;
} | {
[id: string]: TabsInterface;
} | {
[id: string]: TooltipInterface;
} | {
[id: string]: InputCounterInterface;
} | {
[id: string]: CopyClipboardInterface;
} | {
[id: string]: DatepickerInterface;
};
getInstance(component: keyof Instances['_instances'], id: string): any;
destroyAndRemoveInstance(component: keyof Instances['_instances'], id: string): void;
removeInstance(component: keyof Instances['_instances'], id: string): void;
destroyInstanceObject(component: keyof Instances['_instances'], id: string): void;
instanceExists(component: keyof Instances['_instances'], id: string): boolean;
_generateRandomId(): string;
private _componentAndInstanceCheck;
}
declare const instances: Instances;
export default instances;
//# sourceMappingURL=instances.d.ts.map

1
node_modules/flowbite/lib/esm/dom/instances.d.ts.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"instances.d.ts","sourceRoot":"","sources":["../../../src/dom/instances.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAEzE,cAAM,SAAS;IACX,OAAO,CAAC,UAAU,CAehB;;IAqBF,WAAW,CACP,SAAS,EAAE,MAAM,SAAS,CAAC,YAAY,CAAC,EACxC,QAAQ,EAAE,GAAG,EACb,EAAE,CAAC,EAAE,MAAM,EACX,QAAQ,UAAQ;IAoBpB,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIf,YAAY,CAAC,SAAS,EAAE,MAAM,SAAS,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;IAQrD,WAAW,CAAC,SAAS,EAAE,MAAM,SAAS,CAAC,YAAY,CAAC,EAAE,EAAE,EAAE,MAAM;IAYhE,wBAAwB,CACpB,SAAS,EAAE,MAAM,SAAS,CAAC,YAAY,CAAC,EACxC,EAAE,EAAE,MAAM;IASd,cAAc,CAAC,SAAS,EAAE,MAAM,SAAS,CAAC,YAAY,CAAC,EAAE,EAAE,EAAE,MAAM;IAOnE,qBAAqB,CACjB,SAAS,EAAE,MAAM,SAAS,CAAC,YAAY,CAAC,EACxC,EAAE,EAAE,MAAM;IAQd,cAAc,CAAC,SAAS,EAAE,MAAM,SAAS,CAAC,YAAY,CAAC,EAAE,EAAE,EAAE,MAAM;IAYnE,iBAAiB;IAIjB,OAAO,CAAC,0BAA0B;CAgBrC;AAED,QAAA,MAAM,SAAS,WAAkB,CAAC;AAElC,eAAe,SAAS,CAAC"}

105
node_modules/flowbite/lib/esm/dom/instances.js generated vendored Normal file
View File

@ -0,0 +1,105 @@
var Instances = /** @class */ (function () {
function Instances() {
this._instances = {
Accordion: {},
Carousel: {},
Collapse: {},
Dial: {},
Dismiss: {},
Drawer: {},
Dropdown: {},
Modal: {},
Popover: {},
Tabs: {},
Tooltip: {},
InputCounter: {},
CopyClipboard: {},
Datepicker: {},
};
}
Instances.prototype.addInstance = function (component, instance, id, override) {
if (override === void 0) { override = false; }
if (!this._instances[component]) {
console.warn("Flowbite: Component ".concat(component, " does not exist."));
return false;
}
if (this._instances[component][id] && !override) {
console.warn("Flowbite: Instance with ID ".concat(id, " already exists."));
return;
}
if (override && this._instances[component][id]) {
this._instances[component][id].destroyAndRemoveInstance();
}
this._instances[component][id ? id : this._generateRandomId()] =
instance;
};
Instances.prototype.getAllInstances = function () {
return this._instances;
};
Instances.prototype.getInstances = function (component) {
if (!this._instances[component]) {
console.warn("Flowbite: Component ".concat(component, " does not exist."));
return false;
}
return this._instances[component];
};
Instances.prototype.getInstance = function (component, id) {
if (!this._componentAndInstanceCheck(component, id)) {
return;
}
if (!this._instances[component][id]) {
console.warn("Flowbite: Instance with ID ".concat(id, " does not exist."));
return;
}
return this._instances[component][id];
};
Instances.prototype.destroyAndRemoveInstance = function (component, id) {
if (!this._componentAndInstanceCheck(component, id)) {
return;
}
this.destroyInstanceObject(component, id);
this.removeInstance(component, id);
};
Instances.prototype.removeInstance = function (component, id) {
if (!this._componentAndInstanceCheck(component, id)) {
return;
}
delete this._instances[component][id];
};
Instances.prototype.destroyInstanceObject = function (component, id) {
if (!this._componentAndInstanceCheck(component, id)) {
return;
}
this._instances[component][id].destroy();
};
Instances.prototype.instanceExists = function (component, id) {
if (!this._instances[component]) {
return false;
}
if (!this._instances[component][id]) {
return false;
}
return true;
};
Instances.prototype._generateRandomId = function () {
return Math.random().toString(36).substr(2, 9);
};
Instances.prototype._componentAndInstanceCheck = function (component, id) {
if (!this._instances[component]) {
console.warn("Flowbite: Component ".concat(component, " does not exist."));
return false;
}
if (!this._instances[component][id]) {
console.warn("Flowbite: Instance with ID ".concat(id, " does not exist."));
return false;
}
return true;
};
return Instances;
}());
var instances = new Instances();
export default instances;
if (typeof window !== 'undefined') {
window.FlowbiteInstances = instances;
}
//# sourceMappingURL=instances.js.map

1
node_modules/flowbite/lib/esm/dom/instances.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"instances.js","sourceRoot":"","sources":["../../../src/dom/instances.ts"],"names":[],"mappings":"AAeA;IAkBI;QACI,IAAI,CAAC,UAAU,GAAG;YACd,SAAS,EAAE,EAAE;YACb,QAAQ,EAAE,EAAE;YACZ,QAAQ,EAAE,EAAE;YACZ,IAAI,EAAE,EAAE;YACR,OAAO,EAAE,EAAE;YACX,MAAM,EAAE,EAAE;YACV,QAAQ,EAAE,EAAE;YACZ,KAAK,EAAE,EAAE;YACT,OAAO,EAAE,EAAE;YACX,IAAI,EAAE,EAAE;YACR,OAAO,EAAE,EAAE;YACX,YAAY,EAAE,EAAE;YAChB,aAAa,EAAE,EAAE;YACjB,UAAU,EAAE,EAAE;SACjB,CAAC;IACN,CAAC;IAED,+BAAW,GAAX,UACI,SAAwC,EACxC,QAAa,EACb,EAAW,EACX,QAAgB;QAAhB,yBAAA,EAAA,gBAAgB;QAEhB,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE;YAC7B,OAAO,CAAC,IAAI,CAAC,8BAAuB,SAAS,qBAAkB,CAAC,CAAC;YACjE,OAAO,KAAK,CAAC;SAChB;QAED,IAAI,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,QAAQ,EAAE;YAC7C,OAAO,CAAC,IAAI,CAAC,qCAA8B,EAAE,qBAAkB,CAAC,CAAC;YACjE,OAAO;SACV;QAED,IAAI,QAAQ,IAAI,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE;YAC5C,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,wBAAwB,EAAE,CAAC;SAC7D;QAED,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE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AO,MAAM,KAAK,WAAW,EAAE;IAC/B,MAAM,CAAC,iBAAiB,GAAG,SAAS,CAAC;CACxC"}

10
node_modules/flowbite/lib/esm/dom/types.d.ts generated vendored Normal file
View File

@ -0,0 +1,10 @@
export declare type InstanceOptions = {
id?: string;
override?: boolean;
};
export declare type EventListenerInstance = {
element: HTMLElement;
type: string;
handler: EventListenerOrEventListenerObject;
};
//# sourceMappingURL=types.d.ts.map

1
node_modules/flowbite/lib/esm/dom/types.d.ts.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/dom/types.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,MAAM,eAAe,GAAG;IAClC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,MAAM,CAAC,OAAO,MAAM,qBAAqB,GAAG;IACxC,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,kCAAkC,CAAC;CAC/C,CAAC"}

2
node_modules/flowbite/lib/esm/dom/types.js generated vendored Normal file
View File

@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=types.js.map

1
node_modules/flowbite/lib/esm/dom/types.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/dom/types.ts"],"names":[],"mappings":""}