bitboss-ui 2.1.84 → 2.1.86
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/BbTable/utils.d.ts +1 -1
- package/dist/index.css +1 -1
- package/dist/index107.js +9 -9
- package/dist/index112.js +1 -1
- package/dist/index114.js +1 -1
- package/dist/index120.js +1 -1
- package/dist/index122.js +53 -53
- 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 +4 -2
- package/dist/index220.js +13 -2
- package/dist/index221.js +20 -3
- package/dist/index222.js +201 -5
- package/dist/index224.js +135 -5
- package/dist/index226.js +33 -5
- package/dist/index227.js +28 -5
- package/dist/index229.js +2 -3
- package/dist/index23.js +11 -11
- package/dist/index230.js +2 -13
- package/dist/index231.js +3 -20
- package/dist/index232.js +3 -135
- package/dist/index233.js +9 -0
- package/dist/index234.js +2 -34
- package/dist/index235.js +86 -9
- package/dist/index237.js +27 -11
- package/dist/index238.js +16 -32
- package/dist/index239.js +51 -28
- package/dist/index240.js +17 -0
- package/dist/index241.js +3 -7
- package/dist/index242.js +12 -2
- package/dist/index243.js +16 -86
- package/dist/index245.js +186 -27
- package/dist/index246.js +3 -17
- package/dist/index247.js +32 -49
- package/dist/index248.js +6 -12
- package/dist/index249.js +3 -3
- package/dist/index25.js +3 -3
- package/dist/index250.js +2 -12
- package/dist/index251.js +17 -15
- package/dist/index252.js +12 -5
- package/dist/index253.js +4 -2
- package/dist/index254.js +106 -6
- package/dist/index256.js +95 -263
- package/dist/index258.js +221 -46
- package/dist/index259.js +13 -32
- package/dist/index260.js +5 -60
- package/dist/index261.js +5 -5
- package/dist/index262.js +5 -188
- package/dist/index263.js +5 -3
- package/dist/index264.js +5 -67
- package/dist/index265.js +5 -3
- package/dist/index266.js +13 -4
- package/dist/index267.js +2 -9
- package/dist/index268.js +6 -40
- package/dist/index269.js +6 -3
- package/dist/index27.js +1 -1
- package/dist/index270.js +3 -201
- package/dist/index271.js +7 -0
- package/dist/index272.js +6 -3
- package/dist/index273.js +8 -11
- package/dist/index274.js +263 -101
- package/dist/{index257.js → index275.js} +1 -1
- package/dist/index276.js +48 -96
- package/dist/index277.js +34 -0
- package/dist/index278.js +60 -4
- package/dist/index279.js +9 -22
- package/dist/index280.js +3 -8
- package/dist/index281.js +4 -9
- package/dist/index282.js +67 -23
- package/dist/index283.js +6 -2
- package/dist/index284.js +16 -7
- package/dist/index285.js +9 -7
- package/dist/index286.js +53 -9
- package/dist/index287.js +9 -6
- package/dist/index288.js +23 -16
- package/dist/index289.js +22 -17
- package/dist/index29.js +3 -3
- package/dist/index290.js +9 -12
- package/dist/index291.js +5 -229
- package/dist/index292.js +8 -10
- package/dist/index293.js +11 -3
- package/dist/index295.js +1 -1
- package/dist/index296.js +3 -280
- package/dist/index297.js +3 -2
- package/dist/index298.js +7 -125
- package/dist/index299.js +5 -2
- package/dist/index300.js +3 -15
- package/dist/index301.js +17 -2
- package/dist/index302.js +27 -15
- package/dist/index303.js +2 -2
- package/dist/index304.js +3 -16
- package/dist/index305.js +3 -2
- package/dist/index306.js +2 -19
- package/dist/index307.js +4 -2
- package/dist/index308.js +5 -3
- package/dist/index309.js +280 -7
- package/dist/index31.js +2 -2
- package/dist/index310.js +2 -2
- package/dist/index311.js +125 -2
- package/dist/index312.js +2 -27
- package/dist/index313.js +15 -2
- package/dist/index314.js +2 -2
- package/dist/index315.js +16 -2
- package/dist/index316.js +2 -2
- package/dist/index317.js +16 -2
- package/dist/index318.js +2 -28
- package/dist/index319.js +19 -2
- package/dist/index320.js +2 -3
- package/dist/index321.js +2 -17
- package/dist/index322.js +718 -3
- package/dist/index323.js +366 -5
- package/dist/index324.js +57 -3
- package/dist/index325.js +26 -3
- package/dist/index326.js +2 -5
- package/dist/index327.js +2 -6
- package/dist/index328.js +2 -3
- package/dist/index329.js +2 -3
- package/dist/index33.js +8 -8
- package/dist/index330.js +2 -719
- package/dist/index331.js +2 -366
- package/dist/index332.js +3 -56
- package/dist/index333.js +6 -2
- package/dist/index336.js +2 -2
- package/dist/index337.js +3 -3
- package/dist/index338.js +7 -6
- package/dist/index339.js +5 -18
- package/dist/index340.js +8 -9
- package/dist/index341.js +225 -12
- package/dist/index342.js +58 -5
- package/dist/index343.js +58 -7
- package/dist/index344.js +47 -58
- package/dist/index345.js +5 -58
- package/dist/index346.js +6 -227
- package/dist/index347.js +17 -132
- package/dist/index348.js +9 -22
- package/dist/index349.js +17 -0
- package/dist/index35.js +4 -4
- package/dist/index350.js +6 -7
- package/dist/index351.js +92 -5
- package/dist/index352.js +133 -7
- package/dist/index353.js +21 -92
- package/dist/index355.js +503 -424
- package/dist/index356.js +427 -114
- package/dist/index357.js +124 -516
- 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/index223.js +0 -7
- package/dist/index225.js +0 -7
- package/dist/index236.js +0 -15
- package/dist/index255.js +0 -10
- package/dist/index354.js +0 -49
- /package/dist/{index228.js → index244.js} +0 -0
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
|
|
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 n, createCommentVNode as p, createElementVNode as o, 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 "./index241.js";
|
|
4
|
+
import { isNil as w } from "./index234.js";
|
|
5
|
+
import { when as $e } from "./index253.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 "./index237.js";
|
|
9
|
+
import { usePrefill as Ae } from "./index243.js";
|
|
10
|
+
import { useIndexById as le } from "./index238.js";
|
|
11
|
+
import { useBaseOptions as Ne } from "./index239.js";
|
|
12
|
+
import { useHashedWatcher as Le } from "./index242.js";
|
|
13
|
+
import { useLocale as De } from "./index220.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 Se, mergeHeaderClasses as Pe, applyFixedTableColumns as Re, mergeCellClasses as Oe } from "./
|
|
19
|
-
import { useLogger as Me } from "./
|
|
18
|
+
import { columnKeyToSlotName as Se, mergeHeaderClasses as Pe, applyFixedTableColumns as Re, mergeCellClasses as Oe } from "./index286.js";
|
|
19
|
+
import { useLogger as Me } from "./index273.js";
|
|
20
20
|
const Fe = {
|
|
21
21
|
key: 0,
|
|
22
22
|
class: "sr-only"
|
|
@@ -94,11 +94,11 @@ const Fe = {
|
|
|
94
94
|
}),
|
|
95
95
|
emits: /* @__PURE__ */ X(["click:row", "contextmenu:row", "dblclick:row", "update:modelValue", "update:selectAll", "update:expandedItems", "update:unselectedItems", "item:selected", "item:unselected"], ["update:selectAll", "update:expandedItems"]),
|
|
96
96
|
setup(A, { emit: te }) {
|
|
97
|
-
const { getItemValue: se } = He(),
|
|
97
|
+
const { getItemValue: se } = He(), F = Be().id.value, a = A, b = te;
|
|
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(),
|
|
101
|
+
const { t: C } = De(), N = ke(), ne = (e) => [C("table.select").value, ...e.map((t) => t.content)].join(" "), oe = 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,
|
|
@@ -106,10 +106,10 @@ const Fe = {
|
|
|
106
106
|
"bb-table--compact": a.compact,
|
|
107
107
|
"bb-table--fixed": a.fixed,
|
|
108
108
|
"bb-table--fixed-header": a.fixedHeaders,
|
|
109
|
-
"bb-table--loading":
|
|
109
|
+
"bb-table--loading": L.value,
|
|
110
110
|
"bb-table--empty": !I.value.length,
|
|
111
111
|
"bb-table--selectable": !!a.selectable
|
|
112
|
-
})),
|
|
112
|
+
})), D = u(
|
|
113
113
|
() => a.columns.length + +!!a.selectable + +!!a.actions
|
|
114
114
|
), z = u(
|
|
115
115
|
() => Object.fromEntries(
|
|
@@ -117,10 +117,10 @@ const Fe = {
|
|
|
117
117
|
)
|
|
118
118
|
), {
|
|
119
119
|
getter: K,
|
|
120
|
-
items:
|
|
120
|
+
items: E,
|
|
121
121
|
loading: re
|
|
122
122
|
} = Te({
|
|
123
|
-
items:
|
|
123
|
+
items: O(a, "items")
|
|
124
124
|
}), { hasPrefilled: be } = Ae({
|
|
125
125
|
onStart: !0,
|
|
126
126
|
currentValue: a.modelValue,
|
|
@@ -129,10 +129,10 @@ const Fe = {
|
|
|
129
129
|
await K(e, a.modelValue);
|
|
130
130
|
}
|
|
131
131
|
}), { data: j } = le({
|
|
132
|
-
items:
|
|
132
|
+
items: O(a, "modelValue")
|
|
133
133
|
}), { options: I } = Ne({
|
|
134
|
-
disabled:
|
|
135
|
-
items:
|
|
134
|
+
disabled: O(a, "disabled"),
|
|
135
|
+
items: E,
|
|
136
136
|
itemText: void 0,
|
|
137
137
|
itemValue: a.itemValue,
|
|
138
138
|
max: a.max,
|
|
@@ -195,7 +195,7 @@ 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 = S.value[t.valueHash] ?? !1;
|
|
199
199
|
return Q && e++, {
|
|
200
200
|
accessibleLabel: ne(J),
|
|
201
201
|
cols: J,
|
|
@@ -212,26 +212,26 @@ 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: S } = 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
|
+
}, P = (e) => ({
|
|
220
|
+
"aria-controls": w(S.value[e.valueHash]) ? void 0 : `expanded_${e.valueHash}`,
|
|
221
221
|
"aria-expanded": e.expanded ? "true" : "false",
|
|
222
222
|
onClick: () => $(e.valueHash),
|
|
223
223
|
onKeydown: (t) => me(t, e.valueHash)
|
|
224
224
|
}), $ = (e) => {
|
|
225
225
|
const t = I.value.find((l) => l.valueHash === e);
|
|
226
|
-
t && (e in
|
|
226
|
+
t && (e in S.value ? V.value = V.value.filter(
|
|
227
227
|
(l) => T(l) !== e
|
|
228
228
|
) : V.value = [...V.value, t.value]);
|
|
229
229
|
};
|
|
230
|
-
|
|
230
|
+
M(f, () => {
|
|
231
231
|
_.clear(), b("update:unselectedItems", []), b("update:modelValue", []);
|
|
232
232
|
});
|
|
233
233
|
const U = u(() => !!(a.multiple && a.modelValue.length > 0 && !a.selectAll || f.value && _.size > 0)), _ = ge(/* @__PURE__ */ new Set());
|
|
234
|
-
|
|
234
|
+
M(
|
|
235
235
|
() => a.unselectedItems,
|
|
236
236
|
() => {
|
|
237
237
|
_.clear(), a.unselectedItems.forEach((e) => {
|
|
@@ -240,7 +240,7 @@ const Fe = {
|
|
|
240
240
|
}
|
|
241
241
|
);
|
|
242
242
|
const W = (e) => {
|
|
243
|
-
if (
|
|
243
|
+
if (R(e)) {
|
|
244
244
|
ce(e), b("item:unselected", e.value), _.add(e.valueHash), b("update:unselectedItems", [...a.unselectedItems, e.value]);
|
|
245
245
|
return;
|
|
246
246
|
}
|
|
@@ -248,7 +248,7 @@ const Fe = {
|
|
|
248
248
|
"update:unselectedItems",
|
|
249
249
|
a.unselectedItems.filter((t) => T(t) !== T(e.value))
|
|
250
250
|
);
|
|
251
|
-
},
|
|
251
|
+
}, R = (e) => _.has(e.valueHash) ? !1 : e.selected || f.value, ve = $e(
|
|
252
252
|
(e) => typeof e != "string",
|
|
253
253
|
JSON.stringify
|
|
254
254
|
), ye = u(
|
|
@@ -261,24 +261,24 @@ const Fe = {
|
|
|
261
261
|
), B = [70, 45, 85, 55], G = u(
|
|
262
262
|
() => Ve(I.value.length || a.columns.length || 1, 4, 10)
|
|
263
263
|
);
|
|
264
|
-
return
|
|
264
|
+
return M(
|
|
265
265
|
() => [q.value, a.fixedColumns],
|
|
266
266
|
() => {
|
|
267
|
-
|
|
268
|
-
e && a.fixedColumns?.length && Re(e, a.fixedColumns);
|
|
267
|
+
N.value && a.fixedColumns?.length && Re(N.value, a.fixedColumns);
|
|
269
268
|
},
|
|
270
269
|
{ flush: "post" }
|
|
271
270
|
), (e, t) => (s(), Z(xe(oe.value), {
|
|
272
|
-
|
|
273
|
-
ref: F,
|
|
274
|
-
"aria-busy": N.value,
|
|
271
|
+
"aria-busy": L.value,
|
|
275
272
|
"aria-rowcount": y.value ? a.totalItems : void 0,
|
|
276
273
|
class: i(de.value),
|
|
277
274
|
inert: e.disabled
|
|
278
275
|
}, {
|
|
279
276
|
default: we(() => [
|
|
280
277
|
e.selectable ? (s(), n("legend", Fe, m(e.legend), 1)) : p("", !0),
|
|
281
|
-
o("table",
|
|
278
|
+
o("table", {
|
|
279
|
+
ref_key: "tableRef",
|
|
280
|
+
ref: N
|
|
281
|
+
}, [
|
|
282
282
|
e.caption ? (s(), n("caption", {
|
|
283
283
|
key: 0,
|
|
284
284
|
class: i({
|
|
@@ -332,7 +332,7 @@ const Fe = {
|
|
|
332
332
|
}, [
|
|
333
333
|
c(e.$slots, l.slotName, {
|
|
334
334
|
classes: l.classes,
|
|
335
|
-
items: v(
|
|
335
|
+
items: v(E),
|
|
336
336
|
label: l.label
|
|
337
337
|
}, () => [
|
|
338
338
|
o("span", We, m(l.label), 1)
|
|
@@ -351,9 +351,9 @@ const Fe = {
|
|
|
351
351
|
])
|
|
352
352
|
]),
|
|
353
353
|
o("tbody", null, [
|
|
354
|
-
|
|
354
|
+
L.value ? c(e.$slots, "loading", {
|
|
355
355
|
key: 0,
|
|
356
|
-
items: v(
|
|
356
|
+
items: v(E)
|
|
357
357
|
}, () => [
|
|
358
358
|
(s(!0), n(k, null, x(G.value, (l, d) => (s(), n("tr", {
|
|
359
359
|
key: d,
|
|
@@ -410,7 +410,7 @@ const Fe = {
|
|
|
410
410
|
class: "bb-table-loading__row bb-table-loading__row--sr-only"
|
|
411
411
|
}, [
|
|
412
412
|
o("td", {
|
|
413
|
-
colspan:
|
|
413
|
+
colspan: D.value,
|
|
414
414
|
class: "bb-table-loading__cell",
|
|
415
415
|
"aria-live": "polite",
|
|
416
416
|
role: "status"
|
|
@@ -434,9 +434,9 @@ const Fe = {
|
|
|
434
434
|
class: i(["bb-table-data__cell bb-table-data__cell--select", e.tdClass])
|
|
435
435
|
}, [
|
|
436
436
|
c(e.$slots, "select", {
|
|
437
|
-
checked:
|
|
437
|
+
checked: R(l),
|
|
438
438
|
disabled: !!l.disabled,
|
|
439
|
-
inputName: v(
|
|
439
|
+
inputName: v(F),
|
|
440
440
|
item: l.item,
|
|
441
441
|
readonly: !!e.readonly,
|
|
442
442
|
value: l.value
|
|
@@ -448,7 +448,7 @@ const Fe = {
|
|
|
448
448
|
}])
|
|
449
449
|
}, [
|
|
450
450
|
ee(ae, {
|
|
451
|
-
checked:
|
|
451
|
+
checked: R(l),
|
|
452
452
|
class: "bb-table-check",
|
|
453
453
|
disabled: l.disabled,
|
|
454
454
|
readonly: e.readonly,
|
|
@@ -465,7 +465,7 @@ const Fe = {
|
|
|
465
465
|
checked: l.selected,
|
|
466
466
|
class: "bb-table-radio",
|
|
467
467
|
disabled: l.disabled,
|
|
468
|
-
name: v(
|
|
468
|
+
name: v(F),
|
|
469
469
|
readonly: e.readonly,
|
|
470
470
|
value: l.value,
|
|
471
471
|
onChange: () => W(l)
|
|
@@ -483,7 +483,7 @@ const Fe = {
|
|
|
483
483
|
content: d.content,
|
|
484
484
|
expanded: l.expanded,
|
|
485
485
|
item: l.item,
|
|
486
|
-
expandProps:
|
|
486
|
+
expandProps: P(l),
|
|
487
487
|
toggleExpanded: () => $(l.valueHash),
|
|
488
488
|
value: l.value
|
|
489
489
|
}, () => [
|
|
@@ -497,7 +497,7 @@ const Fe = {
|
|
|
497
497
|
c(e.$slots, "actions", {
|
|
498
498
|
expanded: l.expanded,
|
|
499
499
|
item: l.item,
|
|
500
|
-
expandProps:
|
|
500
|
+
expandProps: P(l),
|
|
501
501
|
toggleExpanded: () => $(l.valueHash),
|
|
502
502
|
value: l.value
|
|
503
503
|
})
|
|
@@ -510,13 +510,13 @@ const Fe = {
|
|
|
510
510
|
class: "bb-table-expand__row"
|
|
511
511
|
}, [
|
|
512
512
|
o("td", {
|
|
513
|
-
colspan:
|
|
513
|
+
colspan: D.value,
|
|
514
514
|
class: "bb-table-expand__cell"
|
|
515
515
|
}, [
|
|
516
516
|
c(e.$slots, "expand", {
|
|
517
517
|
expanded: l.expanded,
|
|
518
518
|
item: l.item,
|
|
519
|
-
expandProps:
|
|
519
|
+
expandProps: P(l),
|
|
520
520
|
toggleExpanded: () => $(l.valueHash),
|
|
521
521
|
value: l.value
|
|
522
522
|
})
|
|
@@ -530,7 +530,7 @@ const Fe = {
|
|
|
530
530
|
}, [
|
|
531
531
|
o("td", {
|
|
532
532
|
class: "bb-table-no-data__cell",
|
|
533
|
-
colspan:
|
|
533
|
+
colspan: D.value
|
|
534
534
|
}, [
|
|
535
535
|
o("span", bl, m(e.noDataText || v(C)("table.noDataText").value), 1)
|
|
536
536
|
], 8, rl)
|
|
@@ -540,7 +540,7 @@ const Fe = {
|
|
|
540
540
|
o("tfoot", null, [
|
|
541
541
|
c(e.$slots, "tfoot")
|
|
542
542
|
])
|
|
543
|
-
]),
|
|
543
|
+
], 512),
|
|
544
544
|
(s(!0), n(k, null, x(ye.value, (l) => (s(), n("input", Ie({
|
|
545
545
|
key: l.value,
|
|
546
546
|
ref_for: !0
|
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 "./index247.js";
|
|
3
|
+
import { useFrameworkDetection as _ } from "./index248.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 "./index282.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 "./index220.js";
|
|
4
|
+
import { useUntil as X } from "./index259.js";
|
|
5
5
|
import Y from "./index13.js";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import Z from "./
|
|
7
|
+
import Z from "./index224.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 "./index281.js";
|
|
11
|
+
import { parseWidthString as te } from "./index289.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 "./index291.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 "./index226.js";
|
|
9
|
+
import g from "./index227.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 "./index219.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 "./index220.js";
|
|
6
|
+
import { vMaska as A } from "./index221.js";
|
|
7
|
+
import K from "./index222.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 "./index224.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 "./index229.js";
|
|
3
|
+
import { booleanishToBoolean as q } from "./index230.js";
|
|
4
|
+
import { isEqual as A } from "./index231.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 "./index235.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 "./index237.js";
|
|
7
|
+
import { useIndexById as C } from "./index238.js";
|
|
8
|
+
import { useBaseOptions as J } from "./index239.js";
|
|
9
|
+
import { useCoherence as Q } from "./index240.js";
|
|
10
|
+
import { hash as X } from "./index241.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 "./index260.js";
|
|
9
|
+
import ee from "./index263.js";
|
|
10
|
+
import ae from "./index264.js";
|
|
11
|
+
import te from "./index271.js";
|
|
12
|
+
import { hash as B } from "./index241.js";
|
|
13
|
+
import { last as le } from "./index250.js";
|
|
14
|
+
import { validateDateFormat as L } from "./index272.js";
|
|
15
|
+
import { useLogger as oe } from "./index273.js";
|
|
16
|
+
import re from "./index274.js";
|
|
17
|
+
import se from "./index275.js";
|
|
18
|
+
import de from "./index276.js";
|
|
19
|
+
import S from "./index277.js";
|
|
20
|
+
import ie from "./index278.js";
|
|
21
|
+
import { useLocale as ne } from "./index220.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
package/dist/index216.js
CHANGED
package/dist/index217.js
CHANGED
package/dist/index218.js
CHANGED
package/dist/index219.js
CHANGED
package/dist/index220.js
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
import { locales as t } from "./index298.js";
|
|
2
|
+
import { _config as m } from "./index4.js";
|
|
3
|
+
import { get as c } from "./index293.js";
|
|
4
|
+
import { readonly as l, computed as n } from "vue";
|
|
5
|
+
const p = (o, ...r) => l(
|
|
6
|
+
n(() => c(t[m.locale], o).replace(
|
|
7
|
+
/\{(\d+)\}/g,
|
|
8
|
+
(a, e) => r[e]
|
|
9
|
+
))
|
|
10
|
+
), d = () => ({
|
|
11
|
+
t: p
|
|
12
|
+
});
|
|
2
13
|
export {
|
|
3
|
-
|
|
14
|
+
d as useLocale
|
|
4
15
|
};
|
package/dist/index221.js
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
1
|
+
import { MaskInput as r } from "./index245.js";
|
|
2
|
+
const u = /* @__PURE__ */ new WeakMap(), p = (a, n) => {
|
|
3
|
+
if (a.arg == null || a.instance == null) return;
|
|
4
|
+
const s = "setup" in a.instance.$.type;
|
|
5
|
+
a.arg in a.instance ? a.instance[a.arg] = n : s && console.warn("Maska: please expose `%s` using defineExpose", a.arg);
|
|
6
|
+
}, k = (a, n) => {
|
|
7
|
+
var s;
|
|
8
|
+
const t = a instanceof HTMLInputElement ? a : a.querySelector("input");
|
|
9
|
+
if (t == null || t?.type === "file") return;
|
|
10
|
+
let e = {};
|
|
11
|
+
if (n.value != null && (e = typeof n.value == "string" ? { mask: n.value } : { ...n.value }), n.arg != null) {
|
|
12
|
+
const l = (o) => {
|
|
13
|
+
const i = n.modifiers.unmasked ? o.unmasked : n.modifiers.completed ? o.completed : o.masked;
|
|
14
|
+
p(n, i);
|
|
15
|
+
};
|
|
16
|
+
e.onMaska = e.onMaska == null ? l : Array.isArray(e.onMaska) ? [...e.onMaska, l] : [e.onMaska, l];
|
|
17
|
+
}
|
|
18
|
+
u.has(t) ? (s = u.get(t)) == null || s.update(e) : u.set(t, new r(t, e));
|
|
19
|
+
};
|
|
3
20
|
export {
|
|
4
|
-
|
|
21
|
+
k as vMaska
|
|
5
22
|
};
|