bt-core-app 2.2.6 → 2.2.8

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 (28) hide show
  1. package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs +10 -11
  2. package/dist/components/BT-Assistant-Menu.vue.mjs +402 -404
  3. package/dist/components/BT-Background-Task.vue.mjs +44 -46
  4. package/dist/components/BT-Blade-Item.vue.mjs +64 -63
  5. package/dist/components/BT-Blade-Items.vue.mjs +2 -2
  6. package/dist/components/BT-Blade-Items.vue2.mjs +239 -238
  7. package/dist/components/BT-Blade-Steps.vue.mjs +2 -2
  8. package/dist/components/BT-Blade-Steps.vue2.mjs +457 -456
  9. package/dist/components/BT-Blade.vue.mjs +187 -189
  10. package/dist/components/BT-Camera-Overlay.vue.mjs +139 -141
  11. package/dist/components/BT-Cron.vue.mjs +127 -126
  12. package/dist/components/BT-Dialog-Select.vue.mjs +91 -90
  13. package/dist/components/BT-Drag-Counter.vue.mjs +2 -2
  14. package/dist/components/BT-Drag-Counter.vue2.mjs +87 -89
  15. package/dist/components/BT-Entity.vue.mjs +79 -81
  16. package/dist/components/BT-Error.vue.mjs +23 -25
  17. package/dist/components/BT-Form-Builder.vue.mjs +221 -220
  18. package/dist/components/BT-Form-Field.vue.mjs +67 -66
  19. package/dist/components/BT-Form.vue.mjs +192 -191
  20. package/dist/components/BT-Header-Option.vue.mjs +21 -20
  21. package/dist/components/BT-Numpad.vue.mjs +143 -145
  22. package/dist/components/BT-Select-List-Box.vue.mjs +270 -272
  23. package/dist/components/BT-Signature-Overlay.vue.mjs +107 -109
  24. package/dist/components/BT-Signature.vue.mjs +91 -93
  25. package/dist/components/BT-Slider.vue.mjs +91 -93
  26. package/dist/components/BT-Square-Check.vue.mjs +66 -68
  27. package/dist/style.css +1 -1
  28. package/package.json +1 -1
@@ -1,19 +1,20 @@
1
- import { defineComponent as de, ref as J, computed as $, watch as X, onMounted as ve, resolveComponent as Y, openBlock as s, createBlock as d, unref as l, normalizeStyle as k, withCtx as n, createVNode as a, renderSlot as c, createElementBlock as v, Fragment as z, renderList as H, createElementVNode as y, toDisplayString as C, withModifiers as Z, createCommentVNode as i } from "vue";
2
- import _ from "./BT-Form-Field.vue.mjs";
3
- import { isNullOrEmpty as O, isLengthyArray as x } from "../composables/helpers.mjs";
1
+ import { defineComponent as ue, ref as j, computed as S, watch as G, onMounted as de, resolveComponent as ve, openBlock as o, createBlock as v, unref as l, normalizeStyle as b, withCtx as n, createVNode as a, renderSlot as c, createElementBlock as m, Fragment as w, renderList as N, createElementVNode as p, toDisplayString as $, withModifiers as K, createCommentVNode as i } from "vue";
2
+ import Q from "./BT-Form-Field.vue.mjs";
3
+ import { isNullOrEmpty as T, isLengthyArray as Z } from "../composables/helpers.mjs";
4
4
  import { useResponsiveStyle as me } from "../composables/heights.mjs";
5
- import ee from "./BT-Loader.vue.mjs";
6
- import le from "./BT-Error.vue.mjs";
7
- import { VContainer as D } from "../bt-core/core/node_modules/vuetify/lib/components/VGrid/VContainer.mjs";
8
- import { VCard as ae } from "../bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs";
5
+ import x from "./BT-Loader.vue.mjs";
6
+ import _ from "./BT-Error.vue.mjs";
7
+ import { VContainer as A } from "../bt-core/core/node_modules/vuetify/lib/components/VGrid/VContainer.mjs";
8
+ import { VCard as ee } from "../bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs";
9
9
  import { VWindow as oe } from "../bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindow.mjs";
10
- import { VWindowItem as q } from "../bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindowItem.mjs";
11
- import { VForm as te } from "../bt-core/core/node_modules/vuetify/lib/components/VForm/VForm.mjs";
12
- import { VToolbar as P } from "../bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbar.mjs";
10
+ import { VWindowItem as P } from "../bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindowItem.mjs";
11
+ import { VForm as le } from "../bt-core/core/node_modules/vuetify/lib/components/VForm/VForm.mjs";
12
+ import { VToolbar as J } from "../bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbar.mjs";
13
13
  import { VBtn as f } from "../bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs";
14
14
  import { VSpacer as B } from "../bt-core/core/node_modules/vuetify/lib/components/VGrid/VSpacer.mjs";
15
- import { VDivider as re } from "../bt-core/core/node_modules/vuetify/lib/components/VDivider/VDivider.mjs";
16
- import { VCol as ne } from "../bt-core/core/node_modules/vuetify/lib/components/VGrid/VCol.mjs";
15
+ import { VSlideXTransition as ae, VSlideYReverseTransition as U } from "../bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs";
16
+ import { VDivider as se } from "../bt-core/core/node_modules/vuetify/lib/components/VDivider/VDivider.mjs";
17
+ import { VCol as re } from "../bt-core/core/node_modules/vuetify/lib/components/VGrid/VCol.mjs";
17
18
  const ce = { class: "text-h6 ml-3" }, fe = {
18
19
  key: 0,
19
20
  class: "d-flex justify-center mr-6"
@@ -38,16 +39,16 @@ const ce = { class: "text-h6 ml-3" }, fe = {
38
39
  }, Me = {
39
40
  key: 2,
40
41
  class: "text-error"
41
- }, Ee = { class: "text-h6 ml-3" }, we = {
42
+ }, Ee = { class: "text-h6 ml-3" }, Ve = {
42
43
  key: 0,
43
44
  class: "d-flex justify-center mr-6"
44
- }, Ve = { class: "d-flex align-center" }, Ne = {
45
+ }, we = { class: "d-flex align-center" }, Ne = {
45
46
  key: 0,
46
47
  class: "text-error"
47
- }, ze = { class: "text-h6 ml-3" }, He = {
48
+ }, Te = { class: "text-h6 ml-3" }, ze = {
48
49
  key: 0,
49
50
  class: "d-flex justify-center mr-6"
50
- }, Qe = /* @__PURE__ */ de({
51
+ }, Ke = /* @__PURE__ */ ue({
51
52
  __name: "BT-Form",
52
53
  props: {
53
54
  actualUsedHeight: { default: 0 },
@@ -67,99 +68,99 @@ const ce = { class: "text-h6 ml-3" }, fe = {
67
68
  useSchemaStyles: { type: Boolean, default: !0 },
68
69
  variant: {}
69
70
  },
70
- setup(ie) {
71
- const o = ie, T = J(), ue = $(() => JSON.stringify(o.data)), F = $(() => ue.value != T.value), { style: j } = me({
71
+ setup(ne) {
72
+ const s = ne, z = j(), ie = S(() => JSON.stringify(s.data)), q = S(() => ie.value != z.value), { style: H } = me({
72
73
  getUsedHeight() {
73
- var e = 64 + o.actualUsedHeight + (R.value == "half-and-half" ? 0 : 32);
74
+ var e = 64 + s.actualUsedHeight + (R.value == "half-and-half" ? 0 : 32);
74
75
  return e;
75
76
  },
76
77
  overflow: !0
77
- }), R = $(() => o.variant ?? o.schema.variant ?? "basic"), r = J(0), M = J(), w = J(!1), E = J(), L = $(() => o.isEditing && !w.value), g = $(() => {
78
+ }), R = S(() => s.variant ?? s.schema.variant ?? "basic"), r = j(0), M = j(), V = j(!1), E = j(), F = S(() => s.isEditing && !V.value), g = S(() => {
78
79
  var t;
79
- if (!o.useSchemaStyles)
80
+ if (!s.useSchemaStyles)
80
81
  return;
81
- let e = ((t = o.overrideSchema) == null ? void 0 : t.logoSrc) ?? o.schema.logoSrc;
82
- return O(e) ? void 0 : e;
83
- }), I = $(() => {
82
+ let e = ((t = s.overrideSchema) == null ? void 0 : t.logoSrc) ?? s.schema.logoSrc;
83
+ return T(e) ? void 0 : e;
84
+ }), L = S(() => {
84
85
  var t;
85
- if (!o.useSchemaStyles)
86
+ if (!s.useSchemaStyles)
86
87
  return;
87
- let e = ((t = o.overrideSchema) == null ? void 0 : t.bgSrc) ?? o.schema.bgSrc;
88
- if (!O(e))
88
+ let e = ((t = s.overrideSchema) == null ? void 0 : t.bgSrc) ?? s.schema.bgSrc;
89
+ if (!T(e))
89
90
  return `background: url("${e}") no-repeat top center fixed; -webkit-background-size: cover; -moz-background-size: cover; background-size: cover; -o-background-size: cover; min-height: 100%;`;
90
91
  });
91
- var W = $(() => {
92
+ var I = S(() => {
92
93
  var t;
93
- if (o.useSchemaStyles) {
94
- var e = ((t = o.overrideSchema) == null ? void 0 : t.bgColor) ?? o.schema.bgColor;
95
- if (!O(e))
94
+ if (s.useSchemaStyles) {
95
+ var e = ((t = s.overrideSchema) == null ? void 0 : t.bgColor) ?? s.schema.bgColor;
96
+ if (!T(e))
96
97
  return `background-color: ${e};`;
97
98
  }
98
- }), G = $(() => {
99
+ }), W = S(() => {
99
100
  var t;
100
- if (o.useSchemaStyles) {
101
- var e = ((t = o.overrideSchema) == null ? void 0 : t.theme) ?? o.schema.theme;
102
- return O(e) ? void 0 : e;
101
+ if (s.useSchemaStyles) {
102
+ var e = ((t = s.overrideSchema) == null ? void 0 : t.theme) ?? s.schema.theme;
103
+ return T(e) ? void 0 : e;
103
104
  }
104
- }), U = $(() => {
105
+ }), D = S(() => {
105
106
  var t;
106
- if (o.useSchemaStyles) {
107
- var e = ((t = o.overrideSchema) == null ? void 0 : t.ctlColor) ?? o.schema.ctlColor;
108
- return O(e) ? void 0 : e;
107
+ if (s.useSchemaStyles) {
108
+ var e = ((t = s.overrideSchema) == null ? void 0 : t.ctlColor) ?? s.schema.ctlColor;
109
+ return T(e) ? void 0 : e;
109
110
  }
110
111
  });
111
- async function K() {
112
- E.value = "Saving Progress", M.value = o.onSaveAsync != null ? await o.onSaveAsync() : void 0, E.value = void 0, T.value = JSON.stringify(o.data);
112
+ async function X() {
113
+ E.value = "Saving Progress", M.value = s.onSaveAsync != null ? await s.onSaveAsync() : void 0, E.value = void 0, z.value = JSON.stringify(s.data);
113
114
  }
114
- async function Q() {
115
- E.value = "Submitting", M.value = o.onSubmitAsync != null ? await o.onSubmitAsync() : void 0, E.value = void 0, M.value == null && (r.value++, w.value = !0);
115
+ async function Y() {
116
+ E.value = "Submitting", M.value = s.onSubmitAsync != null ? await s.onSubmitAsync() : void 0, E.value = void 0, M.value == null && (r.value++, V.value = !0);
116
117
  }
117
- function se(e) {
118
- if (o.data != null) {
119
- var t = Object.keys(o.data), V = e ? o.schema.slides.flatMap((p) => p.fields.filter((b) => !!b.remember && b.prop != null).map((b) => b.prop)) : [];
120
- console.log(t), console.log(V), console.log(o.schema), t.forEach((p) => {
121
- V.some((b) => b == p) || (console.log(p), o.data[p] = void 0);
118
+ function te(e) {
119
+ if (s.data != null) {
120
+ var t = Object.keys(s.data), C = e ? s.schema.slides.flatMap((d) => d.fields.filter((h) => !!h.remember && h.prop != null).map((h) => h.prop)) : [];
121
+ console.log(t), console.log(C), console.log(s.schema), t.forEach((d) => {
122
+ C.some((h) => h == d) || (console.log(d), s.data[d] = void 0);
122
123
  });
123
124
  }
124
- console.log(o.data), w.value = !1, r.value = 0, T.value = JSON.stringify(o.data), M.value = void 0;
125
+ console.log(s.data), V.value = !1, r.value = 0, z.value = JSON.stringify(s.data), M.value = void 0;
125
126
  }
126
- return X(() => o.resetRememberToggle, () => {
127
- console.log("reseting with memory"), se(!0);
128
- }), X(() => o.resetToggle, () => {
129
- console.log("reseting"), se(!1);
130
- }), X(() => o.data, (e) => {
131
- T.value = JSON.stringify(e);
132
- }, { deep: !1 }), ve(() => {
133
- T.value = JSON.stringify(o.data);
127
+ return G(() => s.resetRememberToggle, () => {
128
+ console.log("reseting with memory"), te(!0);
129
+ }), G(() => s.resetToggle, () => {
130
+ console.log("reseting"), te(!1);
131
+ }), G(() => s.data, (e) => {
132
+ z.value = JSON.stringify(e);
133
+ }, { deep: !1 }), de(() => {
134
+ z.value = JSON.stringify(s.data);
134
135
  }), (e, t) => {
135
- const V = Y("v-slide-x-transition"), p = Y("bt-avatar"), b = Y("v-slide-y-reverse-transition");
136
- return e.schema != null && R.value == "basic" ? (s(), d(l(D), {
136
+ const C = ve("bt-avatar");
137
+ return e.schema != null && R.value == "basic" ? (o(), v(l(A), {
137
138
  key: 0,
138
139
  class: "ma-0 pa-0",
139
140
  fluid: "",
140
- style: k(I.value)
141
+ style: b(L.value)
141
142
  }, {
142
143
  default: n(() => [
143
- a(l(D), { class: "ma-0 pa-0" }, {
144
+ a(l(A), { class: "ma-0 pa-0" }, {
144
145
  default: n(() => [
145
- a(l(ae), {
146
+ a(l(ee), {
146
147
  class: "mx-100",
147
148
  "max-width": "900",
148
- style: k(l(W)),
149
- theme: l(G)
149
+ style: b(l(I)),
150
+ theme: l(W)
150
151
  }, {
151
152
  default: n(() => [
152
153
  c(e.$slots, "top"),
153
154
  a(l(oe), {
154
155
  modelValue: r.value,
155
- "onUpdate:modelValue": t[5] || (t[5] = (m) => r.value = m)
156
+ "onUpdate:modelValue": t[5] || (t[5] = (d) => r.value = d)
156
157
  }, {
157
158
  default: n(() => [
158
- (s(!0), v(z, null, H(e.schema.slides, (m, N) => (s(), d(l(q), { key: N }, {
159
+ (o(!0), m(w, null, N(e.schema.slides, (d, h) => (o(), v(l(P), { key: h }, {
159
160
  default: n(() => [
160
- a(l(te), null, {
161
- default: n(({ errors: h, isValid: S }) => [
162
- e.hideHeader !== !0 ? (s(), d(l(P), {
161
+ a(l(le), null, {
162
+ default: n(({ errors: y, isValid: k }) => [
163
+ e.hideHeader !== !0 ? (o(), v(l(J), {
163
164
  key: 0,
164
165
  color: "transparent"
165
166
  }, {
@@ -175,17 +176,17 @@ const ce = { class: "text-h6 ml-3" }, fe = {
175
176
  a(l(f), {
176
177
  icon: "$chevron-right",
177
178
  onClick: t[1] || (t[1] = (u) => r.value++),
178
- disabled: !S.value || r.value >= e.schema.slides.length - 1,
179
+ disabled: !k.value || r.value >= e.schema.slides.length - 1,
179
180
  variant: "text"
180
181
  }, null, 8, ["disabled"]),
181
- y("div", ce, C(e.label ?? e.schema.title), 1),
182
+ p("div", ce, $(e.label ?? e.schema.title), 1),
182
183
  a(l(B)),
183
184
  c(e.$slots, "form-toolbar-right", { schema: e.schema }),
184
- a(V, null, {
185
+ a(l(ae), null, {
185
186
  default: n(() => [
186
- F.value && e.canSaveProgress !== !1 ? (s(), d(l(f), {
187
+ q.value && e.canSaveProgress !== !1 ? (o(), v(l(f), {
187
188
  key: 0,
188
- onClick: Z(K, ["stop"]),
189
+ onClick: K(X, ["stop"]),
189
190
  class: "mr-4",
190
191
  "prepend-icon": "$content-save",
191
192
  size: "small",
@@ -195,8 +196,8 @@ const ce = { class: "text-h6 ml-3" }, fe = {
195
196
  ]),
196
197
  _: 1
197
198
  }),
198
- g.value != null ? (s(), v("div", fe, [
199
- g.value != null ? (s(), d(p, {
199
+ g.value != null ? (o(), m("div", fe, [
200
+ g.value != null ? (o(), v(C, {
200
201
  key: 0,
201
202
  src: g.value
202
203
  }, null, 8, ["src"])) : i("", !0)
@@ -205,40 +206,40 @@ const ce = { class: "text-h6 ml-3" }, fe = {
205
206
  ]),
206
207
  _: 2
207
208
  }, 1024)) : i("", !0),
208
- y("div", {
209
- style: k(e.useScroll ? l(j) : void 0)
209
+ p("div", {
210
+ style: b(e.useScroll ? l(H) : void 0)
210
211
  }, [
211
- a(le, { errorMsg: M.value }, null, 8, ["errorMsg"]),
212
- a(ee, { loadingMsg: E.value }, null, 8, ["loadingMsg"]),
213
- c(e.$slots, m.name, {
212
+ a(_, { errorMsg: M.value }, null, 8, ["errorMsg"]),
213
+ a(x, { loadingMsg: E.value }, null, 8, ["loadingMsg"]),
214
+ c(e.$slots, d.name, {
214
215
  data: e.data,
215
- slide: m
216
+ slide: d
216
217
  }, () => [
217
- (s(!0), v(z, null, H(m.fields, (u, A) => (s(), v("div", { key: A }, [
218
+ (o(!0), m(w, null, N(d.fields, (u, O) => (o(), m("div", { key: O }, [
218
219
  c(e.$slots, u.prop, {
219
220
  data: e.data,
220
221
  field: u,
221
222
  variant: "text"
222
223
  }, () => [
223
- a(_, {
224
+ a(Q, {
224
225
  data: e.data,
225
226
  field: u,
226
- isEditing: L.value,
227
+ isEditing: F.value,
227
228
  variant: "text"
228
229
  }, null, 8, ["data", "field", "isEditing"])
229
230
  ])
230
231
  ]))), 128))
231
232
  ]),
232
- y("div", ge, [
233
- a(b, {
233
+ p("div", ge, [
234
+ a(l(U), {
234
235
  group: "",
235
236
  "hide-on-leave": ""
236
237
  }, {
237
238
  default: n(() => [
238
- r.value != 0 ? (s(), d(l(f), {
239
+ r.value != 0 ? (o(), v(l(f), {
239
240
  onClick: t[2] || (t[2] = (u) => r.value--),
240
241
  class: "ma-4",
241
- color: l(U),
242
+ color: l(D),
242
243
  key: "1",
243
244
  text: "Back"
244
245
  }, null, 8, ["color"])) : i("", !0)
@@ -246,23 +247,23 @@ const ce = { class: "text-h6 ml-3" }, fe = {
246
247
  _: 1
247
248
  }),
248
249
  a(l(B)),
249
- a(b, {
250
+ a(l(U), {
250
251
  group: "",
251
252
  "hide-on-leave": ""
252
253
  }, {
253
254
  default: n(() => [
254
- r.value < e.schema.slides.length - 1 ? (s(), d(l(f), {
255
+ r.value < e.schema.slides.length - 1 ? (o(), v(l(f), {
255
256
  onClick: t[3] || (t[3] = (u) => r.value++),
256
257
  class: "ma-4",
257
- color: l(U),
258
- disabled: m.fields.filter((u) => !!u.isRequired).length > 0 && !S.value,
258
+ color: l(D),
259
+ disabled: d.fields.filter((u) => !!u.isRequired).length > 0 && !k.value,
259
260
  key: "1",
260
261
  text: "Next"
261
- }, null, 8, ["color", "disabled"])) : e.isEditing && e.canSubmit && !w.value && r.value >= e.schema.slides.length - 1 ? (s(), d(l(f), {
262
- onClick: Q,
262
+ }, null, 8, ["color", "disabled"])) : e.isEditing && e.canSubmit && !V.value && r.value >= e.schema.slides.length - 1 ? (o(), v(l(f), {
263
+ onClick: Y,
263
264
  class: "ma-4",
264
- color: l(U),
265
- disabled: m.fields.filter((u) => !!u.isRequired).length > 0 && !S.value,
265
+ color: l(D),
266
+ disabled: d.fields.filter((u) => !!u.isRequired).length > 0 && !k.value,
266
267
  key: "2",
267
268
  text: "Submit"
268
269
  }, null, 8, ["color", "disabled"])) : i("", !0)
@@ -270,7 +271,7 @@ const ce = { class: "text-h6 ml-3" }, fe = {
270
271
  _: 2
271
272
  }, 1024)
272
273
  ]),
273
- l(x)(h) ? (s(), v("div", he, C(h), 1)) : i("", !0)
274
+ l(Z)(y) ? (o(), m("div", he, $(y), 1)) : i("", !0)
274
275
  ], 4)
275
276
  ]),
276
277
  _: 2
@@ -278,23 +279,23 @@ const ce = { class: "text-h6 ml-3" }, fe = {
278
279
  ]),
279
280
  _: 2
280
281
  }, 1024))), 128)),
281
- a(l(q), null, {
282
+ a(l(P), null, {
282
283
  default: n(() => [
283
- e.hideHeader !== !0 ? (s(), d(l(P), {
284
+ e.hideHeader !== !0 ? (o(), v(l(J), {
284
285
  key: 0,
285
286
  color: "transparent"
286
287
  }, {
287
288
  default: n(() => [
288
289
  a(l(f), {
289
290
  icon: "$chevron-left",
290
- onClick: t[4] || (t[4] = (m) => r.value--),
291
+ onClick: t[4] || (t[4] = (d) => r.value--),
291
292
  disabled: r.value == 0,
292
293
  variant: "text"
293
294
  }, null, 8, ["disabled"]),
294
- y("div", ye, C(e.label ?? e.schema.title), 1),
295
+ p("div", ye, $(e.label ?? e.schema.title), 1),
295
296
  a(l(B)),
296
- g.value != null ? (s(), v("div", pe, [
297
- g.value != null ? (s(), d(p, {
297
+ g.value != null ? (o(), m("div", pe, [
298
+ g.value != null ? (o(), v(C, {
298
299
  key: 0,
299
300
  src: g.value
300
301
  }, null, 8, ["src"])) : i("", !0)
@@ -302,8 +303,8 @@ const ce = { class: "text-h6 ml-3" }, fe = {
302
303
  ]),
303
304
  _: 1
304
305
  })) : i("", !0),
305
- y("div", {
306
- style: k(e.useScroll ? l(j) : void 0),
306
+ p("div", {
307
+ style: b(e.useScroll ? l(H) : void 0),
307
308
  class: "d-flex flex-column align-center justify-center"
308
309
  }, " Done! Thankyou. ", 4)
309
310
  ]),
@@ -320,26 +321,26 @@ const ce = { class: "text-h6 ml-3" }, fe = {
320
321
  })
321
322
  ]),
322
323
  _: 3
323
- }, 8, ["style"])) : e.schema != null && R.value == "single-page" ? (s(), d(l(D), {
324
+ }, 8, ["style"])) : e.schema != null && R.value == "single-page" ? (o(), v(l(A), {
324
325
  key: 1,
325
326
  class: "ma-0 pa-0",
326
327
  fluid: "",
327
- style: k(I.value)
328
+ style: b(L.value)
328
329
  }, {
329
330
  default: n(() => [
330
- a(l(D), { class: "ma-0 pa-0" }, {
331
+ a(l(A), { class: "ma-0 pa-0" }, {
331
332
  default: n(() => [
332
- a(l(te), null, {
333
- default: n(({ errors: m, isValid: N }) => [
334
- a(l(ae), {
333
+ a(l(le), null, {
334
+ default: n(({ errors: d, isValid: h }) => [
335
+ a(l(ee), {
335
336
  class: "mx-100",
336
337
  "max-width": "900",
337
- style: k(l(W)),
338
- theme: l(G)
338
+ style: b(l(I)),
339
+ theme: l(W)
339
340
  }, {
340
341
  default: n(() => [
341
342
  c(e.$slots, "top"),
342
- e.hideHeader !== !0 ? (s(), d(l(P), {
343
+ e.hideHeader !== !0 ? (o(), v(l(J), {
343
344
  key: 0,
344
345
  color: "transparent"
345
346
  }, {
@@ -348,24 +349,24 @@ const ce = { class: "text-h6 ml-3" }, fe = {
348
349
  c(e.$slots, "form-toolbar-left"),
349
350
  a(l(f), {
350
351
  icon: "$chevron-left",
351
- onClick: t[6] || (t[6] = (h) => r.value--),
352
+ onClick: t[6] || (t[6] = (y) => r.value--),
352
353
  disabled: r.value == 0,
353
354
  variant: "text"
354
355
  }, null, 8, ["disabled"]),
355
356
  a(l(f), {
356
357
  icon: "$chevron-right",
357
- onClick: t[7] || (t[7] = (h) => r.value++),
358
- disabled: !N.value || r.value >= e.schema.slides.length - 1,
358
+ onClick: t[7] || (t[7] = (y) => r.value++),
359
+ disabled: !h.value || r.value >= e.schema.slides.length - 1,
359
360
  variant: "text"
360
361
  }, null, 8, ["disabled"]),
361
- y("div", be, C(e.label ?? e.schema.title), 1),
362
+ p("div", be, $(e.label ?? e.schema.title), 1),
362
363
  a(l(B)),
363
364
  c(e.$slots, "form-toolbar-right"),
364
- a(V, null, {
365
+ a(l(ae), null, {
365
366
  default: n(() => [
366
- F.value && e.canSaveProgress !== !1 ? (s(), d(l(f), {
367
+ q.value && e.canSaveProgress !== !1 ? (o(), v(l(f), {
367
368
  key: 0,
368
- onClick: Z(K, ["stop"]),
369
+ onClick: K(X, ["stop"]),
369
370
  class: "mr-4",
370
371
  "prepend-icon": "$content-save",
371
372
  size: "small",
@@ -375,8 +376,8 @@ const ce = { class: "text-h6 ml-3" }, fe = {
375
376
  ]),
376
377
  _: 1
377
378
  }),
378
- g.value != null ? (s(), v("div", ke, [
379
- g.value != null ? (s(), d(p, {
379
+ g.value != null ? (o(), m("div", ke, [
380
+ g.value != null ? (o(), v(C, {
380
381
  key: 0,
381
382
  src: g.value
382
383
  }, null, 8, ["src"])) : i("", !0)
@@ -385,48 +386,48 @@ const ce = { class: "text-h6 ml-3" }, fe = {
385
386
  ]),
386
387
  _: 2
387
388
  }, 1024)) : i("", !0),
388
- y("div", {
389
- style: k(e.useScroll ? l(j) : void 0)
389
+ p("div", {
390
+ style: b(e.useScroll ? l(H) : void 0)
390
391
  }, [
391
- a(le, { errorMsg: M.value }, null, 8, ["errorMsg"]),
392
- a(ee, { loadingMsg: E.value }, null, 8, ["loadingMsg"]),
393
- (s(!0), v(z, null, H(e.schema.slides, (h, S) => (s(), v("div", { key: S }, [
394
- l(O)(h.name) ? i("", !0) : (s(), v("div", Se, [
395
- a(l(re), { style: { "max-width": "50px" } }),
396
- y("div", $e, C(h.name), 1),
397
- a(l(re))
392
+ a(_, { errorMsg: M.value }, null, 8, ["errorMsg"]),
393
+ a(x, { loadingMsg: E.value }, null, 8, ["loadingMsg"]),
394
+ (o(!0), m(w, null, N(e.schema.slides, (y, k) => (o(), m("div", { key: k }, [
395
+ l(T)(y.name) ? i("", !0) : (o(), m("div", Se, [
396
+ a(l(se), { style: { "max-width": "50px" } }),
397
+ p("div", $e, $(y.name), 1),
398
+ a(l(se))
398
399
  ])),
399
- c(e.$slots, h.name, {
400
+ c(e.$slots, y.name, {
400
401
  data: e.data,
401
- slide: h
402
+ slide: y
402
403
  }, () => [
403
- (s(!0), v(z, null, H(h.fields, (u, A) => (s(), v("div", { key: A }, [
404
+ (o(!0), m(w, null, N(y.fields, (u, O) => (o(), m("div", { key: O }, [
404
405
  c(e.$slots, u.prop, {
405
406
  data: e.data,
406
407
  field: u,
407
408
  variant: "text"
408
409
  }, () => [
409
- a(_, {
410
+ a(Q, {
410
411
  data: e.data,
411
412
  field: u,
412
- isEditing: L.value,
413
+ isEditing: F.value,
413
414
  variant: "text"
414
415
  }, null, 8, ["data", "field", "isEditing"])
415
416
  ])
416
417
  ]))), 128))
417
418
  ])
418
419
  ]))), 128)),
419
- e.isEditing && e.canSubmit ? (s(), v("div", Ce, [
420
+ e.isEditing && e.canSubmit ? (o(), m("div", Ce, [
420
421
  a(l(B)),
421
- w.value ? (s(), v("div", Be, " Done. Thankyou! ")) : (s(), d(l(f), {
422
+ V.value ? (o(), m("div", Be, " Done. Thankyou! ")) : (o(), v(l(f), {
422
423
  key: 0,
423
- onClick: Q,
424
+ onClick: Y,
424
425
  class: "ma-4",
425
- color: l(U),
426
- disabled: !N.value,
426
+ color: l(D),
427
+ disabled: !h.value,
427
428
  text: "Submit"
428
429
  }, null, 8, ["color", "disabled"])),
429
- l(x)(m) ? (s(), v("div", Me, C(m), 1)) : i("", !0)
430
+ l(Z)(d) ? (o(), m("div", Me, $(d), 1)) : i("", !0)
430
431
  ])) : i("", !0)
431
432
  ], 4)
432
433
  ]),
@@ -440,37 +441,37 @@ const ce = { class: "text-h6 ml-3" }, fe = {
440
441
  })
441
442
  ]),
442
443
  _: 3
443
- }, 8, ["style"])) : e.schema != null && R.value == "half-and-half" ? (s(), d(l(D), {
444
+ }, 8, ["style"])) : e.schema != null && R.value == "half-and-half" ? (o(), v(l(A), {
444
445
  key: 2,
445
446
  class: "pa-0 ma-0",
446
447
  fluid: "",
447
- style: k(I.value)
448
+ style: b(L.value)
448
449
  }, {
449
450
  default: n(() => [
450
- a(l(ne), {
451
+ a(l(re), {
451
452
  class: "pa-0",
452
453
  cols: "12",
453
454
  md: "6"
454
455
  }, {
455
456
  default: n(() => [
456
- a(l(ae), {
457
+ a(l(ee), {
457
458
  class: "w-100",
458
- style: k(l(W)),
459
+ style: b(l(I)),
459
460
  tile: "",
460
- theme: l(G)
461
+ theme: l(W)
461
462
  }, {
462
463
  default: n(() => [
463
464
  c(e.$slots, "top"),
464
465
  a(l(oe), {
465
466
  modelValue: r.value,
466
- "onUpdate:modelValue": t[13] || (t[13] = (m) => r.value = m)
467
+ "onUpdate:modelValue": t[13] || (t[13] = (d) => r.value = d)
467
468
  }, {
468
469
  default: n(() => [
469
- (s(!0), v(z, null, H(e.schema.slides, (m, N) => (s(), d(l(q), { key: N }, {
470
+ (o(!0), m(w, null, N(e.schema.slides, (d, h) => (o(), v(l(P), { key: h }, {
470
471
  default: n(() => [
471
- a(l(te), null, {
472
- default: n(({ errors: h, isValid: S }) => [
473
- e.hideHeader !== !0 ? (s(), d(l(P), {
472
+ a(l(le), null, {
473
+ default: n(({ errors: y, isValid: k }) => [
474
+ e.hideHeader !== !0 ? (o(), v(l(J), {
474
475
  key: 0,
475
476
  color: "transparent"
476
477
  }, {
@@ -486,17 +487,17 @@ const ce = { class: "text-h6 ml-3" }, fe = {
486
487
  a(l(f), {
487
488
  icon: "$chevron-right",
488
489
  onClick: t[9] || (t[9] = (u) => r.value++),
489
- disabled: !S.value || r.value >= e.schema.slides.length - 1,
490
+ disabled: !k.value || r.value >= e.schema.slides.length - 1,
490
491
  variant: "text"
491
492
  }, null, 8, ["disabled"]),
492
- y("div", Ee, C(e.label ?? e.schema.title), 1),
493
+ p("div", Ee, $(e.label ?? e.schema.title), 1),
493
494
  a(l(B)),
494
495
  c(e.$slots, "form-toolbar-right"),
495
- a(V, null, {
496
+ a(l(ae), null, {
496
497
  default: n(() => [
497
- F.value && e.canSaveProgress !== !1 ? (s(), d(l(f), {
498
+ q.value && e.canSaveProgress !== !1 ? (o(), v(l(f), {
498
499
  key: 0,
499
- onClick: Z(K, ["stop"]),
500
+ onClick: K(X, ["stop"]),
500
501
  class: "mr-4",
501
502
  "prepend-icon": "$content-save",
502
503
  size: "small",
@@ -506,8 +507,8 @@ const ce = { class: "text-h6 ml-3" }, fe = {
506
507
  ]),
507
508
  _: 1
508
509
  }),
509
- g.value != null ? (s(), v("div", we, [
510
- g.value != null ? (s(), d(p, {
510
+ g.value != null ? (o(), m("div", Ve, [
511
+ g.value != null ? (o(), v(C, {
511
512
  key: 0,
512
513
  src: g.value
513
514
  }, null, 8, ["src"])) : i("", !0)
@@ -516,41 +517,41 @@ const ce = { class: "text-h6 ml-3" }, fe = {
516
517
  ]),
517
518
  _: 2
518
519
  }, 1024)) : i("", !0),
519
- y("div", {
520
- style: k(e.useScroll ? l(j) : void 0)
520
+ p("div", {
521
+ style: b(e.useScroll ? l(H) : void 0)
521
522
  }, [
522
- a(le, { errorMsg: M.value }, null, 8, ["errorMsg"]),
523
- a(l(ne), {
523
+ a(_, { errorMsg: M.value }, null, 8, ["errorMsg"]),
524
+ a(l(re), {
524
525
  class: "pa-0 mx-auto",
525
526
  cols: "12"
526
527
  }, {
527
528
  default: n(() => [
528
- c(e.$slots, m.name, {
529
+ c(e.$slots, d.name, {
529
530
  data: e.data,
530
- slide: m
531
+ slide: d
531
532
  }, () => [
532
- (s(!0), v(z, null, H(m.fields, (u, A) => (s(), v("div", { key: A }, [
533
+ (o(!0), m(w, null, N(d.fields, (u, O) => (o(), m("div", { key: O }, [
533
534
  c(e.$slots, u.prop, {
534
535
  data: e.data,
535
536
  field: u,
536
537
  variant: "tonal"
537
538
  }, () => [
538
- a(_, {
539
+ a(Q, {
539
540
  data: e.data,
540
541
  field: u,
541
- isEditing: L.value,
542
+ isEditing: F.value,
542
543
  variant: "tonal"
543
544
  }, null, 8, ["data", "field", "isEditing"])
544
545
  ])
545
546
  ]))), 128))
546
547
  ]),
547
- y("div", Ve, [
548
- a(b, {
548
+ p("div", we, [
549
+ a(l(U), {
549
550
  group: "",
550
551
  "hide-on-leave": ""
551
552
  }, {
552
553
  default: n(() => [
553
- r.value != 0 ? (s(), d(l(f), {
554
+ r.value != 0 ? (o(), v(l(f), {
554
555
  onClick: t[10] || (t[10] = (u) => r.value--),
555
556
  class: "ma-4",
556
557
  key: "1",
@@ -560,28 +561,28 @@ const ce = { class: "text-h6 ml-3" }, fe = {
560
561
  _: 1
561
562
  }),
562
563
  a(l(B)),
563
- a(b, {
564
+ a(l(U), {
564
565
  group: "",
565
566
  "hide-on-leave": ""
566
567
  }, {
567
568
  default: n(() => [
568
- r.value < e.schema.slides.length - 1 ? (s(), d(l(f), {
569
+ r.value < e.schema.slides.length - 1 ? (o(), v(l(f), {
569
570
  onClick: t[11] || (t[11] = (u) => r.value++),
570
571
  class: "ma-4",
571
- disabled: m.fields.filter((u) => !!u.isRequired).length > 0 && !S.value,
572
+ disabled: d.fields.filter((u) => !!u.isRequired).length > 0 && !k.value,
572
573
  key: "1",
573
574
  text: "Next"
574
- }, null, 8, ["disabled"])) : e.isEditing && e.canSubmit && !w.value && r.value >= e.schema.slides.length - 1 ? (s(), d(l(f), {
575
- onClick: Q,
575
+ }, null, 8, ["disabled"])) : e.isEditing && e.canSubmit && !V.value && r.value >= e.schema.slides.length - 1 ? (o(), v(l(f), {
576
+ onClick: Y,
576
577
  class: "ma-4",
577
- disabled: m.fields.filter((u) => !!u.isRequired).length > 0 && !S.value,
578
+ disabled: d.fields.filter((u) => !!u.isRequired).length > 0 && !k.value,
578
579
  key: "2",
579
580
  text: "Submit"
580
581
  }, null, 8, ["disabled"])) : i("", !0)
581
582
  ]),
582
583
  _: 2
583
584
  }, 1024),
584
- l(x)(h) ? (s(), v("div", Ne, C(h), 1)) : i("", !0)
585
+ l(Z)(y) ? (o(), m("div", Ne, $(y), 1)) : i("", !0)
585
586
  ])
586
587
  ]),
587
588
  _: 2
@@ -593,23 +594,23 @@ const ce = { class: "text-h6 ml-3" }, fe = {
593
594
  ]),
594
595
  _: 2
595
596
  }, 1024))), 128)),
596
- a(l(q), null, {
597
+ a(l(P), null, {
597
598
  default: n(() => [
598
- e.hideHeader !== !0 ? (s(), d(l(P), {
599
+ e.hideHeader !== !0 ? (o(), v(l(J), {
599
600
  key: 0,
600
601
  color: "transparent"
601
602
  }, {
602
603
  default: n(() => [
603
604
  a(l(f), {
604
605
  icon: "$chevron-left",
605
- onClick: t[12] || (t[12] = (m) => r.value--),
606
+ onClick: t[12] || (t[12] = (d) => r.value--),
606
607
  disabled: r.value == 0,
607
608
  variant: "text"
608
609
  }, null, 8, ["disabled"]),
609
- y("div", ze, C(e.label ?? e.schema.title), 1),
610
+ p("div", Te, $(e.label ?? e.schema.title), 1),
610
611
  a(l(B)),
611
- g.value != null ? (s(), v("div", He, [
612
- g.value != null ? (s(), d(p, {
612
+ g.value != null ? (o(), m("div", ze, [
613
+ g.value != null ? (o(), v(C, {
613
614
  key: 0,
614
615
  src: g.value
615
616
  }, null, 8, ["src"])) : i("", !0)
@@ -617,8 +618,8 @@ const ce = { class: "text-h6 ml-3" }, fe = {
617
618
  ]),
618
619
  _: 1
619
620
  })) : i("", !0),
620
- y("div", {
621
- style: k(e.useScroll ? l(j) : void 0),
621
+ p("div", {
622
+ style: b(e.useScroll ? l(H) : void 0),
622
623
  class: "d-flex flex-column align-center justify-center"
623
624
  }, " Done! Thankyou. ", 4)
624
625
  ]),
@@ -633,7 +634,7 @@ const ce = { class: "text-h6 ml-3" }, fe = {
633
634
  ]),
634
635
  _: 3
635
636
  }),
636
- a(ee, { loadingMsg: E.value }, null, 8, ["loadingMsg"])
637
+ a(x, { loadingMsg: E.value }, null, 8, ["loadingMsg"])
637
638
  ]),
638
639
  _: 3
639
640
  }, 8, ["style"])) : i("", !0);
@@ -641,5 +642,5 @@ const ce = { class: "text-h6 ml-3" }, fe = {
641
642
  }
642
643
  });
643
644
  export {
644
- Qe as default
645
+ Ke as default
645
646
  };