@bluepic/embed 0.1.15 → 0.1.16

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.
Files changed (60) hide show
  1. package/lib/bluepic-fields.es.js +279 -240
  2. package/lib/bluepic-fields.umd.js +4 -4
  3. package/lib/components/BluepicEmbeddedEditor.vue.d.ts +93 -1
  4. package/lib/components/BluepicEmbeddedEditor.vue.d.ts.map +1 -1
  5. package/lib/components/BxDropdown.vue.d.ts +11 -0
  6. package/lib/components/BxDropdown.vue.d.ts.map +1 -1
  7. package/lib/components/BxInput.vue.d.ts +71 -1
  8. package/lib/components/BxInput.vue.d.ts.map +1 -1
  9. package/lib/components/BxPopover.vue.d.ts +11 -0
  10. package/lib/components/BxPopover.vue.d.ts.map +1 -1
  11. package/lib/components/BxSelect.vue.d.ts +36 -1
  12. package/lib/components/BxSelect.vue.d.ts.map +1 -1
  13. package/lib/components/BxTooltip.vue.d.ts +35 -0
  14. package/lib/components/BxTooltip.vue.d.ts.map +1 -1
  15. package/lib/components/CollectionEntryFields.vue.d.ts +70 -0
  16. package/lib/components/CollectionEntryFields.vue.d.ts.map +1 -1
  17. package/lib/components/CollectionFieldPopup.vue.d.ts +70 -0
  18. package/lib/components/CollectionFieldPopup.vue.d.ts.map +1 -1
  19. package/lib/components/Fields.vue.d.ts +35 -0
  20. package/lib/components/Fields.vue.d.ts.map +1 -1
  21. package/lib/components/FieldsList.vue.d.ts +35 -0
  22. package/lib/components/FieldsList.vue.d.ts.map +1 -1
  23. package/lib/components/ImageLibraries/Pexels.vue.d.ts +71 -1
  24. package/lib/components/ImageLibraries/Pexels.vue.d.ts.map +1 -1
  25. package/lib/components/ImageLibraryWrapper.vue.d.ts +71 -1
  26. package/lib/components/ImageLibraryWrapper.vue.d.ts.map +1 -1
  27. package/lib/components/ImportData.vue.d.ts +107 -2
  28. package/lib/components/ImportData.vue.d.ts.map +1 -1
  29. package/lib/components/MobileFieldsSlide.vue.d.ts +11 -0
  30. package/lib/components/MobileFieldsSlide.vue.d.ts.map +1 -1
  31. package/lib/components/PopoverElement.vue.d.ts +8 -0
  32. package/lib/components/PopoverElement.vue.d.ts.map +1 -1
  33. package/lib/components/SelectItem.vue.d.ts +36 -1
  34. package/lib/components/SelectItem.vue.d.ts.map +1 -1
  35. package/lib/components/SlidesNavigation.vue.d.ts +36 -1
  36. package/lib/components/SlidesNavigation.vue.d.ts.map +1 -1
  37. package/lib/components/TableDataMatcher.vue.d.ts +36 -1
  38. package/lib/components/TableDataMatcher.vue.d.ts.map +1 -1
  39. package/lib/components/fields/Collection.vue.d.ts +70 -0
  40. package/lib/components/fields/Collection.vue.d.ts.map +1 -1
  41. package/lib/components/fields/Group.vue.d.ts +70 -0
  42. package/lib/components/fields/Group.vue.d.ts.map +1 -1
  43. package/lib/components/fields/Image.vue.d.ts +82 -1
  44. package/lib/components/fields/Image.vue.d.ts.map +1 -1
  45. package/lib/components/fields/ImageEdit.vue.d.ts +118 -2
  46. package/lib/components/fields/ImageEdit.vue.d.ts.map +1 -1
  47. package/lib/components/fields/Select.vue.d.ts +36 -1
  48. package/lib/components/fields/Select.vue.d.ts.map +1 -1
  49. package/lib/components/fields/SelectColor.vue.d.ts +36 -1
  50. package/lib/components/fields/SelectColor.vue.d.ts.map +1 -1
  51. package/lib/components/fields/SelectImage.vue.d.ts +36 -1
  52. package/lib/components/fields/SelectImage.vue.d.ts.map +1 -1
  53. package/lib/components/fields/SelectText.vue.d.ts +36 -1
  54. package/lib/components/fields/SelectText.vue.d.ts.map +1 -1
  55. package/lib/components/fields/Text.vue.d.ts +71 -1
  56. package/lib/components/fields/Text.vue.d.ts.map +1 -1
  57. package/lib/style.css +1 -1
  58. package/lib/util/useElementBounding.d.ts +9 -0
  59. package/lib/util/useElementBounding.d.ts.map +1 -0
  60. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { ref as ref$1, inject, computed, provide, defineComponent, openBlock, createElementBlock, normalizeClass, useSlots, createBlock, resolveDynamicComponent, unref, withCtx, renderSlot, createCommentVNode, createElementVNode, createStaticVNode, normalizeStyle, createVNode, normalizeProps, guardReactiveProps, mergeProps, toDisplayString, toRef, h, watch, nextTick as nextTick$3, onUnmounted, onMounted, Fragment, renderList, createTextVNode, watchEffect, mergeModels, useModel, shallowRef, getCurrentScope, onScopeDispose, shallowReadonly, getCurrentInstance, withDirectives, vModelText, vModelDynamic, Transition, createSlots, resolveComponent, vShow, withModifiers, TransitionGroup, createApp, reactive, onUpdated, onBeforeUnmount, onBeforeUpdate, toRaw } from "vue";
1
+ import { ref as ref$1, inject, computed, provide, defineComponent, openBlock, createElementBlock, normalizeClass, useSlots, createBlock, resolveDynamicComponent, unref, withCtx, renderSlot, createCommentVNode, createElementVNode, createStaticVNode, normalizeStyle, createVNode, normalizeProps, guardReactiveProps, mergeProps, toDisplayString, toRef, h, watch, nextTick as nextTick$3, onUnmounted, onMounted, Fragment, renderList, createTextVNode, watchEffect, mergeModels, useModel, shallowRef, getCurrentScope, onScopeDispose, shallowReadonly, onBeforeUnmount, withDirectives, vModelText, vModelDynamic, getCurrentInstance, Transition, createSlots, resolveComponent, vShow, withModifiers, TransitionGroup, createApp, reactive, onUpdated, onBeforeUpdate, toRaw } from "vue";
2
2
  class Node$1 {
3
3
  value;
4
4
  next;
@@ -30086,7 +30086,8 @@ const _hoisted_1$L = ["data-bx-popover-id"], _hoisted_2$y = ["data-origin", "dat
30086
30086
  arrow: { type: Boolean },
30087
30087
  bxPopoverId: {},
30088
30088
  noPointerEvents: { type: Boolean, default: !1 },
30089
- darkmode: { type: Boolean }
30089
+ darkmode: { type: Boolean },
30090
+ overflowVisible: { type: Boolean }
30090
30091
  },
30091
30092
  emits: ["close", "click-outside", "mouseenter", "mouseleave"],
30092
30093
  setup(n, { emit: t }) {
@@ -30168,7 +30169,7 @@ const _hoisted_1$L = ["data-bx-popover-id"], _hoisted_2$y = ["data-origin", "dat
30168
30169
  onMouseleave: He
30169
30170
  }, [
30170
30171
  createElementVNode("div", {
30171
- class: normalizeClass(["popover-frame-wrapper", { arrow: Tr.arrow }]),
30172
+ class: normalizeClass(["popover-frame-wrapper", { arrow: Tr.arrow, "overflow-visible": Tr.overflowVisible }]),
30172
30173
  "data-origin": xr.value,
30173
30174
  "data-placement": unref(o),
30174
30175
  style: normalizeStyle({
@@ -30187,7 +30188,7 @@ const _hoisted_1$L = ["data-bx-popover-id"], _hoisted_2$y = ["data-origin", "dat
30187
30188
  ], 36)
30188
30189
  ], 10, _hoisted_1$L));
30189
30190
  }
30190
- }), PopoverElement_vue_vue_type_style_index_0_scoped_593bcc53_lang = "", PopoverElement = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-593bcc53"]]), _sfc_main$Z = /* @__PURE__ */ defineComponent({
30191
+ }), PopoverElement_vue_vue_type_style_index_0_scoped_1c8c4d7c_lang = "", PopoverElement = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-1c8c4d7c"]]), _sfc_main$Z = /* @__PURE__ */ defineComponent({
30191
30192
  __name: "BxPopover",
30192
30193
  props: {
30193
30194
  show: { type: Boolean },
@@ -30211,7 +30212,8 @@ const _hoisted_1$L = ["data-bx-popover-id"], _hoisted_2$y = ["data-origin", "dat
30211
30212
  ] },
30212
30213
  arrow: { type: Boolean, default: !0 },
30213
30214
  leaveLazyness: { default: 200 },
30214
- darkmode: { type: Boolean }
30215
+ darkmode: { type: Boolean },
30216
+ overflowVisible: { type: Boolean, default: !1 }
30215
30217
  },
30216
30218
  emits: ["update:show"],
30217
30219
  setup(n, { expose: t, emit: c }) {
@@ -30294,6 +30296,7 @@ const _hoisted_1$L = ["data-bx-popover-id"], _hoisted_2$y = ["data-origin", "dat
30294
30296
  bxPopoverId: $e,
30295
30297
  noPointerEvents: u.trigger === "hover" || u.trigger === "manual",
30296
30298
  darkmode: Qr.value,
30299
+ overflowVisible: u.overflowVisible,
30297
30300
  onMouseenter() {
30298
30301
  Sr.value = !0;
30299
30302
  },
@@ -30326,7 +30329,7 @@ const _hoisted_1$L = ["data-bx-popover-id"], _hoisted_2$y = ["data-origin", "dat
30326
30329
  ref: unref(o)(Jr)
30327
30330
  }, null, 512))), 256));
30328
30331
  }
30329
- }), BxPopover_vue_vue_type_style_index_0_scoped_9574d9f2_lang = "", BxPopover = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-9574d9f2"]]), _hoisted_1$K = ["onClick"], _hoisted_2$x = {
30332
+ }), BxPopover_vue_vue_type_style_index_0_scoped_977db648_lang = "", BxPopover = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-977db648"]]), _hoisted_1$K = ["onClick"], _hoisted_2$x = {
30330
30333
  key: 0,
30331
30334
  class: "icon-wrapper"
30332
30335
  }, _hoisted_3$p = {
@@ -30388,234 +30391,34 @@ const _hoisted_1$L = ["data-bx-popover-id"], _hoisted_2$y = ["data-origin", "dat
30388
30391
  ], 10, _hoisted_1$K))), 128))
30389
30392
  ], 2));
30390
30393
  }
30391
- }), BxMenu_vue_vue_type_style_index_0_scoped_9f35bfef_lang = "", BxMenu = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-9f35bfef"]]), global$1 = globalThis || void 0 || self;
30392
- function tryOnScopeDispose(n) {
30393
- return getCurrentScope() ? (onScopeDispose(n), !0) : !1;
30394
- }
30395
- function toValue(n) {
30396
- return typeof n == "function" ? n() : unref(n);
30397
- }
30398
- const isClient = typeof window < "u" && typeof document < "u";
30399
- typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
30400
- const notNullish = (n) => n != null, toString$1 = Object.prototype.toString, isObject$3 = (n) => toString$1.call(n) === "[object Object]", noop = () => {
30401
- };
30402
- function getLifeCycleTarget(n) {
30403
- return n || getCurrentInstance();
30404
- }
30405
- function tryOnMounted(n, t = !0, c) {
30406
- getLifeCycleTarget() ? onMounted(n, c) : t ? n() : nextTick$3(n);
30407
- }
30408
- function unrefElement(n) {
30409
- var t;
30410
- const c = toValue(n);
30411
- return (t = c?.$el) != null ? t : c;
30412
- }
30413
- const defaultWindow = isClient ? window : void 0;
30414
- isClient && window.document;
30415
- isClient && window.navigator;
30416
- isClient && window.location;
30417
- function useEventListener(...n) {
30418
- let t, c, u, ye;
30419
- if (typeof n[0] == "string" || Array.isArray(n[0]) ? ([c, u, ye] = n, t = defaultWindow) : [t, c, u, ye] = n, !t)
30420
- return noop;
30421
- Array.isArray(c) || (c = [c]), Array.isArray(u) || (u = [u]);
30422
- const d = [], $e = () => {
30423
- d.forEach((He) => He()), d.length = 0;
30424
- }, o = (He, cr, xr, Sr) => (He.addEventListener(cr, xr, Sr), () => He.removeEventListener(cr, xr, Sr)), je = watch(
30425
- () => [unrefElement(t), toValue(ye)],
30426
- ([He, cr]) => {
30427
- if ($e(), !He)
30428
- return;
30429
- const xr = isObject$3(cr) ? { ...cr } : cr;
30430
- d.push(
30431
- ...c.flatMap((Sr) => u.map((wr) => o(He, Sr, wr, xr)))
30432
- );
30433
- },
30434
- { immediate: !0, flush: "post" }
30435
- ), or = () => {
30436
- je(), $e();
30394
+ }), BxMenu_vue_vue_type_style_index_0_scoped_9f35bfef_lang = "", BxMenu = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-9f35bfef"]]);
30395
+ function useElementBounding$1(n) {
30396
+ const t = ref$1(), c = () => {
30397
+ n.value && (t.value = n.value.getBoundingClientRect());
30437
30398
  };
30438
- return tryOnScopeDispose(or), or;
30439
- }
30440
- function useMounted() {
30441
- const n = ref$1(!1), t = getCurrentInstance();
30442
- return t && onMounted(() => {
30443
- n.value = !0;
30444
- }, t), n;
30445
- }
30446
- function useSupported(n) {
30447
- const t = useMounted();
30448
- return computed(() => (t.value, Boolean(n())));
30449
- }
30450
- function useMutationObserver(n, t, c = {}) {
30451
- const { window: u = defaultWindow, ...ye } = c;
30452
- let d;
30453
- const $e = useSupported(() => u && "MutationObserver" in u), o = () => {
30454
- d && (d.disconnect(), d = void 0);
30455
- }, je = computed(() => {
30456
- const xr = toValue(n), Sr = (Array.isArray(xr) ? xr : [xr]).map(unrefElement).filter(notNullish);
30457
- return new Set(Sr);
30458
- }), or = watch(
30459
- () => je.value,
30460
- (xr) => {
30461
- o(), $e.value && xr.size && (d = new MutationObserver(t), xr.forEach((Sr) => d.observe(Sr, ye)));
30462
- },
30463
- { immediate: !0, flush: "post" }
30464
- ), He = () => d?.takeRecords(), cr = () => {
30465
- o(), or();
30466
- };
30467
- return tryOnScopeDispose(cr), {
30468
- isSupported: $e,
30469
- stop: cr,
30470
- takeRecords: He
30471
- };
30472
- }
30473
- function useMediaQuery(n, t = {}) {
30474
- const { window: c = defaultWindow } = t, u = useSupported(() => c && "matchMedia" in c && typeof c.matchMedia == "function");
30475
- let ye;
30476
- const d = ref$1(!1), $e = (or) => {
30477
- d.value = or.matches;
30478
- }, o = () => {
30479
- !ye || ("removeEventListener" in ye ? ye.removeEventListener("change", $e) : ye.removeListener($e));
30480
- }, je = watchEffect(() => {
30481
- !u.value || (o(), ye = c.matchMedia(toValue(n)), "addEventListener" in ye ? ye.addEventListener("change", $e) : ye.addListener($e), d.value = ye.matches);
30399
+ onMounted(() => {
30400
+ c(), window.addEventListener("resize", c);
30482
30401
  });
30483
- return tryOnScopeDispose(() => {
30484
- je(), o(), ye = void 0;
30485
- }), d;
30486
- }
30487
- function useResizeObserver(n, t, c = {}) {
30488
- const { window: u = defaultWindow, ...ye } = c;
30489
- let d;
30490
- const $e = useSupported(() => u && "ResizeObserver" in u), o = () => {
30491
- d && (d.disconnect(), d = void 0);
30492
- }, je = computed(() => Array.isArray(n) ? n.map((cr) => unrefElement(cr)) : [unrefElement(n)]), or = watch(
30493
- je,
30494
- (cr) => {
30495
- if (o(), $e.value && u) {
30496
- d = new ResizeObserver(t);
30497
- for (const xr of cr)
30498
- xr && d.observe(xr, ye);
30499
- }
30500
- },
30501
- { immediate: !0, flush: "post" }
30502
- ), He = () => {
30503
- o(), or();
30504
- };
30505
- return tryOnScopeDispose(He), {
30506
- isSupported: $e,
30507
- stop: He
30508
- };
30509
- }
30510
- function useElementBounding(n, t = {}) {
30511
- const {
30512
- reset: c = !0,
30513
- windowResize: u = !0,
30514
- windowScroll: ye = !0,
30515
- immediate: d = !0
30516
- } = t, $e = ref$1(0), o = ref$1(0), je = ref$1(0), or = ref$1(0), He = ref$1(0), cr = ref$1(0), xr = ref$1(0), Sr = ref$1(0);
30517
- function wr() {
30518
- const Tr = unrefElement(n);
30519
- if (!Tr) {
30520
- c && ($e.value = 0, o.value = 0, je.value = 0, or.value = 0, He.value = 0, cr.value = 0, xr.value = 0, Sr.value = 0);
30521
- return;
30522
- }
30523
- const Br = Tr.getBoundingClientRect();
30524
- $e.value = Br.height, o.value = Br.bottom, je.value = Br.left, or.value = Br.right, He.value = Br.top, cr.value = Br.width, xr.value = Br.x, Sr.value = Br.y;
30525
- }
30526
- return useResizeObserver(n, wr), watch(() => unrefElement(n), (Tr) => !Tr && wr()), useMutationObserver(n, wr, {
30527
- attributeFilter: ["style", "class"]
30528
- }), ye && useEventListener("scroll", wr, { capture: !0, passive: !0 }), u && useEventListener("resize", wr, { passive: !0 }), tryOnMounted(() => {
30529
- d && wr();
30530
- }), {
30531
- height: $e,
30532
- bottom: o,
30533
- left: je,
30534
- right: or,
30535
- top: He,
30536
- width: cr,
30537
- x: xr,
30538
- y: Sr,
30539
- update: wr
30540
- };
30541
- }
30542
- function useIntersectionObserver(n, t, c = {}) {
30543
- const {
30544
- root: u,
30545
- rootMargin: ye = "0px",
30546
- threshold: d = 0.1,
30547
- window: $e = defaultWindow,
30548
- immediate: o = !0
30549
- } = c, je = useSupported(() => $e && "IntersectionObserver" in $e), or = computed(() => {
30550
- const wr = toValue(n);
30551
- return (Array.isArray(wr) ? wr : [wr]).map(unrefElement).filter(notNullish);
30402
+ const u = new ResizeObserver(() => {
30403
+ c();
30404
+ }), ye = new MutationObserver(() => {
30405
+ c();
30406
+ }), d = watch(n, ($e, o) => {
30407
+ $e && !o && (u.observe($e), ye.observe($e, {
30408
+ attributes: !0,
30409
+ childList: !0,
30410
+ subtree: !0
30411
+ }));
30552
30412
  });
30553
- let He = noop;
30554
- const cr = ref$1(o), xr = je.value ? watch(
30555
- () => [or.value, unrefElement(u), cr.value],
30556
- ([wr, Tr]) => {
30557
- if (He(), !cr.value || !wr.length)
30558
- return;
30559
- const Br = new IntersectionObserver(
30560
- t,
30561
- {
30562
- root: unrefElement(Tr),
30563
- rootMargin: ye,
30564
- threshold: d
30565
- }
30566
- );
30567
- wr.forEach((Ur) => Ur && Br.observe(Ur)), He = () => {
30568
- Br.disconnect(), He = noop;
30569
- };
30570
- },
30571
- { immediate: o, flush: "post" }
30572
- ) : noop, Sr = () => {
30573
- He(), xr(), cr.value = !1;
30574
- };
30575
- return tryOnScopeDispose(Sr), {
30576
- isSupported: je,
30577
- isActive: cr,
30578
- pause() {
30579
- He(), cr.value = !1;
30580
- },
30581
- resume() {
30582
- cr.value = !0;
30583
- },
30584
- stop: Sr
30585
- };
30586
- }
30587
- function useElementVisibility(n, t = {}) {
30588
- const { window: c = defaultWindow, scrollTarget: u, threshold: ye = 0 } = t, d = ref$1(!1);
30589
- return useIntersectionObserver(
30590
- n,
30591
- ($e) => {
30592
- let o = d.value, je = 0;
30593
- for (const or of $e)
30594
- or.time >= je && (je = or.time, o = or.isIntersecting);
30595
- d.value = o;
30596
- },
30597
- {
30598
- root: u,
30599
- window: c,
30600
- threshold: ye
30601
- }
30602
- ), d;
30603
- }
30604
- function useWindowSize(n = {}) {
30605
- const {
30606
- window: t = defaultWindow,
30607
- initialWidth: c = Number.POSITIVE_INFINITY,
30608
- initialHeight: u = Number.POSITIVE_INFINITY,
30609
- listenOrientation: ye = !0,
30610
- includeScrollbar: d = !0
30611
- } = n, $e = ref$1(c), o = ref$1(u), je = () => {
30612
- t && (d ? ($e.value = t.innerWidth, o.value = t.innerHeight) : ($e.value = t.document.documentElement.clientWidth, o.value = t.document.documentElement.clientHeight));
30413
+ return onBeforeUnmount(() => {
30414
+ window.removeEventListener("resize", c), d(), u.disconnect(), ye.disconnect();
30415
+ }), {
30416
+ rect: t,
30417
+ width: computed(() => t.value?.width),
30418
+ height: computed(() => t.value?.height),
30419
+ x: computed(() => t.value?.x),
30420
+ y: computed(() => t.value?.y)
30613
30421
  };
30614
- if (je(), tryOnMounted(je), useEventListener("resize", je, { passive: !0 }), ye) {
30615
- const or = useMediaQuery("(orientation: portrait)");
30616
- watch(or, () => je());
30617
- }
30618
- return { width: $e, height: o };
30619
30422
  }
30620
30423
  const _hoisted_1$J = {
30621
30424
  key: 0,
@@ -30640,7 +30443,11 @@ const _hoisted_1$J = {
30640
30443
  }),
30641
30444
  emits: ["update:modelValue", "update:show"],
30642
30445
  setup(n, { expose: t }) {
30643
- const c = n, u = useSlots(), ye = useModel(n, "modelValue"), d = ref$1(), { width: $e } = useElementBounding(d), o = useDarkmode(), je = ref$1(), or = useModel(n, "show"), He = computed(() => c.options.find((Br) => Br.value === ye.value)?.label), cr = computed(() => {
30446
+ const c = n, u = useSlots(), ye = useModel(n, "modelValue"), d = ref$1(), { width: $e } = useElementBounding$1(d);
30447
+ watchEffect(() => {
30448
+ console.log("bxSelectMainWidth", $e.value);
30449
+ });
30450
+ const o = useDarkmode(), je = ref$1(), or = useModel(n, "show"), He = computed(() => c.options.find((Br) => Br.value === ye.value)?.label), cr = computed(() => {
30644
30451
  const Tr = c.options.find((Br) => Br.value === ye.value);
30645
30452
  if (!!Tr)
30646
30453
  return u["render-option-icon"] ? () => u["render-option-icon"]({ option: Tr, isActive: xr(Tr) }) : Tr.icon;
@@ -30734,7 +30541,7 @@ const _hoisted_1$J = {
30734
30541
  }, 8, ["trigger", "show", "darkmode"])
30735
30542
  ], 6));
30736
30543
  }
30737
- }), BxSelect_vue_vue_type_style_index_0_scoped_eb7ec8e0_lang = "", BxSelect_vue_vue_type_style_index_1_lang = "", BxSelect = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-eb7ec8e0"]]), _hoisted_1$I = { class: "tooltip-wrapper" }, _sfc_main$W = /* @__PURE__ */ defineComponent({
30544
+ }), BxSelect_vue_vue_type_style_index_0_scoped_c9d87a31_lang = "", BxSelect_vue_vue_type_style_index_1_lang = "", BxSelect = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-c9d87a31"]]), _hoisted_1$I = { class: "tooltip-wrapper" }, _sfc_main$W = /* @__PURE__ */ defineComponent({
30738
30545
  __name: "BxTooltip",
30739
30546
  props: /* @__PURE__ */ mergeModels({
30740
30547
  trigger: {},
@@ -30763,7 +30570,8 @@ const _hoisted_1$J = {
30763
30570
  trigger: He.trigger,
30764
30571
  "darken-background": !1,
30765
30572
  "allowed-placements": He.allowedPlacements,
30766
- "custom-classes": ["tooltip-popover", ...unref(d) ? ["darkmode"] : [], ...c.customPopoverClasses ?? []]
30573
+ "custom-classes": ["tooltip-popover", ...unref(d) ? ["darkmode"] : [], ...c.customPopoverClasses ?? []],
30574
+ "overflow-visible": !0
30767
30575
  }, {
30768
30576
  trigger: withCtx(() => [
30769
30577
  renderSlot(He.$slots, "trigger", {}, void 0, !0)
@@ -30776,7 +30584,7 @@ const _hoisted_1$J = {
30776
30584
  _: 3
30777
30585
  }, 8, ["show", "trigger", "allowed-placements", "custom-classes"]));
30778
30586
  }
30779
- }), BxTooltip_vue_vue_type_style_index_0_scoped_63687e90_lang = "", BxTooltip_vue_vue_type_style_index_1_lang = "", BxTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-63687e90"]]), _hoisted_1$H = {
30587
+ }), BxTooltip_vue_vue_type_style_index_0_scoped_d97e4885_lang = "", BxTooltip_vue_vue_type_style_index_1_lang = "", BxTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-d97e4885"]]), _hoisted_1$H = {
30780
30588
  key: 0,
30781
30589
  class: "bx-input__prefix"
30782
30590
  }, _hoisted_2$v = ["placeholder", "readonly"], _hoisted_3$n = ["readonly", "placeholder", "type"], _hoisted_4$f = {
@@ -31132,6 +30940,235 @@ function usePexels(n) {
31132
30940
  searchPhotos: ye
31133
30941
  };
31134
30942
  }
30943
+ const global$1 = globalThis || void 0 || self;
30944
+ function tryOnScopeDispose(n) {
30945
+ return getCurrentScope() ? (onScopeDispose(n), !0) : !1;
30946
+ }
30947
+ function toValue(n) {
30948
+ return typeof n == "function" ? n() : unref(n);
30949
+ }
30950
+ const isClient = typeof window < "u" && typeof document < "u";
30951
+ typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
30952
+ const notNullish = (n) => n != null, toString$1 = Object.prototype.toString, isObject$3 = (n) => toString$1.call(n) === "[object Object]", noop = () => {
30953
+ };
30954
+ function getLifeCycleTarget(n) {
30955
+ return n || getCurrentInstance();
30956
+ }
30957
+ function tryOnMounted(n, t = !0, c) {
30958
+ getLifeCycleTarget() ? onMounted(n, c) : t ? n() : nextTick$3(n);
30959
+ }
30960
+ function unrefElement(n) {
30961
+ var t;
30962
+ const c = toValue(n);
30963
+ return (t = c?.$el) != null ? t : c;
30964
+ }
30965
+ const defaultWindow = isClient ? window : void 0;
30966
+ isClient && window.document;
30967
+ isClient && window.navigator;
30968
+ isClient && window.location;
30969
+ function useEventListener(...n) {
30970
+ let t, c, u, ye;
30971
+ if (typeof n[0] == "string" || Array.isArray(n[0]) ? ([c, u, ye] = n, t = defaultWindow) : [t, c, u, ye] = n, !t)
30972
+ return noop;
30973
+ Array.isArray(c) || (c = [c]), Array.isArray(u) || (u = [u]);
30974
+ const d = [], $e = () => {
30975
+ d.forEach((He) => He()), d.length = 0;
30976
+ }, o = (He, cr, xr, Sr) => (He.addEventListener(cr, xr, Sr), () => He.removeEventListener(cr, xr, Sr)), je = watch(
30977
+ () => [unrefElement(t), toValue(ye)],
30978
+ ([He, cr]) => {
30979
+ if ($e(), !He)
30980
+ return;
30981
+ const xr = isObject$3(cr) ? { ...cr } : cr;
30982
+ d.push(
30983
+ ...c.flatMap((Sr) => u.map((wr) => o(He, Sr, wr, xr)))
30984
+ );
30985
+ },
30986
+ { immediate: !0, flush: "post" }
30987
+ ), or = () => {
30988
+ je(), $e();
30989
+ };
30990
+ return tryOnScopeDispose(or), or;
30991
+ }
30992
+ function useMounted() {
30993
+ const n = ref$1(!1), t = getCurrentInstance();
30994
+ return t && onMounted(() => {
30995
+ n.value = !0;
30996
+ }, t), n;
30997
+ }
30998
+ function useSupported(n) {
30999
+ const t = useMounted();
31000
+ return computed(() => (t.value, Boolean(n())));
31001
+ }
31002
+ function useMutationObserver(n, t, c = {}) {
31003
+ const { window: u = defaultWindow, ...ye } = c;
31004
+ let d;
31005
+ const $e = useSupported(() => u && "MutationObserver" in u), o = () => {
31006
+ d && (d.disconnect(), d = void 0);
31007
+ }, je = computed(() => {
31008
+ const xr = toValue(n), Sr = (Array.isArray(xr) ? xr : [xr]).map(unrefElement).filter(notNullish);
31009
+ return new Set(Sr);
31010
+ }), or = watch(
31011
+ () => je.value,
31012
+ (xr) => {
31013
+ o(), $e.value && xr.size && (d = new MutationObserver(t), xr.forEach((Sr) => d.observe(Sr, ye)));
31014
+ },
31015
+ { immediate: !0, flush: "post" }
31016
+ ), He = () => d?.takeRecords(), cr = () => {
31017
+ o(), or();
31018
+ };
31019
+ return tryOnScopeDispose(cr), {
31020
+ isSupported: $e,
31021
+ stop: cr,
31022
+ takeRecords: He
31023
+ };
31024
+ }
31025
+ function useMediaQuery(n, t = {}) {
31026
+ const { window: c = defaultWindow } = t, u = useSupported(() => c && "matchMedia" in c && typeof c.matchMedia == "function");
31027
+ let ye;
31028
+ const d = ref$1(!1), $e = (or) => {
31029
+ d.value = or.matches;
31030
+ }, o = () => {
31031
+ !ye || ("removeEventListener" in ye ? ye.removeEventListener("change", $e) : ye.removeListener($e));
31032
+ }, je = watchEffect(() => {
31033
+ !u.value || (o(), ye = c.matchMedia(toValue(n)), "addEventListener" in ye ? ye.addEventListener("change", $e) : ye.addListener($e), d.value = ye.matches);
31034
+ });
31035
+ return tryOnScopeDispose(() => {
31036
+ je(), o(), ye = void 0;
31037
+ }), d;
31038
+ }
31039
+ function useResizeObserver(n, t, c = {}) {
31040
+ const { window: u = defaultWindow, ...ye } = c;
31041
+ let d;
31042
+ const $e = useSupported(() => u && "ResizeObserver" in u), o = () => {
31043
+ d && (d.disconnect(), d = void 0);
31044
+ }, je = computed(() => Array.isArray(n) ? n.map((cr) => unrefElement(cr)) : [unrefElement(n)]), or = watch(
31045
+ je,
31046
+ (cr) => {
31047
+ if (o(), $e.value && u) {
31048
+ d = new ResizeObserver(t);
31049
+ for (const xr of cr)
31050
+ xr && d.observe(xr, ye);
31051
+ }
31052
+ },
31053
+ { immediate: !0, flush: "post" }
31054
+ ), He = () => {
31055
+ o(), or();
31056
+ };
31057
+ return tryOnScopeDispose(He), {
31058
+ isSupported: $e,
31059
+ stop: He
31060
+ };
31061
+ }
31062
+ function useElementBounding(n, t = {}) {
31063
+ const {
31064
+ reset: c = !0,
31065
+ windowResize: u = !0,
31066
+ windowScroll: ye = !0,
31067
+ immediate: d = !0
31068
+ } = t, $e = ref$1(0), o = ref$1(0), je = ref$1(0), or = ref$1(0), He = ref$1(0), cr = ref$1(0), xr = ref$1(0), Sr = ref$1(0);
31069
+ function wr() {
31070
+ const Tr = unrefElement(n);
31071
+ if (!Tr) {
31072
+ c && ($e.value = 0, o.value = 0, je.value = 0, or.value = 0, He.value = 0, cr.value = 0, xr.value = 0, Sr.value = 0);
31073
+ return;
31074
+ }
31075
+ const Br = Tr.getBoundingClientRect();
31076
+ $e.value = Br.height, o.value = Br.bottom, je.value = Br.left, or.value = Br.right, He.value = Br.top, cr.value = Br.width, xr.value = Br.x, Sr.value = Br.y;
31077
+ }
31078
+ return useResizeObserver(n, wr), watch(() => unrefElement(n), (Tr) => !Tr && wr()), useMutationObserver(n, wr, {
31079
+ attributeFilter: ["style", "class"]
31080
+ }), ye && useEventListener("scroll", wr, { capture: !0, passive: !0 }), u && useEventListener("resize", wr, { passive: !0 }), tryOnMounted(() => {
31081
+ d && wr();
31082
+ }), {
31083
+ height: $e,
31084
+ bottom: o,
31085
+ left: je,
31086
+ right: or,
31087
+ top: He,
31088
+ width: cr,
31089
+ x: xr,
31090
+ y: Sr,
31091
+ update: wr
31092
+ };
31093
+ }
31094
+ function useIntersectionObserver(n, t, c = {}) {
31095
+ const {
31096
+ root: u,
31097
+ rootMargin: ye = "0px",
31098
+ threshold: d = 0.1,
31099
+ window: $e = defaultWindow,
31100
+ immediate: o = !0
31101
+ } = c, je = useSupported(() => $e && "IntersectionObserver" in $e), or = computed(() => {
31102
+ const wr = toValue(n);
31103
+ return (Array.isArray(wr) ? wr : [wr]).map(unrefElement).filter(notNullish);
31104
+ });
31105
+ let He = noop;
31106
+ const cr = ref$1(o), xr = je.value ? watch(
31107
+ () => [or.value, unrefElement(u), cr.value],
31108
+ ([wr, Tr]) => {
31109
+ if (He(), !cr.value || !wr.length)
31110
+ return;
31111
+ const Br = new IntersectionObserver(
31112
+ t,
31113
+ {
31114
+ root: unrefElement(Tr),
31115
+ rootMargin: ye,
31116
+ threshold: d
31117
+ }
31118
+ );
31119
+ wr.forEach((Ur) => Ur && Br.observe(Ur)), He = () => {
31120
+ Br.disconnect(), He = noop;
31121
+ };
31122
+ },
31123
+ { immediate: o, flush: "post" }
31124
+ ) : noop, Sr = () => {
31125
+ He(), xr(), cr.value = !1;
31126
+ };
31127
+ return tryOnScopeDispose(Sr), {
31128
+ isSupported: je,
31129
+ isActive: cr,
31130
+ pause() {
31131
+ He(), cr.value = !1;
31132
+ },
31133
+ resume() {
31134
+ cr.value = !0;
31135
+ },
31136
+ stop: Sr
31137
+ };
31138
+ }
31139
+ function useElementVisibility(n, t = {}) {
31140
+ const { window: c = defaultWindow, scrollTarget: u, threshold: ye = 0 } = t, d = ref$1(!1);
31141
+ return useIntersectionObserver(
31142
+ n,
31143
+ ($e) => {
31144
+ let o = d.value, je = 0;
31145
+ for (const or of $e)
31146
+ or.time >= je && (je = or.time, o = or.isIntersecting);
31147
+ d.value = o;
31148
+ },
31149
+ {
31150
+ root: u,
31151
+ window: c,
31152
+ threshold: ye
31153
+ }
31154
+ ), d;
31155
+ }
31156
+ function useWindowSize(n = {}) {
31157
+ const {
31158
+ window: t = defaultWindow,
31159
+ initialWidth: c = Number.POSITIVE_INFINITY,
31160
+ initialHeight: u = Number.POSITIVE_INFINITY,
31161
+ listenOrientation: ye = !0,
31162
+ includeScrollbar: d = !0
31163
+ } = n, $e = ref$1(c), o = ref$1(u), je = () => {
31164
+ t && (d ? ($e.value = t.innerWidth, o.value = t.innerHeight) : ($e.value = t.document.documentElement.clientWidth, o.value = t.document.documentElement.clientHeight));
31165
+ };
31166
+ if (je(), tryOnMounted(je), useEventListener("resize", je, { passive: !0 }), ye) {
31167
+ const or = useMediaQuery("(orientation: portrait)");
31168
+ watch(or, () => je());
31169
+ }
31170
+ return { width: $e, height: o };
31171
+ }
31135
31172
  const _sfc_main$U = /* @__PURE__ */ defineComponent({
31136
31173
  __name: "LazyLoadingItemWrapper",
31137
31174
  emits: ["update:visible"],
@@ -33794,7 +33831,8 @@ const _hoisted_1$y = {
33794
33831
  c.description ? (openBlock(), createElementBlock("h4", _hoisted_3$e, toDisplayString(c.description), 1)) : createCommentVNode("", !0),
33795
33832
  c.detailedDescription ? (openBlock(), createBlock(BxTooltip, {
33796
33833
  key: 2,
33797
- trigger: "hover"
33834
+ trigger: "hover",
33835
+ darkmode: unref(t)
33798
33836
  }, {
33799
33837
  trigger: withCtx(() => [
33800
33838
  createVNode(BxIcon, {
@@ -33811,7 +33849,7 @@ const _hoisted_1$y = {
33811
33849
  createTextVNode(toDisplayString(c.detailedDescription), 1)
33812
33850
  ]),
33813
33851
  _: 1
33814
- })) : createCommentVNode("", !0)
33852
+ }, 8, ["darkmode"])) : createCommentVNode("", !0)
33815
33853
  ])) : createCommentVNode("", !0),
33816
33854
  createVNode(FieldsList, {
33817
33855
  fields: c.fields,
@@ -33824,7 +33862,7 @@ const _hoisted_1$y = {
33824
33862
  }, 8, ["transculent", "class", "bordered"])
33825
33863
  ], 2));
33826
33864
  }
33827
- }), Group_vue_vue_type_style_index_0_scoped_d955787f_lang = "", Group = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-d955787f"]]), _hoisted_1$u = { class: "text-field" }, _sfc_main$F = /* @__PURE__ */ defineComponent({
33865
+ }), Group_vue_vue_type_style_index_0_scoped_af9fee81_lang = "", Group = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-af9fee81"]]), _hoisted_1$u = { class: "text-field" }, _sfc_main$F = /* @__PURE__ */ defineComponent({
33828
33866
  __name: "Text",
33829
33867
  props: /* @__PURE__ */ mergeModels({
33830
33868
  maxLength: {},
@@ -71569,7 +71607,8 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
71569
71607
  createElementVNode("span", null, toDisplayString(or.description), 1),
71570
71608
  or.detailedDescription ? (openBlock(), createBlock(BxTooltip, {
71571
71609
  key: 1,
71572
- trigger: "hover"
71610
+ trigger: "hover",
71611
+ darkmode: unref(t)
71573
71612
  }, {
71574
71613
  trigger: withCtx(() => [
71575
71614
  createVNode(BxIcon, null, {
@@ -71583,7 +71622,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
71583
71622
  createTextVNode(toDisplayString(or.detailedDescription), 1)
71584
71623
  ]),
71585
71624
  _: 2
71586
- }, 1024)) : createCommentVNode("", !0)
71625
+ }, 1032, ["darkmode"])) : createCommentVNode("", !0)
71587
71626
  ])
71588
71627
  ], 2)) : createCommentVNode("", !0),
71589
71628
  (openBlock(), createBlock(resolveDynamicComponent(BluepciFieldComponents[or.type]), mergeProps({
@@ -71607,7 +71646,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
71607
71646
  ], 6))), 256))
71608
71647
  ], 2));
71609
71648
  }
71610
- }), FieldsList_vue_vue_type_style_index_0_scoped_152cd05e_lang = "", FieldsList = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-152cd05e"]]), _hoisted_1$g = { class: "bx-fields" }, _sfc_main$n = /* @__PURE__ */ defineComponent({
71649
+ }), FieldsList_vue_vue_type_style_index_0_scoped_a73d1d0d_lang = "", FieldsList = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-a73d1d0d"]]), _hoisted_1$g = { class: "bx-fields" }, _sfc_main$n = /* @__PURE__ */ defineComponent({
71611
71650
  __name: "Fields",
71612
71651
  props: {
71613
71652
  fields: {}