vlite3 0.4.8 → 0.5.2
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.
- package/README.md +201 -100
- package/_virtual/Barcode.js +4 -0
- package/_virtual/CODE128.js +4 -0
- package/_virtual/CODE128A.js +4 -0
- package/_virtual/CODE128B.js +4 -0
- package/_virtual/CODE128C.js +4 -0
- package/_virtual/CODE128_AUTO.js +4 -0
- package/_virtual/CODE93.js +4 -0
- package/_virtual/CODE93FullASCII.js +4 -0
- package/_virtual/EAN.js +4 -0
- package/_virtual/EAN13.js +4 -0
- package/_virtual/EAN2.js +4 -0
- package/_virtual/EAN5.js +4 -0
- package/_virtual/EAN8.js +4 -0
- package/_virtual/ErrorHandler.js +4 -0
- package/_virtual/FileSaver.min.js +5 -0
- package/_virtual/FileSaver.min2.js +4 -0
- package/_virtual/ITF.js +4 -0
- package/_virtual/ITF14.js +4 -0
- package/_virtual/JsBarcode.js +7 -0
- package/_virtual/MSI.js +4 -0
- package/_virtual/MSI10.js +4 -0
- package/_virtual/MSI1010.js +4 -0
- package/_virtual/MSI11.js +4 -0
- package/_virtual/MSI1110.js +4 -0
- package/_virtual/UPC.js +4 -0
- package/_virtual/UPCE.js +4 -0
- package/_virtual/_commonjsHelpers.js +8 -0
- package/_virtual/alignment-pattern.js +4 -0
- package/_virtual/auto.js +4 -0
- package/_virtual/browser.js +7 -0
- package/_virtual/browser2.js +4 -0
- package/_virtual/canvas.js +4 -0
- package/_virtual/canvas2.js +4 -0
- package/_virtual/checksums.js +4 -0
- package/_virtual/constants.js +4 -0
- package/_virtual/constants2.js +4 -0
- package/_virtual/constants3.js +4 -0
- package/_virtual/constants4.js +4 -0
- package/_virtual/defaults.js +4 -0
- package/_virtual/dijkstra.js +4 -0
- package/_virtual/encoder.js +4 -0
- package/_virtual/error-correction-code.js +4 -0
- package/_virtual/error-correction-level.js +4 -0
- package/_virtual/exceptions.js +4 -0
- package/_virtual/finder-pattern.js +4 -0
- package/_virtual/fixOptions.js +4 -0
- package/_virtual/format-info.js +4 -0
- package/_virtual/galois-field.js +4 -0
- package/_virtual/getOptionsFromElement.js +4 -0
- package/_virtual/getRenderProperties.js +4 -0
- package/_virtual/index.js +4 -0
- package/_virtual/index10.js +4 -0
- package/_virtual/index11.js +4 -0
- package/_virtual/index2.js +4 -0
- package/_virtual/index3.js +4 -0
- package/_virtual/index4.js +4 -0
- package/_virtual/index5.js +4 -0
- package/_virtual/index6.js +4 -0
- package/_virtual/index7.js +4 -0
- package/_virtual/index8.js +4 -0
- package/_virtual/index9.js +4 -0
- package/_virtual/linearizeEncodings.js +4 -0
- package/_virtual/mask-pattern.js +4 -0
- package/_virtual/merge.js +4 -0
- package/_virtual/mode.js +4 -0
- package/_virtual/object.js +4 -0
- package/_virtual/optionsFromStrings.js +4 -0
- package/_virtual/papaparse.min.js +7 -0
- package/_virtual/papaparse.min2.js +4 -0
- package/_virtual/polynomial.js +4 -0
- package/_virtual/qrcode.js +4 -0
- package/_virtual/regex.js +4 -0
- package/_virtual/segments.js +4 -0
- package/_virtual/shared.js +4 -0
- package/_virtual/svg-tag.js +4 -0
- package/_virtual/svg.js +4 -0
- package/_virtual/utils.js +4 -0
- package/_virtual/utils2.js +4 -0
- package/_virtual/version-check.js +4 -0
- package/_virtual/version.js +4 -0
- package/components/Accordion/Accordion.vue.d.ts +7 -7
- package/components/Accordion/AccordionItem.vue.d.ts +4 -4
- package/components/Accordion/AccordionTrigger.vue.d.ts +2 -2
- package/components/Alert.vue.d.ts +1 -1
- package/components/Avatar.vue.d.ts +2 -2
- package/components/Avatar.vue.js +2 -2
- package/components/AvatarUploader/AvatarUploader.vue.d.ts +5 -5
- package/components/Badge.vue.d.ts +1 -1
- package/components/Barcode/Barcode.vue.d.ts +22 -0
- package/components/Barcode/Barcode.vue.js +58 -0
- package/components/Barcode/Barcode.vue2.js +4 -0
- package/components/Barcode/index.d.ts +2 -0
- package/components/Barcode/types.d.ts +5 -0
- package/components/Barcode/types.js +15 -0
- package/components/Breadcrumb/Breadcrumb.vue.d.ts +23 -0
- package/components/Breadcrumb/Breadcrumb.vue.js +7 -0
- package/components/Breadcrumb/Breadcrumb.vue2.js +84 -0
- package/components/Breadcrumb/BreadcrumbItem.vue.d.ts +27 -0
- package/components/Breadcrumb/BreadcrumbItem.vue.js +7 -0
- package/components/Breadcrumb/BreadcrumbItem.vue2.js +50 -0
- package/components/Breadcrumb/index.d.ts +3 -0
- package/components/Breadcrumb/types.d.ts +19 -0
- package/components/Button.vue.d.ts +4 -4
- package/components/Button.vue.js +32 -29
- package/components/ButtonGroup.vue.d.ts +1 -1
- package/components/Carousel/Carousel.vue.d.ts +58 -58
- package/components/CheckBox.vue.d.ts +2 -2
- package/components/Chip/Chip.vue.d.ts +3 -3
- package/components/ChoiceBox/ChoiceBox.vue.d.ts +4 -4
- package/components/ColorPicker/ColorPicker.vue.d.ts +3 -3
- package/components/ColorPicker/index.d.ts +1 -0
- package/components/CommandPaletteContent.vue.d.ts +15 -0
- package/components/CommandPaletteContent.vue.js +7 -0
- package/components/CommandPaletteContent.vue2.js +287 -0
- package/components/ConfirmationModal.vue.js +12 -10
- package/components/DataList/DataList.vue.d.ts +2 -2
- package/components/DataTable/DataTable.vue.d.ts +6 -6
- package/components/DataTable/DataTableRow.vue.d.ts +3 -3
- package/components/DatePicker.vue.d.ts +2 -2
- package/components/DatePicker.vue.js +7 -7
- package/components/DateRangePicker.vue.d.ts +29 -0
- package/components/DateRangePicker.vue.js +231 -0
- package/components/DateRangePicker.vue2.js +4 -0
- package/components/Dropdown/Dropdown.vue.d.ts +11 -6
- package/components/Dropdown/Dropdown.vue.js +147 -109
- package/components/Dropdown/DropdownBooleanItem.vue.js +9 -8
- package/components/Dropdown/DropdownGroupedLayout.vue.d.ts +1 -1
- package/components/Dropdown/DropdownGroupedLayout.vue.js +35 -34
- package/components/Dropdown/DropdownItem.vue.js +11 -10
- package/components/Dropdown/DropdownMenu.vue.d.ts +5 -3
- package/components/Dropdown/DropdownMenu.vue.js +114 -111
- package/components/Dropdown/DropdownTrigger.vue.d.ts +2 -0
- package/components/Dropdown/DropdownTrigger.vue.js +9 -7
- package/components/ExportData/ExportData.vue.d.ts +16 -0
- package/components/ExportData/ExportData.vue.js +135 -0
- package/components/ExportData/ExportData.vue2.js +4 -0
- package/components/ExportData/index.d.ts +2 -0
- package/components/ExportData/types.d.ts +17 -0
- package/components/FilePicker/FilePicker.vue.d.ts +5 -5
- package/components/Form/CustomFields.vue.d.ts +6 -6
- package/components/Form/CustomFields.vue.js +1 -1
- package/components/Form/Form.vue.d.ts +4 -5
- package/components/Form/Form.vue.js +2 -2
- package/components/Form/Form.vue2.js +221 -178
- package/components/Form/FormField.vue.d.ts +4 -3
- package/components/Form/FormField.vue.js +70 -62
- package/components/Form/FormFields.vue.d.ts +3 -1
- package/components/Form/FormFields.vue.js +2 -2
- package/components/Form/FormFields.vue2.js +105 -59
- package/components/GoogleLogin.vue.d.ts +2 -2
- package/components/Icon.vue.d.ts +2 -0
- package/components/Icon.vue.js +12 -11
- package/components/ImportData/ImportData.vue.d.ts +31 -0
- package/components/ImportData/ImportData.vue.js +242 -0
- package/components/ImportData/ImportData.vue2.js +4 -0
- package/components/ImportData/ImportStep1.vue.d.ts +23 -0
- package/components/ImportData/ImportStep1.vue.js +162 -0
- package/components/ImportData/ImportStep1.vue2.js +4 -0
- package/components/ImportData/ImportStep2.vue.d.ts +20 -0
- package/components/ImportData/ImportStep2.vue.js +98 -0
- package/components/ImportData/ImportStep2.vue2.js +4 -0
- package/components/ImportData/ImportStep3.vue.d.ts +6 -0
- package/components/ImportData/ImportStep3.vue.js +98 -0
- package/components/ImportData/ImportStep3.vue2.js +4 -0
- package/components/ImportData/ImportStep4.vue.d.ts +6 -0
- package/components/ImportData/ImportStep4.vue.js +139 -0
- package/components/ImportData/ImportStep4.vue2.js +4 -0
- package/components/ImportData/index.d.ts +2 -0
- package/components/ImportData/types.d.ts +51 -0
- package/components/Input.vue.d.ts +9 -9
- package/components/Input.vue.js +137 -120
- package/components/List/List.vue.d.ts +18 -0
- package/components/List/List.vue.js +189 -0
- package/components/List/List.vue2.js +4 -0
- package/components/List/ListFieldRow.vue.d.ts +35 -0
- package/components/List/ListFieldRow.vue.js +119 -0
- package/components/List/ListFieldRow.vue2.js +4 -0
- package/components/List/index.d.ts +4 -0
- package/components/List/types.d.ts +1 -0
- package/components/List/utils.d.ts +9 -0
- package/components/List/utils.js +64 -0
- package/components/Masonry/Masonry.vue.d.ts +2 -2
- package/components/Modal.vue.js +5 -122
- package/components/Modal.vue2.js +133 -2
- package/components/MultiSelect/MultiSelect.vue.d.ts +12 -9
- package/components/MultiSelect/MultiSelect.vue.js +101 -64
- package/components/Navbar/Navbar.vue.d.ts +48 -9
- package/components/Navbar/Navbar.vue.js +418 -146
- package/components/Navbar/NavbarItem.vue.d.ts +2 -2
- package/components/Navbar/NavbarTabs.vue.d.ts +21 -0
- package/components/Navbar/NavbarTabs.vue.js +179 -0
- package/components/Navbar/NavbarTabs.vue3.js +5 -0
- package/components/Navbar/index.d.ts +3 -0
- package/components/NavbarCommandPalette.vue.d.ts +48 -0
- package/components/NumberInput.vue.d.ts +8 -8
- package/components/OTPInput/OTPInput.vue.d.ts +7 -7
- package/components/Pagination/Pagination.vue.d.ts +1 -1
- package/components/PermissionMatrix/PermissionEditor.vue.d.ts +36 -0
- package/components/PermissionMatrix/PermissionEditor.vue.js +323 -0
- package/components/PermissionMatrix/PermissionEditor.vue2.js +4 -0
- package/components/PermissionMatrix/PermissionMatrix.vue.d.ts +15 -0
- package/components/PermissionMatrix/PermissionMatrix.vue.js +7 -0
- package/components/PermissionMatrix/PermissionMatrix.vue2.js +245 -0
- package/components/PermissionMatrix/index.d.ts +3 -0
- package/components/PermissionMatrix/types.d.ts +59 -0
- package/components/PricingPlan/PricingPlan.vue.d.ts +3 -3
- package/components/ProgressBar/ProgressBar.vue.d.ts +3 -3
- package/components/QRCode/QRCode.vue.d.ts +15 -0
- package/components/QRCode/QRCode.vue.js +38 -0
- package/components/QRCode/QRCode.vue2.js +4 -0
- package/components/QRCode/index.d.ts +1 -0
- package/components/Screen/Screen.vue.d.ts +232 -5
- package/components/Screen/Screen.vue.js +423 -271
- package/components/Screen/ScreenFilter.vue.d.ts +2 -2
- package/components/Screen/ScreenFilter.vue.js +9 -9
- package/components/Screen/types.d.ts +12 -0
- package/components/SidePanel.vue.d.ts +2 -2
- package/components/SidebarMenu/SidebarMenu.vue.d.ts +15 -2
- package/components/SidebarMenu/SidebarMenu.vue.js +117 -47
- package/components/SidebarMenu/SidebarMenuItem.vue.d.ts +2 -0
- package/components/SidebarMenu/SidebarMenuItem.vue.js +192 -175
- package/components/SidebarMenu/types.d.ts +32 -5
- package/components/Slider.vue.d.ts +2 -2
- package/components/Spinner/Spinner.vue.d.ts +2 -2
- package/components/Stats/Stats.vue.d.ts +14 -0
- package/components/Stats/Stats.vue.js +307 -0
- package/components/Stats/Stats.vue2.js +4 -0
- package/components/Stats/index.d.ts +2 -0
- package/components/Stats/types.d.ts +32 -0
- package/components/Switch.vue.d.ts +2 -1
- package/components/Switch.vue.js +4 -2
- package/components/Tabes/Tabes.vue.d.ts +3 -3
- package/components/Tabes/Tabes.vue.js +60 -57
- package/components/Tabes/types.d.ts +5 -0
- package/components/Textarea.vue.d.ts +3 -3
- package/components/{Timeline.vue.d.ts → Timeline/Timeline.vue.d.ts} +23 -2
- package/components/Timeline/Timeline.vue.js +92 -0
- package/components/Timeline/TimelineIndicator.vue.d.ts +9 -0
- package/components/Timeline/TimelineIndicator.vue.js +68 -0
- package/components/Timeline/TimelineIndicator.vue2.js +4 -0
- package/components/Timeline/TimelineItem.vue.d.ts +56 -0
- package/components/Timeline/TimelineItem.vue.js +173 -0
- package/components/Timeline/TimelineItem.vue2.js +4 -0
- package/components/Timeline/index.d.ts +3 -0
- package/components/Tooltip.vue.d.ts +2 -2
- package/components/Workbook/Sheet.vue.d.ts +2 -2
- package/components/Workbook/Workbook.vue.d.ts +3 -3
- package/components/index.d.ts +62 -0
- package/composables/useBreadcrumb.d.ts +17 -0
- package/composables/useBreadcrumb.js +27 -0
- package/core/config.d.ts +34 -0
- package/core/config.js +10 -7
- package/core/index.js +15 -8
- package/index.d.ts +55 -44
- package/index.js +243 -200
- package/package.json +12 -2
- package/router.d.ts +2 -0
- package/style.css +7 -5
- package/types/button.d.ts +1 -1
- package/types/config.type.d.ts +35 -0
- package/types/form.type.d.ts +3 -1
- package/types/index.d.ts +2 -1
- package/types/list.type.d.ts +57 -0
- package/types/navbar.type.d.ts +38 -1
- package/types/timeline.type.d.ts +14 -4
- package/components/Timeline.vue.js +0 -160
- /package/components/{Timeline.vue2.js → Timeline/Timeline.vue2.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as U, computed as o, markRaw as I, openBlock as r, createBlock as f, mergeProps as u, toHandlers as S, createSlots as N, unref as R, withCtx as n, createVNode as z, createTextVNode as c, toDisplayString as m, createCommentVNode as L, resolveDynamicComponent as B } from "vue";
|
|
2
2
|
import { isComponent as h, isAddonObject as p } from "./utils/form.utils.js";
|
|
3
3
|
import O from "../NumberInput.vue.js";
|
|
4
4
|
import v from "../Button.vue.js";
|
|
@@ -6,16 +6,15 @@ import { $t as T } from "../../utils/i18n.js";
|
|
|
6
6
|
import g from "../Input.vue.js";
|
|
7
7
|
import j from "../Switch.vue.js";
|
|
8
8
|
import D from "../CheckBox.vue.js";
|
|
9
|
-
import E from "../
|
|
10
|
-
import H from "../
|
|
11
|
-
import q from "../AvatarUploader/AvatarUploader.vue.js";
|
|
9
|
+
import E from "../FilePicker/FilePicker.vue.js";
|
|
10
|
+
import H from "../AvatarUploader/AvatarUploader.vue.js";
|
|
12
11
|
import y from "../Dropdown/Dropdown.vue.js";
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
const
|
|
12
|
+
import q from "../MultiSelect/MultiSelect.vue.js";
|
|
13
|
+
import G from "../DatePicker.vue.js";
|
|
14
|
+
import J from "../ColorPicker/ColorPicker.vue.js";
|
|
15
|
+
import K from "../IconPicker.vue.js";
|
|
16
|
+
import M from "./CustomFields.vue.js";
|
|
17
|
+
const ue = /* @__PURE__ */ U({
|
|
19
18
|
__name: "FormField",
|
|
20
19
|
props: {
|
|
21
20
|
field: {},
|
|
@@ -27,18 +26,19 @@ const me = /* @__PURE__ */ N({
|
|
|
27
26
|
disabled: { type: Boolean, default: !1 },
|
|
28
27
|
readonly: { type: Boolean, default: !1 },
|
|
29
28
|
error: { default: "" },
|
|
30
|
-
isUpdate: { type: Boolean, default: !1 }
|
|
29
|
+
isUpdate: { type: Boolean, default: !1 },
|
|
30
|
+
label: {}
|
|
31
31
|
},
|
|
32
32
|
emits: ["change", "addonChange", "addonAction"],
|
|
33
|
-
setup(l, { emit:
|
|
34
|
-
const e = l, s =
|
|
33
|
+
setup(l, { emit: $ }) {
|
|
34
|
+
const e = l, s = $, d = (t, a) => {
|
|
35
35
|
s("change", { value: t, data: a });
|
|
36
|
-
},
|
|
36
|
+
}, w = (t) => {
|
|
37
37
|
s("change", { value: t });
|
|
38
|
-
},
|
|
38
|
+
}, C = o(() => {
|
|
39
39
|
const t = e.field.type;
|
|
40
40
|
if (h(t))
|
|
41
|
-
return
|
|
41
|
+
return I(t);
|
|
42
42
|
switch (t) {
|
|
43
43
|
case "text":
|
|
44
44
|
case "email":
|
|
@@ -46,11 +46,10 @@ const me = /* @__PURE__ */ N({
|
|
|
46
46
|
case "tel":
|
|
47
47
|
case "url":
|
|
48
48
|
case "search":
|
|
49
|
+
case "textarea":
|
|
49
50
|
return g;
|
|
50
51
|
case "number":
|
|
51
52
|
return O;
|
|
52
|
-
case "textarea":
|
|
53
|
-
return E;
|
|
54
53
|
case "switch":
|
|
55
54
|
return j;
|
|
56
55
|
case "check":
|
|
@@ -58,34 +57,38 @@ const me = /* @__PURE__ */ N({
|
|
|
58
57
|
case "select":
|
|
59
58
|
return y;
|
|
60
59
|
case "multiSelect":
|
|
61
|
-
return
|
|
60
|
+
return q;
|
|
62
61
|
case "date":
|
|
63
62
|
case "time":
|
|
64
|
-
return
|
|
63
|
+
return G;
|
|
65
64
|
case "file":
|
|
66
65
|
case "fileUploader":
|
|
67
|
-
return
|
|
66
|
+
return E;
|
|
68
67
|
case "avatarUpload":
|
|
69
|
-
return
|
|
68
|
+
return H;
|
|
70
69
|
case "color":
|
|
71
|
-
return
|
|
70
|
+
return J;
|
|
72
71
|
case "iconPicker":
|
|
73
|
-
return
|
|
72
|
+
return K;
|
|
74
73
|
case "customFields":
|
|
75
|
-
return
|
|
74
|
+
return M;
|
|
76
75
|
default:
|
|
77
76
|
return g;
|
|
78
77
|
}
|
|
79
|
-
}), x =
|
|
78
|
+
}), x = o(() => {
|
|
80
79
|
const t = e.field.type, a = {
|
|
81
80
|
disabled: e.disabled || e.field.disabled === !0,
|
|
82
|
-
...e
|
|
81
|
+
...e?.field || {},
|
|
82
|
+
...e.field.props || {},
|
|
83
|
+
label: e?.field?.label,
|
|
84
|
+
labelI18n: e?.field?.labelI18n
|
|
83
85
|
}, i = e.field.placeholderI18n ? T(e.field.placeholderI18n) : e.field.placeholder;
|
|
84
|
-
return t === "text" || t === "email" || t === "password" || t === "tel" || t === "url" || t === "search" || !t ? {
|
|
86
|
+
return t === "text" || t === "email" || t === "password" || t === "tel" || t === "url" || t === "search" || t === "textarea" || !t ? {
|
|
85
87
|
...a,
|
|
86
88
|
modelValue: e.value ?? "",
|
|
87
89
|
type: t || "text",
|
|
88
90
|
placeholder: i,
|
|
91
|
+
label: e.label,
|
|
89
92
|
icon: e.field.icon,
|
|
90
93
|
iconRight: e.field.iconRight,
|
|
91
94
|
// Only pass addon strings; object addons are rendered via slots
|
|
@@ -98,6 +101,7 @@ const me = /* @__PURE__ */ N({
|
|
|
98
101
|
min: e.field.min,
|
|
99
102
|
// kept for validation attributes if needed
|
|
100
103
|
max: e.field.max,
|
|
104
|
+
rows: t === "textarea" ? e.field.props?.rows || 3 : void 0,
|
|
101
105
|
class: `${e.field.className}`
|
|
102
106
|
} : t === "number" ? {
|
|
103
107
|
...a,
|
|
@@ -111,12 +115,6 @@ const me = /* @__PURE__ */ N({
|
|
|
111
115
|
rounded: e.rounded,
|
|
112
116
|
placeholder: i,
|
|
113
117
|
class: e.field.className
|
|
114
|
-
} : t === "textarea" ? {
|
|
115
|
-
...a,
|
|
116
|
-
modelValue: e.value ?? "",
|
|
117
|
-
placeholder: i,
|
|
118
|
-
rows: e.field.props?.rows || 3,
|
|
119
|
-
class: e.field.className
|
|
120
118
|
} : t === "switch" ? {
|
|
121
119
|
...a,
|
|
122
120
|
modelValue: !!e.value,
|
|
@@ -133,17 +131,24 @@ const me = /* @__PURE__ */ N({
|
|
|
133
131
|
options: e.field.options || [],
|
|
134
132
|
placeholder: i,
|
|
135
133
|
selectable: !0,
|
|
136
|
-
closeOnSelect: !0
|
|
134
|
+
closeOnSelect: !0,
|
|
135
|
+
triggerProps: {
|
|
136
|
+
variant: e.variant === "floating" ? "outline-floating" : e.variant || "outline"
|
|
137
|
+
}
|
|
137
138
|
} : t === "multiSelect" ? {
|
|
138
139
|
...a,
|
|
139
140
|
modelValue: Array.isArray(e.value) ? e.value : [],
|
|
140
141
|
options: e.field.options || [],
|
|
141
|
-
placeholder: i
|
|
142
|
+
placeholder: i,
|
|
143
|
+
variant: e.variant
|
|
142
144
|
} : t === "date" || t === "time" ? {
|
|
143
145
|
...a,
|
|
144
146
|
modelValue: e.value,
|
|
145
147
|
mode: t === "time" ? "time" : "date",
|
|
146
|
-
placeholder: i
|
|
148
|
+
placeholder: i,
|
|
149
|
+
btnProps: {
|
|
150
|
+
variant: e.variant === "floating" ? "outline-floating" : e.variant || "outline"
|
|
151
|
+
}
|
|
147
152
|
} : t === "fileUploader" || t === "file" ? {
|
|
148
153
|
...a,
|
|
149
154
|
modelValue: e.value,
|
|
@@ -183,10 +188,10 @@ const me = /* @__PURE__ */ N({
|
|
|
183
188
|
value: e.value,
|
|
184
189
|
values: e.values
|
|
185
190
|
} : a;
|
|
186
|
-
}),
|
|
191
|
+
}), b = o(() => {
|
|
187
192
|
const t = e.field.type;
|
|
188
193
|
return t === "text" || t === "email" || t === "password" || t === "tel" || t === "url" || t === "search" || t === "textarea" || t === "switch" || t === "check" || t === "number" || !t ? {
|
|
189
|
-
"update:modelValue":
|
|
194
|
+
"update:modelValue": w
|
|
190
195
|
} : t === "select" ? {
|
|
191
196
|
onSelect: (a) => {
|
|
192
197
|
d(a.value, a.data);
|
|
@@ -220,32 +225,32 @@ const me = /* @__PURE__ */ N({
|
|
|
220
225
|
d(a.value, a.data);
|
|
221
226
|
}
|
|
222
227
|
} : {};
|
|
223
|
-
}),
|
|
228
|
+
}), F = o(() => p(e.field.addonLeft) || p(e.field.addonRight)), A = o(() => {
|
|
224
229
|
const t = e.field.type;
|
|
225
230
|
return t === "text" || t === "email" || t === "password" || t === "tel" || t === "url" || t === "search" || !t;
|
|
226
|
-
}),
|
|
231
|
+
}), P = o(() => F.value && A.value), V = (t, a) => {
|
|
227
232
|
s("addonChange", t.name, { value: a.value });
|
|
228
233
|
}, k = (t) => {
|
|
229
234
|
t.action && s("addonAction", t.action);
|
|
230
235
|
};
|
|
231
|
-
return (t, a) =>
|
|
236
|
+
return (t, a) => P.value ? (r(), f(g, u({ key: 0 }, {
|
|
232
237
|
...x.value,
|
|
233
238
|
...l.field?.props || {}
|
|
234
|
-
}, S(
|
|
239
|
+
}, S(b.value)), N({ _: 2 }, [
|
|
235
240
|
R(p)(l.field.addonLeft) ? {
|
|
236
241
|
name: "addon-left",
|
|
237
|
-
fn:
|
|
242
|
+
fn: n(() => [
|
|
238
243
|
l.field.addonLeft.type === "select" ? (r(), f(y, u({
|
|
239
244
|
key: 0,
|
|
240
245
|
modelValue: l.field.addonLeft.name ? l.values[l.field.addonLeft.name] : void 0,
|
|
241
246
|
options: l.field.addonLeft.options || []
|
|
242
247
|
}, l.field.addonLeft.props || {}, {
|
|
243
|
-
onOnSelect: a[0] || (a[0] = (i) =>
|
|
248
|
+
onOnSelect: a[0] || (a[0] = (i) => V(l.field.addonLeft, i))
|
|
244
249
|
}), {
|
|
245
|
-
trigger:
|
|
250
|
+
trigger: n(({ selectedLabel: i }) => [
|
|
246
251
|
z(v, { variant: "outline" }, {
|
|
247
|
-
default:
|
|
248
|
-
m(
|
|
252
|
+
default: n(() => [
|
|
253
|
+
c(m(i), 1)
|
|
249
254
|
]),
|
|
250
255
|
_: 2
|
|
251
256
|
}, 1024)
|
|
@@ -257,28 +262,28 @@ const me = /* @__PURE__ */ N({
|
|
|
257
262
|
}, l.field.addonLeft.props || {}, {
|
|
258
263
|
onClick: a[1] || (a[1] = (i) => k(l.field.addonLeft))
|
|
259
264
|
}), {
|
|
260
|
-
default:
|
|
261
|
-
m(
|
|
265
|
+
default: n(() => [
|
|
266
|
+
c(m(l.field.addonLeft.text), 1)
|
|
262
267
|
]),
|
|
263
268
|
_: 1
|
|
264
|
-
}, 16)) :
|
|
269
|
+
}, 16)) : L("", !0)
|
|
265
270
|
]),
|
|
266
271
|
key: "0"
|
|
267
272
|
} : void 0,
|
|
268
273
|
R(p)(l.field.addonRight) ? {
|
|
269
274
|
name: "addon-right",
|
|
270
|
-
fn:
|
|
275
|
+
fn: n(() => [
|
|
271
276
|
l.field.addonRight.type === "select" ? (r(), f(y, u({
|
|
272
277
|
key: 0,
|
|
273
278
|
modelValue: l.field.addonRight.name ? l.values[l.field.addonRight.name] : void 0,
|
|
274
279
|
options: l.field.addonRight.options || []
|
|
275
280
|
}, l.field.addonRight.props || {}, {
|
|
276
|
-
onOnSelect: a[2] || (a[2] = (i) =>
|
|
281
|
+
onOnSelect: a[2] || (a[2] = (i) => V(l.field.addonRight, i))
|
|
277
282
|
}), {
|
|
278
|
-
trigger:
|
|
283
|
+
trigger: n(({ selectedLabel: i }) => [
|
|
279
284
|
z(v, { variant: "outline" }, {
|
|
280
|
-
default:
|
|
281
|
-
m(
|
|
285
|
+
default: n(() => [
|
|
286
|
+
c(m(i), 1)
|
|
282
287
|
]),
|
|
283
288
|
_: 2
|
|
284
289
|
}, 1024)
|
|
@@ -290,20 +295,23 @@ const me = /* @__PURE__ */ N({
|
|
|
290
295
|
}, l.field.addonRight.props || {}, {
|
|
291
296
|
onClick: a[3] || (a[3] = (i) => k(l.field.addonRight))
|
|
292
297
|
}), {
|
|
293
|
-
default:
|
|
294
|
-
m(
|
|
298
|
+
default: n(() => [
|
|
299
|
+
c(m(l.field.addonRight.text), 1)
|
|
295
300
|
]),
|
|
296
301
|
_: 1
|
|
297
|
-
}, 16)) :
|
|
302
|
+
}, 16)) : L("", !0)
|
|
298
303
|
]),
|
|
299
304
|
key: "1"
|
|
300
305
|
} : void 0
|
|
301
|
-
]), 1040)) : (r(), f(
|
|
306
|
+
]), 1040)) : (r(), f(B(C.value), u({
|
|
307
|
+
key: 1,
|
|
308
|
+
class: ["switch", "check"].includes(l.field?.type) ? "" : "w-full"
|
|
309
|
+
}, {
|
|
302
310
|
...x.value,
|
|
303
311
|
...l.field?.props || {}
|
|
304
|
-
}, S(
|
|
312
|
+
}, S(b.value)), null, 16, ["class"]));
|
|
305
313
|
}
|
|
306
314
|
});
|
|
307
315
|
export {
|
|
308
|
-
|
|
316
|
+
ue as default
|
|
309
317
|
};
|
|
@@ -9,6 +9,7 @@ interface Props {
|
|
|
9
9
|
rounded?: InputRounded;
|
|
10
10
|
className?: string;
|
|
11
11
|
isUpdate?: boolean;
|
|
12
|
+
showRequiredAsterisk?: boolean;
|
|
12
13
|
/** Function to check if field is visible */
|
|
13
14
|
isFieldVisible?: (field: IForm) => boolean;
|
|
14
15
|
/** Function to check if field is disabled */
|
|
@@ -23,9 +24,10 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
23
24
|
onChange?: (name: string, payload: IFormFieldChangePayload) => any;
|
|
24
25
|
onAddonAction?: (action: string) => any;
|
|
25
26
|
}>, {
|
|
26
|
-
size: InputSize;
|
|
27
27
|
variant: InputVariant;
|
|
28
|
+
size: InputSize;
|
|
28
29
|
rounded: InputRounded;
|
|
30
|
+
showRequiredAsterisk: boolean;
|
|
29
31
|
isUpdate: boolean;
|
|
30
32
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
31
33
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./FormFields.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const c = /* @__PURE__ */ r(o, [["__scopeId", "data-v-03c267ac"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
c as default
|
|
7
7
|
};
|
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { isComponent as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { $t as
|
|
6
|
-
const
|
|
1
|
+
import { defineComponent as H, computed as O, ref as j, openBlock as s, createElementBlock as r, normalizeClass as i, Fragment as l, renderList as G, createBlock as d, withCtx as A, unref as _, resolveDynamicComponent as w, createTextVNode as b, toDisplayString as m, createCommentVNode as u, createElementVNode as J, createVNode as K } from "vue";
|
|
2
|
+
import { isComponent as p, getNestedValue as M } from "./utils/form.utils.js";
|
|
3
|
+
import V from "../Label.vue.js";
|
|
4
|
+
import P from "./FormField.vue.js";
|
|
5
|
+
import { $t as Q } from "../../utils/i18n.js";
|
|
6
|
+
const W = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "text-destructive ml-0.5"
|
|
9
|
-
},
|
|
9
|
+
}, X = ["onFocusin", "onFocusout"], Y = ["for"], Z = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "text-destructive ml-0.5"
|
|
12
|
-
},
|
|
12
|
+
}, ee = {
|
|
13
|
+
key: 0,
|
|
14
|
+
class: "text-destructive ml-0.5"
|
|
15
|
+
}, te = {
|
|
13
16
|
key: 2,
|
|
14
17
|
class: "mt-1 text-sm text-destructive"
|
|
15
|
-
},
|
|
18
|
+
}, ce = /* @__PURE__ */ H({
|
|
16
19
|
__name: "FormFields",
|
|
17
20
|
props: {
|
|
18
21
|
schema: {},
|
|
@@ -23,80 +26,123 @@ const T = {
|
|
|
23
26
|
rounded: { default: "md" },
|
|
24
27
|
className: {},
|
|
25
28
|
isUpdate: { type: Boolean, default: !1 },
|
|
29
|
+
showRequiredAsterisk: { type: Boolean, default: !0 },
|
|
26
30
|
isFieldVisible: {},
|
|
27
31
|
isFieldDisabled: {},
|
|
28
32
|
isFieldReadonly: {}
|
|
29
33
|
},
|
|
30
34
|
emits: ["change", "addonAction"],
|
|
31
|
-
setup(
|
|
32
|
-
const
|
|
33
|
-
if (
|
|
34
|
-
}),
|
|
35
|
-
if (
|
|
36
|
-
return
|
|
37
|
-
},
|
|
38
|
-
|
|
39
|
-
},
|
|
40
|
-
|
|
41
|
-
},
|
|
42
|
-
|
|
35
|
+
setup(c, { emit: N }) {
|
|
36
|
+
const a = c, y = N, L = O(() => {
|
|
37
|
+
if (a.className) return a.className;
|
|
38
|
+
}), k = (t) => M(a.values, t.name), h = (t) => a.errors[t.name] || "", z = (t) => a.isFieldVisible ? a.isFieldVisible(t) : !0, D = (t) => a.isFieldDisabled ? a.isFieldDisabled(t) : t.disabled === !0, R = (t) => a.isFieldReadonly ? a.isFieldReadonly(t) : t.readonly === !0, o = (t) => t.labelI18n ? Q(t.labelI18n) : t.label, x = (t) => {
|
|
39
|
+
if (t)
|
|
40
|
+
return p(t), t;
|
|
41
|
+
}, $ = (t, n) => {
|
|
42
|
+
y("change", t.name, n);
|
|
43
|
+
}, q = (t) => t.itemClass || "", B = (t, n) => {
|
|
44
|
+
y("change", t, n);
|
|
45
|
+
}, I = (t) => {
|
|
46
|
+
y("addonAction", t);
|
|
47
|
+
}, v = j({}), U = (t) => {
|
|
48
|
+
v.value[t] = !0;
|
|
49
|
+
}, E = (t) => {
|
|
50
|
+
v.value[t] = !1;
|
|
51
|
+
}, f = (t) => {
|
|
52
|
+
const n = k(t), e = n != null && n !== "" && !(Array.isArray(n) && n.length === 0);
|
|
53
|
+
return v.value[t.name] || e;
|
|
54
|
+
}, T = (t) => {
|
|
55
|
+
const n = t.type || "text";
|
|
56
|
+
return ["text", "email", "password", "tel", "url", "search", "textarea"].includes(n);
|
|
57
|
+
}, S = (t) => t.type === "number" && t.props?.variant !== "stacked" ? "left-10" : t.type === "date" || t.type === "time" || t.type === "color" ? "left-9" : "left-3", g = (t) => {
|
|
58
|
+
if (a.variant !== "floating") return !1;
|
|
59
|
+
const n = t.type || "text";
|
|
60
|
+
return !["switch", "check", "customFields", "avatarUpload", "number"].includes(n);
|
|
61
|
+
}, C = (t) => {
|
|
62
|
+
const n = o(t);
|
|
63
|
+
if (!(!n || p(n)))
|
|
64
|
+
return n;
|
|
43
65
|
};
|
|
44
|
-
return (
|
|
45
|
-
class:
|
|
66
|
+
return (t, n) => (s(), r("div", {
|
|
67
|
+
class: i(["grid", c.variant === "floating" ? "gap-6" : "gap-4", L.value])
|
|
46
68
|
}, [
|
|
47
|
-
(
|
|
48
|
-
key:
|
|
69
|
+
(s(!0), r(l, null, G(c.schema, (e) => (s(), r(l, {
|
|
70
|
+
key: e.name
|
|
49
71
|
}, [
|
|
50
|
-
|
|
72
|
+
z(e) ? (s(), r("div", {
|
|
51
73
|
key: 0,
|
|
52
|
-
class:
|
|
74
|
+
class: i(["form-field-item", q(e)])
|
|
53
75
|
}, [
|
|
54
|
-
o(
|
|
76
|
+
o(e) && e.type !== "switch" && e.type !== "check" && e.type !== "customFields" && !g(e) ? (s(), d(V, {
|
|
55
77
|
key: 0,
|
|
56
|
-
for:
|
|
78
|
+
for: e.name,
|
|
57
79
|
class: "mb-2 block text-sm font-medium"
|
|
58
80
|
}, {
|
|
59
|
-
default:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
81
|
+
default: A(() => [
|
|
82
|
+
_(p)(o(e)) ? (s(), d(w(x(o(e))), { key: 0 })) : (s(), r(l, { key: 1 }, [
|
|
83
|
+
b(m(o(e)) + " ", 1),
|
|
84
|
+
e.required && c.showRequiredAsterisk ? (s(), r("span", W, "*")) : u("", !0)
|
|
63
85
|
], 64))
|
|
64
86
|
]),
|
|
65
87
|
_: 2
|
|
66
|
-
}, 1032, ["for"])) :
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
88
|
+
}, 1032, ["for"])) : u("", !0),
|
|
89
|
+
J("div", {
|
|
90
|
+
class: i(["relative", ["switch", "check"].includes(e.type) ? "w-auto" : "w-full"]),
|
|
91
|
+
onFocusin: (F) => U(e.name),
|
|
92
|
+
onFocusout: (F) => E(e.name)
|
|
93
|
+
}, [
|
|
94
|
+
g(e) && C(e) && !T(e) ? (s(), r("label", {
|
|
95
|
+
key: 0,
|
|
96
|
+
for: e.name,
|
|
97
|
+
class: i([
|
|
98
|
+
"absolute transition-all duration-200 ease-in-out pointer-events-none z-20",
|
|
99
|
+
f(e) ? "-top-2.5 left-3 text-xs bg-background px-1 text-primary shadow-[0_4px_4px_-4px_bg-background]" : `top-2.5 text-sm text-muted-foreground/70 ${S(e)}`
|
|
100
|
+
])
|
|
101
|
+
}, [
|
|
102
|
+
_(p)(o(e)) ? (s(), d(w(x(o(e))), { key: 0 })) : (s(), r(l, { key: 1 }, [
|
|
103
|
+
b(m(o(e)) + " ", 1),
|
|
104
|
+
e.required ? (s(), r("span", Z, "*")) : u("", !0)
|
|
105
|
+
], 64))
|
|
106
|
+
], 10, Y)) : u("", !0),
|
|
107
|
+
K(P, {
|
|
108
|
+
field: a.variant === "floating" ? {
|
|
109
|
+
...e,
|
|
110
|
+
placeholder: void 0,
|
|
111
|
+
placeholderI18n: void 0,
|
|
112
|
+
props: { ...e.props || {}, id: e.name }
|
|
113
|
+
} : { ...e, props: { ...e.props || {}, id: e.name } },
|
|
114
|
+
value: k(e),
|
|
115
|
+
label: e.type === "customFields" ? void 0 : g(e) ? C(e) : void 0,
|
|
116
|
+
values: c.values,
|
|
117
|
+
variant: c.variant,
|
|
118
|
+
size: c.size,
|
|
119
|
+
rounded: c.rounded,
|
|
120
|
+
disabled: D(e),
|
|
121
|
+
readonly: R(e),
|
|
122
|
+
error: h(e),
|
|
123
|
+
isUpdate: c.isUpdate,
|
|
124
|
+
onChange: (F) => $(e, F),
|
|
125
|
+
onAddonChange: B,
|
|
126
|
+
onAddonAction: I
|
|
127
|
+
}, null, 8, ["field", "value", "label", "values", "variant", "size", "rounded", "disabled", "readonly", "error", "isUpdate", "onChange"])
|
|
128
|
+
], 42, X),
|
|
129
|
+
o(e) && (e.type === "switch" || e.type === "check") ? (s(), d(V, {
|
|
84
130
|
key: 1,
|
|
85
|
-
for:
|
|
131
|
+
for: e.name,
|
|
86
132
|
class: "ml-2 text-sm font-medium cursor-pointer"
|
|
87
133
|
}, {
|
|
88
|
-
default:
|
|
89
|
-
|
|
90
|
-
|
|
134
|
+
default: A(() => [
|
|
135
|
+
b(m(o(e)) + " ", 1),
|
|
136
|
+
e.required ? (s(), r("span", ee, "*")) : u("", !0)
|
|
91
137
|
]),
|
|
92
138
|
_: 2
|
|
93
|
-
}, 1032, ["for"])) :
|
|
94
|
-
|
|
95
|
-
], 2)) :
|
|
139
|
+
}, 1032, ["for"])) : u("", !0),
|
|
140
|
+
h(e) ? (s(), r("p", te, m(h(e)), 1)) : u("", !0)
|
|
141
|
+
], 2)) : u("", !0)
|
|
96
142
|
], 64))), 128))
|
|
97
143
|
], 2));
|
|
98
144
|
}
|
|
99
145
|
});
|
|
100
146
|
export {
|
|
101
|
-
|
|
147
|
+
ce as default
|
|
102
148
|
};
|
|
@@ -27,10 +27,10 @@ declare const __VLS_component: import('vue').DefineComponent<GoogleLoginProps, {
|
|
|
27
27
|
onSuccess?: (response: any) => any;
|
|
28
28
|
onError?: (error: any) => any;
|
|
29
29
|
}>, {
|
|
30
|
-
disabled: boolean;
|
|
31
|
-
size: any;
|
|
32
30
|
variant: any;
|
|
31
|
+
size: any;
|
|
33
32
|
rounded: any;
|
|
33
|
+
disabled: boolean;
|
|
34
34
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
35
35
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
36
36
|
export default _default;
|
package/components/Icon.vue.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
icon?: string;
|
|
3
|
+
emoji?: string;
|
|
3
4
|
};
|
|
4
5
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
5
6
|
icon: string;
|
|
7
|
+
emoji: string;
|
|
6
8
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
9
|
export default _default;
|
package/components/Icon.vue.js
CHANGED
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Icon as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as a, computed as l, openBlock as i, createElementBlock as r, mergeProps as o, toDisplayString as m, createBlock as u, unref as f, createCommentVNode as d } from "vue";
|
|
2
|
+
import { Icon as g } from "@iconify/vue";
|
|
3
|
+
const h = ["src"], j = /* @__PURE__ */ a({
|
|
4
4
|
inheritAttrs: !1,
|
|
5
5
|
__name: "Icon",
|
|
6
6
|
props: {
|
|
7
|
-
icon: { default: "" }
|
|
7
|
+
icon: { default: "" },
|
|
8
|
+
emoji: { default: "" }
|
|
8
9
|
},
|
|
9
10
|
setup(e) {
|
|
10
|
-
const t = e,
|
|
11
|
-
return (n,
|
|
12
|
-
key:
|
|
11
|
+
const t = e, c = l(() => t.icon ? t.icon.startsWith("http://") || t.icon.startsWith("https://") || t.icon.startsWith("data:image/") ? !0 : [".png", ".jpg", ".jpeg", ".gif", ".svg", ".webp", ".ico", ".avif"].some((s) => t.icon.toLowerCase().endsWith(s)) : !1);
|
|
12
|
+
return (n, s) => e.emoji ? (i(), r("span", o({ key: 0 }, n.$attrs, { class: "inline-flex items-center justify-center font-normal" }), m(e.emoji), 17)) : e.icon && c.value ? (i(), r("img", o({
|
|
13
|
+
key: 1,
|
|
13
14
|
src: e.icon
|
|
14
15
|
}, n.$attrs, {
|
|
15
16
|
alt: "icon",
|
|
16
17
|
class: "rounded-full scale-105"
|
|
17
|
-
}), null, 16,
|
|
18
|
-
key:
|
|
18
|
+
}), null, 16, h)) : e.icon ? (i(), u(f(g), o({
|
|
19
|
+
key: 2,
|
|
19
20
|
icon: e.icon
|
|
20
|
-
}, n.$attrs), null, 16, ["icon"]));
|
|
21
|
+
}, n.$attrs), null, 16, ["icon"])) : d("", !0);
|
|
21
22
|
}
|
|
22
23
|
});
|
|
23
24
|
export {
|
|
24
|
-
|
|
25
|
+
j as default
|
|
25
26
|
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ImportDataProps } from './types';
|
|
2
|
+
type __VLS_Props = ImportDataProps & {
|
|
3
|
+
show?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
trigger?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: any;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
15
|
+
"update:show": (value: boolean) => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
"onUpdate:show"?: (value: boolean) => any;
|
|
18
|
+
}>, {
|
|
19
|
+
title: string;
|
|
20
|
+
batchSize: number;
|
|
21
|
+
show: boolean;
|
|
22
|
+
buttonText: string;
|
|
23
|
+
buttonIcon: string;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|