vlite3 1.3.5 → 1.3.6

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.
@@ -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 p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-52d177e7"]]);
4
+ const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-0497a604"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as J, computed as K, ref as Q, openBlock as o, createElementBlock as u, normalizeClass as d, Fragment as b, renderList as W, withMemo as X, unref as m, createBlock as p, withCtx as U, resolveDynamicComponent as D, createTextVNode as A, toDisplayString as x, createCommentVNode as c, createElementVNode as Y, createVNode as Z, renderSlot as _, markRaw as ee } from "vue";
1
+ import { defineComponent as J, computed as K, ref as Q, openBlock as o, createElementBlock as u, normalizeClass as d, Fragment as p, renderList as W, withMemo as X, unref as m, createBlock as b, withCtx as U, resolveDynamicComponent as D, createTextVNode as A, toDisplayString as x, createCommentVNode as c, createElementVNode as Y, createVNode as Z, renderSlot as _, markRaw as ee } from "vue";
2
2
  import { isComponent as v, getNestedValue as V, resolveFieldType as te } from "./utils/form.utils.js";
3
3
  import B from "../Label.vue.js";
4
4
  import ae from "./FormField.vue.js";
@@ -91,7 +91,7 @@ const se = {
91
91
  q.value
92
92
  ])
93
93
  }, [
94
- (o(!0), u(b, null, W(n.schema, (e) => (o(), u(b, {
94
+ (o(!0), u(p, null, W(n.schema, (e) => (o(), u(p, {
95
95
  key: e.name
96
96
  }, [
97
97
  I(e) && E(e) ? X([
@@ -116,17 +116,17 @@ const se = {
116
116
  class: d([
117
117
  "max-md:col-span-full! form-field-item relative",
118
118
  j(e),
119
- n.layout === "inline" ? "pb-5 " : ""
119
+ n.layout === "inline" ? " " : ""
120
120
  ])
121
121
  }, [
122
- l(e) && s(e) !== "switch" && s(e) !== "check" && s(e) !== "customFields" && s(e) !== "choiceBox" && !w(e) ? (o(), p(B, {
122
+ l(e) && s(e) !== "switch" && s(e) !== "check" && s(e) !== "customFields" && s(e) !== "choiceBox" && !w(e) ? (o(), b(B, {
123
123
  key: 0,
124
124
  size: "md",
125
125
  for: e.name,
126
126
  class: "mb-2 block font-medium"
127
127
  }, {
128
128
  default: U(() => [
129
- m(v)(l(e)) ? (o(), p(D(R(l(e))), { key: 0 })) : (o(), u(b, { key: 1 }, [
129
+ m(v)(l(e)) ? (o(), b(D(R(l(e))), { key: 0 })) : (o(), u(p, { key: 1 }, [
130
130
  A(x(l(e)) + " ", 1),
131
131
  e.required && n.showRequiredAsterisk ? (o(), u("span", se, "*")) : c("", !0)
132
132
  ], 64))
@@ -149,7 +149,7 @@ const se = {
149
149
  L(e) ? "-top-2.5 left-3 text-xs bg-background px-1 text-black shadow-[0_4px_4px_-4px_bg-background]" : `top-1/2 -translate-y-1/2 text-sm text-muted-foreground/70 ${G(e)}`
150
150
  ])
151
151
  }, [
152
- m(v)(l(e)) ? (o(), p(D(R(l(e))), { key: 0 })) : (o(), u(b, { key: 1 }, [
152
+ m(v)(l(e)) ? (o(), b(D(R(l(e))), { key: 0 })) : (o(), u(p, { key: 1 }, [
153
153
  A(x(l(e)) + " ", 1),
154
154
  e.required ? (o(), u("span", ue, "*")) : c("", !0)
155
155
  ], 64))
@@ -179,7 +179,7 @@ const se = {
179
179
  onAddonAction: H
180
180
  }, null, 8, ["field", "value", "floatingActive", "label", "values", "errors", "variant", "size", "rounded", "disabled", "readonly", "error", "isUpdate", "loading", "onChange"])
181
181
  ], 42, re),
182
- s(e) === "check" || s(e) === "switch" && e.props?.switchVariant === "basic" ? (o(), p(B, {
182
+ s(e) === "check" || s(e) === "switch" && e.props?.switchVariant === "basic" ? (o(), b(B, {
183
183
  key: 1,
184
184
  for: e.name,
185
185
  class: "ml-2 text-sm font-medium cursor-pointer"
@@ -193,7 +193,7 @@ const se = {
193
193
  h(e) ? (o(), u("p", {
194
194
  key: 2,
195
195
  class: d([
196
- n.layout === "inline" ? "absolute capitalize bottom-0 left-0 mt-0 -text-fs-2.5 text-destructive whitespace-nowrap" : "mt-1 -text-fs-2.5 text-destructive"
196
+ n.layout === "inline" ? "pt-2 capitalize bottom-0 left-0 mt-0 -text-fs-2.5 text-destructive whitespace-nowrap" : "mt-1 -text-fs-2.5 text-destructive"
197
197
  ])
198
198
  }, x(h(e)), 3)) : c("", !0)
199
199
  ], 2)), a, 0) : c("", !0)
@@ -230,7 +230,7 @@ const ne = ["for"], oe = ["type", "value", "placeholder", "disabled", "readonly"
230
230
  key: 3,
231
231
  tabindex: "-1",
232
232
  class: u([
233
- "absolute left-3 top-1/2 -translate-y-1/2 flex items-center justify-center text-muted-foreground z-20 pointer-events-none",
233
+ "absolute left-2.5 top-1/2 -translate-y-1/2 flex items-center justify-center text-muted-foreground z-20 pointer-events-none",
234
234
  t.disabled ? "opacity-50" : ""
235
235
  ])
236
236
  }, [
@@ -1,7 +1,7 @@
1
1
  import o from "./Modal.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e4bc0806"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ec288b97"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -111,7 +111,7 @@ const Z = ["data-testid"], _ = ["data-testid"], ee = {
111
111
  size: "sm",
112
112
  icon: "lucide:x",
113
113
  variant: "ghost",
114
- class: i(["hover:bg-gray-250/25!", { "blink-bg": b.value }]),
114
+ class: i({ "blink-bg": b.value }),
115
115
  "data-testid": "modal-close-btn",
116
116
  onClick: m
117
117
  }, null, 8, ["class"])
@@ -333,11 +333,11 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
333
333
  declare const __VLS_component: import('vue').DefineComponent<ScreenProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
334
334
  delete: (items: any[]) => any;
335
335
  add: () => any;
336
- "change-view": (view: string) => any;
336
+ activeView: (view: string) => any;
337
337
  }, string, import('vue').PublicProps, Readonly<ScreenProps> & Readonly<{
338
338
  onDelete?: (items: any[]) => any;
339
339
  onAdd?: () => any;
340
- "onChange-view"?: (view: string) => any;
340
+ onActiveView?: (view: string) => any;
341
341
  }>, {
342
342
  name: string;
343
343
  data: any[];