bitboss-ui 2.0.94 → 2.0.95

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 (149) hide show
  1. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +1 -0
  2. package/dist/components/BbRows/BbRows.vue.d.ts +1 -1
  3. package/dist/index100.js +10 -10
  4. package/dist/index111.js +6 -6
  5. package/dist/index119.js +2 -2
  6. package/dist/index121.js +5 -5
  7. package/dist/index123.js +1 -1
  8. package/dist/index127.js +1 -1
  9. package/dist/index128.js +1 -1
  10. package/dist/index129.js +1 -1
  11. package/dist/index13.js +1 -1
  12. package/dist/index131.js +1 -1
  13. package/dist/index133.js +2 -2
  14. package/dist/index134.js +2 -2
  15. package/dist/index15.js +4 -4
  16. package/dist/index17.js +3 -3
  17. package/dist/index19.js +2 -2
  18. package/dist/index206.js +2 -81
  19. package/dist/index207.js +81 -2
  20. package/dist/index208.js +51 -124
  21. package/dist/index21.js +14 -14
  22. package/dist/index210.js +13 -125
  23. package/dist/index211.js +20 -19
  24. package/dist/index212.js +4 -16
  25. package/dist/index213.js +5 -16
  26. package/dist/index214.js +16 -2
  27. package/dist/index215.js +16 -2
  28. package/dist/index216.js +18 -40
  29. package/dist/index217.js +18 -19
  30. package/dist/index218.js +27 -6
  31. package/dist/index219.js +3 -53
  32. package/dist/index220.js +4 -0
  33. package/dist/index221.js +8 -13
  34. package/dist/index222.js +249 -5
  35. package/dist/index223.js +50 -10
  36. package/dist/index224.js +44 -369
  37. package/dist/index225.js +5 -3
  38. package/dist/index226.js +60 -4
  39. package/dist/index227.js +2 -19
  40. package/dist/index228.js +4 -27
  41. package/dist/index229.js +2 -3
  42. package/dist/index23.js +16 -16
  43. package/dist/index230.js +3 -8
  44. package/dist/index231.js +40 -248
  45. package/dist/index232.js +5 -51
  46. package/dist/index233.js +7 -44
  47. package/dist/index234.js +11 -4
  48. package/dist/index235.js +163 -59
  49. package/dist/index236.js +84 -164
  50. package/dist/index238.js +128 -0
  51. package/dist/index239.js +125 -2
  52. package/dist/index240.js +2 -4
  53. package/dist/index241.js +5 -2
  54. package/dist/index242.js +369 -3
  55. package/dist/index243.js +3 -7
  56. package/dist/index244.js +2 -2
  57. package/dist/index245.js +105 -17
  58. package/dist/{index248.js → index247.js} +1 -1
  59. package/dist/index249.js +4 -0
  60. package/dist/index25.js +6 -6
  61. package/dist/index250.js +18 -2
  62. package/dist/index253.js +9 -224
  63. package/dist/index254.js +23 -281
  64. package/dist/index255.js +89 -6
  65. package/dist/index257.js +9 -2
  66. package/dist/index258.js +6 -2
  67. package/dist/index259.js +16 -2
  68. package/dist/index260.js +3 -2
  69. package/dist/index262.js +5 -429
  70. package/dist/index264.js +281 -3
  71. package/dist/index265.js +8 -0
  72. package/dist/index266.js +2 -7
  73. package/dist/index267.js +2 -22
  74. package/dist/index269.js +2 -2
  75. package/dist/index27.js +1 -1
  76. package/dist/index270.js +2 -6
  77. package/dist/index271.js +2 -16
  78. package/dist/index272.js +2 -9
  79. package/dist/index273.js +2 -23
  80. package/dist/index274.js +2 -89
  81. package/dist/index275.js +4 -0
  82. package/dist/index276.js +27 -8
  83. package/dist/index277.js +22 -2
  84. package/dist/index279.js +4 -2
  85. package/dist/index280.js +431 -2
  86. package/dist/index281.js +1 -1
  87. package/dist/index282.js +89 -2
  88. package/dist/index283.js +3 -28
  89. package/dist/index284.js +12 -22
  90. package/dist/index285.js +11 -0
  91. package/dist/index286.js +9 -436
  92. package/dist/index287.js +16 -126
  93. package/dist/index288.js +4 -200
  94. package/dist/index289.js +200 -3
  95. package/dist/index29.js +3 -3
  96. package/dist/index290.js +2 -12
  97. package/dist/index291.js +124 -7
  98. package/dist/index292.js +20 -7
  99. package/dist/index294.js +8 -4
  100. package/dist/index295.js +224 -8
  101. package/dist/index296.js +435 -3
  102. package/dist/index297.js +125 -87
  103. package/dist/index298.js +1 -1
  104. package/dist/index299.js +1 -1
  105. package/dist/index300.js +1 -1
  106. package/dist/index301.js +2 -65
  107. package/dist/index302.js +33 -2
  108. package/dist/index303.js +5 -5
  109. package/dist/index304.js +7 -4
  110. package/dist/index305.js +3 -8
  111. package/dist/index306.js +3 -3
  112. package/dist/index307.js +58 -3
  113. package/dist/index308.js +2 -58
  114. package/dist/index309.js +6 -3
  115. package/dist/index31.js +2 -2
  116. package/dist/index310.js +65 -2
  117. package/dist/index311.js +5 -7
  118. package/dist/index312.js +6 -18
  119. package/dist/index313.js +18 -32
  120. package/dist/index314.js +10 -6
  121. package/dist/index315.js +3 -10
  122. package/dist/index317.js +480 -2
  123. package/dist/index319.js +2 -480
  124. package/dist/index33.js +2 -2
  125. package/dist/index35.js +3 -3
  126. package/dist/index37.js +15 -15
  127. package/dist/index39.js +4 -4
  128. package/dist/index41.js +2 -2
  129. package/dist/index43.js +2 -2
  130. package/dist/index45.js +6 -6
  131. package/dist/index47.js +2 -2
  132. package/dist/index49.js +2 -2
  133. package/dist/index55.js +1 -1
  134. package/dist/index57.js +1 -1
  135. package/dist/index75.js +3 -3
  136. package/dist/index79.js +2 -2
  137. package/dist/index81.js +1 -1
  138. package/dist/index84.js +3 -3
  139. package/dist/index86.js +1 -1
  140. package/dist/index88.js +4 -4
  141. package/dist/index90.js +1 -1
  142. package/package.json +1 -1
  143. package/dist/index209.js +0 -7
  144. package/dist/index237.js +0 -86
  145. package/dist/index246.js +0 -108
  146. package/dist/index256.js +0 -4
  147. package/dist/index261.js +0 -128
  148. package/dist/index293.js +0 -19
  149. /package/dist/{index278.js → index268.js} +0 -0
package/dist/index79.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as j, ref as g, watch as x, computed as m, openBlock as V, createBlock as G, resolveDynamicComponent as K, normalizeClass as O, withCtx as M, createElementVNode as c, withModifiers as y, renderSlot as U, normalizeProps as Y, guardReactiveProps as Z, createTextVNode as J, unref as Q, createVNode as W, createElementBlock as F, Fragment as X, renderList as ee, toDisplayString as te } from "vue";
2
- import { findInTree as ae } from "./index271.js";
2
+ import { findInTree as ae } from "./index259.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index128.js";
5
5
  /* empty css */
@@ -53,7 +53,7 @@ const le = ["accept", "autofocus", "disabled", "multiple"], se = { class: "bb-dr
53
53
  const r = a.accept[t];
54
54
  if (r.includes("/")) e.push(r);
55
55
  else {
56
- b || (b = (await import("./index270.js")).default);
56
+ b || (b = (await import("./index258.js")).default);
57
57
  const o = b.getType(r);
58
58
  if (!o)
59
59
  throw new Error(
package/dist/index81.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, openBlock as g, createBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
2
- import { throttle as c } from "./index242.js";
2
+ import { throttle as c } from "./index230.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index84.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as le, ref as l, useAttrs as se, computed as u, getCurrentInstance as ae, nextTick as ne, onBeforeUnmount as O, onMounted as ie, watch as re, openBlock as g, createBlock as ue, withCtx as ce, createElementVNode as s, mergeProps as S, createElementBlock as z, renderSlot as n, createTextVNode as de, toDisplayString as A, createCommentVNode as $ } from "vue";
2
- import { useFocusTrap as fe } from "./index216.js";
2
+ import { useFocusTrap as fe } from "./index231.js";
3
3
  import { useId as E } from "./index8.js";
4
4
  import { wait as H } from "./index132.js";
5
- import { useModalsState as b } from "./index243.js";
6
- import ve from "./index223.js";
5
+ import { useModalsState as b } from "./index233.js";
6
+ import ve from "./index234.js";
7
7
  import { useMobile as pe } from "./index9.js";
8
8
  const be = ["inert"], me = { class: "bb-offcanvas-close" }, ye = ["aria-label"], Ve = /* @__PURE__ */ le({
9
9
  __name: "BbOffCanvas",
package/dist/index86.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as P, computed as _, ref as g, onMounted as A, onBeforeUnmount as E, openBlock as y, createElementBlock as k, normalizeClass as C, createElementVNode as i, createVNode as V, unref as S, withCtx as h, renderSlot as v, Fragment as W, renderList as R, toDisplayString as M, nextTick as $ } from "vue";
2
- import { debounce as F } from "./index276.js";
2
+ import { debounce as F } from "./index257.js";
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  import w from "./index13.js";
package/dist/index88.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as M, ref as n, computed as v, openBlock as k, createElementBlock as O, mergeProps as F, createElementVNode as p, renderSlot as y, normalizeProps as S, guardReactiveProps as H, createVNode as V, withCtx as C, createBlock as q, createCommentVNode as I, nextTick as W } from "vue";
2
- import { useFocusTrap as z } from "./index216.js";
2
+ import { useFocusTrap as z } from "./index231.js";
3
3
  import { useId as A } from "./index8.js";
4
4
  import { useIntersectionObserver as R } from "./index133.js";
5
- import { waitFor as j } from "./index218.js";
5
+ import { waitFor as j } from "./index232.js";
6
6
  import G from "./index13.js";
7
7
  /* empty css */
8
- import J from "./index274.js";
8
+ import J from "./index255.js";
9
9
  /* empty css */
10
- import { useDebounceFn as K } from "./index206.js";
10
+ import { useDebounceFn as K } from "./index207.js";
11
11
  const re = /* @__PURE__ */ M({
12
12
  __name: "BbPopover",
13
13
  props: {
package/dist/index90.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, computed as a, openBlock as l, createElementBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
2
- import { clamp as p } from "./index207.js";
2
+ import { clamp as p } from "./index206.js";
3
3
  import { getAsPercentageBetween as i } from "./index131.js";
4
4
  const _ = /* @__PURE__ */ r({
5
5
  __name: "BbProgress",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.0.94",
3
+ "version": "2.0.95",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
package/dist/index209.js DELETED
@@ -1,7 +0,0 @@
1
- import { getDefaultExportFromCjs as r } from "./index255.js";
2
- import { __require as o } from "./index254.js";
3
- var t = o();
4
- const s = /* @__PURE__ */ r(t);
5
- export {
6
- s as default
7
- };
package/dist/index237.js DELETED
@@ -1,86 +0,0 @@
1
- import { defineComponent as b, openBlock as t, createElementBlock as n, normalizeClass as r, createElementVNode as l, renderSlot as s, createTextVNode as o, toDisplayString as d, createCommentVNode as h, Fragment as c, renderList as m } from "vue";
2
- const p = { class: "bb-cr-container__container" }, u = {
3
- key: 0,
4
- class: "bb-cr-container__loading-container"
5
- }, g = {
6
- key: 1,
7
- class: "bb-cr-container__no-data-container"
8
- }, f = /* @__PURE__ */ b({
9
- __name: "OptionsContainer",
10
- props: {
11
- direction: {},
12
- hasErrors: { type: Boolean },
13
- hideLabel: { type: Boolean },
14
- loadingText: {},
15
- loading: { type: Boolean },
16
- noDataText: {},
17
- options: {}
18
- },
19
- setup(k) {
20
- return (a, y) => (t(), n("span", {
21
- ref: "container",
22
- class: r(["bb-cr-container", {
23
- "bb-cr-container--errors": a.hasErrors,
24
- "bb-cr-container--horizontal": a.direction === "horizontal",
25
- "bb-cr-container--vertical": a.direction === "vertical"
26
- }])
27
- }, [
28
- l("span", p, [
29
- s(a.$slots, "prepend"),
30
- !a.options.length && a.loading ? (t(), n("span", u, [
31
- s(a.$slots, "loading", {}, () => [
32
- o(d(a.loadingText), 1)
33
- ])
34
- ])) : a.options.length ? h("", !0) : (t(), n("span", g, [
35
- s(a.$slots, "no-data", {}, () => [
36
- o(d(a.noDataText), 1)
37
- ])
38
- ])),
39
- (t(!0), n(c, null, m(a.options, (e, i) => (t(), n(c, {
40
- key: (e == null ? void 0 : e.valueHash) || i
41
- }, [
42
- s(a.$slots, "option:prepend", {
43
- id: e.valueHash,
44
- checked: !!e.selected,
45
- disabled: !!e.disabled,
46
- item: e.item,
47
- text: e.text
48
- }),
49
- l("label", {
50
- class: r(["bb-cr-container-option", { "bb-base-radio-selected": e.selected }])
51
- }, [
52
- s(a.$slots, "input", {
53
- index: i,
54
- option: e
55
- }),
56
- l("span", {
57
- class: r({
58
- "bb-cr-container-option__text": !0,
59
- "sr-only": a.hideLabel
60
- })
61
- }, [
62
- s(a.$slots, "label", {
63
- checked: !!e.selected,
64
- item: e.item,
65
- text: e.text
66
- }, () => [
67
- o(d(e.text), 1)
68
- ])
69
- ], 2)
70
- ], 2),
71
- s(a.$slots, "option:append", {
72
- id: e.valueHash,
73
- checked: !!e.selected,
74
- disabled: !!e.disabled,
75
- item: e.item,
76
- text: e.text
77
- })
78
- ], 64))), 128)),
79
- s(a.$slots, "append")
80
- ])
81
- ], 2));
82
- }
83
- });
84
- export {
85
- f as default
86
- };
package/dist/index246.js DELETED
@@ -1,108 +0,0 @@
1
- import { defineComponent as y, ref as F, computed as H, watch as N, openBlock as p, createElementBlock as L, Fragment as S, renderList as V, createBlock as A, normalizeClass as O, withModifiers as P, withCtx as $, createTextVNode as z, toDisplayString as D } from "vue";
2
- import { hash as d } from "./index229.js";
3
- import { isNil as l } from "./index130.js";
4
- import E from "./index125.js";
5
- /* empty css */
6
- const K = /* @__PURE__ */ y({
7
- __name: "ChipsBox",
8
- props: {
9
- options: {}
10
- },
11
- emits: ["option:unselected"],
12
- setup(f, { expose: v, emit: h }) {
13
- const t = f, u = h, n = F(null), i = H(() => t.options.some((e) => !e.disabled)), a = (e = 1) => {
14
- const s = l(n.value) ? -1 : n.value;
15
- let o = (s + e) % t.options.length;
16
- for (; t.options[o].disabled && o !== s; )
17
- o = a(e + 1);
18
- return o;
19
- }, x = () => {
20
- if (!i.value) return;
21
- const e = a();
22
- n.value = e;
23
- }, c = (e = 1) => {
24
- const s = l(n.value) ? 0 : n.value;
25
- let o = (s - e + t.options.length) % t.options.length;
26
- for (; t.options[o].disabled && o !== s; )
27
- o = c(e + 1);
28
- return o;
29
- }, m = async () => {
30
- if (!i.value) return;
31
- const e = c();
32
- n.value = e;
33
- }, w = () => {
34
- if (!i.value) return;
35
- let e = 0;
36
- for (; t.options[e].disabled; )
37
- e++;
38
- n.value = e;
39
- }, b = () => {
40
- if (!i.value) return;
41
- let e = t.options.length - 1;
42
- for (; t.options[e].disabled && e !== 0; )
43
- e--;
44
- n.value = e;
45
- }, I = () => {
46
- if (!i.value) return;
47
- let e = 0;
48
- for (; !t.options[e].selected && t.options.length !== e; )
49
- e++;
50
- n.value = e;
51
- }, g = () => {
52
- if (!i.value) return;
53
- let e = t.options.length - 1;
54
- for (; t.options[e].selected && e !== 0; )
55
- e--;
56
- n.value = e;
57
- }, _ = (e) => {
58
- if (!i.value) return;
59
- const s = t.options.findIndex(
60
- (o) => o.valueHash === e
61
- );
62
- s >= 0 && (n.value = s);
63
- }, r = () => {
64
- n.value = null;
65
- }, k = () => {
66
- if (l(n.value)) return;
67
- const e = t.options[n.value];
68
- e.selected && u("option:unselected", e);
69
- }, C = () => l(n.value) ? void 0 : t.options[n.value];
70
- return N(
71
- () => t.options,
72
- (e, s) => {
73
- d(e) !== d(s) && r();
74
- },
75
- {
76
- flush: "post"
77
- }
78
- ), v({
79
- focusNext: x,
80
- focusPrevious: m,
81
- focusFirst: w,
82
- focusFirstSelected: I,
83
- focusLast: b,
84
- focusLastSelected: g,
85
- blur: r,
86
- confirmOption: k,
87
- focusByHash: _,
88
- getHighlighted: C
89
- }), (e, s) => (p(!0), L(S, null, V(e.options, (o, B) => (p(), A(E, {
90
- key: o.valueHash,
91
- class: O({
92
- "bb-chipsbox-item": !0,
93
- "bb-chipsbox-item--focused": B === n.value
94
- }),
95
- clearable: !0,
96
- text: o.text,
97
- "onClick:clear": P((M) => u("option:unselected", o), ["stop"])
98
- }, {
99
- default: $(() => [
100
- z(D(o.text), 1)
101
- ]),
102
- _: 2
103
- }, 1032, ["class", "text", "onClick:clear"]))), 128));
104
- }
105
- });
106
- export {
107
- K as default
108
- };
package/dist/index256.js DELETED
@@ -1,4 +0,0 @@
1
- var a = { exports: {} };
2
- export {
3
- a as __module
4
- };
package/dist/index261.js DELETED
@@ -1,128 +0,0 @@
1
- function l(n) {
2
- return d(n) ? (n.nodeName || "").toLowerCase() : "#document";
3
- }
4
- function c(n) {
5
- var t;
6
- return (n == null || (t = n.ownerDocument) == null ? void 0 : t.defaultView) || window;
7
- }
8
- function S(n) {
9
- var t;
10
- return (t = (d(n) ? n.ownerDocument : n.document) || window.document) == null ? void 0 : t.documentElement;
11
- }
12
- function d(n) {
13
- return n instanceof Node || n instanceof c(n).Node;
14
- }
15
- function p(n) {
16
- return n instanceof Element || n instanceof c(n).Element;
17
- }
18
- function m(n) {
19
- return n instanceof HTMLElement || n instanceof c(n).HTMLElement;
20
- }
21
- function f(n) {
22
- return typeof ShadowRoot > "u" ? !1 : n instanceof ShadowRoot || n instanceof c(n).ShadowRoot;
23
- }
24
- function w(n) {
25
- const {
26
- overflow: t,
27
- overflowX: e,
28
- overflowY: o,
29
- display: r
30
- } = g(n);
31
- return /auto|scroll|overlay|hidden|clip/.test(t + o + e) && !["inline", "contents"].includes(r);
32
- }
33
- function L(n) {
34
- return ["table", "td", "th"].includes(l(n));
35
- }
36
- function E(n) {
37
- return [":popover-open", ":modal"].some((t) => {
38
- try {
39
- return n.matches(t);
40
- } catch {
41
- return !1;
42
- }
43
- });
44
- }
45
- function N(n) {
46
- const t = T(), e = p(n) ? g(n) : n;
47
- return e.transform !== "none" || e.perspective !== "none" || (e.containerType ? e.containerType !== "normal" : !1) || !t && (e.backdropFilter ? e.backdropFilter !== "none" : !1) || !t && (e.filter ? e.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((o) => (e.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (e.contain || "").includes(o));
48
- }
49
- function D(n) {
50
- let t = u(n);
51
- for (; m(t) && !y(t); ) {
52
- if (N(t))
53
- return t;
54
- if (E(t))
55
- return null;
56
- t = u(t);
57
- }
58
- return null;
59
- }
60
- function T() {
61
- return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
62
- }
63
- function y(n) {
64
- return ["html", "body", "#document"].includes(l(n));
65
- }
66
- function g(n) {
67
- return c(n).getComputedStyle(n);
68
- }
69
- function k(n) {
70
- return p(n) ? {
71
- scrollLeft: n.scrollLeft,
72
- scrollTop: n.scrollTop
73
- } : {
74
- scrollLeft: n.scrollX,
75
- scrollTop: n.scrollY
76
- };
77
- }
78
- function u(n) {
79
- if (l(n) === "html")
80
- return n;
81
- const t = (
82
- // Step into the shadow DOM of the parent of a slotted node.
83
- n.assignedSlot || // DOM Element detected.
84
- n.parentNode || // ShadowRoot detected.
85
- f(n) && n.host || // Fallback.
86
- S(n)
87
- );
88
- return f(t) ? t.host : t;
89
- }
90
- function b(n) {
91
- const t = u(n);
92
- return y(t) ? n.ownerDocument ? n.ownerDocument.body : n.body : m(t) && w(t) ? t : b(t);
93
- }
94
- function a(n, t, e) {
95
- var o;
96
- t === void 0 && (t = []), e === void 0 && (e = !0);
97
- const r = b(n), h = r === ((o = n.ownerDocument) == null ? void 0 : o.body), i = c(r);
98
- if (h) {
99
- const s = v(i);
100
- return t.concat(i, i.visualViewport || [], w(r) ? r : [], s && e ? a(s) : []);
101
- }
102
- return t.concat(r, a(r, [], e));
103
- }
104
- function v(n) {
105
- return n.parent && Object.getPrototypeOf(n.parent) ? n.frameElement : null;
106
- }
107
- export {
108
- g as getComputedStyle,
109
- D as getContainingBlock,
110
- S as getDocumentElement,
111
- v as getFrameElement,
112
- b as getNearestOverflowAncestor,
113
- l as getNodeName,
114
- k as getNodeScroll,
115
- a as getOverflowAncestors,
116
- u as getParentNode,
117
- c as getWindow,
118
- N as isContainingBlock,
119
- p as isElement,
120
- m as isHTMLElement,
121
- y as isLastTraversableNode,
122
- d as isNode,
123
- w as isOverflowElement,
124
- f as isShadowRoot,
125
- L as isTableElement,
126
- E as isTopLayer,
127
- T as isWebKit
128
- };
package/dist/index293.js DELETED
@@ -1,19 +0,0 @@
1
- import { get as t } from "./index315.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
- });
17
- export {
18
- o as useItemText
19
- };
File without changes