@bagelink/vue 0.0.823 → 0.0.827

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
@@ -54,7 +54,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
54
54
  };
55
55
  }
56
56
  });
57
- const _hoisted_1$N = ["aria-expanded", "aria-controls"];
57
+ const _hoisted_1$M = ["aria-expanded", "aria-controls"];
58
58
  const _hoisted_2$w = { class: "accordion-label" };
59
59
  const _hoisted_3$m = ["id", "aria-hidden"];
60
60
  const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
@@ -133,7 +133,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
133
133
  }, [
134
134
  vue.createVNode(vue.unref(_sfc_main$c), { icon: computedIcon.value }, null, 8, ["icon"])
135
135
  ], 2)) : vue.createCommentVNode("", true)
136
- ], 8, _hoisted_1$N),
136
+ ], 8, _hoisted_1$M),
137
137
  vue.createVNode(vue.Transition, { name: "expand" }, {
138
138
  default: vue.withCtx(() => [
139
139
  vue.unref(isOpen) ? (vue.openBlock(), vue.createElementBlock("div", {
@@ -159,7 +159,7 @@ const _export_sfc = (sfc, props2) => {
159
159
  return target;
160
160
  };
161
161
  const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-9d8335fa"]]);
162
- const _hoisted_1$M = { class: "relative" };
162
+ const _hoisted_1$L = { class: "relative" };
163
163
  const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
164
164
  __name: "AddressSearch",
165
165
  emits: ["addressSelected"],
@@ -182,7 +182,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
182
182
  (_a2 = suggestion.value) == null ? void 0 : _a2.show();
183
183
  }
184
184
  return (_ctx, _cache) => {
185
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$M, [
185
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$L, [
186
186
  vue.createVNode(vue.unref(_sfc_main$N), {
187
187
  ref_key: "suggestion",
188
188
  ref: suggestion,
@@ -218,7 +218,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
218
218
  };
219
219
  }
220
220
  });
221
- const _hoisted_1$L = {
221
+ const _hoisted_1$K = {
222
222
  key: 0,
223
223
  class: "loading"
224
224
  };
@@ -321,7 +321,7 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
321
321
  onClick: vue.withModifiers(_ctx.onClick, ["stop"])
322
322
  }, {
323
323
  default: vue.withCtx(() => [
324
- _ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$L)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$v, [
324
+ _ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$K)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$v, [
325
325
  _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$c), {
326
326
  key: 0,
327
327
  icon: _ctx.icon
@@ -342,7 +342,7 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
342
342
  }
343
343
  });
344
344
  const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-c00fb1b9"]]);
345
- const _hoisted_1$K = ["dismissable"];
345
+ const _hoisted_1$J = ["dismissable"];
346
346
  const _hoisted_2$u = { class: "m-0" };
347
347
  const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
348
348
  __name: "Alert",
@@ -380,12 +380,12 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
380
380
  icon: "close",
381
381
  onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
382
382
  })
383
- ], 10, _hoisted_1$K)) : vue.createCommentVNode("", true);
383
+ ], 10, _hoisted_1$J)) : vue.createCommentVNode("", true);
384
384
  };
385
385
  }
386
386
  });
387
387
  const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-57141c32"]]);
388
- const _hoisted_1$J = ["src", "alt"];
388
+ const _hoisted_1$I = ["src", "alt"];
389
389
  const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
390
390
  __name: "Avatar",
391
391
  props: {
@@ -404,7 +404,7 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
404
404
  key: 0,
405
405
  src: _ctx.src,
406
406
  alt: _ctx.name
407
- }, null, 8, _hoisted_1$J)) : (vue.openBlock(), vue.createElementBlock("p", {
407
+ }, null, 8, _hoisted_1$I)) : (vue.openBlock(), vue.createElementBlock("p", {
408
408
  key: 1,
409
409
  style: vue.normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
410
410
  }, vue.toDisplayString((_ctx.fallback || vue.unref(initials)(_ctx.name || "")).toUpperCase()), 5))
@@ -445,7 +445,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
445
445
  }
446
446
  });
447
447
  const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-1b4c8cfe"]]);
448
- const _hoisted_1$I = ["src"];
448
+ const _hoisted_1$H = ["src"];
449
449
  const _hoisted_2$t = ["src", "autoplay", "muted", "loop", "controls"];
450
450
  const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
451
451
  __name: "BglVideo",
@@ -501,7 +501,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
501
501
  allowfullscreen: "",
502
502
  title: "Video",
503
503
  allow: "autoplay"
504
- }, null, 12, _hoisted_1$I)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
504
+ }, null, 12, _hoisted_1$H)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
505
505
  key: 1,
506
506
  src: _ctx.src,
507
507
  autoplay: _ctx.autoplay,
@@ -516,7 +516,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
516
516
  }
517
517
  });
518
518
  const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-30c80244"]]);
519
- const _hoisted_1$H = {
519
+ const _hoisted_1$G = {
520
520
  key: 0,
521
521
  class: "card_label"
522
522
  };
@@ -548,7 +548,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
548
548
  }])
549
549
  }, {
550
550
  default: vue.withCtx(() => [
551
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$H, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
551
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$G, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
552
552
  vue.renderSlot(_ctx.$slots, "default")
553
553
  ]),
554
554
  _: 3
@@ -556,7 +556,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
556
556
  };
557
557
  }
558
558
  });
559
- const _hoisted_1$G = {
559
+ const _hoisted_1$F = {
560
560
  key: 0,
561
561
  class: "blocker"
562
562
  };
@@ -750,7 +750,7 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
750
750
  onScroll: scrollEnd,
751
751
  onMousedown: startDragging
752
752
  }, [
753
- vue.unref(isDragging) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G)) : vue.createCommentVNode("", true),
753
+ vue.unref(isDragging) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F)) : vue.createCommentVNode("", true),
754
754
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
755
755
  ], 38),
756
756
  vue.createElementVNode("div", _hoisted_2$s, [
@@ -6712,13 +6712,13 @@ var script = vue.defineComponent({
6712
6712
  return { bar, canvas, direction, mouse };
6713
6713
  }
6714
6714
  });
6715
- const _hoisted_1$F = {
6715
+ const _hoisted_1$E = {
6716
6716
  key: 0,
6717
6717
  class: "layer-hover-bar"
6718
6718
  };
6719
6719
  const _hoisted_2$r = ["x", "y", "width", "height"];
6720
6720
  function render$e(_ctx, _cache, $props, $setup, $data, $options) {
6721
- return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$F, [
6721
+ return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$E, [
6722
6722
  vue.createElementVNode("rect", vue.mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
6723
6723
  x: _ctx.bar.x,
6724
6724
  y: _ctx.bar.y,
@@ -6870,7 +6870,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
6870
6870
  };
6871
6871
  }
6872
6872
  });
6873
- const _hoisted_1$E = {
6873
+ const _hoisted_1$D = {
6874
6874
  key: 0,
6875
6875
  class: "data"
6876
6876
  };
@@ -6927,7 +6927,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
6927
6927
  const computedSchema = vue.computed(() => getFallbackSchema([itemData.value], props2.showFields));
6928
6928
  return (_ctx, _cache) => {
6929
6929
  var _a2;
6930
- return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E, [
6930
+ return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
6931
6931
  _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$3), {
6932
6932
  key: 0,
6933
6933
  label: _ctx.title
@@ -9847,7 +9847,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
9847
9847
  };
9848
9848
  }
9849
9849
  });
9850
- const _hoisted_1$D = { key: 0 };
9850
+ const _hoisted_1$C = { key: 0 };
9851
9851
  const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
9852
9852
  __name: "BglMultiStepForm",
9853
9853
  props: /* @__PURE__ */ vue.mergeModels({
@@ -9915,7 +9915,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
9915
9915
  mode: "out-in"
9916
9916
  }, {
9917
9917
  default: vue.withCtx(() => [
9918
- !vue.unref(isStepping) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
9918
+ !vue.unref(isStepping) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$C, [
9919
9919
  vue.createVNode(vue.unref(_sfc_main$K), vue.mergeProps({
9920
9920
  ref_key: "formRef",
9921
9921
  ref: formRef,
@@ -9955,7 +9955,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
9955
9955
  };
9956
9956
  }
9957
9957
  });
9958
- const _hoisted_1$C = { class: "primary-checkbox" };
9958
+ const _hoisted_1$B = { class: "primary-checkbox" };
9959
9959
  const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
9960
9960
  __name: "Checkbox",
9961
9961
  props: {
@@ -9966,7 +9966,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
9966
9966
  setup(__props) {
9967
9967
  const val = vue.useModel(__props, "modelValue");
9968
9968
  return (_ctx, _cache) => {
9969
- return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$C, [
9969
+ return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$B, [
9970
9970
  vue.renderSlot(_ctx.$slots, "label", {}, void 0, true),
9971
9971
  vue.withDirectives(vue.createElementVNode("input", {
9972
9972
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
@@ -9979,7 +9979,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
9979
9979
  }
9980
9980
  });
9981
9981
  const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-73f1d9ad"]]);
9982
- const _hoisted_1$B = ["title"];
9982
+ const _hoisted_1$A = ["title"];
9983
9983
  const _hoisted_2$p = ["id", "value", "required"];
9984
9984
  const _hoisted_3$j = ["for"];
9985
9985
  const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
@@ -10024,12 +10024,12 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
10024
10024
  vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
10025
10025
  ], true)
10026
10026
  ], 8, _hoisted_3$j)
10027
- ], 10, _hoisted_1$B);
10027
+ ], 10, _hoisted_1$A);
10028
10028
  };
10029
10029
  }
10030
10030
  });
10031
10031
  const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-03ed2982"]]);
10032
- const _hoisted_1$A = ["title"];
10032
+ const _hoisted_1$z = ["title"];
10033
10033
  const _hoisted_2$o = ["id", "placeholder", "required"];
10034
10034
  const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
10035
10035
  __name: "ColorPicker",
@@ -10073,7 +10073,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
10073
10073
  [vue.vModelText, inputVal.value]
10074
10074
  ])
10075
10075
  ])
10076
- ], 10, _hoisted_1$A)) : vue.createCommentVNode("", true);
10076
+ ], 10, _hoisted_1$z)) : vue.createCommentVNode("", true);
10077
10077
  };
10078
10078
  }
10079
10079
  });
@@ -18516,7 +18516,7 @@ const eo = ({
18516
18516
  Object.entries(go).forEach(([e, t]) => {
18517
18517
  e !== "default" && (Hn[e] = t);
18518
18518
  });
18519
- const _hoisted_1$z = ["title"];
18519
+ const _hoisted_1$y = ["title"];
18520
18520
  const _hoisted_2$n = { key: 0 };
18521
18521
  const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
18522
18522
  __name: "DateInput",
@@ -18576,11 +18576,11 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
18576
18576
  "minutes-grid-increment": _ctx.minutesGridIncrement,
18577
18577
  "start-time": { hours: 8, minutes: 0 }
18578
18578
  }), null, 16, ["modelValue", "required", "enable-time-picker", "allowed-dates", "time-picker-inline", "minutes-increment", "minutes-grid-increment"])
18579
- ], 10, _hoisted_1$z);
18579
+ ], 10, _hoisted_1$y);
18580
18580
  };
18581
18581
  }
18582
18582
  });
18583
- const _hoisted_1$y = { class: "datetime-wrap" };
18583
+ const _hoisted_1$x = { class: "datetime-wrap" };
18584
18584
  const _hoisted_2$m = { class: "date-wrap" };
18585
18585
  const _hoisted_3$i = {
18586
18586
  key: 0,
@@ -18616,7 +18616,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
18616
18616
  return `${hour}:${minute}`;
18617
18617
  });
18618
18618
  return (_ctx, _cache) => {
18619
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [
18619
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
18620
18620
  vue.createElementVNode("div", _hoisted_2$m, [
18621
18621
  vue.createVNode(vue.unref(Hn), vue.mergeProps({
18622
18622
  modelValue: selectedDate.value,
@@ -18657,7 +18657,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
18657
18657
  };
18658
18658
  }
18659
18659
  });
18660
- const _hoisted_1$x = { class: "bagel-input" };
18660
+ const _hoisted_1$w = { class: "bagel-input" };
18661
18661
  const _hoisted_2$l = {
18662
18662
  key: 0,
18663
18663
  class: "bgl-multi-preview"
@@ -18842,7 +18842,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
18842
18842
  return (_ctx, _cache) => {
18843
18843
  const _directive_lightbox = vue.resolveDirective("lightbox");
18844
18844
  const _directive_tooltip = vue.resolveDirective("tooltip");
18845
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
18845
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
18846
18846
  vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
18847
18847
  vue.createElementVNode("div", {
18848
18848
  class: vue.normalizeClass(["fileUploadWrap", {
@@ -19003,7 +19003,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
19003
19003
  }
19004
19004
  });
19005
19005
  const $el = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-bfb0bd63"]]);
19006
- const _hoisted_1$w = ["title"];
19006
+ const _hoisted_1$v = ["title"];
19007
19007
  const _hoisted_2$k = { key: 0 };
19008
19008
  const _hoisted_3$g = ["value", "placeholder"];
19009
19009
  const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
@@ -19038,12 +19038,12 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
19038
19038
  placeholder: _ctx.placeholder,
19039
19039
  onInput: handleInput
19040
19040
  }, null, 42, _hoisted_3$g)
19041
- ], 10, _hoisted_1$w);
19041
+ ], 10, _hoisted_1$v);
19042
19042
  };
19043
19043
  }
19044
19044
  });
19045
19045
  const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-1cbaeab2"]]);
19046
- const _hoisted_1$v = ["value", "autofocus", "onKeydown", "onPaste"];
19046
+ const _hoisted_1$u = ["value", "autofocus", "onKeydown", "onPaste"];
19047
19047
  const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
19048
19048
  __name: "OTP",
19049
19049
  props: {
@@ -19142,14 +19142,14 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
19142
19142
  oninput: "this.value = this.value.slice(0, 1);",
19143
19143
  onKeydown: ($event) => handleKeyDown2($event, ind),
19144
19144
  onPaste: ($event) => handlePaste2($event, ind)
19145
- }, null, 40, _hoisted_1$v);
19145
+ }, null, 40, _hoisted_1$u);
19146
19146
  }), 128))
19147
19147
  ], 512);
19148
19148
  };
19149
19149
  }
19150
19150
  });
19151
19151
  const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-5c22c199"]]);
19152
- const _hoisted_1$u = { class: "relative" };
19152
+ const _hoisted_1$t = { class: "relative" };
19153
19153
  const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
19154
19154
  __name: "PasswordInput",
19155
19155
  props: /* @__PURE__ */ vue.mergeModels({
@@ -19190,7 +19190,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
19190
19190
  );
19191
19191
  const inputType = vue.computed(() => showPwd.value ? "text" : "password");
19192
19192
  return (_ctx, _cache) => {
19193
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
19193
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$t, [
19194
19194
  vue.createVNode(vue.unref(TextInput), vue.mergeProps({
19195
19195
  modelValue: password.value,
19196
19196
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event)
@@ -19210,7 +19210,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
19210
19210
  };
19211
19211
  }
19212
19212
  });
19213
- const _hoisted_1$t = ["for"];
19213
+ const _hoisted_1$s = ["for"];
19214
19214
  const _hoisted_2$j = ["id", "name", "value"];
19215
19215
  const _hoisted_3$f = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
19216
19216
  const _hoisted_4$b = ["src", "alt"];
@@ -19276,14 +19276,14 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
19276
19276
  icon: "delete",
19277
19277
  onClick: ($event) => _ctx.$emit("delete", opt)
19278
19278
  }, null, 8, ["onClick"])) : vue.createCommentVNode("", true)
19279
- ], 8, _hoisted_1$t);
19279
+ ], 8, _hoisted_1$s);
19280
19280
  }), 128))
19281
19281
  ]);
19282
19282
  };
19283
19283
  }
19284
19284
  });
19285
19285
  const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-3e9e030f"]]);
19286
- const _hoisted_1$s = { class: "bagel-input" };
19286
+ const _hoisted_1$r = { class: "bagel-input" };
19287
19287
  const _hoisted_2$i = { class: "pb-025" };
19288
19288
  const _hoisted_3$e = { class: "flex gap-05 flex-wrap" };
19289
19289
  const _hoisted_4$a = ["id", "name", "value", "checked"];
@@ -19329,7 +19329,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
19329
19329
  selectedValue.value = props2.modelValue;
19330
19330
  });
19331
19331
  return (_ctx, _cache) => {
19332
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [
19332
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r, [
19333
19333
  vue.createElementVNode("label", _hoisted_2$i, vue.toDisplayString(_ctx.label), 1),
19334
19334
  vue.createElementVNode("div", _hoisted_3$e, [
19335
19335
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.options, (option2, index2) => {
@@ -19356,7 +19356,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
19356
19356
  }
19357
19357
  });
19358
19358
  const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-cf892d71"]]);
19359
- const _hoisted_1$r = { class: "flex gap-1 align-center range-slide" };
19359
+ const _hoisted_1$q = { class: "flex gap-1 align-center range-slide" };
19360
19360
  const _hoisted_2$h = { key: 0 };
19361
19361
  const _hoisted_3$d = ["max", "min", "step"];
19362
19362
  const _hoisted_4$9 = { key: 1 };
@@ -19380,7 +19380,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
19380
19380
  return `linear-gradient(to right, var(--bgl-primary) ${percentage}%, var(--input-bg) ${percentage}%)`;
19381
19381
  });
19382
19382
  return (_ctx, _cache) => {
19383
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r, [
19383
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$q, [
19384
19384
  _ctx.min !== void 0 ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_2$h, vue.toDisplayString(_ctx.min), 1)) : vue.createCommentVNode("", true),
19385
19385
  vue.withDirectives(vue.createElementVNode("input", {
19386
19386
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
@@ -43275,7 +43275,7 @@ vue.defineComponent({
43275
43275
  }, (_b = (_a2 = this.$slots).default) === null || _b === void 0 ? void 0 : _b.call(_a2));
43276
43276
  }
43277
43277
  });
43278
- const _hoisted_1$q = { class: "RichText" };
43278
+ const _hoisted_1$p = { class: "RichText" };
43279
43279
  const _hoisted_2$g = {
43280
43280
  key: 0,
43281
43281
  class: "RichText-tools"
@@ -43505,7 +43505,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
43505
43505
  });
43506
43506
  return (_ctx, _cache) => {
43507
43507
  const _directive_tooltip = vue.resolveDirective("tooltip");
43508
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$q, [
43508
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$p, [
43509
43509
  vue.unref(editor) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$g, [
43510
43510
  (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(config, (item) => {
43511
43511
  var _a2;
@@ -43699,7 +43699,7 @@ function createTable() {
43699
43699
  }
43700
43700
  }
43701
43701
  }
43702
- const _hoisted_1$p = { class: "flex gap-05" };
43702
+ const _hoisted_1$o = { class: "flex gap-05" };
43703
43703
  const _hoisted_2$f = ["disabled"];
43704
43704
  const _hoisted_3$c = { key: 1 };
43705
43705
  const _hoisted_4$8 = {
@@ -43725,7 +43725,8 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
43725
43725
  hideLabel: { type: Boolean },
43726
43726
  defaultValue: {},
43727
43727
  clearable: { type: Boolean },
43728
- searchPlaceholder: {}
43728
+ searchPlaceholder: {},
43729
+ onSearch: { type: Function }
43729
43730
  },
43730
43731
  emits: ["update:modelValue"],
43731
43732
  setup(__props, { emit: __emit }) {
@@ -43751,10 +43752,26 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
43751
43752
  }
43752
43753
  return selectedItems.value.map((item) => getLabel(item)).join(", ");
43753
43754
  });
43754
- const filteredOptions = vue.computed(() => props2.options.filter((option2) => {
43755
- const searchTerm = search.value.split(/\s+/).filter(Boolean).map((t) => new RegExp(t.replaceAll(/[.*+?^${}()|[\]\\]/g, "\\$&"), "gi"));
43756
- return Boolean(option2) && searchTerm.every((s2) => getLabel(option2).match(s2));
43757
- }));
43755
+ let serverOptions = vue.ref([]);
43756
+ let isSearching = vue.ref(false);
43757
+ async function runServerSearch() {
43758
+ if (props2.onSearch !== void 0) {
43759
+ isSearching.value = true;
43760
+ serverOptions.value = await props2.onSearch(search.value);
43761
+ isSearching.value = false;
43762
+ }
43763
+ }
43764
+ const filteredOptions = vue.computed(() => {
43765
+ if (props2.onSearch !== void 0) {
43766
+ if (isSearching.value) return [];
43767
+ if (search.value.trim().length) return serverOptions.value;
43768
+ return props2.options;
43769
+ }
43770
+ return props2.options.filter((option2) => {
43771
+ const searchTerm = search.value.split(/\s+/).filter(Boolean).map((t) => new RegExp(t.replaceAll(/[.*+?^${}()|[\]\\]/g, "\\$&"), "gi"));
43772
+ return Boolean(option2) && searchTerm.every((s2) => getLabel(option2).match(s2));
43773
+ });
43774
+ });
43758
43775
  const isSelected = (option2) => selectedItems.value.find((item) => getValue(option2) === getValue(item)) !== void 0;
43759
43776
  function updateOpen(visible) {
43760
43777
  open.value = visible;
@@ -43771,7 +43788,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
43771
43788
  var _a2, _b, _c;
43772
43789
  return (_c = (_b = (_a2 = searchInput.value) == null ? void 0 : _a2.$el) == null ? void 0 : _b.querySelector("input")) == null ? void 0 : _c.focus();
43773
43790
  },
43774
- 350
43791
+ 100
43775
43792
  );
43776
43793
  }
43777
43794
  }
@@ -43848,6 +43865,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
43848
43865
  { deep: true, immediate: true }
43849
43866
  );
43850
43867
  vue.onMounted(() => {
43868
+ console.log("mounted");
43851
43869
  if (props2.defaultValue !== void 0) {
43852
43870
  const defaultOption = props2.options.find(
43853
43871
  (o2) => getValue(o2) === getValue(props2.defaultValue)
@@ -43862,12 +43880,13 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
43862
43880
  ref: dropdown,
43863
43881
  placement: "bottom-start",
43864
43882
  class: "bagel-input selectinput",
43883
+ noAutoFocus: "",
43865
43884
  onHide: _cache[5] || (_cache[5] = ($event) => updateOpen(false))
43866
43885
  }, {
43867
43886
  trigger: vue.withCtx(() => [
43868
43887
  vue.createElementVNode("label", null, [
43869
43888
  vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
43870
- vue.createElementVNode("div", _hoisted_1$p, [
43889
+ vue.createElementVNode("div", _hoisted_1$o, [
43871
43890
  _ctx.searchable && vue.unref(open) ? (vue.openBlock(), vue.createBlock(vue.unref(TextInput), {
43872
43891
  key: 0,
43873
43892
  ref_key: "searchInput",
@@ -43878,6 +43897,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
43878
43897
  dense: "",
43879
43898
  placeholder: searchPlaceholder.value,
43880
43899
  icon: "search",
43900
+ onDebounce: runServerSearch,
43881
43901
  onInput: _cache[1] || (_cache[1] = ($event) => vue.isRef(selected) ? selected.value = false : selected = false)
43882
43902
  }, null, 8, ["modelValue", "placeholder"])) : (vue.openBlock(), vue.createElementBlock("button", {
43883
43903
  key: 1,
@@ -43921,6 +43941,13 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
43921
43941
  ])
43922
43942
  ]),
43923
43943
  default: vue.withCtx(() => [
43944
+ vue.unref(isSearching) ? (vue.openBlock(), vue.createBlock(vue.unref(Skeleton), {
43945
+ key: 0,
43946
+ count: 3,
43947
+ width: "230px",
43948
+ height: "30px",
43949
+ class: "mx-1 my-05"
43950
+ })) : vue.createCommentVNode("", true),
43924
43951
  vue.createVNode(vue.unref(_sfc_main$R), {
43925
43952
  class: "p-05",
43926
43953
  style: vue.normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
@@ -43966,8 +43993,8 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
43966
43993
  };
43967
43994
  }
43968
43995
  });
43969
- const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-94b45d29"]]);
43970
- const _hoisted_1$o = {
43996
+ const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-e3164caf"]]);
43997
+ const _hoisted_1$n = {
43971
43998
  class: "toolbar flex gap-025 pb-05 flex-wrap",
43972
43999
  role: "toolbar"
43973
44000
  };
@@ -44001,7 +44028,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
44001
44028
  }
44002
44029
  return (_ctx, _cache) => {
44003
44030
  const _directive_tooltip = vue.resolveDirective("tooltip");
44004
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$o, [
44031
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$n, [
44005
44032
  vue.createVNode(SelectInput, {
44006
44033
  class: "m-0 w150",
44007
44034
  options: ["Text", "Heading 1", "Heading 2", "Heading 3", "Heading 4", "Heading 5", "Heading 6", "Blockquote", "Code"],
@@ -44030,7 +44057,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
44030
44057
  };
44031
44058
  }
44032
44059
  });
44033
- const _hoisted_1$n = { class: "rich-text-editor rounded pt-05 px-1 pb-1" };
44060
+ const _hoisted_1$m = { class: "rich-text-editor rounded pt-05 px-1 pb-1" };
44034
44061
  const _hoisted_2$e = { class: "editor-container flex flex-stretch gap-1 m_column" };
44035
44062
  const _hoisted_3$b = { class: "content-area radius-05 p-1 shadow-light w-100 grid" };
44036
44063
  const _hoisted_4$7 = {
@@ -44164,7 +44191,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
44164
44191
  }
44165
44192
  }
44166
44193
  return (_ctx, _cache) => {
44167
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$n, [
44194
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [
44168
44195
  vue.createVNode(_sfc_main$u, {
44169
44196
  config: config.value,
44170
44197
  onAction: handleToolbarAction
@@ -44790,7 +44817,7 @@ class SignaturePad extends SignatureEventTarget {
44790
44817
  return svg.outerHTML;
44791
44818
  }
44792
44819
  }
44793
- const _hoisted_1$m = ["disabled"];
44820
+ const _hoisted_1$l = ["disabled"];
44794
44821
  const _hoisted_2$d = {
44795
44822
  key: 1,
44796
44823
  placeholder: "required",
@@ -44951,7 +44978,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
44951
44978
  ref: vCanvas,
44952
44979
  class: "canvas",
44953
44980
  disabled: _ctx.disabled
44954
- }, null, 8, _hoisted_1$m),
44981
+ }, null, 8, _hoisted_1$l),
44955
44982
  _ctx.required && vue.unref(_isEmpty) ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$d)) : vue.createCommentVNode("", true)
44956
44983
  ], 34);
44957
44984
  };
@@ -47436,7 +47463,7 @@ const VueDraggableNext = vue.defineComponent({
47436
47463
  }
47437
47464
  }
47438
47465
  });
47439
- const _hoisted_1$l = ["title"];
47466
+ const _hoisted_1$k = ["title"];
47440
47467
  const _hoisted_2$c = { class: "bagel-input" };
47441
47468
  const _hoisted_3$a = { class: "table-side-scroll" };
47442
47469
  const _hoisted_4$6 = { class: "table-header" };
@@ -47582,7 +47609,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
47582
47609
  ])),
47583
47610
  _: 1
47584
47611
  })
47585
- ], 8, _hoisted_1$l);
47612
+ ], 8, _hoisted_1$k);
47586
47613
  };
47587
47614
  }
47588
47615
  });
@@ -52053,7 +52080,7 @@ function parsePhoneNumber$1() {
52053
52080
  function parsePhoneNumber() {
52054
52081
  return withMetadataArgument(parsePhoneNumber$1, arguments);
52055
52082
  }
52056
- const _hoisted_1$k = ["aria-expanded"];
52083
+ const _hoisted_1$j = ["aria-expanded"];
52057
52084
  const _hoisted_2$b = { class: "p-075 tel-countryp-dropdown" };
52058
52085
  const _hoisted_3$9 = ["aria-selected", "onClick", "onMousemove"];
52059
52086
  const _hoisted_4$5 = { class: "tel-country" };
@@ -52407,14 +52434,14 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
52407
52434
  }, null, 44, _hoisted_6$4), [
52408
52435
  [vue.vModelText, phone.value]
52409
52436
  ])
52410
- ], 40, _hoisted_1$k)
52437
+ ], 40, _hoisted_1$j)
52411
52438
  ])
52412
52439
  ], 2);
52413
52440
  };
52414
52441
  }
52415
52442
  });
52416
52443
  const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-627af458"]]);
52417
- const _hoisted_1$j = ["title"];
52444
+ const _hoisted_1$i = ["title"];
52418
52445
  const _hoisted_2$a = ["for"];
52419
52446
  const _hoisted_3$8 = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
52420
52447
  const _hoisted_4$4 = ["id", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
@@ -52550,12 +52577,12 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
52550
52577
  key: 1,
52551
52578
  icon: _ctx.icon
52552
52579
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true)
52553
- ], 10, _hoisted_1$j);
52580
+ ], 10, _hoisted_1$i);
52554
52581
  };
52555
52582
  }
52556
52583
  });
52557
52584
  const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-e5ae4283"]]);
52558
- const _hoisted_1$i = ["title"];
52585
+ const _hoisted_1$h = ["title"];
52559
52586
  const _hoisted_2$9 = ["id", "required"];
52560
52587
  const _hoisted_3$7 = ["for"];
52561
52588
  const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
@@ -52602,12 +52629,12 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
52602
52629
  vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
52603
52630
  ], true)
52604
52631
  ], 8, _hoisted_3$7)
52605
- ], 10, _hoisted_1$i);
52632
+ ], 10, _hoisted_1$h);
52606
52633
  };
52607
52634
  }
52608
52635
  });
52609
52636
  const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-486451e5"]]);
52610
- const _hoisted_1$h = { class: "m-0 pb-025 txt14 line-height-1" };
52637
+ const _hoisted_1$g = { class: "m-0 pb-025 txt14 line-height-1" };
52611
52638
  const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
52612
52639
  __name: "BottomMenu",
52613
52640
  props: {
@@ -52631,7 +52658,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
52631
52658
  size: 1.4,
52632
52659
  class: "m-0 line-height-14"
52633
52660
  }, null, 8, ["icon"]),
52634
- vue.createElementVNode("p", _hoisted_1$h, vue.toDisplayString(nav2.label), 1)
52661
+ vue.createElementVNode("p", _hoisted_1$g, vue.toDisplayString(nav2.label), 1)
52635
52662
  ]),
52636
52663
  _: 2
52637
52664
  }, 1032, ["to", "onClick"]);
@@ -52685,7 +52712,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
52685
52712
  }
52686
52713
  });
52687
52714
  const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-1814129a"]]);
52688
- const _hoisted_1$g = { key: 0 };
52715
+ const _hoisted_1$f = { key: 0 };
52689
52716
  const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
52690
52717
  __name: "SidebarMenu",
52691
52718
  props: {
@@ -52733,7 +52760,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
52733
52760
  }, null, 8, ["icon"]),
52734
52761
  vue.createVNode(vue.Transition, { name: "showP" }, {
52735
52762
  default: vue.withCtx(() => [
52736
- _ctx.open ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_1$g, vue.toDisplayString(nav2.label), 1)) : vue.createCommentVNode("", true)
52763
+ _ctx.open ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_1$f, vue.toDisplayString(nav2.label), 1)) : vue.createCommentVNode("", true)
52737
52764
  ]),
52738
52765
  _: 2
52739
52766
  }, 1024)
@@ -52762,36 +52789,38 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
52762
52789
  }
52763
52790
  });
52764
52791
  const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-51cedd11"]]);
52765
- const _hoisted_1$f = {
52766
- key: 0,
52767
- class: "skeleton-wrap"
52768
- };
52769
52792
  const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
52770
52793
  __name: "Skeleton",
52771
52794
  props: {
52772
52795
  count: { default: 1 },
52773
52796
  height: { default: "50px" },
52774
52797
  width: { default: "auto" },
52775
- borderRadius: { default: "var(--skeleton-radius)" }
52798
+ round: { type: Boolean, default: false },
52799
+ borderRadius: { default: "var(--skeleton-radius)" },
52800
+ class: { default: "" }
52776
52801
  },
52777
52802
  setup(__props) {
52803
+ const className = vue.toRef(__props, "class");
52778
52804
  const slots = vue.useSlots();
52779
52805
  return (_ctx, _cache) => {
52780
- return vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.count, (i2) => {
52806
+ return vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(+_ctx.count, (i2) => {
52781
52807
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: i2 }, [
52782
- vue.unref(slots).default ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$f, [
52808
+ vue.unref(slots).default ? (vue.openBlock(), vue.createElementBlock("div", {
52809
+ key: 0,
52810
+ class: vue.normalizeClass(["skeleton-wrap", className.value])
52811
+ }, [
52783
52812
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
52784
- ])) : (vue.openBlock(), vue.createElementBlock("div", {
52813
+ ], 2)) : (vue.openBlock(), vue.createElementBlock("div", {
52785
52814
  key: 1,
52786
- class: "skeleton",
52815
+ class: vue.normalizeClass(["skeleton", { round: _ctx.round, [className.value]: true }]),
52787
52816
  style: vue.normalizeStyle({ height: _ctx.height, width: _ctx.width, borderRadius: _ctx.borderRadius })
52788
- }, null, 4))
52817
+ }, null, 6))
52789
52818
  ], 64);
52790
52819
  }), 128);
52791
52820
  };
52792
52821
  }
52793
52822
  });
52794
- const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-a06bec19"]]);
52823
+ const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-9a44f23a"]]);
52795
52824
  const _hoisted_1$e = { class: "bgl_card tabs-top" };
52796
52825
  const _hoisted_2$8 = { class: "tabs grid auto-flow-columns fit-content" };
52797
52826
  const _hoisted_3$6 = ["onClick"];
@@ -55385,7 +55414,8 @@ function slctField(id, label, options, config) {
55385
55414
  attrs: {
55386
55415
  disabled: config == null ? void 0 : config.disabled,
55387
55416
  searchable: config == null ? void 0 : config.searchable,
55388
- multiselect: config == null ? void 0 : config.multiselect
55417
+ multiselect: config == null ? void 0 : config.multiselect,
55418
+ onSearch: config == null ? void 0 : config.onSearch
55389
55419
  }
55390
55420
  };
55391
55421
  }