vuesp-components 1.3.13 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -3
- package/dist/App.vue.d.ts +1 -1
- package/dist/App.vue.d.ts.map +1 -1
- package/dist/components/app/AppAside.vue.d.ts +3 -3
- package/dist/components/app/AppAside.vue.d.ts.map +1 -1
- package/dist/components/app/AppHeader.vue.d.ts +7 -7
- package/dist/components/app/AppHeader.vue.d.ts.map +1 -1
- package/dist/components/app/AppNav.vue.d.ts +28 -3
- package/dist/components/app/AppNav.vue.d.ts.map +1 -1
- package/dist/components/app/AppNotification.vue.d.ts +7 -7
- package/dist/components/app/AppNotification.vue.d.ts.map +1 -1
- package/dist/components/app/AppOverlay.vue.d.ts +1 -1
- package/dist/components/app/AppOverlay.vue.d.ts.map +1 -1
- package/dist/components/app/AppProgress.vue.d.ts +1 -1
- package/dist/components/app/AppProgress.vue.d.ts.map +1 -1
- package/dist/components/app/index.d.ts +1 -2
- package/dist/components/app/index.d.ts.map +1 -1
- package/dist/components/app/types.d.ts +0 -12
- package/dist/components/app/types.d.ts.map +1 -1
- package/dist/components/block/breadcrumb/BlockBreadcrumb.vue.d.ts +3 -3
- package/dist/components/block/breadcrumb/BlockBreadcrumb.vue.d.ts.map +1 -1
- package/dist/components/block/info/BlockInfo.vue.d.ts +1 -1
- package/dist/components/block/info/BlockInfo.vue.d.ts.map +1 -1
- package/dist/components/card/main/CardMain.vue.d.ts +1 -1
- package/dist/components/card/main/CardMain.vue.d.ts.map +1 -1
- package/dist/components/card/notification/CardNotification.vue.d.ts +7 -7
- package/dist/components/card/notification/CardNotification.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardBase.vue.d.ts +9 -9
- package/dist/components/dashboard/cards/CardBase.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardButton.vue.d.ts +9 -9
- package/dist/components/dashboard/cards/CardButton.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardDate.vue.d.ts +9 -9
- package/dist/components/dashboard/cards/CardDimmer.vue.d.ts +9 -9
- package/dist/components/dashboard/cards/CardInfo.vue.d.ts +10 -10
- package/dist/components/dashboard/cards/CardInfo.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardInput.vue.d.ts +9 -9
- package/dist/components/dashboard/cards/CardInput.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardList.vue.d.ts +9 -9
- package/dist/components/dashboard/cards/CardList.vue.d.ts.map +1 -1
- package/dist/components/dashboard/edit/ItemEdit.vue.d.ts +3 -3
- package/dist/components/dashboard/edit/ItemEdit.vue.d.ts.map +1 -1
- package/dist/components/dashboard/edit/ItemOptions.vue.d.ts +3 -3
- package/dist/components/dashboard/edit/ItemOptions.vue.d.ts.map +1 -1
- package/dist/components/ui/autocomplete/VAutocomplete.vue.d.ts +4 -4
- package/dist/components/ui/autocomplete/VAutocomplete.vue.d.ts.map +1 -1
- package/dist/components/ui/button/VButton.vue.d.ts +3 -3
- package/dist/components/ui/button/VButton.vue.d.ts.map +1 -1
- package/dist/components/ui/checkbox/VCheckbox.vue.d.ts +3 -3
- package/dist/components/ui/checkbox/VCheckbox.vue.d.ts.map +1 -1
- package/dist/components/ui/dialog/VDialog.vue.d.ts +36 -0
- package/dist/components/ui/dialog/VDialog.vue.d.ts.map +1 -0
- package/dist/components/ui/dialog/VPopup.vue.d.ts +37 -0
- package/dist/components/ui/dialog/VPopup.vue.d.ts.map +1 -0
- package/dist/components/ui/dialog/types.d.ts +19 -0
- package/dist/components/ui/dialog/types.d.ts.map +1 -0
- package/dist/components/ui/drag-drop/VDragDrop.vue.d.ts +1 -9
- package/dist/components/ui/drag-drop/VDragDrop.vue.d.ts.map +1 -1
- package/dist/components/ui/dropdown/VDropdown.vue.d.ts +18 -18
- package/dist/components/ui/dropdown/VDropdown.vue.d.ts.map +1 -1
- package/dist/components/ui/dropdown/types.d.ts +6 -0
- package/dist/components/ui/dropdown/types.d.ts.map +1 -1
- package/dist/components/ui/expansion/VExpansion.vue.d.ts +2 -2
- package/dist/components/ui/expansion/VExpansion.vue.d.ts.map +1 -1
- package/dist/components/ui/file/VFile.vue.d.ts +3 -3
- package/dist/components/ui/file/VFile.vue.d.ts.map +1 -1
- package/dist/components/ui/func/VFunc.vue.d.ts +3 -3
- package/dist/components/ui/func/VFunc.vue.d.ts.map +1 -1
- package/dist/components/ui/icon/VIconLogo.vue.d.ts +3 -0
- package/dist/components/ui/icon/VIconLogo.vue.d.ts.map +1 -0
- package/dist/components/ui/icon/VIconLogoMini.vue.d.ts +3 -0
- package/dist/components/ui/icon/VIconLogoMini.vue.d.ts.map +1 -0
- package/dist/components/ui/index.d.ts +5 -2
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/list/VList.vue.d.ts +16 -18
- package/dist/components/ui/list/VList.vue.d.ts.map +1 -1
- package/dist/components/ui/list/VListObject.vue.d.ts +3 -3
- package/dist/components/ui/list/VListObject.vue.d.ts.map +1 -1
- package/dist/components/ui/list/types.d.ts +4 -6
- package/dist/components/ui/list/types.d.ts.map +1 -1
- package/dist/components/ui/loader/VLoader.vue.d.ts +1 -1
- package/dist/components/ui/select/VSelect.vue.d.ts +23 -21
- package/dist/components/ui/select/VSelect.vue.d.ts.map +1 -1
- package/dist/components/ui/select/types.d.ts +6 -10
- package/dist/components/ui/select/types.d.ts.map +1 -1
- package/dist/components/ui/table/VTable.vue.d.ts +3 -3
- package/dist/components/ui/table/VTable.vue.d.ts.map +1 -1
- package/dist/components/ui/tabs/VTabs.vue.d.ts +3 -3
- package/dist/components/ui/tabs/VTabs.vue.d.ts.map +1 -1
- package/dist/components/ui/text-field/VTextField.vue.d.ts +11 -11
- package/dist/components/ui/text-field/VTextField.vue.d.ts.map +1 -1
- package/dist/components/ui/text-wrapper/VTextWrapper.vue.d.ts +3 -3
- package/dist/components/ui/text-wrapper/VTextWrapper.vue.d.ts.map +1 -1
- package/dist/components/ui/wifiIcon/VWifiIcon.vue.d.ts +1 -1
- package/dist/composables/index.d.ts +2 -0
- package/dist/composables/index.d.ts.map +1 -1
- package/dist/composables/index.es.js +36 -33
- package/dist/composables/useDialog.d.ts +8 -0
- package/dist/composables/useDialog.d.ts.map +1 -0
- package/dist/composables/useSwipeDown.d.ts +7 -0
- package/dist/composables/useSwipeDown.d.ts.map +1 -0
- package/dist/dashboard/lists.d.ts.map +1 -0
- package/dist/dashboard/types.d.ts +1 -1
- package/dist/dashboard/types.d.ts.map +1 -1
- package/dist/index.es.js +1790 -2152
- package/dist/style.css +1 -1
- package/dist/types/messages.d.ts +5 -3
- package/dist/types/messages.d.ts.map +1 -1
- package/dist/useSwipeDown-E8KeNvRa.js +436 -0
- package/package.json +7 -6
- package/dist/components/app/AppDialog.vue.d.ts +0 -27
- package/dist/components/app/AppDialog.vue.d.ts.map +0 -1
- package/dist/components/ui/icon/VIcon.vue.d.ts +0 -6
- package/dist/components/ui/icon/VIcon.vue.d.ts.map +0 -1
- package/dist/const/lists.d.ts.map +0 -1
- /package/dist/{const → dashboard}/lists.d.ts +0 -0
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
label: string;
|
|
6
|
-
disabled?: boolean | number;
|
|
7
|
-
list: IListItem[];
|
|
1
|
+
export interface IVSelectProps<T> {
|
|
2
|
+
modelValue: string | number;
|
|
3
|
+
label?: string;
|
|
4
|
+
items: T[];
|
|
8
5
|
}
|
|
9
|
-
export interface IVSelectEmits {
|
|
10
|
-
(e: '
|
|
11
|
-
(e: 'change', item: IListItem): void;
|
|
6
|
+
export interface IVSelectEmits<T> {
|
|
7
|
+
(e: 'select', item: T): void;
|
|
12
8
|
}
|
|
13
9
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/select/types.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/select/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa,CAAC,CAAC;IAC9B,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,CAAC,EAAE,CAAC;CACZ;AAED,MAAM,WAAW,aAAa,CAAC,CAAC;IAC9B,CAAC,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,GAAG,IAAI,CAAC;CAC9B"}
|
|
@@ -13,17 +13,17 @@ declare function __VLS_template(): {
|
|
|
13
13
|
rootEl: HTMLTableElement;
|
|
14
14
|
};
|
|
15
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
-
declare const __VLS_component: import('vue').DefineComponent<IVTableProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<IVTableProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
17
17
|
click: (data: {
|
|
18
18
|
item: IItemTable;
|
|
19
19
|
event: Event;
|
|
20
20
|
}) => any;
|
|
21
|
-
}, string, import('vue').PublicProps, Readonly<IVTableProps & {
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<IVTableProps> & Readonly<{
|
|
22
22
|
onClick?: ((data: {
|
|
23
23
|
item: IItemTable;
|
|
24
24
|
event: Event;
|
|
25
25
|
}) => any) | undefined;
|
|
26
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}>;
|
|
26
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableElement>;
|
|
27
27
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
28
|
export default _default;
|
|
29
29
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/table/VTable.vue"],"names":[],"mappings":"AAqCA;AAqDA,OAAO,KAAK,EAAE,YAAY,EAAgB,UAAU,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAiBxG,iBAAS,cAAc;WAsFT,OAAO,IAA6B;;;UAbmC,GAAG;;;YAE5D,GAAG;uBACJ,GAAG;;;;EAe7B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"VTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/table/VTable.vue"],"names":[],"mappings":"AAqCA;AAqDA,OAAO,KAAK,EAAE,YAAY,EAAgB,UAAU,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAiBxG,iBAAS,cAAc;WAsFT,OAAO,IAA6B;;;UAbmC,GAAG;;;YAE5D,GAAG;uBACJ,GAAG;;;;EAe7B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;+FAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -9,11 +9,11 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
9
9
|
declare const __VLS_component: import('vue').DefineComponent<IVTabsProps, {
|
|
10
10
|
setActiveTab: (i: number) => void;
|
|
11
11
|
activeTab: import('vue').Ref<number, number>;
|
|
12
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
13
13
|
click: (index: number) => any;
|
|
14
|
-
}, string, import('vue').PublicProps, Readonly<IVTabsProps & {
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<IVTabsProps> & Readonly<{
|
|
15
15
|
onClick?: ((index: number) => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}>;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
17
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
18
|
export default _default;
|
|
19
19
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VTabs.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/tabs/VTabs.vue"],"names":[],"mappings":"AAgCA;AAyDA,OAAO,KAAK,EAAE,WAAW,EAAc,MAAM,4BAA4B,CAAC;AA8B1E,iBAAS,cAAc;WA4ET,OAAO,IAA6B;sDAXmC,GAAG;;;EAgBvF;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;sBA9GI,MAAM;;;;;;
|
|
1
|
+
{"version":3,"file":"VTabs.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/tabs/VTabs.vue"],"names":[],"mappings":"AAgCA;AAyDA,OAAO,KAAK,EAAE,WAAW,EAAc,MAAM,4BAA4B,CAAC;AA8B1E,iBAAS,cAAc;WA4ET,OAAO,IAA6B;sDAXmC,GAAG;;;EAgBvF;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;sBA9GI,MAAM;;;;;;6FAuH7B,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -9,19 +9,19 @@ declare function __VLS_template(): {
|
|
|
9
9
|
rootEl: HTMLDivElement;
|
|
10
10
|
};
|
|
11
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
-
declare const __VLS_component: import('vue').DefineComponent<IVTextFieldProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
-
click: (
|
|
14
|
-
blur: (
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<IVTextFieldProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
13
|
+
click: (event: Event) => any;
|
|
14
|
+
blur: (event: Event) => any;
|
|
15
15
|
"update:modelValue": (event: string) => any;
|
|
16
|
-
"on-icon": (
|
|
17
|
-
enter: (
|
|
18
|
-
}, string, import('vue').PublicProps, Readonly<IVTextFieldProps & {
|
|
19
|
-
onClick?: ((
|
|
20
|
-
onBlur?: ((
|
|
16
|
+
"on-icon": (event: Event) => any;
|
|
17
|
+
enter: (event: Event) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<IVTextFieldProps> & Readonly<{
|
|
19
|
+
onClick?: ((event: Event) => any) | undefined;
|
|
20
|
+
onBlur?: ((event: Event) => any) | undefined;
|
|
21
21
|
"onUpdate:modelValue"?: ((event: string) => any) | undefined;
|
|
22
|
-
"onOn-icon"?: ((
|
|
23
|
-
onEnter?: ((
|
|
24
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}>;
|
|
22
|
+
"onOn-icon"?: ((event: Event) => any) | undefined;
|
|
23
|
+
onEnter?: ((event: Event) => any) | undefined;
|
|
24
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
25
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
26
|
export default _default;
|
|
27
27
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VTextField.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/text-field/VTextField.vue"],"names":[],"mappings":"AA0CA;AA6FA,OAAO,KAAK,EAAE,gBAAgB,EAAoB,MAAM,kCAAkC,CAAC;AAoD3F,iBAAS,cAAc;WA+FT,OAAO,IAA6B;;sBAZvB,GAAG;yBACA,GAAG;;;;EAgBhC;AAmBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"VTextField.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/text-field/VTextField.vue"],"names":[],"mappings":"AA0CA;AA6FA,OAAO,KAAK,EAAE,gBAAgB,EAAoB,MAAM,kCAAkC,CAAC;AAoD3F,iBAAS,cAAc;WA+FT,OAAO,IAA6B;;sBAZvB,GAAG;yBACA,GAAG;;;;EAgBhC;AAmBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;6FAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -9,11 +9,11 @@ declare function __VLS_template(): {
|
|
|
9
9
|
rootEl: HTMLDivElement;
|
|
10
10
|
};
|
|
11
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
-
declare const __VLS_component: import('vue').DefineComponent<IVTextWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<IVTextWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
13
13
|
icon: (event: Event) => any;
|
|
14
|
-
}, string, import('vue').PublicProps, Readonly<IVTextWrapperProps & {
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<IVTextWrapperProps> & Readonly<{
|
|
15
15
|
onIcon?: ((event: Event) => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}>;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
17
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
18
|
export default _default;
|
|
19
19
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VTextWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/text-wrapper/VTextWrapper.vue"],"names":[],"mappings":"AAyBA;
|
|
1
|
+
{"version":3,"file":"VTextWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/text-wrapper/VTextWrapper.vue"],"names":[],"mappings":"AAyBA;AAuCA,OAAO,KAAK,EAAE,kBAAkB,EAAsB,MAAM,oCAAoC,CAAC;AAejG,iBAAS,cAAc;WA2DT,OAAO,IAA6B;;yBAXrB,GAAG;sBACN,GAAG;;;;EAe5B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;6FAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { IVWifiIconProps } from './types';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<IVWifiIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IVWifiIconProps & {}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}>;
|
|
2
|
+
declare const _default: import('vue').DefineComponent<IVWifiIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IVWifiIconProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3
3
|
export default _default;
|
|
4
4
|
//# sourceMappingURL=VWifiIcon.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ref as z, reactive as y, watch as B, computed as k } from "vue";
|
|
2
|
+
import { u as R, a as W } from "../useSwipeDown-E8KeNvRa.js";
|
|
2
3
|
function I(w) {
|
|
3
4
|
const { validationSchema: l, initialValues: m = {} } = w, d = typeof l == "function", v = z(
|
|
4
5
|
d ? l(m) : l
|
|
@@ -6,32 +7,32 @@ function I(w) {
|
|
|
6
7
|
v.value = t;
|
|
7
8
|
const e = Object.keys(t), o = Object.keys(c);
|
|
8
9
|
e.forEach((s) => {
|
|
9
|
-
s in c || (c[s] = m[s] ?? "", a[s] = [], u[s] = !1,
|
|
10
|
+
s in c || (c[s] = m[s] ?? "", a[s] = [], u[s] = !1, h[s] = !1);
|
|
10
11
|
}), o.forEach((s) => {
|
|
11
|
-
e.includes(s) || (delete c[s], delete a[s], delete u[s], delete
|
|
12
|
-
}),
|
|
13
|
-
}, c = y({}), a = y({}), u = y({}),
|
|
12
|
+
e.includes(s) || (delete c[s], delete a[s], delete u[s], delete h[s]);
|
|
13
|
+
}), E();
|
|
14
|
+
}, c = y({}), a = y({}), u = y({}), h = y({}), f = /* @__PURE__ */ new Map(), D = () => {
|
|
14
15
|
Object.keys(v.value).forEach((t) => {
|
|
15
|
-
c[t] = m[t] ?? "", a[t] = [], u[t] = !1,
|
|
16
|
+
c[t] = m[t] ?? "", a[t] = [], u[t] = !1, h[t] = !1;
|
|
16
17
|
});
|
|
17
|
-
},
|
|
18
|
-
const s =
|
|
18
|
+
}, i = () => d ? l(c) : v.value, g = (t, e) => {
|
|
19
|
+
const s = i()[t] || [], n = [];
|
|
19
20
|
for (const r of s) {
|
|
20
21
|
const p = r(e, c);
|
|
21
22
|
p !== !0 && n.push(p);
|
|
22
23
|
}
|
|
23
24
|
return a[t] = n, n.length === 0;
|
|
24
|
-
},
|
|
25
|
-
const o =
|
|
25
|
+
}, S = (t, e) => {
|
|
26
|
+
const o = i();
|
|
26
27
|
if (!o[t]) return;
|
|
27
|
-
|
|
28
|
+
g(t, e);
|
|
28
29
|
const s = f.get(t);
|
|
29
30
|
s && s.forEach((n) => {
|
|
30
|
-
o[n] &&
|
|
31
|
+
o[n] && g(n, c[n]);
|
|
31
32
|
});
|
|
32
|
-
},
|
|
33
|
+
}, E = () => {
|
|
33
34
|
f.clear();
|
|
34
|
-
const t =
|
|
35
|
+
const t = i();
|
|
35
36
|
Object.keys(t).forEach((e) => {
|
|
36
37
|
(t[e] || []).forEach((s) => {
|
|
37
38
|
if (typeof s == "function" && s.name === "sameAs") {
|
|
@@ -43,55 +44,55 @@ function I(w) {
|
|
|
43
44
|
}
|
|
44
45
|
});
|
|
45
46
|
});
|
|
46
|
-
},
|
|
47
|
-
const t =
|
|
47
|
+
}, O = () => {
|
|
48
|
+
const t = i();
|
|
48
49
|
let e = !0;
|
|
49
50
|
return Object.keys(t).forEach((o) => {
|
|
50
|
-
|
|
51
|
+
g(o, c[o]) || (e = !1);
|
|
51
52
|
}), e;
|
|
52
|
-
},
|
|
53
|
-
|
|
53
|
+
}, V = (t, e = {}) => {
|
|
54
|
+
i()[t] || console.warn(`Field "${t}" not found in current validationSchema`);
|
|
54
55
|
const s = k({
|
|
55
56
|
get: () => c[t],
|
|
56
57
|
set: (r) => {
|
|
57
|
-
c[t] = r,
|
|
58
|
+
c[t] = r, h[t] = !0, S(t, r);
|
|
58
59
|
}
|
|
59
60
|
}), n = k(() => {
|
|
60
61
|
var j;
|
|
61
62
|
const r = {
|
|
62
63
|
errors: a[t] || [],
|
|
63
64
|
touched: u[t] || !1,
|
|
64
|
-
dirty:
|
|
65
|
+
dirty: h[t] || !1
|
|
65
66
|
}, p = {
|
|
66
67
|
message: (j = a[t]) == null ? void 0 : j[0],
|
|
67
|
-
onInput: (
|
|
68
|
-
const K =
|
|
68
|
+
onInput: (b) => {
|
|
69
|
+
const K = b.target;
|
|
69
70
|
s.value = K.value;
|
|
70
71
|
},
|
|
71
72
|
onBlur: () => {
|
|
72
|
-
u[t] = !0,
|
|
73
|
+
u[t] = !0, S(t, c[t]);
|
|
73
74
|
}
|
|
74
75
|
};
|
|
75
76
|
if (e.props) {
|
|
76
|
-
const
|
|
77
|
-
return { ...p, ...
|
|
77
|
+
const b = e.props(r);
|
|
78
|
+
return { ...p, ...b };
|
|
78
79
|
}
|
|
79
80
|
return p;
|
|
80
81
|
});
|
|
81
82
|
return [s, n];
|
|
82
83
|
}, x = (t) => async (e) => {
|
|
83
84
|
e && e.preventDefault();
|
|
84
|
-
const o =
|
|
85
|
+
const o = i();
|
|
85
86
|
Object.keys(o).forEach((n) => {
|
|
86
87
|
u[n] = !0;
|
|
87
|
-
}),
|
|
88
|
+
}), O() && await t(c);
|
|
88
89
|
}, A = () => {
|
|
89
|
-
const t =
|
|
90
|
+
const t = i();
|
|
90
91
|
Object.keys(t).forEach((e) => {
|
|
91
|
-
c[e] = m[e] || "", a[e] = [], u[e] = !1,
|
|
92
|
+
c[e] = m[e] || "", a[e] = [], u[e] = !1, h[e] = !1;
|
|
92
93
|
});
|
|
93
94
|
};
|
|
94
|
-
return
|
|
95
|
+
return D(), E(), d && B(
|
|
95
96
|
() => c,
|
|
96
97
|
() => {
|
|
97
98
|
const t = l(c), e = v.value, o = Object.keys(t), s = Object.keys(e);
|
|
@@ -101,13 +102,15 @@ function I(w) {
|
|
|
101
102
|
), {
|
|
102
103
|
values: c,
|
|
103
104
|
errors: a,
|
|
104
|
-
defineField:
|
|
105
|
+
defineField: V,
|
|
105
106
|
handleSubmit: x,
|
|
106
107
|
resetForm: A,
|
|
107
|
-
validate:
|
|
108
|
+
validate: O,
|
|
108
109
|
updateSchema: F
|
|
109
110
|
};
|
|
110
111
|
}
|
|
111
112
|
export {
|
|
112
|
-
|
|
113
|
+
R as useDialog,
|
|
114
|
+
I as useForm,
|
|
115
|
+
W as useSwipeDown
|
|
113
116
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IVDialogEmits } from '../components/ui/dialog/types';
|
|
2
|
+
export declare const useDialog: (emit: IVDialogEmits, timeout?: number) => {
|
|
3
|
+
show: import('vue').Ref<boolean, boolean>;
|
|
4
|
+
overlay: import('vue').Ref<boolean, boolean>;
|
|
5
|
+
onClose: (e?: Event | boolean) => void;
|
|
6
|
+
onOpen: () => void;
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=useDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDialog.d.ts","sourceRoot":"","sources":["../../src/composables/useDialog.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAKlE,eAAO,MAAM,SAAS,GAAI,MAAM,aAAa,EAAE,UAAU,MAAM;;;kBAaxC,KAAK,GAAG,OAAO;;CAqCrC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ShallowRef } from 'vue';
|
|
2
|
+
export declare const useSwipeDown: (target: ShallowRef<HTMLElement | null>, container: ShallowRef<HTMLElement | null>, onClose: (e: Event) => void) => {
|
|
3
|
+
isSwiping: ShallowRef<boolean, boolean>;
|
|
4
|
+
transform: ShallowRef<string, string>;
|
|
5
|
+
opacity: ShallowRef<number, number>;
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=useSwipeDown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSwipeDown.d.ts","sourceRoot":"","sources":["../../src/composables/useSwipeDown.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,UAAU,EAAE,MAAM,KAAK,CAAC;AAK5D,eAAO,MAAM,YAAY,GAAI,QAAQ,UAAU,CAAC,WAAW,GAAG,IAAI,CAAC,EAAE,WAAW,UAAU,CAAC,WAAW,GAAG,IAAI,CAAC,EAAE,SAAS,CAAC,CAAC,EAAE,KAAK,KAAK,IAAI;;;;CAmD1I,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lists.d.ts","sourceRoot":"","sources":["../../src/dashboard/lists.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AA6C/C,eAAO,MAAM,SAAS,EAAE,SAAS,EAAwE,CAAC;AAC1G,eAAO,MAAM,aAAa,EAAE,SAAS,EAAoG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/dashboard/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC/C,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/dashboard/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC/C,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,IAAI,CAAC,EAAE,qBAAqB,CAAC;IAC7B,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,aAAa,CAAC,CAAC,EAAE,IAAI,SAAS,MAAM,IAAI,IAAI,SAAS,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,SAAS,GAAG,MAAM,CAAC,IAAI,MAAM,CAAC,EAAE,GAAG,CAAC,CAAC,SAAS,MAAM,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC,GAAG,KAAK,CAAC;AAEzL,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,KAAK,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,SAAS,CAAC;AAEzG,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC,EAAE,CAAC;AAE/G,MAAM,MAAM,6BAA6B,GAAG,qBAAqB,CAAC,MAAM,qBAAqB,CAAC,CAAC"}
|