@moubing/bing-ui 0.5.2 → 0.5.3

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.
@@ -931,7 +931,7 @@ var it = ["aria-label"], at = [
931
931
  disabled: z(e)
932
932
  }, () => [l(P(e.label), 1)], !0)])])], 42, at))), 128))], 42, it));
933
933
  }
934
- }), [["__scopeId", "data-v-32add4b3"]]), lt = ["aria-hidden"], ut = /* @__PURE__ */ je(/* @__PURE__ */ d({
934
+ }), [["__scopeId", "data-v-63c4761b"]]), lt = ["aria-hidden"], ut = /* @__PURE__ */ je(/* @__PURE__ */ d({
935
935
  __name: "BingAppSwitcherTransition",
936
936
  props: {
937
937
  modelValue: { default: void 0 },
@@ -1167,7 +1167,7 @@ var it = ["aria-label"], at = [
1167
1167
  "aria-label"
1168
1168
  ])) : o("", !0)], 34));
1169
1169
  }
1170
- }), [["__scopeId", "data-v-1a57e0a4"]]), dt = [
1170
+ }), [["__scopeId", "data-v-49610bbd"]]), dt = [
1171
1171
  "type",
1172
1172
  "disabled",
1173
1173
  "aria-busy",
@@ -1323,7 +1323,7 @@ var it = ["aria-label"], at = [
1323
1323
  h.value ? (T(), s("span", gt, [A(t.$slots, "suffix", {}, void 0, !0)])) : o("", !0)
1324
1324
  ])])], 46, dt));
1325
1325
  }
1326
- }), [["__scopeId", "data-v-713ef556"]]), Q = {
1326
+ }), [["__scopeId", "data-v-b4be8d7e"]]), Q = {
1327
1327
  glass: !0,
1328
1328
  glassBlur: 16,
1329
1329
  glassOpacity: .85,
@@ -1822,7 +1822,7 @@ var xt = { class: "bing-card__face bing-card__front" }, St = {
1822
1822
  }, null, 512)) : o("", !0)
1823
1823
  ], 512)], 38));
1824
1824
  }
1825
- }), [["__scopeId", "data-v-31bf117f"]]), Nt = (e) => {
1825
+ }), [["__scopeId", "data-v-4d7e8a46"]]), Nt = (e) => {
1826
1826
  for (let t in e) if (t.startsWith("aria-") || t === "role" || t === "title") return !0;
1827
1827
  return !1;
1828
1828
  }, Pt = (e) => e === "", Ft = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), It = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Lt = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), Rt = (e) => {
@@ -2755,7 +2755,7 @@ var Wn = [
2755
2755
  "aria-hidden"
2756
2756
  ]));
2757
2757
  }
2758
- }), [["__scopeId", "data-v-60cfda9d"]]), Jn = ["aria-label"], Yn = { class: "bing-resizable__content" }, Xn = {
2758
+ }), [["__scopeId", "data-v-96b11097"]]), Jn = ["aria-label"], Yn = { class: "bing-resizable__content" }, Xn = {
2759
2759
  key: 0,
2760
2760
  class: "bing-resizable__size",
2761
2761
  "aria-hidden": "true"
@@ -3295,7 +3295,7 @@ var Wn = [
3295
3295
  }, null, 8, ["icon", "size"])])], !0)], 42, Zn))), 128))
3296
3296
  ], 512)], 14, Jn));
3297
3297
  }
3298
- }), [["__scopeId", "data-v-1c85ed00"]]), er = [
3298
+ }), [["__scopeId", "data-v-112de50f"]]), er = [
3299
3299
  "tabindex",
3300
3300
  "role",
3301
3301
  "aria-label"
@@ -3648,7 +3648,7 @@ var Wn = [
3648
3648
  }, null, 36)], 544), [[B, p.value]])
3649
3649
  ], 38));
3650
3650
  }
3651
- }), [["__scopeId", "data-v-cadc871e"]]), nr = class extends Error {
3651
+ }), [["__scopeId", "data-v-5f417325"]]), nr = class extends Error {
3652
3652
  constructor(e) {
3653
3653
  super(e), this.name = "ShikiError";
3654
3654
  }
@@ -11053,7 +11053,7 @@ var Of = ["aria-label"], kf = {
11053
11053
  "aria-label"
11054
11054
  ])], 46, Lf));
11055
11055
  }
11056
- }), [["__scopeId", "data-v-285d7cff"]]), Xf = {
11056
+ }), [["__scopeId", "data-v-b13f5d53"]]), Xf = {
11057
11057
  key: 0,
11058
11058
  class: "bing-input__icon"
11059
11059
  }, Zf = [
@@ -11218,7 +11218,7 @@ var Of = ["aria-label"], kf = {
11218
11218
  }, null, 8, ["icon"])], 40, Qf)) : o("", !0)
11219
11219
  ], 2));
11220
11220
  }
11221
- }), [["__scopeId", "data-v-b2ea00e6"]]), ep = { class: "bing-tag__label" }, tp = ["disabled", "aria-label"], np = /* @__PURE__ */ je(/* @__PURE__ */ d({
11221
+ }), [["__scopeId", "data-v-0afd7644"]]), ep = { class: "bing-tag__label" }, tp = ["disabled", "aria-label"], np = /* @__PURE__ */ je(/* @__PURE__ */ d({
11222
11222
  __name: "BingTag",
11223
11223
  props: {
11224
11224
  label: { default: void 0 },
@@ -11268,7 +11268,7 @@ var Of = ["aria-label"], kf = {
11268
11268
  "stroke-width": 2.6
11269
11269
  }, null, 8, ["icon"])], 40, tp)) : o("", !0)], 2));
11270
11270
  }
11271
- }), [["__scopeId", "data-v-ffc27a79"]]), rp = 0, ip = /* @__PURE__ */ new Map(), ap = N(), op = N(), sp = N(null), cp = N(), lp = N(!1);
11271
+ }), [["__scopeId", "data-v-ac04aea6"]]), rp = 0, ip = /* @__PURE__ */ new Map(), ap = N(), op = N(), sp = N(null), cp = N(), lp = N(!1);
11272
11272
  function up() {
11273
11273
  return rp += 1, `bing-tooltip-owner-${rp}`;
11274
11274
  }
@@ -11871,7 +11871,7 @@ var pp = [
11871
11871
  class: "bing-tooltip__body"
11872
11872
  }, [(T(), a(j(de.value), { key: ue.value.id }))], 512)], 46, hp)) : o("", !0)])) : o("", !0)], 42, pp));
11873
11873
  }
11874
- }), [["__scopeId", "data-v-b1873597"]]), _p = { class: "bing-select__control" }, vp = [
11874
+ }), [["__scopeId", "data-v-6d48d830"]]), _p = { class: "bing-select__control" }, vp = [
11875
11875
  "id",
11876
11876
  "disabled",
11877
11877
  "aria-label",
@@ -13289,7 +13289,7 @@ var pp = [
13289
13289
  ]))
13290
13290
  ], 38));
13291
13291
  }
13292
- }), [["__scopeId", "data-v-c329a09e"]]), Fp = [
13292
+ }), [["__scopeId", "data-v-1ed33ca6"]]), Fp = [
13293
13293
  "id",
13294
13294
  "disabled",
13295
13295
  "aria-label",
@@ -14243,7 +14243,7 @@ var pp = [
14243
14243
  ], 2)
14244
14244
  ], 46, Bp)) : o("", !0)]))], 6));
14245
14245
  }
14246
- }), [["__scopeId", "data-v-a9a05e1f"]]), um = /* @__PURE__ */ re(((e, t) => {
14246
+ }), [["__scopeId", "data-v-20bb1c6b"]]), um = /* @__PURE__ */ re(((e, t) => {
14247
14247
  (function(n, r) {
14248
14248
  typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs = r();
14249
14249
  })(e, (function() {
@@ -15714,7 +15714,7 @@ var pp = [
15714
15714
  }, 8, ["disabled"])])) : o("", !0)], 38)) : o("", !0)]))
15715
15715
  ], 6));
15716
15716
  }
15717
- }), [["__scopeId", "data-v-800f530d"]]), Gm = { class: "bing-carousel-transition__viewport" }, Km = ["aria-hidden"], qm = /* @__PURE__ */ je(/* @__PURE__ */ d({
15717
+ }), [["__scopeId", "data-v-8e126ee6"]]), Gm = { class: "bing-carousel-transition__viewport" }, Km = ["aria-hidden"], qm = /* @__PURE__ */ je(/* @__PURE__ */ d({
15718
15718
  __name: "BingCarouselTransition",
15719
15719
  props: {
15720
15720
  modelValue: { default: void 0 },
@@ -15880,7 +15880,7 @@ var pp = [
15880
15880
  isAnimating: f.value
15881
15881
  }, () => [l(P(e.label), 1)], !0)], 10, Km))), 128))], 512)])], 34));
15882
15882
  }
15883
- }), [["__scopeId", "data-v-f1aa8ce5"]]), Jm = { class: "bing-deck-transition__stage" }, Ym = ["aria-hidden"], Xm = /* @__PURE__ */ je(/* @__PURE__ */ d({
15883
+ }), [["__scopeId", "data-v-ebbcf6aa"]]), Jm = { class: "bing-deck-transition__stage" }, Ym = ["aria-hidden"], Xm = /* @__PURE__ */ je(/* @__PURE__ */ d({
15884
15884
  __name: "BingDeckTransition",
15885
15885
  props: {
15886
15886
  modelValue: { default: void 0 },
@@ -16059,7 +16059,7 @@ var pp = [
16059
16059
  _: 1
16060
16060
  }, 8, ["disabled"])], !0) : o("", !0)], 34));
16061
16061
  }
16062
- }), [["__scopeId", "data-v-75a81683"]]), Zm = {
16062
+ }), [["__scopeId", "data-v-af949b80"]]), Zm = {
16063
16063
  key: 0,
16064
16064
  class: "bing-dialog__ambience",
16065
16065
  "aria-hidden": "true"
@@ -16632,7 +16632,7 @@ var pp = [
16632
16632
  }, null, 8, ["icon"])], 512)) : o("", !0)
16633
16633
  ], 38)) : o("", !0)]));
16634
16634
  }
16635
- }), [["__scopeId", "data-v-abb64ba7"]]), ch = Symbol("BingDropDownContext"), lh = ["aria-label"], uh = {
16635
+ }), [["__scopeId", "data-v-9ec22ffc"]]), ch = Symbol("BingDropDownContext"), lh = ["aria-label"], uh = {
16636
16636
  key: 0,
16637
16637
  class: "bing-dropdown__header"
16638
16638
  }, dh = { class: "bing-dropdown__body" }, fh = {
@@ -17306,7 +17306,7 @@ var pp = [
17306
17306
  n.$slots.footer ? (T(), s("div", fh, [A(n.$slots, "footer", {}, void 0, !0)])) : o("", !0)
17307
17307
  ], 46, lh)) : o("", !0)]))], 2));
17308
17308
  }
17309
- }), [["__scopeId", "data-v-f48bdb3a"]]), hh = {
17309
+ }), [["__scopeId", "data-v-af949689"]]), hh = {
17310
17310
  key: 0,
17311
17311
  class: "bing-dropdown-item__prefix",
17312
17312
  "aria-hidden": "true"
@@ -17538,7 +17538,7 @@ var pp = [
17538
17538
  onFocusout: ve
17539
17539
  }, [A(n.$slots, "submenu", {}, void 0, !0)], 46, xh)])) : o("", !0)], 34));
17540
17540
  }
17541
- }), [["__scopeId", "data-v-496c79e9"]]), wh = ["aria-label"], Th = {
17541
+ }), [["__scopeId", "data-v-63e93464"]]), wh = ["aria-label"], Th = {
17542
17542
  key: 0,
17543
17543
  class: "bing-image-preview__toolbar",
17544
17544
  "aria-label": "Image preview controls"
@@ -18178,7 +18178,7 @@ var pp = [
18178
18178
  ], 32), ve.value?.caption ? (T(), s("div", Lh, P(ve.value.caption), 1)) : o("", !0)])
18179
18179
  ], 46, wh)) : o("", !0)], 8, ["to"]));
18180
18180
  }
18181
- }), [["__scopeId", "data-v-966e2371"]]), Uh = ["aria-label"], Wh = { class: "bing-file-preview__header" }, Gh = { class: "bing-file-preview__identity" }, Kh = {
18181
+ }), [["__scopeId", "data-v-e8b57996"]]), Uh = ["aria-label"], Wh = { class: "bing-file-preview__header" }, Gh = { class: "bing-file-preview__identity" }, Kh = {
18182
18182
  class: "bing-file-preview__icon",
18183
18183
  "aria-hidden": "true"
18184
18184
  }, qh = { class: "bing-file-preview__icon-badge" }, Jh = { class: "bing-file-preview__heading" }, Yh = { class: "bing-file-preview__title" }, Xh = { class: "bing-file-preview__meta" }, Zh = { key: 0 }, Qh = { class: "bing-file-preview__actions" }, $h = { class: "bing-file-preview__body" }, eg = {
@@ -18768,7 +18768,7 @@ var pp = [
18768
18768
  size: "xl"
18769
18769
  }, null, 8, ["icon"])]), i[2] ||= c("h3", null, "No file selected", -1)]))])], 4)], 14, Uh)) : o("", !0)], 8, ["to"]));
18770
18770
  }
18771
- }), [["__scopeId", "data-v-82b48dc0"]]), xg = { class: "bing-form__layout" }, Sg = /* @__PURE__ */ je(/* @__PURE__ */ d({
18771
+ }), [["__scopeId", "data-v-0370a640"]]), xg = { class: "bing-form__layout" }, Sg = /* @__PURE__ */ je(/* @__PURE__ */ d({
18772
18772
  __name: "BingForm",
18773
18773
  props: {
18774
18774
  model: { default: void 0 },
@@ -19459,7 +19459,7 @@ var pp = [
19459
19459
  ])) : o("", !0)
19460
19460
  ], 46, jg));
19461
19461
  }
19462
- }), [["__scopeId", "data-v-9041e001"]]), zg = [
19462
+ }), [["__scopeId", "data-v-fd0565c9"]]), zg = [
19463
19463
  "id",
19464
19464
  "aria-label",
19465
19465
  "aria-describedby",
@@ -19692,7 +19692,7 @@ var pp = [
19692
19692
  D.value || k.value ? (T(), s("span", qg, [D.value ? (T(), s("span", Jg, [A(t.$slots, "default", {}, () => [l(P(e.label), 1)], !0)])) : o("", !0), k.value ? (T(), s("span", Yg, [A(t.$slots, "description", {}, () => [l(P(e.description), 1)], !0)])) : o("", !0)])) : o("", !0)
19693
19693
  ], 2));
19694
19694
  }
19695
- }), [["__scopeId", "data-v-e8080a22"]]), Zg = [
19695
+ }), [["__scopeId", "data-v-0014618c"]]), Zg = [
19696
19696
  "id",
19697
19697
  "aria-label",
19698
19698
  "aria-describedby",
@@ -24434,7 +24434,7 @@ var CO = ["aria-grabbed", "data-bing-sortable-key"], wO = /* @__PURE__ */ je(/*
24434
24434
  "keydown"
24435
24435
  ],
24436
24436
  setup(e, { expose: t, emit: n }) {
24437
- z((e) => ({ f176cd14: e.resize }));
24437
+ z((e) => ({ v30206a22: e.resize }));
24438
24438
  let r = e, a = n, l = m(Hn, null), d = O(null), f = i(() => r.size ?? l?.size.value ?? "md"), p = i(() => r.disabled || l?.disabled.value || !1), h = i(() => r.status ?? l?.status.value ?? "default"), v = i(() => r.id ?? l?.controlId.value), y = i(() => [r.ariaDescribedby, l?.ariaDescribedby.value].filter(Boolean).join(" ") || void 0), b = i(() => r.modelValue.length > 0), S = i(() => r.clearable && !p.value && b.value), C = i(() => r.modelValue.length), w = i(() => typeof r.maxLength == "number" ? `${C.value}/${r.maxLength}` : String(C.value)), E = i(() => [
24439
24439
  "bing-textarea",
24440
24440
  `bing-textarea--${f.value}`,
@@ -24539,7 +24539,7 @@ var CO = ["aria-grabbed", "data-bing-sortable-key"], wO = /* @__PURE__ */ je(/*
24539
24539
  e.showCount ? (T(), s("span", kO, P(w.value), 1)) : o("", !0)
24540
24540
  ], 2));
24541
24541
  }
24542
- }), [["__scopeId", "data-v-0e690b79"]]), jO = [
24542
+ }), [["__scopeId", "data-v-15b204d1"]]), jO = [
24543
24543
  "top",
24544
24544
  "bottom",
24545
24545
  "left",
@@ -24928,7 +24928,7 @@ var hk = [
24928
24928
  _: 2
24929
24929
  }, 1032, ["smooth", "aria-label"])], 2))), 128))], 4)]));
24930
24930
  }
24931
- }), [["__scopeId", "data-v-45291a14"]]), Ck = ["data-bing-table-sortable-key", "aria-grabbed"], wk = /* @__PURE__ */ d({
24931
+ }), [["__scopeId", "data-v-1e0ee6fe"]]), Ck = ["data-bing-table-sortable-key", "aria-grabbed"], wk = /* @__PURE__ */ d({
24932
24932
  __name: "BingTableHeaderCell",
24933
24933
  props: {
24934
24934
  columnKey: {},
@@ -26404,7 +26404,7 @@ var hk = [
26404
26404
  ], 6)) : o("", !0)
26405
26405
  ], 6));
26406
26406
  }
26407
- }), [["__scopeId", "data-v-292955aa"]]), vA = { class: "bing-tree-select__control" }, yA = [
26407
+ }), [["__scopeId", "data-v-530a2f18"]]), vA = { class: "bing-tree-select__control" }, yA = [
26408
26408
  "id",
26409
26409
  "disabled",
26410
26410
  "aria-label",
@@ -27940,6 +27940,6 @@ var hk = [
27940
27940
  ], !0)], 512)], 38)) : o("", !0)
27941
27941
  ]))], 38));
27942
27942
  }
27943
- }), [["__scopeId", "data-v-e560c650"]]);
27943
+ }), [["__scopeId", "data-v-9a0c2ec5"]]);
27944
27944
  //#endregion
27945
27945
  export { jO as BING_TOAST_POSITIONS, MO as BING_TOAST_POSITION_ALIASES, NO as BING_TOAST_POSITION_OPTIONS, Me as BingAnimatedText, ut as BingAppSwitcherTransition, _t as BingButton, Mt as BingCard, qm as BingCarouselTransition, qn as BingCheckbox, Ug as BingCheckboxGroup, Yf as BingCodeBlock, lm as BingColorPicker, Wm as BingDatePicker, Xm as BingDeckTransition, sh as BingDialog, mh as BingDropDown, Ch as BingDropDownItem, bg as BingFilePreview, Sg as BingForm, Ag as BingFormItem, zn as BingIcon, Rg as BingImage, Hh as BingImagePreview, $f as BingInput, Xg as BingRadio, Qg as BingRadioGroup, $n as BingResizable, tr as BingScrollbar, Pp as BingSelect, EO as BingSortableList, _A as BingTable, ct as BingTabs, np as BingTag, AO as BingTextarea, Sk as BingToast, gp as BingTooltip, VA as BingTreeSelect, pk as bingToast, Ie as compactSmoothScrollOptions, et as createSmoothScrollController, Fe as defaultSmoothScrollOptions, tt as motion, IO as normalizeBingToastPosition, rt as prefersReducedMotion, Ve as pulseEase, Le as resolveComponentSmoothScroll, ze as resolveSmoothScrollOptions, mk as useBingToast };