bitboss-ui 2.0.0 → 2.0.1

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 (166) hide show
  1. package/dist/index105.js +4 -4
  2. package/dist/index113.js +1 -1
  3. package/dist/index115.js +4 -4
  4. package/dist/index117.js +1 -1
  5. package/dist/index12.js +1 -1
  6. package/dist/index121.js +1 -1
  7. package/dist/index122.js +1 -1
  8. package/dist/index123.js +1 -1
  9. package/dist/index14.js +3 -3
  10. package/dist/index16.js +2 -2
  11. package/dist/index18.js +8 -8
  12. package/dist/index199.js +3 -3
  13. package/dist/index199.js.map +1 -1
  14. package/dist/index20.js +12 -12
  15. package/dist/index200.js +35 -3
  16. package/dist/index200.js.map +1 -1
  17. package/dist/index201.js +6 -35
  18. package/dist/index201.js.map +1 -1
  19. package/dist/index202.js +7 -6
  20. package/dist/index202.js.map +1 -1
  21. package/dist/index203.js +5 -7
  22. package/dist/index203.js.map +1 -1
  23. package/dist/index204.js +126 -5
  24. package/dist/index204.js.map +1 -1
  25. package/dist/index205.js +281 -2
  26. package/dist/index205.js.map +1 -1
  27. package/dist/index206.js +123 -4
  28. package/dist/index206.js.map +1 -1
  29. package/dist/index207.js +19 -2
  30. package/dist/index207.js.map +1 -1
  31. package/dist/index208.js +2 -281
  32. package/dist/index208.js.map +1 -1
  33. package/dist/index209.js +2 -16
  34. package/dist/index209.js.map +1 -1
  35. package/dist/index210.js +172 -14
  36. package/dist/index210.js.map +1 -1
  37. package/dist/index211.js +42 -19
  38. package/dist/index211.js.map +1 -1
  39. package/dist/index213.js +13 -27
  40. package/dist/index213.js.map +1 -1
  41. package/dist/index214.js +369 -8
  42. package/dist/index214.js.map +1 -1
  43. package/dist/index215.js +2 -2
  44. package/dist/index215.js.map +1 -1
  45. package/dist/index216.js +4 -158
  46. package/dist/index216.js.map +1 -1
  47. package/dist/index217.js +2 -84
  48. package/dist/index217.js.map +1 -1
  49. package/dist/index218.js +161 -0
  50. package/dist/index218.js.map +1 -0
  51. package/dist/index219.js +83 -125
  52. package/dist/index219.js.map +1 -1
  53. package/dist/index22.js +5 -5
  54. package/dist/index221.js +3 -2
  55. package/dist/index221.js.map +1 -1
  56. package/dist/index222.js +14 -172
  57. package/dist/index222.js.map +1 -1
  58. package/dist/index223.js +16 -42
  59. package/dist/index223.js.map +1 -1
  60. package/dist/{index212.js → index224.js} +3 -3
  61. package/dist/{index212.js.map → index224.js.map} +1 -1
  62. package/dist/index225.js +27 -13
  63. package/dist/index225.js.map +1 -1
  64. package/dist/index226.js +8 -369
  65. package/dist/index226.js.map +1 -1
  66. package/dist/index227.js +1 -1
  67. package/dist/index234.js +1 -1
  68. package/dist/index237.js +7 -222
  69. package/dist/index237.js.map +1 -1
  70. package/dist/index24.js +1 -1
  71. package/dist/index240.js +6 -431
  72. package/dist/index240.js.map +1 -1
  73. package/dist/index241.js +16 -89
  74. package/dist/index241.js.map +1 -1
  75. package/dist/index242.js +431 -6
  76. package/dist/index242.js.map +1 -1
  77. package/dist/index243.js +89 -16
  78. package/dist/index243.js.map +1 -1
  79. package/dist/index244.js +5 -4
  80. package/dist/index244.js.map +1 -1
  81. package/dist/index245.js +2 -200
  82. package/dist/index245.js.map +1 -1
  83. package/dist/index246.js +9 -6
  84. package/dist/index246.js.map +1 -1
  85. package/dist/index247.js +69 -2
  86. package/dist/index247.js.map +1 -1
  87. package/dist/index248.js +200 -2
  88. package/dist/index248.js.map +1 -1
  89. package/dist/index249.js +4 -2
  90. package/dist/index249.js.map +1 -1
  91. package/dist/index250.js +6 -2
  92. package/dist/index250.js.map +1 -1
  93. package/dist/index251.js +2 -2
  94. package/dist/index252.js +2 -2
  95. package/dist/index253.js +2 -3
  96. package/dist/index253.js.map +1 -1
  97. package/dist/index254.js +126 -12
  98. package/dist/index254.js.map +1 -1
  99. package/dist/index255.js +3 -9
  100. package/dist/index255.js.map +1 -1
  101. package/dist/index257.js +7 -17
  102. package/dist/index257.js.map +1 -1
  103. package/dist/index258.js +3 -9
  104. package/dist/index258.js.map +1 -1
  105. package/dist/index259.js +12 -2
  106. package/dist/index259.js.map +1 -1
  107. package/dist/index26.js +2 -2
  108. package/dist/index260.js +7 -124
  109. package/dist/index260.js.map +1 -1
  110. package/dist/index261.js +17 -3
  111. package/dist/index261.js.map +1 -1
  112. package/dist/index262.js +439 -0
  113. package/dist/index262.js.map +1 -0
  114. package/dist/index263.js +126 -6
  115. package/dist/index263.js.map +1 -1
  116. package/dist/index264.js +224 -2
  117. package/dist/index264.js.map +1 -1
  118. package/dist/index265.js +2 -69
  119. package/dist/index265.js.map +1 -1
  120. package/dist/index266.js +2 -436
  121. package/dist/index266.js.map +1 -1
  122. package/dist/index267.js +2 -127
  123. package/dist/index267.js.map +1 -1
  124. package/dist/index268.js +2 -3
  125. package/dist/index268.js.map +1 -1
  126. package/dist/index269.js +1 -1
  127. package/dist/index270.js +3 -211
  128. package/dist/index270.js.map +1 -1
  129. package/dist/index271.js +214 -0
  130. package/dist/index271.js.map +1 -0
  131. package/dist/index273.js +28 -5
  132. package/dist/index273.js.map +1 -1
  133. package/dist/index278.js +2 -11
  134. package/dist/index278.js.map +1 -1
  135. package/dist/index279.js +10 -34
  136. package/dist/index279.js.map +1 -1
  137. package/dist/index28.js +2 -2
  138. package/dist/index280.js +34 -46
  139. package/dist/index280.js.map +1 -1
  140. package/dist/index281.js +47 -2
  141. package/dist/index281.js.map +1 -1
  142. package/dist/index30.js +2 -2
  143. package/dist/index32.js +3 -3
  144. package/dist/index34.js +42 -41
  145. package/dist/index34.js.map +1 -1
  146. package/dist/index36.js +1 -1
  147. package/dist/index38.js +2 -2
  148. package/dist/index40.js +2 -2
  149. package/dist/index42.js +4 -4
  150. package/dist/index44.js +2 -2
  151. package/dist/index46.js +2 -2
  152. package/dist/index52.js +1 -1
  153. package/dist/index54.js +1 -1
  154. package/dist/index70.js +2 -2
  155. package/dist/index74.js +2 -2
  156. package/dist/index76.js +1 -1
  157. package/dist/index79.js +2 -2
  158. package/dist/index81.js +1 -1
  159. package/dist/index83.js +3 -3
  160. package/package.json +2 -2
  161. package/dist/index220.js +0 -126
  162. package/dist/index220.js.map +0 -1
  163. package/dist/index256.js +0 -12
  164. package/dist/index256.js.map +0 -1
  165. package/dist/index272.js +0 -31
  166. package/dist/index272.js.map +0 -1
package/dist/index279.js CHANGED
@@ -1,38 +1,14 @@
1
- import { openBlock as t, createElementBlock as e, createElementVNode as o } from "vue";
2
- /* empty css */
3
- import r from "./index263.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);
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;
33
10
  }
34
- const w = /* @__PURE__ */ r(n, [["render", _]]);
35
11
  export {
36
- w as default
12
+ c as get
37
13
  };
38
14
  //# sourceMappingURL=index279.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index279.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":"index279.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/index28.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 n, guardReactiveProps as t, createElementVNode as u, renderSlot as V } from "vue";
2
- import { isCssColor as i } from "./index205.js";
3
- import { when as C } from "./index206.js";
2
+ import { isCssColor as i } from "./index215.js";
3
+ import { when as C } from "./index216.js";
4
4
  const E = {
5
5
  "aria-hidden": "true",
6
6
  class: "bb-base-radio-container"
package/dist/index280.js CHANGED
@@ -1,50 +1,38 @@
1
- import { observeElementRect as f, observeElementOffset as s, elementScroll as d, Virtualizer as p } from "./index283.js";
2
- import { defaultKeyExtractor as S, defaultRangeExtractor as V, measureElement as b } from "./index283.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
+ import { openBlock as t, createElementBlock as e, createElementVNode as o } from "vue";
2
+ /* empty css */
3
+ import r from "./index257.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);
39
33
  }
34
+ const w = /* @__PURE__ */ r(n, [["render", _]]);
40
35
  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
36
+ w as default
49
37
  };
50
38
  //# sourceMappingURL=index280.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index280.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":"index280.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/index281.js CHANGED
@@ -1,5 +1,50 @@
1
- import f from "./index265.js";
1
+ import { observeElementRect as f, observeElementOffset as s, elementScroll as d, Virtualizer as p } from "./index283.js";
2
+ import { defaultKeyExtractor as S, defaultRangeExtractor as V, measureElement as b } from "./index283.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
+ );
39
+ }
2
40
  export {
3
- f as default
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
4
49
  };
5
50
  //# sourceMappingURL=index281.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index281.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index281.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]}
package/dist/index30.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as L, ref as m, toRef as l, openBlock as E, createBlock as $, unref as p, withCtx as t, renderSlot as i, normalizeProps as f, guardReactiveProps as b, createVNode as B, mergeProps as v, createSlots as C } from "vue";
2
- import { useOptions as w } from "./index216.js";
2
+ import { useOptions as w } from "./index218.js";
3
3
  import q from "./index28.js";
4
4
  /* empty css */
5
- import z from "./index217.js";
5
+ import z from "./index219.js";
6
6
  /* empty css */
7
7
  const N = /* @__PURE__ */ L({
8
8
  __name: "BaseRadioGroup",
package/dist/index32.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as C, ref as g, computed as f, openBlock as i, createElementBlock as l, mergeProps as h, createElementVNode as r, renderSlot as p, Fragment as I, renderList as V, normalizeClass as B, toDisplayString as M } from "vue";
2
- import { booleanishToBoolean as D } from "./index207.js";
3
- import { identity as F } from "./index221.js";
4
- import { isCssColor as v } from "./index205.js";
2
+ import { booleanishToBoolean as D } from "./index217.js";
3
+ import { identity as F } from "./index208.js";
4
+ import { isCssColor as v } from "./index215.js";
5
5
  import { isNotNil as T } from "./index129.js";
6
6
  const $ = { class: "bb-base-rating__inner-container" }, q = { class: "bb-base-rating__label-text" }, x = ["id", "aria-describedby", "autofocus", "checked", "disabled", "name", "required", "value"], H = ["height", "width"], N = /* @__PURE__ */ r("path", {
7
7
  d: "m8.243 7.34l-6.38.925l-.113.023a1 1 0 0 0-.44 1.684l4.622 4.499l-1.09 6.355l-.013.11a1 1 0 0 0 1.464.944l5.706-3l5.693 3l.1.046a1 1 0 0 0 1.352-1.1l-1.091-6.355l4.624-4.5l.078-.085a1 1 0 0 0-.633-1.62l-6.38-.926l-2.852-5.78a1 1 0 0 0-1.794 0L8.243 7.34z",
package/dist/index34.js CHANGED
@@ -1,27 +1,27 @@
1
- import { defineComponent as Me, defineAsyncComponent as Ne, ref as m, computed as y, toRef as $, openBlock as b, createBlock as I, normalizeClass as W, withCtx as s, renderSlot as p, unref as r, createVNode as F, createElementVNode as S, createElementBlock as M, Fragment as R, createCommentVNode as J, withDirectives as He, isRef as Pe, withModifiers as c, withKeys as g, vModelDynamic as xe, renderList as _e, mergeProps as Y, Teleport as Qe, normalizeStyle as ze, nextTick as Ke } from "vue";
1
+ import { defineComponent as Me, defineAsyncComponent as Ne, ref as m, computed as y, toRef as I, openBlock as b, createBlock as $, normalizeClass as W, withCtx as s, renderSlot as p, unref as r, createVNode as F, createElementVNode as S, createElementBlock as M, Fragment as R, createCommentVNode as J, withDirectives as xe, isRef as He, withModifiers as c, withKeys as g, vModelDynamic as Pe, renderList as _e, mergeProps as Y, Teleport as ze, normalizeStyle as Qe, nextTick as Ke } from "vue";
2
2
  /* empty css */
3
3
  import { useId as Ue } from "./index7.js";
4
4
  import { useMobile as We } from "./index8.js";
5
5
  import Re from "./index122.js";
6
6
  /* empty css */
7
7
  import { isNotNil as Je } from "./index129.js";
8
- import { last as Ye } from "./index215.js";
8
+ import { last as Ye } from "./index209.js";
9
9
  import { matchAnyKey as j } from "./index228.js";
10
- import { useFloating as je } from "./index219.js";
10
+ import { useFloating as je } from "./index204.js";
11
11
  import { useIntersectionObserver as Ge } from "./index127.js";
12
- import { useLogger as Xe } from "./index204.js";
13
- import { useOptions as Ze } from "./index216.js";
12
+ import { useLogger as Xe } from "./index203.js";
13
+ import { useOptions as Ze } from "./index218.js";
14
14
  import { wait as T } from "./index126.js";
15
- import { when as et } from "./index206.js";
15
+ import { when as et } from "./index216.js";
16
16
  import tt from "./index229.js";
17
17
  /* empty css */
18
18
  import ot from "./index231.js";
19
19
  /* empty css */
20
- import nt from "./index223.js";
20
+ import nt from "./index211.js";
21
21
  /* empty css */
22
- import lt from "./index225.js";
23
- import { waitFor as at } from "./index202.js";
24
- import { autoUpdate as it, flip as rt, offset as st, shift as ut } from "./index226.js";
22
+ import lt from "./index213.js";
23
+ import { waitFor as at } from "./index201.js";
24
+ import { autoUpdate as it, flip as rt, offset as st, shift as ut } from "./index214.js";
25
25
  const pt = { class: "bb-base-select__input-container" }, ct = ["id", "aria-controls", "aria-describedby", "aria-expanded", "autocomplete", "autofocus", "disabled", "inputmode", "placeholder", "readonly", "required", "onKeydown"], dt = /* @__PURE__ */ S("svg", {
26
26
  class: "bb-base-select__chevron",
27
27
  viewBox: "0 0 24 24",
@@ -74,11 +74,11 @@ const pt = { class: "bb-base-select__input-container" }, ct = ["id", "aria-contr
74
74
  const t = G, h = X;
75
75
  if (t.multiple && !Array.isArray(t.modelValue))
76
76
  throw new Error('Multiple is set to "true" but modelValue is not an array.');
77
- const Z = Ne(() => import("./index227.js")), A = m(null), B = m(null), a = m(null), N = m(null), H = m(null), u = y(
78
- () => t.comma ? N.value : H.value
77
+ const Z = Ne(() => import("./index227.js")), A = m(null), B = m(null), a = m(null), N = m(null), x = m(null), u = y(
78
+ () => t.comma ? N.value : x.value
79
79
  ), { isMobile: ee } = We(), te = y(
80
80
  () => t.allowWriting === "not-mobile" && ee.value ? "none" : void 0
81
- ), P = t.id || Ue().id.value;
81
+ ), H = t.id || Ue().id.value;
82
82
  Ge(
83
83
  B,
84
84
  ([{ intersectionRatio: e }]) => {
@@ -97,7 +97,8 @@ const pt = { class: "bb-base-select__input-container" }, ct = ["id", "aria-contr
97
97
  ), ne = y(() => {
98
98
  var o;
99
99
  const e = {
100
- ...oe.value
100
+ ...oe.value,
101
+ zIndex: "10"
101
102
  };
102
103
  return B.value && (e.width = `${(o = B.value) == null ? void 0 : o.$el.clientWidth}px`), e;
103
104
  }), q = m(null), E = () => {
@@ -110,7 +111,7 @@ const pt = { class: "bb-base-select__input-container" }, ct = ["id", "aria-contr
110
111
  h("blur", e);
111
112
  }, re = (e) => h("change", e), se = (e) => {
112
113
  var o;
113
- h("input", e), l.value === "" && (t.multiple || ke(null)), (o = u.value) == null || o.blur(), $e();
114
+ h("input", e), l.value === "" && (t.multiple || ke(null)), (o = u.value) == null || o.blur(), Ie();
114
115
  }, k = async (e) => {
115
116
  if (e.target instanceof Node && A.value && a.value && !A.value.$el.contains(e.target) && !a.value.$el.contains(e.target)) {
116
117
  O(), qe(), document.removeEventListener("click", k), document.removeEventListener("focusin", k), await T(t.transitionDuration), he();
@@ -151,7 +152,7 @@ const pt = { class: "bb-base-select__input-container" }, ct = ["id", "aria-contr
151
152
  }
152
153
  const n = l.value.trim();
153
154
  if (De(n)) return;
154
- be(), Q(Ye(Ve.value));
155
+ be(), z(Ye(Ve.value));
155
156
  }
156
157
  }
157
158
  }, me = async () => {
@@ -163,7 +164,7 @@ const pt = { class: "bb-base-select__input-container" }, ct = ["id", "aria-contr
163
164
  query: l,
164
165
  alignQueryToState: he,
165
166
  addCurrentQueryToManualItems: be,
166
- innerLoading: x,
167
+ innerLoading: P,
167
168
  options: _,
168
169
  selectedOptions: v,
169
170
  selectOption: ge,
@@ -174,24 +175,24 @@ const pt = { class: "bb-base-select__input-container" }, ct = ["id", "aria-contr
174
175
  updateModelValue: ke,
175
176
  valueIsSelected: De,
176
177
  manualItems: Ve,
177
- searchByQuery: $e
178
+ searchByQuery: Ie
178
179
  } = Ze({
179
180
  emit: h,
180
181
  itemText: t.itemText,
181
182
  itemValue: t.itemValue,
182
- modelValue: $(t, "modelValue"),
183
+ modelValue: I(t, "modelValue"),
183
184
  multiple: t.multiple,
184
185
  resetQueryOnOptionSelected: t.resetQueryOnOptionSelected,
185
186
  stash: t.stash,
186
- items: $(t, "items"),
187
+ items: I(t, "items"),
187
188
  enforceCoherence: t.enforceCoherence,
188
189
  prefill: ye,
189
190
  modelValueDebounceTime: t.modelValueDebounceTime,
190
- dependencies: $(t, "dependencies"),
191
+ dependencies: I(t, "dependencies"),
191
192
  depsDebounceTime: t.depsDebounceTime,
192
193
  queryDebounceTime: t.queryDebounceTime,
193
- disabled: $(t, "disabled")
194
- }), Ie = y(() => v.value.length ? "" : t.placeholder), D = y(() => !!(x.value || t.loading)), Te = y(() => {
194
+ disabled: I(t, "disabled")
195
+ }), $e = y(() => v.value.length ? "" : t.placeholder), D = y(() => !!(P.value || t.loading)), Te = y(() => {
195
196
  let e = [];
196
197
  const o = v.value.some(
197
198
  (i) => i.text === l.value
@@ -200,9 +201,9 @@ const pt = { class: "bb-base-select__input-container" }, ct = ["id", "aria-contr
200
201
  let f = !1;
201
202
  return typeof t.filterBy == "function" ? f = t.filterBy(i.value, i.item) : Array.isArray(t.filterBy) && t.filterBy.length && (f = f || j(i.item, t.filterBy, l.value.trim())), f || j(i, ["text"], l.value.trim());
202
203
  }) : e = _.value, e;
203
- }), Q = (e) => {
204
+ }), z = (e) => {
204
205
  ge(e), E(), t.multiple || O();
205
- }, z = (e) => {
206
+ }, Q = (e) => {
206
207
  we(e), E();
207
208
  }, d = m(!1), K = m(!0), U = m(!1), V = async () => {
208
209
  U.value = !0, await at(() => !!a.value), K.value = !1, d.value = !0;
@@ -227,7 +228,7 @@ const pt = { class: "bb-base-select__input-container" }, ct = ["id", "aria-contr
227
228
  value: o
228
229
  };
229
230
  }));
230
- return (e, o) => (b(), I(lt, {
231
+ return (e, o) => (b(), $(lt, {
231
232
  ref_key: "outerContainer",
232
233
  ref: A,
233
234
  class: W({
@@ -268,26 +269,26 @@ const pt = { class: "bb-base-select__input-container" }, ct = ["id", "aria-contr
268
269
  default: s(() => [
269
270
  S("span", pt, [
270
271
  e.multiple ? (b(), M(R, { key: 0 }, [
271
- e.comma ? (b(), I(ot, {
272
+ e.comma ? (b(), $(ot, {
272
273
  key: 0,
273
274
  ref_key: "commaBox",
274
275
  ref: N,
275
276
  options: r(v)
276
- }, null, 8, ["options"])) : (b(), I(tt, {
277
+ }, null, 8, ["options"])) : (b(), $(tt, {
277
278
  key: 1,
278
279
  ref_key: "chipsBox",
279
- ref: H,
280
+ ref: x,
280
281
  options: r(v),
281
- "onOption:unselected": z
282
+ "onOption:unselected": Q
282
283
  }, null, 8, ["options"]))
283
284
  ], 64)) : J("", !0),
284
- He(S("input", {
285
- id: r(P),
285
+ xe(S("input", {
286
+ id: r(H),
286
287
  ref_key: "input",
287
288
  ref: q,
288
- "onUpdate:modelValue": o[0] || (o[0] = (n) => Pe(l) ? l.value = n : null),
289
+ "onUpdate:modelValue": o[0] || (o[0] = (n) => He(l) ? l.value = n : null),
289
290
  "aria-autocomplete": "list",
290
- "aria-controls": `${r(P)}_listbox`,
291
+ "aria-controls": `${r(H)}_listbox`,
291
292
  "aria-describedby": e.ariaDescribedby,
292
293
  "aria-expanded": d.value,
293
294
  autocomplete: e.autocomplete,
@@ -295,7 +296,7 @@ const pt = { class: "bb-base-select__input-container" }, ct = ["id", "aria-contr
295
296
  class: W("bb-base-select__text-input"),
296
297
  disabled: e.disabled,
297
298
  inputmode: te.value,
298
- placeholder: Ie.value,
299
+ placeholder: $e.value,
299
300
  readonly: e.readonly || !e.allowWriting,
300
301
  required: e.required && !e.multiple || e.multiple && !e.modelValue.length,
301
302
  role: "combobox",
@@ -315,14 +316,14 @@ const pt = { class: "bb-base-select__input-container" }, ct = ["id", "aria-contr
315
316
  g(c(de, ["stop"]), ["right"])
316
317
  ]
317
318
  }, null, 40, ct), [
318
- [xe, r(l)]
319
+ [Pe, r(l)]
319
320
  ])
320
321
  ])
321
322
  ]),
322
323
  _: 1
323
324
  }),
324
325
  p(e.$slots, "chevron", {
325
- loading: !!r(x),
326
+ loading: !!r(P),
326
327
  shown: d.value
327
328
  }, () => [
328
329
  dt
@@ -335,7 +336,7 @@ const pt = { class: "bb-base-select__input-container" }, ct = ["id", "aria-contr
335
336
  key: n.value,
336
337
  ref_for: !0
337
338
  }, n), null, 16))), 128)),
338
- U.value ? (b(), I(Qe, {
339
+ U.value ? (b(), $(ze, {
339
340
  key: 0,
340
341
  to: "body"
341
342
  }, [
@@ -345,9 +346,9 @@ const pt = { class: "bb-base-select__input-container" }, ct = ["id", "aria-contr
345
346
  loading: D.value,
346
347
  open: d.value,
347
348
  options: Te.value,
348
- style: ze(ne.value),
349
- "onOption:selected": Q,
350
- "onOption:unselected": z
349
+ style: Qe(ne.value),
350
+ "onOption:selected": z,
351
+ "onOption:unselected": Q
351
352
  }, {
352
353
  "options:prepend": s(() => [
353
354
  p(e.$slots, "options:prepend")