bitboss-ui 2.0.171 → 2.0.172

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 (193) hide show
  1. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +95 -5
  2. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +2 -2
  3. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +12 -6
  4. package/dist/components/BbPopover/BbPopover.vue.d.ts +12 -6
  5. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +12 -6
  6. package/dist/components/CommonPopover.vue.d.ts +5 -4
  7. package/dist/index.css +1 -1
  8. package/dist/index106.js +9 -9
  9. package/dist/index111.js +1 -1
  10. package/dist/index113.js +1 -1
  11. package/dist/index121.js +11 -11
  12. package/dist/index129.js +2 -2
  13. package/dist/index13.js +1 -1
  14. package/dist/index131.js +3 -3
  15. package/dist/index133.js +1 -1
  16. package/dist/index139.js +2 -2
  17. package/dist/index15.js +129 -142
  18. package/dist/index17.js +3 -3
  19. package/dist/index19.js +8 -8
  20. package/dist/index209.js +10 -2
  21. package/dist/index21.js +16 -16
  22. package/dist/index210.js +3 -4
  23. package/dist/index211.js +13 -2
  24. package/dist/index212.js +33 -17
  25. package/dist/index213.js +13 -128
  26. package/dist/index214.js +59 -99
  27. package/dist/index216.js +2 -100
  28. package/dist/index217.js +6 -0
  29. package/dist/index218.js +2 -66
  30. package/dist/index219.js +4 -0
  31. package/dist/index220.js +40 -12
  32. package/dist/index222.js +7 -15
  33. package/dist/index223.js +15 -29
  34. package/dist/index224.js +5 -16
  35. package/dist/index225.js +9 -12
  36. package/dist/index226.js +5 -51
  37. package/dist/index227.js +5 -17
  38. package/dist/index228.js +5 -15
  39. package/dist/index229.js +5 -3
  40. package/dist/index23.js +136 -159
  41. package/dist/index230.js +5 -12
  42. package/dist/index231.js +2 -13
  43. package/dist/index232.js +2 -2
  44. package/dist/index233.js +11 -228
  45. package/dist/index234.js +17 -365
  46. package/dist/index235.js +105 -2
  47. package/dist/index237.js +86 -5
  48. package/dist/index239.js +29 -5
  49. package/dist/index240.js +17 -5
  50. package/dist/index241.js +51 -5
  51. package/dist/index242.js +15 -5
  52. package/dist/index243.js +3 -8
  53. package/dist/index244.js +12 -250
  54. package/dist/index245.js +16 -52
  55. package/dist/index246.js +4 -44
  56. package/dist/index247.js +200 -5
  57. package/dist/index249.js +18 -5
  58. package/dist/index25.js +4 -4
  59. package/dist/index250.js +12 -2
  60. package/dist/index251.js +106 -41
  61. package/dist/index253.js +94 -88
  62. package/dist/index255.js +228 -9
  63. package/dist/index256.js +2 -4
  64. package/dist/index257.js +174 -197
  65. package/dist/index258.js +5 -0
  66. package/dist/index259.js +2 -7
  67. package/dist/index260.js +5 -86
  68. package/dist/index261.js +7 -0
  69. package/dist/index262.js +6 -32
  70. package/dist/index263.js +250 -2
  71. package/dist/index264.js +52 -2
  72. package/dist/index265.js +44 -3
  73. package/dist/index266.js +5 -177
  74. package/dist/index267.js +60 -10
  75. package/dist/index268.js +8 -2
  76. package/dist/index269.js +23 -6
  77. package/dist/index27.js +1 -1
  78. package/dist/index270.js +6 -16
  79. package/dist/index271.js +15 -10
  80. package/dist/index272.js +3 -101
  81. package/dist/index273.js +11 -0
  82. package/dist/index274.js +8 -3
  83. package/dist/index275.js +2 -9
  84. package/dist/index276.js +67 -23
  85. package/dist/index277.js +5 -2
  86. package/dist/index278.js +8 -9
  87. package/dist/index279.js +5 -8
  88. package/dist/index280.js +7 -5
  89. package/dist/index281.js +11 -67
  90. package/dist/index282.js +2 -5
  91. package/dist/index284.js +6 -3
  92. package/dist/index285.js +3 -4
  93. package/dist/index286.js +4 -129
  94. package/dist/index287.js +1 -1
  95. package/dist/index288.js +17 -3
  96. package/dist/index289.js +28 -3
  97. package/dist/index29.js +2 -2
  98. package/dist/index290.js +6 -0
  99. package/dist/index291.js +469 -5
  100. package/dist/index292.js +1 -1
  101. package/dist/index293.js +3 -2
  102. package/dist/index294.js +3 -17
  103. package/dist/index295.js +279 -27
  104. package/dist/index296.js +2 -7
  105. package/dist/index297.js +124 -10
  106. package/dist/index298.js +2 -280
  107. package/dist/index299.js +15 -2
  108. package/dist/index300.js +2 -16
  109. package/dist/index301.js +16 -2
  110. package/dist/index302.js +2 -16
  111. package/dist/index303.js +16 -2
  112. package/dist/index304.js +2 -19
  113. package/dist/index305.js +19 -2
  114. package/dist/index306.js +2 -15
  115. package/dist/index307.js +200 -2
  116. package/dist/index308.js +5 -18
  117. package/dist/index309.js +3 -2
  118. package/dist/index31.js +2 -2
  119. package/dist/index310.js +3 -27
  120. package/dist/index311.js +2 -2
  121. package/dist/index312.js +5 -2
  122. package/dist/index313.js +19 -2
  123. package/dist/index314.js +2 -2
  124. package/dist/index315.js +27 -2
  125. package/dist/index316.js +2 -22
  126. package/dist/index317.js +4 -0
  127. package/dist/index318.js +2 -125
  128. package/dist/index319.js +2 -2
  129. package/dist/index320.js +2 -471
  130. package/dist/index321.js +22 -3
  131. package/dist/index323.js +5 -382
  132. package/dist/index324.js +700 -125
  133. package/dist/index325.js +354 -2
  134. package/dist/index326.js +58 -3
  135. package/dist/index327.js +2 -6
  136. package/dist/index328.js +56 -198
  137. package/dist/index329.js +58 -5
  138. package/dist/index33.js +8 -8
  139. package/dist/index330.js +31 -699
  140. package/dist/index331.js +28 -354
  141. package/dist/index333.js +47 -3
  142. package/dist/index334.js +7 -5
  143. package/dist/index335.js +7 -46
  144. package/dist/index336.js +6 -2
  145. package/dist/index337.js +7 -32
  146. package/dist/index338.js +7 -28
  147. package/dist/index339.js +21 -0
  148. package/dist/index340.js +227 -57
  149. package/dist/index341.js +127 -57
  150. package/dist/index342.js +367 -6
  151. package/dist/index343.js +92 -7
  152. package/dist/index345.js +3 -8
  153. package/dist/index346.js +482 -5
  154. package/dist/index347.js +46 -6
  155. package/dist/index348.js +127 -17
  156. package/dist/index349.js +377 -223
  157. package/dist/index35.js +4 -4
  158. package/dist/index350.js +124 -91
  159. package/dist/index37.js +230 -240
  160. package/dist/index39.js +4 -4
  161. package/dist/index41.js +2 -2
  162. package/dist/index43.js +8 -8
  163. package/dist/index45.js +8 -8
  164. package/dist/index47.js +2 -2
  165. package/dist/index49.js +3 -3
  166. package/dist/index53.js +1 -1
  167. package/dist/index55.js +1 -1
  168. package/dist/index57.js +2 -2
  169. package/dist/index61.js +3 -3
  170. package/dist/index67.js +1 -1
  171. package/dist/index79.js +4 -4
  172. package/dist/index81.js +1 -1
  173. package/dist/index83.js +2 -2
  174. package/dist/index85.js +1 -1
  175. package/dist/index87.js +1 -1
  176. package/dist/index90.js +4 -4
  177. package/dist/index92.js +2 -2
  178. package/dist/index94.js +3 -3
  179. package/package.json +1 -1
  180. package/dist/components/CommonFloating.vue.d.ts +0 -38
  181. package/dist/index236.js +0 -7
  182. package/dist/index238.js +0 -7
  183. package/dist/index248.js +0 -62
  184. package/dist/index252.js +0 -22
  185. package/dist/index283.js +0 -10
  186. package/dist/index322.js +0 -5
  187. package/dist/index332.js +0 -60
  188. package/dist/index344.js +0 -8
  189. package/dist/index351.js +0 -484
  190. package/dist/index353.js +0 -5
  191. package/dist/index354.js +0 -49
  192. package/dist/index355.js +0 -483
  193. package/dist/index356.js +0 -4
package/dist/index270.js CHANGED
@@ -1,18 +1,8 @@
1
- const e = (o, r, f) => o.reduce((t, n) => {
2
- if (t) return t;
3
- if (f(n))
4
- return n;
5
- if (r in n) {
6
- const i = e(
7
- [].concat(n[r]),
8
- r,
9
- f
10
- );
11
- if (i)
12
- return i;
13
- }
14
- return t;
15
- }, null);
1
+ import e from "./index324.js";
2
+ import o from "./index325.js";
3
+ import r from "./index326.js";
4
+ const f = new r(o, e)._freeze();
16
5
  export {
17
- e as findInTree
6
+ r as Mime,
7
+ f as default
18
8
  };
package/dist/index271.js CHANGED
@@ -1,13 +1,18 @@
1
- import { ref as a, watch as c, toValue as u } from "vue";
2
- const i = (e, { initialValue: o = !1, nextValue: r = !0 } = {}) => {
3
- const t = a(o), n = c(
4
- () => u(e),
5
- (s) => {
6
- s && (t.value = r, n());
7
- }
8
- );
1
+ const e = (o, r, f) => o.reduce((t, n) => {
2
+ if (t) return t;
3
+ if (f(n))
4
+ return n;
5
+ if (r in n) {
6
+ const i = e(
7
+ [].concat(n[r]),
8
+ r,
9
+ f
10
+ );
11
+ if (i)
12
+ return i;
13
+ }
9
14
  return t;
10
- };
15
+ }, null);
11
16
  export {
12
- i as useUntil
17
+ e as findInTree
13
18
  };
package/dist/index272.js CHANGED
@@ -1,103 +1,5 @@
1
- import { defineComponent as k, mergeModels as h, useModel as x, ref as l, watch as $, computed as C, createElementBlock as M, openBlock as f, normalizeStyle as P, normalizeClass as B, unref as s, renderSlot as b, createBlock as A, resolveDynamicComponent as D, mergeProps as v, withCtx as V, createElementVNode as g } from "vue";
2
- import { useFloating as E, arrow as S } from "./index213.js";
3
- import { flip as z, offset as F, shift as N, autoUpdate as U } from "./index234.js";
4
- const j = { class: "bb-common-popover__bubble" }, J = /* @__PURE__ */ k({
5
- __name: "CommonPopover",
6
- props: /* @__PURE__ */ h({
7
- arrowPadding: {},
8
- offset: {},
9
- block: { type: Boolean },
10
- padding: {},
11
- placement: {},
12
- transitionDuration: { default: 250 },
13
- containerAttributes: {},
14
- tag: { default: "span" }
15
- }, {
16
- modelValue: { type: Boolean, default: !1 },
17
- modelModifiers: {}
18
- }),
19
- emits: ["update:modelValue"],
20
- setup(p) {
21
- const e = p, a = x(p, "modelValue"), i = l(), t = l(), d = l(), { floatingStyles: w, placement: y, middlewareData: n } = E(
22
- i,
23
- t,
24
- {
25
- placement: e.placement,
26
- whileElementsMounted: U,
27
- middleware: [
28
- z(),
29
- F(e.offset),
30
- N({ padding: e.padding }),
31
- S({
32
- element: d,
33
- padding: e.arrowPadding
34
- })
35
- ],
36
- strategy: "fixed"
37
- }
38
- );
39
- $(a, (o) => {
40
- o ? t.value && (e.tag === "dialog" ? t.value.showModal() : t.value.showPopover()) : t.value && (e.tag === "dialog" ? t.value.close() : t.value.hidePopover());
41
- });
42
- const _ = C(() => {
43
- if (n.value.arrow) {
44
- const { x: o, y: r } = n.value.arrow;
45
- return {
46
- style: {
47
- left: `${o}px`,
48
- top: `${r}px`
49
- }
50
- };
51
- }
52
- });
53
- return (o, r) => {
54
- var m, u, c;
55
- return f(), M("span", {
56
- ref_key: "wrapper",
57
- ref: i,
58
- class: B(["bb-common-popover", {
59
- "bb-common-popover--open": a.value,
60
- "bb-common-popover--block": e.block,
61
- [`bb-common-popover--${s(y)}`]: !0
62
- }]),
63
- style: P({
64
- "--transition-duration": `${e.transitionDuration}ms`
65
- })
66
- }, [
67
- b(o.$slots, "activator"),
68
- (f(), A(D(e.tag), v({
69
- ref_key: "content",
70
- ref: t,
71
- class: ["bb-common-popover__bubble-container", {
72
- "bb-common-popover__bubble-container--open": a.value
73
- }],
74
- popover: "manual",
75
- style: {
76
- ...((m = o.containerAttributes) == null ? void 0 : m.style) ?? {},
77
- ...s(w),
78
- "--arrow-offset-x": Math.round(((c = (u = s(n)) == null ? void 0 : u.arrow) == null ? void 0 : c.x) ?? 0) + "px",
79
- "--page-padding": `${o.padding}px`
80
- },
81
- tabindex: a.value ? void 0 : -1
82
- }, o.containerAttributes, {
83
- onClose: r[0] || (r[0] = (q) => a.value = !1)
84
- }), {
85
- default: V(() => [
86
- g("span", v({
87
- ref_key: "bubblearrow",
88
- ref: d,
89
- class: "bb-common-popover__arrow"
90
- }, _.value), null, 16),
91
- g("span", j, [
92
- b(o.$slots, "default")
93
- ])
94
- ]),
95
- _: 3
96
- }, 16, ["class", "style", "tabindex"]))
97
- ], 6);
98
- };
99
- }
100
- });
1
+ import t from "./index323.js";
2
+ const r = t;
101
3
  export {
102
- J as default
4
+ r as throttle
103
5
  };
@@ -0,0 +1,11 @@
1
+ import { get as o } from "./index281.js";
2
+ const e = () => ({
3
+ getItemValue(n, f) {
4
+ if (typeof f > "u") return n;
5
+ if (typeof f == "function") return f(n);
6
+ if (typeof f == "string") return o(n, f);
7
+ }
8
+ });
9
+ export {
10
+ e as useItemValue
11
+ };
package/dist/index274.js CHANGED
@@ -1,5 +1,10 @@
1
- import t from "./index334.js";
2
- const r = t;
1
+ const u = (t, r) => t.reduce(
2
+ (e, n, o, d) => {
3
+ const s = r(n, o, d);
4
+ return e[s] = n, e;
5
+ },
6
+ {}
7
+ );
3
8
  export {
4
- r as throttle
9
+ u as indexBy
5
10
  };
package/dist/index275.js CHANGED
@@ -1,11 +1,4 @@
1
- const o = (n, t) => {
2
- for (let e = n.length - 1; e >= 0; e--) {
3
- const i = n[e];
4
- if (t(i, e, n))
5
- return e;
6
- }
7
- return -1;
8
- };
1
+ const t = (d, o) => +d + +o;
9
2
  export {
10
- o as findRightIndex
3
+ t as add
11
4
  };
package/dist/index276.js CHANGED
@@ -1,25 +1,69 @@
1
- const e = {
2
- inert: ":not([inert]):not([inert] *)",
3
- negTabIndex: ':not([tabindex^="-"])',
4
- disabled: ":not(:disabled)"
5
- }, n = [
6
- `a[href]${e.inert}${e.negTabIndex}`,
7
- `area[href]${e.inert}${e.negTabIndex}`,
8
- `input:not([type="hidden"]):not([type="radio"])${e.inert}${e.negTabIndex}${e.disabled}`,
9
- `input[type="radio"]${e.inert}${e.negTabIndex}${e.disabled}`,
10
- `select${e.inert}${e.negTabIndex}${e.disabled}`,
11
- `textarea${e.inert}${e.negTabIndex}${e.disabled}`,
12
- `button${e.inert}${e.negTabIndex}${e.disabled}`,
13
- `details${e.inert} > summary:first-of-type${e.negTabIndex}`,
14
- // Discard until Firefox supports `:has()`
15
- // See: https://github.com/KittyGiraudel/focusable-selectors/issues/12
16
- // `details:not(:has(> summary))${not.inert}${not.negTabIndex}`,
17
- `iframe${e.inert}${e.negTabIndex}`,
18
- `audio[controls]${e.inert}${e.negTabIndex}`,
19
- `video[controls]${e.inert}${e.negTabIndex}`,
20
- `[contenteditable]${e.inert}${e.negTabIndex}`,
21
- `[tabindex]${e.inert}${e.negTabIndex}`
22
- ];
1
+ import { defineComponent as d, createElementBlock as l, openBlock as o, normalizeClass as u, createElementVNode as t, createBlock as i, createCommentVNode as s, unref as f, withCtx as g, toDisplayString as n } from "vue";
2
+ import { useLocale as k } from "./index211.js";
3
+ import h from "./index13.js";
4
+ /* empty css */
5
+ import C from "./index85.js";
6
+ /* empty css */
7
+ const w = { class: "bb-toast-message__icon-container" }, v = { class: "bb-toast-message__content" }, y = {
8
+ key: 1,
9
+ class: "bb-toast-message__title"
10
+ }, B = { class: "bb-toast-message__text" }, z = /* @__PURE__ */ d({
11
+ __name: "BbToastMessage",
12
+ props: {
13
+ title: {},
14
+ text: {},
15
+ icon: {},
16
+ theme: { default: "default" },
17
+ id: {},
18
+ showClose: { type: Boolean }
19
+ },
20
+ emits: ["click:close"],
21
+ setup(r, { emit: c }) {
22
+ const m = r, p = c, { t: _ } = k(), b = () => {
23
+ p("click:close", m.id);
24
+ };
25
+ return (e, a) => (o(), l("div", {
26
+ "aria-atomic": "true",
27
+ "aria-live": "polite",
28
+ "aria-role": "alert",
29
+ class: u(["bb-toast-message", { [`bb-toast-message--${e.theme}`]: e.theme }])
30
+ }, [
31
+ t("div", w, [
32
+ e.icon ? (o(), i(C, {
33
+ key: 0,
34
+ class: "bb-toast-message__icon",
35
+ type: e.icon
36
+ }, null, 8, ["type"])) : s("", !0)
37
+ ]),
38
+ t("div", v, [
39
+ e.showClose ? (o(), i(h, {
40
+ key: 0,
41
+ "aria-label": f(_)("common.closeLabel").value,
42
+ class: "bb-toast-message__close",
43
+ onClick: b
44
+ }, {
45
+ default: g(() => a[0] || (a[0] = [
46
+ t("svg", {
47
+ fill: "none",
48
+ viewBox: "0 0 24 24",
49
+ xmlns: "http://www.w3.org/2000/svg"
50
+ }, [
51
+ t("path", {
52
+ d: "M23 23L1 1M23 1L1 23",
53
+ stroke: "currentColor",
54
+ "stroke-linecap": "round",
55
+ "stroke-width": "2"
56
+ })
57
+ ], -1)
58
+ ])),
59
+ _: 1
60
+ }, 8, ["aria-label"])) : s("", !0),
61
+ e.title ? (o(), l("p", y, n(e.title), 1)) : s("", !0),
62
+ t("p", B, n(e.text), 1)
63
+ ])
64
+ ], 2));
65
+ }
66
+ });
23
67
  export {
24
- n as default
68
+ z as default
25
69
  };
package/dist/index277.js CHANGED
@@ -1,4 +1,7 @@
1
- const t = (d, o) => +d + +o;
1
+ import { getType as t } from "./index290.js";
2
+ function o(r) {
3
+ return t(r) === "Array";
4
+ }
2
5
  export {
3
- t as add
6
+ o as isArray
4
7
  };
package/dist/index278.js CHANGED
@@ -1,11 +1,10 @@
1
- import { get as o } from "./index297.js";
2
- const e = () => ({
3
- getItemValue(n, f) {
4
- if (typeof f > "u") return n;
5
- if (typeof f == "function") return f(n);
6
- if (typeof f == "string") return o(n, f);
7
- }
8
- });
1
+ import { getType as o } from "./index290.js";
2
+ function c(e) {
3
+ if (o(e) !== "Object")
4
+ return !1;
5
+ const t = Object.getPrototypeOf(e);
6
+ return !!t && t.constructor === Object && t === Object.prototype;
7
+ }
9
8
  export {
10
- e as useItemValue
9
+ c as isPlainObject
11
10
  };
package/dist/index279.js CHANGED
@@ -1,10 +1,7 @@
1
- const u = (t, r) => t.reduce(
2
- (e, n, o, d) => {
3
- const s = r(n, o, d);
4
- return e[s] = n, e;
5
- },
6
- {}
7
- );
1
+ const o = (l, n, f = (r) => r, u) => l.map((r) => Array.isArray(r[n]) ? [
2
+ f(r, u),
3
+ ...o(r[n], n, f, f(r, u))
4
+ ] : [f(r, u)]).flat();
8
5
  export {
9
- u as indexBy
6
+ o as flattenTree
10
7
  };
package/dist/index280.js CHANGED
@@ -1,7 +1,9 @@
1
- const o = (l, n, f = (r) => r, u) => l.map((r) => Array.isArray(r[n]) ? [
2
- f(r, u),
3
- ...o(r[n], n, f, f(r, u))
4
- ] : [f(r, u)]).flat();
1
+ import o from "./index328.js";
2
+ import r from "./index329.js";
3
+ const e = {
4
+ it: o,
5
+ en: r
6
+ };
5
7
  export {
6
- o as flattenTree
8
+ e as locales
7
9
  };
package/dist/index281.js CHANGED
@@ -1,69 +1,13 @@
1
- import { defineComponent as d, createElementBlock as l, openBlock as o, normalizeClass as u, createElementVNode as t, createBlock as i, createCommentVNode as s, unref as f, withCtx as g, toDisplayString as n } from "vue";
2
- import { useLocale as k } from "./index231.js";
3
- import h from "./index13.js";
4
- /* empty css */
5
- import C from "./index85.js";
6
- /* empty css */
7
- const w = { class: "bb-toast-message__icon-container" }, v = { class: "bb-toast-message__content" }, y = {
8
- key: 1,
9
- class: "bb-toast-message__title"
10
- }, B = { class: "bb-toast-message__text" }, z = /* @__PURE__ */ d({
11
- __name: "BbToastMessage",
12
- props: {
13
- title: {},
14
- text: {},
15
- icon: {},
16
- theme: { default: "default" },
17
- id: {},
18
- showClose: { type: Boolean }
19
- },
20
- emits: ["click:close"],
21
- setup(r, { emit: c }) {
22
- const m = r, p = c, { t: _ } = k(), b = () => {
23
- p("click:close", m.id);
24
- };
25
- return (e, a) => (o(), l("div", {
26
- "aria-atomic": "true",
27
- "aria-live": "polite",
28
- "aria-role": "alert",
29
- class: u(["bb-toast-message", { [`bb-toast-message--${e.theme}`]: e.theme }])
30
- }, [
31
- t("div", w, [
32
- e.icon ? (o(), i(C, {
33
- key: 0,
34
- class: "bb-toast-message__icon",
35
- type: e.icon
36
- }, null, 8, ["type"])) : s("", !0)
37
- ]),
38
- t("div", v, [
39
- e.showClose ? (o(), i(h, {
40
- key: 0,
41
- "aria-label": f(_)("common.closeLabel").value,
42
- class: "bb-toast-message__close",
43
- onClick: b
44
- }, {
45
- default: g(() => a[0] || (a[0] = [
46
- t("svg", {
47
- fill: "none",
48
- viewBox: "0 0 24 24",
49
- xmlns: "http://www.w3.org/2000/svg"
50
- }, [
51
- t("path", {
52
- d: "M23 23L1 1M23 1L1 23",
53
- stroke: "currentColor",
54
- "stroke-linecap": "round",
55
- "stroke-width": "2"
56
- })
57
- ], -1)
58
- ])),
59
- _: 1
60
- }, 8, ["aria-label"])) : s("", !0),
61
- e.title ? (o(), l("p", y, n(e.title), 1)) : s("", !0),
62
- t("p", B, n(e.text), 1)
63
- ])
64
- ], 2));
65
- }
66
- });
1
+ function c(n, r, e) {
2
+ const i = typeof r == "string" ? r.split(".") : r;
3
+ let t = n;
4
+ for (const o of i)
5
+ if (t && typeof t == "object" && o in t)
6
+ t = t[o];
7
+ else
8
+ return e;
9
+ return t === void 0 ? e : t;
10
+ }
67
11
  export {
68
- z as default
12
+ c as get
69
13
  };
package/dist/index282.js CHANGED
@@ -1,7 +1,4 @@
1
- import { getType as t } from "./index285.js";
2
- function o(r) {
3
- return t(r) === "Array";
4
- }
1
+ import f from "./index212.js";
5
2
  export {
6
- o as isArray
3
+ f as default
7
4
  };
package/dist/index284.js CHANGED
@@ -1,6 +1,9 @@
1
- const e = function(t) {
2
- return (...n) => n.length >= t.length ? t(...n) : e(t.bind(void 0, ...n));
1
+ const s = (t, e) => {
2
+ const o = t.__vccOpts || t;
3
+ for (const [r, c] of e)
4
+ o[r] = c;
5
+ return o;
3
6
  };
4
7
  export {
5
- e as curry
8
+ s as default
6
9
  };
package/dist/index285.js CHANGED
@@ -1,6 +1,5 @@
1
- function e(t) {
2
- return Object.prototype.toString.call(t).slice(8, -1);
3
- }
1
+ import o from "./index214.js";
2
+ /* empty css */
4
3
  export {
5
- e as getType
4
+ o as default
6
5
  };
package/dist/index286.js CHANGED
@@ -1,131 +1,6 @@
1
- function c() {
2
- return typeof window < "u";
3
- }
4
- function s(n) {
5
- return p(n) ? (n.nodeName || "").toLowerCase() : "#document";
6
- }
7
- function i(n) {
8
- var t;
9
- return (n == null || (t = n.ownerDocument) == null ? void 0 : t.defaultView) || window;
10
- }
11
- function E(n) {
12
- var t;
13
- return (t = (p(n) ? n.ownerDocument : n.document) || window.document) == null ? void 0 : t.documentElement;
14
- }
15
- function p(n) {
16
- return c() ? n instanceof Node || n instanceof i(n).Node : !1;
17
- }
18
- function m(n) {
19
- return c() ? n instanceof Element || n instanceof i(n).Element : !1;
20
- }
21
- function w(n) {
22
- return c() ? n instanceof HTMLElement || n instanceof i(n).HTMLElement : !1;
23
- }
24
- function a(n) {
25
- return !c() || typeof ShadowRoot > "u" ? !1 : n instanceof ShadowRoot || n instanceof i(n).ShadowRoot;
26
- }
27
- function y(n) {
28
- const {
29
- overflow: t,
30
- overflowX: e,
31
- overflowY: o,
32
- display: r
33
- } = b(n);
34
- return /auto|scroll|overlay|hidden|clip/.test(t + o + e) && !["inline", "contents"].includes(r);
35
- }
36
- function D(n) {
37
- return ["table", "td", "th"].includes(s(n));
38
- }
39
- function N(n) {
40
- return [":popover-open", ":modal"].some((t) => {
41
- try {
42
- return n.matches(t);
43
- } catch {
44
- return !1;
45
- }
46
- });
47
- }
48
- function T(n) {
49
- const t = L(), e = m(n) ? b(n) : n;
50
- return ["transform", "translate", "scale", "rotate", "perspective"].some((o) => e[o] ? e[o] !== "none" : !1) || (e.containerType ? e.containerType !== "normal" : !1) || !t && (e.backdropFilter ? e.backdropFilter !== "none" : !1) || !t && (e.filter ? e.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((o) => (e.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (e.contain || "").includes(o));
51
- }
52
- function k(n) {
53
- let t = u(n);
54
- for (; w(t) && !g(t); ) {
55
- if (T(t))
56
- return t;
57
- if (N(t))
58
- return null;
59
- t = u(t);
60
- }
61
- return null;
62
- }
63
- function L() {
64
- return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
65
- }
66
- function g(n) {
67
- return ["html", "body", "#document"].includes(s(n));
68
- }
69
- function b(n) {
70
- return i(n).getComputedStyle(n);
71
- }
72
- function C(n) {
73
- return m(n) ? {
74
- scrollLeft: n.scrollLeft,
75
- scrollTop: n.scrollTop
76
- } : {
77
- scrollLeft: n.scrollX,
78
- scrollTop: n.scrollY
79
- };
80
- }
81
- function u(n) {
82
- if (s(n) === "html")
83
- return n;
84
- const t = (
85
- // Step into the shadow DOM of the parent of a slotted node.
86
- n.assignedSlot || // DOM Element detected.
87
- n.parentNode || // ShadowRoot detected.
88
- a(n) && n.host || // Fallback.
89
- E(n)
90
- );
91
- return a(t) ? t.host : t;
92
- }
93
- function h(n) {
94
- const t = u(n);
95
- return g(t) ? n.ownerDocument ? n.ownerDocument.body : n.body : w(t) && y(t) ? t : h(t);
96
- }
97
- function d(n, t, e) {
98
- var o;
99
- t === void 0 && (t = []), e === void 0 && (e = !0);
100
- const r = h(n), S = r === ((o = n.ownerDocument) == null ? void 0 : o.body), l = i(r);
101
- if (S) {
102
- const f = v(l);
103
- return t.concat(l, l.visualViewport || [], y(r) ? r : [], f && e ? d(f) : []);
104
- }
105
- return t.concat(r, d(r, [], e));
106
- }
107
- function v(n) {
108
- return n.parent && Object.getPrototypeOf(n.parent) ? n.frameElement : null;
109
- }
1
+ const e = function(t) {
2
+ return (...n) => n.length >= t.length ? t(...n) : e(t.bind(void 0, ...n));
3
+ };
110
4
  export {
111
- b as getComputedStyle,
112
- k as getContainingBlock,
113
- E as getDocumentElement,
114
- v as getFrameElement,
115
- h as getNearestOverflowAncestor,
116
- s as getNodeName,
117
- C as getNodeScroll,
118
- d as getOverflowAncestors,
119
- u as getParentNode,
120
- i as getWindow,
121
- T as isContainingBlock,
122
- m as isElement,
123
- w as isHTMLElement,
124
- g as isLastTraversableNode,
125
- p as isNode,
126
- y as isOverflowElement,
127
- a as isShadowRoot,
128
- D as isTableElement,
129
- N as isTopLayer,
130
- L as isWebKit
5
+ e as curry
131
6
  };
package/dist/index287.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index214.js";
1
+ import o from "./index237.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index288.js CHANGED
@@ -1,5 +1,19 @@
1
- import o from "./index216.js";
2
- /* empty css */
1
+ import { get as t } from "./index281.js";
2
+ const o = () => ({
3
+ getItemText(r, n) {
4
+ if (typeof r == "string" && !n) return r;
5
+ if (n) {
6
+ if (typeof n == "function") {
7
+ let f = n(r);
8
+ return typeof f != "string" && (f = JSON.stringify(f)), f;
9
+ } else if (typeof n == "string") {
10
+ const f = t(r, n);
11
+ return typeof f == "string" ? f : JSON.stringify(f);
12
+ }
13
+ }
14
+ return JSON.stringify(r);
15
+ }
16
+ });
3
17
  export {
4
- o as default
18
+ o as useItemText
5
19
  };