@bagelink/vue 0.0.186 → 0.0.190

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 (119) hide show
  1. package/dist/components/Btn.vue.d.ts +1 -1
  2. package/dist/components/Btn.vue.d.ts.map +1 -1
  3. package/dist/components/Comments.vue.d.ts +1 -1
  4. package/dist/components/Comments.vue.d.ts.map +1 -1
  5. package/dist/components/ContactSubmissions.vue.d.ts +1 -1
  6. package/dist/components/DataPreview.vue.d.ts +1 -1
  7. package/dist/components/DataPreview.vue.d.ts.map +1 -1
  8. package/dist/components/DropDown.vue.d.ts +1 -1
  9. package/dist/components/FormSchema.vue.d.ts +1 -1
  10. package/dist/components/FormSchema.vue.d.ts.map +1 -1
  11. package/dist/components/LangText.vue.d.ts +1 -1
  12. package/dist/components/LangText.vue.d.ts.map +1 -1
  13. package/dist/components/ListItem.vue.d.ts +1 -1
  14. package/dist/components/ListItem.vue.d.ts.map +1 -1
  15. package/dist/components/ListView.vue.d.ts +3 -3
  16. package/dist/components/ListView.vue.d.ts.map +1 -1
  17. package/dist/components/MaterialIcon.vue.d.ts +1 -1
  18. package/dist/components/MaterialIcon.vue.d.ts.map +1 -1
  19. package/dist/components/Modal.vue.d.ts +1 -1
  20. package/dist/components/Modal.vue.d.ts.map +1 -1
  21. package/dist/components/ModalForm.vue.d.ts +1 -1
  22. package/dist/components/ModalForm.vue.d.ts.map +1 -1
  23. package/dist/components/NavBar.vue.d.ts +1 -1
  24. package/dist/components/NavBar.vue.d.ts.map +1 -1
  25. package/dist/components/PageTitle.vue.d.ts +1 -1
  26. package/dist/components/PageTitle.vue.d.ts.map +1 -1
  27. package/dist/components/PersonPreview.vue.d.ts +1 -1
  28. package/dist/components/PersonPreview.vue.d.ts.map +1 -1
  29. package/dist/components/PersonPreviewFormkit.vue.d.ts +1 -1
  30. package/dist/components/PersonPreviewFormkit.vue.d.ts.map +1 -1
  31. package/dist/components/RTXEditor.vue.d.ts +1 -1
  32. package/dist/components/RTXEditor.vue.d.ts.map +1 -1
  33. package/dist/components/RouterWrapper.vue.d.ts +1 -1
  34. package/dist/components/TabbedLayout.vue.d.ts +1 -1
  35. package/dist/components/TabbedLayout.vue.d.ts.map +1 -1
  36. package/dist/components/TableSchema.vue.d.ts +1 -1
  37. package/dist/components/TableSchema.vue.d.ts.map +1 -1
  38. package/dist/components/TopBar.vue.d.ts +1 -1
  39. package/dist/components/TopBar.vue.d.ts.map +1 -1
  40. package/dist/components/charts/BarChart.vue.d.ts +1 -1
  41. package/dist/components/charts/BarChart.vue.d.ts.map +1 -1
  42. package/dist/components/dashboard/Lineart.vue.d.ts +2 -2
  43. package/dist/components/dashboard/Lineart.vue.d.ts.map +1 -1
  44. package/dist/components/form/ItemRef.vue.d.ts +1 -1
  45. package/dist/components/form/ItemRef.vue.d.ts.map +1 -1
  46. package/dist/components/form/MaterialIcon.vue.d.ts +1 -1
  47. package/dist/components/form/MaterialIcon.vue.d.ts.map +1 -1
  48. package/dist/components/form/PlainInputField.vue.d.ts +1 -1
  49. package/dist/components/form/PlainInputField.vue.d.ts.map +1 -1
  50. package/dist/components/form/inputs/CheckInput.vue.d.ts +1 -1
  51. package/dist/components/form/inputs/CheckInput.vue.d.ts.map +1 -1
  52. package/dist/components/form/inputs/Checkbox.vue.d.ts +1 -1
  53. package/dist/components/form/inputs/ColorPicker.vue.d.ts +1 -1
  54. package/dist/components/form/inputs/ColorPicker.vue.d.ts.map +1 -1
  55. package/dist/components/form/inputs/CurrencyInput.vue.d.ts +1 -1
  56. package/dist/components/form/inputs/CurrencyInput.vue.d.ts.map +1 -1
  57. package/dist/components/form/inputs/DateInput.vue.d.ts +1 -1
  58. package/dist/components/form/inputs/DateInput.vue.d.ts.map +1 -1
  59. package/dist/components/form/inputs/DatePicker.vue.d.ts +20 -0
  60. package/dist/components/form/inputs/DatePicker.vue.d.ts.map +1 -0
  61. package/dist/components/form/inputs/DatetimeInput.vue.d.ts +1 -1
  62. package/dist/components/form/inputs/DatetimeInput.vue.d.ts.map +1 -1
  63. package/dist/components/form/inputs/DurationInput.vue.d.ts +1 -1
  64. package/dist/components/form/inputs/DurationInput.vue.d.ts.map +1 -1
  65. package/dist/components/form/inputs/DynamicLinkField.vue.d.ts +1 -1
  66. package/dist/components/form/inputs/DynamicLinkField.vue.d.ts.map +1 -1
  67. package/dist/components/form/inputs/EmailInput.vue.d.ts +1 -1
  68. package/dist/components/form/inputs/EmailInput.vue.d.ts.map +1 -1
  69. package/dist/components/form/inputs/FloatInput.vue.d.ts +1 -1
  70. package/dist/components/form/inputs/FloatInput.vue.d.ts.map +1 -1
  71. package/dist/components/form/inputs/IntInput.vue.d.ts +1 -1
  72. package/dist/components/form/inputs/IntInput.vue.d.ts.map +1 -1
  73. package/dist/components/form/inputs/JSONInput.vue.d.ts +1 -1
  74. package/dist/components/form/inputs/JSONInput.vue.d.ts.map +1 -1
  75. package/dist/components/form/inputs/LinkField.vue.d.ts +1 -1
  76. package/dist/components/form/inputs/LinkField.vue.d.ts.map +1 -1
  77. package/dist/components/form/inputs/Password.vue.d.ts +1 -1
  78. package/dist/components/form/inputs/Password.vue.d.ts.map +1 -1
  79. package/dist/components/form/inputs/PasswordInput.vue.d.ts +1 -1
  80. package/dist/components/form/inputs/PasswordInput.vue.d.ts.map +1 -1
  81. package/dist/components/form/inputs/PlainText.vue.d.ts +1 -1
  82. package/dist/components/form/inputs/PlainText.vue.d.ts.map +1 -1
  83. package/dist/components/form/inputs/ReadOnlyInput.vue.d.ts +1 -1
  84. package/dist/components/form/inputs/ReadOnlyInput.vue.d.ts.map +1 -1
  85. package/dist/components/form/inputs/RichTextEditor.vue.d.ts +1 -1
  86. package/dist/components/form/inputs/RichTextEditor.vue.d.ts.map +1 -1
  87. package/dist/components/form/inputs/SelectField.vue.d.ts +1 -1
  88. package/dist/components/form/inputs/SelectField.vue.d.ts.map +1 -1
  89. package/dist/components/form/inputs/TableField.vue.d.ts +1 -1
  90. package/dist/components/form/inputs/TableField.vue.d.ts.map +1 -1
  91. package/dist/components/form/inputs/TextArea.vue.d.ts +1 -1
  92. package/dist/components/form/inputs/TextArea.vue.d.ts.map +1 -1
  93. package/dist/components/form/inputs/TextInput.vue.d.ts +1 -1
  94. package/dist/components/form/inputs/TextInput.vue.d.ts.map +1 -1
  95. package/dist/components/form/inputs/index.d.ts +1 -0
  96. package/dist/components/form/inputs/index.d.ts.map +1 -1
  97. package/dist/components/formkit/AddressArray.vue.d.ts +1 -1
  98. package/dist/components/formkit/AddressArray.vue.d.ts.map +1 -1
  99. package/dist/components/formkit/BankDetailsArray.vue.d.ts +1 -1
  100. package/dist/components/formkit/BankDetailsArray.vue.d.ts.map +1 -1
  101. package/dist/components/formkit/ContactArrayFormKit.vue.d.ts +1 -1
  102. package/dist/components/formkit/ContactArrayFormKit.vue.d.ts.map +1 -1
  103. package/dist/components/formkit/FileUploader.vue.d.ts +1 -1
  104. package/dist/components/formkit/FileUploader.vue.d.ts.map +1 -1
  105. package/dist/components/formkit/MiscFields.vue.d.ts +1 -1
  106. package/dist/components/formkit/MiscFields.vue.d.ts.map +1 -1
  107. package/dist/components/formkit/Toggle.vue.d.ts +1 -1
  108. package/dist/components/whatsapp/form/MsgTemplate.vue.d.ts +1 -1
  109. package/dist/components/whatsapp/form/MsgTemplate.vue.d.ts.map +1 -1
  110. package/dist/components/whatsapp/form/TextVariableExamples.vue.d.ts +1 -1
  111. package/dist/index.cjs +563 -489
  112. package/dist/index.mjs +564 -490
  113. package/dist/style.css +204 -102
  114. package/package.json +20 -17
  115. package/src/components/TableSchema.vue +79 -70
  116. package/src/components/dashboard/Lineart.vue +136 -115
  117. package/src/components/form/inputs/DatePicker.vue +153 -0
  118. package/src/components/form/inputs/index.ts +1 -0
  119. package/src/components/formkit/FileUploader.vue +8 -6
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { inject, ref, defineComponent, h, openBlock, createElementBlock, Fragment as Fragment$1, createElementVNode, createTextVNode, toDisplayString, watch, onMounted, withKeys, withModifiers, normalizeStyle, resolveComponent, normalizeClass, renderSlot, renderList, createBlock, withCtx, useSlots, resolveDynamicComponent, unref, createCommentVNode, onUnmounted, createVNode, mergeProps, withDirectives, vModelText, isRef, computed, reactive, Transition, useCssVars, pushScopeId, popScopeId, markRaw, vModelCheckbox, Teleport, vModelDynamic, TransitionGroup, provide } from "vue";
1
+ import { inject, ref, defineComponent, h, openBlock, createElementBlock, Fragment as Fragment$1, createElementVNode, createTextVNode, toDisplayString, watch, onMounted, withKeys, withModifiers, normalizeStyle, resolveComponent, normalizeClass, renderSlot, renderList, createBlock, withCtx, useSlots, resolveDynamicComponent, unref, createCommentVNode, onUnmounted, createVNode, mergeProps, withDirectives, vModelText, isRef, computed, reactive, Transition, useCssVars, pushScopeId, popScopeId, markRaw, vModelCheckbox, Teleport, vModelDynamic, TransitionGroup, vModelRadio, provide } from "vue";
2
2
  function bind$2(fn, thisArg) {
3
3
  return function wrap2() {
4
4
  return fn.apply(thisArg, arguments);
@@ -1190,7 +1190,7 @@ function isAbsoluteURL(url) {
1190
1190
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
1191
1191
  }
1192
1192
  function combineURLs(baseURL, relativeURL) {
1193
- return relativeURL ? baseURL.replace(/\/+$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
1193
+ return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
1194
1194
  }
1195
1195
  function buildFullPath(baseURL, requestedURL) {
1196
1196
  if (baseURL && !isAbsoluteURL(requestedURL)) {
@@ -1614,7 +1614,7 @@ function mergeConfig(config1, config2) {
1614
1614
  });
1615
1615
  return config;
1616
1616
  }
1617
- const VERSION = "1.6.2";
1617
+ const VERSION = "1.6.3";
1618
1618
  const validators$1 = {};
1619
1619
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((type3, i2) => {
1620
1620
  validators$1[type3] = function validator2(thing) {
@@ -2300,7 +2300,7 @@ const ModalPlugin = {
2300
2300
  },
2301
2301
  render() {
2302
2302
  return modalStack.value.map((modal, index2) => {
2303
- const renderComponent = modal.isModalForm ? ModalForm : _sfc_main$O;
2303
+ const renderComponent = modal.isModalForm ? ModalForm : _sfc_main$P;
2304
2304
  return h(
2305
2305
  renderComponent,
2306
2306
  {
@@ -2376,8 +2376,8 @@ function useEscape(event, closeModel) {
2376
2376
  closeModel();
2377
2377
  }
2378
2378
  }
2379
- const _hoisted_1$Z = { ref: "el" };
2380
- const _sfc_main$T = /* @__PURE__ */ defineComponent({
2379
+ const _hoisted_1$_ = { ref: "el" };
2380
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
2381
2381
  __name: "LangText",
2382
2382
  props: {
2383
2383
  input: {}
@@ -2385,8 +2385,8 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
2385
2385
  setup(__props) {
2386
2386
  return (_ctx, _cache) => {
2387
2387
  return openBlock(), createElementBlock(Fragment$1, null, [
2388
- createElementVNode("span", _hoisted_1$Z, null, 512),
2389
- createTextVNode(" " + toDisplayString(_ctx.input) + " ", 1)
2388
+ createElementVNode("span", _hoisted_1$_, null, 512),
2389
+ createTextVNode(" " + toDisplayString(_ctx.input), 1)
2390
2390
  ], 64);
2391
2391
  };
2392
2392
  }
@@ -14501,8 +14501,8 @@ const marks = {
14501
14501
  }
14502
14502
  };
14503
14503
  const schema = new Schema({ nodes, marks });
14504
- const _hoisted_1$Y = ["id"];
14505
- const _sfc_main$S = /* @__PURE__ */ defineComponent({
14504
+ const _hoisted_1$Z = ["id"];
14505
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
14506
14506
  __name: "RTXEditor",
14507
14507
  props: {
14508
14508
  elementId: { default: Math.random().toString(36).substr(2, 9) },
@@ -14579,11 +14579,11 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
14579
14579
  onClick: focusEditor,
14580
14580
  id: `canvas-${_ctx.elementId}`,
14581
14581
  onKeydown: _cache[0] || (_cache[0] = withKeys(withModifiers(($event) => _ctx.$emit("keydown.meta.enter"), ["meta"]), ["enter"]))
14582
- }, null, 40, _hoisted_1$Y);
14582
+ }, null, 40, _hoisted_1$Z);
14583
14583
  };
14584
14584
  }
14585
14585
  });
14586
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
14586
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
14587
14587
  __name: "MaterialIcon",
14588
14588
  props: {
14589
14589
  icon: {},
@@ -14598,17 +14598,17 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
14598
14598
  };
14599
14599
  }
14600
14600
  });
14601
- const _hoisted_1$X = /* @__PURE__ */ createElementVNode("div", { class: "icon-font top-arrow" }, "chevron_right", -1);
14602
- const _hoisted_2$P = [
14603
- _hoisted_1$X
14601
+ const _hoisted_1$Y = /* @__PURE__ */ createElementVNode("div", { class: "icon-font top-arrow" }, "chevron_right", -1);
14602
+ const _hoisted_2$Q = [
14603
+ _hoisted_1$Y
14604
14604
  ];
14605
- const _hoisted_3$H = { class: "full-nav" };
14606
- const _hoisted_4$q = { class: "nav-scroll" };
14607
- const _hoisted_5$l = { class: "nav-links-wrapper" };
14605
+ const _hoisted_3$I = { class: "full-nav" };
14606
+ const _hoisted_4$r = { class: "nav-scroll" };
14607
+ const _hoisted_5$m = { class: "nav-links-wrapper" };
14608
14608
  const _hoisted_6$h = { class: "icon-font" };
14609
14609
  const _hoisted_7$d = { class: "tooltip" };
14610
14610
  const _hoisted_8$7 = { class: "bot-buttons-wrapper" };
14611
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
14611
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
14612
14612
  __name: "NavBar",
14613
14613
  props: {
14614
14614
  links: {},
@@ -14632,10 +14632,10 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
14632
14632
  role: "button",
14633
14633
  "aria-label": "Toggle Navigation",
14634
14634
  tabindex: "0"
14635
- }, _hoisted_2$P, 32),
14636
- createElementVNode("div", _hoisted_3$H, [
14637
- createElementVNode("div", _hoisted_4$q, [
14638
- createElementVNode("div", _hoisted_5$l, [
14635
+ }, _hoisted_2$Q, 32),
14636
+ createElementVNode("div", _hoisted_3$I, [
14637
+ createElementVNode("div", _hoisted_4$r, [
14638
+ createElementVNode("div", _hoisted_5$m, [
14639
14639
  (openBlock(true), createElementBlock(Fragment$1, null, renderList((_a = _ctx.links) == null ? void 0 : _a.call(_ctx), (link) => {
14640
14640
  return openBlock(), createBlock(_component_RouterLink, {
14641
14641
  class: "nav-button",
@@ -14659,15 +14659,15 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
14659
14659
  };
14660
14660
  }
14661
14661
  });
14662
- const _hoisted_1$W = {
14662
+ const _hoisted_1$X = {
14663
14663
  key: 0,
14664
14664
  class: "loading"
14665
14665
  };
14666
- const _hoisted_2$O = {
14666
+ const _hoisted_2$P = {
14667
14667
  key: 1,
14668
14668
  class: "btn-flex"
14669
14669
  };
14670
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
14670
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
14671
14671
  __name: "Btn",
14672
14672
  props: {
14673
14673
  disabled: { type: Boolean, default: false },
@@ -14703,8 +14703,8 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
14703
14703
  })
14704
14704
  }, {
14705
14705
  default: withCtx(() => [
14706
- _ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$W)) : (openBlock(), createElementBlock("div", _hoisted_2$O, [
14707
- _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$R), {
14706
+ _ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$X)) : (openBlock(), createElementBlock("div", _hoisted_2$P, [
14707
+ _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$S), {
14708
14708
  key: 0,
14709
14709
  icon: _ctx.icon
14710
14710
  }, null, 8, ["icon"])) : createCommentVNode("", true),
@@ -14712,7 +14712,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
14712
14712
  !unref(slots)["default"] && _ctx.value ? (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
14713
14713
  createTextVNode(toDisplayString(_ctx.value), 1)
14714
14714
  ], 64)) : createCommentVNode("", true),
14715
- props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$R), {
14715
+ props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$S), {
14716
14716
  key: 2,
14717
14717
  icon: props2["icon.end"]
14718
14718
  }, null, 8, ["icon"])) : createCommentVNode("", true)
@@ -14730,11 +14730,11 @@ const _export_sfc = (sfc, props2) => {
14730
14730
  }
14731
14731
  return target;
14732
14732
  };
14733
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-8fe48560"]]);
14734
- const _hoisted_1$V = { class: "tool-bar" };
14735
- const _hoisted_2$N = { class: "modal-title" };
14736
- const _hoisted_3$G = { class: "modal-footer mt-3" };
14737
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
14733
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-8fe48560"]]);
14734
+ const _hoisted_1$W = { class: "tool-bar" };
14735
+ const _hoisted_2$O = { class: "modal-title" };
14736
+ const _hoisted_3$H = { class: "modal-footer mt-3" };
14737
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
14738
14738
  __name: "Modal",
14739
14739
  props: {
14740
14740
  side: { type: Boolean },
@@ -14780,7 +14780,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
14780
14780
  onClick: _cache[0] || (_cache[0] = withModifiers(() => {
14781
14781
  }, ["stop"]))
14782
14782
  }, [
14783
- createElementVNode("header", _hoisted_1$V, [
14783
+ createElementVNode("header", _hoisted_1$W, [
14784
14784
  renderSlot(_ctx.$slots, "toolbar"),
14785
14785
  createVNode(unref(Btn), {
14786
14786
  style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
@@ -14788,10 +14788,10 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
14788
14788
  icon: "close",
14789
14789
  onClick: closeModal
14790
14790
  }, null, 8, ["style"]),
14791
- createElementVNode("h3", _hoisted_2$N, toDisplayString(_ctx.title), 1)
14791
+ createElementVNode("h3", _hoisted_2$O, toDisplayString(_ctx.title), 1)
14792
14792
  ]),
14793
14793
  renderSlot(_ctx.$slots, "default"),
14794
- createElementVNode("footer", _hoisted_3$G, [
14794
+ createElementVNode("footer", _hoisted_3$H, [
14795
14795
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.actions, (action, i2) => {
14796
14796
  return openBlock(), createBlock(unref(Btn), mergeProps({
14797
14797
  key: i2,
@@ -14806,10 +14806,10 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
14806
14806
  };
14807
14807
  }
14808
14808
  });
14809
- const _hoisted_1$U = { class: "dropdown-title" };
14810
- const _hoisted_2$M = { class: "dropdown-body" };
14811
- const _hoisted_3$F = ["onClick"];
14812
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
14809
+ const _hoisted_1$V = { class: "dropdown-title" };
14810
+ const _hoisted_2$N = { class: "dropdown-body" };
14811
+ const _hoisted_3$G = ["onClick"];
14812
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
14813
14813
  __name: "DropDown",
14814
14814
  props: {
14815
14815
  modelValue: String,
@@ -14835,31 +14835,31 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
14835
14835
  class: normalizeClass(["dropdown", { opendrop: unref(isOpen) }]),
14836
14836
  onClick: toggleDropdown
14837
14837
  }, [
14838
- createElementVNode("div", _hoisted_1$U, [
14838
+ createElementVNode("div", _hoisted_1$V, [
14839
14839
  createTextVNode(toDisplayString(unref(selectedOption) || __props.placeholder) + " ", 1),
14840
- createVNode(unref(_sfc_main$R), { icon: "keyboard_arrow_down" })
14840
+ createVNode(unref(_sfc_main$S), { icon: "keyboard_arrow_down" })
14841
14841
  ]),
14842
- createElementVNode("div", _hoisted_2$M, [
14842
+ createElementVNode("div", _hoisted_2$N, [
14843
14843
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(__props.options, (option2, index2) => {
14844
14844
  return openBlock(), createElementBlock("p", {
14845
14845
  key: index2,
14846
14846
  onClick: withModifiers(($event) => selectOption(option2, index2), ["stop"])
14847
- }, toDisplayString(option2), 9, _hoisted_3$F);
14847
+ }, toDisplayString(option2), 9, _hoisted_3$G);
14848
14848
  }), 128))
14849
14849
  ])
14850
14850
  ], 2);
14851
14851
  };
14852
14852
  }
14853
14853
  });
14854
- const _hoisted_1$T = { class: "card list-view grid thin" };
14855
- const _hoisted_2$L = { class: "list-header flex gap-3 align-items-top" };
14856
- const _hoisted_3$E = {
14854
+ const _hoisted_1$U = { class: "card list-view grid thin" };
14855
+ const _hoisted_2$M = { class: "list-header flex gap-3 align-items-top" };
14856
+ const _hoisted_3$F = {
14857
14857
  key: 0,
14858
14858
  class: "bagel-input search-wrap"
14859
14859
  };
14860
- const _hoisted_4$p = ["placeholder"];
14861
- const _hoisted_5$k = { class: "list-content grid auto-flow-rows align-items-start" };
14862
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
14860
+ const _hoisted_4$q = ["placeholder"];
14861
+ const _hoisted_5$l = { class: "list-content grid auto-flow-rows align-items-start" };
14862
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
14863
14863
  __name: "ListView",
14864
14864
  props: {
14865
14865
  enableAdd: { type: Boolean },
@@ -14875,17 +14875,17 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
14875
14875
  debounce(() => emit2("debounce", searchTerm.value));
14876
14876
  };
14877
14877
  return (_ctx, _cache) => {
14878
- return openBlock(), createElementBlock("div", _hoisted_1$T, [
14879
- createElementVNode("div", _hoisted_2$L, [
14880
- _ctx.enableSearch ? (openBlock(), createElementBlock("div", _hoisted_3$E, [
14878
+ return openBlock(), createElementBlock("div", _hoisted_1$U, [
14879
+ createElementVNode("div", _hoisted_2$M, [
14880
+ _ctx.enableSearch ? (openBlock(), createElementBlock("div", _hoisted_3$F, [
14881
14881
  withDirectives(createElementVNode("input", {
14882
14882
  placeholder: _ctx.searchPlaceholder,
14883
14883
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchTerm.value = $event),
14884
14884
  onInput: _cache[1] || (_cache[1] = ($event) => search())
14885
- }, null, 40, _hoisted_4$p), [
14885
+ }, null, 40, _hoisted_4$q), [
14886
14886
  [vModelText, searchTerm.value]
14887
14887
  ]),
14888
- createVNode(unref(_sfc_main$R), {
14888
+ createVNode(unref(_sfc_main$S), {
14889
14889
  class: "txtgray",
14890
14890
  icon: "search"
14891
14891
  })
@@ -14897,16 +14897,16 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
14897
14897
  onClick: _cache[2] || (_cache[2] = ($event) => emit2("add"))
14898
14898
  })) : createCommentVNode("", true)
14899
14899
  ]),
14900
- createElementVNode("div", _hoisted_5$k, [
14900
+ createElementVNode("div", _hoisted_5$l, [
14901
14901
  renderSlot(_ctx.$slots, "default")
14902
14902
  ])
14903
14903
  ]);
14904
14904
  };
14905
14905
  }
14906
14906
  });
14907
- const _hoisted_1$S = { class: "txt16 no-margin" };
14908
- const _hoisted_2$K = { class: "txt14 no-margin txtgray" };
14909
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
14907
+ const _hoisted_1$T = { class: "txt16 no-margin" };
14908
+ const _hoisted_2$L = { class: "txt14 no-margin txtgray" };
14909
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
14910
14910
  __name: "ListItem",
14911
14911
  props: {
14912
14912
  to: {}
@@ -14918,10 +14918,10 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
14918
14918
  class: "list-item ellipsis"
14919
14919
  }, {
14920
14920
  default: withCtx(() => [
14921
- createElementVNode("p", _hoisted_1$S, [
14921
+ createElementVNode("p", _hoisted_1$T, [
14922
14922
  renderSlot(_ctx.$slots, "default")
14923
14923
  ]),
14924
- createElementVNode("p", _hoisted_2$K, [
14924
+ createElementVNode("p", _hoisted_2$L, [
14925
14925
  renderSlot(_ctx.$slots, "subtitle")
14926
14926
  ])
14927
14927
  ]),
@@ -14930,11 +14930,11 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
14930
14930
  };
14931
14931
  }
14932
14932
  });
14933
- const _hoisted_1$R = { class: "h-100 grid list-view gap-3" };
14934
- const _hoisted_2$J = { class: "card tabs-top" };
14935
- const _hoisted_3$D = { class: "tabs grid auto-flow-columns fit-content" };
14936
- const _hoisted_4$o = ["onClick"];
14937
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
14933
+ const _hoisted_1$S = { class: "h-100 grid list-view gap-3" };
14934
+ const _hoisted_2$K = { class: "card tabs-top" };
14935
+ const _hoisted_3$E = { class: "tabs grid auto-flow-columns fit-content" };
14936
+ const _hoisted_4$p = ["onClick"];
14937
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
14938
14938
  __name: "TabbedLayout",
14939
14939
  props: {
14940
14940
  title: {},
@@ -14962,10 +14962,10 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
14962
14962
  activeTab.value = firstTab;
14963
14963
  });
14964
14964
  return (_ctx, _cache) => {
14965
- return openBlock(), createElementBlock("div", _hoisted_1$R, [
14966
- createElementVNode("div", _hoisted_2$J, [
14965
+ return openBlock(), createElementBlock("div", _hoisted_1$S, [
14966
+ createElementVNode("div", _hoisted_2$K, [
14967
14967
  renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
14968
- createElementVNode("div", _hoisted_3$D, [
14968
+ createElementVNode("div", _hoisted_3$E, [
14969
14969
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.tabs, (tab) => {
14970
14970
  return openBlock(), createElementBlock("div", {
14971
14971
  class: normalizeClass([{
@@ -14973,7 +14973,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
14973
14973
  }, "tab"]),
14974
14974
  key: tab,
14975
14975
  onClick: ($event) => changeTab(tab)
14976
- }, toDisplayString(tab), 11, _hoisted_4$o);
14976
+ }, toDisplayString(tab), 11, _hoisted_4$p);
14977
14977
  }), 128))
14978
14978
  ])
14979
14979
  ]),
@@ -14989,16 +14989,16 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
14989
14989
  };
14990
14990
  }
14991
14991
  });
14992
- const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-3941cced"]]);
14993
- const _hoisted_1$Q = { class: "comments-wrap" };
14994
- const _hoisted_2$I = { class: "comment-list" };
14995
- const _hoisted_3$C = { class: "comment-top" };
14996
- const _hoisted_4$n = { class: "comment-owner" };
14997
- const _hoisted_5$j = { class: "comment-time" };
14992
+ const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-3941cced"]]);
14993
+ const _hoisted_1$R = { class: "comments-wrap" };
14994
+ const _hoisted_2$J = { class: "comment-list" };
14995
+ const _hoisted_3$D = { class: "comment-top" };
14996
+ const _hoisted_4$o = { class: "comment-owner" };
14997
+ const _hoisted_5$k = { class: "comment-time" };
14998
14998
  const _hoisted_6$g = { class: "comment-actions" };
14999
14999
  const _hoisted_7$c = ["innerHTML"];
15000
15000
  const _hoisted_8$6 = { class: "new-comment" };
15001
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
15001
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
15002
15002
  __name: "Comments",
15003
15003
  props: {
15004
15004
  ref_table: {},
@@ -15041,8 +15041,8 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
15041
15041
  void fetchData();
15042
15042
  };
15043
15043
  return (_ctx, _cache) => {
15044
- return openBlock(), createElementBlock("div", _hoisted_1$Q, [
15045
- createElementVNode("div", _hoisted_2$I, [
15044
+ return openBlock(), createElementBlock("div", _hoisted_1$R, [
15045
+ createElementVNode("div", _hoisted_2$J, [
15046
15046
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(comments), (comment) => {
15047
15047
  var _a, _b, _c;
15048
15048
  return openBlock(), createElementBlock("div", {
@@ -15052,23 +15052,23 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
15052
15052
  }, "comment"]),
15053
15053
  key: comment.id
15054
15054
  }, [
15055
- createElementVNode("div", _hoisted_3$C, [
15056
- createElementVNode("div", _hoisted_4$n, toDisplayString(comment.sender.first_name) + " " + toDisplayString(comment.sender.last_name), 1),
15057
- createElementVNode("div", _hoisted_5$j, toDisplayString(comment.updated_at.split("T")[0]), 1),
15055
+ createElementVNode("div", _hoisted_3$D, [
15056
+ createElementVNode("div", _hoisted_4$o, toDisplayString(comment.sender.first_name) + " " + toDisplayString(comment.sender.last_name), 1),
15057
+ createElementVNode("div", _hoisted_5$k, toDisplayString(comment.updated_at.split("T")[0]), 1),
15058
15058
  createElementVNode("div", _hoisted_6$g, [
15059
- createVNode(unref(_sfc_main$R), {
15059
+ createVNode(unref(_sfc_main$S), {
15060
15060
  size: 1,
15061
15061
  class: "edit",
15062
15062
  icon: "edit",
15063
15063
  onClick: ($event) => isRef(editComment) ? editComment.value = comment : editComment = comment
15064
15064
  }, null, 8, ["onClick"]),
15065
- createVNode(unref(_sfc_main$R), {
15065
+ createVNode(unref(_sfc_main$S), {
15066
15066
  size: 1.2,
15067
15067
  class: "delete",
15068
15068
  icon: "delete",
15069
15069
  onClick: ($event) => deleteComment(comment.id)
15070
15070
  }, null, 8, ["onClick"]),
15071
- createVNode(unref(_sfc_main$R), {
15071
+ createVNode(unref(_sfc_main$S), {
15072
15072
  size: 1.2,
15073
15073
  class: "save",
15074
15074
  icon: "save",
@@ -15076,7 +15076,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
15076
15076
  })
15077
15077
  ])
15078
15078
  ]),
15079
- unref(editComment) !== null && ((_c = unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (openBlock(), createBlock(unref(_sfc_main$S), {
15079
+ unref(editComment) !== null && ((_c = unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (openBlock(), createBlock(unref(_sfc_main$T), {
15080
15080
  key: 0,
15081
15081
  modelValue: unref(editComment).body_html,
15082
15082
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(editComment).body_html = $event),
@@ -15090,7 +15090,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
15090
15090
  }), 128))
15091
15091
  ]),
15092
15092
  createElementVNode("div", _hoisted_8$6, [
15093
- createVNode(unref(_sfc_main$S), {
15093
+ createVNode(unref(_sfc_main$T), {
15094
15094
  class: "comment-input",
15095
15095
  modelValue: unref(bodyHtml),
15096
15096
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(bodyHtml) ? bodyHtml.value = $event : bodyHtml = $event),
@@ -15110,10 +15110,10 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
15110
15110
  };
15111
15111
  }
15112
15112
  });
15113
- const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-2eead7c8"]]);
15114
- const _hoisted_1$P = { class: "page-top" };
15115
- const _hoisted_2$H = { class: "top-title" };
15116
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
15113
+ const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-2eead7c8"]]);
15114
+ const _hoisted_1$Q = { class: "page-top" };
15115
+ const _hoisted_2$I = { class: "top-title" };
15116
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
15117
15117
  __name: "PageTitle",
15118
15118
  props: {
15119
15119
  value: {
@@ -15123,8 +15123,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
15123
15123
  },
15124
15124
  setup(__props) {
15125
15125
  return (_ctx, _cache) => {
15126
- return openBlock(), createElementBlock("div", _hoisted_1$P, [
15127
- createElementVNode("h1", _hoisted_2$H, [
15126
+ return openBlock(), createElementBlock("div", _hoisted_1$Q, [
15127
+ createElementVNode("h1", _hoisted_2$I, [
15128
15128
  renderSlot(_ctx.$slots, "default"),
15129
15129
  createTextVNode(" " + toDisplayString(__props.value), 1)
15130
15130
  ])
@@ -15132,9 +15132,9 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
15132
15132
  };
15133
15133
  }
15134
15134
  });
15135
- const _hoisted_1$O = { class: "tool-bar" };
15136
- const _hoisted_2$G = { class: "modal-title" };
15137
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
15135
+ const _hoisted_1$P = { class: "tool-bar" };
15136
+ const _hoisted_2$H = { class: "modal-title" };
15137
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
15138
15138
  __name: "ModalForm",
15139
15139
  props: {
15140
15140
  side: { type: Boolean },
@@ -15207,7 +15207,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
15207
15207
  onClick: _cache[0] || (_cache[0] = withModifiers(() => {
15208
15208
  }, ["stop"]))
15209
15209
  }, [
15210
- createElementVNode("header", _hoisted_1$O, [
15210
+ createElementVNode("header", _hoisted_1$P, [
15211
15211
  renderSlot(_ctx.$slots, "toolbar", {}, void 0, true),
15212
15212
  createVNode(unref(Btn), {
15213
15213
  style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
@@ -15215,9 +15215,9 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
15215
15215
  icon: "close",
15216
15216
  onClick: closeModal
15217
15217
  }, null, 8, ["style"]),
15218
- createElementVNode("h3", _hoisted_2$G, toDisplayString(_ctx.title), 1)
15218
+ createElementVNode("h3", _hoisted_2$H, toDisplayString(_ctx.title), 1)
15219
15219
  ]),
15220
- createVNode(unref(_sfc_main$G), {
15220
+ createVNode(unref(_sfc_main$H), {
15221
15221
  onDelete: _ctx.onDelete ? runDelete : void 0,
15222
15222
  modelValue: _ctx.modelValue,
15223
15223
  "onUpdate:modelValue": handleEmit,
@@ -15229,8 +15229,8 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
15229
15229
  };
15230
15230
  }
15231
15231
  });
15232
- const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-1799b7d0"]]);
15233
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
15232
+ const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-1799b7d0"]]);
15233
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
15234
15234
  __name: "FormSchema",
15235
15235
  props: {
15236
15236
  modelValue: {},
@@ -15303,14 +15303,14 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
15303
15303
  };
15304
15304
  }
15305
15305
  });
15306
- const _hoisted_1$N = { class: "table-list-wrap h-100" };
15307
- const _hoisted_2$F = { class: "infinite-wrapper" };
15308
- const _hoisted_3$B = { class: "row first-row" };
15309
- const _hoisted_4$m = ["onClick"];
15310
- const _hoisted_5$i = { class: "flex" };
15306
+ const _hoisted_1$O = { class: "table-list-wrap h-100" };
15307
+ const _hoisted_2$G = { class: "infinite-wrapper" };
15308
+ const _hoisted_3$C = { class: "row first-row" };
15309
+ const _hoisted_4$n = ["onClick"];
15310
+ const _hoisted_5$j = { class: "flex" };
15311
15311
  const _hoisted_6$f = ["onClick"];
15312
15312
  const _hoisted_7$b = { key: 1 };
15313
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
15313
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
15314
15314
  __name: "TableSchema",
15315
15315
  props: {
15316
15316
  data: {},
@@ -15348,32 +15348,35 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
15348
15348
  };
15349
15349
  const columns = computed(
15350
15350
  () => {
15351
- var _a;
15352
- return ((_a = props2.schema) == null ? void 0 : _a.call(props2)) || Object.keys(props2.data[0]).map((k) => ({ id: k, inputType: "PlainText" }));
15351
+ var _a, _b;
15352
+ return ((_b = (_a = props2.schema) == null ? void 0 : _a.call(props2)) == null ? void 0 : _b.map((field) => ({
15353
+ ...field,
15354
+ id: (field == null ? void 0 : field.relationshipObjKey) || field.id
15355
+ }))) || Object.keys(props2.data[0]).map((k) => ({ id: k, inputType: "PlainText" }));
15353
15356
  }
15354
15357
  );
15355
15358
  return (_ctx, _cache) => {
15356
- return openBlock(), createElementBlock("div", _hoisted_1$N, [
15357
- createElementVNode("table", _hoisted_2$F, [
15358
- createElementVNode("thead", _hoisted_3$B, [
15359
+ return openBlock(), createElementBlock("div", _hoisted_1$O, [
15360
+ createElementVNode("table", _hoisted_2$G, [
15361
+ createElementVNode("thead", _hoisted_3$C, [
15359
15362
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(columns.value, (field) => {
15360
15363
  return openBlock(), createElementBlock("th", {
15361
15364
  class: "col",
15362
15365
  key: field.id,
15363
15366
  onClick: ($event) => sort2(field.id)
15364
15367
  }, [
15365
- createElementVNode("div", _hoisted_5$i, [
15368
+ createElementVNode("div", _hoisted_5$j, [
15366
15369
  createTextVNode(toDisplayString((field == null ? void 0 : field.label) || (field == null ? void 0 : field.id)) + " ", 1),
15367
15370
  createElementVNode("div", {
15368
15371
  class: normalizeClass(["list-arrows", { sorted: unref(sortField) === field.id }])
15369
15372
  }, [
15370
- createVNode(unref(_sfc_main$R), {
15373
+ createVNode(unref(_sfc_main$S), {
15371
15374
  class: normalizeClass({ desc: unref(sortDirection) === "DESC" }),
15372
15375
  icon: "keyboard_arrow_up"
15373
15376
  }, null, 8, ["class"])
15374
15377
  ], 2)
15375
15378
  ])
15376
- ], 8, _hoisted_4$m);
15379
+ ], 8, _hoisted_4$n);
15377
15380
  }), 128))
15378
15381
  ]),
15379
15382
  createElementVNode("tbody", {
@@ -15424,16 +15427,16 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
15424
15427
  };
15425
15428
  }
15426
15429
  });
15427
- const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-8cd8ab82"]]);
15428
- const _sfc_main$E = {};
15429
- const _hoisted_1$M = { class: "flex space-between" };
15430
+ const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-f3a410c2"]]);
15431
+ const _sfc_main$F = {};
15432
+ const _hoisted_1$N = { class: "flex space-between" };
15430
15433
  function _sfc_render$1(_ctx, _cache) {
15431
- return openBlock(), createElementBlock("div", _hoisted_1$M, [
15434
+ return openBlock(), createElementBlock("div", _hoisted_1$N, [
15432
15435
  renderSlot(_ctx.$slots, "default")
15433
15436
  ]);
15434
15437
  }
15435
- const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$1]]);
15436
- const _sfc_main$D = {};
15438
+ const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$1]]);
15439
+ const _sfc_main$E = {};
15437
15440
  function _sfc_render(_ctx, _cache) {
15438
15441
  const _component_router_view = resolveComponent("router-view");
15439
15442
  return openBlock(), createBlock(_component_router_view, null, {
@@ -15455,9 +15458,9 @@ function _sfc_render(_ctx, _cache) {
15455
15458
  _: 1
15456
15459
  });
15457
15460
  }
15458
- const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render]]);
15459
- const _hoisted_1$L = { class: "card h-100 thin" };
15460
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
15461
+ const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render]]);
15462
+ const _hoisted_1$M = { class: "card h-100 thin" };
15463
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
15461
15464
  __name: "ContactSubmissions",
15462
15465
  props: {
15463
15466
  person_id: {
@@ -15487,7 +15490,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
15487
15490
  void getData();
15488
15491
  });
15489
15492
  return (_ctx, _cache) => {
15490
- return openBlock(), createElementBlock("div", _hoisted_1$L, [
15493
+ return openBlock(), createElementBlock("div", _hoisted_1$M, [
15491
15494
  createVNode(unref(TableSchema), {
15492
15495
  schema: schema2,
15493
15496
  data: unref(data2)
@@ -15496,14 +15499,14 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
15496
15499
  };
15497
15500
  }
15498
15501
  });
15499
- const _hoisted_1$K = {
15502
+ const _hoisted_1$L = {
15500
15503
  key: 0,
15501
15504
  class: "person-card-edit flex gap-2"
15502
15505
  };
15503
- const _hoisted_2$E = { class: "person-card-icon-wrap" };
15504
- const _hoisted_3$A = { class: "person-card-icon" };
15505
- const _hoisted_4$l = { class: "person-card-name txt20" };
15506
- const _hoisted_5$h = { class: "person-card-details-wrap" };
15506
+ const _hoisted_2$F = { class: "person-card-icon-wrap" };
15507
+ const _hoisted_3$B = { class: "person-card-icon" };
15508
+ const _hoisted_4$m = { class: "person-card-name txt20" };
15509
+ const _hoisted_5$i = { class: "person-card-details-wrap" };
15507
15510
  const _hoisted_6$e = {
15508
15511
  key: 0,
15509
15512
  class: "person-card-details"
@@ -15518,7 +15521,7 @@ const _hoisted_8$5 = {
15518
15521
  };
15519
15522
  const _hoisted_9$3 = { key: 0 };
15520
15523
  const _hoisted_10$3 = { key: 1 };
15521
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
15524
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
15522
15525
  __name: "PersonPreview",
15523
15526
  props: {
15524
15527
  person: {},
@@ -15548,7 +15551,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
15548
15551
  (...args) => _ctx.onClick && _ctx.onClick(...args)),
15549
15552
  class: "person-card"
15550
15553
  }, [
15551
- !_ctx.onClick ? (openBlock(), createElementBlock("div", _hoisted_1$K, [
15554
+ !_ctx.onClick ? (openBlock(), createElementBlock("div", _hoisted_1$L, [
15552
15555
  !_ctx.$route.path.match("/search") ? (openBlock(), createBlock(unref(Btn), {
15553
15556
  key: 0,
15554
15557
  round: "",
@@ -15565,13 +15568,13 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
15565
15568
  icon: "edit"
15566
15569
  })
15567
15570
  ])) : createCommentVNode("", true),
15568
- createElementVNode("div", _hoisted_2$E, [
15569
- createElementVNode("p", _hoisted_3$A, toDisplayString(unref(initials)(_ctx.person.first_name, _ctx.person.last_name)), 1),
15570
- createElementVNode("p", _hoisted_4$l, toDisplayString(_ctx.person.first_name) + " " + toDisplayString(_ctx.person.last_name), 1)
15571
+ createElementVNode("div", _hoisted_2$F, [
15572
+ createElementVNode("p", _hoisted_3$B, toDisplayString(unref(initials)(_ctx.person.first_name, _ctx.person.last_name)), 1),
15573
+ createElementVNode("p", _hoisted_4$m, toDisplayString(_ctx.person.first_name) + " " + toDisplayString(_ctx.person.last_name), 1)
15571
15574
  ]),
15572
- createElementVNode("div", _hoisted_5$h, [
15575
+ createElementVNode("div", _hoisted_5$i, [
15573
15576
  ((_a = _ctx.person.phone) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_6$e, [
15574
- createVNode(unref(_sfc_main$R), { icon: "phone" }),
15577
+ createVNode(unref(_sfc_main$S), { icon: "phone" }),
15575
15578
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.person.phone, (phone) => {
15576
15579
  return openBlock(), createElementBlock("p", {
15577
15580
  key: phone.id
@@ -15579,7 +15582,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
15579
15582
  }), 128))
15580
15583
  ])) : createCommentVNode("", true),
15581
15584
  ((_b = _ctx.person.email) == null ? void 0 : _b.length) ? (openBlock(), createElementBlock("div", _hoisted_7$a, [
15582
- createVNode(unref(_sfc_main$R), { icon: "email" }),
15585
+ createVNode(unref(_sfc_main$S), { icon: "email" }),
15583
15586
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.person.email, (email) => {
15584
15587
  return openBlock(), createElementBlock("p", {
15585
15588
  key: email.id
@@ -15587,7 +15590,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
15587
15590
  }), 128))
15588
15591
  ])) : createCommentVNode("", true),
15589
15592
  _ctx.person.date_of_birth || _ctx.person.gender ? (openBlock(), createElementBlock("div", _hoisted_8$5, [
15590
- createVNode(unref(_sfc_main$R), { icon: "badge" }),
15593
+ createVNode(unref(_sfc_main$S), { icon: "badge" }),
15591
15594
  _ctx.person.date_of_birth ? (openBlock(), createElementBlock("p", _hoisted_9$3, toDisplayString(_ctx.person.date_of_birth), 1)) : createCommentVNode("", true),
15592
15595
  _ctx.person.gender ? (openBlock(), createElementBlock("p", _hoisted_10$3, toDisplayString(_ctx.person.gender), 1)) : createCommentVNode("", true)
15593
15596
  ])) : createCommentVNode("", true)
@@ -15596,23 +15599,23 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
15596
15599
  };
15597
15600
  }
15598
15601
  });
15599
- const _hoisted_1$J = {
15602
+ const _hoisted_1$K = {
15600
15603
  key: 0,
15601
15604
  class: "data"
15602
15605
  };
15603
- const _hoisted_2$D = {
15606
+ const _hoisted_2$E = {
15604
15607
  key: 0,
15605
15608
  class: "mb-3 mt-0"
15606
15609
  };
15607
- const _hoisted_3$z = {
15610
+ const _hoisted_3$A = {
15608
15611
  key: 0,
15609
15612
  class: "data-row"
15610
15613
  };
15611
- const _hoisted_4$k = { class: "key" };
15612
- const _hoisted_5$g = { key: 1 };
15614
+ const _hoisted_4$l = { class: "key" };
15615
+ const _hoisted_5$h = { key: 1 };
15613
15616
  const _hoisted_6$d = { class: "key" };
15614
15617
  const _hoisted_7$9 = { class: "vlue" };
15615
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
15618
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
15616
15619
  __name: "DataPreview",
15617
15620
  props: {
15618
15621
  data: {},
@@ -15634,14 +15637,14 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
15634
15637
  };
15635
15638
  return (_ctx, _cache) => {
15636
15639
  var _a;
15637
- return _ctx.data ? (openBlock(), createElementBlock("div", _hoisted_1$J, [
15638
- _ctx.title ? (openBlock(), createElementBlock("h3", _hoisted_2$D, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
15640
+ return _ctx.data ? (openBlock(), createElementBlock("div", _hoisted_1$K, [
15641
+ _ctx.title ? (openBlock(), createElementBlock("h3", _hoisted_2$E, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
15639
15642
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.schema || [], (field) => {
15640
15643
  return openBlock(), createElementBlock(Fragment$1, {
15641
15644
  key: field.id
15642
15645
  }, [
15643
- (field["v-if"] ? field["v-if"](itemData.value[field.id], itemData.value) : true) ? (openBlock(), createElementBlock("div", _hoisted_3$z, [
15644
- createElementVNode("div", _hoisted_4$k, toDisplayString((field == null ? void 0 : field.label) || unref(keyToLabel)(field.id)), 1),
15646
+ (field["v-if"] ? field["v-if"](itemData.value[field.id], itemData.value) : true) ? (openBlock(), createElementBlock("div", _hoisted_3$A, [
15647
+ createElementVNode("div", _hoisted_4$l, toDisplayString((field == null ? void 0 : field.label) || unref(keyToLabel)(field.id)), 1),
15645
15648
  (openBlock(), createBlock(resolveDynamicComponent(field.$el || "div"), mergeProps({
15646
15649
  class: "vlue",
15647
15650
  modelValue: itemData.value[field.id],
@@ -15661,7 +15664,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
15661
15664
  ])) : createCommentVNode("", true)
15662
15665
  ], 64);
15663
15666
  }), 128)),
15664
- !((_a = _ctx.schema) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_5$g, [
15667
+ !((_a = _ctx.schema) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_5$h, [
15665
15668
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(Object.entries(itemData.value).filter(
15666
15669
  ([key]) => !keysToIgnore.includes(key)
15667
15670
  ), ([key, value]) => {
@@ -15679,23 +15682,23 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
15679
15682
  };
15680
15683
  }
15681
15684
  });
15682
- const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-dc2757c4"]]);
15685
+ const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-dc2757c4"]]);
15683
15686
  const _withScopeId$2 = (n) => (pushScopeId("data-v-fe5af582"), n = n(), popScopeId(), n);
15684
- const _hoisted_1$I = { class: "bar-chart" };
15685
- const _hoisted_2$C = {
15687
+ const _hoisted_1$J = { class: "bar-chart" };
15688
+ const _hoisted_2$D = {
15686
15689
  key: 0,
15687
15690
  class: "group-wrap"
15688
15691
  };
15689
- const _hoisted_3$y = { class: "group-title" };
15690
- const _hoisted_4$j = {
15692
+ const _hoisted_3$z = { class: "group-title" };
15693
+ const _hoisted_4$k = {
15691
15694
  key: 1,
15692
15695
  class: "bar-wrap"
15693
15696
  };
15694
- const _hoisted_5$f = { class: "bar-txt" };
15697
+ const _hoisted_5$g = { class: "bar-txt" };
15695
15698
  const _hoisted_6$c = { class: "factor" };
15696
15699
  const _hoisted_7$8 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "red-bar" }, null, -1));
15697
15700
  const _hoisted_8$4 = { class: "bar-lines" };
15698
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
15701
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
15699
15702
  __name: "BarChart",
15700
15703
  props: {
15701
15704
  title: {},
@@ -15747,14 +15750,14 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
15747
15750
  const percent = (val) => val / maxValue.value * 100;
15748
15751
  const floodPercent = computed(() => `${props2.flood}%`);
15749
15752
  return (_ctx, _cache) => {
15750
- return openBlock(), createElementBlock("div", _hoisted_1$I, [
15753
+ return openBlock(), createElementBlock("div", _hoisted_1$J, [
15751
15754
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(dataArray.value, (item, i2) => {
15752
15755
  return openBlock(), createElementBlock("div", {
15753
15756
  class: "graph-wrap",
15754
15757
  key: i2
15755
15758
  }, [
15756
- item.group ? (openBlock(), createElementBlock("div", _hoisted_2$C, [
15757
- createElementVNode("p", _hoisted_3$y, toDisplayString(item.group), 1),
15759
+ item.group ? (openBlock(), createElementBlock("div", _hoisted_2$D, [
15760
+ createElementVNode("p", _hoisted_3$z, toDisplayString(item.group), 1),
15758
15761
  (openBlock(true), createElementBlock(Fragment$1, null, renderList((item == null ? void 0 : item.data) || [], (nested, i22) => {
15759
15762
  return openBlock(), createElementBlock("div", {
15760
15763
  key: i22,
@@ -15773,7 +15776,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
15773
15776
  }, null, 4)) : createCommentVNode("", true)
15774
15777
  ]);
15775
15778
  }), 128))
15776
- ])) : (openBlock(), createElementBlock("div", _hoisted_4$j, [
15779
+ ])) : (openBlock(), createElementBlock("div", _hoisted_4$k, [
15777
15780
  createElementVNode("div", {
15778
15781
  class: "bar",
15779
15782
  style: normalizeStyle({ height: loaded.value ? `${percent(item.value)}%` : "0" })
@@ -15783,7 +15786,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
15783
15786
  class: "bar compare",
15784
15787
  style: normalizeStyle({ height: loaded.value ? `${percent(item.compareValue)}%` : "0" })
15785
15788
  }, null, 4)) : createCommentVNode("", true),
15786
- createElementVNode("p", _hoisted_5$f, toDisplayString(item.title), 1)
15789
+ createElementVNode("p", _hoisted_5$g, toDisplayString(item.title), 1)
15787
15790
  ]))
15788
15791
  ]);
15789
15792
  }), 128)),
@@ -15798,7 +15801,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
15798
15801
  };
15799
15802
  }
15800
15803
  });
15801
- const BarChart = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-fe5af582"]]);
15804
+ const BarChart = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-fe5af582"]]);
15802
15805
  const explicitKeys = [
15803
15806
  "__key",
15804
15807
  "__init",
@@ -17054,8 +17057,8 @@ function createInput(schemaOrComponent, definitionOptions = {}) {
17054
17057
  }
17055
17058
  return definition;
17056
17059
  }
17057
- const _hoisted_1$H = { class: "primary-checkbox" };
17058
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
17060
+ const _hoisted_1$I = { class: "primary-checkbox" };
17061
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
17059
17062
  __name: "Checkbox",
17060
17063
  props: {
17061
17064
  modelValue: Boolean
@@ -17083,7 +17086,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
17083
17086
  }
17084
17087
  );
17085
17088
  return (_ctx, _cache) => {
17086
- return openBlock(), createElementBlock("label", _hoisted_1$H, [
17089
+ return openBlock(), createElementBlock("label", _hoisted_1$I, [
17087
17090
  withDirectives(createElementVNode("input", {
17088
17091
  type: "checkbox",
17089
17092
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(val) ? val.value = $event : val = $event)
@@ -17091,24 +17094,24 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
17091
17094
  [vModelCheckbox, unref(val)]
17092
17095
  ]),
17093
17096
  createElementVNode("span", null, [
17094
- createVNode(unref(_sfc_main$R), { icon: "check" })
17097
+ createVNode(unref(_sfc_main$S), { icon: "check" })
17095
17098
  ])
17096
17099
  ]);
17097
17100
  };
17098
17101
  }
17099
17102
  });
17100
- const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-6b168ea9"]]);
17101
- const _hoisted_1$G = { class: "bagel-input" };
17102
- const _hoisted_2$B = { class: "mt-1" };
17103
- const _hoisted_3$x = {
17103
+ const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-6b168ea9"]]);
17104
+ const _hoisted_1$H = { class: "bagel-input" };
17105
+ const _hoisted_2$C = { class: "mt-1" };
17106
+ const _hoisted_3$y = {
17104
17107
  key: 0,
17105
17108
  class: "bglform-contact-confirm"
17106
17109
  };
17107
- const _hoisted_4$i = { class: "txt14" };
17108
- const _hoisted_5$e = ["onUpdate:modelValue", "placeholder"];
17110
+ const _hoisted_4$j = { class: "txt14" };
17111
+ const _hoisted_5$f = ["onUpdate:modelValue", "placeholder"];
17109
17112
  const _hoisted_6$b = ["onUpdate:modelValue", "placeholder"];
17110
17113
  const _hoisted_7$7 = ["onUpdate:modelValue", "placeholder"];
17111
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
17114
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
17112
17115
  __name: "ContactArrayFormKit",
17113
17116
  props: {
17114
17117
  context: {}
@@ -17161,16 +17164,16 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
17161
17164
  }
17162
17165
  );
17163
17166
  return (_ctx, _cache) => {
17164
- return openBlock(), createElementBlock("div", _hoisted_1$G, [
17165
- createElementVNode("div", _hoisted_2$B, [
17167
+ return openBlock(), createElementBlock("div", _hoisted_1$H, [
17168
+ createElementVNode("div", _hoisted_2$C, [
17166
17169
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(val), (contact, i2) => {
17167
17170
  var _a, _b, _c, _d, _e, _f;
17168
17171
  return openBlock(), createElementBlock("div", {
17169
17172
  class: "bglform-contact mb-2",
17170
17173
  key: i2
17171
17174
  }, [
17172
- unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$x, [
17173
- createElementVNode("p", _hoisted_4$i, toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
17175
+ unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$y, [
17176
+ createElementVNode("p", _hoisted_4$j, toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
17174
17177
  createVNode(unref(Btn), {
17175
17178
  thin: "",
17176
17179
  color: "red",
@@ -17206,7 +17209,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
17206
17209
  "onUpdate:modelValue": ($event) => contact.label = $event,
17207
17210
  type: "text",
17208
17211
  placeholder: (_b = formPlaceholders.value) == null ? void 0 : _b.label
17209
- }, null, 8, _hoisted_5$e), [
17212
+ }, null, 8, _hoisted_5$f), [
17210
17213
  [vModelText, contact.label]
17211
17214
  ]),
17212
17215
  ((_c = _ctx.context) == null ? void 0 : _c.id) === "email" ? withDirectives((openBlock(), createElementBlock("input", {
@@ -17254,15 +17257,15 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
17254
17257
  };
17255
17258
  }
17256
17259
  });
17257
- const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-312e5767"]]);
17258
- const _hoisted_1$F = { class: "bagel-input" };
17259
- const _hoisted_2$A = { class: "mt-1" };
17260
- const _hoisted_3$w = {
17260
+ const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-312e5767"]]);
17261
+ const _hoisted_1$G = { class: "bagel-input" };
17262
+ const _hoisted_2$B = { class: "mt-1" };
17263
+ const _hoisted_3$x = {
17261
17264
  key: 0,
17262
17265
  class: "bglform-contact-confirm"
17263
17266
  };
17264
- const _hoisted_4$h = { class: "txt14" };
17265
- const _hoisted_5$d = ["onUpdate:modelValue", "placeholder"];
17267
+ const _hoisted_4$i = { class: "txt14" };
17268
+ const _hoisted_5$e = ["onUpdate:modelValue", "placeholder"];
17266
17269
  const _hoisted_6$a = { class: "bglform-contact-address" };
17267
17270
  const _hoisted_7$6 = ["onUpdate:modelValue", "placeholder"];
17268
17271
  const _hoisted_8$3 = { class: "bglform-contact-address-flex" };
@@ -17270,7 +17273,7 @@ const _hoisted_9$2 = ["onUpdate:modelValue", "placeholder"];
17270
17273
  const _hoisted_10$2 = ["onUpdate:modelValue", "placeholder"];
17271
17274
  const _hoisted_11$1 = ["onUpdate:modelValue", "placeholder"];
17272
17275
  const _hoisted_12$1 = { class: "bglform-address-del" };
17273
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
17276
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
17274
17277
  __name: "AddressArray",
17275
17278
  props: {
17276
17279
  context: {}
@@ -17329,16 +17332,16 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
17329
17332
  }
17330
17333
  );
17331
17334
  return (_ctx, _cache) => {
17332
- return openBlock(), createElementBlock("div", _hoisted_1$F, [
17333
- createElementVNode("div", _hoisted_2$A, [
17335
+ return openBlock(), createElementBlock("div", _hoisted_1$G, [
17336
+ createElementVNode("div", _hoisted_2$B, [
17334
17337
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(val), (address, i2) => {
17335
17338
  var _a, _b, _c, _d, _e, _f;
17336
17339
  return openBlock(), createElementBlock("div", {
17337
17340
  class: "bglform-contact mb-3",
17338
17341
  key: i2
17339
17342
  }, [
17340
- unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$w, [
17341
- createElementVNode("p", _hoisted_4$h, toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
17343
+ unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$x, [
17344
+ createElementVNode("p", _hoisted_4$i, toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
17342
17345
  createVNode(unref(Btn), {
17343
17346
  thin: "",
17344
17347
  color: "red",
@@ -17374,7 +17377,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
17374
17377
  "onUpdate:modelValue": ($event) => address.label = $event,
17375
17378
  type: "text",
17376
17379
  placeholder: (_b = formPlaceholders.value) == null ? void 0 : _b.label
17377
- }, null, 8, _hoisted_5$d), [
17380
+ }, null, 8, _hoisted_5$e), [
17378
17381
  [vModelText, address.label]
17379
17382
  ]),
17380
17383
  createElementVNode("div", _hoisted_6$a, [
@@ -17439,15 +17442,15 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
17439
17442
  };
17440
17443
  }
17441
17444
  });
17442
- const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-1e3274f9"]]);
17443
- const _hoisted_1$E = { class: "bagel-input" };
17444
- const _hoisted_2$z = { class: "mt-1" };
17445
- const _hoisted_3$v = {
17445
+ const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-1e3274f9"]]);
17446
+ const _hoisted_1$F = { class: "bagel-input" };
17447
+ const _hoisted_2$A = { class: "mt-1" };
17448
+ const _hoisted_3$w = {
17446
17449
  key: 0,
17447
17450
  class: "bglform-contact-confirm"
17448
17451
  };
17449
- const _hoisted_4$g = { class: "txt14" };
17450
- const _hoisted_5$c = ["onUpdate:modelValue", "placeholder"];
17452
+ const _hoisted_4$h = { class: "txt14" };
17453
+ const _hoisted_5$d = ["onUpdate:modelValue", "placeholder"];
17451
17454
  const _hoisted_6$9 = { class: "bglform-contact-address" };
17452
17455
  const _hoisted_7$5 = ["onUpdate:modelValue", "placeholder"];
17453
17456
  const _hoisted_8$2 = { class: "bglform-contact-address-flex" };
@@ -17460,7 +17463,7 @@ const _hoisted_14 = ["onUpdate:modelValue"];
17460
17463
  const _hoisted_15 = ["onUpdate:modelValue"];
17461
17464
  const _hoisted_16 = ["onUpdate:modelValue", "placeholder"];
17462
17465
  const _hoisted_17 = { class: "bglform-address-del" };
17463
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
17466
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
17464
17467
  __name: "BankDetailsArray",
17465
17468
  props: {
17466
17469
  context: {}
@@ -17513,16 +17516,16 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
17513
17516
  }
17514
17517
  );
17515
17518
  return (_ctx, _cache) => {
17516
- return openBlock(), createElementBlock("div", _hoisted_1$E, [
17517
- createElementVNode("div", _hoisted_2$z, [
17519
+ return openBlock(), createElementBlock("div", _hoisted_1$F, [
17520
+ createElementVNode("div", _hoisted_2$A, [
17518
17521
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(val), (bank_account, i2) => {
17519
17522
  var _a, _b, _c, _d, _e, _f, _g, _h;
17520
17523
  return openBlock(), createElementBlock("div", {
17521
17524
  class: "bglform-contact mb-3",
17522
17525
  key: i2
17523
17526
  }, [
17524
- unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$v, [
17525
- createElementVNode("p", _hoisted_4$g, toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
17527
+ unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$w, [
17528
+ createElementVNode("p", _hoisted_4$h, toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
17526
17529
  createVNode(unref(Btn), {
17527
17530
  thin: "",
17528
17531
  color: "red",
@@ -17558,7 +17561,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
17558
17561
  "onUpdate:modelValue": ($event) => bank_account.label = $event,
17559
17562
  type: "text",
17560
17563
  placeholder: (_b = formPlaceholders.value) == null ? void 0 : _b.label
17561
- }, null, 8, _hoisted_5$c), [
17564
+ }, null, 8, _hoisted_5$d), [
17562
17565
  [vModelText, bank_account.label]
17563
17566
  ]),
17564
17567
  createElementVNode("div", _hoisted_6$9, [
@@ -17657,9 +17660,9 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
17657
17660
  };
17658
17661
  }
17659
17662
  });
17660
- const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-cc20bcbb"]]);
17661
- const _hoisted_1$D = { class: "misc-wrap" };
17662
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
17663
+ const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-cc20bcbb"]]);
17664
+ const _hoisted_1$E = { class: "misc-wrap" };
17665
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
17663
17666
  __name: "MiscFields",
17664
17667
  props: {
17665
17668
  context: {},
@@ -17676,7 +17679,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
17676
17679
  console.log(fields.value);
17677
17680
  };
17678
17681
  return (_ctx, _cache) => {
17679
- return openBlock(), createElementBlock("div", _hoisted_1$D, [
17682
+ return openBlock(), createElementBlock("div", _hoisted_1$E, [
17680
17683
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(fields.value.filter(
17681
17684
  (field) => {
17682
17685
  var _a;
@@ -17704,13 +17707,13 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
17704
17707
  };
17705
17708
  }
17706
17709
  });
17707
- const MiscFieldsBtns = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-91b04350"]]);
17710
+ const MiscFieldsBtns = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-91b04350"]]);
17708
17711
  const _withScopeId$1 = (n) => (pushScopeId("data-v-d0543d4b"), n = n(), popScopeId(), n);
17709
- const _hoisted_1$C = ["title"];
17710
- const _hoisted_2$y = { class: "switch" };
17711
- const _hoisted_3$u = ["id"];
17712
- const _hoisted_4$f = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "slider round" }, null, -1));
17713
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
17712
+ const _hoisted_1$D = ["title"];
17713
+ const _hoisted_2$z = { class: "switch" };
17714
+ const _hoisted_3$v = ["id"];
17715
+ const _hoisted_4$g = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "slider round" }, null, -1));
17716
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
17714
17717
  __name: "Toggle",
17715
17718
  props: {
17716
17719
  context: Object
@@ -17734,7 +17737,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17734
17737
  class: normalizeClass(["bagel-input checkbox", { check: (_a = __props.context) == null ? void 0 : _a.attrs.isCheckbox }]),
17735
17738
  title: (_b = __props.context) == null ? void 0 : _b.help
17736
17739
  }, [
17737
- createElementVNode("label", _hoisted_2$y, [
17740
+ createElementVNode("label", _hoisted_2$z, [
17738
17741
  withDirectives(createElementVNode("input", {
17739
17742
  onChange: _cache[0] || (_cache[0] = () => {
17740
17743
  var _a2;
@@ -17743,31 +17746,31 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17743
17746
  type: "checkbox",
17744
17747
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(inputVal) ? inputVal.value = $event : inputVal = $event),
17745
17748
  id: (_c = __props.context) == null ? void 0 : _c.id
17746
- }, null, 40, _hoisted_3$u), [
17749
+ }, null, 40, _hoisted_3$v), [
17747
17750
  [vModelCheckbox, unref(inputVal)]
17748
17751
  ]),
17749
- _hoisted_4$f
17752
+ _hoisted_4$g
17750
17753
  ])
17751
- ], 10, _hoisted_1$C);
17754
+ ], 10, _hoisted_1$D);
17752
17755
  };
17753
17756
  }
17754
17757
  });
17755
- const Toggle = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-d0543d4b"]]);
17756
- const _hoisted_1$B = { class: "files-wrapper flex" };
17757
- const _hoisted_2$x = {
17758
+ const Toggle = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-d0543d4b"]]);
17759
+ const _hoisted_1$C = { class: "files-wrapper flex" };
17760
+ const _hoisted_2$y = {
17758
17761
  key: 0,
17759
17762
  class: "img-label"
17760
17763
  };
17761
- const _hoisted_3$t = { class: "uploading-wrap" };
17762
- const _hoisted_4$e = { class: "load-file-bar" };
17763
- const _hoisted_5$b = ["src", "alt"];
17764
+ const _hoisted_3$u = { class: "uploading-wrap" };
17765
+ const _hoisted_4$f = { class: "load-file-bar" };
17766
+ const _hoisted_5$c = ["src", "alt"];
17764
17767
  const _hoisted_6$8 = { class: "flex" };
17765
17768
  const _hoisted_7$4 = {
17766
17769
  key: 0,
17767
17770
  class: "progress"
17768
17771
  };
17769
17772
  const _hoisted_8$1 = ["multiple"];
17770
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
17773
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17771
17774
  __name: "FileUploader",
17772
17775
  props: {
17773
17776
  context: {},
@@ -17816,9 +17819,10 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17816
17819
  (_h = (_g = (_f = dropCircle.value) == null ? void 0 : _f.style) == null ? void 0 : _g.setProperty) == null ? void 0 : _h.call(_g, "top", `${top2}px`);
17817
17820
  }
17818
17821
  function emitValue() {
17819
- var _a;
17822
+ var _a, _b, _c;
17823
+ const relationshipObjKey = (_b = (_a = props2.context) == null ? void 0 : _a.attrs) == null ? void 0 : _b.relationshipObjKey;
17820
17824
  if (!computedMultiple.value)
17821
- return (_a = props2.context) == null ? void 0 : _a.node.input(files.value[0].serverFile);
17825
+ return (_c = props2.context) == null ? void 0 : _c.node.input(relationshipObjKey ? files.value[0].serverFile.id : files.value[0].serverFile);
17822
17826
  return alert("not implemented");
17823
17827
  }
17824
17828
  const isImg = (file) => {
@@ -17872,16 +17876,18 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17872
17876
  uploadFiles();
17873
17877
  }
17874
17878
  onMounted(() => {
17875
- var _a, _b, _c, _d, _e, _f, _g;
17879
+ var _a, _b, _c, _d, _e, _f, _g, _h;
17876
17880
  (_a = dropZoneEl.value) == null ? void 0 : _a.addEventListener("dragover", animateCircle);
17877
- if (!computedMultiple.value && ((_b = props2.context) == null ? void 0 : _b.value)) {
17881
+ const relationshipObjKey = (_c = (_b = props2.context) == null ? void 0 : _b.attrs) == null ? void 0 : _c.relationshipObjKey;
17882
+ const imageObj = relationshipObjKey ? (_f = (_e = (_d = props2.context) == null ? void 0 : _d.node) == null ? void 0 : _e.parent) == null ? void 0 : _f.value[relationshipObjKey] : (_h = (_g = props2.context) == null ? void 0 : _g.node) == null ? void 0 : _h.value;
17883
+ if (!computedMultiple.value && imageObj) {
17878
17884
  files.value.push({
17879
- serverFile: (_c = props2.context) == null ? void 0 : _c.value,
17885
+ serverFile: imageObj,
17880
17886
  uploaded: true,
17881
17887
  uploading: false,
17882
17888
  progress: 100,
17883
- dataUrl: (_e = (_d = props2.context) == null ? void 0 : _d.value) == null ? void 0 : _e.url,
17884
- name: (_g = (_f = props2.context) == null ? void 0 : _f.value) == null ? void 0 : _g.name
17889
+ dataUrl: imageObj == null ? void 0 : imageObj.url,
17890
+ name: imageObj == null ? void 0 : imageObj.name
17885
17891
  });
17886
17892
  }
17887
17893
  });
@@ -17902,7 +17908,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17902
17908
  void addFiles(filesToAdd);
17903
17909
  }
17904
17910
  return (_ctx, _cache) => {
17905
- return openBlock(), createElementBlock("div", _hoisted_1$B, [
17911
+ return openBlock(), createElementBlock("div", _hoisted_1$C, [
17906
17912
  createElementVNode("div", {
17907
17913
  ref_key: "dropZoneEl",
17908
17914
  ref: dropZoneEl,
@@ -17922,26 +17928,26 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17922
17928
  ]),
17923
17929
  _: 1
17924
17930
  }),
17925
- allowUpload.value ? (openBlock(), createElementBlock("div", _hoisted_2$x, [
17931
+ allowUpload.value ? (openBlock(), createElementBlock("div", _hoisted_2$y, [
17926
17932
  createElementVNode("p", null, [
17927
17933
  createTextVNode(toDisplayString(computedDragDropLabel.value) + " ", 1),
17928
17934
  createElementVNode("span", null, toDisplayString(computedDrowseLabel.value), 1)
17929
17935
  ])
17930
17936
  ])) : createCommentVNode("", true),
17931
- createElementVNode("div", _hoisted_3$t, [
17937
+ createElementVNode("div", _hoisted_3$u, [
17932
17938
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(files.value, (item, index2) => {
17933
17939
  return openBlock(), createElementBlock("div", {
17934
17940
  class: normalizeClass({ uploading: item.uploading }),
17935
17941
  key: index2
17936
17942
  }, [
17937
- createElementVNode("div", _hoisted_4$e, [
17943
+ createElementVNode("div", _hoisted_4$f, [
17938
17944
  isImg(item) ? (openBlock(), createElementBlock("img", {
17939
17945
  key: 0,
17940
17946
  width: "40",
17941
17947
  src: item.dataUrl,
17942
17948
  alt: item.name,
17943
17949
  style: { "margin-inline-end": "10px" }
17944
- }, null, 8, _hoisted_5$b)) : createCommentVNode("", true),
17950
+ }, null, 8, _hoisted_5$c)) : createCommentVNode("", true),
17945
17951
  createElementVNode("p", null, toDisplayString(item.name), 1),
17946
17952
  createElementVNode("div", _hoisted_6$8, [
17947
17953
  createElementVNode("div", {
@@ -17949,7 +17955,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17949
17955
  style: normalizeStyle([`--p:${item.progress}`, { "--b": "2px" }])
17950
17956
  }, [
17951
17957
  item.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_7$4, toDisplayString(`${item.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
17952
- createVNode(unref(_sfc_main$R), {
17958
+ createVNode(unref(_sfc_main$S), {
17953
17959
  class: "success",
17954
17960
  icon: "check"
17955
17961
  })
@@ -17979,14 +17985,14 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17979
17985
  };
17980
17986
  }
17981
17987
  });
17982
- const _hoisted_1$A = {
17988
+ const _hoisted_1$B = {
17983
17989
  key: 0,
17984
17990
  class: "person-card-edit flex gap-2"
17985
17991
  };
17986
- const _hoisted_2$w = { class: "person-card-icon-wrap" };
17987
- const _hoisted_3$s = { class: "person-card-icon" };
17988
- const _hoisted_4$d = { class: "person-card-name txt20" };
17989
- const _hoisted_5$a = { class: "person-card-details-wrap" };
17992
+ const _hoisted_2$x = { class: "person-card-icon-wrap" };
17993
+ const _hoisted_3$t = { class: "person-card-icon" };
17994
+ const _hoisted_4$e = { class: "person-card-name txt20" };
17995
+ const _hoisted_5$b = { class: "person-card-details-wrap" };
17990
17996
  const _hoisted_6$7 = {
17991
17997
  key: 0,
17992
17998
  class: "person-card-details"
@@ -18001,7 +18007,7 @@ const _hoisted_8 = {
18001
18007
  };
18002
18008
  const _hoisted_9 = { key: 0 };
18003
18009
  const _hoisted_10 = { key: 1 };
18004
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
18010
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
18005
18011
  __name: "PersonPreviewFormkit",
18006
18012
  props: {
18007
18013
  context: {},
@@ -18032,7 +18038,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
18032
18038
  (...args) => _ctx.onClick && _ctx.onClick(...args)),
18033
18039
  class: "person-card"
18034
18040
  }, [
18035
- !_ctx.onClick ? (openBlock(), createElementBlock("div", _hoisted_1$A, [
18041
+ !_ctx.onClick ? (openBlock(), createElementBlock("div", _hoisted_1$B, [
18036
18042
  !_ctx.$route.path.match("/search") ? (openBlock(), createBlock(unref(Btn), {
18037
18043
  key: 0,
18038
18044
  onClick: unref(hideModal),
@@ -18050,13 +18056,13 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
18050
18056
  icon: "edit"
18051
18057
  })
18052
18058
  ])) : createCommentVNode("", true),
18053
- createElementVNode("div", _hoisted_2$w, [
18054
- createElementVNode("p", _hoisted_3$s, toDisplayString(unref(initials)(person.value.first_name, person.value.last_name)), 1),
18055
- createElementVNode("p", _hoisted_4$d, toDisplayString(person.value.first_name) + " " + toDisplayString(person.value.last_name), 1)
18059
+ createElementVNode("div", _hoisted_2$x, [
18060
+ createElementVNode("p", _hoisted_3$t, toDisplayString(unref(initials)(person.value.first_name, person.value.last_name)), 1),
18061
+ createElementVNode("p", _hoisted_4$e, toDisplayString(person.value.first_name) + " " + toDisplayString(person.value.last_name), 1)
18056
18062
  ]),
18057
- createElementVNode("div", _hoisted_5$a, [
18063
+ createElementVNode("div", _hoisted_5$b, [
18058
18064
  ((_a = person.value.phone) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_6$7, [
18059
- createVNode(unref(_sfc_main$R), { icon: "phone" }),
18065
+ createVNode(unref(_sfc_main$S), { icon: "phone" }),
18060
18066
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(person.value.phone, (phone) => {
18061
18067
  return openBlock(), createElementBlock("p", {
18062
18068
  key: phone.id
@@ -18064,7 +18070,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
18064
18070
  }), 128))
18065
18071
  ])) : createCommentVNode("", true),
18066
18072
  ((_b = person.value.email) == null ? void 0 : _b.length) ? (openBlock(), createElementBlock("div", _hoisted_7$3, [
18067
- createVNode(unref(_sfc_main$R), { icon: "email" }),
18073
+ createVNode(unref(_sfc_main$S), { icon: "email" }),
18068
18074
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(person.value.email, (email) => {
18069
18075
  return openBlock(), createElementBlock("p", {
18070
18076
  key: email.id
@@ -18072,7 +18078,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
18072
18078
  }), 128))
18073
18079
  ])) : createCommentVNode("", true),
18074
18080
  person.value.date_of_birth || person.value.gender ? (openBlock(), createElementBlock("div", _hoisted_8, [
18075
- createVNode(unref(_sfc_main$R), { icon: "badge" }),
18081
+ createVNode(unref(_sfc_main$S), { icon: "badge" }),
18076
18082
  person.value.date_of_birth ? (openBlock(), createElementBlock("p", _hoisted_9, toDisplayString(person.value.date_of_birth), 1)) : createCommentVNode("", true),
18077
18083
  person.value.gender ? (openBlock(), createElementBlock("p", _hoisted_10, toDisplayString(person.value.gender), 1)) : createCommentVNode("", true)
18078
18084
  ])) : createCommentVNode("", true)
@@ -18081,7 +18087,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
18081
18087
  };
18082
18088
  }
18083
18089
  });
18084
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
18090
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
18085
18091
  __name: "TextVariableExamples",
18086
18092
  props: {
18087
18093
  context: Object
@@ -18173,14 +18179,14 @@ const AddressInput = createInput(AddressArray);
18173
18179
  const BankDetailsInput = createInput(BankDetailsArray);
18174
18180
  const MiscFieldsInput = createInput(MiscFieldsBtns);
18175
18181
  const ToggleSwitchInput = createInput(Toggle);
18176
- const FileUploadInput = createInput(_sfc_main$s);
18177
- const TextVariablesInput = createInput(_sfc_main$q);
18178
- const PersonPreviewInput = createInput(_sfc_main$r);
18179
- const _hoisted_1$z = {
18182
+ const FileUploadInput = createInput(_sfc_main$t);
18183
+ const TextVariablesInput = createInput(_sfc_main$r);
18184
+ const PersonPreviewInput = createInput(_sfc_main$s);
18185
+ const _hoisted_1$A = {
18180
18186
  key: 1,
18181
18187
  class: "pill"
18182
18188
  };
18183
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
18189
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
18184
18190
  __name: "ItemRef",
18185
18191
  props: {
18186
18192
  modelValue: {},
@@ -18214,15 +18220,15 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
18214
18220
  }, {
18215
18221
  default: withCtx(() => [
18216
18222
  createTextVNode(toDisplayString(content.value) + " ", 1),
18217
- createVNode(unref(_sfc_main$R), { icon: "arrow_forward" })
18223
+ createVNode(unref(_sfc_main$S), { icon: "arrow_forward" })
18218
18224
  ]),
18219
18225
  _: 1
18220
- })) : (openBlock(), createElementBlock("span", _hoisted_1$z, toDisplayString(content.value), 1))
18226
+ })) : (openBlock(), createElementBlock("span", _hoisted_1$A, toDisplayString(content.value), 1))
18221
18227
  ]);
18222
18228
  };
18223
18229
  }
18224
18230
  });
18225
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
18231
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
18226
18232
  __name: "MaterialIcon",
18227
18233
  props: {
18228
18234
  icon: {},
@@ -18237,13 +18243,13 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
18237
18243
  };
18238
18244
  }
18239
18245
  });
18240
- const _hoisted_1$y = { class: "bagel-input" };
18241
- const _hoisted_2$v = ["for"];
18242
- const _hoisted_3$r = ["checked"];
18243
- const _hoisted_4$c = ["name", "type", "value"];
18244
- const _hoisted_5$9 = ["name", "type", "value"];
18246
+ const _hoisted_1$z = { class: "bagel-input" };
18247
+ const _hoisted_2$w = ["for"];
18248
+ const _hoisted_3$s = ["checked"];
18249
+ const _hoisted_4$d = ["name", "type", "value"];
18250
+ const _hoisted_5$a = ["name", "type", "value"];
18245
18251
  const _hoisted_6$6 = ["name", "type", "value"];
18246
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
18252
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
18247
18253
  __name: "PlainInputField",
18248
18254
  props: {
18249
18255
  type: {},
@@ -18273,14 +18279,14 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18273
18279
  }
18274
18280
  });
18275
18281
  return (_ctx, _cache) => {
18276
- return openBlock(), createElementBlock("div", _hoisted_1$y, [
18282
+ return openBlock(), createElementBlock("div", _hoisted_1$z, [
18277
18283
  createElementVNode("label", {
18278
18284
  for: unref(formatString)(_ctx.name, "pascal")
18279
18285
  }, [
18280
- createVNode(_sfc_main$T, {
18286
+ createVNode(_sfc_main$U, {
18281
18287
  input: unref(formatString)(_ctx.name, "titleCase")
18282
18288
  }, null, 8, ["input"])
18283
- ], 8, _hoisted_2$v),
18289
+ ], 8, _hoisted_2$w),
18284
18290
  _ctx.type === "checkbox" ? (openBlock(), createElementBlock("input", {
18285
18291
  key: 0,
18286
18292
  ref_key: "el",
@@ -18289,7 +18295,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18289
18295
  class: "ctl",
18290
18296
  type: "checkbox",
18291
18297
  onChange: handleCheck
18292
- }, null, 40, _hoisted_3$r)) : _ctx.type === "number" ? (openBlock(), createElementBlock("input", {
18298
+ }, null, 40, _hoisted_3$s)) : _ctx.type === "number" ? (openBlock(), createElementBlock("input", {
18293
18299
  key: 1,
18294
18300
  ref_key: "el",
18295
18301
  ref: el,
@@ -18298,7 +18304,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18298
18304
  value: _ctx.modelValue,
18299
18305
  class: "ctl",
18300
18306
  onInput: handleInput
18301
- }, null, 40, _hoisted_4$c)) : _ctx.type === "text" ? (openBlock(), createElementBlock("input", {
18307
+ }, null, 40, _hoisted_4$d)) : _ctx.type === "text" ? (openBlock(), createElementBlock("input", {
18302
18308
  key: 2,
18303
18309
  ref_key: "el",
18304
18310
  ref: el,
@@ -18307,7 +18313,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18307
18313
  value: _ctx.modelValue,
18308
18314
  class: "ctl",
18309
18315
  onInput: handleInput
18310
- }, null, 40, _hoisted_5$9)) : _ctx.type === "textarea" ? (openBlock(), createElementBlock("textarea", {
18316
+ }, null, 40, _hoisted_5$a)) : _ctx.type === "textarea" ? (openBlock(), createElementBlock("textarea", {
18311
18317
  key: 3,
18312
18318
  ref_key: "el",
18313
18319
  ref: el,
@@ -18318,19 +18324,19 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18318
18324
  onInput: handleInput
18319
18325
  }, null, 40, _hoisted_6$6)) : createCommentVNode("", true),
18320
18326
  createElementVNode("div", null, [
18321
- createVNode(_sfc_main$T, { input: _ctx.errorMessage }, null, 8, ["input"])
18327
+ createVNode(_sfc_main$U, { input: _ctx.errorMessage }, null, 8, ["input"])
18322
18328
  ])
18323
18329
  ]);
18324
18330
  };
18325
18331
  }
18326
18332
  });
18327
18333
  const _withScopeId = (n) => (pushScopeId("data-v-0dacba34"), n = n(), popScopeId(), n);
18328
- const _hoisted_1$x = ["title"];
18329
- const _hoisted_2$u = ["for"];
18330
- const _hoisted_3$q = { class: "switch" };
18331
- const _hoisted_4$b = ["id"];
18332
- const _hoisted_5$8 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "slider round" }, null, -1));
18333
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
18334
+ const _hoisted_1$y = ["title"];
18335
+ const _hoisted_2$v = ["for"];
18336
+ const _hoisted_3$r = { class: "switch" };
18337
+ const _hoisted_4$c = ["id"];
18338
+ const _hoisted_5$9 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "slider round" }, null, -1));
18339
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18334
18340
  __name: "CheckInput",
18335
18341
  props: {
18336
18342
  field: {},
@@ -18363,29 +18369,29 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18363
18369
  }, [
18364
18370
  createElementVNode("label", {
18365
18371
  for: _ctx.field.id
18366
- }, toDisplayString(_ctx.field.label), 9, _hoisted_2$u),
18367
- createElementVNode("label", _hoisted_3$q, [
18372
+ }, toDisplayString(_ctx.field.label), 9, _hoisted_2$v),
18373
+ createElementVNode("label", _hoisted_3$r, [
18368
18374
  withDirectives(createElementVNode("input", {
18369
18375
  id: _ctx.field.id,
18370
18376
  type: "checkbox",
18371
18377
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputVal.value = $event),
18372
18378
  class: normalizeClass({ "no-edit": !_ctx.editMode })
18373
- }, null, 10, _hoisted_4$b), [
18379
+ }, null, 10, _hoisted_4$c), [
18374
18380
  [vModelCheckbox, inputVal.value]
18375
18381
  ]),
18376
- _hoisted_5$8
18382
+ _hoisted_5$9
18377
18383
  ])
18378
- ], 10, _hoisted_1$x);
18384
+ ], 10, _hoisted_1$y);
18379
18385
  };
18380
18386
  }
18381
18387
  });
18382
- const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-0dacba34"]]);
18383
- const _hoisted_1$w = ["title"];
18384
- const _hoisted_2$t = { key: 0 };
18385
- const _hoisted_3$p = { class: "flex gap-3" };
18386
- const _hoisted_4$a = ["value", "placeholder"];
18387
- const _hoisted_5$7 = { class: "currency" };
18388
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
18388
+ const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-0dacba34"]]);
18389
+ const _hoisted_1$x = ["title"];
18390
+ const _hoisted_2$u = { key: 0 };
18391
+ const _hoisted_3$q = { class: "flex gap-3" };
18392
+ const _hoisted_4$b = ["value", "placeholder"];
18393
+ const _hoisted_5$8 = { class: "currency" };
18394
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18389
18395
  __name: "CurrencyInput",
18390
18396
  props: {
18391
18397
  field: {},
@@ -18486,26 +18492,26 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
18486
18492
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18487
18493
  title: _ctx.field.description
18488
18494
  }, [
18489
- _ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$t, toDisplayString(_ctx.field.label), 1)) : createCommentVNode("", true),
18490
- createElementVNode("div", _hoisted_3$p, [
18495
+ _ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$u, toDisplayString(_ctx.field.label), 1)) : createCommentVNode("", true),
18496
+ createElementVNode("div", _hoisted_3$q, [
18491
18497
  createElementVNode("input", {
18492
18498
  value: _ctx.modelValue,
18493
18499
  type: "number",
18494
18500
  onInput: handleInput,
18495
18501
  placeholder: _ctx.placeholder,
18496
18502
  class: normalizeClass({ "no-edit": !_ctx.editMode })
18497
- }, null, 42, _hoisted_4$a),
18498
- createElementVNode("p", _hoisted_5$7, toDisplayString(((_a = currencies.find((c) => c.symbol === _ctx.field.currency)) == null ? void 0 : _a.character) || _ctx.field.currency), 1)
18503
+ }, null, 42, _hoisted_4$b),
18504
+ createElementVNode("p", _hoisted_5$8, toDisplayString(((_a = currencies.find((c) => c.symbol === _ctx.field.currency)) == null ? void 0 : _a.character) || _ctx.field.currency), 1)
18499
18505
  ])
18500
- ], 10, _hoisted_1$w);
18506
+ ], 10, _hoisted_1$x);
18501
18507
  };
18502
18508
  }
18503
18509
  });
18504
- const CurrencyInput = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-17a56a3f"]]);
18505
- const _hoisted_1$v = ["title"];
18506
- const _hoisted_2$s = { key: 0 };
18507
- const _hoisted_3$o = ["placeholder", "disabled"];
18508
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
18510
+ const CurrencyInput = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-17a56a3f"]]);
18511
+ const _hoisted_1$w = ["title"];
18512
+ const _hoisted_2$t = { key: 0 };
18513
+ const _hoisted_3$p = ["placeholder", "disabled"];
18514
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
18509
18515
  __name: "DateInput",
18510
18516
  props: {
18511
18517
  field: {},
@@ -18526,7 +18532,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
18526
18532
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18527
18533
  title: _ctx.field.description
18528
18534
  }, [
18529
- _ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$s, toDisplayString(_ctx.field.label), 1)) : createCommentVNode("", true),
18535
+ _ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$t, toDisplayString(_ctx.field.label), 1)) : createCommentVNode("", true),
18530
18536
  withDirectives(createElementVNode("input", {
18531
18537
  type: "date",
18532
18538
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => date2.value = $event),
@@ -18536,18 +18542,18 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
18536
18542
  disabled: !_ctx.editMode,
18537
18543
  enableTimePicker: false,
18538
18544
  textInputOptions: { format: "yyyy-MM-dd" }
18539
- }, null, 40, _hoisted_3$o), [
18545
+ }, null, 40, _hoisted_3$p), [
18540
18546
  [vModelText, date2.value]
18541
18547
  ])
18542
- ], 10, _hoisted_1$v);
18548
+ ], 10, _hoisted_1$w);
18543
18549
  };
18544
18550
  }
18545
18551
  });
18546
- const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-782aee7f"]]);
18547
- const _hoisted_1$u = ["title"];
18548
- const _hoisted_2$r = { key: 0 };
18549
- const _hoisted_3$n = ["value", "placeholder"];
18550
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
18552
+ const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-782aee7f"]]);
18553
+ const _hoisted_1$v = ["title"];
18554
+ const _hoisted_2$s = { key: 0 };
18555
+ const _hoisted_3$o = ["value", "placeholder"];
18556
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
18551
18557
  __name: "DatetimeInput",
18552
18558
  props: {
18553
18559
  description: { default: "" },
@@ -18573,7 +18579,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
18573
18579
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18574
18580
  title: _ctx.description
18575
18581
  }, [
18576
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$r, [
18582
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$s, [
18577
18583
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18578
18584
  ])) : createCommentVNode("", true),
18579
18585
  createElementVNode("input", {
@@ -18582,15 +18588,15 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
18582
18588
  onInput: handleInput,
18583
18589
  placeholder: _ctx.placeholder,
18584
18590
  class: normalizeClass({ "no-edit": !_ctx.editMode })
18585
- }, null, 42, _hoisted_3$n)
18586
- ], 10, _hoisted_1$u);
18591
+ }, null, 42, _hoisted_3$o)
18592
+ ], 10, _hoisted_1$v);
18587
18593
  };
18588
18594
  }
18589
18595
  });
18590
- const _hoisted_1$t = ["title"];
18591
- const _hoisted_2$q = { key: 0 };
18592
- const _hoisted_3$m = ["value", "placeholder"];
18593
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
18596
+ const _hoisted_1$u = ["title"];
18597
+ const _hoisted_2$r = { key: 0 };
18598
+ const _hoisted_3$n = ["value", "placeholder"];
18599
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
18594
18600
  __name: "EmailInput",
18595
18601
  props: {
18596
18602
  description: { default: "" },
@@ -18613,7 +18619,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
18613
18619
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18614
18620
  title: _ctx.description
18615
18621
  }, [
18616
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$q, [
18622
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$r, [
18617
18623
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18618
18624
  ])) : createCommentVNode("", true),
18619
18625
  createElementVNode("input", {
@@ -18623,16 +18629,16 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
18623
18629
  onInput: handleInput,
18624
18630
  class: normalizeClass({ "no-edit": !_ctx.editMode }),
18625
18631
  placeholder: _ctx.placeholder
18626
- }, null, 42, _hoisted_3$m)
18627
- ], 10, _hoisted_1$t);
18632
+ }, null, 42, _hoisted_3$n)
18633
+ ], 10, _hoisted_1$u);
18628
18634
  };
18629
18635
  }
18630
18636
  });
18631
- const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-ed81a514"]]);
18632
- const _hoisted_1$s = ["title"];
18633
- const _hoisted_2$p = { key: 0 };
18634
- const _hoisted_3$l = ["value", "placeholder"];
18635
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
18637
+ const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-ed81a514"]]);
18638
+ const _hoisted_1$t = ["title"];
18639
+ const _hoisted_2$q = { key: 0 };
18640
+ const _hoisted_3$m = ["value", "placeholder"];
18641
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
18636
18642
  __name: "FloatInput",
18637
18643
  props: {
18638
18644
  description: { default: "" },
@@ -18659,7 +18665,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
18659
18665
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18660
18666
  title: _ctx.description
18661
18667
  }, [
18662
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$p, [
18668
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$q, [
18663
18669
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18664
18670
  ])) : createCommentVNode("", true),
18665
18671
  createElementVNode("input", {
@@ -18668,15 +18674,15 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
18668
18674
  onInput: handleInput,
18669
18675
  class: normalizeClass({ "no-edit": !_ctx.editMode }),
18670
18676
  placeholder: _ctx.placeholder
18671
- }, null, 42, _hoisted_3$l)
18672
- ], 10, _hoisted_1$s);
18677
+ }, null, 42, _hoisted_3$m)
18678
+ ], 10, _hoisted_1$t);
18673
18679
  };
18674
18680
  }
18675
18681
  });
18676
- const _hoisted_1$r = ["title"];
18677
- const _hoisted_2$o = { key: 0 };
18678
- const _hoisted_3$k = ["value", "placeholder"];
18679
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
18682
+ const _hoisted_1$s = ["title"];
18683
+ const _hoisted_2$p = { key: 0 };
18684
+ const _hoisted_3$l = ["value", "placeholder"];
18685
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
18680
18686
  __name: "IntInput",
18681
18687
  props: {
18682
18688
  description: { default: "" },
@@ -18703,7 +18709,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
18703
18709
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18704
18710
  title: _ctx.description
18705
18711
  }, [
18706
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$o, [
18712
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$p, [
18707
18713
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18708
18714
  ])) : createCommentVNode("", true),
18709
18715
  createElementVNode("input", {
@@ -18712,15 +18718,15 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
18712
18718
  onInput: handleInput,
18713
18719
  class: normalizeClass({ "no-edit": !_ctx.editMode }),
18714
18720
  placeholder: _ctx.placeholder
18715
- }, null, 42, _hoisted_3$k)
18716
- ], 10, _hoisted_1$r);
18721
+ }, null, 42, _hoisted_3$l)
18722
+ ], 10, _hoisted_1$s);
18717
18723
  };
18718
18724
  }
18719
18725
  });
18720
- const _hoisted_1$q = ["title"];
18721
- const _hoisted_2$n = { key: 0 };
18722
- const _hoisted_3$j = ["value", "placeholder"];
18723
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
18726
+ const _hoisted_1$r = ["title"];
18727
+ const _hoisted_2$o = { key: 0 };
18728
+ const _hoisted_3$k = ["value", "placeholder"];
18729
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
18724
18730
  __name: "JSONInput",
18725
18731
  props: {
18726
18732
  description: { default: "" },
@@ -18743,7 +18749,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
18743
18749
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18744
18750
  title: _ctx.description
18745
18751
  }, [
18746
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$n, [
18752
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$o, [
18747
18753
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18748
18754
  ])) : createCommentVNode("", true),
18749
18755
  createElementVNode("textarea", {
@@ -18751,17 +18757,17 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
18751
18757
  onInput: handleInput,
18752
18758
  class: normalizeClass({ "no-edit": !_ctx.editMode }),
18753
18759
  placeholder: _ctx.placeholder
18754
- }, null, 42, _hoisted_3$j)
18755
- ], 10, _hoisted_1$q);
18760
+ }, null, 42, _hoisted_3$k)
18761
+ ], 10, _hoisted_1$r);
18756
18762
  };
18757
18763
  }
18758
18764
  });
18759
- const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-1fc4f739"]]);
18760
- const _hoisted_1$p = ["title"];
18761
- const _hoisted_2$m = { key: 0 };
18762
- const _hoisted_3$i = ["disabled"];
18763
- const _hoisted_4$9 = ["onClick"];
18764
- const _hoisted_5$6 = {
18765
+ const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-1fc4f739"]]);
18766
+ const _hoisted_1$q = ["title"];
18767
+ const _hoisted_2$n = { key: 0 };
18768
+ const _hoisted_3$j = ["disabled"];
18769
+ const _hoisted_4$a = ["onClick"];
18770
+ const _hoisted_5$7 = {
18765
18771
  key: 0,
18766
18772
  class: "option-label"
18767
18773
  };
@@ -18770,7 +18776,7 @@ const _hoisted_6$5 = {
18770
18776
  class: "option-label"
18771
18777
  };
18772
18778
  const _hoisted_7$2 = { class: "option-description" };
18773
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
18779
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
18774
18780
  __name: "LinkField",
18775
18781
  props: {
18776
18782
  description: { default: "" },
@@ -18894,7 +18900,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
18894
18900
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18895
18901
  title: _ctx.description
18896
18902
  }, [
18897
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$m, [
18903
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$n, [
18898
18904
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18899
18905
  ])) : createCommentVNode("", true),
18900
18906
  withDirectives(createElementVNode("input", {
@@ -18906,7 +18912,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
18906
18912
  onFocus: initList,
18907
18913
  onInput: handleInput,
18908
18914
  disabled: !_ctx.editMode
18909
- }, null, 40, _hoisted_3$i), [
18915
+ }, null, 40, _hoisted_3$j), [
18910
18916
  [vModelText, selectedItem.value]
18911
18917
  ]),
18912
18918
  createElementVNode("div", {
@@ -18926,26 +18932,26 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
18926
18932
  key: unref(formatString)(option2.value, "pascal"),
18927
18933
  onClick: withModifiers(($event) => handleSelect(option2), ["stop"])
18928
18934
  }, [
18929
- option2.label ? (openBlock(), createElementBlock("div", _hoisted_5$6, [
18935
+ option2.label ? (openBlock(), createElementBlock("div", _hoisted_5$7, [
18930
18936
  createTextVNode(toDisplayString(option2.label), 1),
18931
18937
  createElementVNode("span", null, "ID: " + toDisplayString(option2.value), 1)
18932
18938
  ])) : (openBlock(), createElementBlock("div", _hoisted_6$5, " ID: " + toDisplayString(option2.value), 1)),
18933
18939
  createElementVNode("div", _hoisted_7$2, toDisplayString(option2.description), 1)
18934
- ], 8, _hoisted_4$9);
18940
+ ], 8, _hoisted_4$a);
18935
18941
  }), 128))
18936
18942
  ], 2)
18937
18943
  ]))
18938
18944
  ], 2)
18939
- ], 10, _hoisted_1$p);
18945
+ ], 10, _hoisted_1$q);
18940
18946
  };
18941
18947
  }
18942
18948
  });
18943
- const LinkField = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-947beb38"]]);
18944
- const _hoisted_1$o = ["title"];
18945
- const _hoisted_2$l = { key: 0 };
18946
- const _hoisted_3$h = { class: "password-input-wrap" };
18947
- const _hoisted_4$8 = ["value", "type", "placeholder"];
18948
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
18949
+ const LinkField = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-947beb38"]]);
18950
+ const _hoisted_1$p = ["title"];
18951
+ const _hoisted_2$m = { key: 0 };
18952
+ const _hoisted_3$i = { class: "password-input-wrap" };
18953
+ const _hoisted_4$9 = ["value", "type", "placeholder"];
18954
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
18949
18955
  __name: "PasswordInput",
18950
18956
  props: {
18951
18957
  description: { default: "" },
@@ -18979,31 +18985,31 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
18979
18985
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18980
18986
  title: _ctx.description
18981
18987
  }, [
18982
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$l, [
18988
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$m, [
18983
18989
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18984
18990
  ])) : createCommentVNode("", true),
18985
- createElementVNode("div", _hoisted_3$h, [
18991
+ createElementVNode("div", _hoisted_3$i, [
18986
18992
  createElementVNode("input", {
18987
18993
  value: _ctx.modelValue,
18988
18994
  type: unref(inputType),
18989
18995
  onInput: handleInput,
18990
18996
  placeholder: _ctx.placeholder,
18991
18997
  class: normalizeClass({ "no-edit": !_ctx.editMode })
18992
- }, null, 42, _hoisted_4$8),
18998
+ }, null, 42, _hoisted_4$9),
18993
18999
  createElementVNode("div", {
18994
19000
  class: "icon-font password-icon",
18995
19001
  onMousedown: toggleInputType
18996
19002
  }, " visibility ", 32)
18997
19003
  ])
18998
- ], 10, _hoisted_1$o);
19004
+ ], 10, _hoisted_1$p);
18999
19005
  };
19000
19006
  }
19001
19007
  });
19002
- const PasswordInput = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-525f5e2e"]]);
19003
- const _hoisted_1$n = ["title"];
19004
- const _hoisted_2$k = ["for"];
19005
- const _hoisted_3$g = ["id", "type", "placeholder", "required", "pattern"];
19006
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
19008
+ const PasswordInput = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-525f5e2e"]]);
19009
+ const _hoisted_1$o = ["title"];
19010
+ const _hoisted_2$l = ["for"];
19011
+ const _hoisted_3$h = ["id", "type", "placeholder", "required", "pattern"];
19012
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
19007
19013
  __name: "Password",
19008
19014
  props: {
19009
19015
  field: {},
@@ -19043,22 +19049,22 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
19043
19049
  class: { "no-edit": !_ctx.editMode },
19044
19050
  required: _ctx.required,
19045
19051
  pattern: _ctx.pattern
19046
- }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$g), [
19052
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$h), [
19047
19053
  [vModelDynamic, inputVal.value]
19048
19054
  ])
19049
- ], 8, _hoisted_2$k),
19050
- createVNode(unref(_sfc_main$R), {
19055
+ ], 8, _hoisted_2$l),
19056
+ createVNode(unref(_sfc_main$S), {
19051
19057
  onClick: showPassword,
19052
19058
  icon: unref(seePassword) ? "visibility" : "visibility_off"
19053
19059
  }, null, 8, ["icon"])
19054
- ], 10, _hoisted_1$n)) : createCommentVNode("", true);
19060
+ ], 10, _hoisted_1$o)) : createCommentVNode("", true);
19055
19061
  };
19056
19062
  }
19057
19063
  });
19058
- const Password = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-800f4000"]]);
19059
- const _hoisted_1$m = ["title"];
19060
- const _hoisted_2$j = { key: 0 };
19061
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
19064
+ const Password = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-800f4000"]]);
19065
+ const _hoisted_1$n = ["title"];
19066
+ const _hoisted_2$k = { key: 0 };
19067
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
19062
19068
  __name: "ReadOnlyInput",
19063
19069
  props: {
19064
19070
  field: {},
@@ -19071,16 +19077,16 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
19071
19077
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
19072
19078
  title: _ctx.field.description
19073
19079
  }, [
19074
- _ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$j, toDisplayString(_ctx.field.label), 1)) : createCommentVNode("", true),
19080
+ _ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$k, toDisplayString(_ctx.field.label), 1)) : createCommentVNode("", true),
19075
19081
  createTextVNode(" " + toDisplayString(_ctx.modelValue), 1)
19076
- ], 10, _hoisted_1$m);
19082
+ ], 10, _hoisted_1$n);
19077
19083
  };
19078
19084
  }
19079
19085
  });
19080
- const ReadOnlyInput = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-b3b5a368"]]);
19081
- const _hoisted_1$l = ["title"];
19082
- const _hoisted_2$i = ["onClick"];
19083
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
19086
+ const ReadOnlyInput = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-b3b5a368"]]);
19087
+ const _hoisted_1$m = ["title"];
19088
+ const _hoisted_2$j = ["onClick"];
19089
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
19084
19090
  __name: "SelectField",
19085
19091
  props: {
19086
19092
  inputType: {},
@@ -19212,7 +19218,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
19212
19218
  for: "label",
19213
19219
  class: normalizeClass({ active: showList.value })
19214
19220
  }, [
19215
- createVNode(unref(_sfc_main$T), { input: _ctx.label }, null, 8, ["input"])
19221
+ createVNode(unref(_sfc_main$U), { input: _ctx.label }, null, 8, ["input"])
19216
19222
  ], 2)) : createCommentVNode("", true),
19217
19223
  createElementVNode("div", {
19218
19224
  class: normalizeClass(["custom-select", { "open-select": showList.value && _ctx.editMode }]),
@@ -19224,7 +19230,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
19224
19230
  class: normalizeClass(["input", { active: showList.value }]),
19225
19231
  name: "select-input"
19226
19232
  }, [
19227
- createVNode(unref(_sfc_main$T), { input: displayValue.value }, null, 8, ["input"])
19233
+ createVNode(unref(_sfc_main$U), { input: displayValue.value }, null, 8, ["input"])
19228
19234
  ], 2),
19229
19235
  (openBlock(), createBlock(Teleport, { to: "#app" }, [
19230
19236
  createElementVNode("div", {
@@ -19237,23 +19243,23 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
19237
19243
  key: option2.value,
19238
19244
  onClick: ($event) => handleSelect(option2)
19239
19245
  }, [
19240
- createVNode(unref(_sfc_main$T), {
19246
+ createVNode(unref(_sfc_main$U), {
19241
19247
  input: option2.label
19242
19248
  }, null, 8, ["input"])
19243
- ], 8, _hoisted_2$i);
19249
+ ], 8, _hoisted_2$j);
19244
19250
  }), 128))
19245
19251
  ], 2)
19246
19252
  ]))
19247
19253
  ], 2)
19248
- ], 10, _hoisted_1$l);
19254
+ ], 10, _hoisted_1$m);
19249
19255
  };
19250
19256
  }
19251
19257
  });
19252
- const SelectField = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-028ea61b"]]);
19253
- const _hoisted_1$k = ["title"];
19254
- const _hoisted_2$h = { key: 0 };
19255
- const _hoisted_3$f = ["value", "placeholder"];
19256
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
19258
+ const SelectField = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-028ea61b"]]);
19259
+ const _hoisted_1$l = ["title"];
19260
+ const _hoisted_2$i = { key: 0 };
19261
+ const _hoisted_3$g = ["value", "placeholder"];
19262
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
19257
19263
  __name: "RichTextEditor",
19258
19264
  props: {
19259
19265
  description: { default: "" },
@@ -19276,7 +19282,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
19276
19282
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
19277
19283
  title: _ctx.description
19278
19284
  }, [
19279
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$h, [
19285
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$i, [
19280
19286
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
19281
19287
  ])) : createCommentVNode("", true),
19282
19288
  createElementVNode("textarea", {
@@ -19284,12 +19290,12 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
19284
19290
  onInput: handleInput,
19285
19291
  placeholder: _ctx.placeholder,
19286
19292
  class: normalizeClass({ "no-edit": !_ctx.editMode })
19287
- }, null, 42, _hoisted_3$f)
19288
- ], 10, _hoisted_1$k);
19293
+ }, null, 42, _hoisted_3$g)
19294
+ ], 10, _hoisted_1$l);
19289
19295
  };
19290
19296
  }
19291
19297
  });
19292
- const RichTextEditor = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-69a60381"]]);
19298
+ const RichTextEditor = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-69a60381"]]);
19293
19299
  /*!
19294
19300
  * vue-draggable-next v2.2.0
19295
19301
  * (c) 2023 Anish George
@@ -21812,13 +21818,13 @@ const VueDraggableNext = defineComponent({
21812
21818
  }
21813
21819
  }
21814
21820
  });
21815
- const _hoisted_1$j = ["title"];
21816
- const _hoisted_2$g = { class: "bagel-input" };
21817
- const _hoisted_3$e = { class: "table-side-scroll" };
21818
- const _hoisted_4$7 = { class: "table-header" };
21819
- const _hoisted_5$5 = { class: "table-reorder" };
21821
+ const _hoisted_1$k = ["title"];
21822
+ const _hoisted_2$h = { class: "bagel-input" };
21823
+ const _hoisted_3$f = { class: "table-side-scroll" };
21824
+ const _hoisted_4$8 = { class: "table-header" };
21825
+ const _hoisted_5$6 = { class: "table-reorder" };
21820
21826
  const _hoisted_6$4 = { class: "table-action" };
21821
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
21827
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
21822
21828
  __name: "TableField",
21823
21829
  props: {
21824
21830
  description: { default: "" },
@@ -21883,11 +21889,11 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
21883
21889
  class: "table-field-wrap",
21884
21890
  title: _ctx.description
21885
21891
  }, [
21886
- createElementVNode("div", _hoisted_2$g, [
21892
+ createElementVNode("div", _hoisted_2$h, [
21887
21893
  createElementVNode("label", null, toDisplayString((_a = unref(fieldMeta)) == null ? void 0 : _a.label), 1)
21888
21894
  ]),
21889
- createElementVNode("div", _hoisted_3$e, [
21890
- createElementVNode("div", _hoisted_4$7, [
21895
+ createElementVNode("div", _hoisted_3$f, [
21896
+ createElementVNode("div", _hoisted_4$8, [
21891
21897
  (openBlock(true), createElementBlock(Fragment$1, null, renderList((_b = unref(entityMeta)) == null ? void 0 : _b.fields, (field) => {
21892
21898
  return openBlock(), createElementBlock("div", {
21893
21899
  class: normalizeClass(["header-col", unref(formatString)(field.fieldtype, "pascal")]),
@@ -21914,8 +21920,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
21914
21920
  class: "flex table-row",
21915
21921
  key: row.id
21916
21922
  }, [
21917
- createElementVNode("div", _hoisted_5$5, [
21918
- createVNode(_sfc_main$o, { icon: "more_vert" })
21923
+ createElementVNode("div", _hoisted_5$6, [
21924
+ createVNode(_sfc_main$p, { icon: "more_vert" })
21919
21925
  ]),
21920
21926
  (openBlock(true), createElementBlock(Fragment$1, null, renderList((_a2 = unref(entityMeta)) == null ? void 0 : _a2.fields, (field) => {
21921
21927
  return openBlock(), createElementBlock("div", {
@@ -21932,7 +21938,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
21932
21938
  ], 2);
21933
21939
  }), 128)),
21934
21940
  createElementVNode("div", _hoisted_6$4, [
21935
- createVNode(_sfc_main$o, {
21941
+ createVNode(_sfc_main$p, {
21936
21942
  icon: "delete",
21937
21943
  onClick: ($event) => removeRow(index2)
21938
21944
  }, null, 8, ["onClick"])
@@ -21958,15 +21964,15 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
21958
21964
  ]),
21959
21965
  _: 1
21960
21966
  })
21961
- ], 8, _hoisted_1$j);
21967
+ ], 8, _hoisted_1$k);
21962
21968
  };
21963
21969
  }
21964
21970
  });
21965
- const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-b01223bc"]]);
21966
- const _hoisted_1$i = ["title"];
21967
- const _hoisted_2$f = { key: 0 };
21968
- const _hoisted_3$d = ["value", "title", "placeholder"];
21969
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
21971
+ const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-b01223bc"]]);
21972
+ const _hoisted_1$j = ["title"];
21973
+ const _hoisted_2$g = { key: 0 };
21974
+ const _hoisted_3$e = ["value", "title", "placeholder"];
21975
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
21970
21976
  __name: "DurationInput",
21971
21977
  props: {
21972
21978
  description: { default: "" },
@@ -21993,7 +21999,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
21993
21999
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
21994
22000
  title: _ctx.description
21995
22001
  }, [
21996
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$f, [
22002
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$g, [
21997
22003
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
21998
22004
  ])) : createCommentVNode("", true),
21999
22005
  createElementVNode("input", {
@@ -22003,15 +22009,15 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
22003
22009
  onInput: handleInput,
22004
22010
  placeholder: _ctx.placeholder,
22005
22011
  class: normalizeClass({ "no-edit": !_ctx.editMode })
22006
- }, null, 42, _hoisted_3$d)
22007
- ], 10, _hoisted_1$i);
22012
+ }, null, 42, _hoisted_3$e)
22013
+ ], 10, _hoisted_1$j);
22008
22014
  };
22009
22015
  }
22010
22016
  });
22011
- const _hoisted_1$h = ["title"];
22012
- const _hoisted_2$e = ["for"];
22013
- const _hoisted_3$c = ["id", "type", "placeholder", "disabled", "required", "pattern"];
22014
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
22017
+ const _hoisted_1$i = ["title"];
22018
+ const _hoisted_2$f = ["for"];
22019
+ const _hoisted_3$d = ["id", "type", "placeholder", "disabled", "required", "pattern"];
22020
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
22015
22021
  __name: "TextInput",
22016
22022
  props: {
22017
22023
  id: {},
@@ -22086,10 +22092,10 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
22086
22092
  }, _ctx.nativeInputAttrs, {
22087
22093
  onDblclick: toggleEditAction,
22088
22094
  onKeydown: withKeys(toggleEditAction, ["enter"])
22089
- }), null, 16, _hoisted_3$c), [
22095
+ }), null, 16, _hoisted_3$d), [
22090
22096
  [vModelDynamic, unref(inputVal)]
22091
22097
  ])
22092
- ], 8, _hoisted_2$e),
22098
+ ], 8, _hoisted_2$f),
22093
22099
  _ctx.toggleEdit ? (openBlock(), createBlock(unref(Btn), {
22094
22100
  key: 0,
22095
22101
  class: "toggleEditBtn",
@@ -22098,19 +22104,19 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
22098
22104
  icon: unref(editMode) ? "check" : "edit",
22099
22105
  flat: ""
22100
22106
  }, null, 8, ["icon"])) : createCommentVNode("", true)
22101
- ], 10, _hoisted_1$h);
22107
+ ], 10, _hoisted_1$i);
22102
22108
  };
22103
22109
  }
22104
22110
  });
22105
- const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-7b082166"]]);
22106
- const _hoisted_1$g = ["title"];
22107
- const _hoisted_2$d = { key: 0 };
22108
- const _hoisted_3$b = {
22111
+ const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-7b082166"]]);
22112
+ const _hoisted_1$h = ["title"];
22113
+ const _hoisted_2$e = { key: 0 };
22114
+ const _hoisted_3$c = {
22109
22115
  key: 1,
22110
22116
  class: "character-limit"
22111
22117
  };
22112
- const _hoisted_4$6 = ["value"];
22113
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
22118
+ const _hoisted_4$7 = ["value"];
22119
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
22114
22120
  __name: "TextArea",
22115
22121
  props: {
22116
22122
  description: { default: "" },
@@ -22135,24 +22141,24 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
22135
22141
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
22136
22142
  title: _ctx.description
22137
22143
  }, [
22138
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$d, [
22139
- createVNode(unref(_sfc_main$T), { input: _ctx.label }, null, 8, ["input"])
22144
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$e, [
22145
+ createVNode(unref(_sfc_main$U), { input: _ctx.label }, null, 8, ["input"])
22140
22146
  ])) : createCommentVNode("", true),
22141
- _ctx.showCharacterLimit ? (openBlock(), createElementBlock("span", _hoisted_3$b, toDisplayString((_a = _ctx.modelValue) == null ? void 0 : _a.length) + " " + toDisplayString(((_b = _ctx.nativeInputAttrs) == null ? void 0 : _b.maxlength) ? `/${_ctx.nativeInputAttrs.maxlength}` : ""), 1)) : createCommentVNode("", true),
22147
+ _ctx.showCharacterLimit ? (openBlock(), createElementBlock("span", _hoisted_3$c, toDisplayString((_a = _ctx.modelValue) == null ? void 0 : _a.length) + " " + toDisplayString(((_b = _ctx.nativeInputAttrs) == null ? void 0 : _b.maxlength) ? `/${_ctx.nativeInputAttrs.maxlength}` : ""), 1)) : createCommentVNode("", true),
22142
22148
  createElementVNode("textarea", mergeProps({
22143
22149
  value: _ctx.modelValue,
22144
22150
  onInput: handleInput,
22145
22151
  class: { "no-edit": !_ctx.editMode }
22146
- }, _ctx.nativeInputAttrs), null, 16, _hoisted_4$6)
22147
- ], 10, _hoisted_1$g);
22152
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_4$7)
22153
+ ], 10, _hoisted_1$h);
22148
22154
  };
22149
22155
  }
22150
22156
  });
22151
- const TextArea = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-a5b28c58"]]);
22152
- const _hoisted_1$f = ["title"];
22153
- const _hoisted_2$c = ["for"];
22154
- const _hoisted_3$a = ["id", "placeholder", "required"];
22155
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
22157
+ const TextArea = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-a5b28c58"]]);
22158
+ const _hoisted_1$g = ["title"];
22159
+ const _hoisted_2$d = ["for"];
22160
+ const _hoisted_3$b = ["id", "placeholder", "required"];
22161
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
22156
22162
  __name: "ColorPicker",
22157
22163
  props: {
22158
22164
  field: {},
@@ -22189,19 +22195,19 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
22189
22195
  placeholder: ((_a = _ctx.field) == null ? void 0 : _a.placeholder) || _ctx.field.label,
22190
22196
  class: { "no-edit": !_ctx.editMode },
22191
22197
  required: _ctx.required
22192
- }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$a), [
22198
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$b), [
22193
22199
  [vModelText, inputVal.value]
22194
22200
  ])
22195
- ], 8, _hoisted_2$c)
22196
- ], 10, _hoisted_1$f)) : createCommentVNode("", true);
22201
+ ], 8, _hoisted_2$d)
22202
+ ], 10, _hoisted_1$g)) : createCommentVNode("", true);
22197
22203
  };
22198
22204
  }
22199
22205
  });
22200
- const _hoisted_1$e = { key: 0 };
22201
- const _hoisted_2$b = ["disabled"];
22202
- const _hoisted_3$9 = { class: "custom-select-drop" };
22203
- const _hoisted_4$5 = ["onClick"];
22204
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
22206
+ const _hoisted_1$f = { key: 0 };
22207
+ const _hoisted_2$c = ["disabled"];
22208
+ const _hoisted_3$a = { class: "custom-select-drop" };
22209
+ const _hoisted_4$6 = ["onClick"];
22210
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
22205
22211
  __name: "DynamicLinkField",
22206
22212
  props: {
22207
22213
  label: { default: "" },
@@ -22277,7 +22283,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
22277
22283
  return openBlock(), createElementBlock("div", {
22278
22284
  class: normalizeClass(["bagel-input", { small: _ctx.small }])
22279
22285
  }, [
22280
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_1$e, [
22286
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_1$f, [
22281
22287
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
22282
22288
  ])) : createCommentVNode("", true),
22283
22289
  withDirectives(createElementVNode("input", {
@@ -22289,19 +22295,19 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
22289
22295
  onFocus: initList,
22290
22296
  onInput: handleInput,
22291
22297
  disabled: !_ctx.editMode
22292
- }, null, 40, _hoisted_2$b), [
22298
+ }, null, 40, _hoisted_2$c), [
22293
22299
  [vModelText, selectedItem.value]
22294
22300
  ]),
22295
22301
  createElementVNode("div", {
22296
22302
  class: normalizeClass(["custom-select", { "open-select": showList.value && linkOptions.value.length > 0 }]),
22297
22303
  name: "link-input"
22298
22304
  }, [
22299
- createElementVNode("div", _hoisted_3$9, [
22305
+ createElementVNode("div", _hoisted_3$a, [
22300
22306
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(linkOptions.value, (item2) => {
22301
22307
  return openBlock(), createElementBlock("div", {
22302
22308
  key: unref(formatString)(item2.value, "pascal"),
22303
22309
  onClick: withModifiers(($event) => handleSelect(item2), ["stop"])
22304
- }, toDisplayString(_ctx.useId || _ctx.entity === "Entity" ? item2.value : item2.label || item2.description || item2.value), 9, _hoisted_4$5);
22310
+ }, toDisplayString(_ctx.useId || _ctx.entity === "Entity" ? item2.value : item2.label || item2.description || item2.value), 9, _hoisted_4$6);
22305
22311
  }), 128))
22306
22312
  ])
22307
22313
  ], 2)
@@ -22309,10 +22315,10 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
22309
22315
  };
22310
22316
  }
22311
22317
  });
22312
- const _hoisted_1$d = ["title"];
22313
- const _hoisted_2$a = ["for"];
22314
- const _hoisted_3$8 = ["id", "placeholder", "required", "pattern"];
22315
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
22318
+ const _hoisted_1$e = ["title"];
22319
+ const _hoisted_2$b = ["for"];
22320
+ const _hoisted_3$9 = ["id", "placeholder", "required", "pattern"];
22321
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
22316
22322
  __name: "PlainText",
22317
22323
  props: {
22318
22324
  field: {},
@@ -22358,15 +22364,78 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
22358
22364
  class: { "no-edit": !_ctx.editMode },
22359
22365
  required: _ctx.required,
22360
22366
  pattern: _ctx.pattern
22361
- }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$8), [
22367
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$9), [
22362
22368
  [vModelText, unref(inputVal)]
22363
22369
  ])
22364
- ], 8, _hoisted_2$a)
22365
- ], 10, _hoisted_1$d)) : createCommentVNode("", true);
22370
+ ], 8, _hoisted_2$b)
22371
+ ], 10, _hoisted_1$e)) : createCommentVNode("", true);
22372
+ };
22373
+ }
22374
+ });
22375
+ const PlainText = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-188270a2"]]);
22376
+ const VDatepicker = {};
22377
+ const _hoisted_1$d = { class: "datetime-wrap" };
22378
+ const _hoisted_2$a = { class: "date-wrap" };
22379
+ const _hoisted_3$8 = {
22380
+ key: 0,
22381
+ class: "time-wrap"
22382
+ };
22383
+ const _hoisted_4$5 = ["id", "name", "value"];
22384
+ const _hoisted_5$5 = ["for"];
22385
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
22386
+ __name: "DatePicker",
22387
+ props: {
22388
+ name: {},
22389
+ options: {},
22390
+ showTimeWrap: { type: Boolean }
22391
+ },
22392
+ setup(__props) {
22393
+ const selectedDate = ref(null);
22394
+ const selectedHour = ref();
22395
+ const hours = Array.from({ length: 18 }, (_, index2) => {
22396
+ const hour = Math.floor(index2 / 2) + 9;
22397
+ const minute = index2 % 2 === 0 ? "00" : "30";
22398
+ return `${hour}:${minute}`;
22399
+ });
22400
+ return (_ctx, _cache) => {
22401
+ return openBlock(), createElementBlock("div", _hoisted_1$d, [
22402
+ createElementVNode("div", _hoisted_2$a, [
22403
+ createVNode(unref(VDatepicker), mergeProps({
22404
+ inline: "",
22405
+ "week-start": "0",
22406
+ modelValue: selectedDate.value,
22407
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedDate.value = $event),
22408
+ "highlight-week-days": [6],
22409
+ "enable-time-picker": false,
22410
+ "month-change-on-scroll": false
22411
+ }, _ctx.options), {
22412
+ "action-buttons": withCtx(() => []),
22413
+ "action-preview": withCtx(() => []),
22414
+ _: 1
22415
+ }, 16, ["modelValue"])
22416
+ ]),
22417
+ _ctx.showTimeWrap ? (openBlock(), createElementBlock("div", _hoisted_3$8, [
22418
+ (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(hours), (hr) => {
22419
+ return openBlock(), createElementBlock(Fragment$1, { key: hr }, [
22420
+ withDirectives(createElementVNode("input", {
22421
+ type: "radio",
22422
+ id: `${hr}_${_ctx.name}`,
22423
+ name: _ctx.name,
22424
+ value: hr,
22425
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => selectedHour.value = $event)
22426
+ }, null, 8, _hoisted_4$5), [
22427
+ [vModelRadio, selectedHour.value]
22428
+ ]),
22429
+ createElementVNode("label", {
22430
+ for: `${hr}_${_ctx.name}`
22431
+ }, toDisplayString(hr), 9, _hoisted_5$5)
22432
+ ], 64);
22433
+ }), 128))
22434
+ ])) : createCommentVNode("", true)
22435
+ ]);
22366
22436
  };
22367
22437
  }
22368
22438
  });
22369
- const PlainText = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-188270a2"]]);
22370
22439
  function _isPlaceholder(a) {
22371
22440
  return a != null && typeof a === "object" && a["@@functional/placeholder"] === true;
22372
22441
  }
@@ -28580,9 +28649,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
28580
28649
  },
28581
28650
  setup(__props) {
28582
28651
  const props2 = __props;
28583
- const data2 = computed(
28584
- () => props2.locale === "he" ? [...props2.data].reverse() : props2.data
28585
- );
28652
+ const data2 = computed(() => props2.locale === "he" ? [...props2.data].reverse() : props2.data);
28586
28653
  const meanValue = computed(() => {
28587
28654
  const sum = props2.data.reduce((acc, curr) => acc + +curr.total_value, 0);
28588
28655
  return sum / props2.data.length;
@@ -28609,11 +28676,17 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
28609
28676
  total_value: {
28610
28677
  color: BRAND_COLOR,
28611
28678
  label: "סכום",
28612
- format: (v) => `₪${v.toLocaleString()}`
28679
+ format: (v) => {
28680
+ var _a;
28681
+ return `₪${((_a = v == null ? void 0 : v.toLocaleString) == null ? void 0 : _a.call(v)) || ""}`;
28682
+ }
28613
28683
  },
28614
28684
  total_count: {
28615
28685
  label: "מספר התרומות",
28616
- format: (v) => `${v.toLocaleString()}`
28686
+ format: (v) => {
28687
+ var _a;
28688
+ return `${((_a = v == null ? void 0 : v.toLocaleString) == null ? void 0 : _a.call(v)) || ""}`;
28689
+ }
28617
28690
  }
28618
28691
  };
28619
28692
  let chartSize = ref(null);
@@ -28820,7 +28893,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28820
28893
  return (_ctx, _cache) => {
28821
28894
  var _a, _b, _c, _d, _e, _f;
28822
28895
  return openBlock(), createElementBlock("div", _hoisted_1, [
28823
- createVNode(unref(_sfc_main$I), null, {
28896
+ createVNode(unref(_sfc_main$J), null, {
28824
28897
  default: withCtx(() => [
28825
28898
  createTextVNode("Whatsapp Template")
28826
28899
  ]),
@@ -28829,7 +28902,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28829
28902
  createElementVNode("div", _hoisted_2, [
28830
28903
  createElementVNode("div", _hoisted_3, [
28831
28904
  createElementVNode("div", _hoisted_4, [
28832
- createVNode(unref(_sfc_main$G), {
28905
+ createVNode(unref(_sfc_main$H), {
28833
28906
  schema: _ctx.whatsappTemplateSchema(),
28834
28907
  modelValue: unref(localWhatsappData),
28835
28908
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(localWhatsappData) ? localWhatsappData.value = $event : localWhatsappData = $event),
@@ -28861,45 +28934,46 @@ export {
28861
28934
  Btn,
28862
28935
  CheckInput,
28863
28936
  Checkbox,
28864
- _sfc_main$4 as ColorPicker,
28937
+ _sfc_main$5 as ColorPicker,
28865
28938
  Comments,
28866
28939
  ContactArrayInput,
28867
- _sfc_main$C as ContactSubmissions,
28940
+ _sfc_main$D as ContactSubmissions,
28868
28941
  CurrencyInput,
28869
28942
  DataPreview,
28870
28943
  DateInput,
28871
- _sfc_main$j as DatetimeInput,
28872
- _sfc_main$N as DropDown,
28873
- _sfc_main$7 as DurationInput,
28874
- _sfc_main$3 as DynamicLinkField,
28944
+ _sfc_main$2 as DatePicker,
28945
+ _sfc_main$k as DatetimeInput,
28946
+ _sfc_main$O as DropDown,
28947
+ _sfc_main$8 as DurationInput,
28948
+ _sfc_main$4 as DynamicLinkField,
28875
28949
  EmailInput,
28876
28950
  FileUploadInput,
28877
- _sfc_main$s as FileUploader,
28878
- _sfc_main$h as FloatInput,
28879
- _sfc_main$G as FormSchema,
28880
- _sfc_main$g as IntInput,
28881
- _sfc_main$p as ItemRef,
28951
+ _sfc_main$t as FileUploader,
28952
+ _sfc_main$i as FloatInput,
28953
+ _sfc_main$H as FormSchema,
28954
+ _sfc_main$h as IntInput,
28955
+ _sfc_main$q as ItemRef,
28882
28956
  JSONInput,
28883
- _sfc_main$T as LangText,
28957
+ _sfc_main$U as LangText,
28884
28958
  _sfc_main$1 as Lineart,
28885
28959
  LinkField,
28886
- _sfc_main$L as ListItem,
28887
- _sfc_main$M as ListView,
28888
- _sfc_main$R as MaterialIcon,
28960
+ _sfc_main$M as ListItem,
28961
+ _sfc_main$N as ListView,
28962
+ _sfc_main$S as MaterialIcon,
28889
28963
  MiscFieldsInput,
28890
- _sfc_main$O as Modal,
28964
+ _sfc_main$P as Modal,
28891
28965
  ModalForm,
28892
28966
  ModalPlugin,
28893
28967
  MsgTemplate,
28894
- _sfc_main$Q as NavBar,
28895
- _sfc_main$I as PageTitle,
28968
+ _sfc_main$R as NavBar,
28969
+ _sfc_main$J as PageTitle,
28896
28970
  Password,
28897
28971
  PasswordInput,
28898
- _sfc_main$B as PersonPreview,
28972
+ _sfc_main$C as PersonPreview,
28899
28973
  PersonPreviewInput,
28900
- _sfc_main$n as PlainInputField,
28974
+ _sfc_main$o as PlainInputField,
28901
28975
  PlainText,
28902
- _sfc_main$S as RTXEditor,
28976
+ _sfc_main$T as RTXEditor,
28903
28977
  ReadOnlyInput,
28904
28978
  RichTextEditor,
28905
28979
  RouterWrapper,
@@ -28909,7 +28983,7 @@ export {
28909
28983
  TableSchema,
28910
28984
  TextArea,
28911
28985
  TextInput,
28912
- _sfc_main$q as TextVariableExamples,
28986
+ _sfc_main$r as TextVariableExamples,
28913
28987
  TextVariablesInput,
28914
28988
  ToggleSwitchInput,
28915
28989
  TopBar,