sprintify-ui 0.10.87 → 0.11.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 (116) hide show
  1. package/dist/{BaseCkeditor-Laq0HbvP.js → BaseCkeditor-Dcqohrsz.js} +14 -14
  2. package/dist/sprintify-ui.es.js +12480 -12553
  3. package/dist/style.css +2 -2
  4. package/dist/types/components/BaseActionItem.vue.d.ts +11 -5
  5. package/dist/types/components/BaseAddressForm.vue.d.ts +1 -1
  6. package/dist/types/components/BaseAlert.vue.d.ts +3 -21
  7. package/dist/types/components/BaseApp.vue.d.ts +2 -9
  8. package/dist/types/components/BaseAutocomplete.vue.d.ts +19 -643
  9. package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +21 -104
  10. package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +26 -1045
  11. package/dist/types/components/BaseAvatarGroup.vue.d.ts +1 -1
  12. package/dist/types/components/BaseBadge.vue.d.ts +3 -20
  13. package/dist/types/components/BaseBelongsTo.vue.d.ts +19 -1022
  14. package/dist/types/components/BaseBelongsToFetch.vue.d.ts +10 -745
  15. package/dist/types/components/BaseButton.vue.d.ts +6 -77
  16. package/dist/types/components/BaseButtonGroup.vue.d.ts +3 -159
  17. package/dist/types/components/BaseCard.vue.d.ts +2 -23
  18. package/dist/types/components/BaseCardRow.vue.d.ts +2 -16
  19. package/dist/types/components/BaseCkeditor.vue.d.ts +1 -1
  20. package/dist/types/components/BaseClipboard.vue.d.ts +2 -42
  21. package/dist/types/components/BaseCollapse.vue.d.ts +2 -26
  22. package/dist/types/components/BaseContainer.vue.d.ts +2 -12
  23. package/dist/types/components/BaseCounter.vue.d.ts +1 -1
  24. package/dist/types/components/BaseCropper.vue.d.ts +3 -35
  25. package/dist/types/components/BaseDataIterator.vue.d.ts +18 -11
  26. package/dist/types/components/BaseDataIteratorSectionBox.vue.d.ts +2 -10
  27. package/dist/types/components/BaseDataIteratorSectionModal.vue.d.ts +2 -16
  28. package/dist/types/components/BaseDataTable.vue.d.ts +54 -2141
  29. package/dist/types/components/BaseDataTableTemplate.vue.d.ts +2 -584
  30. package/dist/types/components/BaseDatePicker.vue.d.ts +2 -2
  31. package/dist/types/components/BaseDescriptionList.vue.d.ts +2 -7
  32. package/dist/types/components/BaseDescriptionListItem.vue.d.ts +2 -9
  33. package/dist/types/components/BaseDialog.vue.d.ts +3 -110
  34. package/dist/types/components/BaseDisplayRelativeTime.vue.d.ts +2 -51
  35. package/dist/types/components/BaseDraggable.vue.d.ts +2 -18
  36. package/dist/types/components/BaseDropdown.vue.d.ts +2 -147
  37. package/dist/types/components/BaseDropdownAutocomplete.vue.d.ts +3 -124
  38. package/dist/types/components/BaseField.vue.d.ts +3 -99
  39. package/dist/types/components/BaseFilePicker.vue.d.ts +2 -28
  40. package/dist/types/components/BaseFilePickerCrop.vue.d.ts +2 -80
  41. package/dist/types/components/BaseFileUploader.vue.d.ts +3 -173
  42. package/dist/types/components/BaseForm.vue.d.ts +3 -150
  43. package/dist/types/components/BaseGantt.vue.d.ts +40 -1141
  44. package/dist/types/components/BaseHasMany.vue.d.ts +18 -577
  45. package/dist/types/components/BaseHasManyFetch.vue.d.ts +3 -589
  46. package/dist/types/components/BaseInput.vue.d.ts +3 -3
  47. package/dist/types/components/BaseInputError.vue.d.ts +2 -19
  48. package/dist/types/components/BaseInputPercent.vue.d.ts +1 -1
  49. package/dist/types/components/BaseLayoutSidebar.vue.d.ts +2 -112
  50. package/dist/types/components/BaseLayoutSidebarConfigurable.vue.d.ts +2 -113
  51. package/dist/types/components/BaseLayoutStacked.vue.d.ts +2 -52
  52. package/dist/types/components/BaseLayoutStackedConfigurable.vue.d.ts +2 -117
  53. package/dist/types/components/BaseLazy.vue.d.ts +2 -13
  54. package/dist/types/components/BaseMediaGallery.vue.d.ts +3 -3
  55. package/dist/types/components/BaseMediaGalleryItem.vue.d.ts +1 -1
  56. package/dist/types/components/BaseMediaLibrary.vue.d.ts +3 -207
  57. package/dist/types/components/BaseMediaList.vue.d.ts +3 -3
  58. package/dist/types/components/BaseMediaListItem.vue.d.ts +1 -1
  59. package/dist/types/components/BaseMediaPictures.vue.d.ts +3 -3
  60. package/dist/types/components/BaseMediaPicturesItem.vue.d.ts +1 -1
  61. package/dist/types/components/BaseMenu.vue.d.ts +2 -209
  62. package/dist/types/components/BaseMenuItem.vue.d.ts +1 -1
  63. package/dist/types/components/BaseModalCenter.vue.d.ts +2 -83
  64. package/dist/types/components/BaseModalSide.vue.d.ts +2 -80
  65. package/dist/types/components/BaseNavbar.vue.d.ts +2 -83
  66. package/dist/types/components/BasePassword.vue.d.ts +1 -1
  67. package/dist/types/components/BaseRadioGroup.vue.d.ts +2 -107
  68. package/dist/types/components/BaseReadMore.vue.d.ts +2 -28
  69. package/dist/types/components/BaseRichText.vue.d.ts +1 -1
  70. package/dist/types/components/BaseSelect.vue.d.ts +4 -148
  71. package/dist/types/components/BaseShortcut.vue.d.ts +1 -1
  72. package/dist/types/components/BaseSideNavigation.vue.d.ts +2 -7
  73. package/dist/types/components/BaseSideNavigationItem.vue.d.ts +3 -19
  74. package/dist/types/components/BaseSkeleton.vue.d.ts +1 -1
  75. package/dist/types/components/BaseSwitch.vue.d.ts +3 -120
  76. package/dist/types/components/BaseSystemAlert.vue.d.ts +3 -55
  77. package/dist/types/components/BaseTabItem.vue.d.ts +4 -27
  78. package/dist/types/components/BaseTable.vue.d.ts +3 -24
  79. package/dist/types/components/BaseTableBody.vue.d.ts +2 -4
  80. package/dist/types/components/BaseTableCell.vue.d.ts +6 -36
  81. package/dist/types/components/BaseTableColumn.vue.d.ts +4 -4
  82. package/dist/types/components/BaseTableHead.vue.d.ts +2 -9
  83. package/dist/types/components/BaseTableHeader.vue.d.ts +4 -40
  84. package/dist/types/components/BaseTableRow.vue.d.ts +4 -38
  85. package/dist/types/components/BaseTabs.vue.d.ts +2 -16
  86. package/dist/types/components/BaseTagAutocomplete.vue.d.ts +25 -571
  87. package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +3 -796
  88. package/dist/types/components/BaseTextarea.vue.d.ts +1 -1
  89. package/dist/types/components/BaseTextareaAutoresize.vue.d.ts +1 -1
  90. package/dist/types/components/BaseTimePicker.vue.d.ts +1 -1
  91. package/dist/types/components/BaseTooltip.vue.d.ts +2 -35
  92. package/dist/types/services/gantt/types.d.ts +18 -8
  93. package/package.json +6 -9
  94. package/src/changelog.mdx +1 -1
  95. package/src/components/BaseAssign.mdx +1 -1
  96. package/src/components/BaseAutocomplete.stories.js +10 -0
  97. package/src/components/BaseAutocomplete.vue +11 -1
  98. package/src/components/BaseAutocompleteDrawer.vue +52 -1
  99. package/src/components/BaseAutocompleteFetch.stories.js +6 -0
  100. package/src/components/BaseAutocompleteFetch.vue +15 -0
  101. package/src/components/BaseBelongsTo.stories.js +5 -0
  102. package/src/components/BaseBelongsTo.vue +10 -0
  103. package/src/components/BaseBelongsToFetch.stories.js +6 -0
  104. package/src/components/BaseBelongsToFetch.vue +9 -0
  105. package/src/components/BaseForm.mdx +1 -1
  106. package/src/components/BaseGantt.mdx +79 -0
  107. package/src/components/BaseGantt.stories.js +25 -10
  108. package/src/components/BaseGantt.vue +192 -58
  109. package/src/components/BaseHasMany.stories.js +5 -0
  110. package/src/components/BaseHasMany.vue +10 -0
  111. package/src/components/BaseHasManyFetch.stories.js +12 -0
  112. package/src/components/BaseTagAutocomplete.stories.js +5 -0
  113. package/src/components/BaseTagAutocomplete.vue +34 -1
  114. package/src/components/BaseTagAutocompleteFetch.stories.js +6 -0
  115. package/src/services/gantt/format.ts +30 -7
  116. package/src/services/gantt/types.ts +18 -8
@@ -1,6 +1,5 @@
1
1
  import { ClassNameValue } from 'tailwind-merge';
2
2
  import { RouteLocationRaw } from 'vue-router';
3
- import { BaseIcon } from '.';
4
3
  import { Size } from '@/utils/sizes';
5
4
  import { SizeBehavior } from '@/utils/sizeBehaviors';
6
5
  declare const colors: {
@@ -39,83 +38,13 @@ type __VLS_Props = {
39
38
  to?: RouteLocationRaw;
40
39
  tooltip?: string | null | undefined;
41
40
  };
42
- declare const asInternal: import("vue").ComputedRef<string>;
43
- declare const classes: import("vue").ComputedRef<string>;
44
- declare const styles: import("vue").ComputedRef<{
45
- backgroundColor: string;
46
- color: string;
47
- borderColor: string;
48
- borderWidth: string;
49
- borderStyle: string;
50
- } | {
51
- backgroundColor?: undefined;
52
- color?: undefined;
53
- borderColor?: undefined;
54
- borderWidth?: undefined;
55
- borderStyle?: undefined;
56
- }>;
57
- declare const containerClass: import("vue").ComputedRef<string[]>;
58
- declare const iconClass: import("vue").ComputedRef<string[]>;
59
- declare const buttonRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
60
41
  declare function focus(): void;
61
- declare const tooltipRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
62
- declare const floatingStyles: Readonly<import("vue").Ref<{
63
- position: import("@floating-ui/utils").Strategy;
64
- top: string;
65
- left: string;
66
- transform?: string;
67
- willChange?: string;
68
- }, {
69
- position: import("@floating-ui/utils").Strategy;
70
- top: string;
71
- left: string;
72
- transform?: string;
73
- willChange?: string;
74
- }>>, showTooltip: import("vue").Ref<boolean, boolean>;
75
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
76
42
  declare var __VLS_18: {}, __VLS_32: {};
77
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
43
+ type __VLS_Slots = {} & {
78
44
  default?: (props: typeof __VLS_18) => any;
79
45
  } & {
80
46
  tooltip?: (props: typeof __VLS_32) => any;
81
- }>;
82
- declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
83
- BaseIcon: typeof BaseIcon;
84
- asInternal: typeof asInternal;
85
- classes: typeof classes;
86
- styles: typeof styles;
87
- containerClass: typeof containerClass;
88
- iconClass: typeof iconClass;
89
- buttonRef: typeof buttonRef;
90
- tooltipRef: typeof tooltipRef;
91
- floatingStyles: typeof floatingStyles;
92
- showTooltip: typeof showTooltip;
93
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
94
- click: (...args: any[]) => void;
95
- mouseenter: (...args: any[]) => void;
96
- mouseleave: (...args: any[]) => void;
97
- mouseover: (...args: any[]) => void;
98
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
99
- onClick?: ((...args: any[]) => any) | undefined;
100
- onMouseenter?: ((...args: any[]) => any) | undefined;
101
- onMouseleave?: ((...args: any[]) => any) | undefined;
102
- onMouseover?: ((...args: any[]) => any) | undefined;
103
- }>, {
104
- class: string | false | 0 | 0n | ClassNameValue[] | null;
105
- to: RouteLocationRaw;
106
- type: "button" | "submit" | "reset";
107
- href: string;
108
- size: Size;
109
- icon: string;
110
- color: keyof typeof colors | string;
111
- disabled: boolean;
112
- as: string;
113
- tooltip: string | null;
114
- loading: boolean;
115
- iconPosition: "start" | "end";
116
- sizeBehavior: SizeBehavior;
117
- align: "center" | "between";
118
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
47
+ };
119
48
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
120
49
  focus: typeof focus;
121
50
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -130,19 +59,19 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
130
59
  onMouseover?: ((...args: any[]) => any) | undefined;
131
60
  }>, {
132
61
  class: string | false | 0 | 0n | ClassNameValue[] | null;
133
- to: RouteLocationRaw;
134
- type: "button" | "submit" | "reset";
135
62
  href: string;
63
+ type: "button" | "submit" | "reset";
64
+ color: keyof typeof colors | string;
65
+ to: RouteLocationRaw;
136
66
  size: Size;
137
67
  icon: string;
138
- color: keyof typeof colors | string;
139
68
  disabled: boolean;
140
69
  as: string;
141
- tooltip: string | null;
142
70
  loading: boolean;
143
71
  iconPosition: "start" | "end";
144
72
  sizeBehavior: SizeBehavior;
145
73
  align: "center" | "between";
74
+ tooltip: string | null;
146
75
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
147
76
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
148
77
  export default _default;
@@ -1,170 +1,14 @@
1
- import { PropType, computed } from 'vue';
1
+ import { PropType } from 'vue';
2
2
  import { NormalizedOption, RawOption } from '@/types';
3
- import BaseButton from '@/components/BaseButton.vue';
4
3
  import { Size } from '@/utils/sizes';
5
- declare const sizeInternal: import("vue").ComputedRef<"xs" | "sm" | "md" | "lg" | "xl">;
6
- declare const normalizedOptions: import("vue").ComputedRef<NormalizedOption[]>, isSelected: (option: NormalizedOption) => boolean;
7
- declare function onSelect(option: NormalizedOption): void;
8
- declare const wrapperClasses: import("vue").ComputedRef<string>;
9
- declare const buttonClasses: import("vue").ComputedRef<string>;
10
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
11
4
  declare var __VLS_8: {
12
5
  selected: import("vue").ComputedRef<boolean>;
13
6
  option: NormalizedOption;
14
7
  disabled: boolean;
15
8
  };
16
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
9
+ type __VLS_Slots = {} & {
17
10
  option?: (props: typeof __VLS_8) => any;
18
- }>;
19
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
20
- modelValue: {
21
- default: undefined;
22
- type: PropType<RawOption[] | RawOption | null | undefined>;
23
- };
24
- class: {
25
- default: string;
26
- type: PropType<string | string[]>;
27
- };
28
- required: {
29
- default: undefined;
30
- type: BooleanConstructor;
31
- };
32
- disabled: {
33
- default: boolean;
34
- type: BooleanConstructor;
35
- };
36
- size: {
37
- default: undefined;
38
- type: PropType<Size>;
39
- };
40
- buttonType: {
41
- default: string;
42
- type: PropType<"button" | "submit">;
43
- };
44
- buttonColor: {
45
- default(option: RawOption, selected: boolean): "primary" | "";
46
- type: PropType<(option: RawOption, selected: boolean) => string>;
47
- };
48
- twButton: {
49
- default: string;
50
- type: PropType<string | string[]>;
51
- };
52
- spacing: {
53
- default: string;
54
- type: PropType<"none" | "default">;
55
- };
56
- options: {
57
- required: true;
58
- type: PropType<RawOption[]>;
59
- };
60
- labelKey: {
61
- required: true;
62
- type: StringConstructor;
63
- };
64
- valueKey: {
65
- required: true;
66
- type: StringConstructor;
67
- };
68
- multiple: {
69
- default: boolean;
70
- type: BooleanConstructor;
71
- };
72
- name: {
73
- default: undefined;
74
- type: StringConstructor;
75
- };
76
- hasError: {
77
- default: boolean;
78
- type: BooleanConstructor;
79
- };
80
- }>, {
81
- computed: typeof computed;
82
- BaseButton: typeof BaseButton;
83
- sizeInternal: typeof sizeInternal;
84
- normalizedOptions: typeof normalizedOptions;
85
- isSelected: typeof isSelected;
86
- onSelect: typeof onSelect;
87
- wrapperClasses: typeof wrapperClasses;
88
- buttonClasses: typeof buttonClasses;
89
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
90
- "update:modelValue": (...args: any[]) => void;
91
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
92
- modelValue: {
93
- default: undefined;
94
- type: PropType<RawOption[] | RawOption | null | undefined>;
95
- };
96
- class: {
97
- default: string;
98
- type: PropType<string | string[]>;
99
- };
100
- required: {
101
- default: undefined;
102
- type: BooleanConstructor;
103
- };
104
- disabled: {
105
- default: boolean;
106
- type: BooleanConstructor;
107
- };
108
- size: {
109
- default: undefined;
110
- type: PropType<Size>;
111
- };
112
- buttonType: {
113
- default: string;
114
- type: PropType<"button" | "submit">;
115
- };
116
- buttonColor: {
117
- default(option: RawOption, selected: boolean): "primary" | "";
118
- type: PropType<(option: RawOption, selected: boolean) => string>;
119
- };
120
- twButton: {
121
- default: string;
122
- type: PropType<string | string[]>;
123
- };
124
- spacing: {
125
- default: string;
126
- type: PropType<"none" | "default">;
127
- };
128
- options: {
129
- required: true;
130
- type: PropType<RawOption[]>;
131
- };
132
- labelKey: {
133
- required: true;
134
- type: StringConstructor;
135
- };
136
- valueKey: {
137
- required: true;
138
- type: StringConstructor;
139
- };
140
- multiple: {
141
- default: boolean;
142
- type: BooleanConstructor;
143
- };
144
- name: {
145
- default: undefined;
146
- type: StringConstructor;
147
- };
148
- hasError: {
149
- default: boolean;
150
- type: BooleanConstructor;
151
- };
152
- }>> & Readonly<{
153
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
154
- }>, {
155
- class: string | string[];
156
- size: "xs" | "sm" | "md" | "lg" | "xl";
157
- required: boolean;
158
- disabled: boolean;
159
- twButton: string | string[];
160
- name: string;
161
- modelValue: RawOption | RawOption[] | null | undefined;
162
- hasError: boolean;
163
- spacing: "default" | "none";
164
- buttonType: "submit" | "button";
165
- buttonColor: (option: RawOption, selected: boolean) => string;
166
- multiple: boolean;
167
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
+ };
168
12
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
169
13
  modelValue: {
170
14
  default: undefined;
@@ -1,28 +1,7 @@
1
- declare const windowWidth: import("vue").Ref<number, number>;
2
- declare const width: import("vue").Ref<number, number>;
3
- declare const card: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
4
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
5
1
  declare var __VLS_1: {};
6
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
2
+ type __VLS_Slots = {} & {
7
3
  default?: (props: typeof __VLS_1) => any;
8
- }>;
9
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
10
- clipped: {
11
- default: boolean;
12
- type: BooleanConstructor;
13
- };
14
- }>, {
15
- windowWidth: typeof windowWidth;
16
- width: typeof width;
17
- card: typeof card;
18
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
- clipped: {
20
- default: boolean;
21
- type: BooleanConstructor;
22
- };
23
- }>> & Readonly<{}>, {
24
- clipped: boolean;
25
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4
+ };
26
5
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
27
6
  clipped: {
28
7
  default: boolean;
@@ -1,26 +1,12 @@
1
1
  import { ClassNameValue } from 'tailwind-merge';
2
- declare const onClick: (event: MouseEvent) => void;
3
2
  type __VLS_Props = {
4
3
  size?: 'xs' | 'sm' | 'base' | 'lg';
5
4
  class?: ClassNameValue;
6
5
  };
7
- declare const classes: import("vue").ComputedRef<string>;
8
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
9
6
  declare var __VLS_1: {};
10
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
7
+ type __VLS_Slots = {} & {
11
8
  default?: (props: typeof __VLS_1) => any;
12
- }>;
13
- declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
14
- onClick: typeof onClick;
15
- classes: typeof classes;
16
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
- click: (...args: any[]) => void;
18
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
19
- onClick?: ((...args: any[]) => any) | undefined;
20
- }>, {
21
- class: string | false | 0 | 0n | ClassNameValue[] | null;
22
- size: "xs" | "sm" | "base" | "lg";
23
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ };
24
10
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
11
  click: (...args: any[]) => void;
26
12
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
@@ -23,9 +23,9 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {
23
23
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
24
24
  onReady?: ((...args: any[]) => any) | undefined;
25
25
  }>, {
26
+ placeholder: string;
26
27
  size: Size;
27
28
  disabled: boolean;
28
- placeholder: string;
29
29
  toolbar: ToolbarOption[] | string[];
30
30
  editor: "classic" | "inline" | "balloon";
31
31
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,47 +1,7 @@
1
- import { t } from '@/i18n';
2
- declare const showCopied: import("vue").Ref<boolean, boolean>;
3
- declare const buttonRef: import("vue").Ref<any, any>;
4
- declare const floatingRef: import("vue").Ref<any, any>;
5
- declare const showTooltip: import("vue").Ref<boolean, boolean>, floatingStyles: Readonly<import("vue").Ref<{
6
- position: import("@floating-ui/utils").Strategy;
7
- top: string;
8
- left: string;
9
- transform?: string;
10
- willChange?: string;
11
- }, {
12
- position: import("@floating-ui/utils").Strategy;
13
- top: string;
14
- left: string;
15
- transform?: string;
16
- willChange?: string;
17
- }>>;
18
- declare function copyText(): void;
19
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
20
1
  declare var __VLS_1: {};
21
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
2
+ type __VLS_Slots = {} & {
22
3
  default?: (props: typeof __VLS_1) => any;
23
- }>;
24
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
25
- value: {
26
- default: null;
27
- type: StringConstructor;
28
- };
29
- }>, {
30
- t: typeof t;
31
- showCopied: typeof showCopied;
32
- buttonRef: typeof buttonRef;
33
- floatingRef: typeof floatingRef;
34
- showTooltip: typeof showTooltip;
35
- floatingStyles: typeof floatingStyles;
36
- copyText: typeof copyText;
37
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
38
- value: {
39
- default: null;
40
- type: StringConstructor;
41
- };
42
- }>> & Readonly<{}>, {
43
- value: string;
44
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4
+ };
45
5
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
46
6
  value: {
47
7
  default: null;
@@ -1,7 +1,3 @@
1
- declare const internalIconClass: import("vue").ComputedRef<string>;
2
- declare const headerClass: import("vue").ComputedRef<string>;
3
- declare const internalContentClass: import("vue").ComputedRef<string>;
4
- declare const internalTitleClass: import("vue").ComputedRef<string>;
5
1
  declare function toggle(): void;
6
2
  type __VLS_Props = {
7
3
  defaultOpen?: boolean;
@@ -14,8 +10,6 @@ type __VLS_Props = {
14
10
  twTitle?: string | string[] | null;
15
11
  twContent?: string | string[] | null;
16
12
  };
17
- declare const isOpen: import("vue").Ref<boolean, boolean>;
18
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
19
13
  declare var __VLS_1: {
20
14
  open: boolean;
21
15
  toggle: typeof toggle;
@@ -24,31 +18,13 @@ declare var __VLS_1: {
24
18
  }, __VLS_13: {
25
19
  open: boolean;
26
20
  };
27
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
21
+ type __VLS_Slots = {} & {
28
22
  header?: (props: typeof __VLS_1) => any;
29
23
  } & {
30
24
  title?: (props: typeof __VLS_7) => any;
31
25
  } & {
32
26
  content?: (props: typeof __VLS_13) => any;
33
- }>;
34
- declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
35
- internalIconClass: typeof internalIconClass;
36
- headerClass: typeof headerClass;
37
- internalContentClass: typeof internalContentClass;
38
- internalTitleClass: typeof internalTitleClass;
39
- toggle: typeof toggle;
40
- isOpen: typeof isOpen;
41
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
42
- icon: string;
43
- iconPosition: "left" | "right";
44
- defaultOpen: boolean;
45
- isOpenIconClass: string;
46
- isCloseIconClass: string;
47
- twIcon: string | string[] | null;
48
- twHeader: string | string[] | null;
49
- twTitle: string | string[] | null;
50
- twContent: string | string[] | null;
51
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
+ };
52
28
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
53
29
  icon: string;
54
30
  iconPosition: "left" | "right";
@@ -8,20 +8,10 @@ type __VLS_Props = {
8
8
  paddinglessMobile?: boolean;
9
9
  fluid?: boolean;
10
10
  };
11
- declare const classInternal: import("vue").ComputedRef<string>;
12
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
13
11
  declare var __VLS_1: {};
14
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
12
+ type __VLS_Slots = {} & {
15
13
  default?: (props: typeof __VLS_1) => any;
16
- }>;
17
- declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
18
- classInternal: typeof classInternal;
19
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
20
- class: string | string[];
21
- size: Size;
22
- paddinglessMobile: boolean;
23
- fluid: boolean;
24
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ };
25
15
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
26
16
  class: string | string[];
27
17
  size: Size;
@@ -35,8 +35,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
35
35
  type: PropType<ActionColors>;
36
36
  };
37
37
  }>> & Readonly<{}>, {
38
- size: "xs" | "sm" | "md";
39
38
  color: ActionColors;
39
+ size: "xs" | "sm" | "md";
40
40
  maxDigit: number;
41
41
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
42
42
  export default _default;
@@ -1,8 +1,5 @@
1
- import { Ref } from 'vue';
2
- import Croppie, { ResultOptions } from 'croppie';
1
+ import { ResultOptions } from 'croppie';
3
2
  import { CropperConfig } from '../types';
4
- import { BaseIcon, BaseLoadingCover } from '.';
5
- import { t } from '@/i18n';
6
3
  type __VLS_Props = {
7
4
  source: string;
8
5
  config?: CropperConfig;
@@ -11,24 +8,10 @@ type __VLS_Props = {
11
8
  disabled?: boolean;
12
9
  saveOptions?: ResultOptions;
13
10
  };
14
- declare const ZOOMER_HEIGHT = 44;
15
- declare const container: Ref<HTMLElement | null>;
16
- declare const croppie: Ref<HTMLElement | null>;
17
- declare const initializing: Ref<boolean, boolean>;
18
- declare const saving: Ref<boolean, boolean>;
19
- declare const showDragHelp: Ref<boolean, boolean>;
20
- declare const cropperConfiguration: import("vue").ComputedRef<Croppie.CroppieOptions>;
21
11
  declare function save(result?: ResultOptions): Promise<HTMLCanvasElement | string | Blob | null>;
22
12
  declare function resetViewPort(): void;
23
13
  declare function rotateLeft(): void;
24
14
  declare function rotateRight(): void;
25
- declare const shared: {
26
- save: typeof save;
27
- resetViewPort: typeof resetViewPort;
28
- rotateLeft: typeof rotateLeft;
29
- rotateRight: typeof rotateRight;
30
- };
31
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
32
15
  declare var __VLS_1: {
33
16
  save: typeof save;
34
17
  resetViewPort: typeof resetViewPort;
@@ -44,26 +27,11 @@ declare var __VLS_1: {
44
27
  saving: boolean;
45
28
  initializing: boolean;
46
29
  };
47
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
30
+ type __VLS_Slots = {} & {
48
31
  header?: (props: typeof __VLS_1) => any;
49
32
  } & {
50
33
  footer?: (props: typeof __VLS_19) => any;
51
- }>;
52
- declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
53
- BaseIcon: typeof BaseIcon;
54
- BaseLoadingCover: typeof BaseLoadingCover;
55
- t: typeof t;
56
- ZOOMER_HEIGHT: typeof ZOOMER_HEIGHT;
57
- container: typeof container;
58
- croppie: typeof croppie;
59
- initializing: typeof initializing;
60
- saving: typeof saving;
61
- showDragHelp: typeof showDragHelp;
62
- cropperConfiguration: typeof cropperConfiguration;
63
- rotateLeft: typeof rotateLeft;
64
- rotateRight: typeof rotateRight;
65
- shared: typeof shared;
66
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
+ };
67
35
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
68
36
  save: typeof save;
69
37
  resetViewPort: typeof resetViewPort;
@@ -240,10 +240,10 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
240
240
  onFetch?: ((...args: any[]) => any) | undefined;
241
241
  }>, {
242
242
  search: (items: Collection, search: string | null) => Collection;
243
+ url: string | undefined;
243
244
  size: "xs" | "sm" | "md" | "lg" | "xl";
244
245
  items: Collection | undefined;
245
246
  actions: ActionItem[];
246
- url: string | undefined;
247
247
  urlQuery: Record<string, any>;
248
248
  defaultQuery: DataTableQuery;
249
249
  searchable: boolean;
@@ -254,7 +254,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
254
254
  filtersPosition: "section" | "top";
255
255
  perPage: number;
256
256
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
257
- [x: string]: (((props: {
257
+ [x: string]: ((props: {
258
258
  query: {
259
259
  [x: string]: any;
260
260
  page?: number | undefined;
@@ -265,7 +265,9 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
265
265
  updateQuery: (newQuery: DataTableQuery) => void;
266
266
  updateQueryValue: (key: string | DataTableQuery, value?: any) => void;
267
267
  updateQueryValueDebounce: import("lodash").DebouncedFunc<(key: string, value: any) => void>;
268
- }) => any) & ((props: {
268
+ }) => any) | undefined;
269
+ } & {
270
+ [x: string]: ((props: {
269
271
  query: {
270
272
  [x: string]: any;
271
273
  page?: number | undefined;
@@ -276,7 +278,9 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
276
278
  updateQuery: (newQuery: DataTableQuery) => void;
277
279
  updateQueryValue: (key: string | DataTableQuery, value?: any) => void;
278
280
  updateQueryValueDebounce: import("lodash").DebouncedFunc<(key: string, value: any) => void>;
279
- }) => any) & ((props: {
281
+ }) => any) | undefined;
282
+ } & {
283
+ [x: string]: ((props: {
280
284
  query: {
281
285
  [x: string]: any;
282
286
  page?: number | undefined;
@@ -287,8 +291,9 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
287
291
  updateQuery: (newQuery: DataTableQuery) => void;
288
292
  updateQueryValue: (key: string | DataTableQuery, value?: any) => void;
289
293
  updateQueryValueDebounce: import("lodash").DebouncedFunc<(key: string, value: any) => void>;
290
- }) => any)) | undefined;
291
- default?: ((props: {
294
+ }) => any) | undefined;
295
+ } & {
296
+ default?: (props: {
292
297
  data: import("@/types").CollectionItem[] | {
293
298
  meta: {
294
299
  current_page: number;
@@ -313,13 +318,15 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
313
318
  sortDirection: Direction;
314
319
  onSortChange: (field: string, direction: Direction) => void;
315
320
  onPageChange: (p: number) => void;
316
- }) => any) | undefined;
317
- sidebarTop?: ((props: {
321
+ }) => any;
322
+ } & {
323
+ sidebarTop?: (props: {
318
324
  paginationMetadata: import("@/types").PaginationMetadata | null;
319
- }) => any) | undefined;
320
- sidebarBottom?: ((props: {
325
+ }) => any;
326
+ } & {
327
+ sidebarBottom?: (props: {
321
328
  paginationMetadata: import("@/types").PaginationMetadata | null;
322
- }) => any) | undefined;
329
+ }) => any;
323
330
  }>;
324
331
  export default _default;
325
332
  type __VLS_WithSlots<T, S> = T & {
@@ -1,19 +1,11 @@
1
1
  import { DataIteratorSection } from '@/types';
2
- import { BaseCard, BaseIcon } from '.';
3
2
  type __VLS_Props = {
4
3
  section: DataIteratorSection;
5
4
  };
6
- declare const active: import("vue").Ref<boolean, boolean>;
7
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
8
5
  declare var __VLS_10: {};
9
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
6
+ type __VLS_Slots = {} & {
10
7
  default?: (props: typeof __VLS_10) => any;
11
- }>;
12
- declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
13
- BaseCard: typeof BaseCard;
14
- BaseIcon: typeof BaseIcon;
15
- active: typeof active;
16
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ };
17
9
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
10
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
11
  export default _default;