@ramathibodi/nuxt-commons 4.0.24 → 4.0.26

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 (111) hide show
  1. package/dist/module.json +2 -2
  2. package/dist/runtime/components/Calendar.d.vue.ts +18 -6
  3. package/dist/runtime/components/Calendar.vue +76 -15
  4. package/dist/runtime/components/Calendar.vue.d.ts +18 -6
  5. package/dist/runtime/components/ExportCSV.d.vue.ts +2 -2
  6. package/dist/runtime/components/ExportCSV.vue.d.ts +2 -2
  7. package/dist/runtime/components/FileBtn.d.vue.ts +4 -4
  8. package/dist/runtime/components/FileBtn.vue.d.ts +4 -4
  9. package/dist/runtime/components/ImportCSV.d.vue.ts +4 -4
  10. package/dist/runtime/components/ImportCSV.vue.d.ts +4 -4
  11. package/dist/runtime/components/SplitterPanel.d.vue.ts +3 -3
  12. package/dist/runtime/components/SplitterPanel.vue.d.ts +3 -3
  13. package/dist/runtime/components/TabsGroup.d.vue.ts +3 -3
  14. package/dist/runtime/components/TabsGroup.vue.d.ts +3 -3
  15. package/dist/runtime/components/device/IdCardButton.d.vue.ts +2 -2
  16. package/dist/runtime/components/device/IdCardButton.vue.d.ts +2 -2
  17. package/dist/runtime/components/dialog/Confirm.d.vue.ts +2 -2
  18. package/dist/runtime/components/dialog/Confirm.vue.d.ts +2 -2
  19. package/dist/runtime/components/dialog/ImportProgress.d.vue.ts +2 -2
  20. package/dist/runtime/components/dialog/ImportProgress.vue.d.ts +2 -2
  21. package/dist/runtime/components/dialog/Index.d.vue.ts +2 -2
  22. package/dist/runtime/components/dialog/Index.vue.d.ts +2 -2
  23. package/dist/runtime/components/dialog/Loading.d.vue.ts +2 -2
  24. package/dist/runtime/components/dialog/Loading.vue.d.ts +2 -2
  25. package/dist/runtime/components/dialog/default/Confirm.d.vue.ts +3 -3
  26. package/dist/runtime/components/dialog/default/Confirm.vue.d.ts +3 -3
  27. package/dist/runtime/components/dialog/default/Loading.d.vue.ts +3 -3
  28. package/dist/runtime/components/dialog/default/Loading.vue.d.ts +3 -3
  29. package/dist/runtime/components/dialog/default/Notify.d.vue.ts +1 -1
  30. package/dist/runtime/components/dialog/default/Notify.vue.d.ts +1 -1
  31. package/dist/runtime/components/dialog/default/Printing.d.vue.ts +2 -2
  32. package/dist/runtime/components/dialog/default/Printing.vue.d.ts +2 -2
  33. package/dist/runtime/components/dialog/default/VerifyUser.d.vue.ts +2 -2
  34. package/dist/runtime/components/dialog/default/VerifyUser.vue.d.ts +2 -2
  35. package/dist/runtime/components/document/TemplateBuilderLiveView.d.vue.ts +10 -10
  36. package/dist/runtime/components/document/TemplateBuilderLiveView.vue.d.ts +10 -10
  37. package/dist/runtime/components/document/TemplatePalette.d.vue.ts +2 -2
  38. package/dist/runtime/components/document/TemplatePalette.vue +11 -1
  39. package/dist/runtime/components/document/TemplatePalette.vue.d.ts +2 -2
  40. package/dist/runtime/components/form/ActionPad.d.vue.ts +9 -9
  41. package/dist/runtime/components/form/ActionPad.vue.d.ts +9 -9
  42. package/dist/runtime/components/form/Birthdate.d.vue.ts +1 -1
  43. package/dist/runtime/components/form/Birthdate.vue.d.ts +1 -1
  44. package/dist/runtime/components/form/CheckboxGroup.d.vue.ts +2 -2
  45. package/dist/runtime/components/form/CheckboxGroup.vue.d.ts +2 -2
  46. package/dist/runtime/components/form/CodeEditor.d.vue.ts +1 -1
  47. package/dist/runtime/components/form/CodeEditor.vue.d.ts +1 -1
  48. package/dist/runtime/components/form/Date.d.vue.ts +4 -4
  49. package/dist/runtime/components/form/Date.vue.d.ts +4 -4
  50. package/dist/runtime/components/form/DateTime.d.vue.ts +4 -4
  51. package/dist/runtime/components/form/DateTime.vue.d.ts +4 -4
  52. package/dist/runtime/components/form/Dialog.d.vue.ts +5 -5
  53. package/dist/runtime/components/form/Dialog.vue.d.ts +5 -5
  54. package/dist/runtime/components/form/EditPad.d.vue.ts +9 -9
  55. package/dist/runtime/components/form/EditPad.vue.d.ts +9 -9
  56. package/dist/runtime/components/form/File.d.vue.ts +4 -4
  57. package/dist/runtime/components/form/File.vue.d.ts +4 -4
  58. package/dist/runtime/components/form/Iterator.d.vue.ts +12 -12
  59. package/dist/runtime/components/form/Iterator.vue.d.ts +12 -12
  60. package/dist/runtime/components/form/Login.d.vue.ts +2 -2
  61. package/dist/runtime/components/form/Login.vue.d.ts +2 -2
  62. package/dist/runtime/components/form/Pad.d.vue.ts +5 -5
  63. package/dist/runtime/components/form/Pad.vue.d.ts +5 -5
  64. package/dist/runtime/components/form/SignPad.d.vue.ts +2 -2
  65. package/dist/runtime/components/form/SignPad.vue.d.ts +2 -2
  66. package/dist/runtime/components/form/System.d.vue.ts +2 -2
  67. package/dist/runtime/components/form/System.vue.d.ts +2 -2
  68. package/dist/runtime/components/form/Table.d.vue.ts +18 -18
  69. package/dist/runtime/components/form/Table.vue.d.ts +18 -18
  70. package/dist/runtime/components/form/TableData.d.vue.ts +9 -9
  71. package/dist/runtime/components/form/TableData.vue.d.ts +9 -9
  72. package/dist/runtime/components/form/Time.d.vue.ts +2 -2
  73. package/dist/runtime/components/form/Time.vue.d.ts +2 -2
  74. package/dist/runtime/components/form/images/Capture.d.vue.ts +2 -2
  75. package/dist/runtime/components/form/images/Capture.vue.d.ts +2 -2
  76. package/dist/runtime/components/label/Date.d.vue.ts +2 -2
  77. package/dist/runtime/components/label/Date.vue.d.ts +2 -2
  78. package/dist/runtime/components/label/Field.d.vue.ts +7 -5
  79. package/dist/runtime/components/label/Field.vue +4 -1
  80. package/dist/runtime/components/label/Field.vue.d.ts +7 -5
  81. package/dist/runtime/components/master/Autocomplete.d.vue.ts +2 -2
  82. package/dist/runtime/components/master/Autocomplete.vue.d.ts +2 -2
  83. package/dist/runtime/components/master/Combobox.d.vue.ts +2 -2
  84. package/dist/runtime/components/master/Combobox.vue.d.ts +2 -2
  85. package/dist/runtime/components/master/RadioGroup.d.vue.ts +2 -2
  86. package/dist/runtime/components/master/RadioGroup.vue.d.ts +2 -2
  87. package/dist/runtime/components/master/Select.d.vue.ts +2 -2
  88. package/dist/runtime/components/master/Select.vue.d.ts +2 -2
  89. package/dist/runtime/components/master/label.d.vue.ts +1 -1
  90. package/dist/runtime/components/master/label.vue.d.ts +1 -1
  91. package/dist/runtime/components/model/Autocomplete.d.vue.ts +2 -2
  92. package/dist/runtime/components/model/Autocomplete.vue.d.ts +2 -2
  93. package/dist/runtime/components/model/Combobox.d.vue.ts +2 -2
  94. package/dist/runtime/components/model/Combobox.vue.d.ts +2 -2
  95. package/dist/runtime/components/model/Pad.d.vue.ts +10 -10
  96. package/dist/runtime/components/model/Pad.vue.d.ts +10 -10
  97. package/dist/runtime/components/model/Select.d.vue.ts +2 -2
  98. package/dist/runtime/components/model/Select.vue.d.ts +2 -2
  99. package/dist/runtime/components/model/Table.d.vue.ts +21 -21
  100. package/dist/runtime/components/model/Table.vue.d.ts +21 -21
  101. package/dist/runtime/components/model/iterator.d.vue.ts +28 -28
  102. package/dist/runtime/components/model/iterator.vue.d.ts +28 -28
  103. package/dist/runtime/components/model/label.d.vue.ts +1 -1
  104. package/dist/runtime/components/model/label.vue.d.ts +1 -1
  105. package/dist/runtime/components/pdf/View.d.vue.ts +2 -2
  106. package/dist/runtime/components/pdf/View.vue.d.ts +2 -2
  107. package/dist/runtime/composables/document/template.js +3 -0
  108. package/dist/runtime/composables/document/templateInputTypes.js +3 -0
  109. package/dist/runtime/types/calendar.d.ts +11 -0
  110. package/dist/runtime/utils/datetime.d.ts +7 -7
  111. package/package.json +30 -30
package/dist/module.json CHANGED
@@ -4,9 +4,9 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^4.3.1"
6
6
  },
7
- "version": "4.0.24",
7
+ "version": "4.0.26",
8
8
  "builder": {
9
- "@nuxt/module-builder": "1.0.2",
9
+ "@nuxt/module-builder": "1.0.3",
10
10
  "unbuild": "3.6.1"
11
11
  }
12
12
  }
@@ -1,7 +1,7 @@
1
1
  import '@fullcalendar/vue3/skeleton.css';
2
2
  import '@fullcalendar/vue3/themes/classic/theme.css';
3
3
  import '@fullcalendar/vue3/themes/classic/palette.css';
4
- import type { CalendarEvent, CalendarRange, CalendarToolbar, CalendarView } from '../types/calendar.js';
4
+ import type { CalendarEvent, CalendarEventChange, CalendarRange, CalendarToolbar, CalendarView } from '../types/calendar.js';
5
5
  interface Props {
6
6
  /** Array mode: redraws whenever the array changes. */
7
7
  events?: CalendarEvent[];
@@ -20,15 +20,24 @@ interface Props {
20
20
  slotMinTime?: string;
21
21
  slotMaxTime?: string;
22
22
  selectable?: boolean;
23
+ /**
24
+ * Lets users drag events to move them and drag their end edge to resize them. Each gesture emits
25
+ * `event-change`; persist it there, or call `revert()` to undo it.
26
+ */
27
+ editable?: boolean;
23
28
  /** Last resort, FullCalendar-specific and unstable: merged over everything else. */
24
29
  options?: Record<string, unknown>;
25
30
  }
26
- declare var __VLS_10: {
31
+ declare var __VLS_8: {
27
32
  event: CalendarEvent;
28
33
  timeText: any;
34
+ }, __VLS_16: {
35
+ event: CalendarEvent;
29
36
  };
30
37
  type __VLS_Slots = {} & {
31
- event?: (props: typeof __VLS_10) => any;
38
+ event?: (props: typeof __VLS_8) => any;
39
+ } & {
40
+ 'event-tooltip'?: (props: typeof __VLS_16) => any;
32
41
  };
33
42
  declare const __VLS_base: import("vue").DefineComponent<Props, {
34
43
  currentView: Readonly<import("vue").Ref<CalendarView, CalendarView>>;
@@ -59,6 +68,7 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {
59
68
  date: Date;
60
69
  allDay: boolean;
61
70
  }) => any;
71
+ "event-change": (value: CalendarEventChange) => any;
62
72
  "dates-set": (value: {
63
73
  start: Date;
64
74
  end: Date;
@@ -78,6 +88,7 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {
78
88
  date: Date;
79
89
  allDay: boolean;
80
90
  }) => any) | undefined;
91
+ "onEvent-change"?: ((value: CalendarEventChange) => any) | undefined;
81
92
  "onDates-set"?: ((value: {
82
93
  start: Date;
83
94
  end: Date;
@@ -86,18 +97,19 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {
86
97
  "onUpdate:view"?: ((value: CalendarView) => any) | undefined;
87
98
  "onUpdate:date"?: ((value: Date) => any) | undefined;
88
99
  }>, {
89
- height: number | string;
100
+ height: string | number;
90
101
  options: Record<string, unknown>;
91
102
  view: CalendarView;
92
103
  events: CalendarEvent[];
93
104
  fetchEvents: (range: CalendarRange) => Promise<CalendarEvent[]>;
94
- date: Date | string;
105
+ date: string | Date;
95
106
  locale: "th" | "en";
96
107
  timeZone: string;
97
- toolbar: CalendarToolbar | false;
108
+ toolbar: false | CalendarToolbar;
98
109
  slotMinTime: string;
99
110
  slotMaxTime: string;
100
111
  selectable: boolean;
112
+ editable: boolean;
101
113
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
102
114
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
103
115
  declare const _default: typeof __VLS_export;
@@ -9,7 +9,8 @@ import thLocale from "@fullcalendar/vue3/locales/th";
9
9
  import "@fullcalendar/vue3/skeleton.css";
10
10
  import "@fullcalendar/vue3/themes/classic/theme.css";
11
11
  import "@fullcalendar/vue3/themes/classic/palette.css";
12
- import { computed, readonly, ref, useSlots, watch } from "vue";
12
+ import { Comment, Fragment, Text, computed, readonly, ref, shallowRef, useSlots, watch } from "vue";
13
+ import { useMediaQuery } from "@vueuse/core";
13
14
  import { fromFcView, toCalendarEvent, toFcEvent, toFcToolbar, toFcView } from "../calendar/mapping";
14
15
  const props = defineProps({
15
16
  events: { type: Array, required: false, default: void 0 },
@@ -23,10 +24,38 @@ const props = defineProps({
23
24
  slotMinTime: { type: String, required: false, default: "07:00" },
24
25
  slotMaxTime: { type: String, required: false, default: "20:00" },
25
26
  selectable: { type: Boolean, required: false, default: false },
27
+ editable: { type: Boolean, required: false, default: false },
26
28
  options: { type: Object, required: false, default: void 0 }
27
29
  });
28
- const emit = defineEmits(["event-click", "date-click", "select", "dates-set", "loading", "update:view", "update:date"]);
30
+ const emit = defineEmits(["event-click", "date-click", "select", "event-change", "dates-set", "loading", "update:view", "update:date"]);
29
31
  const slots = useSlots();
32
+ const canHover = useMediaQuery("(hover: hover)");
33
+ const hovered = shallowRef(null);
34
+ const tooltipOpen = ref(false);
35
+ const interacting = ref(false);
36
+ function isBlank(nodes) {
37
+ return !nodes || nodes.every((node) => node.type === Comment || node.type === Text && !String(node.children ?? "").trim() || node.type === Fragment && isBlank(node.children));
38
+ }
39
+ function onEventHover(info) {
40
+ const tooltipSlot = slots["event-tooltip"];
41
+ if (!tooltipSlot || !canHover.value || interacting.value) return;
42
+ const event = toCalendarEvent(info.event);
43
+ if (isBlank(tooltipSlot({ event }))) return;
44
+ hovered.value = { el: info.el, event };
45
+ tooltipOpen.value = true;
46
+ }
47
+ function setInteracting(value) {
48
+ interacting.value = value;
49
+ tooltipOpen.value = false;
50
+ }
51
+ function emitChange(kind, info) {
52
+ emit("event-change", {
53
+ kind,
54
+ event: toCalendarEvent(info.event),
55
+ oldEvent: toCalendarEvent(info.oldEvent),
56
+ revert: info.revert
57
+ });
58
+ }
30
59
  const fc = ref();
31
60
  const api = () => fc.value?.getApi?.();
32
61
  const currentView = ref(props.view);
@@ -53,12 +82,26 @@ const calendarOptions = computed(() => ({
53
82
  slotMinTime: props.slotMinTime,
54
83
  slotMaxTime: props.slotMaxTime,
55
84
  selectable: props.selectable,
85
+ editable: props.editable,
56
86
  nowIndicator: true,
57
87
  dayMaxEvents: true,
58
88
  events: eventSource.value,
59
- eventClick: (info) => emit("event-click", toCalendarEvent(info.event)),
89
+ eventClick: (info) => {
90
+ tooltipOpen.value = false;
91
+ emit("event-click", toCalendarEvent(info.event));
92
+ },
93
+ eventMouseEnter: onEventHover,
94
+ eventMouseLeave: () => {
95
+ tooltipOpen.value = false;
96
+ },
97
+ eventDragStart: () => setInteracting(true),
98
+ eventDragStop: () => setInteracting(false),
99
+ eventResizeStart: () => setInteracting(true),
100
+ eventResizeStop: () => setInteracting(false),
60
101
  dateClick: (info) => emit("date-click", { date: info.date, allDay: info.allDay }),
61
102
  select: (info) => emit("select", { start: info.start, end: info.end, allDay: info.allDay }),
103
+ eventDrop: (info) => emitChange("move", info),
104
+ eventResize: (info) => emitChange("resize", info),
62
105
  loading: (isLoading) => emit("loading", isLoading),
63
106
  datesSet: (info) => {
64
107
  const view = fromFcView(info.view.type);
@@ -73,6 +116,9 @@ const calendarOptions = computed(() => ({
73
116
  },
74
117
  ...props.options ?? {}
75
118
  }));
119
+ watch(eventSource, () => {
120
+ tooltipOpen.value = false;
121
+ });
76
122
  watch(() => props.view, (view) => {
77
123
  if (view && view !== currentView.value) api()?.changeView(toFcView(view));
78
124
  });
@@ -98,19 +144,34 @@ defineExpose({
98
144
  </script>
99
145
 
100
146
  <template>
101
- <FullCalendar
102
- ref="fc"
103
- :options="calendarOptions"
104
- >
105
- <template
106
- v-if="slots.event"
107
- #eventContent="arg"
147
+ <div class="calendar">
148
+ <FullCalendar
149
+ ref="fc"
150
+ :options="calendarOptions"
151
+ >
152
+ <template
153
+ v-if="slots.event"
154
+ #eventContent="arg"
155
+ >
156
+ <slot
157
+ name="event"
158
+ :event="toCalendarEvent(arg.event)"
159
+ :time-text="arg.timeText"
160
+ />
161
+ </template>
162
+ </FullCalendar>
163
+ <v-tooltip
164
+ v-if="slots['event-tooltip']"
165
+ :model-value="tooltipOpen"
166
+ :activator="hovered?.el"
167
+ location="top"
168
+ max-width="360"
108
169
  >
109
170
  <slot
110
- name="event"
111
- :event="toCalendarEvent(arg.event)"
112
- :time-text="arg.timeText"
171
+ v-if="hovered"
172
+ name="event-tooltip"
173
+ :event="hovered.event"
113
174
  />
114
- </template>
115
- </FullCalendar>
175
+ </v-tooltip>
176
+ </div>
116
177
  </template>
@@ -1,7 +1,7 @@
1
1
  import '@fullcalendar/vue3/skeleton.css';
2
2
  import '@fullcalendar/vue3/themes/classic/theme.css';
3
3
  import '@fullcalendar/vue3/themes/classic/palette.css';
4
- import type { CalendarEvent, CalendarRange, CalendarToolbar, CalendarView } from '../types/calendar.js';
4
+ import type { CalendarEvent, CalendarEventChange, CalendarRange, CalendarToolbar, CalendarView } from '../types/calendar.js';
5
5
  interface Props {
6
6
  /** Array mode: redraws whenever the array changes. */
7
7
  events?: CalendarEvent[];
@@ -20,15 +20,24 @@ interface Props {
20
20
  slotMinTime?: string;
21
21
  slotMaxTime?: string;
22
22
  selectable?: boolean;
23
+ /**
24
+ * Lets users drag events to move them and drag their end edge to resize them. Each gesture emits
25
+ * `event-change`; persist it there, or call `revert()` to undo it.
26
+ */
27
+ editable?: boolean;
23
28
  /** Last resort, FullCalendar-specific and unstable: merged over everything else. */
24
29
  options?: Record<string, unknown>;
25
30
  }
26
- declare var __VLS_10: {
31
+ declare var __VLS_8: {
27
32
  event: CalendarEvent;
28
33
  timeText: any;
34
+ }, __VLS_16: {
35
+ event: CalendarEvent;
29
36
  };
30
37
  type __VLS_Slots = {} & {
31
- event?: (props: typeof __VLS_10) => any;
38
+ event?: (props: typeof __VLS_8) => any;
39
+ } & {
40
+ 'event-tooltip'?: (props: typeof __VLS_16) => any;
32
41
  };
33
42
  declare const __VLS_base: import("vue").DefineComponent<Props, {
34
43
  currentView: Readonly<import("vue").Ref<CalendarView, CalendarView>>;
@@ -59,6 +68,7 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {
59
68
  date: Date;
60
69
  allDay: boolean;
61
70
  }) => any;
71
+ "event-change": (value: CalendarEventChange) => any;
62
72
  "dates-set": (value: {
63
73
  start: Date;
64
74
  end: Date;
@@ -78,6 +88,7 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {
78
88
  date: Date;
79
89
  allDay: boolean;
80
90
  }) => any) | undefined;
91
+ "onEvent-change"?: ((value: CalendarEventChange) => any) | undefined;
81
92
  "onDates-set"?: ((value: {
82
93
  start: Date;
83
94
  end: Date;
@@ -86,18 +97,19 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {
86
97
  "onUpdate:view"?: ((value: CalendarView) => any) | undefined;
87
98
  "onUpdate:date"?: ((value: Date) => any) | undefined;
88
99
  }>, {
89
- height: number | string;
100
+ height: string | number;
90
101
  options: Record<string, unknown>;
91
102
  view: CalendarView;
92
103
  events: CalendarEvent[];
93
104
  fetchEvents: (range: CalendarRange) => Promise<CalendarEvent[]>;
94
- date: Date | string;
105
+ date: string | Date;
95
106
  locale: "th" | "en";
96
107
  timeZone: string;
97
- toolbar: CalendarToolbar | false;
108
+ toolbar: false | CalendarToolbar;
98
109
  slotMinTime: string;
99
110
  slotMaxTime: string;
100
111
  selectable: boolean;
112
+ editable: boolean;
101
113
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
102
114
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
103
115
  declare const _default: typeof __VLS_export;
@@ -31,7 +31,7 @@ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
31
31
  declare const _default: typeof __VLS_export;
32
32
  export default _default;
33
33
  type __VLS_TypePropsToOption<T> = {
34
- [K in keyof T]-?: {} extends Pick<T, K> ? {
34
+ [K in keyof T & string]-?: {} extends Pick<T, K> ? {
35
35
  type: import('vue').PropType<Required<T>[K]>;
36
36
  } : {
37
37
  type: import('vue').PropType<T[K]>;
@@ -39,7 +39,7 @@ type __VLS_TypePropsToOption<T> = {
39
39
  };
40
40
  };
41
41
  type __VLS_WithDefaults<P, D> = {
42
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
42
+ [K in keyof P & string]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
43
43
  default: D[K];
44
44
  }> : P[K];
45
45
  };
@@ -31,7 +31,7 @@ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
31
31
  declare const _default: typeof __VLS_export;
32
32
  export default _default;
33
33
  type __VLS_TypePropsToOption<T> = {
34
- [K in keyof T]-?: {} extends Pick<T, K> ? {
34
+ [K in keyof T & string]-?: {} extends Pick<T, K> ? {
35
35
  type: import('vue').PropType<Required<T>[K]>;
36
36
  } : {
37
37
  type: import('vue').PropType<T[K]>;
@@ -39,7 +39,7 @@ type __VLS_TypePropsToOption<T> = {
39
39
  };
40
40
  };
41
41
  type __VLS_WithDefaults<P, D> = {
42
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
42
+ [K in keyof P & string]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
43
43
  default: D[K];
44
44
  }> : P[K];
45
45
  };
@@ -6,9 +6,9 @@ interface Props extends /* @vue-ignore */ InstanceType<typeof VBtn['$props']> {
6
6
  modelValue?: File | File[] | undefined;
7
7
  tooltip?: string | Record<string, any> | undefined;
8
8
  }
9
- declare var __VLS_11: never, __VLS_12: {};
9
+ declare var __VLS_12: never, __VLS_13: {};
10
10
  type __VLS_Slots = {} & {
11
- [K in NonNullable<typeof __VLS_11>]?: (props: typeof __VLS_12) => any;
11
+ [K in NonNullable<typeof __VLS_12>]?: (props: typeof __VLS_13) => any;
12
12
  };
13
13
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
14
14
  multiple: boolean;
@@ -29,7 +29,7 @@ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
29
  declare const _default: typeof __VLS_export;
30
30
  export default _default;
31
31
  type __VLS_TypePropsToOption<T> = {
32
- [K in keyof T]-?: {} extends Pick<T, K> ? {
32
+ [K in keyof T & string]-?: {} extends Pick<T, K> ? {
33
33
  type: import('vue').PropType<Required<T>[K]>;
34
34
  } : {
35
35
  type: import('vue').PropType<T[K]>;
@@ -37,7 +37,7 @@ type __VLS_TypePropsToOption<T> = {
37
37
  };
38
38
  };
39
39
  type __VLS_WithDefaults<P, D> = {
40
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
40
+ [K in keyof P & string]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
41
41
  default: D[K];
42
42
  }> : P[K];
43
43
  };
@@ -6,9 +6,9 @@ interface Props extends /* @vue-ignore */ InstanceType<typeof VBtn['$props']> {
6
6
  modelValue?: File | File[] | undefined;
7
7
  tooltip?: string | Record<string, any> | undefined;
8
8
  }
9
- declare var __VLS_11: never, __VLS_12: {};
9
+ declare var __VLS_12: never, __VLS_13: {};
10
10
  type __VLS_Slots = {} & {
11
- [K in NonNullable<typeof __VLS_11>]?: (props: typeof __VLS_12) => any;
11
+ [K in NonNullable<typeof __VLS_12>]?: (props: typeof __VLS_13) => any;
12
12
  };
13
13
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
14
14
  multiple: boolean;
@@ -29,7 +29,7 @@ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
29
  declare const _default: typeof __VLS_export;
30
30
  export default _default;
31
31
  type __VLS_TypePropsToOption<T> = {
32
- [K in keyof T]-?: {} extends Pick<T, K> ? {
32
+ [K in keyof T & string]-?: {} extends Pick<T, K> ? {
33
33
  type: import('vue').PropType<Required<T>[K]>;
34
34
  } : {
35
35
  type: import('vue').PropType<T[K]>;
@@ -37,7 +37,7 @@ type __VLS_TypePropsToOption<T> = {
37
37
  };
38
38
  };
39
39
  type __VLS_WithDefaults<P, D> = {
40
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
40
+ [K in keyof P & string]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
41
41
  default: D[K];
42
42
  }> : P[K];
43
43
  };
@@ -3,9 +3,9 @@ interface ImportButtonProps extends /* @vue-ignore */ InstanceType<typeof VBtn['
3
3
  stringFields?: Array<string>;
4
4
  tooltip?: string | Record<string, any> | undefined;
5
5
  }
6
- declare var __VLS_13: never, __VLS_14: {};
6
+ declare var __VLS_12: never, __VLS_13: {};
7
7
  type __VLS_Slots = {} & {
8
- [K in NonNullable<typeof __VLS_13>]?: (props: typeof __VLS_14) => any;
8
+ [K in NonNullable<typeof __VLS_12>]?: (props: typeof __VLS_13) => any;
9
9
  };
10
10
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ImportButtonProps>, {
11
11
  stringFields: () => never[];
@@ -28,7 +28,7 @@ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
28
28
  declare const _default: typeof __VLS_export;
29
29
  export default _default;
30
30
  type __VLS_TypePropsToOption<T> = {
31
- [K in keyof T]-?: {} extends Pick<T, K> ? {
31
+ [K in keyof T & string]-?: {} extends Pick<T, K> ? {
32
32
  type: import('vue').PropType<Required<T>[K]>;
33
33
  } : {
34
34
  type: import('vue').PropType<T[K]>;
@@ -36,7 +36,7 @@ type __VLS_TypePropsToOption<T> = {
36
36
  };
37
37
  };
38
38
  type __VLS_WithDefaults<P, D> = {
39
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
39
+ [K in keyof P & string]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
40
40
  default: D[K];
41
41
  }> : P[K];
42
42
  };
@@ -3,9 +3,9 @@ interface ImportButtonProps extends /* @vue-ignore */ InstanceType<typeof VBtn['
3
3
  stringFields?: Array<string>;
4
4
  tooltip?: string | Record<string, any> | undefined;
5
5
  }
6
- declare var __VLS_13: never, __VLS_14: {};
6
+ declare var __VLS_12: never, __VLS_13: {};
7
7
  type __VLS_Slots = {} & {
8
- [K in NonNullable<typeof __VLS_13>]?: (props: typeof __VLS_14) => any;
8
+ [K in NonNullable<typeof __VLS_12>]?: (props: typeof __VLS_13) => any;
9
9
  };
10
10
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ImportButtonProps>, {
11
11
  stringFields: () => never[];
@@ -28,7 +28,7 @@ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
28
28
  declare const _default: typeof __VLS_export;
29
29
  export default _default;
30
30
  type __VLS_TypePropsToOption<T> = {
31
- [K in keyof T]-?: {} extends Pick<T, K> ? {
31
+ [K in keyof T & string]-?: {} extends Pick<T, K> ? {
32
32
  type: import('vue').PropType<Required<T>[K]>;
33
33
  } : {
34
34
  type: import('vue').PropType<T[K]>;
@@ -36,7 +36,7 @@ type __VLS_TypePropsToOption<T> = {
36
36
  };
37
37
  };
38
38
  type __VLS_WithDefaults<P, D> = {
39
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
39
+ [K in keyof P & string]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
40
40
  default: D[K];
41
41
  }> : P[K];
42
42
  };
@@ -1,8 +1,8 @@
1
- declare var __VLS_20: {}, __VLS_35: {};
1
+ declare var __VLS_19: {}, __VLS_34: {};
2
2
  type __VLS_Slots = {} & {
3
- left?: (props: typeof __VLS_20) => any;
3
+ left?: (props: typeof __VLS_19) => any;
4
4
  } & {
5
- right?: (props: typeof __VLS_35) => any;
5
+ right?: (props: typeof __VLS_34) => any;
6
6
  };
7
7
  declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
8
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,8 +1,8 @@
1
- declare var __VLS_20: {}, __VLS_35: {};
1
+ declare var __VLS_19: {}, __VLS_34: {};
2
2
  type __VLS_Slots = {} & {
3
- left?: (props: typeof __VLS_20) => any;
3
+ left?: (props: typeof __VLS_19) => any;
4
4
  } & {
5
- right?: (props: typeof __VLS_35) => any;
5
+ right?: (props: typeof __VLS_34) => any;
6
6
  };
7
7
  declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
8
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,8 +1,8 @@
1
- declare var __VLS_14: {}, __VLS_28: {};
1
+ declare var __VLS_13: {}, __VLS_27: {};
2
2
  type __VLS_Slots = {} & {
3
- tabs?: (props: typeof __VLS_14) => any;
3
+ tabs?: (props: typeof __VLS_13) => any;
4
4
  } & {
5
- items?: (props: typeof __VLS_28) => any;
5
+ items?: (props: typeof __VLS_27) => any;
6
6
  };
7
7
  declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
8
  "update:modelValue": (value: string | number | undefined) => any;
@@ -1,8 +1,8 @@
1
- declare var __VLS_14: {}, __VLS_28: {};
1
+ declare var __VLS_13: {}, __VLS_27: {};
2
2
  type __VLS_Slots = {} & {
3
- tabs?: (props: typeof __VLS_14) => any;
3
+ tabs?: (props: typeof __VLS_13) => any;
4
4
  } & {
5
- items?: (props: typeof __VLS_28) => any;
5
+ items?: (props: typeof __VLS_27) => any;
6
6
  };
7
7
  declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
8
  "update:modelValue": (value: string | number | undefined) => any;
@@ -33,7 +33,7 @@ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
33
33
  declare const _default: typeof __VLS_export;
34
34
  export default _default;
35
35
  type __VLS_TypePropsToOption<T> = {
36
- [K in keyof T]-?: {} extends Pick<T, K> ? {
36
+ [K in keyof T & string]-?: {} extends Pick<T, K> ? {
37
37
  type: import('vue').PropType<Required<T>[K]>;
38
38
  } : {
39
39
  type: import('vue').PropType<T[K]>;
@@ -41,7 +41,7 @@ type __VLS_TypePropsToOption<T> = {
41
41
  };
42
42
  };
43
43
  type __VLS_WithDefaults<P, D> = {
44
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
44
+ [K in keyof P & string]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
45
45
  default: D[K];
46
46
  }> : P[K];
47
47
  };
@@ -33,7 +33,7 @@ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
33
33
  declare const _default: typeof __VLS_export;
34
34
  export default _default;
35
35
  type __VLS_TypePropsToOption<T> = {
36
- [K in keyof T]-?: {} extends Pick<T, K> ? {
36
+ [K in keyof T & string]-?: {} extends Pick<T, K> ? {
37
37
  type: import('vue').PropType<Required<T>[K]>;
38
38
  } : {
39
39
  type: import('vue').PropType<T[K]>;
@@ -41,7 +41,7 @@ type __VLS_TypePropsToOption<T> = {
41
41
  };
42
42
  };
43
43
  type __VLS_WithDefaults<P, D> = {
44
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
44
+ [K in keyof P & string]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
45
45
  default: D[K];
46
46
  }> : P[K];
47
47
  };
@@ -8,11 +8,11 @@ interface DialogProps {
8
8
  confirmData?: string;
9
9
  width?: string;
10
10
  }
11
- declare var __VLS_44: {
11
+ declare var __VLS_43: {
12
12
  text: string;
13
13
  };
14
14
  type __VLS_Slots = {} & {
15
- labelTextConfirm?: (props: typeof __VLS_44) => any;
15
+ labelTextConfirm?: (props: typeof __VLS_43) => any;
16
16
  };
17
17
  declare const __VLS_base: import("vue").DefineComponent<DialogProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
18
18
  "update:modelValue": (value: boolean) => any;
@@ -8,11 +8,11 @@ interface DialogProps {
8
8
  confirmData?: string;
9
9
  width?: string;
10
10
  }
11
- declare var __VLS_44: {
11
+ declare var __VLS_43: {
12
12
  text: string;
13
13
  };
14
14
  type __VLS_Slots = {} & {
15
- labelTextConfirm?: (props: typeof __VLS_44) => any;
15
+ labelTextConfirm?: (props: typeof __VLS_43) => any;
16
16
  };
17
17
  declare const __VLS_base: import("vue").DefineComponent<DialogProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
18
18
  "update:modelValue": (value: boolean) => any;
@@ -12,9 +12,9 @@ interface DialogImportProgressProps {
12
12
  title?: string;
13
13
  color?: string;
14
14
  }
15
- declare var __VLS_20: {};
15
+ declare var __VLS_19: {};
16
16
  type __VLS_Slots = {} & {
17
- default?: (props: typeof __VLS_20) => any;
17
+ default?: (props: typeof __VLS_19) => any;
18
18
  };
19
19
  declare const __VLS_base: import("vue").DefineComponent<DialogImportProgressProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
20
  "update:modelValue": (...args: any[]) => void;
@@ -12,9 +12,9 @@ interface DialogImportProgressProps {
12
12
  title?: string;
13
13
  color?: string;
14
14
  }
15
- declare var __VLS_20: {};
15
+ declare var __VLS_19: {};
16
16
  type __VLS_Slots = {} & {
17
- default?: (props: typeof __VLS_20) => any;
17
+ default?: (props: typeof __VLS_19) => any;
18
18
  };
19
19
  declare const __VLS_base: import("vue").DefineComponent<DialogImportProgressProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
20
  "update:modelValue": (...args: any[]) => void;
@@ -5,9 +5,9 @@ interface DialogProps {
5
5
  type?: 'success' | 'error' | 'warning' | 'info';
6
6
  width?: number | string;
7
7
  }
8
- declare var __VLS_46: {};
8
+ declare var __VLS_45: {};
9
9
  type __VLS_Slots = {} & {
10
- default?: (props: typeof __VLS_46) => any;
10
+ default?: (props: typeof __VLS_45) => any;
11
11
  };
12
12
  declare const __VLS_base: import("vue").DefineComponent<DialogProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
13
  "update:modelValue": (...args: any[]) => void;
@@ -5,9 +5,9 @@ interface DialogProps {
5
5
  type?: 'success' | 'error' | 'warning' | 'info';
6
6
  width?: number | string;
7
7
  }
8
- declare var __VLS_46: {};
8
+ declare var __VLS_45: {};
9
9
  type __VLS_Slots = {} & {
10
- default?: (props: typeof __VLS_46) => any;
10
+ default?: (props: typeof __VLS_45) => any;
11
11
  };
12
12
  declare const __VLS_base: import("vue").DefineComponent<DialogProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
13
  "update:modelValue": (...args: any[]) => void;
@@ -2,9 +2,9 @@ interface DialogProps {
2
2
  modelValue: boolean;
3
3
  color?: string;
4
4
  }
5
- declare var __VLS_32: {};
5
+ declare var __VLS_31: {};
6
6
  type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_32) => any;
7
+ default?: (props: typeof __VLS_31) => any;
8
8
  };
9
9
  declare const __VLS_base: import("vue").DefineComponent<DialogProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
10
  "update:modelValue": (...args: any[]) => void;
@@ -2,9 +2,9 @@ interface DialogProps {
2
2
  modelValue: boolean;
3
3
  color?: string;
4
4
  }
5
- declare var __VLS_32: {};
5
+ declare var __VLS_31: {};
6
6
  type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_32) => any;
7
+ default?: (props: typeof __VLS_31) => any;
8
8
  };
9
9
  declare const __VLS_base: import("vue").DefineComponent<DialogProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
10
  "update:modelValue": (...args: any[]) => void;