bitboss-ui 0.1.73 → 0.1.75

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 (118) hide show
  1. package/dist/components/BbChip/BbChip.vue.d.ts +1 -1
  2. package/dist/index104.js +1 -1
  3. package/dist/index106.js +2 -2
  4. package/dist/index110.js.map +1 -1
  5. package/dist/index111.js +1 -1
  6. package/dist/index112.js +1 -1
  7. package/dist/index113.js +1 -1
  8. package/dist/index114.js +1 -1
  9. package/dist/index116.js +1 -1
  10. package/dist/index118.js +1 -1
  11. package/dist/index12.js +3 -3
  12. package/dist/index14.js +7 -7
  13. package/dist/index16.js +3 -3
  14. package/dist/index18.js +2 -2
  15. package/dist/index186.js +2 -2
  16. package/dist/index186.js.map +1 -1
  17. package/dist/index187.js +2 -2
  18. package/dist/index187.js.map +1 -1
  19. package/dist/index188.js +2 -4
  20. package/dist/index188.js.map +1 -1
  21. package/dist/index189.js +3 -3
  22. package/dist/index189.js.map +1 -1
  23. package/dist/index190.js +3 -35
  24. package/dist/index190.js.map +1 -1
  25. package/dist/index191.js +4 -6
  26. package/dist/index191.js.map +1 -1
  27. package/dist/index192.js +3 -2
  28. package/dist/index192.js.map +1 -1
  29. package/dist/index193.js +33 -348
  30. package/dist/index193.js.map +1 -1
  31. package/dist/index194.js +6 -2
  32. package/dist/index194.js.map +1 -1
  33. package/dist/index195.js +350 -2
  34. package/dist/index195.js.map +1 -1
  35. package/dist/index196.js +126 -323
  36. package/dist/index196.js.map +1 -1
  37. package/dist/index197.js +5 -134
  38. package/dist/index197.js.map +1 -1
  39. package/dist/index198.js +19 -5
  40. package/dist/index198.js.map +1 -1
  41. package/dist/index199.js +2 -19
  42. package/dist/index199.js.map +1 -1
  43. package/dist/index20.js +1 -1
  44. package/dist/index200.js +2 -2
  45. package/dist/index200.js.map +1 -1
  46. package/dist/index203.js +331 -3
  47. package/dist/index203.js.map +1 -1
  48. package/dist/index204.js +2 -3
  49. package/dist/index204.js.map +1 -1
  50. package/dist/index205.js +2 -2
  51. package/dist/index206.js +2 -2
  52. package/dist/index207.js +2 -2
  53. package/dist/index208.js +2 -2
  54. package/dist/index211.js +1 -1
  55. package/dist/index213.js +2 -2
  56. package/dist/index214.js +1 -1
  57. package/dist/index216.js +1 -1
  58. package/dist/index217.js +224 -4
  59. package/dist/index217.js.map +1 -1
  60. package/dist/index218.js +257 -10
  61. package/dist/index218.js.map +1 -1
  62. package/dist/index219.js +3 -434
  63. package/dist/index219.js.map +1 -1
  64. package/dist/index22.js +2 -2
  65. package/dist/index220.js +10 -8
  66. package/dist/index220.js.map +1 -1
  67. package/dist/index221.js +428 -82
  68. package/dist/index221.js.map +1 -1
  69. package/dist/index222.js +9 -200
  70. package/dist/index222.js.map +1 -1
  71. package/dist/index223.js +87 -115
  72. package/dist/index223.js.map +1 -1
  73. package/dist/index224.js +5 -105
  74. package/dist/index224.js.map +1 -1
  75. package/dist/index225.js +2 -9
  76. package/dist/index225.js.map +1 -1
  77. package/dist/index226.js +294 -5
  78. package/dist/index226.js.map +1 -1
  79. package/dist/index227.js +2 -2
  80. package/dist/index227.js.map +1 -1
  81. package/dist/index228.js +2 -6
  82. package/dist/index228.js.map +1 -1
  83. package/dist/index229.js +117 -2
  84. package/dist/index229.js.map +1 -1
  85. package/dist/index230.js +105 -294
  86. package/dist/index230.js.map +1 -1
  87. package/dist/index231.js +200 -2
  88. package/dist/index231.js.map +1 -1
  89. package/dist/index233.js +2 -224
  90. package/dist/index233.js.map +1 -1
  91. package/dist/index234.js +2 -258
  92. package/dist/index234.js.map +1 -1
  93. package/dist/index236.js +9 -2
  94. package/dist/index236.js.map +1 -1
  95. package/dist/index237.js +6 -2
  96. package/dist/index237.js.map +1 -1
  97. package/dist/index238.js +69 -2
  98. package/dist/index238.js.map +1 -1
  99. package/dist/index239.js +2 -69
  100. package/dist/index239.js.map +1 -1
  101. package/dist/index244.js +1 -1
  102. package/dist/index26.js +2 -2
  103. package/dist/index28.js +166 -158
  104. package/dist/index28.js.map +1 -1
  105. package/dist/index30.js +2 -2
  106. package/dist/index32.js +2 -2
  107. package/dist/index44.js +1 -1
  108. package/dist/index46.js +1 -1
  109. package/dist/index62.js +2 -2
  110. package/dist/index69.js +1 -1
  111. package/dist/index72.js +1 -1
  112. package/dist/index76.js +3 -3
  113. package/dist/index78.js +1 -1
  114. package/dist/index8.js +2 -2
  115. package/dist/index96.js +2 -2
  116. package/dist/index98.js +3 -3
  117. package/dist/style.css +1 -1
  118. package/package.json +1 -1
@@ -7,7 +7,7 @@ export type BbChipProps = Pick<CommonProps, "text"> & {
7
7
  /**
8
8
  * The label the clearing button must have
9
9
  */
10
- clearableLabel: string;
10
+ clearableLabel?: string;
11
11
  };
12
12
  export type BbChipEvents = {
13
13
  (e: "click:clear", event: MouseEvent): void;
package/dist/index104.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as s, openBlock as e, createBlock as o, Teleport as l, createElementVNode as c, normalizeClass as m, createVNode as i, TransitionGroup as p, withCtx as u, createElementBlock as d, Fragment as f, renderList as _, unref as r, mergeProps as b } from "vue";
2
2
  import { state as k, useToast as C } from "./index4.js";
3
- import B from "./index239.js";
3
+ import B from "./index238.js";
4
4
  const N = /* @__PURE__ */ s({
5
5
  __name: "BbToast",
6
6
  props: {
package/dist/index106.js CHANGED
@@ -4,8 +4,8 @@ import { useId as j } from "./index118.js";
4
4
  import { wait as C } from "./index117.js";
5
5
  import q from "./index6.js";
6
6
  import "./index7.js";
7
- import { autoUpdate as A } from "./index193.js";
8
- import { flip as G, shift as J } from "./index196.js";
7
+ import { autoUpdate as A } from "./index195.js";
8
+ import { flip as G, shift as J } from "./index203.js";
9
9
  const K = /* @__PURE__ */ l("span", { class: "bb-tooltip__arrow" }, null, -1), Q = { class: "bb-tooltip__bubble" }, W = /* @__PURE__ */ l("svg", {
10
10
  viewBox: "0 0 24 24",
11
11
  fill: "none",
@@ -1 +1 @@
1
- {"version":3,"file":"index110.js","sources":["../src/components/BbChip/BbChip.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, withModifiers as _withModifiers, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"bb-chip\" }\nconst _hoisted_2 = { class: \"bb-chip__content\" }\nconst _hoisted_3 = [\"aria-label\", \"onClick\"]\nconst _hoisted_4 = {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 20 20\",\n role: \"img\",\n \"aria-hidden\": \"true\",\n class: \"v-icon__svg\",\n style: {\"height\":\"20px\",\"width\":\"20px\"}\n}\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M15 6.375L14.125 5.5L10 9.625L5.875 5.5L5 6.375L9.125 10.5L5 14.625L5.875 15.5L10 11.375L14.125 15.5L15 14.625L10.875 10.5L15 6.375Z\",\n fill: \"currentColor\"\n}, null, -1)\nconst _hoisted_6 = [\n _hoisted_5\n]\n\nimport type { CommonProps } from \"@/types/CommonProps\";\n\nexport type BbChipProps = Pick<CommonProps, \"text\"> & {\n /**\n * Renders a button with a close icon. Used to indicate the possibility of deleting the item.\n */\n clearable?: true;\n /**\n * The label the clearing button must have\n */\n clearableLabel: string;\n};\n\nexport type BbChipEvents = {\n (e: \"click:clear\", event: MouseEvent): void;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbChip',\n props: {\n text: {},\n clearable: { type: Boolean },\n clearableLabel: { default: \"Elimina\" }\n },\n emits: [\"click:clear\"],\n setup(__props: any, { emit: __emit }) {\n\n\n\n\n\nconst emit = __emit;\nconst onClear = (event: MouseEvent) => {\n emit(\"click:clear\", event);\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"span\", _hoisted_1, [\n _createElementVNode(\"span\", _hoisted_2, [\n _renderSlot(_ctx.$slots, \"default\", {}, () => [\n _createTextVNode(_toDisplayString(_ctx.text), 1)\n ])\n ]),\n (_ctx.clearable)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n \"aria-label\": _ctx.clearableLabel,\n class: \"bb-chip__clear-button\",\n onClick: _withModifiers(onClear, [\"stop\",\"prevent\"]),\n type: \"button\"\n }, [\n (_openBlock(), _createElementBlock(\"svg\", _hoisted_4, _hoisted_6))\n ], 8, _hoisted_3))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_sfc_main","_defineComponent","__props","__emit","emit","onClear","event","_ctx","_cache","_openBlock","_createElementBlock","_createElementVNode","_renderSlot","_createTextVNode","_toDisplayString","_withModifiers","_createCommentVNode"],"mappings":";AAGA,MAAMA,IAAa,EAAE,OAAO,aACtBC,IAAa,EAAE,OAAO,sBACtBC,IAAa,CAAC,cAAc,SAAS,GACrCC,IAAa;AAAA,EACjB,OAAO;AAAA,EACP,SAAS;AAAA,EACT,MAAM;AAAA,EACN,eAAe;AAAA,EACf,OAAO;AAAA,EACP,OAAO,EAAC,QAAS,QAAO,OAAQ,OAAM;AACxC,GACMC,sBAA8C,QAAQ;AAAA,EAC1D,GAAG;AAAA,EACH,MAAM;AACR,GAAG,MAAM,EAAE,GACLC,IAAa;AAAA,EACjBD;AACF,GAoB4BE,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,MAAM,CAAC;AAAA,IACP,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,gBAAgB,EAAE,SAAS,UAAU;AAAA,EACvC;AAAA,EACA,OAAO,CAAC,aAAa;AAAA,EACrB,MAAMC,GAAc,EAAE,MAAMC,KAAU;AAMxC,UAAMC,IAAOD,GACPE,IAAU,CAACC,MAAsB;AACrC,MAAAF,EAAK,eAAeE,CAAK;AAAA,IAAA;AAGpB,WAAA,CAACC,GAAUC,OACRC,EAAW,GAAGC,EAAoB,QAAQhB,GAAY;AAAA,MAC5DiB,EAAoB,QAAQhB,GAAY;AAAA,QACtCiB,EAAYL,EAAK,QAAQ,WAAW,IAAI,MAAM;AAAA,UAC5CM,EAAiBC,EAAiBP,EAAK,IAAI,GAAG,CAAC;AAAA,QAAA,CAChD;AAAA,MAAA,CACF;AAAA,MACAA,EAAK,aACDE,KAAcC,EAAoB,UAAU;AAAA,QAC3C,KAAK;AAAA,QACL,cAAcH,EAAK;AAAA,QACnB,OAAO;AAAA,QACP,SAASQ,EAAeV,GAAS,CAAC,QAAO,SAAS,CAAC;AAAA,QACnD,MAAM;AAAA,MAAA,GACL;AAAA,SACAI,EAAW,GAAGC,EAAoB,OAAOb,GAAYE,CAAU;AAAA,SAC/D,GAAGH,CAAU,KAChBoB,EAAoB,IAAI,EAAI;AAAA,IAAA,CACjC;AAAA,EAEH;AAEA,CAAC;"}
1
+ {"version":3,"file":"index110.js","sources":["../src/components/BbChip/BbChip.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, withModifiers as _withModifiers, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"bb-chip\" }\nconst _hoisted_2 = { class: \"bb-chip__content\" }\nconst _hoisted_3 = [\"aria-label\", \"onClick\"]\nconst _hoisted_4 = {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 20 20\",\n role: \"img\",\n \"aria-hidden\": \"true\",\n class: \"v-icon__svg\",\n style: {\"height\":\"20px\",\"width\":\"20px\"}\n}\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M15 6.375L14.125 5.5L10 9.625L5.875 5.5L5 6.375L9.125 10.5L5 14.625L5.875 15.5L10 11.375L14.125 15.5L15 14.625L10.875 10.5L15 6.375Z\",\n fill: \"currentColor\"\n}, null, -1)\nconst _hoisted_6 = [\n _hoisted_5\n]\n\nimport type { CommonProps } from \"@/types/CommonProps\";\n\nexport type BbChipProps = Pick<CommonProps, \"text\"> & {\n /**\n * Renders a button with a close icon. Used to indicate the possibility of deleting the item.\n */\n clearable?: true;\n /**\n * The label the clearing button must have\n */\n clearableLabel?: string;\n};\n\nexport type BbChipEvents = {\n (e: \"click:clear\", event: MouseEvent): void;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbChip',\n props: {\n text: {},\n clearable: { type: Boolean },\n clearableLabel: { default: \"Elimina\" }\n },\n emits: [\"click:clear\"],\n setup(__props: any, { emit: __emit }) {\n\n\n\n\n\nconst emit = __emit;\nconst onClear = (event: MouseEvent) => {\n emit(\"click:clear\", event);\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"span\", _hoisted_1, [\n _createElementVNode(\"span\", _hoisted_2, [\n _renderSlot(_ctx.$slots, \"default\", {}, () => [\n _createTextVNode(_toDisplayString(_ctx.text), 1)\n ])\n ]),\n (_ctx.clearable)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n \"aria-label\": _ctx.clearableLabel,\n class: \"bb-chip__clear-button\",\n onClick: _withModifiers(onClear, [\"stop\",\"prevent\"]),\n type: \"button\"\n }, [\n (_openBlock(), _createElementBlock(\"svg\", _hoisted_4, _hoisted_6))\n ], 8, _hoisted_3))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_sfc_main","_defineComponent","__props","__emit","emit","onClear","event","_ctx","_cache","_openBlock","_createElementBlock","_createElementVNode","_renderSlot","_createTextVNode","_toDisplayString","_withModifiers","_createCommentVNode"],"mappings":";AAGA,MAAMA,IAAa,EAAE,OAAO,aACtBC,IAAa,EAAE,OAAO,sBACtBC,IAAa,CAAC,cAAc,SAAS,GACrCC,IAAa;AAAA,EACjB,OAAO;AAAA,EACP,SAAS;AAAA,EACT,MAAM;AAAA,EACN,eAAe;AAAA,EACf,OAAO;AAAA,EACP,OAAO,EAAC,QAAS,QAAO,OAAQ,OAAM;AACxC,GACMC,sBAA8C,QAAQ;AAAA,EAC1D,GAAG;AAAA,EACH,MAAM;AACR,GAAG,MAAM,EAAE,GACLC,IAAa;AAAA,EACjBD;AACF,GAoB4BE,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,MAAM,CAAC;AAAA,IACP,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,gBAAgB,EAAE,SAAS,UAAU;AAAA,EACvC;AAAA,EACA,OAAO,CAAC,aAAa;AAAA,EACrB,MAAMC,GAAc,EAAE,MAAMC,KAAU;AAMxC,UAAMC,IAAOD,GACPE,IAAU,CAACC,MAAsB;AACrC,MAAAF,EAAK,eAAeE,CAAK;AAAA,IAAA;AAGpB,WAAA,CAACC,GAAUC,OACRC,EAAW,GAAGC,EAAoB,QAAQhB,GAAY;AAAA,MAC5DiB,EAAoB,QAAQhB,GAAY;AAAA,QACtCiB,EAAYL,EAAK,QAAQ,WAAW,IAAI,MAAM;AAAA,UAC5CM,EAAiBC,EAAiBP,EAAK,IAAI,GAAG,CAAC;AAAA,QAAA,CAChD;AAAA,MAAA,CACF;AAAA,MACAA,EAAK,aACDE,KAAcC,EAAoB,UAAU;AAAA,QAC3C,KAAK;AAAA,QACL,cAAcH,EAAK;AAAA,QACnB,OAAO;AAAA,QACP,SAASQ,EAAeV,GAAS,CAAC,QAAO,SAAS,CAAC;AAAA,QACnD,MAAM;AAAA,MAAA,GACL;AAAA,SACAI,EAAW,GAAGC,EAAoB,OAAOb,GAAYE,CAAU;AAAA,SAC/D,GAAGH,CAAU,KAChBoB,EAAoB,IAAI,EAAI;AAAA,IAAA,CACjC;AAAA,EAEH;AAEA,CAAC;"}
package/dist/index111.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as i, ref as a, watch as s, computed as u, openBlock as c, createElementBlock as p, normalizeProps as d, guardReactiveProps as m, createElementVNode as b, renderSlot as v, createCommentVNode as f } from "vue";
2
2
  import { wait as V } from "./index117.js";
3
- import { throttle as _ } from "./index189.js";
3
+ import { throttle as _ } from "./index192.js";
4
4
  const h = { class: "bb-collapsible__content" }, k = /* @__PURE__ */ i({
5
5
  __name: "BbCollapsible",
6
6
  props: {
package/dist/index112.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as d, getCurrentInstance as m, inject as x, computed as l, ref as y, watchEffect as _, openBlock as h, createElementBlock as w, mergeProps as b } from "vue";
2
- import { isCssColor as z } from "./index187.js";
2
+ import { isCssColor as z } from "./index188.js";
3
3
  const g = ["innerHTML"], $ = /* @__PURE__ */ d({
4
4
  __name: "BbIcon",
5
5
  props: {
package/dist/index113.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as v, ref as r, onMounted as p, onBeforeUnmount as h, openBlock as i, createBlock as l, resolveDynamicComponent as u, normalizeStyle as m, withCtx as f, renderSlot as d } from "vue";
2
- import { throttle as g } from "./index189.js";
2
+ import { throttle as g } from "./index192.js";
3
3
  const O = /* @__PURE__ */ v({
4
4
  __name: "BbSmoothHeight",
5
5
  props: {
package/dist/index114.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as m, computed as r, openBlock as a, createElementBlock as d, normalizeProps as u, guardReactiveProps as z, createElementVNode as c } from "vue";
2
- import { isCssColor as f } from "./index187.js";
2
+ import { isCssColor as f } from "./index188.js";
3
3
  const _ = /* @__PURE__ */ c("svg", {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 512 512"
package/dist/index116.js CHANGED
@@ -1,4 +1,4 @@
1
- import { clamp as o } from "./index186.js";
1
+ import { clamp as o } from "./index187.js";
2
2
  const r = (t, e) => t * 100 / e, p = (t, e) => t / 100 * e, l = (t, e, n) => r(t - e, n - e), P = ({
3
3
  value: t = 0,
4
4
  originalBounds: e,
package/dist/index118.js CHANGED
@@ -1,4 +1,4 @@
1
- import { nanoid as e } from "./index192.js";
1
+ import { nanoid as e } from "./index186.js";
2
2
  import { ref as o } from "vue";
3
3
  const f = () => {
4
4
  const r = o(e());
package/dist/index12.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as de, ref as k, computed as h, watch as ue, openBlock as d, createElementBlock as u, mergeProps as ce, createElementVNode as i, createTextVNode as be, toDisplayString as f, unref as p, withDirectives as L, createVNode as g, Transition as V, withCtx as w, vShow as z, createCommentVNode as A, normalizeClass as x, Fragment as O, renderList as S, renderSlot as R, nextTick as me } from "vue";
2
- import c from "./index198.js";
2
+ import c from "./index197.js";
3
3
  import fe from "./index205.js";
4
4
  import pe from "./index206.js";
5
- import he from "./index199.js";
5
+ import he from "./index198.js";
6
6
  import ye from "./index207.js";
7
7
  import _e from "./index208.js";
8
8
  import { groupBy as W } from "./index209.js";
9
9
  import { isNil as ve } from "./index115.js";
10
- import { last as $ } from "./index195.js";
10
+ import { last as $ } from "./index200.js";
11
11
  const ke = { class: "bb-base-date-picker__header" }, ge = ["disabled"], Ve = /* @__PURE__ */ i("span", null, null, -1), we = {
12
12
  class: "bb-base-date-picker__selected-day-label",
13
13
  "aria-live": "polite"
package/dist/index14.js CHANGED
@@ -1,17 +1,17 @@
1
1
  import { defineComponent as R, ref as l, computed as Y, watch as J, onMounted as Q, onBeforeUnmount as X, openBlock as B, createElementBlock as Z, normalizeClass as C, renderSlot as u, createElementVNode as g, withDirectives as x, mergeProps as T, unref as d, toDisplayString as ee, createBlock as ae, Teleport as te, createVNode as ne, createSlots as oe, renderList as le, withCtx as ie, normalizeProps as re, guardReactiveProps as se } from "vue";
2
- import { autoUpdate as ue, computePosition as de } from "./index193.js";
3
- import ce from "./index197.js";
4
- import c from "./index198.js";
5
- import fe from "./index199.js";
6
- import { identity as pe } from "./index200.js";
7
- import { last as me } from "./index195.js";
2
+ import { autoUpdate as ue, computePosition as de } from "./index195.js";
3
+ import ce from "./index196.js";
4
+ import c from "./index197.js";
5
+ import fe from "./index198.js";
6
+ import { identity as pe } from "./index199.js";
7
+ import { last as me } from "./index200.js";
8
8
  import { vMaska as be } from "./index201.js";
9
9
  import { wait as I } from "./index117.js";
10
10
  import ve from "./index12.js";
11
11
  import "./index13.js";
12
12
  import O from "./index202.js";
13
13
  import { useId as ye } from "./index118.js";
14
- import { offset as ge, flip as he, shift as ke } from "./index196.js";
14
+ import { offset as ge, flip as he, shift as ke } from "./index203.js";
15
15
  const we = ["autocomplete", "autofocus", "data-maska", "disabled", "id", "name", "placeholder", "readonly", "value", "aria-describedby"], Ee = ["id"], Pe = /* @__PURE__ */ R({
16
16
  __name: "BaseDatePickerInput",
17
17
  props: {
package/dist/index16.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as J, ref as o, useAttrs as Q, computed as m, onMounted as A, onBeforeUnmount as X, watch as Y, nextTick as E, openBlock as y, createBlock as Z, Teleport as ee, createElementVNode as l, mergeProps as H, createElementBlock as V, renderSlot as i, createTextVNode as te, toDisplayString as D, createCommentVNode as M } from "vue";
2
- import { throttle as oe } from "./index189.js";
3
- import { useFocusTrap as le } from "./index190.js";
2
+ import { throttle as oe } from "./index192.js";
3
+ import { useFocusTrap as le } from "./index193.js";
4
4
  import { useId as N } from "./index118.js";
5
5
  import { wait as W } from "./index117.js";
6
- import { waitFor as ae } from "./index191.js";
6
+ import { waitFor as ae } from "./index194.js";
7
7
  const se = { class: "bb-base-dialog-close" }, ne = { class: "bb-base-dialog-close__content" }, ie = { class: "bb-base-dialog-close__label" }, re = /* @__PURE__ */ l("span", { class: "bb-base-dialog-close__icon" }, [
8
8
  /* @__PURE__ */ l("svg", {
9
9
  viewBox: "0 0 24 24",
package/dist/index18.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as $, computed as n, openBlock as i, createElementBlock as b, createBlock as h, resolveDynamicComponent as v, normalizeProps as o, guardReactiveProps as l, withCtx as c, renderSlot as _, createTextVNode as A, toDisplayString as g, createElementVNode as E, unref as z, createVNode as S, Fragment as T, renderList as V } from "vue";
2
- import { deburr as N } from "./index203.js";
2
+ import { deburr as N } from "./index189.js";
3
3
  import { getAsPercentage as P } from "./index116.js";
4
- import { snakeCase as D } from "./index204.js";
4
+ import { snakeCase as D } from "./index190.js";
5
5
  import { useId as I } from "./index118.js";
6
6
  import F from "./index113.js";
7
7
  import "./index174.js";
package/dist/index186.js CHANGED
@@ -1,5 +1,5 @@
1
- const n = (t, a, m) => Math.min(Math.max(t, a), m);
1
+ let o = (n = 21) => crypto.getRandomValues(new Uint8Array(n)).reduce((r, e) => (e &= 63, e < 36 ? r += e.toString(36) : e < 62 ? r += (e - 26).toString(36).toUpperCase() : e > 62 ? r += "-" : r += "_", r), "");
2
2
  export {
3
- n as clamp
3
+ o as nanoid
4
4
  };
5
5
  //# sourceMappingURL=index186.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index186.js","sources":["../src/utilities/functions/clamp.ts"],"sourcesContent":["/**\n * Returns value ensuring it doesn't go below min and exceed max.\n * EXAMPLE: clamp(5, 7, 20) === 7\n * @param value The value to clamp\n * @param min Minimum bound\n * @param max Maximum bound\n * @returns \n */\n\nexport const clamp = (value: number, min: number, max: number) => {\n return Math.min(Math.max(value, min), max);\n};\n"],"names":["clamp","value","min","max"],"mappings":"AASO,MAAMA,IAAQ,CAACC,GAAeC,GAAaC,MACzC,KAAK,IAAI,KAAK,IAAIF,GAAOC,CAAG,GAAGC,CAAG;"}
1
+ {"version":3,"file":"index186.js","sources":["../node_modules/nanoid/index.browser.js"],"sourcesContent":["export { urlAlphabet } from './url-alphabet/index.js'\nexport let random = bytes => crypto.getRandomValues(new Uint8Array(bytes))\nexport let customRandom = (alphabet, defaultSize, getRandom) => {\n let mask = (2 << (Math.log(alphabet.length - 1) / Math.LN2)) - 1\n let step = -~((1.6 * mask * defaultSize) / alphabet.length)\n return (size = defaultSize) => {\n let id = ''\n while (true) {\n let bytes = getRandom(step)\n let j = step\n while (j--) {\n id += alphabet[bytes[j] & mask] || ''\n if (id.length === size) return id\n }\n }\n }\n}\nexport let customAlphabet = (alphabet, size = 21) =>\n customRandom(alphabet, size, random)\nexport let nanoid = (size = 21) =>\n crypto.getRandomValues(new Uint8Array(size)).reduce((id, byte) => {\n byte &= 63\n if (byte < 36) {\n id += byte.toString(36)\n } else if (byte < 62) {\n id += (byte - 26).toString(36).toUpperCase()\n } else if (byte > 62) {\n id += '-'\n } else {\n id += '_'\n }\n return id\n }, '')\n"],"names":["nanoid","size","id","byte"],"mappings":"AAmBU,IAACA,IAAS,CAACC,IAAO,OAC1B,OAAO,gBAAgB,IAAI,WAAWA,CAAI,CAAC,EAAE,OAAO,CAACC,GAAIC,OACvDA,KAAQ,IACJA,IAAO,KACTD,KAAMC,EAAK,SAAS,EAAE,IACbA,IAAO,KAChBD,MAAOC,IAAO,IAAI,SAAS,EAAE,EAAE,YAAa,IACnCA,IAAO,KAChBD,KAAM,MAENA,KAAM,KAEDA,IACN,EAAE;","x_google_ignoreList":[0]}
package/dist/index187.js CHANGED
@@ -1,5 +1,5 @@
1
- const s = (r) => !!r && !!r.match(/^(#|var\(--|(rgb|hsl)a?\()/);
1
+ const n = (t, a, m) => Math.min(Math.max(t, a), m);
2
2
  export {
3
- s as isCssColor
3
+ n as clamp
4
4
  };
5
5
  //# sourceMappingURL=index187.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index187.js","sources":["../src/utilities/functions/isCssColor.ts"],"sourcesContent":["/**\n * Taken from vuetify colorable mixin\n * https://github.com/vuetifyjs/vuetify/blob/master/packages/vuetify/src/mixins/colorable/index.ts\n */\nexport const isCssColor = (color: string): boolean => {\n return !!color && !!color.match(/^(#|var\\(--|(rgb|hsl)a?\\()/);\n};\n"],"names":["isCssColor","color"],"mappings":"AAIa,MAAAA,IAAa,CAACC,MAClB,CAAC,CAACA,KAAS,CAAC,CAACA,EAAM,MAAM,4BAA4B;"}
1
+ {"version":3,"file":"index187.js","sources":["../src/utilities/functions/clamp.ts"],"sourcesContent":["/**\n * Returns value ensuring it doesn't go below min and exceed max.\n * EXAMPLE: clamp(5, 7, 20) === 7\n * @param value The value to clamp\n * @param min Minimum bound\n * @param max Maximum bound\n * @returns \n */\n\nexport const clamp = (value: number, min: number, max: number) => {\n return Math.min(Math.max(value, min), max);\n};\n"],"names":["clamp","value","min","max"],"mappings":"AASO,MAAMA,IAAQ,CAACC,GAAeC,GAAaC,MACzC,KAAK,IAAI,KAAK,IAAIF,GAAOC,CAAG,GAAGC,CAAG;"}
package/dist/index188.js CHANGED
@@ -1,7 +1,5 @@
1
- import { curry as e } from "./index217.js";
2
- const t = (n, o, r) => n(r) ? o(r) : r, s = e(t);
1
+ const s = (r) => !!r && !!r.match(/^(#|var\(--|(rgb|hsl)a?\()/);
3
2
  export {
4
- t as baseWhen,
5
- s as when
3
+ s as isCssColor
6
4
  };
7
5
  //# sourceMappingURL=index188.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index188.js","sources":["../src/utilities/functions/when.ts"],"sourcesContent":["import { curry } from \"./curry\"\n/**\n * Runs fn on item if iteratee(item) is thruthy\n * @param iteratee The test\n * @param item The item to test\n * @param fn The transformer function\n * @returns\n */\nexport const baseWhen = <T, U>(\n iteratee: (item: T) => boolean,\n fn: (item: T) => U,\n item: T\n) => {\n if (iteratee(item)) return fn(item);\n return item;\n};\n\nexport const when = curry(baseWhen);\n"],"names":["baseWhen","iteratee","fn","item","when","curry"],"mappings":";AAQO,MAAMA,IAAW,CACtBC,GACAC,GACAC,MAEIF,EAASE,CAAI,IAAUD,EAAGC,CAAI,IAC3BA,GAGIC,IAAOC,EAAML,CAAQ;"}
1
+ {"version":3,"file":"index188.js","sources":["../src/utilities/functions/isCssColor.ts"],"sourcesContent":["/**\n * Taken from vuetify colorable mixin\n * https://github.com/vuetifyjs/vuetify/blob/master/packages/vuetify/src/mixins/colorable/index.ts\n */\nexport const isCssColor = (color: string): boolean => {\n return !!color && !!color.match(/^(#|var\\(--|(rgb|hsl)a?\\()/);\n};\n"],"names":["isCssColor","color"],"mappings":"AAIa,MAAAA,IAAa,CAACC,MAClB,CAAC,CAACA,KAAS,CAAC,CAACA,EAAM,MAAM,4BAA4B;"}
package/dist/index189.js CHANGED
@@ -1,6 +1,6 @@
1
- import t from "./index221.js";
2
- const r = t;
1
+ import r from "./index217.js";
2
+ const t = r;
3
3
  export {
4
- r as throttle
4
+ t as deburr
5
5
  };
6
6
  //# sourceMappingURL=index189.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index189.js","sources":["../src/utilities/functions/throttle.ts"],"sourcesContent":["import t from \"lodash.throttle\";\n\nexport const throttle = t;"],"names":["throttle"],"mappings":";AAEO,MAAMA,IAAW;"}
1
+ {"version":3,"file":"index189.js","sources":["../src/utilities/functions/deburr.ts"],"sourcesContent":["import d from \"lodash.deburr\";\n\nexport const deburr = d;"],"names":["deburr","d"],"mappings":";AAEO,MAAMA,IAASC;"}
package/dist/index190.js CHANGED
@@ -1,38 +1,6 @@
1
- import { unrefElement as m } from "./index218.js";
2
- import { ref as u, watch as l } from "vue";
3
- import { createFocusTrap as d } from "./index219.js";
4
- import { tryOnScopeDispose as D } from "./index220.js";
5
- function O(i, a = {}) {
6
- let e;
7
- const { immediate: f, ...n } = a, c = u(!1), s = u(!1), o = (t) => e && e.activate(t), r = (t) => e && e.deactivate(t), v = () => {
8
- e && (e.pause(), s.value = !0);
9
- }, p = () => {
10
- e && (e.unpause(), s.value = !1);
11
- };
12
- return l(
13
- () => m(i),
14
- (t) => {
15
- t && (e = d(t, {
16
- ...n,
17
- onActivate() {
18
- c.value = !0, a.onActivate && a.onActivate();
19
- },
20
- onDeactivate() {
21
- c.value = !1, a.onDeactivate && a.onDeactivate();
22
- }
23
- }), f && o());
24
- },
25
- { flush: "post" }
26
- ), D(() => r()), {
27
- hasFocus: c,
28
- isPaused: s,
29
- activate: o,
30
- deactivate: r,
31
- pause: v,
32
- unpause: p
33
- };
34
- }
1
+ import o from "./index218.js";
2
+ const e = o;
35
3
  export {
36
- O as useFocusTrap
4
+ e as snakeCase
37
5
  };
38
6
  //# sourceMappingURL=index190.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index190.js","sources":["../node_modules/@vueuse/integrations/useFocusTrap.mjs"],"sourcesContent":["import { unrefElement, tryOnScopeDispose } from '@vueuse/core';\nimport { ref, watch } from 'vue-demi';\nimport { createFocusTrap } from 'focus-trap';\n\nfunction useFocusTrap(target, options = {}) {\n let trap;\n const { immediate, ...focusTrapOptions } = options;\n const hasFocus = ref(false);\n const isPaused = ref(false);\n const activate = (opts) => trap && trap.activate(opts);\n const deactivate = (opts) => trap && trap.deactivate(opts);\n const pause = () => {\n if (trap) {\n trap.pause();\n isPaused.value = true;\n }\n };\n const unpause = () => {\n if (trap) {\n trap.unpause();\n isPaused.value = false;\n }\n };\n watch(\n () => unrefElement(target),\n (el) => {\n if (!el)\n return;\n trap = createFocusTrap(el, {\n ...focusTrapOptions,\n onActivate() {\n hasFocus.value = true;\n if (options.onActivate)\n options.onActivate();\n },\n onDeactivate() {\n hasFocus.value = false;\n if (options.onDeactivate)\n options.onDeactivate();\n }\n });\n if (immediate)\n activate();\n },\n { flush: \"post\" }\n );\n tryOnScopeDispose(() => deactivate());\n return {\n hasFocus,\n isPaused,\n activate,\n deactivate,\n pause,\n unpause\n };\n}\n\nexport { useFocusTrap };\n"],"names":["useFocusTrap","target","options","trap","immediate","focusTrapOptions","hasFocus","ref","isPaused","activate","opts","deactivate","pause","unpause","watch","unrefElement","el","createFocusTrap","tryOnScopeDispose"],"mappings":";;;;AAIA,SAASA,EAAaC,GAAQC,IAAU,IAAI;AAC1C,MAAIC;AACJ,QAAM,EAAE,WAAAC,GAAW,GAAGC,EAAgB,IAAKH,GACrCI,IAAWC,EAAI,EAAK,GACpBC,IAAWD,EAAI,EAAK,GACpBE,IAAW,CAACC,MAASP,KAAQA,EAAK,SAASO,CAAI,GAC/CC,IAAa,CAACD,MAASP,KAAQA,EAAK,WAAWO,CAAI,GACnDE,IAAQ,MAAM;AAClB,IAAIT,MACFA,EAAK,MAAK,GACVK,EAAS,QAAQ;AAAA,EAEvB,GACQK,IAAU,MAAM;AACpB,IAAIV,MACFA,EAAK,QAAO,GACZK,EAAS,QAAQ;AAAA,EAEvB;AACE,SAAAM;AAAA,IACE,MAAMC,EAAad,CAAM;AAAA,IACzB,CAACe,MAAO;AACN,MAAKA,MAELb,IAAOc,EAAgBD,GAAI;AAAA,QACzB,GAAGX;AAAA,QACH,aAAa;AACX,UAAAC,EAAS,QAAQ,IACbJ,EAAQ,cACVA,EAAQ,WAAU;AAAA,QACrB;AAAA,QACD,eAAe;AACb,UAAAI,EAAS,QAAQ,IACbJ,EAAQ,gBACVA,EAAQ,aAAY;AAAA,QACvB;AAAA,MACT,CAAO,GACGE,KACFK;IACH;AAAA,IACD,EAAE,OAAO,OAAQ;AAAA,EACrB,GACES,EAAkB,MAAMP,EAAU,CAAE,GAC7B;AAAA,IACL,UAAAL;AAAA,IACA,UAAAE;AAAA,IACA,UAAAC;AAAA,IACA,YAAAE;AAAA,IACA,OAAAC;AAAA,IACA,SAAAC;AAAA,EACJ;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index190.js","sources":["../src/utilities/functions/snakeCase.ts"],"sourcesContent":["import s from \"lodash.snakecase\";\n\nexport const snakeCase = s;"],"names":["snakeCase","s"],"mappings":";AAEO,MAAMA,IAAYC;"}
package/dist/index191.js CHANGED
@@ -1,9 +1,7 @@
1
- const i = (e, t = 50) => new Promise((r) => {
2
- let a = setInterval(() => {
3
- e() && (clearInterval(a), r());
4
- }, t);
5
- });
1
+ import { curry as e } from "./index219.js";
2
+ const t = (n, o, r) => n(r) ? o(r) : r, s = e(t);
6
3
  export {
7
- i as waitFor
4
+ t as baseWhen,
5
+ s as when
8
6
  };
9
7
  //# sourceMappingURL=index191.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index191.js","sources":["../src/utilities/functions/waitFor.ts"],"sourcesContent":["/** Wait until iteratee returns true to resolve the promise */\nexport const waitFor: (\n iteratee: () => boolean,\n interval?: number\n) => Promise<void> = (iteratee, interval = 50) =>\n new Promise((resolve) => {\n let i = setInterval(() => {\n if (iteratee()) {\n clearInterval(i);\n resolve();\n }\n }, interval);\n });\n"],"names":["waitFor","iteratee","interval","resolve","i"],"mappings":"AACa,MAAAA,IAGQ,CAACC,GAAUC,IAAW,OACzC,IAAI,QAAQ,CAACC,MAAY;AACnB,MAAAC,IAAI,YAAY,MAAM;AACxB,IAAIH,QACF,cAAcG,CAAC,GACPD;KAETD,CAAQ;AACb,CAAC;"}
1
+ {"version":3,"file":"index191.js","sources":["../src/utilities/functions/when.ts"],"sourcesContent":["import { curry } from \"./curry\"\n/**\n * Runs fn on item if iteratee(item) is thruthy\n * @param iteratee The test\n * @param item The item to test\n * @param fn The transformer function\n * @returns\n */\nexport const baseWhen = <T, U>(\n iteratee: (item: T) => boolean,\n fn: (item: T) => U,\n item: T\n) => {\n if (iteratee(item)) return fn(item);\n return item;\n};\n\nexport const when = curry(baseWhen);\n"],"names":["baseWhen","iteratee","fn","item","when","curry"],"mappings":";AAQO,MAAMA,IAAW,CACtBC,GACAC,GACAC,MAEIF,EAASE,CAAI,IAAUD,EAAGC,CAAI,IAC3BA,GAGIC,IAAOC,EAAML,CAAQ;"}
package/dist/index192.js CHANGED
@@ -1,5 +1,6 @@
1
- let o = (n = 21) => crypto.getRandomValues(new Uint8Array(n)).reduce((r, e) => (e &= 63, e < 36 ? r += e.toString(36) : e < 62 ? r += (e - 26).toString(36).toUpperCase() : e > 62 ? r += "-" : r += "_", r), "");
1
+ import t from "./index223.js";
2
+ const r = t;
2
3
  export {
3
- o as nanoid
4
+ r as throttle
4
5
  };
5
6
  //# sourceMappingURL=index192.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index192.js","sources":["../node_modules/nanoid/index.browser.js"],"sourcesContent":["export { urlAlphabet } from './url-alphabet/index.js'\nexport let random = bytes => crypto.getRandomValues(new Uint8Array(bytes))\nexport let customRandom = (alphabet, defaultSize, getRandom) => {\n let mask = (2 << (Math.log(alphabet.length - 1) / Math.LN2)) - 1\n let step = -~((1.6 * mask * defaultSize) / alphabet.length)\n return (size = defaultSize) => {\n let id = ''\n while (true) {\n let bytes = getRandom(step)\n let j = step\n while (j--) {\n id += alphabet[bytes[j] & mask] || ''\n if (id.length === size) return id\n }\n }\n }\n}\nexport let customAlphabet = (alphabet, size = 21) =>\n customRandom(alphabet, size, random)\nexport let nanoid = (size = 21) =>\n crypto.getRandomValues(new Uint8Array(size)).reduce((id, byte) => {\n byte &= 63\n if (byte < 36) {\n id += byte.toString(36)\n } else if (byte < 62) {\n id += (byte - 26).toString(36).toUpperCase()\n } else if (byte > 62) {\n id += '-'\n } else {\n id += '_'\n }\n return id\n }, '')\n"],"names":["nanoid","size","id","byte"],"mappings":"AAmBU,IAACA,IAAS,CAACC,IAAO,OAC1B,OAAO,gBAAgB,IAAI,WAAWA,CAAI,CAAC,EAAE,OAAO,CAACC,GAAIC,OACvDA,KAAQ,IACJA,IAAO,KACTD,KAAMC,EAAK,SAAS,EAAE,IACbA,IAAO,KAChBD,MAAOC,IAAO,IAAI,SAAS,EAAE,EAAE,YAAa,IACnCA,IAAO,KAChBD,KAAM,MAENA,KAAM,KAEDA,IACN,EAAE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index192.js","sources":["../src/utilities/functions/throttle.ts"],"sourcesContent":["import t from \"lodash.throttle\";\n\nexport const throttle = t;"],"names":["throttle"],"mappings":";AAEO,MAAMA,IAAW;"}