prlg-ui 1.7.80 → 1.8.0

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 (43) hide show
  1. package/dist/FileIcon-BE4ItwkK.cjs +1 -0
  2. package/dist/{FileIcon-DkEbi-bi.js → FileIcon-maHE2Nhr.js} +12 -12
  3. package/dist/{Image-CjfBGj9v.cjs → Image-CTHVD4pk.cjs} +1 -1
  4. package/dist/{Image-BsSn6o0I.js → Image-DdrY_gj3.js} +2 -2
  5. package/dist/{eventBus.util-DWrPm63y.js → Portal.vue_vue_type_script_setup_true_lang-CMr1orYd.js} +24 -24
  6. package/dist/Portal.vue_vue_type_script_setup_true_lang-C_gwBTX9.cjs +1 -0
  7. package/dist/SendIcon-CH6S0QWh.cjs +1 -0
  8. package/dist/{SendIcon-BGGNLlmf.js → SendIcon-Cqdt2QWN.js} +9 -9
  9. package/dist/WarningFillIcon-acu5ou45.cjs +1 -0
  10. package/dist/{WarningFillIcon-DJbFMn6d.js → WarningFillIcon-cJBG6d6O.js} +124 -92
  11. package/dist/blocks/index.cjs.js +1 -1
  12. package/dist/blocks/index.es.js +5 -5
  13. package/dist/icons/index.cjs.js +1 -1
  14. package/dist/icons/index.es.js +370 -400
  15. package/dist/index.d.ts +204 -44
  16. package/dist/parseFileSize.util-Bg1rLRLQ.cjs +1 -0
  17. package/dist/parseFileSize.util-CxVk4CvB.js +785 -0
  18. package/dist/prlg-ui.cjs.js +1 -1
  19. package/dist/prlg-ui.css +1 -1
  20. package/dist/prlg-ui.es.js +2882 -2196
  21. package/dist/scss/animations.scss +30 -0
  22. package/dist/scss/colors.scss +1 -0
  23. package/dist/scss/main.scss +1 -0
  24. package/dist/scss/root-vars.scss +3 -0
  25. package/dist/uploadFile.util-DCFkx3w3.cjs +1 -0
  26. package/dist/uploadFile.util-DhavPrlY.js +37 -0
  27. package/dist/utils/dayjs.util.ts +2 -0
  28. package/dist/utils/index.cjs.js +1 -1
  29. package/dist/utils/index.es.js +5 -5
  30. package/dist/utils/mask.util.test.ts +170 -0
  31. package/dist/utils/mask.util.ts +217 -0
  32. package/package.json +11 -4
  33. package/dist/FileIcon-sxADkCIe.cjs +0 -1
  34. package/dist/SendIcon-_UxV_dOO.cjs +0 -1
  35. package/dist/WarningFillIcon-Mkwf0oDV.cjs +0 -1
  36. package/dist/eventBus.util-D8XxJzLJ.cjs +0 -1
  37. package/dist/parseFileSize.util-7Ku5i6Tm.cjs +0 -1
  38. package/dist/parseFileSize.util-DOIlswb-.js +0 -44
  39. package/dist/uploadFile.util-68_41dVg.cjs +0 -1
  40. package/dist/uploadFile.util-DjmeAGuX.js +0 -760
  41. package/dist/utils/Portal/Portal.vue +0 -27
  42. package/dist/utils/Portal/index.ts +0 -3
  43. package/dist/utils/Portal.vue +0 -27
package/dist/index.d.ts CHANGED
@@ -35,7 +35,7 @@ import { WritableComputedRef } from 'vue';
35
35
 
36
36
  declare const __VLS_component: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
37
37
 
38
- declare const __VLS_component_10: DefineComponent<__VLS_PublicProps_14, {
38
+ declare const __VLS_component_10: DefineComponent<__VLS_PublicProps_16, {
39
39
  isOpen: ModelRef<boolean | undefined, string, boolean | undefined, boolean | undefined>;
40
40
  open: () => void;
41
41
  close: () => void;
@@ -43,14 +43,14 @@ close: () => void;
43
43
  "update:open": (value: boolean) => any;
44
44
  } & {
45
45
  close: () => any;
46
- }, string, PublicProps, Readonly<__VLS_PublicProps_14> & Readonly<{
46
+ }, string, PublicProps, Readonly<__VLS_PublicProps_16> & Readonly<{
47
47
  onClose?: (() => any) | undefined;
48
48
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
49
49
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
50
50
 
51
- declare const __VLS_component_11: DefineComponent<__VLS_PublicProps_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
51
+ declare const __VLS_component_11: DefineComponent<__VLS_PublicProps_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
52
52
  "update:open": (value: boolean) => any;
53
- }, string, PublicProps, Readonly<__VLS_PublicProps_15> & Readonly<{
53
+ }, string, PublicProps, Readonly<__VLS_PublicProps_17> & Readonly<{
54
54
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
55
55
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
56
56
 
@@ -78,6 +78,10 @@ zIndex: {
78
78
  type: NumberConstructor;
79
79
  default: number;
80
80
  };
81
+ withoutStyle: {
82
+ type: BooleanConstructor;
83
+ default: boolean;
84
+ };
81
85
  }>, {
82
86
  open: () => void;
83
87
  close: () => void;
@@ -111,6 +115,10 @@ zIndex: {
111
115
  type: NumberConstructor;
112
116
  default: number;
113
117
  };
118
+ withoutStyle: {
119
+ type: BooleanConstructor;
120
+ default: boolean;
121
+ };
114
122
  }>> & Readonly<{
115
123
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
116
124
  }>, {
@@ -119,6 +127,7 @@ placement: Placement;
119
127
  arrowVisible: boolean;
120
128
  closeMode: PopoverCloseMode;
121
129
  zIndex: number;
130
+ withoutStyle: boolean;
122
131
  }, {}, {}, {}, string, ComponentProvideOptions, true, {
123
132
  reference: HTMLDivElement;
124
133
  floating: HTMLDivElement;
@@ -126,7 +135,7 @@ floating: HTMLDivElement;
126
135
  'second-screen': HTMLDivElement;
127
136
  }, HTMLDivElement>;
128
137
 
129
- declare const __VLS_component_13: DefineComponent<__VLS_Props_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
138
+ declare const __VLS_component_13: DefineComponent<__VLS_Props_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
130
139
 
131
140
  declare const __VLS_component_14: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
132
141
  contentRef: HTMLDivElement;
@@ -134,13 +143,13 @@ contentRef: HTMLDivElement;
134
143
 
135
144
  declare const __VLS_component_15: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLButtonElement>;
136
145
 
137
- declare const __VLS_component_16: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
146
+ declare const __VLS_component_16: DefineComponent<__VLS_Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
138
147
 
139
- declare const __VLS_component_17: DefineComponent<__VLS_Props_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
148
+ declare const __VLS_component_17: DefineComponent<__VLS_Props_29, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_29> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
140
149
 
141
- declare const __VLS_component_18: DefineComponent<__VLS_Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
150
+ declare const __VLS_component_18: DefineComponent<__VLS_Props_30, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
142
151
  "update:value": (value: string | number) => any;
143
- }, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{
152
+ }, string, PublicProps, Readonly<__VLS_Props_30> & Readonly<{
144
153
  "onUpdate:value"?: ((value: string | number) => any) | undefined;
145
154
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
146
155
 
@@ -205,9 +214,9 @@ updateContainerHeight: (scrollContainer?: HTMLElement) => void;
205
214
 
206
215
  declare const __VLS_component_20: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
207
216
 
208
- declare const __VLS_component_21: DefineComponent<__VLS_Props_29, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_29> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
217
+ declare const __VLS_component_21: DefineComponent<__VLS_Props_31, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_31> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
209
218
 
210
- declare const __VLS_component_22: DefineComponent<__VLS_Props_30, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_30> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
219
+ declare const __VLS_component_22: DefineComponent<__VLS_Props_32, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_32> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
211
220
 
212
221
  declare const __VLS_component_3: DefineComponent<ColumnProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ColumnProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
213
222
 
@@ -250,11 +259,11 @@ outlined: boolean;
250
259
  type: "error" | "info" | "warning";
251
260
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
252
261
 
253
- declare const __VLS_component_8: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
262
+ declare const __VLS_component_8: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
254
263
 
255
- declare const __VLS_component_9: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
264
+ declare const __VLS_component_9: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
256
265
  remove: () => any;
257
- }, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{
266
+ }, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{
258
267
  onRemove?: (() => any) | undefined;
259
268
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
260
269
 
@@ -296,14 +305,18 @@ declare type __VLS_Props_14 = {
296
305
  resizable?: boolean;
297
306
  };
298
307
 
299
- declare type __VLS_Props_15 = {
308
+ declare type __VLS_Props_15 = ICalendarProps;
309
+
310
+ declare type __VLS_Props_16 = IDatePickerProps;
311
+
312
+ declare type __VLS_Props_17 = {
300
313
  file: string | IFile;
301
314
  viewName?: boolean;
302
315
  outlined?: boolean;
303
316
  removable?: boolean;
304
317
  };
305
318
 
306
- declare type __VLS_Props_16 = {
319
+ declare type __VLS_Props_18 = {
307
320
  file: string | IFile_2;
308
321
  alt?: string;
309
322
  size?: 'small' | 'medium' | 'large' | 'full';
@@ -312,17 +325,19 @@ declare type __VLS_Props_16 = {
312
325
  zIndexPreview?: number;
313
326
  };
314
327
 
315
- declare type __VLS_Props_17 = {
328
+ declare type __VLS_Props_19 = {
316
329
  items: MenuItem[];
317
330
  };
318
331
 
319
- declare type __VLS_Props_18 = {
332
+ declare type __VLS_Props_2 = TableProps;
333
+
334
+ declare type __VLS_Props_20 = {
320
335
  value?: string | number;
321
336
  variant?: 'primary' | 'danger' | 'neutral';
322
337
  strong?: boolean;
323
338
  };
324
339
 
325
- declare type __VLS_Props_19 = {
340
+ declare type __VLS_Props_21 = {
326
341
  value?: number | string;
327
342
  variant?: 'danger';
328
343
  position?: 'left' | 'right';
@@ -333,9 +348,7 @@ declare type __VLS_Props_19 = {
333
348
  };
334
349
  };
335
350
 
336
- declare type __VLS_Props_2 = TableProps;
337
-
338
- declare type __VLS_Props_20 = {
351
+ declare type __VLS_Props_22 = {
339
352
  width?: number | string;
340
353
  height?: number | string;
341
354
  borderRadius?: string | number;
@@ -343,13 +356,13 @@ declare type __VLS_Props_20 = {
343
356
  size?: string;
344
357
  };
345
358
 
346
- declare type __VLS_Props_21 = {
359
+ declare type __VLS_Props_23 = {
347
360
  strokeWidth?: string | number;
348
361
  style?: CSSProperties;
349
362
  size?: 'small' | 'default' | 'large';
350
363
  };
351
364
 
352
- declare type __VLS_Props_22 = {
365
+ declare type __VLS_Props_24 = {
353
366
  removable?: boolean;
354
367
  icon?: string;
355
368
  iconPosition?: 'left' | 'right';
@@ -358,42 +371,42 @@ declare type __VLS_Props_22 = {
358
371
  strong?: boolean;
359
372
  };
360
373
 
361
- declare type __VLS_Props_23 = DrawerProps;
374
+ declare type __VLS_Props_25 = DrawerProps;
362
375
 
363
- declare type __VLS_Props_24 = {
376
+ declare type __VLS_Props_26 = {
364
377
  title?: string;
365
378
  style?: CSSProperties;
366
379
  position?: 'top' | 'center' | 'bottom';
367
380
  zIndex?: number;
368
381
  };
369
382
 
370
- declare type __VLS_Props_25 = {
383
+ declare type __VLS_Props_27 = {
371
384
  value?: string | number | (string | number)[];
372
385
  multiple?: boolean;
373
386
  styleView?: 'fill' | 'inline';
374
387
  };
375
388
 
376
- declare type __VLS_Props_26 = {
389
+ declare type __VLS_Props_28 = {
377
390
  value: string | number;
378
391
  };
379
392
 
380
- declare type __VLS_Props_27 = {
393
+ declare type __VLS_Props_29 = {
381
394
  layouts?: 'vertical' | 'horizontal';
382
395
  type?: 'solid' | 'dashed' | 'dotted';
383
396
  align?: 'left' | 'right' | 'center';
384
397
  };
385
398
 
386
- declare type __VLS_Props_28 = {
399
+ declare type __VLS_Props_3 = PaginatorProps;
400
+
401
+ declare type __VLS_Props_30 = {
387
402
  value: string | number;
388
403
  };
389
404
 
390
- declare type __VLS_Props_29 = {
405
+ declare type __VLS_Props_31 = {
391
406
  value: string | number;
392
407
  };
393
408
 
394
- declare type __VLS_Props_3 = PaginatorProps;
395
-
396
- declare type __VLS_Props_30 = {
409
+ declare type __VLS_Props_32 = {
397
410
  value: string | number;
398
411
  };
399
412
 
@@ -461,12 +474,23 @@ declare type __VLS_PublicProps_13 = {
461
474
  } & __VLS_Props_14;
462
475
 
463
476
  declare type __VLS_PublicProps_14 = {
464
- 'open'?: boolean;
465
- } & __VLS_Props_23;
477
+ modelValue?: ICalendarResultValue;
478
+ } & __VLS_Props_15;
466
479
 
467
480
  declare type __VLS_PublicProps_15 = {
481
+ modelValue?: string | {
482
+ from: string;
483
+ to: string;
484
+ } | null;
485
+ } & __VLS_Props_16;
486
+
487
+ declare type __VLS_PublicProps_16 = {
488
+ 'open'?: boolean;
489
+ } & __VLS_Props_25;
490
+
491
+ declare type __VLS_PublicProps_17 = {
468
492
  'open': boolean;
469
- } & __VLS_Props_24;
493
+ } & __VLS_Props_26;
470
494
 
471
495
  declare type __VLS_PublicProps_2 = {
472
496
  'currentPage': number;
@@ -945,9 +969,9 @@ export declare const AccordionHeader: __VLS_WithTemplateSlots_15<typeof __VLS_co
945
969
 
946
970
  export declare const AccordionPanel: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
947
971
 
948
- export declare const Badge: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
972
+ export declare const Badge: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
949
973
 
950
- export declare const Breadcrumb: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
974
+ export declare const Breadcrumb: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
951
975
 
952
976
  export declare const Button: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
953
977
 
@@ -965,6 +989,12 @@ declare type ButtonProps = {
965
989
  full?: boolean;
966
990
  };
967
991
 
992
+ export declare const Calendar: DefineComponent<__VLS_PublicProps_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
993
+ "update:modelValue": (value: ICalendarResultValue) => any;
994
+ }, string, PublicProps, Readonly<__VLS_PublicProps_14> & Readonly<{
995
+ "onUpdate:modelValue"?: ((value: ICalendarResultValue) => any) | undefined;
996
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
997
+
968
998
  export declare const Checkbox: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
969
999
 
970
1000
  export declare const ChipCheckbox: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -1084,6 +1114,35 @@ declare type DataItem = Record<string, any>;
1084
1114
 
1085
1115
  export declare const DataTable: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
1086
1116
 
1117
+ export declare const DatePicker: DefineComponent<__VLS_PublicProps_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1118
+ "update:modelValue": (value: string | {
1119
+ from: string;
1120
+ to: string;
1121
+ } | null) => any;
1122
+ } & {
1123
+ clear: () => any;
1124
+ input: (value: Event) => any;
1125
+ select: (value: Date) => any;
1126
+ blur: (value: FocusEvent) => any;
1127
+ focus: (value: FocusEvent) => any;
1128
+ "update:modelValue": (value: Date | undefined) => any;
1129
+ }, string, PublicProps, Readonly<__VLS_PublicProps_15> & Readonly<{
1130
+ onClear?: (() => any) | undefined;
1131
+ onInput?: ((value: Event) => any) | undefined;
1132
+ onSelect?: ((value: Date) => any) | undefined;
1133
+ onBlur?: ((value: FocusEvent) => any) | undefined;
1134
+ onFocus?: ((value: FocusEvent) => any) | undefined;
1135
+ "onUpdate:modelValue"?: ((value: Date | undefined) => any) | undefined;
1136
+ }>, {
1137
+ type: ICalendarType;
1138
+ range: boolean;
1139
+ format: string;
1140
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
1141
+ datePickerRef: HTMLDivElement;
1142
+ inputRef: HTMLDivElement;
1143
+ popoverRef: HTMLDivElement;
1144
+ }, HTMLDivElement>;
1145
+
1087
1146
  export declare const Divider: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
1088
1147
 
1089
1148
  export declare const Drawer: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
@@ -1111,15 +1170,112 @@ declare interface DropdownProps {
1111
1170
  loading?: boolean;
1112
1171
  }
1113
1172
 
1114
- declare const File_2: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1173
+ declare const File_2: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1115
1174
  remove: (file: IFile) => any;
1116
- }, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{
1175
+ }, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
1117
1176
  onRemove?: ((file: IFile) => any) | undefined;
1118
1177
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1119
1178
  export { File_2 as File }
1120
1179
 
1180
+ declare interface ICalendarProps {
1181
+ /**
1182
+ * Тип календаря.
1183
+ * - day - выбор дня, месяца и года
1184
+ * - month - выбор месяца и года
1185
+ * - year - выбор года
1186
+ *
1187
+ * @default 'day'
1188
+ * */
1189
+ type?: ICalendarType;
1190
+ /**
1191
+ * Формат даты по умолчанию mm/dd/yy который может быть настроен с помощью свойства dateFormat. Следующие параметры могут быть частью формата.
1192
+ *
1193
+ * - d - день месяца (без ведущего нуля)
1194
+ * - dd - день месяца (две цифры)
1195
+ * - o - день года (без ведущих нулей)
1196
+ * - oo - день года (три цифры)
1197
+ * - D - короткое название дня
1198
+ * - DD - полное название дня
1199
+ * - m - месяц года (без ведущего нуля)
1200
+ * - mm - месяц года (две цифры)
1201
+ * - M - короткое название месяца
1202
+ * - MM - полное название месяца
1203
+ * - y - год (две цифры)
1204
+ * - yy - год (четыре цифры)
1205
+ * - @ - Unix timestamp (мс с 01/01/1970)
1206
+ * - ! - Windows ticks (100нс с 01/01/0001)
1207
+ * - '...' - буквальный текст
1208
+ * - '' - одинарная кавычка
1209
+ * - любые другие символы - буквальный текст
1210
+ *
1211
+ * @default 'mm/dd/yy'
1212
+ */
1213
+ format?: string;
1214
+ /**
1215
+ * - Включает режим выбора диапазона дат.
1216
+ * - При включении пользователь может выбрать начальную и конечную дату.
1217
+ *
1218
+ * @default false
1219
+ */
1220
+ range?: boolean;
1221
+ /**
1222
+ * Минимальная дата, которую можно выбрать в календаре.
1223
+ * Даты до указанной будут недоступны для выбора.
1224
+ */
1225
+ minDate?: Date | null;
1226
+ /**
1227
+ * Максимальная дата, которую можно выбрать в календаре.
1228
+ * Даты после указанной будут недоступны для выбора.
1229
+ */
1230
+ maxDate?: Date | null;
1231
+ }
1232
+
1233
+ declare type ICalendarResult = {
1234
+ to: string;
1235
+ from: string;
1236
+ };
1237
+
1238
+ declare type ICalendarResultValue = string | ICalendarResult | null;
1239
+
1240
+ declare type ICalendarType = 'month' | 'year' | 'day';
1241
+
1121
1242
  export declare const IconField: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
1122
1243
 
1244
+ declare interface IDatePickerProps extends ICalendarProps {
1245
+ /**
1246
+ * Текст для незаполненного input
1247
+ * */
1248
+ placeholder?: string;
1249
+ /**
1250
+ * Состояние включения/отключениея кнопки очистить input
1251
+ * */
1252
+ allowClear?: boolean;
1253
+ /**
1254
+ * Имя поля для формы
1255
+ * */
1256
+ name?: string;
1257
+ /**
1258
+ * Название поля
1259
+ * */
1260
+ label?: string;
1261
+ /**
1262
+ * Состояние неактивности поля
1263
+ * */
1264
+ disabled?: boolean;
1265
+ /**
1266
+ * Состояние ошибки
1267
+ * */
1268
+ error?: boolean;
1269
+ /**
1270
+ * Текст ошибки
1271
+ * */
1272
+ errorText?: string;
1273
+ /**
1274
+ * Состояние - обязательно поле для заполнения или нет
1275
+ * */
1276
+ required?: boolean;
1277
+ }
1278
+
1123
1279
  declare interface IFile {
1124
1280
  id: string;
1125
1281
  url: string;
@@ -1136,7 +1292,7 @@ declare interface IFile_2 {
1136
1292
  size: number | null;
1137
1293
  }
1138
1294
 
1139
- declare const Image_2: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
1295
+ declare const Image_2: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
1140
1296
  imageFullModal: CreateComponentPublicInstanceWithMixins<Readonly<{
1141
1297
  src: string;
1142
1298
  alt?: string;
@@ -1186,11 +1342,13 @@ export declare const InputPhone: DefineComponent<__VLS_PublicProps_8, {}, {}, {}
1186
1342
  export declare const InputText: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1187
1343
  "update:modelValue": (value: string) => any;
1188
1344
  } & {
1345
+ clear: () => any;
1189
1346
  input: (value: Event) => any;
1190
1347
  blur: () => any;
1191
1348
  focus: (value: FocusEvent) => any;
1192
1349
  paste: (value: ClipboardEvent) => any;
1193
1350
  }, string, PublicProps, Readonly<__VLS_PublicProps_6> & Readonly<{
1351
+ onClear?: (() => any) | undefined;
1194
1352
  onInput?: ((value: Event) => any) | undefined;
1195
1353
  onBlur?: (() => any) | undefined;
1196
1354
  onFocus?: ((value: FocusEvent) => any) | undefined;
@@ -1212,6 +1370,8 @@ declare type InputTextProps = {
1212
1370
  variant?: 'empty' | 'outlined' | 'fill';
1213
1371
  value?: string;
1214
1372
  required?: boolean;
1373
+ full?: boolean;
1374
+ readonly?: boolean;
1215
1375
  };
1216
1376
 
1217
1377
  declare type MenuItem = {
@@ -1298,7 +1458,7 @@ declare type SelectButtonProps = {
1298
1458
 
1299
1459
  declare type SelectedMode = 'multiple' | 'single';
1300
1460
 
1301
- export declare const Skeleton: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1461
+ export declare const Skeleton: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1302
1462
 
1303
1463
  export declare const SleedDeal: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
1304
1464
  menuRef: HTMLDivElement;
@@ -1359,7 +1519,7 @@ default?(_: {}): any;
1359
1519
  }) | null;
1360
1520
  }, HTMLDivElement>;
1361
1521
 
1362
- export declare const Spinner: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1522
+ export declare const Spinner: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1363
1523
 
1364
1524
  export declare const StarRating: DefineComponent<__VLS_PublicProps_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1365
1525
  "update:modelValue": (value: number) => any;
@@ -0,0 +1 @@
1
+ "use strict";const Ot=require("vue"),tt=new WeakMap;function Lt(v){const C=Ot.unref(v);return C?.$el??C}function bt(v){return typeof v=="string"?document.querySelector(v):Lt(v)}function kt(v,C,M={}){const s=bt(v);if(!s)return()=>{};const S=tt.get(s);S&&(S(),tt.delete(s));const $=w=>{const T=w.target instanceof Node?w.target:null;if(!T)return;const d=(Ot.toValue(M.ignore)??[]).map(_=>typeof _=="string"?document.querySelector(_):Lt(_)).filter(_=>_!=null);s.contains(T)||d.some(_=>_.contains(T))||C(w)};document.addEventListener("mousedown",$,{capture:!0}),document.addEventListener("touchstart",$,{capture:!0});const Y=()=>{document.removeEventListener("mousedown",$,{capture:!0}),document.removeEventListener("touchstart",$,{capture:!0}),tt.delete(s)};return tt.set(s,Y),Y}function W(v){return v&&v.__esModule&&Object.prototype.hasOwnProperty.call(v,"default")?v.default:v}var et={exports:{}},At=et.exports,$t;function Tt(){return $t||($t=1,(function(v,C){(function(M,s){v.exports=s()})(At,(function(){var M=1e3,s=6e4,S=36e5,$="millisecond",Y="second",w="minute",T="hour",y="day",d="week",_="month",F="quarter",B="year",x="date",A="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,O={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(i){var r=["th","st","nd","rd"],t=i%100;return"["+i+(r[(t-20)%10]||r[t]||r[0])+"]"}},L=function(i,r,t){var a=String(i);return!a||a.length>=r?i:""+Array(r+1-a.length).join(t)+i},j={s:L,z:function(i){var r=-i.utcOffset(),t=Math.abs(r),a=Math.floor(t/60),n=t%60;return(r<=0?"+":"-")+L(a,2,"0")+":"+L(n,2,"0")},m:function i(r,t){if(r.date()<t.date())return-i(t,r);var a=12*(t.year()-r.year())+(t.month()-r.month()),n=r.clone().add(a,_),h=t-n<0,l=r.clone().add(a+(h?-1:1),_);return+(-(a+(t-n)/(h?n-l:l-n))||0)},a:function(i){return i<0?Math.ceil(i)||0:Math.floor(i)},p:function(i){return{M:_,y:B,w:d,d:y,D:x,h:T,m:w,s:Y,ms:$,Q:F}[i]||String(i||"").toLowerCase().replace(/s$/,"")},u:function(i){return i===void 0}},H="en",m={};m[H]=O;var o="$isDayjsObject",e=function(i){return i instanceof b||!(!i||!i[o])},D=function i(r,t,a){var n;if(!r)return H;if(typeof r=="string"){var h=r.toLowerCase();m[h]&&(n=h),t&&(m[h]=t,n=h);var l=r.split("-");if(!n&&l.length>1)return i(l[0])}else{var g=r.name;m[g]=r,n=g}return!a&&n&&(H=n),n||!a&&H},p=function(i,r){if(e(i))return i.clone();var t=typeof r=="object"?r:{};return t.date=i,t.args=arguments,new b(t)},u=j;u.l=D,u.i=e,u.w=function(i,r){return p(i,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var b=(function(){function i(t){this.$L=D(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[o]=!0}var r=i.prototype;return r.parse=function(t){this.$d=(function(a){var n=a.date,h=a.utc;if(n===null)return new Date(NaN);if(u.u(n))return new Date;if(n instanceof Date)return new Date(n);if(typeof n=="string"&&!/Z$/i.test(n)){var l=n.match(c);if(l){var g=l[2]-1||0,q=(l[7]||"0").substring(0,3);return h?new Date(Date.UTC(l[1],g,l[3]||1,l[4]||0,l[5]||0,l[6]||0,q)):new Date(l[1],g,l[3]||1,l[4]||0,l[5]||0,l[6]||0,q)}}return new Date(n)})(t),this.init()},r.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},r.$utils=function(){return u},r.isValid=function(){return this.$d.toString()!==A},r.isSame=function(t,a){var n=p(t);return this.startOf(a)<=n&&n<=this.endOf(a)},r.isAfter=function(t,a){return p(t)<this.startOf(a)},r.isBefore=function(t,a){return this.endOf(a)<p(t)},r.$g=function(t,a,n){return u.u(t)?this[a]:this.set(n,t)},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this.$d.getTime()},r.startOf=function(t,a){var n=this,h=!!u.u(a)||a,l=u.p(t),g=function(Z,I){var R=u.w(n.$u?Date.UTC(n.$y,I,Z):new Date(n.$y,I,Z),n);return h?R:R.endOf(y)},q=function(Z,I){return u.w(n.toDate()[Z].apply(n.toDate("s"),(h?[0,0,0,0]:[23,59,59,999]).slice(I)),n)},E=this.$W,z=this.$M,P=this.$D,V="set"+(this.$u?"UTC":"");switch(l){case B:return h?g(1,0):g(31,11);case _:return h?g(1,z):g(0,z+1);case d:var U=this.$locale().weekStart||0,X=(E<U?E+7:E)-U;return g(h?P-X:P+(6-X),z);case y:case x:return q(V+"Hours",0);case T:return q(V+"Minutes",1);case w:return q(V+"Seconds",2);case Y:return q(V+"Milliseconds",3);default:return this.clone()}},r.endOf=function(t){return this.startOf(t,!1)},r.$set=function(t,a){var n,h=u.p(t),l="set"+(this.$u?"UTC":""),g=(n={},n[y]=l+"Date",n[x]=l+"Date",n[_]=l+"Month",n[B]=l+"FullYear",n[T]=l+"Hours",n[w]=l+"Minutes",n[Y]=l+"Seconds",n[$]=l+"Milliseconds",n)[h],q=h===y?this.$D+(a-this.$W):a;if(h===_||h===B){var E=this.clone().set(x,1);E.$d[g](q),E.init(),this.$d=E.set(x,Math.min(this.$D,E.daysInMonth())).$d}else g&&this.$d[g](q);return this.init(),this},r.set=function(t,a){return this.clone().$set(t,a)},r.get=function(t){return this[u.p(t)]()},r.add=function(t,a){var n,h=this;t=Number(t);var l=u.p(a),g=function(z){var P=p(h);return u.w(P.date(P.date()+Math.round(z*t)),h)};if(l===_)return this.set(_,this.$M+t);if(l===B)return this.set(B,this.$y+t);if(l===y)return g(1);if(l===d)return g(7);var q=(n={},n[w]=s,n[T]=S,n[Y]=M,n)[l]||1,E=this.$d.getTime()+t*q;return u.w(E,this)},r.subtract=function(t,a){return this.add(-1*t,a)},r.format=function(t){var a=this,n=this.$locale();if(!this.isValid())return n.invalidDate||A;var h=t||"YYYY-MM-DDTHH:mm:ssZ",l=u.z(this),g=this.$H,q=this.$m,E=this.$M,z=n.weekdays,P=n.months,V=n.meridiem,U=function(I,R,J,Q){return I&&(I[R]||I(a,h))||J[R].slice(0,Q)},X=function(I){return u.s(g%12||12,I,"0")},Z=V||function(I,R,J){var Q=I<12?"AM":"PM";return J?Q.toLowerCase():Q};return h.replace(f,(function(I,R){return R||(function(J){switch(J){case"YY":return String(a.$y).slice(-2);case"YYYY":return u.s(a.$y,4,"0");case"M":return E+1;case"MM":return u.s(E+1,2,"0");case"MMM":return U(n.monthsShort,E,P,3);case"MMMM":return U(P,E);case"D":return a.$D;case"DD":return u.s(a.$D,2,"0");case"d":return String(a.$W);case"dd":return U(n.weekdaysMin,a.$W,z,2);case"ddd":return U(n.weekdaysShort,a.$W,z,3);case"dddd":return z[a.$W];case"H":return String(g);case"HH":return u.s(g,2,"0");case"h":return X(1);case"hh":return X(2);case"a":return Z(g,q,!0);case"A":return Z(g,q,!1);case"m":return String(q);case"mm":return u.s(q,2,"0");case"s":return String(a.$s);case"ss":return u.s(a.$s,2,"0");case"SSS":return u.s(a.$ms,3,"0");case"Z":return l}return null})(I)||l.replace(":","")}))},r.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},r.diff=function(t,a,n){var h,l=this,g=u.p(a),q=p(t),E=(q.utcOffset()-this.utcOffset())*s,z=this-q,P=function(){return u.m(l,q)};switch(g){case B:h=P()/12;break;case _:h=P();break;case F:h=P()/3;break;case d:h=(z-E)/6048e5;break;case y:h=(z-E)/864e5;break;case T:h=z/S;break;case w:h=z/s;break;case Y:h=z/M;break;default:h=z}return n?h:u.a(h)},r.daysInMonth=function(){return this.endOf(_).$D},r.$locale=function(){return m[this.$L]},r.locale=function(t,a){if(!t)return this.$L;var n=this.clone(),h=D(t,a,!0);return h&&(n.$L=h),n},r.clone=function(){return u.w(this.$d,this)},r.toDate=function(){return new Date(this.valueOf())},r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toISOString=function(){return this.$d.toISOString()},r.toString=function(){return this.$d.toUTCString()},i})(),k=b.prototype;return p.prototype=k,[["$ms",$],["$s",Y],["$m",w],["$H",T],["$W",y],["$M",_],["$y",B],["$D",x]].forEach((function(i){k[i[1]]=function(r){return this.$g(r,i[0],i[1])}})),p.extend=function(i,r){return i.$i||(i(r,b,p),i.$i=!0),p},p.locale=D,p.isDayjs=e,p.unix=function(i){return p(1e3*i)},p.en=m[H],p.Ls=m,p.p={},p}))})(et)),et.exports}var Ht=Tt();const N=W(Ht);var rt={exports:{}},Ft=rt.exports,vt;function qt(){return vt||(vt=1,(function(v,C){(function(M,s){v.exports=s()})(Ft,(function(){var M={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(s,S,$){var Y=S.prototype,w=Y.format;$.en.formats=M,Y.format=function(T){T===void 0&&(T="YYYY-MM-DDTHH:mm:ssZ");var y=this.$locale().formats,d=(function(_,F){return _.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(B,x,A){var c=A&&A.toUpperCase();return x||F[A]||M[A]||F[c].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(f,O,L){return O||L.slice(1)}))}))})(T,y===void 0?{}:y);return w.call(this,d)}}}))})(rt)),rt.exports}var Bt=qt();const Et=W(Bt);var nt={exports:{}},Ct=nt.exports,Mt;function jt(){return Mt||(Mt=1,(function(v,C){(function(M,s){v.exports=s()})(Ct,(function(){return function(M,s,S){M=M||{};var $=s.prototype,Y={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function w(y,d,_,F){return $.fromToBase(y,d,_,F)}S.en.relativeTime=Y,$.fromToBase=function(y,d,_,F,B){for(var x,A,c,f=_.$locale().relativeTime||Y,O=M.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],L=O.length,j=0;j<L;j+=1){var H=O[j];H.d&&(x=F?S(y).diff(_,H.d,!0):_.diff(y,H.d,!0));var m=(M.rounding||Math.round)(Math.abs(x));if(c=x>0,m<=H.r||!H.r){m<=1&&j>0&&(H=O[j-1]);var o=f[H.l];B&&(m=B(""+m)),A=typeof o=="string"?o.replace("%d",m):o(m,d,H.l,c);break}}if(d)return A;var e=c?f.future:f.past;return typeof e=="function"?e(A):e.replace("%s",A)},$.to=function(y,d){return w(y,d,this,!0)},$.from=function(y,d){return w(y,d,this)};var T=function(y){return y.$u?S.utc():S()};$.toNow=function(y){return this.to(T(this),y)},$.fromNow=function(y){return this.from(T(this),y)}}}))})(nt)),nt.exports}var zt=jt();const It=W(zt);var st={exports:{}},Pt=st.exports,yt;function Rt(){return yt||(yt=1,(function(v,C){(function(M,s){v.exports=s()})(Pt,(function(){return function(M,s,S){s.prototype.isToday=function(){var $="YYYY-MM-DD",Y=S();return this.format($)===Y.format($)}}}))})(st)),st.exports}var Nt=Rt();const Zt=W(Nt);var it={exports:{}},Wt=it.exports,Yt;function Ut(){return Yt||(Yt=1,(function(v,C){(function(M,s){v.exports=s()})(Wt,(function(){return function(M,s,S){s.prototype.isBetween=function($,Y,w,T){var y=S($),d=S(Y),_=(T=T||"()")[0]==="(",F=T[1]===")";return(_?this.isAfter(y,w):!this.isBefore(y,w))&&(F?this.isBefore(d,w):!this.isAfter(d,w))||(_?this.isBefore(y,w):!this.isAfter(y,w))&&(F?this.isAfter(d,w):!this.isBefore(d,w))}}}))})(it)),it.exports}var Jt=Ut();const Vt=W(Jt);var ot={exports:{}},Qt=ot.exports,xt;function Xt(){return xt||(xt=1,(function(v,C){(function(M,s){v.exports=s()})(Qt,(function(){return function(M,s){s.prototype.isSameOrBefore=function(S,$){return this.isSame(S,$)||this.isBefore(S,$)}}}))})(ot)),ot.exports}var Gt=Xt();const Kt=W(Gt);var at={exports:{}},te=at.exports,_t;function ee(){return _t||(_t=1,(function(v,C){(function(M,s){v.exports=s()})(te,(function(){return function(M,s){s.prototype.isSameOrAfter=function(S,$){return this.isSame(S,$)||this.isAfter(S,$)}}}))})(at)),at.exports}var re=ee();const ne=W(re);var ut={exports:{}},se=ut.exports,Dt;function ie(){return Dt||(Dt=1,(function(v,C){(function(M,s){v.exports=s()})(se,(function(){var M,s,S=1e3,$=6e4,Y=36e5,w=864e5,T=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y=31536e6,d=2628e6,_=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,F={years:y,months:d,days:w,hours:Y,minutes:$,seconds:S,milliseconds:1,weeks:6048e5},B=function(m){return m instanceof j},x=function(m,o,e){return new j(m,e,o.$l)},A=function(m){return s.p(m)+"s"},c=function(m){return m<0},f=function(m){return c(m)?Math.ceil(m):Math.floor(m)},O=function(m){return Math.abs(m)},L=function(m,o){return m?c(m)?{negative:!0,format:""+O(m)+o}:{negative:!1,format:""+m+o}:{negative:!1,format:""}},j=(function(){function m(e,D,p){var u=this;if(this.$d={},this.$l=p,e===void 0&&(this.$ms=0,this.parseFromMilliseconds()),D)return x(e*F[A(D)],this);if(typeof e=="number")return this.$ms=e,this.parseFromMilliseconds(),this;if(typeof e=="object")return Object.keys(e).forEach((function(i){u.$d[A(i)]=e[i]})),this.calMilliseconds(),this;if(typeof e=="string"){var b=e.match(_);if(b){var k=b.slice(2).map((function(i){return i!=null?Number(i):0}));return this.$d.years=k[0],this.$d.months=k[1],this.$d.weeks=k[2],this.$d.days=k[3],this.$d.hours=k[4],this.$d.minutes=k[5],this.$d.seconds=k[6],this.calMilliseconds(),this}}return this}var o=m.prototype;return o.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce((function(D,p){return D+(e.$d[p]||0)*F[p]}),0)},o.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=f(e/y),e%=y,this.$d.months=f(e/d),e%=d,this.$d.days=f(e/w),e%=w,this.$d.hours=f(e/Y),e%=Y,this.$d.minutes=f(e/$),e%=$,this.$d.seconds=f(e/S),e%=S,this.$d.milliseconds=e},o.toISOString=function(){var e=L(this.$d.years,"Y"),D=L(this.$d.months,"M"),p=+this.$d.days||0;this.$d.weeks&&(p+=7*this.$d.weeks);var u=L(p,"D"),b=L(this.$d.hours,"H"),k=L(this.$d.minutes,"M"),i=this.$d.seconds||0;this.$d.milliseconds&&(i+=this.$d.milliseconds/1e3,i=Math.round(1e3*i)/1e3);var r=L(i,"S"),t=e.negative||D.negative||u.negative||b.negative||k.negative||r.negative,a=b.format||k.format||r.format?"T":"",n=(t?"-":"")+"P"+e.format+D.format+u.format+a+b.format+k.format+r.format;return n==="P"||n==="-P"?"P0D":n},o.toJSON=function(){return this.toISOString()},o.format=function(e){var D=e||"YYYY-MM-DDTHH:mm:ss",p={Y:this.$d.years,YY:s.s(this.$d.years,2,"0"),YYYY:s.s(this.$d.years,4,"0"),M:this.$d.months,MM:s.s(this.$d.months,2,"0"),D:this.$d.days,DD:s.s(this.$d.days,2,"0"),H:this.$d.hours,HH:s.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:s.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:s.s(this.$d.seconds,2,"0"),SSS:s.s(this.$d.milliseconds,3,"0")};return D.replace(T,(function(u,b){return b||String(p[u])}))},o.as=function(e){return this.$ms/F[A(e)]},o.get=function(e){var D=this.$ms,p=A(e);return p==="milliseconds"?D%=1e3:D=p==="weeks"?f(D/F[p]):this.$d[p],D||0},o.add=function(e,D,p){var u;return u=D?e*F[A(D)]:B(e)?e.$ms:x(e,this).$ms,x(this.$ms+u*(p?-1:1),this)},o.subtract=function(e,D){return this.add(e,D,!0)},o.locale=function(e){var D=this.clone();return D.$l=e,D},o.clone=function(){return x(this.$ms,this)},o.humanize=function(e){return M().add(this.$ms,"ms").locale(this.$l).fromNow(!e)},o.valueOf=function(){return this.asMilliseconds()},o.milliseconds=function(){return this.get("milliseconds")},o.asMilliseconds=function(){return this.as("milliseconds")},o.seconds=function(){return this.get("seconds")},o.asSeconds=function(){return this.as("seconds")},o.minutes=function(){return this.get("minutes")},o.asMinutes=function(){return this.as("minutes")},o.hours=function(){return this.get("hours")},o.asHours=function(){return this.as("hours")},o.days=function(){return this.get("days")},o.asDays=function(){return this.as("days")},o.weeks=function(){return this.get("weeks")},o.asWeeks=function(){return this.as("weeks")},o.months=function(){return this.get("months")},o.asMonths=function(){return this.as("months")},o.years=function(){return this.get("years")},o.asYears=function(){return this.as("years")},m})(),H=function(m,o,e){return m.add(o.years()*e,"y").add(o.months()*e,"M").add(o.days()*e,"d").add(o.hours()*e,"h").add(o.minutes()*e,"m").add(o.seconds()*e,"s").add(o.milliseconds()*e,"ms")};return function(m,o,e){M=e,s=e().$utils(),e.duration=function(u,b){var k=e.locale();return x(u,{$l:k},b)},e.isDuration=B;var D=o.prototype.add,p=o.prototype.subtract;o.prototype.add=function(u,b){return B(u)?H(this,u,1):D.bind(this)(u,b)},o.prototype.subtract=function(u,b){return B(u)?H(this,u,-1):p.bind(this)(u,b)}}}))})(ut)),ut.exports}var oe=ie();const ae=W(oe);var ct={exports:{}},ue=ct.exports,gt;function ce(){return gt||(gt=1,(function(v,C){(function(M,s){v.exports=s()})(ue,(function(){var M={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},s=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,S=/\d/,$=/\d\d/,Y=/\d\d?/,w=/\d*[^-_:/,()\s\d]+/,T={},y=function(c){return(c=+c)+(c>68?1900:2e3)},d=function(c){return function(f){this[c]=+f}},_=[/[+-]\d\d:?(\d\d)?|Z/,function(c){(this.zone||(this.zone={})).offset=(function(f){if(!f||f==="Z")return 0;var O=f.match(/([+-]|\d\d)/g),L=60*O[1]+(+O[2]||0);return L===0?0:O[0]==="+"?-L:L})(c)}],F=function(c){var f=T[c];return f&&(f.indexOf?f:f.s.concat(f.f))},B=function(c,f){var O,L=T.meridiem;if(L){for(var j=1;j<=24;j+=1)if(c.indexOf(L(j,0,f))>-1){O=j>12;break}}else O=c===(f?"pm":"PM");return O},x={A:[w,function(c){this.afternoon=B(c,!1)}],a:[w,function(c){this.afternoon=B(c,!0)}],Q:[S,function(c){this.month=3*(c-1)+1}],S:[S,function(c){this.milliseconds=100*+c}],SS:[$,function(c){this.milliseconds=10*+c}],SSS:[/\d{3}/,function(c){this.milliseconds=+c}],s:[Y,d("seconds")],ss:[Y,d("seconds")],m:[Y,d("minutes")],mm:[Y,d("minutes")],H:[Y,d("hours")],h:[Y,d("hours")],HH:[Y,d("hours")],hh:[Y,d("hours")],D:[Y,d("day")],DD:[$,d("day")],Do:[w,function(c){var f=T.ordinal,O=c.match(/\d+/);if(this.day=O[0],f)for(var L=1;L<=31;L+=1)f(L).replace(/\[|\]/g,"")===c&&(this.day=L)}],w:[Y,d("week")],ww:[$,d("week")],M:[Y,d("month")],MM:[$,d("month")],MMM:[w,function(c){var f=F("months"),O=(F("monthsShort")||f.map((function(L){return L.slice(0,3)}))).indexOf(c)+1;if(O<1)throw new Error;this.month=O%12||O}],MMMM:[w,function(c){var f=F("months").indexOf(c)+1;if(f<1)throw new Error;this.month=f%12||f}],Y:[/[+-]?\d+/,d("year")],YY:[$,function(c){this.year=y(c)}],YYYY:[/\d{4}/,d("year")],Z:_,ZZ:_};function A(c){var f,O;f=c,O=T&&T.formats;for(var L=(c=f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(p,u,b){var k=b&&b.toUpperCase();return u||O[b]||M[b]||O[k].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(i,r,t){return r||t.slice(1)}))}))).match(s),j=L.length,H=0;H<j;H+=1){var m=L[H],o=x[m],e=o&&o[0],D=o&&o[1];L[H]=D?{regex:e,parser:D}:m.replace(/^\[|\]$/g,"")}return function(p){for(var u={},b=0,k=0;b<j;b+=1){var i=L[b];if(typeof i=="string")k+=i.length;else{var r=i.regex,t=i.parser,a=p.slice(k),n=r.exec(a)[0];t.call(u,n),p=p.replace(n,"")}}return(function(h){var l=h.afternoon;if(l!==void 0){var g=h.hours;l?g<12&&(h.hours+=12):g===12&&(h.hours=0),delete h.afternoon}})(u),u}}return function(c,f,O){O.p.customParseFormat=!0,c&&c.parseTwoDigitYear&&(y=c.parseTwoDigitYear);var L=f.prototype,j=L.parse;L.parse=function(H){var m=H.date,o=H.utc,e=H.args;this.$u=o;var D=e[1];if(typeof D=="string"){var p=e[2]===!0,u=e[3]===!0,b=p||u,k=e[2];u&&(k=e[2]),T=this.$locale(),!p&&k&&(T=O.Ls[k]),this.$d=(function(a,n,h,l){try{if(["x","X"].indexOf(n)>-1)return new Date((n==="X"?1e3:1)*a);var g=A(n)(a),q=g.year,E=g.month,z=g.day,P=g.hours,V=g.minutes,U=g.seconds,X=g.milliseconds,Z=g.zone,I=g.week,R=new Date,J=z||(q||E?1:R.getDate()),Q=q||R.getFullYear(),G=0;q&&!E||(G=E>0?E-1:R.getMonth());var K,ht=P||0,lt=V||0,mt=U||0,pt=X||0;return Z?new Date(Date.UTC(Q,G,J,ht,lt,mt,pt+60*Z.offset*1e3)):h?new Date(Date.UTC(Q,G,J,ht,lt,mt,pt)):(K=new Date(Q,G,J,ht,lt,mt,pt),I&&(K=l(K).week(I).toDate()),K)}catch{return new Date("")}})(m,D,o,O),this.init(),k&&k!==!0&&(this.$L=this.locale(k).$L),b&&m!=this.format(D)&&(this.$d=new Date("")),T={}}else if(D instanceof Array)for(var i=D.length,r=1;r<=i;r+=1){e[1]=D[r-1];var t=O.apply(this,e);if(t.isValid()){this.$d=t.$d,this.$L=t.$L,this.init();break}r===i&&(this.$d=new Date(""))}else j.call(this,H)}}}))})(ct)),ct.exports}var fe=ce();const de=W(fe);var ft={exports:{}},he=ft.exports,St;function le(){return St||(St=1,(function(v,C){(function(M,s){v.exports=s()})(he,(function(){return function(M,s,S){s.prototype.dayOfYear=function($){var Y=Math.round((S(this).startOf("day")-S(this).startOf("year"))/864e5)+1;return $==null?Y:this.add($-Y,"day")}}}))})(ft)),ft.exports}var me=le();const pe=W(me);var dt={exports:{}},$e=dt.exports,wt;function ve(){return wt||(wt=1,(function(v,C){(function(M,s){v.exports=s(Tt())})($e,(function(M){function s(x){return x&&typeof x=="object"&&"default"in x?x:{default:x}}var S=s(M),$="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),Y="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),w="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),T="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),y=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function d(x,A,c){var f,O;return c==="m"?A?"минута":"минуту":x+" "+(f=+x,O={mm:A?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[c].split("_"),f%10==1&&f%100!=11?O[0]:f%10>=2&&f%10<=4&&(f%100<10||f%100>=20)?O[1]:O[2])}var _=function(x,A){return y.test(A)?$[x.month()]:Y[x.month()]};_.s=Y,_.f=$;var F=function(x,A){return y.test(A)?w[x.month()]:T[x.month()]};F.s=T,F.f=w;var B={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:_,monthsShort:F,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:d,mm:d,h:"час",hh:d,d:"день",dd:d,M:"месяц",MM:d,y:"год",yy:d},ordinal:function(x){return x},meridiem:function(x){return x<4?"ночи":x<12?"утра":x<17?"дня":"вечера"}};return S.default.locale(B,null,!0),B}))})(dt)),dt.exports}ve();N.extend(Et);N.extend(It);N.extend(Zt);N.extend(Vt);N.extend(Kt);N.extend(ne);N.extend(ae);N.extend(de);N.extend(pe);N.locale("ru");const Me=v=>{const C=["b","kb","mb","gb","tb"],M=v.match(/[a-zA-Z]+/)?.[0]||"b",s=parseFloat(v.replace(M,"")),S=C.indexOf(M.toLowerCase());return s*Math.pow(1024,S)};function ye(v){if(isNaN(v)||v<0)return"0 Б";const C=["Б","КБ","МБ","ГБ","ТБ"];let M=0,s=v;for(;s>=1024&&M<C.length-1;)s=s/1024,M++;return`${s%1===0?s:s.toFixed(0)} ${C[M]}`}exports.dayjs=N;exports.formatFileSize=ye;exports.onClickOutside=kt;exports.parseFileSize=Me;