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.
Files changed (95) hide show
  1. package/dist/components/block/index.d.ts +5 -1
  2. package/dist/components/block/index.d.ts.map +1 -1
  3. package/dist/components/block/scan/BlockScan.vue.d.ts +11 -0
  4. package/dist/components/block/scan/BlockScan.vue.d.ts.map +1 -0
  5. package/dist/components/block/scan/types.d.ts +9 -0
  6. package/dist/components/block/scan/types.d.ts.map +1 -0
  7. package/dist/components/block/service/BlockService.vue.d.ts +13 -0
  8. package/dist/components/block/service/BlockService.vue.d.ts.map +1 -0
  9. package/dist/components/block/service/types.d.ts +10 -0
  10. package/dist/components/block/service/types.d.ts.map +1 -0
  11. package/dist/components/block/status/BlockStatus.vue.d.ts +34 -0
  12. package/dist/components/block/status/BlockStatus.vue.d.ts.map +1 -0
  13. package/dist/components/block/status/types.d.ts +5 -0
  14. package/dist/components/block/status/types.d.ts.map +1 -0
  15. package/dist/components/block/update/BlockUpdate.vue.d.ts +24 -0
  16. package/dist/components/block/update/BlockUpdate.vue.d.ts.map +1 -0
  17. package/dist/components/block/update/types.d.ts +4 -0
  18. package/dist/components/block/update/types.d.ts.map +1 -0
  19. package/dist/components/dashboard/cards/CardBase.vue.d.ts +2 -0
  20. package/dist/components/dashboard/cards/CardBase.vue.d.ts.map +1 -1
  21. package/dist/components/dashboard/cards/CardButton.vue.d.ts +2 -0
  22. package/dist/components/dashboard/cards/CardButton.vue.d.ts.map +1 -1
  23. package/dist/components/dashboard/cards/CardDate.vue.d.ts +2 -0
  24. package/dist/components/dashboard/cards/CardDate.vue.d.ts.map +1 -1
  25. package/dist/components/dashboard/cards/CardDimmer.vue.d.ts +2 -0
  26. package/dist/components/dashboard/cards/CardDimmer.vue.d.ts.map +1 -1
  27. package/dist/components/dashboard/cards/CardInfo.vue.d.ts +2 -0
  28. package/dist/components/dashboard/cards/CardInfo.vue.d.ts.map +1 -1
  29. package/dist/components/dashboard/cards/CardInput.vue.d.ts +2 -0
  30. package/dist/components/dashboard/cards/CardInput.vue.d.ts.map +1 -1
  31. package/dist/components/dashboard/cards/CardList.vue.d.ts +2 -0
  32. package/dist/components/dashboard/cards/CardList.vue.d.ts.map +1 -1
  33. package/dist/components/dashboard/cards/types.d.ts +1 -1
  34. package/dist/components/dashboard/cards/types.d.ts.map +1 -1
  35. package/dist/components/dashboard/edit/ItemEdit.vue.d.ts +1 -1
  36. package/dist/components/dashboard/edit/ItemEdit.vue.d.ts.map +1 -1
  37. package/dist/components/dashboard/edit/types.d.ts +5 -4
  38. package/dist/components/dashboard/edit/types.d.ts.map +1 -1
  39. package/dist/components/index.d.ts +1 -0
  40. package/dist/components/index.d.ts.map +1 -1
  41. package/dist/components/script/editor/ScriptEditor.vue.d.ts +8 -0
  42. package/dist/components/script/editor/ScriptEditor.vue.d.ts.map +1 -0
  43. package/dist/components/script/editor/format.d.ts +3 -0
  44. package/dist/components/script/editor/format.d.ts.map +1 -0
  45. package/dist/components/script/editor/highlighters/index.d.ts +2 -0
  46. package/dist/components/script/editor/highlighters/index.d.ts.map +1 -0
  47. package/dist/components/script/editor/plugins/autoSemicolon.d.ts +3 -0
  48. package/dist/components/script/editor/plugins/autoSemicolon.d.ts.map +1 -0
  49. package/dist/components/script/editor/plugins/autocomplete.d.ts +4 -0
  50. package/dist/components/script/editor/plugins/autocomplete.d.ts.map +1 -0
  51. package/dist/components/script/editor/plugins/index.d.ts +3 -0
  52. package/dist/components/script/editor/plugins/index.d.ts.map +1 -0
  53. package/dist/components/script/editor/plugins/render/index.d.ts +7 -0
  54. package/dist/components/script/editor/plugins/render/index.d.ts.map +1 -0
  55. package/dist/components/script/editor/plugins/suggestions.d.ts +3 -0
  56. package/dist/components/script/editor/plugins/suggestions.d.ts.map +1 -0
  57. package/dist/components/script/editor/plugins/types.d.ts +24 -0
  58. package/dist/components/script/editor/plugins/types.d.ts.map +1 -0
  59. package/dist/components/script/editor/types.d.ts +9 -0
  60. package/dist/components/script/editor/types.d.ts.map +1 -0
  61. package/dist/components/script/index.d.ts +4 -0
  62. package/dist/components/script/index.d.ts.map +1 -0
  63. package/dist/components/script/types.d.ts +4 -0
  64. package/dist/components/script/types.d.ts.map +1 -0
  65. package/dist/components/script/viewDocs/ScriptViewDocs.vue.d.ts +13 -0
  66. package/dist/components/script/viewDocs/ScriptViewDocs.vue.d.ts.map +1 -0
  67. package/dist/components/script/viewDocs/types.d.ts +4 -0
  68. package/dist/components/script/viewDocs/types.d.ts.map +1 -0
  69. package/dist/components/types.d.ts +2 -0
  70. package/dist/components/types.d.ts.map +1 -0
  71. package/dist/components/ui/autocomplete/VAutocomplete.vue.d.ts +17 -20
  72. package/dist/components/ui/autocomplete/VAutocomplete.vue.d.ts.map +1 -1
  73. package/dist/components/ui/autocomplete/types.d.ts +4 -4
  74. package/dist/components/ui/autocomplete/types.d.ts.map +1 -1
  75. package/dist/components/ui/dialog/VDialog.vue.d.ts.map +1 -1
  76. package/dist/components/ui/drag-drop/VDragDrop.vue.d.ts.map +1 -1
  77. package/dist/components/ui/list/VListObject.vue.d.ts.map +1 -1
  78. package/dist/components/ui/select/VSelect.vue.d.ts +0 -1
  79. package/dist/components/ui/select/VSelect.vue.d.ts.map +1 -1
  80. package/dist/components/ui/text-field/VTextField.vue.d.ts.map +1 -1
  81. package/dist/composables/index.es.js +1 -1
  82. package/dist/dashboard/types.d.ts +1 -1
  83. package/dist/dashboard/types.d.ts.map +1 -1
  84. package/dist/helpers/general.d.ts +1 -0
  85. package/dist/helpers/general.d.ts.map +1 -1
  86. package/dist/helpers/index.es.js +17 -16
  87. package/dist/index.d.ts +2 -2
  88. package/dist/index.d.ts.map +1 -1
  89. package/dist/index.es.js +2383 -1451
  90. package/dist/style.css +1 -1
  91. package/dist/types/components.d.ts +3 -2
  92. package/dist/types/components.d.ts.map +1 -1
  93. package/dist/useSwipeDown-CZyt34x6.js +575 -0
  94. package/package.json +5 -4
  95. 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, IListItem } from './types';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
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: IListItem;
13
+ item: T;
7
14
  }): any;
8
15
  };
9
- refs: {};
10
- rootEl: HTMLDivElement;
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 __VLS_WithTemplateSlots<T, S> = T & {
23
- new (): {
24
- $slots: S;
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,EAAuB,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAsB9G,iBAAS,cAAc;WAoGT,OAAO,IAA6B;;;;YAXpB,GAAG;;;;EAgBhC;AAcD,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
+ {"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: IListItem[];
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: IListItem): void;
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;IAClC,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,SAAS,EAAE,CAAC;CACpB;AACD,MAAM,WAAW,mBAAmB;IAClC,CAAC,CAAC,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9C,CAAC,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,GAAG,IAAI,CAAC;CACtC"}
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;WAsLT,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
+ {"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;AAmFA,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;yBAGlE,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,E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,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":"AAuCA;AAuEA,OAAO,KAAK,EAAE,iBAAiB,EAAqB,MAAM,4BAA4B,CAAC;;;;;;AA2NvF,wBAQG"}
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,CAAC;IAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,EAClE,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
+ {"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,SA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uB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
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-BHSNKbwG.js";
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
@@ -4,7 +4,7 @@ export interface IDashboardItemOptions {
4
4
  min?: number;
5
5
  max?: number;
6
6
  step?: number;
7
- items?: IListItem[];
7
+ items?: IListItem<string>[];
8
8
  }
9
9
  export interface IDashboardItem {
10
10
  id: string;
@@ -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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B,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"}
@@ -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), m = Math.floor(t % 60);
14
- return `${e ? e + " days " : ""} ${s(o)}:${s(n)}:${s(m)}`;
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, u = r ? a(localStorage) : () => {
24
- }, L = r ? l(sessionStorage) : () => null, $ = r ? a(sessionStorage) : () => {
25
- }, j = (t = "isShow") => {
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 || u(t, "true"), !e;
28
- }, B = (t) => {
29
- u("theme", t), document.documentElement.classList.remove("dark"), document.documentElement.classList.remove("light"), document.documentElement.classList.add(t);
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
- }, k = (t, e) => g(t, e);
36
+ }, D = (t, e) => g(t, e);
37
37
  export {
38
38
  s as addZero,
39
39
  y as arrToStr,
40
- B as changeTheme,
40
+ k as changeTheme,
41
41
  h as clone,
42
- T as createDownloadLink,
42
+ j as createDownloadLink,
43
43
  S as dateUtcToString,
44
44
  g as findMenuItem,
45
- k as getPageTitle,
46
- j as isNewVersion,
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
- u as localSet,
51
+ m as localSet,
52
+ T as randomString,
52
53
  w as secToTime,
53
54
  L as sessionGet,
54
- $ as sessionSet,
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
@@ -1,6 +1,6 @@
1
1
  import { Plugin } from 'vue';
2
2
  export * from './components';
3
- declare const _default: Plugin;
4
- export default _default;
3
+ declare const vuesp: Plugin;
4
+ export default vuesp;
5
5
  export * from './dashboard';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,MAAM,EAAa,MAAM,KAAK,CAAC;AAS7C,OAAO,uBAAuB,CAAC;AAI/B,cAAc,eAAe,CAAC;wBASzB,MAAM;AAPX,wBAOY;AAEZ,cAAc,aAAa,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"}