sprintify-ui 0.10.11 → 0.10.13

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 (59) hide show
  1. package/dist/sprintify-ui.es.js +15479 -15452
  2. package/dist/types/components/BaseActionButtons.vue.d.ts +13 -0
  3. package/dist/types/components/BaseAlert.vue.d.ts +1 -1
  4. package/dist/types/components/BaseAssign.vue.d.ts +2 -2
  5. package/dist/types/components/BaseAutocomplete.vue.d.ts +8 -8
  6. package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +18 -18
  7. package/dist/types/components/BaseBadge.vue.d.ts +2 -2
  8. package/dist/types/components/BaseBelongsTo.vue.d.ts +18 -18
  9. package/dist/types/components/BaseBelongsToFetch.vue.d.ts +11 -11
  10. package/dist/types/components/BaseButton.vue.d.ts +2 -2
  11. package/dist/types/components/BaseButtonGroup.vue.d.ts +3 -3
  12. package/dist/types/components/BaseColor.vue.d.ts +2 -2
  13. package/dist/types/components/BaseCounter.vue.d.ts +1 -1
  14. package/dist/types/components/BaseDataIterator.vue.d.ts +2 -2
  15. package/dist/types/components/BaseDataTable.vue.d.ts +18 -14
  16. package/dist/types/components/BaseDatePicker.vue.d.ts +3 -3
  17. package/dist/types/components/BaseDateSelect.vue.d.ts +2 -2
  18. package/dist/types/components/BaseDialog.vue.d.ts +9 -9
  19. package/dist/types/components/BaseDropdownAutocomplete.vue.d.ts +2 -2
  20. package/dist/types/components/BaseField.vue.d.ts +2 -2
  21. package/dist/types/components/BaseFieldI18n.vue.d.ts +1 -1
  22. package/dist/types/components/BaseFileUploader.vue.d.ts +1 -1
  23. package/dist/types/components/BaseHasMany.vue.d.ts +18 -18
  24. package/dist/types/components/BaseHasManyFetch.vue.d.ts +7 -7
  25. package/dist/types/components/BaseHeader.vue.d.ts +4 -1
  26. package/dist/types/components/BaseInput.vue.d.ts +2 -2
  27. package/dist/types/components/BaseInputPercent.vue.d.ts +2 -2
  28. package/dist/types/components/BaseLoadingCover.vue.d.ts +1 -1
  29. package/dist/types/components/BaseMediaLibrary.vue.d.ts +1 -1
  30. package/dist/types/components/BaseMenu.vue.d.ts +2 -2
  31. package/dist/types/components/BaseMenuItem.vue.d.ts +4 -4
  32. package/dist/types/components/BaseNavbarItemContent.vue.d.ts +1 -1
  33. package/dist/types/components/BaseNavbarSideItemContent.vue.d.ts +1 -1
  34. package/dist/types/components/BasePanel.vue.d.ts +1 -1
  35. package/dist/types/components/BasePassword.vue.d.ts +2 -2
  36. package/dist/types/components/BaseRadioGroup.vue.d.ts +2 -2
  37. package/dist/types/components/BaseRichText.vue.d.ts +2 -2
  38. package/dist/types/components/BaseSelect.vue.d.ts +2 -2
  39. package/dist/types/components/BaseSwitch.vue.d.ts +3 -3
  40. package/dist/types/components/BaseTableColumn.vue.d.ts +3 -3
  41. package/dist/types/components/BaseTagAutocomplete.vue.d.ts +4 -4
  42. package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +17 -17
  43. package/dist/types/components/BaseTextarea.vue.d.ts +2 -2
  44. package/dist/types/components/BaseTextareaAutoresize.vue.d.ts +2 -2
  45. package/dist/types/components/BaseTimePicker.vue.d.ts +2 -2
  46. package/dist/types/components/BaseTooltip.vue.d.ts +8 -0
  47. package/dist/types/components/index.d.ts +2 -1
  48. package/dist/types/composables/tooltip.d.ts +1 -1
  49. package/package.json +1 -1
  50. package/src/components/BaseActionButtons.vue +77 -0
  51. package/src/components/BaseDataTable.stories.js +26 -2
  52. package/src/components/BaseDataTable.vue +6 -21
  53. package/src/components/BaseHeader.stories.js +3 -0
  54. package/src/components/BaseHeader.vue +24 -78
  55. package/src/components/BaseNavbarSideItem.vue +15 -13
  56. package/src/components/BaseTable.vue +2 -2
  57. package/src/components/BaseTooltip.vue +10 -2
  58. package/src/components/index.ts +2 -0
  59. package/src/composables/tooltip.ts +22 -10
@@ -0,0 +1,13 @@
1
+ import { ActionItem } from '@/types';
2
+ interface PropsInterface {
3
+ actions: ActionItem[];
4
+ maxActions?: number;
5
+ compact?: boolean;
6
+ variant?: 'buttons' | 'button-group';
7
+ }
8
+ declare const _default: import("vue").DefineComponent<PropsInterface, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PropsInterface> & Readonly<{}>, {
9
+ maxActions: number;
10
+ compact: boolean;
11
+ variant: "buttons" | "button-group";
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
13
+ export default _default;
@@ -18,8 +18,8 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
18
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
19
  class: string | string[];
20
20
  title: string;
21
- color: "info" | "success" | "danger" | "warning" | string;
22
21
  icon: string;
22
+ color: "info" | "success" | "danger" | "warning" | string;
23
23
  showIcon: boolean;
24
24
  bordered: boolean;
25
25
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -171,10 +171,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
171
171
  }>> & Readonly<{
172
172
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
173
173
  }>, {
174
- name: string;
175
174
  disabled: boolean;
176
- modelValue: string[] | null | undefined;
175
+ name: string;
177
176
  filters: Filter[];
177
+ modelValue: string[] | null | undefined;
178
178
  primaryKey: string;
179
179
  filterKey: string | string[];
180
180
  selectors: Selector[];
@@ -149,9 +149,9 @@ declare function __VLS_template(): {
149
149
  mask: import("maska").MaskType;
150
150
  step: number | null | undefined;
151
151
  size: "xs" | "sm" | "md" | "lg" | "xl";
152
- name: string | null | undefined;
153
- disabled: boolean;
154
152
  required: boolean;
153
+ disabled: boolean;
154
+ name: string | null | undefined;
155
155
  modelValue: string | number | null;
156
156
  autocomplete: boolean;
157
157
  preventSubmit: boolean;
@@ -278,9 +278,9 @@ declare function __VLS_template(): {
278
278
  mask: import("maska").MaskType;
279
279
  step: number | null | undefined;
280
280
  size: "xs" | "sm" | "md" | "lg" | "xl";
281
- name: string | null | undefined;
282
- disabled: boolean;
283
281
  required: boolean;
282
+ disabled: boolean;
283
+ name: string | null | undefined;
284
284
  modelValue: string | number | null;
285
285
  autocomplete: boolean;
286
286
  preventSubmit: boolean;
@@ -564,11 +564,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
564
564
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
565
565
  close: (...args: any[]) => void;
566
566
  select: (...args: any[]) => void;
567
+ open: (...args: any[]) => void;
567
568
  clear: (...args: any[]) => void;
568
569
  "update:modelValue": (...args: any[]) => void;
569
570
  scrollBottom: (...args: any[]) => void;
570
571
  typing: (...args: any[]) => void;
571
- open: (...args: any[]) => void;
572
572
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
573
573
  modelValue: {
574
574
  default: undefined;
@@ -671,19 +671,19 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
671
671
  }>> & Readonly<{
672
672
  onClose?: ((...args: any[]) => any) | undefined;
673
673
  onSelect?: ((...args: any[]) => any) | undefined;
674
+ onOpen?: ((...args: any[]) => any) | undefined;
674
675
  onClear?: ((...args: any[]) => any) | undefined;
675
676
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
676
677
  onScrollBottom?: ((...args: any[]) => any) | undefined;
677
678
  onTyping?: ((...args: any[]) => any) | undefined;
678
- onOpen?: ((...args: any[]) => any) | undefined;
679
679
  }>, {
680
680
  filter: (option: NormalizedOption) => boolean;
681
681
  select: SelectConfiguration | undefined;
682
682
  size: "xs" | "sm" | "md" | "lg" | "xl";
683
- name: string;
684
- disabled: boolean;
685
683
  required: boolean;
686
684
  inline: boolean;
685
+ disabled: boolean;
686
+ name: string;
687
687
  modelValue: RawOption | null | undefined;
688
688
  placeholder: string;
689
689
  hasError: boolean;
@@ -39,10 +39,10 @@ declare function __VLS_template(): {
39
39
  filter: (option: import("@/types").NormalizedOption) => boolean;
40
40
  select: SelectConfiguration | undefined;
41
41
  size: "xs" | "sm" | "md" | "lg" | "xl";
42
- name: string;
43
- disabled: boolean;
44
42
  required: boolean;
45
43
  inline: boolean;
44
+ disabled: boolean;
45
+ name: string;
46
46
  modelValue: RawOption | null | undefined;
47
47
  placeholder: string;
48
48
  hasError: boolean;
@@ -58,9 +58,9 @@ declare function __VLS_template(): {
58
58
  twInput: string | string[];
59
59
  twSelect: string | string[];
60
60
  }> & Omit<{
61
- readonly options: RawOption[];
62
- readonly disabled: boolean;
63
61
  readonly inline: boolean;
62
+ readonly disabled: boolean;
63
+ readonly options: RawOption[];
64
64
  readonly hasError: boolean;
65
65
  readonly visibleFocus: boolean;
66
66
  readonly labelKey: string;
@@ -76,20 +76,20 @@ declare function __VLS_template(): {
76
76
  readonly filter?: ((option: import("@/types").NormalizedOption) => boolean) | undefined;
77
77
  readonly select?: SelectConfiguration | undefined;
78
78
  readonly size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
79
- readonly name?: string | undefined;
80
79
  readonly required?: boolean | undefined;
80
+ readonly name?: string | undefined;
81
81
  readonly modelValue?: RawOption | null | undefined;
82
82
  readonly placeholder?: string | undefined;
83
83
  readonly twInput?: string | string[] | undefined;
84
84
  readonly twSelect?: string | string[] | undefined;
85
85
  readonly onClose?: ((...args: any[]) => any) | undefined;
86
86
  readonly onSelect?: ((...args: any[]) => any) | undefined;
87
+ readonly onOpen?: ((...args: any[]) => any) | undefined;
87
88
  readonly onClear?: ((...args: any[]) => any) | undefined;
88
89
  readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
89
90
  readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
90
91
  readonly onTyping?: ((...args: any[]) => any) | undefined;
91
- readonly onOpen?: ((...args: any[]) => any) | undefined;
92
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "filter" | "select" | "size" | "name" | "disabled" | "required" | "inline" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect">;
92
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "filter" | "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect">;
93
93
  $attrs: {
94
94
  [x: string]: unknown;
95
95
  };
@@ -102,7 +102,7 @@ declare function __VLS_template(): {
102
102
  $root: import("vue").ComponentPublicInstance | null;
103
103
  $parent: import("vue").ComponentPublicInstance | null;
104
104
  $host: Element | null;
105
- $emit: ((event: "close", ...args: any[]) => void) & ((event: "select", ...args: any[]) => void) & ((event: "clear", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void) & ((event: "typing", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void);
105
+ $emit: ((event: "close", ...args: any[]) => void) & ((event: "select", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "clear", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void) & ((event: "typing", ...args: any[]) => void);
106
106
  $el: HTMLDivElement;
107
107
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
108
108
  modelValue: {
@@ -204,11 +204,11 @@ declare function __VLS_template(): {
204
204
  }>> & Readonly<{
205
205
  onClose?: ((...args: any[]) => any) | undefined;
206
206
  onSelect?: ((...args: any[]) => any) | undefined;
207
+ onOpen?: ((...args: any[]) => any) | undefined;
207
208
  onClear?: ((...args: any[]) => any) | undefined;
208
209
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
209
210
  onScrollBottom?: ((...args: any[]) => any) | undefined;
210
211
  onTyping?: ((...args: any[]) => any) | undefined;
211
- onOpen?: ((...args: any[]) => any) | undefined;
212
212
  }>, {
213
213
  focus: () => void;
214
214
  blur: () => void;
@@ -218,19 +218,19 @@ declare function __VLS_template(): {
218
218
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
219
219
  close: (...args: any[]) => void;
220
220
  select: (...args: any[]) => void;
221
+ open: (...args: any[]) => void;
221
222
  clear: (...args: any[]) => void;
222
223
  "update:modelValue": (...args: any[]) => void;
223
224
  scrollBottom: (...args: any[]) => void;
224
225
  typing: (...args: any[]) => void;
225
- open: (...args: any[]) => void;
226
226
  }, string, {
227
227
  filter: (option: import("@/types").NormalizedOption) => boolean;
228
228
  select: SelectConfiguration | undefined;
229
229
  size: "xs" | "sm" | "md" | "lg" | "xl";
230
- name: string;
231
- disabled: boolean;
232
230
  required: boolean;
233
231
  inline: boolean;
232
+ disabled: boolean;
233
+ name: string;
234
234
  modelValue: RawOption | null | undefined;
235
235
  placeholder: string;
236
236
  hasError: boolean;
@@ -269,10 +269,10 @@ declare function __VLS_template(): {
269
269
  filter: (option: import("@/types").NormalizedOption) => boolean;
270
270
  select: SelectConfiguration | undefined;
271
271
  size: "xs" | "sm" | "md" | "lg" | "xl";
272
- name: string;
273
- disabled: boolean;
274
272
  required: boolean;
275
273
  inline: boolean;
274
+ disabled: boolean;
275
+ name: string;
276
276
  modelValue: RawOption | null | undefined;
277
277
  placeholder: string;
278
278
  hasError: boolean;
@@ -387,12 +387,12 @@ declare function __VLS_template(): {
387
387
  }>> & Readonly<{
388
388
  onClose?: ((...args: any[]) => any) | undefined;
389
389
  onSelect?: ((...args: any[]) => any) | undefined;
390
+ onOpen?: ((...args: any[]) => any) | undefined;
390
391
  onClear?: ((...args: any[]) => any) | undefined;
391
392
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
392
393
  onScrollBottom?: ((...args: any[]) => any) | undefined;
393
394
  onTyping?: ((...args: any[]) => any) | undefined;
394
- onOpen?: ((...args: any[]) => any) | undefined;
395
- }>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("filter" | "select" | "size" | "name" | "disabled" | "required" | "inline" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect")> & import("vue").ShallowUnwrapRef<{
395
+ }>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("filter" | "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect")> & import("vue").ShallowUnwrapRef<{
396
396
  focus: () => void;
397
397
  blur: () => void;
398
398
  close: () => void;
@@ -622,10 +622,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
622
622
  }>, {
623
623
  select: SelectConfiguration | undefined;
624
624
  size: "xs" | "sm" | "md" | "lg" | "xl";
625
- name: string;
626
- disabled: boolean;
627
625
  required: boolean;
628
626
  inline: boolean;
627
+ disabled: boolean;
628
+ name: string;
629
629
  modelValue: RawOption | null | undefined;
630
630
  placeholder: string;
631
631
  hasError: boolean;
@@ -19,9 +19,9 @@ declare function __VLS_template(): {
19
19
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
20
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
21
21
  class: string | string[];
22
- color: string;
23
- icon: string;
24
22
  size: Size;
23
+ icon: string;
24
+ color: string;
25
25
  contrast: "low" | "high";
26
26
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
27
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -38,10 +38,10 @@ declare function __VLS_template(): {
38
38
  filter: (option: import("@/types").NormalizedOption) => boolean;
39
39
  select: SelectConfiguration | undefined;
40
40
  size: "xs" | "sm" | "md" | "lg" | "xl";
41
- name: string;
42
- disabled: boolean;
43
41
  required: boolean;
44
42
  inline: boolean;
43
+ disabled: boolean;
44
+ name: string;
45
45
  modelValue: RawOption | null | undefined;
46
46
  placeholder: string;
47
47
  hasError: boolean;
@@ -57,9 +57,9 @@ declare function __VLS_template(): {
57
57
  twInput: string | string[];
58
58
  twSelect: string | string[];
59
59
  }> & Omit<{
60
- readonly options: RawOption[];
61
- readonly disabled: boolean;
62
60
  readonly inline: boolean;
61
+ readonly disabled: boolean;
62
+ readonly options: RawOption[];
63
63
  readonly hasError: boolean;
64
64
  readonly visibleFocus: boolean;
65
65
  readonly labelKey: string;
@@ -75,20 +75,20 @@ declare function __VLS_template(): {
75
75
  readonly filter?: ((option: import("@/types").NormalizedOption) => boolean) | undefined;
76
76
  readonly select?: SelectConfiguration | undefined;
77
77
  readonly size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
78
- readonly name?: string | undefined;
79
78
  readonly required?: boolean | undefined;
79
+ readonly name?: string | undefined;
80
80
  readonly modelValue?: RawOption | null | undefined;
81
81
  readonly placeholder?: string | undefined;
82
82
  readonly twInput?: string | string[] | undefined;
83
83
  readonly twSelect?: string | string[] | undefined;
84
84
  readonly onClose?: ((...args: any[]) => any) | undefined;
85
85
  readonly onSelect?: ((...args: any[]) => any) | undefined;
86
+ readonly onOpen?: ((...args: any[]) => any) | undefined;
86
87
  readonly onClear?: ((...args: any[]) => any) | undefined;
87
88
  readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
88
89
  readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
89
90
  readonly onTyping?: ((...args: any[]) => any) | undefined;
90
- readonly onOpen?: ((...args: any[]) => any) | undefined;
91
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "filter" | "select" | "size" | "name" | "disabled" | "required" | "inline" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect">;
91
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "filter" | "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect">;
92
92
  $attrs: {
93
93
  [x: string]: unknown;
94
94
  };
@@ -101,7 +101,7 @@ declare function __VLS_template(): {
101
101
  $root: import("vue").ComponentPublicInstance | null;
102
102
  $parent: import("vue").ComponentPublicInstance | null;
103
103
  $host: Element | null;
104
- $emit: ((event: "close", ...args: any[]) => void) & ((event: "select", ...args: any[]) => void) & ((event: "clear", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void) & ((event: "typing", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void);
104
+ $emit: ((event: "close", ...args: any[]) => void) & ((event: "select", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "clear", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void) & ((event: "typing", ...args: any[]) => void);
105
105
  $el: HTMLDivElement;
106
106
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
107
107
  modelValue: {
@@ -203,11 +203,11 @@ declare function __VLS_template(): {
203
203
  }>> & Readonly<{
204
204
  onClose?: ((...args: any[]) => any) | undefined;
205
205
  onSelect?: ((...args: any[]) => any) | undefined;
206
+ onOpen?: ((...args: any[]) => any) | undefined;
206
207
  onClear?: ((...args: any[]) => any) | undefined;
207
208
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
208
209
  onScrollBottom?: ((...args: any[]) => any) | undefined;
209
210
  onTyping?: ((...args: any[]) => any) | undefined;
210
- onOpen?: ((...args: any[]) => any) | undefined;
211
211
  }>, {
212
212
  focus: () => void;
213
213
  blur: () => void;
@@ -217,19 +217,19 @@ declare function __VLS_template(): {
217
217
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
218
218
  close: (...args: any[]) => void;
219
219
  select: (...args: any[]) => void;
220
+ open: (...args: any[]) => void;
220
221
  clear: (...args: any[]) => void;
221
222
  "update:modelValue": (...args: any[]) => void;
222
223
  scrollBottom: (...args: any[]) => void;
223
224
  typing: (...args: any[]) => void;
224
- open: (...args: any[]) => void;
225
225
  }, string, {
226
226
  filter: (option: import("@/types").NormalizedOption) => boolean;
227
227
  select: SelectConfiguration | undefined;
228
228
  size: "xs" | "sm" | "md" | "lg" | "xl";
229
- name: string;
230
- disabled: boolean;
231
229
  required: boolean;
232
230
  inline: boolean;
231
+ disabled: boolean;
232
+ name: string;
233
233
  modelValue: RawOption | null | undefined;
234
234
  placeholder: string;
235
235
  hasError: boolean;
@@ -268,10 +268,10 @@ declare function __VLS_template(): {
268
268
  filter: (option: import("@/types").NormalizedOption) => boolean;
269
269
  select: SelectConfiguration | undefined;
270
270
  size: "xs" | "sm" | "md" | "lg" | "xl";
271
- name: string;
272
- disabled: boolean;
273
271
  required: boolean;
274
272
  inline: boolean;
273
+ disabled: boolean;
274
+ name: string;
275
275
  modelValue: RawOption | null | undefined;
276
276
  placeholder: string;
277
277
  hasError: boolean;
@@ -386,12 +386,12 @@ declare function __VLS_template(): {
386
386
  }>> & Readonly<{
387
387
  onClose?: ((...args: any[]) => any) | undefined;
388
388
  onSelect?: ((...args: any[]) => any) | undefined;
389
+ onOpen?: ((...args: any[]) => any) | undefined;
389
390
  onClear?: ((...args: any[]) => any) | undefined;
390
391
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
391
392
  onScrollBottom?: ((...args: any[]) => any) | undefined;
392
393
  onTyping?: ((...args: any[]) => any) | undefined;
393
- onOpen?: ((...args: any[]) => any) | undefined;
394
- }>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("filter" | "select" | "size" | "name" | "disabled" | "required" | "inline" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect")> & import("vue").ShallowUnwrapRef<{
394
+ }>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("filter" | "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect")> & import("vue").ShallowUnwrapRef<{
395
395
  focus: () => void;
396
396
  blur: () => void;
397
397
  close: () => void;
@@ -597,10 +597,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
597
597
  }>, {
598
598
  select: SelectConfiguration | undefined;
599
599
  size: "xs" | "sm" | "md" | "lg" | "xl";
600
- name: string;
601
- disabled: boolean;
602
600
  required: boolean;
603
601
  inline: boolean;
602
+ disabled: boolean;
603
+ name: string;
604
604
  modelValue: string | number | null | undefined;
605
605
  placeholder: string;
606
606
  hasError: boolean;
@@ -60,10 +60,10 @@ declare function __VLS_template(): {
60
60
  $props: Partial<{
61
61
  select: SelectConfiguration | undefined;
62
62
  size: "xs" | "sm" | "md" | "lg" | "xl";
63
- name: string;
64
- disabled: boolean;
65
63
  required: boolean;
66
64
  inline: boolean;
65
+ disabled: boolean;
66
+ name: string;
67
67
  modelValue: RawOption | null | undefined;
68
68
  placeholder: string;
69
69
  hasError: boolean;
@@ -77,9 +77,9 @@ declare function __VLS_template(): {
77
77
  twInput: string | string[];
78
78
  queryKey: string;
79
79
  }> & Omit<{
80
- readonly disabled: boolean;
81
80
  readonly required: boolean;
82
81
  readonly inline: boolean;
82
+ readonly disabled: boolean;
83
83
  readonly hasError: boolean;
84
84
  readonly visibleFocus: boolean;
85
85
  readonly url: string;
@@ -103,7 +103,7 @@ declare function __VLS_template(): {
103
103
  readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
104
104
  readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
105
105
  readonly onTyping?: ((...args: any[]) => any) | undefined;
106
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "select" | "size" | "name" | "disabled" | "required" | "inline" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "queryKey">;
106
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "queryKey">;
107
107
  $attrs: {
108
108
  [x: string]: unknown;
109
109
  };
@@ -224,10 +224,10 @@ declare function __VLS_template(): {
224
224
  }, string, {
225
225
  select: SelectConfiguration | undefined;
226
226
  size: "xs" | "sm" | "md" | "lg" | "xl";
227
- name: string;
228
- disabled: boolean;
229
227
  required: boolean;
230
228
  inline: boolean;
229
+ disabled: boolean;
230
+ name: string;
231
231
  modelValue: RawOption | null | undefined;
232
232
  placeholder: string;
233
233
  hasError: boolean;
@@ -263,10 +263,10 @@ declare function __VLS_template(): {
263
263
  } & Readonly<{
264
264
  select: SelectConfiguration | undefined;
265
265
  size: "xs" | "sm" | "md" | "lg" | "xl";
266
- name: string;
267
- disabled: boolean;
268
266
  required: boolean;
269
267
  inline: boolean;
268
+ disabled: boolean;
269
+ name: string;
270
270
  modelValue: RawOption | null | undefined;
271
271
  placeholder: string;
272
272
  hasError: boolean;
@@ -370,7 +370,7 @@ declare function __VLS_template(): {
370
370
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
371
371
  onScrollBottom?: ((...args: any[]) => any) | undefined;
372
372
  onTyping?: ((...args: any[]) => any) | undefined;
373
- }>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("select" | "size" | "name" | "disabled" | "required" | "inline" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "queryKey")> & import("vue").ShallowUnwrapRef<{
373
+ }>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "queryKey")> & import("vue").ShallowUnwrapRef<{
374
374
  focus: () => void | undefined;
375
375
  blur: () => void | undefined;
376
376
  open: () => void | undefined;
@@ -423,10 +423,10 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
423
423
  }>, {
424
424
  select: SelectConfiguration;
425
425
  size: Size;
426
- name: string;
427
- disabled: boolean;
428
426
  required: boolean;
429
427
  inline: boolean;
428
+ disabled: boolean;
429
+ name: string;
430
430
  modelValue: string | number | null;
431
431
  placeholder: string;
432
432
  hasError: boolean;
@@ -66,9 +66,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
66
66
  to: RouteLocationRaw;
67
67
  type: "button" | "submit" | "reset";
68
68
  href: string;
69
- color: keyof typeof colors | string;
70
- icon: string;
71
69
  size: Size;
70
+ icon: string;
71
+ color: keyof typeof colors | string;
72
72
  disabled: boolean;
73
73
  as: string;
74
74
  loading: boolean;
@@ -143,15 +143,15 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
143
143
  }>, {
144
144
  class: string | string[];
145
145
  size: "xs" | "sm" | "md" | "lg" | "xl";
146
- name: string;
147
- disabled: boolean;
148
146
  required: boolean;
147
+ disabled: boolean;
148
+ twButton: string | string[];
149
+ name: string;
149
150
  modelValue: RawOption | RawOption[] | null | undefined;
150
151
  hasError: boolean;
151
152
  spacing: "default" | "none";
152
153
  buttonType: "submit" | "button";
153
154
  buttonColor: (option: RawOption, selected: boolean) => string;
154
- twButton: string | string[];
155
155
  multiple: boolean;
156
156
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
157
157
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -89,9 +89,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
89
89
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
90
90
  }>, {
91
91
  size: "xs" | "sm" | "md" | "lg" | "xl";
92
- name: string;
93
- disabled: boolean;
94
92
  required: boolean;
93
+ disabled: boolean;
94
+ name: string;
95
95
  modelValue: string | string[] | null | undefined;
96
96
  hasError: boolean;
97
97
  buttonType: "submit" | "button";
@@ -35,8 +35,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
35
35
  type: PropType<ActionColors>;
36
36
  };
37
37
  }>> & Readonly<{}>, {
38
- color: ActionColors;
39
38
  size: "xs" | "sm" | "md";
39
+ color: ActionColors;
40
40
  maxDigit: number;
41
41
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
42
42
  export default _default;
@@ -241,9 +241,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
241
241
  }>, {
242
242
  search: (items: Collection, search: string | null) => Collection;
243
243
  size: "xs" | "sm" | "md" | "lg" | "xl";
244
- url: string | undefined;
245
- actions: ActionItem[];
246
244
  items: Collection | undefined;
245
+ actions: ActionItem[];
246
+ url: string | undefined;
247
247
  urlQuery: Record<string, any>;
248
248
  defaultQuery: DataTableQuery;
249
249
  searchable: boolean;
@@ -57,9 +57,9 @@ declare function __VLS_template(): {
57
57
  $props: Partial<{
58
58
  search: (items: Collection, search: string | null) => Collection;
59
59
  size: "xs" | "sm" | "md" | "lg" | "xl";
60
- url: string | undefined;
61
- actions: ActionItem[];
62
60
  items: Collection | undefined;
61
+ actions: ActionItem[];
62
+ url: string | undefined;
63
63
  urlQuery: Record<string, any>;
64
64
  defaultQuery: DataTableQuery;
65
65
  searchable: boolean;
@@ -78,9 +78,9 @@ declare function __VLS_template(): {
78
78
  readonly scrollTopOnFetch: boolean;
79
79
  readonly filtersPosition: "section" | "top";
80
80
  readonly search?: ((items: Collection, search: string | null) => Collection) | undefined;
81
- readonly url?: string | undefined;
82
- readonly actions?: ActionItem[] | undefined;
83
81
  readonly items?: Collection | undefined;
82
+ readonly actions?: ActionItem[] | undefined;
83
+ readonly url?: string | undefined;
84
84
  readonly urlQuery?: Record<string, any> | undefined;
85
85
  readonly sections?: DataIteratorSection[] | undefined;
86
86
  readonly perPage?: number | undefined;
@@ -92,7 +92,7 @@ declare function __VLS_template(): {
92
92
  readonly "onUpdate:query"?: ((...args: any[]) => any) | undefined;
93
93
  readonly "onWill-scroll-top"?: ((...args: any[]) => any) | undefined;
94
94
  readonly onFetch?: ((...args: any[]) => any) | undefined;
95
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "size" | "url" | "actions" | "items" | "urlQuery" | "defaultQuery" | "searchable" | "historyMode" | "layout" | "sections" | "scrollTopOnFetch" | "filtersPosition" | "perPage">;
95
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "size" | "items" | "actions" | "url" | "urlQuery" | "defaultQuery" | "searchable" | "historyMode" | "layout" | "sections" | "scrollTopOnFetch" | "filtersPosition" | "perPage">;
96
96
  $attrs: {
97
97
  [x: string]: unknown;
98
98
  };
@@ -198,9 +198,9 @@ declare function __VLS_template(): {
198
198
  }, string, {
199
199
  search: (items: Collection, search: string | null) => Collection;
200
200
  size: "xs" | "sm" | "md" | "lg" | "xl";
201
- url: string | undefined;
202
- actions: ActionItem[];
203
201
  items: Collection | undefined;
202
+ actions: ActionItem[];
203
+ url: string | undefined;
204
204
  urlQuery: Record<string, any>;
205
205
  defaultQuery: DataTableQuery;
206
206
  searchable: boolean;
@@ -229,13 +229,15 @@ declare function __VLS_template(): {
229
229
  };
230
230
  $forceUpdate: () => void;
231
231
  $nextTick: typeof import("vue").nextTick;
232
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
232
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (... /**
233
+ * Check is a given row is checkable
234
+ */args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
233
235
  } & Readonly<{
234
236
  search: (items: Collection, search: string | null) => Collection;
235
237
  size: "xs" | "sm" | "md" | "lg" | "xl";
236
- url: string | undefined;
237
- actions: ActionItem[];
238
238
  items: Collection | undefined;
239
+ actions: ActionItem[];
240
+ url: string | undefined;
239
241
  urlQuery: Record<string, any>;
240
242
  defaultQuery: DataTableQuery;
241
243
  searchable: boolean;
@@ -311,7 +313,7 @@ declare function __VLS_template(): {
311
313
  "onUpdate:query"?: ((...args: any[]) => any) | undefined;
312
314
  "onWill-scroll-top"?: ((...args: any[]) => any) | undefined;
313
315
  onFetch?: ((...args: any[]) => any) | undefined;
314
- }>, "data" | "fetch" | "query" | "fetchWithLoading" | "fetchWithoutLoading" | "scrollIntoView" | ("search" | "size" | "url" | "actions" | "items" | "urlQuery" | "defaultQuery" | "searchable" | "historyMode" | "layout" | "sections" | "scrollTopOnFetch" | "filtersPosition" | "perPage")> & import("vue").ShallowUnwrapRef<{
316
+ }>, "data" | "fetch" | "query" | "fetchWithLoading" | "fetchWithoutLoading" | "scrollIntoView" | ("search" | "size" | "items" | "actions" | "url" | "urlQuery" | "defaultQuery" | "searchable" | "historyMode" | "layout" | "sections" | "scrollTopOnFetch" | "filtersPosition" | "perPage")> & import("vue").ShallowUnwrapRef<{
315
317
  fetch: () => void;
316
318
  fetchWithLoading: () => void;
317
319
  fetchWithoutLoading: () => void;
@@ -615,7 +617,9 @@ declare function __VLS_template(): {
615
617
  };
616
618
  $forceUpdate: () => void;
617
619
  $nextTick: typeof import("vue").nextTick;
618
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
620
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (... /**
621
+ * Check is a given row is checkable
622
+ */args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
619
623
  } & Readonly<{
620
624
  data: import("@/types").Row[];
621
625
  size: "xs" | "sm" | "md" | "lg" | "xl";
@@ -1267,9 +1271,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
1267
1271
  onFetch?: ((...args: any[]) => any) | undefined;
1268
1272
  }>, {
1269
1273
  size: "xs" | "sm" | "md" | "lg" | "xl";
1270
- url: string | undefined;
1271
- actions: ActionItem[];
1272
1274
  items: CollectionItem[] | undefined;
1275
+ actions: ActionItem[];
1276
+ url: string | undefined;
1273
1277
  urlQuery: Record<string, any>;
1274
1278
  defaultQuery: DataTableQuery;
1275
1279
  searchable: boolean;