bitboss-ui 0.2.12 → 0.2.14

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 (240) hide show
  1. package/dist/composables/useWizard.d.ts +44 -15
  2. package/dist/index101.js +3 -3
  3. package/dist/index103.js +2 -2
  4. package/dist/index109.js +1 -1
  5. package/dist/index11.js +2 -2
  6. package/dist/index111.js +4 -4
  7. package/dist/index113.js +1 -1
  8. package/dist/index116.js +1 -1
  9. package/dist/index117.js +1 -1
  10. package/dist/index118.js +1 -1
  11. package/dist/index119.js +1 -1
  12. package/dist/index121.js +1 -1
  13. package/dist/index125.js +1 -1
  14. package/dist/index126.js +1 -1
  15. package/dist/index127.js +24 -2
  16. package/dist/index127.js.map +1 -1
  17. package/dist/index128.js +2 -70
  18. package/dist/index128.js.map +1 -1
  19. package/dist/index131.js +70 -3
  20. package/dist/index131.js.map +1 -1
  21. package/dist/index132.js +2 -2
  22. package/dist/index133.js +2 -2
  23. package/dist/index134.js +2 -2
  24. package/dist/index135.js +2 -2
  25. package/dist/index136.js +2 -2
  26. package/dist/index137.js +2 -2
  27. package/dist/index138.js +2 -2
  28. package/dist/index139.js +2 -2
  29. package/dist/index140.js +2 -2
  30. package/dist/index141.js +2 -2
  31. package/dist/index142.js +2 -2
  32. package/dist/index143.js +2 -2
  33. package/dist/index144.js +2 -2
  34. package/dist/index145.js +2 -2
  35. package/dist/index146.js +2 -2
  36. package/dist/index147.js +2 -2
  37. package/dist/index148.js +2 -2
  38. package/dist/index149.js +2 -2
  39. package/dist/index15.js +8 -8
  40. package/dist/index150.js +2 -2
  41. package/dist/index151.js +2 -2
  42. package/dist/index152.js +2 -2
  43. package/dist/index153.js +2 -2
  44. package/dist/index154.js +2 -2
  45. package/dist/index155.js +2 -2
  46. package/dist/index156.js +2 -2
  47. package/dist/index157.js +3 -2
  48. package/dist/index157.js.map +1 -1
  49. package/dist/index158.js +2 -3
  50. package/dist/index158.js.map +1 -1
  51. package/dist/index159.js +3 -2
  52. package/dist/index159.js.map +1 -1
  53. package/dist/index160.js +2 -3
  54. package/dist/index160.js.map +1 -1
  55. package/dist/index161.js +2 -2
  56. package/dist/index162.js +2 -2
  57. package/dist/index163.js +2 -2
  58. package/dist/index164.js +2 -2
  59. package/dist/index165.js +2 -2
  60. package/dist/index166.js +3 -2
  61. package/dist/index166.js.map +1 -1
  62. package/dist/index167.js +2 -3
  63. package/dist/index167.js.map +1 -1
  64. package/dist/index168.js +3 -2
  65. package/dist/index168.js.map +1 -1
  66. package/dist/index169.js +2 -2
  67. package/dist/index17.js +9 -9
  68. package/dist/index170.js +2 -3
  69. package/dist/index170.js.map +1 -1
  70. package/dist/index171.js +2 -2
  71. package/dist/index172.js +2 -2
  72. package/dist/index173.js +2 -2
  73. package/dist/index174.js +2 -2
  74. package/dist/index175.js +2 -2
  75. package/dist/index176.js +2 -2
  76. package/dist/index177.js +2 -2
  77. package/dist/index178.js +2 -2
  78. package/dist/index179.js +2 -2
  79. package/dist/index180.js +2 -2
  80. package/dist/index181.js +2 -2
  81. package/dist/index182.js +3 -2
  82. package/dist/index182.js.map +1 -1
  83. package/dist/index183.js +2 -3
  84. package/dist/index183.js.map +1 -1
  85. package/dist/index184.js +3 -2
  86. package/dist/index184.js.map +1 -1
  87. package/dist/index185.js +2 -3
  88. package/dist/index185.js.map +1 -1
  89. package/dist/index186.js +2 -2
  90. package/dist/index187.js +2 -2
  91. package/dist/index188.js +2 -2
  92. package/dist/index189.js +2 -2
  93. package/dist/index19.js +3 -3
  94. package/dist/index190.js +2 -2
  95. package/dist/index191.js +2 -2
  96. package/dist/index192.js +2 -2
  97. package/dist/index193.js +2 -2
  98. package/dist/index194.js +2 -2
  99. package/dist/index195.js +3 -2
  100. package/dist/index195.js.map +1 -1
  101. package/dist/index196.js +2 -378
  102. package/dist/index196.js.map +1 -1
  103. package/dist/index197.js +2 -134
  104. package/dist/index197.js.map +1 -1
  105. package/dist/index198.js +4 -5
  106. package/dist/index198.js.map +1 -1
  107. package/dist/index199.js +5 -19
  108. package/dist/index199.js.map +1 -1
  109. package/dist/index200.js +16 -2
  110. package/dist/index200.js.map +1 -1
  111. package/dist/index201.js +16 -2
  112. package/dist/index201.js.map +1 -1
  113. package/dist/index202.js +17 -172
  114. package/dist/index202.js.map +1 -1
  115. package/dist/index203.js +20 -23
  116. package/dist/index203.js.map +1 -1
  117. package/dist/index204.js +27 -371
  118. package/dist/index204.js.map +1 -1
  119. package/dist/index205.js +8 -3
  120. package/dist/index205.js.map +1 -1
  121. package/dist/index206.js +2 -35
  122. package/dist/index206.js.map +1 -1
  123. package/dist/index207.js +378 -6
  124. package/dist/index207.js.map +1 -1
  125. package/dist/index208.js +134 -2
  126. package/dist/index208.js.map +1 -1
  127. package/dist/index209.js +2 -4
  128. package/dist/index209.js.map +1 -1
  129. package/dist/index21.js +3 -3
  130. package/dist/index210.js +165 -226
  131. package/dist/index210.js.map +1 -1
  132. package/dist/index211.js +23 -2
  133. package/dist/index211.js.map +1 -1
  134. package/dist/index212.js +371 -14
  135. package/dist/index212.js.map +1 -1
  136. package/dist/index213.js +3 -16
  137. package/dist/index213.js.map +1 -1
  138. package/dist/index214.js +3 -20
  139. package/dist/index214.js.map +1 -1
  140. package/dist/index215.js +235 -29
  141. package/dist/index215.js.map +1 -1
  142. package/dist/index216.js +2 -8
  143. package/dist/index216.js.map +1 -1
  144. package/dist/index217.js +3 -10
  145. package/dist/index217.js.map +1 -1
  146. package/dist/index218.js +35 -2
  147. package/dist/index218.js.map +1 -1
  148. package/dist/index219.js +6 -3
  149. package/dist/index219.js.map +1 -1
  150. package/dist/index220.js +2 -3
  151. package/dist/index220.js.map +1 -1
  152. package/dist/index221.js +9 -27
  153. package/dist/index221.js.map +1 -1
  154. package/dist/index222.js +8 -12
  155. package/dist/index222.js.map +1 -1
  156. package/dist/index223.js +119 -7
  157. package/dist/index223.js.map +1 -1
  158. package/dist/index224.js +25 -118
  159. package/dist/index224.js.map +1 -1
  160. package/dist/index225.js +13 -79
  161. package/dist/index225.js.map +1 -1
  162. package/dist/index226.js +79 -2
  163. package/dist/index226.js.map +1 -1
  164. package/dist/index227.js +4 -6
  165. package/dist/index227.js.map +1 -1
  166. package/dist/index228.js +295 -2
  167. package/dist/index228.js.map +1 -1
  168. package/dist/index229.js +5 -294
  169. package/dist/index229.js.map +1 -1
  170. package/dist/index23.js +1 -1
  171. package/dist/index232.js +2 -117
  172. package/dist/index232.js.map +1 -1
  173. package/dist/index233.js +2 -106
  174. package/dist/index233.js.map +1 -1
  175. package/dist/index234.js +2 -435
  176. package/dist/index234.js.map +1 -1
  177. package/dist/index235.js +2 -89
  178. package/dist/index235.js.map +1 -1
  179. package/dist/index236.js +2 -162
  180. package/dist/index236.js.map +1 -1
  181. package/dist/index237.js +117 -2
  182. package/dist/index237.js.map +1 -1
  183. package/dist/index238.js +105 -68
  184. package/dist/index238.js.map +1 -1
  185. package/dist/index239.js +2 -2
  186. package/dist/index239.js.map +1 -1
  187. package/dist/index240.js +224 -200
  188. package/dist/index240.js.map +1 -1
  189. package/dist/index241.js +258 -4
  190. package/dist/index241.js.map +1 -1
  191. package/dist/index242.js +429 -32
  192. package/dist/index242.js.map +1 -1
  193. package/dist/index243.js +89 -2
  194. package/dist/index243.js.map +1 -1
  195. package/dist/index244.js +200 -2
  196. package/dist/index244.js.map +1 -1
  197. package/dist/index245.js +162 -2
  198. package/dist/index245.js.map +1 -1
  199. package/dist/index246.js +2 -2
  200. package/dist/index247.js +2 -2
  201. package/dist/index247.js.map +1 -1
  202. package/dist/index248.js +69 -2
  203. package/dist/index248.js.map +1 -1
  204. package/dist/index249.js +2 -224
  205. package/dist/index249.js.map +1 -1
  206. package/dist/index25.js +2 -2
  207. package/dist/index250.js +38 -258
  208. package/dist/index250.js.map +1 -1
  209. package/dist/index251.js +2 -2
  210. package/dist/index251.js.map +1 -1
  211. package/dist/index252.js +2 -2
  212. package/dist/index252.js.map +1 -1
  213. package/dist/index253.js +15 -3
  214. package/dist/index253.js.map +1 -1
  215. package/dist/index254.js +3 -2
  216. package/dist/index254.js.map +1 -1
  217. package/dist/index255.js +5 -0
  218. package/dist/index255.js.map +1 -0
  219. package/dist/index256.js +5 -0
  220. package/dist/index256.js.map +1 -0
  221. package/dist/index29.js +3 -3
  222. package/dist/index31.js +8 -8
  223. package/dist/index33.js +2 -2
  224. package/dist/index35.js +2 -2
  225. package/dist/index43.js +1 -1
  226. package/dist/index45.js +2 -2
  227. package/dist/index47.js +1 -1
  228. package/dist/index49.js +1 -1
  229. package/dist/index59.js +1 -1
  230. package/dist/index65.js +5 -5
  231. package/dist/index69.js +3 -3
  232. package/dist/index72.js +1 -1
  233. package/dist/index75.js +1 -1
  234. package/dist/index77.js +1 -1
  235. package/dist/index79.js +4 -4
  236. package/dist/index8.js +85 -101
  237. package/dist/index8.js.map +1 -1
  238. package/dist/index81.js +1 -1
  239. package/dist/style.css +1 -1
  240. package/package.json +1 -1
package/dist/index238.js CHANGED
@@ -1,72 +1,109 @@
1
- import { defineComponent as d, openBlock as s, createElementBlock as a, normalizeClass as b, createElementVNode as t, createBlock as i, createCommentVNode as o, toDisplayString as l, withCtx as p } from "vue";
2
- import h from "./index9.js";
3
- import "./index10.js";
4
- import u from "./index117.js";
5
- import "./index168.js";
6
- const k = { class: "bb-toast-message__icon-container" }, g = { class: "bb-toast-message__content" }, f = {
7
- key: 0,
8
- class: "bb-toast-message__title"
9
- }, C = { class: "bb-toast-message__text" }, v = { class: "bb-toast-message__close" }, w = /* @__PURE__ */ t("svg", {
10
- viewBox: "0 0 24 24",
11
- fill: "none",
12
- xmlns: "http://www.w3.org/2000/svg"
13
- }, [
14
- /* @__PURE__ */ t("path", {
15
- d: "M23 23L1 1M23 1L1 23",
16
- stroke: "currentColor",
17
- "stroke-width": "2",
18
- "stroke-linecap": "round"
19
- })
20
- ], -1), N = /* @__PURE__ */ d({
21
- __name: "BbToastMessage",
22
- props: {
23
- title: {},
24
- text: {},
25
- icon: {},
26
- theme: { default: "default" },
27
- id: {},
28
- showClose: { type: Boolean }
29
- },
30
- emits: ["click:close"],
31
- setup(n, { emit: c }) {
32
- const r = n, m = c, _ = () => {
33
- m("click:close", r.id);
34
- };
35
- return (e, y) => (s(), a("div", {
36
- class: b(["bb-toast-message", { [`bb-toast-message--${e.theme}`]: e.theme }]),
37
- "aria-role": "alert",
38
- "aria-live": "assertive",
39
- "aria-atomic": "true"
40
- }, [
41
- t("div", k, [
42
- e.icon ? (s(), i(u, {
43
- key: 0,
44
- class: "bb-alert__icon",
45
- type: e.icon
46
- }, null, 8, ["type"])) : o("", !0)
47
- ]),
48
- t("div", g, [
49
- e.title ? (s(), a("p", f, l(e.title), 1)) : o("", !0),
50
- t("p", C, l(e.text), 1)
51
- ]),
52
- t("div", v, [
53
- e.showClose ? (s(), i(h, {
54
- key: 0,
55
- class: "bb-toast-message__close-btn",
56
- onClick: _,
57
- block: "",
58
- "aria-label": "Chiudi"
59
- }, {
60
- default: p(() => [
61
- w
62
- ]),
63
- _: 1
64
- })) : o("", !0)
65
- ])
66
- ], 2));
1
+ function l(n) {
2
+ return a(n) ? (n.nodeName || "").toLowerCase() : "#document";
3
+ }
4
+ function i(n) {
5
+ var t;
6
+ return (n == null || (t = n.ownerDocument) == null ? void 0 : t.defaultView) || window;
7
+ }
8
+ function y(n) {
9
+ var t;
10
+ return (t = (a(n) ? n.ownerDocument : n.document) || window.document) == null ? void 0 : t.documentElement;
11
+ }
12
+ function a(n) {
13
+ return n instanceof Node || n instanceof i(n).Node;
14
+ }
15
+ function S(n) {
16
+ return n instanceof Element || n instanceof i(n).Element;
17
+ }
18
+ function d(n) {
19
+ return n instanceof HTMLElement || n instanceof i(n).HTMLElement;
20
+ }
21
+ function s(n) {
22
+ return typeof ShadowRoot > "u" ? !1 : n instanceof ShadowRoot || n instanceof i(n).ShadowRoot;
23
+ }
24
+ function m(n) {
25
+ const {
26
+ overflow: t,
27
+ overflowX: e,
28
+ overflowY: o,
29
+ display: r
30
+ } = p(n);
31
+ return /auto|scroll|overlay|hidden|clip/.test(t + o + e) && !["inline", "contents"].includes(r);
32
+ }
33
+ function E(n) {
34
+ return ["table", "td", "th"].includes(l(n));
35
+ }
36
+ function N(n) {
37
+ const t = h(), e = p(n);
38
+ 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));
39
+ }
40
+ function T(n) {
41
+ let t = u(n);
42
+ for (; d(t) && !w(t); ) {
43
+ if (N(t))
44
+ return t;
45
+ t = u(t);
67
46
  }
68
- });
47
+ return null;
48
+ }
49
+ function h() {
50
+ return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
51
+ }
52
+ function w(n) {
53
+ return ["html", "body", "#document"].includes(l(n));
54
+ }
55
+ function p(n) {
56
+ return i(n).getComputedStyle(n);
57
+ }
58
+ function C(n) {
59
+ return S(n) ? {
60
+ scrollLeft: n.scrollLeft,
61
+ scrollTop: n.scrollTop
62
+ } : {
63
+ scrollLeft: n.pageXOffset,
64
+ scrollTop: n.pageYOffset
65
+ };
66
+ }
67
+ function u(n) {
68
+ if (l(n) === "html")
69
+ return n;
70
+ const t = (
71
+ // Step into the shadow DOM of the parent of a slotted node.
72
+ n.assignedSlot || // DOM Element detected.
73
+ n.parentNode || // ShadowRoot detected.
74
+ s(n) && n.host || // Fallback.
75
+ y(n)
76
+ );
77
+ return s(t) ? t.host : t;
78
+ }
79
+ function g(n) {
80
+ const t = u(n);
81
+ return w(t) ? n.ownerDocument ? n.ownerDocument.body : n.body : d(t) && m(t) ? t : g(t);
82
+ }
83
+ function f(n, t, e) {
84
+ var o;
85
+ t === void 0 && (t = []), e === void 0 && (e = !0);
86
+ const r = g(n), b = r === ((o = n.ownerDocument) == null ? void 0 : o.body), c = i(r);
87
+ return b ? t.concat(c, c.visualViewport || [], m(r) ? r : [], c.frameElement && e ? f(c.frameElement) : []) : t.concat(r, f(r, [], e));
88
+ }
69
89
  export {
70
- N as default
90
+ p as getComputedStyle,
91
+ T as getContainingBlock,
92
+ y as getDocumentElement,
93
+ g as getNearestOverflowAncestor,
94
+ l as getNodeName,
95
+ C as getNodeScroll,
96
+ f as getOverflowAncestors,
97
+ u as getParentNode,
98
+ i as getWindow,
99
+ N as isContainingBlock,
100
+ S as isElement,
101
+ d as isHTMLElement,
102
+ w as isLastTraversableNode,
103
+ a as isNode,
104
+ m as isOverflowElement,
105
+ s as isShadowRoot,
106
+ E as isTableElement,
107
+ h as isWebKit
71
108
  };
72
109
  //# sourceMappingURL=index238.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index238.js","sources":["../src/components/BbToast/BbToastMessage.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock, withCtx as _withCtx, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = { class: \"bb-toast-message__icon-container\" }\nconst _hoisted_2 = { class: \"bb-toast-message__content\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"bb-toast-message__title\"\n}\nconst _hoisted_4 = { class: \"bb-toast-message__text\" }\nconst _hoisted_5 = { class: \"bb-toast-message__close\" }\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"svg\", {\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M23 23L1 1M23 1L1 23\",\n stroke: \"currentColor\",\n \"stroke-width\": \"2\",\n \"stroke-linecap\": \"round\"\n })\n], -1)\n\nimport type { Message } from \"../../composables/useToast\";\nimport BaseButton from \"../BaseButton/BaseButton.vue\";\nimport BbIcon from \"../BbIcon/BbIcon.vue\";\n\ntype BbToastMessageEvents = {\n (e: \"click:close\", id: Message[\"id\"]): void;\n};\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbToastMessage',\n props: {\n title: {},\n text: {},\n icon: {},\n theme: { default: 'default' },\n id: {},\n showClose: { type: Boolean }\n },\n emits: [\"click:close\"],\n setup(__props: any, { emit: __emit }) {\n\nconst props = __props;\nconst emit = __emit;\n\nconst onClickClose = () => {\n emit(\"click:close\", props.id);\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"bb-toast-message\", { [`bb-toast-message--${_ctx.theme}`]: _ctx.theme }]),\n \"aria-role\": \"alert\",\n \"aria-live\": \"assertive\",\n \"aria-atomic\": \"true\"\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n (_ctx.icon)\n ? (_openBlock(), _createBlock(BbIcon, {\n key: 0,\n class: \"bb-alert__icon\",\n type: _ctx.icon\n }, null, 8, [\"type\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_2, [\n (_ctx.title)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_3, _toDisplayString(_ctx.title), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"p\", _hoisted_4, _toDisplayString(_ctx.text), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n (_ctx.showClose)\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n class: \"bb-toast-message__close-btn\",\n onClick: onClickClose,\n block: \"\",\n \"aria-label\": 'Chiudi'\n }, {\n default: _withCtx(() => [\n _hoisted_6\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ])\n ], 2))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_sfc_main","_defineComponent","__props","__emit","props","emit","onClickClose","_ctx","_cache","_openBlock","_createElementBlock","_normalizeClass","_createElementVNode","_createBlock","BbIcon","_createCommentVNode","_toDisplayString","BaseButton","_withCtx"],"mappings":";;;;;AAGA,MAAMA,IAAa,EAAE,OAAO,sCACtBC,IAAa,EAAE,OAAO,+BACtBC,IAAa;AAAA,EACjB,KAAK;AAAA,EACL,OAAO;AACT,GACMC,IAAa,EAAE,OAAO,4BACtBC,IAAa,EAAE,OAAO,6BACtBC,sBAA8C,OAAO;AAAA,EACzD,SAAS;AAAA,EACT,MAAM;AAAA,EACN,OAAO;AACT,GAAG;AAAA,oBACgC,QAAQ;AAAA,IACvC,GAAG;AAAA,IACH,QAAQ;AAAA,IACR,gBAAgB;AAAA,IAChB,kBAAkB;AAAA,EAAA,CACnB;AACH,GAAG,EAAE,GAUuBC,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,OAAO,CAAC;AAAA,IACR,MAAM,CAAC;AAAA,IACP,MAAM,CAAC;AAAA,IACP,OAAO,EAAE,SAAS,UAAU;AAAA,IAC5B,IAAI,CAAC;AAAA,IACL,WAAW,EAAE,MAAM,QAAQ;AAAA,EAC7B;AAAA,EACA,OAAO,CAAC,aAAa;AAAA,EACrB,MAAMC,GAAc,EAAE,MAAMC,KAAU;AAExC,UAAMC,IAAQF,GACRG,IAAOF,GAEPG,IAAe,MAAM;AACpB,MAAAD,EAAA,eAAeD,EAAM,EAAE;AAAA,IAAA;AAGvB,WAAA,CAACG,GAAUC,OACRC,EAAA,GAAcC,EAAoB,OAAO;AAAA,MAC/C,OAAOC,EAAgB,CAAC,oBAAoB,EAAE,CAAC,qBAAqBJ,EAAK,KAAK,EAAE,GAAGA,EAAK,MAAO,CAAA,CAAC;AAAA,MAChG,aAAa;AAAA,MACb,aAAa;AAAA,MACb,eAAe;AAAA,IAAA,GACd;AAAA,MACDK,EAAoB,OAAOlB,GAAY;AAAA,QACpCa,EAAK,QACDE,KAAcI,EAAaC,GAAQ;AAAA,UAClC,KAAK;AAAA,UACL,OAAO;AAAA,UACP,MAAMP,EAAK;AAAA,QAAA,GACV,MAAM,GAAG,CAAC,MAAM,CAAC,KACpBQ,EAAoB,IAAI,EAAI;AAAA,MAAA,CACjC;AAAA,MACDH,EAAoB,OAAOjB,GAAY;AAAA,QACpCY,EAAK,SACDE,EAAW,GAAGC,EAAoB,KAAKd,GAAYoB,EAAiBT,EAAK,KAAK,GAAG,CAAC,KACnFQ,EAAoB,IAAI,EAAI;AAAA,QAChCH,EAAoB,KAAKf,GAAYmB,EAAiBT,EAAK,IAAI,GAAG,CAAC;AAAA,MAAA,CACpE;AAAA,MACDK,EAAoB,OAAOd,GAAY;AAAA,QACpCS,EAAK,aACDE,KAAcI,EAAaI,GAAY;AAAA,UACtC,KAAK;AAAA,UACL,OAAO;AAAA,UACP,SAASX;AAAA,UACT,OAAO;AAAA,UACP,cAAc;AAAA,QAAA,GACb;AAAA,UACD,SAASY,EAAS,MAAM;AAAA,YACtBnB;AAAA,UAAA,CACD;AAAA,UACD,GAAG;AAAA,QAAA,CACJ,KACDgB,EAAoB,IAAI,EAAI;AAAA,MAAA,CACjC;AAAA,OACA,CAAC;AAAA,EAEN;AAEA,CAAC;"}
1
+ {"version":3,"file":"index238.js","sources":["../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"],"sourcesContent":["function getNodeName(node) {\n if (isNode(node)) {\n return (node.nodeName || '').toLowerCase();\n }\n // Mocked nodes in testing environments may not be instances of Node. By\n // returning `#document` an infinite loop won't occur.\n // https://github.com/floating-ui/floating-ui/issues/2317\n return '#document';\n}\nfunction getWindow(node) {\n var _node$ownerDocument;\n return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n var _ref;\n return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n // Browsers without `ShadowRoot` support.\n if (typeof ShadowRoot === 'undefined') {\n return false;\n }\n return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);\n}\nfunction isTableElement(element) {\n return ['table', 'td', 'th'].includes(getNodeName(element));\n}\nfunction isContainingBlock(element) {\n const webkit = isWebKit();\n const css = getComputedStyle(element);\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n return css.transform !== 'none' || css.perspective !== 'none' || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else {\n currentNode = getParentNode(currentNode);\n }\n }\n return null;\n}\nfunction isWebKit() {\n if (typeof CSS === 'undefined' || !CSS.supports) return false;\n return CSS.supports('-webkit-backdrop-filter', 'none');\n}\nfunction isLastTraversableNode(node) {\n return ['html', 'body', '#document'].includes(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.pageXOffset,\n scrollTop: element.pageYOffset\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node.\n node.assignedSlot ||\n // DOM Element detected.\n node.parentNode ||\n // ShadowRoot detected.\n isShadowRoot(node) && node.host ||\n // Fallback.\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n return node.ownerDocument ? node.ownerDocument.body : node.body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n var _node$ownerDocument2;\n if (list === void 0) {\n list = [];\n }\n if (traverseIframes === void 0) {\n traverseIframes = true;\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);\n }\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isWebKit };\n"],"names":["getNodeName","node","isNode","getWindow","_node$ownerDocument","getDocumentElement","_ref","value","isElement","isHTMLElement","isShadowRoot","isOverflowElement","element","overflow","overflowX","overflowY","display","getComputedStyle","isTableElement","isContainingBlock","webkit","isWebKit","css","getContainingBlock","currentNode","getParentNode","isLastTraversableNode","getNodeScroll","result","getNearestOverflowAncestor","parentNode","getOverflowAnc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CAAI,KAAKA,EAAK;AAAA,IAE3BI,EAAmBJ,CAAI;AAAA;AACvB,SAAOS,EAAakB,CAAM,IAAIA,EAAO,OAAOA;AAC9C;AACA,SAASC,EAA2B5B,GAAM;AACxC,QAAM6B,IAAaL,EAAcxB,CAAI;AACrC,SAAIyB,EAAsBI,CAAU,IAC3B7B,EAAK,gBAAgBA,EAAK,cAAc,OAAOA,EAAK,OAEzDQ,EAAcqB,CAAU,KAAKnB,EAAkBmB,CAAU,IACpDA,IAEFD,EAA2BC,CAAU;AAC9C;AACA,SAASC,EAAqB9B,GAAM+B,GAAMC,GAAiB;AACzD,MAAIC;AACJ,EAAIF,MAAS,WACXA,IAAO,CAAA,IAELC,MAAoB,WACtBA,IAAkB;AAEpB,QAAME,IAAqBN,EAA2B5B,CAAI,GACpDmC,IAASD,QAAyBD,IAAuBjC,EAAK,kBAAkB,OAAO,SAASiC,EAAqB,OACrHG,IAAMlC,EAAUgC,CAAkB;AACxC,SAAIC,IACKJ,EAAK,OAAOK,GAAKA,EAAI,kBAAkB,CAAE,GAAE1B,EAAkBwB,CAAkB,IAAIA,IAAqB,IAAIE,EAAI,gBAAgBJ,IAAkBF,EAAqBM,EAAI,YAAY,IAAI,CAAA,CAAE,IAE/LL,EAAK,OAAOG,GAAoBJ,EAAqBI,GAAoB,CAAE,GAAEF,CAAe,CAAC;AACtG;","x_google_ignoreList":[0]}
package/dist/index239.js CHANGED
@@ -1,5 +1,5 @@
1
- const o = (l, n, f = (r) => r, u) => l.map((r) => Array.isArray(r[n]) ? [f(r, u), ...o(r[n], n, f, f(r, u))] : [f(r, u)]).flat();
1
+ const t = (d, o) => +d + +o;
2
2
  export {
3
- o as flattenTree
3
+ t as add
4
4
  };
5
5
  //# sourceMappingURL=index239.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index239.js","sources":["../src/utilities/functions/flattenTree.ts"],"sourcesContent":["export const flattenTree = <T extends Record<string, any>, U>(\n items: T[],\n keyName: keyof T,\n mapper: (item: T, parent?: U) => U = (x:any) => x,\n parent?: ReturnType<typeof mapper>\n): ReturnType<typeof mapper>[] => {\n return items\n .map((item) => {\n if (Array.isArray(item[keyName])) {\n return [mapper(item, parent), ...flattenTree(item[keyName], keyName, mapper, mapper(item, parent))];\n }\n return [mapper(item, parent)];\n })\n .flat();\n};\n"],"names":["flattenTree","items","keyName","mapper","x","parent","item"],"mappings":"AAAa,MAAAA,IAAc,CACzBC,GACAC,GACAC,IAAqC,CAACC,MAAUA,GAChDC,MAEOJ,EACJ,IAAI,CAACK,MACA,MAAM,QAAQA,EAAKJ,CAAO,CAAC,IACtB,CAACC,EAAOG,GAAMD,CAAM,GAAG,GAAGL,EAAYM,EAAKJ,CAAO,GAAGA,GAASC,GAAQA,EAAOG,GAAMD,CAAM,CAAC,CAAC,IAE7F,CAACF,EAAOG,GAAMD,CAAM,CAAC,CAC7B,EACA,KAAK;"}
1
+ {"version":3,"file":"index239.js","sources":["../src/utilities/functions/add.ts"],"sourcesContent":["export const add = (a:number | string, b: number | string) => +a + +b;"],"names":["add","a","b"],"mappings":"AAAO,MAAMA,IAAM,CAACC,GAAmBC,MAAuB,CAACD,IAAI,CAACC;"}