bitboss-ui 2.0.135 → 2.0.137
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/index100.js +9 -9
- package/dist/index111.js +79 -79
- package/dist/index119.js +2 -2
- package/dist/index121.js +6 -6
- package/dist/index123.js +1 -1
- package/dist/index125.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index129.js +1 -1
- package/dist/index13.js +2 -2
- package/dist/index131.js +1 -1
- package/dist/index132.js +2 -2
- package/dist/index133.js +2 -2
- package/dist/index15.js +8 -8
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index205.js +2 -115
- package/dist/index206.js +5 -2
- package/dist/index207.js +16 -2
- package/dist/index208.js +16 -4
- package/dist/index209.js +19 -2
- package/dist/index21.js +16 -16
- package/dist/index210.js +15 -5
- package/dist/index211.js +16 -13
- package/dist/index212.js +24 -13
- package/dist/index213.js +3 -19
- package/dist/index214.js +2 -15
- package/dist/index215.js +8 -19
- package/dist/index216.js +248 -25
- package/dist/index217.js +52 -3
- package/dist/index218.js +44 -2
- package/dist/index219.js +5 -8
- package/dist/index220.js +53 -243
- package/dist/index221.js +12 -51
- package/dist/index222.js +3 -44
- package/dist/index223.js +64 -4
- package/dist/index225.js +13 -13
- package/dist/index226.js +125 -86
- package/dist/index227.js +4 -0
- package/dist/index228.js +40 -28
- package/dist/index229.js +19 -16
- package/dist/index23.js +16 -16
- package/dist/index230.js +6 -51
- package/dist/index231.js +94 -15
- package/dist/index233.js +2 -16
- package/dist/index234.js +2 -4
- package/dist/index235.js +4 -41
- package/dist/index236.js +2 -20
- package/dist/index237.js +81 -89
- package/dist/index239.js +26 -197
- package/dist/index240.js +19 -0
- package/dist/index241.js +50 -64
- package/dist/index242.js +17 -0
- package/dist/index243.js +12 -13
- package/dist/index244.js +16 -3
- package/dist/index245.js +115 -6
- package/dist/index246.js +4 -7
- package/dist/index247.js +196 -11
- package/dist/index249.js +3 -2
- package/dist/index25.js +7 -7
- package/dist/index250.js +7 -2
- package/dist/index251.js +15 -3
- package/dist/index252.js +2 -18
- package/dist/index253.js +2 -126
- package/dist/index254.js +17 -105
- package/dist/index255.js +128 -0
- package/dist/index256.js +53 -47
- package/dist/index258.js +100 -12
- package/dist/index260.js +11 -368
- package/dist/index261.js +228 -2
- package/dist/index262.js +369 -2
- package/dist/index265.js +281 -9
- package/dist/index266.js +6 -23
- package/dist/index267.js +2 -6
- package/dist/index268.js +2 -16
- package/dist/index269.js +2 -4
- package/dist/index27.js +1 -1
- package/dist/index270.js +2 -9
- package/dist/index271.js +2 -9
- package/dist/index272.js +2 -8
- package/dist/index273.js +2 -281
- package/dist/index274.js +2 -6
- package/dist/index275.js +2 -2
- package/dist/index276.js +2 -2
- package/dist/index277.js +2 -2
- package/dist/index278.js +28 -2
- package/dist/index279.js +22 -2
- package/dist/index281.js +7 -2
- package/dist/index282.js +7 -2
- package/dist/index283.js +11 -2
- package/dist/index284.js +224 -2
- package/dist/index285.js +3 -2
- package/dist/index287.js +3 -22
- package/dist/index288.js +19 -0
- package/dist/index289.js +9 -7
- package/dist/index29.js +3 -3
- package/dist/index290.js +3 -6
- package/dist/index291.js +2 -11
- package/dist/index292.js +431 -3
- package/dist/index293.js +174 -15
- package/dist/index294.js +3 -431
- package/dist/index295.js +6 -173
- package/dist/index296.js +23 -3
- package/dist/index297.js +6 -3
- package/dist/index298.js +16 -3
- package/dist/index299.js +11 -0
- package/dist/index300.js +3 -2
- package/dist/index301.js +8 -89
- package/dist/index303.js +2 -2
- package/dist/index304.js +83 -218
- package/dist/index306.js +1 -1
- package/dist/index307.js +1 -1
- package/dist/index308.js +1 -1
- package/dist/index31.js +2 -2
- package/dist/index311.js +7 -2
- package/dist/index312.js +18 -66
- package/dist/index313.js +7 -5
- package/dist/index314.js +2 -5
- package/dist/index315.js +5 -8
- package/dist/index316.js +32 -2
- package/dist/index317.js +26 -3
- package/dist/index318.js +65 -56
- package/dist/index319.js +4 -3
- package/dist/index320.js +7 -6
- package/dist/index321.js +57 -7
- package/dist/index322.js +56 -18
- package/dist/index323.js +4 -57
- package/dist/index324.js +3 -57
- package/dist/index325.js +3 -33
- package/dist/index326.js +56 -24
- package/dist/index327.js +480 -8
- package/dist/index328.js +7 -5
- package/dist/index329.js +6 -8
- package/dist/index33.js +8 -8
- package/dist/index330.js +8 -480
- package/dist/index334.js +4 -0
- package/dist/index35.js +4 -4
- package/dist/index37.js +22 -22
- package/dist/index39.js +5 -5
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +8 -8
- package/dist/index47.js +2 -2
- package/dist/index49.js +2 -2
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index61.js +1 -1
- package/dist/index75.js +3 -3
- package/dist/index77.js +1 -1
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index84.js +4 -4
- package/dist/index86.js +2 -2
- package/dist/index88.js +5 -5
- package/dist/index90.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index224.js +0 -62
- package/dist/index232.js +0 -14
- package/dist/index248.js +0 -127
- package/dist/index259.js +0 -230
- package/dist/index280.js +0 -4
- package/dist/index286.js +0 -30
- package/dist/index332.js +0 -4
package/dist/index100.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import { defineComponent as D, computed as V, toRef as r, reactive as E, watch as m, ref as L, openBlock as b, createElementBlock as B, Fragment as g, renderSlot as i, unref as P, createCommentVNode as R, renderList as j } from "vue";
|
2
|
-
import { useItemValue as G } from "./
|
3
|
-
import { isNil as k } from "./
|
4
|
-
import { indexBy as U } from "./
|
5
|
-
import { hash as p } from "./
|
6
|
-
import { useItemsGetter as W } from "./
|
7
|
-
import { usePrefill as q } from "./
|
8
|
-
import { useIndexById as z } from "./
|
9
|
-
import { useBaseOptions as J } from "./
|
10
|
-
import { useHashedWatcher as K } from "./
|
2
|
+
import { useItemValue as G } from "./index289.js";
|
3
|
+
import { isNil as k } from "./index253.js";
|
4
|
+
import { indexBy as U } from "./index301.js";
|
5
|
+
import { hash as p } from "./index213.js";
|
6
|
+
import { useItemsGetter as W } from "./index239.js";
|
7
|
+
import { usePrefill as q } from "./index244.js";
|
8
|
+
import { useIndexById as z } from "./index240.js";
|
9
|
+
import { useBaseOptions as J } from "./index241.js";
|
10
|
+
import { useHashedWatcher as K } from "./index243.js";
|
11
11
|
const oe = /* @__PURE__ */ D({
|
12
12
|
__name: "BbRows",
|
13
13
|
props: {
|
package/dist/index111.js
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
import { defineComponent as ue, ref as K, computed as h, toRef as
|
2
|
-
import { add as ve } from "./
|
3
|
-
import { clamp as ke } from "./
|
4
|
-
import { isNil as T } from "./
|
1
|
+
import { defineComponent as ue, ref as K, computed as h, toRef as O, watch as D, reactive as pe, openBlock as n, createBlock as Q, resolveDynamicComponent as me, normalizeClass as p, unref as v, withCtx as fe, createElementBlock as d, toDisplayString as m, createCommentVNode as g, createElementVNode as o, renderSlot as f, Fragment as A, renderList as B, createVNode as X, createTextVNode as ye, mergeProps as he } from "vue";
|
2
|
+
import { add as ve } from "./index314.js";
|
3
|
+
import { clamp as ke } from "./index205.js";
|
4
|
+
import { isNil as T } from "./index253.js";
|
5
5
|
import { useId as _e } from "./index8.js";
|
6
|
-
import { useItemValue as ge } from "./
|
7
|
-
import { when as Ce } from "./
|
6
|
+
import { useItemValue as ge } from "./index289.js";
|
7
|
+
import { when as Ce } from "./index235.js";
|
8
8
|
import Y from "./index17.js";
|
9
9
|
/* empty css */
|
10
10
|
import we from "./index31.js";
|
11
11
|
/* empty css */
|
12
|
-
import { hash as
|
13
|
-
import { useItemsGetter as Ie } from "./
|
14
|
-
import { usePrefill as Ve } from "./
|
15
|
-
import { useIndexById as Ae } from "./
|
16
|
-
import { useBaseOptions as Be } from "./
|
17
|
-
import { useHashedWatcher as Te } from "./
|
18
|
-
import { useLocale as $e } from "./
|
12
|
+
import { hash as E } from "./index213.js";
|
13
|
+
import { useItemsGetter as Ie } from "./index239.js";
|
14
|
+
import { usePrefill as Ve } from "./index244.js";
|
15
|
+
import { useIndexById as Ae } from "./index240.js";
|
16
|
+
import { useBaseOptions as Be } from "./index241.js";
|
17
|
+
import { useHashedWatcher as Te } from "./index243.js";
|
18
|
+
import { useLocale as $e } from "./index221.js";
|
19
19
|
const xe = {
|
20
20
|
key: 0,
|
21
21
|
class: "sr-only"
|
@@ -67,55 +67,55 @@ const xe = {
|
|
67
67
|
},
|
68
68
|
emits: ["click:row", "contextmenu:row", "dblclick:row", "update:modelValue", "update:selectAll", "update:unselectedItems", "item:selected", "item:unselected"],
|
69
69
|
setup(Z, { emit: ee }) {
|
70
|
-
const { getItemValue: le } = ge(),
|
70
|
+
const { getItemValue: le } = ge(), j = _e().id.value, t = Z, c = ee, { t: C } = $e(), $ = K(), te = (e) => [C("table.select").value].concat(e.map((s) => s.content)).join(" "), ae = h(() => t.selectable ? "fieldset" : "div"), q = h(() => t.loading || se.value), w = h(
|
71
71
|
() => !T(t.page) && !T(t.perPage) && !T(t.totalItems)
|
72
|
-
),
|
73
|
-
(e,
|
72
|
+
), z = h(() => [!!t.selectable, !!t.actions].reduce(
|
73
|
+
(e, s) => e + +!!s,
|
74
74
|
t.columns.length
|
75
|
-
)),
|
75
|
+
)), F = h(
|
76
76
|
() => t.columns.reduce(
|
77
|
-
(e,
|
78
|
-
const l =
|
79
|
-
return e[
|
77
|
+
(e, s) => {
|
78
|
+
const l = s.key.split(/\W+/g).join("_").toLowerCase();
|
79
|
+
return e[s.key] = l, e;
|
80
80
|
},
|
81
81
|
{}
|
82
82
|
)
|
83
83
|
), {
|
84
|
-
getter:
|
84
|
+
getter: M,
|
85
85
|
items: S,
|
86
86
|
loading: se
|
87
87
|
} = Ie({
|
88
|
-
items:
|
88
|
+
items: O(t, "items")
|
89
89
|
}), { hasPrefilled: oe } = Ve({
|
90
90
|
onStart: !0,
|
91
91
|
currentValue: t.modelValue,
|
92
92
|
multiple: t.multiple,
|
93
93
|
fn: async ({ prefill: e }) => {
|
94
|
-
await
|
94
|
+
await M(e, t.modelValue);
|
95
95
|
}
|
96
|
-
}), { data:
|
97
|
-
items:
|
96
|
+
}), { data: U } = Ae({
|
97
|
+
items: O(t, "modelValue")
|
98
98
|
}), { options: x } = Be({
|
99
|
-
disabled:
|
99
|
+
disabled: O(t, "disabled"),
|
100
100
|
items: S,
|
101
101
|
itemText: void 0,
|
102
102
|
itemValue: t.itemValue,
|
103
103
|
max: t.max,
|
104
104
|
selectable: !0,
|
105
|
-
selectedIndexedByHash:
|
105
|
+
selectedIndexedByHash: U
|
106
106
|
}), ne = async (e) => {
|
107
107
|
t.multiple ? c("update:modelValue", t.modelValue.concat(e.value)) : c("update:modelValue", e.value);
|
108
108
|
}, de = async (e) => {
|
109
109
|
if (t.multiple) {
|
110
|
-
const
|
111
|
-
delete
|
110
|
+
const s = { ...U.value };
|
111
|
+
delete s[e.valueHash], c("update:modelValue", Object.values(s));
|
112
112
|
} else
|
113
113
|
c("update:modelValue", null);
|
114
114
|
};
|
115
115
|
Te(
|
116
116
|
() => [t.dependencies, t.items],
|
117
117
|
async () => {
|
118
|
-
oe.value && await
|
118
|
+
oe.value && await M(!1, t.modelValue);
|
119
119
|
},
|
120
120
|
{
|
121
121
|
debounce: t.depsDebounceTime
|
@@ -124,12 +124,12 @@ const xe = {
|
|
124
124
|
const ce = h(
|
125
125
|
() => t.columns.map(
|
126
126
|
(e) => {
|
127
|
-
const
|
128
|
-
let i = [`bb-table-header--${
|
127
|
+
const s = e.align || "left", { label: l, key: u } = e, I = `header:${F.value[e.key]}`;
|
128
|
+
let i = [`bb-table-header--${s}`];
|
129
129
|
t.thClass && (i = i.concat(t.thClass)), e.thClass && (i = i.concat(e.thClass));
|
130
130
|
const r = e.sorted ? e.sorted === "asc" ? "ascending" : "descending" : void 0;
|
131
131
|
return {
|
132
|
-
align:
|
132
|
+
align: s,
|
133
133
|
key: u,
|
134
134
|
label: l,
|
135
135
|
slotName: I,
|
@@ -138,33 +138,33 @@ const xe = {
|
|
138
138
|
};
|
139
139
|
}
|
140
140
|
)
|
141
|
-
),
|
142
|
-
(e,
|
141
|
+
), W = h(() => x.value.map(
|
142
|
+
(e, s) => {
|
143
143
|
let l = !t.selectable;
|
144
144
|
typeof t.selectable == "function" && (l = !t.selectable(e.item)), l = l || !!e.disabled;
|
145
|
-
const u = w.value ?
|
146
|
-
(
|
147
|
-
const L =
|
148
|
-
let y = le(e.item,
|
149
|
-
|
150
|
-
(!T(y) ||
|
145
|
+
const u = w.value ? s + (t.page - 1) * t.perPage + 2 : void 0, I = t.columns.map(
|
146
|
+
(a) => {
|
147
|
+
const L = F.value[a.key], N = a.align || "left", { label: R, key: P } = a;
|
148
|
+
let y = le(e.item, a.key);
|
149
|
+
a.formatter && // By default the formatter runs anyway
|
150
|
+
(!T(y) || a.formatOnNull !== !1) && (y = a.formatter(y, a.key, e.item)), a.placeholder && T(y) && (y = a.placeholder);
|
151
151
|
let b = [`bb-table-data__cell--${N}`];
|
152
152
|
if (t.tdClass)
|
153
153
|
if (typeof t.tdClass == "function") {
|
154
|
-
let V = t.tdClass(y,
|
154
|
+
let V = t.tdClass(y, a.key, e.item);
|
155
155
|
V && (b = b.concat(V));
|
156
156
|
} else b = b.concat(t.tdClass);
|
157
|
-
if (
|
158
|
-
if (typeof
|
159
|
-
let V =
|
157
|
+
if (a.tdClass)
|
158
|
+
if (typeof a.tdClass == "function") {
|
159
|
+
let V = a.tdClass(y, a.key, e.item);
|
160
160
|
V && (b = b.concat(V));
|
161
|
-
} else b = b.concat(
|
161
|
+
} else b = b.concat(a.tdClass);
|
162
162
|
return {
|
163
163
|
align: N,
|
164
164
|
classes: b,
|
165
165
|
content: y,
|
166
|
-
key:
|
167
|
-
label:
|
166
|
+
key: P,
|
167
|
+
label: R,
|
168
168
|
slotName: L
|
169
169
|
};
|
170
170
|
}
|
@@ -172,9 +172,9 @@ const xe = {
|
|
172
172
|
return {
|
173
173
|
accessibleLabel: te(I),
|
174
174
|
cols: I,
|
175
|
-
onRowClick: (
|
176
|
-
onRowContextMenu: (
|
177
|
-
onRowDblClick: (
|
175
|
+
onRowClick: (a) => c("click:row", a, e, !!e.selected),
|
176
|
+
onRowContextMenu: (a) => c("contextmenu:row", a, e, !!e.selected),
|
177
|
+
onRowDblClick: (a) => c("dblclick:row", a, e, !!e.selected),
|
178
178
|
item: e.item,
|
179
179
|
text: e.text,
|
180
180
|
rowIndex: u,
|
@@ -195,47 +195,47 @@ const xe = {
|
|
195
195
|
});
|
196
196
|
const G = h(() => {
|
197
197
|
var e;
|
198
|
-
return (e = t.modelValue) != null && e.length
|
198
|
+
return (e = t.modelValue) != null && e.length && !t.selectAll ? !0 : !!(k.value && _.size);
|
199
199
|
}), _ = pe(/* @__PURE__ */ new Set());
|
200
200
|
D(
|
201
201
|
() => t.unselectedItems,
|
202
202
|
() => {
|
203
203
|
_.clear(), t.unselectedItems.forEach((e) => {
|
204
|
-
_.add(
|
204
|
+
_.add(E(e));
|
205
205
|
});
|
206
206
|
}
|
207
207
|
);
|
208
208
|
const J = (e) => {
|
209
|
-
|
209
|
+
H(e) ? (de(e), c("item:unselected", e.value), _.add(e.valueHash), c("update:unselectedItems", [...t.unselectedItems, e.value])) : (k.value || ne(e), c("item:selected", e.value), _.delete(e.valueHash), c(
|
210
210
|
"update:unselectedItems",
|
211
|
-
t.unselectedItems.filter((
|
211
|
+
t.unselectedItems.filter((s) => E(s) !== E(e.value))
|
212
212
|
));
|
213
|
-
},
|
213
|
+
}, H = (e) => _.has(e.valueHash) ? !1 : e.selected || k.value, ie = Ce(
|
214
214
|
(e) => typeof e != "string",
|
215
215
|
JSON.stringify
|
216
216
|
), re = h(() => [].concat(t.modelValue).map((e) => {
|
217
|
-
const
|
217
|
+
const s = ie(e);
|
218
218
|
return {
|
219
219
|
disabled: t.disabled,
|
220
220
|
name: t.name,
|
221
221
|
type: "hidden",
|
222
|
-
value:
|
222
|
+
value: s
|
223
223
|
};
|
224
224
|
})), be = h(() => ke(x.value.length, 4, 10));
|
225
225
|
return D(
|
226
|
-
() =>
|
226
|
+
() => W.value,
|
227
227
|
() => {
|
228
228
|
var e;
|
229
229
|
if (t.fixedColumns.length && t.items && $.value) {
|
230
|
-
const
|
230
|
+
const s = Array.from(
|
231
231
|
$.value.querySelectorAll("thead th")
|
232
232
|
), l = t.fixedColumns.reduce(
|
233
233
|
(i, r) => {
|
234
|
-
const
|
235
|
-
index:
|
234
|
+
const a = typeof r == "number" ? r : r.index, L = typeof r == "number" ? "left" : r.position, N = s[a].getBoundingClientRect(), R = Math.floor(N.width), P = i.filter((b) => b.position === L).map((b) => b.width).reduce(ve, 0), y = {
|
235
|
+
index: a,
|
236
236
|
position: L,
|
237
|
-
width:
|
238
|
-
offset:
|
237
|
+
width: R,
|
238
|
+
offset: P
|
239
239
|
};
|
240
240
|
return i.push(y), i;
|
241
241
|
},
|
@@ -248,8 +248,8 @@ const xe = {
|
|
248
248
|
)
|
249
249
|
)
|
250
250
|
).forEach((i) => {
|
251
|
-
i.forEach((r,
|
252
|
-
r.style.position = "sticky", l[
|
251
|
+
i.forEach((r, a) => {
|
252
|
+
r.style.position = "sticky", l[a].position === "left" ? r.style.left = `${l[a].offset}px` : r.style.right = `${l[a].offset}px`;
|
253
253
|
});
|
254
254
|
});
|
255
255
|
}
|
@@ -257,7 +257,7 @@ const xe = {
|
|
257
257
|
{
|
258
258
|
flush: "post"
|
259
259
|
}
|
260
|
-
), (e,
|
260
|
+
), (e, s) => (n(), Q(me(ae.value), {
|
261
261
|
ref_key: "container",
|
262
262
|
ref: $,
|
263
263
|
"aria-rowcount": w.value ? e.totalItems : void 0,
|
@@ -267,7 +267,7 @@ const xe = {
|
|
267
267
|
"bb-table--compact": e.compact,
|
268
268
|
"bb-table--fixed": e.fixed,
|
269
269
|
"bb-table--fixed-header": e.fixedHeaders,
|
270
|
-
"bb-table--loading":
|
270
|
+
"bb-table--loading": q.value,
|
271
271
|
"bb-table--empty": !v(x).length,
|
272
272
|
"bb-table--selectable": e.selectable
|
273
273
|
})
|
@@ -309,8 +309,8 @@ const xe = {
|
|
309
309
|
key: G.value.toString(),
|
310
310
|
modelValue: k.value,
|
311
311
|
"onUpdate:modelValue": [
|
312
|
-
|
313
|
-
|
312
|
+
s[0] || (s[0] = (l) => k.value = l),
|
313
|
+
s[1] || (s[1] = (l) => c("update:selectAll", l))
|
314
314
|
],
|
315
315
|
class: "bb-table-check",
|
316
316
|
disabled: e.disabled,
|
@@ -350,7 +350,7 @@ const xe = {
|
|
350
350
|
])
|
351
351
|
]),
|
352
352
|
o("tbody", null, [
|
353
|
-
|
353
|
+
q.value ? f(e.$slots, "loading", {
|
354
354
|
key: 0,
|
355
355
|
items: v(S)
|
356
356
|
}, () => [
|
@@ -360,14 +360,14 @@ const xe = {
|
|
360
360
|
}, [
|
361
361
|
o("td", {
|
362
362
|
class: "bb-table-loading__cell",
|
363
|
-
colspan:
|
363
|
+
colspan: z.value
|
364
364
|
}, [
|
365
365
|
o("span", je, m(e.loadingText), 1),
|
366
366
|
o("div", qe, [
|
367
367
|
(n(!0), d(A, null, B(be.value, (l) => (n(), d("div", {
|
368
368
|
key: l,
|
369
369
|
class: "bb-table-skeleton-item"
|
370
|
-
},
|
370
|
+
}, s[2] || (s[2] = [
|
371
371
|
o("div", { class: "bb-table-skeleton-item__avatar-container" }, [
|
372
372
|
o("div", { class: "bb-table-skeleton-item__avatar" })
|
373
373
|
], -1),
|
@@ -380,7 +380,7 @@ const xe = {
|
|
380
380
|
], 8, Ee)
|
381
381
|
], 8, Oe)
|
382
382
|
]) : v(x).length ? f(e.$slots, "tbody", { key: 2 }, () => [
|
383
|
-
(n(!0), d(A, null, B(
|
383
|
+
(n(!0), d(A, null, B(W.value, (l) => (n(), d("tr", {
|
384
384
|
key: l.valueHash,
|
385
385
|
"aria-rowindex": l.rowIndex,
|
386
386
|
class: "bb-table-data__row",
|
@@ -393,9 +393,9 @@ const xe = {
|
|
393
393
|
class: p(["bb-table-data__cell bb-table-data__cell--select", e.tdClass])
|
394
394
|
}, [
|
395
395
|
f(e.$slots, "select", {
|
396
|
-
checked:
|
396
|
+
checked: H(l),
|
397
397
|
disabled: !!l.disabled,
|
398
|
-
inputName: v(
|
398
|
+
inputName: v(j),
|
399
399
|
item: l.item,
|
400
400
|
readonly: !!e.readonly,
|
401
401
|
value: l.value
|
@@ -407,7 +407,7 @@ const xe = {
|
|
407
407
|
}])
|
408
408
|
}, [
|
409
409
|
X(Y, {
|
410
|
-
checked:
|
410
|
+
checked: H(l),
|
411
411
|
class: "bb-table-check",
|
412
412
|
disabled: l.disabled,
|
413
413
|
readonly: e.readonly,
|
@@ -424,7 +424,7 @@ const xe = {
|
|
424
424
|
checked: l.selected,
|
425
425
|
class: "bb-table-radio",
|
426
426
|
disabled: l.disabled,
|
427
|
-
name: v(
|
427
|
+
name: v(j),
|
428
428
|
readonly: e.readonly,
|
429
429
|
value: l.value,
|
430
430
|
onChange: () => J(l)
|
@@ -463,7 +463,7 @@ const xe = {
|
|
463
463
|
}, [
|
464
464
|
o("td", {
|
465
465
|
class: "bb-table-no-data__cell",
|
466
|
-
colspan:
|
466
|
+
colspan: z.value
|
467
467
|
}, [
|
468
468
|
o("span", Me, m(e.noDataText || v(C)("table.noDataText").value), 1)
|
469
469
|
], 8, Fe)
|
package/dist/index119.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as l, openBlock as e, createBlock as o, withCtx as r, createElementVNode as c, normalizeClass as m, createVNode as i, TransitionGroup as u, createElementBlock as p, Fragment as f, renderList as _, unref as n, mergeProps as d } from "vue";
|
2
2
|
import { state as k, useToast as b } from "./index11.js";
|
3
|
-
import C from "./
|
4
|
-
import B from "./
|
3
|
+
import C from "./index251.js";
|
4
|
+
import B from "./index318.js";
|
5
5
|
const V = /* @__PURE__ */ l({
|
6
6
|
__name: "BbToast",
|
7
7
|
props: {
|
package/dist/index121.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import { defineComponent as H, ref as o, watch as I, computed as z, openBlock as E, createElementBlock as R, mergeProps as S, createElementVNode as p, renderSlot as B, normalizeProps as U, guardReactiveProps as W, unref as u, createVNode as j, withCtx as C, createBlock as q, createCommentVNode as A } from "vue";
|
2
|
-
import { useFloating as G, arrow as J } from "./
|
2
|
+
import { useFloating as G, arrow as J } from "./index255.js";
|
3
3
|
import { useId as K } from "./index8.js";
|
4
4
|
import { wait as L } from "./index130.js";
|
5
5
|
import Q from "./index13.js";
|
6
6
|
/* empty css */
|
7
|
-
import { throttle as v } from "./
|
8
|
-
import { waitFor as X } from "./
|
9
|
-
import Y from "./
|
7
|
+
import { throttle as v } from "./index249.js";
|
8
|
+
import { waitFor as X } from "./index230.js";
|
9
|
+
import Y from "./index231.js";
|
10
10
|
/* empty css */
|
11
|
-
import { useLocale as Z } from "./
|
12
|
-
import { autoUpdate as x, flip as ee, shift as te, hide as oe } from "./
|
11
|
+
import { useLocale as Z } from "./index221.js";
|
12
|
+
import { autoUpdate as x, flip as ee, shift as te, hide as oe } from "./index262.js";
|
13
13
|
const ae = { class: "bb-tooltip__content" }, be = /* @__PURE__ */ H({
|
14
14
|
__name: "BbTooltip",
|
15
15
|
props: {
|
package/dist/index123.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as $, computed as g, resolveComponent as y, openBlock as f, createElementBlock as i, Fragment as k, renderList as h, normalizeClass as b, createElementVNode as s, renderSlot as t, createVNode as v, createSlots as B, withCtx as _, mergeProps as C } from "vue";
|
2
|
-
import { flattenTree as T } from "./
|
2
|
+
import { flattenTree as T } from "./index315.js";
|
3
3
|
const w = { class: "bb-tree-row" }, E = { class: "bb-tree-main-content" }, N = /* @__PURE__ */ $({
|
4
4
|
__name: "BbTree",
|
5
5
|
props: {
|
package/dist/index125.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as i, openBlock as o, createElementBlock as a, createElementVNode as t, renderSlot as p, createTextVNode as b, toDisplayString as m, unref as u, withModifiers as d, createCommentVNode as _ } from "vue";
|
2
|
-
import { useLocale as f } from "./
|
2
|
+
import { useLocale as f } from "./index221.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/index127.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as v, ref as p, getCurrentInstance as c, onServerPrefetch as w, onBeforeMount as z, inject as _, watch as b, computed as f, openBlock as h, createElementBlock as $, mergeProps as g } from "vue";
|
2
|
-
import { isCssColor as I } from "./
|
2
|
+
import { isCssColor as I } from "./index234.js";
|
3
3
|
const B = ["innerHTML"], k = /* @__PURE__ */ v({
|
4
4
|
__name: "BbIcon",
|
5
5
|
props: {
|
package/dist/index128.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as v, ref as r, onMounted as p, onBeforeUnmount as h, openBlock as i, createBlock as l, resolveDynamicComponent as u, normalizeStyle as m, withCtx as f, renderSlot as d } from "vue";
|
2
|
-
import { throttle as g } from "./
|
2
|
+
import { throttle as g } from "./index249.js";
|
3
3
|
const O = /* @__PURE__ */ v({
|
4
4
|
__name: "BbSmoothHeight",
|
5
5
|
props: {
|
package/dist/index129.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as p, computed as s, openBlock as b, createElementBlock as a, normalizeProps as _, guardReactiveProps as x, createStaticVNode as m } from "vue";
|
2
|
-
import { isCssColor as u } from "./
|
2
|
+
import { isCssColor as u } from "./index234.js";
|
3
3
|
const f = /* @__PURE__ */ p({
|
4
4
|
__name: "BbSpinner",
|
5
5
|
props: {
|
package/dist/index13.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as C, getCurrentInstance as d, shallowRef as x, watch as S, computed as f, openBlock as L, createBlock as B, resolveDynamicComponent as N, unref as $, mergeProps as F, withCtx as w, renderSlot as A, createTextVNode as P, toDisplayString as _, resolveComponent as m } from "vue";
|
2
2
|
import { _config as o } from "./index4.js";
|
3
|
-
import { useLogger as v } from "./
|
4
|
-
import { hash as g } from "./
|
3
|
+
import { useLogger as v } from "./index215.js";
|
4
|
+
import { hash as g } from "./index213.js";
|
5
5
|
const I = /* @__PURE__ */ C({
|
6
6
|
__name: "BaseButton",
|
7
7
|
props: {
|
package/dist/index131.js
CHANGED
package/dist/index132.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { toValue as O, tryOnScopeDispose as R, notNullish as $, noop as W, useDebounceFn as q, useThrottleFn as G, tryOnMounted as X, isObject as J, isClient as K } from "./
|
2
|
-
import { bypassFilter as ve, createFilterWrapper as de, debounceFilter as pe, debouncedWatch as he, getLifeCycleTarget as me, throttleFilter as be, debouncedWatch as ge, watchWithFilter as ye } from "./
|
1
|
+
import { toValue as O, tryOnScopeDispose as R, notNullish as $, noop as W, useDebounceFn as q, useThrottleFn as G, tryOnMounted as X, isObject as J, isClient as K } from "./index245.js";
|
2
|
+
import { bypassFilter as ve, createFilterWrapper as de, debounceFilter as pe, debouncedWatch as he, getLifeCycleTarget as me, throttleFilter as be, debouncedWatch as ge, watchWithFilter as ye } from "./index245.js";
|
3
3
|
import { computed as w, watch as z, ref as S, reactive as k, getCurrentInstance as U, onMounted as Z, watchEffect as ee } from "vue";
|
4
4
|
function L(l) {
|
5
5
|
var o;
|
package/dist/index133.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { isArray as p } from "./
|
2
|
-
import { isPlainObject as c } from "./
|
1
|
+
import { isArray as p } from "./index319.js";
|
2
|
+
import { isPlainObject as c } from "./index320.js";
|
3
3
|
function i(e, n, u, l, r) {
|
4
4
|
const o = {}.propertyIsEnumerable.call(l, n) ? "enumerable" : "nonenumerable";
|
5
5
|
o === "enumerable" && (e[n] = u), r && o === "nonenumerable" && Object.defineProperty(e, n, {
|
package/dist/index15.js
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
import { defineComponent as H, ref as u, computed as D, openBlock as E, createElementBlock as I, Fragment as M, createVNode as p, normalizeClass as F, withCtx as n, renderSlot as r, unref as s, createElementVNode as f, normalizeStyle as T, withModifiers as q, withDirectives as L, mergeProps as N, nextTick as O } from "vue";
|
2
|
-
import { isHex as z } from "./
|
2
|
+
import { isHex as z } from "./index246.js";
|
3
3
|
import { isNotNil as S } from "./index134.js";
|
4
|
-
import { useFocusTrap as _ } from "./
|
4
|
+
import { useFocusTrap as _ } from "./index228.js";
|
5
5
|
import { useId as A } from "./index8.js";
|
6
|
-
import { vMaska as K } from "./
|
7
|
-
import P from "./
|
6
|
+
import { vMaska as K } from "./index229.js";
|
7
|
+
import P from "./index231.js";
|
8
8
|
/* empty css */
|
9
|
-
import R from "./
|
9
|
+
import R from "./index247.js";
|
10
10
|
/* empty css */
|
11
|
-
import U from "./
|
11
|
+
import U from "./index223.js";
|
12
12
|
/* empty css */
|
13
|
-
import j from "./
|
13
|
+
import j from "./index225.js";
|
14
14
|
import { wait as G } from "./index130.js";
|
15
|
-
import { useLocale as J } from "./
|
15
|
+
import { useLocale as J } from "./index221.js";
|
16
16
|
const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], W = ["aria-label"], de = /* @__PURE__ */ H({
|
17
17
|
__name: "BaseColorInput",
|
18
18
|
props: {
|
package/dist/index17.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as E, ref as m, computed as n, watch as _, openBlock as p, createElementBlock as h, normalizeProps as i, guardReactiveProps as f, mergeProps as k, createCommentVNode as I, createElementVNode as l, renderSlot as F } from "vue";
|
2
|
-
import { isCssColor as y } from "./
|
3
|
-
import { when as N } from "./
|
4
|
-
import { booleanishToBoolean as S } from "./
|
2
|
+
import { isCssColor as y } from "./index234.js";
|
3
|
+
import { when as N } from "./index235.js";
|
4
|
+
import { booleanishToBoolean as S } from "./index236.js";
|
5
5
|
const A = {
|
6
6
|
"aria-hidden": "true",
|
7
7
|
class: "bb-base-checkbox-container"
|
package/dist/index19.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import { defineComponent as j, ref as k, toRef as d, openBlock as z, createBlock as G, unref as B, withCtx as s, renderSlot as l, normalizeProps as h, guardReactiveProps as b, createVNode as R, mergeProps as T } from "vue";
|
2
2
|
import W from "./index17.js";
|
3
3
|
/* empty css */
|
4
|
-
import K from "./
|
4
|
+
import K from "./index237.js";
|
5
5
|
/* empty css */
|
6
|
-
import { useItemsGetter as N } from "./
|
7
|
-
import { useIndexById as w } from "./
|
8
|
-
import { useBaseOptions as U } from "./
|
9
|
-
import { useCoherence as q } from "./
|
10
|
-
import { hash as J } from "./
|
11
|
-
import { useHashedWatcher as C } from "./
|
12
|
-
import { usePrefill as Q } from "./
|
6
|
+
import { useItemsGetter as N } from "./index239.js";
|
7
|
+
import { useIndexById as w } from "./index240.js";
|
8
|
+
import { useBaseOptions as U } from "./index241.js";
|
9
|
+
import { useCoherence as q } from "./index242.js";
|
10
|
+
import { hash as J } from "./index213.js";
|
11
|
+
import { useHashedWatcher as C } from "./index243.js";
|
12
|
+
import { usePrefill as Q } from "./index244.js";
|
13
13
|
const de = /* @__PURE__ */ j({
|
14
14
|
__name: "BaseCheckboxGroup",
|
15
15
|
props: {
|