@bagelink/vue 0.0.287 → 0.0.296

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
@@ -4877,10 +4877,10 @@ const ModalPlugin = {
4877
4877
  data: () => ({ modalStack: modalStack.value }),
4878
4878
  render() {
4879
4879
  return modalStack.value.map((modal, index2) => {
4880
- const props2 = { ...modal.modalOptions, "onUpdate:isModalVisible": () => hideModal(index2) };
4880
+ const props2 = { ...modal.modalOptions, visible: true, "onUpdate:visible": () => hideModal(index2) };
4881
4881
  if (modal.modalType === "modalForm")
4882
4882
  return vue.h(ModalForm, props2, modal.componentSlots);
4883
- return vue.h(_sfc_main$y, props2, modal.componentSlots);
4883
+ return vue.h(_sfc_main$A, props2, modal.componentSlots);
4884
4884
  });
4885
4885
  }
4886
4886
  });
@@ -4959,7 +4959,7 @@ const iffer = (field, itemData) => {
4959
4959
  };
4960
4960
  const denullify = (itemData, fieldID) => fieldID && itemData ? itemData[fieldID] : null;
4961
4961
  const _hoisted_1$H = { ref: "el" };
4962
- const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
4962
+ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
4963
4963
  __name: "LangText",
4964
4964
  props: {
4965
4965
  input: {}
@@ -17081,7 +17081,7 @@ const marks = {
17081
17081
  };
17082
17082
  const schema = new Schema({ nodes, marks });
17083
17083
  const _hoisted_1$G = ["id"];
17084
- const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
17084
+ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
17085
17085
  __name: "RTXEditor",
17086
17086
  props: {
17087
17087
  elementId: { default: Math.random().toString(36).substr(2, 9) },
@@ -17162,17 +17162,18 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
17162
17162
  };
17163
17163
  }
17164
17164
  });
17165
- const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
17165
+ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
17166
17166
  __name: "MaterialIcon",
17167
17167
  props: {
17168
17168
  icon: {},
17169
- size: {}
17169
+ size: {},
17170
+ color: {}
17170
17171
  },
17171
17172
  setup(__props) {
17172
17173
  return (_ctx, _cache) => {
17173
17174
  return vue.openBlock(), vue.createElementBlock("div", {
17174
17175
  class: "bgl_icon-font",
17175
- style: vue.normalizeStyle({ fontSize: `${_ctx.size}rem` })
17176
+ style: vue.normalizeStyle({ fontSize: `${_ctx.size}rem`, color: _ctx.color })
17176
17177
  }, vue.toDisplayString(_ctx.icon), 5);
17177
17178
  };
17178
17179
  }
@@ -17183,7 +17184,7 @@ const _hoisted_3$o = { class: "nav-links-wrapper" };
17183
17184
  const _hoisted_4$i = { class: "tooltip" };
17184
17185
  const _hoisted_5$f = { class: "bot-buttons-wrapper" };
17185
17186
  const _hoisted_6$a = { class: "tooltip" };
17186
- const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
17187
+ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
17187
17188
  __name: "NavBar",
17188
17189
  props: {
17189
17190
  footerLinks: { default: () => [] },
@@ -17207,7 +17208,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
17207
17208
  "aria-label": "Toggle Navigation",
17208
17209
  tabindex: "0"
17209
17210
  }, [
17210
- vue.createVNode(vue.unref(_sfc_main$B), {
17211
+ vue.createVNode(vue.unref(_sfc_main$D), {
17211
17212
  icon: "chevron_right",
17212
17213
  class: "top-arrow"
17213
17214
  })
@@ -17226,7 +17227,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
17226
17227
  }
17227
17228
  }, {
17228
17229
  default: vue.withCtx(() => [
17229
- vue.createVNode(vue.unref(_sfc_main$B), {
17230
+ vue.createVNode(vue.unref(_sfc_main$D), {
17230
17231
  icon: link.materialIcon
17231
17232
  }, null, 8, ["icon"]),
17232
17233
  vue.createElementVNode("div", _hoisted_4$i, vue.toDisplayString(link.label), 1)
@@ -17248,7 +17249,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
17248
17249
  key: link.label
17249
17250
  }, {
17250
17251
  default: vue.withCtx(() => [
17251
- vue.createVNode(vue.unref(_sfc_main$B), {
17252
+ vue.createVNode(vue.unref(_sfc_main$D), {
17252
17253
  icon: link.materialIcon
17253
17254
  }, null, 8, ["icon"]),
17254
17255
  vue.createElementVNode("div", _hoisted_6$a, vue.toDisplayString(link.label), 1)
@@ -17270,7 +17271,7 @@ const _export_sfc = (sfc, props2) => {
17270
17271
  }
17271
17272
  return target;
17272
17273
  };
17273
- const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-776ccc02"]]);
17274
+ const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-776ccc02"]]);
17274
17275
  const _hoisted_1$E = {
17275
17276
  key: 0,
17276
17277
  class: "loading"
@@ -17279,7 +17280,7 @@ const _hoisted_2$v = {
17279
17280
  key: 1,
17280
17281
  class: "bgl_btn-flex"
17281
17282
  };
17282
- const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
17283
+ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
17283
17284
  __name: "Btn",
17284
17285
  props: {
17285
17286
  disabled: { type: Boolean, default: false },
@@ -17366,7 +17367,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
17366
17367
  }, {
17367
17368
  default: vue.withCtx(() => [
17368
17369
  _ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$v, [
17369
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$B), {
17370
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
17370
17371
  key: 0,
17371
17372
  icon: _ctx.icon
17372
17373
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
@@ -17374,7 +17375,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
17374
17375
  !vue.unref(slots)["default"] && _ctx.value ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
17375
17376
  vue.createTextVNode(vue.toDisplayString(_ctx.value), 1)
17376
17377
  ], 64)) : vue.createCommentVNode("", true),
17377
- props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$B), {
17378
+ props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
17378
17379
  key: 2,
17379
17380
  icon: props2["icon.end"]
17380
17381
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true)
@@ -17385,42 +17386,51 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
17385
17386
  };
17386
17387
  }
17387
17388
  });
17388
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-7a7625e7"]]);
17389
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-7a7625e7"]]);
17389
17390
  const _hoisted_1$D = { class: "tool-bar" };
17390
17391
  const _hoisted_2$u = { class: "modal-footer mt-3" };
17391
- const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
17392
+ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
17392
17393
  __name: "Modal",
17393
17394
  props: {
17394
17395
  side: { type: Boolean },
17395
17396
  title: {},
17396
17397
  dismissable: { type: Boolean },
17397
- actions: {}
17398
+ actions: {},
17399
+ visible: { type: Boolean }
17398
17400
  },
17399
- emits: ["update:isModalVisible"],
17401
+ emits: ["update:visible"],
17400
17402
  setup(__props, { expose: __expose, emit: __emit }) {
17401
17403
  const props2 = __props;
17402
- let isActive = vue.ref(false);
17404
+ let isVisible = vue.ref(false);
17405
+ vue.watch(() => props2.visible, (val) => {
17406
+ if (val === isVisible.value || val === void 0)
17407
+ return;
17408
+ if (val)
17409
+ openModal();
17410
+ else
17411
+ closeModal();
17412
+ }, { immediate: true });
17403
17413
  const emit2 = __emit;
17404
17414
  const closeModal = () => {
17405
- isActive.value = false;
17406
- setTimeout(() => emit2("update:isModalVisible", false), 200);
17415
+ isVisible.value = false;
17416
+ setTimeout(() => emit2("update:visible", false), 200);
17407
17417
  };
17408
17418
  __expose({ closeModal });
17409
17419
  const escapeKeyClose = (e) => (props2 == null ? void 0 : props2.dismissable) && useEscape(e, () => closeModal());
17410
- vue.onMounted(() => {
17411
- setTimeout(() => isActive.value = true, 1);
17420
+ function openModal() {
17421
+ setTimeout(() => isVisible.value = true, 1);
17412
17422
  document.addEventListener("keydown", escapeKeyClose);
17413
- });
17423
+ }
17414
17424
  vue.onUnmounted(() => {
17415
17425
  document.removeEventListener("keydown", escapeKeyClose);
17416
17426
  });
17417
17427
  return (_ctx, _cache) => {
17418
17428
  return vue.openBlock(), vue.createElementBlock("div", {
17419
- class: vue.normalizeClass(["bg-dark", { "is-side": _ctx.side, "is-active": vue.unref(isActive), "bg-lignt": false }]),
17429
+ class: vue.normalizeClass(["bg-dark", { "is-side": _ctx.side, "is-active": vue.unref(isVisible), "bg-lignt": false }]),
17420
17430
  onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
17421
17431
  onKeydown: vue.withKeys(closeModal, ["esc"])
17422
17432
  }, [
17423
- vue.createVNode(vue.unref(_sfc_main$m), {
17433
+ vue.createVNode(vue.unref(_sfc_main$o), {
17424
17434
  class: "modal",
17425
17435
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
17426
17436
  }, ["stop"]))
@@ -17434,7 +17444,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
17434
17444
  icon: "close",
17435
17445
  onClick: closeModal
17436
17446
  }, null, 8, ["style"]),
17437
- _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$k), {
17447
+ _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$m), {
17438
17448
  key: 0,
17439
17449
  class: "modal-title",
17440
17450
  tag: "h3",
@@ -17459,7 +17469,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
17459
17469
  };
17460
17470
  }
17461
17471
  });
17462
- const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
17472
+ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
17463
17473
  __name: "ModalForm",
17464
17474
  props: /* @__PURE__ */ vue.mergeModels({
17465
17475
  side: { type: Boolean },
@@ -17516,7 +17526,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
17516
17526
  }
17517
17527
  __expose({ setFormValues });
17518
17528
  return (_ctx, _cache) => {
17519
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$y), {
17529
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$A), {
17520
17530
  "onOnUpdate:isModalVisible": props2["onUpdate:isModalVisible"],
17521
17531
  side: _ctx.side,
17522
17532
  ref_key: "modal",
@@ -17567,12 +17577,12 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
17567
17577
  };
17568
17578
  }
17569
17579
  });
17570
- const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-dca6fe18"]]);
17580
+ const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-dca6fe18"]]);
17571
17581
  const _hoisted_1$C = { class: "accordion-item" };
17572
17582
  const _hoisted_2$t = ["aria-expanded", "aria-controls"];
17573
17583
  const _hoisted_3$n = { class: "accordion-label" };
17574
17584
  const _hoisted_4$h = ["id", "aria-hidden"];
17575
- const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
17585
+ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
17576
17586
  __name: "AccordionItem",
17577
17587
  props: {
17578
17588
  label: {},
@@ -17607,7 +17617,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
17607
17617
  vue.createElementVNode("div", {
17608
17618
  class: vue.normalizeClass(["accordion-icon", { open: vue.unref(open) }])
17609
17619
  }, [
17610
- vue.createVNode(vue.unref(_sfc_main$B), { icon: "expand_more" })
17620
+ vue.createVNode(vue.unref(_sfc_main$D), { icon: "expand_more" })
17611
17621
  ], 2)
17612
17622
  ], 8, _hoisted_2$t),
17613
17623
  vue.createVNode(vue.Transition, { name: "expand" }, {
@@ -17627,7 +17637,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
17627
17637
  };
17628
17638
  }
17629
17639
  });
17630
- const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-bf74738b"]]);
17640
+ const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-bf74738b"]]);
17631
17641
  const _hoisted_1$B = { class: "card list-view grid thin" };
17632
17642
  const _hoisted_2$s = { class: "list-header flex gap-3 align-items-top" };
17633
17643
  const _hoisted_3$m = {
@@ -17636,7 +17646,7 @@ const _hoisted_3$m = {
17636
17646
  };
17637
17647
  const _hoisted_4$g = ["placeholder"];
17638
17648
  const _hoisted_5$e = { class: "list-content grid auto-flow-rows align-items-start" };
17639
- const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
17649
+ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
17640
17650
  __name: "ListView",
17641
17651
  props: {
17642
17652
  enableAdd: { type: Boolean },
@@ -17662,7 +17672,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
17662
17672
  }, null, 40, _hoisted_4$g), [
17663
17673
  [vue.vModelText, searchTerm.value]
17664
17674
  ]),
17665
- vue.createVNode(vue.unref(_sfc_main$B), {
17675
+ vue.createVNode(vue.unref(_sfc_main$D), {
17666
17676
  class: "txtgray",
17667
17677
  icon: "search"
17668
17678
  })
@@ -17682,7 +17692,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
17682
17692
  });
17683
17693
  const _hoisted_1$A = { class: "txt16 no-margin ellipsis" };
17684
17694
  const _hoisted_2$r = { class: "txt14 no-margin txtgray ellipsis" };
17685
- const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
17695
+ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
17686
17696
  __name: "ListItem",
17687
17697
  props: {
17688
17698
  src: {},
@@ -17724,7 +17734,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
17724
17734
  const _hoisted_1$z = { class: "card tabs-top" };
17725
17735
  const _hoisted_2$q = { class: "tabs grid auto-flow-columns fit-content" };
17726
17736
  const _hoisted_3$l = ["onClick"];
17727
- const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
17737
+ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
17728
17738
  __name: "TabbedLayout",
17729
17739
  props: {
17730
17740
  title: {},
@@ -17786,7 +17796,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
17786
17796
  };
17787
17797
  }
17788
17798
  });
17789
- const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-09fce741"]]);
17799
+ const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-09fce741"]]);
17790
17800
  const _hoisted_1$y = { class: "comments-wrap" };
17791
17801
  const _hoisted_2$p = { class: "comment-list" };
17792
17802
  const _hoisted_3$k = { class: "comment-top" };
@@ -17795,7 +17805,7 @@ const _hoisted_5$d = { class: "comment-time" };
17795
17805
  const _hoisted_6$9 = { class: "comment-actions" };
17796
17806
  const _hoisted_7$5 = ["innerHTML"];
17797
17807
  const _hoisted_8$2 = { class: "new-comment" };
17798
- const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
17808
+ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
17799
17809
  __name: "Comments",
17800
17810
  props: {
17801
17811
  ref_table: {},
@@ -17853,19 +17863,19 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
17853
17863
  vue.createElementVNode("div", _hoisted_4$f, vue.toDisplayString(comment.sender.first_name) + " " + vue.toDisplayString(comment.sender.last_name), 1),
17854
17864
  vue.createElementVNode("div", _hoisted_5$d, vue.toDisplayString(comment.updated_at.split("T")[0]), 1),
17855
17865
  vue.createElementVNode("div", _hoisted_6$9, [
17856
- vue.createVNode(vue.unref(_sfc_main$B), {
17866
+ vue.createVNode(vue.unref(_sfc_main$D), {
17857
17867
  size: 1,
17858
17868
  class: "edit",
17859
17869
  icon: "edit",
17860
17870
  onClick: ($event) => vue.isRef(editComment) ? editComment.value = comment : editComment = comment
17861
17871
  }, null, 8, ["onClick"]),
17862
- vue.createVNode(vue.unref(_sfc_main$B), {
17872
+ vue.createVNode(vue.unref(_sfc_main$D), {
17863
17873
  size: 1.2,
17864
17874
  class: "delete",
17865
17875
  icon: "delete",
17866
17876
  onClick: ($event) => deleteComment(comment.id)
17867
17877
  }, null, 8, ["onClick"]),
17868
- vue.createVNode(vue.unref(_sfc_main$B), {
17878
+ vue.createVNode(vue.unref(_sfc_main$D), {
17869
17879
  size: 1.2,
17870
17880
  class: "save",
17871
17881
  icon: "save",
@@ -17873,7 +17883,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
17873
17883
  })
17874
17884
  ])
17875
17885
  ]),
17876
- vue.unref(editComment) !== null && ((_c = vue.unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$C), {
17886
+ vue.unref(editComment) !== null && ((_c = vue.unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$E), {
17877
17887
  key: 0,
17878
17888
  modelValue: vue.unref(editComment).body_html,
17879
17889
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(editComment).body_html = $event),
@@ -17887,7 +17897,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
17887
17897
  }), 128))
17888
17898
  ]),
17889
17899
  vue.createElementVNode("div", _hoisted_8$2, [
17890
- vue.createVNode(vue.unref(_sfc_main$C), {
17900
+ vue.createVNode(vue.unref(_sfc_main$E), {
17891
17901
  class: "comment-input",
17892
17902
  modelValue: vue.unref(bodyHtml),
17893
17903
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(bodyHtml) ? bodyHtml.value = $event : bodyHtml = $event),
@@ -17907,10 +17917,10 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
17907
17917
  };
17908
17918
  }
17909
17919
  });
17910
- const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-c4b41dc0"]]);
17920
+ const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-c4b41dc0"]]);
17911
17921
  const _hoisted_1$x = { class: "page-top" };
17912
17922
  const _hoisted_2$o = { class: "top-title" };
17913
- const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
17923
+ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
17914
17924
  __name: "PageTitle",
17915
17925
  props: {
17916
17926
  value: {
@@ -17936,7 +17946,7 @@ const _hoisted_4$e = ["onClick"];
17936
17946
  const _hoisted_5$c = { class: "flex" };
17937
17947
  const _hoisted_6$8 = ["onClick"];
17938
17948
  const _hoisted_7$4 = { key: 1 };
17939
- const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
17949
+ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
17940
17950
  __name: "TableSchema",
17941
17951
  props: {
17942
17952
  data: {},
@@ -17984,7 +17994,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
17984
17994
  vue.createElementVNode("div", {
17985
17995
  class: vue.normalizeClass(["list-arrows", { sorted: vue.unref(sortField) === field.id }])
17986
17996
  }, [
17987
- vue.createVNode(vue.unref(_sfc_main$B), {
17997
+ vue.createVNode(vue.unref(_sfc_main$D), {
17988
17998
  class: vue.normalizeClass({ desc: vue.unref(sortDirection) === "DESC" }),
17989
17999
  icon: "keyboard_arrow_up"
17990
18000
  }, null, 8, ["class"])
@@ -18028,16 +18038,16 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
18028
18038
  };
18029
18039
  }
18030
18040
  });
18031
- const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-2137a7a8"]]);
18032
- const _sfc_main$p = {};
18041
+ const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-2137a7a8"]]);
18042
+ const _sfc_main$r = {};
18033
18043
  const _hoisted_1$v = { class: "flex space-between" };
18034
18044
  function _sfc_render$1(_ctx, _cache) {
18035
18045
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [
18036
18046
  vue.renderSlot(_ctx.$slots, "default")
18037
18047
  ]);
18038
18048
  }
18039
- const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$1]]);
18040
- const _sfc_main$o = {};
18049
+ const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$1]]);
18050
+ const _sfc_main$q = {};
18041
18051
  function _sfc_render(_ctx, _cache) {
18042
18052
  const _component_router_view = vue.resolveComponent("router-view");
18043
18053
  return vue.openBlock(), vue.createBlock(_component_router_view, null, {
@@ -18059,7 +18069,7 @@ function _sfc_render(_ctx, _cache) {
18059
18069
  _: 1
18060
18070
  });
18061
18071
  }
18062
- const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render]]);
18072
+ const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render]]);
18063
18073
  const _hoisted_1$u = {
18064
18074
  key: 0,
18065
18075
  class: "data"
@@ -18072,7 +18082,7 @@ const _hoisted_3$i = { class: "key" };
18072
18082
  const _hoisted_4$d = { key: 1 };
18073
18083
  const _hoisted_5$b = { class: "key" };
18074
18084
  const _hoisted_6$7 = { class: "vlue" };
18075
- const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
18085
+ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
18076
18086
  __name: "DataPreview",
18077
18087
  props: /* @__PURE__ */ vue.mergeModels({
18078
18088
  schema: {},
@@ -18087,7 +18097,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
18087
18097
  return (_ctx, _cache) => {
18088
18098
  var _a2;
18089
18099
  return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
18090
- _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$k), {
18100
+ _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$m), {
18091
18101
  key: 0,
18092
18102
  label: _ctx.title
18093
18103
  }, null, 8, ["label"])) : vue.createCommentVNode("", true),
@@ -18121,8 +18131,8 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
18121
18131
  };
18122
18132
  }
18123
18133
  });
18124
- const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-bb2526f9"]]);
18125
- const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
18134
+ const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-bb2526f9"]]);
18135
+ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
18126
18136
  __name: "Card",
18127
18137
  props: {
18128
18138
  thin: { type: Boolean },
@@ -18141,7 +18151,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
18141
18151
  }
18142
18152
  });
18143
18153
  const _hoisted_1$t = ["src", "alt"];
18144
- const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
18154
+ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
18145
18155
  __name: "Avatar",
18146
18156
  props: {
18147
18157
  fallback: {},
@@ -18167,8 +18177,8 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
18167
18177
  };
18168
18178
  }
18169
18179
  });
18170
- const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-b46163a3"]]);
18171
- const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
18180
+ const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-b46163a3"]]);
18181
+ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
18172
18182
  __name: "Title",
18173
18183
  props: {
18174
18184
  value: {
@@ -18196,7 +18206,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
18196
18206
  };
18197
18207
  }
18198
18208
  });
18199
- const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
18209
+ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
18200
18210
  __name: "Accordion",
18201
18211
  setup(__props) {
18202
18212
  const state = vue.reactive({
@@ -18211,7 +18221,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
18211
18221
  }
18212
18222
  });
18213
18223
  const _hoisted_1$s = ["onClick"];
18214
- const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
18224
+ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
18215
18225
  __name: "ComboBox",
18216
18226
  props: {
18217
18227
  options: {},
@@ -18291,7 +18301,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
18291
18301
  class: "bagel-input combobox"
18292
18302
  }, {
18293
18303
  popper: vue.withCtx(({ hide }) => [
18294
- vue.createVNode(vue.unref(_sfc_main$m), {
18304
+ vue.createVNode(vue.unref(_sfc_main$o), {
18295
18305
  thin: "",
18296
18306
  class: "combobox-options"
18297
18307
  }, {
@@ -18316,7 +18326,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
18316
18326
  }
18317
18327
  }, [
18318
18328
  vue.createElementVNode("span", null, vue.toDisplayString(label(option2)), 1),
18319
- isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$B), {
18329
+ isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
18320
18330
  key: 0,
18321
18331
  icon: "check"
18322
18332
  })) : vue.createCommentVNode("", true)
@@ -18333,7 +18343,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
18333
18343
  onClick: toggle
18334
18344
  }, [
18335
18345
  vue.createTextVNode(vue.toDisplayString(valueToLabel(vue.unref(selectedItem)) || _ctx.placeholder || "Select") + " ", 1),
18336
- vue.createVNode(vue.unref(_sfc_main$B), vue.normalizeProps(vue.guardReactiveProps({ "icon": vue.unref(open) ? "unfold_less" : "unfold_more" })), null, 16)
18346
+ vue.createVNode(vue.unref(_sfc_main$D), vue.normalizeProps(vue.guardReactiveProps({ "icon": vue.unref(open) ? "unfold_less" : "unfold_more" })), null, 16)
18337
18347
  ]),
18338
18348
  _ctx.required ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
18339
18349
  key: 0,
@@ -18349,7 +18359,66 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
18349
18359
  };
18350
18360
  }
18351
18361
  });
18352
- const ComboBox = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-ceeb5855"]]);
18362
+ const ComboBox = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-ceeb5855"]]);
18363
+ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
18364
+ __name: "Alert",
18365
+ props: {
18366
+ message: {},
18367
+ type: { default: "info" }
18368
+ },
18369
+ setup(__props) {
18370
+ const color2 = {
18371
+ info: "#739DEF",
18372
+ warning: "#efdb73",
18373
+ error: "#DC3545"
18374
+ };
18375
+ return (_ctx, _cache) => {
18376
+ return vue.openBlock(), vue.createElementBlock("div", {
18377
+ class: vue.normalizeClass(["alert", [_ctx.type]])
18378
+ }, [
18379
+ vue.createVNode(vue.unref(_sfc_main$D), {
18380
+ class: "alert_icon",
18381
+ icon: _ctx.type,
18382
+ size: 2,
18383
+ color: color2[_ctx.type]
18384
+ }, null, 8, ["icon", "color"]),
18385
+ vue.createTextVNode(" " + vue.toDisplayString(_ctx.message), 1)
18386
+ ], 2);
18387
+ };
18388
+ }
18389
+ });
18390
+ const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-dfb0f29d"]]);
18391
+ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
18392
+ __name: "Badge",
18393
+ props: {
18394
+ color: {},
18395
+ size: {},
18396
+ text: {},
18397
+ icon: {},
18398
+ "icon.end": {}
18399
+ },
18400
+ setup(__props) {
18401
+ const props2 = __props;
18402
+ return (_ctx, _cache) => {
18403
+ return vue.openBlock(), vue.createElementBlock("div", {
18404
+ class: vue.normalizeClass(["pill", [_ctx.color]])
18405
+ }, [
18406
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
18407
+ key: 0,
18408
+ class: "inline",
18409
+ icon: _ctx.icon
18410
+ }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
18411
+ vue.createTextVNode(" " + vue.toDisplayString(_ctx.text) + " ", 1),
18412
+ props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
18413
+ key: 1,
18414
+ class: "inline",
18415
+ icon: props2["icon.end"]
18416
+ }, null, 8, ["icon"])) : vue.createCommentVNode("", true)
18417
+ ], 2);
18418
+ };
18419
+ }
18420
+ });
18421
+ const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-64e0d988"]]);
18353
18422
  const _hoisted_1$r = {
18354
18423
  key: 1,
18355
18424
  type: "submit",
@@ -18430,7 +18499,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
18430
18499
  ref: form,
18431
18500
  onSubmit: vue.withModifiers(runSubmit, ["prevent"])
18432
18501
  }, [
18433
- _ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$k), {
18502
+ _ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$m), {
18434
18503
  key: 0,
18435
18504
  tag: "h4",
18436
18505
  label: _ctx.label
@@ -31329,7 +31398,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
31329
31398
  key: row.id
31330
31399
  }, [
31331
31400
  vue.createElementVNode("div", _hoisted_5$9, [
31332
- vue.createVNode(vue.unref(_sfc_main$B), { icon: "more_vert" })
31401
+ vue.createVNode(vue.unref(_sfc_main$D), { icon: "more_vert" })
31333
31402
  ]),
31334
31403
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a3 = vue.unref(entityMeta)) == null ? void 0 : _a3.fields, (field) => {
31335
31404
  return vue.openBlock(), vue.createElementBlock("div", {
@@ -31346,7 +31415,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
31346
31415
  ], 2);
31347
31416
  }), 128)),
31348
31417
  vue.createElementVNode("div", _hoisted_6$5, [
31349
- vue.createVNode(vue.unref(_sfc_main$B), {
31418
+ vue.createVNode(vue.unref(_sfc_main$D), {
31350
31419
  icon: "delete",
31351
31420
  onClick: ($event) => removeRow(index2)
31352
31421
  }, null, 8, ["onClick"])
@@ -31508,12 +31577,12 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
31508
31577
  ]),
31509
31578
  _ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_5$8, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true)
31510
31579
  ], 8, _hoisted_2$f),
31511
- _ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$B), {
31580
+ _ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
31512
31581
  key: 0,
31513
31582
  class: "iconStart",
31514
31583
  icon: _ctx.iconStart
31515
31584
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
31516
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$B), {
31585
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
31517
31586
  key: 1,
31518
31587
  icon: _ctx.icon
31519
31588
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
@@ -31552,7 +31621,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
31552
31621
  [vue.vModelCheckbox, val.value]
31553
31622
  ]),
31554
31623
  vue.createElementVNode("span", null, [
31555
- vue.createVNode(vue.unref(_sfc_main$B), { icon: "check" })
31624
+ vue.createVNode(vue.unref(_sfc_main$D), { icon: "check" })
31556
31625
  ])
31557
31626
  ]);
31558
31627
  };
@@ -31917,7 +31986,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
31917
31986
  style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
31918
31987
  }, [
31919
31988
  fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_12, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
31920
- vue.createVNode(vue.unref(_sfc_main$B), {
31989
+ vue.createVNode(vue.unref(_sfc_main$D), {
31921
31990
  class: "success",
31922
31991
  icon: "check"
31923
31992
  })
@@ -38432,7 +38501,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
38432
38501
  return (_ctx, _cache) => {
38433
38502
  var _a2, _b, _c, _d, _e2, _f;
38434
38503
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
38435
- vue.createVNode(vue.unref(_sfc_main$r), null, {
38504
+ vue.createVNode(vue.unref(_sfc_main$t), null, {
38436
38505
  default: vue.withCtx(() => [
38437
38506
  vue.createTextVNode("Whatsapp Template")
38438
38507
  ]),
@@ -38552,15 +38621,17 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
38552
38621
  };
38553
38622
  }
38554
38623
  });
38555
- exports.Accordion = _sfc_main$j;
38624
+ exports.Accordion = _sfc_main$l;
38556
38625
  exports.AccordionItem = AccordionItem;
38626
+ exports.Alert = Alert;
38557
38627
  exports.Avatar = Avatar;
38628
+ exports.Badge = Badge;
38558
38629
  exports.BagelForm = _sfc_main$h;
38559
38630
  exports.BagelVue = BagelVue;
38560
38631
  exports.BglField = _sfc_main$g;
38561
38632
  exports.BglForm = _sfc_main$h;
38562
38633
  exports.Btn = Btn;
38563
- exports.Card = _sfc_main$m;
38634
+ exports.Card = _sfc_main$o;
38564
38635
  exports.CheckInput = CheckInput;
38565
38636
  exports.Checkbox = Checkbox;
38566
38637
  exports.ColorPicker = _sfc_main$7;
@@ -38570,20 +38641,20 @@ exports.DataPreview = DataPreview;
38570
38641
  exports.DateInput = _sfc_main$e;
38571
38642
  exports.DatePicker = _sfc_main$6;
38572
38643
  exports.FileUpload = FileUpload;
38573
- exports.Icon = _sfc_main$B;
38644
+ exports.Icon = _sfc_main$D;
38574
38645
  exports.JSONInput = JSONInput;
38575
- exports.LangText = _sfc_main$D;
38646
+ exports.LangText = _sfc_main$F;
38576
38647
  exports.Lineart = _sfc_main$2;
38577
- exports.ListItem = _sfc_main$u;
38578
- exports.ListView = _sfc_main$v;
38579
- exports.MaterialIcon = _sfc_main$B;
38580
- exports.Modal = _sfc_main$y;
38648
+ exports.ListItem = _sfc_main$w;
38649
+ exports.ListView = _sfc_main$x;
38650
+ exports.MaterialIcon = _sfc_main$D;
38651
+ exports.Modal = _sfc_main$A;
38581
38652
  exports.ModalForm = ModalForm;
38582
38653
  exports.ModalPlugin = ModalPlugin;
38583
38654
  exports.MsgTemplate = MsgTemplate;
38584
38655
  exports.NavBar = NavBar;
38585
- exports.PageTitle = _sfc_main$r;
38586
- exports.RTXEditor = _sfc_main$C;
38656
+ exports.PageTitle = _sfc_main$t;
38657
+ exports.RTXEditor = _sfc_main$E;
38587
38658
  exports.RadioPillsInput = RadioPillsInput;
38588
38659
  exports.RichTextEditor = RichTextEditor;
38589
38660
  exports.RouterWrapper = RouterWrapper;
@@ -38593,7 +38664,7 @@ exports.TableField = TableField;
38593
38664
  exports.TableSchema = TableSchema;
38594
38665
  exports.TextInput = TextInput;
38595
38666
  exports.TextVariableExamples = _sfc_main;
38596
- exports.Title = _sfc_main$k;
38667
+ exports.Title = _sfc_main$m;
38597
38668
  exports.ToggleInput = ToggleInput;
38598
38669
  exports.TopBar = TopBar;
38599
38670
  exports.bagelInjectionKey = bagelInjectionKey;