@bagelink/vue 0.0.354 → 0.0.358

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.
@@ -4,14 +4,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
4
4
  h100?: boolean | undefined;
5
5
  overflowX?: boolean | undefined;
6
6
  overflowY?: boolean | undefined;
7
- bg?: "info" | "light" | "warning" | "gray" | "primary" | "transparent" | "white" | "dark" | "secondary" | "success" | "danger" | undefined;
7
+ bg?: "info" | "light" | "warning" | "white" | "gray" | "primary" | "transparent" | "dark" | "secondary" | "success" | "danger" | undefined;
8
8
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
9
  thin?: boolean | undefined;
10
10
  outline?: boolean | undefined;
11
11
  h100?: boolean | undefined;
12
12
  overflowX?: boolean | undefined;
13
13
  overflowY?: boolean | undefined;
14
- bg?: "info" | "light" | "warning" | "gray" | "primary" | "transparent" | "white" | "dark" | "secondary" | "success" | "danger" | undefined;
14
+ bg?: "info" | "light" | "warning" | "white" | "gray" | "primary" | "transparent" | "dark" | "secondary" | "success" | "danger" | undefined;
15
15
  }>>>, {}, {}>, {
16
16
  default?(_: {}): any;
17
17
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"RichText.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/RichText.vue"],"names":[],"mappings":"AAOA;;gBAyPyD,MAAM;;;;gBAAN,MAAM;;;;AAL/D,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
1
+ {"version":3,"file":"RichText.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/RichText.vue"],"names":[],"mappings":"AAcA;;gBAwPyD,MAAM;;;;gBAAN,MAAM;;;;AAL/D,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/SelectInput.vue"],"names":[],"mappings":"AA6DA;AAIA,OAAO,wBAAwB,CAAC;AAKhC,KAAK,MAAM,GACR,MAAM,GACN,MAAM,GACN,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACnB;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+Z7C,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"SelectInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/SelectInput.vue"],"names":[],"mappings":"AAuDA;AAIA,OAAO,wBAAwB,CAAC;AAKhC,KAAK,MAAM,GACR,MAAM,GACN,MAAM,GACN,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACnB;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkb7C,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Tabs.vue"],"names":[],"mappings":"AAMA;AAEA,OAAO,EAAW,KAAK,GAAG,EAAE,MAAM,eAAe,CAAC;;;;;;;;AAkGlD,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"Tabs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Tabs.vue"],"names":[],"mappings":"AAWA;AAEA,OAAO,EAAW,KAAK,GAAG,EAAE,MAAM,eAAe,CAAC;;;;;;;;AAgIlD,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
package/dist/index.cjs CHANGED
@@ -4915,7 +4915,7 @@ function txtField(id, label, options) {
4915
4915
  id,
4916
4916
  label,
4917
4917
  placeholder: options == null ? void 0 : options.placeholder,
4918
- attrs: { type: options == null ? void 0 : options.type }
4918
+ attrs: { type: options == null ? void 0 : options.type, pattern: options == null ? void 0 : options.pattern }
4919
4919
  };
4920
4920
  }
4921
4921
  function slctField(id, label, options, config) {
@@ -4928,7 +4928,7 @@ function slctField(id, label, options, config) {
4928
4928
  required: config == null ? void 0 : config.required,
4929
4929
  label,
4930
4930
  defaultValue: config == null ? void 0 : config.defaultValue,
4931
- attrs: { disabled: config == null ? void 0 : config.disabled }
4931
+ attrs: { disabled: config == null ? void 0 : config.disabled, searchable: config == null ? void 0 : config.searchable }
4932
4932
  };
4933
4933
  }
4934
4934
  function numField(id, label, options) {
@@ -5026,7 +5026,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
5026
5026
  });
5027
5027
  const _hoisted_1$E = { class: "full-nav" };
5028
5028
  const _hoisted_2$v = { class: "nav-scroll" };
5029
- const _hoisted_3$l = { class: "nav-links-wrapper" };
5029
+ const _hoisted_3$m = { class: "nav-links-wrapper" };
5030
5030
  const _hoisted_4$e = { class: "tooltip" };
5031
5031
  const _hoisted_5$b = { class: "bot-buttons-wrapper" };
5032
5032
  const _hoisted_6$7 = { class: "tooltip" };
@@ -5061,7 +5061,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
5061
5061
  ], 32),
5062
5062
  vue.createElementVNode("div", _hoisted_1$E, [
5063
5063
  vue.createElementVNode("div", _hoisted_2$v, [
5064
- vue.createElementVNode("div", _hoisted_3$l, [
5064
+ vue.createElementVNode("div", _hoisted_3$m, [
5065
5065
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.links, (link) => {
5066
5066
  return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(link.to ? "router-link" : "div"), {
5067
5067
  class: "nav-button",
@@ -5427,7 +5427,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
5427
5427
  const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-7e6899c7"]]);
5428
5428
  const _hoisted_1$B = { class: "accordion-item" };
5429
5429
  const _hoisted_2$s = ["aria-expanded", "aria-controls"];
5430
- const _hoisted_3$k = { class: "accordion-label" };
5430
+ const _hoisted_3$l = { class: "accordion-label" };
5431
5431
  const _hoisted_4$d = ["id", "aria-hidden"];
5432
5432
  const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
5433
5433
  __name: "AccordionItem",
@@ -5460,7 +5460,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
5460
5460
  class: "accordion-head",
5461
5461
  "aria-controls": `accordion-body-${vue.unref(id)}`
5462
5462
  }, [
5463
- vue.createElementVNode("span", _hoisted_3$k, vue.toDisplayString(_ctx.label), 1),
5463
+ vue.createElementVNode("span", _hoisted_3$l, vue.toDisplayString(_ctx.label), 1),
5464
5464
  vue.createElementVNode("div", {
5465
5465
  class: vue.normalizeClass(["accordion-icon", { open: vue.unref(open) }])
5466
5466
  }, [
@@ -5487,7 +5487,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
5487
5487
  const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-bf74738b"]]);
5488
5488
  const _hoisted_1$A = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 p-0" };
5489
5489
  const _hoisted_2$r = { class: "p-1" };
5490
- const _hoisted_3$j = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
5490
+ const _hoisted_3$k = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
5491
5491
  const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
5492
5492
  __name: "ListView",
5493
5493
  setup(__props) {
@@ -5496,7 +5496,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
5496
5496
  vue.createElementVNode("div", _hoisted_2$r, [
5497
5497
  vue.renderSlot(_ctx.$slots, "header")
5498
5498
  ]),
5499
- vue.createElementVNode("div", _hoisted_3$j, [
5499
+ vue.createElementVNode("div", _hoisted_3$k, [
5500
5500
  vue.renderSlot(_ctx.$slots, "default")
5501
5501
  ])
5502
5502
  ]);
@@ -5567,7 +5567,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
5567
5567
  });
5568
5568
  const _hoisted_1$x = { class: "table-list-wrap h-100" };
5569
5569
  const _hoisted_2$o = { class: "infinite-wrapper" };
5570
- const _hoisted_3$i = { class: "row first-row" };
5570
+ const _hoisted_3$j = { class: "row first-row" };
5571
5571
  const _hoisted_4$c = ["onClick"];
5572
5572
  const _hoisted_5$a = { class: "flex" };
5573
5573
  const _hoisted_6$6 = ["onClick"];
@@ -5608,7 +5608,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
5608
5608
  return (_ctx, _cache) => {
5609
5609
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
5610
5610
  vue.createElementVNode("table", _hoisted_2$o, [
5611
- vue.createElementVNode("thead", _hoisted_3$i, [
5611
+ vue.createElementVNode("thead", _hoisted_3$j, [
5612
5612
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field) => {
5613
5613
  return vue.openBlock(), vue.createElementBlock("th", {
5614
5614
  class: "col",
@@ -5707,7 +5707,7 @@ const _hoisted_2$n = {
5707
5707
  key: 0,
5708
5708
  class: "data-row"
5709
5709
  };
5710
- const _hoisted_3$h = { class: "key" };
5710
+ const _hoisted_3$i = { class: "key" };
5711
5711
  const _hoisted_4$b = { key: 1 };
5712
5712
  const _hoisted_5$9 = { class: "key" };
5713
5713
  const _hoisted_6$5 = { class: "vlue" };
@@ -5735,7 +5735,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
5735
5735
  key: field.id
5736
5736
  }, [
5737
5737
  vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$n, [
5738
- vue.createElementVNode("div", _hoisted_3$h, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1),
5738
+ vue.createElementVNode("div", _hoisted_3$i, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1),
5739
5739
  vue.createVNode(vue.unref(_sfc_main$l), {
5740
5740
  field,
5741
5741
  modelValue: itemData.value,
@@ -5931,7 +5931,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
5931
5931
  const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-10743b06"]]);
5932
5932
  const _hoisted_1$r = { class: "bgl_vid" };
5933
5933
  const _hoisted_2$m = ["src"];
5934
- const _hoisted_3$g = ["src", "autoplay", "muted", "loop", "controls"];
5934
+ const _hoisted_3$h = ["src", "autoplay", "muted", "loop", "controls"];
5935
5935
  const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
5936
5936
  __name: "BglVideo",
5937
5937
  props: {
@@ -5988,7 +5988,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
5988
5988
  style: vue.normalizeStyle({ aspectRatio: aspectRatio.value }),
5989
5989
  controls: _ctx.controls,
5990
5990
  playsinline: ""
5991
- }, null, 12, _hoisted_3$g))
5991
+ }, null, 12, _hoisted_3$h))
5992
5992
  ]);
5993
5993
  };
5994
5994
  }
@@ -6381,7 +6381,7 @@ const _hoisted_2$k = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.cr
6381
6381
  }, [
6382
6382
  /* @__PURE__ */ vue.createElementVNode("path", { d: "M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z" })
6383
6383
  ], -1));
6384
- const _hoisted_3$f = [
6384
+ const _hoisted_3$g = [
6385
6385
  _hoisted_2$k
6386
6386
  ];
6387
6387
  const _hoisted_4$a = ["required", "id"];
@@ -6408,7 +6408,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
6408
6408
  vue.createElementVNode("div", {
6409
6409
  class: vue.normalizeClass(["check-square", { checked: checked.value }]),
6410
6410
  onClick: _cache[0] || (_cache[0] = ($event) => checked.value = !checked.value)
6411
- }, _hoisted_3$f, 2),
6411
+ }, _hoisted_3$g, 2),
6412
6412
  vue.createElementVNode("label", null, [
6413
6413
  vue.withDirectives(vue.createElementVNode("input", {
6414
6414
  required: _ctx.required,
@@ -15089,7 +15089,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
15089
15089
  });
15090
15090
  const _hoisted_1$n = ["title"];
15091
15091
  const _hoisted_2$i = { key: 0 };
15092
- const _hoisted_3$e = ["value", "placeholder"];
15092
+ const _hoisted_3$f = ["value", "placeholder"];
15093
15093
  const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
15094
15094
  __name: "JSONInput",
15095
15095
  props: {
@@ -15121,14 +15121,15 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
15121
15121
  onInput: handleInput,
15122
15122
  class: vue.normalizeClass({ "no-edit": !_ctx.editMode }),
15123
15123
  placeholder: _ctx.placeholder
15124
- }, null, 42, _hoisted_3$e)
15124
+ }, null, 42, _hoisted_3$f)
15125
15125
  ], 10, _hoisted_1$n);
15126
15126
  };
15127
15127
  }
15128
15128
  });
15129
15129
  const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-1fc4f739"]]);
15130
15130
  const _hoisted_1$m = ["disabled"];
15131
- const _hoisted_2$h = ["onClick"];
15131
+ const _hoisted_2$h = ["value"];
15132
+ const _hoisted_3$e = ["onClick"];
15132
15133
  const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
15133
15134
  __name: "SelectInput",
15134
15135
  props: {
@@ -15189,13 +15190,17 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
15189
15190
  return option2.value;
15190
15191
  };
15191
15192
  const isSelected = (option2) => !!selectedItems.value.find((item) => getValue(option2) === getValue(item));
15192
- const filteredOptions = vue.computed(() => props2.options.filter((option2) => {
15193
- const searchTerm = new RegExp(search.value, "gi");
15194
- return Boolean(option2) && (getLabel(option2).match(searchTerm) || getValue(option2).match(searchTerm));
15195
- }));
15193
+ const filteredOptions = vue.computed(
15194
+ () => props2.options.filter((option2) => {
15195
+ const searchTerm = new RegExp(search.value, "gi");
15196
+ return Boolean(option2) && (getLabel(option2).match(searchTerm) || getValue(option2).match(searchTerm));
15197
+ })
15198
+ );
15196
15199
  const select2 = (option2) => {
15197
15200
  var _a2;
15198
- const existingIndex = selectedItems.value.findIndex((item) => getValue(item) === getValue(option2));
15201
+ const existingIndex = selectedItems.value.findIndex(
15202
+ (item) => getValue(item) === getValue(option2)
15203
+ );
15199
15204
  if (existingIndex > -1)
15200
15205
  selectedItems.value.splice(existingIndex, 1);
15201
15206
  else if (props2.multiselect) {
@@ -15217,7 +15222,9 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
15217
15222
  }
15218
15223
  }
15219
15224
  function compareArrays(arr1, arr2) {
15220
- const isSame = arr1.every((item) => arr2.map((a2) => getValue(a2)).includes(getValue(item)));
15225
+ const isSame = arr1.every(
15226
+ (item) => arr2.map((a2) => getValue(a2)).includes(getValue(item))
15227
+ );
15221
15228
  return isSame;
15222
15229
  }
15223
15230
  vue.watch(
@@ -15236,19 +15243,24 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
15236
15243
  },
15237
15244
  { immediate: true }
15238
15245
  );
15239
- vue.watch(() => props2.options, () => {
15240
- const original = JSON.stringify(selectedItems.value);
15241
- [...selectedItems.value].forEach((option2, i2) => {
15242
- const exists = props2.options.find((o2) => getValue(o2) === getValue(option2));
15243
- if (!exists)
15244
- selectedItems.value.splice(i2, 1);
15245
- else
15246
- selectedItems.value.splice(i2, 1, exists);
15247
- });
15248
- const newSelection = JSON.stringify(selectedItems.value);
15249
- if (original !== newSelection)
15250
- emitUpdate();
15251
- });
15246
+ vue.watch(
15247
+ () => props2.options,
15248
+ () => {
15249
+ const original = JSON.stringify(selectedItems.value);
15250
+ [...selectedItems.value].forEach((option2, i2) => {
15251
+ const exists = props2.options.find(
15252
+ (o2) => getValue(o2) === getValue(option2)
15253
+ );
15254
+ if (!exists)
15255
+ selectedItems.value.splice(i2, 1);
15256
+ else
15257
+ selectedItems.value.splice(i2, 1, exists);
15258
+ });
15259
+ const newSelection = JSON.stringify(selectedItems.value);
15260
+ if (original !== newSelection)
15261
+ emitUpdate();
15262
+ }
15263
+ );
15252
15264
  return (_ctx, _cache) => {
15253
15265
  return vue.openBlock(), vue.createBlock(vue.unref(kt$1), {
15254
15266
  onHide: _cache[3] || (_cache[3] = ($event) => updateOpen(false)),
@@ -15289,7 +15301,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
15289
15301
  icon: "fiber_manual_record"
15290
15302
  })) : vue.createCommentVNode("", true),
15291
15303
  vue.createElementVNode("span", null, vue.toDisplayString(getLabel(option2)), 1)
15292
- ], 10, _hoisted_2$h);
15304
+ ], 10, _hoisted_3$e);
15293
15305
  }), 128)),
15294
15306
  vue.renderSlot(_ctx.$slots, "last", {}, void 0, true)
15295
15307
  ]),
@@ -15308,14 +15320,13 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
15308
15320
  vue.createElementVNode("p", null, vue.toDisplayString(selectedLabel.value), 1),
15309
15321
  vue.createVNode(vue.unref(_sfc_main$H), vue.normalizeProps(vue.guardReactiveProps({ icon: vue.unref(open) ? "unfold_less" : "unfold_more" })), null, 16)
15310
15322
  ], 10, _hoisted_1$m),
15311
- _ctx.required ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
15323
+ _ctx.required ? (vue.openBlock(), vue.createElementBlock("input", {
15312
15324
  key: 0,
15313
15325
  style: { "width": "0", "height": "0", "position": "absolute", "opacity": "0", "z-index": "-1" },
15314
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => selectedItems.value = $event),
15326
+ onInput: _cache[1] || (_cache[1] = ($event) => updateOpen(true)),
15327
+ value: selectedItems.value,
15315
15328
  required: ""
15316
- }, null, 512)), [
15317
- [vue.vModelText, selectedItems.value]
15318
- ]) : vue.createCommentVNode("", true)
15329
+ }, null, 40, _hoisted_2$h)) : vue.createCommentVNode("", true)
15319
15330
  ])
15320
15331
  ]),
15321
15332
  _: 3
@@ -15323,7 +15334,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
15323
15334
  };
15324
15335
  }
15325
15336
  });
15326
- const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-8235eff6"]]);
15337
+ const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-70fd5ae7"]]);
15327
15338
  /*!
15328
15339
  * vue-draggable-next v2.2.0
15329
15340
  * (c) 2023 Anish George
@@ -45758,8 +45769,21 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
45758
45769
  modelValue: {}
45759
45770
  },
45760
45771
  setup(__props) {
45772
+ const props2 = __props;
45773
+ const slots = vue.useSlots();
45761
45774
  const group = Math.random().toString(36).substring(7);
45762
45775
  const { currentTab } = useTabs(group);
45776
+ const tabValue = (tab) => typeof tab === "string" ? tab : tab.id;
45777
+ const tabComponent = vue.defineComponent({
45778
+ render() {
45779
+ var _a2, _b, _c;
45780
+ const currentTabIndex = props2.tabs.findIndex(
45781
+ (tab) => tabValue(tab) === currentTab.value
45782
+ );
45783
+ const slotChildren = (_c = (_b = (_a2 = slots == null ? void 0 : slots.default) == null ? void 0 : _a2.call(slots)) == null ? void 0 : _b[1]) == null ? void 0 : _c.children;
45784
+ return vue.h("div", slotChildren == null ? void 0 : slotChildren[currentTabIndex]);
45785
+ }
45786
+ });
45763
45787
  return (_ctx, _cache) => {
45764
45788
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
45765
45789
  vue.createVNode(vue.unref(TabsNav), {
@@ -45768,7 +45792,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
45768
45792
  class: "mb-05"
45769
45793
  }, null, 8, ["tabs", "group"]),
45770
45794
  vue.unref(currentTab) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$3, [
45771
- vue.renderSlot(_ctx.$slots, vue.unref(currentTab))
45795
+ vue.unref(slots)[vue.unref(currentTab)] ? vue.renderSlot(_ctx.$slots, vue.unref(currentTab), { key: 0 }) : vue.unref(currentTab) ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(tabComponent)), { key: 1 })) : vue.createCommentVNode("", true)
45772
45796
  ])) : vue.createCommentVNode("", true)
45773
45797
  ], 64);
45774
45798
  };