bitboss-ui 2.0.81 → 2.0.84

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 (130) hide show
  1. package/dist/index110.js +4 -4
  2. package/dist/index118.js +2 -2
  3. package/dist/index120.js +3 -3
  4. package/dist/index126.js +22 -21
  5. package/dist/index127.js +1 -1
  6. package/dist/index128.js +1 -1
  7. package/dist/index13.js +1 -1
  8. package/dist/index133.js +2 -2
  9. package/dist/index15.js +4 -4
  10. package/dist/index17.js +3 -3
  11. package/dist/index19.js +2 -2
  12. package/dist/index206.js +8 -5
  13. package/dist/index207.js +52 -15
  14. package/dist/index209.js +13 -19
  15. package/dist/index21.js +14 -14
  16. package/dist/index210.js +2 -19
  17. package/dist/index211.js +4 -27
  18. package/dist/index212.js +2 -3
  19. package/dist/index213.js +5 -2
  20. package/dist/index214.js +16 -8
  21. package/dist/index215.js +14 -247
  22. package/dist/index216.js +19 -52
  23. package/dist/index217.js +19 -44
  24. package/dist/index218.js +27 -5
  25. package/dist/index219.js +3 -60
  26. package/dist/index220.js +2 -2
  27. package/dist/index221.js +249 -4
  28. package/dist/index222.js +52 -2
  29. package/dist/index223.js +43 -163
  30. package/dist/index224.js +5 -84
  31. package/dist/index225.js +62 -0
  32. package/dist/index226.js +3 -126
  33. package/dist/index227.js +40 -124
  34. package/dist/index228.js +6 -2
  35. package/dist/index229.js +7 -41
  36. package/dist/index23.js +15 -15
  37. package/dist/index230.js +11 -19
  38. package/dist/index231.js +20 -6
  39. package/dist/index232.js +4 -53
  40. package/dist/index233.js +128 -0
  41. package/dist/index234.js +125 -13
  42. package/dist/index235.js +2 -5
  43. package/dist/index236.js +5 -12
  44. package/dist/index237.js +3 -3
  45. package/dist/index238.js +1 -1
  46. package/dist/index239.js +164 -3
  47. package/dist/index240.js +84 -7
  48. package/dist/index242.js +2 -2
  49. package/dist/index243.js +105 -17
  50. package/dist/{index246.js → index245.js} +1 -1
  51. package/dist/index247.js +4 -0
  52. package/dist/index248.js +18 -2
  53. package/dist/index25.js +6 -6
  54. package/dist/index253.js +3 -3
  55. package/dist/index255.js +3 -3
  56. package/dist/index258.js +3 -281
  57. package/dist/index260.js +7 -2
  58. package/dist/index261.js +4 -2
  59. package/dist/index262.js +281 -2
  60. package/dist/index263.js +6 -2
  61. package/dist/index264.js +2 -2
  62. package/dist/index266.js +2 -2
  63. package/dist/index267.js +2 -2
  64. package/dist/index268.js +2 -2
  65. package/dist/index269.js +2 -2
  66. package/dist/index270.js +2 -28
  67. package/dist/index271.js +1 -21
  68. package/dist/index272.js +4 -0
  69. package/dist/index273.js +2 -7
  70. package/dist/index274.js +28 -4
  71. package/dist/index275.js +22 -3
  72. package/dist/index277.js +429 -7
  73. package/dist/index278.js +2 -9
  74. package/dist/index279.js +87 -15
  75. package/dist/index280.js +175 -3
  76. package/dist/index281.js +200 -224
  77. package/dist/index282.js +2 -3
  78. package/dist/index283.js +128 -0
  79. package/dist/index284.js +22 -176
  80. package/dist/index286.js +218 -120
  81. package/dist/index287.js +3 -431
  82. package/dist/index288.js +12 -22
  83. package/dist/index289.js +11 -0
  84. package/dist/index29.js +2 -2
  85. package/dist/index290.js +9 -2
  86. package/dist/index291.js +15 -434
  87. package/dist/index292.js +3 -126
  88. package/dist/index293.js +427 -191
  89. package/dist/index294.js +127 -3
  90. package/dist/index295.js +1 -1
  91. package/dist/index296.js +3 -211
  92. package/dist/index297.js +210 -88
  93. package/dist/index298.js +2 -3
  94. package/dist/index299.js +66 -2
  95. package/dist/index301.js +4 -66
  96. package/dist/index302.js +4 -4
  97. package/dist/index303.js +59 -4
  98. package/dist/index304.js +3 -59
  99. package/dist/index305.js +32 -4
  100. package/dist/index306.js +6 -7
  101. package/dist/index307.js +4 -6
  102. package/dist/index308.js +7 -6
  103. package/dist/index309.js +6 -18
  104. package/dist/index31.js +2 -2
  105. package/dist/index310.js +18 -32
  106. package/dist/index312.js +10 -46
  107. package/dist/index313.js +46 -10
  108. package/dist/index314.js +2 -480
  109. package/dist/index315.js +480 -2
  110. package/dist/index33.js +2 -2
  111. package/dist/index35.js +3 -3
  112. package/dist/index37.js +13 -13
  113. package/dist/index39.js +3 -3
  114. package/dist/index41.js +2 -2
  115. package/dist/index43.js +2 -2
  116. package/dist/index45.js +6 -6
  117. package/dist/index47.js +2 -2
  118. package/dist/index49.js +2 -2
  119. package/dist/index55.js +1 -1
  120. package/dist/index57.js +1 -1
  121. package/dist/index81.js +1 -1
  122. package/dist/index84.js +3 -3
  123. package/dist/index88.js +2 -2
  124. package/package.json +1 -1
  125. package/dist/index208.js +0 -18
  126. package/dist/index241.js +0 -6
  127. package/dist/index244.js +0 -108
  128. package/dist/index259.js +0 -8
  129. package/dist/index276.js +0 -14
  130. package/dist/index285.js +0 -4
package/dist/index88.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as M, ref as n, computed as v, openBlock as k, createElementBlock as O, mergeProps as F, createElementVNode as p, renderSlot as y, normalizeProps as S, guardReactiveProps as H, createVNode as V, withCtx as C, createBlock as q, createCommentVNode as I, nextTick as W } from "vue";
2
- import { useFocusTrap as z } from "./index229.js";
2
+ import { useFocusTrap as z } from "./index227.js";
3
3
  import { useId as A } from "./index8.js";
4
4
  import { useIntersectionObserver as R } from "./index132.js";
5
- import { waitFor as j } from "./index231.js";
5
+ import { waitFor as j } from "./index228.js";
6
6
  import G from "./index13.js";
7
7
  /* empty css */
8
8
  import J from "./index253.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.0.81",
3
+ "version": "2.0.84",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
package/dist/index208.js DELETED
@@ -1,18 +0,0 @@
1
- import { getDefaultExportFromCjs as i, commonjsGlobal as n } from "./index259.js";
2
- import { __module as t } from "./index262.js";
3
- (function(s, a) {
4
- (function(f, o) {
5
- s.exports = o();
6
- })(n, function() {
7
- return function(f, o) {
8
- o.prototype.isSameOrBefore = function(e, r) {
9
- return this.isSame(e, r) || this.isBefore(e, r);
10
- };
11
- };
12
- });
13
- })(t);
14
- var m = t.exports;
15
- const c = /* @__PURE__ */ i(m);
16
- export {
17
- c as default
18
- };
package/dist/index241.js DELETED
@@ -1,6 +0,0 @@
1
- function x(e) {
2
- return /^#([A-Fa-f0-9]{6})$/.test(e);
3
- }
4
- export {
5
- x as isHex
6
- };
package/dist/index244.js DELETED
@@ -1,108 +0,0 @@
1
- import { defineComponent as y, ref as F, computed as H, watch as N, openBlock as p, createElementBlock as L, Fragment as S, renderList as V, createBlock as A, normalizeClass as O, withModifiers as P, withCtx as $, createTextVNode as z, toDisplayString as D } from "vue";
2
- import { hash as d } from "./index212.js";
3
- import { isNil as l } from "./index129.js";
4
- import E from "./index124.js";
5
- /* empty css */
6
- const K = /* @__PURE__ */ y({
7
- __name: "ChipsBox",
8
- props: {
9
- options: {}
10
- },
11
- emits: ["option:unselected"],
12
- setup(f, { expose: v, emit: h }) {
13
- const t = f, u = h, n = F(null), i = H(() => t.options.some((e) => !e.disabled)), a = (e = 1) => {
14
- const s = l(n.value) ? -1 : n.value;
15
- let o = (s + e) % t.options.length;
16
- for (; t.options[o].disabled && o !== s; )
17
- o = a(e + 1);
18
- return o;
19
- }, x = () => {
20
- if (!i.value) return;
21
- const e = a();
22
- n.value = e;
23
- }, c = (e = 1) => {
24
- const s = l(n.value) ? 0 : n.value;
25
- let o = (s - e + t.options.length) % t.options.length;
26
- for (; t.options[o].disabled && o !== s; )
27
- o = c(e + 1);
28
- return o;
29
- }, m = async () => {
30
- if (!i.value) return;
31
- const e = c();
32
- n.value = e;
33
- }, w = () => {
34
- if (!i.value) return;
35
- let e = 0;
36
- for (; t.options[e].disabled; )
37
- e++;
38
- n.value = e;
39
- }, b = () => {
40
- if (!i.value) return;
41
- let e = t.options.length - 1;
42
- for (; t.options[e].disabled && e !== 0; )
43
- e--;
44
- n.value = e;
45
- }, I = () => {
46
- if (!i.value) return;
47
- let e = 0;
48
- for (; !t.options[e].selected && t.options.length !== e; )
49
- e++;
50
- n.value = e;
51
- }, g = () => {
52
- if (!i.value) return;
53
- let e = t.options.length - 1;
54
- for (; t.options[e].selected && e !== 0; )
55
- e--;
56
- n.value = e;
57
- }, _ = (e) => {
58
- if (!i.value) return;
59
- const s = t.options.findIndex(
60
- (o) => o.valueHash === e
61
- );
62
- s >= 0 && (n.value = s);
63
- }, r = () => {
64
- n.value = null;
65
- }, k = () => {
66
- if (l(n.value)) return;
67
- const e = t.options[n.value];
68
- e.selected && u("option:unselected", e);
69
- }, C = () => l(n.value) ? void 0 : t.options[n.value];
70
- return N(
71
- () => t.options,
72
- (e, s) => {
73
- d(e) !== d(s) && r();
74
- },
75
- {
76
- flush: "post"
77
- }
78
- ), v({
79
- focusNext: x,
80
- focusPrevious: m,
81
- focusFirst: w,
82
- focusFirstSelected: I,
83
- focusLast: b,
84
- focusLastSelected: g,
85
- blur: r,
86
- confirmOption: k,
87
- focusByHash: _,
88
- getHighlighted: C
89
- }), (e, s) => (p(!0), L(S, null, V(e.options, (o, B) => (p(), A(E, {
90
- key: o.valueHash,
91
- class: O({
92
- "bb-chipsbox-item": !0,
93
- "bb-chipsbox-item--focused": B === n.value
94
- }),
95
- clearable: !0,
96
- text: o.text,
97
- "onClick:clear": P((M) => u("option:unselected", o), ["stop"])
98
- }, {
99
- default: $(() => [
100
- z(D(o.text), 1)
101
- ]),
102
- _: 2
103
- }, 1032, ["class", "text", "onClick:clear"]))), 128));
104
- }
105
- });
106
- export {
107
- K as default
108
- };
package/dist/index259.js DELETED
@@ -1,8 +0,0 @@
1
- var o = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
- function l(e) {
3
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
- }
5
- export {
6
- o as commonjsGlobal,
7
- l as getDefaultExportFromCjs
8
- };
package/dist/index276.js DELETED
@@ -1,14 +0,0 @@
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
- } };
11
- };
12
- export {
13
- n as useArray
14
- };
package/dist/index285.js DELETED
@@ -1,4 +0,0 @@
1
- var o = { exports: {} };
2
- export {
3
- o as __module
4
- };