@topvisor/ui 0.9.2 → 0.9.4

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 (86) hide show
  1. package/.chunks/datepicker-78c2af5a.es.js +275 -0
  2. package/.chunks/datepicker-78c2af5a.es.js.map +1 -0
  3. package/.chunks/datepicker-cc0011e1.amd.js +234 -0
  4. package/.chunks/datepicker-cc0011e1.amd.js.map +1 -0
  5. package/.chunks/forms-9516aa6c.es.js +1000 -0
  6. package/.chunks/forms-9516aa6c.es.js.map +1 -0
  7. package/.chunks/forms-9972aba2.amd.js +3 -0
  8. package/.chunks/forms-9972aba2.amd.js.map +1 -0
  9. package/.chunks/{popup-b2fe3094.es.js → popup-70a8c892.es.js} +423 -422
  10. package/.chunks/popup-70a8c892.es.js.map +1 -0
  11. package/.chunks/popup-d96418da.amd.js +378 -0
  12. package/.chunks/popup-d96418da.amd.js.map +1 -0
  13. package/README.md +80 -80
  14. package/assets/forms.css +1 -1
  15. package/assets/tabsView.css +1 -1
  16. package/core/core.amd.js +1 -1
  17. package/core/core.js +1 -1
  18. package/forms/forms.amd.js +1 -1
  19. package/forms/forms.js +1 -1
  20. package/forms/helpers.amd.js.map +1 -1
  21. package/forms/helpers.js.map +1 -1
  22. package/formsExt/formsExt.amd.js +1 -1
  23. package/formsExt/formsExt.amd.js.map +1 -1
  24. package/formsExt/formsExt.js +83 -84
  25. package/formsExt/formsExt.js.map +1 -1
  26. package/icomoon/demo-files/demo.css +161 -161
  27. package/icomoon/demo-files/demo.js +30 -30
  28. package/icomoon/demo.html +2945 -2945
  29. package/icomoon/fonts/Topvisor-2.svg +232 -232
  30. package/icomoon/style.css +647 -647
  31. package/package.json +22 -19
  32. package/popup/popup.amd.js +1 -1
  33. package/popup/popup.amd.js.map +1 -1
  34. package/popup/popup.js +52 -52
  35. package/popup/popup.js.map +1 -1
  36. package/popup/worker.amd.js +1 -1
  37. package/popup/worker.amd.js.map +1 -1
  38. package/popup/worker.js +3 -2
  39. package/popup/worker.js.map +1 -1
  40. package/require/css.amd.js +12 -0
  41. package/src/components/forms/button/button.stories.d.ts +97 -140
  42. package/src/components/forms/checkbox/checkbox.stories.d.ts +61 -100
  43. package/src/components/forms/controlLabel/controlLabel.stories.d.ts +20 -53
  44. package/src/components/forms/input/input.stories.d.ts +101 -145
  45. package/src/components/forms/inputRange/inputRange.stories.d.ts +117 -221
  46. package/src/components/forms/radio/radio.stories.d.ts +57 -95
  47. package/src/components/forms/switcher/switcher.stories.d.ts +55 -93
  48. package/src/components/formsExt/editInput/editInput.stories.d.ts +34 -69
  49. package/src/components/popup/popup/popup.stories.d.ts +242 -363
  50. package/src/components/tabs/tabs/tabs.stories.d.ts +195 -370
  51. package/src/components/tabsView/tabsView/_MenuItem.stories.d.ts +110 -216
  52. package/src/components/tabsView/tabsView/_MenuTitle.stories.d.ts +76 -176
  53. package/src/components/tabsView/tabsView/tabsView.stories.d.ts +156 -327
  54. package/src/core/core/page.d.ts +0 -7
  55. package/src/core/utils/css.d.ts +5 -0
  56. package/tabs/tabs.amd.js +1 -1
  57. package/tabs/tabs.js +37 -38
  58. package/tabs/tabs.js.map +1 -1
  59. package/tabsView/tabsView.amd.js +1 -1
  60. package/tabsView/tabsView.amd.js.map +1 -1
  61. package/tabsView/tabsView.js +94 -90
  62. package/tabsView/tabsView.js.map +1 -1
  63. package/utils/css.amd.js +2 -0
  64. package/utils/css.amd.js.map +1 -0
  65. package/utils/css.d.ts +1 -0
  66. package/utils/css.js +35 -0
  67. package/utils/css.js.map +1 -0
  68. package/utils/date.amd.js +1 -1
  69. package/utils/date.js +1 -1
  70. package/utils/device.amd.js +1 -1
  71. package/utils/device.js +1 -1
  72. package/utils/dom.amd.js +1 -1
  73. package/utils/dom.amd.js.map +1 -1
  74. package/utils/dom.js +61 -3
  75. package/utils/dom.js.map +1 -1
  76. package/.chunks/datepicker-32bc8bd9.es.js +0 -275
  77. package/.chunks/datepicker-32bc8bd9.es.js.map +0 -1
  78. package/.chunks/datepicker-8a42d8a6.amd.js +0 -234
  79. package/.chunks/datepicker-8a42d8a6.amd.js.map +0 -1
  80. package/.chunks/forms-30d68077.amd.js +0 -3
  81. package/.chunks/forms-30d68077.amd.js.map +0 -1
  82. package/.chunks/forms-64632f73.es.js +0 -1091
  83. package/.chunks/forms-64632f73.es.js.map +0 -1
  84. package/.chunks/popup-14ca85cf.amd.js +0 -378
  85. package/.chunks/popup-14ca85cf.amd.js.map +0 -1
  86. package/.chunks/popup-b2fe3094.es.js.map +0 -1
@@ -1,57 +1,25 @@
1
1
  declare const meta: {
2
2
  component: {
3
- new (...args: any[]): {
4
- $: import("vue").ComponentInternalInstance;
5
- $data: {};
6
- $props: Partial<{}> & Omit<{
7
- readonly isSubtitle?: boolean | undefined;
8
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
9
- isSubtitle: {
10
- type: import("vue").PropType<boolean>;
11
- };
12
- }>>, never>;
13
- $attrs: {
14
- [x: string]: unknown;
15
- };
16
- $refs: {
17
- [x: string]: unknown;
3
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
4
+ isSubtitle: {
5
+ type: import("vue").PropType<boolean>;
18
6
  };
19
- $slots: Readonly<{
20
- [name: string]: import("vue").Slot<any> | undefined;
21
- }>;
22
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
23
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
24
- $emit: (event: string, ...args: any[]) => void;
25
- $el: any;
26
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
27
- isSubtitle: {
28
- type: import("vue").PropType<boolean>;
29
- };
30
- }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
31
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
32
- created?: ((() => void) | (() => void)[]) | undefined;
33
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
34
- mounted?: ((() => void) | (() => void)[]) | undefined;
35
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
36
- updated?: ((() => void) | (() => void)[]) | undefined;
37
- activated?: ((() => void) | (() => void)[]) | undefined;
38
- deactivated?: ((() => void) | (() => void)[]) | undefined;
39
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
40
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
41
- destroyed?: ((() => void) | (() => void)[]) | undefined;
42
- unmounted?: ((() => void) | (() => void)[]) | undefined;
43
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
44
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
45
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
7
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
8
+ isSubtitle: {
9
+ type: import("vue").PropType<boolean>;
46
10
  };
47
- $forceUpdate: () => void;
48
- $nextTick: typeof import("vue").nextTick;
49
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
50
- } & Readonly<import("vue").ExtractPropTypes<{
11
+ }>>, {}, true, {}, {}, {
12
+ P: {};
13
+ B: {};
14
+ D: {};
15
+ C: {};
16
+ M: {};
17
+ Defaults: {};
18
+ }, Readonly<import("vue").ExtractPropTypes<{
51
19
  isSubtitle: {
52
20
  type: import("vue").PropType<boolean>;
53
21
  };
54
- }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
22
+ }>>, {}, {}, {}, {}, {}>;
55
23
  __isFragment?: undefined;
56
24
  __isTeleport?: undefined;
57
25
  __isSuspense?: undefined;
@@ -74,90 +42,52 @@ export declare const MenuTitle: {
74
42
  render: (args: any) => {
75
43
  components: {
76
44
  TabsView: {
77
- new (...args: any[]): {
78
- $: import("vue").ComponentInternalInstance;
79
- $data: {};
80
- $props: Partial<{
81
- isShortable: boolean;
82
- }> & Omit<{
83
- readonly modelValue: string;
84
- readonly isShortable: boolean;
85
- readonly showMenuInPopup?: boolean | undefined;
86
- readonly keyForSaveState?: string | undefined;
87
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
88
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
89
- modelValue: {
90
- type: import("vue").PropType<string>;
91
- required: true;
92
- };
93
- showMenuInPopup: {
94
- type: import("vue").PropType<boolean>;
95
- };
96
- isShortable: {
97
- type: import("vue").PropType<boolean>;
98
- default: boolean;
99
- };
100
- keyForSaveState: {
101
- type: import("vue").PropType<string>;
102
- };
103
- }>> & {
104
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
105
- }, "isShortable">;
106
- $attrs: {
107
- [x: string]: unknown;
45
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
46
+ modelValue: {
47
+ type: import("vue").PropType<string>;
48
+ required: true;
108
49
  };
109
- $refs: {
110
- [x: string]: unknown;
50
+ showMenuInPopup: {
51
+ type: import("vue").PropType<boolean>;
111
52
  };
112
- $slots: Readonly<{
113
- [name: string]: import("vue").Slot<any> | undefined;
114
- }>;
115
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
116
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
117
- $emit: (event: "update:modelValue", value: string) => void;
118
- $el: any;
119
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
120
- modelValue: {
121
- type: import("vue").PropType<string>;
122
- required: true;
123
- };
124
- showMenuInPopup: {
125
- type: import("vue").PropType<boolean>;
126
- };
127
- isShortable: {
128
- type: import("vue").PropType<boolean>;
129
- default: boolean;
130
- };
131
- keyForSaveState: {
132
- type: import("vue").PropType<string>;
133
- };
134
- }>> & {
135
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
136
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
137
- "update:modelValue": (value: string) => void;
138
- }, string, {
139
- isShortable: boolean;
140
- }, {}, string, {}> & {
141
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
142
- created?: ((() => void) | (() => void)[]) | undefined;
143
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
144
- mounted?: ((() => void) | (() => void)[]) | undefined;
145
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
146
- updated?: ((() => void) | (() => void)[]) | undefined;
147
- activated?: ((() => void) | (() => void)[]) | undefined;
148
- deactivated?: ((() => void) | (() => void)[]) | undefined;
149
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
150
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
151
- destroyed?: ((() => void) | (() => void)[]) | undefined;
152
- unmounted?: ((() => void) | (() => void)[]) | undefined;
153
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
154
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
155
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
53
+ isShortable: {
54
+ type: import("vue").PropType<boolean>;
55
+ default: boolean;
156
56
  };
157
- $forceUpdate: () => void;
158
- $nextTick: typeof import("vue").nextTick;
159
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
160
- } & Readonly<import("vue").ExtractPropTypes<{
57
+ keyForSaveState: {
58
+ type: import("vue").PropType<string>;
59
+ };
60
+ }>> & {
61
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
62
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
63
+ "update:modelValue": (value: string) => void;
64
+ }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
65
+ modelValue: {
66
+ type: import("vue").PropType<string>;
67
+ required: true;
68
+ };
69
+ showMenuInPopup: {
70
+ type: import("vue").PropType<boolean>;
71
+ };
72
+ isShortable: {
73
+ type: import("vue").PropType<boolean>;
74
+ default: boolean;
75
+ };
76
+ keyForSaveState: {
77
+ type: import("vue").PropType<string>;
78
+ };
79
+ }>> & {
80
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
81
+ }, {
82
+ isShortable: boolean;
83
+ }, true, {}, {}, {
84
+ P: {};
85
+ B: {};
86
+ D: {};
87
+ C: {};
88
+ M: {};
89
+ Defaults: {};
90
+ }, Readonly<import("vue").ExtractPropTypes<{
161
91
  modelValue: {
162
92
  type: import("vue").PropType<string>;
163
93
  required: true;
@@ -174,7 +104,9 @@ export declare const MenuTitle: {
174
104
  };
175
105
  }>> & {
176
106
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
177
- } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
107
+ }, {}, {}, {}, {}, {
108
+ isShortable: boolean;
109
+ }>;
178
110
  __isFragment?: undefined;
179
111
  __isTeleport?: undefined;
180
112
  __isSuspense?: undefined;
@@ -206,58 +138,26 @@ export declare const MenuTitle: {
206
138
  };
207
139
  });
208
140
  TabsViewMenuTitle: {
209
- new (...args: any[]): {
210
- $: import("vue").ComponentInternalInstance;
211
- $data: {};
212
- $props: Partial<{}> & Omit<{
213
- readonly isSubtitle?: boolean | undefined;
214
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
215
- isSubtitle: {
216
- type: import("vue").PropType<boolean>;
217
- };
218
- }>>, never>;
219
- $attrs: {
220
- [x: string]: unknown;
221
- };
222
- $refs: {
223
- [x: string]: unknown;
141
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
142
+ isSubtitle: {
143
+ type: import("vue").PropType<boolean>;
224
144
  };
225
- $slots: Readonly<{
226
- [name: string]: import("vue").Slot<any> | undefined;
227
- }>;
228
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
229
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
230
- $emit: (event: string, ...args: any[]) => void;
231
- $el: any;
232
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
233
- isSubtitle: {
234
- type: import("vue").PropType<boolean>;
235
- };
236
- }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
237
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
238
- created?: ((() => void) | (() => void)[]) | undefined;
239
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
240
- mounted?: ((() => void) | (() => void)[]) | undefined;
241
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
242
- updated?: ((() => void) | (() => void)[]) | undefined;
243
- activated?: ((() => void) | (() => void)[]) | undefined;
244
- deactivated?: ((() => void) | (() => void)[]) | undefined;
245
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
246
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
247
- destroyed?: ((() => void) | (() => void)[]) | undefined;
248
- unmounted?: ((() => void) | (() => void)[]) | undefined;
249
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
250
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
251
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
145
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
146
+ isSubtitle: {
147
+ type: import("vue").PropType<boolean>;
252
148
  };
253
- $forceUpdate: () => void;
254
- $nextTick: typeof import("vue").nextTick;
255
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
256
- } & Readonly<import("vue").ExtractPropTypes<{
149
+ }>>, {}, true, {}, {}, {
150
+ P: {};
151
+ B: {};
152
+ D: {};
153
+ C: {};
154
+ M: {};
155
+ Defaults: {};
156
+ }, Readonly<import("vue").ExtractPropTypes<{
257
157
  isSubtitle: {
258
158
  type: import("vue").PropType<boolean>;
259
159
  };
260
- }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
160
+ }>>, {}, {}, {}, {}, {}>;
261
161
  __isFragment?: undefined;
262
162
  __isTeleport?: undefined;
263
163
  __isSuspense?: undefined;