bitboss-ui 2.1.98 → 2.1.100
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/composables/useConfirm.d.ts +59 -10
- package/dist/index108.js +9 -9
- package/dist/index115.js +1 -1
- package/dist/index121.js +3 -3
- package/dist/index123.js +12 -12
- package/dist/index131.js +1 -1
- package/dist/index133.js +5 -5
- package/dist/index135.js +1 -1
- package/dist/index137.js +2 -2
- package/dist/index14.js +1 -1
- package/dist/index142.js +2 -2
- package/dist/index144.js +1 -1
- package/dist/index145.js +2 -2
- package/dist/index16.js +5 -5
- package/dist/index18.js +3 -3
- package/dist/index20.js +8 -8
- package/dist/index216.js +2 -138
- package/dist/index218.js +138 -2
- package/dist/index219.js +5 -5
- package/dist/index22.js +14 -14
- package/dist/index220.js +8 -5
- package/dist/index221.js +33 -5
- package/dist/index222.js +28 -5
- package/dist/index224.js +34 -2
- package/dist/index225.js +5 -6
- package/dist/index226.js +5 -8
- package/dist/index227.js +5 -268
- package/dist/index228.js +5 -52
- package/dist/index229.js +5 -52
- package/dist/index230.js +5 -32
- package/dist/index231.js +2 -60
- package/dist/index232.js +3 -13
- package/dist/index233.js +13 -5
- package/dist/index234.js +20 -5
- package/dist/index235.js +135 -5
- package/dist/index237.js +86 -3
- package/dist/index239.js +28 -134
- package/dist/index24.js +11 -11
- package/dist/index240.js +18 -0
- package/dist/index241.js +17 -86
- package/dist/index242.js +53 -0
- package/dist/index243.js +12 -26
- package/dist/index244.js +3 -17
- package/dist/index245.js +11 -50
- package/dist/index246.js +8 -14
- package/dist/index247.js +8 -11
- package/dist/index248.js +12 -15
- package/dist/index249.js +23 -2
- package/dist/index250.js +4 -2
- package/dist/index251.js +23 -3
- package/dist/index252.js +3 -5
- package/dist/index253.js +2 -8
- package/dist/index254.js +2 -33
- package/dist/index255.js +2 -28
- package/dist/index256.js +9 -0
- package/dist/index257.js +2 -2
- package/dist/index258.js +6 -187
- package/dist/index259.js +10 -3
- package/dist/index26.js +3 -3
- package/dist/index260.js +2 -12
- package/dist/index261.js +3 -4
- package/dist/index262.js +2 -23
- package/dist/index263.js +187 -12
- package/dist/index264.js +3 -9
- package/dist/index265.js +4 -7
- package/dist/index266.js +4 -3
- package/dist/index267.js +196 -29
- package/dist/index269.js +6 -201
- package/dist/index270.js +18 -0
- package/dist/index271.js +66 -8
- package/dist/index272.js +3 -23
- package/dist/index274.js +8 -11
- package/dist/index275.js +9 -10
- package/dist/index276.js +52 -2
- package/dist/index277.js +12 -105
- package/dist/index278.js +13 -0
- package/dist/index279.js +5 -100
- package/dist/index28.js +1 -1
- package/dist/index280.js +8 -0
- package/dist/index281.js +266 -16
- package/dist/index282.js +52 -12
- package/dist/index283.js +52 -4
- package/dist/index284.js +25 -97
- package/dist/index285.js +60 -3
- package/dist/index286.js +100 -61
- package/dist/index288.js +99 -15
- package/dist/index290.js +21 -7
- package/dist/index291.js +7 -7
- package/dist/index292.js +5 -9
- package/dist/index293.js +16 -51
- package/dist/index294.js +12 -21
- package/dist/index295.js +104 -5
- package/dist/index296.js +2 -7
- package/dist/index297.js +7 -3
- package/dist/index298.js +3 -17
- package/dist/index299.js +14 -25
- package/dist/index30.js +2 -2
- package/dist/index300.js +30 -0
- package/dist/index301.js +5 -3
- package/dist/index303.js +3 -2
- package/dist/index304.js +3 -16
- package/dist/index305.js +4 -2
- package/dist/index306.js +277 -13
- package/dist/index307.js +2 -2
- package/dist/index308.js +120 -22
- package/dist/index309.js +2 -2
- package/dist/index310.js +15 -2
- package/dist/index311.js +2 -2
- package/dist/index312.js +16 -2
- package/dist/index313.js +2 -2
- package/dist/index314.js +16 -2
- package/dist/index315.js +2 -3
- package/dist/index316.js +16 -122
- package/dist/index317.js +2 -2
- package/dist/index318.js +3 -15
- package/dist/index319.js +2 -2
- package/dist/index32.js +2 -2
- package/dist/index320.js +5 -19
- package/dist/index321.js +719 -2
- package/dist/index322.js +366 -2
- package/dist/index323.js +57 -5
- package/dist/index324.js +27 -3
- package/dist/index325.js +2 -2
- package/dist/index326.js +2 -3
- package/dist/index327.js +2 -3
- package/dist/index328.js +2 -5
- package/dist/index329.js +2 -719
- package/dist/index330.js +2 -366
- package/dist/index331.js +3 -57
- package/dist/index332.js +3 -2
- package/dist/index333.js +4 -4
- package/dist/index334.js +5 -3
- package/dist/index335.js +227 -5
- package/dist/index336.js +58 -7
- package/dist/index337.js +58 -5
- package/dist/index34.js +8 -8
- package/dist/index340.js +2 -2
- package/dist/index341.js +3 -3
- package/dist/index342.js +8 -58
- package/dist/index343.js +6 -58
- package/dist/index344.js +8 -7
- package/dist/index345.js +91 -17
- package/dist/index346.js +2 -9
- package/dist/index347.js +131 -12
- package/dist/index348.js +6 -7
- package/dist/index349.js +18 -5
- package/dist/index350.js +9 -8
- package/dist/index351.js +12 -90
- package/dist/index352.js +5 -22
- package/dist/index353.js +9 -0
- package/dist/index354.js +21 -227
- package/dist/index356.js +36 -38
- package/dist/index357.js +3 -3
- package/dist/index358.js +441 -2
- package/dist/index359.js +128 -2
- package/dist/index36.js +4 -4
- package/dist/index360.js +2 -441
- package/dist/index361.js +2 -128
- package/dist/index363.js +1 -1
- package/dist/index38.js +20 -20
- package/dist/index40.js +6 -6
- package/dist/index42.js +2 -2
- package/dist/index44.js +8 -8
- package/dist/index46.js +6 -6
- package/dist/index50.js +2 -2
- package/dist/index54.js +1 -1
- package/dist/index56.js +1 -1
- package/dist/index58.js +2 -2
- package/dist/index6.js +33 -32
- package/dist/index62.js +5 -5
- package/dist/index68.js +1 -1
- package/dist/index74.js +1 -1
- package/dist/index76.js +5 -5
- package/dist/index81.js +6 -6
- package/dist/index83.js +1 -1
- package/dist/index85.js +2 -2
- package/dist/index87.js +3 -3
- package/dist/index89.js +1 -1
- package/dist/index92.js +3 -3
- package/dist/index94.js +2 -2
- package/dist/index96.js +5 -5
- package/package.json +2 -2
- package/dist/index223.js +0 -5
- package/dist/index236.js +0 -4
- package/dist/index238.js +0 -22
- package/dist/index268.js +0 -6
- package/dist/index287.js +0 -8
- package/dist/index289.js +0 -4
- package/dist/index302.js +0 -282
- package/dist/index355.js +0 -136
|
@@ -2,30 +2,75 @@ import { DeepReadonly, Ref } from 'vue';
|
|
|
2
2
|
import { Sizes } from '../components/BaseDialog/BaseDialog.vue';
|
|
3
3
|
export type ConfirmState = {
|
|
4
4
|
current: StackMessage | null;
|
|
5
|
+
loading: boolean;
|
|
6
|
+
noBusy: boolean;
|
|
5
7
|
processing: boolean;
|
|
6
8
|
yesBusy: boolean;
|
|
7
|
-
noBusy: boolean;
|
|
8
|
-
loading: boolean;
|
|
9
9
|
};
|
|
10
|
+
/**
|
|
11
|
+
* Configuration options for a single `confirm()` call.
|
|
12
|
+
*
|
|
13
|
+
* Defaults applied by `confirm()`:
|
|
14
|
+
* - `yesText: "OK"`
|
|
15
|
+
* - `noText: "Annulla"`
|
|
16
|
+
* - `dismissAsNo: true`
|
|
17
|
+
*
|
|
18
|
+
* Notes:
|
|
19
|
+
* - `autoClose` is opt-in. When omitted, resolve/reject does not close the dialog automatically.
|
|
20
|
+
* - `timeout` enables automatic close behavior and resolves as `false` when it elapses.
|
|
21
|
+
* - `returning: true` makes the confirm promise resolve with callback return values.
|
|
22
|
+
*/
|
|
10
23
|
export type ConfirmMessage = {
|
|
11
|
-
|
|
12
|
-
theme?: string;
|
|
13
|
-
size?: keyof Sizes;
|
|
24
|
+
/** Shows footer action buttons. Set `false` for content-only confirms. */
|
|
14
25
|
actions?: boolean;
|
|
15
|
-
|
|
26
|
+
/**
|
|
27
|
+
* When `true`, closes the dialog after resolve/reject if no messages are queued.
|
|
28
|
+
* When omitted, close is handled manually through `useConfirm().close()`.
|
|
29
|
+
*/
|
|
30
|
+
autoClose?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Controls whether implicit dismissals (overlay, X button, timeout, escape) trigger `onNo`.
|
|
33
|
+
* Explicit "No" button clicks always trigger `onNo` when provided.
|
|
34
|
+
*
|
|
35
|
+
* @default true
|
|
36
|
+
*/
|
|
37
|
+
dismissAsNo?: boolean;
|
|
38
|
+
/** Enables/disables the "No" action button. */
|
|
16
39
|
no?: boolean;
|
|
17
|
-
|
|
40
|
+
/** Label for the "No" action button. */
|
|
18
41
|
noText?: string;
|
|
19
|
-
|
|
42
|
+
/** Callback executed for a negative outcome. Can be async. */
|
|
20
43
|
onNo?: () => unknown | Promise<unknown>;
|
|
44
|
+
/** Callback executed for a positive outcome. Can be async. */
|
|
45
|
+
onYes?: () => unknown | Promise<unknown>;
|
|
46
|
+
/**
|
|
47
|
+
* When `true`, resolves with `onYes` / `onNo` return value instead of `true` / `false`.
|
|
48
|
+
*/
|
|
21
49
|
returning?: boolean;
|
|
22
|
-
|
|
50
|
+
/** Dialog size forwarded to `BaseDialog`. */
|
|
51
|
+
size?: keyof Sizes;
|
|
52
|
+
/** Body text content shown in the confirm dialog. */
|
|
53
|
+
text?: string;
|
|
54
|
+
/** Visual theme name forwarded to confirm UI. */
|
|
55
|
+
theme?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Auto-dismiss time in milliseconds.
|
|
58
|
+
* When set, dismissal is treated as `false` and dialog auto-closes.
|
|
59
|
+
*/
|
|
23
60
|
timeout?: number;
|
|
61
|
+
/** Enables/disables the "Yes" action button. */
|
|
62
|
+
yes?: boolean;
|
|
63
|
+
/** Label for the "Yes" action button. */
|
|
64
|
+
yesText?: string;
|
|
24
65
|
} & ({
|
|
66
|
+
/** Hides the header of the confirm dialog. */
|
|
25
67
|
hideHeader: true;
|
|
68
|
+
/** Title of the confirm dialog. */
|
|
26
69
|
title?: string;
|
|
27
70
|
} | {
|
|
71
|
+
/** Hides the header of the confirm dialog. */
|
|
28
72
|
hideHeader?: false;
|
|
73
|
+
/** Title of the confirm dialog. */
|
|
29
74
|
title: string;
|
|
30
75
|
});
|
|
31
76
|
type StackMessage = ConfirmMessage & {
|
|
@@ -40,8 +85,12 @@ export declare const confirmState: Ref<DeepReadonly<ConfirmState>>;
|
|
|
40
85
|
/**
|
|
41
86
|
* Handles user interaction with the confirm dialog.
|
|
42
87
|
* Executes the appropriate callback and resolves/rejects the promise.
|
|
88
|
+
*
|
|
89
|
+
* @param explicit - `true` when the user chose “No” via the No button (or portal `no`).
|
|
90
|
+
* `false` for backdrop / close icon / timeout. `onNo` runs when `explicit` is true, or when
|
|
91
|
+
* `dismissAsNo` is true for an implicit dismiss.
|
|
43
92
|
*/
|
|
44
|
-
export declare const processMessage: (value: boolean) => Promise<void>;
|
|
93
|
+
export declare const processMessage: (value: boolean, explicit?: boolean) => Promise<void>;
|
|
45
94
|
/** Composable for programmatically showing confirm dialogs. */
|
|
46
95
|
export declare const useConfirm: () => {
|
|
47
96
|
confirm: <T extends ConfirmMessage>(message: T) => Promise<ReturnedValue<T>>;
|
package/dist/index108.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 "./index275.js";
|
|
3
|
+
import { isNil as k } from "./index255.js";
|
|
4
|
+
import { indexBy as U } from "./index290.js";
|
|
5
|
+
import { hash as p } from "./index244.js";
|
|
6
|
+
import { useItemsGetter as W } from "./index239.js";
|
|
7
|
+
import { usePrefill as q } from "./index240.js";
|
|
8
|
+
import { useIndexById as z } from "./index241.js";
|
|
9
|
+
import { useBaseOptions as J } from "./index242.js";
|
|
10
|
+
import { useHashedWatcher as K } from "./index245.js";
|
|
11
11
|
const oe = /* @__PURE__ */ D({
|
|
12
12
|
__name: "BbRows",
|
|
13
13
|
props: {
|
package/dist/index115.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 "./index254.js";
|
|
3
3
|
const d = /* @__PURE__ */ p({
|
|
4
4
|
__name: "BbSpinner",
|
|
5
5
|
props: {
|
package/dist/index121.js
CHANGED
|
@@ -9,11 +9,11 @@ import Be from "./index113.js";
|
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { useFrameworkDetection as Te } from "./index143.js";
|
|
11
11
|
import { merge as qe } from "./index273.js";
|
|
12
|
-
import { isNil as Le } from "./
|
|
12
|
+
import { isNil as Le } from "./index255.js";
|
|
13
13
|
import { useQuery as Fe } from "./index11.js";
|
|
14
|
-
import { hash as Ee } from "./
|
|
14
|
+
import { hash as Ee } from "./index244.js";
|
|
15
15
|
import { isNotNil as Ne } from "./index146.js";
|
|
16
|
-
import { useLogger as Pe } from "./
|
|
16
|
+
import { useLogger as Pe } from "./index274.js";
|
|
17
17
|
const Ve = ["id"], Re = { class: "bb-tab__label-boundary" }, Ke = { class: "bb-tab__label" }, De = { class: "bb-tab__panes-container" }, We = ["id", "aria-labelledby", "tabindex"], rt = /* @__PURE__ */ fe({
|
|
18
18
|
__name: "BbTab",
|
|
19
19
|
props: {
|
package/dist/index123.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
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
2
|
import { clamp as Ve } from "./index217.js";
|
|
3
|
-
import { hash as T } from "./
|
|
4
|
-
import { isNil as w } from "./
|
|
5
|
-
import { when as $e } from "./
|
|
3
|
+
import { hash as T } from "./index244.js";
|
|
4
|
+
import { isNil as w } from "./index255.js";
|
|
5
|
+
import { when as $e } from "./index265.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 "./index275.js";
|
|
8
|
+
import { useItemsGetter as Te } from "./index239.js";
|
|
9
|
+
import { usePrefill as Ae } from "./index240.js";
|
|
10
|
+
import { useIndexById as le } from "./index241.js";
|
|
11
|
+
import { useBaseOptions as Ne } from "./index242.js";
|
|
12
|
+
import { useHashedWatcher as Le } from "./index245.js";
|
|
13
|
+
import { useLocale as De } from "./index233.js";
|
|
14
14
|
import ae from "./index18.js";
|
|
15
15
|
/* empty css */
|
|
16
16
|
import Ee from "./index32.js";
|
|
17
17
|
/* empty css */
|
|
18
|
-
import { columnKeyToSlotName as Pe, mergeHeaderClasses as Se, applyFixedTableColumns as Re, mergeCellClasses as Oe } from "./
|
|
19
|
-
import { useLogger as Me } from "./
|
|
18
|
+
import { columnKeyToSlotName as Pe, mergeHeaderClasses as Se, applyFixedTableColumns as Re, mergeCellClasses as Oe } from "./index276.js";
|
|
19
|
+
import { useLogger as Me } from "./index274.js";
|
|
20
20
|
const Fe = {
|
|
21
21
|
key: 0,
|
|
22
22
|
class: "sr-only"
|
package/dist/index131.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 "./index12.js";
|
|
3
|
-
import b from "./
|
|
3
|
+
import b from "./index271.js";
|
|
4
4
|
const $ = /* @__PURE__ */ a({
|
|
5
5
|
__name: "BbToast",
|
|
6
6
|
props: {
|
package/dist/index133.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 "./index233.js";
|
|
4
|
+
import { useUntil as X } from "./index248.js";
|
|
5
5
|
import Y from "./index14.js";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import Z from "./
|
|
7
|
+
import Z from "./index235.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { useElementSize as ee } from "./index142.js";
|
|
10
|
-
import { extractDomContainer as V } from "./
|
|
11
|
-
import { parseWidthString as te } from "./
|
|
10
|
+
import { extractDomContainer as V } from "./index250.js";
|
|
11
|
+
import { parseWidthString as te } from "./index251.js";
|
|
12
12
|
const ce = /* @__PURE__ */ R({
|
|
13
13
|
inheritAttrs: !1,
|
|
14
14
|
__name: "BbTooltip",
|
package/dist/index135.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 "./index292.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/index137.js
CHANGED
|
@@ -5,8 +5,8 @@ import u from "./index87.js";
|
|
|
5
5
|
/* empty css */
|
|
6
6
|
import I from "./index115.js";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import N from "./
|
|
9
|
-
import g from "./
|
|
8
|
+
import N from "./index221.js";
|
|
9
|
+
import g from "./index222.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/index14.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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 "./
|
|
2
|
+
import R from "./index224.js";
|
|
3
3
|
import { useFrameworkDetection as _ } from "./index143.js";
|
|
4
4
|
import { _config as g } from "./index4.js";
|
|
5
5
|
const D = /* @__PURE__ */ w({
|
package/dist/index142.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { tryOnMounted as D, toArray as L, notNullish as Z, noop as V, tryOnScopeDispose as P, useThrottleFn as q, isClient as ee, watchImmediate as te, useDebounceFn as ne, pxValue as G, injectLocal as oe, isObject as le } from "./
|
|
2
|
-
import { bypassFilter as We, createFilterWrapper as ye, debounceFilter as Te, debouncedWatch as Ie, getLifeCycleTarget as Me, throttleFilter as _e, debouncedWatch as Re, watchWithFilter as Ae } from "./
|
|
1
|
+
import { tryOnMounted as D, toArray as L, notNullish as Z, noop as V, tryOnScopeDispose as P, useThrottleFn as q, isClient as ee, watchImmediate as te, useDebounceFn as ne, pxValue as G, injectLocal as oe, isObject as le } from "./index218.js";
|
|
2
|
+
import { bypassFilter as We, createFilterWrapper as ye, debounceFilter as Te, debouncedWatch as Ie, getLifeCycleTarget as Me, throttleFilter as _e, debouncedWatch as Re, watchWithFilter as Ae } from "./index218.js";
|
|
3
3
|
import { shallowRef as S, getCurrentInstance as ue, onMounted as se, computed as g, watch as B, toValue as w, reactive as U, ref as J, watchEffect as re, hasInjectionContext as ie, unref as ce } from "vue";
|
|
4
4
|
const R = ee ? window : void 0;
|
|
5
5
|
function W(o) {
|
package/dist/index144.js
CHANGED
package/dist/index145.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { isArray as p } from "./
|
|
2
|
-
import { isPlainObject as i } from "./
|
|
1
|
+
import { isArray as p } from "./index219.js";
|
|
2
|
+
import { isPlainObject as i } from "./index220.js";
|
|
3
3
|
function f(e, n, u, l, r) {
|
|
4
4
|
const o = {}.propertyIsEnumerable.call(l, n) ? "enumerable" : "nonenumerable";
|
|
5
5
|
o === "enumerable" && (e[n] = u), r && o === "nonenumerable" && Object.defineProperty(e, n, {
|
package/dist/index16.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 "./index266.js";
|
|
3
3
|
import { isNotNil as F } from "./index146.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 "./index233.js";
|
|
6
|
+
import { vMaska as A } from "./index234.js";
|
|
7
|
+
import K from "./index267.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import O from "./index137.js";
|
|
10
10
|
/* empty css */
|
|
11
11
|
import P from "./index139.js";
|
|
12
|
-
import T from "./
|
|
12
|
+
import T from "./index235.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/index18.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 "./index254.js";
|
|
3
|
+
import { booleanishToBoolean as q } from "./index262.js";
|
|
4
|
+
import { isEqual as A } from "./index261.js";
|
|
5
5
|
const N = {
|
|
6
6
|
"aria-hidden": "true",
|
|
7
7
|
class: "bb-base-checkbox-container"
|
package/dist/index20.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 "./index18.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import U from "./
|
|
4
|
+
import U from "./index237.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 "./index239.js";
|
|
7
|
+
import { useIndexById as C } from "./index241.js";
|
|
8
|
+
import { useBaseOptions as J } from "./index242.js";
|
|
9
|
+
import { useCoherence as Q } from "./index243.js";
|
|
10
|
+
import { hash as X } from "./index244.js";
|
|
11
|
+
import { useHashedWatcher as $ } from "./index245.js";
|
|
12
|
+
import { usePrefill as Y } from "./index240.js";
|
|
13
13
|
const ce = /* @__PURE__ */ z({
|
|
14
14
|
__name: "BaseCheckboxGroup",
|
|
15
15
|
props: {
|
package/dist/index216.js
CHANGED
|
@@ -1,140 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
function V(e) {
|
|
3
|
-
return S() ? (C(e), !0) : !1;
|
|
4
|
-
}
|
|
5
|
-
const w = /* @__PURE__ */ new WeakMap(), E = (...e) => {
|
|
6
|
-
var r;
|
|
7
|
-
const n = e[0], t = (r = g()) == null ? void 0 : r.proxy;
|
|
8
|
-
if (t == null && !k())
|
|
9
|
-
throw new Error("injectLocal must be called in setup");
|
|
10
|
-
return t && w.has(t) && n in w.get(t) ? w.get(t)[n] : v(...e);
|
|
11
|
-
}, G = typeof window < "u" && typeof document < "u";
|
|
12
|
-
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
13
|
-
const _ = (e) => e != null, M = Object.prototype.toString, q = (e) => M.call(e) === "[object Object]", d = () => {
|
|
14
|
-
};
|
|
15
|
-
function y(e, r) {
|
|
16
|
-
function n(...t) {
|
|
17
|
-
return new Promise((o, i) => {
|
|
18
|
-
Promise.resolve(e(() => r.apply(this, t), { fn: r, thisArg: this, args: t })).then(o).catch(i);
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
return n;
|
|
22
|
-
}
|
|
23
|
-
const A = (e) => e();
|
|
24
|
-
function x(e, r = {}) {
|
|
25
|
-
let n, t, o = d;
|
|
26
|
-
const i = (c) => {
|
|
27
|
-
clearTimeout(c), o(), o = d;
|
|
28
|
-
};
|
|
29
|
-
let u;
|
|
30
|
-
return (c) => {
|
|
31
|
-
const a = b(e), l = b(r.maxWait);
|
|
32
|
-
return n && i(n), a <= 0 || l !== void 0 && l <= 0 ? (t && (i(t), t = null), Promise.resolve(c())) : new Promise((f, p) => {
|
|
33
|
-
o = r.rejectOnCancel ? p : f, u = c, l && !t && (t = setTimeout(() => {
|
|
34
|
-
n && i(n), t = null, f(u());
|
|
35
|
-
}, l)), n = setTimeout(() => {
|
|
36
|
-
t && i(t), t = null, f(c());
|
|
37
|
-
}, a);
|
|
38
|
-
});
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
function I(...e) {
|
|
42
|
-
let r = 0, n, t = !0, o = d, i, u, s, c, a;
|
|
43
|
-
!P(e[0]) && typeof e[0] == "object" ? { delay: u, trailing: s = !0, leading: c = !0, rejectOnCancel: a = !1 } = e[0] : [u, s = !0, c = !0, a = !1] = e;
|
|
44
|
-
const l = () => {
|
|
45
|
-
n && (clearTimeout(n), n = void 0, o(), o = d);
|
|
46
|
-
};
|
|
47
|
-
return (p) => {
|
|
48
|
-
const m = b(u), j = Date.now() - r, h = () => i = p();
|
|
49
|
-
return l(), m <= 0 ? (r = Date.now(), h()) : (j > m && (c || !t) ? (r = Date.now(), h()) : s && (i = new Promise((T, D) => {
|
|
50
|
-
o = a ? D : T, n = setTimeout(() => {
|
|
51
|
-
r = Date.now(), t = !0, T(h()), l();
|
|
52
|
-
}, Math.max(0, m - j));
|
|
53
|
-
})), !c && !n && (n = setTimeout(() => t = !0, m)), t = !1, i);
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
function z(e) {
|
|
57
|
-
return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
|
|
58
|
-
}
|
|
59
|
-
function L(e) {
|
|
60
|
-
return g();
|
|
61
|
-
}
|
|
62
|
-
function B(e) {
|
|
63
|
-
return Array.isArray(e) ? e : [e];
|
|
64
|
-
}
|
|
65
|
-
function H(e, r = 200, n = {}) {
|
|
66
|
-
return y(
|
|
67
|
-
x(r, n),
|
|
68
|
-
e
|
|
69
|
-
);
|
|
70
|
-
}
|
|
71
|
-
function J(e, r = 200, n = !1, t = !0, o = !1) {
|
|
72
|
-
return y(
|
|
73
|
-
I(r, n, t, o),
|
|
74
|
-
e
|
|
75
|
-
);
|
|
76
|
-
}
|
|
77
|
-
function N(e, r, n = {}) {
|
|
78
|
-
const {
|
|
79
|
-
eventFilter: t = A,
|
|
80
|
-
...o
|
|
81
|
-
} = n;
|
|
82
|
-
return F(
|
|
83
|
-
e,
|
|
84
|
-
y(
|
|
85
|
-
t,
|
|
86
|
-
r
|
|
87
|
-
),
|
|
88
|
-
o
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
function K(e, r = !0, n) {
|
|
92
|
-
L() ? O(e, n) : r ? e() : W(e);
|
|
93
|
-
}
|
|
94
|
-
function Q(e, r, n = {}) {
|
|
95
|
-
const {
|
|
96
|
-
debounce: t = 0,
|
|
97
|
-
maxWait: o = void 0,
|
|
98
|
-
...i
|
|
99
|
-
} = n;
|
|
100
|
-
return N(
|
|
101
|
-
e,
|
|
102
|
-
r,
|
|
103
|
-
{
|
|
104
|
-
...i,
|
|
105
|
-
eventFilter: x(t, { maxWait: o })
|
|
106
|
-
}
|
|
107
|
-
);
|
|
108
|
-
}
|
|
109
|
-
function U(e, r, n) {
|
|
110
|
-
return F(
|
|
111
|
-
e,
|
|
112
|
-
r,
|
|
113
|
-
{
|
|
114
|
-
...n,
|
|
115
|
-
immediate: !0
|
|
116
|
-
}
|
|
117
|
-
);
|
|
118
|
-
}
|
|
1
|
+
const t = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
|
|
119
2
|
export {
|
|
120
|
-
|
|
121
|
-
y as createFilterWrapper,
|
|
122
|
-
x as debounceFilter,
|
|
123
|
-
Q as debouncedWatch,
|
|
124
|
-
L as getLifeCycleTarget,
|
|
125
|
-
E as injectLocal,
|
|
126
|
-
G as isClient,
|
|
127
|
-
q as isObject,
|
|
128
|
-
d as noop,
|
|
129
|
-
_ as notNullish,
|
|
130
|
-
z as pxValue,
|
|
131
|
-
I as throttleFilter,
|
|
132
|
-
B as toArray,
|
|
133
|
-
K as tryOnMounted,
|
|
134
|
-
V as tryOnScopeDispose,
|
|
135
|
-
H as useDebounceFn,
|
|
136
|
-
J as useThrottleFn,
|
|
137
|
-
Q as watchDebounced,
|
|
138
|
-
U as watchImmediate,
|
|
139
|
-
N as watchWithFilter
|
|
3
|
+
t as urlAlphabet
|
|
140
4
|
};
|
package/dist/index218.js
CHANGED
|
@@ -1,4 +1,140 @@
|
|
|
1
|
-
|
|
1
|
+
import { onMounted as O, nextTick as W, getCurrentScope as S, onScopeDispose as C, watch as F, getCurrentInstance as g, isRef as P, toValue as b, hasInjectionContext as k, inject as v } from "vue";
|
|
2
|
+
function V(e) {
|
|
3
|
+
return S() ? (C(e), !0) : !1;
|
|
4
|
+
}
|
|
5
|
+
const w = /* @__PURE__ */ new WeakMap(), E = (...e) => {
|
|
6
|
+
var r;
|
|
7
|
+
const n = e[0], t = (r = g()) == null ? void 0 : r.proxy;
|
|
8
|
+
if (t == null && !k())
|
|
9
|
+
throw new Error("injectLocal must be called in setup");
|
|
10
|
+
return t && w.has(t) && n in w.get(t) ? w.get(t)[n] : v(...e);
|
|
11
|
+
}, G = typeof window < "u" && typeof document < "u";
|
|
12
|
+
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
13
|
+
const _ = (e) => e != null, M = Object.prototype.toString, q = (e) => M.call(e) === "[object Object]", d = () => {
|
|
14
|
+
};
|
|
15
|
+
function y(e, r) {
|
|
16
|
+
function n(...t) {
|
|
17
|
+
return new Promise((o, i) => {
|
|
18
|
+
Promise.resolve(e(() => r.apply(this, t), { fn: r, thisArg: this, args: t })).then(o).catch(i);
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return n;
|
|
22
|
+
}
|
|
23
|
+
const A = (e) => e();
|
|
24
|
+
function x(e, r = {}) {
|
|
25
|
+
let n, t, o = d;
|
|
26
|
+
const i = (c) => {
|
|
27
|
+
clearTimeout(c), o(), o = d;
|
|
28
|
+
};
|
|
29
|
+
let u;
|
|
30
|
+
return (c) => {
|
|
31
|
+
const a = b(e), l = b(r.maxWait);
|
|
32
|
+
return n && i(n), a <= 0 || l !== void 0 && l <= 0 ? (t && (i(t), t = null), Promise.resolve(c())) : new Promise((f, p) => {
|
|
33
|
+
o = r.rejectOnCancel ? p : f, u = c, l && !t && (t = setTimeout(() => {
|
|
34
|
+
n && i(n), t = null, f(u());
|
|
35
|
+
}, l)), n = setTimeout(() => {
|
|
36
|
+
t && i(t), t = null, f(c());
|
|
37
|
+
}, a);
|
|
38
|
+
});
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function I(...e) {
|
|
42
|
+
let r = 0, n, t = !0, o = d, i, u, s, c, a;
|
|
43
|
+
!P(e[0]) && typeof e[0] == "object" ? { delay: u, trailing: s = !0, leading: c = !0, rejectOnCancel: a = !1 } = e[0] : [u, s = !0, c = !0, a = !1] = e;
|
|
44
|
+
const l = () => {
|
|
45
|
+
n && (clearTimeout(n), n = void 0, o(), o = d);
|
|
46
|
+
};
|
|
47
|
+
return (p) => {
|
|
48
|
+
const m = b(u), j = Date.now() - r, h = () => i = p();
|
|
49
|
+
return l(), m <= 0 ? (r = Date.now(), h()) : (j > m && (c || !t) ? (r = Date.now(), h()) : s && (i = new Promise((T, D) => {
|
|
50
|
+
o = a ? D : T, n = setTimeout(() => {
|
|
51
|
+
r = Date.now(), t = !0, T(h()), l();
|
|
52
|
+
}, Math.max(0, m - j));
|
|
53
|
+
})), !c && !n && (n = setTimeout(() => t = !0, m)), t = !1, i);
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function z(e) {
|
|
57
|
+
return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
|
|
58
|
+
}
|
|
59
|
+
function L(e) {
|
|
60
|
+
return g();
|
|
61
|
+
}
|
|
62
|
+
function B(e) {
|
|
63
|
+
return Array.isArray(e) ? e : [e];
|
|
64
|
+
}
|
|
65
|
+
function H(e, r = 200, n = {}) {
|
|
66
|
+
return y(
|
|
67
|
+
x(r, n),
|
|
68
|
+
e
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
function J(e, r = 200, n = !1, t = !0, o = !1) {
|
|
72
|
+
return y(
|
|
73
|
+
I(r, n, t, o),
|
|
74
|
+
e
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
function N(e, r, n = {}) {
|
|
78
|
+
const {
|
|
79
|
+
eventFilter: t = A,
|
|
80
|
+
...o
|
|
81
|
+
} = n;
|
|
82
|
+
return F(
|
|
83
|
+
e,
|
|
84
|
+
y(
|
|
85
|
+
t,
|
|
86
|
+
r
|
|
87
|
+
),
|
|
88
|
+
o
|
|
89
|
+
);
|
|
90
|
+
}
|
|
91
|
+
function K(e, r = !0, n) {
|
|
92
|
+
L() ? O(e, n) : r ? e() : W(e);
|
|
93
|
+
}
|
|
94
|
+
function Q(e, r, n = {}) {
|
|
95
|
+
const {
|
|
96
|
+
debounce: t = 0,
|
|
97
|
+
maxWait: o = void 0,
|
|
98
|
+
...i
|
|
99
|
+
} = n;
|
|
100
|
+
return N(
|
|
101
|
+
e,
|
|
102
|
+
r,
|
|
103
|
+
{
|
|
104
|
+
...i,
|
|
105
|
+
eventFilter: x(t, { maxWait: o })
|
|
106
|
+
}
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
function U(e, r, n) {
|
|
110
|
+
return F(
|
|
111
|
+
e,
|
|
112
|
+
r,
|
|
113
|
+
{
|
|
114
|
+
...n,
|
|
115
|
+
immediate: !0
|
|
116
|
+
}
|
|
117
|
+
);
|
|
118
|
+
}
|
|
2
119
|
export {
|
|
3
|
-
|
|
120
|
+
A as bypassFilter,
|
|
121
|
+
y as createFilterWrapper,
|
|
122
|
+
x as debounceFilter,
|
|
123
|
+
Q as debouncedWatch,
|
|
124
|
+
L as getLifeCycleTarget,
|
|
125
|
+
E as injectLocal,
|
|
126
|
+
G as isClient,
|
|
127
|
+
q as isObject,
|
|
128
|
+
d as noop,
|
|
129
|
+
_ as notNullish,
|
|
130
|
+
z as pxValue,
|
|
131
|
+
I as throttleFilter,
|
|
132
|
+
B as toArray,
|
|
133
|
+
K as tryOnMounted,
|
|
134
|
+
V as tryOnScopeDispose,
|
|
135
|
+
H as useDebounceFn,
|
|
136
|
+
J as useThrottleFn,
|
|
137
|
+
Q as watchDebounced,
|
|
138
|
+
U as watchImmediate,
|
|
139
|
+
N as watchWithFilter
|
|
4
140
|
};
|
package/dist/index219.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { getType as t } from "./index333.js";
|
|
2
|
+
function o(r) {
|
|
3
|
+
return t(r) === "Array";
|
|
4
|
+
}
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
o as isArray
|
|
7
7
|
};
|