@bagelink/vue 0.0.188 → 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.
package/dist/index.cjs CHANGED
@@ -2302,7 +2302,7 @@ const ModalPlugin = {
2302
2302
  },
2303
2303
  render() {
2304
2304
  return modalStack.value.map((modal, index2) => {
2305
- const renderComponent = modal.isModalForm ? ModalForm : _sfc_main$O;
2305
+ const renderComponent = modal.isModalForm ? ModalForm : _sfc_main$P;
2306
2306
  return vue.h(
2307
2307
  renderComponent,
2308
2308
  {
@@ -2378,8 +2378,8 @@ function useEscape(event, closeModel) {
2378
2378
  closeModel();
2379
2379
  }
2380
2380
  }
2381
- const _hoisted_1$Z = { ref: "el" };
2382
- const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
2381
+ const _hoisted_1$_ = { ref: "el" };
2382
+ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
2383
2383
  __name: "LangText",
2384
2384
  props: {
2385
2385
  input: {}
@@ -2387,7 +2387,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
2387
2387
  setup(__props) {
2388
2388
  return (_ctx, _cache) => {
2389
2389
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
2390
- vue.createElementVNode("span", _hoisted_1$Z, null, 512),
2390
+ vue.createElementVNode("span", _hoisted_1$_, null, 512),
2391
2391
  vue.createTextVNode(" " + vue.toDisplayString(_ctx.input), 1)
2392
2392
  ], 64);
2393
2393
  };
@@ -14503,8 +14503,8 @@ const marks = {
14503
14503
  }
14504
14504
  };
14505
14505
  const schema = new Schema({ nodes, marks });
14506
- const _hoisted_1$Y = ["id"];
14507
- const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
14506
+ const _hoisted_1$Z = ["id"];
14507
+ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
14508
14508
  __name: "RTXEditor",
14509
14509
  props: {
14510
14510
  elementId: { default: Math.random().toString(36).substr(2, 9) },
@@ -14581,11 +14581,11 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
14581
14581
  onClick: focusEditor,
14582
14582
  id: `canvas-${_ctx.elementId}`,
14583
14583
  onKeydown: _cache[0] || (_cache[0] = vue.withKeys(vue.withModifiers(($event) => _ctx.$emit("keydown.meta.enter"), ["meta"]), ["enter"]))
14584
- }, null, 40, _hoisted_1$Y);
14584
+ }, null, 40, _hoisted_1$Z);
14585
14585
  };
14586
14586
  }
14587
14587
  });
14588
- const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
14588
+ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
14589
14589
  __name: "MaterialIcon",
14590
14590
  props: {
14591
14591
  icon: {},
@@ -14600,17 +14600,17 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
14600
14600
  };
14601
14601
  }
14602
14602
  });
14603
- const _hoisted_1$X = /* @__PURE__ */ vue.createElementVNode("div", { class: "icon-font top-arrow" }, "chevron_right", -1);
14604
- const _hoisted_2$P = [
14605
- _hoisted_1$X
14603
+ const _hoisted_1$Y = /* @__PURE__ */ vue.createElementVNode("div", { class: "icon-font top-arrow" }, "chevron_right", -1);
14604
+ const _hoisted_2$Q = [
14605
+ _hoisted_1$Y
14606
14606
  ];
14607
- const _hoisted_3$H = { class: "full-nav" };
14608
- const _hoisted_4$q = { class: "nav-scroll" };
14609
- const _hoisted_5$l = { class: "nav-links-wrapper" };
14607
+ const _hoisted_3$I = { class: "full-nav" };
14608
+ const _hoisted_4$r = { class: "nav-scroll" };
14609
+ const _hoisted_5$m = { class: "nav-links-wrapper" };
14610
14610
  const _hoisted_6$h = { class: "icon-font" };
14611
14611
  const _hoisted_7$d = { class: "tooltip" };
14612
14612
  const _hoisted_8$7 = { class: "bot-buttons-wrapper" };
14613
- const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
14613
+ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
14614
14614
  __name: "NavBar",
14615
14615
  props: {
14616
14616
  links: {},
@@ -14634,10 +14634,10 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
14634
14634
  role: "button",
14635
14635
  "aria-label": "Toggle Navigation",
14636
14636
  tabindex: "0"
14637
- }, _hoisted_2$P, 32),
14638
- vue.createElementVNode("div", _hoisted_3$H, [
14639
- vue.createElementVNode("div", _hoisted_4$q, [
14640
- vue.createElementVNode("div", _hoisted_5$l, [
14637
+ }, _hoisted_2$Q, 32),
14638
+ vue.createElementVNode("div", _hoisted_3$I, [
14639
+ vue.createElementVNode("div", _hoisted_4$r, [
14640
+ vue.createElementVNode("div", _hoisted_5$m, [
14641
14641
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a = _ctx.links) == null ? void 0 : _a.call(_ctx), (link) => {
14642
14642
  return vue.openBlock(), vue.createBlock(_component_RouterLink, {
14643
14643
  class: "nav-button",
@@ -14661,15 +14661,15 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
14661
14661
  };
14662
14662
  }
14663
14663
  });
14664
- const _hoisted_1$W = {
14664
+ const _hoisted_1$X = {
14665
14665
  key: 0,
14666
14666
  class: "loading"
14667
14667
  };
14668
- const _hoisted_2$O = {
14668
+ const _hoisted_2$P = {
14669
14669
  key: 1,
14670
14670
  class: "btn-flex"
14671
14671
  };
14672
- const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
14672
+ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
14673
14673
  __name: "Btn",
14674
14674
  props: {
14675
14675
  disabled: { type: Boolean, default: false },
@@ -14705,8 +14705,8 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
14705
14705
  })
14706
14706
  }, {
14707
14707
  default: vue.withCtx(() => [
14708
- _ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$W)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$O, [
14709
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
14708
+ _ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$X)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$P, [
14709
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
14710
14710
  key: 0,
14711
14711
  icon: _ctx.icon
14712
14712
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
@@ -14714,7 +14714,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
14714
14714
  !vue.unref(slots)["default"] && _ctx.value ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
14715
14715
  vue.createTextVNode(vue.toDisplayString(_ctx.value), 1)
14716
14716
  ], 64)) : vue.createCommentVNode("", true),
14717
- props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
14717
+ props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
14718
14718
  key: 2,
14719
14719
  icon: props2["icon.end"]
14720
14720
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true)
@@ -14732,11 +14732,11 @@ const _export_sfc = (sfc, props2) => {
14732
14732
  }
14733
14733
  return target;
14734
14734
  };
14735
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-8fe48560"]]);
14736
- const _hoisted_1$V = { class: "tool-bar" };
14737
- const _hoisted_2$N = { class: "modal-title" };
14738
- const _hoisted_3$G = { class: "modal-footer mt-3" };
14739
- const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
14735
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-8fe48560"]]);
14736
+ const _hoisted_1$W = { class: "tool-bar" };
14737
+ const _hoisted_2$O = { class: "modal-title" };
14738
+ const _hoisted_3$H = { class: "modal-footer mt-3" };
14739
+ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
14740
14740
  __name: "Modal",
14741
14741
  props: {
14742
14742
  side: { type: Boolean },
@@ -14782,7 +14782,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
14782
14782
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
14783
14783
  }, ["stop"]))
14784
14784
  }, [
14785
- vue.createElementVNode("header", _hoisted_1$V, [
14785
+ vue.createElementVNode("header", _hoisted_1$W, [
14786
14786
  vue.renderSlot(_ctx.$slots, "toolbar"),
14787
14787
  vue.createVNode(vue.unref(Btn), {
14788
14788
  style: vue.normalizeStyle({ float: _ctx.side ? "left" : "right" }),
@@ -14790,10 +14790,10 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
14790
14790
  icon: "close",
14791
14791
  onClick: closeModal
14792
14792
  }, null, 8, ["style"]),
14793
- vue.createElementVNode("h3", _hoisted_2$N, vue.toDisplayString(_ctx.title), 1)
14793
+ vue.createElementVNode("h3", _hoisted_2$O, vue.toDisplayString(_ctx.title), 1)
14794
14794
  ]),
14795
14795
  vue.renderSlot(_ctx.$slots, "default"),
14796
- vue.createElementVNode("footer", _hoisted_3$G, [
14796
+ vue.createElementVNode("footer", _hoisted_3$H, [
14797
14797
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.actions, (action, i2) => {
14798
14798
  return vue.openBlock(), vue.createBlock(vue.unref(Btn), vue.mergeProps({
14799
14799
  key: i2,
@@ -14808,10 +14808,10 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
14808
14808
  };
14809
14809
  }
14810
14810
  });
14811
- const _hoisted_1$U = { class: "dropdown-title" };
14812
- const _hoisted_2$M = { class: "dropdown-body" };
14813
- const _hoisted_3$F = ["onClick"];
14814
- const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
14811
+ const _hoisted_1$V = { class: "dropdown-title" };
14812
+ const _hoisted_2$N = { class: "dropdown-body" };
14813
+ const _hoisted_3$G = ["onClick"];
14814
+ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
14815
14815
  __name: "DropDown",
14816
14816
  props: {
14817
14817
  modelValue: String,
@@ -14837,31 +14837,31 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
14837
14837
  class: vue.normalizeClass(["dropdown", { opendrop: vue.unref(isOpen) }]),
14838
14838
  onClick: toggleDropdown
14839
14839
  }, [
14840
- vue.createElementVNode("div", _hoisted_1$U, [
14840
+ vue.createElementVNode("div", _hoisted_1$V, [
14841
14841
  vue.createTextVNode(vue.toDisplayString(vue.unref(selectedOption) || __props.placeholder) + " ", 1),
14842
- vue.createVNode(vue.unref(_sfc_main$R), { icon: "keyboard_arrow_down" })
14842
+ vue.createVNode(vue.unref(_sfc_main$S), { icon: "keyboard_arrow_down" })
14843
14843
  ]),
14844
- vue.createElementVNode("div", _hoisted_2$M, [
14844
+ vue.createElementVNode("div", _hoisted_2$N, [
14845
14845
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.options, (option2, index2) => {
14846
14846
  return vue.openBlock(), vue.createElementBlock("p", {
14847
14847
  key: index2,
14848
14848
  onClick: vue.withModifiers(($event) => selectOption(option2, index2), ["stop"])
14849
- }, vue.toDisplayString(option2), 9, _hoisted_3$F);
14849
+ }, vue.toDisplayString(option2), 9, _hoisted_3$G);
14850
14850
  }), 128))
14851
14851
  ])
14852
14852
  ], 2);
14853
14853
  };
14854
14854
  }
14855
14855
  });
14856
- const _hoisted_1$T = { class: "card list-view grid thin" };
14857
- const _hoisted_2$L = { class: "list-header flex gap-3 align-items-top" };
14858
- const _hoisted_3$E = {
14856
+ const _hoisted_1$U = { class: "card list-view grid thin" };
14857
+ const _hoisted_2$M = { class: "list-header flex gap-3 align-items-top" };
14858
+ const _hoisted_3$F = {
14859
14859
  key: 0,
14860
14860
  class: "bagel-input search-wrap"
14861
14861
  };
14862
- const _hoisted_4$p = ["placeholder"];
14863
- const _hoisted_5$k = { class: "list-content grid auto-flow-rows align-items-start" };
14864
- const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
14862
+ const _hoisted_4$q = ["placeholder"];
14863
+ const _hoisted_5$l = { class: "list-content grid auto-flow-rows align-items-start" };
14864
+ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
14865
14865
  __name: "ListView",
14866
14866
  props: {
14867
14867
  enableAdd: { type: Boolean },
@@ -14877,17 +14877,17 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
14877
14877
  debounce(() => emit2("debounce", searchTerm.value));
14878
14878
  };
14879
14879
  return (_ctx, _cache) => {
14880
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$T, [
14881
- vue.createElementVNode("div", _hoisted_2$L, [
14882
- _ctx.enableSearch ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$E, [
14880
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$U, [
14881
+ vue.createElementVNode("div", _hoisted_2$M, [
14882
+ _ctx.enableSearch ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$F, [
14883
14883
  vue.withDirectives(vue.createElementVNode("input", {
14884
14884
  placeholder: _ctx.searchPlaceholder,
14885
14885
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchTerm.value = $event),
14886
14886
  onInput: _cache[1] || (_cache[1] = ($event) => search())
14887
- }, null, 40, _hoisted_4$p), [
14887
+ }, null, 40, _hoisted_4$q), [
14888
14888
  [vue.vModelText, searchTerm.value]
14889
14889
  ]),
14890
- vue.createVNode(vue.unref(_sfc_main$R), {
14890
+ vue.createVNode(vue.unref(_sfc_main$S), {
14891
14891
  class: "txtgray",
14892
14892
  icon: "search"
14893
14893
  })
@@ -14899,16 +14899,16 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
14899
14899
  onClick: _cache[2] || (_cache[2] = ($event) => emit2("add"))
14900
14900
  })) : vue.createCommentVNode("", true)
14901
14901
  ]),
14902
- vue.createElementVNode("div", _hoisted_5$k, [
14902
+ vue.createElementVNode("div", _hoisted_5$l, [
14903
14903
  vue.renderSlot(_ctx.$slots, "default")
14904
14904
  ])
14905
14905
  ]);
14906
14906
  };
14907
14907
  }
14908
14908
  });
14909
- const _hoisted_1$S = { class: "txt16 no-margin" };
14910
- const _hoisted_2$K = { class: "txt14 no-margin txtgray" };
14911
- const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
14909
+ const _hoisted_1$T = { class: "txt16 no-margin" };
14910
+ const _hoisted_2$L = { class: "txt14 no-margin txtgray" };
14911
+ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
14912
14912
  __name: "ListItem",
14913
14913
  props: {
14914
14914
  to: {}
@@ -14920,10 +14920,10 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
14920
14920
  class: "list-item ellipsis"
14921
14921
  }, {
14922
14922
  default: vue.withCtx(() => [
14923
- vue.createElementVNode("p", _hoisted_1$S, [
14923
+ vue.createElementVNode("p", _hoisted_1$T, [
14924
14924
  vue.renderSlot(_ctx.$slots, "default")
14925
14925
  ]),
14926
- vue.createElementVNode("p", _hoisted_2$K, [
14926
+ vue.createElementVNode("p", _hoisted_2$L, [
14927
14927
  vue.renderSlot(_ctx.$slots, "subtitle")
14928
14928
  ])
14929
14929
  ]),
@@ -14932,11 +14932,11 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
14932
14932
  };
14933
14933
  }
14934
14934
  });
14935
- const _hoisted_1$R = { class: "h-100 grid list-view gap-3" };
14936
- const _hoisted_2$J = { class: "card tabs-top" };
14937
- const _hoisted_3$D = { class: "tabs grid auto-flow-columns fit-content" };
14938
- const _hoisted_4$o = ["onClick"];
14939
- const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
14935
+ const _hoisted_1$S = { class: "h-100 grid list-view gap-3" };
14936
+ const _hoisted_2$K = { class: "card tabs-top" };
14937
+ const _hoisted_3$E = { class: "tabs grid auto-flow-columns fit-content" };
14938
+ const _hoisted_4$p = ["onClick"];
14939
+ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
14940
14940
  __name: "TabbedLayout",
14941
14941
  props: {
14942
14942
  title: {},
@@ -14964,10 +14964,10 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
14964
14964
  activeTab.value = firstTab;
14965
14965
  });
14966
14966
  return (_ctx, _cache) => {
14967
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$R, [
14968
- vue.createElementVNode("div", _hoisted_2$J, [
14967
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$S, [
14968
+ vue.createElementVNode("div", _hoisted_2$K, [
14969
14969
  vue.renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
14970
- vue.createElementVNode("div", _hoisted_3$D, [
14970
+ vue.createElementVNode("div", _hoisted_3$E, [
14971
14971
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.tabs, (tab) => {
14972
14972
  return vue.openBlock(), vue.createElementBlock("div", {
14973
14973
  class: vue.normalizeClass([{
@@ -14975,7 +14975,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
14975
14975
  }, "tab"]),
14976
14976
  key: tab,
14977
14977
  onClick: ($event) => changeTab(tab)
14978
- }, vue.toDisplayString(tab), 11, _hoisted_4$o);
14978
+ }, vue.toDisplayString(tab), 11, _hoisted_4$p);
14979
14979
  }), 128))
14980
14980
  ])
14981
14981
  ]),
@@ -14991,16 +14991,16 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
14991
14991
  };
14992
14992
  }
14993
14993
  });
14994
- const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-3941cced"]]);
14995
- const _hoisted_1$Q = { class: "comments-wrap" };
14996
- const _hoisted_2$I = { class: "comment-list" };
14997
- const _hoisted_3$C = { class: "comment-top" };
14998
- const _hoisted_4$n = { class: "comment-owner" };
14999
- const _hoisted_5$j = { class: "comment-time" };
14994
+ const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-3941cced"]]);
14995
+ const _hoisted_1$R = { class: "comments-wrap" };
14996
+ const _hoisted_2$J = { class: "comment-list" };
14997
+ const _hoisted_3$D = { class: "comment-top" };
14998
+ const _hoisted_4$o = { class: "comment-owner" };
14999
+ const _hoisted_5$k = { class: "comment-time" };
15000
15000
  const _hoisted_6$g = { class: "comment-actions" };
15001
15001
  const _hoisted_7$c = ["innerHTML"];
15002
15002
  const _hoisted_8$6 = { class: "new-comment" };
15003
- const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
15003
+ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
15004
15004
  __name: "Comments",
15005
15005
  props: {
15006
15006
  ref_table: {},
@@ -15043,8 +15043,8 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
15043
15043
  void fetchData();
15044
15044
  };
15045
15045
  return (_ctx, _cache) => {
15046
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Q, [
15047
- vue.createElementVNode("div", _hoisted_2$I, [
15046
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$R, [
15047
+ vue.createElementVNode("div", _hoisted_2$J, [
15048
15048
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(comments), (comment) => {
15049
15049
  var _a, _b, _c;
15050
15050
  return vue.openBlock(), vue.createElementBlock("div", {
@@ -15054,23 +15054,23 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
15054
15054
  }, "comment"]),
15055
15055
  key: comment.id
15056
15056
  }, [
15057
- vue.createElementVNode("div", _hoisted_3$C, [
15058
- vue.createElementVNode("div", _hoisted_4$n, vue.toDisplayString(comment.sender.first_name) + " " + vue.toDisplayString(comment.sender.last_name), 1),
15059
- vue.createElementVNode("div", _hoisted_5$j, vue.toDisplayString(comment.updated_at.split("T")[0]), 1),
15057
+ vue.createElementVNode("div", _hoisted_3$D, [
15058
+ vue.createElementVNode("div", _hoisted_4$o, vue.toDisplayString(comment.sender.first_name) + " " + vue.toDisplayString(comment.sender.last_name), 1),
15059
+ vue.createElementVNode("div", _hoisted_5$k, vue.toDisplayString(comment.updated_at.split("T")[0]), 1),
15060
15060
  vue.createElementVNode("div", _hoisted_6$g, [
15061
- vue.createVNode(vue.unref(_sfc_main$R), {
15061
+ vue.createVNode(vue.unref(_sfc_main$S), {
15062
15062
  size: 1,
15063
15063
  class: "edit",
15064
15064
  icon: "edit",
15065
15065
  onClick: ($event) => vue.isRef(editComment) ? editComment.value = comment : editComment = comment
15066
15066
  }, null, 8, ["onClick"]),
15067
- vue.createVNode(vue.unref(_sfc_main$R), {
15067
+ vue.createVNode(vue.unref(_sfc_main$S), {
15068
15068
  size: 1.2,
15069
15069
  class: "delete",
15070
15070
  icon: "delete",
15071
15071
  onClick: ($event) => deleteComment(comment.id)
15072
15072
  }, null, 8, ["onClick"]),
15073
- vue.createVNode(vue.unref(_sfc_main$R), {
15073
+ vue.createVNode(vue.unref(_sfc_main$S), {
15074
15074
  size: 1.2,
15075
15075
  class: "save",
15076
15076
  icon: "save",
@@ -15078,7 +15078,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
15078
15078
  })
15079
15079
  ])
15080
15080
  ]),
15081
- vue.unref(editComment) !== null && ((_c = vue.unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
15081
+ vue.unref(editComment) !== null && ((_c = vue.unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$T), {
15082
15082
  key: 0,
15083
15083
  modelValue: vue.unref(editComment).body_html,
15084
15084
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(editComment).body_html = $event),
@@ -15092,7 +15092,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
15092
15092
  }), 128))
15093
15093
  ]),
15094
15094
  vue.createElementVNode("div", _hoisted_8$6, [
15095
- vue.createVNode(vue.unref(_sfc_main$S), {
15095
+ vue.createVNode(vue.unref(_sfc_main$T), {
15096
15096
  class: "comment-input",
15097
15097
  modelValue: vue.unref(bodyHtml),
15098
15098
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(bodyHtml) ? bodyHtml.value = $event : bodyHtml = $event),
@@ -15112,10 +15112,10 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
15112
15112
  };
15113
15113
  }
15114
15114
  });
15115
- const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-2eead7c8"]]);
15116
- const _hoisted_1$P = { class: "page-top" };
15117
- const _hoisted_2$H = { class: "top-title" };
15118
- const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
15115
+ const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-2eead7c8"]]);
15116
+ const _hoisted_1$Q = { class: "page-top" };
15117
+ const _hoisted_2$I = { class: "top-title" };
15118
+ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
15119
15119
  __name: "PageTitle",
15120
15120
  props: {
15121
15121
  value: {
@@ -15125,8 +15125,8 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
15125
15125
  },
15126
15126
  setup(__props) {
15127
15127
  return (_ctx, _cache) => {
15128
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$P, [
15129
- vue.createElementVNode("h1", _hoisted_2$H, [
15128
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Q, [
15129
+ vue.createElementVNode("h1", _hoisted_2$I, [
15130
15130
  vue.renderSlot(_ctx.$slots, "default"),
15131
15131
  vue.createTextVNode(" " + vue.toDisplayString(__props.value), 1)
15132
15132
  ])
@@ -15134,9 +15134,9 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
15134
15134
  };
15135
15135
  }
15136
15136
  });
15137
- const _hoisted_1$O = { class: "tool-bar" };
15138
- const _hoisted_2$G = { class: "modal-title" };
15139
- const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
15137
+ const _hoisted_1$P = { class: "tool-bar" };
15138
+ const _hoisted_2$H = { class: "modal-title" };
15139
+ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
15140
15140
  __name: "ModalForm",
15141
15141
  props: {
15142
15142
  side: { type: Boolean },
@@ -15209,7 +15209,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
15209
15209
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
15210
15210
  }, ["stop"]))
15211
15211
  }, [
15212
- vue.createElementVNode("header", _hoisted_1$O, [
15212
+ vue.createElementVNode("header", _hoisted_1$P, [
15213
15213
  vue.renderSlot(_ctx.$slots, "toolbar", {}, void 0, true),
15214
15214
  vue.createVNode(vue.unref(Btn), {
15215
15215
  style: vue.normalizeStyle({ float: _ctx.side ? "left" : "right" }),
@@ -15217,9 +15217,9 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
15217
15217
  icon: "close",
15218
15218
  onClick: closeModal
15219
15219
  }, null, 8, ["style"]),
15220
- vue.createElementVNode("h3", _hoisted_2$G, vue.toDisplayString(_ctx.title), 1)
15220
+ vue.createElementVNode("h3", _hoisted_2$H, vue.toDisplayString(_ctx.title), 1)
15221
15221
  ]),
15222
- vue.createVNode(vue.unref(_sfc_main$G), {
15222
+ vue.createVNode(vue.unref(_sfc_main$H), {
15223
15223
  onDelete: _ctx.onDelete ? runDelete : void 0,
15224
15224
  modelValue: _ctx.modelValue,
15225
15225
  "onUpdate:modelValue": handleEmit,
@@ -15231,8 +15231,8 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
15231
15231
  };
15232
15232
  }
15233
15233
  });
15234
- const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-1799b7d0"]]);
15235
- const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
15234
+ const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-1799b7d0"]]);
15235
+ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
15236
15236
  __name: "FormSchema",
15237
15237
  props: {
15238
15238
  modelValue: {},
@@ -15305,14 +15305,14 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
15305
15305
  };
15306
15306
  }
15307
15307
  });
15308
- const _hoisted_1$N = { class: "table-list-wrap h-100" };
15309
- const _hoisted_2$F = { class: "infinite-wrapper" };
15310
- const _hoisted_3$B = { class: "row first-row" };
15311
- const _hoisted_4$m = ["onClick"];
15312
- const _hoisted_5$i = { class: "flex" };
15308
+ const _hoisted_1$O = { class: "table-list-wrap h-100" };
15309
+ const _hoisted_2$G = { class: "infinite-wrapper" };
15310
+ const _hoisted_3$C = { class: "row first-row" };
15311
+ const _hoisted_4$n = ["onClick"];
15312
+ const _hoisted_5$j = { class: "flex" };
15313
15313
  const _hoisted_6$f = ["onClick"];
15314
15314
  const _hoisted_7$b = { key: 1 };
15315
- const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
15315
+ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
15316
15316
  __name: "TableSchema",
15317
15317
  props: {
15318
15318
  data: {},
@@ -15350,32 +15350,35 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
15350
15350
  };
15351
15351
  const columns = vue.computed(
15352
15352
  () => {
15353
- var _a;
15354
- return ((_a = props2.schema) == null ? void 0 : _a.call(props2)) || Object.keys(props2.data[0]).map((k) => ({ id: k, inputType: "PlainText" }));
15353
+ var _a, _b;
15354
+ return ((_b = (_a = props2.schema) == null ? void 0 : _a.call(props2)) == null ? void 0 : _b.map((field) => ({
15355
+ ...field,
15356
+ id: (field == null ? void 0 : field.relationshipObjKey) || field.id
15357
+ }))) || Object.keys(props2.data[0]).map((k) => ({ id: k, inputType: "PlainText" }));
15355
15358
  }
15356
15359
  );
15357
15360
  return (_ctx, _cache) => {
15358
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$N, [
15359
- vue.createElementVNode("table", _hoisted_2$F, [
15360
- vue.createElementVNode("thead", _hoisted_3$B, [
15361
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$O, [
15362
+ vue.createElementVNode("table", _hoisted_2$G, [
15363
+ vue.createElementVNode("thead", _hoisted_3$C, [
15361
15364
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(columns.value, (field) => {
15362
15365
  return vue.openBlock(), vue.createElementBlock("th", {
15363
15366
  class: "col",
15364
15367
  key: field.id,
15365
15368
  onClick: ($event) => sort2(field.id)
15366
15369
  }, [
15367
- vue.createElementVNode("div", _hoisted_5$i, [
15370
+ vue.createElementVNode("div", _hoisted_5$j, [
15368
15371
  vue.createTextVNode(vue.toDisplayString((field == null ? void 0 : field.label) || (field == null ? void 0 : field.id)) + " ", 1),
15369
15372
  vue.createElementVNode("div", {
15370
15373
  class: vue.normalizeClass(["list-arrows", { sorted: vue.unref(sortField) === field.id }])
15371
15374
  }, [
15372
- vue.createVNode(vue.unref(_sfc_main$R), {
15375
+ vue.createVNode(vue.unref(_sfc_main$S), {
15373
15376
  class: vue.normalizeClass({ desc: vue.unref(sortDirection) === "DESC" }),
15374
15377
  icon: "keyboard_arrow_up"
15375
15378
  }, null, 8, ["class"])
15376
15379
  ], 2)
15377
15380
  ])
15378
- ], 8, _hoisted_4$m);
15381
+ ], 8, _hoisted_4$n);
15379
15382
  }), 128))
15380
15383
  ]),
15381
15384
  vue.createElementVNode("tbody", {
@@ -15426,16 +15429,16 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
15426
15429
  };
15427
15430
  }
15428
15431
  });
15429
- const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-8cd8ab82"]]);
15430
- const _sfc_main$E = {};
15431
- const _hoisted_1$M = { class: "flex space-between" };
15432
+ const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-f3a410c2"]]);
15433
+ const _sfc_main$F = {};
15434
+ const _hoisted_1$N = { class: "flex space-between" };
15432
15435
  function _sfc_render$1(_ctx, _cache) {
15433
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$M, [
15436
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$N, [
15434
15437
  vue.renderSlot(_ctx.$slots, "default")
15435
15438
  ]);
15436
15439
  }
15437
- const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$1]]);
15438
- const _sfc_main$D = {};
15440
+ const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$1]]);
15441
+ const _sfc_main$E = {};
15439
15442
  function _sfc_render(_ctx, _cache) {
15440
15443
  const _component_router_view = vue.resolveComponent("router-view");
15441
15444
  return vue.openBlock(), vue.createBlock(_component_router_view, null, {
@@ -15457,9 +15460,9 @@ function _sfc_render(_ctx, _cache) {
15457
15460
  _: 1
15458
15461
  });
15459
15462
  }
15460
- const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render]]);
15461
- const _hoisted_1$L = { class: "card h-100 thin" };
15462
- const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
15463
+ const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render]]);
15464
+ const _hoisted_1$M = { class: "card h-100 thin" };
15465
+ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
15463
15466
  __name: "ContactSubmissions",
15464
15467
  props: {
15465
15468
  person_id: {
@@ -15489,7 +15492,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
15489
15492
  void getData();
15490
15493
  });
15491
15494
  return (_ctx, _cache) => {
15492
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$L, [
15495
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$M, [
15493
15496
  vue.createVNode(vue.unref(TableSchema), {
15494
15497
  schema: schema2,
15495
15498
  data: vue.unref(data2)
@@ -15498,14 +15501,14 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
15498
15501
  };
15499
15502
  }
15500
15503
  });
15501
- const _hoisted_1$K = {
15504
+ const _hoisted_1$L = {
15502
15505
  key: 0,
15503
15506
  class: "person-card-edit flex gap-2"
15504
15507
  };
15505
- const _hoisted_2$E = { class: "person-card-icon-wrap" };
15506
- const _hoisted_3$A = { class: "person-card-icon" };
15507
- const _hoisted_4$l = { class: "person-card-name txt20" };
15508
- const _hoisted_5$h = { class: "person-card-details-wrap" };
15508
+ const _hoisted_2$F = { class: "person-card-icon-wrap" };
15509
+ const _hoisted_3$B = { class: "person-card-icon" };
15510
+ const _hoisted_4$m = { class: "person-card-name txt20" };
15511
+ const _hoisted_5$i = { class: "person-card-details-wrap" };
15509
15512
  const _hoisted_6$e = {
15510
15513
  key: 0,
15511
15514
  class: "person-card-details"
@@ -15520,7 +15523,7 @@ const _hoisted_8$5 = {
15520
15523
  };
15521
15524
  const _hoisted_9$3 = { key: 0 };
15522
15525
  const _hoisted_10$3 = { key: 1 };
15523
- const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
15526
+ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
15524
15527
  __name: "PersonPreview",
15525
15528
  props: {
15526
15529
  person: {},
@@ -15550,7 +15553,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
15550
15553
  (...args) => _ctx.onClick && _ctx.onClick(...args)),
15551
15554
  class: "person-card"
15552
15555
  }, [
15553
- !_ctx.onClick ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$K, [
15556
+ !_ctx.onClick ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$L, [
15554
15557
  !_ctx.$route.path.match("/search") ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
15555
15558
  key: 0,
15556
15559
  round: "",
@@ -15567,13 +15570,13 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
15567
15570
  icon: "edit"
15568
15571
  })
15569
15572
  ])) : vue.createCommentVNode("", true),
15570
- vue.createElementVNode("div", _hoisted_2$E, [
15571
- vue.createElementVNode("p", _hoisted_3$A, vue.toDisplayString(vue.unref(initials)(_ctx.person.first_name, _ctx.person.last_name)), 1),
15572
- vue.createElementVNode("p", _hoisted_4$l, vue.toDisplayString(_ctx.person.first_name) + " " + vue.toDisplayString(_ctx.person.last_name), 1)
15573
+ vue.createElementVNode("div", _hoisted_2$F, [
15574
+ vue.createElementVNode("p", _hoisted_3$B, vue.toDisplayString(vue.unref(initials)(_ctx.person.first_name, _ctx.person.last_name)), 1),
15575
+ vue.createElementVNode("p", _hoisted_4$m, vue.toDisplayString(_ctx.person.first_name) + " " + vue.toDisplayString(_ctx.person.last_name), 1)
15573
15576
  ]),
15574
- vue.createElementVNode("div", _hoisted_5$h, [
15577
+ vue.createElementVNode("div", _hoisted_5$i, [
15575
15578
  ((_a = _ctx.person.phone) == null ? void 0 : _a.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$e, [
15576
- vue.createVNode(vue.unref(_sfc_main$R), { icon: "phone" }),
15579
+ vue.createVNode(vue.unref(_sfc_main$S), { icon: "phone" }),
15577
15580
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.person.phone, (phone) => {
15578
15581
  return vue.openBlock(), vue.createElementBlock("p", {
15579
15582
  key: phone.id
@@ -15581,7 +15584,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
15581
15584
  }), 128))
15582
15585
  ])) : vue.createCommentVNode("", true),
15583
15586
  ((_b = _ctx.person.email) == null ? void 0 : _b.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$a, [
15584
- vue.createVNode(vue.unref(_sfc_main$R), { icon: "email" }),
15587
+ vue.createVNode(vue.unref(_sfc_main$S), { icon: "email" }),
15585
15588
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.person.email, (email) => {
15586
15589
  return vue.openBlock(), vue.createElementBlock("p", {
15587
15590
  key: email.id
@@ -15589,7 +15592,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
15589
15592
  }), 128))
15590
15593
  ])) : vue.createCommentVNode("", true),
15591
15594
  _ctx.person.date_of_birth || _ctx.person.gender ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$5, [
15592
- vue.createVNode(vue.unref(_sfc_main$R), { icon: "badge" }),
15595
+ vue.createVNode(vue.unref(_sfc_main$S), { icon: "badge" }),
15593
15596
  _ctx.person.date_of_birth ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_9$3, vue.toDisplayString(_ctx.person.date_of_birth), 1)) : vue.createCommentVNode("", true),
15594
15597
  _ctx.person.gender ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_10$3, vue.toDisplayString(_ctx.person.gender), 1)) : vue.createCommentVNode("", true)
15595
15598
  ])) : vue.createCommentVNode("", true)
@@ -15598,23 +15601,23 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
15598
15601
  };
15599
15602
  }
15600
15603
  });
15601
- const _hoisted_1$J = {
15604
+ const _hoisted_1$K = {
15602
15605
  key: 0,
15603
15606
  class: "data"
15604
15607
  };
15605
- const _hoisted_2$D = {
15608
+ const _hoisted_2$E = {
15606
15609
  key: 0,
15607
15610
  class: "mb-3 mt-0"
15608
15611
  };
15609
- const _hoisted_3$z = {
15612
+ const _hoisted_3$A = {
15610
15613
  key: 0,
15611
15614
  class: "data-row"
15612
15615
  };
15613
- const _hoisted_4$k = { class: "key" };
15614
- const _hoisted_5$g = { key: 1 };
15616
+ const _hoisted_4$l = { class: "key" };
15617
+ const _hoisted_5$h = { key: 1 };
15615
15618
  const _hoisted_6$d = { class: "key" };
15616
15619
  const _hoisted_7$9 = { class: "vlue" };
15617
- const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
15620
+ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
15618
15621
  __name: "DataPreview",
15619
15622
  props: {
15620
15623
  data: {},
@@ -15636,14 +15639,14 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
15636
15639
  };
15637
15640
  return (_ctx, _cache) => {
15638
15641
  var _a;
15639
- return _ctx.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$J, [
15640
- _ctx.title ? (vue.openBlock(), vue.createElementBlock("h3", _hoisted_2$D, vue.toDisplayString(_ctx.title), 1)) : vue.createCommentVNode("", true),
15642
+ return _ctx.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$K, [
15643
+ _ctx.title ? (vue.openBlock(), vue.createElementBlock("h3", _hoisted_2$E, vue.toDisplayString(_ctx.title), 1)) : vue.createCommentVNode("", true),
15641
15644
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.schema || [], (field) => {
15642
15645
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
15643
15646
  key: field.id
15644
15647
  }, [
15645
- (field["v-if"] ? field["v-if"](itemData.value[field.id], itemData.value) : true) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$z, [
15646
- vue.createElementVNode("div", _hoisted_4$k, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1),
15648
+ (field["v-if"] ? field["v-if"](itemData.value[field.id], itemData.value) : true) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$A, [
15649
+ vue.createElementVNode("div", _hoisted_4$l, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1),
15647
15650
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(field.$el || "div"), vue.mergeProps({
15648
15651
  class: "vlue",
15649
15652
  modelValue: itemData.value[field.id],
@@ -15663,7 +15666,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
15663
15666
  ])) : vue.createCommentVNode("", true)
15664
15667
  ], 64);
15665
15668
  }), 128)),
15666
- !((_a = _ctx.schema) == null ? void 0 : _a.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$g, [
15669
+ !((_a = _ctx.schema) == null ? void 0 : _a.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$h, [
15667
15670
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(Object.entries(itemData.value).filter(
15668
15671
  ([key]) => !keysToIgnore.includes(key)
15669
15672
  ), ([key, value]) => {
@@ -15681,23 +15684,23 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
15681
15684
  };
15682
15685
  }
15683
15686
  });
15684
- const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-dc2757c4"]]);
15687
+ const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-dc2757c4"]]);
15685
15688
  const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-fe5af582"), n = n(), vue.popScopeId(), n);
15686
- const _hoisted_1$I = { class: "bar-chart" };
15687
- const _hoisted_2$C = {
15689
+ const _hoisted_1$J = { class: "bar-chart" };
15690
+ const _hoisted_2$D = {
15688
15691
  key: 0,
15689
15692
  class: "group-wrap"
15690
15693
  };
15691
- const _hoisted_3$y = { class: "group-title" };
15692
- const _hoisted_4$j = {
15694
+ const _hoisted_3$z = { class: "group-title" };
15695
+ const _hoisted_4$k = {
15693
15696
  key: 1,
15694
15697
  class: "bar-wrap"
15695
15698
  };
15696
- const _hoisted_5$f = { class: "bar-txt" };
15699
+ const _hoisted_5$g = { class: "bar-txt" };
15697
15700
  const _hoisted_6$c = { class: "factor" };
15698
15701
  const _hoisted_7$8 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "red-bar" }, null, -1));
15699
15702
  const _hoisted_8$4 = { class: "bar-lines" };
15700
- const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
15703
+ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
15701
15704
  __name: "BarChart",
15702
15705
  props: {
15703
15706
  title: {},
@@ -15749,14 +15752,14 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
15749
15752
  const percent = (val) => val / maxValue.value * 100;
15750
15753
  const floodPercent = vue.computed(() => `${props2.flood}%`);
15751
15754
  return (_ctx, _cache) => {
15752
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I, [
15755
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$J, [
15753
15756
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(dataArray.value, (item, i2) => {
15754
15757
  return vue.openBlock(), vue.createElementBlock("div", {
15755
15758
  class: "graph-wrap",
15756
15759
  key: i2
15757
15760
  }, [
15758
- item.group ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$C, [
15759
- vue.createElementVNode("p", _hoisted_3$y, vue.toDisplayString(item.group), 1),
15761
+ item.group ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$D, [
15762
+ vue.createElementVNode("p", _hoisted_3$z, vue.toDisplayString(item.group), 1),
15760
15763
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((item == null ? void 0 : item.data) || [], (nested, i22) => {
15761
15764
  return vue.openBlock(), vue.createElementBlock("div", {
15762
15765
  key: i22,
@@ -15775,7 +15778,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
15775
15778
  }, null, 4)) : vue.createCommentVNode("", true)
15776
15779
  ]);
15777
15780
  }), 128))
15778
- ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$j, [
15781
+ ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$k, [
15779
15782
  vue.createElementVNode("div", {
15780
15783
  class: "bar",
15781
15784
  style: vue.normalizeStyle({ height: loaded.value ? `${percent(item.value)}%` : "0" })
@@ -15785,7 +15788,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
15785
15788
  class: "bar compare",
15786
15789
  style: vue.normalizeStyle({ height: loaded.value ? `${percent(item.compareValue)}%` : "0" })
15787
15790
  }, null, 4)) : vue.createCommentVNode("", true),
15788
- vue.createElementVNode("p", _hoisted_5$f, vue.toDisplayString(item.title), 1)
15791
+ vue.createElementVNode("p", _hoisted_5$g, vue.toDisplayString(item.title), 1)
15789
15792
  ]))
15790
15793
  ]);
15791
15794
  }), 128)),
@@ -15800,7 +15803,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
15800
15803
  };
15801
15804
  }
15802
15805
  });
15803
- const BarChart = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-fe5af582"]]);
15806
+ const BarChart = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-fe5af582"]]);
15804
15807
  const explicitKeys = [
15805
15808
  "__key",
15806
15809
  "__init",
@@ -17056,8 +17059,8 @@ function createInput(schemaOrComponent, definitionOptions = {}) {
17056
17059
  }
17057
17060
  return definition;
17058
17061
  }
17059
- const _hoisted_1$H = { class: "primary-checkbox" };
17060
- const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
17062
+ const _hoisted_1$I = { class: "primary-checkbox" };
17063
+ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
17061
17064
  __name: "Checkbox",
17062
17065
  props: {
17063
17066
  modelValue: Boolean
@@ -17085,7 +17088,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
17085
17088
  }
17086
17089
  );
17087
17090
  return (_ctx, _cache) => {
17088
- return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$H, [
17091
+ return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$I, [
17089
17092
  vue.withDirectives(vue.createElementVNode("input", {
17090
17093
  type: "checkbox",
17091
17094
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(val) ? val.value = $event : val = $event)
@@ -17093,24 +17096,24 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
17093
17096
  [vue.vModelCheckbox, vue.unref(val)]
17094
17097
  ]),
17095
17098
  vue.createElementVNode("span", null, [
17096
- vue.createVNode(vue.unref(_sfc_main$R), { icon: "check" })
17099
+ vue.createVNode(vue.unref(_sfc_main$S), { icon: "check" })
17097
17100
  ])
17098
17101
  ]);
17099
17102
  };
17100
17103
  }
17101
17104
  });
17102
- const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-6b168ea9"]]);
17103
- const _hoisted_1$G = { class: "bagel-input" };
17104
- const _hoisted_2$B = { class: "mt-1" };
17105
- const _hoisted_3$x = {
17105
+ const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-6b168ea9"]]);
17106
+ const _hoisted_1$H = { class: "bagel-input" };
17107
+ const _hoisted_2$C = { class: "mt-1" };
17108
+ const _hoisted_3$y = {
17106
17109
  key: 0,
17107
17110
  class: "bglform-contact-confirm"
17108
17111
  };
17109
- const _hoisted_4$i = { class: "txt14" };
17110
- const _hoisted_5$e = ["onUpdate:modelValue", "placeholder"];
17112
+ const _hoisted_4$j = { class: "txt14" };
17113
+ const _hoisted_5$f = ["onUpdate:modelValue", "placeholder"];
17111
17114
  const _hoisted_6$b = ["onUpdate:modelValue", "placeholder"];
17112
17115
  const _hoisted_7$7 = ["onUpdate:modelValue", "placeholder"];
17113
- const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
17116
+ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
17114
17117
  __name: "ContactArrayFormKit",
17115
17118
  props: {
17116
17119
  context: {}
@@ -17163,16 +17166,16 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
17163
17166
  }
17164
17167
  );
17165
17168
  return (_ctx, _cache) => {
17166
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G, [
17167
- vue.createElementVNode("div", _hoisted_2$B, [
17169
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$H, [
17170
+ vue.createElementVNode("div", _hoisted_2$C, [
17168
17171
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(val), (contact, i2) => {
17169
17172
  var _a, _b, _c, _d, _e, _f;
17170
17173
  return vue.openBlock(), vue.createElementBlock("div", {
17171
17174
  class: "bglform-contact mb-2",
17172
17175
  key: i2
17173
17176
  }, [
17174
- vue.unref(deleteCandidate) === i2 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$x, [
17175
- vue.createElementVNode("p", _hoisted_4$i, vue.toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
17177
+ vue.unref(deleteCandidate) === i2 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$y, [
17178
+ vue.createElementVNode("p", _hoisted_4$j, vue.toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
17176
17179
  vue.createVNode(vue.unref(Btn), {
17177
17180
  thin: "",
17178
17181
  color: "red",
@@ -17208,7 +17211,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
17208
17211
  "onUpdate:modelValue": ($event) => contact.label = $event,
17209
17212
  type: "text",
17210
17213
  placeholder: (_b = formPlaceholders.value) == null ? void 0 : _b.label
17211
- }, null, 8, _hoisted_5$e), [
17214
+ }, null, 8, _hoisted_5$f), [
17212
17215
  [vue.vModelText, contact.label]
17213
17216
  ]),
17214
17217
  ((_c = _ctx.context) == null ? void 0 : _c.id) === "email" ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
@@ -17256,15 +17259,15 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
17256
17259
  };
17257
17260
  }
17258
17261
  });
17259
- const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-312e5767"]]);
17260
- const _hoisted_1$F = { class: "bagel-input" };
17261
- const _hoisted_2$A = { class: "mt-1" };
17262
- const _hoisted_3$w = {
17262
+ const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-312e5767"]]);
17263
+ const _hoisted_1$G = { class: "bagel-input" };
17264
+ const _hoisted_2$B = { class: "mt-1" };
17265
+ const _hoisted_3$x = {
17263
17266
  key: 0,
17264
17267
  class: "bglform-contact-confirm"
17265
17268
  };
17266
- const _hoisted_4$h = { class: "txt14" };
17267
- const _hoisted_5$d = ["onUpdate:modelValue", "placeholder"];
17269
+ const _hoisted_4$i = { class: "txt14" };
17270
+ const _hoisted_5$e = ["onUpdate:modelValue", "placeholder"];
17268
17271
  const _hoisted_6$a = { class: "bglform-contact-address" };
17269
17272
  const _hoisted_7$6 = ["onUpdate:modelValue", "placeholder"];
17270
17273
  const _hoisted_8$3 = { class: "bglform-contact-address-flex" };
@@ -17272,7 +17275,7 @@ const _hoisted_9$2 = ["onUpdate:modelValue", "placeholder"];
17272
17275
  const _hoisted_10$2 = ["onUpdate:modelValue", "placeholder"];
17273
17276
  const _hoisted_11$1 = ["onUpdate:modelValue", "placeholder"];
17274
17277
  const _hoisted_12$1 = { class: "bglform-address-del" };
17275
- const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
17278
+ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
17276
17279
  __name: "AddressArray",
17277
17280
  props: {
17278
17281
  context: {}
@@ -17331,16 +17334,16 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
17331
17334
  }
17332
17335
  );
17333
17336
  return (_ctx, _cache) => {
17334
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F, [
17335
- vue.createElementVNode("div", _hoisted_2$A, [
17337
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G, [
17338
+ vue.createElementVNode("div", _hoisted_2$B, [
17336
17339
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(val), (address, i2) => {
17337
17340
  var _a, _b, _c, _d, _e, _f;
17338
17341
  return vue.openBlock(), vue.createElementBlock("div", {
17339
17342
  class: "bglform-contact mb-3",
17340
17343
  key: i2
17341
17344
  }, [
17342
- vue.unref(deleteCandidate) === i2 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$w, [
17343
- vue.createElementVNode("p", _hoisted_4$h, vue.toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
17345
+ vue.unref(deleteCandidate) === i2 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$x, [
17346
+ vue.createElementVNode("p", _hoisted_4$i, vue.toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
17344
17347
  vue.createVNode(vue.unref(Btn), {
17345
17348
  thin: "",
17346
17349
  color: "red",
@@ -17376,7 +17379,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
17376
17379
  "onUpdate:modelValue": ($event) => address.label = $event,
17377
17380
  type: "text",
17378
17381
  placeholder: (_b = formPlaceholders.value) == null ? void 0 : _b.label
17379
- }, null, 8, _hoisted_5$d), [
17382
+ }, null, 8, _hoisted_5$e), [
17380
17383
  [vue.vModelText, address.label]
17381
17384
  ]),
17382
17385
  vue.createElementVNode("div", _hoisted_6$a, [
@@ -17441,15 +17444,15 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
17441
17444
  };
17442
17445
  }
17443
17446
  });
17444
- const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-1e3274f9"]]);
17445
- const _hoisted_1$E = { class: "bagel-input" };
17446
- const _hoisted_2$z = { class: "mt-1" };
17447
- const _hoisted_3$v = {
17447
+ const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-1e3274f9"]]);
17448
+ const _hoisted_1$F = { class: "bagel-input" };
17449
+ const _hoisted_2$A = { class: "mt-1" };
17450
+ const _hoisted_3$w = {
17448
17451
  key: 0,
17449
17452
  class: "bglform-contact-confirm"
17450
17453
  };
17451
- const _hoisted_4$g = { class: "txt14" };
17452
- const _hoisted_5$c = ["onUpdate:modelValue", "placeholder"];
17454
+ const _hoisted_4$h = { class: "txt14" };
17455
+ const _hoisted_5$d = ["onUpdate:modelValue", "placeholder"];
17453
17456
  const _hoisted_6$9 = { class: "bglform-contact-address" };
17454
17457
  const _hoisted_7$5 = ["onUpdate:modelValue", "placeholder"];
17455
17458
  const _hoisted_8$2 = { class: "bglform-contact-address-flex" };
@@ -17462,7 +17465,7 @@ const _hoisted_14 = ["onUpdate:modelValue"];
17462
17465
  const _hoisted_15 = ["onUpdate:modelValue"];
17463
17466
  const _hoisted_16 = ["onUpdate:modelValue", "placeholder"];
17464
17467
  const _hoisted_17 = { class: "bglform-address-del" };
17465
- const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
17468
+ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
17466
17469
  __name: "BankDetailsArray",
17467
17470
  props: {
17468
17471
  context: {}
@@ -17515,16 +17518,16 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
17515
17518
  }
17516
17519
  );
17517
17520
  return (_ctx, _cache) => {
17518
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E, [
17519
- vue.createElementVNode("div", _hoisted_2$z, [
17521
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F, [
17522
+ vue.createElementVNode("div", _hoisted_2$A, [
17520
17523
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(val), (bank_account, i2) => {
17521
17524
  var _a, _b, _c, _d, _e, _f, _g, _h;
17522
17525
  return vue.openBlock(), vue.createElementBlock("div", {
17523
17526
  class: "bglform-contact mb-3",
17524
17527
  key: i2
17525
17528
  }, [
17526
- vue.unref(deleteCandidate) === i2 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$v, [
17527
- vue.createElementVNode("p", _hoisted_4$g, vue.toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
17529
+ vue.unref(deleteCandidate) === i2 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$w, [
17530
+ vue.createElementVNode("p", _hoisted_4$h, vue.toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
17528
17531
  vue.createVNode(vue.unref(Btn), {
17529
17532
  thin: "",
17530
17533
  color: "red",
@@ -17560,7 +17563,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
17560
17563
  "onUpdate:modelValue": ($event) => bank_account.label = $event,
17561
17564
  type: "text",
17562
17565
  placeholder: (_b = formPlaceholders.value) == null ? void 0 : _b.label
17563
- }, null, 8, _hoisted_5$c), [
17566
+ }, null, 8, _hoisted_5$d), [
17564
17567
  [vue.vModelText, bank_account.label]
17565
17568
  ]),
17566
17569
  vue.createElementVNode("div", _hoisted_6$9, [
@@ -17659,9 +17662,9 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
17659
17662
  };
17660
17663
  }
17661
17664
  });
17662
- const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-cc20bcbb"]]);
17663
- const _hoisted_1$D = { class: "misc-wrap" };
17664
- const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
17665
+ const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-cc20bcbb"]]);
17666
+ const _hoisted_1$E = { class: "misc-wrap" };
17667
+ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
17665
17668
  __name: "MiscFields",
17666
17669
  props: {
17667
17670
  context: {},
@@ -17678,7 +17681,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
17678
17681
  console.log(fields.value);
17679
17682
  };
17680
17683
  return (_ctx, _cache) => {
17681
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
17684
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E, [
17682
17685
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(fields.value.filter(
17683
17686
  (field) => {
17684
17687
  var _a;
@@ -17706,13 +17709,13 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
17706
17709
  };
17707
17710
  }
17708
17711
  });
17709
- const MiscFieldsBtns = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-91b04350"]]);
17712
+ const MiscFieldsBtns = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-91b04350"]]);
17710
17713
  const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-d0543d4b"), n = n(), vue.popScopeId(), n);
17711
- const _hoisted_1$C = ["title"];
17712
- const _hoisted_2$y = { class: "switch" };
17713
- const _hoisted_3$u = ["id"];
17714
- const _hoisted_4$f = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("span", { class: "slider round" }, null, -1));
17715
- const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
17714
+ const _hoisted_1$D = ["title"];
17715
+ const _hoisted_2$z = { class: "switch" };
17716
+ const _hoisted_3$v = ["id"];
17717
+ const _hoisted_4$g = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("span", { class: "slider round" }, null, -1));
17718
+ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
17716
17719
  __name: "Toggle",
17717
17720
  props: {
17718
17721
  context: Object
@@ -17736,7 +17739,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
17736
17739
  class: vue.normalizeClass(["bagel-input checkbox", { check: (_a = __props.context) == null ? void 0 : _a.attrs.isCheckbox }]),
17737
17740
  title: (_b = __props.context) == null ? void 0 : _b.help
17738
17741
  }, [
17739
- vue.createElementVNode("label", _hoisted_2$y, [
17742
+ vue.createElementVNode("label", _hoisted_2$z, [
17740
17743
  vue.withDirectives(vue.createElementVNode("input", {
17741
17744
  onChange: _cache[0] || (_cache[0] = () => {
17742
17745
  var _a2;
@@ -17745,31 +17748,31 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
17745
17748
  type: "checkbox",
17746
17749
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(inputVal) ? inputVal.value = $event : inputVal = $event),
17747
17750
  id: (_c = __props.context) == null ? void 0 : _c.id
17748
- }, null, 40, _hoisted_3$u), [
17751
+ }, null, 40, _hoisted_3$v), [
17749
17752
  [vue.vModelCheckbox, vue.unref(inputVal)]
17750
17753
  ]),
17751
- _hoisted_4$f
17754
+ _hoisted_4$g
17752
17755
  ])
17753
- ], 10, _hoisted_1$C);
17756
+ ], 10, _hoisted_1$D);
17754
17757
  };
17755
17758
  }
17756
17759
  });
17757
- const Toggle = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-d0543d4b"]]);
17758
- const _hoisted_1$B = { class: "files-wrapper flex" };
17759
- const _hoisted_2$x = {
17760
+ const Toggle = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-d0543d4b"]]);
17761
+ const _hoisted_1$C = { class: "files-wrapper flex" };
17762
+ const _hoisted_2$y = {
17760
17763
  key: 0,
17761
17764
  class: "img-label"
17762
17765
  };
17763
- const _hoisted_3$t = { class: "uploading-wrap" };
17764
- const _hoisted_4$e = { class: "load-file-bar" };
17765
- const _hoisted_5$b = ["src", "alt"];
17766
+ const _hoisted_3$u = { class: "uploading-wrap" };
17767
+ const _hoisted_4$f = { class: "load-file-bar" };
17768
+ const _hoisted_5$c = ["src", "alt"];
17766
17769
  const _hoisted_6$8 = { class: "flex" };
17767
17770
  const _hoisted_7$4 = {
17768
17771
  key: 0,
17769
17772
  class: "progress"
17770
17773
  };
17771
17774
  const _hoisted_8$1 = ["multiple"];
17772
- const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
17775
+ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
17773
17776
  __name: "FileUploader",
17774
17777
  props: {
17775
17778
  context: {},
@@ -17819,9 +17822,9 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
17819
17822
  }
17820
17823
  function emitValue() {
17821
17824
  var _a, _b, _c;
17822
- const relationshipKey = (_b = (_a = props2.context) == null ? void 0 : _a.attrs) == null ? void 0 : _b.relationshipKey;
17825
+ const relationshipObjKey = (_b = (_a = props2.context) == null ? void 0 : _a.attrs) == null ? void 0 : _b.relationshipObjKey;
17823
17826
  if (!computedMultiple.value)
17824
- return (_c = props2.context) == null ? void 0 : _c.node.input(relationshipKey ? files.value[0].serverFile.id : files.value[0].serverFile);
17827
+ return (_c = props2.context) == null ? void 0 : _c.node.input(relationshipObjKey ? files.value[0].serverFile.id : files.value[0].serverFile);
17825
17828
  return alert("not implemented");
17826
17829
  }
17827
17830
  const isImg = (file) => {
@@ -17877,8 +17880,8 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
17877
17880
  vue.onMounted(() => {
17878
17881
  var _a, _b, _c, _d, _e, _f, _g, _h;
17879
17882
  (_a = dropZoneEl.value) == null ? void 0 : _a.addEventListener("dragover", animateCircle);
17880
- const relationshipKey = (_c = (_b = props2.context) == null ? void 0 : _b.attrs) == null ? void 0 : _c.relationshipKey;
17881
- const imageObj = relationshipKey ? (_f = (_e = (_d = props2.context) == null ? void 0 : _d.node) == null ? void 0 : _e.parent) == null ? void 0 : _f.value[relationshipKey] : (_h = (_g = props2.context) == null ? void 0 : _g.node) == null ? void 0 : _h.value;
17883
+ const relationshipObjKey = (_c = (_b = props2.context) == null ? void 0 : _b.attrs) == null ? void 0 : _c.relationshipObjKey;
17884
+ 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;
17882
17885
  if (!computedMultiple.value && imageObj) {
17883
17886
  files.value.push({
17884
17887
  serverFile: imageObj,
@@ -17907,7 +17910,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
17907
17910
  void addFiles(filesToAdd);
17908
17911
  }
17909
17912
  return (_ctx, _cache) => {
17910
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
17913
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$C, [
17911
17914
  vue.createElementVNode("div", {
17912
17915
  ref_key: "dropZoneEl",
17913
17916
  ref: dropZoneEl,
@@ -17927,26 +17930,26 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
17927
17930
  ]),
17928
17931
  _: 1
17929
17932
  }),
17930
- allowUpload.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$x, [
17933
+ allowUpload.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$y, [
17931
17934
  vue.createElementVNode("p", null, [
17932
17935
  vue.createTextVNode(vue.toDisplayString(computedDragDropLabel.value) + " ", 1),
17933
17936
  vue.createElementVNode("span", null, vue.toDisplayString(computedDrowseLabel.value), 1)
17934
17937
  ])
17935
17938
  ])) : vue.createCommentVNode("", true),
17936
- vue.createElementVNode("div", _hoisted_3$t, [
17939
+ vue.createElementVNode("div", _hoisted_3$u, [
17937
17940
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(files.value, (item, index2) => {
17938
17941
  return vue.openBlock(), vue.createElementBlock("div", {
17939
17942
  class: vue.normalizeClass({ uploading: item.uploading }),
17940
17943
  key: index2
17941
17944
  }, [
17942
- vue.createElementVNode("div", _hoisted_4$e, [
17945
+ vue.createElementVNode("div", _hoisted_4$f, [
17943
17946
  isImg(item) ? (vue.openBlock(), vue.createElementBlock("img", {
17944
17947
  key: 0,
17945
17948
  width: "40",
17946
17949
  src: item.dataUrl,
17947
17950
  alt: item.name,
17948
17951
  style: { "margin-inline-end": "10px" }
17949
- }, null, 8, _hoisted_5$b)) : vue.createCommentVNode("", true),
17952
+ }, null, 8, _hoisted_5$c)) : vue.createCommentVNode("", true),
17950
17953
  vue.createElementVNode("p", null, vue.toDisplayString(item.name), 1),
17951
17954
  vue.createElementVNode("div", _hoisted_6$8, [
17952
17955
  vue.createElementVNode("div", {
@@ -17954,7 +17957,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
17954
17957
  style: vue.normalizeStyle([`--p:${item.progress}`, { "--b": "2px" }])
17955
17958
  }, [
17956
17959
  item.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$4, vue.toDisplayString(`${item.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
17957
- vue.createVNode(vue.unref(_sfc_main$R), {
17960
+ vue.createVNode(vue.unref(_sfc_main$S), {
17958
17961
  class: "success",
17959
17962
  icon: "check"
17960
17963
  })
@@ -17984,14 +17987,14 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
17984
17987
  };
17985
17988
  }
17986
17989
  });
17987
- const _hoisted_1$A = {
17990
+ const _hoisted_1$B = {
17988
17991
  key: 0,
17989
17992
  class: "person-card-edit flex gap-2"
17990
17993
  };
17991
- const _hoisted_2$w = { class: "person-card-icon-wrap" };
17992
- const _hoisted_3$s = { class: "person-card-icon" };
17993
- const _hoisted_4$d = { class: "person-card-name txt20" };
17994
- const _hoisted_5$a = { class: "person-card-details-wrap" };
17994
+ const _hoisted_2$x = { class: "person-card-icon-wrap" };
17995
+ const _hoisted_3$t = { class: "person-card-icon" };
17996
+ const _hoisted_4$e = { class: "person-card-name txt20" };
17997
+ const _hoisted_5$b = { class: "person-card-details-wrap" };
17995
17998
  const _hoisted_6$7 = {
17996
17999
  key: 0,
17997
18000
  class: "person-card-details"
@@ -18006,7 +18009,7 @@ const _hoisted_8 = {
18006
18009
  };
18007
18010
  const _hoisted_9 = { key: 0 };
18008
18011
  const _hoisted_10 = { key: 1 };
18009
- const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
18012
+ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
18010
18013
  __name: "PersonPreviewFormkit",
18011
18014
  props: {
18012
18015
  context: {},
@@ -18037,7 +18040,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
18037
18040
  (...args) => _ctx.onClick && _ctx.onClick(...args)),
18038
18041
  class: "person-card"
18039
18042
  }, [
18040
- !_ctx.onClick ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [
18043
+ !_ctx.onClick ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
18041
18044
  !_ctx.$route.path.match("/search") ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
18042
18045
  key: 0,
18043
18046
  onClick: vue.unref(hideModal),
@@ -18055,13 +18058,13 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
18055
18058
  icon: "edit"
18056
18059
  })
18057
18060
  ])) : vue.createCommentVNode("", true),
18058
- vue.createElementVNode("div", _hoisted_2$w, [
18059
- vue.createElementVNode("p", _hoisted_3$s, vue.toDisplayString(vue.unref(initials)(person.value.first_name, person.value.last_name)), 1),
18060
- vue.createElementVNode("p", _hoisted_4$d, vue.toDisplayString(person.value.first_name) + " " + vue.toDisplayString(person.value.last_name), 1)
18061
+ vue.createElementVNode("div", _hoisted_2$x, [
18062
+ vue.createElementVNode("p", _hoisted_3$t, vue.toDisplayString(vue.unref(initials)(person.value.first_name, person.value.last_name)), 1),
18063
+ vue.createElementVNode("p", _hoisted_4$e, vue.toDisplayString(person.value.first_name) + " " + vue.toDisplayString(person.value.last_name), 1)
18061
18064
  ]),
18062
- vue.createElementVNode("div", _hoisted_5$a, [
18065
+ vue.createElementVNode("div", _hoisted_5$b, [
18063
18066
  ((_a = person.value.phone) == null ? void 0 : _a.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$7, [
18064
- vue.createVNode(vue.unref(_sfc_main$R), { icon: "phone" }),
18067
+ vue.createVNode(vue.unref(_sfc_main$S), { icon: "phone" }),
18065
18068
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(person.value.phone, (phone) => {
18066
18069
  return vue.openBlock(), vue.createElementBlock("p", {
18067
18070
  key: phone.id
@@ -18069,7 +18072,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
18069
18072
  }), 128))
18070
18073
  ])) : vue.createCommentVNode("", true),
18071
18074
  ((_b = person.value.email) == null ? void 0 : _b.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$3, [
18072
- vue.createVNode(vue.unref(_sfc_main$R), { icon: "email" }),
18075
+ vue.createVNode(vue.unref(_sfc_main$S), { icon: "email" }),
18073
18076
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(person.value.email, (email) => {
18074
18077
  return vue.openBlock(), vue.createElementBlock("p", {
18075
18078
  key: email.id
@@ -18077,7 +18080,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
18077
18080
  }), 128))
18078
18081
  ])) : vue.createCommentVNode("", true),
18079
18082
  person.value.date_of_birth || person.value.gender ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
18080
- vue.createVNode(vue.unref(_sfc_main$R), { icon: "badge" }),
18083
+ vue.createVNode(vue.unref(_sfc_main$S), { icon: "badge" }),
18081
18084
  person.value.date_of_birth ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_9, vue.toDisplayString(person.value.date_of_birth), 1)) : vue.createCommentVNode("", true),
18082
18085
  person.value.gender ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_10, vue.toDisplayString(person.value.gender), 1)) : vue.createCommentVNode("", true)
18083
18086
  ])) : vue.createCommentVNode("", true)
@@ -18086,7 +18089,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
18086
18089
  };
18087
18090
  }
18088
18091
  });
18089
- const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
18092
+ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
18090
18093
  __name: "TextVariableExamples",
18091
18094
  props: {
18092
18095
  context: Object
@@ -18178,14 +18181,14 @@ const AddressInput = createInput(AddressArray);
18178
18181
  const BankDetailsInput = createInput(BankDetailsArray);
18179
18182
  const MiscFieldsInput = createInput(MiscFieldsBtns);
18180
18183
  const ToggleSwitchInput = createInput(Toggle);
18181
- const FileUploadInput = createInput(_sfc_main$s);
18182
- const TextVariablesInput = createInput(_sfc_main$q);
18183
- const PersonPreviewInput = createInput(_sfc_main$r);
18184
- const _hoisted_1$z = {
18184
+ const FileUploadInput = createInput(_sfc_main$t);
18185
+ const TextVariablesInput = createInput(_sfc_main$r);
18186
+ const PersonPreviewInput = createInput(_sfc_main$s);
18187
+ const _hoisted_1$A = {
18185
18188
  key: 1,
18186
18189
  class: "pill"
18187
18190
  };
18188
- const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
18191
+ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
18189
18192
  __name: "ItemRef",
18190
18193
  props: {
18191
18194
  modelValue: {},
@@ -18219,15 +18222,15 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
18219
18222
  }, {
18220
18223
  default: vue.withCtx(() => [
18221
18224
  vue.createTextVNode(vue.toDisplayString(content.value) + " ", 1),
18222
- vue.createVNode(vue.unref(_sfc_main$R), { icon: "arrow_forward" })
18225
+ vue.createVNode(vue.unref(_sfc_main$S), { icon: "arrow_forward" })
18223
18226
  ]),
18224
18227
  _: 1
18225
- })) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$z, vue.toDisplayString(content.value), 1))
18228
+ })) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$A, vue.toDisplayString(content.value), 1))
18226
18229
  ]);
18227
18230
  };
18228
18231
  }
18229
18232
  });
18230
- const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
18233
+ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
18231
18234
  __name: "MaterialIcon",
18232
18235
  props: {
18233
18236
  icon: {},
@@ -18242,13 +18245,13 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
18242
18245
  };
18243
18246
  }
18244
18247
  });
18245
- const _hoisted_1$y = { class: "bagel-input" };
18246
- const _hoisted_2$v = ["for"];
18247
- const _hoisted_3$r = ["checked"];
18248
- const _hoisted_4$c = ["name", "type", "value"];
18249
- const _hoisted_5$9 = ["name", "type", "value"];
18248
+ const _hoisted_1$z = { class: "bagel-input" };
18249
+ const _hoisted_2$w = ["for"];
18250
+ const _hoisted_3$s = ["checked"];
18251
+ const _hoisted_4$d = ["name", "type", "value"];
18252
+ const _hoisted_5$a = ["name", "type", "value"];
18250
18253
  const _hoisted_6$6 = ["name", "type", "value"];
18251
- const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
18254
+ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
18252
18255
  __name: "PlainInputField",
18253
18256
  props: {
18254
18257
  type: {},
@@ -18278,14 +18281,14 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
18278
18281
  }
18279
18282
  });
18280
18283
  return (_ctx, _cache) => {
18281
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [
18284
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z, [
18282
18285
  vue.createElementVNode("label", {
18283
18286
  for: vue.unref(formatString)(_ctx.name, "pascal")
18284
18287
  }, [
18285
- vue.createVNode(_sfc_main$T, {
18288
+ vue.createVNode(_sfc_main$U, {
18286
18289
  input: vue.unref(formatString)(_ctx.name, "titleCase")
18287
18290
  }, null, 8, ["input"])
18288
- ], 8, _hoisted_2$v),
18291
+ ], 8, _hoisted_2$w),
18289
18292
  _ctx.type === "checkbox" ? (vue.openBlock(), vue.createElementBlock("input", {
18290
18293
  key: 0,
18291
18294
  ref_key: "el",
@@ -18294,7 +18297,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
18294
18297
  class: "ctl",
18295
18298
  type: "checkbox",
18296
18299
  onChange: handleCheck
18297
- }, null, 40, _hoisted_3$r)) : _ctx.type === "number" ? (vue.openBlock(), vue.createElementBlock("input", {
18300
+ }, null, 40, _hoisted_3$s)) : _ctx.type === "number" ? (vue.openBlock(), vue.createElementBlock("input", {
18298
18301
  key: 1,
18299
18302
  ref_key: "el",
18300
18303
  ref: el,
@@ -18303,7 +18306,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
18303
18306
  value: _ctx.modelValue,
18304
18307
  class: "ctl",
18305
18308
  onInput: handleInput
18306
- }, null, 40, _hoisted_4$c)) : _ctx.type === "text" ? (vue.openBlock(), vue.createElementBlock("input", {
18309
+ }, null, 40, _hoisted_4$d)) : _ctx.type === "text" ? (vue.openBlock(), vue.createElementBlock("input", {
18307
18310
  key: 2,
18308
18311
  ref_key: "el",
18309
18312
  ref: el,
@@ -18312,7 +18315,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
18312
18315
  value: _ctx.modelValue,
18313
18316
  class: "ctl",
18314
18317
  onInput: handleInput
18315
- }, null, 40, _hoisted_5$9)) : _ctx.type === "textarea" ? (vue.openBlock(), vue.createElementBlock("textarea", {
18318
+ }, null, 40, _hoisted_5$a)) : _ctx.type === "textarea" ? (vue.openBlock(), vue.createElementBlock("textarea", {
18316
18319
  key: 3,
18317
18320
  ref_key: "el",
18318
18321
  ref: el,
@@ -18323,19 +18326,19 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
18323
18326
  onInput: handleInput
18324
18327
  }, null, 40, _hoisted_6$6)) : vue.createCommentVNode("", true),
18325
18328
  vue.createElementVNode("div", null, [
18326
- vue.createVNode(_sfc_main$T, { input: _ctx.errorMessage }, null, 8, ["input"])
18329
+ vue.createVNode(_sfc_main$U, { input: _ctx.errorMessage }, null, 8, ["input"])
18327
18330
  ])
18328
18331
  ]);
18329
18332
  };
18330
18333
  }
18331
18334
  });
18332
18335
  const _withScopeId = (n) => (vue.pushScopeId("data-v-0dacba34"), n = n(), vue.popScopeId(), n);
18333
- const _hoisted_1$x = ["title"];
18334
- const _hoisted_2$u = ["for"];
18335
- const _hoisted_3$q = { class: "switch" };
18336
- const _hoisted_4$b = ["id"];
18337
- const _hoisted_5$8 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("span", { class: "slider round" }, null, -1));
18338
- const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
18336
+ const _hoisted_1$y = ["title"];
18337
+ const _hoisted_2$v = ["for"];
18338
+ const _hoisted_3$r = { class: "switch" };
18339
+ const _hoisted_4$c = ["id"];
18340
+ const _hoisted_5$9 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("span", { class: "slider round" }, null, -1));
18341
+ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
18339
18342
  __name: "CheckInput",
18340
18343
  props: {
18341
18344
  field: {},
@@ -18368,29 +18371,29 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
18368
18371
  }, [
18369
18372
  vue.createElementVNode("label", {
18370
18373
  for: _ctx.field.id
18371
- }, vue.toDisplayString(_ctx.field.label), 9, _hoisted_2$u),
18372
- vue.createElementVNode("label", _hoisted_3$q, [
18374
+ }, vue.toDisplayString(_ctx.field.label), 9, _hoisted_2$v),
18375
+ vue.createElementVNode("label", _hoisted_3$r, [
18373
18376
  vue.withDirectives(vue.createElementVNode("input", {
18374
18377
  id: _ctx.field.id,
18375
18378
  type: "checkbox",
18376
18379
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputVal.value = $event),
18377
18380
  class: vue.normalizeClass({ "no-edit": !_ctx.editMode })
18378
- }, null, 10, _hoisted_4$b), [
18381
+ }, null, 10, _hoisted_4$c), [
18379
18382
  [vue.vModelCheckbox, inputVal.value]
18380
18383
  ]),
18381
- _hoisted_5$8
18384
+ _hoisted_5$9
18382
18385
  ])
18383
- ], 10, _hoisted_1$x);
18386
+ ], 10, _hoisted_1$y);
18384
18387
  };
18385
18388
  }
18386
18389
  });
18387
- const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-0dacba34"]]);
18388
- const _hoisted_1$w = ["title"];
18389
- const _hoisted_2$t = { key: 0 };
18390
- const _hoisted_3$p = { class: "flex gap-3" };
18391
- const _hoisted_4$a = ["value", "placeholder"];
18392
- const _hoisted_5$7 = { class: "currency" };
18393
- const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
18390
+ const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-0dacba34"]]);
18391
+ const _hoisted_1$x = ["title"];
18392
+ const _hoisted_2$u = { key: 0 };
18393
+ const _hoisted_3$q = { class: "flex gap-3" };
18394
+ const _hoisted_4$b = ["value", "placeholder"];
18395
+ const _hoisted_5$8 = { class: "currency" };
18396
+ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
18394
18397
  __name: "CurrencyInput",
18395
18398
  props: {
18396
18399
  field: {},
@@ -18491,26 +18494,26 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
18491
18494
  class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
18492
18495
  title: _ctx.field.description
18493
18496
  }, [
18494
- _ctx.field.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$t, vue.toDisplayString(_ctx.field.label), 1)) : vue.createCommentVNode("", true),
18495
- vue.createElementVNode("div", _hoisted_3$p, [
18497
+ _ctx.field.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$u, vue.toDisplayString(_ctx.field.label), 1)) : vue.createCommentVNode("", true),
18498
+ vue.createElementVNode("div", _hoisted_3$q, [
18496
18499
  vue.createElementVNode("input", {
18497
18500
  value: _ctx.modelValue,
18498
18501
  type: "number",
18499
18502
  onInput: handleInput,
18500
18503
  placeholder: _ctx.placeholder,
18501
18504
  class: vue.normalizeClass({ "no-edit": !_ctx.editMode })
18502
- }, null, 42, _hoisted_4$a),
18503
- vue.createElementVNode("p", _hoisted_5$7, vue.toDisplayString(((_a = currencies.find((c) => c.symbol === _ctx.field.currency)) == null ? void 0 : _a.character) || _ctx.field.currency), 1)
18505
+ }, null, 42, _hoisted_4$b),
18506
+ vue.createElementVNode("p", _hoisted_5$8, vue.toDisplayString(((_a = currencies.find((c) => c.symbol === _ctx.field.currency)) == null ? void 0 : _a.character) || _ctx.field.currency), 1)
18504
18507
  ])
18505
- ], 10, _hoisted_1$w);
18508
+ ], 10, _hoisted_1$x);
18506
18509
  };
18507
18510
  }
18508
18511
  });
18509
- const CurrencyInput = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-17a56a3f"]]);
18510
- const _hoisted_1$v = ["title"];
18511
- const _hoisted_2$s = { key: 0 };
18512
- const _hoisted_3$o = ["placeholder", "disabled"];
18513
- const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
18512
+ const CurrencyInput = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-17a56a3f"]]);
18513
+ const _hoisted_1$w = ["title"];
18514
+ const _hoisted_2$t = { key: 0 };
18515
+ const _hoisted_3$p = ["placeholder", "disabled"];
18516
+ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
18514
18517
  __name: "DateInput",
18515
18518
  props: {
18516
18519
  field: {},
@@ -18531,7 +18534,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
18531
18534
  class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
18532
18535
  title: _ctx.field.description
18533
18536
  }, [
18534
- _ctx.field.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$s, vue.toDisplayString(_ctx.field.label), 1)) : vue.createCommentVNode("", true),
18537
+ _ctx.field.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$t, vue.toDisplayString(_ctx.field.label), 1)) : vue.createCommentVNode("", true),
18535
18538
  vue.withDirectives(vue.createElementVNode("input", {
18536
18539
  type: "date",
18537
18540
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => date2.value = $event),
@@ -18541,18 +18544,18 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
18541
18544
  disabled: !_ctx.editMode,
18542
18545
  enableTimePicker: false,
18543
18546
  textInputOptions: { format: "yyyy-MM-dd" }
18544
- }, null, 40, _hoisted_3$o), [
18547
+ }, null, 40, _hoisted_3$p), [
18545
18548
  [vue.vModelText, date2.value]
18546
18549
  ])
18547
- ], 10, _hoisted_1$v);
18550
+ ], 10, _hoisted_1$w);
18548
18551
  };
18549
18552
  }
18550
18553
  });
18551
- const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-782aee7f"]]);
18552
- const _hoisted_1$u = ["title"];
18553
- const _hoisted_2$r = { key: 0 };
18554
- const _hoisted_3$n = ["value", "placeholder"];
18555
- const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
18554
+ const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-782aee7f"]]);
18555
+ const _hoisted_1$v = ["title"];
18556
+ const _hoisted_2$s = { key: 0 };
18557
+ const _hoisted_3$o = ["value", "placeholder"];
18558
+ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
18556
18559
  __name: "DatetimeInput",
18557
18560
  props: {
18558
18561
  description: { default: "" },
@@ -18578,7 +18581,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
18578
18581
  class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
18579
18582
  title: _ctx.description
18580
18583
  }, [
18581
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$r, [
18584
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$s, [
18582
18585
  vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18583
18586
  ])) : vue.createCommentVNode("", true),
18584
18587
  vue.createElementVNode("input", {
@@ -18587,15 +18590,15 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
18587
18590
  onInput: handleInput,
18588
18591
  placeholder: _ctx.placeholder,
18589
18592
  class: vue.normalizeClass({ "no-edit": !_ctx.editMode })
18590
- }, null, 42, _hoisted_3$n)
18591
- ], 10, _hoisted_1$u);
18593
+ }, null, 42, _hoisted_3$o)
18594
+ ], 10, _hoisted_1$v);
18592
18595
  };
18593
18596
  }
18594
18597
  });
18595
- const _hoisted_1$t = ["title"];
18596
- const _hoisted_2$q = { key: 0 };
18597
- const _hoisted_3$m = ["value", "placeholder"];
18598
- const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
18598
+ const _hoisted_1$u = ["title"];
18599
+ const _hoisted_2$r = { key: 0 };
18600
+ const _hoisted_3$n = ["value", "placeholder"];
18601
+ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
18599
18602
  __name: "EmailInput",
18600
18603
  props: {
18601
18604
  description: { default: "" },
@@ -18618,7 +18621,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
18618
18621
  class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
18619
18622
  title: _ctx.description
18620
18623
  }, [
18621
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$q, [
18624
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$r, [
18622
18625
  vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18623
18626
  ])) : vue.createCommentVNode("", true),
18624
18627
  vue.createElementVNode("input", {
@@ -18628,16 +18631,16 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
18628
18631
  onInput: handleInput,
18629
18632
  class: vue.normalizeClass({ "no-edit": !_ctx.editMode }),
18630
18633
  placeholder: _ctx.placeholder
18631
- }, null, 42, _hoisted_3$m)
18632
- ], 10, _hoisted_1$t);
18634
+ }, null, 42, _hoisted_3$n)
18635
+ ], 10, _hoisted_1$u);
18633
18636
  };
18634
18637
  }
18635
18638
  });
18636
- const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-ed81a514"]]);
18637
- const _hoisted_1$s = ["title"];
18638
- const _hoisted_2$p = { key: 0 };
18639
- const _hoisted_3$l = ["value", "placeholder"];
18640
- const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
18639
+ const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-ed81a514"]]);
18640
+ const _hoisted_1$t = ["title"];
18641
+ const _hoisted_2$q = { key: 0 };
18642
+ const _hoisted_3$m = ["value", "placeholder"];
18643
+ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
18641
18644
  __name: "FloatInput",
18642
18645
  props: {
18643
18646
  description: { default: "" },
@@ -18664,7 +18667,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
18664
18667
  class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
18665
18668
  title: _ctx.description
18666
18669
  }, [
18667
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$p, [
18670
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$q, [
18668
18671
  vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18669
18672
  ])) : vue.createCommentVNode("", true),
18670
18673
  vue.createElementVNode("input", {
@@ -18673,15 +18676,15 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
18673
18676
  onInput: handleInput,
18674
18677
  class: vue.normalizeClass({ "no-edit": !_ctx.editMode }),
18675
18678
  placeholder: _ctx.placeholder
18676
- }, null, 42, _hoisted_3$l)
18677
- ], 10, _hoisted_1$s);
18679
+ }, null, 42, _hoisted_3$m)
18680
+ ], 10, _hoisted_1$t);
18678
18681
  };
18679
18682
  }
18680
18683
  });
18681
- const _hoisted_1$r = ["title"];
18682
- const _hoisted_2$o = { key: 0 };
18683
- const _hoisted_3$k = ["value", "placeholder"];
18684
- const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
18684
+ const _hoisted_1$s = ["title"];
18685
+ const _hoisted_2$p = { key: 0 };
18686
+ const _hoisted_3$l = ["value", "placeholder"];
18687
+ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
18685
18688
  __name: "IntInput",
18686
18689
  props: {
18687
18690
  description: { default: "" },
@@ -18708,7 +18711,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
18708
18711
  class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
18709
18712
  title: _ctx.description
18710
18713
  }, [
18711
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$o, [
18714
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$p, [
18712
18715
  vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18713
18716
  ])) : vue.createCommentVNode("", true),
18714
18717
  vue.createElementVNode("input", {
@@ -18717,15 +18720,15 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
18717
18720
  onInput: handleInput,
18718
18721
  class: vue.normalizeClass({ "no-edit": !_ctx.editMode }),
18719
18722
  placeholder: _ctx.placeholder
18720
- }, null, 42, _hoisted_3$k)
18721
- ], 10, _hoisted_1$r);
18723
+ }, null, 42, _hoisted_3$l)
18724
+ ], 10, _hoisted_1$s);
18722
18725
  };
18723
18726
  }
18724
18727
  });
18725
- const _hoisted_1$q = ["title"];
18726
- const _hoisted_2$n = { key: 0 };
18727
- const _hoisted_3$j = ["value", "placeholder"];
18728
- const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
18728
+ const _hoisted_1$r = ["title"];
18729
+ const _hoisted_2$o = { key: 0 };
18730
+ const _hoisted_3$k = ["value", "placeholder"];
18731
+ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
18729
18732
  __name: "JSONInput",
18730
18733
  props: {
18731
18734
  description: { default: "" },
@@ -18748,7 +18751,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
18748
18751
  class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
18749
18752
  title: _ctx.description
18750
18753
  }, [
18751
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$n, [
18754
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$o, [
18752
18755
  vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18753
18756
  ])) : vue.createCommentVNode("", true),
18754
18757
  vue.createElementVNode("textarea", {
@@ -18756,17 +18759,17 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
18756
18759
  onInput: handleInput,
18757
18760
  class: vue.normalizeClass({ "no-edit": !_ctx.editMode }),
18758
18761
  placeholder: _ctx.placeholder
18759
- }, null, 42, _hoisted_3$j)
18760
- ], 10, _hoisted_1$q);
18762
+ }, null, 42, _hoisted_3$k)
18763
+ ], 10, _hoisted_1$r);
18761
18764
  };
18762
18765
  }
18763
18766
  });
18764
- const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-1fc4f739"]]);
18765
- const _hoisted_1$p = ["title"];
18766
- const _hoisted_2$m = { key: 0 };
18767
- const _hoisted_3$i = ["disabled"];
18768
- const _hoisted_4$9 = ["onClick"];
18769
- const _hoisted_5$6 = {
18767
+ const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-1fc4f739"]]);
18768
+ const _hoisted_1$q = ["title"];
18769
+ const _hoisted_2$n = { key: 0 };
18770
+ const _hoisted_3$j = ["disabled"];
18771
+ const _hoisted_4$a = ["onClick"];
18772
+ const _hoisted_5$7 = {
18770
18773
  key: 0,
18771
18774
  class: "option-label"
18772
18775
  };
@@ -18775,7 +18778,7 @@ const _hoisted_6$5 = {
18775
18778
  class: "option-label"
18776
18779
  };
18777
18780
  const _hoisted_7$2 = { class: "option-description" };
18778
- const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
18781
+ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
18779
18782
  __name: "LinkField",
18780
18783
  props: {
18781
18784
  description: { default: "" },
@@ -18899,7 +18902,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
18899
18902
  class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
18900
18903
  title: _ctx.description
18901
18904
  }, [
18902
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$m, [
18905
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$n, [
18903
18906
  vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18904
18907
  ])) : vue.createCommentVNode("", true),
18905
18908
  vue.withDirectives(vue.createElementVNode("input", {
@@ -18911,7 +18914,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
18911
18914
  onFocus: initList,
18912
18915
  onInput: handleInput,
18913
18916
  disabled: !_ctx.editMode
18914
- }, null, 40, _hoisted_3$i), [
18917
+ }, null, 40, _hoisted_3$j), [
18915
18918
  [vue.vModelText, selectedItem.value]
18916
18919
  ]),
18917
18920
  vue.createElementVNode("div", {
@@ -18931,26 +18934,26 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
18931
18934
  key: vue.unref(formatString)(option2.value, "pascal"),
18932
18935
  onClick: vue.withModifiers(($event) => handleSelect(option2), ["stop"])
18933
18936
  }, [
18934
- option2.label ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$6, [
18937
+ option2.label ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$7, [
18935
18938
  vue.createTextVNode(vue.toDisplayString(option2.label), 1),
18936
18939
  vue.createElementVNode("span", null, "ID: " + vue.toDisplayString(option2.value), 1)
18937
18940
  ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$5, " ID: " + vue.toDisplayString(option2.value), 1)),
18938
18941
  vue.createElementVNode("div", _hoisted_7$2, vue.toDisplayString(option2.description), 1)
18939
- ], 8, _hoisted_4$9);
18942
+ ], 8, _hoisted_4$a);
18940
18943
  }), 128))
18941
18944
  ], 2)
18942
18945
  ]))
18943
18946
  ], 2)
18944
- ], 10, _hoisted_1$p);
18947
+ ], 10, _hoisted_1$q);
18945
18948
  };
18946
18949
  }
18947
18950
  });
18948
- const LinkField = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-947beb38"]]);
18949
- const _hoisted_1$o = ["title"];
18950
- const _hoisted_2$l = { key: 0 };
18951
- const _hoisted_3$h = { class: "password-input-wrap" };
18952
- const _hoisted_4$8 = ["value", "type", "placeholder"];
18953
- const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
18951
+ const LinkField = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-947beb38"]]);
18952
+ const _hoisted_1$p = ["title"];
18953
+ const _hoisted_2$m = { key: 0 };
18954
+ const _hoisted_3$i = { class: "password-input-wrap" };
18955
+ const _hoisted_4$9 = ["value", "type", "placeholder"];
18956
+ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
18954
18957
  __name: "PasswordInput",
18955
18958
  props: {
18956
18959
  description: { default: "" },
@@ -18984,31 +18987,31 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
18984
18987
  class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
18985
18988
  title: _ctx.description
18986
18989
  }, [
18987
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$l, [
18990
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$m, [
18988
18991
  vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18989
18992
  ])) : vue.createCommentVNode("", true),
18990
- vue.createElementVNode("div", _hoisted_3$h, [
18993
+ vue.createElementVNode("div", _hoisted_3$i, [
18991
18994
  vue.createElementVNode("input", {
18992
18995
  value: _ctx.modelValue,
18993
18996
  type: vue.unref(inputType),
18994
18997
  onInput: handleInput,
18995
18998
  placeholder: _ctx.placeholder,
18996
18999
  class: vue.normalizeClass({ "no-edit": !_ctx.editMode })
18997
- }, null, 42, _hoisted_4$8),
19000
+ }, null, 42, _hoisted_4$9),
18998
19001
  vue.createElementVNode("div", {
18999
19002
  class: "icon-font password-icon",
19000
19003
  onMousedown: toggleInputType
19001
19004
  }, " visibility ", 32)
19002
19005
  ])
19003
- ], 10, _hoisted_1$o);
19006
+ ], 10, _hoisted_1$p);
19004
19007
  };
19005
19008
  }
19006
19009
  });
19007
- const PasswordInput = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-525f5e2e"]]);
19008
- const _hoisted_1$n = ["title"];
19009
- const _hoisted_2$k = ["for"];
19010
- const _hoisted_3$g = ["id", "type", "placeholder", "required", "pattern"];
19011
- const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
19010
+ const PasswordInput = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-525f5e2e"]]);
19011
+ const _hoisted_1$o = ["title"];
19012
+ const _hoisted_2$l = ["for"];
19013
+ const _hoisted_3$h = ["id", "type", "placeholder", "required", "pattern"];
19014
+ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
19012
19015
  __name: "Password",
19013
19016
  props: {
19014
19017
  field: {},
@@ -19048,22 +19051,22 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
19048
19051
  class: { "no-edit": !_ctx.editMode },
19049
19052
  required: _ctx.required,
19050
19053
  pattern: _ctx.pattern
19051
- }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$g), [
19054
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$h), [
19052
19055
  [vue.vModelDynamic, inputVal.value]
19053
19056
  ])
19054
- ], 8, _hoisted_2$k),
19055
- vue.createVNode(vue.unref(_sfc_main$R), {
19057
+ ], 8, _hoisted_2$l),
19058
+ vue.createVNode(vue.unref(_sfc_main$S), {
19056
19059
  onClick: showPassword,
19057
19060
  icon: vue.unref(seePassword) ? "visibility" : "visibility_off"
19058
19061
  }, null, 8, ["icon"])
19059
- ], 10, _hoisted_1$n)) : vue.createCommentVNode("", true);
19062
+ ], 10, _hoisted_1$o)) : vue.createCommentVNode("", true);
19060
19063
  };
19061
19064
  }
19062
19065
  });
19063
- const Password = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-800f4000"]]);
19064
- const _hoisted_1$m = ["title"];
19065
- const _hoisted_2$j = { key: 0 };
19066
- const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
19066
+ const Password = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-800f4000"]]);
19067
+ const _hoisted_1$n = ["title"];
19068
+ const _hoisted_2$k = { key: 0 };
19069
+ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
19067
19070
  __name: "ReadOnlyInput",
19068
19071
  props: {
19069
19072
  field: {},
@@ -19076,16 +19079,16 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
19076
19079
  class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
19077
19080
  title: _ctx.field.description
19078
19081
  }, [
19079
- _ctx.field.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$j, vue.toDisplayString(_ctx.field.label), 1)) : vue.createCommentVNode("", true),
19082
+ _ctx.field.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$k, vue.toDisplayString(_ctx.field.label), 1)) : vue.createCommentVNode("", true),
19080
19083
  vue.createTextVNode(" " + vue.toDisplayString(_ctx.modelValue), 1)
19081
- ], 10, _hoisted_1$m);
19084
+ ], 10, _hoisted_1$n);
19082
19085
  };
19083
19086
  }
19084
19087
  });
19085
- const ReadOnlyInput = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-b3b5a368"]]);
19086
- const _hoisted_1$l = ["title"];
19087
- const _hoisted_2$i = ["onClick"];
19088
- const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
19088
+ const ReadOnlyInput = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-b3b5a368"]]);
19089
+ const _hoisted_1$m = ["title"];
19090
+ const _hoisted_2$j = ["onClick"];
19091
+ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
19089
19092
  __name: "SelectField",
19090
19093
  props: {
19091
19094
  inputType: {},
@@ -19217,7 +19220,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
19217
19220
  for: "label",
19218
19221
  class: vue.normalizeClass({ active: showList.value })
19219
19222
  }, [
19220
- vue.createVNode(vue.unref(_sfc_main$T), { input: _ctx.label }, null, 8, ["input"])
19223
+ vue.createVNode(vue.unref(_sfc_main$U), { input: _ctx.label }, null, 8, ["input"])
19221
19224
  ], 2)) : vue.createCommentVNode("", true),
19222
19225
  vue.createElementVNode("div", {
19223
19226
  class: vue.normalizeClass(["custom-select", { "open-select": showList.value && _ctx.editMode }]),
@@ -19229,7 +19232,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
19229
19232
  class: vue.normalizeClass(["input", { active: showList.value }]),
19230
19233
  name: "select-input"
19231
19234
  }, [
19232
- vue.createVNode(vue.unref(_sfc_main$T), { input: displayValue.value }, null, 8, ["input"])
19235
+ vue.createVNode(vue.unref(_sfc_main$U), { input: displayValue.value }, null, 8, ["input"])
19233
19236
  ], 2),
19234
19237
  (vue.openBlock(), vue.createBlock(vue.Teleport, { to: "#app" }, [
19235
19238
  vue.createElementVNode("div", {
@@ -19242,23 +19245,23 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
19242
19245
  key: option2.value,
19243
19246
  onClick: ($event) => handleSelect(option2)
19244
19247
  }, [
19245
- vue.createVNode(vue.unref(_sfc_main$T), {
19248
+ vue.createVNode(vue.unref(_sfc_main$U), {
19246
19249
  input: option2.label
19247
19250
  }, null, 8, ["input"])
19248
- ], 8, _hoisted_2$i);
19251
+ ], 8, _hoisted_2$j);
19249
19252
  }), 128))
19250
19253
  ], 2)
19251
19254
  ]))
19252
19255
  ], 2)
19253
- ], 10, _hoisted_1$l);
19256
+ ], 10, _hoisted_1$m);
19254
19257
  };
19255
19258
  }
19256
19259
  });
19257
- const SelectField = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-028ea61b"]]);
19258
- const _hoisted_1$k = ["title"];
19259
- const _hoisted_2$h = { key: 0 };
19260
- const _hoisted_3$f = ["value", "placeholder"];
19261
- const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
19260
+ const SelectField = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-028ea61b"]]);
19261
+ const _hoisted_1$l = ["title"];
19262
+ const _hoisted_2$i = { key: 0 };
19263
+ const _hoisted_3$g = ["value", "placeholder"];
19264
+ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
19262
19265
  __name: "RichTextEditor",
19263
19266
  props: {
19264
19267
  description: { default: "" },
@@ -19281,7 +19284,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
19281
19284
  class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
19282
19285
  title: _ctx.description
19283
19286
  }, [
19284
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$h, [
19287
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$i, [
19285
19288
  vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
19286
19289
  ])) : vue.createCommentVNode("", true),
19287
19290
  vue.createElementVNode("textarea", {
@@ -19289,12 +19292,12 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
19289
19292
  onInput: handleInput,
19290
19293
  placeholder: _ctx.placeholder,
19291
19294
  class: vue.normalizeClass({ "no-edit": !_ctx.editMode })
19292
- }, null, 42, _hoisted_3$f)
19293
- ], 10, _hoisted_1$k);
19295
+ }, null, 42, _hoisted_3$g)
19296
+ ], 10, _hoisted_1$l);
19294
19297
  };
19295
19298
  }
19296
19299
  });
19297
- const RichTextEditor = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-69a60381"]]);
19300
+ const RichTextEditor = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-69a60381"]]);
19298
19301
  /*!
19299
19302
  * vue-draggable-next v2.2.0
19300
19303
  * (c) 2023 Anish George
@@ -21817,13 +21820,13 @@ const VueDraggableNext = vue.defineComponent({
21817
21820
  }
21818
21821
  }
21819
21822
  });
21820
- const _hoisted_1$j = ["title"];
21821
- const _hoisted_2$g = { class: "bagel-input" };
21822
- const _hoisted_3$e = { class: "table-side-scroll" };
21823
- const _hoisted_4$7 = { class: "table-header" };
21824
- const _hoisted_5$5 = { class: "table-reorder" };
21823
+ const _hoisted_1$k = ["title"];
21824
+ const _hoisted_2$h = { class: "bagel-input" };
21825
+ const _hoisted_3$f = { class: "table-side-scroll" };
21826
+ const _hoisted_4$8 = { class: "table-header" };
21827
+ const _hoisted_5$6 = { class: "table-reorder" };
21825
21828
  const _hoisted_6$4 = { class: "table-action" };
21826
- const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
21829
+ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
21827
21830
  __name: "TableField",
21828
21831
  props: {
21829
21832
  description: { default: "" },
@@ -21888,11 +21891,11 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
21888
21891
  class: "table-field-wrap",
21889
21892
  title: _ctx.description
21890
21893
  }, [
21891
- vue.createElementVNode("div", _hoisted_2$g, [
21894
+ vue.createElementVNode("div", _hoisted_2$h, [
21892
21895
  vue.createElementVNode("label", null, vue.toDisplayString((_a = vue.unref(fieldMeta)) == null ? void 0 : _a.label), 1)
21893
21896
  ]),
21894
- vue.createElementVNode("div", _hoisted_3$e, [
21895
- vue.createElementVNode("div", _hoisted_4$7, [
21897
+ vue.createElementVNode("div", _hoisted_3$f, [
21898
+ vue.createElementVNode("div", _hoisted_4$8, [
21896
21899
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_b = vue.unref(entityMeta)) == null ? void 0 : _b.fields, (field) => {
21897
21900
  return vue.openBlock(), vue.createElementBlock("div", {
21898
21901
  class: vue.normalizeClass(["header-col", vue.unref(formatString)(field.fieldtype, "pascal")]),
@@ -21919,8 +21922,8 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
21919
21922
  class: "flex table-row",
21920
21923
  key: row.id
21921
21924
  }, [
21922
- vue.createElementVNode("div", _hoisted_5$5, [
21923
- vue.createVNode(_sfc_main$o, { icon: "more_vert" })
21925
+ vue.createElementVNode("div", _hoisted_5$6, [
21926
+ vue.createVNode(_sfc_main$p, { icon: "more_vert" })
21924
21927
  ]),
21925
21928
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a2 = vue.unref(entityMeta)) == null ? void 0 : _a2.fields, (field) => {
21926
21929
  return vue.openBlock(), vue.createElementBlock("div", {
@@ -21937,7 +21940,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
21937
21940
  ], 2);
21938
21941
  }), 128)),
21939
21942
  vue.createElementVNode("div", _hoisted_6$4, [
21940
- vue.createVNode(_sfc_main$o, {
21943
+ vue.createVNode(_sfc_main$p, {
21941
21944
  icon: "delete",
21942
21945
  onClick: ($event) => removeRow(index2)
21943
21946
  }, null, 8, ["onClick"])
@@ -21963,15 +21966,15 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
21963
21966
  ]),
21964
21967
  _: 1
21965
21968
  })
21966
- ], 8, _hoisted_1$j);
21969
+ ], 8, _hoisted_1$k);
21967
21970
  };
21968
21971
  }
21969
21972
  });
21970
- const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-b01223bc"]]);
21971
- const _hoisted_1$i = ["title"];
21972
- const _hoisted_2$f = { key: 0 };
21973
- const _hoisted_3$d = ["value", "title", "placeholder"];
21974
- const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
21973
+ const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-b01223bc"]]);
21974
+ const _hoisted_1$j = ["title"];
21975
+ const _hoisted_2$g = { key: 0 };
21976
+ const _hoisted_3$e = ["value", "title", "placeholder"];
21977
+ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
21975
21978
  __name: "DurationInput",
21976
21979
  props: {
21977
21980
  description: { default: "" },
@@ -21998,7 +22001,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
21998
22001
  class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
21999
22002
  title: _ctx.description
22000
22003
  }, [
22001
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$f, [
22004
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$g, [
22002
22005
  vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
22003
22006
  ])) : vue.createCommentVNode("", true),
22004
22007
  vue.createElementVNode("input", {
@@ -22008,15 +22011,15 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
22008
22011
  onInput: handleInput,
22009
22012
  placeholder: _ctx.placeholder,
22010
22013
  class: vue.normalizeClass({ "no-edit": !_ctx.editMode })
22011
- }, null, 42, _hoisted_3$d)
22012
- ], 10, _hoisted_1$i);
22014
+ }, null, 42, _hoisted_3$e)
22015
+ ], 10, _hoisted_1$j);
22013
22016
  };
22014
22017
  }
22015
22018
  });
22016
- const _hoisted_1$h = ["title"];
22017
- const _hoisted_2$e = ["for"];
22018
- const _hoisted_3$c = ["id", "type", "placeholder", "disabled", "required", "pattern"];
22019
- const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
22019
+ const _hoisted_1$i = ["title"];
22020
+ const _hoisted_2$f = ["for"];
22021
+ const _hoisted_3$d = ["id", "type", "placeholder", "disabled", "required", "pattern"];
22022
+ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
22020
22023
  __name: "TextInput",
22021
22024
  props: {
22022
22025
  id: {},
@@ -22091,10 +22094,10 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
22091
22094
  }, _ctx.nativeInputAttrs, {
22092
22095
  onDblclick: toggleEditAction,
22093
22096
  onKeydown: vue.withKeys(toggleEditAction, ["enter"])
22094
- }), null, 16, _hoisted_3$c), [
22097
+ }), null, 16, _hoisted_3$d), [
22095
22098
  [vue.vModelDynamic, vue.unref(inputVal)]
22096
22099
  ])
22097
- ], 8, _hoisted_2$e),
22100
+ ], 8, _hoisted_2$f),
22098
22101
  _ctx.toggleEdit ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
22099
22102
  key: 0,
22100
22103
  class: "toggleEditBtn",
@@ -22103,19 +22106,19 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
22103
22106
  icon: vue.unref(editMode) ? "check" : "edit",
22104
22107
  flat: ""
22105
22108
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true)
22106
- ], 10, _hoisted_1$h);
22109
+ ], 10, _hoisted_1$i);
22107
22110
  };
22108
22111
  }
22109
22112
  });
22110
- const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-7b082166"]]);
22111
- const _hoisted_1$g = ["title"];
22112
- const _hoisted_2$d = { key: 0 };
22113
- const _hoisted_3$b = {
22113
+ const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-7b082166"]]);
22114
+ const _hoisted_1$h = ["title"];
22115
+ const _hoisted_2$e = { key: 0 };
22116
+ const _hoisted_3$c = {
22114
22117
  key: 1,
22115
22118
  class: "character-limit"
22116
22119
  };
22117
- const _hoisted_4$6 = ["value"];
22118
- const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
22120
+ const _hoisted_4$7 = ["value"];
22121
+ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
22119
22122
  __name: "TextArea",
22120
22123
  props: {
22121
22124
  description: { default: "" },
@@ -22140,24 +22143,24 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
22140
22143
  class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
22141
22144
  title: _ctx.description
22142
22145
  }, [
22143
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$d, [
22144
- vue.createVNode(vue.unref(_sfc_main$T), { input: _ctx.label }, null, 8, ["input"])
22146
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$e, [
22147
+ vue.createVNode(vue.unref(_sfc_main$U), { input: _ctx.label }, null, 8, ["input"])
22145
22148
  ])) : vue.createCommentVNode("", true),
22146
- _ctx.showCharacterLimit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$b, vue.toDisplayString((_a = _ctx.modelValue) == null ? void 0 : _a.length) + " " + vue.toDisplayString(((_b = _ctx.nativeInputAttrs) == null ? void 0 : _b.maxlength) ? `/${_ctx.nativeInputAttrs.maxlength}` : ""), 1)) : vue.createCommentVNode("", true),
22149
+ _ctx.showCharacterLimit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$c, vue.toDisplayString((_a = _ctx.modelValue) == null ? void 0 : _a.length) + " " + vue.toDisplayString(((_b = _ctx.nativeInputAttrs) == null ? void 0 : _b.maxlength) ? `/${_ctx.nativeInputAttrs.maxlength}` : ""), 1)) : vue.createCommentVNode("", true),
22147
22150
  vue.createElementVNode("textarea", vue.mergeProps({
22148
22151
  value: _ctx.modelValue,
22149
22152
  onInput: handleInput,
22150
22153
  class: { "no-edit": !_ctx.editMode }
22151
- }, _ctx.nativeInputAttrs), null, 16, _hoisted_4$6)
22152
- ], 10, _hoisted_1$g);
22154
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_4$7)
22155
+ ], 10, _hoisted_1$h);
22153
22156
  };
22154
22157
  }
22155
22158
  });
22156
- const TextArea = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-a5b28c58"]]);
22157
- const _hoisted_1$f = ["title"];
22158
- const _hoisted_2$c = ["for"];
22159
- const _hoisted_3$a = ["id", "placeholder", "required"];
22160
- const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
22159
+ const TextArea = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-a5b28c58"]]);
22160
+ const _hoisted_1$g = ["title"];
22161
+ const _hoisted_2$d = ["for"];
22162
+ const _hoisted_3$b = ["id", "placeholder", "required"];
22163
+ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
22161
22164
  __name: "ColorPicker",
22162
22165
  props: {
22163
22166
  field: {},
@@ -22194,19 +22197,19 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
22194
22197
  placeholder: ((_a = _ctx.field) == null ? void 0 : _a.placeholder) || _ctx.field.label,
22195
22198
  class: { "no-edit": !_ctx.editMode },
22196
22199
  required: _ctx.required
22197
- }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$a), [
22200
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$b), [
22198
22201
  [vue.vModelText, inputVal.value]
22199
22202
  ])
22200
- ], 8, _hoisted_2$c)
22201
- ], 10, _hoisted_1$f)) : vue.createCommentVNode("", true);
22203
+ ], 8, _hoisted_2$d)
22204
+ ], 10, _hoisted_1$g)) : vue.createCommentVNode("", true);
22202
22205
  };
22203
22206
  }
22204
22207
  });
22205
- const _hoisted_1$e = { key: 0 };
22206
- const _hoisted_2$b = ["disabled"];
22207
- const _hoisted_3$9 = { class: "custom-select-drop" };
22208
- const _hoisted_4$5 = ["onClick"];
22209
- const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
22208
+ const _hoisted_1$f = { key: 0 };
22209
+ const _hoisted_2$c = ["disabled"];
22210
+ const _hoisted_3$a = { class: "custom-select-drop" };
22211
+ const _hoisted_4$6 = ["onClick"];
22212
+ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
22210
22213
  __name: "DynamicLinkField",
22211
22214
  props: {
22212
22215
  label: { default: "" },
@@ -22282,7 +22285,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
22282
22285
  return vue.openBlock(), vue.createElementBlock("div", {
22283
22286
  class: vue.normalizeClass(["bagel-input", { small: _ctx.small }])
22284
22287
  }, [
22285
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_1$e, [
22288
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_1$f, [
22286
22289
  vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
22287
22290
  ])) : vue.createCommentVNode("", true),
22288
22291
  vue.withDirectives(vue.createElementVNode("input", {
@@ -22294,19 +22297,19 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
22294
22297
  onFocus: initList,
22295
22298
  onInput: handleInput,
22296
22299
  disabled: !_ctx.editMode
22297
- }, null, 40, _hoisted_2$b), [
22300
+ }, null, 40, _hoisted_2$c), [
22298
22301
  [vue.vModelText, selectedItem.value]
22299
22302
  ]),
22300
22303
  vue.createElementVNode("div", {
22301
22304
  class: vue.normalizeClass(["custom-select", { "open-select": showList.value && linkOptions.value.length > 0 }]),
22302
22305
  name: "link-input"
22303
22306
  }, [
22304
- vue.createElementVNode("div", _hoisted_3$9, [
22307
+ vue.createElementVNode("div", _hoisted_3$a, [
22305
22308
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(linkOptions.value, (item2) => {
22306
22309
  return vue.openBlock(), vue.createElementBlock("div", {
22307
22310
  key: vue.unref(formatString)(item2.value, "pascal"),
22308
22311
  onClick: vue.withModifiers(($event) => handleSelect(item2), ["stop"])
22309
- }, vue.toDisplayString(_ctx.useId || _ctx.entity === "Entity" ? item2.value : item2.label || item2.description || item2.value), 9, _hoisted_4$5);
22312
+ }, vue.toDisplayString(_ctx.useId || _ctx.entity === "Entity" ? item2.value : item2.label || item2.description || item2.value), 9, _hoisted_4$6);
22310
22313
  }), 128))
22311
22314
  ])
22312
22315
  ], 2)
@@ -22314,10 +22317,10 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
22314
22317
  };
22315
22318
  }
22316
22319
  });
22317
- const _hoisted_1$d = ["title"];
22318
- const _hoisted_2$a = ["for"];
22319
- const _hoisted_3$8 = ["id", "placeholder", "required", "pattern"];
22320
- const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
22320
+ const _hoisted_1$e = ["title"];
22321
+ const _hoisted_2$b = ["for"];
22322
+ const _hoisted_3$9 = ["id", "placeholder", "required", "pattern"];
22323
+ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
22321
22324
  __name: "PlainText",
22322
22325
  props: {
22323
22326
  field: {},
@@ -22363,15 +22366,78 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
22363
22366
  class: { "no-edit": !_ctx.editMode },
22364
22367
  required: _ctx.required,
22365
22368
  pattern: _ctx.pattern
22366
- }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$8), [
22369
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$9), [
22367
22370
  [vue.vModelText, vue.unref(inputVal)]
22368
22371
  ])
22369
- ], 8, _hoisted_2$a)
22370
- ], 10, _hoisted_1$d)) : vue.createCommentVNode("", true);
22372
+ ], 8, _hoisted_2$b)
22373
+ ], 10, _hoisted_1$e)) : vue.createCommentVNode("", true);
22374
+ };
22375
+ }
22376
+ });
22377
+ const PlainText = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-188270a2"]]);
22378
+ const VDatepicker = {};
22379
+ const _hoisted_1$d = { class: "datetime-wrap" };
22380
+ const _hoisted_2$a = { class: "date-wrap" };
22381
+ const _hoisted_3$8 = {
22382
+ key: 0,
22383
+ class: "time-wrap"
22384
+ };
22385
+ const _hoisted_4$5 = ["id", "name", "value"];
22386
+ const _hoisted_5$5 = ["for"];
22387
+ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
22388
+ __name: "DatePicker",
22389
+ props: {
22390
+ name: {},
22391
+ options: {},
22392
+ showTimeWrap: { type: Boolean }
22393
+ },
22394
+ setup(__props) {
22395
+ const selectedDate = vue.ref(null);
22396
+ const selectedHour = vue.ref();
22397
+ const hours = Array.from({ length: 18 }, (_, index2) => {
22398
+ const hour = Math.floor(index2 / 2) + 9;
22399
+ const minute = index2 % 2 === 0 ? "00" : "30";
22400
+ return `${hour}:${minute}`;
22401
+ });
22402
+ return (_ctx, _cache) => {
22403
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [
22404
+ vue.createElementVNode("div", _hoisted_2$a, [
22405
+ vue.createVNode(vue.unref(VDatepicker), vue.mergeProps({
22406
+ inline: "",
22407
+ "week-start": "0",
22408
+ modelValue: selectedDate.value,
22409
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedDate.value = $event),
22410
+ "highlight-week-days": [6],
22411
+ "enable-time-picker": false,
22412
+ "month-change-on-scroll": false
22413
+ }, _ctx.options), {
22414
+ "action-buttons": vue.withCtx(() => []),
22415
+ "action-preview": vue.withCtx(() => []),
22416
+ _: 1
22417
+ }, 16, ["modelValue"])
22418
+ ]),
22419
+ _ctx.showTimeWrap ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$8, [
22420
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(hours), (hr) => {
22421
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: hr }, [
22422
+ vue.withDirectives(vue.createElementVNode("input", {
22423
+ type: "radio",
22424
+ id: `${hr}_${_ctx.name}`,
22425
+ name: _ctx.name,
22426
+ value: hr,
22427
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => selectedHour.value = $event)
22428
+ }, null, 8, _hoisted_4$5), [
22429
+ [vue.vModelRadio, selectedHour.value]
22430
+ ]),
22431
+ vue.createElementVNode("label", {
22432
+ for: `${hr}_${_ctx.name}`
22433
+ }, vue.toDisplayString(hr), 9, _hoisted_5$5)
22434
+ ], 64);
22435
+ }), 128))
22436
+ ])) : vue.createCommentVNode("", true)
22437
+ ]);
22371
22438
  };
22372
22439
  }
22373
22440
  });
22374
- const PlainText = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-188270a2"]]);
22375
22441
  function _isPlaceholder(a) {
22376
22442
  return a != null && typeof a === "object" && a["@@functional/placeholder"] === true;
22377
22443
  }
@@ -28829,7 +28895,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
28829
28895
  return (_ctx, _cache) => {
28830
28896
  var _a, _b, _c, _d, _e, _f;
28831
28897
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
28832
- vue.createVNode(vue.unref(_sfc_main$I), null, {
28898
+ vue.createVNode(vue.unref(_sfc_main$J), null, {
28833
28899
  default: vue.withCtx(() => [
28834
28900
  vue.createTextVNode("Whatsapp Template")
28835
28901
  ]),
@@ -28838,7 +28904,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
28838
28904
  vue.createElementVNode("div", _hoisted_2, [
28839
28905
  vue.createElementVNode("div", _hoisted_3, [
28840
28906
  vue.createElementVNode("div", _hoisted_4, [
28841
- vue.createVNode(vue.unref(_sfc_main$G), {
28907
+ vue.createVNode(vue.unref(_sfc_main$H), {
28842
28908
  schema: _ctx.whatsappTemplateSchema(),
28843
28909
  modelValue: vue.unref(localWhatsappData),
28844
28910
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(localWhatsappData) ? localWhatsappData.value = $event : localWhatsappData = $event),
@@ -28869,45 +28935,46 @@ exports.BarChart = BarChart;
28869
28935
  exports.Btn = Btn;
28870
28936
  exports.CheckInput = CheckInput;
28871
28937
  exports.Checkbox = Checkbox;
28872
- exports.ColorPicker = _sfc_main$4;
28938
+ exports.ColorPicker = _sfc_main$5;
28873
28939
  exports.Comments = Comments;
28874
28940
  exports.ContactArrayInput = ContactArrayInput;
28875
- exports.ContactSubmissions = _sfc_main$C;
28941
+ exports.ContactSubmissions = _sfc_main$D;
28876
28942
  exports.CurrencyInput = CurrencyInput;
28877
28943
  exports.DataPreview = DataPreview;
28878
28944
  exports.DateInput = DateInput;
28879
- exports.DatetimeInput = _sfc_main$j;
28880
- exports.DropDown = _sfc_main$N;
28881
- exports.DurationInput = _sfc_main$7;
28882
- exports.DynamicLinkField = _sfc_main$3;
28945
+ exports.DatePicker = _sfc_main$2;
28946
+ exports.DatetimeInput = _sfc_main$k;
28947
+ exports.DropDown = _sfc_main$O;
28948
+ exports.DurationInput = _sfc_main$8;
28949
+ exports.DynamicLinkField = _sfc_main$4;
28883
28950
  exports.EmailInput = EmailInput;
28884
28951
  exports.FileUploadInput = FileUploadInput;
28885
- exports.FileUploader = _sfc_main$s;
28886
- exports.FloatInput = _sfc_main$h;
28887
- exports.FormSchema = _sfc_main$G;
28888
- exports.IntInput = _sfc_main$g;
28889
- exports.ItemRef = _sfc_main$p;
28952
+ exports.FileUploader = _sfc_main$t;
28953
+ exports.FloatInput = _sfc_main$i;
28954
+ exports.FormSchema = _sfc_main$H;
28955
+ exports.IntInput = _sfc_main$h;
28956
+ exports.ItemRef = _sfc_main$q;
28890
28957
  exports.JSONInput = JSONInput;
28891
- exports.LangText = _sfc_main$T;
28958
+ exports.LangText = _sfc_main$U;
28892
28959
  exports.Lineart = _sfc_main$1;
28893
28960
  exports.LinkField = LinkField;
28894
- exports.ListItem = _sfc_main$L;
28895
- exports.ListView = _sfc_main$M;
28896
- exports.MaterialIcon = _sfc_main$R;
28961
+ exports.ListItem = _sfc_main$M;
28962
+ exports.ListView = _sfc_main$N;
28963
+ exports.MaterialIcon = _sfc_main$S;
28897
28964
  exports.MiscFieldsInput = MiscFieldsInput;
28898
- exports.Modal = _sfc_main$O;
28965
+ exports.Modal = _sfc_main$P;
28899
28966
  exports.ModalForm = ModalForm;
28900
28967
  exports.ModalPlugin = ModalPlugin;
28901
28968
  exports.MsgTemplate = MsgTemplate;
28902
- exports.NavBar = _sfc_main$Q;
28903
- exports.PageTitle = _sfc_main$I;
28969
+ exports.NavBar = _sfc_main$R;
28970
+ exports.PageTitle = _sfc_main$J;
28904
28971
  exports.Password = Password;
28905
28972
  exports.PasswordInput = PasswordInput;
28906
- exports.PersonPreview = _sfc_main$B;
28973
+ exports.PersonPreview = _sfc_main$C;
28907
28974
  exports.PersonPreviewInput = PersonPreviewInput;
28908
- exports.PlainInputField = _sfc_main$n;
28975
+ exports.PlainInputField = _sfc_main$o;
28909
28976
  exports.PlainText = PlainText;
28910
- exports.RTXEditor = _sfc_main$S;
28977
+ exports.RTXEditor = _sfc_main$T;
28911
28978
  exports.ReadOnlyInput = ReadOnlyInput;
28912
28979
  exports.RichTextEditor = RichTextEditor;
28913
28980
  exports.RouterWrapper = RouterWrapper;
@@ -28917,7 +28984,7 @@ exports.TableField = TableField;
28917
28984
  exports.TableSchema = TableSchema;
28918
28985
  exports.TextArea = TextArea;
28919
28986
  exports.TextInput = TextInput;
28920
- exports.TextVariableExamples = _sfc_main$q;
28987
+ exports.TextVariableExamples = _sfc_main$r;
28921
28988
  exports.TextVariablesInput = TextVariablesInput;
28922
28989
  exports.ToggleSwitchInput = ToggleSwitchInput;
28923
28990
  exports.TopBar = TopBar;