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