bitboss-ui 1.0.45 → 1.0.47
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/useBbConfig.d.ts +15 -0
- package/dist/composables/useLogger.d.ts +4 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.js +136 -132
- package/dist/index.js.map +1 -1
- package/dist/index10.js +39 -62
- package/dist/index10.js.map +1 -1
- package/dist/index101.js +117 -236
- package/dist/index101.js.map +1 -1
- package/dist/index103.js +230 -423
- package/dist/index103.js.map +1 -1
- package/dist/index105.js +424 -86
- package/dist/index105.js.map +1 -1
- package/dist/index107.js +47 -43
- package/dist/index107.js.map +1 -1
- package/dist/index109.js +22 -21
- package/dist/index109.js.map +1 -1
- package/dist/index11.js +196 -1
- package/dist/index11.js.map +1 -1
- package/dist/index111.js +91 -22
- package/dist/index111.js.map +1 -1
- package/dist/index113.js +21 -143
- package/dist/index113.js.map +1 -1
- package/dist/index115.js +141 -112
- package/dist/index115.js.map +1 -1
- package/dist/index117.js +115 -39
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +1 -39
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +40 -40
- package/dist/index119.js.map +1 -1
- package/dist/index12.js +84 -118
- package/dist/index12.js.map +1 -1
- package/dist/index120.js +32 -42
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +27 -26
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +47 -2
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +43 -21
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +2 -2
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +20 -223
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +2 -2
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +250 -16
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +24 -12
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +2 -24
- package/dist/index129.js.map +1 -1
- package/dist/index133.js +3 -252
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +2 -2
- package/dist/index135.js +2 -2
- package/dist/index136.js +2 -2
- package/dist/index137.js +2 -2
- package/dist/index138.js +2 -2
- package/dist/index139.js +2 -2
- package/dist/index14.js +115 -148
- package/dist/index14.js.map +1 -1
- package/dist/index140.js +2 -2
- package/dist/index141.js +2 -2
- package/dist/index142.js +2 -2
- package/dist/index143.js +2 -2
- package/dist/index144.js +2 -2
- package/dist/index145.js +2 -2
- package/dist/index146.js +2 -2
- package/dist/index147.js +2 -2
- package/dist/index148.js +2 -2
- package/dist/index149.js +2 -2
- package/dist/index150.js +2 -2
- package/dist/index151.js +2 -2
- package/dist/index152.js +2 -2
- package/dist/index153.js +2 -2
- package/dist/index154.js +2 -2
- package/dist/index155.js +2 -2
- package/dist/index156.js +2 -2
- package/dist/index157.js +2 -2
- package/dist/index158.js +2 -2
- package/dist/index159.js +2 -2
- package/dist/index16.js +148 -510
- package/dist/index16.js.map +1 -1
- package/dist/index160.js +1 -5
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +5 -1
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +1 -5
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +5 -1
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +2 -2
- package/dist/index165.js +2 -2
- package/dist/index166.js +2 -2
- package/dist/index167.js +2 -2
- package/dist/index168.js +2 -2
- package/dist/index169.js +2 -2
- package/dist/index170.js +1 -5
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +4 -1
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +3 -2
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +2 -2
- package/dist/index174.js +2 -2
- package/dist/index175.js +2 -2
- package/dist/index176.js +2 -2
- package/dist/index177.js +2 -2
- package/dist/index178.js +2 -2
- package/dist/index179.js +2 -2
- package/dist/index18.js +491 -194
- package/dist/index18.js.map +1 -1
- package/dist/index180.js +2 -2
- package/dist/index181.js +2 -2
- package/dist/index182.js +2 -2
- package/dist/index183.js +2 -2
- package/dist/index184.js +1 -5
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +5 -1
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +1 -5
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +5 -1
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +2 -2
- package/dist/index189.js +2 -2
- package/dist/index190.js +2 -2
- package/dist/index191.js +2 -2
- package/dist/index192.js +2 -2
- package/dist/index193.js +2 -2
- package/dist/index194.js +2 -2
- package/dist/index195.js +2 -2
- package/dist/index196.js +2 -2
- package/dist/index197.js +79 -3
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +2 -2
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +2 -4
- package/dist/index199.js.map +1 -1
- package/dist/index20.js +214 -238
- package/dist/index20.js.map +1 -1
- package/dist/index200.js +4 -2
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +112 -226
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +134 -2
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +5 -121
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +17 -132
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +2 -5
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +2 -19
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +35 -2
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +174 -2
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +6 -35
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +353 -159
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +373 -6
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +3 -7
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +7 -368
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +2 -373
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +16 -79
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +10 -10
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +17 -13
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +24 -15
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +8 -29
- package/dist/index219.js.map +1 -1
- package/dist/index22.js +240 -120
- package/dist/index22.js.map +1 -1
- package/dist/index220.js +174 -8
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +5 -3
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +3 -7
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +3 -3
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +224 -3
- package/dist/index224.js.map +1 -1
- package/dist/index226.js +17 -9
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +12 -2
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +2 -6
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +10 -17
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +3 -8
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +6 -23
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +2 -79
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +295 -69
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +2 -2
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +2 -4
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +106 -5
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +435 -2
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +88 -5
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +200 -2
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +117 -105
- package/dist/index24.js.map +1 -1
- package/dist/index240.js +116 -294
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +9 -2
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +23 -2
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +78 -105
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +2 -435
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +2 -117
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +2 -200
- package/dist/index246.js.map +1 -1
- package/dist/index248.js +6 -2
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +17 -2
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +2 -2
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +5 -89
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +69 -224
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +19 -53
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +255 -12
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +235 -4
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +15 -4
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +4 -61
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +4 -2
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +64 -0
- package/dist/index259.js.map +1 -0
- package/dist/index26.js +104 -90
- package/dist/index26.js.map +1 -1
- package/dist/index260.js +5 -0
- package/dist/index260.js.map +1 -0
- package/dist/index261.js +5 -0
- package/dist/index261.js.map +1 -0
- package/dist/index28.js +90 -145
- package/dist/index28.js.map +1 -1
- package/dist/index3.js +14 -40
- package/dist/index3.js.map +1 -1
- package/dist/index30.js +137 -106
- package/dist/index30.js.map +1 -1
- package/dist/index32.js +108 -677
- package/dist/index32.js.map +1 -1
- package/dist/index34.js +673 -283
- package/dist/index34.js.map +1 -1
- package/dist/index36.js +288 -104
- package/dist/index36.js.map +1 -1
- package/dist/index38.js +109 -151
- package/dist/index38.js.map +1 -1
- package/dist/index4.js +38 -76
- package/dist/index4.js.map +1 -1
- package/dist/index40.js +146 -157
- package/dist/index40.js.map +1 -1
- package/dist/index42.js +156 -74
- package/dist/index42.js.map +1 -1
- package/dist/index44.js +59 -29
- package/dist/index44.js.map +1 -1
- package/dist/index46.js +57 -58
- package/dist/index46.js.map +1 -1
- package/dist/index48.js +55 -86
- package/dist/index48.js.map +1 -1
- package/dist/index5.js +78 -62
- package/dist/index5.js.map +1 -1
- package/dist/index50.js +88 -53
- package/dist/index50.js.map +1 -1
- package/dist/index52.js +53 -41
- package/dist/index52.js.map +1 -1
- package/dist/index54.js +42 -55
- package/dist/index54.js.map +1 -1
- package/dist/index56.js +53 -66
- package/dist/index56.js.map +1 -1
- package/dist/index58.js +65 -88
- package/dist/index58.js.map +1 -1
- package/dist/index6.js +60 -38
- package/dist/index6.js.map +1 -1
- package/dist/index60.js +59 -90
- package/dist/index60.js.map +1 -1
- package/dist/index62.js +123 -79
- package/dist/index62.js.map +1 -1
- package/dist/index64.js +78 -91
- package/dist/index64.js.map +1 -1
- package/dist/index66.js +87 -49
- package/dist/index66.js.map +1 -1
- package/dist/index68.js +52 -305
- package/dist/index68.js.map +1 -1
- package/dist/index7.js +18 -172
- package/dist/index7.js.map +1 -1
- package/dist/index70.js +300 -116
- package/dist/index70.js.map +1 -1
- package/dist/index72.js +120 -216
- package/dist/index72.js.map +1 -1
- package/dist/index74.js +215 -36
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +1 -115
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +46 -1
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +105 -230
- package/dist/index77.js.map +1 -1
- package/dist/index79.js +227 -155
- package/dist/index79.js.map +1 -1
- package/dist/index8.js +7 -19
- package/dist/index8.js.map +1 -1
- package/dist/index81.js +155 -200
- package/dist/index81.js.map +1 -1
- package/dist/index83.js +207 -27
- package/dist/index83.js.map +1 -1
- package/dist/index85.js +27 -86
- package/dist/index85.js.map +1 -1
- package/dist/index87.js +54 -91
- package/dist/index87.js.map +1 -1
- package/dist/index89.js +76 -45
- package/dist/index89.js.map +1 -1
- package/dist/index9.js +75 -189
- package/dist/index9.js.map +1 -1
- package/dist/index91.js +89 -15
- package/dist/index91.js.map +1 -1
- package/dist/index93.js +15 -157
- package/dist/index93.js.map +1 -1
- package/dist/index95.js +112 -58
- package/dist/index95.js.map +1 -1
- package/dist/index97.js +69 -55
- package/dist/index97.js.map +1 -1
- package/dist/index99.js +59 -90
- package/dist/index99.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type Config = {
|
|
2
|
+
inertiaLinkName: string;
|
|
3
|
+
nuxtLinkName: string;
|
|
4
|
+
mobileMaxWidth: number;
|
|
5
|
+
};
|
|
6
|
+
export declare const _config: {
|
|
7
|
+
[x: string]: any;
|
|
8
|
+
inertiaLinkName: string;
|
|
9
|
+
nuxtLinkName: string;
|
|
10
|
+
mobileMaxWidth: number;
|
|
11
|
+
};
|
|
12
|
+
export declare const useBbConfig: () => {
|
|
13
|
+
setConfig: (config: Partial<Config>) => void;
|
|
14
|
+
};
|
|
15
|
+
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
export { useBbConfig } from './composables/useBbConfig';
|
|
1
2
|
export { useBroadcastChannelInstance } from './composables/useBroadcastChannelInstance';
|
|
2
3
|
export { useConfirm } from './composables/useConfirm';
|
|
3
4
|
export { useCountdown } from './composables/useCountdown';
|
|
4
|
-
export { useToast } from './composables/useToast';
|
|
5
|
-
export { useOptions } from './composables/useOptions';
|
|
6
5
|
export { useId } from './composables/useId';
|
|
6
|
+
export { useMobile } from './composables/useMobile';
|
|
7
|
+
export { useQueue } from './composables/useQueue';
|
|
8
|
+
export { useToast } from './composables/useToast';
|
|
7
9
|
export { useWizard, wizardInjectionKey } from './composables/useWizard';
|
|
8
10
|
export type { Step, WizardState } from './composables/useWizard';
|
|
9
11
|
export type { BaseOption, Option } from './composables/useOptions';
|
package/dist/index.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import "./index2.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import "./index11.js";
|
|
11
|
-
import { default as
|
|
2
|
+
import { useBbConfig as to } from "./index3.js";
|
|
3
|
+
import { useBroadcastChannelInstance as ao } from "./index4.js";
|
|
4
|
+
import { useConfirm as fo } from "./index5.js";
|
|
5
|
+
import { useCountdown as so } from "./index6.js";
|
|
6
|
+
import { useId as io } from "./index7.js";
|
|
7
|
+
import { useMobile as lo } from "./index8.js";
|
|
8
|
+
import { useQueue as bo } from "./index9.js";
|
|
9
|
+
import { useToast as co } from "./index10.js";
|
|
10
|
+
import { useWizard as ho, wizardInjectionKey as Io } from "./index11.js";
|
|
11
|
+
import { default as go } from "./index12.js";
|
|
12
12
|
import "./index13.js";
|
|
13
|
-
import { default as
|
|
13
|
+
import { default as wo } from "./index14.js";
|
|
14
14
|
import "./index15.js";
|
|
15
|
-
import { default as
|
|
15
|
+
import { default as ko } from "./index16.js";
|
|
16
16
|
import "./index17.js";
|
|
17
|
-
import { default as
|
|
17
|
+
import { default as Go } from "./index18.js";
|
|
18
18
|
import "./index19.js";
|
|
19
|
-
import { default as
|
|
19
|
+
import { default as vo } from "./index20.js";
|
|
20
20
|
import "./index21.js";
|
|
21
|
-
import { default as
|
|
21
|
+
import { default as Ao } from "./index22.js";
|
|
22
22
|
import "./index23.js";
|
|
23
|
-
import { default as
|
|
23
|
+
import { default as jo } from "./index24.js";
|
|
24
24
|
import "./index25.js";
|
|
25
|
-
import { default as
|
|
25
|
+
import { default as Ho } from "./index26.js";
|
|
26
26
|
import "./index27.js";
|
|
27
|
-
import { default as
|
|
27
|
+
import { default as Mo } from "./index28.js";
|
|
28
28
|
import "./index29.js";
|
|
29
|
-
import { default as
|
|
29
|
+
import { default as Qo } from "./index30.js";
|
|
30
30
|
import "./index31.js";
|
|
31
31
|
import { default as qo } from "./index32.js";
|
|
32
32
|
import "./index33.js";
|
|
@@ -34,157 +34,161 @@ import { default as Fo } from "./index34.js";
|
|
|
34
34
|
import "./index35.js";
|
|
35
35
|
import { default as Lo } from "./index36.js";
|
|
36
36
|
import "./index37.js";
|
|
37
|
-
import { default as
|
|
37
|
+
import { default as Vo } from "./index38.js";
|
|
38
38
|
import "./index39.js";
|
|
39
|
-
import { default as
|
|
39
|
+
import { default as Yo } from "./index40.js";
|
|
40
40
|
import "./index41.js";
|
|
41
|
-
import { default as
|
|
41
|
+
import { default as _o } from "./index42.js";
|
|
42
42
|
import "./index43.js";
|
|
43
|
-
import { default as
|
|
43
|
+
import { default as or } from "./index44.js";
|
|
44
44
|
import "./index45.js";
|
|
45
|
-
import { default as
|
|
45
|
+
import { default as tr } from "./index46.js";
|
|
46
46
|
import "./index47.js";
|
|
47
|
-
import { default as
|
|
47
|
+
import { default as ar } from "./index48.js";
|
|
48
48
|
import "./index49.js";
|
|
49
|
-
import { default as
|
|
49
|
+
import { default as fr } from "./index50.js";
|
|
50
50
|
import "./index51.js";
|
|
51
|
-
import { default as
|
|
51
|
+
import { default as sr } from "./index52.js";
|
|
52
52
|
import "./index53.js";
|
|
53
|
-
import { default as
|
|
53
|
+
import { default as ir } from "./index54.js";
|
|
54
54
|
import "./index55.js";
|
|
55
|
-
import { default as
|
|
55
|
+
import { default as dr } from "./index56.js";
|
|
56
56
|
import "./index57.js";
|
|
57
|
-
import { default as
|
|
57
|
+
import { default as Br } from "./index58.js";
|
|
58
58
|
import "./index59.js";
|
|
59
|
-
import { default as
|
|
59
|
+
import { default as nr } from "./index60.js";
|
|
60
60
|
import "./index61.js";
|
|
61
|
-
import { default as
|
|
61
|
+
import { default as Cr } from "./index62.js";
|
|
62
62
|
import "./index63.js";
|
|
63
|
-
import { default as
|
|
63
|
+
import { default as Ir } from "./index64.js";
|
|
64
64
|
import "./index65.js";
|
|
65
|
-
import { default as
|
|
65
|
+
import { default as gr } from "./index66.js";
|
|
66
66
|
import "./index67.js";
|
|
67
|
-
import { default as
|
|
67
|
+
import { default as wr } from "./index68.js";
|
|
68
68
|
import "./index69.js";
|
|
69
|
-
import { default as
|
|
69
|
+
import { default as kr } from "./index70.js";
|
|
70
70
|
import "./index71.js";
|
|
71
|
-
import { default as
|
|
71
|
+
import { default as Gr } from "./index72.js";
|
|
72
72
|
import "./index73.js";
|
|
73
|
-
import { default as
|
|
74
|
-
import
|
|
75
|
-
import "./index76.js";
|
|
76
|
-
import { default as
|
|
73
|
+
import { default as vr } from "./index74.js";
|
|
74
|
+
import "./index75.js";
|
|
75
|
+
import { default as Ar } from "./index76.js";
|
|
76
|
+
import { default as jr } from "./index77.js";
|
|
77
77
|
import "./index78.js";
|
|
78
|
-
import { default as
|
|
78
|
+
import { default as Hr } from "./index79.js";
|
|
79
79
|
import "./index80.js";
|
|
80
|
-
import { default as
|
|
80
|
+
import { default as Mr } from "./index81.js";
|
|
81
81
|
import "./index82.js";
|
|
82
|
-
import { default as
|
|
82
|
+
import { default as Qr } from "./index83.js";
|
|
83
83
|
import "./index84.js";
|
|
84
|
-
import { default as
|
|
84
|
+
import { default as qr } from "./index85.js";
|
|
85
85
|
import "./index86.js";
|
|
86
|
-
import { default as
|
|
86
|
+
import { default as Fr } from "./index87.js";
|
|
87
87
|
import "./index88.js";
|
|
88
|
-
import { default as
|
|
88
|
+
import { default as Lr } from "./index89.js";
|
|
89
89
|
import "./index90.js";
|
|
90
|
-
import { default as
|
|
90
|
+
import { default as Vr } from "./index91.js";
|
|
91
91
|
import "./index92.js";
|
|
92
|
-
import { default as
|
|
92
|
+
import { default as Yr } from "./index93.js";
|
|
93
93
|
import "./index94.js";
|
|
94
|
-
import { default as
|
|
94
|
+
import { default as _r } from "./index95.js";
|
|
95
95
|
import "./index96.js";
|
|
96
|
-
import { default as
|
|
96
|
+
import { default as ot } from "./index97.js";
|
|
97
97
|
import "./index98.js";
|
|
98
|
-
import { default as
|
|
98
|
+
import { default as tt } from "./index99.js";
|
|
99
99
|
import "./index100.js";
|
|
100
|
-
import { default as
|
|
100
|
+
import { default as at } from "./index101.js";
|
|
101
101
|
import "./index102.js";
|
|
102
|
-
import { default as
|
|
102
|
+
import { default as ft } from "./index103.js";
|
|
103
103
|
import "./index104.js";
|
|
104
|
-
import { default as
|
|
104
|
+
import { default as st } from "./index105.js";
|
|
105
105
|
import "./index106.js";
|
|
106
|
-
import { default as
|
|
106
|
+
import { default as it } from "./index107.js";
|
|
107
107
|
import "./index108.js";
|
|
108
|
-
import { default as
|
|
108
|
+
import { default as dt } from "./index109.js";
|
|
109
109
|
import "./index110.js";
|
|
110
|
-
import { default as
|
|
110
|
+
import { default as Bt } from "./index111.js";
|
|
111
111
|
import "./index112.js";
|
|
112
|
-
import { default as
|
|
112
|
+
import { default as nt } from "./index113.js";
|
|
113
113
|
import "./index114.js";
|
|
114
|
-
import { default as
|
|
114
|
+
import { default as Ct } from "./index115.js";
|
|
115
115
|
import "./index116.js";
|
|
116
|
-
import { default as
|
|
117
|
-
import
|
|
118
|
-
import { default as
|
|
119
|
-
import { default as
|
|
120
|
-
import { default as
|
|
116
|
+
import { default as It } from "./index117.js";
|
|
117
|
+
import "./index118.js";
|
|
118
|
+
import { default as gt } from "./index119.js";
|
|
119
|
+
import { default as wt } from "./index120.js";
|
|
120
|
+
import { default as kt } from "./index121.js";
|
|
121
|
+
import { default as Gt } from "./index122.js";
|
|
122
|
+
import { default as vt } from "./index123.js";
|
|
121
123
|
export {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
ao as
|
|
183
|
-
fo as
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
bo as
|
|
188
|
-
|
|
124
|
+
go as BaseButton,
|
|
125
|
+
wo as BaseCheckbox,
|
|
126
|
+
ko as BaseCheckboxGroup,
|
|
127
|
+
Go as BaseDatePicker,
|
|
128
|
+
vo as BaseDatePickerInput,
|
|
129
|
+
Ao as BaseDialog,
|
|
130
|
+
jo as BaseInputContainer,
|
|
131
|
+
Ho as BaseNumberInput,
|
|
132
|
+
Mo as BaseRadio,
|
|
133
|
+
Qo as BaseRadioGroup,
|
|
134
|
+
qo as BaseRating,
|
|
135
|
+
Fo as BaseSelect,
|
|
136
|
+
Lo as BaseSlider,
|
|
137
|
+
Vo as BaseSwitch,
|
|
138
|
+
Yo as BaseSwitchGroup,
|
|
139
|
+
_o as BaseTag,
|
|
140
|
+
tr as BaseTextInput,
|
|
141
|
+
or as BaseTextarea,
|
|
142
|
+
ar as BbAccordion,
|
|
143
|
+
fr as BbAlert,
|
|
144
|
+
sr as BbAvatar,
|
|
145
|
+
ir as BbBadge,
|
|
146
|
+
dr as BbBreadcrumbs,
|
|
147
|
+
Br as BbButton,
|
|
148
|
+
nr as BbCheckbox,
|
|
149
|
+
Cr as BbCheckboxGroup,
|
|
150
|
+
gt as BbChip,
|
|
151
|
+
wt as BbCollapsible,
|
|
152
|
+
Ir as BbConfirm,
|
|
153
|
+
gr as BbDatePickerInput,
|
|
154
|
+
wr as BbDialog,
|
|
155
|
+
kr as BbDropdown,
|
|
156
|
+
Gr as BbDropdownButton,
|
|
157
|
+
vr as BbDropzone,
|
|
158
|
+
kt as BbIcon,
|
|
159
|
+
Ar as BbIntersection,
|
|
160
|
+
jr as BbNumberInput,
|
|
161
|
+
Hr as BbOffCanvas,
|
|
162
|
+
Mr as BbPagination,
|
|
163
|
+
Qr as BbPopover,
|
|
164
|
+
qr as BbProgress,
|
|
165
|
+
Fr as BbRadio,
|
|
166
|
+
Lr as BbRadioGroup,
|
|
167
|
+
Vr as BbRating,
|
|
168
|
+
Yr as BbRatio,
|
|
169
|
+
_r as BbSelect,
|
|
170
|
+
ot as BbSlider,
|
|
171
|
+
Gt as BbSmoothHeight,
|
|
172
|
+
vt as BbSpinner,
|
|
173
|
+
tt as BbSwitch,
|
|
174
|
+
at as BbSwitchGroup,
|
|
175
|
+
ft as BbTab,
|
|
176
|
+
st as BbTable,
|
|
177
|
+
it as BbTag,
|
|
178
|
+
Bt as BbTextInput,
|
|
179
|
+
dt as BbTextarea,
|
|
180
|
+
nt as BbToast,
|
|
181
|
+
Ct as BbTooltip,
|
|
182
|
+
It as BbTree,
|
|
183
|
+
to as useBbConfig,
|
|
184
|
+
ao as useBroadcastChannelInstance,
|
|
185
|
+
fo as useConfirm,
|
|
186
|
+
so as useCountdown,
|
|
187
|
+
io as useId,
|
|
188
|
+
lo as useMobile,
|
|
189
|
+
bo as useQueue,
|
|
190
|
+
co as useToast,
|
|
191
|
+
ho as useWizard,
|
|
192
|
+
Io as wizardInjectionKey
|
|
189
193
|
};
|
|
190
194
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index10.js
CHANGED
|
@@ -1,66 +1,43 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
onProgress: {},
|
|
20
|
-
onStart: {},
|
|
21
|
-
onSuccess: {},
|
|
22
|
-
preserveScroll: { type: [Boolean, Function] },
|
|
23
|
-
preserveState: { type: [Boolean, Function, null] },
|
|
24
|
-
queryStringArrayFormat: {},
|
|
25
|
-
replace: { type: Boolean },
|
|
26
|
-
tag: { default: "button" },
|
|
27
|
-
target: {},
|
|
28
|
-
text: {},
|
|
29
|
-
to: {},
|
|
30
|
-
type: { default: "button" }
|
|
31
|
-
},
|
|
32
|
-
setup(d) {
|
|
33
|
-
var o, s, l, i;
|
|
34
|
-
const e = d, r = !!((s = (o = c()) == null ? void 0 : o.proxy) != null && s.$inertia), p = !!((i = (l = c()) == null ? void 0 : l.proxy) != null && i.$nuxt), a = n(() => e.href || e.to && e.disabled ? r && !e.disabled && !e.target ? u("Link") : "a" : e.to ? p ? u("NuxtLink") : "router-link" : e.tag), b = n(() => ({
|
|
35
|
-
"base-btn": !0,
|
|
36
|
-
"base-btn--block": e.block,
|
|
37
|
-
"base-btn--disabled": e.disabled
|
|
38
|
-
})), f = n(() => {
|
|
39
|
-
const t = {};
|
|
40
|
-
switch (a.value === "button" ? (t.disabled = e.disabled, t.type = e.type) : a.value === "a" || r && typeof a.value != "string" && a.value.name === "Link" ? e.disabled ? (t["aria-disabled"] = !0, t.role = "link") : (t.href = e.href, t.target = e.target, r && (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)) : (a.value === "router-link" || typeof a.value != "string" && a.value.name === "NuxtLink") && (t.activeClass = e.activeClass, t.ariaCurrentValue = e.ariaCurrentValue, t.exactActiveClass = e.exactActiveClass, t.replace = e.replace, t.target = e.target, t.to = e.to), a.value) {
|
|
41
|
-
case "button":
|
|
42
|
-
t.disabled = e.disabled, t.type = e.type;
|
|
43
|
-
break;
|
|
44
|
-
case "a":
|
|
45
|
-
e.disabled ? (t["aria-disabled"] = !0, t.role = "link") : t.href = e.href;
|
|
46
|
-
break;
|
|
47
|
-
case "router-link":
|
|
48
|
-
t.to = e.to;
|
|
49
|
-
break;
|
|
1
|
+
import { wait as p } from "./index126.js";
|
|
2
|
+
import { reactive as d } from "vue";
|
|
3
|
+
import { useId as h } from "./index7.js";
|
|
4
|
+
const i = d({
|
|
5
|
+
stack: []
|
|
6
|
+
}), b = () => {
|
|
7
|
+
const c = (t) => i.stack = i.stack.filter((o) => o.id !== t);
|
|
8
|
+
return {
|
|
9
|
+
toast: (t) => {
|
|
10
|
+
const o = h().id.value;
|
|
11
|
+
let l, e, n, s, f;
|
|
12
|
+
const u = 6e3;
|
|
13
|
+
if (typeof t == "string")
|
|
14
|
+
e = t;
|
|
15
|
+
else {
|
|
16
|
+
if (typeof t.timeout == "number" && t.timeout <= 0)
|
|
17
|
+
throw new Error("Toast messages cannot have a zero or less timeout");
|
|
18
|
+
n = t.icon, f = t.showClose, e = t.text, s = t.theme, l = t.title;
|
|
50
19
|
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
});
|
|
20
|
+
if (i.stack = i.stack.concat({
|
|
21
|
+
icon: n,
|
|
22
|
+
id: o,
|
|
23
|
+
showClose: f,
|
|
24
|
+
text: e,
|
|
25
|
+
theme: s,
|
|
26
|
+
title: l
|
|
27
|
+
}), typeof t == "object" && !t.persistent || typeof t == "string") {
|
|
28
|
+
let r;
|
|
29
|
+
typeof t == "object" && t.timeout ? r = t.timeout : r = u, p(r).then(() => {
|
|
30
|
+
c(o);
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
return o;
|
|
34
|
+
},
|
|
35
|
+
dismiss: c,
|
|
36
|
+
dismissAll: () => i.stack = []
|
|
37
|
+
};
|
|
38
|
+
};
|
|
63
39
|
export {
|
|
64
|
-
|
|
40
|
+
i as state,
|
|
41
|
+
b as useToast
|
|
65
42
|
};
|
|
66
43
|
//# sourceMappingURL=index10.js.map
|
package/dist/index10.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index10.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index10.js","sources":["../src/composables/useToast.ts"],"sourcesContent":["import { wait } from '@/utilities/functions/wait';\nimport { reactive } from 'vue';\nimport { useId } from './useId';\nimport type { CommonProps } from '@/types/CommonProps';\n\nexport type Message = {\n\t/**\n\t * Title of the message. Displayed in a more prominant fashion.\n\t */\n\ttitle?: string;\n\t/**\n\t * Text content of the toast message.\n\t */\n\ttext: string;\n\t/**\n\t * Name of the icon to display.\n\t */\n\ticon?: string;\n\t/**\n\t * Theme of the toast message. By default the theme is `default`.\n\t */\n\ttheme?: string;\n\t/**\n\t * Identifier of the message\n\t */\n\tid: string;\n} & Pick<CommonProps, 'showClose'>;\n\ntype MessageParameter =\n\t| string\n\t| (Pick<Message, 'title' | 'text' | 'icon' | 'theme'> &\n\t\t\t/* These props are mutually exclusive */\n\t\t\t(| {\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Time in milliseconds before the message disappears\n\t\t\t\t\t\t */\n\t\t\t\t\t\ttimeout?: undefined;\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Setting the message as persistent will prevent the message from being dismissed automatically\n\t\t\t\t\t\t */\n\t\t\t\t\t\tpersistent?: undefined | false;\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Whether to show the closing action to dismiss the message.\n\t\t\t\t\t\t * Show close is optional if the message is not persistent\n\t\t\t\t\t\t */\n\t\t\t\t\t\tshowClose?: Message['showClose'];\n\t\t\t\t }\n\t\t\t\t| {\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Time in milliseconds before the message disappears\n\t\t\t\t\t\t */\n\t\t\t\t\t\ttimeout: number;\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Setting the message as persistent will prevent the message from being dismissed automatically\n\t\t\t\t\t\t */\n\t\t\t\t\t\tpersistent?: undefined | false;\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Whether to show the closing action to dismiss the message.\n\t\t\t\t\t\t * Show close is optional if the message is not persistent\n\t\t\t\t\t\t */\n\t\t\t\t\t\tshowClose?: Message['showClose'];\n\t\t\t\t }\n\t\t\t\t| {\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Time in milliseconds before the message disappears\n\t\t\t\t\t\t */\n\t\t\t\t\t\ttimeout?: undefined;\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Setting the message as persistent will prevent the message from being dismissed automatically\n\t\t\t\t\t\t */\n\t\t\t\t\t\tpersistent: true;\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Whether to show the closing action to dismiss the message.\n\t\t\t\t\t\t * Show close is mandatory if the message is persistent\n\t\t\t\t\t\t */\n\t\t\t\t\t\tshowClose: true;\n\t\t\t\t }\n\t\t\t));\n\nexport const state = reactive({\n\tstack: [] as Message[],\n});\n\nexport const useToast = () => {\n\t/**\n\t * Dismisses a specific message\n\t */\n\tconst dismiss = (id: Message['id']) =>\n\t\t(state.stack = state.stack.filter((el) => el.id !== id));\n\tconst dismissAll = () => (state.stack = []);\n\tconst toast = (message: MessageParameter) => {\n\t\tconst id = useId().id.value;\n\t\tlet title: Message['title'];\n\t\tlet text: Message['text'];\n\t\tlet icon: Message['icon'];\n\t\tlet theme: Message['theme'];\n\t\tlet showClose: Message['showClose'];\n\t\tconst defaultTimeout = 6000;\n\n\t\tif (typeof message === 'string') {\n\t\t\ttext = message;\n\t\t} else {\n\t\t\tif (typeof message.timeout === 'number' && message.timeout <= 0) {\n\t\t\t\tthrow new Error(`Toast messages cannot have a zero or less timeout`);\n\t\t\t}\n\t\t\ticon = message.icon;\n\t\t\tshowClose = message.showClose;\n\t\t\ttext = message.text;\n\t\t\ttheme = message.theme;\n\t\t\ttitle = message.title;\n\t\t}\n\t\tstate.stack = state.stack.concat({\n\t\t\ticon,\n\t\t\tid,\n\t\t\tshowClose,\n\t\t\ttext,\n\t\t\ttheme,\n\t\t\ttitle,\n\t\t});\n\t\tif (\n\t\t\t(typeof message === 'object' && !message.persistent) ||\n\t\t\ttypeof message === 'string'\n\t\t) {\n\t\t\tlet timeout: number;\n\n\t\t\tif (typeof message === 'object' && message.timeout) {\n\t\t\t\ttimeout = message.timeout;\n\t\t\t} else timeout = defaultTimeout;\n\n\t\t\twait(timeout).then(() => {\n\t\t\t\tdismiss(id);\n\t\t\t});\n\t\t}\n\t\treturn id;\n\t};\n\treturn {\n\t\ttoast,\n\t\tdismiss,\n\t\tdismissAll,\n\t};\n};\n"],"names":["state","reactive","useToast","dismiss","id","el","message","useId","title","text","icon","theme","showClose","defaultTimeout","timeout","wait"],"mappings":";;;AA+EO,MAAMA,IAAQC,EAAS;AAAA,EAC7B,OAAO,CAAC;AACT,CAAC,GAEYC,IAAW,MAAM;AAI7B,QAAMC,IAAU,CAACC,MACfJ,EAAM,QAAQA,EAAM,MAAM,OAAO,CAACK,MAAOA,EAAG,OAAOD,CAAE;AA+ChD,SAAA;AAAA,IACN,OA9Ca,CAACE,MAA8B;AACtC,YAAAF,IAAKG,IAAQ,GAAG;AAClB,UAAAC,GACAC,GACAC,GACAC,GACAC;AACJ,YAAMC,IAAiB;AAEnB,UAAA,OAAOP,KAAY;AACf,QAAAG,IAAAH;AAAA,WACD;AACN,YAAI,OAAOA,EAAQ,WAAY,YAAYA,EAAQ,WAAW;AACvD,gBAAA,IAAI,MAAM,mDAAmD;AAEpE,QAAAI,IAAOJ,EAAQ,MACfM,IAAYN,EAAQ,WACpBG,IAAOH,EAAQ,MACfK,IAAQL,EAAQ,OAChBE,IAAQF,EAAQ;AAAA,MACjB;AAUE,UATIN,EAAA,QAAQA,EAAM,MAAM,OAAO;AAAA,QAChC,MAAAU;AAAA,QACA,IAAAN;AAAA,QACA,WAAAQ;AAAA,QACA,MAAAH;AAAA,QACA,OAAAE;AAAA,QACA,OAAAH;AAAA,MAAA,CACA,GAEC,OAAOF,KAAY,YAAY,CAACA,EAAQ,cACzC,OAAOA,KAAY,UAClB;AACG,YAAAQ;AAEJ,QAAI,OAAOR,KAAY,YAAYA,EAAQ,UAC1CQ,IAAUR,EAAQ,UACFQ,IAAAD,GAEZE,EAAAD,CAAO,EAAE,KAAK,MAAM;AACxB,UAAAX,EAAQC,CAAE;AAAA,QAAA,CACV;AAAA,MACF;AACO,aAAAA;AAAA,IAAA;AAAA,IAIP,SAAAD;AAAA,IACA,YAjDkB,MAAOH,EAAM,QAAQ,CAAA;AAAA,EAiDvC;AAEF;"}
|