prlg-ui 1.7.81 → 1.8.1

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 +202 -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 +2908 -2223
  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
 
@@ -135,7 +135,7 @@ floating: HTMLDivElement;
135
135
  'second-screen': HTMLDivElement;
136
136
  }, HTMLDivElement>;
137
137
 
138
- 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>;
139
139
 
140
140
  declare const __VLS_component_14: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
141
141
  contentRef: HTMLDivElement;
@@ -143,13 +143,13 @@ contentRef: HTMLDivElement;
143
143
 
144
144
  declare const __VLS_component_15: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLButtonElement>;
145
145
 
146
- 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>;
147
147
 
148
- 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>;
149
149
 
150
- declare const __VLS_component_18: DefineComponent<__VLS_Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
150
+ declare const __VLS_component_18: DefineComponent<__VLS_Props_30, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
151
151
  "update:value": (value: string | number) => any;
152
- }, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{
152
+ }, string, PublicProps, Readonly<__VLS_Props_30> & Readonly<{
153
153
  "onUpdate:value"?: ((value: string | number) => any) | undefined;
154
154
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
155
155
 
@@ -214,9 +214,9 @@ updateContainerHeight: (scrollContainer?: HTMLElement) => void;
214
214
 
215
215
  declare const __VLS_component_20: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
216
216
 
217
- 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>;
218
218
 
219
- 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>;
220
220
 
221
221
  declare const __VLS_component_3: DefineComponent<ColumnProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ColumnProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
222
222
 
@@ -259,11 +259,11 @@ outlined: boolean;
259
259
  type: "error" | "info" | "warning";
260
260
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
261
261
 
262
- 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>;
263
263
 
264
- declare const __VLS_component_9: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
264
+ declare const __VLS_component_9: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
265
265
  remove: () => any;
266
- }, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{
266
+ }, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{
267
267
  onRemove?: (() => any) | undefined;
268
268
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
269
269
 
@@ -305,14 +305,18 @@ declare type __VLS_Props_14 = {
305
305
  resizable?: boolean;
306
306
  };
307
307
 
308
- 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 = {
309
313
  file: string | IFile;
310
314
  viewName?: boolean;
311
315
  outlined?: boolean;
312
316
  removable?: boolean;
313
317
  };
314
318
 
315
- declare type __VLS_Props_16 = {
319
+ declare type __VLS_Props_18 = {
316
320
  file: string | IFile_2;
317
321
  alt?: string;
318
322
  size?: 'small' | 'medium' | 'large' | 'full';
@@ -321,17 +325,19 @@ declare type __VLS_Props_16 = {
321
325
  zIndexPreview?: number;
322
326
  };
323
327
 
324
- declare type __VLS_Props_17 = {
328
+ declare type __VLS_Props_19 = {
325
329
  items: MenuItem[];
326
330
  };
327
331
 
328
- declare type __VLS_Props_18 = {
332
+ declare type __VLS_Props_2 = TableProps;
333
+
334
+ declare type __VLS_Props_20 = {
329
335
  value?: string | number;
330
336
  variant?: 'primary' | 'danger' | 'neutral';
331
337
  strong?: boolean;
332
338
  };
333
339
 
334
- declare type __VLS_Props_19 = {
340
+ declare type __VLS_Props_21 = {
335
341
  value?: number | string;
336
342
  variant?: 'danger';
337
343
  position?: 'left' | 'right';
@@ -342,9 +348,7 @@ declare type __VLS_Props_19 = {
342
348
  };
343
349
  };
344
350
 
345
- declare type __VLS_Props_2 = TableProps;
346
-
347
- declare type __VLS_Props_20 = {
351
+ declare type __VLS_Props_22 = {
348
352
  width?: number | string;
349
353
  height?: number | string;
350
354
  borderRadius?: string | number;
@@ -352,13 +356,13 @@ declare type __VLS_Props_20 = {
352
356
  size?: string;
353
357
  };
354
358
 
355
- declare type __VLS_Props_21 = {
359
+ declare type __VLS_Props_23 = {
356
360
  strokeWidth?: string | number;
357
361
  style?: CSSProperties;
358
362
  size?: 'small' | 'default' | 'large';
359
363
  };
360
364
 
361
- declare type __VLS_Props_22 = {
365
+ declare type __VLS_Props_24 = {
362
366
  removable?: boolean;
363
367
  icon?: string;
364
368
  iconPosition?: 'left' | 'right';
@@ -367,42 +371,42 @@ declare type __VLS_Props_22 = {
367
371
  strong?: boolean;
368
372
  };
369
373
 
370
- declare type __VLS_Props_23 = DrawerProps;
374
+ declare type __VLS_Props_25 = DrawerProps;
371
375
 
372
- declare type __VLS_Props_24 = {
376
+ declare type __VLS_Props_26 = {
373
377
  title?: string;
374
378
  style?: CSSProperties;
375
379
  position?: 'top' | 'center' | 'bottom';
376
380
  zIndex?: number;
377
381
  };
378
382
 
379
- declare type __VLS_Props_25 = {
383
+ declare type __VLS_Props_27 = {
380
384
  value?: string | number | (string | number)[];
381
385
  multiple?: boolean;
382
386
  styleView?: 'fill' | 'inline';
383
387
  };
384
388
 
385
- declare type __VLS_Props_26 = {
389
+ declare type __VLS_Props_28 = {
386
390
  value: string | number;
387
391
  };
388
392
 
389
- declare type __VLS_Props_27 = {
393
+ declare type __VLS_Props_29 = {
390
394
  layouts?: 'vertical' | 'horizontal';
391
395
  type?: 'solid' | 'dashed' | 'dotted';
392
396
  align?: 'left' | 'right' | 'center';
393
397
  };
394
398
 
395
- declare type __VLS_Props_28 = {
399
+ declare type __VLS_Props_3 = PaginatorProps;
400
+
401
+ declare type __VLS_Props_30 = {
396
402
  value: string | number;
397
403
  };
398
404
 
399
- declare type __VLS_Props_29 = {
405
+ declare type __VLS_Props_31 = {
400
406
  value: string | number;
401
407
  };
402
408
 
403
- declare type __VLS_Props_3 = PaginatorProps;
404
-
405
- declare type __VLS_Props_30 = {
409
+ declare type __VLS_Props_32 = {
406
410
  value: string | number;
407
411
  };
408
412
 
@@ -470,12 +474,23 @@ declare type __VLS_PublicProps_13 = {
470
474
  } & __VLS_Props_14;
471
475
 
472
476
  declare type __VLS_PublicProps_14 = {
473
- 'open'?: boolean;
474
- } & __VLS_Props_23;
477
+ modelValue?: ICalendarResultValue;
478
+ } & __VLS_Props_15;
475
479
 
476
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 = {
477
492
  'open': boolean;
478
- } & __VLS_Props_24;
493
+ } & __VLS_Props_26;
479
494
 
480
495
  declare type __VLS_PublicProps_2 = {
481
496
  'currentPage': number;
@@ -954,9 +969,9 @@ export declare const AccordionHeader: __VLS_WithTemplateSlots_15<typeof __VLS_co
954
969
 
955
970
  export declare const AccordionPanel: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
956
971
 
957
- 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>;
958
973
 
959
- 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>;
960
975
 
961
976
  export declare const Button: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
962
977
 
@@ -974,6 +989,12 @@ declare type ButtonProps = {
974
989
  full?: boolean;
975
990
  };
976
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
+
977
998
  export declare const Checkbox: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
978
999
 
979
1000
  export declare const ChipCheckbox: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -1093,6 +1114,36 @@ declare type DataItem = Record<string, any>;
1093
1114
 
1094
1115
  export declare const DataTable: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
1095
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
+ position: "start" | "end";
1140
+ format: string;
1141
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
1142
+ datePickerRef: HTMLDivElement;
1143
+ inputRef: HTMLDivElement;
1144
+ popoverRef: HTMLDivElement;
1145
+ }, HTMLDivElement>;
1146
+
1096
1147
  export declare const Divider: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
1097
1148
 
1098
1149
  export declare const Drawer: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
@@ -1120,15 +1171,118 @@ declare interface DropdownProps {
1120
1171
  loading?: boolean;
1121
1172
  }
1122
1173
 
1123
- declare const File_2: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1174
+ declare const File_2: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1124
1175
  remove: (file: IFile) => any;
1125
- }, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{
1176
+ }, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
1126
1177
  onRemove?: ((file: IFile) => any) | undefined;
1127
1178
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1128
1179
  export { File_2 as File }
1129
1180
 
1181
+ declare interface ICalendarProps {
1182
+ /**
1183
+ * Тип календаря.
1184
+ * - day - выбор дня, месяца и года
1185
+ * - month - выбор месяца и года
1186
+ * - year - выбор года
1187
+ *
1188
+ * @default 'day'
1189
+ * */
1190
+ type?: ICalendarType;
1191
+ /**
1192
+ * Формат даты по умолчанию mm/dd/yy который может быть настроен с помощью свойства dateFormat. Следующие параметры могут быть частью формата.
1193
+ *
1194
+ * - d - день месяца (без ведущего нуля)
1195
+ * - dd - день месяца (две цифры)
1196
+ * - o - день года (без ведущих нулей)
1197
+ * - oo - день года (три цифры)
1198
+ * - D - короткое название дня
1199
+ * - DD - полное название дня
1200
+ * - m - месяц года (без ведущего нуля)
1201
+ * - mm - месяц года (две цифры)
1202
+ * - M - короткое название месяца
1203
+ * - MM - полное название месяца
1204
+ * - y - год (две цифры)
1205
+ * - yy - год (четыре цифры)
1206
+ * - @ - Unix timestamp (мс с 01/01/1970)
1207
+ * - ! - Windows ticks (100нс с 01/01/0001)
1208
+ * - '...' - буквальный текст
1209
+ * - '' - одинарная кавычка
1210
+ * - любые другие символы - буквальный текст
1211
+ *
1212
+ * @default 'mm/dd/yy'
1213
+ */
1214
+ format?: string;
1215
+ /**
1216
+ * - Включает режим выбора диапазона дат.
1217
+ * - При включении пользователь может выбрать начальную и конечную дату.
1218
+ *
1219
+ * @default false
1220
+ */
1221
+ range?: boolean;
1222
+ /**
1223
+ * Минимальная дата, которую можно выбрать в календаре.
1224
+ * Даты до указанной будут недоступны для выбора.
1225
+ */
1226
+ minDate?: Date | null;
1227
+ /**
1228
+ * Максимальная дата, которую можно выбрать в календаре.
1229
+ * Даты после указанной будут недоступны для выбора.
1230
+ */
1231
+ maxDate?: Date | null;
1232
+ }
1233
+
1234
+ declare type ICalendarResult = {
1235
+ to: string;
1236
+ from: string;
1237
+ };
1238
+
1239
+ declare type ICalendarResultValue = string | ICalendarResult | null;
1240
+
1241
+ declare type ICalendarType = 'month' | 'year' | 'day';
1242
+
1130
1243
  export declare const IconField: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
1131
1244
 
1245
+ declare interface IDatePickerProps extends ICalendarProps {
1246
+ /**
1247
+ * Текст для незаполненного input
1248
+ * */
1249
+ placeholder?: string;
1250
+ /**
1251
+ * Состояние включения/отключениея кнопки очистить input
1252
+ * */
1253
+ allowClear?: boolean;
1254
+ /**
1255
+ * Имя поля для формы
1256
+ * */
1257
+ name?: string;
1258
+ /**
1259
+ * Название поля
1260
+ * */
1261
+ label?: string;
1262
+ /**
1263
+ * Состояние неактивности поля
1264
+ * */
1265
+ disabled?: boolean;
1266
+ /**
1267
+ * Состояние ошибки
1268
+ * */
1269
+ error?: boolean;
1270
+ /**
1271
+ * Текст ошибки
1272
+ * */
1273
+ errorText?: string;
1274
+ /**
1275
+ * Состояние - обязательно поле для заполнения или нет
1276
+ * */
1277
+ required?: boolean;
1278
+ /**
1279
+ * Позиция календаря относительно поля ввода
1280
+ *
1281
+ * @default 'start'
1282
+ */
1283
+ position?: 'start' | 'end';
1284
+ }
1285
+
1132
1286
  declare interface IFile {
1133
1287
  id: string;
1134
1288
  url: string;
@@ -1145,7 +1299,7 @@ declare interface IFile_2 {
1145
1299
  size: number | null;
1146
1300
  }
1147
1301
 
1148
- declare const Image_2: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
1302
+ declare const Image_2: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
1149
1303
  imageFullModal: CreateComponentPublicInstanceWithMixins<Readonly<{
1150
1304
  src: string;
1151
1305
  alt?: string;
@@ -1195,11 +1349,13 @@ export declare const InputPhone: DefineComponent<__VLS_PublicProps_8, {}, {}, {}
1195
1349
  export declare const InputText: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1196
1350
  "update:modelValue": (value: string) => any;
1197
1351
  } & {
1352
+ clear: () => any;
1198
1353
  input: (value: Event) => any;
1199
1354
  blur: () => any;
1200
1355
  focus: (value: FocusEvent) => any;
1201
1356
  paste: (value: ClipboardEvent) => any;
1202
1357
  }, string, PublicProps, Readonly<__VLS_PublicProps_6> & Readonly<{
1358
+ onClear?: (() => any) | undefined;
1203
1359
  onInput?: ((value: Event) => any) | undefined;
1204
1360
  onBlur?: (() => any) | undefined;
1205
1361
  onFocus?: ((value: FocusEvent) => any) | undefined;
@@ -1221,6 +1377,8 @@ declare type InputTextProps = {
1221
1377
  variant?: 'empty' | 'outlined' | 'fill';
1222
1378
  value?: string;
1223
1379
  required?: boolean;
1380
+ full?: boolean;
1381
+ readonly?: boolean;
1224
1382
  };
1225
1383
 
1226
1384
  declare type MenuItem = {
@@ -1307,7 +1465,7 @@ declare type SelectButtonProps = {
1307
1465
 
1308
1466
  declare type SelectedMode = 'multiple' | 'single';
1309
1467
 
1310
- export declare const Skeleton: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1468
+ export declare const Skeleton: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1311
1469
 
1312
1470
  export declare const SleedDeal: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
1313
1471
  menuRef: HTMLDivElement;
@@ -1368,7 +1526,7 @@ default?(_: {}): any;
1368
1526
  }) | null;
1369
1527
  }, HTMLDivElement>;
1370
1528
 
1371
- export declare const Spinner: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1529
+ export declare const Spinner: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1372
1530
 
1373
1531
  export declare const StarRating: DefineComponent<__VLS_PublicProps_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1374
1532
  "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;