bitboss-ui 2.0.168 → 2.0.169

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 (176) hide show
  1. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +6 -6
  2. package/dist/components/BbPopover/BbPopover.vue.d.ts +6 -6
  3. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +6 -6
  4. package/dist/components/CommonPopover.vue.d.ts +6 -6
  5. package/dist/index106.js +7 -7
  6. package/dist/index111.js +1 -1
  7. package/dist/index113.js +1 -1
  8. package/dist/index121.js +9 -9
  9. package/dist/index129.js +2 -2
  10. package/dist/index13.js +1 -1
  11. package/dist/index131.js +3 -3
  12. package/dist/index133.js +1 -1
  13. package/dist/index15.js +6 -6
  14. package/dist/index17.js +3 -3
  15. package/dist/index19.js +8 -8
  16. package/dist/index209.js +2 -2
  17. package/dist/index21.js +16 -16
  18. package/dist/index211.js +1 -1
  19. package/dist/index212.js +38 -174
  20. package/dist/index213.js +6 -2
  21. package/dist/index214.js +7 -4
  22. package/dist/index215.js +15 -2
  23. package/dist/index216.js +13 -41
  24. package/dist/index217.js +5 -6
  25. package/dist/index218.js +5 -7
  26. package/dist/index219.js +5 -15
  27. package/dist/index220.js +5 -13
  28. package/dist/index221.js +5 -4
  29. package/dist/index222.js +5 -20
  30. package/dist/index223.js +2 -94
  31. package/dist/index224.js +4 -0
  32. package/dist/index225.js +18 -198
  33. package/dist/index226.js +96 -0
  34. package/dist/index228.js +4 -0
  35. package/dist/index229.js +8 -28
  36. package/dist/index23.js +15 -15
  37. package/dist/index230.js +34 -17
  38. package/dist/index231.js +4 -51
  39. package/dist/index232.js +200 -15
  40. package/dist/index234.js +2 -12
  41. package/dist/index235.js +2 -16
  42. package/dist/index236.js +4 -2
  43. package/dist/index237.js +2 -18
  44. package/dist/index238.js +2 -128
  45. package/dist/index239.js +3 -106
  46. package/dist/index240.js +7 -0
  47. package/dist/index241.js +5 -100
  48. package/dist/index242.js +10 -0
  49. package/dist/index243.js +250 -12
  50. package/dist/index244.js +52 -2
  51. package/dist/index245.js +39 -223
  52. package/dist/index246.js +5 -368
  53. package/dist/index247.js +58 -32
  54. package/dist/index248.js +86 -2
  55. package/dist/index25.js +5 -5
  56. package/dist/index250.js +29 -2
  57. package/dist/index251.js +16 -5
  58. package/dist/index252.js +17 -5
  59. package/dist/index253.js +51 -5
  60. package/dist/index254.js +15 -5
  61. package/dist/index255.js +12 -5
  62. package/dist/index256.js +3 -5
  63. package/dist/index257.js +106 -9
  64. package/dist/index259.js +100 -5
  65. package/dist/index261.js +17 -7
  66. package/dist/index262.js +124 -246
  67. package/dist/index263.js +12 -52
  68. package/dist/index264.js +223 -39
  69. package/dist/index265.js +368 -5
  70. package/dist/index266.js +3 -60
  71. package/dist/index269.js +174 -6
  72. package/dist/index27.js +1 -1
  73. package/dist/index270.js +8 -10
  74. package/dist/index271.js +11 -101
  75. package/dist/index272.js +103 -0
  76. package/dist/index274.js +23 -3
  77. package/dist/index277.js +1 -1
  78. package/dist/index280.js +5 -67
  79. package/dist/index281.js +67 -5
  80. package/dist/index282.js +1 -1
  81. package/dist/index283.js +1 -1
  82. package/dist/index284.js +3 -4
  83. package/dist/index286.js +9 -0
  84. package/dist/index287.js +469 -5
  85. package/dist/index288.js +2 -4
  86. package/dist/index289.js +6 -470
  87. package/dist/index290.js +11 -2
  88. package/dist/index291.js +4 -7
  89. package/dist/index292.js +2 -11
  90. package/dist/index293.js +280 -3
  91. package/dist/index294.js +2 -3
  92. package/dist/index295.js +125 -3
  93. package/dist/index296.js +2 -17
  94. package/dist/index297.js +15 -27
  95. package/dist/index298.js +2 -2
  96. package/dist/index299.js +15 -199
  97. package/dist/index300.js +2 -129
  98. package/dist/index301.js +19 -3
  99. package/dist/index302.js +2 -3
  100. package/dist/index303.js +15 -2
  101. package/dist/index304.js +2 -382
  102. package/dist/index305.js +3 -126
  103. package/dist/index306.js +198 -278
  104. package/dist/index307.js +3 -2
  105. package/dist/index308.js +4 -125
  106. package/dist/index309.js +28 -2
  107. package/dist/index31.js +2 -2
  108. package/dist/index310.js +5 -15
  109. package/dist/index311.js +3 -2
  110. package/dist/index312.js +17 -16
  111. package/dist/index313.js +5 -2
  112. package/dist/index314.js +17 -17
  113. package/dist/index316.js +25 -13
  114. package/dist/index318.js +2 -5
  115. package/dist/index319.js +2 -6
  116. package/dist/index320.js +2 -19
  117. package/dist/index321.js +2 -2
  118. package/dist/index322.js +22 -27
  119. package/dist/index324.js +3 -2
  120. package/dist/index325.js +3 -2
  121. package/dist/index326.js +129 -2
  122. package/dist/index327.js +1 -1
  123. package/dist/index328.js +381 -21
  124. package/dist/index329.js +128 -0
  125. package/dist/index33.js +8 -8
  126. package/dist/index330.js +2 -2
  127. package/dist/index331.js +1 -1
  128. package/dist/index335.js +1 -1
  129. package/dist/index336.js +7 -5
  130. package/dist/index337.js +227 -6
  131. package/dist/index338.js +5 -19
  132. package/dist/index339.js +7 -227
  133. package/dist/index340.js +5 -46
  134. package/dist/index341.js +8 -7
  135. package/dist/index342.js +92 -57
  136. package/dist/index343.js +32 -57
  137. package/dist/index344.js +28 -8
  138. package/dist/index346.js +47 -8
  139. package/dist/index347.js +6 -32
  140. package/dist/index348.js +18 -27
  141. package/dist/index349.js +60 -0
  142. package/dist/index35.js +4 -4
  143. package/dist/index350.js +57 -92
  144. package/dist/{index285.js → index352.js} +1 -1
  145. package/dist/index353.js +482 -3
  146. package/dist/index354.js +479 -45
  147. package/dist/index355.js +2 -481
  148. package/dist/index356.js +47 -2
  149. package/dist/index37.js +20 -20
  150. package/dist/index39.js +4 -4
  151. package/dist/index41.js +2 -2
  152. package/dist/index43.js +8 -8
  153. package/dist/index45.js +6 -6
  154. package/dist/index49.js +1 -1
  155. package/dist/index53.js +1 -1
  156. package/dist/index55.js +1 -1
  157. package/dist/index57.js +2 -2
  158. package/dist/index61.js +1 -1
  159. package/dist/index67.js +1 -1
  160. package/dist/index79.js +4 -4
  161. package/dist/index81.js +1 -1
  162. package/dist/index85.js +1 -1
  163. package/dist/index87.js +1 -1
  164. package/dist/index90.js +4 -4
  165. package/dist/index92.js +2 -2
  166. package/dist/index94.js +3 -3
  167. package/package.json +1 -1
  168. package/dist/index227.js +0 -88
  169. package/dist/index233.js +0 -5
  170. package/dist/index249.js +0 -4
  171. package/dist/index258.js +0 -5
  172. package/dist/index260.js +0 -7
  173. package/dist/index273.js +0 -25
  174. package/dist/index323.js +0 -4
  175. package/dist/index345.js +0 -8
  176. package/dist/index351.js +0 -484
package/dist/index342.js CHANGED
@@ -1,60 +1,95 @@
1
- const e = {
2
- common: {
3
- closeLabel: "Chiudi",
4
- loadingText: "Caricamento...",
5
- noDataText: "Nessun elemento da visualizzare",
6
- clearLabel: "Reset valore selezionato"
7
- },
8
- colorInput: {
9
- paletteLabel: "Seleziona un colore dalla tavolozza",
10
- mainCanvasDesc: "Usa le frecce per selezionare un colore",
11
- mainCanvasSelectedColor: "Colore selezionato: {0}",
12
- hueCanvasDesc: "Usa le frecce per selezionare una tonalità",
13
- hueCanvasSelectedHue: "Tonalità selezionata: {0}"
14
- },
15
- datePicker: {
16
- monthLabel: "Seleziona un mese",
17
- yearLabel: "Seleziona un anno",
18
- previousMonthLabel: "Vai indietro di un mese",
19
- nextMonthLabel: "Vai avanti di un mese"
20
- },
21
- baseDatePickerInput: {
22
- dateFormat: "Formato della data",
23
- dateFormatSingle: "GG/MM/AAAA",
24
- dateFormatRange: "GG/MM/AAAA - GG/MM/AAAA",
25
- emptyRange: "Seleziona un range",
26
- changeSelectionRange: "Cambia selezione, da {0} a {1}",
27
- changeSelection: "Cambia selezione, {0}",
28
- emptySelection: "Seleziona una data"
29
- },
30
- dialog: {
31
- closeLabel: "Chiudi modale"
32
- },
33
- dropdownButton: {
34
- open: "Apri menu",
35
- close: "Chiudi menu"
36
- },
37
- rating: {
38
- singleStar: "{0} su {1}",
39
- multipleStars: "{0} su {1}"
40
- },
41
- select: {
42
- multipleMaxReached: "{0} elementi selezionati"
43
- },
44
- chip: {
45
- clearLabel: "Elimina"
46
- },
47
- pagination: {
48
- previous: "Precedente",
49
- next: "Successivo"
50
- },
51
- table: {
52
- noDataText: "Non ci sono elementi da visualizzare",
53
- selectAllLabel: "Seleziona tutti gli elementi di questa pagina",
54
- selectText: "Seleziona un elemento",
55
- select: "Seleziona"
1
+ import { commonjsGlobal as y } from "./index310.js";
2
+ var p, _;
3
+ function Z() {
4
+ if (_) return p;
5
+ _ = 1;
6
+ var x = "Expected a function", I = NaN, W = "[object Symbol]", C = /^\s+|\s+$/g, M = /^[-+]0x[0-9a-f]+$/i, N = /^0b[01]+$/i, R = /^0o[0-7]+$/i, $ = parseInt, q = typeof y == "object" && y && y.Object === Object && y, A = typeof self == "object" && self && self.Object === Object && self, B = q || A || Function("return this")(), F = Object.prototype, G = F.toString, P = Math.max, D = Math.min, h = function() {
7
+ return B.Date.now();
8
+ };
9
+ function H(e, r, n) {
10
+ var f, a, g, c, i, u, s = 0, S = !1, d = !1, j = !0;
11
+ if (typeof e != "function")
12
+ throw new TypeError(x);
13
+ r = O(r) || 0, m(n) && (S = !!n.leading, d = "maxWait" in n, g = d ? P(O(n.maxWait) || 0, r) : g, j = "trailing" in n ? !!n.trailing : j);
14
+ function v(t) {
15
+ var o = f, l = a;
16
+ return f = a = void 0, s = t, c = e.apply(l, o), c;
17
+ }
18
+ function J(t) {
19
+ return s = t, i = setTimeout(b, r), S ? v(t) : c;
20
+ }
21
+ function K(t) {
22
+ var o = t - u, l = t - s, L = r - o;
23
+ return d ? D(L, g - l) : L;
24
+ }
25
+ function E(t) {
26
+ var o = t - u, l = t - s;
27
+ return u === void 0 || o >= r || o < 0 || d && l >= g;
28
+ }
29
+ function b() {
30
+ var t = h();
31
+ if (E(t))
32
+ return k(t);
33
+ i = setTimeout(b, K(t));
34
+ }
35
+ function k(t) {
36
+ return i = void 0, j && f ? v(t) : (f = a = void 0, c);
37
+ }
38
+ function Q() {
39
+ i !== void 0 && clearTimeout(i), s = 0, f = u = a = i = void 0;
40
+ }
41
+ function V() {
42
+ return i === void 0 ? c : k(h());
43
+ }
44
+ function T() {
45
+ var t = h(), o = E(t);
46
+ if (f = arguments, a = this, u = t, o) {
47
+ if (i === void 0)
48
+ return J(u);
49
+ if (d)
50
+ return i = setTimeout(b, r), v(u);
51
+ }
52
+ return i === void 0 && (i = setTimeout(b, r)), c;
53
+ }
54
+ return T.cancel = Q, T.flush = V, T;
56
55
  }
57
- };
56
+ function U(e, r, n) {
57
+ var f = !0, a = !0;
58
+ if (typeof e != "function")
59
+ throw new TypeError(x);
60
+ return m(n) && (f = "leading" in n ? !!n.leading : f, a = "trailing" in n ? !!n.trailing : a), H(e, r, {
61
+ leading: f,
62
+ maxWait: r,
63
+ trailing: a
64
+ });
65
+ }
66
+ function m(e) {
67
+ var r = typeof e;
68
+ return !!e && (r == "object" || r == "function");
69
+ }
70
+ function X(e) {
71
+ return !!e && typeof e == "object";
72
+ }
73
+ function z(e) {
74
+ return typeof e == "symbol" || X(e) && G.call(e) == W;
75
+ }
76
+ function O(e) {
77
+ if (typeof e == "number")
78
+ return e;
79
+ if (z(e))
80
+ return I;
81
+ if (m(e)) {
82
+ var r = typeof e.valueOf == "function" ? e.valueOf() : e;
83
+ e = m(r) ? r + "" : r;
84
+ }
85
+ if (typeof e != "string")
86
+ return e === 0 ? e : +e;
87
+ e = e.replace(C, "");
88
+ var n = N.test(e);
89
+ return n || R.test(e) ? $(e.slice(2), n ? 2 : 8) : M.test(e) ? I : +e;
90
+ }
91
+ return p = U, p;
92
+ }
58
93
  export {
59
- e as default
94
+ Z as __require
60
95
  };
package/dist/index343.js CHANGED
@@ -1,60 +1,35 @@
1
- const e = {
2
- common: {
3
- closeLabel: "Close",
4
- loadingText: "Loading...",
5
- noDataText: "No data to display",
6
- clearLabel: "Reset selected value"
7
- },
8
- colorInput: {
9
- paletteLabel: "Select a color from the palette",
10
- mainCanvasDesc: "Use the arrows to select a color",
11
- mainCanvasSelectedColor: "Selected color: {0}",
12
- hueCanvasDesc: "Use the arrows to select a hue",
13
- hueCanvasSelectedHue: "Selected hue: {0}"
14
- },
15
- datePicker: {
16
- monthLabel: "Select a month",
17
- yearLabel: "Select a year",
18
- previousMonthLabel: "Go to previous month",
19
- nextMonthLabel: "Go to next month"
20
- },
21
- baseDatePickerInput: {
22
- dateFormat: "Date format",
23
- dateFormatSingle: "DD/MM/YYYY",
24
- dateFormatRange: "DD/MM/YYYY - DD/MM/YYYY",
25
- emptyRange: "Select a range",
26
- changeSelectionRange: "Change selection, from {0} to {1}",
27
- changeSelection: "Change selection, {0}",
28
- emptySelection: "Select a date"
29
- },
30
- dialog: {
31
- closeLabel: "Close dialog"
32
- },
33
- dropdownButton: {
34
- open: "Open menu",
35
- close: "Close menu"
36
- },
37
- rating: {
38
- singleStar: "{0} out of {1}",
39
- multipleStars: "{0} out of {1}"
40
- },
41
- select: {
42
- multipleMaxReached: "{0} items selected"
43
- },
44
- chip: {
45
- clearLabel: "Remove"
46
- },
47
- pagination: {
48
- previous: "Previous",
49
- next: "Next"
50
- },
51
- table: {
52
- noDataText: "No data to display",
53
- selectAllLabel: "Select all items on this page",
54
- selectText: "Select an item",
55
- select: "Select"
56
- }
1
+ import { createElementBlock as e, openBlock as t, createElementVNode as o } from "vue";
2
+ /* empty css */
3
+ import n from "./index286.js";
4
+ const l = {}, s = {
5
+ class: "bb-error-icon",
6
+ fill: "none",
7
+ viewBox: "0 0 20 20",
8
+ xmlns: "http://www.w3.org/2000/svg"
57
9
  };
10
+ function i(c, r) {
11
+ return t(), e("svg", s, r[0] || (r[0] = [
12
+ o("path", {
13
+ 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",
14
+ fill: "currentColor"
15
+ }, null, -1),
16
+ o("path", {
17
+ d: "M9.99414 6.66666V9.99999",
18
+ stroke: "white",
19
+ "stroke-linecap": "round",
20
+ "stroke-linejoin": "round",
21
+ "stroke-width": "2"
22
+ }, null, -1),
23
+ o("path", {
24
+ d: "M9.99414 13.3333H10.0025",
25
+ stroke: "white",
26
+ "stroke-linecap": "round",
27
+ "stroke-linejoin": "round",
28
+ "stroke-width": "2"
29
+ }, null, -1)
30
+ ]));
31
+ }
32
+ const a = /* @__PURE__ */ n(l, [["render", i]]);
58
33
  export {
59
- e as default
34
+ a as default
60
35
  };
package/dist/index344.js CHANGED
@@ -1,10 +1,30 @@
1
- function i(t) {
2
- if (t = t.replace(/^#/, ""), !/^([A-Fa-f0-9]{3}|[A-Fa-f0-9]{6})$/.test(t))
3
- throw new Error("Invalid hex code");
4
- t.length === 3 && (t = t.split("").map((n) => n + n).join(""));
5
- const r = parseInt(t.slice(0, 2), 16), s = parseInt(t.slice(2, 4), 16), o = parseInt(t.slice(4, 6), 16);
6
- return [r, s, o];
7
- }
1
+ import { defineComponent as l, createElementBlock as n, openBlock as r, unref as a, createElementVNode as t } from "vue";
2
+ import { useLocale as s } from "./index216.js";
3
+ const c = ["aria-label"], b = /* @__PURE__ */ l({
4
+ __name: "ClearableButton",
5
+ setup(u) {
6
+ const { t: o } = s();
7
+ return (i, e) => (r(), n("button", {
8
+ "aria-label": a(o)("common.clearLabel").value,
9
+ class: "bb-clearable-button",
10
+ type: "button"
11
+ }, e[0] || (e[0] = [
12
+ t("svg", {
13
+ viewBox: "0 0 24 24",
14
+ xmlns: "http://www.w3.org/2000/svg"
15
+ }, [
16
+ t("path", {
17
+ d: "M12 12l7 7M12 12l-7 -7M12 12l-7 7M12 12l7 -7",
18
+ fill: "none",
19
+ stroke: "currentColor",
20
+ "stroke-linecap": "round",
21
+ "stroke-linejoin": "round",
22
+ "stroke-width": "2"
23
+ })
24
+ ], -1)
25
+ ]), 8, c));
26
+ }
27
+ });
8
28
  export {
9
- i as hexToRgb
29
+ b as default
10
30
  };
package/dist/index346.js CHANGED
@@ -1,10 +1,49 @@
1
- const i = (r, s, a) => {
2
- const t = a / 100, c = s * Math.min(t, 1 - t) / 100, n = (h) => {
3
- const o = (h + r / 30) % 12, e = t - c * Math.max(Math.min(o - 3, 9 - o, 1), -1);
4
- return Math.round(255 * e).toString(16).padStart(2, "0");
5
- };
6
- return `#${n(0)}${n(8)}${n(4)}`;
7
- };
1
+ import { elementScroll as f, observeElementOffset as s, observeElementRect as d, Virtualizer as p } from "./index353.js";
2
+ import { defaultKeyExtractor as S, defaultRangeExtractor as V, measureElement as b } from "./index353.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: d,
34
+ observeElementOffset: s,
35
+ scrollToFn: f,
36
+ ...l(e)
37
+ }))
38
+ );
39
+ }
8
40
  export {
9
- i as hslToHex
41
+ p as Virtualizer,
42
+ S as defaultKeyExtractor,
43
+ V as defaultRangeExtractor,
44
+ f as elementScroll,
45
+ b as measureElement,
46
+ s as observeElementOffset,
47
+ d as observeElementRect,
48
+ z as useVirtualizer
10
49
  };
package/dist/index347.js CHANGED
@@ -1,35 +1,9 @@
1
- import { createElementBlock as e, openBlock as t, createElementVNode as o } from "vue";
2
- /* empty css */
3
- import n from "./index287.js";
4
- const l = {}, s = {
5
- class: "bb-error-icon",
6
- fill: "none",
7
- viewBox: "0 0 20 20",
8
- xmlns: "http://www.w3.org/2000/svg"
9
- };
10
- function i(c, r) {
11
- return t(), e("svg", s, r[0] || (r[0] = [
12
- o("path", {
13
- 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",
14
- fill: "currentColor"
15
- }, null, -1),
16
- o("path", {
17
- d: "M9.99414 6.66666V9.99999",
18
- stroke: "white",
19
- "stroke-linecap": "round",
20
- "stroke-linejoin": "round",
21
- "stroke-width": "2"
22
- }, null, -1),
23
- o("path", {
24
- d: "M9.99414 13.3333H10.0025",
25
- stroke: "white",
26
- "stroke-linecap": "round",
27
- "stroke-linejoin": "round",
28
- "stroke-width": "2"
29
- }, null, -1)
30
- ]));
1
+ function c(n, e) {
2
+ const u = [];
3
+ for (let t = 0; t < n.length; t += e)
4
+ u.push(n.slice(t, t + e));
5
+ return u;
31
6
  }
32
- const a = /* @__PURE__ */ n(l, [["render", i]]);
33
7
  export {
34
- a as default
8
+ c as chunk
35
9
  };
package/dist/index348.js CHANGED
@@ -1,30 +1,21 @@
1
- import { defineComponent as l, createElementBlock as n, openBlock as r, unref as a, createElementVNode as t } from "vue";
2
- import { useLocale as s } from "./index220.js";
3
- const c = ["aria-label"], b = /* @__PURE__ */ l({
4
- __name: "ClearableButton",
5
- setup(u) {
6
- const { t: o } = s();
7
- return (i, e) => (r(), n("button", {
8
- "aria-label": a(o)("common.clearLabel").value,
9
- class: "bb-clearable-button",
10
- type: "button"
11
- }, e[0] || (e[0] = [
12
- t("svg", {
13
- viewBox: "0 0 24 24",
14
- xmlns: "http://www.w3.org/2000/svg"
15
- }, [
16
- t("path", {
17
- d: "M12 12l7 7M12 12l-7 -7M12 12l-7 7M12 12l7 -7",
18
- fill: "none",
19
- stroke: "currentColor",
20
- "stroke-linecap": "round",
21
- "stroke-linejoin": "round",
22
- "stroke-width": "2"
23
- })
24
- ], -1)
25
- ]), 8, c));
1
+ function l(t, ...e) {
2
+ if (t.length) {
3
+ const o = t[0];
4
+ if (typeof o == "string") return [...t].sort(r);
5
+ if (typeof o == "number") return [...t].sort(r);
6
+ if (e && e.length)
7
+ return [...t].sort((f, u) => {
8
+ for (let n = 0; n < e.length; n++) {
9
+ const i = e[n], s = r(f[i], u[i]);
10
+ if (s) return s;
11
+ }
12
+ return 0;
13
+ });
14
+ throw new Error("Invalid comparison");
26
15
  }
27
- });
16
+ return t;
17
+ }
18
+ const r = (t, e) => t < e ? -1 : t > e ? 1 : 0;
28
19
  export {
29
- b as default
20
+ l as sort
30
21
  };
@@ -0,0 +1,60 @@
1
+ const e = {
2
+ common: {
3
+ closeLabel: "Chiudi",
4
+ loadingText: "Caricamento...",
5
+ noDataText: "Nessun elemento da visualizzare",
6
+ clearLabel: "Reset valore selezionato"
7
+ },
8
+ colorInput: {
9
+ paletteLabel: "Seleziona un colore dalla tavolozza",
10
+ mainCanvasDesc: "Usa le frecce per selezionare un colore",
11
+ mainCanvasSelectedColor: "Colore selezionato: {0}",
12
+ hueCanvasDesc: "Usa le frecce per selezionare una tonalità",
13
+ hueCanvasSelectedHue: "Tonalità selezionata: {0}"
14
+ },
15
+ datePicker: {
16
+ monthLabel: "Seleziona un mese",
17
+ yearLabel: "Seleziona un anno",
18
+ previousMonthLabel: "Vai indietro di un mese",
19
+ nextMonthLabel: "Vai avanti di un mese"
20
+ },
21
+ baseDatePickerInput: {
22
+ dateFormat: "Formato della data",
23
+ dateFormatSingle: "GG/MM/AAAA",
24
+ dateFormatRange: "GG/MM/AAAA - GG/MM/AAAA",
25
+ emptyRange: "Seleziona un range",
26
+ changeSelectionRange: "Cambia selezione, da {0} a {1}",
27
+ changeSelection: "Cambia selezione, {0}",
28
+ emptySelection: "Seleziona una data"
29
+ },
30
+ dialog: {
31
+ closeLabel: "Chiudi modale"
32
+ },
33
+ dropdownButton: {
34
+ open: "Apri menu",
35
+ close: "Chiudi menu"
36
+ },
37
+ rating: {
38
+ singleStar: "{0} su {1}",
39
+ multipleStars: "{0} su {1}"
40
+ },
41
+ select: {
42
+ multipleMaxReached: "{0} elementi selezionati"
43
+ },
44
+ chip: {
45
+ clearLabel: "Elimina"
46
+ },
47
+ pagination: {
48
+ previous: "Precedente",
49
+ next: "Successivo"
50
+ },
51
+ table: {
52
+ noDataText: "Non ci sono elementi da visualizzare",
53
+ selectAllLabel: "Seleziona tutti gli elementi di questa pagina",
54
+ selectText: "Seleziona un elemento",
55
+ select: "Seleziona"
56
+ }
57
+ };
58
+ export {
59
+ e as default
60
+ };
package/dist/index35.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as I, ref as v, computed as f, createElementBlock as l, openBlock as r, mergeProps as h, createElementVNode as i, renderSlot as p, Fragment as V, renderList as M, normalizeClass as D, toDisplayString as F, unref as y } from "vue";
2
- import { booleanishToBoolean as T } from "./index215.js";
3
- import { identity as $ } from "./index248.js";
4
- import { isCssColor as k } from "./index213.js";
2
+ import { booleanishToBoolean as T } from "./index234.js";
3
+ import { identity as $ } from "./index223.js";
4
+ import { isCssColor as k } from "./index235.js";
5
5
  import { isNotNil as q } from "./index140.js";
6
- import { useLocale as x } from "./index220.js";
6
+ import { useLocale as x } from "./index216.js";
7
7
  const H = { class: "bb-base-rating__inner-container" }, S = { class: "bb-base-rating__label-text sr-only" }, N = ["id", "aria-describedby", "autofocus", "checked", "disabled", "name", "required", "value"], j = ["height", "width"], W = /* @__PURE__ */ I({
8
8
  __name: "BaseRating",
9
9
  props: {