sprintify-ui 0.10.88 → 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 (103) hide show
  1. package/dist/{BaseCkeditor-Laq0HbvP.js → BaseCkeditor-Dcqohrsz.js} +14 -14
  2. package/dist/sprintify-ui.es.js +12566 -12743
  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 +4 -712
  9. package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +2 -125
  10. package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +12 -1115
  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 +4 -1091
  14. package/dist/types/components/BaseBelongsToFetch.vue.d.ts +6 -795
  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 +3 -598
  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 +4 -636
  87. package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +3 -844
  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/BaseAutocompleteFetch.vue +5 -0
  97. package/src/components/BaseBelongsToFetch.vue +3 -0
  98. package/src/components/BaseForm.mdx +1 -1
  99. package/src/components/BaseGantt.mdx +79 -0
  100. package/src/components/BaseGantt.stories.js +25 -10
  101. package/src/components/BaseGantt.vue +192 -58
  102. package/src/services/gantt/format.ts +30 -7
  103. package/src/services/gantt/types.ts +18 -8
@@ -1,116 +1,9 @@
1
1
  import { PropType } from 'vue';
2
- import { Icon as BaseIcon } from '@iconify/vue';
3
- import { t } from '@/i18n';
4
- import BaseButton from './BaseButton.vue';
5
- import BaseInput from './BaseInput.vue';
6
- import BaseField from './BaseField.vue';
7
- import BasePassword from './BasePassword.vue';
8
- import BaseAlert from './BaseAlert.vue';
9
2
  import { InputConfigProps } from '@/types';
10
- declare const confirmRef: import("vue").Ref<HTMLButtonElement | null, HTMLButtonElement | null>;
11
- declare const inputRef: import("vue").Ref<HTMLInputElement | null, HTMLInputElement | null>;
12
- declare const input: import("vue").Ref<string, string>;
13
- declare const inputConfig: import("vue").ComputedRef<InputConfigProps | null>;
14
- declare function confirm(): void;
15
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
16
3
  declare var __VLS_17: {};
17
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
4
+ type __VLS_Slots = {} & {
18
5
  default?: (props: typeof __VLS_17) => any;
19
- }>;
20
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
21
- color: {
22
- required: true;
23
- type: PropType<"info" | "success" | "danger" | "warning">;
24
- };
25
- title: {
26
- default: string;
27
- type: StringConstructor;
28
- };
29
- message: {
30
- default: string;
31
- type: StringConstructor;
32
- };
33
- errorMessage: {
34
- default: string;
35
- type: PropType<string | null | undefined>;
36
- };
37
- html: {
38
- default: boolean;
39
- type: BooleanConstructor;
40
- };
41
- confirmText: {
42
- default(): string;
43
- type: StringConstructor;
44
- };
45
- cancelText: {
46
- default(): string;
47
- type: StringConstructor;
48
- };
49
- input: {
50
- default: boolean;
51
- type: PropType<boolean | InputConfigProps>;
52
- };
53
- }>, {
54
- BaseIcon: typeof BaseIcon;
55
- t: typeof t;
56
- BaseButton: typeof BaseButton;
57
- BaseInput: typeof BaseInput;
58
- BaseField: typeof BaseField;
59
- BasePassword: typeof BasePassword;
60
- BaseAlert: typeof BaseAlert;
61
- confirmRef: typeof confirmRef;
62
- inputRef: typeof inputRef;
63
- input: typeof input;
64
- inputConfig: typeof inputConfig;
65
- confirm: typeof confirm;
66
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
67
- cancel: (...args: any[]) => void;
68
- confirm: (...args: any[]) => void;
69
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
70
- color: {
71
- required: true;
72
- type: PropType<"info" | "success" | "danger" | "warning">;
73
- };
74
- title: {
75
- default: string;
76
- type: StringConstructor;
77
- };
78
- message: {
79
- default: string;
80
- type: StringConstructor;
81
- };
82
- errorMessage: {
83
- default: string;
84
- type: PropType<string | null | undefined>;
85
- };
86
- html: {
87
- default: boolean;
88
- type: BooleanConstructor;
89
- };
90
- confirmText: {
91
- default(): string;
92
- type: StringConstructor;
93
- };
94
- cancelText: {
95
- default(): string;
96
- type: StringConstructor;
97
- };
98
- input: {
99
- default: boolean;
100
- type: PropType<boolean | InputConfigProps>;
101
- };
102
- }>> & Readonly<{
103
- onCancel?: ((...args: any[]) => any) | undefined;
104
- onConfirm?: ((...args: any[]) => any) | undefined;
105
- }>, {
106
- input: boolean | InputConfigProps;
107
- html: boolean;
108
- title: string;
109
- message: string;
110
- errorMessage: string | null | undefined;
111
- confirmText: string;
112
- cancelText: string;
113
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ };
114
7
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
115
8
  color: {
116
9
  required: true;
@@ -185,8 +78,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
185
78
  onConfirm?: ((...args: any[]) => any) | undefined;
186
79
  }>, {
187
80
  input: boolean | InputConfigProps;
188
- html: boolean;
189
81
  title: string;
82
+ html: boolean;
190
83
  message: string;
191
84
  errorMessage: string | null | undefined;
192
85
  confirmText: string;
@@ -1,58 +1,9 @@
1
- import BaseTooltip from './BaseTooltip.vue';
2
- declare const tooltipRef: import("vue").Ref<any, any>;
3
- declare const tooltipContent: import("vue").ComputedRef<string | null>;
4
- declare const readableDate: import("vue").ComputedRef<string>;
5
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
6
1
  declare var __VLS_11: {
7
2
  readableDate: string;
8
3
  };
9
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
4
+ type __VLS_Slots = {} & {
10
5
  default?: (props: typeof __VLS_11) => any;
11
- }>;
12
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
13
- value: {
14
- required: true;
15
- type: StringConstructor;
16
- };
17
- tooltip: {
18
- default: boolean;
19
- type: BooleanConstructor;
20
- };
21
- timeZone: {
22
- default: string;
23
- type: StringConstructor;
24
- };
25
- as: {
26
- default: string;
27
- type: StringConstructor;
28
- };
29
- }>, {
30
- BaseTooltip: typeof BaseTooltip;
31
- tooltipRef: typeof tooltipRef;
32
- tooltipContent: typeof tooltipContent;
33
- readableDate: typeof readableDate;
34
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
35
- value: {
36
- required: true;
37
- type: StringConstructor;
38
- };
39
- tooltip: {
40
- default: boolean;
41
- type: BooleanConstructor;
42
- };
43
- timeZone: {
44
- default: string;
45
- type: StringConstructor;
46
- };
47
- as: {
48
- default: string;
49
- type: StringConstructor;
50
- };
51
- }>> & Readonly<{}>, {
52
- as: string;
53
- tooltip: boolean;
54
- timeZone: string;
55
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ };
56
7
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
57
8
  value: {
58
9
  required: true;
@@ -5,30 +5,14 @@ type __VLS_Props = {
5
5
  disabled?: boolean;
6
6
  as?: string;
7
7
  };
8
- declare const elementsRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
9
- declare function getKey(element: any): any;
10
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
11
8
  declare var __VLS_7: {
12
9
  key: any;
13
10
  element: any;
14
11
  index: number;
15
12
  };
16
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
13
+ type __VLS_Slots = {} & {
17
14
  item?: (props: typeof __VLS_7) => any;
18
- }>;
19
- declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
20
- elementsRef: typeof elementsRef;
21
- getKey: typeof getKey;
22
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
- "update:modelValue": (...args: any[]) => void;
24
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
25
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
26
- }>, {
27
- disabled: boolean;
28
- as: string;
29
- itemKey: string;
30
- handle: string;
31
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ };
32
16
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
33
17
  "update:modelValue": (...args: any[]) => void;
34
18
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
@@ -1,159 +1,14 @@
1
1
  import { Placement } from '@floating-ui/vue';
2
- import { Popover, PopoverButton, PopoverPanel } from '@headlessui/vue';
3
2
  import { PropType } from 'vue';
4
- declare const buttonRef: import("vue").Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
5
- as: {
6
- type: (ObjectConstructor | StringConstructor)[];
7
- default: string;
8
- };
9
- disabled: {
10
- type: BooleanConstructor[];
11
- default: boolean;
12
- };
13
- id: {
14
- type: StringConstructor;
15
- default: null;
16
- };
17
- }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
18
- [key: string]: any;
19
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
20
- id: string;
21
- as: string | Record<string, any>;
22
- disabled: boolean;
23
- }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
24
- P: {};
25
- B: {};
26
- D: {};
27
- C: {};
28
- M: {};
29
- Defaults: {};
30
- }, Readonly<import("vue").ExtractPropTypes<{
31
- as: {
32
- type: (ObjectConstructor | StringConstructor)[];
33
- default: string;
34
- };
35
- disabled: {
36
- type: BooleanConstructor[];
37
- default: boolean;
38
- };
39
- id: {
40
- type: StringConstructor;
41
- default: null;
42
- };
43
- }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
44
- [key: string]: any;
45
- }>, {}, {}, {}, {
46
- id: string;
47
- as: string | Record<string, any>;
48
- disabled: boolean;
49
- }> | null, import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
50
- as: {
51
- type: (ObjectConstructor | StringConstructor)[];
52
- default: string;
53
- };
54
- disabled: {
55
- type: BooleanConstructor[];
56
- default: boolean;
57
- };
58
- id: {
59
- type: StringConstructor;
60
- default: null;
61
- };
62
- }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
63
- [key: string]: any;
64
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
65
- id: string;
66
- as: string | Record<string, any>;
67
- disabled: boolean;
68
- }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
69
- P: {};
70
- B: {};
71
- D: {};
72
- C: {};
73
- M: {};
74
- Defaults: {};
75
- }, Readonly<import("vue").ExtractPropTypes<{
76
- as: {
77
- type: (ObjectConstructor | StringConstructor)[];
78
- default: string;
79
- };
80
- disabled: {
81
- type: BooleanConstructor[];
82
- default: boolean;
83
- };
84
- id: {
85
- type: StringConstructor;
86
- default: null;
87
- };
88
- }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
89
- [key: string]: any;
90
- }>, {}, {}, {}, {
91
- id: string;
92
- as: string | Record<string, any>;
93
- disabled: boolean;
94
- }> | null>;
95
- declare const dropdownRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
96
- declare const floatingStyles: Readonly<import("vue").Ref<{
97
- position: import("@floating-ui/utils").Strategy;
98
- top: string;
99
- left: string;
100
- transform?: string;
101
- willChange?: string;
102
- }, {
103
- position: import("@floating-ui/utils").Strategy;
104
- top: string;
105
- left: string;
106
- transform?: string;
107
- willChange?: string;
108
- }>>;
109
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
110
3
  declare var __VLS_10: {}, __VLS_24: {
111
4
  close: any;
112
5
  opened: any;
113
6
  };
114
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
7
+ type __VLS_Slots = {} & {
115
8
  button?: (props: typeof __VLS_10) => any;
116
9
  } & {
117
10
  dropdown?: (props: typeof __VLS_24) => any;
118
- }>;
119
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
120
- animated: {
121
- default: boolean;
122
- type: BooleanConstructor;
123
- };
124
- keepAlive: {
125
- default: boolean;
126
- type: BooleanConstructor;
127
- };
128
- placement: {
129
- default: string;
130
- type: PropType<Placement>;
131
- };
132
- }>, {
133
- Popover: typeof Popover;
134
- PopoverButton: typeof PopoverButton;
135
- PopoverPanel: typeof PopoverPanel;
136
- buttonRef: typeof buttonRef;
137
- dropdownRef: typeof dropdownRef;
138
- floatingStyles: typeof floatingStyles;
139
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
140
- animated: {
141
- default: boolean;
142
- type: BooleanConstructor;
143
- };
144
- keepAlive: {
145
- default: boolean;
146
- type: BooleanConstructor;
147
- };
148
- placement: {
149
- default: string;
150
- type: PropType<Placement>;
151
- };
152
- }>> & Readonly<{}>, {
153
- placement: Placement;
154
- animated: boolean;
155
- keepAlive: boolean;
156
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
+ };
157
12
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
158
13
  animated: {
159
14
  default: boolean;
@@ -1,135 +1,14 @@
1
1
  import { PropType } from 'vue';
2
2
  import { RawOption, SelectConfiguration } from '@/types';
3
- import BaseDropdown from './BaseDropdown.vue';
4
3
  import { Placement } from '@floating-ui/vue';
5
- declare const componentName: import("vue").ComputedRef<any>;
6
- declare const autocomplete: import("vue").Ref<any, any>;
7
- declare const newValue: import("vue").Ref<any, any>;
8
- declare const autocompleteProps: import("vue").ComputedRef<any>;
9
- declare function onUpdate(value: RawOption | RawOption[] | null | undefined, close: () => void): void;
10
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
11
4
  declare var __VLS_5: {
12
5
  newValue: any;
13
6
  }, __VLS_17: any;
14
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
7
+ type __VLS_Slots = {} & {
15
8
  button?: (props: typeof __VLS_5) => any;
16
9
  } & {
17
10
  option?: (props: typeof __VLS_17) => any;
18
- }>;
19
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
20
- modelValue: {
21
- type: PropType<RawOption[] | RawOption | null | undefined>;
22
- default: undefined;
23
- };
24
- multiple: {
25
- type: PropType<boolean>;
26
- default: boolean;
27
- };
28
- url: {
29
- type: PropType<string>;
30
- default: undefined;
31
- };
32
- options: {
33
- type: PropType<RawOption[] | undefined>;
34
- default: undefined;
35
- };
36
- labelKey: {
37
- default: string;
38
- type: PropType<string | ((option: RawOption) => string)>;
39
- };
40
- valueKey: {
41
- default: string;
42
- type: PropType<string | ((option: RawOption) => string)>;
43
- };
44
- size: {
45
- type: PropType<"xs" | "sm" | "base">;
46
- default: string;
47
- };
48
- required: {
49
- type: PropType<boolean>;
50
- default: boolean;
51
- };
52
- emptyOptionLabel: {
53
- default: undefined;
54
- type: StringConstructor;
55
- };
56
- placement: {
57
- type: PropType<Placement>;
58
- default: undefined;
59
- };
60
- select: {
61
- default: undefined;
62
- type: PropType<SelectConfiguration | undefined>;
63
- };
64
- }>, {
65
- BaseDropdown: typeof BaseDropdown;
66
- componentName: typeof componentName;
67
- autocomplete: typeof autocomplete;
68
- newValue: typeof newValue;
69
- autocompleteProps: typeof autocompleteProps;
70
- onUpdate: typeof onUpdate;
71
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
72
- "update:model-value": (...args: any[]) => void;
73
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
74
- modelValue: {
75
- type: PropType<RawOption[] | RawOption | null | undefined>;
76
- default: undefined;
77
- };
78
- multiple: {
79
- type: PropType<boolean>;
80
- default: boolean;
81
- };
82
- url: {
83
- type: PropType<string>;
84
- default: undefined;
85
- };
86
- options: {
87
- type: PropType<RawOption[] | undefined>;
88
- default: undefined;
89
- };
90
- labelKey: {
91
- default: string;
92
- type: PropType<string | ((option: RawOption) => string)>;
93
- };
94
- valueKey: {
95
- default: string;
96
- type: PropType<string | ((option: RawOption) => string)>;
97
- };
98
- size: {
99
- type: PropType<"xs" | "sm" | "base">;
100
- default: string;
101
- };
102
- required: {
103
- type: PropType<boolean>;
104
- default: boolean;
105
- };
106
- emptyOptionLabel: {
107
- default: undefined;
108
- type: StringConstructor;
109
- };
110
- placement: {
111
- type: PropType<Placement>;
112
- default: undefined;
113
- };
114
- select: {
115
- default: undefined;
116
- type: PropType<SelectConfiguration | undefined>;
117
- };
118
- }>> & Readonly<{
119
- "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
120
- }>, {
121
- select: SelectConfiguration | undefined;
122
- size: "xs" | "sm" | "base";
123
- required: boolean;
124
- placement: Placement;
125
- options: RawOption[] | undefined;
126
- modelValue: RawOption | RawOption[] | null | undefined;
127
- url: string;
128
- labelKey: string | ((option: RawOption) => string);
129
- valueKey: string | ((option: RawOption) => string);
130
- emptyOptionLabel: string;
131
- multiple: boolean;
132
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
+ };
133
12
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
134
13
  modelValue: {
135
14
  type: PropType<RawOption[] | RawOption | null | undefined>;
@@ -226,12 +105,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
226
105
  "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
227
106
  }>, {
228
107
  select: SelectConfiguration | undefined;
108
+ url: string;
229
109
  size: "xs" | "sm" | "base";
230
110
  required: boolean;
231
111
  placement: Placement;
232
112
  options: RawOption[] | undefined;
233
113
  modelValue: RawOption | RawOption[] | null | undefined;
234
- url: string;
235
114
  labelKey: string | ((option: RawOption) => string);
236
115
  valueKey: string | ((option: RawOption) => string);
237
116
  emptyOptionLabel: string;
@@ -1,106 +1,10 @@
1
- import { ComputedRef, PropType } from 'vue';
2
- import BaseAlert from './BaseAlert.vue';
3
- import BaseInputError from './BaseInputError.vue';
4
- import BaseInputLabel from './BaseInputLabel.vue';
1
+ import { PropType } from 'vue';
5
2
  import { Size } from '@/utils/sizes';
6
3
  import { ClassNameValue } from 'tailwind-merge';
7
- declare const errorTypeInternal: import("vue").Ref<"default" | "minimal" | "alert", "default" | "minimal" | "alert">;
8
- declare const inputSize: {
9
- size: ComputedRef<"xs" | "sm" | "md" | "lg" | "xl">;
10
- };
11
- declare const labelClassInternalMerged: ComputedRef<string>;
12
- declare const labelNormalized: ComputedRef<string | null>;
13
- declare const errorMessage: ComputedRef<string | null | undefined>;
14
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
15
4
  declare var __VLS_4: {};
16
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
5
+ type __VLS_Slots = {} & {
17
6
  default?: (props: typeof __VLS_4) => any;
18
- }>;
19
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
20
- name: {
21
- default: string;
22
- type: StringConstructor;
23
- };
24
- label: {
25
- type: StringConstructor;
26
- default: string;
27
- };
28
- size: {
29
- default: undefined;
30
- type: PropType<Size | undefined>;
31
- };
32
- required: {
33
- type: BooleanConstructor;
34
- default: boolean;
35
- };
36
- help: {
37
- type: StringConstructor;
38
- default: null;
39
- };
40
- description: {
41
- type: StringConstructor;
42
- default: null;
43
- };
44
- errorType: {
45
- type: PropType<"default" | "minimal" | "alert">;
46
- default: string;
47
- };
48
- labelClass: {
49
- default: string;
50
- type: PropType<ClassNameValue>;
51
- };
52
- }>, {
53
- BaseAlert: typeof BaseAlert;
54
- BaseInputError: typeof BaseInputError;
55
- BaseInputLabel: typeof BaseInputLabel;
56
- errorTypeInternal: typeof errorTypeInternal;
57
- inputSize: typeof inputSize;
58
- labelClassInternalMerged: typeof labelClassInternalMerged;
59
- labelNormalized: typeof labelNormalized;
60
- errorMessage: typeof errorMessage;
61
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
62
- name: {
63
- default: string;
64
- type: StringConstructor;
65
- };
66
- label: {
67
- type: StringConstructor;
68
- default: string;
69
- };
70
- size: {
71
- default: undefined;
72
- type: PropType<Size | undefined>;
73
- };
74
- required: {
75
- type: BooleanConstructor;
76
- default: boolean;
77
- };
78
- help: {
79
- type: StringConstructor;
80
- default: null;
81
- };
82
- description: {
83
- type: StringConstructor;
84
- default: null;
85
- };
86
- errorType: {
87
- type: PropType<"default" | "minimal" | "alert">;
88
- default: string;
89
- };
90
- labelClass: {
91
- default: string;
92
- type: PropType<ClassNameValue>;
93
- };
94
- }>> & Readonly<{}>, {
95
- label: string;
96
- size: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
97
- required: boolean;
98
- description: string;
99
- name: string;
100
- help: string;
101
- errorType: "default" | "minimal" | "alert";
102
- labelClass: ClassNameValue;
103
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
+ };
104
8
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
105
9
  name: {
106
10
  default: string;
@@ -6,40 +6,14 @@ type __VLS_Props = {
6
6
  acceptedExtensions?: string[];
7
7
  multiple?: boolean;
8
8
  };
9
- declare const selecting: import("vue").Ref<boolean, boolean>;
10
- declare const dragging: import("vue").Ref<boolean, boolean>;
11
- declare const input: import("vue").Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
12
- declare function pickFile(): Promise<void>;
13
- declare function onInputChange(): void;
14
- declare function handleDrop(e: any): void;
15
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
16
9
  declare var __VLS_1: {
17
10
  selecting: boolean;
18
11
  dragging: boolean;
19
12
  disabled: boolean;
20
13
  };
21
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
14
+ type __VLS_Slots = {} & {
22
15
  default?: (props: typeof __VLS_1) => any;
23
- }>;
24
- declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
25
- selecting: typeof selecting;
26
- dragging: typeof dragging;
27
- input: typeof input;
28
- pickFile: typeof pickFile;
29
- onInputChange: typeof onInputChange;
30
- handleDrop: typeof handleDrop;
31
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
32
- select: (...args: any[]) => void;
33
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
34
- onSelect?: ((...args: any[]) => any) | undefined;
35
- }>, {
36
- disabled: boolean;
37
- twButton: string;
38
- multiple: boolean;
39
- maxSize: number;
40
- accept: string;
41
- acceptedExtensions: string[];
42
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ };
43
17
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
44
18
  select: (...args: any[]) => void;
45
19
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{