vuesp-components 2.1.4 → 2.1.6
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/dist/components/block/index.d.ts +5 -1
- package/dist/components/block/index.d.ts.map +1 -1
- package/dist/components/block/scan/BlockScan.vue.d.ts +11 -0
- package/dist/components/block/scan/BlockScan.vue.d.ts.map +1 -0
- package/dist/components/block/scan/types.d.ts +9 -0
- package/dist/components/block/scan/types.d.ts.map +1 -0
- package/dist/components/block/service/BlockService.vue.d.ts +13 -0
- package/dist/components/block/service/BlockService.vue.d.ts.map +1 -0
- package/dist/components/block/service/types.d.ts +10 -0
- package/dist/components/block/service/types.d.ts.map +1 -0
- package/dist/components/block/status/BlockStatus.vue.d.ts +34 -0
- package/dist/components/block/status/BlockStatus.vue.d.ts.map +1 -0
- package/dist/components/block/status/types.d.ts +5 -0
- package/dist/components/block/status/types.d.ts.map +1 -0
- package/dist/components/block/update/BlockUpdate.vue.d.ts +24 -0
- package/dist/components/block/update/BlockUpdate.vue.d.ts.map +1 -0
- package/dist/components/block/update/types.d.ts +4 -0
- package/dist/components/block/update/types.d.ts.map +1 -0
- package/dist/components/dashboard/cards/CardBase.vue.d.ts +2 -0
- package/dist/components/dashboard/cards/CardBase.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardButton.vue.d.ts +2 -0
- package/dist/components/dashboard/cards/CardButton.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardDate.vue.d.ts +2 -0
- package/dist/components/dashboard/cards/CardDate.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardDimmer.vue.d.ts +2 -0
- package/dist/components/dashboard/cards/CardDimmer.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardInfo.vue.d.ts +2 -0
- package/dist/components/dashboard/cards/CardInfo.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardInput.vue.d.ts +2 -0
- package/dist/components/dashboard/cards/CardInput.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardList.vue.d.ts +2 -0
- package/dist/components/dashboard/cards/CardList.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/types.d.ts +1 -1
- package/dist/components/dashboard/cards/types.d.ts.map +1 -1
- package/dist/components/dashboard/edit/ItemEdit.vue.d.ts +1 -1
- package/dist/components/dashboard/edit/ItemEdit.vue.d.ts.map +1 -1
- package/dist/components/dashboard/edit/types.d.ts +5 -4
- package/dist/components/dashboard/edit/types.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/script/editor/ScriptEditor.vue.d.ts +8 -0
- package/dist/components/script/editor/ScriptEditor.vue.d.ts.map +1 -0
- package/dist/components/script/editor/format.d.ts +3 -0
- package/dist/components/script/editor/format.d.ts.map +1 -0
- package/dist/components/script/editor/highlighters/index.d.ts +2 -0
- package/dist/components/script/editor/highlighters/index.d.ts.map +1 -0
- package/dist/components/script/editor/plugins/autoSemicolon.d.ts +3 -0
- package/dist/components/script/editor/plugins/autoSemicolon.d.ts.map +1 -0
- package/dist/components/script/editor/plugins/autocomplete.d.ts +4 -0
- package/dist/components/script/editor/plugins/autocomplete.d.ts.map +1 -0
- package/dist/components/script/editor/plugins/index.d.ts +3 -0
- package/dist/components/script/editor/plugins/index.d.ts.map +1 -0
- package/dist/components/script/editor/plugins/render/index.d.ts +7 -0
- package/dist/components/script/editor/plugins/render/index.d.ts.map +1 -0
- package/dist/components/script/editor/plugins/suggestions.d.ts +3 -0
- package/dist/components/script/editor/plugins/suggestions.d.ts.map +1 -0
- package/dist/components/script/editor/plugins/types.d.ts +24 -0
- package/dist/components/script/editor/plugins/types.d.ts.map +1 -0
- package/dist/components/script/editor/types.d.ts +9 -0
- package/dist/components/script/editor/types.d.ts.map +1 -0
- package/dist/components/script/index.d.ts +4 -0
- package/dist/components/script/index.d.ts.map +1 -0
- package/dist/components/script/types.d.ts +4 -0
- package/dist/components/script/types.d.ts.map +1 -0
- package/dist/components/script/viewDocs/ScriptViewDocs.vue.d.ts +13 -0
- package/dist/components/script/viewDocs/ScriptViewDocs.vue.d.ts.map +1 -0
- package/dist/components/script/viewDocs/types.d.ts +4 -0
- package/dist/components/script/viewDocs/types.d.ts.map +1 -0
- package/dist/components/types.d.ts +2 -0
- package/dist/components/types.d.ts.map +1 -0
- package/dist/components/ui/autocomplete/VAutocomplete.vue.d.ts +17 -20
- package/dist/components/ui/autocomplete/VAutocomplete.vue.d.ts.map +1 -1
- package/dist/components/ui/autocomplete/types.d.ts +4 -4
- package/dist/components/ui/autocomplete/types.d.ts.map +1 -1
- package/dist/components/ui/dialog/VDialog.vue.d.ts.map +1 -1
- package/dist/components/ui/drag-drop/VDragDrop.vue.d.ts.map +1 -1
- package/dist/components/ui/list/VListObject.vue.d.ts.map +1 -1
- package/dist/components/ui/select/VSelect.vue.d.ts +0 -1
- package/dist/components/ui/select/VSelect.vue.d.ts.map +1 -1
- package/dist/components/ui/text-field/VTextField.vue.d.ts.map +1 -1
- package/dist/composables/index.es.js +1 -1
- package/dist/dashboard/types.d.ts +1 -1
- package/dist/dashboard/types.d.ts.map +1 -1
- package/dist/helpers/general.d.ts +1 -0
- package/dist/helpers/general.d.ts.map +1 -1
- package/dist/helpers/index.es.js +17 -16
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +2383 -1451
- package/dist/style.css +1 -1
- package/dist/types/components.d.ts +3 -2
- package/dist/types/components.d.ts.map +1 -1
- package/dist/useSwipeDown-CZyt34x6.js +575 -0
- package/package.json +5 -4
- package/dist/useSwipeDown-BHSNKbwG.js +0 -446
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/components/types.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC"}
|
|
@@ -1,27 +1,24 @@
|
|
|
1
|
-
import { IVAutocompleteProps,
|
|
2
|
-
declare
|
|
3
|
-
|
|
1
|
+
import { IVAutocompleteProps, IVAutocompleteEmits } from './types';
|
|
2
|
+
declare const _default: <T extends {
|
|
3
|
+
name: string;
|
|
4
|
+
}>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
6
|
+
readonly onSelect?: ((item: T) => any) | undefined;
|
|
7
|
+
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
8
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onSelect" | "onUpdate:modelValue"> & IVAutocompleteProps<T> & Partial<{}>> & import('vue').PublicProps;
|
|
9
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
10
|
+
attrs: any;
|
|
4
11
|
slots: {
|
|
5
12
|
default?(_: {
|
|
6
|
-
item:
|
|
13
|
+
item: T;
|
|
7
14
|
}): any;
|
|
8
15
|
};
|
|
9
|
-
|
|
10
|
-
|
|
16
|
+
emit: IVAutocompleteEmits<T>;
|
|
17
|
+
}>) => import('vue').VNode & {
|
|
18
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
11
19
|
};
|
|
12
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import('vue').DefineComponent<IVAutocompleteProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
14
|
-
select: (item: IListItem) => any;
|
|
15
|
-
"update:modelValue": (value: string) => any;
|
|
16
|
-
}, string, import('vue').PublicProps, Readonly<IVAutocompleteProps> & Readonly<{
|
|
17
|
-
onSelect?: ((item: IListItem) => any) | undefined;
|
|
18
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
19
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
20
|
export default _default;
|
|
22
|
-
type
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
};
|
|
26
|
-
};
|
|
21
|
+
type __VLS_PrettifyLocal<T> = {
|
|
22
|
+
[K in keyof T]: T[K];
|
|
23
|
+
} & {};
|
|
27
24
|
//# sourceMappingURL=VAutocomplete.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VAutocomplete.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/autocomplete/VAutocomplete.vue"],"names":[],"mappings":"AAaA;AAkCA,OAAO,KAAK,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"VAutocomplete.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/autocomplete/VAutocomplete.vue"],"names":[],"mappings":"AAaA;AAkCA,OAAO,KAAK,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;yBAMlF,CAAC,SAAS;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,EAC1C,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WA+IO,mBAAmB,CAAC;;;+LAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;;YAlCmB,GAAG;;;EAsC7B,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AA1JzE,wBA0J4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { IListItem } from '../../../types';
|
|
2
2
|
export { IListItem };
|
|
3
|
-
export interface IVAutocompleteProps {
|
|
3
|
+
export interface IVAutocompleteProps<T> {
|
|
4
4
|
modelValue?: string | number | undefined;
|
|
5
5
|
label: string;
|
|
6
6
|
name?: string;
|
|
7
7
|
message?: string;
|
|
8
|
-
items:
|
|
8
|
+
items: T[];
|
|
9
9
|
}
|
|
10
|
-
export interface IVAutocompleteEmits {
|
|
10
|
+
export interface IVAutocompleteEmits<T> {
|
|
11
11
|
(e: 'update:modelValue', value: string): void;
|
|
12
|
-
(e: 'select', item:
|
|
12
|
+
(e: 'select', item: T): void;
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/autocomplete/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,OAAO,EAAE,SAAS,EAAE,CAAC;AAErB,MAAM,WAAW,mBAAmB;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/autocomplete/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,OAAO,EAAE,SAAS,EAAE,CAAC;AAErB,MAAM,WAAW,mBAAmB,CAAC,CAAC;IACpC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,CAAC,EAAE,CAAC;CACZ;AACD,MAAM,WAAW,mBAAmB,CAAC,CAAC;IACpC,CAAC,CAAC,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9C,CAAC,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,GAAG,IAAI,CAAC;CAC9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VDialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/dialog/VDialog.vue"],"names":[],"mappings":"AAmGA,OAAO,KAAK,EAAE,aAAa,EAAiB,MAAM,SAAS,CAAC;AA8C5D,iBAAS,cAAc;
|
|
1
|
+
{"version":3,"file":"VDialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/dialog/VDialog.vue"],"names":[],"mappings":"AAmGA,OAAO,KAAK,EAAE,aAAa,EAAiB,MAAM,SAAS,CAAC;AA8C5D,iBAAS,cAAc;WAoLT,OAAO,IAA6B;;;;YAbf,GAAG;;;YAEH,GAAG;;;YADR,GAAG;;;YAEH,GAAG;;;;EAehC;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;kFAQnB,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VDragDrop.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/drag-drop/VDragDrop.vue"],"names":[],"mappings":"AA6BA;
|
|
1
|
+
{"version":3,"file":"VDragDrop.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/drag-drop/VDragDrop.vue"],"names":[],"mappings":"AA6BA;AAoFA,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;yBAGlE,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,EACjD,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WA2JO,mBAAmB,CAAC;;;;;;;;4LAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;;;;;YAnCkB,GAAG;;;EAuC5B,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAtKzE,wBAsK4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VListObject.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/list/VListObject.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"VListObject.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/list/VListObject.vue"],"names":[],"mappings":"AA6CA;AAiFA,OAAO,KAAK,EAAE,iBAAiB,EAAqB,MAAM,4BAA4B,CAAC;;;;;;AAsRvF,wBAQG"}
|
|
@@ -2,7 +2,6 @@ import { IVSelectProps, IVSelectEmits } from './types';
|
|
|
2
2
|
import { IVDropdownOn } from '../dropdown/types';
|
|
3
3
|
declare const _default: <T extends {
|
|
4
4
|
name: string;
|
|
5
|
-
value: string | number;
|
|
6
5
|
}>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
6
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
8
7
|
readonly onChange?: ((item: T) => any) | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VSelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/select/VSelect.vue"],"names":[],"mappings":"AAqDA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;yBAMlD,CAAC,SAAS;IAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"VSelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/select/VSelect.vue"],"names":[],"mappings":"AAqDA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;yBAMlD,CAAC,SAAS;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,EAC1C,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAsLO,mBAAmB,CAAC;;iKAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;;;YAjCoB,GAAG;;;YACP,GAAG;;;EAoC1B,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAjMzE,wBAiM4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VTextField.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/text-field/VTextField.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"VTextField.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/text-field/VTextField.vue"],"names":[],"mappings":"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"}
|
|
@@ -1,5 +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-
|
|
2
|
+
import { u as R, a as W } from "../useSwipeDown-CZyt34x6.js";
|
|
3
3
|
function I(w) {
|
|
4
4
|
const { validationSchema: l, initialValues: m = {} } = w, d = typeof l == "function", v = z(
|
|
5
5
|
d ? l(m) : l
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/dashboard/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,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;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/dashboard/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,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,CAAC,MAAM,CAAC,EAAE,CAAC;CAC7B;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"}
|
|
@@ -8,4 +8,5 @@ export declare const addZero: (value: number) => string | number;
|
|
|
8
8
|
export declare const secToTime: (seconds: number) => string;
|
|
9
9
|
export declare const arrToStr: (v: number[]) => string;
|
|
10
10
|
export declare const strToArr: (v: string) => number[];
|
|
11
|
+
export declare const randomString: (l?: number) => string;
|
|
11
12
|
//# sourceMappingURL=general.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"general.d.ts","sourceRoot":"","sources":["../../src/helpers/general.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,GAAI,MAAM,MAAM,GAAG,IAAI,QAO5C,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,MAAM,OAAO,KAAG,MAA8E,CAAC;AAE1H,eAAO,MAAM,KAAK,GAAI,KAAK,MAAM,QAA+B,CAAC;AAEjE,eAAO,MAAM,MAAM,GAAI,OAAO,MAAM,WAMnC,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,GAAG,MAAM,GAAG,IAAI,EAAE,UAAS,IAAI,CAAC,qBAA6E,EAAE,kBAAa,WAClH,CAAC;AAExD,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,GAAG,MAAM,GAAG,IAAI,EAAE,UAAS,IAAI,CAAC,qBAA8D,EAAE,kBAAa,WACnG,CAAC;AAExD,eAAO,MAAM,OAAO,GAAI,OAAO,MAAM,oBAAwC,CAAC;AAE9E,eAAO,MAAM,SAAS,GAAI,SAAS,MAAM,WAQxC,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,GAAG,MAAM,EAAE,WAAgB,CAAC;AACrD,eAAO,MAAM,QAAQ,GAAI,GAAG,MAAM,aAAgC,CAAC"}
|
|
1
|
+
{"version":3,"file":"general.d.ts","sourceRoot":"","sources":["../../src/helpers/general.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,GAAI,MAAM,MAAM,GAAG,IAAI,QAO5C,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,MAAM,OAAO,KAAG,MAA8E,CAAC;AAE1H,eAAO,MAAM,KAAK,GAAI,KAAK,MAAM,QAA+B,CAAC;AAEjE,eAAO,MAAM,MAAM,GAAI,OAAO,MAAM,WAMnC,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,GAAG,MAAM,GAAG,IAAI,EAAE,UAAS,IAAI,CAAC,qBAA6E,EAAE,kBAAa,WAClH,CAAC;AAExD,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,GAAG,MAAM,GAAG,IAAI,EAAE,UAAS,IAAI,CAAC,qBAA8D,EAAE,kBAAa,WACnG,CAAC;AAExD,eAAO,MAAM,OAAO,GAAI,OAAO,MAAM,oBAAwC,CAAC;AAE9E,eAAO,MAAM,SAAS,GAAI,SAAS,MAAM,WAQxC,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,GAAG,MAAM,EAAE,WAAgB,CAAC;AACrD,eAAO,MAAM,QAAQ,GAAI,GAAG,MAAM,aAAgC,CAAC;AAEnE,eAAO,MAAM,YAAY,GAAI,UAAK,WAAiI,CAAC"}
|
package/dist/helpers/index.es.js
CHANGED
|
@@ -10,9 +10,9 @@ const c = (t) => {
|
|
|
10
10
|
let o = Math.floor(Math.log(t) / Math.log(1024));
|
|
11
11
|
return o > 1 && (o = 1), Math.round(t / Math.pow(1024, o)) + " " + e[o];
|
|
12
12
|
}, S = (t, e = { year: "numeric", month: "numeric", day: "numeric" }, o = []) => new Date(t).toLocaleDateString(o, e), p = (t, e = { minute: "2-digit", hour: "2-digit" }, o = []) => new Date(t).toLocaleTimeString(o, e), s = (t) => t >= 10 ? t : `0${t}`, w = (t) => {
|
|
13
|
-
const e = Math.floor(t % 31536e3 % 2628e3 / 86400), o = Math.floor(t % (3600 * 24) / 3600), n = Math.floor(t % 3600 / 60),
|
|
14
|
-
return `${e ? e + " days " : ""} ${s(o)}:${s(n)}:${s(
|
|
15
|
-
}, y = (t) => t.join("."), M = (t) => t.split(".").map((e) => +e), T = (t, e = "file") => {
|
|
13
|
+
const e = Math.floor(t % 31536e3 % 2628e3 / 86400), o = Math.floor(t % (3600 * 24) / 3600), n = Math.floor(t % 3600 / 60), u = Math.floor(t % 60);
|
|
14
|
+
return `${e ? e + " days " : ""} ${s(o)}:${s(n)}:${s(u)}`;
|
|
15
|
+
}, y = (t) => t.join("."), M = (t) => t.split(".").map((e) => +e), T = (t = 6) => [...Array(t)].map(() => "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"[Math.random() * 62 | 0]).join(""), j = (t, e = "file") => {
|
|
16
16
|
const o = document.createElement("a");
|
|
17
17
|
o.setAttribute("download", e), o.href = t, document.body.appendChild(o), o.click(), o.remove();
|
|
18
18
|
}, E = (t) => new Promise((e, o) => {
|
|
@@ -20,38 +20,39 @@ const c = (t) => {
|
|
|
20
20
|
n.src = t, n.type = "text/javascript", n.async = !0, n.onload = () => e(n), n.onerror = () => o(new Error(`Ошибка загрузки скрипта: ${t}`)), document.head.appendChild(n);
|
|
21
21
|
}), r = typeof window < "u", l = (t) => (e, o) => o ? c(t.getItem(e)) : t.getItem(e), a = (t) => (e, o) => {
|
|
22
22
|
t.setItem(e, typeof o == "string" ? o : i(o));
|
|
23
|
-
}, d = r ? l(localStorage) : () => null,
|
|
24
|
-
}, L = r ? l(sessionStorage) : () => null,
|
|
25
|
-
},
|
|
23
|
+
}, d = r ? l(localStorage) : () => null, m = r ? a(localStorage) : () => {
|
|
24
|
+
}, L = r ? l(sessionStorage) : () => null, B = r ? a(sessionStorage) : () => {
|
|
25
|
+
}, $ = (t = "isShow") => {
|
|
26
26
|
const e = d(t);
|
|
27
|
-
return e ||
|
|
28
|
-
},
|
|
29
|
-
|
|
27
|
+
return e || m(t, "true"), !e;
|
|
28
|
+
}, k = (t) => {
|
|
29
|
+
m("theme", t), document.documentElement.classList.remove("dark"), document.documentElement.classList.remove("light"), document.documentElement.classList.add(t);
|
|
30
30
|
}, g = (t, e) => {
|
|
31
31
|
if (!t) return null;
|
|
32
32
|
for (const o of t)
|
|
33
33
|
if (!(e === "/" || o.path === "/") && (o.path === e || e.includes(o.path)))
|
|
34
34
|
return o;
|
|
35
35
|
return null;
|
|
36
|
-
},
|
|
36
|
+
}, D = (t, e) => g(t, e);
|
|
37
37
|
export {
|
|
38
38
|
s as addZero,
|
|
39
39
|
y as arrToStr,
|
|
40
|
-
|
|
40
|
+
k as changeTheme,
|
|
41
41
|
h as clone,
|
|
42
|
-
|
|
42
|
+
j as createDownloadLink,
|
|
43
43
|
S as dateUtcToString,
|
|
44
44
|
g as findMenuItem,
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
D as getPageTitle,
|
|
46
|
+
$ as isNewVersion,
|
|
47
47
|
c as jsonParse,
|
|
48
48
|
i as jsonString,
|
|
49
49
|
E as loadScript,
|
|
50
50
|
d as localGet,
|
|
51
|
-
|
|
51
|
+
m as localSet,
|
|
52
|
+
T as randomString,
|
|
52
53
|
w as secToTime,
|
|
53
54
|
L as sessionGet,
|
|
54
|
-
|
|
55
|
+
B as sessionSet,
|
|
55
56
|
M as strToArr,
|
|
56
57
|
p as timeUtcToString,
|
|
57
58
|
f as toByte
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,MAAM,EAAa,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,MAAM,EAAa,MAAM,KAAK,CAAC;AAO7C,OAAO,uBAAuB,CAAC;AAgB/B,cAAc,eAAe,CAAC;AAE9B,QAAA,MAAM,KAAK,EAAE,MAOZ,CAAC;AAEF,eAAe,KAAK,CAAC;AAErB,cAAc,aAAa,CAAC"}
|