@topvisor/ui 0.0.43 → 0.9.2
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/.chunks/datepicker-32bc8bd9.es.js +275 -0
- package/.chunks/datepicker-32bc8bd9.es.js.map +1 -0
- package/.chunks/datepicker-8a42d8a6.amd.js +234 -0
- package/.chunks/datepicker-8a42d8a6.amd.js.map +1 -0
- package/.chunks/forms-30d68077.amd.js +3 -0
- package/.chunks/forms-30d68077.amd.js.map +1 -0
- package/.chunks/forms-64632f73.es.js +1091 -0
- package/.chunks/forms-64632f73.es.js.map +1 -0
- package/.chunks/{popup-de28e508.amd.js → popup-14ca85cf.amd.js} +378 -377
- package/.chunks/popup-14ca85cf.amd.js.map +1 -0
- package/.chunks/{popup-a622fe31.es.js → popup-b2fe3094.es.js} +439 -429
- package/.chunks/popup-b2fe3094.es.js.map +1 -0
- package/README.md +80 -80
- package/assets/core.css +1 -1
- package/assets/forms.css +1 -1
- package/assets/tabsView.css +1 -0
- package/core/core.amd.js +1 -1
- package/core/core.d.ts +2 -2
- package/core/core.js +1 -1
- package/forms/forms.amd.js +1 -1
- package/forms/forms.js +8 -8
- package/forms/helpers.amd.js.map +1 -1
- package/forms/helpers.js.map +1 -1
- package/formsExt/formsExt.amd.js +1 -1
- package/formsExt/formsExt.amd.js.map +1 -1
- package/formsExt/formsExt.js +1 -1
- package/formsExt/formsExt.js.map +1 -1
- package/icomoon/demo-files/demo.css +161 -161
- package/icomoon/demo-files/demo.js +30 -30
- package/icomoon/demo.html +2945 -2945
- package/icomoon/fonts/Topvisor-2.svg +232 -232
- package/icomoon/style.css +647 -647
- package/package.json +19 -19
- package/popup/popup.amd.js +1 -1
- package/popup/popup.amd.js.map +1 -1
- package/popup/popup.js +1 -1
- package/popup/popup.js.map +1 -1
- package/popup/worker.amd.js +1 -1
- package/popup/worker.amd.js.map +1 -1
- package/popup/worker.js +13 -10
- package/popup/worker.js.map +1 -1
- package/src/components/tabsView/tabsView/_MenuItem.stories.d.ts +361 -0
- package/src/components/tabsView/tabsView/_MenuTitle.stories.d.ts +280 -0
- package/src/components/tabsView/tabsView/content.vue.d.ts +19 -0
- package/src/components/tabsView/tabsView/menu.vue.d.ts +19 -0
- package/src/components/tabsView/tabsView/menuDelimeter.vue.d.ts +2 -0
- package/src/components/tabsView/tabsView/menuItem.vue.d.ts +19 -0
- package/src/components/tabsView/tabsView/menuTitle.vue.d.ts +19 -0
- package/src/components/tabsView/tabsView/state.d.ts +14 -0
- package/src/components/tabsView/tabsView/tabsView.d.ts +69 -0
- package/src/components/tabsView/tabsView/tabsView.stories.d.ts +529 -0
- package/src/components/tabsView/tabsView/tabsView.vue.d.ts +38 -0
- package/src/components/tabsView/tabsView.d.ts +4 -0
- package/src/core/utils/date.d.ts +25 -27
- package/src/core/utils/device.d.ts +10 -13
- package/tabs/tabs.amd.js +1 -1
- package/tabs/tabs.js +1 -1
- package/tabsView/tabsView.amd.js +2 -0
- package/tabsView/tabsView.amd.js.map +1 -0
- package/tabsView/tabsView.d.ts +1 -0
- package/tabsView/tabsView.js +271 -0
- package/tabsView/tabsView.js.map +1 -0
- package/utils/date.amd.js +1 -1
- package/utils/date.d.ts +0 -2
- package/utils/date.js +5 -2
- package/utils/device.amd.js +1 -1
- package/utils/device.d.ts +0 -2
- package/utils/device.js +7 -2
- package/utils/dom.amd.js +1 -1
- package/utils/dom.d.ts +2 -2
- package/utils/dom.js +1 -1
- package/.chunks/datepicker-92744062.es.js +0 -275
- package/.chunks/datepicker-92744062.es.js.map +0 -1
- package/.chunks/datepicker-a9226b0f.amd.js +0 -234
- package/.chunks/datepicker-a9226b0f.amd.js.map +0 -1
- package/.chunks/forms-727cc6aa.es.js +0 -1112
- package/.chunks/forms-727cc6aa.es.js.map +0 -1
- package/.chunks/forms-771091d4.amd.js +0 -3
- package/.chunks/forms-771091d4.amd.js.map +0 -1
- package/.chunks/popup-a622fe31.es.js.map +0 -1
- package/.chunks/popup-de28e508.amd.js.map +0 -1
- package/build/cssModules.d.ts +0 -13
- package/build/plugin/amdFix.d.ts +0 -8
- package/build/plugin/autoloadCSS.d.ts +0 -19
- package/build/rollup.config.d.ts +0 -15
- package/src/components/component.d.ts +0 -25
- package/src/components/helpersStories.d.ts +0 -28
- package/src/core/base/Colors.stories.d.ts +0 -19
- package/src/core/base/Layout.stories.d.ts +0 -19
- package/src/core/base/Properties.stories.d.ts +0 -19
- package/src/core/directives/tooltip.d.ts +0 -7
- package/src/core/theme/Colors.stories.d.ts +0 -19
- package/src/core/theme/Properties.stories.d.ts +0 -19
- package/src/core//320/235/320/260/320/261/320/276/321/200 /320/270/320/272/320/276/320/275/320/276/320/272//320/235/320/260/320/261/320/276/321/200 /320/270/320/272/320/276/320/275/320/276/320/272.stories.d.ts" +0 -6
- package/src/d.d.ts +0 -4
- package/src/resources/styles/core/core.d.ts +0 -0
- package/src/resources/styles/themes/dark.d.ts +0 -0
- package/src/resources/styles/themes/light.d.ts +0 -0
- package/src/storybook/components/icomoon.d.ts +0 -2
|
@@ -0,0 +1,529 @@
|
|
|
1
|
+
declare const meta: {
|
|
2
|
+
component: {
|
|
3
|
+
new (...args: any[]): {
|
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
|
5
|
+
$data: {};
|
|
6
|
+
$props: Partial<{
|
|
7
|
+
isShortable: boolean;
|
|
8
|
+
}> & Omit<{
|
|
9
|
+
readonly modelValue: string;
|
|
10
|
+
readonly isShortable: boolean;
|
|
11
|
+
readonly showMenuInPopup?: boolean | undefined;
|
|
12
|
+
readonly keyForSaveState?: string | undefined;
|
|
13
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
14
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
modelValue: {
|
|
16
|
+
type: import("vue").PropType<string>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
showMenuInPopup: {
|
|
20
|
+
type: import("vue").PropType<boolean>;
|
|
21
|
+
};
|
|
22
|
+
isShortable: {
|
|
23
|
+
type: import("vue").PropType<boolean>;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
keyForSaveState: {
|
|
27
|
+
type: import("vue").PropType<string>;
|
|
28
|
+
};
|
|
29
|
+
}>> & {
|
|
30
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
31
|
+
}, "isShortable">;
|
|
32
|
+
$attrs: {
|
|
33
|
+
[x: string]: unknown;
|
|
34
|
+
};
|
|
35
|
+
$refs: {
|
|
36
|
+
[x: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
$slots: Readonly<{
|
|
39
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
40
|
+
}>;
|
|
41
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
42
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
43
|
+
$emit: (event: "update:modelValue", value: string) => void;
|
|
44
|
+
$el: any;
|
|
45
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
46
|
+
modelValue: {
|
|
47
|
+
type: import("vue").PropType<string>;
|
|
48
|
+
required: true;
|
|
49
|
+
};
|
|
50
|
+
showMenuInPopup: {
|
|
51
|
+
type: import("vue").PropType<boolean>;
|
|
52
|
+
};
|
|
53
|
+
isShortable: {
|
|
54
|
+
type: import("vue").PropType<boolean>;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
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
|
+
}, string, {
|
|
65
|
+
isShortable: boolean;
|
|
66
|
+
}, {}, string, {}> & {
|
|
67
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
68
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
69
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
70
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
71
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
72
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
73
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
74
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
75
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
76
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
77
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
78
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
79
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
80
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
81
|
+
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;
|
|
82
|
+
};
|
|
83
|
+
$forceUpdate: () => void;
|
|
84
|
+
$nextTick: typeof import("vue").nextTick;
|
|
85
|
+
$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;
|
|
86
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
87
|
+
modelValue: {
|
|
88
|
+
type: import("vue").PropType<string>;
|
|
89
|
+
required: true;
|
|
90
|
+
};
|
|
91
|
+
showMenuInPopup: {
|
|
92
|
+
type: import("vue").PropType<boolean>;
|
|
93
|
+
};
|
|
94
|
+
isShortable: {
|
|
95
|
+
type: import("vue").PropType<boolean>;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
keyForSaveState: {
|
|
99
|
+
type: import("vue").PropType<string>;
|
|
100
|
+
};
|
|
101
|
+
}>> & {
|
|
102
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
103
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
104
|
+
__isFragment?: undefined;
|
|
105
|
+
__isTeleport?: undefined;
|
|
106
|
+
__isSuspense?: undefined;
|
|
107
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
108
|
+
modelValue: {
|
|
109
|
+
type: import("vue").PropType<string>;
|
|
110
|
+
required: true;
|
|
111
|
+
};
|
|
112
|
+
showMenuInPopup: {
|
|
113
|
+
type: import("vue").PropType<boolean>;
|
|
114
|
+
};
|
|
115
|
+
isShortable: {
|
|
116
|
+
type: import("vue").PropType<boolean>;
|
|
117
|
+
default: boolean;
|
|
118
|
+
};
|
|
119
|
+
keyForSaveState: {
|
|
120
|
+
type: import("vue").PropType<string>;
|
|
121
|
+
};
|
|
122
|
+
}>> & {
|
|
123
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
124
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
125
|
+
"update:modelValue": (value: string) => void;
|
|
126
|
+
}, string, {
|
|
127
|
+
isShortable: boolean;
|
|
128
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
129
|
+
$slots: {
|
|
130
|
+
menu?(_: {}): any;
|
|
131
|
+
contents?(_: {}): any;
|
|
132
|
+
};
|
|
133
|
+
});
|
|
134
|
+
tags: string[];
|
|
135
|
+
argTypes: any;
|
|
136
|
+
parameters: {
|
|
137
|
+
docs: {
|
|
138
|
+
description: {
|
|
139
|
+
component: string;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
export declare const Overview: {
|
|
145
|
+
args: {
|
|
146
|
+
modelValue: string;
|
|
147
|
+
keyForSaveState: string;
|
|
148
|
+
isShortable: true;
|
|
149
|
+
};
|
|
150
|
+
render: (args: any) => {
|
|
151
|
+
components: {
|
|
152
|
+
TabsView: {
|
|
153
|
+
new (...args: any[]): {
|
|
154
|
+
$: import("vue").ComponentInternalInstance;
|
|
155
|
+
$data: {};
|
|
156
|
+
$props: Partial<{
|
|
157
|
+
isShortable: boolean;
|
|
158
|
+
}> & Omit<{
|
|
159
|
+
readonly modelValue: string;
|
|
160
|
+
readonly isShortable: boolean;
|
|
161
|
+
readonly showMenuInPopup?: boolean | undefined;
|
|
162
|
+
readonly keyForSaveState?: string | undefined;
|
|
163
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
164
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
165
|
+
modelValue: {
|
|
166
|
+
type: import("vue").PropType<string>;
|
|
167
|
+
required: true;
|
|
168
|
+
};
|
|
169
|
+
showMenuInPopup: {
|
|
170
|
+
type: import("vue").PropType<boolean>;
|
|
171
|
+
};
|
|
172
|
+
isShortable: {
|
|
173
|
+
type: import("vue").PropType<boolean>;
|
|
174
|
+
default: boolean;
|
|
175
|
+
};
|
|
176
|
+
keyForSaveState: {
|
|
177
|
+
type: import("vue").PropType<string>;
|
|
178
|
+
};
|
|
179
|
+
}>> & {
|
|
180
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
181
|
+
}, "isShortable">;
|
|
182
|
+
$attrs: {
|
|
183
|
+
[x: string]: unknown;
|
|
184
|
+
};
|
|
185
|
+
$refs: {
|
|
186
|
+
[x: string]: unknown;
|
|
187
|
+
};
|
|
188
|
+
$slots: Readonly<{
|
|
189
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
190
|
+
}>;
|
|
191
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
192
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
193
|
+
$emit: (event: "update:modelValue", value: string) => void;
|
|
194
|
+
$el: any;
|
|
195
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
196
|
+
modelValue: {
|
|
197
|
+
type: import("vue").PropType<string>;
|
|
198
|
+
required: true;
|
|
199
|
+
};
|
|
200
|
+
showMenuInPopup: {
|
|
201
|
+
type: import("vue").PropType<boolean>;
|
|
202
|
+
};
|
|
203
|
+
isShortable: {
|
|
204
|
+
type: import("vue").PropType<boolean>;
|
|
205
|
+
default: boolean;
|
|
206
|
+
};
|
|
207
|
+
keyForSaveState: {
|
|
208
|
+
type: import("vue").PropType<string>;
|
|
209
|
+
};
|
|
210
|
+
}>> & {
|
|
211
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
212
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
213
|
+
"update:modelValue": (value: string) => void;
|
|
214
|
+
}, string, {
|
|
215
|
+
isShortable: boolean;
|
|
216
|
+
}, {}, string, {}> & {
|
|
217
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
218
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
219
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
220
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
221
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
222
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
223
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
224
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
225
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
226
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
227
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
228
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
229
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
230
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
231
|
+
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;
|
|
232
|
+
};
|
|
233
|
+
$forceUpdate: () => void;
|
|
234
|
+
$nextTick: typeof import("vue").nextTick;
|
|
235
|
+
$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;
|
|
236
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
237
|
+
modelValue: {
|
|
238
|
+
type: import("vue").PropType<string>;
|
|
239
|
+
required: true;
|
|
240
|
+
};
|
|
241
|
+
showMenuInPopup: {
|
|
242
|
+
type: import("vue").PropType<boolean>;
|
|
243
|
+
};
|
|
244
|
+
isShortable: {
|
|
245
|
+
type: import("vue").PropType<boolean>;
|
|
246
|
+
default: boolean;
|
|
247
|
+
};
|
|
248
|
+
keyForSaveState: {
|
|
249
|
+
type: import("vue").PropType<string>;
|
|
250
|
+
};
|
|
251
|
+
}>> & {
|
|
252
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
253
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
254
|
+
__isFragment?: undefined;
|
|
255
|
+
__isTeleport?: undefined;
|
|
256
|
+
__isSuspense?: undefined;
|
|
257
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
258
|
+
modelValue: {
|
|
259
|
+
type: import("vue").PropType<string>;
|
|
260
|
+
required: true;
|
|
261
|
+
};
|
|
262
|
+
showMenuInPopup: {
|
|
263
|
+
type: import("vue").PropType<boolean>;
|
|
264
|
+
};
|
|
265
|
+
isShortable: {
|
|
266
|
+
type: import("vue").PropType<boolean>;
|
|
267
|
+
default: boolean;
|
|
268
|
+
};
|
|
269
|
+
keyForSaveState: {
|
|
270
|
+
type: import("vue").PropType<string>;
|
|
271
|
+
};
|
|
272
|
+
}>> & {
|
|
273
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
274
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
275
|
+
"update:modelValue": (value: string) => void;
|
|
276
|
+
}, string, {
|
|
277
|
+
isShortable: boolean;
|
|
278
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
279
|
+
$slots: {
|
|
280
|
+
menu?(_: {}): any;
|
|
281
|
+
contents?(_: {}): any;
|
|
282
|
+
};
|
|
283
|
+
});
|
|
284
|
+
TabsViewMenuItem: {
|
|
285
|
+
new (...args: any[]): {
|
|
286
|
+
$: import("vue").ComponentInternalInstance;
|
|
287
|
+
$data: {};
|
|
288
|
+
$props: Partial<{}> & Omit<{
|
|
289
|
+
readonly icon?: string | undefined;
|
|
290
|
+
readonly name?: string | undefined;
|
|
291
|
+
readonly href?: string | undefined;
|
|
292
|
+
readonly disabled?: boolean | undefined;
|
|
293
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
294
|
+
name: {
|
|
295
|
+
type: import("vue").PropType<string>;
|
|
296
|
+
};
|
|
297
|
+
href: {
|
|
298
|
+
type: import("vue").PropType<string>;
|
|
299
|
+
};
|
|
300
|
+
icon: {
|
|
301
|
+
type: import("vue").PropType<string>;
|
|
302
|
+
};
|
|
303
|
+
disabled: {
|
|
304
|
+
type: import("vue").PropType<boolean>;
|
|
305
|
+
};
|
|
306
|
+
}>>, never>;
|
|
307
|
+
$attrs: {
|
|
308
|
+
[x: string]: unknown;
|
|
309
|
+
};
|
|
310
|
+
$refs: {
|
|
311
|
+
[x: string]: unknown;
|
|
312
|
+
};
|
|
313
|
+
$slots: Readonly<{
|
|
314
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
315
|
+
}>;
|
|
316
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
317
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
318
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
319
|
+
$el: any;
|
|
320
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
321
|
+
name: {
|
|
322
|
+
type: import("vue").PropType<string>;
|
|
323
|
+
};
|
|
324
|
+
href: {
|
|
325
|
+
type: import("vue").PropType<string>;
|
|
326
|
+
};
|
|
327
|
+
icon: {
|
|
328
|
+
type: import("vue").PropType<string>;
|
|
329
|
+
};
|
|
330
|
+
disabled: {
|
|
331
|
+
type: import("vue").PropType<boolean>;
|
|
332
|
+
};
|
|
333
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
|
|
334
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
335
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
336
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
337
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
338
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
339
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
340
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
341
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
342
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
343
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
344
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
345
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
346
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
347
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
348
|
+
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;
|
|
349
|
+
};
|
|
350
|
+
$forceUpdate: () => void;
|
|
351
|
+
$nextTick: typeof import("vue").nextTick;
|
|
352
|
+
$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;
|
|
353
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
354
|
+
name: {
|
|
355
|
+
type: import("vue").PropType<string>;
|
|
356
|
+
};
|
|
357
|
+
href: {
|
|
358
|
+
type: import("vue").PropType<string>;
|
|
359
|
+
};
|
|
360
|
+
icon: {
|
|
361
|
+
type: import("vue").PropType<string>;
|
|
362
|
+
};
|
|
363
|
+
disabled: {
|
|
364
|
+
type: import("vue").PropType<boolean>;
|
|
365
|
+
};
|
|
366
|
+
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
367
|
+
__isFragment?: undefined;
|
|
368
|
+
__isTeleport?: undefined;
|
|
369
|
+
__isSuspense?: undefined;
|
|
370
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
371
|
+
name: {
|
|
372
|
+
type: import("vue").PropType<string>;
|
|
373
|
+
};
|
|
374
|
+
href: {
|
|
375
|
+
type: import("vue").PropType<string>;
|
|
376
|
+
};
|
|
377
|
+
icon: {
|
|
378
|
+
type: import("vue").PropType<string>;
|
|
379
|
+
};
|
|
380
|
+
disabled: {
|
|
381
|
+
type: import("vue").PropType<boolean>;
|
|
382
|
+
};
|
|
383
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
384
|
+
$slots: {
|
|
385
|
+
default?(_: {}): any;
|
|
386
|
+
};
|
|
387
|
+
});
|
|
388
|
+
TabsViewMenuTitle: {
|
|
389
|
+
new (...args: any[]): {
|
|
390
|
+
$: import("vue").ComponentInternalInstance;
|
|
391
|
+
$data: {};
|
|
392
|
+
$props: Partial<{}> & Omit<{
|
|
393
|
+
readonly isSubtitle?: boolean | undefined;
|
|
394
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
395
|
+
isSubtitle: {
|
|
396
|
+
type: import("vue").PropType<boolean>;
|
|
397
|
+
};
|
|
398
|
+
}>>, never>;
|
|
399
|
+
$attrs: {
|
|
400
|
+
[x: string]: unknown;
|
|
401
|
+
};
|
|
402
|
+
$refs: {
|
|
403
|
+
[x: string]: unknown;
|
|
404
|
+
};
|
|
405
|
+
$slots: Readonly<{
|
|
406
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
407
|
+
}>;
|
|
408
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
409
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
410
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
411
|
+
$el: any;
|
|
412
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
413
|
+
isSubtitle: {
|
|
414
|
+
type: import("vue").PropType<boolean>;
|
|
415
|
+
};
|
|
416
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
|
|
417
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
418
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
419
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
420
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
421
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
422
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
423
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
424
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
425
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
426
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
427
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
428
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
429
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
430
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
431
|
+
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;
|
|
432
|
+
};
|
|
433
|
+
$forceUpdate: () => void;
|
|
434
|
+
$nextTick: typeof import("vue").nextTick;
|
|
435
|
+
$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;
|
|
436
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
437
|
+
isSubtitle: {
|
|
438
|
+
type: import("vue").PropType<boolean>;
|
|
439
|
+
};
|
|
440
|
+
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
441
|
+
__isFragment?: undefined;
|
|
442
|
+
__isTeleport?: undefined;
|
|
443
|
+
__isSuspense?: undefined;
|
|
444
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
445
|
+
isSubtitle: {
|
|
446
|
+
type: import("vue").PropType<boolean>;
|
|
447
|
+
};
|
|
448
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
449
|
+
$slots: {
|
|
450
|
+
default?(_: {}): any;
|
|
451
|
+
};
|
|
452
|
+
});
|
|
453
|
+
TabsViewContent: {
|
|
454
|
+
new (...args: any[]): {
|
|
455
|
+
$: import("vue").ComponentInternalInstance;
|
|
456
|
+
$data: {};
|
|
457
|
+
$props: Partial<{}> & Omit<{
|
|
458
|
+
readonly name: string;
|
|
459
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
460
|
+
name: {
|
|
461
|
+
type: import("vue").PropType<string>;
|
|
462
|
+
required: true;
|
|
463
|
+
};
|
|
464
|
+
}>>, never>;
|
|
465
|
+
$attrs: {
|
|
466
|
+
[x: string]: unknown;
|
|
467
|
+
};
|
|
468
|
+
$refs: {
|
|
469
|
+
[x: string]: unknown;
|
|
470
|
+
};
|
|
471
|
+
$slots: Readonly<{
|
|
472
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
473
|
+
}>;
|
|
474
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
475
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
476
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
477
|
+
$el: any;
|
|
478
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
479
|
+
name: {
|
|
480
|
+
type: import("vue").PropType<string>;
|
|
481
|
+
required: true;
|
|
482
|
+
};
|
|
483
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
|
|
484
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
485
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
486
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
487
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
488
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
489
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
490
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
491
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
492
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
493
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
494
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
495
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
496
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
497
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
498
|
+
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;
|
|
499
|
+
};
|
|
500
|
+
$forceUpdate: () => void;
|
|
501
|
+
$nextTick: typeof import("vue").nextTick;
|
|
502
|
+
$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;
|
|
503
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
504
|
+
name: {
|
|
505
|
+
type: import("vue").PropType<string>;
|
|
506
|
+
required: true;
|
|
507
|
+
};
|
|
508
|
+
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
509
|
+
__isFragment?: undefined;
|
|
510
|
+
__isTeleport?: undefined;
|
|
511
|
+
__isSuspense?: undefined;
|
|
512
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
513
|
+
name: {
|
|
514
|
+
type: import("vue").PropType<string>;
|
|
515
|
+
required: true;
|
|
516
|
+
};
|
|
517
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
518
|
+
$slots: {
|
|
519
|
+
default?(_: {}): any;
|
|
520
|
+
};
|
|
521
|
+
});
|
|
522
|
+
};
|
|
523
|
+
setup(this: void): {
|
|
524
|
+
args: any;
|
|
525
|
+
};
|
|
526
|
+
template: string;
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
export default meta;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { Props } from './tabsView';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
3
|
+
isShortable: boolean;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
"update:modelValue": (value: string) => void;
|
|
6
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
7
|
+
isShortable: boolean;
|
|
8
|
+
}>>> & {
|
|
9
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
isShortable: boolean;
|
|
12
|
+
}, {}>, {
|
|
13
|
+
menu?(_: {}): any;
|
|
14
|
+
contents?(_: {}): any;
|
|
15
|
+
}>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: import('vue').PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
type __VLS_WithDefaults<P, D> = {
|
|
27
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
+
default: D[K];
|
|
29
|
+
}> : P[K];
|
|
30
|
+
};
|
|
31
|
+
type __VLS_Prettify<T> = {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} & {};
|
|
34
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { default as TabsView } from './tabsView/tabsView.vue';
|
|
2
|
+
export { default as TabsViewMenuItem } from './tabsView/menuItem.vue';
|
|
3
|
+
export { default as TabsViewMenuTitle } from './tabsView/menuTitle.vue';
|
|
4
|
+
export { default as TabsViewContent } from './tabsView/content.vue';
|
package/src/core/utils/date.d.ts
CHANGED
|
@@ -1,27 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
export default UtilsDate;
|
|
1
|
+
/**
|
|
2
|
+
* Получить объект Date из строки
|
|
3
|
+
* @param date - строка с датой
|
|
4
|
+
*/
|
|
5
|
+
export declare function stringToDate(date: string): Date;
|
|
6
|
+
/**
|
|
7
|
+
* Генерация строки с датой в формате Y-m-d H:i:s или в формате Core.state.dateFormat, если указан useFormat = true
|
|
8
|
+
* @param {?number} timestamp
|
|
9
|
+
* @param {?boolean} useFormat
|
|
10
|
+
* @param {0|1|2|3} time - 0: только дата, 1: дата и часы, 2: дата и часы с минутами, 3: дата и часы с минутами и секундами
|
|
11
|
+
*/
|
|
12
|
+
export declare function genDate(timestamp: number, useFormat?: boolean, time?: 0 | 1 | 2 | 3): string;
|
|
13
|
+
/**
|
|
14
|
+
* Перевод даты в формат пользователя
|
|
15
|
+
* @param {string} date - строка в формате Y-m-d H:i:s
|
|
16
|
+
* @param {0|1|2|3} time - 0: только дата, 1: дата и часы, 2: дата и часы с минутами, 3: дата и часы с минутами и секундами
|
|
17
|
+
* @param {string} emptyValue - значение, которое надо вернуть, если дата не указана
|
|
18
|
+
*/
|
|
19
|
+
export declare function dateFormat(date: string, time?: 0 | 1 | 2 | 3, emptyValue?: string): string;
|
|
20
|
+
/**
|
|
21
|
+
* Перевод даты из формата пользователя в системный формат
|
|
22
|
+
* @param {string} date - строка в формате Y-m-d H:i:s
|
|
23
|
+
* @param {string} emptyValue - значение, которое надо вернуть, если дата не указана
|
|
24
|
+
*/
|
|
25
|
+
export declare function dateUnformat(date: string, emptyValue?: string): string;
|