@vc-shell/framework 1.1.5 → 1.1.7

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 (99) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/core/plugins/modularity/loader.ts +31 -0
  3. package/dist/core/plugins/modularity/loader.d.ts.map +1 -1
  4. package/dist/framework.js +105 -104
  5. package/dist/{index-Bv5as3SI.js → index-B-mWhdLd.js} +1 -1
  6. package/dist/{index-DpDbQQg6.js → index-B8b4HKad.js} +1 -1
  7. package/dist/{index-JTAZpxKF.js → index-BgxGeHeF.js} +1 -1
  8. package/dist/{index-Dh1XjfgY.js → index-BkhpB2QG.js} +1 -1
  9. package/dist/{index-BG6N4UCY.js → index-C1SZpIDW.js} +1 -1
  10. package/dist/{index-DwuQbDJG.js → index-C5CvjxDz.js} +1 -1
  11. package/dist/{index-BBHl6nap.js → index-C70yQsjv.js} +1 -1
  12. package/dist/{index-CKLiFGZ-.js → index-CDBWP4up.js} +1 -1
  13. package/dist/{index-DbpKygJh.js → index-CiGiEqGG.js} +1 -1
  14. package/dist/{index-DgCtSr4P.js → index-CupHW_BC.js} +1 -1
  15. package/dist/{index-Fhuqbkq2.js → index-CyoDOgBt.js} +1 -1
  16. package/dist/{index-Q3k1PYzc.js → index-Dfqkcdc_.js} +1 -1
  17. package/dist/{index-CtGZgIiV.js → index-DqYA_pFb.js} +1 -1
  18. package/dist/{index-D13Jcezf.js → index-EX-KKv5q.js} +1 -1
  19. package/dist/{index-C4VyqVxv.js → index-F1Iiqswe.js} +1 -1
  20. package/dist/{index-MKD2CP5c.js → index-L61Jab0v.js} +8653 -8565
  21. package/dist/{index-CTmAMa_1.js → index-hQL5vI4T.js} +1 -1
  22. package/dist/index.css +1 -1
  23. package/dist/shared/components/common/popup/vc-popup-error.vue.d.ts +2 -2
  24. package/dist/shared/components/common/popup/vc-popup-error.vue.d.ts.map +1 -1
  25. package/dist/shared/components/common/popup/vc-popup-info.vue.d.ts +2 -2
  26. package/dist/shared/components/common/popup/vc-popup-info.vue.d.ts.map +1 -1
  27. package/dist/shared/components/common/popup/vc-popup-warning.vue.d.ts +2 -2
  28. package/dist/shared/components/common/popup/vc-popup-warning.vue.d.ts.map +1 -1
  29. package/dist/shared/components/dashboard-widget-card/dashboard-widget-card.vue.d.ts +3 -3
  30. package/dist/shared/components/dashboard-widget-card/dashboard-widget-card.vue.d.ts.map +1 -1
  31. package/dist/tsconfig.tsbuildinfo +1 -1
  32. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +1 -1
  33. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
  34. package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts +2 -2
  35. package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts.map +1 -1
  36. package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts +2 -2
  37. package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts.map +1 -1
  38. package/dist/ui/components/index.d.ts +0 -1
  39. package/dist/ui/components/index.d.ts.map +1 -1
  40. package/dist/ui/components/molecules/index.d.ts +1 -0
  41. package/dist/ui/components/molecules/index.d.ts.map +1 -1
  42. package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts +3 -3
  43. package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -1
  44. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +1 -1
  45. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
  46. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts +6 -34
  47. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
  48. package/dist/ui/components/molecules/vc-input-dropdown/index.d.ts +4 -0
  49. package/dist/ui/components/molecules/vc-input-dropdown/index.d.ts.map +1 -0
  50. package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts +171 -0
  51. package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts.map +1 -0
  52. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +2 -2
  53. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts.map +1 -1
  54. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +1 -1
  55. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
  56. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts +1 -1
  57. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
  58. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetItem.vue.d.ts +2 -2
  59. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetItem.vue.d.ts.map +1 -1
  60. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue.d.ts +5 -5
  61. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue.d.ts.map +1 -1
  62. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts +3 -3
  63. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts.map +1 -1
  64. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts +1 -1
  65. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
  66. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +4 -4
  67. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
  68. package/dist/ui/components/organisms/vc-login-form/vc-login-form.vue.d.ts +1 -1
  69. package/dist/ui/components/organisms/vc-login-form/vc-login-form.vue.d.ts.map +1 -1
  70. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +3 -3
  71. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
  72. package/package.json +4 -4
  73. package/shared/components/common/popup/vc-popup-error.vue +3 -3
  74. package/shared/components/common/popup/vc-popup-info.vue +3 -3
  75. package/shared/components/common/popup/vc-popup-warning.vue +3 -3
  76. package/shared/components/dashboard-widget-card/dashboard-widget-card.vue +4 -4
  77. package/ui/components/atoms/vc-badge/vc-badge.vue +2 -2
  78. package/ui/components/atoms/vc-icon/vc-icon.stories.ts +1 -1
  79. package/ui/components/atoms/vc-label/vc-label.vue +3 -3
  80. package/ui/components/atoms/vc-tooltip/vc-tooltip.vue +3 -3
  81. package/ui/components/index.ts +0 -2
  82. package/ui/components/molecules/index.ts +1 -0
  83. package/ui/components/molecules/vc-checkbox/vc-checkbox.vue +4 -4
  84. package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +2 -2
  85. package/ui/components/molecules/vc-input-currency/vc-input-currency.stories.ts +1 -1
  86. package/ui/components/molecules/vc-input-currency/vc-input-currency.vue +41 -118
  87. package/ui/components/molecules/vc-input-dropdown/index.ts +4 -0
  88. package/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.stories.ts +763 -0
  89. package/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue +268 -0
  90. package/ui/components/molecules/vc-multivalue/vc-multivalue.vue +2 -2
  91. package/ui/components/molecules/vc-rating/vc-rating.vue +2 -2
  92. package/ui/components/molecules/vc-textarea/vc-textarea.vue +2 -2
  93. package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetItem.vue +3 -3
  94. package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue +6 -6
  95. package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +4 -4
  96. package/ui/components/organisms/vc-app/vc-app.vue +2 -3
  97. package/ui/components/organisms/vc-blade/vc-blade.vue +5 -5
  98. package/ui/components/organisms/vc-login-form/vc-login-form.vue +2 -2
  99. package/ui/components/organisms/vc-popup/vc-popup.vue +4 -4
@@ -0,0 +1,268 @@
1
+ <template>
2
+ <VcSelect
3
+ class="vc-input-dropdown"
4
+ :options="options"
5
+ :option-label="optionLabel"
6
+ :option-value="optionValue"
7
+ :searchable="searchable"
8
+ :debounce="debounce"
9
+ :disabled="disabled"
10
+ :label="label"
11
+ :required="required"
12
+ :model-value="option"
13
+ :tooltip="tooltip"
14
+ @update:model-value="$emit('update:option', $event)"
15
+ >
16
+ <template #control="{ toggleHandler }">
17
+ <VcInput
18
+ :placeholder="placeholder"
19
+ :hint="hint"
20
+ :clearable="clearable"
21
+ :prefix="prefix"
22
+ :suffix="suffix"
23
+ :name="name"
24
+ :model-value="modelValue"
25
+ :loading="loading"
26
+ :disabled="disabled"
27
+ :autofocus="autofocus"
28
+ :error="error"
29
+ :error-message="errorMessage"
30
+ :maxlength="maxlength"
31
+ :type="inputType"
32
+ class="vc-input-dropdown__input"
33
+ @update:model-value="$emit('update:model-value', $event)"
34
+ @blur="$emit('blur', $event)"
35
+ >
36
+ <template #append-inner>
37
+ <slot
38
+ name="button"
39
+ :toggle-handler="toggleHandler"
40
+ >
41
+ <template v-if="options && options.length">
42
+ <button
43
+ class="vc-input-dropdown__toggle-button"
44
+ tabindex="0"
45
+ @click.stop.prevent="toggleHandler"
46
+ @keydown.enter.stop.prevent="toggleHandler"
47
+ @keydown.space.stop.prevent="toggleHandler"
48
+ >
49
+ {{ unref(option) }}
50
+ </button>
51
+ </template>
52
+ </slot>
53
+ <slot
54
+ v-if="$slots['append-inner']"
55
+ name="append-inner"
56
+ ></slot>
57
+ </template>
58
+ <template
59
+ v-if="$slots.control"
60
+ #control="scope"
61
+ >
62
+ <slot
63
+ name="control"
64
+ v-bind="scope"
65
+ ></slot>
66
+ </template>
67
+ <template
68
+ v-if="$slots['prepend-inner']"
69
+ #prepend-inner
70
+ >
71
+ <slot name="prepend-inner"></slot>
72
+ </template>
73
+ <template
74
+ v-if="$slots['append']"
75
+ #append
76
+ >
77
+ <slot name="append"></slot>
78
+ </template>
79
+ <template
80
+ v-if="$slots['prepend']"
81
+ #prepend
82
+ >
83
+ <slot name="prepend"></slot>
84
+ </template>
85
+ </VcInput>
86
+ </template>
87
+ </VcSelect>
88
+ </template>
89
+ <!-- eslint-disable @typescript-eslint/no-explicit-any -->
90
+ <script lang="ts" setup>
91
+ import { unref } from "vue";
92
+ import { VcSelect, VcInput } from "./../../";
93
+ import { OptionProp } from "../vc-select/vc-select.vue";
94
+
95
+ export interface Props {
96
+ /**
97
+ * Model of the input component
98
+ */
99
+ modelValue: string | number | Date | null | undefined;
100
+ /**
101
+ * Input label text
102
+ */
103
+ label?: string;
104
+ /**
105
+ * Input placeholder text
106
+ */
107
+ placeholder?: string;
108
+ /**
109
+ * Input description (hint) text below input component
110
+ */
111
+ hint?: string;
112
+ /**
113
+ * Appends clearable icon when a value is set;
114
+ * When clicked, model becomes null
115
+ */
116
+ clearable?: boolean;
117
+ /**
118
+ * Prefix
119
+ */
120
+ prefix?: string;
121
+ /**
122
+ * Suffix
123
+ */
124
+ suffix?: string;
125
+ /**
126
+ * Used to specify the name of the control; If not specified, it takes the value 'Field'
127
+ */
128
+ name?: string;
129
+ /**
130
+ * Signals the user a process is in progress by displaying a spinner
131
+ */
132
+ loading?: boolean;
133
+ /**
134
+ * Debounce amount (in milliseconds) for search input
135
+ * Default: 0
136
+ */
137
+ debounce?: string | number;
138
+ /**
139
+ * Put component in disabled mode
140
+ */
141
+ disabled?: boolean;
142
+ /**
143
+ * Focus field on initial component render
144
+ */
145
+ autofocus?: boolean;
146
+ /**
147
+ * Does field have validation errors?
148
+ */
149
+ error?: boolean;
150
+ /**
151
+ * Validation error message (gets displayed only if 'error' is set to 'true')
152
+ */
153
+ errorMessage?: string;
154
+ /**
155
+ * Specify a max length of model
156
+ * Default value: 1024
157
+ */
158
+ maxlength?: string | number;
159
+ /**
160
+ * Input tooltip information
161
+ */
162
+ tooltip?: string;
163
+ /**
164
+ * Input required state
165
+ */
166
+ required?: boolean;
167
+ /**
168
+ * Option label
169
+ */
170
+ option?: unknown;
171
+ /**
172
+ * Available options that the user can select from.
173
+ * Default value: []
174
+ */
175
+ options?: unknown[];
176
+ /**
177
+ * Property of option which holds the 'value'
178
+ * Default value: id
179
+ * @param option The current option being processed
180
+ * @returns Value of the current option
181
+ */
182
+ optionValue?: OptionProp<unknown>;
183
+ /**
184
+ * Property of option which holds the 'label'
185
+ * Default value: title
186
+ * @param option The current option being processed
187
+ * @returns Label of the current option
188
+ */
189
+ optionLabel?: OptionProp<unknown>;
190
+ /**
191
+ * Enable search in dropdown
192
+ */
193
+ searchable?: boolean;
194
+ /**
195
+ * Type of the input field
196
+ * Default: text
197
+ */
198
+ inputType?: "text" | "password" | "email" | "tel" | "number" | "integer" | "url" | "time" | "date" | "datetime-local";
199
+ }
200
+
201
+ export interface Emits {
202
+ (event: "update:model-value", value: string | number | Date | null | undefined): void;
203
+ (event: "update:option", value: unknown): void;
204
+ (event: "change", value: unknown): void;
205
+ (event: "blur", value: Event): void;
206
+ }
207
+
208
+ const props = withDefaults(defineProps<Props>(), {
209
+ debounce: 0,
210
+ searchable: false,
211
+ inputType: "text",
212
+ });
213
+
214
+ defineSlots<{
215
+ /**
216
+ * Slot for custom dropdown open handler
217
+ */
218
+ button: (scope: {
219
+ /**
220
+ * Dropdown open/close handler
221
+ */
222
+ toggleHandler: () => void;
223
+ }) => unknown;
224
+ /**
225
+ * Slot for custom append-inner content
226
+ */
227
+ "append-inner": (props: any) => any;
228
+ /**
229
+ * Slot for custom prepend-inner content
230
+ */
231
+ "prepend-inner": (props: any) => any;
232
+ /**
233
+ * Slot for custom append content
234
+ */
235
+ append: (props: any) => any;
236
+ /**
237
+ * Slot for custom prepend content
238
+ */
239
+ prepend: (props: any) => any;
240
+ /**
241
+ * Slot for custom input control
242
+ */
243
+ control: (scope: {
244
+ placeholder?: string;
245
+ focused?: boolean;
246
+ modelValue: string | number | Date | null | undefined;
247
+ emitValue: (value: string | number | Date | null) => void;
248
+ }) => unknown;
249
+ }>();
250
+
251
+ defineEmits<Emits>();
252
+ </script>
253
+
254
+ <style lang="scss">
255
+ :root {
256
+ --input-dropdown-toggle-color: var(--primary-500);
257
+ }
258
+
259
+ .vc-input-dropdown {
260
+ &__input {
261
+ @apply tw-w-full;
262
+ }
263
+
264
+ &__toggle-button {
265
+ @apply tw-text-[color:var(--input-dropdown-toggle-color)] tw-not-italic tw-font-medium tw-text-sm tw-cursor-pointer;
266
+ }
267
+ }
268
+ </style>
@@ -231,8 +231,8 @@ const emit = defineEmits<Emits<T>>();
231
231
  defineSlots<{
232
232
  option: (args: { item: T }) => any;
233
233
  "selected-item": (args: { value: string | number | T[keyof T]; item: T; remove: () => void }) => any;
234
- hint: void;
235
- error: void;
234
+ hint: (props: any) => any;
235
+ error: (props: any) => any;
236
236
  }>();
237
237
 
238
238
  const dropdownToggleRef = ref();
@@ -51,7 +51,7 @@
51
51
  </div>
52
52
  </div>
53
53
  </template>
54
-
54
+ <!-- eslint-disable @typescript-eslint/no-explicit-any -->
55
55
  <script lang="ts" setup>
56
56
  import { VNode } from "vue";
57
57
  import { VcLabel, VcIcon } from "./../../";
@@ -68,7 +68,7 @@ export interface Props {
68
68
  withDefaults(defineProps<Props>(), { max: 5, variant: "stars" });
69
69
 
70
70
  defineSlots<{
71
- details: VNode[];
71
+ details: (props: any) => VNode[];
72
72
  }>();
73
73
  </script>
74
74
 
@@ -51,7 +51,7 @@
51
51
  </slot>
52
52
  </div>
53
53
  </template>
54
-
54
+ <!-- eslint-disable @typescript-eslint/no-explicit-any -->
55
55
  <script lang="ts" setup>
56
56
  import { ref } from "vue";
57
57
  import { VcHint, VcLabel } from "./../../";
@@ -76,7 +76,7 @@ export interface Emits {
76
76
  }
77
77
 
78
78
  defineSlots<{
79
- error: void;
79
+ error: (props: any) => any;
80
80
  }>();
81
81
 
82
82
  withDefaults(defineProps<Props>(), {
@@ -38,7 +38,7 @@
38
38
  </VcTooltip>
39
39
  </div>
40
40
  </template>
41
-
41
+ <!-- eslint-disable @typescript-eslint/no-explicit-any -->
42
42
  <script lang="ts" setup>
43
43
  import { ref, computed, onMounted, type Component } from "vue";
44
44
  import { useAppBarWidgets } from "./../composables/useAppBarWidgets";
@@ -59,8 +59,8 @@ const props = defineProps<Props>();
59
59
  const emit = defineEmits<Emits>();
60
60
 
61
61
  defineSlots<{
62
- content: (props: { opened: boolean; toggle: () => void }) => void;
63
- trigger: (props: { isActive: boolean; toggle: () => void }) => void;
62
+ content: (props: { opened: boolean; toggle: () => void }) => any;
63
+ trigger: (props: { isActive: boolean; toggle: () => void }) => any;
64
64
  }>();
65
65
 
66
66
  const { toggleWidget, currentWidget } = useAppBarWidgets();
@@ -62,7 +62,7 @@
62
62
  </template>
63
63
  </Sidebar>
64
64
  </template>
65
-
65
+ <!-- eslint-disable @typescript-eslint/no-explicit-any -->
66
66
  <script lang="ts" setup>
67
67
  import { Sidebar } from "../../../../../../../shared/components/sidebar";
68
68
  import { CrossSignIcon } from "../../../../../atoms/vc-icon/icons";
@@ -78,11 +78,11 @@ defineEmits<{
78
78
  }>();
79
79
 
80
80
  defineSlots<{
81
- navmenu: () => void;
82
- "user-dropdown": () => void;
83
- "app-switcher": () => void;
84
- "widgets-active-content": () => void;
85
- widgets: () => void;
81
+ navmenu: (props: any) => any;
82
+ "user-dropdown": (props: any) => any;
83
+ "app-switcher": (props: any) => any;
84
+ "widgets-active-content": (props: any) => any;
85
+ widgets: (props: any) => any;
86
86
  }>();
87
87
  </script>
88
88
 
@@ -108,7 +108,7 @@
108
108
  </div>
109
109
  </div>
110
110
  </template>
111
-
111
+ <!-- eslint-disable @typescript-eslint/no-explicit-any -->
112
112
  <script lang="ts" setup>
113
113
  import { VcIcon } from "../../../../";
114
114
  import { ChevronLeftIcon, ChevronRightIcon } from "../../../../atoms/vc-icon/icons";
@@ -133,9 +133,9 @@ export interface Emits {
133
133
  }
134
134
 
135
135
  interface Slots {
136
- "app-switcher": () => void;
137
- navmenu: () => void;
138
- "user-dropdown": () => void;
136
+ "app-switcher": (props: any) => any;
137
+ navmenu: (props: any) => any;
138
+ "user-dropdown": (props: any) => any;
139
139
  }
140
140
 
141
141
  defineProps<Props>();
@@ -65,7 +65,7 @@
65
65
  </div>
66
66
  </div>
67
67
  </template>
68
-
68
+ <!-- eslint-disable @typescript-eslint/no-explicit-any -->
69
69
  <script lang="ts" setup>
70
70
  import { inject, provide, useAttrs, watch, ref, onUnmounted, computed } from "vue";
71
71
  import VcAppBar from "./_internal/vc-app-bar/vc-app-bar.vue";
@@ -115,8 +115,7 @@ defineOptions({
115
115
  });
116
116
 
117
117
  defineSlots<{
118
- "app-switcher": void;
119
- // toolbar: void;
118
+ "app-switcher": (props: any) => any;
120
119
  }>();
121
120
 
122
121
  const props = defineProps<Props>();
@@ -123,7 +123,7 @@
123
123
  </div>
124
124
  </div>
125
125
  </template>
126
-
126
+ <!-- eslint-disable @typescript-eslint/no-explicit-any -->
127
127
  <script lang="ts" setup>
128
128
  import { computed, ref, toValue, inject, useSlots, defineComponent, h } from "vue";
129
129
  import { IBladeToolbar } from "../../../../core/types";
@@ -168,8 +168,8 @@ withDefaults(defineProps<Props>(), {
168
168
  });
169
169
 
170
170
  const slots = defineSlots<{
171
- actions: void;
172
- default: void;
171
+ actions: (props: any) => any;
172
+ default: (props: any) => any;
173
173
  /**
174
174
  * @deprecated
175
175
  * Use `useWidgets` composable instead
@@ -197,8 +197,8 @@ const slots = defineSlots<{
197
197
  * }
198
198
  * });
199
199
  */
200
- widgets: void;
201
- backButton: void;
200
+ widgets: (props: any) => any;
201
+ backButton: (props: any) => any;
202
202
  }>();
203
203
 
204
204
  const emit = defineEmits<Emits>();
@@ -20,7 +20,7 @@
20
20
  </div>
21
21
  </div>
22
22
  </template>
23
-
23
+ <!-- eslint-disable @typescript-eslint/no-explicit-any -->
24
24
  <script lang="ts" setup>
25
25
  import { computed } from "vue";
26
26
  import { useRouter } from "vue-router";
@@ -36,7 +36,7 @@ const props = withDefaults(defineProps<Props>(), {
36
36
  });
37
37
 
38
38
  defineSlots<{
39
- default: void;
39
+ default: (props: any) => any;
40
40
  }>();
41
41
 
42
42
  const router = useRouter();
@@ -119,7 +119,7 @@
119
119
  </Dialog>
120
120
  </TransitionRoot>
121
121
  </template>
122
-
122
+ <!-- eslint-disable @typescript-eslint/no-explicit-any -->
123
123
  <script lang="ts" setup>
124
124
  import { Ref, computed, inject } from "vue";
125
125
  import { TransitionRoot, TransitionChild, Dialog, DialogPanel, DialogTitle } from "@headlessui/vue";
@@ -146,9 +146,9 @@ const props = withDefaults(defineProps<Props>(), {
146
146
  const emit = defineEmits<Emits>();
147
147
 
148
148
  defineSlots<{
149
- header: void;
150
- content: void;
151
- footer: (props: { close: () => void }) => void;
149
+ header: (props: any) => any;
150
+ content: (props: any) => any;
151
+ footer: (props: { close: () => void }) => any;
152
152
  }>();
153
153
 
154
154
  const isMobile = inject("isMobile") as Ref<boolean>;