vlite3 0.4.4 → 0.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/components/Accordion/AccordionItem.vue.js +33 -32
  2. package/components/Accordion/types.d.ts +2 -0
  3. package/components/Alert.vue.d.ts +2 -0
  4. package/components/Alert.vue.js +38 -36
  5. package/components/AvatarUploader/AvatarUploader.vue.d.ts +1 -1
  6. package/components/AvatarUploader/AvatarUploader.vue.js +25 -24
  7. package/components/Button.vue.d.ts +1 -1
  8. package/components/Button.vue.js +37 -35
  9. package/components/CheckBox.vue.d.ts +1 -0
  10. package/components/CheckBox.vue.js +40 -40
  11. package/components/Chip/Chip.vue.js +55 -55
  12. package/components/Chip/types.d.ts +1 -0
  13. package/components/ChoiceBox/ChoiceBox.vue.d.ts +5 -0
  14. package/components/ChoiceBox/ChoiceBox.vue.js +61 -58
  15. package/components/ColorPicker/ColorPicker.vue.js +3 -2
  16. package/components/ConfirmationModal.vue.d.ts +4 -2
  17. package/components/ConfirmationModal.vue.js +48 -33
  18. package/components/DataList/DataList.vue.d.ts +0 -2
  19. package/components/DataList/DataList.vue.js +39 -35
  20. package/components/DataList/types.d.ts +2 -0
  21. package/components/DataTable/DataTable.vue.d.ts +0 -5
  22. package/components/DataTable/DataTable.vue.js +177 -158
  23. package/components/DataTable/DataTableHeader.vue.js +15 -14
  24. package/components/DataTable/DataTableToolbar.vue.d.ts +1 -1
  25. package/components/DataTable/DataTableToolbar.vue.js +30 -23
  26. package/components/DataTable/types.d.ts +4 -0
  27. package/components/DatePicker.vue.d.ts +1 -0
  28. package/components/DatePicker.vue.js +32 -25
  29. package/components/Dropdown/DropdownBooleanItem.vue.js +18 -17
  30. package/components/Dropdown/DropdownGroupedLayout.vue.js +28 -27
  31. package/components/Dropdown/DropdownItem.vue.js +24 -23
  32. package/components/Dropdown/DropdownMenu.vue.js +100 -91
  33. package/components/Dropdown/composables/useDropdownNavigation.js +24 -23
  34. package/components/Dropdown/composables/useDropdownSelection.js +19 -17
  35. package/components/Empty/Empty.vue.d.ts +2 -2
  36. package/components/Empty/Empty.vue.js +32 -18
  37. package/components/FilePicker/FilePicker.vue.d.ts +3 -1
  38. package/components/FilePicker/FilePicker.vue.js +140 -127
  39. package/components/FileTree/FileTree.vue.js +68 -58
  40. package/components/FileTree/FileTreeNode.vue.js +35 -34
  41. package/components/FileTree/types.d.ts +3 -0
  42. package/components/Form/CustomFields.vue.d.ts +3 -1
  43. package/components/Form/CustomFields.vue.js +2 -2
  44. package/components/Form/CustomFields.vue2.js +92 -80
  45. package/components/Form/Form.vue.d.ts +1 -1
  46. package/components/Form/FormField.vue.d.ts +1 -1
  47. package/components/Form/FormField.vue.js +60 -59
  48. package/components/Form/FormFields.vue.js +2 -2
  49. package/components/Form/FormFields.vue2.js +58 -57
  50. package/components/Form/composables/useForm.js +91 -88
  51. package/components/Form/types.d.ts +4 -0
  52. package/components/Form/utils/form.utils.js +104 -98
  53. package/components/GoogleLogin.vue.d.ts +1 -1
  54. package/components/GoogleLogin.vue.js +39 -32
  55. package/components/Heatmap/Heatmap.vue2.js +3 -2
  56. package/components/IconPicker.vue.d.ts +2 -0
  57. package/components/IconPicker.vue.js +37 -29
  58. package/components/Input.vue.d.ts +1 -1
  59. package/components/Input.vue.js +96 -98
  60. package/components/Kanban/KanbanBoard.vue.js +1 -1
  61. package/components/Kanban/KanbanBoard.vue2.js +55 -54
  62. package/components/Kanban/types.d.ts +1 -0
  63. package/components/Masonry/Masonry.vue2.js +3 -2
  64. package/components/Modal.vue.d.ts +2 -0
  65. package/components/Modal.vue.js +62 -57
  66. package/components/MultiSelect/MultiSelect.vue.d.ts +1 -1
  67. package/components/MultiSelect/MultiSelect.vue.js +61 -54
  68. package/components/Navbar/Navbar.vue.js +46 -46
  69. package/components/Pagination/Pagination.vue.js +116 -97
  70. package/components/PricingPlan/PricingPlanItem.vue.js +60 -47
  71. package/components/PricingPlan/types.d.ts +5 -0
  72. package/components/Screen/Screen.vue.d.ts +0 -4
  73. package/components/Screen/Screen.vue.js +231 -189
  74. package/components/Screen/ScreenFilter.vue.js +73 -63
  75. package/components/Screen/types.d.ts +5 -0
  76. package/components/SidePanel.vue.d.ts +2 -0
  77. package/components/SidePanel.vue.js +140 -5
  78. package/components/SidePanel.vue2.js +2 -135
  79. package/components/SidebarMenu/SidebarMenuItem.vue.js +131 -130
  80. package/components/SidebarMenu/types.d.ts +1 -0
  81. package/components/Slider.vue.d.ts +1 -0
  82. package/components/Slider.vue.js +71 -69
  83. package/components/Switch.vue.d.ts +1 -0
  84. package/components/Switch.vue.js +23 -18
  85. package/components/Tabes/Tabes.vue.js +20 -19
  86. package/components/Tabes/types.d.ts +1 -0
  87. package/components/Textarea.vue.d.ts +1 -0
  88. package/components/Textarea.vue.js +18 -16
  89. package/components/ThemeToggle.vue.js +24 -14
  90. package/components/Timeline.vue.js +68 -82
  91. package/components/ToastNotification.vue.js +2 -2
  92. package/components/Tooltip.vue.d.ts +4 -3
  93. package/components/Tooltip.vue.js +17 -15
  94. package/components/Workbook/Sheet.vue.js +80 -71
  95. package/components/Workbook/WorkbookAddButton.vue.js +14 -10
  96. package/components/Workbook/types.d.ts +1 -0
  97. package/core/config.d.ts +2 -0
  98. package/index.d.ts +1 -0
  99. package/index.js +28 -26
  100. package/package.json +1 -1
  101. package/style.css +1 -2
  102. package/types/button.d.ts +1 -0
  103. package/types/config.type.d.ts +10 -0
  104. package/types/form.type.d.ts +2 -0
  105. package/types/styles.d.ts +3 -0
  106. package/types/timeline.type.d.ts +2 -0
  107. package/utils/i18n.d.ts +8 -0
  108. package/utils/i18n.js +5 -0
  109. package/utils/index.d.ts +1 -0
@@ -1,20 +1,21 @@
1
- import { defineComponent as N, computed as n, markRaw as P, openBlock as r, createBlock as f, mergeProps as u, toHandlers as S, createSlots as B, unref as R, withCtx as o, createVNode as z, createTextVNode as c, toDisplayString as m, createCommentVNode as L, resolveDynamicComponent as O } from "vue";
1
+ import { defineComponent as N, computed as n, markRaw as P, openBlock as r, createBlock as f, mergeProps as u, toHandlers as S, createSlots as B, unref as R, withCtx as o, createVNode as z, createTextVNode as m, toDisplayString as c, createCommentVNode as $, resolveDynamicComponent as I } from "vue";
2
2
  import { isComponent as h, isAddonObject as p } from "./utils/form.utils.js";
3
- import I from "../NumberInput.vue.js";
3
+ import O from "../NumberInput.vue.js";
4
4
  import v from "../Button.vue.js";
5
+ import { $t as T } from "../../utils/i18n.js";
5
6
  import g from "../Input.vue.js";
6
- import T from "../Switch.vue.js";
7
- import j from "../CheckBox.vue.js";
8
- import D from "../Textarea.vue.js";
9
- import E from "../FilePicker/FilePicker.vue.js";
10
- import H from "../AvatarUploader/AvatarUploader.vue.js";
7
+ import j from "../Switch.vue.js";
8
+ import D from "../CheckBox.vue.js";
9
+ import E from "../Textarea.vue.js";
10
+ import H from "../FilePicker/FilePicker.vue.js";
11
+ import q from "../AvatarUploader/AvatarUploader.vue.js";
11
12
  import y from "../Dropdown/Dropdown.vue.js";
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__ */ N({
13
+ import G from "../MultiSelect/MultiSelect.vue.js";
14
+ import J from "../DatePicker.vue.js";
15
+ import K from "../ColorPicker/ColorPicker.vue.js";
16
+ import M from "../IconPicker.vue.js";
17
+ import Q from "./CustomFields.vue.js";
18
+ const me = /* @__PURE__ */ N({
18
19
  __name: "FormField",
19
20
  props: {
20
21
  field: {},
@@ -29,8 +30,8 @@ const ue = /* @__PURE__ */ N({
29
30
  isUpdate: { type: Boolean, default: !1 }
30
31
  },
31
32
  emits: ["change", "addonChange", "addonAction"],
32
- setup(l, { emit: $ }) {
33
- const e = l, s = $, i = (t, a) => {
33
+ setup(l, { emit: L }) {
34
+ const e = l, s = L, d = (t, a) => {
34
35
  s("change", { value: t, data: a });
35
36
  }, C = (t) => {
36
37
  s("change", { value: t });
@@ -47,31 +48,31 @@ const ue = /* @__PURE__ */ N({
47
48
  case "search":
48
49
  return g;
49
50
  case "number":
50
- return I;
51
+ return O;
51
52
  case "textarea":
52
- return D;
53
+ return E;
53
54
  case "switch":
54
- return T;
55
- case "check":
56
55
  return j;
56
+ case "check":
57
+ return D;
57
58
  case "select":
58
59
  return y;
59
60
  case "multiSelect":
60
- return q;
61
+ return G;
61
62
  case "date":
62
63
  case "time":
63
- return G;
64
+ return J;
64
65
  case "file":
65
66
  case "fileUploader":
66
- return E;
67
- case "avatarUpload":
68
67
  return H;
68
+ case "avatarUpload":
69
+ return q;
69
70
  case "color":
70
- return J;
71
- case "iconPicker":
72
71
  return K;
73
- case "customFields":
72
+ case "iconPicker":
74
73
  return M;
74
+ case "customFields":
75
+ return Q;
75
76
  default:
76
77
  return g;
77
78
  }
@@ -79,12 +80,12 @@ const ue = /* @__PURE__ */ N({
79
80
  const t = e.field.type, a = {
80
81
  disabled: e.disabled || e.field.disabled === !0,
81
82
  ...e.field.props || {}
82
- };
83
+ }, i = e.field.placeholderI18n ? T(e.field.placeholderI18n) : e.field.placeholder;
83
84
  return t === "text" || t === "email" || t === "password" || t === "tel" || t === "url" || t === "search" || !t ? {
84
85
  ...a,
85
86
  modelValue: e.value ?? "",
86
87
  type: t || "text",
87
- placeholder: e.field.placeholder,
88
+ placeholder: i,
88
89
  icon: e.field.icon,
89
90
  iconRight: e.field.iconRight,
90
91
  // Only pass addon strings; object addons are rendered via slots
@@ -108,12 +109,12 @@ const ue = /* @__PURE__ */ N({
108
109
  mode: e.field.props?.mode ?? "outline",
109
110
  size: e.size,
110
111
  rounded: e.rounded,
111
- placeholder: e.field.placeholder,
112
+ placeholder: i,
112
113
  class: e.field.className
113
114
  } : t === "textarea" ? {
114
115
  ...a,
115
116
  modelValue: e.value ?? "",
116
- placeholder: e.field.placeholder,
117
+ placeholder: i,
117
118
  rows: e.field.props?.rows || 3,
118
119
  class: e.field.className
119
120
  } : t === "switch" ? {
@@ -130,19 +131,19 @@ const ue = /* @__PURE__ */ N({
130
131
  ...a,
131
132
  modelValue: e.value,
132
133
  options: e.field.options || [],
133
- placeholder: e.field.placeholder,
134
+ placeholder: i,
134
135
  selectable: !0,
135
136
  closeOnSelect: !0
136
137
  } : t === "multiSelect" ? {
137
138
  ...a,
138
139
  modelValue: Array.isArray(e.value) ? e.value : [],
139
140
  options: e.field.options || [],
140
- placeholder: e.field.placeholder
141
+ placeholder: i
141
142
  } : t === "date" || t === "time" ? {
142
143
  ...a,
143
144
  modelValue: e.value,
144
145
  mode: t === "time" ? "time" : "date",
145
- placeholder: e.field.placeholder
146
+ placeholder: i
146
147
  } : t === "fileUploader" || t === "file" ? {
147
148
  ...a,
148
149
  modelValue: e.value,
@@ -151,7 +152,7 @@ const ue = /* @__PURE__ */ N({
151
152
  fileTypes: e.field.props?.accept ? e.field.props.accept.split(",") : [],
152
153
  returnFormat: "base64",
153
154
  variant: t === "file" ? "input" : "dropzone",
154
- placeholder: e.field.placeholder,
155
+ placeholder: i,
155
156
  size: e.size,
156
157
  rounded: e.rounded,
157
158
  maxSize: e.field.maxFileSize ? e.field.maxFileSize * 1024 * 1024 : void 0
@@ -188,35 +189,35 @@ const ue = /* @__PURE__ */ N({
188
189
  "update:modelValue": C
189
190
  } : t === "select" ? {
190
191
  onSelect: (a) => {
191
- i(a.value, a.data);
192
+ d(a.value, a.data);
192
193
  }
193
194
  } : t === "multiSelect" ? {
194
- change: (a) => i(a)
195
+ change: (a) => d(a)
195
196
  } : t === "date" || t === "time" ? {
196
- change: (a) => i(a)
197
+ change: (a) => d(a)
197
198
  } : t === "fileUploader" || t === "file" ? {
198
199
  change: (a) => {
199
- i(a);
200
+ d(a);
200
201
  },
201
202
  "update:modelValue": (a) => {
202
- i(a);
203
+ d(a);
203
204
  }
204
205
  } : t === "avatarUpload" ? {
205
206
  change: (a) => {
206
- i(a);
207
+ d(a);
207
208
  },
208
209
  "update:modelValue": (a) => {
209
- i(a);
210
+ d(a);
210
211
  }
211
212
  } : t === "color" ? {
212
- change: (a) => i(a)
213
+ change: (a) => d(a)
213
214
  } : t === "iconPicker" ? {
214
- onSelect: (a) => i(a)
215
+ onSelect: (a) => d(a)
215
216
  } : t === "customFields" ? {
216
- change: (a) => i(a)
217
+ change: (a) => d(a)
217
218
  } : h(t) ? {
218
219
  onChange: (a) => {
219
- i(a.value, a.data);
220
+ d(a.value, a.data);
220
221
  }
221
222
  } : {};
222
223
  }), w = n(() => p(e.field.addonLeft) || p(e.field.addonRight)), A = n(() => {
@@ -239,12 +240,12 @@ const ue = /* @__PURE__ */ N({
239
240
  modelValue: l.field.addonLeft.name ? l.values[l.field.addonLeft.name] : void 0,
240
241
  options: l.field.addonLeft.options || []
241
242
  }, l.field.addonLeft.props || {}, {
242
- onOnSelect: a[0] || (a[0] = (d) => b(l.field.addonLeft, d))
243
+ onOnSelect: a[0] || (a[0] = (i) => b(l.field.addonLeft, i))
243
244
  }), {
244
- trigger: o(({ selectedLabel: d }) => [
245
+ trigger: o(({ selectedLabel: i }) => [
245
246
  z(v, { variant: "outline" }, {
246
247
  default: o(() => [
247
- c(m(d), 1)
248
+ m(c(i), 1)
248
249
  ]),
249
250
  _: 2
250
251
  }, 1024)
@@ -254,13 +255,13 @@ const ue = /* @__PURE__ */ N({
254
255
  key: 1,
255
256
  variant: "outline"
256
257
  }, l.field.addonLeft.props || {}, {
257
- onClick: a[1] || (a[1] = (d) => k(l.field.addonLeft))
258
+ onClick: a[1] || (a[1] = (i) => k(l.field.addonLeft))
258
259
  }), {
259
260
  default: o(() => [
260
- c(m(l.field.addonLeft.text), 1)
261
+ m(c(l.field.addonLeft.text), 1)
261
262
  ]),
262
263
  _: 1
263
- }, 16)) : L("", !0)
264
+ }, 16)) : $("", !0)
264
265
  ]),
265
266
  key: "0"
266
267
  } : void 0,
@@ -272,12 +273,12 @@ const ue = /* @__PURE__ */ N({
272
273
  modelValue: l.field.addonRight.name ? l.values[l.field.addonRight.name] : void 0,
273
274
  options: l.field.addonRight.options || []
274
275
  }, l.field.addonRight.props || {}, {
275
- onOnSelect: a[2] || (a[2] = (d) => b(l.field.addonRight, d))
276
+ onOnSelect: a[2] || (a[2] = (i) => b(l.field.addonRight, i))
276
277
  }), {
277
- trigger: o(({ selectedLabel: d }) => [
278
+ trigger: o(({ selectedLabel: i }) => [
278
279
  z(v, { variant: "outline" }, {
279
280
  default: o(() => [
280
- c(m(d), 1)
281
+ m(c(i), 1)
281
282
  ]),
282
283
  _: 2
283
284
  }, 1024)
@@ -287,22 +288,22 @@ const ue = /* @__PURE__ */ N({
287
288
  key: 1,
288
289
  variant: "outline"
289
290
  }, l.field.addonRight.props || {}, {
290
- onClick: a[3] || (a[3] = (d) => k(l.field.addonRight))
291
+ onClick: a[3] || (a[3] = (i) => k(l.field.addonRight))
291
292
  }), {
292
293
  default: o(() => [
293
- c(m(l.field.addonRight.text), 1)
294
+ m(c(l.field.addonRight.text), 1)
294
295
  ]),
295
296
  _: 1
296
- }, 16)) : L("", !0)
297
+ }, 16)) : $("", !0)
297
298
  ]),
298
299
  key: "1"
299
300
  } : void 0
300
- ]), 1040)) : (r(), f(O(F.value), u({ key: 1 }, {
301
+ ]), 1040)) : (r(), f(I(F.value), u({ key: 1 }, {
301
302
  ...x.value,
302
303
  ...l.field?.props || {}
303
304
  }, S(V.value)), null, 16));
304
305
  }
305
306
  });
306
307
  export {
307
- ue as default
308
+ me as default
308
309
  };
@@ -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-47af145c"]]);
4
+ const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-f01b3b3b"]]);
5
5
  export {
6
- f as default
6
+ p as default
7
7
  };
@@ -1,17 +1,18 @@
1
- import { defineComponent as R, computed as U, openBlock as a, createElementBlock as s, normalizeClass as h, Fragment as d, renderList as f, createBlock as u, withCtx as y, unref as w, resolveDynamicComponent as q, createTextVNode as b, toDisplayString as m, createCommentVNode as o, createVNode as E } from "vue";
2
- import { isComponent as p, getNestedValue as L } from "./utils/form.utils.js";
3
- import v from "../Label.vue.js";
4
- import $ from "./FormField.vue.js";
5
- const I = {
1
+ import { defineComponent as U, computed as f, openBlock as n, createElementBlock as s, normalizeClass as y, Fragment as u, renderList as w, createBlock as m, withCtx as p, unref as I, resolveDynamicComponent as L, createTextVNode as F, toDisplayString as h, createCommentVNode as i, createVNode as $ } from "vue";
2
+ import { isComponent as v, getNestedValue as q } from "./utils/form.utils.js";
3
+ import k from "../Label.vue.js";
4
+ import E from "./FormField.vue.js";
5
+ import { $t as S } from "../../utils/i18n.js";
6
+ const T = {
6
7
  key: 0,
7
8
  class: "text-destructive ml-0.5"
8
- }, S = {
9
+ }, j = {
9
10
  key: 0,
10
11
  class: "text-destructive ml-0.5"
11
- }, T = {
12
+ }, G = {
12
13
  key: 2,
13
14
  class: "mt-1 text-sm text-destructive"
14
- }, K = /* @__PURE__ */ R({
15
+ }, P = /* @__PURE__ */ U({
15
16
  __name: "FormFields",
16
17
  props: {
17
18
  schema: {},
@@ -27,75 +28,75 @@ const I = {
27
28
  isFieldReadonly: {}
28
29
  },
29
30
  emits: ["change", "addonAction"],
30
- setup(r, { emit: F }) {
31
- const n = r, l = F, k = U(() => {
32
- if (n.className) return n.className;
33
- }), g = (t) => L(n.values, t.name), c = (t) => n.errors[t.name] || "", C = (t) => n.isFieldVisible ? n.isFieldVisible(t) : !0, x = (t) => n.isFieldDisabled ? n.isFieldDisabled(t) : t.disabled === !0, V = (t) => n.isFieldReadonly ? n.isFieldReadonly(t) : t.readonly === !0, A = (t) => {
34
- if (t)
35
- return p(t), t;
36
- }, N = (t, i) => {
37
- l("change", t.name, i);
38
- }, D = (t) => t.itemClass || "", _ = (t, i) => {
39
- l("change", t, i);
40
- }, z = (t) => {
41
- l("addonAction", t);
31
+ setup(a, { emit: b }) {
32
+ const r = a, d = b, g = f(() => {
33
+ if (r.className) return r.className;
34
+ }), C = (e) => q(r.values, e.name), l = (e) => r.errors[e.name] || "", x = (e) => r.isFieldVisible ? r.isFieldVisible(e) : !0, V = (e) => r.isFieldDisabled ? r.isFieldDisabled(e) : e.disabled === !0, A = (e) => r.isFieldReadonly ? r.isFieldReadonly(e) : e.readonly === !0, o = (e) => e.labelI18n ? S(e.labelI18n) : e.label, N = (e) => {
35
+ if (e)
36
+ return v(e), e;
37
+ }, D = (e, c) => {
38
+ d("change", e.name, c);
39
+ }, _ = (e) => e.itemClass || "", z = (e, c) => {
40
+ d("change", e, c);
41
+ }, B = (e) => {
42
+ d("addonAction", e);
42
43
  };
43
- return (t, i) => (a(), s("div", {
44
- class: h(["grid gap-4", k.value])
44
+ return (e, c) => (n(), s("div", {
45
+ class: y(["grid gap-4", g.value])
45
46
  }, [
46
- (a(!0), s(d, null, f(r.schema, (e) => (a(), s(d, {
47
- key: e.name
47
+ (n(!0), s(u, null, w(a.schema, (t) => (n(), s(u, {
48
+ key: t.name
48
49
  }, [
49
- C(e) ? (a(), s("div", {
50
+ x(t) ? (n(), s("div", {
50
51
  key: 0,
51
- class: h(["form-field-item", D(e)])
52
+ class: y(["form-field-item", _(t)])
52
53
  }, [
53
- e.label && e.type !== "switch" && e.type !== "check" && e.type !== "customFields" ? (a(), u(v, {
54
+ o(t) && t.type !== "switch" && t.type !== "check" && t.type !== "customFields" ? (n(), m(k, {
54
55
  key: 0,
55
- for: e.name,
56
+ for: t.name,
56
57
  class: "mb-2 block text-sm font-medium"
57
58
  }, {
58
- default: y(() => [
59
- w(p)(e.label) ? (a(), u(q(A(e.label)), { key: 0 })) : (a(), s(d, { key: 1 }, [
60
- b(m(e.label) + " ", 1),
61
- e.required ? (a(), s("span", I, "*")) : o("", !0)
59
+ default: p(() => [
60
+ I(v)(o(t)) ? (n(), m(L(N(o(t))), { key: 0 })) : (n(), s(u, { key: 1 }, [
61
+ F(h(o(t)) + " ", 1),
62
+ t.required ? (n(), s("span", T, "*")) : i("", !0)
62
63
  ], 64))
63
64
  ]),
64
65
  _: 2
65
- }, 1032, ["for"])) : o("", !0),
66
- E($, {
67
- field: e,
68
- value: g(e),
69
- label: e.type === "customFields" ? e.label : void 0,
70
- values: r.values,
71
- variant: r.variant,
72
- size: r.size,
73
- rounded: r.rounded,
74
- disabled: x(e),
75
- readonly: V(e),
76
- error: c(e),
77
- isUpdate: r.isUpdate,
78
- onChange: (B) => N(e, B),
79
- onAddonChange: _,
80
- onAddonAction: z
66
+ }, 1032, ["for"])) : i("", !0),
67
+ $(E, {
68
+ field: t,
69
+ value: C(t),
70
+ label: t.type === "customFields" ? o(t) : void 0,
71
+ values: a.values,
72
+ variant: a.variant,
73
+ size: a.size,
74
+ rounded: a.rounded,
75
+ disabled: V(t),
76
+ readonly: A(t),
77
+ error: l(t),
78
+ isUpdate: a.isUpdate,
79
+ onChange: (R) => D(t, R),
80
+ onAddonChange: z,
81
+ onAddonAction: B
81
82
  }, null, 8, ["field", "value", "label", "values", "variant", "size", "rounded", "disabled", "readonly", "error", "isUpdate", "onChange"]),
82
- e.label && (e.type === "switch" || e.type === "check") ? (a(), u(v, {
83
+ o(t) && (t.type === "switch" || t.type === "check") ? (n(), m(k, {
83
84
  key: 1,
84
- for: e.name,
85
+ for: t.name,
85
86
  class: "ml-2 text-sm font-medium cursor-pointer"
86
87
  }, {
87
- default: y(() => [
88
- b(m(e.label) + " ", 1),
89
- e.required ? (a(), s("span", S, "*")) : o("", !0)
88
+ default: p(() => [
89
+ F(h(o(t)) + " ", 1),
90
+ t.required ? (n(), s("span", j, "*")) : i("", !0)
90
91
  ]),
91
92
  _: 2
92
- }, 1032, ["for"])) : o("", !0),
93
- c(e) ? (a(), s("p", T, m(c(e)), 1)) : o("", !0)
94
- ], 2)) : o("", !0)
93
+ }, 1032, ["for"])) : i("", !0),
94
+ l(t) ? (n(), s("p", G, h(l(t)), 1)) : i("", !0)
95
+ ], 2)) : i("", !0)
95
96
  ], 64))), 128))
96
97
  ], 2));
97
98
  }
98
99
  });
99
100
  export {
100
- K as default
101
+ P as default
101
102
  };