bitboss-ui 2.1.83 → 2.1.85

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 (190) hide show
  1. package/dist/components/BbTable/utils.d.ts +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index107.js +9 -9
  4. package/dist/index112.js +1 -1
  5. package/dist/index114.js +1 -1
  6. package/dist/index120.js +1 -1
  7. package/dist/index122.js +61 -61
  8. package/dist/index13.js +2 -2
  9. package/dist/index130.js +1 -1
  10. package/dist/index132.js +5 -5
  11. package/dist/index134.js +1 -1
  12. package/dist/index136.js +2 -2
  13. package/dist/index139.js +1 -1
  14. package/dist/index141.js +2 -2
  15. package/dist/index142.js +1 -1
  16. package/dist/index143.js +2 -2
  17. package/dist/index15.js +5 -5
  18. package/dist/index17.js +3 -3
  19. package/dist/index19.js +8 -8
  20. package/dist/index21.js +14 -14
  21. package/dist/index214.js +138 -2
  22. package/dist/index215.js +2 -138
  23. package/dist/index216.js +2 -2
  24. package/dist/index217.js +32 -4
  25. package/dist/index218.js +28 -8
  26. package/dist/index220.js +5 -13
  27. package/dist/index221.js +5 -13
  28. package/dist/index222.js +5 -4
  29. package/dist/index223.js +5 -20
  30. package/dist/index224.js +3 -201
  31. package/dist/index225.js +4 -0
  32. package/dist/index226.js +6 -135
  33. package/dist/index227.js +10 -0
  34. package/dist/index228.js +268 -3
  35. package/dist/index229.js +52 -6
  36. package/dist/index23.js +11 -11
  37. package/dist/index230.js +51 -15
  38. package/dist/index231.js +32 -2
  39. package/dist/index232.js +60 -11
  40. package/dist/index233.js +12 -7
  41. package/dist/index234.js +5 -9
  42. package/dist/index235.js +8 -9
  43. package/dist/index236.js +5 -23
  44. package/dist/index237.js +3 -3
  45. package/dist/index238.js +18 -21
  46. package/dist/index239.js +198 -185
  47. package/dist/index241.js +135 -4
  48. package/dist/index243.js +86 -5
  49. package/dist/index245.js +29 -5
  50. package/dist/index246.js +16 -5
  51. package/dist/index247.js +17 -5
  52. package/dist/index248.js +51 -5
  53. package/dist/index249.js +15 -2
  54. package/dist/index25.js +3 -3
  55. package/dist/index250.js +12 -3
  56. package/dist/index251.js +2 -34
  57. package/dist/index252.js +2 -5
  58. package/dist/index253.js +2 -3
  59. package/dist/index254.js +7 -9
  60. package/dist/index255.js +7 -10
  61. package/dist/index256.js +4 -3
  62. package/dist/index257.js +9 -3
  63. package/dist/index258.js +52 -32
  64. package/dist/index259.js +188 -28
  65. package/dist/{index240.js → index260.js} +1 -1
  66. package/dist/index261.js +3 -7
  67. package/dist/index262.js +34 -2
  68. package/dist/index263.js +9 -3
  69. package/dist/index264.js +3 -9
  70. package/dist/index265.js +8 -28
  71. package/dist/index266.js +12 -15
  72. package/dist/index267.js +23 -17
  73. package/dist/index268.js +4 -51
  74. package/dist/index269.js +22 -11
  75. package/dist/index27.js +1 -1
  76. package/dist/index270.js +11 -39
  77. package/dist/index271.js +10 -5
  78. package/dist/index272.js +3 -2
  79. package/dist/index273.js +3 -6
  80. package/dist/index274.js +7 -268
  81. package/dist/index275.js +3 -52
  82. package/dist/index276.js +17 -51
  83. package/dist/index277.js +12 -32
  84. package/dist/index278.js +100 -54
  85. package/dist/index280.js +102 -0
  86. package/dist/index282.js +228 -7
  87. package/dist/index283.js +6 -2
  88. package/dist/index284.js +16 -7
  89. package/dist/index285.js +8 -6
  90. package/dist/index286.js +11 -2
  91. package/dist/index287.js +5 -18
  92. package/dist/index288.js +5 -12
  93. package/dist/index289.js +5 -106
  94. package/dist/index29.js +3 -3
  95. package/dist/index290.js +4 -0
  96. package/dist/index291.js +2 -100
  97. package/dist/{index242.js → index292.js} +1 -1
  98. package/dist/index293.js +7 -228
  99. package/dist/index295.js +5 -0
  100. package/dist/index296.js +280 -3
  101. package/dist/index297.js +2 -2
  102. package/dist/index298.js +16 -4
  103. package/dist/index299.js +2 -3
  104. package/dist/index300.js +15 -3
  105. package/dist/index301.js +2 -2
  106. package/dist/index302.js +27 -3
  107. package/dist/index303.js +2 -719
  108. package/dist/index304.js +2 -366
  109. package/dist/index305.js +2 -57
  110. package/dist/index306.js +2 -5
  111. package/dist/index307.js +2 -280
  112. package/dist/index308.js +28 -2
  113. package/dist/index309.js +2 -125
  114. package/dist/index31.js +2 -2
  115. package/dist/index310.js +7 -2
  116. package/dist/index311.js +2 -15
  117. package/dist/index312.js +3 -2
  118. package/dist/index313.js +3 -16
  119. package/dist/index314.js +3 -2
  120. package/dist/index315.js +17 -16
  121. package/dist/index316.js +5 -2
  122. package/dist/index317.js +5 -19
  123. package/dist/index318.js +4 -2
  124. package/dist/index319.js +6 -5
  125. package/dist/index320.js +4 -3
  126. package/dist/index321.js +3 -17
  127. package/dist/index322.js +3 -28
  128. package/dist/index323.js +2 -27
  129. package/dist/index324.js +719 -2
  130. package/dist/index325.js +366 -2
  131. package/dist/index326.js +57 -2
  132. package/dist/index327.js +5 -2
  133. package/dist/index328.js +7 -2
  134. package/dist/index329.js +7 -2
  135. package/dist/index33.js +8 -8
  136. package/dist/index330.js +18 -57
  137. package/dist/index331.js +9 -58
  138. package/dist/index332.js +15 -3
  139. package/dist/index333.js +93 -3
  140. package/dist/index334.js +1 -1
  141. package/dist/index335.js +226 -33
  142. package/dist/index336.js +125 -6
  143. package/dist/index337.js +2 -129
  144. package/dist/index338.js +14 -397
  145. package/dist/index339.js +2 -6
  146. package/dist/index340.js +18 -7
  147. package/dist/index341.js +2 -6
  148. package/dist/index342.js +34 -7
  149. package/dist/index343.js +6 -228
  150. package/dist/index344.js +121 -85
  151. package/dist/index345.js +378 -114
  152. package/dist/index346.js +8 -5
  153. package/dist/index347.js +5 -6
  154. package/dist/index348.js +8 -19
  155. package/dist/index349.js +58 -9
  156. package/dist/index35.js +4 -4
  157. package/dist/index350.js +57 -14
  158. package/dist/index351.js +22 -7
  159. package/dist/index353.js +136 -0
  160. package/dist/index354.js +2 -2
  161. package/dist/index355.js +503 -424
  162. package/dist/index356.js +427 -114
  163. package/dist/index357.js +124 -516
  164. package/dist/index37.js +18 -18
  165. package/dist/index39.js +7 -7
  166. package/dist/index41.js +2 -2
  167. package/dist/index43.js +8 -8
  168. package/dist/index45.js +6 -6
  169. package/dist/index49.js +2 -2
  170. package/dist/index53.js +1 -1
  171. package/dist/index55.js +1 -1
  172. package/dist/index57.js +2 -2
  173. package/dist/index61.js +5 -5
  174. package/dist/index67.js +1 -1
  175. package/dist/index80.js +6 -6
  176. package/dist/index82.js +1 -1
  177. package/dist/index84.js +2 -2
  178. package/dist/index86.js +3 -3
  179. package/dist/index88.js +1 -1
  180. package/dist/index91.js +3 -3
  181. package/dist/index93.js +2 -2
  182. package/dist/index95.js +5 -5
  183. package/dist/index97.js +1 -1
  184. package/package.json +1 -1
  185. package/dist/index219.js +0 -15
  186. package/dist/index244.js +0 -7
  187. package/dist/index279.js +0 -88
  188. package/dist/index281.js +0 -17
  189. package/dist/index294.js +0 -9
  190. package/dist/index352.js +0 -24
package/dist/index350.js CHANGED
@@ -1,17 +1,60 @@
1
- import f from "./index243.js";
2
- import { toOuterValue as i } from "./index349.js";
3
- function Y(m, e) {
4
- let r = !0;
5
- if (e.min) {
6
- const a = f(e.min, "YYYY-MM-DD");
7
- r &&= m.isSameOrAfter(a);
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"
8
56
  }
9
- if (e.max) {
10
- const a = f(e.max, "YYYY-MM-DD");
11
- r &&= m.isSameOrBefore(a);
12
- }
13
- return typeof e.selectable == "function" && (r &&= e.selectable(i(m, e.floating))), !r;
14
- }
57
+ };
15
58
  export {
16
- Y as isDateDisabled
59
+ e as default
17
60
  };
package/dist/index351.js CHANGED
@@ -1,9 +1,24 @@
1
- function l(n, c, r = 1) {
2
- const o = Math.max(Math.ceil((c - n) / r), 0), t = new Array(o);
3
- for (let e = 0; e < o; e++, n += r)
4
- t[e] = n;
5
- return t;
6
- }
1
+ import { defineComponent as a, computed as i, createBlock as r, openBlock as d, Transition as l, normalizeStyle as s, withCtx as u, renderSlot as p } from "vue";
2
+ const f = /* @__PURE__ */ a({
3
+ __name: "Slide",
4
+ props: {
5
+ direction: { default: "right" },
6
+ duration: { default: 500 },
7
+ gap: { default: 0 }
8
+ },
9
+ setup(t) {
10
+ const n = t, o = i(() => `bb-slide-in-${n.direction}`);
11
+ return (e, m) => (d(), r(l, {
12
+ name: o.value,
13
+ style: s({ "--transition-duration": `${e.duration}ms`, "--gap": `${e.gap}px` })
14
+ }, {
15
+ default: u(() => [
16
+ p(e.$slots, "default", {}, void 0, !0)
17
+ ]),
18
+ _: 3
19
+ }, 8, ["name", "style"]));
20
+ }
21
+ });
7
22
  export {
8
- l as range
23
+ f as default
9
24
  };
@@ -0,0 +1,136 @@
1
+ function c() {
2
+ return typeof window < "u";
3
+ }
4
+ function u(t) {
5
+ return p(t) ? (t.nodeName || "").toLowerCase() : "#document";
6
+ }
7
+ function i(t) {
8
+ var e;
9
+ return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
10
+ }
11
+ function N(t) {
12
+ var e;
13
+ return (e = (p(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
14
+ }
15
+ function p(t) {
16
+ return c() ? t instanceof Node || t instanceof i(t).Node : !1;
17
+ }
18
+ function m(t) {
19
+ return c() ? t instanceof Element || t instanceof i(t).Element : !1;
20
+ }
21
+ function w(t) {
22
+ return c() ? t instanceof HTMLElement || t instanceof i(t).HTMLElement : !1;
23
+ }
24
+ function f(t) {
25
+ return !c() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof i(t).ShadowRoot;
26
+ }
27
+ const E = /* @__PURE__ */ new Set(["inline", "contents"]);
28
+ function y(t) {
29
+ const {
30
+ overflow: e,
31
+ overflowX: n,
32
+ overflowY: o,
33
+ display: r
34
+ } = S(t);
35
+ return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !E.has(r);
36
+ }
37
+ const T = /* @__PURE__ */ new Set(["table", "td", "th"]);
38
+ function A(t) {
39
+ return T.has(u(t));
40
+ }
41
+ const v = [":popover-open", ":modal"];
42
+ function L(t) {
43
+ return v.some((e) => {
44
+ try {
45
+ return t.matches(e);
46
+ } catch {
47
+ return !1;
48
+ }
49
+ });
50
+ }
51
+ const D = ["transform", "translate", "scale", "rotate", "perspective"], C = ["transform", "translate", "scale", "rotate", "perspective", "filter"], k = ["paint", "layout", "strict", "content"];
52
+ function V(t) {
53
+ const e = O(), n = m(t) ? S(t) : t;
54
+ return D.some((o) => n[o] ? n[o] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || C.some((o) => (n.willChange || "").includes(o)) || k.some((o) => (n.contain || "").includes(o));
55
+ }
56
+ function B(t) {
57
+ let e = s(t);
58
+ for (; w(e) && !h(e); ) {
59
+ if (V(e))
60
+ return e;
61
+ if (L(e))
62
+ return null;
63
+ e = s(e);
64
+ }
65
+ return null;
66
+ }
67
+ function O() {
68
+ return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
69
+ }
70
+ const R = /* @__PURE__ */ new Set(["html", "body", "#document"]);
71
+ function h(t) {
72
+ return R.has(u(t));
73
+ }
74
+ function S(t) {
75
+ return i(t).getComputedStyle(t);
76
+ }
77
+ function F(t) {
78
+ return m(t) ? {
79
+ scrollLeft: t.scrollLeft,
80
+ scrollTop: t.scrollTop
81
+ } : {
82
+ scrollLeft: t.scrollX,
83
+ scrollTop: t.scrollY
84
+ };
85
+ }
86
+ function s(t) {
87
+ if (u(t) === "html")
88
+ return t;
89
+ const e = (
90
+ // Step into the shadow DOM of the parent of a slotted node.
91
+ t.assignedSlot || // DOM Element detected.
92
+ t.parentNode || // ShadowRoot detected.
93
+ f(t) && t.host || // Fallback.
94
+ N(t)
95
+ );
96
+ return f(e) ? e.host : e;
97
+ }
98
+ function b(t) {
99
+ const e = s(t);
100
+ return h(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : w(e) && y(e) ? e : b(e);
101
+ }
102
+ function d(t, e, n) {
103
+ var o;
104
+ e === void 0 && (e = []), n === void 0 && (n = !0);
105
+ const r = b(t), g = r === ((o = t.ownerDocument) == null ? void 0 : o.body), l = i(r);
106
+ if (g) {
107
+ const a = _(l);
108
+ return e.concat(l, l.visualViewport || [], y(r) ? r : [], a && n ? d(a) : []);
109
+ }
110
+ return e.concat(r, d(r, [], n));
111
+ }
112
+ function _(t) {
113
+ return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
114
+ }
115
+ export {
116
+ S as getComputedStyle,
117
+ B as getContainingBlock,
118
+ N as getDocumentElement,
119
+ _ as getFrameElement,
120
+ b as getNearestOverflowAncestor,
121
+ u as getNodeName,
122
+ F as getNodeScroll,
123
+ d as getOverflowAncestors,
124
+ s as getParentNode,
125
+ i as getWindow,
126
+ V as isContainingBlock,
127
+ m as isElement,
128
+ w as isHTMLElement,
129
+ h as isLastTraversableNode,
130
+ p as isNode,
131
+ y as isOverflowElement,
132
+ f as isShadowRoot,
133
+ A as isTableElement,
134
+ L as isTopLayer,
135
+ O as isWebKit
136
+ };
package/dist/index354.js CHANGED
@@ -1,5 +1,5 @@
1
- import { elementScroll as f, observeElementOffset as s, observeElementRect as d, Virtualizer as p } from "./index357.js";
2
- import { defaultKeyExtractor as S, defaultRangeExtractor as V, measureElement as b } from "./index357.js";
1
+ import { elementScroll as f, observeElementOffset as s, observeElementRect as d, Virtualizer as p } from "./index355.js";
2
+ import { defaultKeyExtractor as S, defaultRangeExtractor as V, measureElement as b } from "./index355.js";
3
3
  import { computed as g, unref as l, shallowRef as E, watch as o, triggerRef as i, onScopeDispose as v } from "vue";
4
4
  function w(e) {
5
5
  const t = new p(l(e)), a = E(t), u = t._didMount();