vlite3 1.4.30 → 1.4.32

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 (79) hide show
  1. package/components/Accordion/Accordion.vue.js +19 -16
  2. package/components/Accordion/AccordionContent.vue.js +2 -2
  3. package/components/Accordion/AccordionItem.vue.js +38 -36
  4. package/components/CategoryManager/CategoryManager.vue2.js +3 -2
  5. package/components/Chart/GanttChart.vue.d.ts +13 -1
  6. package/components/Chart/GanttChart.vue.js +2 -2
  7. package/components/Chart/GanttChart.vue2.js +1185 -607
  8. package/components/Chart/GanttChartDateUtils.d.ts +38 -0
  9. package/components/Chart/GanttChartDateUtils.js +79 -0
  10. package/components/Chart/GanttChartDependencyUtils.d.ts +92 -0
  11. package/components/Chart/GanttChartDependencyUtils.js +113 -0
  12. package/components/Chart/GanttChartResizePreviewUtils.d.ts +52 -0
  13. package/components/Chart/GanttChartResizePreviewUtils.js +53 -0
  14. package/components/Chart/GanttChartTooltipUtils.d.ts +41 -0
  15. package/components/Chart/GanttChartTooltipUtils.js +63 -0
  16. package/components/Chart/index.d.ts +3 -1
  17. package/components/Chart/types.d.ts +76 -1
  18. package/components/Chart/types.js +8 -0
  19. package/components/FilePicker/FilePickerDropzone.vue.js +1 -1
  20. package/components/FilePicker/index.vue.js +2 -4
  21. package/components/Form/AccordionView.vue2.js +5 -2
  22. package/components/Form/AccordionView.vue3.js +250 -0
  23. package/components/Form/Form.vue.d.ts +0 -2
  24. package/components/Form/Form.vue.js +1 -1
  25. package/components/Form/Form.vue2.js +415 -354
  26. package/components/Form/FormField.vue.js +175 -196
  27. package/components/Form/FormFields.vue.js +1 -1
  28. package/components/Form/FormFields.vue2.js +60 -60
  29. package/components/Form/FormSkeleton.vue.js +50 -35
  30. package/components/Form/TableView.vue.js +59 -43
  31. package/components/Form/composables/useForm.js +159 -148
  32. package/components/Form/index.vue2.js +8 -8
  33. package/components/Form/utils/form.utils.d.ts +2 -0
  34. package/components/Form/utils/form.utils.js +17 -13
  35. package/components/GoogleMap.vue.d.ts +1 -1
  36. package/components/PanZoomViewport/PanZoomViewport.vue.d.ts +189 -0
  37. package/components/PanZoomViewport/PanZoomViewport.vue.js +7 -0
  38. package/components/PanZoomViewport/PanZoomViewport.vue2.js +536 -0
  39. package/components/PanZoomViewport/index.d.ts +2 -0
  40. package/components/PanZoomViewport/types.d.ts +121 -0
  41. package/components/ScaleGenerator/ScaleGenerator.vue.d.ts +3 -0
  42. package/components/ScaleGenerator/ScaleGenerator.vue.js +5 -108
  43. package/components/ScaleGenerator/ScaleGenerator.vue2.js +143 -2
  44. package/components/ScaleGenerator/types.d.ts +2 -0
  45. package/components/Screen/ScreenFilter.vue.js +18 -17
  46. package/components/SeoProvider/SeoProvider.vue.d.ts +4 -1
  47. package/components/SeoProvider/SeoProvider.vue.js +39 -33
  48. package/components/SeoProvider/domAdapter.d.ts +1 -4
  49. package/components/SeoProvider/domAdapter.js +71 -58
  50. package/components/SeoProvider/index.d.ts +5 -2
  51. package/components/SeoProvider/normalizeSeo.d.ts +10 -49
  52. package/components/SeoProvider/normalizeSeo.js +246 -182
  53. package/components/SeoProvider/plainText.d.ts +8 -0
  54. package/components/SeoProvider/plainText.js +117 -0
  55. package/components/SeoProvider/seoUrl.d.ts +13 -0
  56. package/components/SeoProvider/seoUrl.js +25 -0
  57. package/components/SeoProvider/structuredData.d.ts +100 -0
  58. package/components/SeoProvider/structuredData.js +33 -0
  59. package/components/SeoProvider/types.d.ts +47 -109
  60. package/components/Tabes/Tabes.vue.d.ts +10 -1
  61. package/components/Tabes/Tabes.vue.js +1 -1
  62. package/components/Tabes/Tabes.vue2.js +271 -170
  63. package/components/Tabes/TabesMarkerGeometry.d.ts +34 -0
  64. package/components/Tabes/TabesMarkerGeometry.js +21 -0
  65. package/components/Tabes/tabes.utils.d.ts +14 -0
  66. package/components/Tabes/tabes.utils.js +26 -0
  67. package/components/Tabes/types.d.ts +32 -0
  68. package/components/ThemeProvider/ThemeProvider.vue.d.ts +2 -0
  69. package/components/ThemeProvider/ThemeProvider.vue.js +29 -23
  70. package/components/ThemeProvider/index.d.ts +1 -1
  71. package/components/ThemeProvider/themeVars.d.ts +9 -13
  72. package/components/ThemeProvider/themeVars.js +173 -125
  73. package/components/ThemeProvider/types.d.ts +10 -0
  74. package/components/index.d.ts +2 -1
  75. package/index.d.ts +1 -0
  76. package/index.js +415 -387
  77. package/package.json +3 -2
  78. package/style.css +1 -1
  79. package/components/Form/AccordionView.vue.js +0 -222
@@ -1,27 +1,27 @@
1
- import { defineComponent as E, computed as f, markRaw as O, openBlock as c, createBlock as m, mergeProps as p, toHandlers as P, createSlots as M, unref as L, withCtx as u, createVNode as N, createTextVNode as y, toDisplayString as x, createCommentVNode as T, resolveDynamicComponent as q } from "vue";
2
- import { resolveFieldType as G, isComponent as R, isAddonObject as B } from "./utils/form.utils.js";
3
- import J from "../NumberInput.vue.js";
4
- import z from "../Button.vue.js";
5
- import { resolveI18nText as K } from "../../utils/i18n.js";
6
- import V from "../Input.vue.js";
1
+ import { defineComponent as q, markRaw as t, computed as c, openBlock as p, createBlock as v, mergeProps as g, toHandlers as T, createSlots as G, unref as B, withCtx as m, createVNode as U, createTextVNode as z, toDisplayString as V, createCommentVNode as E, resolveDynamicComponent as J } from "vue";
2
+ import { resolveFieldType as K, isComponent as A, isAddonObject as D } from "./utils/form.utils.js";
3
+ import Q from "../NumberInput.vue.js";
4
+ import S from "../Button.vue.js";
5
+ import { resolveI18nText as X } from "../../utils/i18n.js";
6
+ import s from "../Input.vue.js";
7
7
  /* empty css */
8
- import Q from "../Switch.vue.js";
9
- import W from "../CheckBox.vue.js";
10
- import X from "../FilePicker/index.vue.js";
11
- import Y from "../AvatarUploader/AvatarUploader.vue.js";
12
- import Z from "../ThumbnailSelector/ThumbnailSelector.vue.js";
13
- import _ from "../TagInput/TagInput.vue.js";
14
- import w from "../Dropdown/Dropdown.vue.js";
15
- import ee from "../MultiSelect/MultiSelect.vue.js";
16
- import ae from "../DatePicker.vue.js";
17
- import le from "../DateRangePicker.vue.js";
18
- import ie from "../ColorPicker/ColorPicker.vue.js";
19
- import te from "../IconPicker.vue.js";
8
+ import Z from "../Switch.vue.js";
9
+ import _ from "../CheckBox.vue.js";
10
+ import O from "../FilePicker/index.vue.js";
11
+ import ee from "../AvatarUploader/AvatarUploader.vue.js";
12
+ import ae from "../ThumbnailSelector/ThumbnailSelector.vue.js";
13
+ import le from "../TagInput/TagInput.vue.js";
14
+ import F from "../Dropdown/Dropdown.vue.js";
15
+ import ie from "../MultiSelect/MultiSelect.vue.js";
16
+ import H from "../DatePicker.vue.js";
17
+ import te from "../DateRangePicker.vue.js";
18
+ import de from "../ColorPicker/ColorPicker.vue.js";
19
+ import ne from "../IconPicker.vue.js";
20
20
  import re from "./index.vue.js";
21
- import ne from "../ChoiceBox/ChoiceBox.vue.js";
22
- import de from "../RichTextEditor/RichTextEditor.vue.js";
21
+ import oe from "../ChoiceBox/ChoiceBox.vue.js";
22
+ import se from "../RichTextEditor/RichTextEditor.vue.js";
23
23
  /* empty css */
24
- const Ne = /* @__PURE__ */ E({
24
+ const Be = /* @__PURE__ */ q({
25
25
  __name: "FormField",
26
26
  props: {
27
27
  field: {},
@@ -40,86 +40,65 @@ const Ne = /* @__PURE__ */ E({
40
40
  loading: { type: Boolean, default: !1 }
41
41
  },
42
42
  emits: ["change", "addonChange", "addonAction"],
43
- setup(t, { emit: U }) {
44
- const e = t, v = U, d = (a, l) => {
45
- v("change", { value: a, data: l });
46
- }, S = (a) => {
47
- v("change", { value: a });
48
- }, o = f(() => G(e.field, {
43
+ setup(d, { emit: j }) {
44
+ const I = {
45
+ text: t(s),
46
+ email: t(s),
47
+ password: t(s),
48
+ tel: t(s),
49
+ url: t(s),
50
+ search: t(s),
51
+ textarea: t(s),
52
+ number: t(Q),
53
+ switch: t(Z),
54
+ check: t(_),
55
+ select: t(F),
56
+ multiSelect: t(ie),
57
+ choiceBox: t(oe),
58
+ date: t(H),
59
+ time: t(H),
60
+ dateRangePicker: t(te),
61
+ file: t(O),
62
+ fileUploader: t(O),
63
+ avatarUpload: t(ee),
64
+ color: t(de),
65
+ iconPicker: t(ne),
66
+ customFields: t(re),
67
+ thumbnailSelector: t(ae),
68
+ tags: t(le),
69
+ richTextEditor: t(se)
70
+ }, P = t(s), e = d, h = j, o = (a, l) => {
71
+ h("change", { value: a, data: l });
72
+ }, k = (a) => {
73
+ h("change", { value: a });
74
+ }, u = c(() => K(e.field, {
49
75
  values: e.values,
50
76
  globalValues: e.values,
51
77
  isUpdate: e.isUpdate
52
- })), b = f(
53
- () => o.value === "number" && e.field.isSensitiveField === !0
54
- ), D = f(() => {
55
- const a = o.value;
56
- if (R(a))
57
- return O(a);
58
- switch (a) {
59
- case "text":
60
- case "email":
61
- case "password":
62
- case "tel":
63
- case "url":
64
- case "search":
65
- case "textarea":
66
- return V;
67
- case "number":
68
- return b.value ? V : J;
69
- case "switch":
70
- return Q;
71
- case "check":
72
- return W;
73
- case "select":
74
- return w;
75
- case "multiSelect":
76
- return ee;
77
- case "choiceBox":
78
- return ne;
79
- case "date":
80
- case "time":
81
- return ae;
82
- case "dateRangePicker":
83
- return le;
84
- case "file":
85
- case "fileUploader":
86
- return X;
87
- case "avatarUpload":
88
- return Y;
89
- case "color":
90
- return ie;
91
- case "iconPicker":
92
- return te;
93
- case "customFields":
94
- return re;
95
- case "thumbnailSelector":
96
- return Z;
97
- case "tags":
98
- return _;
99
- case "richTextEditor":
100
- return de;
101
- default:
102
- return V;
103
- }
104
- }), A = f(() => {
105
- const a = o.value, { disabled: l, readonly: r, ...g } = e.field, i = {
106
- ...g,
78
+ })), x = c(
79
+ () => u.value === "number" && e.field.isSensitiveField === !0
80
+ ), M = c(() => {
81
+ const a = u.value;
82
+ return A(a) ? t(a) : a === "number" ? x.value ? P : I.number : typeof a == "string" && a in I ? I[a] : P;
83
+ }), C = c(() => {
84
+ const a = u.value, { disabled: l, readonly: n, ...b } = e.field, i = {
85
+ ...b,
107
86
  disabled: e.disabled || l === !0,
108
- readonly: e.readonly || r === !0,
87
+ readonly: e.readonly || n === !0,
109
88
  ...e.field.props || {},
110
89
  label: "",
111
90
  labelI18n: void 0,
112
91
  placeholderI18n: void 0
113
- }, h = K(
92
+ }, y = X(
114
93
  e.field.placeholderI18n,
115
94
  e.field.placeholder
116
- ), I = e.variant === "floating" && e.label && !e.floatingActive, s = I ? "" : h;
95
+ ), R = e.variant === "floating" && e.label && !e.floatingActive, f = R ? "" : y;
117
96
  if (a === "text" || a === "email" || a === "password" || a === "tel" || a === "url" || a === "search" || a === "textarea" || !a)
118
97
  return {
119
98
  ...i,
120
99
  modelValue: e.value ?? "",
121
100
  type: a || "text",
122
- placeholder: s,
101
+ placeholder: f,
123
102
  label: e.label,
124
103
  icon: e.field.icon,
125
104
  iconRight: e.field.iconRight,
@@ -135,14 +114,14 @@ const Ne = /* @__PURE__ */ E({
135
114
  rows: a === "textarea" ? e.field.props?.rows || 3 : void 0,
136
115
  class: `${e.field.className || ""}`
137
116
  };
138
- if (a === "number" && b.value)
117
+ if (a === "number" && x.value)
139
118
  return {
140
119
  ...i,
141
120
  // Convert numeric value to string so Input.vue (string-based) displays it correctly
142
121
  modelValue: e.value !== void 0 && e.value !== null ? String(e.value) : "",
143
122
  // 'password' activates the eye-toggle inside Input.vue
144
123
  type: "password",
145
- placeholder: s,
124
+ placeholder: f,
146
125
  label: e.label,
147
126
  variant: e.variant,
148
127
  size: e.size,
@@ -163,20 +142,20 @@ const Ne = /* @__PURE__ */ E({
163
142
  mode: e.field.props?.mode ?? (e.variant === "transparent" ? "ghost" : "outline"),
164
143
  size: e.size,
165
144
  rounded: e.rounded,
166
- placeholder: s,
145
+ placeholder: f,
167
146
  class: e.field.className
168
147
  };
169
148
  if (a === "switch") {
170
149
  const {
171
- variant: n,
172
- rounded: oe,
173
- error: se,
174
- switchVariant: ue,
175
- ...k
150
+ variant: r,
151
+ rounded: ue,
152
+ error: fe,
153
+ switchVariant: me,
154
+ ...w
176
155
  } = i;
177
156
  return {
178
- ...k,
179
- disabled: k.disabled || k.readonly,
157
+ ...w,
158
+ disabled: w.disabled || w.readonly,
180
159
  modelValue: !!e.value,
181
160
  label: e.field.label,
182
161
  labelI18n: e.field.labelI18n,
@@ -200,13 +179,13 @@ const Ne = /* @__PURE__ */ E({
200
179
  ...i,
201
180
  modelValue: e.value,
202
181
  options: e.field.options || [],
203
- placeholder: s,
182
+ placeholder: f,
204
183
  selectable: !0,
205
184
  closeOnSelect: !0,
206
185
  triggerProps: {
207
186
  variant: e.variant === "floating" ? "outline-floating" : e.variant || "outline",
208
187
  size: e.size,
209
- ...I ? { text: "​" } : {}
188
+ ...R ? { text: "​" } : {}
210
189
  }
211
190
  };
212
191
  if (a === "multiSelect")
@@ -214,7 +193,7 @@ const Ne = /* @__PURE__ */ E({
214
193
  ...i,
215
194
  modelValue: Array.isArray(e.value) ? e.value : [],
216
195
  options: e.field.options || [],
217
- placeholder: h,
196
+ placeholder: y,
218
197
  variant: e.variant,
219
198
  size: e.size,
220
199
  rounded: e.rounded
@@ -227,17 +206,17 @@ const Ne = /* @__PURE__ */ E({
227
206
  titleI18n: e.field.labelI18n,
228
207
  description: e.field.props?.description,
229
208
  descriptionI18n: e.field.props?.descriptionI18n,
230
- options: (e.field.options || []).map((n) => ({
231
- id: n.value ?? n.label,
232
- title: n.label,
233
- titleI18n: n.labelI18n,
234
- description: n.description || n.subtitle,
235
- descriptionI18n: n.descriptionI18n || n.subtitleI18n,
236
- icon: n.icon,
237
- disabled: n.disabled,
238
- badge: n.badge || n.data?.badge,
239
- badgeI18n: n.badgeI18n || n.data?.badgeI18n,
240
- data: n.data
209
+ options: (e.field.options || []).map((r) => ({
210
+ id: r.value ?? r.label,
211
+ title: r.label,
212
+ titleI18n: r.labelI18n,
213
+ description: r.description || r.subtitle,
214
+ descriptionI18n: r.descriptionI18n || r.subtitleI18n,
215
+ icon: r.icon,
216
+ disabled: r.disabled,
217
+ badge: r.badge || r.data?.badge,
218
+ badgeI18n: r.badgeI18n || r.data?.badgeI18n,
219
+ data: r.data
241
220
  })),
242
221
  multiple: e.field.props?.multiple || !1,
243
222
  grid: e.field.props?.grid || 1,
@@ -249,12 +228,12 @@ const Ne = /* @__PURE__ */ E({
249
228
  ...i,
250
229
  modelValue: e.value,
251
230
  mode: a === "time" ? "time" : "date",
252
- placeholder: s,
231
+ placeholder: f,
253
232
  btnProps: {
254
233
  variant: e.variant === "floating" ? "outline-floating" : e.variant || "outline",
255
234
  size: e.size,
256
235
  class: "px-3!",
257
- ...I ? { text: "​" } : {}
236
+ ...R ? { text: "​" } : {}
258
237
  }
259
238
  };
260
239
  if (a === "dateRangePicker")
@@ -273,7 +252,7 @@ const Ne = /* @__PURE__ */ E({
273
252
  fileTypes: e.field.props?.accept ? e.field.props.accept.split(",") : [],
274
253
  returnFormat: "base64",
275
254
  variant: e.field.props?.variant ?? (a === "file" ? "input" : "dropzone"),
276
- placeholder: s,
255
+ placeholder: f,
277
256
  size: e.size,
278
257
  rounded: e.rounded,
279
258
  maxSize: e.field.maxFileSize ? e.field.maxFileSize * 1024 * 1024 : void 0,
@@ -293,7 +272,7 @@ const Ne = /* @__PURE__ */ E({
293
272
  return {
294
273
  ...i,
295
274
  modelValue: Array.isArray(e.value) ? e.value : [],
296
- placeholder: s,
275
+ placeholder: f,
297
276
  variant: e.variant,
298
277
  size: e.size,
299
278
  rounded: e.rounded,
@@ -304,7 +283,7 @@ const Ne = /* @__PURE__ */ E({
304
283
  return {
305
284
  ...i,
306
285
  modelValue: e.value ?? "",
307
- placeholder: s,
286
+ placeholder: f,
308
287
  label: void 0,
309
288
  error: e.error,
310
289
  minHeight: e.field.props?.minHeight || "140px",
@@ -344,172 +323,172 @@ const Ne = /* @__PURE__ */ E({
344
323
  isUpdate: e.isUpdate
345
324
  };
346
325
  if (a === "thumbnailSelector") {
347
- const n = e.value && typeof e.value == "object" ? e.value : { images: [], thumbnail: null };
326
+ const r = e.value && typeof e.value == "object" ? e.value : { images: [], thumbnail: null };
348
327
  return {
349
328
  ...i,
350
- images: Array.isArray(n.images) ? n.images : [],
351
- thumbnail: n.thumbnail ?? null,
329
+ images: Array.isArray(r.images) ? r.images : [],
330
+ thumbnail: r.thumbnail ?? null,
352
331
  disabled: e.disabled || l === !0,
353
332
  loading: e.loading,
354
333
  maxSize: e.field.maxFileSize,
355
334
  label: e.field.label
356
335
  };
357
336
  }
358
- return R(a) ? {
337
+ return A(a) ? {
359
338
  ...i,
360
339
  value: e.field.props?.multiple && (e.value === null || e.value === void 0) ? [] : e.value,
361
340
  values: e.values
362
341
  } : i;
363
- }), F = f(() => {
364
- const a = o.value;
342
+ }), N = c(() => {
343
+ const a = u.value;
365
344
  return a === "text" || a === "email" || a === "password" || a === "tel" || a === "url" || a === "search" || a === "textarea" || a === "switch" || a === "check" || !a ? {
366
- "update:modelValue": S
367
- } : a === "number" && b.value ? {
345
+ "update:modelValue": k
346
+ } : a === "number" && x.value ? {
368
347
  "update:modelValue": (l) => {
369
- const r = l === "" ? void 0 : Number(l);
370
- v("change", { value: isNaN(r) ? void 0 : r });
348
+ const n = l === "" ? void 0 : Number(l);
349
+ h("change", { value: isNaN(n) ? void 0 : n });
371
350
  }
372
351
  } : a === "number" ? {
373
- "update:modelValue": S
352
+ "update:modelValue": k
374
353
  } : a === "select" ? {
375
354
  onSelect: (l) => {
376
- d(l.value, l.data);
355
+ o(l.value, l.data);
377
356
  }
378
357
  } : a === "multiSelect" ? {
379
- change: (l) => d(l)
358
+ change: (l) => o(l)
380
359
  } : a === "choiceBox" ? {
381
360
  change: (l) => {
382
- const r = e.field.props?.multiple;
383
- let g = null;
384
- r && Array.isArray(l) ? g = l.map(
385
- (i) => e.field.options?.find((h) => (h.value ?? h.label) === i)?.data
386
- ) : g = e.field.options?.find((i) => (i.value ?? i.label) === l)?.data, d(l, g);
361
+ const n = e.field.props?.multiple;
362
+ let b = null;
363
+ n && Array.isArray(l) ? b = l.map(
364
+ (i) => e.field.options?.find((y) => (y.value ?? y.label) === i)?.data
365
+ ) : b = e.field.options?.find((i) => (i.value ?? i.label) === l)?.data, o(l, b);
387
366
  }
388
367
  } : a === "date" || a === "time" || a === "dateRangePicker" ? {
389
- change: (l) => d(l)
368
+ change: (l) => o(l)
390
369
  } : a === "fileUploader" || a === "file" ? {
391
370
  change: (l) => {
392
- d(l);
371
+ o(l);
393
372
  },
394
373
  "update:modelValue": (l) => {
395
- d(l);
374
+ o(l);
396
375
  }
397
376
  } : a === "avatarUpload" ? {
398
377
  change: (l) => {
399
- d(l);
378
+ o(l);
400
379
  },
401
380
  "update:modelValue": (l) => {
402
- d(l);
381
+ o(l);
403
382
  }
404
383
  } : a === "tags" ? {
405
- "update:modelValue": S,
406
- change: (l) => d(l)
384
+ "update:modelValue": k,
385
+ change: (l) => o(l)
407
386
  } : a === "richTextEditor" ? {
408
- "update:modelValue": (l) => d(l)
387
+ "update:modelValue": (l) => o(l)
409
388
  } : a === "color" ? {
410
- change: (l) => d(l)
389
+ change: (l) => o(l)
411
390
  } : a === "iconPicker" ? {
412
- onSelect: (l) => d(l)
391
+ onSelect: (l) => o(l)
413
392
  } : a === "customFields" ? {
414
- change: (l) => d(l)
393
+ change: (l) => o(l)
415
394
  } : a === "thumbnailSelector" ? {
416
395
  change: (l) => {
417
- d(l);
396
+ o(l);
418
397
  },
419
398
  "update:images": (l) => {
420
- const r = e.value && typeof e.value == "object" ? e.value : { images: [], thumbnail: null };
421
- d({ ...r, images: l });
399
+ const n = e.value && typeof e.value == "object" ? e.value : { images: [], thumbnail: null };
400
+ o({ ...n, images: l });
422
401
  },
423
402
  "update:thumbnail": (l) => {
424
- const r = e.value && typeof e.value == "object" ? e.value : { images: [], thumbnail: null };
425
- d({ ...r, thumbnail: l });
403
+ const n = e.value && typeof e.value == "object" ? e.value : { images: [], thumbnail: null };
404
+ o({ ...n, thumbnail: l });
426
405
  }
427
- } : R(a) ? {
406
+ } : A(a) ? {
428
407
  onChange: (l) => {
429
- d(l.value, l.data);
408
+ o(l.value, l.data);
430
409
  }
431
410
  } : {};
432
- }), H = f(() => {
433
- const a = o.value;
411
+ }), Y = c(() => {
412
+ const a = u.value;
434
413
  return a === "text" || a === "email" || a === "password" || a === "tel" || a === "url" || a === "search" || !a;
435
- }), j = f(() => H.value || o.value === "textarea" || b.value), C = (a, l) => {
436
- v("addonChange", a.name, { value: l.value });
437
- }, $ = (a) => {
438
- a.action && v("addonAction", a.action);
414
+ }), W = c(() => Y.value || u.value === "textarea" || x.value), $ = (a, l) => {
415
+ h("addonChange", a.name, { value: l.value });
416
+ }, L = (a) => {
417
+ a.action && h("addonAction", a.action);
439
418
  };
440
- return (a, l) => j.value ? (c(), m(V, p({ key: 0 }, A.value, P(F.value)), M({ _: 2 }, [
441
- L(B)(t.field.addonLeft) ? {
419
+ return (a, l) => W.value ? (p(), v(s, g({ key: 0 }, C.value, T(N.value)), G({ _: 2 }, [
420
+ B(D)(d.field.addonLeft) ? {
442
421
  name: "addon-left",
443
- fn: u(() => [
444
- t.field.addonLeft.type === "select" ? (c(), m(w, p({
422
+ fn: m(() => [
423
+ d.field.addonLeft.type === "select" ? (p(), v(F, g({
445
424
  key: 0,
446
- modelValue: t.field.addonLeft.name ? t.values[t.field.addonLeft.name] : void 0,
447
- options: t.field.addonLeft.options || []
448
- }, t.field.addonLeft.props || {}, {
449
- onOnSelect: l[0] || (l[0] = (r) => C(t.field.addonLeft, r))
425
+ modelValue: d.field.addonLeft.name ? d.values[d.field.addonLeft.name] : void 0,
426
+ options: d.field.addonLeft.options || []
427
+ }, d.field.addonLeft.props || {}, {
428
+ onOnSelect: l[0] || (l[0] = (n) => $(d.field.addonLeft, n))
450
429
  }), {
451
- trigger: u(({ selectedLabel: r }) => [
452
- N(z, { variant: "outline" }, {
453
- default: u(() => [
454
- y(x(r), 1)
430
+ trigger: m(({ selectedLabel: n }) => [
431
+ U(S, { variant: "outline" }, {
432
+ default: m(() => [
433
+ z(V(n), 1)
455
434
  ]),
456
435
  _: 2
457
436
  }, 1024)
458
437
  ]),
459
438
  _: 1
460
- }, 16, ["modelValue", "options"])) : t.field.addonLeft.type === "button" ? (c(), m(z, p({
439
+ }, 16, ["modelValue", "options"])) : d.field.addonLeft.type === "button" ? (p(), v(S, g({
461
440
  key: 1,
462
441
  variant: "outline"
463
- }, t.field.addonLeft.props || {}, {
464
- onClick: l[1] || (l[1] = (r) => $(t.field.addonLeft))
442
+ }, d.field.addonLeft.props || {}, {
443
+ onClick: l[1] || (l[1] = (n) => L(d.field.addonLeft))
465
444
  }), {
466
- default: u(() => [
467
- y(x(t.field.addonLeft.text), 1)
445
+ default: m(() => [
446
+ z(V(d.field.addonLeft.text), 1)
468
447
  ]),
469
448
  _: 1
470
- }, 16)) : T("", !0)
449
+ }, 16)) : E("", !0)
471
450
  ]),
472
451
  key: "0"
473
452
  } : void 0,
474
- L(B)(t.field.addonRight) ? {
453
+ B(D)(d.field.addonRight) ? {
475
454
  name: "addon-right",
476
- fn: u(() => [
477
- t.field.addonRight.type === "select" ? (c(), m(w, p({
455
+ fn: m(() => [
456
+ d.field.addonRight.type === "select" ? (p(), v(F, g({
478
457
  key: 0,
479
- modelValue: t.field.addonRight.name ? t.values[t.field.addonRight.name] : void 0,
480
- options: t.field.addonRight.options || []
481
- }, t.field.addonRight.props || {}, {
482
- onOnSelect: l[2] || (l[2] = (r) => C(t.field.addonRight, r))
458
+ modelValue: d.field.addonRight.name ? d.values[d.field.addonRight.name] : void 0,
459
+ options: d.field.addonRight.options || []
460
+ }, d.field.addonRight.props || {}, {
461
+ onOnSelect: l[2] || (l[2] = (n) => $(d.field.addonRight, n))
483
462
  }), {
484
- trigger: u(({ selectedLabel: r }) => [
485
- N(z, { variant: "outline" }, {
486
- default: u(() => [
487
- y(x(r), 1)
463
+ trigger: m(({ selectedLabel: n }) => [
464
+ U(S, { variant: "outline" }, {
465
+ default: m(() => [
466
+ z(V(n), 1)
488
467
  ]),
489
468
  _: 2
490
469
  }, 1024)
491
470
  ]),
492
471
  _: 1
493
- }, 16, ["modelValue", "options"])) : t.field.addonRight.type === "button" ? (c(), m(z, p({
472
+ }, 16, ["modelValue", "options"])) : d.field.addonRight.type === "button" ? (p(), v(S, g({
494
473
  key: 1,
495
474
  variant: "outline"
496
- }, t.field.addonRight.props || {}, {
497
- onClick: l[3] || (l[3] = (r) => $(t.field.addonRight))
475
+ }, d.field.addonRight.props || {}, {
476
+ onClick: l[3] || (l[3] = (n) => L(d.field.addonRight))
498
477
  }), {
499
- default: u(() => [
500
- y(x(t.field.addonRight.text), 1)
478
+ default: m(() => [
479
+ z(V(d.field.addonRight.text), 1)
501
480
  ]),
502
481
  _: 1
503
- }, 16)) : T("", !0)
482
+ }, 16)) : E("", !0)
504
483
  ]),
505
484
  key: "1"
506
485
  } : void 0
507
- ]), 1040)) : (c(), m(q(D.value), p({
486
+ ]), 1040)) : (p(), v(J(M.value), g({
508
487
  key: 1,
509
- class: o.value === "check" || o.value === "switch" && t.field.props?.switchVariant === "basic" ? "" : "w-full"
510
- }, A.value, P(F.value)), null, 16, ["class"]));
488
+ class: u.value === "check" || u.value === "switch" && d.field.props?.switchVariant === "basic" ? "" : "w-full"
489
+ }, C.value, T(N.value)), null, 16, ["class"]));
511
490
  }
512
491
  });
513
492
  export {
514
- Ne as default
493
+ Be as default
515
494
  };
@@ -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 f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-d4db8f9b"]]);
4
+ const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-eef10419"]]);
5
5
  export {
6
6
  f as default
7
7
  };