bitboss-ui 2.1.74 → 2.1.75
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/BbTable.vue.d.ts +1 -1
- package/dist/composables/useBbConfig.d.ts +5 -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 +29 -29
- package/dist/index13.js +64 -33
- package/dist/index130.js +1 -1
- package/dist/index132.js +4 -4
- 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 +4 -4
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index21.js +13 -13
- 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 -9
- package/dist/index220.js +2 -2
- package/dist/index221.js +19 -12
- package/dist/index222.js +192 -118
- package/dist/index224.js +127 -4
- package/dist/index226.js +86 -2
- package/dist/index228.js +29 -2
- package/dist/index229.js +17 -4
- package/dist/index23.js +10 -10
- package/dist/index230.js +49 -18
- package/dist/index231.js +15 -201
- package/dist/index232.js +5 -0
- package/dist/index233.js +12 -34
- package/dist/index234.js +16 -9
- package/dist/index235.js +13 -2
- package/dist/index236.js +13 -8
- package/dist/index237.js +33 -3
- package/dist/index238.js +28 -29
- package/dist/index240.js +2 -17
- package/dist/index241.js +10 -50
- package/dist/index242.js +8 -12
- package/dist/index243.js +9 -3
- package/dist/index244.js +3 -11
- package/dist/index245.js +2 -8
- package/dist/index246.js +2 -2
- package/dist/index247.js +8 -6
- package/dist/index248.js +34 -2
- package/dist/index249.js +2 -7
- package/dist/index25.js +2 -2
- package/dist/index250.js +3 -188
- package/dist/index251.js +188 -5
- package/dist/index252.js +4 -5
- package/dist/index253.js +9 -5
- package/dist/index254.js +41 -5
- package/dist/index255.js +5 -6
- package/dist/index256.js +5 -268
- package/dist/index257.js +5 -52
- package/dist/index258.js +5 -52
- package/dist/index259.js +2 -32
- package/dist/index260.js +6 -60
- package/dist/index261.js +268 -3
- package/dist/index262.js +50 -16
- package/dist/index263.js +52 -12
- package/dist/index264.js +32 -15
- package/dist/index265.js +60 -4
- package/dist/index266.js +4 -106
- package/dist/index268.js +53 -47
- package/dist/index27.js +1 -1
- package/dist/index270.js +83 -212
- package/dist/index272.js +5 -0
- package/dist/index273.js +3 -10
- package/dist/index274.js +8 -2
- package/dist/index275.js +23 -9
- package/dist/index276.js +5 -67
- package/dist/index277.js +5 -9
- package/dist/index278.js +5 -23
- package/dist/index279.js +5 -5
- package/dist/index280.js +18 -5
- package/dist/index281.js +12 -5
- package/dist/index282.js +229 -5
- package/dist/index283.js +8 -3
- package/dist/index284.js +2 -13
- package/dist/index285.js +6 -6
- package/dist/index286.js +7 -41
- package/dist/index287.js +10 -6
- package/dist/index288.js +3 -16
- package/dist/index289.js +67 -33
- package/dist/index29.js +3 -3
- package/dist/index290.js +7 -28
- package/dist/index291.js +8 -0
- package/dist/index292.js +16 -3
- package/dist/index294.js +3 -17
- package/dist/index296.js +3 -7
- package/dist/index297.js +7 -280
- package/dist/index298.js +3 -2
- package/dist/index299.js +17 -16
- package/dist/index300.js +28 -2
- package/dist/index301.js +5 -16
- package/dist/index302.js +2 -2
- package/dist/index303.js +4 -27
- package/dist/index304.js +280 -2
- package/dist/index305.js +2 -2
- package/dist/index306.js +16 -2
- package/dist/index307.js +2 -2
- package/dist/index308.js +16 -2
- package/dist/index309.js +2 -2
- package/dist/index31.js +2 -2
- package/dist/index310.js +27 -5
- package/dist/index311.js +2 -2
- package/dist/index312.js +2 -3
- package/dist/index313.js +2 -3
- package/dist/index314.js +2 -3
- package/dist/index315.js +2 -3
- package/dist/index316.js +2 -4
- package/dist/index317.js +5 -2
- package/dist/index318.js +3 -4
- package/dist/index319.js +3 -2
- package/dist/index320.js +127 -0
- package/dist/index321.js +2 -3
- package/dist/index322.js +13 -123
- package/dist/index323.js +2 -2
- package/dist/index324.js +16 -12
- package/dist/index326.js +3 -18
- package/dist/index327.js +2 -2
- package/dist/index328.js +2 -6
- package/dist/index329.js +6 -719
- package/dist/index33.js +8 -8
- package/dist/index330.js +8 -366
- package/dist/index331.js +5 -56
- package/dist/index332.js +8 -5
- package/dist/index333.js +34 -6
- package/dist/index334.js +6 -19
- package/dist/index335.js +127 -7
- package/dist/index336.js +395 -12
- package/dist/index337.js +58 -8
- package/dist/index338.js +58 -6
- package/dist/index339.js +228 -8
- package/dist/index340.js +6 -34
- package/dist/index341.js +19 -6
- package/dist/index342.js +7 -127
- package/dist/index343.js +12 -395
- package/dist/index344.js +5 -58
- package/dist/index345.js +7 -58
- package/dist/index346.js +92 -6
- package/dist/index347.js +719 -5
- package/dist/index348.js +366 -93
- package/dist/index349.js +55 -45
- package/dist/index35.js +3 -3
- package/dist/index350.js +133 -21
- package/dist/index351.js +24 -0
- package/dist/index353.js +42 -515
- package/dist/index354.js +514 -222
- package/dist/index37.js +17 -17
- package/dist/index39.js +7 -7
- package/dist/index4.js +12 -10
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +6 -6
- package/dist/index49.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index61.js +3 -3
- package/dist/index80.js +6 -6
- package/dist/index84.js +2 -2
- package/dist/index86.js +3 -3
- package/dist/index88.js +1 -1
- package/dist/index91.js +2 -2
- package/dist/index93.js +1 -1
- package/dist/index95.js +4 -4
- package/dist/index97.js +1 -1
- package/package.json +2 -2
- package/dist/index227.js +0 -4
- package/dist/index239.js +0 -18
- package/dist/index271.js +0 -88
- package/dist/index293.js +0 -30
- package/dist/index352.js +0 -136
- /package/dist/{index225.js → index267.js} +0 -0
|
@@ -12,7 +12,7 @@ declare const _default: <Item = any, T extends ItemKey<Item> = string & {}>(__VL
|
|
|
12
12
|
readonly "onItem:selected"?: ((value: any) => any) | undefined;
|
|
13
13
|
readonly "onItem:unselected"?: ((value: any) => any) | undefined;
|
|
14
14
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue" | "onUpdate:unselectedItems" | "onClick:row" | "onContextmenu:row" | "onDblclick:row" | "onUpdate:selectAll" | "onItem:selected" | "onItem:unselected"> & ({
|
|
15
|
-
selectAll
|
|
15
|
+
selectAll?: boolean;
|
|
16
16
|
} & Omit<BbTableProps<Item>, "columns"> & {
|
|
17
17
|
columns: (Omit<BbTableColumn<Item>, "key"> & {
|
|
18
18
|
key: T;
|
|
@@ -3,12 +3,14 @@ import { locales } from '../i18n';
|
|
|
3
3
|
type Config = {
|
|
4
4
|
inertiaLinkName: string;
|
|
5
5
|
nuxtLinkName: string;
|
|
6
|
+
linkActiveClass: string;
|
|
7
|
+
linkExactActiveClass: string;
|
|
6
8
|
mobileMaxWidth: number;
|
|
7
9
|
locale: keyof typeof locales;
|
|
8
10
|
dialogDefaultSizes: Sizes;
|
|
9
11
|
offCanvasDefaultSizes: Sizes;
|
|
10
12
|
};
|
|
11
|
-
type EditableConfig = Pick<Config, 'inertiaLinkName' | 'nuxtLinkName' | 'locale' | 'mobileMaxWidth'> & {
|
|
13
|
+
type EditableConfig = Pick<Config, 'inertiaLinkName' | 'nuxtLinkName' | 'linkActiveClass' | 'linkExactActiveClass' | 'locale' | 'mobileMaxWidth'> & {
|
|
12
14
|
dialogDefaultSizes: Partial<Config['dialogDefaultSizes']>;
|
|
13
15
|
offCanvasDefaultSizes: Partial<Config['offCanvasDefaultSizes']>;
|
|
14
16
|
};
|
|
@@ -16,6 +18,8 @@ export declare const _config: {
|
|
|
16
18
|
[x: string]: any;
|
|
17
19
|
inertiaLinkName: string;
|
|
18
20
|
nuxtLinkName: string;
|
|
21
|
+
linkActiveClass: string;
|
|
22
|
+
linkExactActiveClass: string;
|
|
19
23
|
mobileMaxWidth: number;
|
|
20
24
|
locale: keyof typeof locales;
|
|
21
25
|
dialogDefaultSizes: {
|
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 "./index253.js";
|
|
3
|
+
import { isNil as k } from "./index249.js";
|
|
4
|
+
import { indexBy as U } from "./index283.js";
|
|
5
|
+
import { hash as p } from "./index232.js";
|
|
6
|
+
import { useItemsGetter as W } from "./index228.js";
|
|
7
|
+
import { usePrefill as q } from "./index234.js";
|
|
8
|
+
import { useIndexById as z } from "./index229.js";
|
|
9
|
+
import { useBaseOptions as J } from "./index230.js";
|
|
10
|
+
import { useHashedWatcher as K } from "./index233.js";
|
|
11
11
|
const oe = /* @__PURE__ */ D({
|
|
12
12
|
__name: "BbRows",
|
|
13
13
|
props: {
|
package/dist/index112.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as v, ref as a, onMounted as m, onBeforeUnmount as p, createBlock as i, openBlock as l, resolveDynamicComponent as u, normalizeStyle as d, withCtx as f, renderSlot as h } from "vue";
|
|
2
|
-
import { throttle as g } from "./
|
|
2
|
+
import { throttle as g } from "./index244.js";
|
|
3
3
|
const O = /* @__PURE__ */ v({
|
|
4
4
|
__name: "BbSmoothHeight",
|
|
5
5
|
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 "./index240.js";
|
|
3
3
|
const d = /* @__PURE__ */ p({
|
|
4
4
|
__name: "BbSpinner",
|
|
5
5
|
props: {
|
package/dist/index120.js
CHANGED
|
@@ -8,7 +8,7 @@ import ce from "./index13.js";
|
|
|
8
8
|
/* empty css */
|
|
9
9
|
import be from "./index112.js";
|
|
10
10
|
/* empty css */
|
|
11
|
-
import { useFrameworkDetection as fe } from "./
|
|
11
|
+
import { useFrameworkDetection as fe } from "./index247.js";
|
|
12
12
|
const he = ["id"], me = { class: "bb-tab__label-boundary" }, ye = { class: "bb-tab__label" }, ve = { class: "bb-tab__panes-container" }, pe = ["id", "aria-labelledby"], Be = /* @__PURE__ */ M({
|
|
13
13
|
__name: "BbTab",
|
|
14
14
|
props: {
|
package/dist/index122.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as be, mergeModels as U, ref as ie, computed as c, toRef as D, useModel as re, watch as H, reactive as ce, createBlock as W, openBlock as t, resolveDynamicComponent as ue, normalizeClass as r, withCtx as pe, createElementBlock as s, createCommentVNode as m, createElementVNode as o, toDisplayString as u, renderSlot as p, unref as y, Fragment as
|
|
2
|
-
import { clamp as _e } from "./
|
|
3
|
-
import { hash as L } from "./
|
|
4
|
-
import { isNil as V } from "./
|
|
5
|
-
import { when as ke } from "./
|
|
1
|
+
import { defineComponent as be, mergeModels as U, ref as ie, computed as c, toRef as D, useModel as re, watch as H, reactive as ce, createBlock as W, openBlock as t, resolveDynamicComponent as ue, normalizeClass as r, withCtx as pe, createElementBlock as s, createCommentVNode as m, createElementVNode as o, toDisplayString as u, renderSlot as p, unref as y, Fragment as h, renderList as g, normalizeStyle as $, createVNode as q, createTextVNode as me, mergeProps as ye } from "vue";
|
|
2
|
+
import { clamp as _e } from "./index216.js";
|
|
3
|
+
import { hash as L } from "./index232.js";
|
|
4
|
+
import { isNil as V } from "./index249.js";
|
|
5
|
+
import { when as ke } from "./index252.js";
|
|
6
6
|
import { useId as ve } from "./index8.js";
|
|
7
|
-
import { useItemValue as
|
|
8
|
-
import { useItemsGetter as
|
|
9
|
-
import { usePrefill as ge } from "./
|
|
10
|
-
import { useIndexById as Ce } from "./
|
|
11
|
-
import { useBaseOptions as we } from "./
|
|
12
|
-
import { useHashedWatcher as Ve } from "./
|
|
7
|
+
import { useItemValue as fe } from "./index253.js";
|
|
8
|
+
import { useItemsGetter as he } from "./index228.js";
|
|
9
|
+
import { usePrefill as ge } from "./index234.js";
|
|
10
|
+
import { useIndexById as Ce } from "./index229.js";
|
|
11
|
+
import { useBaseOptions as we } from "./index230.js";
|
|
12
|
+
import { useHashedWatcher as Ve } from "./index233.js";
|
|
13
13
|
import { useLocale as Be } from "./index220.js";
|
|
14
14
|
import G from "./index17.js";
|
|
15
15
|
/* empty css */
|
|
16
16
|
import Te from "./index31.js";
|
|
17
17
|
/* empty css */
|
|
18
|
-
import { columnKeyToSlotName as $e, mergeHeaderClasses as Ie, applyFixedTableColumns as Ae, mergeCellClasses as Ne } from "./
|
|
19
|
-
import { useLogger as De } from "./
|
|
18
|
+
import { columnKeyToSlotName as $e, mergeHeaderClasses as Ie, applyFixedTableColumns as Ae, mergeCellClasses as Ne } from "./index254.js";
|
|
19
|
+
import { useLogger as De } from "./index242.js";
|
|
20
20
|
const He = {
|
|
21
21
|
key: 0,
|
|
22
22
|
class: "sr-only"
|
|
@@ -84,16 +84,16 @@ const He = {
|
|
|
84
84
|
unselectedItems: { default: () => [] },
|
|
85
85
|
columns: { default: () => [] }
|
|
86
86
|
}, {
|
|
87
|
-
selectAll: { type: Boolean, required: !
|
|
87
|
+
selectAll: { type: Boolean, required: !1, default: !1 },
|
|
88
88
|
selectAllModifiers: {}
|
|
89
89
|
}),
|
|
90
90
|
emits: /* @__PURE__ */ U(["click:row", "contextmenu:row", "dblclick:row", "update:modelValue", "update:selectAll", "update:unselectedItems", "item:selected", "item:unselected"], ["update:selectAll"]),
|
|
91
91
|
setup(x, { emit: J }) {
|
|
92
|
-
const { getItemValue: Q } =
|
|
92
|
+
const { getItemValue: Q } = fe(), S = ve().id.value, l = x, i = J;
|
|
93
93
|
l.multiple && !Array.isArray(l.modelValue) && De().throw(
|
|
94
94
|
"BbTable is set for multiple selection but modelValue is not an array."
|
|
95
95
|
);
|
|
96
|
-
const { t: C } = Be(), R = ie(), X = (e) => [C("table.select").value, ...e.map((n) => n.content)].join(" "), Y = c(() => l.selectable ? "fieldset" : "div"), I = c(() => l.loading || ee.value),
|
|
96
|
+
const { t: C } = Be(), R = ie(), X = (e) => [C("table.select").value, ...e.map((n) => n.content)].join(" "), Y = c(() => l.selectable ? "fieldset" : "div"), I = c(() => l.loading || ee.value), f = c(
|
|
97
97
|
() => !V(l.page) && !V(l.perPage) && !V(l.totalItems)
|
|
98
98
|
), Z = c(() => ({
|
|
99
99
|
"bb-table": !0,
|
|
@@ -114,7 +114,7 @@ const He = {
|
|
|
114
114
|
getter: M,
|
|
115
115
|
items: A,
|
|
116
116
|
loading: ee
|
|
117
|
-
} =
|
|
117
|
+
} = he({
|
|
118
118
|
items: D(l, "items")
|
|
119
119
|
}), { hasPrefilled: le } = ge({
|
|
120
120
|
onStart: !0,
|
|
@@ -187,7 +187,7 @@ const He = {
|
|
|
187
187
|
})
|
|
188
188
|
), E = c(
|
|
189
189
|
() => B.value.map((e, n) => {
|
|
190
|
-
const a = !l.selectable || typeof l.selectable == "function" && !l.selectable(e.item) || !!e.disabled, d =
|
|
190
|
+
const a = !l.selectable || typeof l.selectable == "function" && !l.selectable(e.item) || !!e.disabled, d = f.value ? n + (l.page - 1) * l.perPage + 2 : void 0, b = l.columns.map(
|
|
191
191
|
(v) => se(v, e)
|
|
192
192
|
);
|
|
193
193
|
return {
|
|
@@ -251,7 +251,7 @@ const He = {
|
|
|
251
251
|
ref_key: "containerRef",
|
|
252
252
|
ref: R,
|
|
253
253
|
"aria-busy": I.value,
|
|
254
|
-
"aria-rowcount":
|
|
254
|
+
"aria-rowcount": f.value ? l.totalItems : void 0,
|
|
255
255
|
class: r(Z.value),
|
|
256
256
|
inert: e.disabled
|
|
257
257
|
}, {
|
|
@@ -268,7 +268,7 @@ const He = {
|
|
|
268
268
|
o("thead", null, [
|
|
269
269
|
p(e.$slots, "thead", {}, () => [
|
|
270
270
|
o("tr", {
|
|
271
|
-
"aria-rowindex":
|
|
271
|
+
"aria-rowindex": f.value ? 1 : void 0,
|
|
272
272
|
class: "bb-table-header-row"
|
|
273
273
|
}, [
|
|
274
274
|
e.selectable ? (t(), s("th", {
|
|
@@ -303,7 +303,7 @@ const He = {
|
|
|
303
303
|
])
|
|
304
304
|
])
|
|
305
305
|
], 2)) : m("", !0),
|
|
306
|
-
(t(!0), s(
|
|
306
|
+
(t(!0), s(h, null, g(oe.value, (a) => (t(), s("th", {
|
|
307
307
|
key: a.key,
|
|
308
308
|
"aria-sort": a.sortDirection,
|
|
309
309
|
class: r(["bb-table-header", a.classes]),
|
|
@@ -334,15 +334,15 @@ const He = {
|
|
|
334
334
|
key: 0,
|
|
335
335
|
items: y(A)
|
|
336
336
|
}, () => [
|
|
337
|
-
(t(!0), s(
|
|
337
|
+
(t(!0), s(h, null, g(K.value, (a, d) => (t(), s("tr", {
|
|
338
338
|
key: d,
|
|
339
|
-
"aria-rowindex":
|
|
339
|
+
"aria-rowindex": f.value ? d + 2 : void 0,
|
|
340
340
|
class: "bb-table-skeleton__row"
|
|
341
341
|
}, [
|
|
342
342
|
e.selectable ? (t(), s("td", Ee, n[1] || (n[1] = [
|
|
343
343
|
o("div", { class: "bb-table-skeleton__placeholder" }, null, -1)
|
|
344
344
|
]))) : m("", !0),
|
|
345
|
-
(t(!0), s(
|
|
345
|
+
(t(!0), s(h, null, g(l.columns, (b, w) => (t(), s("td", {
|
|
346
346
|
key: b.key,
|
|
347
347
|
class: r([
|
|
348
348
|
"bb-table-skeleton__cell",
|
|
@@ -385,7 +385,7 @@ const He = {
|
|
|
385
385
|
]))) : m("", !0)
|
|
386
386
|
], 8, ze))), 128)),
|
|
387
387
|
o("tr", {
|
|
388
|
-
"aria-rowindex":
|
|
388
|
+
"aria-rowindex": f.value ? K.value + 2 : void 0,
|
|
389
389
|
class: "bb-table-loading__row bb-table-loading__row--sr-only"
|
|
390
390
|
}, [
|
|
391
391
|
o("td", {
|
|
@@ -398,7 +398,7 @@ const He = {
|
|
|
398
398
|
], 8, Qe)
|
|
399
399
|
], 8, Je)
|
|
400
400
|
]) : y(B).length ? p(e.$slots, "tbody", { key: 2 }, () => [
|
|
401
|
-
(t(!0), s(
|
|
401
|
+
(t(!0), s(h, null, g(E.value, (a) => (t(), s("tr", {
|
|
402
402
|
key: a.valueHash,
|
|
403
403
|
"aria-rowindex": a.rowIndex,
|
|
404
404
|
class: "bb-table-data__row",
|
|
@@ -451,7 +451,7 @@ const He = {
|
|
|
451
451
|
], 2))
|
|
452
452
|
])
|
|
453
453
|
], 2)) : m("", !0),
|
|
454
|
-
(t(!0), s(
|
|
454
|
+
(t(!0), s(h, null, g(a.cols, (d) => (t(), s("td", {
|
|
455
455
|
key: d.key,
|
|
456
456
|
class: r(["bb-table-data__cell", d.classes])
|
|
457
457
|
}, [
|
|
@@ -476,7 +476,7 @@ const He = {
|
|
|
476
476
|
], 40, ll))), 128))
|
|
477
477
|
]) : p(e.$slots, "no-data", { key: 1 }, () => [
|
|
478
478
|
o("tr", {
|
|
479
|
-
"aria-rowindex":
|
|
479
|
+
"aria-rowindex": f.value ? 2 : void 0,
|
|
480
480
|
class: "bb-table-no-data__row"
|
|
481
481
|
}, [
|
|
482
482
|
o("td", {
|
|
@@ -492,7 +492,7 @@ const He = {
|
|
|
492
492
|
p(e.$slots, "tfoot")
|
|
493
493
|
])
|
|
494
494
|
]),
|
|
495
|
-
(t(!0), s(
|
|
495
|
+
(t(!0), s(h, null, g(de.value, (a) => (t(), s("input", ye({
|
|
496
496
|
key: a.value,
|
|
497
497
|
ref_for: !0
|
|
498
498
|
}, a), null, 16))), 128))
|
package/dist/index13.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import { useFrameworkDetection as
|
|
4
|
-
|
|
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 "./index248.js";
|
|
3
|
+
import { useFrameworkDetection as _ } from "./index247.js";
|
|
4
|
+
import { _config as g } from "./index4.js";
|
|
5
|
+
const D = /* @__PURE__ */ w({
|
|
5
6
|
__name: "BaseButton",
|
|
6
7
|
props: {
|
|
7
8
|
activeClass: {},
|
|
@@ -31,15 +32,45 @@ const P = /* @__PURE__ */ C({
|
|
|
31
32
|
to: {},
|
|
32
33
|
type: { default: "button" }
|
|
33
34
|
},
|
|
34
|
-
setup(
|
|
35
|
-
const e =
|
|
35
|
+
setup(C) {
|
|
36
|
+
const e = C, { isInertia: a } = _(), S = P(), n = r(() => {
|
|
37
|
+
const t = S?.proxy?.$page?.url;
|
|
38
|
+
if (t)
|
|
39
|
+
try {
|
|
40
|
+
return new URL(t, "http://localhost").pathname;
|
|
41
|
+
} catch {
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
}), k = r(() => {
|
|
45
|
+
if (!a || !e.href || !n.value) return !1;
|
|
46
|
+
try {
|
|
47
|
+
return new URL(e.href, "http://localhost").pathname === n.value;
|
|
48
|
+
} catch {
|
|
49
|
+
return !1;
|
|
50
|
+
}
|
|
51
|
+
}), A = r(() => {
|
|
52
|
+
if (!a || !e.href || !n.value) return !1;
|
|
53
|
+
try {
|
|
54
|
+
return n.value.startsWith(
|
|
55
|
+
new URL(e.href, "http://localhost").pathname
|
|
56
|
+
);
|
|
57
|
+
} catch {
|
|
58
|
+
return !1;
|
|
59
|
+
}
|
|
60
|
+
}), s = r(() => !!(e.href && a && !e.disabled && !e.target || e.to && !e.disabled)), o = r(() => !!(e.href || e.to && e.disabled)), m = r(
|
|
61
|
+
() => e.activeClass ?? g.linkActiveClass
|
|
62
|
+
), y = r(
|
|
63
|
+
() => e.exactActiveClass ?? g.linkExactActiveClass
|
|
64
|
+
), l = r(() => ({
|
|
36
65
|
"base-btn": !0,
|
|
37
66
|
"base-btn--block": e.block,
|
|
38
|
-
"base-btn--disabled": e.disabled
|
|
39
|
-
|
|
67
|
+
"base-btn--disabled": e.disabled,
|
|
68
|
+
[m.value]: A.value,
|
|
69
|
+
[y.value]: k.value
|
|
70
|
+
})), B = () => ({
|
|
40
71
|
disabled: e.disabled,
|
|
41
72
|
type: e.type
|
|
42
|
-
}),
|
|
73
|
+
}), F = () => {
|
|
43
74
|
if (e.disabled)
|
|
44
75
|
return {
|
|
45
76
|
"aria-disabled": !0,
|
|
@@ -50,42 +81,42 @@ const P = /* @__PURE__ */ C({
|
|
|
50
81
|
href: e.href,
|
|
51
82
|
target: e.target
|
|
52
83
|
};
|
|
53
|
-
return
|
|
54
|
-
},
|
|
55
|
-
activeClass:
|
|
84
|
+
return a && (t.data = e.data, t.headers = e.headers, t.method = e.method, t.onBefore = e.onBefore, t.onCancel = e.onCancel, t.onCancelToken = e.onCancelToken, t.onFinish = e.onFinish, t.only = e.only, t.onProgress = e.onProgress, t.onStart = e.onStart, t.onSuccess = e.onSuccess, t.preserveScroll = e.preserveScroll, t.preserveState = e.preserveState, t.queryStringArrayFormat = e.queryStringArrayFormat, t.replace = e.replace), t;
|
|
85
|
+
}, x = () => ({
|
|
86
|
+
activeClass: m.value,
|
|
56
87
|
ariaCurrentValue: e.ariaCurrentValue,
|
|
57
|
-
exactActiveClass:
|
|
88
|
+
exactActiveClass: y.value,
|
|
58
89
|
replace: e.replace,
|
|
59
90
|
target: e.target,
|
|
60
91
|
to: e.to
|
|
61
|
-
}),
|
|
62
|
-
return (t,
|
|
92
|
+
}), u = r(() => !s.value && !o.value ? B() : o.value || s.value && a ? F() : s.value ? x() : {});
|
|
93
|
+
return (t, $) => s.value ? (i(), c(R, f({
|
|
63
94
|
key: 0,
|
|
64
|
-
class:
|
|
65
|
-
},
|
|
66
|
-
default:
|
|
67
|
-
|
|
68
|
-
p(
|
|
95
|
+
class: l.value
|
|
96
|
+
}, u.value), {
|
|
97
|
+
default: v(() => [
|
|
98
|
+
d(t.$slots, "default", {}, () => [
|
|
99
|
+
p(h(t.text), 1)
|
|
69
100
|
])
|
|
70
101
|
]),
|
|
71
102
|
_: 3
|
|
72
|
-
}, 16, ["class"])) :
|
|
103
|
+
}, 16, ["class"])) : o.value ? (i(), c(b("a"), f({
|
|
73
104
|
key: 1,
|
|
74
|
-
class:
|
|
75
|
-
},
|
|
76
|
-
default:
|
|
77
|
-
|
|
78
|
-
p(
|
|
105
|
+
class: l.value
|
|
106
|
+
}, u.value), {
|
|
107
|
+
default: v(() => [
|
|
108
|
+
d(t.$slots, "default", {}, () => [
|
|
109
|
+
p(h(t.text), 1)
|
|
79
110
|
])
|
|
80
111
|
]),
|
|
81
112
|
_: 3
|
|
82
|
-
}, 16, ["class"])) : (i(),
|
|
113
|
+
}, 16, ["class"])) : (i(), c(b(t.tag), f({
|
|
83
114
|
key: 2,
|
|
84
|
-
class:
|
|
85
|
-
},
|
|
86
|
-
default:
|
|
87
|
-
|
|
88
|
-
p(
|
|
115
|
+
class: l.value
|
|
116
|
+
}, u.value), {
|
|
117
|
+
default: v(() => [
|
|
118
|
+
d(t.$slots, "default", {}, () => [
|
|
119
|
+
p(h(t.text), 1)
|
|
89
120
|
])
|
|
90
121
|
]),
|
|
91
122
|
_: 3
|
|
@@ -93,5 +124,5 @@ const P = /* @__PURE__ */ C({
|
|
|
93
124
|
}
|
|
94
125
|
});
|
|
95
126
|
export {
|
|
96
|
-
|
|
127
|
+
D as default
|
|
97
128
|
};
|
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 "./index289.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
3
|
import { useLocale as Q } from "./index220.js";
|
|
4
|
-
import { useUntil as X } from "./
|
|
4
|
+
import { useUntil as X } from "./index236.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 "./index266.js";
|
|
11
|
+
import { parseWidthString as te } from "./index267.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 "./index276.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 "./index237.js";
|
|
9
|
+
import g from "./index238.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
5
|
import { useLocale as U } from "./index220.js";
|
|
6
|
-
import { vMaska as A } from "./
|
|
7
|
-
import K from "./
|
|
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 "./index240.js";
|
|
3
|
+
import { booleanishToBoolean as q } from "./index245.js";
|
|
4
|
+
import { isEqual as A } from "./index273.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 "./index226.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 "./index228.js";
|
|
7
|
+
import { useIndexById as C } from "./index229.js";
|
|
8
|
+
import { useBaseOptions as J } from "./index230.js";
|
|
9
|
+
import { useCoherence as Q } from "./index231.js";
|
|
10
|
+
import { hash as X } from "./index232.js";
|
|
11
|
+
import { useHashedWatcher as $ } from "./index233.js";
|
|
12
|
+
import { usePrefill as Y } from "./index234.js";
|
|
13
13
|
const ce = /* @__PURE__ */ z({
|
|
14
14
|
__name: "BaseCheckboxGroup",
|
|
15
15
|
props: {
|
package/dist/index21.js
CHANGED
|
@@ -5,19 +5,19 @@ 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 "./
|
|
8
|
+
import d from "./index255.js";
|
|
9
|
+
import ee from "./index256.js";
|
|
10
|
+
import ae from "./index257.js";
|
|
11
|
+
import te from "./index258.js";
|
|
12
|
+
import { hash as B } from "./index232.js";
|
|
13
|
+
import { last as le } from "./index259.js";
|
|
14
|
+
import { validateDateFormat as L } from "./index260.js";
|
|
15
|
+
import { useLogger as oe } from "./index242.js";
|
|
16
|
+
import re from "./index261.js";
|
|
17
|
+
import se from "./index262.js";
|
|
18
|
+
import de from "./index263.js";
|
|
19
|
+
import S from "./index264.js";
|
|
20
|
+
import ie from "./index265.js";
|
|
21
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)" },
|
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
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
return {
|
|
5
|
-
isInertia: n,
|
|
6
|
-
isNuxt: r
|
|
7
|
-
};
|
|
8
|
-
};
|
|
1
|
+
function x(e) {
|
|
2
|
+
return /^#([A-Fa-f0-9]{6})$/.test(e);
|
|
3
|
+
}
|
|
9
4
|
export {
|
|
10
|
-
|
|
5
|
+
x as isHex
|
|
11
6
|
};
|
package/dist/index220.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { locales as t } from "./
|
|
1
|
+
import { locales as t } from "./index297.js";
|
|
2
2
|
import { _config as m } from "./index4.js";
|
|
3
|
-
import { get as c } from "./
|
|
3
|
+
import { get as c } from "./index241.js";
|
|
4
4
|
import { readonly as l, computed as n } from "vue";
|
|
5
5
|
const p = (o, ...r) => l(
|
|
6
6
|
n(() => c(t[m.locale], o).replace(
|