@bagelink/vue 0.0.284 → 0.0.287

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.mjs CHANGED
@@ -4878,7 +4878,7 @@ const ModalPlugin = {
4878
4878
  const props2 = { ...modal.modalOptions, "onUpdate:isModalVisible": () => hideModal(index2) };
4879
4879
  if (modal.modalType === "modalForm")
4880
4880
  return h$2(ModalForm, props2, modal.componentSlots);
4881
- return h$2(_sfc_main$z, props2, modal.componentSlots);
4881
+ return h$2(_sfc_main$y, props2, modal.componentSlots);
4882
4882
  });
4883
4883
  }
4884
4884
  });
@@ -4956,8 +4956,8 @@ const iffer = (field, itemData) => {
4956
4956
  return true;
4957
4957
  };
4958
4958
  const denullify = (itemData, fieldID) => fieldID && itemData ? itemData[fieldID] : null;
4959
- const _hoisted_1$I = { ref: "el" };
4960
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
4959
+ const _hoisted_1$H = { ref: "el" };
4960
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
4961
4961
  __name: "LangText",
4962
4962
  props: {
4963
4963
  input: {}
@@ -4965,7 +4965,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
4965
4965
  setup(__props) {
4966
4966
  return (_ctx, _cache) => {
4967
4967
  return openBlock(), createElementBlock(Fragment$1, null, [
4968
- createElementVNode("span", _hoisted_1$I, null, 512),
4968
+ createElementVNode("span", _hoisted_1$H, null, 512),
4969
4969
  createTextVNode(" " + toDisplayString(_ctx.input), 1)
4970
4970
  ], 64);
4971
4971
  };
@@ -17078,8 +17078,8 @@ const marks = {
17078
17078
  }
17079
17079
  };
17080
17080
  const schema = new Schema({ nodes, marks });
17081
- const _hoisted_1$H = ["id"];
17082
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
17081
+ const _hoisted_1$G = ["id"];
17082
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
17083
17083
  __name: "RTXEditor",
17084
17084
  props: {
17085
17085
  elementId: { default: Math.random().toString(36).substr(2, 9) },
@@ -17156,11 +17156,11 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
17156
17156
  onClick: focusEditor,
17157
17157
  id: `canvas-${_ctx.elementId}`,
17158
17158
  onKeydown: _cache[0] || (_cache[0] = withKeys(withModifiers(($event) => _ctx.$emit("keydown.meta.enter"), ["meta"]), ["enter"]))
17159
- }, null, 40, _hoisted_1$H);
17159
+ }, null, 40, _hoisted_1$G);
17160
17160
  };
17161
17161
  }
17162
17162
  });
17163
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
17163
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
17164
17164
  __name: "MaterialIcon",
17165
17165
  props: {
17166
17166
  icon: {},
@@ -17175,13 +17175,13 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
17175
17175
  };
17176
17176
  }
17177
17177
  });
17178
- const _hoisted_1$G = { class: "full-nav" };
17179
- const _hoisted_2$x = { class: "nav-scroll" };
17180
- const _hoisted_3$p = { class: "nav-links-wrapper" };
17181
- const _hoisted_4$j = { class: "tooltip" };
17182
- const _hoisted_5$g = { class: "bot-buttons-wrapper" };
17183
- const _hoisted_6$b = { class: "tooltip" };
17184
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
17178
+ const _hoisted_1$F = { class: "full-nav" };
17179
+ const _hoisted_2$w = { class: "nav-scroll" };
17180
+ const _hoisted_3$o = { class: "nav-links-wrapper" };
17181
+ const _hoisted_4$i = { class: "tooltip" };
17182
+ const _hoisted_5$f = { class: "bot-buttons-wrapper" };
17183
+ const _hoisted_6$a = { class: "tooltip" };
17184
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
17185
17185
  __name: "NavBar",
17186
17186
  props: {
17187
17187
  footerLinks: { default: () => [] },
@@ -17205,14 +17205,14 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
17205
17205
  "aria-label": "Toggle Navigation",
17206
17206
  tabindex: "0"
17207
17207
  }, [
17208
- createVNode(unref(_sfc_main$C), {
17208
+ createVNode(unref(_sfc_main$B), {
17209
17209
  icon: "chevron_right",
17210
17210
  class: "top-arrow"
17211
17211
  })
17212
17212
  ], 32),
17213
- createElementVNode("div", _hoisted_1$G, [
17214
- createElementVNode("div", _hoisted_2$x, [
17215
- createElementVNode("div", _hoisted_3$p, [
17213
+ createElementVNode("div", _hoisted_1$F, [
17214
+ createElementVNode("div", _hoisted_2$w, [
17215
+ createElementVNode("div", _hoisted_3$o, [
17216
17216
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.links, (link) => {
17217
17217
  return openBlock(), createBlock(resolveDynamicComponent(link.to ? "router-link" : "div"), {
17218
17218
  class: "nav-button",
@@ -17224,17 +17224,17 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
17224
17224
  }
17225
17225
  }, {
17226
17226
  default: withCtx(() => [
17227
- createVNode(unref(_sfc_main$C), {
17227
+ createVNode(unref(_sfc_main$B), {
17228
17228
  icon: link.materialIcon
17229
17229
  }, null, 8, ["icon"]),
17230
- createElementVNode("div", _hoisted_4$j, toDisplayString(link.label), 1)
17230
+ createElementVNode("div", _hoisted_4$i, toDisplayString(link.label), 1)
17231
17231
  ]),
17232
17232
  _: 2
17233
17233
  }, 1032, ["to", "onClick"]);
17234
17234
  }), 128))
17235
17235
  ])
17236
17236
  ]),
17237
- createElementVNode("div", _hoisted_5$g, [
17237
+ createElementVNode("div", _hoisted_5$f, [
17238
17238
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.footerLinks, (link) => {
17239
17239
  return openBlock(), createBlock(resolveDynamicComponent(link.to ? "router-link" : "div"), {
17240
17240
  class: "nav-button",
@@ -17246,10 +17246,10 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
17246
17246
  key: link.label
17247
17247
  }, {
17248
17248
  default: withCtx(() => [
17249
- createVNode(unref(_sfc_main$C), {
17249
+ createVNode(unref(_sfc_main$B), {
17250
17250
  icon: link.materialIcon
17251
17251
  }, null, 8, ["icon"]),
17252
- createElementVNode("div", _hoisted_6$b, toDisplayString(link.label), 1)
17252
+ createElementVNode("div", _hoisted_6$a, toDisplayString(link.label), 1)
17253
17253
  ]),
17254
17254
  _: 2
17255
17255
  }, 1032, ["to", "onClick"]);
@@ -17268,16 +17268,16 @@ const _export_sfc = (sfc, props2) => {
17268
17268
  }
17269
17269
  return target;
17270
17270
  };
17271
- const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-776ccc02"]]);
17272
- const _hoisted_1$F = {
17271
+ const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-776ccc02"]]);
17272
+ const _hoisted_1$E = {
17273
17273
  key: 0,
17274
17274
  class: "loading"
17275
17275
  };
17276
- const _hoisted_2$w = {
17276
+ const _hoisted_2$v = {
17277
17277
  key: 1,
17278
17278
  class: "bgl_btn-flex"
17279
17279
  };
17280
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
17280
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
17281
17281
  __name: "Btn",
17282
17282
  props: {
17283
17283
  disabled: { type: Boolean, default: false },
@@ -17363,8 +17363,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
17363
17363
  })
17364
17364
  }, {
17365
17365
  default: withCtx(() => [
17366
- _ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$F)) : (openBlock(), createElementBlock("div", _hoisted_2$w, [
17367
- _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$C), {
17366
+ _ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$E)) : (openBlock(), createElementBlock("div", _hoisted_2$v, [
17367
+ _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$B), {
17368
17368
  key: 0,
17369
17369
  icon: _ctx.icon
17370
17370
  }, null, 8, ["icon"])) : createCommentVNode("", true),
@@ -17372,7 +17372,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
17372
17372
  !unref(slots)["default"] && _ctx.value ? (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
17373
17373
  createTextVNode(toDisplayString(_ctx.value), 1)
17374
17374
  ], 64)) : createCommentVNode("", true),
17375
- props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$C), {
17375
+ props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$B), {
17376
17376
  key: 2,
17377
17377
  icon: props2["icon.end"]
17378
17378
  }, null, 8, ["icon"])) : createCommentVNode("", true)
@@ -17383,10 +17383,10 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
17383
17383
  };
17384
17384
  }
17385
17385
  });
17386
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-7a7625e7"]]);
17387
- const _hoisted_1$E = { class: "tool-bar" };
17388
- const _hoisted_2$v = { class: "modal-footer mt-3" };
17389
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
17386
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-7a7625e7"]]);
17387
+ const _hoisted_1$D = { class: "tool-bar" };
17388
+ const _hoisted_2$u = { class: "modal-footer mt-3" };
17389
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
17390
17390
  __name: "Modal",
17391
17391
  props: {
17392
17392
  side: { type: Boolean },
@@ -17418,13 +17418,13 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
17418
17418
  onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
17419
17419
  onKeydown: withKeys(closeModal, ["esc"])
17420
17420
  }, [
17421
- createVNode(unref(_sfc_main$n), {
17421
+ createVNode(unref(_sfc_main$m), {
17422
17422
  class: "modal",
17423
17423
  onClick: _cache[0] || (_cache[0] = withModifiers(() => {
17424
17424
  }, ["stop"]))
17425
17425
  }, {
17426
17426
  default: withCtx(() => [
17427
- createElementVNode("header", _hoisted_1$E, [
17427
+ createElementVNode("header", _hoisted_1$D, [
17428
17428
  renderSlot(_ctx.$slots, "toolbar"),
17429
17429
  createVNode(unref(Btn), {
17430
17430
  style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
@@ -17432,7 +17432,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
17432
17432
  icon: "close",
17433
17433
  onClick: closeModal
17434
17434
  }, null, 8, ["style"]),
17435
- _ctx.title ? (openBlock(), createBlock(unref(_sfc_main$l), {
17435
+ _ctx.title ? (openBlock(), createBlock(unref(_sfc_main$k), {
17436
17436
  key: 0,
17437
17437
  class: "modal-title",
17438
17438
  tag: "h3",
@@ -17440,7 +17440,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
17440
17440
  }, null, 8, ["label"])) : createCommentVNode("", true)
17441
17441
  ]),
17442
17442
  renderSlot(_ctx.$slots, "default"),
17443
- createElementVNode("footer", _hoisted_2$v, [
17443
+ createElementVNode("footer", _hoisted_2$u, [
17444
17444
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.actions, (action, i2) => {
17445
17445
  return openBlock(), createBlock(unref(Btn), mergeProps({
17446
17446
  key: i2,
@@ -17457,7 +17457,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
17457
17457
  };
17458
17458
  }
17459
17459
  });
17460
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
17460
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
17461
17461
  __name: "ModalForm",
17462
17462
  props: /* @__PURE__ */ mergeModels({
17463
17463
  side: { type: Boolean },
@@ -17514,7 +17514,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
17514
17514
  }
17515
17515
  __expose({ setFormValues });
17516
17516
  return (_ctx, _cache) => {
17517
- return openBlock(), createBlock(unref(_sfc_main$z), {
17517
+ return openBlock(), createBlock(unref(_sfc_main$y), {
17518
17518
  "onOnUpdate:isModalVisible": props2["onUpdate:isModalVisible"],
17519
17519
  side: _ctx.side,
17520
17520
  ref_key: "modal",
@@ -17565,12 +17565,12 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
17565
17565
  };
17566
17566
  }
17567
17567
  });
17568
- const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-dca6fe18"]]);
17569
- const _hoisted_1$D = { class: "accordion-item" };
17570
- const _hoisted_2$u = ["aria-expanded", "aria-controls"];
17571
- const _hoisted_3$o = { class: "accordion-label" };
17572
- const _hoisted_4$i = ["id", "aria-hidden"];
17573
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
17568
+ const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-dca6fe18"]]);
17569
+ const _hoisted_1$C = { class: "accordion-item" };
17570
+ const _hoisted_2$t = ["aria-expanded", "aria-controls"];
17571
+ const _hoisted_3$n = { class: "accordion-label" };
17572
+ const _hoisted_4$h = ["id", "aria-hidden"];
17573
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
17574
17574
  __name: "AccordionItem",
17575
17575
  props: {
17576
17576
  label: {},
@@ -17581,33 +17581,33 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
17581
17581
  let open = ref(false);
17582
17582
  const accordionState = inject("accordionState");
17583
17583
  const id = props2.id || Math.random().toString(36).substring(7);
17584
- watch(() => accordionState.openItem, (currentOpenId) => {
17584
+ watch(() => accordionState == null ? void 0 : accordionState.openItem, (currentOpenId) => {
17585
17585
  if (currentOpenId !== id) {
17586
17586
  open.value = false;
17587
17587
  }
17588
17588
  }, { immediate: true });
17589
17589
  function toggle() {
17590
17590
  open.value = !open.value;
17591
- if (open.value)
17591
+ if (open.value && (accordionState == null ? void 0 : accordionState.openItem))
17592
17592
  accordionState.openItem = id;
17593
- else if (accordionState.openItem === id)
17593
+ else if ((accordionState == null ? void 0 : accordionState.openItem) === id)
17594
17594
  accordionState.openItem = null;
17595
17595
  }
17596
17596
  return (_ctx, _cache) => {
17597
- return openBlock(), createElementBlock("div", _hoisted_1$D, [
17597
+ return openBlock(), createElementBlock("div", _hoisted_1$C, [
17598
17598
  createElementVNode("button", {
17599
17599
  onClick: _cache[0] || (_cache[0] = ($event) => toggle()),
17600
17600
  "aria-expanded": unref(open) ? "true" : "false",
17601
17601
  class: "accordion-head",
17602
17602
  "aria-controls": `accordion-body-${unref(id)}`
17603
17603
  }, [
17604
- createElementVNode("span", _hoisted_3$o, toDisplayString(_ctx.label), 1),
17604
+ createElementVNode("span", _hoisted_3$n, toDisplayString(_ctx.label), 1),
17605
17605
  createElementVNode("div", {
17606
17606
  class: normalizeClass(["accordion-icon", { open: unref(open) }])
17607
17607
  }, [
17608
- createVNode(unref(_sfc_main$C), { icon: "expand_more" })
17608
+ createVNode(unref(_sfc_main$B), { icon: "expand_more" })
17609
17609
  ], 2)
17610
- ], 8, _hoisted_2$u),
17610
+ ], 8, _hoisted_2$t),
17611
17611
  createVNode(Transition, { name: "expand" }, {
17612
17612
  default: withCtx(() => [
17613
17613
  unref(open) ? (openBlock(), createElementBlock("div", {
@@ -17617,7 +17617,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
17617
17617
  "aria-hidden": unref(open) ? "false" : "true"
17618
17618
  }, [
17619
17619
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
17620
- ], 8, _hoisted_4$i)) : createCommentVNode("", true)
17620
+ ], 8, _hoisted_4$h)) : createCommentVNode("", true)
17621
17621
  ]),
17622
17622
  _: 3
17623
17623
  })
@@ -17625,16 +17625,16 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
17625
17625
  };
17626
17626
  }
17627
17627
  });
17628
- const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-41718a1b"]]);
17629
- const _hoisted_1$C = { class: "card list-view grid thin" };
17630
- const _hoisted_2$t = { class: "list-header flex gap-3 align-items-top" };
17631
- const _hoisted_3$n = {
17628
+ const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-bf74738b"]]);
17629
+ const _hoisted_1$B = { class: "card list-view grid thin" };
17630
+ const _hoisted_2$s = { class: "list-header flex gap-3 align-items-top" };
17631
+ const _hoisted_3$m = {
17632
17632
  key: 0,
17633
17633
  class: "bagel-input search-wrap"
17634
17634
  };
17635
- const _hoisted_4$h = ["placeholder"];
17636
- const _hoisted_5$f = { class: "list-content grid auto-flow-rows align-items-start" };
17637
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
17635
+ const _hoisted_4$g = ["placeholder"];
17636
+ const _hoisted_5$e = { class: "list-content grid auto-flow-rows align-items-start" };
17637
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
17638
17638
  __name: "ListView",
17639
17639
  props: {
17640
17640
  enableAdd: { type: Boolean },
@@ -17650,17 +17650,17 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
17650
17650
  debounce(() => emit2("debounce", searchTerm.value));
17651
17651
  };
17652
17652
  return (_ctx, _cache) => {
17653
- return openBlock(), createElementBlock("div", _hoisted_1$C, [
17654
- createElementVNode("div", _hoisted_2$t, [
17655
- _ctx.enableSearch ? (openBlock(), createElementBlock("div", _hoisted_3$n, [
17653
+ return openBlock(), createElementBlock("div", _hoisted_1$B, [
17654
+ createElementVNode("div", _hoisted_2$s, [
17655
+ _ctx.enableSearch ? (openBlock(), createElementBlock("div", _hoisted_3$m, [
17656
17656
  withDirectives(createElementVNode("input", {
17657
17657
  placeholder: _ctx.searchPlaceholder,
17658
17658
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchTerm.value = $event),
17659
17659
  onInput: _cache[1] || (_cache[1] = ($event) => search())
17660
- }, null, 40, _hoisted_4$h), [
17660
+ }, null, 40, _hoisted_4$g), [
17661
17661
  [vModelText, searchTerm.value]
17662
17662
  ]),
17663
- createVNode(unref(_sfc_main$C), {
17663
+ createVNode(unref(_sfc_main$B), {
17664
17664
  class: "txtgray",
17665
17665
  icon: "search"
17666
17666
  })
@@ -17671,16 +17671,16 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
17671
17671
  onClick: _cache[2] || (_cache[2] = ($event) => emit2("add"))
17672
17672
  })) : createCommentVNode("", true)
17673
17673
  ]),
17674
- createElementVNode("div", _hoisted_5$f, [
17674
+ createElementVNode("div", _hoisted_5$e, [
17675
17675
  renderSlot(_ctx.$slots, "default")
17676
17676
  ])
17677
17677
  ]);
17678
17678
  };
17679
17679
  }
17680
17680
  });
17681
- const _hoisted_1$B = { class: "txt16 no-margin ellipsis" };
17682
- const _hoisted_2$s = { class: "txt14 no-margin txtgray ellipsis" };
17683
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
17681
+ const _hoisted_1$A = { class: "txt16 no-margin ellipsis" };
17682
+ const _hoisted_2$r = { class: "txt14 no-margin txtgray ellipsis" };
17683
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
17684
17684
  __name: "ListItem",
17685
17685
  props: {
17686
17686
  src: {},
@@ -17704,11 +17704,11 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
17704
17704
  size: 40
17705
17705
  }, null, 8, ["name", "src"])) : createCommentVNode("", true),
17706
17706
  createElementVNode("div", null, [
17707
- createElementVNode("p", _hoisted_1$B, [
17707
+ createElementVNode("p", _hoisted_1$A, [
17708
17708
  createTextVNode(toDisplayString(_ctx.title) + " ", 1),
17709
17709
  renderSlot(_ctx.$slots, "default")
17710
17710
  ]),
17711
- createElementVNode("p", _hoisted_2$s, [
17711
+ createElementVNode("p", _hoisted_2$r, [
17712
17712
  createTextVNode(toDisplayString(_ctx.subtitle) + " ", 1),
17713
17713
  renderSlot(_ctx.$slots, "subtitle")
17714
17714
  ])
@@ -17719,10 +17719,10 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
17719
17719
  };
17720
17720
  }
17721
17721
  });
17722
- const _hoisted_1$A = { class: "card tabs-top" };
17723
- const _hoisted_2$r = { class: "tabs grid auto-flow-columns fit-content" };
17724
- const _hoisted_3$m = ["onClick"];
17725
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
17722
+ const _hoisted_1$z = { class: "card tabs-top" };
17723
+ const _hoisted_2$q = { class: "tabs grid auto-flow-columns fit-content" };
17724
+ const _hoisted_3$l = ["onClick"];
17725
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17726
17726
  __name: "TabbedLayout",
17727
17727
  props: {
17728
17728
  title: {},
@@ -17757,9 +17757,9 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
17757
17757
  return openBlock(), createElementBlock("div", {
17758
17758
  class: normalizeClass(["h-100 grid list-view gap-3", { "side-tabs": _ctx.sideTabs }])
17759
17759
  }, [
17760
- createElementVNode("div", _hoisted_1$A, [
17760
+ createElementVNode("div", _hoisted_1$z, [
17761
17761
  renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
17762
- createElementVNode("div", _hoisted_2$r, [
17762
+ createElementVNode("div", _hoisted_2$q, [
17763
17763
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.tabs, (tab) => {
17764
17764
  var _a2;
17765
17765
  return openBlock(), createElementBlock("div", {
@@ -17768,7 +17768,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
17768
17768
  }, "tab"]),
17769
17769
  key: tab,
17770
17770
  onClick: ($event) => changeTab(tab)
17771
- }, toDisplayString(tab), 11, _hoisted_3$m);
17771
+ }, toDisplayString(tab), 11, _hoisted_3$l);
17772
17772
  }), 128))
17773
17773
  ])
17774
17774
  ]),
@@ -17784,16 +17784,16 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
17784
17784
  };
17785
17785
  }
17786
17786
  });
17787
- const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-09fce741"]]);
17788
- const _hoisted_1$z = { class: "comments-wrap" };
17789
- const _hoisted_2$q = { class: "comment-list" };
17790
- const _hoisted_3$l = { class: "comment-top" };
17791
- const _hoisted_4$g = { class: "comment-owner" };
17792
- const _hoisted_5$e = { class: "comment-time" };
17793
- const _hoisted_6$a = { class: "comment-actions" };
17794
- const _hoisted_7$6 = ["innerHTML"];
17795
- const _hoisted_8$3 = { class: "new-comment" };
17796
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
17787
+ const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-09fce741"]]);
17788
+ const _hoisted_1$y = { class: "comments-wrap" };
17789
+ const _hoisted_2$p = { class: "comment-list" };
17790
+ const _hoisted_3$k = { class: "comment-top" };
17791
+ const _hoisted_4$f = { class: "comment-owner" };
17792
+ const _hoisted_5$d = { class: "comment-time" };
17793
+ const _hoisted_6$9 = { class: "comment-actions" };
17794
+ const _hoisted_7$5 = ["innerHTML"];
17795
+ const _hoisted_8$2 = { class: "new-comment" };
17796
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17797
17797
  __name: "Comments",
17798
17798
  props: {
17799
17799
  ref_table: {},
@@ -17836,8 +17836,8 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17836
17836
  void fetchData();
17837
17837
  };
17838
17838
  return (_ctx, _cache) => {
17839
- return openBlock(), createElementBlock("div", _hoisted_1$z, [
17840
- createElementVNode("div", _hoisted_2$q, [
17839
+ return openBlock(), createElementBlock("div", _hoisted_1$y, [
17840
+ createElementVNode("div", _hoisted_2$p, [
17841
17841
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(comments), (comment) => {
17842
17842
  var _a2, _b, _c;
17843
17843
  return openBlock(), createElementBlock("div", {
@@ -17847,23 +17847,23 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17847
17847
  }, "comment"]),
17848
17848
  key: comment.id
17849
17849
  }, [
17850
- createElementVNode("div", _hoisted_3$l, [
17851
- createElementVNode("div", _hoisted_4$g, toDisplayString(comment.sender.first_name) + " " + toDisplayString(comment.sender.last_name), 1),
17852
- createElementVNode("div", _hoisted_5$e, toDisplayString(comment.updated_at.split("T")[0]), 1),
17853
- createElementVNode("div", _hoisted_6$a, [
17854
- createVNode(unref(_sfc_main$C), {
17850
+ createElementVNode("div", _hoisted_3$k, [
17851
+ createElementVNode("div", _hoisted_4$f, toDisplayString(comment.sender.first_name) + " " + toDisplayString(comment.sender.last_name), 1),
17852
+ createElementVNode("div", _hoisted_5$d, toDisplayString(comment.updated_at.split("T")[0]), 1),
17853
+ createElementVNode("div", _hoisted_6$9, [
17854
+ createVNode(unref(_sfc_main$B), {
17855
17855
  size: 1,
17856
17856
  class: "edit",
17857
17857
  icon: "edit",
17858
17858
  onClick: ($event) => isRef(editComment) ? editComment.value = comment : editComment = comment
17859
17859
  }, null, 8, ["onClick"]),
17860
- createVNode(unref(_sfc_main$C), {
17860
+ createVNode(unref(_sfc_main$B), {
17861
17861
  size: 1.2,
17862
17862
  class: "delete",
17863
17863
  icon: "delete",
17864
17864
  onClick: ($event) => deleteComment(comment.id)
17865
17865
  }, null, 8, ["onClick"]),
17866
- createVNode(unref(_sfc_main$C), {
17866
+ createVNode(unref(_sfc_main$B), {
17867
17867
  size: 1.2,
17868
17868
  class: "save",
17869
17869
  icon: "save",
@@ -17871,7 +17871,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17871
17871
  })
17872
17872
  ])
17873
17873
  ]),
17874
- unref(editComment) !== null && ((_c = unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (openBlock(), createBlock(unref(_sfc_main$D), {
17874
+ unref(editComment) !== null && ((_c = unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (openBlock(), createBlock(unref(_sfc_main$C), {
17875
17875
  key: 0,
17876
17876
  modelValue: unref(editComment).body_html,
17877
17877
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(editComment).body_html = $event),
@@ -17880,12 +17880,12 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17880
17880
  key: 1,
17881
17881
  class: "editor-wrapper",
17882
17882
  innerHTML: comment.body_html
17883
- }, null, 8, _hoisted_7$6))
17883
+ }, null, 8, _hoisted_7$5))
17884
17884
  ], 2);
17885
17885
  }), 128))
17886
17886
  ]),
17887
- createElementVNode("div", _hoisted_8$3, [
17888
- createVNode(unref(_sfc_main$D), {
17887
+ createElementVNode("div", _hoisted_8$2, [
17888
+ createVNode(unref(_sfc_main$C), {
17889
17889
  class: "comment-input",
17890
17890
  modelValue: unref(bodyHtml),
17891
17891
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(bodyHtml) ? bodyHtml.value = $event : bodyHtml = $event),
@@ -17905,10 +17905,10 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17905
17905
  };
17906
17906
  }
17907
17907
  });
17908
- const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-c4b41dc0"]]);
17909
- const _hoisted_1$y = { class: "page-top" };
17910
- const _hoisted_2$p = { class: "top-title" };
17911
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
17908
+ const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-c4b41dc0"]]);
17909
+ const _hoisted_1$x = { class: "page-top" };
17910
+ const _hoisted_2$o = { class: "top-title" };
17911
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17912
17912
  __name: "PageTitle",
17913
17913
  props: {
17914
17914
  value: {
@@ -17918,8 +17918,8 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17918
17918
  },
17919
17919
  setup(__props) {
17920
17920
  return (_ctx, _cache) => {
17921
- return openBlock(), createElementBlock("div", _hoisted_1$y, [
17922
- createElementVNode("h1", _hoisted_2$p, [
17921
+ return openBlock(), createElementBlock("div", _hoisted_1$x, [
17922
+ createElementVNode("h1", _hoisted_2$o, [
17923
17923
  renderSlot(_ctx.$slots, "default"),
17924
17924
  createTextVNode(" " + toDisplayString(__props.value), 1)
17925
17925
  ])
@@ -17927,14 +17927,14 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17927
17927
  };
17928
17928
  }
17929
17929
  });
17930
- const _hoisted_1$x = { class: "table-list-wrap h-100" };
17931
- const _hoisted_2$o = { class: "infinite-wrapper" };
17932
- const _hoisted_3$k = { class: "row first-row" };
17933
- const _hoisted_4$f = ["onClick"];
17934
- const _hoisted_5$d = { class: "flex" };
17935
- const _hoisted_6$9 = ["onClick"];
17936
- const _hoisted_7$5 = { key: 1 };
17937
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
17930
+ const _hoisted_1$w = { class: "table-list-wrap h-100" };
17931
+ const _hoisted_2$n = { class: "infinite-wrapper" };
17932
+ const _hoisted_3$j = { class: "row first-row" };
17933
+ const _hoisted_4$e = ["onClick"];
17934
+ const _hoisted_5$c = { class: "flex" };
17935
+ const _hoisted_6$8 = ["onClick"];
17936
+ const _hoisted_7$4 = { key: 1 };
17937
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
17938
17938
  __name: "TableSchema",
17939
17939
  props: {
17940
17940
  data: {},
@@ -17968,27 +17968,27 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17968
17968
  emit2("orderBy", `${fieldname} ${sortDirection.value}`.trim());
17969
17969
  };
17970
17970
  return (_ctx, _cache) => {
17971
- return openBlock(), createElementBlock("div", _hoisted_1$x, [
17972
- createElementVNode("table", _hoisted_2$o, [
17973
- createElementVNode("thead", _hoisted_3$k, [
17971
+ return openBlock(), createElementBlock("div", _hoisted_1$w, [
17972
+ createElementVNode("table", _hoisted_2$n, [
17973
+ createElementVNode("thead", _hoisted_3$j, [
17974
17974
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(computedSchema.value, (field) => {
17975
17975
  return openBlock(), createElementBlock("th", {
17976
17976
  class: "col",
17977
17977
  key: field.id,
17978
17978
  onClick: ($event) => sort2((field == null ? void 0 : field.id) || "")
17979
17979
  }, [
17980
- createElementVNode("div", _hoisted_5$d, [
17980
+ createElementVNode("div", _hoisted_5$c, [
17981
17981
  createTextVNode(toDisplayString(field.id) + " ", 1),
17982
17982
  createElementVNode("div", {
17983
17983
  class: normalizeClass(["list-arrows", { sorted: unref(sortField) === field.id }])
17984
17984
  }, [
17985
- createVNode(unref(_sfc_main$C), {
17985
+ createVNode(unref(_sfc_main$B), {
17986
17986
  class: normalizeClass({ desc: unref(sortDirection) === "DESC" }),
17987
17987
  icon: "keyboard_arrow_up"
17988
17988
  }, null, 8, ["class"])
17989
17989
  ], 2)
17990
17990
  ])
17991
- ], 8, _hoisted_4$f);
17991
+ ], 8, _hoisted_4$e);
17992
17992
  }), 128))
17993
17993
  ]),
17994
17994
  createElementVNode("tbody", {
@@ -18010,7 +18010,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
18010
18010
  key: 0,
18011
18011
  row,
18012
18012
  field
18013
- }, void 0, true) : (openBlock(), createElementBlock("div", _hoisted_7$5, [
18013
+ }, void 0, true) : (openBlock(), createElementBlock("div", _hoisted_7$4, [
18014
18014
  createVNode(unref(_sfc_main$g), {
18015
18015
  field,
18016
18016
  modelValue: row
@@ -18018,7 +18018,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
18018
18018
  ]))
18019
18019
  ]);
18020
18020
  }), 128))
18021
- ], 8, _hoisted_6$9);
18021
+ ], 8, _hoisted_6$8);
18022
18022
  }), 128))
18023
18023
  ], 2)
18024
18024
  ])
@@ -18026,16 +18026,16 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
18026
18026
  };
18027
18027
  }
18028
18028
  });
18029
- const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-2137a7a8"]]);
18030
- const _sfc_main$q = {};
18031
- const _hoisted_1$w = { class: "flex space-between" };
18029
+ const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-2137a7a8"]]);
18030
+ const _sfc_main$p = {};
18031
+ const _hoisted_1$v = { class: "flex space-between" };
18032
18032
  function _sfc_render$1(_ctx, _cache) {
18033
- return openBlock(), createElementBlock("div", _hoisted_1$w, [
18033
+ return openBlock(), createElementBlock("div", _hoisted_1$v, [
18034
18034
  renderSlot(_ctx.$slots, "default")
18035
18035
  ]);
18036
18036
  }
18037
- const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$1]]);
18038
- const _sfc_main$p = {};
18037
+ const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$1]]);
18038
+ const _sfc_main$o = {};
18039
18039
  function _sfc_render(_ctx, _cache) {
18040
18040
  const _component_router_view = resolveComponent("router-view");
18041
18041
  return openBlock(), createBlock(_component_router_view, null, {
@@ -18057,20 +18057,20 @@ function _sfc_render(_ctx, _cache) {
18057
18057
  _: 1
18058
18058
  });
18059
18059
  }
18060
- const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render]]);
18061
- const _hoisted_1$v = {
18060
+ const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render]]);
18061
+ const _hoisted_1$u = {
18062
18062
  key: 0,
18063
18063
  class: "data"
18064
18064
  };
18065
- const _hoisted_2$n = {
18065
+ const _hoisted_2$m = {
18066
18066
  key: 0,
18067
18067
  class: "data-row"
18068
18068
  };
18069
- const _hoisted_3$j = { class: "key" };
18070
- const _hoisted_4$e = { key: 1 };
18071
- const _hoisted_5$c = { class: "key" };
18072
- const _hoisted_6$8 = { class: "vlue" };
18073
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
18069
+ const _hoisted_3$i = { class: "key" };
18070
+ const _hoisted_4$d = { key: 1 };
18071
+ const _hoisted_5$b = { class: "key" };
18072
+ const _hoisted_6$7 = { class: "vlue" };
18073
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18074
18074
  __name: "DataPreview",
18075
18075
  props: /* @__PURE__ */ mergeModels({
18076
18076
  schema: {},
@@ -18084,8 +18084,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
18084
18084
  const itemData = useModel(__props, "data");
18085
18085
  return (_ctx, _cache) => {
18086
18086
  var _a2;
18087
- return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$v, [
18088
- _ctx.title ? (openBlock(), createBlock(unref(_sfc_main$l), {
18087
+ return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$u, [
18088
+ _ctx.title ? (openBlock(), createBlock(unref(_sfc_main$k), {
18089
18089
  key: 0,
18090
18090
  label: _ctx.title
18091
18091
  }, null, 8, ["label"])) : createCommentVNode("", true),
@@ -18093,8 +18093,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
18093
18093
  return openBlock(), createElementBlock(Fragment$1, {
18094
18094
  key: field.id
18095
18095
  }, [
18096
- unref(iffer)(field, itemData.value) ? (openBlock(), createElementBlock("div", _hoisted_2$n, [
18097
- createElementVNode("div", _hoisted_3$j, toDisplayString((field == null ? void 0 : field.label) || unref(keyToLabel)(field.id)), 1),
18096
+ unref(iffer)(field, itemData.value) ? (openBlock(), createElementBlock("div", _hoisted_2$m, [
18097
+ createElementVNode("div", _hoisted_3$i, toDisplayString((field == null ? void 0 : field.label) || unref(keyToLabel)(field.id)), 1),
18098
18098
  createVNode(unref(_sfc_main$g), {
18099
18099
  field,
18100
18100
  modelValue: itemData.value,
@@ -18103,14 +18103,14 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
18103
18103
  ])) : createCommentVNode("", true)
18104
18104
  ], 64);
18105
18105
  }), 128)),
18106
- !((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("div", _hoisted_4$e, [
18106
+ !((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("div", _hoisted_4$d, [
18107
18107
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(Object.entries(itemData.value), ([key, value]) => {
18108
18108
  return openBlock(), createElementBlock("div", {
18109
18109
  class: "data-row",
18110
18110
  key
18111
18111
  }, [
18112
- createElementVNode("div", _hoisted_5$c, toDisplayString(unref(keyToLabel)(key)), 1),
18113
- createElementVNode("div", _hoisted_6$8, toDisplayString(value), 1)
18112
+ createElementVNode("div", _hoisted_5$b, toDisplayString(unref(keyToLabel)(key)), 1),
18113
+ createElementVNode("div", _hoisted_6$7, toDisplayString(value), 1)
18114
18114
  ]);
18115
18115
  }), 128))
18116
18116
  ])) : createCommentVNode("", true),
@@ -18119,8 +18119,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
18119
18119
  };
18120
18120
  }
18121
18121
  });
18122
- const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-bb2526f9"]]);
18123
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
18122
+ const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-bb2526f9"]]);
18123
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18124
18124
  __name: "Card",
18125
18125
  props: {
18126
18126
  thin: { type: Boolean },
@@ -18138,8 +18138,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18138
18138
  };
18139
18139
  }
18140
18140
  });
18141
- const _hoisted_1$u = ["src", "alt"];
18142
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
18141
+ const _hoisted_1$t = ["src", "alt"];
18142
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
18143
18143
  __name: "Avatar",
18144
18144
  props: {
18145
18145
  fallback: {},
@@ -18157,7 +18157,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18157
18157
  key: 0,
18158
18158
  src: _ctx.src,
18159
18159
  alt: _ctx.name
18160
- }, null, 8, _hoisted_1$u)) : (openBlock(), createElementBlock("p", {
18160
+ }, null, 8, _hoisted_1$t)) : (openBlock(), createElementBlock("p", {
18161
18161
  key: 1,
18162
18162
  style: normalizeStyle({ "line-height": `${_ctx.size * 0.9}px` })
18163
18163
  }, toDisplayString(_ctx.fallback || unref(initials)(_ctx.name || "")), 5))
@@ -18165,8 +18165,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18165
18165
  };
18166
18166
  }
18167
18167
  });
18168
- const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-0441b0b8"]]);
18169
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
18168
+ const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-b46163a3"]]);
18169
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
18170
18170
  __name: "Title",
18171
18171
  props: {
18172
18172
  value: {
@@ -18194,7 +18194,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
18194
18194
  };
18195
18195
  }
18196
18196
  });
18197
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
18197
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
18198
18198
  __name: "Accordion",
18199
18199
  setup(__props) {
18200
18200
  const state = reactive({
@@ -18208,8 +18208,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
18208
18208
  };
18209
18209
  }
18210
18210
  });
18211
- const _hoisted_1$t = ["onClick"];
18212
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
18211
+ const _hoisted_1$s = ["onClick"];
18212
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
18213
18213
  __name: "ComboBox",
18214
18214
  props: {
18215
18215
  options: {},
@@ -18289,7 +18289,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
18289
18289
  class: "bagel-input combobox"
18290
18290
  }, {
18291
18291
  popper: withCtx(({ hide }) => [
18292
- createVNode(unref(_sfc_main$n), {
18292
+ createVNode(unref(_sfc_main$m), {
18293
18293
  thin: "",
18294
18294
  class: "combobox-options"
18295
18295
  }, {
@@ -18314,11 +18314,11 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
18314
18314
  }
18315
18315
  }, [
18316
18316
  createElementVNode("span", null, toDisplayString(label(option2)), 1),
18317
- isSelected(option2) ? (openBlock(), createBlock(unref(_sfc_main$C), {
18317
+ isSelected(option2) ? (openBlock(), createBlock(unref(_sfc_main$B), {
18318
18318
  key: 0,
18319
18319
  icon: "check"
18320
18320
  })) : createCommentVNode("", true)
18321
- ], 10, _hoisted_1$t);
18321
+ ], 10, _hoisted_1$s);
18322
18322
  }), 128))
18323
18323
  ]),
18324
18324
  _: 2
@@ -18331,7 +18331,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
18331
18331
  onClick: toggle
18332
18332
  }, [
18333
18333
  createTextVNode(toDisplayString(valueToLabel(unref(selectedItem)) || _ctx.placeholder || "Select") + " ", 1),
18334
- createVNode(unref(_sfc_main$C), normalizeProps(guardReactiveProps({ "icon": unref(open) ? "unfold_less" : "unfold_more" })), null, 16)
18334
+ createVNode(unref(_sfc_main$B), normalizeProps(guardReactiveProps({ "icon": unref(open) ? "unfold_less" : "unfold_more" })), null, 16)
18335
18335
  ]),
18336
18336
  _ctx.required ? withDirectives((openBlock(), createElementBlock("input", {
18337
18337
  key: 0,
@@ -18347,126 +18347,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
18347
18347
  };
18348
18348
  }
18349
18349
  });
18350
- const ComboBox = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-ceeb5855"]]);
18351
- const _withScopeId$2 = (n2) => (pushScopeId("data-v-fe5af582"), n2 = n2(), popScopeId(), n2);
18352
- const _hoisted_1$s = { class: "bar-chart" };
18353
- const _hoisted_2$m = {
18354
- key: 0,
18355
- class: "group-wrap"
18356
- };
18357
- const _hoisted_3$i = { class: "group-title" };
18358
- const _hoisted_4$d = {
18359
- key: 1,
18360
- class: "bar-wrap"
18361
- };
18362
- const _hoisted_5$b = { class: "bar-txt" };
18363
- const _hoisted_6$7 = { class: "factor" };
18364
- const _hoisted_7$4 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "red-bar" }, null, -1));
18365
- const _hoisted_8$2 = { class: "bar-lines" };
18366
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
18367
- __name: "BarChart",
18368
- props: {
18369
- title: {},
18370
- showMarks: { type: Boolean },
18371
- flood: {},
18372
- modelValue: {}
18373
- },
18374
- setup(__props) {
18375
- useCssVars((_ctx) => ({
18376
- "b74eb91e": floodPercent.value
18377
- }));
18378
- const props2 = __props;
18379
- const loaded = ref(false);
18380
- onMounted(() => {
18381
- setTimeout(() => {
18382
- loaded.value = true;
18383
- }, 400);
18384
- });
18385
- const dataArray = computed(
18386
- () => props2.modelValue
18387
- // const allData = []
18388
- // for (const item of props.modelValue) {
18389
- // if (item.group) {
18390
- // let groupIndex = allData.findIndex(d => d.group === item.group)
18391
- // if (groupIndex > -1) allData[groupIndex].data?.push(item);
18392
- // else allData.push({ group: item.group, data: [item] })
18393
- // } else {
18394
- // allData.push(item)
18395
- // }
18396
- // }
18397
- // return allData;
18398
- );
18399
- const maxValue = computed(
18400
- () => Math.ceil(
18401
- Math.max(
18402
- ...dataArray.value.map((d2) => d2.value),
18403
- ...dataArray.value.map((d2) => (d2 == null ? void 0 : d2.compareValue) || 0)
18404
- )
18405
- )
18406
- );
18407
- const marks2 = computed(() => {
18408
- const marksArray = [];
18409
- for (let i2 = 0; i2 <= 5; i2 += 1) {
18410
- const step = i2 * maxValue.value / 5;
18411
- marksArray.push(Math.round(step / 10) * 10);
18412
- }
18413
- return marksArray;
18414
- });
18415
- const percent = (val) => val / maxValue.value * 100;
18416
- const floodPercent = computed(() => `${props2.flood}%`);
18417
- return (_ctx, _cache) => {
18418
- return openBlock(), createElementBlock("div", _hoisted_1$s, [
18419
- (openBlock(true), createElementBlock(Fragment$1, null, renderList(dataArray.value, (item, i2) => {
18420
- return openBlock(), createElementBlock("div", {
18421
- class: "graph-wrap",
18422
- key: i2
18423
- }, [
18424
- item.group ? (openBlock(), createElementBlock("div", _hoisted_2$m, [
18425
- createElementVNode("p", _hoisted_3$i, toDisplayString(item.group), 1),
18426
- (openBlock(true), createElementBlock(Fragment$1, null, renderList((item == null ? void 0 : item.data) || [], (nested, i22) => {
18427
- return openBlock(), createElementBlock("div", {
18428
- key: i22,
18429
- class: "bar-wrap"
18430
- }, [
18431
- createElementVNode("div", {
18432
- class: "bar",
18433
- style: normalizeStyle({ height: loaded.value ? `${percent(nested.value)}%` : "0" })
18434
- }, null, 4),
18435
- nested.compareValue ? (openBlock(), createElementBlock("div", {
18436
- key: 0,
18437
- class: "bar compare",
18438
- style: normalizeStyle({
18439
- height: loaded.value ? `${percent(nested.compareValue)}%` : "0"
18440
- })
18441
- }, null, 4)) : createCommentVNode("", true)
18442
- ]);
18443
- }), 128))
18444
- ])) : (openBlock(), createElementBlock("div", _hoisted_4$d, [
18445
- createElementVNode("div", {
18446
- class: "bar",
18447
- style: normalizeStyle({ height: loaded.value ? `${percent(item.value)}%` : "0" })
18448
- }, null, 4),
18449
- (item == null ? void 0 : item.compareValue) ? (openBlock(), createElementBlock("div", {
18450
- key: 0,
18451
- class: "bar compare",
18452
- style: normalizeStyle({ height: loaded.value ? `${percent(item.compareValue)}%` : "0" })
18453
- }, null, 4)) : createCommentVNode("", true),
18454
- createElementVNode("p", _hoisted_5$b, toDisplayString(item.title), 1)
18455
- ]))
18456
- ]);
18457
- }), 128)),
18458
- createElementVNode("p", _hoisted_6$7, toDisplayString(_ctx.title), 1),
18459
- _hoisted_7$4,
18460
- createElementVNode("div", _hoisted_8$2, [
18461
- (openBlock(true), createElementBlock(Fragment$1, null, renderList(marks2.value, (mark) => {
18462
- return openBlock(), createElementBlock("p", { key: mark }, toDisplayString(mark.toLocaleString()), 1);
18463
- }), 128))
18464
- ])
18465
- ]);
18466
- };
18467
- }
18468
- });
18469
- const BarChart = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-fe5af582"]]);
18350
+ const ComboBox = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-ceeb5855"]]);
18470
18351
  const _hoisted_1$r = {
18471
18352
  key: 1,
18472
18353
  type: "submit",
@@ -18547,7 +18428,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
18547
18428
  ref: form,
18548
18429
  onSubmit: withModifiers(runSubmit, ["prevent"])
18549
18430
  }, [
18550
- _ctx.label ? (openBlock(), createBlock(unref(_sfc_main$l), {
18431
+ _ctx.label ? (openBlock(), createBlock(unref(_sfc_main$k), {
18551
18432
  key: 0,
18552
18433
  tag: "h4",
18553
18434
  label: _ctx.label
@@ -31446,7 +31327,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
31446
31327
  key: row.id
31447
31328
  }, [
31448
31329
  createElementVNode("div", _hoisted_5$9, [
31449
- createVNode(unref(_sfc_main$C), { icon: "more_vert" })
31330
+ createVNode(unref(_sfc_main$B), { icon: "more_vert" })
31450
31331
  ]),
31451
31332
  (openBlock(true), createElementBlock(Fragment$1, null, renderList((_a3 = unref(entityMeta)) == null ? void 0 : _a3.fields, (field) => {
31452
31333
  return openBlock(), createElementBlock("div", {
@@ -31463,7 +31344,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
31463
31344
  ], 2);
31464
31345
  }), 128)),
31465
31346
  createElementVNode("div", _hoisted_6$5, [
31466
- createVNode(unref(_sfc_main$C), {
31347
+ createVNode(unref(_sfc_main$B), {
31467
31348
  icon: "delete",
31468
31349
  onClick: ($event) => removeRow(index2)
31469
31350
  }, null, 8, ["onClick"])
@@ -31625,12 +31506,12 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
31625
31506
  ]),
31626
31507
  _ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_5$8, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true)
31627
31508
  ], 8, _hoisted_2$f),
31628
- _ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$C), {
31509
+ _ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$B), {
31629
31510
  key: 0,
31630
31511
  class: "iconStart",
31631
31512
  icon: _ctx.iconStart
31632
31513
  }, null, 8, ["icon"])) : createCommentVNode("", true),
31633
- _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$C), {
31514
+ _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$B), {
31634
31515
  key: 1,
31635
31516
  icon: _ctx.icon
31636
31517
  }, null, 8, ["icon"])) : createCommentVNode("", true),
@@ -31669,7 +31550,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
31669
31550
  [vModelCheckbox, val.value]
31670
31551
  ]),
31671
31552
  createElementVNode("span", null, [
31672
- createVNode(unref(_sfc_main$C), { icon: "check" })
31553
+ createVNode(unref(_sfc_main$B), { icon: "check" })
31673
31554
  ])
31674
31555
  ]);
31675
31556
  };
@@ -32034,7 +31915,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
32034
31915
  style: normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
32035
31916
  }, [
32036
31917
  fileQ.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_12, toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
32037
- createVNode(unref(_sfc_main$C), {
31918
+ createVNode(unref(_sfc_main$B), {
32038
31919
  class: "success",
32039
31920
  icon: "check"
32040
31921
  })
@@ -38549,7 +38430,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
38549
38430
  return (_ctx, _cache) => {
38550
38431
  var _a2, _b, _c, _d, _e2, _f;
38551
38432
  return openBlock(), createElementBlock("div", _hoisted_1, [
38552
- createVNode(unref(_sfc_main$s), null, {
38433
+ createVNode(unref(_sfc_main$r), null, {
38553
38434
  default: withCtx(() => [
38554
38435
  createTextVNode("Whatsapp Template")
38555
38436
  ]),
@@ -38670,16 +38551,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
38670
38551
  }
38671
38552
  });
38672
38553
  export {
38673
- _sfc_main$k as Accordion,
38554
+ _sfc_main$j as Accordion,
38674
38555
  AccordionItem,
38675
38556
  Avatar,
38676
38557
  _sfc_main$h as BagelForm,
38677
38558
  BagelVue,
38678
- BarChart,
38679
38559
  _sfc_main$g as BglField,
38680
38560
  _sfc_main$h as BglForm,
38681
38561
  Btn,
38682
- _sfc_main$n as Card,
38562
+ _sfc_main$m as Card,
38683
38563
  CheckInput,
38684
38564
  Checkbox,
38685
38565
  _sfc_main$7 as ColorPicker,
@@ -38689,20 +38569,20 @@ export {
38689
38569
  _sfc_main$e as DateInput,
38690
38570
  _sfc_main$6 as DatePicker,
38691
38571
  FileUpload,
38692
- _sfc_main$C as Icon,
38572
+ _sfc_main$B as Icon,
38693
38573
  JSONInput,
38694
- _sfc_main$E as LangText,
38574
+ _sfc_main$D as LangText,
38695
38575
  _sfc_main$2 as Lineart,
38696
- _sfc_main$v as ListItem,
38697
- _sfc_main$w as ListView,
38698
- _sfc_main$C as MaterialIcon,
38699
- _sfc_main$z as Modal,
38576
+ _sfc_main$u as ListItem,
38577
+ _sfc_main$v as ListView,
38578
+ _sfc_main$B as MaterialIcon,
38579
+ _sfc_main$y as Modal,
38700
38580
  ModalForm,
38701
38581
  ModalPlugin,
38702
38582
  MsgTemplate,
38703
38583
  NavBar,
38704
- _sfc_main$s as PageTitle,
38705
- _sfc_main$D as RTXEditor,
38584
+ _sfc_main$r as PageTitle,
38585
+ _sfc_main$C as RTXEditor,
38706
38586
  RadioPillsInput,
38707
38587
  RichTextEditor,
38708
38588
  RouterWrapper,
@@ -38712,7 +38592,7 @@ export {
38712
38592
  TableSchema,
38713
38593
  TextInput,
38714
38594
  _sfc_main as TextVariableExamples,
38715
- _sfc_main$l as Title,
38595
+ _sfc_main$k as Title,
38716
38596
  ToggleInput,
38717
38597
  TopBar,
38718
38598
  bagelInjectionKey,