bitboss-ui 2.0.22 → 2.0.23

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 (234) hide show
  1. package/dist/index107.js +5 -5
  2. package/dist/index115.js +1 -1
  3. package/dist/index117.js +5 -5
  4. package/dist/index119.js +1 -1
  5. package/dist/index123.js +1 -1
  6. package/dist/index124.js +1 -1
  7. package/dist/index125.js +1 -1
  8. package/dist/index127.js +1 -1
  9. package/dist/index129.js +2 -2
  10. package/dist/index130.js +1 -1
  11. package/dist/index14.js +1 -1
  12. package/dist/index16.js +3 -3
  13. package/dist/index18.js +2 -2
  14. package/dist/index199.js +2 -81
  15. package/dist/index199.js.map +1 -1
  16. package/dist/index20.js +12 -12
  17. package/dist/index200.js +80 -7
  18. package/dist/index200.js.map +1 -1
  19. package/dist/index201.js +44 -3
  20. package/dist/index201.js.map +1 -1
  21. package/dist/index203.js +12 -43
  22. package/dist/index203.js.map +1 -1
  23. package/dist/index204.js +6 -0
  24. package/dist/index204.js.map +1 -0
  25. package/dist/index205.js +3 -13
  26. package/dist/index205.js.map +1 -1
  27. package/dist/index206.js +33 -156
  28. package/dist/index206.js.map +1 -1
  29. package/dist/index207.js +5 -83
  30. package/dist/index207.js.map +1 -1
  31. package/dist/index208.js +10 -0
  32. package/dist/index208.js.map +1 -0
  33. package/dist/index209.js +8 -3
  34. package/dist/index209.js.map +1 -1
  35. package/dist/index210.js +123 -32
  36. package/dist/index210.js.map +1 -1
  37. package/dist/index211.js +5 -6
  38. package/dist/index211.js.map +1 -1
  39. package/dist/index212.js +123 -7
  40. package/dist/index212.js.map +1 -1
  41. package/dist/index213.js +18 -280
  42. package/dist/index213.js.map +1 -1
  43. package/dist/index214.js +2 -2
  44. package/dist/index215.js +2 -2
  45. package/dist/index216.js +2 -19
  46. package/dist/index216.js.map +1 -1
  47. package/dist/index217.js +2 -19
  48. package/dist/index217.js.map +1 -1
  49. package/dist/index218.js +172 -25
  50. package/dist/index218.js.map +1 -1
  51. package/dist/index219.js +5 -3
  52. package/dist/index219.js.map +1 -1
  53. package/dist/index22.js +13 -13
  54. package/dist/index220.js +369 -2
  55. package/dist/index220.js.map +1 -1
  56. package/dist/index221.js +17 -247
  57. package/dist/index221.js.map +1 -1
  58. package/dist/index222.js +26 -51
  59. package/dist/index222.js.map +1 -1
  60. package/dist/index223.js +3 -44
  61. package/dist/index223.js.map +1 -1
  62. package/dist/index224.js +249 -5
  63. package/dist/index224.js.map +1 -1
  64. package/dist/index225.js +43 -40
  65. package/dist/index225.js.map +1 -1
  66. package/dist/index226.js +44 -2
  67. package/dist/index226.js.map +1 -1
  68. package/dist/index227.js +5 -4
  69. package/dist/index227.js.map +1 -1
  70. package/dist/index228.js +49 -2
  71. package/dist/index228.js.map +1 -1
  72. package/dist/index229.js +151 -119
  73. package/dist/index229.js.map +1 -1
  74. package/dist/index230.js +84 -123
  75. package/dist/index230.js.map +1 -1
  76. package/dist/index232.js +2 -174
  77. package/dist/index232.js.map +1 -1
  78. package/dist/index233.js +4 -5
  79. package/dist/index233.js.map +1 -1
  80. package/dist/index234.js +2 -369
  81. package/dist/index234.js.map +1 -1
  82. package/dist/index235.js +2 -2
  83. package/dist/index235.js.map +1 -1
  84. package/dist/index236.js +18 -2
  85. package/dist/index236.js.map +1 -1
  86. package/dist/index237.js +105 -17
  87. package/dist/index237.js.map +1 -1
  88. package/dist/{index240.js → index239.js} +2 -2
  89. package/dist/{index240.js.map → index239.js.map} +1 -1
  90. package/dist/index24.js +5 -5
  91. package/dist/index241.js +5 -0
  92. package/dist/index241.js.map +1 -0
  93. package/dist/index244.js +3 -6
  94. package/dist/index244.js.map +1 -1
  95. package/dist/index245.js +8 -15
  96. package/dist/index245.js.map +1 -1
  97. package/dist/index246.js +23 -9
  98. package/dist/index246.js.map +1 -1
  99. package/dist/index247.js +9 -3
  100. package/dist/index247.js.map +1 -1
  101. package/dist/index248.js +6 -9
  102. package/dist/index248.js.map +1 -1
  103. package/dist/index249.js +16 -23
  104. package/dist/index249.js.map +1 -1
  105. package/dist/index250.js +1 -1
  106. package/dist/index251.js +1 -1
  107. package/dist/index254.js +431 -3
  108. package/dist/index254.js.map +1 -1
  109. package/dist/index255.js +88 -11
  110. package/dist/index255.js.map +1 -1
  111. package/dist/index256.js +280 -8
  112. package/dist/index256.js.map +1 -1
  113. package/dist/index257.js +6 -9
  114. package/dist/index257.js.map +1 -1
  115. package/dist/index258.js +2 -17
  116. package/dist/index258.js.map +1 -1
  117. package/dist/index259.js +2 -2
  118. package/dist/index259.js.map +1 -1
  119. package/dist/index26.js +1 -1
  120. package/dist/index260.js +2 -66
  121. package/dist/index260.js.map +1 -1
  122. package/dist/index261.js +2 -5
  123. package/dist/index261.js.map +1 -1
  124. package/dist/index262.js +2 -431
  125. package/dist/index262.js.map +1 -1
  126. package/dist/index263.js +119 -82
  127. package/dist/index263.js.map +1 -1
  128. package/dist/index264.js +22 -6
  129. package/dist/index264.js.map +1 -1
  130. package/dist/index266.js +200 -2
  131. package/dist/index266.js.map +1 -1
  132. package/dist/index269.js +2 -2
  133. package/dist/index270.js +2 -2
  134. package/dist/index271.js +1 -1
  135. package/dist/index272.js +1 -1
  136. package/dist/index273.js +28 -2
  137. package/dist/index273.js.map +1 -1
  138. package/dist/index274.js +21 -1
  139. package/dist/index274.js.map +1 -1
  140. package/dist/index276.js +435 -21
  141. package/dist/index276.js.map +1 -1
  142. package/dist/index277.js +130 -0
  143. package/dist/index277.js.map +1 -0
  144. package/dist/index278.js +2 -200
  145. package/dist/index278.js.map +1 -1
  146. package/dist/index279.js +9 -4
  147. package/dist/index279.js.map +1 -1
  148. package/dist/index28.js +3 -3
  149. package/dist/index280.js +3 -2
  150. package/dist/index280.js.map +1 -1
  151. package/dist/index281.js +12 -126
  152. package/dist/index281.js.map +1 -1
  153. package/dist/index282.js +8 -21
  154. package/dist/index282.js.map +1 -1
  155. package/dist/index283.js +20 -0
  156. package/dist/index283.js.map +1 -0
  157. package/dist/index284.js +64 -434
  158. package/dist/index284.js.map +1 -1
  159. package/dist/index285.js +5 -127
  160. package/dist/index285.js.map +1 -1
  161. package/dist/index286.js +4 -3
  162. package/dist/index286.js.map +1 -1
  163. package/dist/index287.js +1 -1
  164. package/dist/index288.js +3 -211
  165. package/dist/index288.js.map +1 -1
  166. package/dist/index289.js +211 -15
  167. package/dist/index289.js.map +1 -1
  168. package/dist/index290.js +15 -4
  169. package/dist/index290.js.map +1 -1
  170. package/dist/index291.js +79 -4
  171. package/dist/index291.js.map +1 -1
  172. package/dist/index293.js +4 -79
  173. package/dist/index293.js.map +1 -1
  174. package/dist/index294.js +7 -0
  175. package/dist/index294.js.map +1 -0
  176. package/dist/index295.js +59 -2
  177. package/dist/index295.js.map +1 -1
  178. package/dist/index296.js +34 -10
  179. package/dist/index296.js.map +1 -1
  180. package/dist/index297.js +2 -35
  181. package/dist/index297.js.map +1 -1
  182. package/dist/index298.js +10 -6
  183. package/dist/index298.js.map +1 -1
  184. package/dist/index299.js +5 -17
  185. package/dist/index299.js.map +1 -1
  186. package/dist/index30.js +2 -2
  187. package/dist/index300.js +6 -46
  188. package/dist/index300.js.map +1 -1
  189. package/dist/index301.js +17 -5
  190. package/dist/index301.js.map +1 -1
  191. package/dist/index302.js +47 -480
  192. package/dist/index302.js.map +1 -1
  193. package/dist/index303.js +483 -0
  194. package/dist/index303.js.map +1 -0
  195. package/dist/index305.js +416 -42
  196. package/dist/index305.js.map +1 -1
  197. package/dist/index306.js +47 -2
  198. package/dist/index306.js.map +1 -1
  199. package/dist/index307.js +5 -0
  200. package/dist/index307.js.map +1 -0
  201. package/dist/index32.js +2 -2
  202. package/dist/index34.js +3 -3
  203. package/dist/index36.js +13 -13
  204. package/dist/index38.js +4 -4
  205. package/dist/index40.js +2 -2
  206. package/dist/index42.js +2 -2
  207. package/dist/index44.js +6 -6
  208. package/dist/index46.js +2 -2
  209. package/dist/index48.js +2 -2
  210. package/dist/index54.js +1 -1
  211. package/dist/index56.js +1 -1
  212. package/dist/index72.js +3 -3
  213. package/dist/index76.js +2 -2
  214. package/dist/index78.js +1 -1
  215. package/dist/index81.js +2 -2
  216. package/dist/index83.js +1 -1
  217. package/dist/index85.js +3 -3
  218. package/dist/index87.js +1 -1
  219. package/dist/style.css +1 -1
  220. package/package.json +2 -2
  221. package/dist/index202.js +0 -5
  222. package/dist/index202.js.map +0 -1
  223. package/dist/index231.js +0 -5
  224. package/dist/index231.js.map +0 -1
  225. package/dist/index238.js +0 -109
  226. package/dist/index238.js.map +0 -1
  227. package/dist/index265.js +0 -5
  228. package/dist/index265.js.map +0 -1
  229. package/dist/index275.js +0 -31
  230. package/dist/index275.js.map +0 -1
  231. package/dist/index292.js +0 -62
  232. package/dist/index292.js.map +0 -1
  233. package/dist/index304.js +0 -424
  234. package/dist/index304.js.map +0 -1
package/dist/index296.js CHANGED
@@ -1,14 +1,38 @@
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;
1
+ import { openBlock as t, createElementBlock as e, createElementVNode as o } from "vue";
2
+ /* empty css */
3
+ import r from "./index253.js";
4
+ const n = {}, s = {
5
+ class: "bb-error-icon",
6
+ fill: "none",
7
+ height: "20",
8
+ viewBox: "0 0 20 20",
9
+ width: "20",
10
+ xmlns: "http://www.w3.org/2000/svg"
11
+ }, i = /* @__PURE__ */ o("path", {
12
+ d: "M9.99422 18.3333C14.5966 18.3333 18.3276 14.6024 18.3276 9.99999C18.3276 5.39762 14.5966 1.66666 9.99422 1.66666C5.39185 1.66666 1.66089 5.39762 1.66089 9.99999C1.66089 14.6024 5.39185 18.3333 9.99422 18.3333Z",
13
+ fill: "currentColor"
14
+ }, null, -1), c = /* @__PURE__ */ o("path", {
15
+ d: "M9.99414 6.66666V9.99999",
16
+ stroke: "white",
17
+ "stroke-linecap": "round",
18
+ "stroke-linejoin": "round",
19
+ "stroke-width": "2"
20
+ }, null, -1), l = /* @__PURE__ */ o("path", {
21
+ d: "M9.99414 13.3333H10.0025",
22
+ stroke: "white",
23
+ "stroke-linecap": "round",
24
+ "stroke-linejoin": "round",
25
+ "stroke-width": "2"
26
+ }, null, -1), d = [
27
+ i,
28
+ c,
29
+ l
30
+ ];
31
+ function _(h, a) {
32
+ return t(), e("svg", s, d);
10
33
  }
34
+ const w = /* @__PURE__ */ r(n, [["render", _]]);
11
35
  export {
12
- c as get
36
+ w as default
13
37
  };
14
38
  //# sourceMappingURL=index296.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index296.js","sources":["../src/utilities/functions/get.ts"],"sourcesContent":["type Path<T, K extends keyof T> = K extends string\n\t? T[K] extends object\n\t\t? `${K}.${Path<T[K], keyof T[K]>}` | K\n\t\t: K\n\t: never;\n\nexport function get<T, P extends Path<T, keyof T>>(\n\tobj: T,\n\tpath: P,\n\tdefaultValue?: any\n): any {\n\tconst pathArray = (\n\t\ttypeof path === 'string' ? path.split('.') : path\n\t) as string[];\n\n\tlet current: any = obj;\n\n\tfor (const key of pathArray) {\n\t\tif (current && typeof current === 'object' && key in current) {\n\t\t\tcurrent = current[key];\n\t\t} else {\n\t\t\treturn defaultValue;\n\t\t}\n\t}\n\n\treturn current === undefined ? defaultValue : current;\n}\n"],"names":["get","obj","path","defaultValue","pathArray","current","key"],"mappings":"AAMgB,SAAAA,EACfC,GACAC,GACAC,GACM;AACN,QAAMC,IACL,OAAOF,KAAS,WAAWA,EAAK,MAAM,GAAG,IAAIA;AAG9C,MAAIG,IAAeJ;AAEnB,aAAWK,KAAOF;AACjB,QAAIC,KAAW,OAAOA,KAAY,YAAYC,KAAOD;AACpD,MAAAA,IAAUA,EAAQC,CAAG;AAAA;AAEd,aAAAH;AAIF,SAAAE,MAAY,SAAYF,IAAeE;AAC/C;"}
1
+ {"version":3,"file":"index296.js","sources":["../src/components/ErrorIcon.vue"],"sourcesContent":["<template>\n\t<svg\n\t\tclass=\"bb-error-icon\"\n\t\tfill=\"none\"\n\t\theight=\"20\"\n\t\tviewBox=\"0 0 20 20\"\n\t\twidth=\"20\"\n\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t>\n\t\t<path\n\t\t\td=\"M9.99422 18.3333C14.5966 18.3333 18.3276 14.6024 18.3276 9.99999C18.3276 5.39762 14.5966 1.66666 9.99422 1.66666C5.39185 1.66666 1.66089 5.39762 1.66089 9.99999C1.66089 14.6024 5.39185 18.3333 9.99422 18.3333Z\"\n\t\t\tfill=\"currentColor\"\n\t\t/>\n\t\t<path\n\t\t\td=\"M9.99414 6.66666V9.99999\"\n\t\t\tstroke=\"white\"\n\t\t\tstroke-linecap=\"round\"\n\t\t\tstroke-linejoin=\"round\"\n\t\t\tstroke-width=\"2\"\n\t\t/>\n\t\t<path\n\t\t\td=\"M9.99414 13.3333H10.0025\"\n\t\t\tstroke=\"white\"\n\t\t\tstroke-linecap=\"round\"\n\t\t\tstroke-linejoin=\"round\"\n\t\t\tstroke-width=\"2\"\n\t\t/>\n\t</svg>\n</template>\n\n<script setup lang=\"ts\"></script>\n\n<style lang=\"postcss\">\n@import '@/assets/css/BbErrorIcon';\n</style>\n"],"names":["_hoisted_1","_hoisted_2","_createElementVNode","_hoisted_3","_hoisted_4","_hoisted_5","_cache"],"mappings":";;;cAEEA,IAAqB;AAAA,EACrB,OAAW;AAAA,EACX,MAAM;AAAA,EACN;EACA,SAAU;AAAA,EACV,OAAM;AAAA;GAGgNC,IAAAC,gBAAAA,EAAA,QAAA;AAAA,EACrN,GAAA;AAAA;cAG4BC,IAAAD,gBAAAA,EAAA,QAAA;AAAA,EAC5B,GAAA;AAAA,EACA,QAAA;AAAA,EACA;EACA,mBAAgB;AAAA;cAGYE,IAAAF,gBAAAA,EAAA,QAAA;AAAA,EAC5B,GAAA;AAAA,EACA,QAAA;AAAA,EACA;EACA,mBAAgB;AAAA;cAbfG,IAAA;AAAA,EACFJ;AAAA,EAOAE;AAAA;;cAOKG,GAAA;;;;"}
package/dist/index297.js CHANGED
@@ -1,38 +1,5 @@
1
- import { openBlock as t, createElementBlock as e, createElementVNode as o } from "vue";
2
- /* empty css */
3
- import r from "./index253.js";
4
- const n = {}, s = {
5
- class: "bb-error-icon",
6
- fill: "none",
7
- height: "20",
8
- viewBox: "0 0 20 20",
9
- width: "20",
10
- xmlns: "http://www.w3.org/2000/svg"
11
- }, i = /* @__PURE__ */ o("path", {
12
- d: "M9.99422 18.3333C14.5966 18.3333 18.3276 14.6024 18.3276 9.99999C18.3276 5.39762 14.5966 1.66666 9.99422 1.66666C5.39185 1.66666 1.66089 5.39762 1.66089 9.99999C1.66089 14.6024 5.39185 18.3333 9.99422 18.3333Z",
13
- fill: "currentColor"
14
- }, null, -1), c = /* @__PURE__ */ o("path", {
15
- d: "M9.99414 6.66666V9.99999",
16
- stroke: "white",
17
- "stroke-linecap": "round",
18
- "stroke-linejoin": "round",
19
- "stroke-width": "2"
20
- }, null, -1), l = /* @__PURE__ */ o("path", {
21
- d: "M9.99414 13.3333H10.0025",
22
- stroke: "white",
23
- "stroke-linecap": "round",
24
- "stroke-linejoin": "round",
25
- "stroke-width": "2"
26
- }, null, -1), d = [
27
- i,
28
- c,
29
- l
30
- ];
31
- function _(h, a) {
32
- return t(), e("svg", s, d);
33
- }
34
- const w = /* @__PURE__ */ r(n, [["render", _]]);
1
+ import f from "./index284.js";
35
2
  export {
36
- w as default
3
+ f as default
37
4
  };
38
5
  //# sourceMappingURL=index297.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index297.js","sources":["../src/components/ErrorIcon.vue"],"sourcesContent":["<template>\n\t<svg\n\t\tclass=\"bb-error-icon\"\n\t\tfill=\"none\"\n\t\theight=\"20\"\n\t\tviewBox=\"0 0 20 20\"\n\t\twidth=\"20\"\n\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t>\n\t\t<path\n\t\t\td=\"M9.99422 18.3333C14.5966 18.3333 18.3276 14.6024 18.3276 9.99999C18.3276 5.39762 14.5966 1.66666 9.99422 1.66666C5.39185 1.66666 1.66089 5.39762 1.66089 9.99999C1.66089 14.6024 5.39185 18.3333 9.99422 18.3333Z\"\n\t\t\tfill=\"currentColor\"\n\t\t/>\n\t\t<path\n\t\t\td=\"M9.99414 6.66666V9.99999\"\n\t\t\tstroke=\"white\"\n\t\t\tstroke-linecap=\"round\"\n\t\t\tstroke-linejoin=\"round\"\n\t\t\tstroke-width=\"2\"\n\t\t/>\n\t\t<path\n\t\t\td=\"M9.99414 13.3333H10.0025\"\n\t\t\tstroke=\"white\"\n\t\t\tstroke-linecap=\"round\"\n\t\t\tstroke-linejoin=\"round\"\n\t\t\tstroke-width=\"2\"\n\t\t/>\n\t</svg>\n</template>\n\n<script setup lang=\"ts\"></script>\n\n<style lang=\"postcss\">\n@import '@/assets/css/BbErrorIcon';\n</style>\n"],"names":["_hoisted_1","_hoisted_2","_createElementVNode","_hoisted_3","_hoisted_4","_hoisted_5","_cache"],"mappings":";;;cAEEA,IAAqB;AAAA,EACrB,OAAW;AAAA,EACX,MAAM;AAAA,EACN;EACA,SAAU;AAAA,EACV,OAAM;AAAA;GAGgNC,IAAAC,gBAAAA,EAAA,QAAA;AAAA,EACrN,GAAA;AAAA;cAG4BC,IAAAD,gBAAAA,EAAA,QAAA;AAAA,EAC5B,GAAA;AAAA,EACA,QAAA;AAAA,EACA;EACA,mBAAgB;AAAA;cAGYE,IAAAF,gBAAAA,EAAA,QAAA;AAAA,EAC5B,GAAA;AAAA,EACA,QAAA;AAAA,EACA;EACA,mBAAgB;AAAA;cAbfG,IAAA;AAAA,EACFJ;AAAA,EAOAE;AAAA;;cAOKG,GAAA;;;;"}
1
+ {"version":3,"file":"index297.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/dist/index298.js CHANGED
@@ -1,10 +1,14 @@
1
- function c(n, e) {
2
- const u = [];
3
- for (let t = 0; t < n.length; t += e)
4
- u.push(n.slice(t, t + e));
5
- return u;
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;
6
10
  }
7
11
  export {
8
- c as chunk
12
+ c as get
9
13
  };
10
14
  //# sourceMappingURL=index298.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index298.js","sources":["../src/utilities/functions/chunk.ts"],"sourcesContent":["export function chunk<T>(array: T[], size: number): T[][] {\n\tif (size <= 0) {\n\t\tthrow new Error('Size must be a positive number');\n\t}\n\n\tconst result: T[][] = [];\n\n\tfor (let i = 0; i < array.length; i += size) {\n\t\tresult.push(array.slice(i, i + size));\n\t}\n\n\treturn result;\n}\n"],"names":["chunk","array","size","result","i"],"mappings":"AAAgB,SAAAA,EAASC,GAAYC,GAAqB;AAKzD,QAAMC,IAAgB,CAAA;AAEtB,WAASC,IAAI,GAAGA,IAAIH,EAAM,QAAQG,KAAKF;AACtC,IAAAC,EAAO,KAAKF,EAAM,MAAMG,GAAGA,IAAIF,CAAI,CAAC;AAG9B,SAAAC;AACR;"}
1
+ {"version":3,"file":"index298.js","sources":["../src/utilities/functions/get.ts"],"sourcesContent":["type Path<T, K extends keyof T> = K extends string\n\t? T[K] extends object\n\t\t? `${K}.${Path<T[K], keyof T[K]>}` | K\n\t\t: K\n\t: never;\n\nexport function get<T, P extends Path<T, keyof T>>(\n\tobj: T,\n\tpath: P,\n\tdefaultValue?: any\n): any {\n\tconst pathArray = (\n\t\ttypeof path === 'string' ? path.split('.') : path\n\t) as string[];\n\n\tlet current: any = obj;\n\n\tfor (const key of pathArray) {\n\t\tif (current && typeof current === 'object' && key in current) {\n\t\t\tcurrent = current[key];\n\t\t} else {\n\t\t\treturn defaultValue;\n\t\t}\n\t}\n\n\treturn current === undefined ? defaultValue : current;\n}\n"],"names":["get","obj","path","defaultValue","pathArray","current","key"],"mappings":"AAMgB,SAAAA,EACfC,GACAC,GACAC,GACM;AACN,QAAMC,IACL,OAAOF,KAAS,WAAWA,EAAK,MAAM,GAAG,IAAIA;AAG9C,MAAIG,IAAeJ;AAEnB,aAAWK,KAAOF;AACjB,QAAIC,KAAW,OAAOA,KAAY,YAAYC,KAAOD;AACpD,MAAAA,IAAUA,EAAQC,CAAG;AAAA;AAEd,aAAAH;AAIF,SAAAE,MAAY,SAAYF,IAAeE;AAC/C;"}
package/dist/index299.js CHANGED
@@ -1,22 +1,10 @@
1
- function l(t, ...e) {
2
- if (t.length) {
3
- const o = t[0];
4
- if (typeof o == "string") return [...t].sort(r);
5
- if (typeof o == "number") return [...t].sort(r);
6
- if (e && e.length)
7
- return [...t].sort((f, u) => {
8
- for (let n = 0; n < e.length; n++) {
9
- const i = e[n], s = r(f[i], u[i]);
10
- if (s) return s;
11
- }
12
- return 0;
13
- });
14
- throw new Error("Invalid comparison");
15
- }
1
+ function l(n, c, r = 1) {
2
+ const o = Math.max(Math.ceil((c - n) / r), 0), t = new Array(o);
3
+ for (let e = 0; e < o; e++, n += r)
4
+ t[e] = n;
16
5
  return t;
17
6
  }
18
- const r = (t, e) => t < e ? -1 : t > e ? 1 : 0;
19
7
  export {
20
- l as sort
8
+ l as range
21
9
  };
22
10
  //# sourceMappingURL=index299.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index299.js","sources":["../src/utilities/functions/sort.ts"],"sourcesContent":["import { negative } from './negative';\nimport { pipe } from './pipe';\n\ntype SortableType = string | number | Date;\nexport function sort<T extends SortableType>(arr: T[]): T[];\nexport function sort<T extends object>(arr: T[], ...keys: (keyof T)[]): T[];\n\n/**\n *\n * @param arr Array of objects, strings, or numbers to be sorted\n * @param keys Key of the object to be considered, it must be a string or number\n * @returns The sorted array\n */\nexport function sort<T>(arr: T[], ...keys: (keyof T)[]) {\n\tif (arr.length) {\n\t\tconst first = arr[0];\n\t\tif (typeof first === 'string') return [...arr].sort(getCompare);\n\t\telse if (typeof first === 'number') return [...arr].sort(getCompare);\n\t\telse if (keys && keys.length) {\n\t\t\treturn [...arr].sort((a, b) => {\n\t\t\t\tfor (let index = 0; index < keys.length; index++) {\n\t\t\t\t\tconst key = keys[index];\n\n\t\t\t\t\tconst result = getCompare(a[key], b[key]);\n\t\t\t\t\tif (result) return result;\n\t\t\t\t}\n\t\t\t\treturn 0;\n\t\t\t});\n\t\t}\n\t\tthrow new Error('Invalid comparison');\n\t}\n\treturn arr;\n}\n\nconst getCompare = (a: any, b: any) => {\n\tif (a < b) return -1;\n\telse if (a > b) return 1;\n\telse return 0;\n};\n\nexport function reverseSort<T extends SortableType>(arr: T[]): T[];\nexport function reverseSort<T extends object>(\n\tarr: T[],\n\t...keys: (keyof T)[]\n): T[];\n\n/**\n *\n * @param arr Array of objects, strings, or numbers to be sorted\n * @param keys Key of the object to be considered, it must be a string or number\n * @returns The sorted array\n */\nexport function reverseSort<T>(arr: T[], ...keys: (keyof T)[]) {\n\tif (arr.length) {\n\t\tconst first = arr[0];\n\t\tif (typeof first === 'string')\n\t\t\treturn [...arr].sort(pipe(getCompare, negative));\n\t\telse if (typeof first === 'number')\n\t\t\treturn [...arr].sort(pipe(getCompare, negative));\n\t\telse if (keys && keys.length) {\n\t\t\treturn [...arr].sort((a, b) => {\n\t\t\t\tfor (let index = 0; index < keys.length; index++) {\n\t\t\t\t\tconst key = keys[index];\n\n\t\t\t\t\tconst result = getCompare(a[key], b[key]);\n\t\t\t\t\tif (result) return result * -1;\n\t\t\t\t}\n\t\t\t\treturn 0;\n\t\t\t});\n\t\t}\n\t\tthrow new Error('Invalid comparison');\n\t}\n\treturn arr;\n}\n"],"names":["sort","arr","keys","first","getCompare","a","b","index","key","result"],"mappings":"AAagB,SAAAA,EAAQC,MAAaC,GAAmB;AACvD,MAAID,EAAI,QAAQ;AACT,UAAAE,IAAQF,EAAI,CAAC;AACf,QAAA,OAAOE,KAAU,SAAU,QAAO,CAAC,GAAGF,CAAG,EAAE,KAAKG,CAAU;AACrD,QAAA,OAAOD,KAAU,SAAU,QAAO,CAAC,GAAGF,CAAG,EAAE,KAAKG,CAAU;AAC1D,QAAAF,KAAQA,EAAK;AACrB,aAAO,CAAC,GAAGD,CAAG,EAAE,KAAK,CAACI,GAAGC,MAAM;AAC9B,iBAASC,IAAQ,GAAGA,IAAQL,EAAK,QAAQK,KAAS;AAC3C,gBAAAC,IAAMN,EAAKK,CAAK,GAEhBE,IAASL,EAAWC,EAAEG,CAAG,GAAGF,EAAEE,CAAG,CAAC;AACxC,cAAIC,EAAe,QAAAA;AAAA,QACpB;AACO,eAAA;AAAA,MAAA,CACP;AAEI,UAAA,IAAI,MAAM,oBAAoB;AAAA,EACrC;AACO,SAAAR;AACR;AAEA,MAAMG,IAAa,CAACC,GAAQC,MACvBD,IAAIC,IAAU,KACTD,IAAIC,IAAU,IACX;"}
1
+ {"version":3,"file":"index299.js","sources":["../src/utilities/functions/range.ts"],"sourcesContent":["export function range(start: number, end: number, step: number = 1): number[] {\n\tconst length = Math.max(Math.ceil((end - start) / step), 0);\n\tconst result = new Array<number>(length);\n\n\tfor (let i = 0; i < length; i++, start += step) {\n\t\tresult[i] = start;\n\t}\n\n\treturn result;\n}\n"],"names":["range","start","end","step","length","result","i"],"mappings":"AAAO,SAASA,EAAMC,GAAeC,GAAaC,IAAe,GAAa;AACvE,QAAAC,IAAS,KAAK,IAAI,KAAK,MAAMF,IAAMD,KAASE,CAAI,GAAG,CAAC,GACpDE,IAAS,IAAI,MAAcD,CAAM;AAEvC,WAASE,IAAI,GAAGA,IAAIF,GAAQE,KAAKL,KAASE;AACzC,IAAAE,EAAOC,CAAC,IAAIL;AAGN,SAAAI;AACR;"}
package/dist/index30.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as g, computed as s, ref as _, openBlock as B, createElementBlock as w, normalizeProps as t, guardReactiveProps as l, createElementVNode as u, mergeProps as V, renderSlot as C } from "vue";
2
- import { isCssColor as i } from "./index226.js";
3
- import { when as E } from "./index227.js";
2
+ import { isCssColor as i } from "./index232.js";
3
+ import { when as E } from "./index233.js";
4
4
  const q = {
5
5
  "aria-hidden": "true",
6
6
  class: "bb-base-radio-container"
package/dist/index300.js CHANGED
@@ -1,50 +1,10 @@
1
- import { observeElementRect as f, observeElementOffset as s, elementScroll as d, Virtualizer as p } from "./index304.js";
2
- import { defaultKeyExtractor as S, defaultRangeExtractor as V, measureElement as b } from "./index304.js";
3
- import { computed as g, unref as l, shallowRef as E, watch as o, triggerRef as i, onScopeDispose as v } from "vue";
4
- function w(e) {
5
- const t = new p(l(e)), a = E(t), u = t._didMount();
6
- return o(
7
- () => l(e).getScrollElement(),
8
- (r) => {
9
- r && t._willUpdate();
10
- },
11
- {
12
- immediate: !0
13
- }
14
- ), o(
15
- () => l(e),
16
- (r) => {
17
- t.setOptions({
18
- ...r,
19
- onChange: (c, m) => {
20
- var n;
21
- i(a), (n = r.onChange) == null || n.call(r, c, m);
22
- }
23
- }), t._willUpdate(), i(a);
24
- },
25
- {
26
- immediate: !0
27
- }
28
- ), v(u), a;
29
- }
30
- function z(e) {
31
- return w(
32
- g(() => ({
33
- observeElementRect: f,
34
- observeElementOffset: s,
35
- scrollToFn: d,
36
- ...l(e)
37
- }))
38
- );
1
+ function c(n, e) {
2
+ const u = [];
3
+ for (let t = 0; t < n.length; t += e)
4
+ u.push(n.slice(t, t + e));
5
+ return u;
39
6
  }
40
7
  export {
41
- p as Virtualizer,
42
- S as defaultKeyExtractor,
43
- V as defaultRangeExtractor,
44
- d as elementScroll,
45
- b as measureElement,
46
- s as observeElementOffset,
47
- f as observeElementRect,
48
- z as useVirtualizer
8
+ c as chunk
49
9
  };
50
10
  //# sourceMappingURL=index300.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index300.js","sources":["../node_modules/@tanstack/vue-virtual/dist/esm/index.js"],"sourcesContent":["import { observeElementRect, observeElementOffset, elementScroll, observeWindowRect, observeWindowOffset, windowScroll, Virtualizer } from \"@tanstack/virtual-core\";\nexport * from \"@tanstack/virtual-core\";\nimport { computed, unref, shallowRef, watch, triggerRef, onScopeDispose } from \"vue\";\nfunction useVirtualizerBase(options) {\n const virtualizer = new Virtualizer(unref(options));\n const state = shallowRef(virtualizer);\n const cleanup = virtualizer._didMount();\n watch(\n () => unref(options).getScrollElement(),\n (el) => {\n if (el) {\n virtualizer._willUpdate();\n }\n },\n {\n immediate: true\n }\n );\n watch(\n () => unref(options),\n (options2) => {\n virtualizer.setOptions({\n ...options2,\n onChange: (instance, sync) => {\n var _a;\n triggerRef(state);\n (_a = options2.onChange) == null ? void 0 : _a.call(options2, instance, sync);\n }\n });\n virtualizer._willUpdate();\n triggerRef(state);\n },\n {\n immediate: true\n }\n );\n onScopeDispose(cleanup);\n return state;\n}\nfunction useVirtualizer(options) {\n return useVirtualizerBase(\n computed(() => ({\n observeElementRect,\n observeElementOffset,\n scrollToFn: elementScroll,\n ...unref(options)\n }))\n );\n}\nfunction useWindowVirtualizer(options) {\n return useVirtualizerBase(\n computed(() => ({\n getScrollElement: () => typeof document !== \"undefined\" ? window : null,\n observeElementRect: observeWindowRect,\n observeElementOffset: observeWindowOffset,\n scrollToFn: windowScroll,\n initialOffset: () => typeof document !== \"undefined\" ? window.scrollY : 0,\n ...unref(options)\n }))\n );\n}\nexport {\n useVirtualizer,\n useWindowVirtualizer\n};\n//# sourceMappingURL=index.js.map\n"],"names":["useVirtualizerBase","options","virtualizer","Virtualizer","unref","state","shallowRef","cleanup","watch","el","options2","instance","sync","_a","triggerRef","onScopeDispose","useVirtualizer","computed","observeElementRect","observeElementOffset","elementScroll"],"mappings":";;;AAGA,SAASA,EAAmBC,GAAS;AACnC,QAAMC,IAAc,IAAIC,EAAYC,EAAMH,CAAO,CAAC,GAC5CI,IAAQC,EAAWJ,CAAW,GAC9BK,IAAUL,EAAY;AAC5B,SAAAM;AAAA,IACE,MAAMJ,EAAMH,CAAO,EAAE,iBAAkB;AAAA,IACvC,CAACQ,MAAO;AACN,MAAIA,KACFP,EAAY,YAAW;AAAA,IAE1B;AAAA,IACD;AAAA,MACE,WAAW;AAAA,IACZ;AAAA,EACL,GACEM;AAAA,IACE,MAAMJ,EAAMH,CAAO;AAAA,IACnB,CAACS,MAAa;AACZ,MAAAR,EAAY,WAAW;AAAA,QACrB,GAAGQ;AAAA,QACH,UAAU,CAACC,GAAUC,MAAS;AAC5B,cAAIC;AACJ,UAAAC,EAAWT,CAAK,IACfQ,IAAKH,EAAS,aAAa,QAAgBG,EAAG,KAAKH,GAAUC,GAAUC,CAAI;AAAA,QAC7E;AAAA,MACT,CAAO,GACDV,EAAY,YAAW,GACvBY,EAAWT,CAAK;AAAA,IACjB;AAAA,IACD;AAAA,MACE,WAAW;AAAA,IACZ;AAAA,EACL,GACEU,EAAeR,CAAO,GACfF;AACT;AACA,SAASW,EAAef,GAAS;AAC/B,SAAOD;AAAA,IACLiB,EAAS,OAAO;AAAA,MACd,oBAAAC;AAAA,MACA,sBAAAC;AAAA,MACA,YAAYC;AAAA,MACZ,GAAGhB,EAAMH,CAAO;AAAA,IACtB,EAAM;AAAA,EACN;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index300.js","sources":["../src/utilities/functions/chunk.ts"],"sourcesContent":["export function chunk<T>(array: T[], size: number): T[][] {\n\tif (size <= 0) {\n\t\tthrow new Error('Size must be a positive number');\n\t}\n\n\tconst result: T[][] = [];\n\n\tfor (let i = 0; i < array.length; i += size) {\n\t\tresult.push(array.slice(i, i + size));\n\t}\n\n\treturn result;\n}\n"],"names":["chunk","array","size","result","i"],"mappings":"AAAgB,SAAAA,EAASC,GAAYC,GAAqB;AAKzD,QAAMC,IAAgB,CAAA;AAEtB,WAASC,IAAI,GAAGA,IAAIH,EAAM,QAAQG,KAAKF;AACtC,IAAAC,EAAO,KAAKF,EAAM,MAAMG,GAAGA,IAAIF,CAAI,CAAC;AAG9B,SAAAC;AACR;"}
package/dist/index301.js CHANGED
@@ -1,10 +1,22 @@
1
- function l(n, c, r = 1) {
2
- const o = Math.max(Math.ceil((c - n) / r), 0), t = new Array(o);
3
- for (let e = 0; e < o; e++, n += r)
4
- t[e] = n;
1
+ function l(t, ...e) {
2
+ if (t.length) {
3
+ const o = t[0];
4
+ if (typeof o == "string") return [...t].sort(r);
5
+ if (typeof o == "number") return [...t].sort(r);
6
+ if (e && e.length)
7
+ return [...t].sort((f, u) => {
8
+ for (let n = 0; n < e.length; n++) {
9
+ const i = e[n], s = r(f[i], u[i]);
10
+ if (s) return s;
11
+ }
12
+ return 0;
13
+ });
14
+ throw new Error("Invalid comparison");
15
+ }
5
16
  return t;
6
17
  }
18
+ const r = (t, e) => t < e ? -1 : t > e ? 1 : 0;
7
19
  export {
8
- l as range
20
+ l as sort
9
21
  };
10
22
  //# sourceMappingURL=index301.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index301.js","sources":["../src/utilities/functions/range.ts"],"sourcesContent":["export function range(start: number, end: number, step: number = 1): number[] {\n\tconst length = Math.max(Math.ceil((end - start) / step), 0);\n\tconst result = new Array<number>(length);\n\n\tfor (let i = 0; i < length; i++, start += step) {\n\t\tresult[i] = start;\n\t}\n\n\treturn result;\n}\n"],"names":["range","start","end","step","length","result","i"],"mappings":"AAAO,SAASA,EAAMC,GAAeC,GAAaC,IAAe,GAAa;AACvE,QAAAC,IAAS,KAAK,IAAI,KAAK,MAAMF,IAAMD,KAASE,CAAI,GAAG,CAAC,GACpDE,IAAS,IAAI,MAAcD,CAAM;AAEvC,WAASE,IAAI,GAAGA,IAAIF,GAAQE,KAAKL,KAASE;AACzC,IAAAE,EAAOC,CAAC,IAAIL;AAGN,SAAAI;AACR;"}
1
+ {"version":3,"file":"index301.js","sources":["../src/utilities/functions/sort.ts"],"sourcesContent":["import { negative } from './negative';\nimport { pipe } from './pipe';\n\ntype SortableType = string | number | Date;\nexport function sort<T extends SortableType>(arr: T[]): T[];\nexport function sort<T extends object>(arr: T[], ...keys: (keyof T)[]): T[];\n\n/**\n *\n * @param arr Array of objects, strings, or numbers to be sorted\n * @param keys Key of the object to be considered, it must be a string or number\n * @returns The sorted array\n */\nexport function sort<T>(arr: T[], ...keys: (keyof T)[]) {\n\tif (arr.length) {\n\t\tconst first = arr[0];\n\t\tif (typeof first === 'string') return [...arr].sort(getCompare);\n\t\telse if (typeof first === 'number') return [...arr].sort(getCompare);\n\t\telse if (keys && keys.length) {\n\t\t\treturn [...arr].sort((a, b) => {\n\t\t\t\tfor (let index = 0; index < keys.length; index++) {\n\t\t\t\t\tconst key = keys[index];\n\n\t\t\t\t\tconst result = getCompare(a[key], b[key]);\n\t\t\t\t\tif (result) return result;\n\t\t\t\t}\n\t\t\t\treturn 0;\n\t\t\t});\n\t\t}\n\t\tthrow new Error('Invalid comparison');\n\t}\n\treturn arr;\n}\n\nconst getCompare = (a: any, b: any) => {\n\tif (a < b) return -1;\n\telse if (a > b) return 1;\n\telse return 0;\n};\n\nexport function reverseSort<T extends SortableType>(arr: T[]): T[];\nexport function reverseSort<T extends object>(\n\tarr: T[],\n\t...keys: (keyof T)[]\n): T[];\n\n/**\n *\n * @param arr Array of objects, strings, or numbers to be sorted\n * @param keys Key of the object to be considered, it must be a string or number\n * @returns The sorted array\n */\nexport function reverseSort<T>(arr: T[], ...keys: (keyof T)[]) {\n\tif (arr.length) {\n\t\tconst first = arr[0];\n\t\tif (typeof first === 'string')\n\t\t\treturn [...arr].sort(pipe(getCompare, negative));\n\t\telse if (typeof first === 'number')\n\t\t\treturn [...arr].sort(pipe(getCompare, negative));\n\t\telse if (keys && keys.length) {\n\t\t\treturn [...arr].sort((a, b) => {\n\t\t\t\tfor (let index = 0; index < keys.length; index++) {\n\t\t\t\t\tconst key = keys[index];\n\n\t\t\t\t\tconst result = getCompare(a[key], b[key]);\n\t\t\t\t\tif (result) return result * -1;\n\t\t\t\t}\n\t\t\t\treturn 0;\n\t\t\t});\n\t\t}\n\t\tthrow new Error('Invalid comparison');\n\t}\n\treturn arr;\n}\n"],"names":["sort","arr","keys","first","getCompare","a","b","index","key","result"],"mappings":"AAagB,SAAAA,EAAQC,MAAaC,GAAmB;AACvD,MAAID,EAAI,QAAQ;AACT,UAAAE,IAAQF,EAAI,CAAC;AACf,QAAA,OAAOE,KAAU,SAAU,QAAO,CAAC,GAAGF,CAAG,EAAE,KAAKG,CAAU;AACrD,QAAA,OAAOD,KAAU,SAAU,QAAO,CAAC,GAAGF,CAAG,EAAE,KAAKG,CAAU;AAC1D,QAAAF,KAAQA,EAAK;AACrB,aAAO,CAAC,GAAGD,CAAG,EAAE,KAAK,CAACI,GAAGC,MAAM;AAC9B,iBAASC,IAAQ,GAAGA,IAAQL,EAAK,QAAQK,KAAS;AAC3C,gBAAAC,IAAMN,EAAKK,CAAK,GAEhBE,IAASL,EAAWC,EAAEG,CAAG,GAAGF,EAAEE,CAAG,CAAC;AACxC,cAAIC,EAAe,QAAAA;AAAA,QACpB;AACO,eAAA;AAAA,MAAA,CACP;AAEI,UAAA,IAAI,MAAM,oBAAoB;AAAA,EACrC;AACO,SAAAR;AACR;AAEA,MAAMG,IAAa,CAACC,GAAQC,MACvBD,IAAIC,IAAU,KACTD,IAAIC,IAAU,IACX;"}