bitboss-ui 2.0.67 → 2.0.69

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 (156) hide show
  1. package/dist/index100.js +13 -13
  2. package/dist/index102.js +11 -11
  3. package/dist/index104.js +15 -15
  4. package/dist/index110.js +5 -5
  5. package/dist/index112.js +12 -12
  6. package/dist/index114.js +13 -13
  7. package/dist/index116.js +26 -26
  8. package/dist/index118.js +1 -1
  9. package/dist/index120.js +4 -4
  10. package/dist/index122.js +1 -1
  11. package/dist/index126.js +1 -1
  12. package/dist/index127.js +1 -1
  13. package/dist/index128.js +1 -1
  14. package/dist/index13.js +1 -1
  15. package/dist/index130.js +1 -1
  16. package/dist/index132.js +2 -2
  17. package/dist/index133.js +2 -2
  18. package/dist/index15.js +4 -4
  19. package/dist/index17.js +3 -3
  20. package/dist/index19.js +2 -2
  21. package/dist/index204.js +2 -81
  22. package/dist/index205.js +81 -2
  23. package/dist/index206.js +2 -162
  24. package/dist/index207.js +4 -84
  25. package/dist/index208.js +4 -0
  26. package/dist/index209.js +8 -3
  27. package/dist/index21.js +14 -14
  28. package/dist/index210.js +160 -39
  29. package/dist/index211.js +83 -5
  30. package/dist/index213.js +51 -6
  31. package/dist/index215.js +13 -281
  32. package/dist/index216.js +19 -15
  33. package/dist/index217.js +4 -16
  34. package/dist/index218.js +2 -19
  35. package/dist/index219.js +106 -19
  36. package/dist/index221.js +100 -3
  37. package/dist/index223.js +2 -249
  38. package/dist/index224.js +3 -52
  39. package/dist/index225.js +2 -44
  40. package/dist/index226.js +126 -5
  41. package/dist/index227.js +5 -49
  42. package/dist/index228.js +122 -123
  43. package/dist/index229.js +17 -123
  44. package/dist/index23.js +15 -15
  45. package/dist/index230.js +16 -2
  46. package/dist/index231.js +15 -19
  47. package/dist/index232.js +41 -53
  48. package/dist/index233.js +8 -0
  49. package/dist/index234.js +4 -12
  50. package/dist/index235.js +369 -5
  51. package/dist/index236.js +2 -369
  52. package/dist/index237.js +18 -4
  53. package/dist/index238.js +3 -2
  54. package/dist/index239.js +3 -4
  55. package/dist/index240.js +7 -2
  56. package/dist/index241.js +19 -2
  57. package/dist/index242.js +27 -18
  58. package/dist/index243.js +244 -101
  59. package/dist/index244.js +54 -0
  60. package/dist/index245.js +40 -96
  61. package/dist/index246.js +7 -0
  62. package/dist/index247.js +60 -2
  63. package/dist/index25.js +5 -5
  64. package/dist/index250.js +3 -3
  65. package/dist/index252.js +1 -1
  66. package/dist/index256.js +4 -3
  67. package/dist/index257.js +2 -12
  68. package/dist/index258.js +8 -8
  69. package/dist/index259.js +3 -9
  70. package/dist/index260.js +12 -17
  71. package/dist/index261.js +8 -3
  72. package/dist/index262.js +15 -429
  73. package/dist/index263.js +3 -88
  74. package/dist/index264.js +3 -224
  75. package/dist/index266.js +7 -2
  76. package/dist/index267.js +176 -2
  77. package/dist/index268.js +3 -2
  78. package/dist/index269.js +3 -2
  79. package/dist/index27.js +1 -1
  80. package/dist/index270.js +28 -2
  81. package/dist/index271.js +281 -2
  82. package/dist/index272.js +6 -2
  83. package/dist/index273.js +2 -2
  84. package/dist/index274.js +2 -2
  85. package/dist/index275.js +2 -2
  86. package/dist/index276.js +2 -28
  87. package/dist/index277.js +2 -22
  88. package/dist/index278.js +128 -0
  89. package/dist/index279.js +429 -5
  90. package/dist/index280.js +21 -199
  91. package/dist/index282.js +218 -120
  92. package/dist/index283.js +210 -175
  93. package/dist/index284.js +436 -3
  94. package/dist/index285.js +129 -0
  95. package/dist/index286.js +199 -21
  96. package/dist/index287.js +91 -0
  97. package/dist/index288.js +5 -436
  98. package/dist/index289.js +65 -126
  99. package/dist/index29.js +3 -3
  100. package/dist/index290.js +2 -4
  101. package/dist/index291.js +2 -3
  102. package/dist/index292.js +2 -3
  103. package/dist/index293.js +2 -211
  104. package/dist/index294.js +2 -4
  105. package/dist/index295.js +2 -4
  106. package/dist/index296.js +21 -58
  107. package/dist/index298.js +6 -0
  108. package/dist/index299.js +4 -66
  109. package/dist/index300.js +59 -5
  110. package/dist/index301.js +79 -2
  111. package/dist/index303.js +4 -6
  112. package/dist/index304.js +7 -18
  113. package/dist/index305.js +3 -4
  114. package/dist/index306.js +10 -7
  115. package/dist/index307.js +1 -1
  116. package/dist/index308.js +6 -10
  117. package/dist/index309.js +2 -4
  118. package/dist/index31.js +2 -2
  119. package/dist/index310.js +2 -2
  120. package/dist/index311.js +7 -2
  121. package/dist/index312.js +19 -480
  122. package/dist/index313.js +482 -0
  123. package/dist/index315.js +420 -43
  124. package/dist/index316.js +47 -2
  125. package/dist/index317.js +4 -0
  126. package/dist/index33.js +2 -2
  127. package/dist/index35.js +3 -3
  128. package/dist/index37.js +42 -42
  129. package/dist/index39.js +4 -4
  130. package/dist/index41.js +2 -2
  131. package/dist/index43.js +2 -2
  132. package/dist/index45.js +6 -6
  133. package/dist/index47.js +9 -9
  134. package/dist/index49.js +2 -2
  135. package/dist/index55.js +1 -1
  136. package/dist/index57.js +1 -1
  137. package/dist/index63.js +15 -15
  138. package/dist/index65.js +12 -12
  139. package/dist/index67.js +14 -14
  140. package/dist/index71.js +12 -12
  141. package/dist/index81.js +1 -1
  142. package/dist/index82.js +12 -12
  143. package/dist/index84.js +2 -2
  144. package/dist/index88.js +2 -2
  145. package/dist/index90.js +1 -1
  146. package/dist/index96.js +12 -12
  147. package/package.json +2 -2
  148. package/dist/index212.js +0 -9
  149. package/dist/index214.js +0 -5
  150. package/dist/index220.js +0 -29
  151. package/dist/index222.js +0 -4
  152. package/dist/index265.js +0 -8
  153. package/dist/index281.js +0 -4
  154. package/dist/index297.js +0 -81
  155. package/dist/index302.js +0 -9
  156. package/dist/index314.js +0 -426
package/dist/index82.js CHANGED
@@ -1,9 +1,9 @@
1
- import { defineComponent as w, ref as t, computed as g, openBlock as k, createBlock as $, withCtx as r, renderSlot as a, normalizeProps as s, guardReactiveProps as l, createVNode as V, mergeProps as P } from "vue";
2
- import q from "./index27.js";
1
+ import { defineComponent as B, ref as t, computed as w, openBlock as g, createBlock as k, withCtx as r, renderSlot as a, normalizeProps as s, guardReactiveProps as l, createVNode as $, mergeProps as V } from "vue";
2
+ import P from "./index27.js";
3
3
  /* empty css */
4
- import C from "./index29.js";
4
+ import q from "./index29.js";
5
5
  /* empty css */
6
- const F = /* @__PURE__ */ w({
6
+ const D = /* @__PURE__ */ B({
7
7
  __name: "BbNumberInput",
8
8
  props: {
9
9
  "append:icon": {},
@@ -33,7 +33,7 @@ const F = /* @__PURE__ */ w({
33
33
  },
34
34
  emits: ["blur", "change", "click", "decrease", "focus", "increase", "input", "keydown", "keyup", "mousedown", "mouseup", "update:modelValue"],
35
35
  setup(m, { expose: c, emit: b }) {
36
- const i = m, o = b, p = t(), d = t(!1), h = g(() => i.persistentHint || d.value), f = {
36
+ const i = m, o = b, p = t(), d = t(!1), h = w(() => i.persistentHint || d.value), f = {
37
37
  onBlur: (e) => {
38
38
  d.value = !1, o("blur", e);
39
39
  },
@@ -59,7 +59,7 @@ const F = /* @__PURE__ */ w({
59
59
  var e;
60
60
  (e = p.value) == null || e.decrease();
61
61
  }
62
- }), (e, L) => (k(), $(q, {
62
+ }), (e, I) => (g(), k(P, {
63
63
  id: e.id,
64
64
  class: "bb-number-input",
65
65
  direction: e.direction,
@@ -77,22 +77,22 @@ const F = /* @__PURE__ */ w({
77
77
  label: r((u) => [
78
78
  a(e.$slots, "label", s(l(u)))
79
79
  ]),
80
- input: r(({ id: u, name: y, hasErrors: v, ariaDescribedby: B }) => [
81
- V(C, P({
80
+ input: r(({ id: u, hasErrors: y, ariaDescribedby: v }) => [
81
+ $(q, V({
82
82
  id: u,
83
83
  ref_key: "bni",
84
84
  ref: p,
85
85
  "append:icon": i["append:icon"],
86
- "aria-describedby": B,
86
+ "aria-describedby": v,
87
87
  autocomplete: e.autocomplete,
88
88
  autofocus: e.autofocus,
89
89
  disabled: e.disabled,
90
- "has-errors": v,
90
+ "has-errors": y,
91
91
  loading: e.loading,
92
92
  max: e.max,
93
93
  min: e.min,
94
94
  "model-value": e.modelValue,
95
- name: y,
95
+ name: e.name,
96
96
  placeholder: e.placeholder,
97
97
  "prepend:icon": i["prepend:icon"],
98
98
  readonly: e.readonly,
@@ -125,5 +125,5 @@ const F = /* @__PURE__ */ w({
125
125
  }
126
126
  });
127
127
  export {
128
- F as default
128
+ D as default
129
129
  };
package/dist/index84.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as te, ref as l, useAttrs as oe, getCurrentInstance as le, computed as p, nextTick as se, onBeforeUnmount as x, onMounted as ae, watch as ne, openBlock as g, createBlock as ie, Teleport as re, createElementVNode as s, mergeProps as O, createElementBlock as V, renderSlot as n, createTextVNode as ue, toDisplayString as S, createCommentVNode as z } from "vue";
2
- import { useFocusTrap as ce } from "./index210.js";
2
+ import { useFocusTrap as ce } from "./index232.js";
3
3
  import { useId as A } from "./index8.js";
4
4
  import { wait as E } from "./index131.js";
5
- import { useModalsState as b } from "./index212.js";
5
+ import { useModalsState as b } from "./index240.js";
6
6
  const de = ["inert"], fe = { class: "bb-offcanvas-close" }, ve = ["aria-label"], ge = /* @__PURE__ */ te({
7
7
  __name: "BbOffCanvas",
8
8
  props: {
package/dist/index88.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as S, defineAsyncComponent as H, ref as n, computed as m, openBlock as b, createElementBlock as q, mergeProps as A, createElementVNode as p, renderSlot as y, normalizeProps as I, guardReactiveProps as V, createBlock as C, unref as W, withCtx as $, createCommentVNode as T, nextTick as z } from "vue";
2
- import { useFocusTrap as R } from "./index210.js";
2
+ import { useFocusTrap as R } from "./index232.js";
3
3
  import { useId as j } from "./index8.js";
4
4
  import { useIntersectionObserver as G } from "./index132.js";
5
- import { waitFor as J } from "./index211.js";
5
+ import { waitFor as J } from "./index233.js";
6
6
  import K from "./index13.js";
7
7
  /* empty css */
8
8
  const te = /* @__PURE__ */ S({
package/dist/index90.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, computed as a, openBlock as l, createElementBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
2
- import { clamp as p } from "./index205.js";
2
+ import { clamp as p } from "./index204.js";
3
3
  import { getAsPercentageBetween as i } from "./index130.js";
4
4
  const _ = /* @__PURE__ */ r({
5
5
  __name: "BbProgress",
package/dist/index96.js CHANGED
@@ -1,9 +1,9 @@
1
- import { defineComponent as g, ref as v, computed as y, openBlock as w, createBlock as B, withCtx as s, renderSlot as r, normalizeProps as a, guardReactiveProps as i, createVNode as k, mergeProps as P } from "vue";
2
- import V from "./index27.js";
1
+ import { defineComponent as f, ref as g, computed as v, openBlock as y, createBlock as w, withCtx as s, renderSlot as r, normalizeProps as a, guardReactiveProps as i, createVNode as B, mergeProps as k } from "vue";
2
+ import P from "./index27.js";
3
3
  /* empty css */
4
- import $ from "./index35.js";
4
+ import V from "./index35.js";
5
5
  /* empty css */
6
- const M = /* @__PURE__ */ g({
6
+ const I = /* @__PURE__ */ f({
7
7
  __name: "BbRating",
8
8
  props: {
9
9
  autofocus: {},
@@ -27,7 +27,7 @@ const M = /* @__PURE__ */ g({
27
27
  },
28
28
  emits: ["blur", "change", "click", "focus", "inactive", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
29
29
  setup(d, { emit: u }) {
30
- const p = d, o = u, l = v(!1), m = y(() => p.persistentHint || l.value), c = {
30
+ const p = d, o = u, l = g(!1), m = v(() => p.persistentHint || l.value), c = {
31
31
  onBlur: (e) => o("blur", e),
32
32
  onChange: (e) => o("change", e),
33
33
  onClick: (e) => o("click", e),
@@ -43,7 +43,7 @@ const M = /* @__PURE__ */ g({
43
43
  onMouseup: (e) => o("mouseup", e),
44
44
  "onUpdate:modelValue": (e) => o("update:modelValue", e)
45
45
  };
46
- return (e, z) => (w(), B(V, {
46
+ return (e, $) => (y(), w(P, {
47
47
  id: e.id,
48
48
  class: "bb-rating",
49
49
  direction: "vertical",
@@ -63,16 +63,16 @@ const M = /* @__PURE__ */ g({
63
63
  label: s((t) => [
64
64
  r(e.$slots, "legend", a(i(t)))
65
65
  ]),
66
- input: s(({ id: t, name: h, hasErrors: b, ariaDescribedby: f }) => [
67
- k($, P({
66
+ input: s(({ id: t, hasErrors: h, ariaDescribedby: b }) => [
67
+ B(V, k({
68
68
  id: t,
69
- "aria-describedby": f,
69
+ "aria-describedby": b,
70
70
  autofocus: e.autofocus,
71
71
  color: e.color,
72
72
  disabled: e.disabled,
73
- "has-errors": b,
73
+ "has-errors": h,
74
74
  "model-value": e.modelValue,
75
- name: h,
75
+ name: e.name,
76
76
  readonly: e.readonly,
77
77
  size: e.size,
78
78
  stars: e.stars
@@ -94,5 +94,5 @@ const M = /* @__PURE__ */ g({
94
94
  }
95
95
  });
96
96
  export {
97
- M as default
97
+ I as default
98
98
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.0.67",
3
+ "version": "2.0.69",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
@@ -91,4 +91,4 @@
91
91
  "lint-staged": {
92
92
  "*.{js,css,md,html,json,vue,ts}": "prettier --write"
93
93
  }
94
- }
94
+ }
package/dist/index212.js DELETED
@@ -1,9 +0,0 @@
1
- import { ref as e } from "vue";
2
- const o = e(0), s = () => {
3
- o.value++;
4
- }, a = () => {
5
- o.value--;
6
- }, d = () => ({ openedModals: o, modalHasOpened: s, modalHasClosed: a });
7
- export {
8
- d as useModalsState
9
- };
package/dist/index214.js DELETED
@@ -1,5 +0,0 @@
1
- import r from "./index264.js";
2
- const t = r;
3
- export {
4
- t as deburr
5
- };
package/dist/index220.js DELETED
@@ -1,29 +0,0 @@
1
- import { getDefaultExportFromCjs as c, commonjsGlobal as k } from "./index265.js";
2
- import { __module as n } from "./index271.js";
3
- (function(f, p) {
4
- (function(r, e) {
5
- f.exports = e();
6
- })(k, function() {
7
- var r = "week", e = "year";
8
- return function(w, u, a) {
9
- var o = u.prototype;
10
- o.week = function(t) {
11
- if (t === void 0 && (t = null), t !== null) return this.add(7 * (t - this.week()), "day");
12
- var s = this.$locale().yearStart || 1;
13
- if (this.month() === 11 && this.date() > 25) {
14
- var l = a(this).startOf(e).add(1, e).date(s), d = a(this).endOf(r);
15
- if (l.isBefore(d)) return 1;
16
- }
17
- var h = a(this).startOf(e).date(s).startOf(r).subtract(1, "millisecond"), i = this.diff(h, r, !0);
18
- return i < 0 ? a(this).startOf("week").week() : Math.ceil(i);
19
- }, o.weeks = function(t) {
20
- return t === void 0 && (t = null), this.week(t);
21
- };
22
- };
23
- });
24
- })(n);
25
- var m = n.exports;
26
- const x = /* @__PURE__ */ c(m);
27
- export {
28
- x as default
29
- };
package/dist/index222.js DELETED
@@ -1,4 +0,0 @@
1
- const e = (t) => t[t.length - 1];
2
- export {
3
- e as last
4
- };
package/dist/index265.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/index281.js DELETED
@@ -1,4 +0,0 @@
1
- var o = { exports: {} };
2
- export {
3
- o as __module
4
- };
package/dist/index297.js DELETED
@@ -1,81 +0,0 @@
1
- import { defineComponent as _, toRef as y, ref as p, computed as o, openBlock as v, createBlock as h, Teleport as A, createElementVNode as r, mergeProps as n, renderSlot as $ } from "vue";
2
- import b from "./index312.js";
3
- import { useFloating as k, arrow as x } from "./index228.js";
4
- import { autoUpdate as B, flip as C, offset as D, shift as P } from "./index236.js";
5
- const N = /* @__PURE__ */ _({
6
- __name: "CommonFloating",
7
- props: {
8
- arrowPadding: {},
9
- eager: { type: Boolean },
10
- offset: {},
11
- padding: {},
12
- placement: {},
13
- theme: {},
14
- transitionDuration: {},
15
- containerAttributes: { default: () => ({}) },
16
- bubbleAttributes: {},
17
- wrapper: {},
18
- baseClass: {},
19
- open: { type: Boolean }
20
- },
21
- setup(u) {
22
- const e = u, f = y(e, "wrapper"), a = p(), l = p(), { floatingStyles: c, placement: d, middlewareData: s } = k(
23
- f,
24
- a,
25
- {
26
- placement: e.placement,
27
- whileElementsMounted: B,
28
- middleware: [
29
- C(),
30
- D(e.offset),
31
- P({ padding: e.padding }),
32
- x({
33
- element: l,
34
- padding: e.arrowPadding
35
- })
36
- ]
37
- }
38
- ), m = o(() => {
39
- if (s.value.arrow) {
40
- const { x: t, y: i } = s.value.arrow;
41
- return {
42
- style: {
43
- left: `${t}px`,
44
- top: `${i}px`
45
- }
46
- };
47
- }
48
- }), g = o(() => b({}, e.containerAttributes, {
49
- class: {
50
- "bb-floating": !0,
51
- [`bb-floating--${d.value}`]: !0,
52
- [`${e.baseClass}__bubble-container--${e.theme}`]: e.theme,
53
- "bb-floating--hidden": !e.open,
54
- "bb-floating--open": e.open
55
- },
56
- style: {
57
- ...c.value,
58
- "--transition-duration": `${e.transitionDuration}ms`
59
- },
60
- inert: !e.open
61
- })), w = o(() => b({}, e.bubbleAttributes, {}));
62
- return (t, i) => (v(), h(A, { to: "body" }, [
63
- r("span", n({
64
- ref_key: "content",
65
- ref: a
66
- }, g.value), [
67
- r("span", n({
68
- ref_key: "bubblearrow",
69
- ref: l,
70
- class: "bb-floating__arrow"
71
- }, m.value), null, 16),
72
- r("span", n({ class: "bb-floating__bubble" }, w.value), [
73
- $(t.$slots, "default")
74
- ], 16)
75
- ], 16)
76
- ]));
77
- }
78
- });
79
- export {
80
- N as default
81
- };
package/dist/index302.js DELETED
@@ -1,9 +0,0 @@
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
- }
7
- export {
8
- l as range
9
- };