bitboss-ui 2.0.1 → 2.0.3

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 (188) hide show
  1. package/dist/components/BbTable/BbTable.vue.d.ts +3 -0
  2. package/dist/index105.js +6 -6
  3. package/dist/index105.js.map +1 -1
  4. package/dist/index113.js +1 -1
  5. package/dist/index115.js +4 -4
  6. package/dist/index117.js +1 -1
  7. package/dist/index12.js +1 -1
  8. package/dist/index121.js +1 -1
  9. package/dist/index122.js +1 -1
  10. package/dist/index123.js +1 -1
  11. package/dist/index125.js +1 -1
  12. package/dist/index128.js +1 -1
  13. package/dist/index14.js +3 -3
  14. package/dist/index16.js +2 -2
  15. package/dist/index18.js +3 -3
  16. package/dist/index198.js +5 -2
  17. package/dist/index198.js.map +1 -1
  18. package/dist/index199.js +158 -3
  19. package/dist/index199.js.map +1 -1
  20. package/dist/index20.js +12 -12
  21. package/dist/index200.js +84 -35
  22. package/dist/index200.js.map +1 -1
  23. package/dist/index202.js +3 -7
  24. package/dist/index202.js.map +1 -1
  25. package/dist/index203.js +3 -5
  26. package/dist/index203.js.map +1 -1
  27. package/dist/index204.js +32 -123
  28. package/dist/index204.js.map +1 -1
  29. package/dist/index205.js +6 -281
  30. package/dist/index205.js.map +1 -1
  31. package/dist/index206.js +7 -123
  32. package/dist/index206.js.map +1 -1
  33. package/dist/index207.js +2 -19
  34. package/dist/index207.js.map +1 -1
  35. package/dist/index208.js +126 -2
  36. package/dist/index208.js.map +1 -1
  37. package/dist/index209.js +5 -2
  38. package/dist/index209.js.map +1 -1
  39. package/dist/index210.js +119 -170
  40. package/dist/index210.js.map +1 -1
  41. package/dist/index211.js +19 -42
  42. package/dist/index211.js.map +1 -1
  43. package/dist/index212.js +5 -0
  44. package/dist/index212.js.map +1 -0
  45. package/dist/index213.js +2 -13
  46. package/dist/index213.js.map +1 -1
  47. package/dist/index214.js +158 -353
  48. package/dist/index214.js.map +1 -1
  49. package/dist/index215.js +42 -2
  50. package/dist/index215.js.map +1 -1
  51. package/dist/index217.js +13 -2
  52. package/dist/index217.js.map +1 -1
  53. package/dist/index218.js +360 -149
  54. package/dist/index218.js.map +1 -1
  55. package/dist/index219.js +2 -84
  56. package/dist/index219.js.map +1 -1
  57. package/dist/index22.js +5 -5
  58. package/dist/{index216.js → index220.js} +2 -2
  59. package/dist/{index216.js.map → index220.js.map} +1 -1
  60. package/dist/index221.js +2 -3
  61. package/dist/index221.js.map +1 -1
  62. package/dist/index222.js +2 -2
  63. package/dist/index223.js +2 -2
  64. package/dist/index224.js +2 -2
  65. package/dist/index225.js +2 -2
  66. package/dist/index227.js +2 -3
  67. package/dist/index227.js.map +1 -1
  68. package/dist/index228.js +3 -18
  69. package/dist/index228.js.map +1 -1
  70. package/dist/index229.js +2 -105
  71. package/dist/index229.js.map +1 -1
  72. package/dist/index230.js +21 -0
  73. package/dist/index230.js.map +1 -0
  74. package/dist/index231.js +53 -47
  75. package/dist/index231.js.map +1 -1
  76. package/dist/index233.js +100 -2
  77. package/dist/index233.js.map +1 -1
  78. package/dist/index237.js +9 -9
  79. package/dist/index237.js.map +1 -1
  80. package/dist/index238.js +23 -9
  81. package/dist/index238.js.map +1 -1
  82. package/dist/index239.js +6 -23
  83. package/dist/index239.js.map +1 -1
  84. package/dist/index24.js +1 -1
  85. package/dist/index240.js +16 -6
  86. package/dist/index240.js.map +1 -1
  87. package/dist/index241.js +9 -16
  88. package/dist/index241.js.map +1 -1
  89. package/dist/index242.js +3 -431
  90. package/dist/index242.js.map +1 -1
  91. package/dist/index243.js +11 -88
  92. package/dist/index243.js.map +1 -1
  93. package/dist/index244.js +9 -5
  94. package/dist/index244.js.map +1 -1
  95. package/dist/index245.js +9 -2
  96. package/dist/index245.js.map +1 -1
  97. package/dist/index246.js +15 -7
  98. package/dist/index246.js.map +1 -1
  99. package/dist/index247.js +224 -69
  100. package/dist/index247.js.map +1 -1
  101. package/dist/index248.js +420 -189
  102. package/dist/index248.js.map +1 -1
  103. package/dist/index249.js +88 -3
  104. package/dist/index249.js.map +1 -1
  105. package/dist/index250.js +280 -5
  106. package/dist/index250.js.map +1 -1
  107. package/dist/index251.js +6 -2
  108. package/dist/index251.js.map +1 -1
  109. package/dist/index252.js +2 -2
  110. package/dist/index253.js +2 -2
  111. package/dist/index254.js +2 -126
  112. package/dist/index254.js.map +1 -1
  113. package/dist/index255.js +126 -3
  114. package/dist/index255.js.map +1 -1
  115. package/dist/index256.js +6 -0
  116. package/dist/index256.js.map +1 -0
  117. package/dist/index258.js +7 -3
  118. package/dist/index258.js.map +1 -1
  119. package/dist/index259.js +3 -11
  120. package/dist/index259.js.map +1 -1
  121. package/dist/index26.js +3 -3
  122. package/dist/index260.js +2 -9
  123. package/dist/index260.js.map +1 -1
  124. package/dist/index261.js +67 -15
  125. package/dist/index261.js.map +1 -1
  126. package/dist/index262.js +191 -427
  127. package/dist/index262.js.map +1 -1
  128. package/dist/index263.js +5 -127
  129. package/dist/index263.js.map +1 -1
  130. package/dist/index264.js +431 -219
  131. package/dist/index264.js.map +1 -1
  132. package/dist/index265.js +127 -2
  133. package/dist/index265.js.map +1 -1
  134. package/dist/index269.js +2 -3
  135. package/dist/index269.js.map +1 -1
  136. package/dist/index270.js +28 -3
  137. package/dist/index270.js.map +1 -1
  138. package/dist/index271.js +3 -211
  139. package/dist/index271.js.map +1 -1
  140. package/dist/index272.js +6 -0
  141. package/dist/index272.js.map +1 -0
  142. package/dist/index273.js +209 -26
  143. package/dist/index273.js.map +1 -1
  144. package/dist/index278.js +15 -2
  145. package/dist/index278.js.map +1 -1
  146. package/dist/index279.js +34 -10
  147. package/dist/index279.js.map +1 -1
  148. package/dist/index28.js +2 -2
  149. package/dist/index280.js +10 -34
  150. package/dist/index280.js.map +1 -1
  151. package/dist/index281.js +2 -47
  152. package/dist/index281.js.map +1 -1
  153. package/dist/index282.js +50 -0
  154. package/dist/index282.js.map +1 -0
  155. package/dist/index284.js +416 -42
  156. package/dist/index284.js.map +1 -1
  157. package/dist/index285.js +50 -0
  158. package/dist/index285.js.map +1 -0
  159. package/dist/index30.js +2 -2
  160. package/dist/index32.js +3 -3
  161. package/dist/index34.js +13 -13
  162. package/dist/index36.js +4 -4
  163. package/dist/index38.js +2 -2
  164. package/dist/index40.js +2 -2
  165. package/dist/index42.js +6 -6
  166. package/dist/index44.js +2 -2
  167. package/dist/index46.js +2 -2
  168. package/dist/index52.js +1 -1
  169. package/dist/index54.js +1 -1
  170. package/dist/index70.js +4 -4
  171. package/dist/index74.js +2 -2
  172. package/dist/index76.js +1 -1
  173. package/dist/index79.js +2 -2
  174. package/dist/index81.js +1 -1
  175. package/dist/index83.js +3 -3
  176. package/dist/index85.js +1 -1
  177. package/dist/style.css +1 -1
  178. package/package.json +1 -1
  179. package/dist/index201.js +0 -9
  180. package/dist/index201.js.map +0 -1
  181. package/dist/index234.js +0 -6
  182. package/dist/index234.js.map +0 -1
  183. package/dist/index257.js +0 -10
  184. package/dist/index257.js.map +0 -1
  185. package/dist/index274.js +0 -18
  186. package/dist/index274.js.map +0 -1
  187. package/dist/index283.js +0 -424
  188. package/dist/index283.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index255.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
1
+ {"version":3,"file":"index255.js","sources":["../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"],"sourcesContent":["function getNodeName(node) {\n if (isNode(node)) {\n return (node.nodeName || '').toLowerCase();\n }\n // Mocked nodes in testing environments may not be instances of Node. By\n // returning `#document` an infinite loop won't occur.\n // https://github.com/floating-ui/floating-ui/issues/2317\n return '#document';\n}\nfunction getWindow(node) {\n var _node$ownerDocument;\n return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n var _ref;\n return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n // Browsers without `ShadowRoot` support.\n if (typeof ShadowRoot === 'undefined') {\n return false;\n }\n return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);\n}\nfunction isTableElement(element) {\n return ['table', 'td', 'th'].includes(getNodeName(element));\n}\nfunction isTopLayer(element) {\n return [':popover-open', ':modal'].some(selector => {\n try {\n return element.matches(selector);\n } catch (e) {\n return false;\n }\n });\n}\nfunction isContainingBlock(elementOrCss) {\n const webkit = isWebKit();\n const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n return css.transform !== 'none' || css.perspective !== 'none' || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else if (isTopLayer(currentNode)) {\n return null;\n }\n currentNode = getParentNode(currentNode);\n }\n return null;\n}\nfunction isWebKit() {\n if (typeof CSS === 'undefined' || !CSS.supports) return false;\n return CSS.supports('-webkit-backdrop-filter', 'none');\n}\nfunction isLastTraversableNode(node) {\n return ['html', 'body', '#document'].includes(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.scrollX,\n scrollTop: element.scrollY\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node.\n node.assignedSlot ||\n // DOM Element detected.\n node.parentNode ||\n // ShadowRoot detected.\n isShadowRoot(node) && node.host ||\n // Fallback.\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n return node.ownerDocument ? node.ownerDocument.body : node.body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n var _node$ownerDocument2;\n if (list === void 0) {\n list = [];\n }\n if (traverseIframes === void 0) {\n traverseIframes = true;\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n const frameElement = getFrameElement(win);\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n }\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n}\nfunction getFrameElement(win) {\n return Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getFrameElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isTopLayer, isWebKit };\n"],"names":["getNodeName","node","isNode","getWindow","_node$ownerDocument","getDocumentElement","_ref","value","isElement","isHTMLElement","isShadowRoot","isOverflowElement","element","overflow","overflowX","overflowY","display","getComputedStyle","isTableElement","isTopLayer","selector","isContainingBlock","elementOrCss","webkit","isWebKit","css","getContainingBlock","currentNode","getParentNode","isLastTraversableNode","getNodeScroll","result","getNearestOverflowAncestor","parentNode","getOverflowAncestors","list","traverseIframes","_node$ownerDocument2","scrollableAncestor","isBody","win","frameElement","getFrameElement"],"mappings":"AAAA,SAASA,EAAYC,GAAM;AACzB,SAAIC,EAAOD,CAAI,KACLA,EAAK,YAAY,IAAI,YAAW,IAKnC;AACT;AACA,SAASE,EAAUF,GAAM;AACvB,MAAIG;AACJ,UAAQH,KAAQ,SAASG,IAAsBH,EAAK,kBAAkB,OAAO,SAASG,EAAoB,gBAAgB;AAC5H;AACA,SAASC,EAAmBJ,GAAM;AAChC,MAAIK;AACJ,UAAQA,KAAQJ,EAAOD,CAAI,IAAIA,EAAK,gBAAgBA,EAAK,aAAa,OAAO,aAAa,OAAO,SAASK,EAAK;AACjH;AACA,SAASJ,EAAOK,GAAO;AACrB,SAAOA,aAAiB,QAAQA,aAAiBJ,EAAUI,CAAK,EAAE;AACpE;AACA,SAASC,EAAUD,GAAO;AACxB,SAAOA,aAAiB,WAAWA,aAAiBJ,EAAUI,CAAK,EAAE;AACvE;AACA,SAASE,EAAcF,GAAO;AAC5B,SAAOA,aAAiB,eAAeA,aAAiBJ,EAAUI,CAAK,EAAE;AAC3E;AACA,SAASG,EAAaH,GAAO;AAE3B,SAAI,OAAO,aAAe,MACjB,KAEFA,aAAiB,cAAcA,aAAiBJ,EAAUI,CAAK,EAAE;AAC1E;AACA,SAASI,EAAkBC,GAAS;AAClC,QAAM;AAAA,IACJ,UAAAC;AAAA,IACA,WAAAC;AAAA,IACA,WAAAC;AAAA,IACA,SAAAC;AAAA,EACJ,IAAMC,EAAiBL,CA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AK,OAAOK,GAAKA,EAAI,kBAAkB,CAAE,GAAE7B,EAAkB2B,CAAkB,IAAIA,IAAqB,CAAE,GAAEG,KAAgBL,IAAkBF,EAAqBO,CAAY,IAAI,CAAA,CAAE;AAAA,EAC7L;AACD,SAAON,EAAK,OAAOG,GAAoBJ,EAAqBI,GAAoB,CAAE,GAAEF,CAAe,CAAC;AACtG;AACA,SAASM,EAAgBF,GAAK;AAC5B,SAAO,OAAO,eAAeA,EAAI,MAAM,IAAIA,EAAI,eAAe;AAChE;","x_google_ignoreList":[0]}
@@ -0,0 +1,6 @@
1
+ import o from "./index215.js";
2
+ /* empty css */
3
+ export {
4
+ o as default
5
+ };
6
+ //# sourceMappingURL=index256.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index256.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
package/dist/index258.js CHANGED
@@ -1,6 +1,10 @@
1
- import o from "./index219.js";
2
- /* empty css */
1
+ const s = (t, e) => {
2
+ const o = t.__vccOpts || t;
3
+ for (const [r, c] of e)
4
+ o[r] = c;
5
+ return o;
6
+ };
3
7
  export {
4
- o as default
8
+ s as default
5
9
  };
6
10
  //# sourceMappingURL=index258.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index258.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
1
+ {"version":3,"file":"index258.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
package/dist/index259.js CHANGED
@@ -1,15 +1,7 @@
1
- import { ref as t } from "vue";
2
- const n = () => {
3
- const e = t([]);
4
- return { array: e, set: (...r) => {
5
- e.value = r;
6
- }, add: (...r) => {
7
- e.value.push(...r);
8
- }, remove: (r) => {
9
- e.value = e.value.filter(r);
10
- } };
1
+ const e = function(t) {
2
+ return (...n) => n.length >= t.length ? t(...n) : e(t.bind(void 0, ...n));
11
3
  };
12
4
  export {
13
- n as useArray
5
+ e as curry
14
6
  };
15
7
  //# sourceMappingURL=index259.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index259.js","sources":["../src/composables/useArray.ts"],"sourcesContent":["import { ref, type Ref } from 'vue';\n\nexport const useArray = <T>() => {\n\tconst array = ref<T[]>([]) as Ref<T[]>;\n\n\tconst set = (...items: T[]) => {\n\t\tarray.value = items;\n\t};\n\tconst add = (...items: T[]) => {\n\t\tarray.value.push(...items);\n\t};\n\tconst remove = (iteratee: (option: T) => boolean) => {\n\t\tarray.value = array.value.filter(iteratee);\n\t};\n\n\treturn { array, set, add, remove };\n};\n"],"names":["useArray","array","ref","items","iteratee"],"mappings":";AAEO,MAAMA,IAAW,MAAS;AAC1B,QAAAC,IAAQC,EAAS,CAAA,CAAE;AAYzB,SAAO,EAAE,OAAAD,GAAO,KAVJ,IAAIE,MAAe;AAC9B,IAAAF,EAAM,QAAQE;AAAA,EAAA,GASM,KAPT,IAAIA,MAAe;AACxB,IAAAF,EAAA,MAAM,KAAK,GAAGE,CAAK;AAAA,EAAA,GAMA,QAJX,CAACC,MAAqC;AACpD,IAAAH,EAAM,QAAQA,EAAM,MAAM,OAAOG,CAAQ;AAAA,EAAA,EAGT;AAClC;"}
1
+ {"version":3,"file":"index259.js","sources":["../src/utilities/functions/curry.ts"],"sourcesContent":["export type Curried<A extends any[], R> = <P extends Partial<A>>(\n\t...args: P\n) => P extends A\n\t? R\n\t: A extends [...SameLength<P>, ...infer S]\n\t\t? S extends any[]\n\t\t\t? Curried<S, R>\n\t\t\t: never\n\t\t: never;\n\ntype SameLength<T extends any[]> = Extract<{ [K in keyof T]: any }, any[]>;\n\nexport const curry = function <A extends any[], R>(\n\tfn: (...args: A) => R\n): Curried<A, R> {\n\treturn (...args: any[]): any =>\n\t\targs.length >= fn.length\n\t\t\t? fn(...(args as any))\n\t\t\t: curry((fn as any).bind(undefined, ...args));\n};\n"],"names":["curry","fn","args"],"mappings":"AAYa,MAAAA,IAAQ,SACpBC,GACgB;AAChB,SAAO,IAAIC,MACVA,EAAK,UAAUD,EAAG,SACfA,EAAG,GAAIC,CAAY,IACnBF,EAAOC,EAAW,KAAK,QAAW,GAAGC,CAAI,CAAC;AAC/C;"}
package/dist/index26.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as C, computed as M, ref as g, onMounted as E, watch as N, openBlock as x, createBlock as T, normalizeClass as q, withCtx as i, renderSlot as d, createVNode as A, createElementVNode as D, mergeProps as L, withModifiers as S } from "vue";
2
- import { clamp as b } from "./index198.js";
3
- import j from "./index211.js";
2
+ import { clamp as b } from "./index207.js";
3
+ import j from "./index215.js";
4
4
  /* empty css */
5
- import z from "./index213.js";
5
+ import z from "./index217.js";
6
6
  const O = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "step"], J = /* @__PURE__ */ C({
7
7
  __name: "BaseNumberInput",
8
8
  props: {
package/dist/index260.js CHANGED
@@ -1,12 +1,5 @@
1
- function u(e, i) {
2
- const n = /* @__PURE__ */ new Set(), s = [];
3
- for (let t = 0; t < e.length; t++) {
4
- const o = e[t], c = i(o);
5
- n.has(c) || (n.add(c), s.push(o));
6
- }
7
- return s;
8
- }
1
+ const t = (d, o) => +d + +o;
9
2
  export {
10
- u as uniqBy
3
+ t as add
11
4
  };
12
5
  //# sourceMappingURL=index260.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index260.js","sources":["../src/utilities/functions/uniqBy.ts"],"sourcesContent":["export function uniqBy<T, K>(array: T[], keyFn: (item: T) => K): T[] {\n\tconst seen = new Set<K>();\n\tconst result: T[] = [];\n\n\tfor (let i = 0; i < array.length; i++) {\n\t\tconst item = array[i];\n\t\tconst key = keyFn(item);\n\t\tif (!seen.has(key)) {\n\t\t\tseen.add(key);\n\t\t\tresult.push(item);\n\t\t}\n\t}\n\n\treturn result;\n}\n"],"names":["uniqBy","array","keyFn","seen","result","i","item","key"],"mappings":"AAAgB,SAAAA,EAAaC,GAAYC,GAA4B;AAC9D,QAAAC,wBAAW,OACXC,IAAc,CAAA;AAEpB,WAASC,IAAI,GAAGA,IAAIJ,EAAM,QAAQI,KAAK;AAChC,UAAAC,IAAOL,EAAMI,CAAC,GACdE,IAAML,EAAMI,CAAI;AACtB,IAAKH,EAAK,IAAII,CAAG,MAChBJ,EAAK,IAAII,CAAG,GACZH,EAAO,KAAKE,CAAI;AAAA,EAElB;AAEO,SAAAF;AACR;"}
1
+ {"version":3,"file":"index260.js","sources":["../src/utilities/functions/add.ts"],"sourcesContent":["export const add = (a: number | string, b: number | string) => +a + +b;\n"],"names":["add","a","b"],"mappings":"AAAO,MAAMA,IAAM,CAACC,GAAoBC,MAAuB,CAACD,IAAI,CAACC;"}
package/dist/index261.js CHANGED
@@ -1,20 +1,72 @@
1
- import { get as t } from "./index279.js";
2
- const o = () => ({
3
- getItemText(r, n) {
4
- if (typeof r == "string" && !n) return r;
5
- if (n) {
6
- if (typeof n == "function") {
7
- let f = n(r);
8
- return typeof f != "string" && (f = JSON.stringify(f)), f;
9
- } else if (typeof n == "string") {
10
- const f = t(r, n);
11
- return typeof f == "string" ? f : JSON.stringify(f);
12
- }
13
- }
14
- return JSON.stringify(r);
1
+ import { defineComponent as p, openBlock as s, createElementBlock as a, normalizeClass as b, createElementVNode as t, createBlock as i, createCommentVNode as o, toDisplayString as l, withCtx as d } from "vue";
2
+ import h from "./index12.js";
3
+ /* empty css */
4
+ import u from "./index121.js";
5
+ /* empty css */
6
+ const g = { class: "bb-toast-message__icon-container" }, k = { class: "bb-toast-message__content" }, f = {
7
+ key: 0,
8
+ class: "bb-toast-message__title"
9
+ }, C = { class: "bb-toast-message__text" }, w = { class: "bb-toast-message__close" }, v = /* @__PURE__ */ t("svg", {
10
+ fill: "none",
11
+ viewBox: "0 0 24 24",
12
+ xmlns: "http://www.w3.org/2000/svg"
13
+ }, [
14
+ /* @__PURE__ */ t("path", {
15
+ d: "M23 23L1 1M23 1L1 23",
16
+ stroke: "currentColor",
17
+ "stroke-linecap": "round",
18
+ "stroke-width": "2"
19
+ })
20
+ ], -1), N = /* @__PURE__ */ p({
21
+ __name: "BbToastMessage",
22
+ props: {
23
+ title: {},
24
+ text: {},
25
+ icon: {},
26
+ theme: { default: "default" },
27
+ id: {},
28
+ showClose: { type: Boolean }
29
+ },
30
+ emits: ["click:close"],
31
+ setup(n, { emit: c }) {
32
+ const r = n, m = c, _ = () => {
33
+ m("click:close", r.id);
34
+ };
35
+ return (e, y) => (s(), a("div", {
36
+ "aria-atomic": "true",
37
+ "aria-live": "polite",
38
+ "aria-role": "alert",
39
+ class: b(["bb-toast-message", { [`bb-toast-message--${e.theme}`]: e.theme }])
40
+ }, [
41
+ t("div", g, [
42
+ e.icon ? (s(), i(u, {
43
+ key: 0,
44
+ class: "bb-toast-message__icon",
45
+ type: e.icon
46
+ }, null, 8, ["type"])) : o("", !0)
47
+ ]),
48
+ t("div", k, [
49
+ e.title ? (s(), a("p", f, l(e.title), 1)) : o("", !0),
50
+ t("p", C, l(e.text), 1)
51
+ ]),
52
+ t("span", w, [
53
+ e.showClose ? (s(), i(h, {
54
+ key: 0,
55
+ "aria-label": "Chiudi",
56
+ block: "",
57
+ class: "bb-toast-message__close-btn",
58
+ onClick: _
59
+ }, {
60
+ default: d(() => [
61
+ v
62
+ ]),
63
+ _: 1
64
+ })) : o("", !0)
65
+ ])
66
+ ], 2));
15
67
  }
16
68
  });
17
69
  export {
18
- o as useItemText
70
+ N as default
19
71
  };
20
72
  //# sourceMappingURL=index261.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index261.js","sources":["../src/composables/useItemText.ts"],"sourcesContent":["import { get } from '@/utilities/functions/get';\n\ntype NestedKeyOf<ObjectType extends object> = {\n\t[Key in keyof ObjectType & (string | number)]: ObjectType[Key] extends object\n\t\t? `${Key}` | `${Key}.${NestedKeyOf<ObjectType[Key]>}`\n\t\t: `${Key}`;\n}[keyof ObjectType & (string | number)];\n\nexport type Path<T> = T extends object\n\t?\n\t\t\t| NestedKeyOf<T>\n\t\t\t| ((item: T) => string | number)\n\t\t\t| undefined\n\t\t\t| (string & Record<never, never>)\n\t: undefined;\n\nexport const useItemText = () => ({\n\tgetItemText<T>(item: T, getter?: Path<T>): string {\n\t\tif (typeof item === 'string' && !getter) return item;\n\t\telse if (getter) {\n\t\t\tif (typeof getter === 'function') {\n\t\t\t\tlet found = getter(item);\n\t\t\t\tif (typeof found !== 'string') found = JSON.stringify(found);\n\t\t\t\treturn found;\n\t\t\t} else if (typeof getter === 'string') {\n\t\t\t\tconst found = get(item, getter as any);\n\t\t\t\tif (typeof found === 'string') return found;\n\t\t\t\telse return JSON.stringify(found);\n\t\t\t}\n\t\t}\n\t\treturn JSON.stringify(item);\n\t},\n});\n"],"names":["useItemText","item","getter","found","get"],"mappings":";AAgBO,MAAMA,IAAc,OAAO;AAAA,EACjC,YAAeC,GAASC,GAA0B;AACjD,QAAI,OAAOD,KAAS,YAAY,CAACC,EAAe,QAAAD;AAAA,QACvCC;AACJ,UAAA,OAAOA,KAAW,YAAY;AAC7B,YAAAC,IAAQD,EAAOD,CAAI;AACvB,eAAI,OAAOE,KAAU,aAAkBA,IAAA,KAAK,UAAUA,CAAK,IACpDA;AAAA,MAAA,WACG,OAAOD,KAAW,UAAU;AAChC,cAAAC,IAAQC,EAAIH,GAAMC,CAAa;AACjC,eAAA,OAAOC,KAAU,WAAiBA,IAC1B,KAAK,UAAUA,CAAK;AAAA,MACjC;AAAA;AAEM,WAAA,KAAK,UAAUF,CAAI;AAAA,EAC3B;AACD;"}
1
+ {"version":3,"file":"index261.js","sources":["../src/components/BbToast/BbToastMessage.vue"],"sourcesContent":["<template>\n\t<div\n\t\taria-atomic=\"true\"\n\t\taria-live=\"polite\"\n\t\taria-role=\"alert\"\n\t\tclass=\"bb-toast-message\"\n\t\t:class=\"{ [`bb-toast-message--${theme}`]: theme }\"\n\t>\n\t\t<div class=\"bb-toast-message__icon-container\">\n\t\t\t<BbIcon v-if=\"icon\" class=\"bb-toast-message__icon\" :type=\"icon\" />\n\t\t</div>\n\n\t\t<div class=\"bb-toast-message__content\">\n\t\t\t<p v-if=\"title\" class=\"bb-toast-message__title\">{{ title }}</p>\n\t\t\t<p class=\"bb-toast-message__text\">{{ text }}</p>\n\t\t</div>\n\t\t<span class=\"bb-toast-message__close\">\n\t\t\t<BaseButton\n\t\t\t\tv-if=\"showClose\"\n\t\t\t\t:aria-label=\"'Chiudi'\"\n\t\t\t\tblock\n\t\t\t\tclass=\"bb-toast-message__close-btn\"\n\t\t\t\t@click=\"onClickClose\"\n\t\t\t>\n\t\t\t\t<svg fill=\"none\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M23 23L1 1M23 1L1 23\"\n\t\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\t\tstroke-width=\"2\"\n\t\t\t\t\t/>\n\t\t\t\t</svg>\n\t\t\t</BaseButton>\n\t\t</span>\n\t</div>\n</template>\n\n<script setup lang=\"ts\">\nimport type { Message } from '../../composables/useToast';\nimport BaseButton from '../BaseButton/BaseButton.vue';\nimport BbIcon from '../BbIcon/BbIcon.vue';\n\nconst props = withDefaults(defineProps<Message>(), {\n\ttheme: 'default',\n});\ntype BbToastMessageEvents = {\n\t(e: 'click:close', id: Message['id']): void;\n};\nconst emit = defineEmits<BbToastMessageEvents>();\n\nconst onClickClose = () => {\n\temit('click:close', props.id);\n};\n</script>\n\n<style scoped></style>\n"],"names":["props","__props","emit","__emit","onClickClose"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CA,UAAMA,IAAQC,GAMRC,IAAOC,GAEPC,IAAe,MAAM;AACrB,MAAAF,EAAA,eAAeF,EAAM,EAAE;AAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}