bitboss-ui 2.1.88 → 2.1.89
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/index107.js +9 -9
- package/dist/index114.js +1 -1
- package/dist/index120.js +1 -1
- package/dist/index122.js +81 -79
- package/dist/index13.js +2 -2
- package/dist/index130.js +1 -1
- package/dist/index132.js +5 -5
- package/dist/index134.js +1 -1
- package/dist/index136.js +2 -2
- package/dist/index139.js +1 -1
- package/dist/index142.js +1 -1
- package/dist/index15.js +5 -5
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index21.js +14 -14
- package/dist/index215.js +2 -2
- package/dist/index216.js +2 -2
- package/dist/index217.js +1 -1
- package/dist/index218.js +1 -1
- package/dist/index219.js +2 -33
- package/dist/index220.js +2 -28
- package/dist/index221.js +5 -0
- package/dist/index222.js +5 -4
- package/dist/index223.js +5 -13
- package/dist/index224.js +5 -20
- package/dist/index225.js +5 -201
- package/dist/{index237.js → index226.js} +1 -1
- package/dist/index227.js +2 -135
- package/dist/index228.js +8 -0
- package/dist/index229.js +8 -5
- package/dist/index23.js +11 -11
- package/dist/index230.js +268 -5
- package/dist/index231.js +52 -5
- package/dist/index232.js +52 -5
- package/dist/index233.js +32 -5
- package/dist/index234.js +60 -5
- package/dist/index235.js +13 -2
- package/dist/index236.js +86 -3
- package/dist/index238.js +29 -2
- package/dist/index239.js +16 -17
- package/dist/index240.js +50 -11
- package/dist/index241.js +12 -48
- package/dist/index242.js +11 -14
- package/dist/index243.js +15 -11
- package/dist/index244.js +2 -17
- package/dist/index245.js +2 -29
- package/dist/index246.js +6 -15
- package/dist/index247.js +7 -4
- package/dist/index248.js +33 -106
- package/dist/index249.js +30 -0
- package/dist/index25.js +3 -3
- package/dist/index251.js +6 -0
- package/dist/index252.js +19 -228
- package/dist/index253.js +200 -12
- package/dist/index255.js +135 -9
- package/dist/index257.js +4 -188
- package/dist/index258.js +13 -3
- package/dist/index259.js +4 -5
- package/dist/index260.js +22 -5
- package/dist/index261.js +3 -8
- package/dist/index262.js +3 -268
- package/dist/index263.js +11 -52
- package/dist/index264.js +9 -52
- package/dist/index265.js +12 -31
- package/dist/index266.js +6 -60
- package/dist/index267.js +15 -12
- package/dist/index268.js +5 -10
- package/dist/index269.js +5 -3
- package/dist/index27.js +1 -1
- package/dist/index270.js +5 -4
- package/dist/index271.js +2 -3
- package/dist/index272.js +3 -2
- package/dist/index273.js +10 -86
- package/dist/index274.js +5 -0
- package/dist/index275.js +188 -2
- package/dist/index276.js +3 -9
- package/dist/index277.js +66 -52
- package/dist/index278.js +17 -22
- package/dist/index279.js +11 -8
- package/dist/index280.js +106 -23
- package/dist/index282.js +99 -15
- package/dist/index284.js +229 -2
- package/dist/index285.js +9 -7
- package/dist/index286.js +53 -7
- package/dist/index287.js +5 -67
- package/dist/index288.js +34 -11
- package/dist/index289.js +9 -5
- package/dist/index29.js +3 -3
- package/dist/index290.js +7 -3
- package/dist/index291.js +9 -3
- package/dist/index292.js +22 -6
- package/dist/index293.js +8 -3
- package/dist/index295.js +3 -7
- package/dist/index296.js +280 -3
- package/dist/index297.js +4 -0
- package/dist/index298.js +16 -3
- package/dist/index299.js +2 -280
- package/dist/index300.js +16 -2
- package/dist/index301.js +2 -125
- package/dist/index302.js +27 -2
- package/dist/index303.js +2 -15
- package/dist/index304.js +2 -2
- package/dist/index305.js +2 -16
- package/dist/index306.js +2 -2
- package/dist/index307.js +2 -16
- package/dist/index308.js +28 -2
- package/dist/index309.js +2 -19
- package/dist/index31.js +2 -2
- package/dist/index310.js +7 -2
- package/dist/index311.js +3 -2
- package/dist/index312.js +3 -4
- package/dist/index313.js +1 -1
- package/dist/index314.js +17 -3
- package/dist/index315.js +5 -2
- package/dist/index316.js +4 -28
- package/dist/index317.js +5 -17
- package/dist/index318.js +719 -27
- package/dist/index319.js +366 -2
- package/dist/index320.js +57 -2
- package/dist/index321.js +125 -2
- package/dist/index322.js +2 -2
- package/dist/index323.js +15 -2
- package/dist/index324.js +2 -2
- package/dist/index325.js +19 -3
- package/dist/index326.js +2 -719
- package/dist/index327.js +2 -366
- package/dist/index328.js +3 -57
- package/dist/index329.js +3 -2
- package/dist/index33.js +8 -8
- package/dist/index330.js +2 -4
- package/dist/index331.js +2 -5
- package/dist/index332.js +3 -7
- package/dist/index333.js +5 -5
- package/dist/index334.js +7 -8
- package/dist/index335.js +6 -34
- package/dist/index336.js +19 -6
- package/dist/index337.js +7 -127
- package/dist/index338.js +12 -395
- package/dist/index339.js +5 -5
- package/dist/index342.js +92 -5
- package/dist/index343.js +6 -132
- package/dist/index344.js +5 -6
- package/dist/index345.js +8 -19
- package/dist/index346.js +227 -8
- package/dist/index347.js +34 -14
- package/dist/index348.js +6 -5
- package/dist/index349.js +126 -44
- package/dist/index35.js +4 -4
- package/dist/index350.js +397 -6
- package/dist/index351.js +47 -22
- package/dist/index352.js +24 -0
- package/dist/index354.js +130 -89
- package/dist/index355.js +514 -222
- package/dist/index37.js +18 -18
- package/dist/index39.js +7 -7
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +6 -6
- 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 +5 -5
- package/dist/index67.js +1 -1
- package/dist/index80.js +6 -6
- package/dist/index82.js +1 -1
- package/dist/index84.js +2 -2
- package/dist/index86.js +3 -3
- package/dist/index88.js +1 -1
- package/dist/index91.js +3 -3
- package/dist/index93.js +2 -2
- package/dist/index95.js +5 -5
- package/dist/index97.js +1 -1
- package/package.json +1 -1
- package/dist/index250.js +0 -102
- package/dist/index254.js +0 -36
- package/dist/index256.js +0 -4
- package/dist/index281.js +0 -8
- package/dist/index283.js +0 -11
- package/dist/index294.js +0 -10
- package/dist/index353.js +0 -522
package/dist/index107.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as D, computed as V, toRef as r, ref as E, reactive as L, watch as m, createElementBlock as b, openBlock as B, Fragment as g, renderSlot as i, createCommentVNode as P, unref 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 "./index285.js";
|
|
3
|
+
import { isNil as k } from "./index245.js";
|
|
4
|
+
import { indexBy as U } from "./index293.js";
|
|
5
|
+
import { hash as p } from "./index226.js";
|
|
6
|
+
import { useItemsGetter as W } from "./index238.js";
|
|
7
|
+
import { usePrefill as q } from "./index243.js";
|
|
8
|
+
import { useIndexById as z } from "./index239.js";
|
|
9
|
+
import { useBaseOptions as J } from "./index240.js";
|
|
10
|
+
import { useHashedWatcher as K } from "./index242.js";
|
|
11
11
|
const oe = /* @__PURE__ */ D({
|
|
12
12
|
__name: "BbRows",
|
|
13
13
|
props: {
|
package/dist/index114.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, computed as s, createElementBlock as b, openBlock as _, mergeProps as a, createStaticVNode as x } from "vue";
|
|
2
|
-
import { isCssColor as m } from "./
|
|
2
|
+
import { isCssColor as m } from "./index219.js";
|
|
3
3
|
const d = /* @__PURE__ */ p({
|
|
4
4
|
__name: "BbSpinner",
|
|
5
5
|
props: {
|
package/dist/index120.js
CHANGED
|
@@ -8,7 +8,7 @@ import fe from "./index13.js";
|
|
|
8
8
|
/* empty css */
|
|
9
9
|
import be from "./index112.js";
|
|
10
10
|
/* empty css */
|
|
11
|
-
import { useFrameworkDetection as he } from "./
|
|
11
|
+
import { useFrameworkDetection as he } from "./index289.js";
|
|
12
12
|
const me = ["id"], ye = { class: "bb-tab__label-boundary" }, ve = { class: "bb-tab__label" }, pe = { class: "bb-tab__panes-container" }, ke = ["id", "aria-labelledby"], Re = /* @__PURE__ */ j({
|
|
13
13
|
__name: "BbTab",
|
|
14
14
|
props: {
|
package/dist/index122.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as he, mergeModels as X, ref as ke, computed as u, toRef as O, useModel as Y, watch as M, reactive as ge, createBlock as Z, openBlock as s, resolveDynamicComponent as xe, normalizeClass as i, withCtx as we, createElementBlock as
|
|
2
|
-
import { clamp as Ve } from "./
|
|
3
|
-
import { hash as T } from "./
|
|
4
|
-
import { isNil as w } from "./
|
|
5
|
-
import { when as $e } from "./
|
|
1
|
+
import { defineComponent as he, mergeModels as X, ref as ke, computed as u, toRef as O, useModel as Y, watch as M, reactive as ge, createBlock as Z, openBlock as s, resolveDynamicComponent as xe, normalizeClass as i, withCtx as we, createElementBlock as o, createCommentVNode as p, createElementVNode as n, toDisplayString as m, renderSlot as c, unref as v, Fragment as k, renderList as x, normalizeStyle as H, createVNode as ee, createTextVNode as Ce, mergeProps as Ie } from "vue";
|
|
2
|
+
import { clamp as Ve } from "./index216.js";
|
|
3
|
+
import { hash as T } from "./index226.js";
|
|
4
|
+
import { isNil as w } from "./index245.js";
|
|
5
|
+
import { when as $e } from "./index257.js";
|
|
6
6
|
import { useId as Be } from "./index8.js";
|
|
7
|
-
import { useItemValue as He } from "./
|
|
8
|
-
import { useItemsGetter as Te } from "./
|
|
9
|
-
import { usePrefill as Ae } from "./
|
|
10
|
-
import { useIndexById as le } from "./
|
|
11
|
-
import { useBaseOptions as Ne } from "./
|
|
12
|
-
import { useHashedWatcher as Le } from "./
|
|
13
|
-
import { useLocale as De } from "./
|
|
7
|
+
import { useItemValue as He } from "./index285.js";
|
|
8
|
+
import { useItemsGetter as Te } from "./index238.js";
|
|
9
|
+
import { usePrefill as Ae } from "./index243.js";
|
|
10
|
+
import { useIndexById as le } from "./index239.js";
|
|
11
|
+
import { useBaseOptions as Ne } from "./index240.js";
|
|
12
|
+
import { useHashedWatcher as Le } from "./index242.js";
|
|
13
|
+
import { useLocale as De } from "./index235.js";
|
|
14
14
|
import ae from "./index17.js";
|
|
15
15
|
/* empty css */
|
|
16
16
|
import Ee from "./index31.js";
|
|
17
17
|
/* empty css */
|
|
18
|
-
import { columnKeyToSlotName as
|
|
19
|
-
import { useLogger as Me } from "./
|
|
18
|
+
import { columnKeyToSlotName as Pe, mergeHeaderClasses as Se, applyFixedTableColumns as Re, mergeCellClasses as Oe } from "./index286.js";
|
|
19
|
+
import { useLogger as Me } from "./index229.js";
|
|
20
20
|
const Fe = {
|
|
21
21
|
key: 0,
|
|
22
22
|
class: "sr-only"
|
|
@@ -44,7 +44,7 @@ const Fe = {
|
|
|
44
44
|
}, tl = {
|
|
45
45
|
key: 1,
|
|
46
46
|
class: "bb-table-skeleton__cell bb-table-skeleton__cell--actions"
|
|
47
|
-
}, sl = ["aria-rowindex"],
|
|
47
|
+
}, sl = ["aria-rowindex"], ol = ["colspan"], nl = { class: "bb-table-loading__text sr-only" }, dl = ["aria-rowindex"], rl = ["colspan"], bl = { class: "bb-table-no-data__text" }, il = ["aria-rowindex", "onClick", "onContextmenu", "onDblclick"], cl = { class: "bb-table-check__label-text sr-only" }, ul = { class: "bb-table-radio__label-text sr-only" }, pl = ["aria-rowindex", "id"], ml = ["colspan"], El = /* @__PURE__ */ he({
|
|
48
48
|
__name: "BbTable",
|
|
49
49
|
props: /* @__PURE__ */ X({
|
|
50
50
|
accessibleLabel: {},
|
|
@@ -98,7 +98,7 @@ const Fe = {
|
|
|
98
98
|
a.multiple && !Array.isArray(a.modelValue) && Me().throw(
|
|
99
99
|
"BbTable is set for multiple selection but modelValue is not an array."
|
|
100
100
|
);
|
|
101
|
-
const { t: C } = De(), N = ke(),
|
|
101
|
+
const { t: C } = De(), N = ke(), oe = (e) => [C("table.select").value, ...e.map((t) => t.content)].join(" "), ne = u(() => a.selectable ? "fieldset" : "div"), L = u(() => a.loading || re.value), y = u(
|
|
102
102
|
() => !w(a.page) && !w(a.perPage) && !w(a.totalItems)
|
|
103
103
|
), de = u(() => ({
|
|
104
104
|
"bb-table": !0,
|
|
@@ -113,7 +113,7 @@ const Fe = {
|
|
|
113
113
|
() => a.columns.length + +!!a.selectable + +!!a.actions
|
|
114
114
|
), z = u(
|
|
115
115
|
() => Object.fromEntries(
|
|
116
|
-
a.columns.map((e) => [e.key,
|
|
116
|
+
a.columns.map((e) => [e.key, Pe(e.key)])
|
|
117
117
|
)
|
|
118
118
|
), {
|
|
119
119
|
getter: K,
|
|
@@ -182,7 +182,7 @@ const Fe = {
|
|
|
182
182
|
key: e.key,
|
|
183
183
|
label: e.label,
|
|
184
184
|
slotName: l,
|
|
185
|
-
classes:
|
|
185
|
+
classes: Se(
|
|
186
186
|
[`bb-table-header--${t}`],
|
|
187
187
|
a.thClass,
|
|
188
188
|
e.thClass
|
|
@@ -195,9 +195,9 @@ const Fe = {
|
|
|
195
195
|
return I.value.map((t, l) => {
|
|
196
196
|
const d = !a.selectable || typeof a.selectable == "function" && !a.selectable(t.item) || !!t.disabled, r = (a.page ?? -1) * (a.perPage ?? 0), g = 1, fe = l + 1, _e = r + g + fe + e, J = a.columns.map(
|
|
197
197
|
(h) => ue(h, t)
|
|
198
|
-
), Q =
|
|
198
|
+
), Q = P.value[t.valueHash] ?? !1;
|
|
199
199
|
return Q && e++, {
|
|
200
|
-
accessibleLabel:
|
|
200
|
+
accessibleLabel: oe(J),
|
|
201
201
|
cols: J,
|
|
202
202
|
expanded: Q,
|
|
203
203
|
onRowClick: (h) => b("click:row", h, t, !!t.selected),
|
|
@@ -212,18 +212,20 @@ const Fe = {
|
|
|
212
212
|
disabled: d
|
|
213
213
|
};
|
|
214
214
|
});
|
|
215
|
-
}), f = Y(A, "selectAll"), V = Y(A, "expandedItems"), { data:
|
|
215
|
+
}), f = Y(A, "selectAll"), V = Y(A, "expandedItems"), { data: P } = le({
|
|
216
216
|
items: V
|
|
217
217
|
}), me = (e, t) => {
|
|
218
218
|
e.target instanceof HTMLElement && (e.target instanceof HTMLButtonElement || e.key !== "Enter" && e.key !== " " || (e.preventDefault(), $(t)));
|
|
219
|
-
},
|
|
220
|
-
"aria-controls": w(
|
|
219
|
+
}, S = (e) => ({
|
|
220
|
+
"aria-controls": w(P.value[e.valueHash]) ? void 0 : `expanded_${e.valueHash}`,
|
|
221
221
|
"aria-expanded": e.expanded ? "true" : "false",
|
|
222
|
-
onClick: () =>
|
|
222
|
+
onClick: (t) => {
|
|
223
|
+
t.stopPropagation(), $(e.valueHash);
|
|
224
|
+
},
|
|
223
225
|
onKeydown: (t) => me(t, e.valueHash)
|
|
224
226
|
}), $ = (e) => {
|
|
225
227
|
const t = I.value.find((l) => l.valueHash === e);
|
|
226
|
-
t && (e in
|
|
228
|
+
t && (e in P.value ? V.value = V.value.filter(
|
|
227
229
|
(l) => T(l) !== e
|
|
228
230
|
) : V.value = [...V.value, t.value]);
|
|
229
231
|
};
|
|
@@ -267,32 +269,32 @@ const Fe = {
|
|
|
267
269
|
N.value && a.fixedColumns?.length && Re(N.value, a.fixedColumns);
|
|
268
270
|
},
|
|
269
271
|
{ flush: "post" }
|
|
270
|
-
), (e, t) => (s(), Z(xe(
|
|
272
|
+
), (e, t) => (s(), Z(xe(ne.value), {
|
|
271
273
|
"aria-busy": L.value,
|
|
272
274
|
"aria-rowcount": y.value ? a.totalItems : void 0,
|
|
273
275
|
class: i(de.value),
|
|
274
276
|
inert: e.disabled
|
|
275
277
|
}, {
|
|
276
278
|
default: we(() => [
|
|
277
|
-
e.selectable ? (s(),
|
|
278
|
-
|
|
279
|
+
e.selectable ? (s(), o("legend", Fe, m(e.legend), 1)) : p("", !0),
|
|
280
|
+
n("table", {
|
|
279
281
|
ref_key: "tableRef",
|
|
280
282
|
ref: N
|
|
281
283
|
}, [
|
|
282
|
-
e.caption ? (s(),
|
|
284
|
+
e.caption ? (s(), o("caption", {
|
|
283
285
|
key: 0,
|
|
284
286
|
class: i({
|
|
285
287
|
"bb-table-caption": !0,
|
|
286
288
|
"sr-only": !e.displayCaption
|
|
287
289
|
})
|
|
288
290
|
}, m(e.caption), 3)) : p("", !0),
|
|
289
|
-
|
|
291
|
+
n("thead", null, [
|
|
290
292
|
c(e.$slots, "thead", {}, () => [
|
|
291
|
-
|
|
293
|
+
n("tr", {
|
|
292
294
|
"aria-rowindex": y.value ? 1 : void 0,
|
|
293
295
|
class: "bb-table-header-row"
|
|
294
296
|
}, [
|
|
295
|
-
e.selectable ? (s(),
|
|
297
|
+
e.selectable ? (s(), o("th", {
|
|
296
298
|
key: 0,
|
|
297
299
|
class: i(["bb-table-header bb-table-header--select", e.thClass]),
|
|
298
300
|
scope: "col"
|
|
@@ -302,8 +304,8 @@ const Fe = {
|
|
|
302
304
|
selectAll: !!f.value,
|
|
303
305
|
text: e.selectText || v(C)("table.selectText").value
|
|
304
306
|
}, () => [
|
|
305
|
-
|
|
306
|
-
e.allowSelectAll && e.multiple ? (s(),
|
|
307
|
+
n("span", Ke, [
|
|
308
|
+
e.allowSelectAll && e.multiple ? (s(), o("label", {
|
|
307
309
|
key: 0,
|
|
308
310
|
class: i(["bb-table-check__label", {
|
|
309
311
|
"bb-table-check__label--disabled": e.disabled
|
|
@@ -319,12 +321,12 @@ const Fe = {
|
|
|
319
321
|
name: `select_all_${e.name || ""}`,
|
|
320
322
|
readonly: e.readonly
|
|
321
323
|
}, null, 8, ["modelValue", "disabled", "indeterminate", "name", "readonly"])),
|
|
322
|
-
|
|
323
|
-
], 2)) : e.multiple ? p("", !0) : (s(),
|
|
324
|
+
n("span", je, m(e.selectAllLabel || v(C)("table.selectAllLabel").value), 1)
|
|
325
|
+
], 2)) : e.multiple ? p("", !0) : (s(), o("span", qe, m(e.selectText || v(C)("table.selectText").value), 1))
|
|
324
326
|
])
|
|
325
327
|
])
|
|
326
328
|
], 2)) : p("", !0),
|
|
327
|
-
(s(!0),
|
|
329
|
+
(s(!0), o(k, null, x(pe.value, (l) => (s(), o("th", {
|
|
328
330
|
key: l.key,
|
|
329
331
|
"aria-sort": l.sortDirection,
|
|
330
332
|
class: i(["bb-table-header", l.classes]),
|
|
@@ -335,101 +337,101 @@ const Fe = {
|
|
|
335
337
|
items: v(E),
|
|
336
338
|
label: l.label
|
|
337
339
|
}, () => [
|
|
338
|
-
|
|
340
|
+
n("span", We, m(l.label), 1)
|
|
339
341
|
])
|
|
340
342
|
], 10, Ue))), 128)),
|
|
341
|
-
e.actions ? (s(),
|
|
343
|
+
e.actions ? (s(), o("th", {
|
|
342
344
|
key: 1,
|
|
343
345
|
class: i(["bb-table-header bb-table-header--actions", e.thClass]),
|
|
344
346
|
scope: "col"
|
|
345
347
|
}, [
|
|
346
348
|
c(e.$slots, "header:actions", { text: e.actionsText }, () => [
|
|
347
|
-
|
|
349
|
+
n("span", Ge, m(e.actionsText), 1)
|
|
348
350
|
])
|
|
349
351
|
], 2)) : p("", !0)
|
|
350
352
|
], 8, ze)
|
|
351
353
|
])
|
|
352
354
|
]),
|
|
353
|
-
|
|
355
|
+
n("tbody", null, [
|
|
354
356
|
L.value ? c(e.$slots, "loading", {
|
|
355
357
|
key: 0,
|
|
356
358
|
items: v(E)
|
|
357
359
|
}, () => [
|
|
358
|
-
(s(!0),
|
|
360
|
+
(s(!0), o(k, null, x(G.value, (l, d) => (s(), o("tr", {
|
|
359
361
|
key: d,
|
|
360
362
|
"aria-rowindex": y.value ? d + 2 : void 0,
|
|
361
363
|
class: "bb-table-skeleton__row"
|
|
362
364
|
}, [
|
|
363
|
-
e.selectable ? (s(),
|
|
364
|
-
|
|
365
|
+
e.selectable ? (s(), o("td", Qe, t[1] || (t[1] = [
|
|
366
|
+
n("div", { class: "bb-table-skeleton__placeholder" }, null, -1)
|
|
365
367
|
]))) : p("", !0),
|
|
366
|
-
(s(!0),
|
|
368
|
+
(s(!0), o(k, null, x(a.columns, (r, g) => (s(), o("td", {
|
|
367
369
|
key: r.key,
|
|
368
370
|
class: i([
|
|
369
371
|
"bb-table-skeleton__cell",
|
|
370
372
|
`bb-table-skeleton__cell--${r.skeleton ?? "text"}`
|
|
371
373
|
])
|
|
372
374
|
}, [
|
|
373
|
-
!r.skeleton || r.skeleton === "text" ? (s(),
|
|
374
|
-
|
|
375
|
+
!r.skeleton || r.skeleton === "text" ? (s(), o("div", Xe, [
|
|
376
|
+
n("div", {
|
|
375
377
|
class: "bb-table-skeleton__line",
|
|
376
378
|
style: H({
|
|
377
379
|
width: `${B[(d + g) % 4]}%`
|
|
378
380
|
})
|
|
379
381
|
}, null, 4),
|
|
380
|
-
|
|
382
|
+
n("div", {
|
|
381
383
|
class: "bb-table-skeleton__line",
|
|
382
384
|
style: H({
|
|
383
385
|
width: `${B[(d + g + 2) % 4]}%`
|
|
384
386
|
})
|
|
385
387
|
}, null, 4)
|
|
386
|
-
])) : r.skeleton === "avatar" ? (s(),
|
|
387
|
-
t[2] || (t[2] =
|
|
388
|
-
|
|
389
|
-
|
|
388
|
+
])) : r.skeleton === "avatar" ? (s(), o("div", Ye)) : r.skeleton === "avatar-text" ? (s(), o("div", Ze, [
|
|
389
|
+
t[2] || (t[2] = n("div", { class: "bb-table-skeleton__avatar" }, null, -1)),
|
|
390
|
+
n("div", el, [
|
|
391
|
+
n("div", {
|
|
390
392
|
class: "bb-table-skeleton__line",
|
|
391
393
|
style: H({
|
|
392
394
|
width: `${B[(d + g) % 4]}%`
|
|
393
395
|
})
|
|
394
396
|
}, null, 4),
|
|
395
|
-
|
|
397
|
+
n("div", {
|
|
396
398
|
class: "bb-table-skeleton__line",
|
|
397
399
|
style: H({
|
|
398
400
|
width: `${B[(d + g + 2) % 4]}%`
|
|
399
401
|
})
|
|
400
402
|
}, null, 4)
|
|
401
403
|
])
|
|
402
|
-
])) : r.skeleton === "image" ? (s(),
|
|
404
|
+
])) : r.skeleton === "image" ? (s(), o("div", ll)) : r.skeleton === "badge" ? (s(), o("div", al)) : p("", !0)
|
|
403
405
|
], 2))), 128)),
|
|
404
|
-
e.actions ? (s(),
|
|
405
|
-
|
|
406
|
+
e.actions ? (s(), o("td", tl, t[3] || (t[3] = [
|
|
407
|
+
n("div", { class: "bb-table-skeleton__placeholder" }, null, -1)
|
|
406
408
|
]))) : p("", !0)
|
|
407
409
|
], 8, Je))), 128)),
|
|
408
|
-
|
|
410
|
+
n("tr", {
|
|
409
411
|
"aria-rowindex": y.value ? G.value + 2 : void 0,
|
|
410
412
|
class: "bb-table-loading__row bb-table-loading__row--sr-only"
|
|
411
413
|
}, [
|
|
412
|
-
|
|
414
|
+
n("td", {
|
|
413
415
|
colspan: D.value,
|
|
414
416
|
class: "bb-table-loading__cell",
|
|
415
417
|
"aria-live": "polite",
|
|
416
418
|
role: "status"
|
|
417
419
|
}, [
|
|
418
|
-
|
|
419
|
-
], 8,
|
|
420
|
+
n("span", nl, m(e.loadingText), 1)
|
|
421
|
+
], 8, ol)
|
|
420
422
|
], 8, sl)
|
|
421
423
|
]) : v(I).length ? c(e.$slots, "tbody", { key: 2 }, () => [
|
|
422
|
-
(s(!0),
|
|
424
|
+
(s(!0), o(k, null, x(q.value, (l) => (s(), o(k, {
|
|
423
425
|
key: l.valueHash
|
|
424
426
|
}, [
|
|
425
|
-
|
|
427
|
+
n("tr", {
|
|
426
428
|
"aria-rowindex": y.value && l.rowIndex ? l.rowIndex : void 0,
|
|
427
429
|
class: "bb-table-data__row",
|
|
428
430
|
onClick: l.onRowClick,
|
|
429
431
|
onContextmenu: l.onRowContextMenu,
|
|
430
432
|
onDblclick: l.onRowDblClick
|
|
431
433
|
}, [
|
|
432
|
-
e.selectable ? (s(),
|
|
434
|
+
e.selectable ? (s(), o("td", {
|
|
433
435
|
key: 0,
|
|
434
436
|
class: i(["bb-table-data__cell bb-table-data__cell--select", e.tdClass])
|
|
435
437
|
}, [
|
|
@@ -441,7 +443,7 @@ const Fe = {
|
|
|
441
443
|
readonly: !!e.readonly,
|
|
442
444
|
value: l.value
|
|
443
445
|
}, () => [
|
|
444
|
-
e.multiple ? (s(),
|
|
446
|
+
e.multiple ? (s(), o("label", {
|
|
445
447
|
key: 0,
|
|
446
448
|
class: i(["bb-table-check__label", {
|
|
447
449
|
"bb-table-check__label--disabled": l.disabled
|
|
@@ -454,8 +456,8 @@ const Fe = {
|
|
|
454
456
|
readonly: e.readonly,
|
|
455
457
|
onChange: () => W(l)
|
|
456
458
|
}, null, 8, ["checked", "disabled", "readonly", "onChange"]),
|
|
457
|
-
|
|
458
|
-
], 2)) : (s(),
|
|
459
|
+
n("span", cl, m(l.accessibleLabel), 1)
|
|
460
|
+
], 2)) : (s(), o("label", {
|
|
459
461
|
key: 1,
|
|
460
462
|
class: i(["bb-table-radio__label", {
|
|
461
463
|
"bb-table-radio__label--disabled": l.disabled
|
|
@@ -470,11 +472,11 @@ const Fe = {
|
|
|
470
472
|
value: l.value,
|
|
471
473
|
onChange: () => W(l)
|
|
472
474
|
}, null, 8, ["checked", "disabled", "name", "readonly", "value", "onChange"]),
|
|
473
|
-
|
|
475
|
+
n("span", ul, m(l.accessibleLabel), 1)
|
|
474
476
|
], 2))
|
|
475
477
|
])
|
|
476
478
|
], 2)) : p("", !0),
|
|
477
|
-
(s(!0),
|
|
479
|
+
(s(!0), o(k, null, x(l.cols, (d) => (s(), o("td", {
|
|
478
480
|
key: d.key,
|
|
479
481
|
class: i(["bb-table-data__cell", d.classes])
|
|
480
482
|
}, [
|
|
@@ -483,40 +485,40 @@ const Fe = {
|
|
|
483
485
|
content: d.content,
|
|
484
486
|
expanded: l.expanded,
|
|
485
487
|
item: l.item,
|
|
486
|
-
expandProps:
|
|
488
|
+
expandProps: S(l),
|
|
487
489
|
toggleExpanded: () => $(l.valueHash),
|
|
488
490
|
value: l.value
|
|
489
491
|
}, () => [
|
|
490
492
|
Ce(m(d.content), 1)
|
|
491
493
|
])
|
|
492
494
|
], 2))), 128)),
|
|
493
|
-
e.actions ? (s(),
|
|
495
|
+
e.actions ? (s(), o("td", {
|
|
494
496
|
key: 1,
|
|
495
497
|
class: i(["bb-table__cell bb-table__cell--actions", e.tdClass])
|
|
496
498
|
}, [
|
|
497
499
|
c(e.$slots, "actions", {
|
|
498
500
|
expanded: l.expanded,
|
|
499
501
|
item: l.item,
|
|
500
|
-
expandProps:
|
|
502
|
+
expandProps: S(l),
|
|
501
503
|
toggleExpanded: () => $(l.valueHash),
|
|
502
504
|
value: l.value
|
|
503
505
|
})
|
|
504
506
|
], 2)) : p("", !0)
|
|
505
507
|
], 40, il),
|
|
506
|
-
l.expanded ? (s(),
|
|
508
|
+
l.expanded ? (s(), o("tr", {
|
|
507
509
|
key: 0,
|
|
508
510
|
"aria-rowindex": y.value && l.rowIndex ? l.rowIndex + 1 : void 0,
|
|
509
511
|
id: `expanded_${l.valueHash}`,
|
|
510
512
|
class: "bb-table-expand__row"
|
|
511
513
|
}, [
|
|
512
|
-
|
|
514
|
+
n("td", {
|
|
513
515
|
colspan: D.value,
|
|
514
516
|
class: "bb-table-expand__cell"
|
|
515
517
|
}, [
|
|
516
518
|
c(e.$slots, "expand", {
|
|
517
519
|
expanded: l.expanded,
|
|
518
520
|
item: l.item,
|
|
519
|
-
expandProps:
|
|
521
|
+
expandProps: S(l),
|
|
520
522
|
toggleExpanded: () => $(l.valueHash),
|
|
521
523
|
value: l.value
|
|
522
524
|
})
|
|
@@ -524,24 +526,24 @@ const Fe = {
|
|
|
524
526
|
], 8, pl)) : p("", !0)
|
|
525
527
|
], 64))), 128))
|
|
526
528
|
]) : c(e.$slots, "no-data", { key: 1 }, () => [
|
|
527
|
-
|
|
529
|
+
n("tr", {
|
|
528
530
|
"aria-rowindex": y.value ? 2 : void 0,
|
|
529
531
|
class: "bb-table-no-data__row"
|
|
530
532
|
}, [
|
|
531
|
-
|
|
533
|
+
n("td", {
|
|
532
534
|
class: "bb-table-no-data__cell",
|
|
533
535
|
colspan: D.value
|
|
534
536
|
}, [
|
|
535
|
-
|
|
537
|
+
n("span", bl, m(e.noDataText || v(C)("table.noDataText").value), 1)
|
|
536
538
|
], 8, rl)
|
|
537
539
|
], 8, dl)
|
|
538
540
|
])
|
|
539
541
|
]),
|
|
540
|
-
|
|
542
|
+
n("tfoot", null, [
|
|
541
543
|
c(e.$slots, "tfoot")
|
|
542
544
|
])
|
|
543
545
|
], 512),
|
|
544
|
-
(s(!0),
|
|
546
|
+
(s(!0), o(k, null, x(ye.value, (l) => (s(), o("input", Ie({
|
|
545
547
|
key: l.value,
|
|
546
548
|
ref_for: !0
|
|
547
549
|
}, l), null, 16))), 128))
|
package/dist/index13.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as w, getCurrentInstance as P, computed as r, createBlock as c, openBlock as i, mergeProps as f, withCtx as v, renderSlot as d, createTextVNode as p, toDisplayString as h, resolveDynamicComponent as b } from "vue";
|
|
2
|
-
import R from "./
|
|
3
|
-
import { useFrameworkDetection as _ } from "./
|
|
2
|
+
import R from "./index288.js";
|
|
3
|
+
import { useFrameworkDetection as _ } from "./index289.js";
|
|
4
4
|
import { _config as g } from "./index4.js";
|
|
5
5
|
const D = /* @__PURE__ */ w({
|
|
6
6
|
__name: "BaseButton",
|
package/dist/index130.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as a, createElementBlock as o, openBlock as e, normalizeClass as c, createVNode as l, TransitionGroup as m, withCtx as i, Fragment as p, renderList as u, unref as r, createBlock as f, mergeProps as _ } from "vue";
|
|
2
2
|
import { useToast as d, state as k } from "./index11.js";
|
|
3
|
-
import b from "./
|
|
3
|
+
import b from "./index277.js";
|
|
4
4
|
const $ = /* @__PURE__ */ a({
|
|
5
5
|
__name: "BbToast",
|
|
6
6
|
props: {
|
package/dist/index132.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as R, mergeModels as U, ref as L, computed as v, useTemplateRef as W, useModel as x, watch as m, onBeforeUnmount as F, createElementBlock as I, openBlock as g, Fragment as _, renderSlot as k, createCommentVNode as C, createVNode as j, normalizeProps as q, mergeProps as B, withCtx as T, createElementVNode as f, normalizeStyle as G, createBlock as H, unref as J } from "vue";
|
|
2
2
|
import { useId as K } from "./index8.js";
|
|
3
|
-
import { useLocale as Q } from "./
|
|
4
|
-
import { useUntil as X } from "./
|
|
3
|
+
import { useLocale as Q } from "./index235.js";
|
|
4
|
+
import { useUntil as X } from "./index258.js";
|
|
5
5
|
import Y from "./index13.js";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import Z from "./
|
|
7
|
+
import Z from "./index255.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { useElementSize as ee } from "./index141.js";
|
|
10
|
-
import { extractDomContainer as V } from "./
|
|
11
|
-
import { parseWidthString as te } from "./
|
|
10
|
+
import { extractDomContainer as V } from "./index259.js";
|
|
11
|
+
import { parseWidthString as te } from "./index260.js";
|
|
12
12
|
const ce = /* @__PURE__ */ R({
|
|
13
13
|
inheritAttrs: !1,
|
|
14
14
|
__name: "BbTooltip",
|
package/dist/index134.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as $, computed as g, resolveComponent as y, createElementBlock as f, openBlock 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 "./index287.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/index136.js
CHANGED
|
@@ -5,8 +5,8 @@ import u from "./index86.js";
|
|
|
5
5
|
/* empty css */
|
|
6
6
|
import I from "./index114.js";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import N from "./
|
|
9
|
-
import g from "./
|
|
8
|
+
import N from "./index248.js";
|
|
9
|
+
import g from "./index249.js";
|
|
10
10
|
/* empty css */
|
|
11
11
|
const h = { class: "bb-common-input-inner-container__prefix" }, B = { class: "bb-common-input-inner-container__suffix" }, R = /* @__PURE__ */ k({
|
|
12
12
|
__name: "CommonInputInnerContainer",
|
package/dist/index139.js
CHANGED
package/dist/index142.js
CHANGED
package/dist/index15.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as H, ref as s, computed as M, createBlock as D, openBlock as E, normalizeClass as I, withCtx as l, createVNode as d, unref as u, withDirectives as L, createElementVNode as p, mergeProps as _, renderSlot as r, withModifiers as q, normalizeStyle as N } from "vue";
|
|
2
|
-
import { isHex as z } from "./
|
|
2
|
+
import { isHex as z } from "./index251.js";
|
|
3
3
|
import { isNotNil as F } from "./index144.js";
|
|
4
4
|
import { useId as S } from "./index8.js";
|
|
5
|
-
import { useLocale as U } from "./
|
|
6
|
-
import { vMaska as A } from "./
|
|
7
|
-
import K from "./
|
|
5
|
+
import { useLocale as U } from "./index235.js";
|
|
6
|
+
import { vMaska as A } from "./index252.js";
|
|
7
|
+
import K from "./index253.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import O from "./index136.js";
|
|
10
10
|
/* empty css */
|
|
11
11
|
import P from "./index138.js";
|
|
12
|
-
import T from "./
|
|
12
|
+
import T from "./index255.js";
|
|
13
13
|
/* empty css */
|
|
14
14
|
const j = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], G = ["aria-label"], J = { class: "bb-common-input-inner-container__suffix" }, ie = /* @__PURE__ */ H({
|
|
15
15
|
__name: "BaseColorInput",
|
package/dist/index17.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as _, ref as i, computed as t, watch as F, createElementBlock as p, openBlock as h, normalizeProps as d, guardReactiveProps as f, createCommentVNode as L, createElementVNode as s, mergeProps as k, renderSlot as M } from "vue";
|
|
2
|
-
import { isCssColor as y } from "./
|
|
3
|
-
import { booleanishToBoolean as q } from "./
|
|
4
|
-
import { isEqual as A } from "./
|
|
2
|
+
import { isCssColor as y } from "./index219.js";
|
|
3
|
+
import { booleanishToBoolean as q } from "./index220.js";
|
|
4
|
+
import { isEqual as A } from "./index221.js";
|
|
5
5
|
const N = {
|
|
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 z, ref as B, toRef as p, computed as G, createBlock as R, openBlock as W, unref as T, withCtx as n, renderSlot as s, normalizeProps as f, guardReactiveProps as h, createVNode as K, mergeProps as w } from "vue";
|
|
2
2
|
import N from "./index17.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import U from "./
|
|
4
|
+
import U from "./index236.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { useItemsGetter as q } from "./
|
|
7
|
-
import { useIndexById as C } from "./
|
|
8
|
-
import { useBaseOptions as J } from "./
|
|
9
|
-
import { useCoherence as Q } from "./
|
|
10
|
-
import { hash as X } from "./
|
|
11
|
-
import { useHashedWatcher as $ } from "./
|
|
12
|
-
import { usePrefill as Y } from "./
|
|
6
|
+
import { useItemsGetter as q } from "./index238.js";
|
|
7
|
+
import { useIndexById as C } from "./index239.js";
|
|
8
|
+
import { useBaseOptions as J } from "./index240.js";
|
|
9
|
+
import { useCoherence as Q } from "./index241.js";
|
|
10
|
+
import { hash as X } from "./index226.js";
|
|
11
|
+
import { useHashedWatcher as $ } from "./index242.js";
|
|
12
|
+
import { usePrefill as Y } from "./index243.js";
|
|
13
13
|
const ce = /* @__PURE__ */ z({
|
|
14
14
|
__name: "BaseCheckboxGroup",
|
|
15
15
|
props: {
|
package/dist/index21.js
CHANGED
|
@@ -5,20 +5,20 @@ import { _config as Q } from "./index4.js";
|
|
|
5
5
|
import { useId as X } from "./index8.js";
|
|
6
6
|
import b from "./index13.js";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import d from "./
|
|
9
|
-
import ee from "./
|
|
10
|
-
import ae from "./
|
|
11
|
-
import te from "./
|
|
12
|
-
import { hash as B } from "./
|
|
13
|
-
import { last as le } from "./
|
|
14
|
-
import { validateDateFormat as L } from "./
|
|
15
|
-
import { useLogger as oe } from "./
|
|
16
|
-
import re from "./
|
|
17
|
-
import se from "./
|
|
18
|
-
import de from "./
|
|
19
|
-
import S from "./
|
|
20
|
-
import ie from "./
|
|
21
|
-
import { useLocale as ne } from "./
|
|
8
|
+
import d from "./index222.js";
|
|
9
|
+
import ee from "./index223.js";
|
|
10
|
+
import ae from "./index224.js";
|
|
11
|
+
import te from "./index225.js";
|
|
12
|
+
import { hash as B } from "./index226.js";
|
|
13
|
+
import { last as le } from "./index227.js";
|
|
14
|
+
import { validateDateFormat as L } from "./index228.js";
|
|
15
|
+
import { useLogger as oe } from "./index229.js";
|
|
16
|
+
import re from "./index230.js";
|
|
17
|
+
import se from "./index231.js";
|
|
18
|
+
import de from "./index232.js";
|
|
19
|
+
import S from "./index233.js";
|
|
20
|
+
import ie from "./index234.js";
|
|
21
|
+
import { useLocale as ne } from "./index235.js";
|
|
22
22
|
const ue = { class: "bb-base-date-picker" }, me = { class: "bb-base-date-picker__body" }, ce = { class: "bb-base-date-picker__controls" }, pe = { class: "sr-only" }, fe = { class: "sr-only" }, be = { class: "sr-only" }, ve = {
|
|
23
23
|
style: { transform: "rotate(180deg)" },
|
|
24
24
|
viewBox: "0 0 24 24",
|
package/dist/index215.js
CHANGED