bitboss-ui 2.1.102 → 2.1.104
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.
- package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +21 -47
- package/dist/components/BaseColorInput/ColorPalette.vue.d.ts +36 -0
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +1 -1
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +17 -0
- package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +207 -0
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +277 -0
- package/dist/components/FlatListBox.vue.d.ts +4 -1
- package/dist/components/GroupedListBox.vue.d.ts +4 -1
- package/dist/components/ListBox.vue.d.ts +5 -1
- package/dist/composables/useCoherence.d.ts +1 -0
- package/dist/composables/usePrefill.d.ts +13 -3
- package/dist/i18n/en.d.ts +5 -0
- package/dist/i18n/it.d.ts +5 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +79 -77
- package/dist/index109.js +132 -175
- package/dist/index11.js +1 -1
- package/dist/index110.js +185 -0
- package/dist/{index115.js → index116.js} +1 -1
- package/dist/index12.js +2 -2
- package/dist/{index121.js → index122.js} +10 -10
- package/dist/{index123.js → index124.js} +15 -17
- package/dist/index13.js +6 -6
- package/dist/{index131.js → index132.js} +1 -1
- package/dist/{index133.js → index134.js} +6 -6
- package/dist/{index135.js → index136.js} +1 -1
- package/dist/{index137.js → index138.js} +4 -4
- package/dist/index14.js +1 -1
- package/dist/index140.js +13 -11
- package/dist/index141.js +11 -2
- package/dist/index142.js +2 -419
- package/dist/index143.js +417 -7
- package/dist/index144.js +8 -8
- package/dist/index145.js +9 -25
- package/dist/index146.js +25 -2
- package/dist/index147.js +2 -5
- package/dist/index148.js +5 -6
- package/dist/index149.js +5 -4
- package/dist/index150.js +5 -3
- package/dist/index151.js +1 -1
- package/dist/index152.js +1 -1
- package/dist/index153.js +1 -1
- package/dist/index154.js +1 -1
- package/dist/index155.js +1 -1
- package/dist/index156.js +1 -1
- package/dist/index157.js +1 -1
- package/dist/index158.js +1 -1
- package/dist/index159.js +1 -1
- package/dist/index16.js +80 -94
- package/dist/index160.js +1 -1
- package/dist/index161.js +1 -1
- package/dist/index162.js +1 -1
- package/dist/index163.js +1 -1
- package/dist/index164.js +1 -1
- package/dist/index165.js +1 -1
- package/dist/index166.js +1 -1
- package/dist/index167.js +1 -1
- package/dist/index168.js +1 -1
- package/dist/index169.js +1 -1
- package/dist/index170.js +1 -1
- package/dist/index171.js +1 -1
- package/dist/index172.js +1 -1
- package/dist/index173.js +1 -1
- package/dist/index174.js +1 -1
- package/dist/index175.js +1 -1
- package/dist/index176.js +1 -1
- package/dist/index177.js +1 -1
- package/dist/index178.js +1 -1
- package/dist/index179.js +1 -1
- package/dist/index18.js +3 -3
- package/dist/index180.js +1 -1
- package/dist/index181.js +1 -1
- package/dist/index182.js +1 -1
- package/dist/index183.js +2 -3
- package/dist/index184.js +1 -1
- package/dist/index185.js +1 -1
- package/dist/index186.js +1 -1
- package/dist/index187.js +1 -1
- package/dist/index188.js +3 -2
- package/dist/index189.js +1 -1
- package/dist/index190.js +2 -3
- package/dist/index191.js +1 -1
- package/dist/index192.js +1 -1
- package/dist/index193.js +1 -1
- package/dist/index194.js +2 -2
- package/dist/index195.js +1 -1
- package/dist/index196.js +1 -1
- package/dist/index197.js +1 -1
- package/dist/index198.js +3 -2
- package/dist/index199.js +1 -1
- package/dist/index20.js +14 -14
- package/dist/index200.js +2 -3
- package/dist/index201.js +1 -1
- package/dist/index202.js +1 -1
- package/dist/index203.js +1 -1
- package/dist/index204.js +1 -1
- package/dist/index205.js +1 -1
- package/dist/index206.js +1 -1
- package/dist/index207.js +1 -1
- package/dist/index208.js +1 -1
- package/dist/index209.js +1 -1
- package/dist/index210.js +1 -1
- package/dist/index211.js +1 -1
- package/dist/index212.js +1 -1
- package/dist/index213.js +1 -1
- package/dist/index214.js +5 -0
- package/dist/index215.js +3 -7
- package/dist/index217.js +7 -2
- package/dist/index218.js +2 -2
- package/dist/index219.js +137 -4
- package/dist/index22.js +14 -14
- package/dist/index220.js +2 -8
- package/dist/index221.js +3 -33
- package/dist/index222.js +5 -28
- package/dist/index223.js +10 -0
- package/dist/index224.js +2 -2
- package/dist/index225.js +66 -12
- package/dist/index226.js +86 -2
- package/dist/index228.js +30 -3
- package/dist/index229.js +17 -5
- package/dist/index230.js +51 -5
- package/dist/index231.js +18 -5
- package/dist/index232.js +3 -5
- package/dist/index233.js +12 -3
- package/dist/index234.js +18 -2
- package/dist/index235.js +13 -6
- package/dist/index236.js +12 -7
- package/dist/index237.js +13 -268
- package/dist/index238.js +2 -52
- package/dist/index239.js +101 -47
- package/dist/index24.js +13 -13
- package/dist/index241.js +95 -55
- package/dist/index243.js +3 -5
- package/dist/index244.js +18 -5
- package/dist/index245.js +12 -5
- package/dist/index246.js +4 -2
- package/dist/index247.js +135 -3
- package/dist/index249.js +102 -130
- package/dist/index250.js +4 -0
- package/dist/index251.js +11 -4
- package/dist/index252.js +2 -4
- package/dist/index253.js +2 -201
- package/dist/index254.js +9 -0
- package/dist/index255.js +6 -187
- package/dist/index256.js +5 -3
- package/dist/index257.js +9 -3
- package/dist/index258.js +23 -2
- package/dist/index259.js +4 -86
- package/dist/index26.js +4 -4
- package/dist/index260.js +25 -0
- package/dist/index261.js +8 -29
- package/dist/index262.js +9 -17
- package/dist/index263.js +25 -51
- package/dist/index264.js +6 -15
- package/dist/index265.js +16 -12
- package/dist/index266.js +3 -16
- package/dist/index267.js +2 -25
- package/dist/index268.js +2 -106
- package/dist/index269.js +9 -0
- package/dist/index270.js +5 -100
- package/dist/index271.js +7 -0
- package/dist/index272.js +5 -67
- package/dist/index273.js +5 -18
- package/dist/index274.js +5 -12
- package/dist/index275.js +5 -104
- package/dist/index276.js +19 -12
- package/dist/index277.js +3 -10
- package/dist/index278.js +8 -12
- package/dist/index279.js +21 -5
- package/dist/index28.js +2 -2
- package/dist/index280.js +33 -6
- package/dist/index281.js +27 -15
- package/dist/index285.js +3 -4
- package/dist/index286.js +372 -8
- package/dist/index288.js +184 -19
- package/dist/index289.js +3 -7
- package/dist/index290.js +5 -2
- package/dist/index291.js +6 -7
- package/dist/index292.js +268 -7
- package/dist/index293.js +50 -7
- package/dist/index294.js +51 -20
- package/dist/index295.js +31 -52
- package/dist/index296.js +60 -9
- package/dist/index298.js +53 -3
- package/dist/index299.js +2 -7
- package/dist/index30.js +6 -6
- package/dist/index300.js +5 -2
- package/dist/index301.js +2 -4
- package/dist/index302.js +3 -5
- package/dist/index303.js +17 -5
- package/dist/index304.js +27 -279
- package/dist/index305.js +3 -2
- package/dist/index306.js +3 -16
- package/dist/index307.js +4 -2
- package/dist/index308.js +7 -16
- package/dist/index310.js +3 -27
- package/dist/index311.js +3 -2
- package/dist/index312.js +1 -1
- package/dist/index313.js +5 -2
- package/dist/index314.js +719 -2
- package/dist/index315.js +366 -2
- package/dist/index316.js +52 -23
- package/dist/index317.js +280 -2
- package/dist/index318.js +2 -3
- package/dist/index319.js +125 -3
- package/dist/index32.js +2 -2
- package/dist/index320.js +2 -125
- package/dist/index321.js +15 -2
- package/dist/index322.js +2 -15
- package/dist/index323.js +16 -2
- package/dist/index324.js +2 -19
- package/dist/index325.js +16 -2
- package/dist/index326.js +2 -3
- package/dist/index327.js +18 -16
- package/dist/index328.js +2 -2
- package/dist/index329.js +1 -1
- package/dist/index330.js +27 -3
- package/dist/index331.js +2 -719
- package/dist/index332.js +2 -366
- package/dist/index333.js +2 -57
- package/dist/index334.js +1 -1
- package/dist/index335.js +2 -4
- package/dist/index336.js +2 -6
- package/dist/index337.js +227 -6
- package/dist/index338.js +5 -18
- package/dist/index339.js +67 -9
- package/dist/index34.js +12 -12
- package/dist/index340.js +66 -14
- package/dist/index341.js +4 -5
- package/dist/index342.js +34 -7
- package/dist/index343.js +6 -6
- package/dist/index344.js +128 -7
- package/dist/index345.js +397 -6
- package/dist/index346.js +199 -34
- package/dist/index347.js +258 -5
- package/dist/index348.js +85 -121
- package/dist/index349.js +114 -378
- package/dist/index350.js +2 -228
- package/dist/index351.js +2 -62
- package/dist/index352.js +5 -62
- package/dist/index353.js +6 -92
- package/dist/index354.js +7 -191
- package/dist/index355.js +17 -256
- package/dist/index356.js +9 -22
- package/dist/index357.js +17 -0
- package/dist/index358.js +21 -133
- package/dist/index36.js +5 -5
- package/dist/index360.js +441 -2
- package/dist/index361.js +114 -427
- package/dist/index362.js +46 -127
- package/dist/index363.js +67 -44
- package/dist/index364.js +516 -66
- package/dist/index365.js +45 -515
- package/dist/index38.js +245 -245
- package/dist/index40.js +8 -8
- package/dist/index42.js +2 -2
- package/dist/index44.js +27 -29
- package/dist/index46.js +9 -9
- package/dist/index48.js +4 -4
- package/dist/index50.js +4 -4
- package/dist/index54.js +2 -2
- package/dist/index56.js +2 -2
- package/dist/index58.js +2 -2
- package/dist/index60.js +4 -4
- package/dist/index62.js +6 -6
- package/dist/index68.js +1 -1
- package/dist/index7.js +2 -2
- package/dist/index72.js +16 -10
- package/dist/index74.js +119 -79
- package/dist/index75.js +85 -0
- package/dist/index77.js +17 -123
- package/dist/index78.js +127 -0
- package/dist/{index81.js → index82.js} +10 -10
- package/dist/{index83.js → index84.js} +4 -4
- package/dist/{index85.js → index86.js} +3 -3
- package/dist/{index87.js → index88.js} +3 -3
- package/dist/index9.js +1 -1
- package/dist/index90.js +37 -125
- package/dist/index91.js +134 -0
- package/dist/{index92.js → index93.js} +4 -4
- package/dist/{index94.js → index95.js} +3 -3
- package/dist/{index96.js → index97.js} +6 -6
- package/dist/{index98.js → index99.js} +2 -2
- package/package.json +2 -2
- package/dist/components/BaseColorInput/ColorPallette.vue.d.ts +0 -13
- package/dist/index108.js +0 -144
- package/dist/index139.js +0 -15
- package/dist/index216.js +0 -140
- package/dist/index227.js +0 -4
- package/dist/index240.js +0 -34
- package/dist/index242.js +0 -5
- package/dist/index248.js +0 -22
- package/dist/index287.js +0 -25
- package/dist/index309.js +0 -4
- package/dist/index359.js +0 -4
- package/dist/index366.js +0 -52
- package/dist/index76.js +0 -21
- package/dist/index89.js +0 -46
- /package/dist/{index100.js → index101.js} +0 -0
- /package/dist/{index102.js → index103.js} +0 -0
- /package/dist/{index104.js → index105.js} +0 -0
- /package/dist/{index106.js → index107.js} +0 -0
- /package/dist/{index111.js → index112.js} +0 -0
- /package/dist/{index113.js → index114.js} +0 -0
- /package/dist/{index117.js → index118.js} +0 -0
- /package/dist/{index119.js → index120.js} +0 -0
- /package/dist/{index125.js → index126.js} +0 -0
- /package/dist/{index127.js → index128.js} +0 -0
- /package/dist/{index129.js → index130.js} +0 -0
- /package/dist/{index282.js → index297.js} +0 -0
- /package/dist/{index79.js → index80.js} +0 -0
package/dist/index40.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as ie, ref as d, computed as f, onMounted as se, watch as ue, createElementBlock as y, openBlock as g, normalizeProps as G, guardReactiveProps as O, renderSlot as p, createElementVNode as c, mergeProps as N, createCommentVNode as Y, Fragment as de, renderList as me, unref as b, normalizeStyle as j, normalizeClass as J } from "vue";
|
|
2
|
-
import { head as ce } from "./
|
|
3
|
-
import { isCssColor as K } from "./
|
|
4
|
-
import { isNil as x } from "./
|
|
5
|
-
import { getAsPercentageBetween as S, getAsPercentage as be, getValueFromPercentageInInterval as T } from "./
|
|
6
|
-
import { snapToStep as ve } from "./
|
|
7
|
-
import { last as fe } from "./
|
|
8
|
-
import { transpose as Q } from "./
|
|
9
|
-
import { clamp as m } from "./
|
|
2
|
+
import { head as ce } from "./index252.js";
|
|
3
|
+
import { isCssColor as K } from "./index253.js";
|
|
4
|
+
import { isNil as x } from "./index250.js";
|
|
5
|
+
import { getAsPercentageBetween as S, getAsPercentage as be, getValueFromPercentageInInterval as T } from "./index141.js";
|
|
6
|
+
import { snapToStep as ve } from "./index254.js";
|
|
7
|
+
import { last as fe } from "./index238.js";
|
|
8
|
+
import { transpose as Q } from "./index255.js";
|
|
9
|
+
import { clamp as m } from "./index218.js";
|
|
10
10
|
const pe = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "bb-base-slider__ticks-container"
|
package/dist/index42.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as F, ref as b, computed as s, watch as S, createElementBlock as y, openBlock as V, normalizeProps as l, guardReactiveProps as m, createCommentVNode as A, createElementVNode as r, mergeProps as v, renderSlot as N } from "vue";
|
|
2
|
-
import { isCssColor as p } from "./
|
|
3
|
-
import { when as x } from "./
|
|
2
|
+
import { isCssColor as p } from "./index253.js";
|
|
3
|
+
import { when as x } from "./index246.js";
|
|
4
4
|
const M = { class: "bb-base-switch-container" }, $ = /* @__PURE__ */ F({
|
|
5
5
|
__name: "BaseSwitch",
|
|
6
6
|
props: {
|
package/dist/index44.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as j, ref as k, toRef as d, createBlock as z, openBlock as G, unref as B, withCtx as n, renderSlot as s, normalizeProps as v, guardReactiveProps as b, createVNode as R, mergeProps as w, createSlots as W } from "vue";
|
|
2
2
|
import K from "./index42.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import N from "./
|
|
4
|
+
import N from "./index226.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { useItemsGetter as U } from "./
|
|
7
|
-
import { useIndexById as T } from "./
|
|
8
|
-
import { useBaseOptions as q } from "./
|
|
9
|
-
import { useCoherence as J } from "./
|
|
10
|
-
import { hash as Q } from "./
|
|
11
|
-
import { useHashedWatcher as $ } from "./
|
|
12
|
-
import { usePrefill as X } from "./
|
|
6
|
+
import { useItemsGetter as U } from "./index228.js";
|
|
7
|
+
import { useIndexById as T } from "./index229.js";
|
|
8
|
+
import { useBaseOptions as q } from "./index230.js";
|
|
9
|
+
import { useCoherence as J } from "./index231.js";
|
|
10
|
+
import { hash as Q } from "./index232.js";
|
|
11
|
+
import { useHashedWatcher as $ } from "./index233.js";
|
|
12
|
+
import { usePrefill as X } from "./index234.js";
|
|
13
13
|
const ue = /* @__PURE__ */ j({
|
|
14
14
|
__name: "BaseSwitchGroup",
|
|
15
15
|
props: {
|
|
@@ -40,7 +40,7 @@ const ue = /* @__PURE__ */ j({
|
|
|
40
40
|
const o = E, a = C;
|
|
41
41
|
if (!Array.isArray(o.modelValue))
|
|
42
42
|
throw new Error("Model value must be an array in checkbox group.");
|
|
43
|
-
const u = k(),
|
|
43
|
+
const u = k(), l = k(!1), {
|
|
44
44
|
getter: c,
|
|
45
45
|
items: L,
|
|
46
46
|
loading: D
|
|
@@ -48,12 +48,10 @@ const ue = /* @__PURE__ */ j({
|
|
|
48
48
|
items: d(o, "items"),
|
|
49
49
|
debounce: 0
|
|
50
50
|
}), m = () => {
|
|
51
|
-
o.enforceCoherence && !V.value && a("update:modelValue",
|
|
51
|
+
o.enforceCoherence && !V.value && a("update:modelValue", S.value.coherent);
|
|
52
52
|
}, { hasPrefilled: I } = X({
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
multiple: !0,
|
|
56
|
-
fn: async ({ prefill: e }) => {
|
|
53
|
+
trigger: !0,
|
|
54
|
+
fn: async (e) => {
|
|
57
55
|
await c(e, o.modelValue), m();
|
|
58
56
|
}
|
|
59
57
|
}), { data: y } = T({
|
|
@@ -68,22 +66,22 @@ const ue = /* @__PURE__ */ j({
|
|
|
68
66
|
selectedIndexedByHash: y
|
|
69
67
|
}), H = async (e) => {
|
|
70
68
|
a("update:modelValue", o.modelValue.concat(e.value));
|
|
71
|
-
},
|
|
72
|
-
const
|
|
73
|
-
delete
|
|
74
|
-
}, { data:
|
|
69
|
+
}, M = async (e) => {
|
|
70
|
+
const i = { ...y.value };
|
|
71
|
+
delete i[e.valueHash], a("update:modelValue", Object.values(i));
|
|
72
|
+
}, { data: P } = T({
|
|
75
73
|
items: g,
|
|
76
74
|
key: "valueHash"
|
|
77
|
-
}), { coherent: V, status:
|
|
75
|
+
}), { coherent: V, status: S } = J({
|
|
78
76
|
modelValue: d(o, "modelValue"),
|
|
79
77
|
multiple: !0,
|
|
80
|
-
iteratee: (e) => !!
|
|
78
|
+
iteratee: (e) => !!P.value[Q(e)]
|
|
81
79
|
});
|
|
82
|
-
let
|
|
80
|
+
let r = 0;
|
|
83
81
|
$(
|
|
84
82
|
() => o.modelValue,
|
|
85
83
|
async () => {
|
|
86
|
-
|
|
84
|
+
r++, V.value || (await c(!1, o.modelValue), m()), r--;
|
|
87
85
|
},
|
|
88
86
|
{
|
|
89
87
|
debounce: o.modelValueDebounceTime
|
|
@@ -91,7 +89,7 @@ const ue = /* @__PURE__ */ j({
|
|
|
91
89
|
), $(
|
|
92
90
|
() => [o.dependencies, o.items],
|
|
93
91
|
async () => {
|
|
94
|
-
I.value && (
|
|
92
|
+
I.value && (r++, await c(!1, o.modelValue), r === 1 && m(), r--);
|
|
95
93
|
},
|
|
96
94
|
{
|
|
97
95
|
debounce: o.depsDebounceTime
|
|
@@ -100,24 +98,24 @@ const ue = /* @__PURE__ */ j({
|
|
|
100
98
|
const x = (e) => {
|
|
101
99
|
if (o.id)
|
|
102
100
|
return [o.id, e.valueHash].filter(Boolean).join("-");
|
|
103
|
-
}, F = (e,
|
|
104
|
-
a("change", e),
|
|
101
|
+
}, F = (e, i) => {
|
|
102
|
+
a("change", e), i.selected ? M(i) : H(i);
|
|
105
103
|
}, O = {
|
|
106
104
|
onBlur: (e) => a("blur", e),
|
|
107
105
|
onClick: (e) => a("click", e),
|
|
108
106
|
onFocus: (e) => {
|
|
109
|
-
a("focus", e),
|
|
107
|
+
a("focus", e), l.value || (document.addEventListener("focusin", p, { passive: !0 }), document.addEventListener("click", f, { passive: !0 }), l.value = !0);
|
|
110
108
|
},
|
|
111
109
|
onInput: (e) => a("input", e),
|
|
112
110
|
onKeydown: (e) => a("keydown", e),
|
|
113
111
|
onMousedown: (e) => a("mousedown", e),
|
|
114
112
|
onMouseup: (e) => a("mouseup", e)
|
|
115
113
|
}, p = (e) => {
|
|
116
|
-
e.target instanceof HTMLElement && (u.value?.$el.contains(e.target) || (a("inactive"),
|
|
114
|
+
e.target instanceof HTMLElement && (u.value?.$el.contains(e.target) || (a("inactive"), l.value = !1, document.removeEventListener("focusin", p), document.removeEventListener("click", f)));
|
|
117
115
|
}, f = (e) => {
|
|
118
|
-
e.target instanceof HTMLElement && (u.value?.$el.contains(e.target) || (a("inactive"),
|
|
116
|
+
e.target instanceof HTMLElement && (u.value?.$el.contains(e.target) || (a("inactive"), l.value = !1, document.removeEventListener("focusin", p), document.removeEventListener("click", f)));
|
|
119
117
|
};
|
|
120
|
-
return (e,
|
|
118
|
+
return (e, i) => (G(), z(N, {
|
|
121
119
|
ref_key: "container",
|
|
122
120
|
ref: u,
|
|
123
121
|
class: "bb-base-switch-group",
|
package/dist/index46.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as j, ref as u, computed as m, toRef as C, watch as Q, createBlock as h, openBlock as f, normalizeClass as Z, withCtx as l, createVNode as E, unref as G, createElementVNode as I, createElementBlock as J, createCommentVNode as W, withDirectives as X, Fragment as Y, mergeProps as ee, withModifiers as s, withKeys as v, vModelText as te, renderSlot as d, nextTick as oe } from "vue";
|
|
2
|
-
import ae from "./
|
|
2
|
+
import ae from "./index114.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { last as le } from "./
|
|
5
|
-
import { useBaseOptions as ne } from "./
|
|
6
|
-
import { useIndexById as re } from "./
|
|
7
|
-
import ie from "./
|
|
4
|
+
import { last as le } from "./index238.js";
|
|
5
|
+
import { useBaseOptions as ne } from "./index230.js";
|
|
6
|
+
import { useIndexById as re } from "./index229.js";
|
|
7
|
+
import ie from "./index239.js";
|
|
8
8
|
/* empty css */
|
|
9
|
-
import ue from "./
|
|
9
|
+
import ue from "./index241.js";
|
|
10
10
|
/* empty css */
|
|
11
|
-
import se from "./
|
|
11
|
+
import se from "./index138.js";
|
|
12
12
|
/* empty css */
|
|
13
|
-
import de from "./
|
|
14
|
-
import { isEmpty as pe } from "./
|
|
13
|
+
import de from "./index140.js";
|
|
14
|
+
import { isEmpty as pe } from "./index243.js";
|
|
15
15
|
const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], Oe = /* @__PURE__ */ j({
|
|
16
16
|
__name: "BaseTag",
|
|
17
17
|
props: {
|
package/dist/index48.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as h, ref as y, computed as u, onMounted as g, watch as B, nextTick as V, createBlock as $, openBlock as k, normalizeClass as C, withCtx as r, createVNode as i, unref as T, createElementVNode as v, mergeProps as x, renderSlot as t } from "vue";
|
|
2
|
-
import E from "./
|
|
3
|
-
import G from "./
|
|
2
|
+
import E from "./index140.js";
|
|
3
|
+
import G from "./index138.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import M from "./
|
|
5
|
+
import M from "./index114.js";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import { isNotNil as q } from "./
|
|
7
|
+
import { isNotNil as q } from "./index147.js";
|
|
8
8
|
const H = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "rows", "value"], Y = /* @__PURE__ */ h({
|
|
9
9
|
__name: "BaseTextarea",
|
|
10
10
|
props: {
|
package/dist/index50.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as V, ref as h, computed as v, onMounted as B, onBeforeUnmount as M, watch as g, createElementBlock as i, openBlock as r, Fragment as w, createVNode as m, createElementVNode as $, normalizeClass as C, withCtx as n, unref as E, mergeProps as b, renderSlot as t } from "vue";
|
|
2
|
-
import q from "./
|
|
2
|
+
import q from "./index138.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import I from "./
|
|
5
|
-
import { MaskInput as z } from "./
|
|
6
|
-
import { isNotEmpty as D } from "./
|
|
4
|
+
import I from "./index140.js";
|
|
5
|
+
import { MaskInput as z } from "./index288.js";
|
|
6
|
+
import { isNotEmpty as D } from "./index289.js";
|
|
7
7
|
const N = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type"], F = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type", "value"], U = /* @__PURE__ */ V({
|
|
8
8
|
__name: "BaseTextInput",
|
|
9
9
|
props: {
|
package/dist/index54.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as h, ref as k, watch as w, createBlock as r, openBlock as s, normalizeClass as C, withCtx as V, createElementVNode as t, createCommentVNode as i, createElementBlock as y, unref as z, renderSlot as n, normalizeProps as c, guardReactiveProps as m, createTextVNode as d, toDisplayString as u } from "vue";
|
|
2
2
|
import B from "./index70.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import L from "./
|
|
4
|
+
import L from "./index88.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { useLocale as g } from "./
|
|
6
|
+
import { useLocale as g } from "./index236.js";
|
|
7
7
|
const $ = {
|
|
8
8
|
class: "bb-alert__inner-container",
|
|
9
9
|
role: "alert"
|
package/dist/index56.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as b, computed as z, ref as o, onMounted as g, createElementBlock as l, openBlock as i, normalizeProps as _, guardReactiveProps as h, renderSlot as k } from "vue";
|
|
2
|
-
import { isCssColor as y } from "./
|
|
3
|
-
import { wait as C } from "./
|
|
2
|
+
import { isCssColor as y } from "./index253.js";
|
|
3
|
+
import { wait as C } from "./index142.js";
|
|
4
4
|
const w = ["alt", "sizes", "src", "srcset"], B = {
|
|
5
5
|
key: 1,
|
|
6
6
|
class: "bb-avatar__fallback"
|
package/dist/index58.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as p, useSlots as d, computed as s, createElementBlock as m, openBlock as u, normalizeClass as g, createElementVNode as n, renderSlot as r, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
|
|
2
|
-
import { isCssColor as l } from "./
|
|
3
|
-
import { isNil as B } from "./
|
|
2
|
+
import { isCssColor as l } from "./index253.js";
|
|
3
|
+
import { isNil as B } from "./index250.js";
|
|
4
4
|
const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, N = /* @__PURE__ */ p({
|
|
5
5
|
__name: "BbBadge",
|
|
6
6
|
props: {
|
package/dist/index60.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as K, ref as I, computed as l, watch as Q, onBeforeUnmount as Z, createElementBlock as o, openBlock as n, normalizeStyle as x, createElementVNode as p, createCommentVNode as c, renderSlot as b, createVNode as C, withCtx as L, normalizeProps as ee, guardReactiveProps as se, mergeProps as N, createTextVNode as T, toDisplayString as M, Fragment as O, renderList as te } from "vue";
|
|
2
|
-
import { useResizeObserver as ie } from "./
|
|
3
|
-
import { useLocale as ae } from "./
|
|
2
|
+
import { useResizeObserver as ie } from "./index143.js";
|
|
3
|
+
import { useLocale as ae } from "./index236.js";
|
|
4
4
|
import de from "./index14.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import re from "./
|
|
6
|
+
import re from "./index82.js";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import { estimateEllipsisWidth as le, estimateBreadcrumbItemWidth as oe } from "./
|
|
8
|
+
import { estimateEllipsisWidth as le, estimateBreadcrumbItemWidth as oe } from "./index263.js";
|
|
9
9
|
const ne = ["aria-label"], be = { class: "bb-breadcrumbs__container" }, ue = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "bb-breadcrumbs__edge bb-breadcrumbs__edge--prepend"
|
package/dist/index62.js
CHANGED
|
@@ -3,15 +3,15 @@ import { defineComponent as E, mergeModels as M, defineAsyncComponent as W, useM
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
import I from "./index14.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import f from "./
|
|
6
|
+
import f from "./index88.js";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import J from "./
|
|
8
|
+
import J from "./index116.js";
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { pickBy as K } from "./index283.js";
|
|
11
11
|
import { noop as Q } from "./index284.js";
|
|
12
|
-
import { useLocale as U } from "./
|
|
13
|
-
import { extractDomContainer as X } from "./
|
|
14
|
-
import { isEqual as $ } from "./
|
|
12
|
+
import { useLocale as U } from "./index236.js";
|
|
13
|
+
import { extractDomContainer as X } from "./index259.js";
|
|
14
|
+
import { isEqual as $ } from "./index285.js";
|
|
15
15
|
const Y = {
|
|
16
16
|
key: 2,
|
|
17
17
|
class: "bb-button__loading-label sr-only"
|
|
@@ -65,7 +65,7 @@ const Y = {
|
|
|
65
65
|
emits: ["update:modelValue"],
|
|
66
66
|
setup(v, { expose: z }) {
|
|
67
67
|
const A = W(
|
|
68
|
-
() => import("./
|
|
68
|
+
() => import("./index213.js")
|
|
69
69
|
), o = v, i = q(v, "modelValue"), d = l(() => i.value !== void 0), y = l(() => $(i.value, o.trueValue)), { t: L } = U(), g = R(), c = V(), S = (e) => {
|
|
70
70
|
c.value = X(e) ?? void 0;
|
|
71
71
|
}, T = l(() => {
|
package/dist/index68.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as i, createElementBlock as o, openBlock as a, createElementVNode as t, createCommentVNode as p, renderSlot as b, createTextVNode as m, toDisplayString as u, withModifiers as d, unref as _ } from "vue";
|
|
2
|
-
import { useLocale as f } from "./
|
|
2
|
+
import { useLocale as f } from "./index236.js";
|
|
3
3
|
const h = { class: "bb-chip" }, L = { class: "bb-chip__content" }, k = ["aria-label"], B = /* @__PURE__ */ i({
|
|
4
4
|
__name: "BbChip",
|
|
5
5
|
props: {
|
package/dist/index7.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getAsPercentage as p } from "./
|
|
2
|
-
import { wait as w } from "./
|
|
1
|
+
import { getAsPercentage as p } from "./index141.js";
|
|
2
|
+
import { wait as w } from "./index142.js";
|
|
3
3
|
import { ref as c, computed as o, onBeforeUnmount as H } from "vue";
|
|
4
4
|
const Y = ({
|
|
5
5
|
duration: t,
|
package/dist/index72.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { defineComponent as c, ref as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as c, ref as h, computed as b, createBlock as f, openBlock as y, withCtx as a, createVNode as B, mergeProps as v, renderSlot as l, normalizeProps as w, guardReactiveProps as k } from "vue";
|
|
2
|
+
import g from "./index28.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import
|
|
4
|
+
import $ from "./index16.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
const E = /* @__PURE__ */ c({
|
|
7
7
|
__name: "BbColorInput",
|
|
8
8
|
props: {
|
|
9
|
+
alpha: { type: Boolean },
|
|
9
10
|
"append:icon": {},
|
|
10
11
|
autocomplete: {},
|
|
11
12
|
autofocus: {},
|
|
@@ -28,11 +29,13 @@ const E = /* @__PURE__ */ c({
|
|
|
28
29
|
"prepend:icon": {},
|
|
29
30
|
readonly: { type: Boolean },
|
|
30
31
|
required: { type: Boolean },
|
|
31
|
-
reverse: { type: Boolean }
|
|
32
|
+
reverse: { type: Boolean },
|
|
33
|
+
picker: { type: Boolean },
|
|
34
|
+
swatches: { type: [Boolean, Array] }
|
|
32
35
|
},
|
|
33
36
|
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
|
34
37
|
setup(s, { emit: i }) {
|
|
35
|
-
const r = s, o = i, n =
|
|
38
|
+
const r = s, o = i, n = h(!1), d = b(() => r.persistentHint || n.value), t = {
|
|
36
39
|
onBlur: (e) => {
|
|
37
40
|
n.value = !1, o("blur", e);
|
|
38
41
|
},
|
|
@@ -47,7 +50,7 @@ const E = /* @__PURE__ */ c({
|
|
|
47
50
|
onMouseup: (e) => o("mouseup", e),
|
|
48
51
|
"onUpdate:modelValue": (e) => o("update:modelValue", e)
|
|
49
52
|
};
|
|
50
|
-
return (e, V) => (y(), f(
|
|
53
|
+
return (e, V) => (y(), f(g, {
|
|
51
54
|
id: e.id,
|
|
52
55
|
class: "bb-color-input",
|
|
53
56
|
compact: e.compact,
|
|
@@ -64,11 +67,12 @@ const E = /* @__PURE__ */ c({
|
|
|
64
67
|
"show-hint": d.value
|
|
65
68
|
}, {
|
|
66
69
|
label: a((p) => [
|
|
67
|
-
l(e.$slots, "label", w(
|
|
70
|
+
l(e.$slots, "label", w(k(p)))
|
|
68
71
|
]),
|
|
69
72
|
input: a(({ id: p, hasErrors: u, ariaDescribedby: m }) => [
|
|
70
|
-
|
|
73
|
+
B($, v({
|
|
71
74
|
id: p,
|
|
75
|
+
alpha: e.alpha,
|
|
72
76
|
"append:icon": r["append:icon"],
|
|
73
77
|
"aria-describedby": m,
|
|
74
78
|
autocomplete: e.autocomplete,
|
|
@@ -80,10 +84,12 @@ const E = /* @__PURE__ */ c({
|
|
|
80
84
|
loading: e.loading,
|
|
81
85
|
"model-value": e.modelValue,
|
|
82
86
|
name: e.name,
|
|
87
|
+
picker: e.picker,
|
|
83
88
|
placeholder: e.placeholder,
|
|
84
89
|
"prepend:icon": r["prepend:icon"],
|
|
85
90
|
readonly: e.readonly,
|
|
86
|
-
required: e.required
|
|
91
|
+
required: e.required,
|
|
92
|
+
swatches: e.swatches
|
|
87
93
|
}, t), {
|
|
88
94
|
"append-outer": a(() => [
|
|
89
95
|
l(e.$slots, "append-outer")
|
|
@@ -104,7 +110,7 @@ const E = /* @__PURE__ */ c({
|
|
|
104
110
|
l(e.$slots, "prepend-outer")
|
|
105
111
|
]),
|
|
106
112
|
_: 2
|
|
107
|
-
}, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "clearable", "compact", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required"])
|
|
113
|
+
}, 1040, ["id", "alpha", "append:icon", "aria-describedby", "autocomplete", "autofocus", "clearable", "compact", "disabled", "has-errors", "loading", "model-value", "name", "picker", "placeholder", "prepend:icon", "readonly", "required", "swatches"])
|
|
108
114
|
]),
|
|
109
115
|
_: 3
|
|
110
116
|
}, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
package/dist/index74.js
CHANGED
|
@@ -1,85 +1,125 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
import N from "./index115.js";
|
|
1
|
+
import { defineComponent as L, ref as u, computed as m, watch as n, nextTick as P, onBeforeUnmount as C, createElementBlock as D, openBlock as R, Fragment as T, renderSlot as U, createCommentVNode as $, createVNode as g, normalizeProps as F, mergeProps as H, unref as I, withCtx as M } from "vue";
|
|
2
|
+
import { extractDomContainer as d } from "./index259.js";
|
|
3
|
+
import { useLocale as N } from "./index236.js";
|
|
4
|
+
import S from "./index286.js";
|
|
6
5
|
/* empty css */
|
|
7
|
-
import
|
|
8
|
-
/* empty css
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
6
|
+
import q from "./index247.js";
|
|
7
|
+
/* empty css */
|
|
8
|
+
const W = /* @__PURE__ */ L({
|
|
9
|
+
__name: "BbColorPalette",
|
|
10
|
+
props: {
|
|
11
|
+
arrowPadding: {},
|
|
12
|
+
eager: { type: Boolean },
|
|
13
|
+
offset: { default: 4 },
|
|
14
|
+
padding: { default: 6 },
|
|
15
|
+
placement: {},
|
|
16
|
+
transitionDuration: { default: 250 },
|
|
17
|
+
modelValue: {},
|
|
18
|
+
alpha: { type: Boolean, default: !1 },
|
|
19
|
+
swatches: { type: [Boolean, Array] },
|
|
20
|
+
activator: {},
|
|
21
|
+
anchor: {},
|
|
22
|
+
boundary: {},
|
|
23
|
+
flip: { type: Boolean, default: !0 },
|
|
24
|
+
showArrow: { type: Boolean, default: !1 },
|
|
25
|
+
disabled: { type: Boolean },
|
|
26
|
+
readonly: { type: Boolean },
|
|
27
|
+
label: {},
|
|
28
|
+
picker: { type: Boolean, default: !1 }
|
|
29
|
+
},
|
|
30
|
+
emits: ["update:modelValue", "update:open"],
|
|
31
|
+
setup(y, { emit: k }) {
|
|
32
|
+
const t = y, f = k, { t: v } = N(), b = u(null), r = u(), s = u(), w = m(() => t.activator != null), A = (e) => {
|
|
33
|
+
r.value = d(e) ?? void 0;
|
|
34
|
+
}, E = (e) => {
|
|
35
|
+
s.value = d(e) ?? void 0;
|
|
36
|
+
};
|
|
37
|
+
n(
|
|
38
|
+
() => t.activator,
|
|
39
|
+
(e) => {
|
|
40
|
+
r.value = d(e) ?? void 0;
|
|
41
|
+
},
|
|
42
|
+
{ immediate: !0 }
|
|
43
|
+
), n(
|
|
44
|
+
() => t.anchor,
|
|
45
|
+
(e) => {
|
|
46
|
+
s.value = e != null ? d(e) ?? void 0 : void 0;
|
|
47
|
+
},
|
|
48
|
+
{ immediate: !0 }
|
|
49
|
+
);
|
|
50
|
+
const B = m(() => s.value ?? r.value), a = u(!1);
|
|
51
|
+
let p = null;
|
|
52
|
+
const h = (e) => {
|
|
53
|
+
t.disabled || t.readonly || (e.stopPropagation(), a.value = !a.value);
|
|
54
|
+
}, c = (e) => {
|
|
55
|
+
e.target instanceof HTMLDialogElement && (a.value = !1);
|
|
56
|
+
};
|
|
57
|
+
n(a, async (e) => {
|
|
58
|
+
f("update:open", e), e ? (p = document.activeElement instanceof HTMLElement ? document.activeElement : null, document.addEventListener("click", c, { passive: !0 }), await P(), b.value?.el?.querySelector('[tabindex="0"]')?.focus()) : (document.removeEventListener("click", c), p?.focus(), p = null);
|
|
59
|
+
});
|
|
60
|
+
let i = null;
|
|
61
|
+
n(
|
|
62
|
+
r,
|
|
63
|
+
(e) => {
|
|
64
|
+
i?.(), i = null, e && (e.addEventListener("click", h), i = () => {
|
|
65
|
+
e.removeEventListener("click", h), e.removeAttribute("aria-haspopup"), e.removeAttribute("aria-expanded"), e.removeAttribute("aria-label");
|
|
66
|
+
});
|
|
67
|
+
},
|
|
68
|
+
{ immediate: !0 }
|
|
69
|
+
);
|
|
70
|
+
const V = m(
|
|
71
|
+
() => t.label ?? v("colorInput.openPicker").value
|
|
72
|
+
);
|
|
73
|
+
return n(
|
|
74
|
+
[r, a, V],
|
|
75
|
+
([e, o, l]) => {
|
|
76
|
+
e && (e.setAttribute("aria-haspopup", "dialog"), e.setAttribute("aria-expanded", o ? "true" : "false"), e.setAttribute("aria-label", l));
|
|
77
|
+
},
|
|
78
|
+
{ immediate: !0 }
|
|
79
|
+
), C(() => {
|
|
80
|
+
i?.(), document.removeEventListener("click", c);
|
|
81
|
+
}), (e, o) => (R(), D(T, null, [
|
|
82
|
+
w.value ? $("", !0) : U(e.$slots, "activator", F(H({ key: 0 }, {
|
|
83
|
+
props: { ref: A },
|
|
84
|
+
anchorProps: { ref: E },
|
|
85
|
+
open: a.value,
|
|
86
|
+
color: e.modelValue,
|
|
87
|
+
disabled: e.disabled
|
|
88
|
+
}))),
|
|
89
|
+
g(q, {
|
|
90
|
+
modelValue: a.value,
|
|
91
|
+
"onUpdate:modelValue": o[1] || (o[1] = (l) => a.value = l),
|
|
92
|
+
anchor: B.value,
|
|
93
|
+
"aria-label": I(v)("colorInput.dialogLabel").value,
|
|
94
|
+
"arrow-padding": e.arrowPadding,
|
|
95
|
+
boundary: e.boundary,
|
|
96
|
+
class: "bb-color-palette__popover",
|
|
97
|
+
dialog: "",
|
|
98
|
+
eager: e.eager,
|
|
99
|
+
flip: e.flip,
|
|
100
|
+
"hide-arrow": !e.showArrow,
|
|
101
|
+
offset: e.offset,
|
|
102
|
+
padding: e.padding,
|
|
103
|
+
placement: e.placement,
|
|
104
|
+
"transition-duration": e.transitionDuration
|
|
105
|
+
}, {
|
|
106
|
+
default: M(() => [
|
|
107
|
+
g(S, {
|
|
108
|
+
ref_key: "paletteRef",
|
|
109
|
+
ref: b,
|
|
110
|
+
alpha: e.alpha,
|
|
111
|
+
inert: !a.value,
|
|
112
|
+
"model-value": e.modelValue,
|
|
113
|
+
picker: e.picker,
|
|
114
|
+
swatches: e.swatches,
|
|
115
|
+
"onUpdate:modelValue": o[0] || (o[0] = (l) => f("update:modelValue", l))
|
|
116
|
+
}, null, 8, ["alpha", "inert", "model-value", "picker", "swatches"])
|
|
77
117
|
]),
|
|
78
|
-
|
|
79
|
-
}
|
|
80
|
-
]
|
|
118
|
+
_: 1
|
|
119
|
+
}, 8, ["modelValue", "anchor", "aria-label", "arrow-padding", "boundary", "eager", "flip", "hide-arrow", "offset", "padding", "placement", "transition-duration"])
|
|
120
|
+
], 64));
|
|
81
121
|
}
|
|
82
122
|
});
|
|
83
123
|
export {
|
|
84
|
-
|
|
124
|
+
W as default
|
|
85
125
|
};
|