bitboss-ui 2.0.4 → 2.0.7
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/BaseDialog/BaseDialog.vue.d.ts +1 -3
- package/dist/composables/useOptions.d.ts +1 -1
- package/dist/index.js +138 -137
- package/dist/index.js.map +1 -1
- package/dist/index10.js +74 -35
- package/dist/index10.js.map +1 -1
- package/dist/{index99.js → index100.js} +3 -3
- package/dist/index100.js.map +1 -0
- package/dist/{index101.js → index102.js} +3 -3
- package/dist/{index101.js.map → index102.js.map} +1 -1
- package/dist/{index103.js → index104.js} +8 -8
- package/dist/{index103.js.map → index104.js.map} +1 -1
- package/dist/{index105.js → index106.js} +10 -10
- package/dist/{index105.js.map → index106.js.map} +1 -1
- package/dist/{index107.js → index108.js} +3 -3
- package/dist/{index107.js.map → index108.js.map} +1 -1
- package/dist/index11.js +36 -189
- package/dist/index11.js.map +1 -1
- package/dist/{index109.js → index110.js} +3 -3
- package/dist/{index109.js.map → index110.js.map} +1 -1
- package/dist/{index111.js → index112.js} +3 -3
- package/dist/{index111.js.map → index112.js.map} +1 -1
- package/dist/{index113.js → index114.js} +3 -3
- package/dist/{index113.js.map → index114.js.map} +1 -1
- package/dist/{index115.js → index116.js} +8 -8
- package/dist/{index115.js.map → index116.js.map} +1 -1
- package/dist/{index117.js → index118.js} +2 -2
- package/dist/{index117.js.map → index118.js.map} +1 -1
- package/dist/index12.js +189 -78
- package/dist/index12.js.map +1 -1
- package/dist/index120.js +34 -38
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +38 -38
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +39 -42
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +43 -31
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +35 -2
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +2 -21
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +21 -2
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +2 -312
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +309 -21
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +24 -2
- package/dist/index129.js.map +1 -1
- package/dist/index13.js +85 -0
- package/dist/index13.js.map +1 -0
- package/dist/index130.js +2 -5
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +5 -9
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +8 -5
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +6 -3
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +1 -1
- package/dist/index135.js +1 -1
- package/dist/index136.js +1 -1
- package/dist/index137.js +1 -1
- package/dist/index138.js +1 -1
- package/dist/index139.js +1 -1
- package/dist/index140.js +1 -1
- package/dist/index141.js +1 -1
- package/dist/index142.js +1 -1
- package/dist/index143.js +1 -1
- package/dist/index144.js +1 -1
- package/dist/index145.js +1 -1
- package/dist/index146.js +1 -1
- package/dist/index147.js +1 -1
- package/dist/index148.js +1 -1
- package/dist/index149.js +1 -1
- package/dist/{index14.js → index15.js} +4 -4
- package/dist/{index14.js.map → index15.js.map} +1 -1
- package/dist/index150.js +1 -1
- package/dist/index151.js +1 -1
- package/dist/index152.js +1 -1
- package/dist/index153.js +1 -1
- package/dist/index154.js +1 -1
- package/dist/index155.js +1 -1
- package/dist/index156.js +1 -1
- package/dist/index157.js +1 -1
- package/dist/index158.js +1 -1
- package/dist/index159.js +2 -2
- package/dist/{index161.js → index160.js} +1 -1
- package/dist/index160.js.map +1 -0
- package/dist/index162.js +6 -0
- package/dist/index162.js.map +1 -0
- package/dist/index164.js +1 -1
- package/dist/index165.js +1 -1
- package/dist/index166.js +1 -1
- package/dist/index167.js +1 -1
- package/dist/index168.js +1 -1
- package/dist/index169.js +2 -2
- package/dist/{index16.js → index17.js} +4 -4
- package/dist/{index16.js.map → index17.js.map} +1 -1
- package/dist/index170.js +6 -0
- package/dist/index170.js.map +1 -0
- package/dist/index172.js +2 -3
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +1 -1
- package/dist/index174.js +1 -1
- package/dist/index175.js +1 -1
- package/dist/index176.js +1 -1
- package/dist/index177.js +1 -1
- package/dist/index178.js +1 -1
- package/dist/index179.js +1 -1
- package/dist/index180.js +1 -1
- package/dist/index181.js +1 -1
- package/dist/index182.js +1 -1
- package/dist/index183.js +2 -2
- package/dist/{index185.js → index184.js} +1 -1
- package/dist/index184.js.map +1 -0
- package/dist/index186.js +6 -0
- package/dist/index186.js.map +1 -0
- package/dist/index188.js +1 -1
- package/dist/index189.js +1 -1
- package/dist/{index18.js → index19.js} +76 -74
- package/dist/index19.js.map +1 -0
- package/dist/index190.js +1 -1
- package/dist/index191.js +1 -1
- package/dist/index192.js +1 -1
- package/dist/index193.js +1 -1
- package/dist/index194.js +1 -1
- package/dist/index195.js +1 -1
- package/dist/index196.js +1 -1
- package/dist/index197.js +3 -2
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +77 -154
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +2 -84
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +5 -0
- package/dist/index200.js.map +1 -0
- package/dist/index201.js +4 -2
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +2 -4
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +8 -2
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +117 -72
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +5 -126
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +123 -5
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +17 -121
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +15 -18
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +10 -10
- package/dist/index209.js.map +1 -1
- package/dist/{index20.js → index21.js} +26 -27
- package/dist/index21.js.map +1 -0
- package/dist/index210.js +2 -16
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +2 -2
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +35 -2
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +172 -33
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +6 -174
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +42 -5
- package/dist/index215.js.map +1 -1
- package/dist/index217.js +16 -0
- package/dist/index217.js.map +1 -0
- package/dist/index218.js +4 -12
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +369 -5
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +17 -367
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +27 -8
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +3 -3
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +249 -7
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +51 -18
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +44 -27
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +5 -3
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +43 -243
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +6 -0
- package/dist/{index233.js.map → index228.js.map} +1 -1
- package/dist/index229.js +3 -52
- package/dist/index229.js.map +1 -1
- package/dist/{index22.js → index23.js} +74 -76
- package/dist/index23.js.map +1 -0
- package/dist/index230.js +7 -37
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +158 -5
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +77 -34
- package/dist/index232.js.map +1 -1
- package/dist/index234.js +2 -2
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +18 -3
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +105 -17
- package/dist/index236.js.map +1 -1
- package/dist/{index239.js → index238.js} +3 -3
- package/dist/{index239.js.map → index238.js.map} +1 -1
- package/dist/index240.js +5 -0
- package/dist/index240.js.map +1 -0
- package/dist/index244.js +3 -3
- package/dist/index248.js +9 -3
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +281 -12
- package/dist/index249.js.map +1 -1
- package/dist/{index24.js → index25.js} +6 -6
- package/dist/{index24.js.map → index25.js.map} +1 -1
- package/dist/index250.js +5 -8
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +2 -9
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +2 -17
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +2 -281
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +2 -6
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +2 -2
- package/dist/index256.js +126 -2
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +431 -2
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +3 -2
- package/dist/index258.js.map +1 -1
- package/dist/index260.js +7 -126
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +20 -429
- package/dist/index261.js.map +1 -1
- package/dist/{index259.js → index263.js} +1 -1
- package/dist/index263.js.map +1 -0
- package/dist/index264.js +2 -7
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +1 -21
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +5 -0
- package/dist/index266.js.map +1 -0
- package/dist/index267.js +2 -9
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +2 -200
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +23 -431
- package/dist/index269.js.map +1 -1
- package/dist/{index26.js → index27.js} +4 -4
- package/dist/{index26.js.map → index27.js.map} +1 -1
- package/dist/index270.js +21 -126
- package/dist/index270.js.map +1 -1
- package/dist/index272.js +224 -2
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +89 -2
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +200 -3
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +436 -2
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +127 -2
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +5 -2
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +2 -28
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +7 -20
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +72 -0
- package/dist/index280.js.map +1 -0
- package/dist/index281.js +3 -2
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +12 -5
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +8 -68
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +17 -224
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +1 -1
- package/dist/index286.js +1 -1
- package/dist/index287.js +12 -12
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +18 -0
- package/dist/index288.js.map +1 -0
- package/dist/index289.js +4 -15
- package/dist/index289.js.map +1 -1
- package/dist/{index28.js → index29.js} +19 -19
- package/dist/index29.js.map +1 -0
- package/dist/index290.js +4 -4
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +59 -4
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +34 -58
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +6 -10
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +18 -34
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +6 -6
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +2 -19
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +10 -6
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +47 -2
- package/dist/index298.js.map +1 -1
- package/dist/index300.js +424 -0
- package/dist/index300.js.map +1 -0
- package/dist/index301.js +42 -416
- package/dist/index301.js.map +1 -1
- package/dist/{index30.js → index31.js} +4 -4
- package/dist/{index30.js.map → index31.js.map} +1 -1
- package/dist/{index32.js → index33.js} +41 -40
- package/dist/index33.js.map +1 -0
- package/dist/{index34.js → index35.js} +23 -22
- package/dist/{index34.js.map → index35.js.map} +1 -1
- package/dist/{index36.js → index37.js} +9 -8
- package/dist/index37.js.map +1 -0
- package/dist/{index38.js → index39.js} +4 -3
- package/dist/index39.js.map +1 -0
- package/dist/index4.js +14 -40
- package/dist/index4.js.map +1 -1
- package/dist/{index40.js → index41.js} +4 -4
- package/dist/{index40.js.map → index41.js.map} +1 -1
- package/dist/{index42.js → index43.js} +34 -33
- package/dist/{index42.js.map → index43.js.map} +1 -1
- package/dist/{index44.js → index45.js} +9 -9
- package/dist/index45.js.map +1 -0
- package/dist/{index46.js → index47.js} +3 -3
- package/dist/{index46.js.map → index47.js.map} +1 -1
- package/dist/{index48.js → index49.js} +4 -4
- package/dist/{index48.js.map → index49.js.map} +1 -1
- package/dist/index5.js +38 -76
- package/dist/index5.js.map +1 -1
- package/dist/index51.js +95 -0
- package/dist/index51.js.map +1 -0
- package/dist/{index52.js → index53.js} +3 -3
- package/dist/{index52.js.map → index53.js.map} +1 -1
- package/dist/{index54.js → index55.js} +3 -3
- package/dist/{index54.js.map → index55.js.map} +1 -1
- package/dist/{index56.js → index57.js} +2 -2
- package/dist/{index56.js.map → index57.js.map} +1 -1
- package/dist/{index58.js → index59.js} +7 -6
- package/dist/{index58.js.map → index59.js.map} +1 -1
- package/dist/index6.js +78 -62
- package/dist/index6.js.map +1 -1
- package/dist/{index60.js → index61.js} +3 -3
- package/dist/{index60.js.map → index61.js.map} +1 -1
- package/dist/{index62.js → index63.js} +3 -3
- package/dist/{index62.js.map → index63.js.map} +1 -1
- package/dist/{index64.js → index65.js} +5 -5
- package/dist/{index64.js.map → index65.js.map} +1 -1
- package/dist/{index66.js → index67.js} +3 -3
- package/dist/{index66.js.map → index67.js.map} +1 -1
- package/dist/{index68.js → index69.js} +2 -2
- package/dist/{index68.js.map → index69.js.map} +1 -1
- package/dist/index7.js +60 -18
- package/dist/index7.js.map +1 -1
- package/dist/{index70.js → index71.js} +7 -7
- package/dist/{index70.js.map → index71.js.map} +1 -1
- package/dist/{index72.js → index73.js} +3 -3
- package/dist/{index72.js.map → index73.js.map} +1 -1
- package/dist/{index74.js → index75.js} +3 -3
- package/dist/{index74.js.map → index75.js.map} +1 -1
- package/dist/index77.js +37 -120
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +130 -0
- package/dist/index78.js.map +1 -0
- package/dist/index8.js +19 -7
- package/dist/index8.js.map +1 -1
- package/dist/{index79.js → index80.js} +5 -5
- package/dist/{index79.js.map → index80.js.map} +1 -1
- package/dist/{index81.js → index82.js} +7 -6
- package/dist/{index81.js.map → index82.js.map} +1 -1
- package/dist/{index83.js → index84.js} +7 -7
- package/dist/{index83.js.map → index84.js.map} +1 -1
- package/dist/{index85.js → index86.js} +3 -3
- package/dist/{index85.js.map → index86.js.map} +1 -1
- package/dist/{index87.js → index88.js} +3 -3
- package/dist/{index87.js.map → index88.js.map} +1 -1
- package/dist/index9.js +7 -78
- package/dist/index9.js.map +1 -1
- package/dist/{index89.js → index90.js} +3 -3
- package/dist/{index89.js.map → index90.js.map} +1 -1
- package/dist/{index91.js → index92.js} +3 -3
- package/dist/{index91.js.map → index92.js.map} +1 -1
- package/dist/{index93.js → index94.js} +1 -1
- package/dist/index94.js.map +1 -0
- package/dist/{index95.js → index96.js} +3 -3
- package/dist/{index95.js.map → index96.js.map} +1 -1
- package/dist/{index97.js → index98.js} +3 -3
- package/dist/{index97.js.map → index98.js.map} +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index119.js +0 -47
- package/dist/index119.js.map +0 -1
- package/dist/index161.js.map +0 -1
- package/dist/index163.js +0 -6
- package/dist/index163.js.map +0 -1
- package/dist/index171.js +0 -5
- package/dist/index171.js.map +0 -1
- package/dist/index18.js.map +0 -1
- package/dist/index185.js.map +0 -1
- package/dist/index187.js +0 -6
- package/dist/index187.js.map +0 -1
- package/dist/index20.js.map +0 -1
- package/dist/index216.js +0 -45
- package/dist/index216.js.map +0 -1
- package/dist/index22.js.map +0 -1
- package/dist/index233.js +0 -6
- package/dist/index237.js +0 -109
- package/dist/index237.js.map +0 -1
- package/dist/index259.js.map +0 -1
- package/dist/index262.js +0 -6
- package/dist/index262.js.map +0 -1
- package/dist/index271.js +0 -92
- package/dist/index271.js.map +0 -1
- package/dist/index28.js.map +0 -1
- package/dist/index299.js +0 -50
- package/dist/index299.js.map +0 -1
- package/dist/index3.js +0 -17
- package/dist/index3.js.map +0 -1
- package/dist/index302.js +0 -50
- package/dist/index302.js.map +0 -1
- package/dist/index32.js.map +0 -1
- package/dist/index36.js.map +0 -1
- package/dist/index38.js.map +0 -1
- package/dist/index44.js.map +0 -1
- package/dist/index50.js +0 -97
- package/dist/index50.js.map +0 -1
- package/dist/index76.js +0 -47
- package/dist/index76.js.map +0 -1
- package/dist/index93.js.map +0 -1
- package/dist/index99.js.map +0 -1
|
@@ -33,9 +33,7 @@ export type BaseDialogSlots = {
|
|
|
33
33
|
title?: (props: {
|
|
34
34
|
text: BaseDialogProps['title'];
|
|
35
35
|
}) => any;
|
|
36
|
-
close?: (props:
|
|
37
|
-
text: BaseDialogProps['closeLabel'];
|
|
38
|
-
}) => any;
|
|
36
|
+
close?: (props: object) => any;
|
|
39
37
|
description?: (props: {
|
|
40
38
|
descriptionId: typeof descriptionId;
|
|
41
39
|
text: BaseDialogProps['description'];
|
|
@@ -35,7 +35,7 @@ export declare const useOptions: (params: Options) => {
|
|
|
35
35
|
selectedOptions: import('vue').ComputedRef<BaseOption[]>;
|
|
36
36
|
selectOption: (option: BaseOption) => void;
|
|
37
37
|
setStash: (...items: BaseOption[]) => void;
|
|
38
|
-
unselectOption: (option: BaseOption) => void
|
|
38
|
+
unselectOption: (option: BaseOption) => Promise<void>;
|
|
39
39
|
updateModelValue: (value: any) => void;
|
|
40
40
|
valueIsSelected: (value: any) => boolean;
|
|
41
41
|
internalItems: Ref<any[], any[]>;
|
package/dist/index.js
CHANGED
|
@@ -1,194 +1,195 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
2
|
+
/* empty css */
|
|
3
|
+
import { useBbConfig as eo } from "./index4.js";
|
|
4
|
+
import { useBroadcastChannelInstance as po } from "./index5.js";
|
|
5
|
+
import { useConfirm as mo } from "./index6.js";
|
|
6
|
+
import { useCountdown as io } from "./index7.js";
|
|
7
|
+
import { useId as xo } from "./index8.js";
|
|
8
|
+
import { useMobile as Bo } from "./index9.js";
|
|
9
|
+
import { useQueue as no } from "./index10.js";
|
|
10
|
+
import { useToast as Co } from "./index11.js";
|
|
11
|
+
import { useWizard as Io, wizardInjectionKey as To } from "./index12.js";
|
|
12
|
+
import { default as So } from "./index13.js";
|
|
12
13
|
/* empty css */
|
|
13
|
-
import { default as
|
|
14
|
+
import { default as Do } from "./index15.js";
|
|
14
15
|
/* empty css */
|
|
15
|
-
import { default as
|
|
16
|
+
import { default as Ro } from "./index17.js";
|
|
16
17
|
/* empty css */
|
|
17
|
-
import { default as
|
|
18
|
+
import { default as Po } from "./index19.js";
|
|
18
19
|
/* empty css */
|
|
19
|
-
import { default as
|
|
20
|
+
import { default as zo } from "./index21.js";
|
|
20
21
|
/* empty css */
|
|
21
|
-
import { default as
|
|
22
|
+
import { default as No } from "./index23.js";
|
|
22
23
|
/* empty css */
|
|
23
|
-
import { default as
|
|
24
|
+
import { default as yo } from "./index25.js";
|
|
24
25
|
/* empty css */
|
|
25
|
-
import { default as
|
|
26
|
+
import { default as Ko } from "./index27.js";
|
|
26
27
|
/* empty css */
|
|
27
|
-
import { default as
|
|
28
|
+
import { default as Oo } from "./index29.js";
|
|
28
29
|
/* empty css */
|
|
29
|
-
import { default as
|
|
30
|
+
import { default as Wo } from "./index31.js";
|
|
30
31
|
/* empty css */
|
|
31
|
-
import { default as
|
|
32
|
+
import { default as Eo } from "./index33.js";
|
|
32
33
|
/* empty css */
|
|
33
|
-
import { default as
|
|
34
|
+
import { default as Jo } from "./index35.js";
|
|
34
35
|
/* empty css */
|
|
35
|
-
import { default as
|
|
36
|
+
import { default as Uo } from "./index37.js";
|
|
36
37
|
/* empty css */
|
|
37
|
-
import { default as
|
|
38
|
+
import { default as Xo } from "./index39.js";
|
|
38
39
|
/* empty css */
|
|
39
|
-
import { default as
|
|
40
|
+
import { default as Zo } from "./index41.js";
|
|
40
41
|
/* empty css */
|
|
41
|
-
import { default as
|
|
42
|
+
import { default as $o } from "./index43.js";
|
|
42
43
|
/* empty css */
|
|
43
|
-
import { default as
|
|
44
|
+
import { default as rr } from "./index45.js";
|
|
44
45
|
/* empty css */
|
|
45
|
-
import { default as
|
|
46
|
+
import { default as er } from "./index47.js";
|
|
46
47
|
/* empty css */
|
|
47
|
-
import { default as
|
|
48
|
+
import { default as pr } from "./index49.js";
|
|
48
49
|
/* empty css */
|
|
49
|
-
import { default as
|
|
50
|
+
import { default as mr } from "./index51.js";
|
|
50
51
|
/* empty css */
|
|
51
|
-
import { default as
|
|
52
|
+
import { default as ir } from "./index53.js";
|
|
52
53
|
/* empty css */
|
|
53
|
-
import { default as
|
|
54
|
+
import { default as xr } from "./index55.js";
|
|
54
55
|
/* empty css */
|
|
55
|
-
import { default as
|
|
56
|
+
import { default as lr } from "./index57.js";
|
|
56
57
|
/* empty css */
|
|
57
|
-
import { default as
|
|
58
|
+
import { default as br } from "./index59.js";
|
|
58
59
|
/* empty css */
|
|
59
|
-
import { default as
|
|
60
|
+
import { default as cr } from "./index61.js";
|
|
60
61
|
/* empty css */
|
|
61
|
-
import { default as
|
|
62
|
+
import { default as hr } from "./index63.js";
|
|
62
63
|
/* empty css */
|
|
63
|
-
import { default as
|
|
64
|
+
import { default as Tr } from "./index65.js";
|
|
64
65
|
/* empty css */
|
|
65
|
-
import { default as
|
|
66
|
+
import { default as Sr } from "./index67.js";
|
|
66
67
|
/* empty css */
|
|
67
|
-
import { default as
|
|
68
|
+
import { default as Dr } from "./index69.js";
|
|
68
69
|
/* empty css */
|
|
69
|
-
import { default as
|
|
70
|
+
import { default as Rr } from "./index71.js";
|
|
70
71
|
/* empty css */
|
|
71
|
-
import { default as
|
|
72
|
+
import { default as Pr } from "./index73.js";
|
|
72
73
|
/* empty css */
|
|
73
|
-
import { default as
|
|
74
|
+
import { default as zr } from "./index75.js";
|
|
74
75
|
/* empty css */
|
|
75
|
-
import { default as
|
|
76
|
-
import { default as
|
|
76
|
+
import { default as Nr } from "./index77.js";
|
|
77
|
+
import { default as yr } from "./index78.js";
|
|
77
78
|
/* empty css */
|
|
78
|
-
import { default as
|
|
79
|
+
import { default as Kr } from "./index80.js";
|
|
79
80
|
/* empty css */
|
|
80
|
-
import { default as
|
|
81
|
+
import { default as Or } from "./index82.js";
|
|
81
82
|
/* empty css */
|
|
82
|
-
import { default as
|
|
83
|
+
import { default as Wr } from "./index84.js";
|
|
83
84
|
/* empty css */
|
|
84
|
-
import { default as
|
|
85
|
+
import { default as Er } from "./index86.js";
|
|
85
86
|
/* empty css */
|
|
86
|
-
import { default as
|
|
87
|
+
import { default as Jr } from "./index88.js";
|
|
87
88
|
/* empty css */
|
|
88
|
-
import { default as
|
|
89
|
+
import { default as Ur } from "./index90.js";
|
|
89
90
|
/* empty css */
|
|
90
|
-
import { default as
|
|
91
|
+
import { default as Xr } from "./index92.js";
|
|
91
92
|
/* empty css */
|
|
92
|
-
import { default as
|
|
93
|
+
import { default as Zr } from "./index94.js";
|
|
93
94
|
/* empty css */
|
|
94
|
-
import { default as
|
|
95
|
+
import { default as $r } from "./index96.js";
|
|
95
96
|
/* empty css */
|
|
96
|
-
import { default as
|
|
97
|
+
import { default as rt } from "./index98.js";
|
|
97
98
|
/* empty css */
|
|
98
|
-
import { default as
|
|
99
|
+
import { default as et } from "./index100.js";
|
|
99
100
|
/* empty css */
|
|
100
|
-
import { default as
|
|
101
|
+
import { default as pt } from "./index102.js";
|
|
101
102
|
/* empty css */
|
|
102
|
-
import { default as
|
|
103
|
+
import { default as mt } from "./index104.js";
|
|
103
104
|
/* empty css */
|
|
104
|
-
import { default as
|
|
105
|
+
import { default as it } from "./index106.js";
|
|
105
106
|
/* empty css */
|
|
106
|
-
import { default as
|
|
107
|
+
import { default as xt } from "./index108.js";
|
|
107
108
|
/* empty css */
|
|
108
|
-
import { default as
|
|
109
|
+
import { default as lt } from "./index110.js";
|
|
109
110
|
/* empty css */
|
|
110
|
-
import { default as
|
|
111
|
+
import { default as bt } from "./index112.js";
|
|
111
112
|
/* empty css */
|
|
112
|
-
import { default as
|
|
113
|
+
import { default as ct } from "./index114.js";
|
|
113
114
|
/* empty css */
|
|
114
|
-
import { default as
|
|
115
|
+
import { default as ht } from "./index116.js";
|
|
115
116
|
/* empty css */
|
|
116
|
-
import { default as
|
|
117
|
+
import { default as Tt } from "./index118.js";
|
|
117
118
|
/* empty css */
|
|
118
|
-
import { default as
|
|
119
|
-
import { default as
|
|
120
|
-
import { default as
|
|
121
|
-
import { default as
|
|
122
|
-
import { default as
|
|
119
|
+
import { default as St } from "./index120.js";
|
|
120
|
+
import { default as Dt } from "./index121.js";
|
|
121
|
+
import { default as Rt } from "./index122.js";
|
|
122
|
+
import { default as Pt } from "./index123.js";
|
|
123
|
+
import { default as zt } from "./index124.js";
|
|
123
124
|
export {
|
|
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
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
125
|
+
So as BaseButton,
|
|
126
|
+
Do as BaseCheckbox,
|
|
127
|
+
Ro as BaseCheckboxGroup,
|
|
128
|
+
Po as BaseDatePicker,
|
|
129
|
+
zo as BaseDatePickerInput,
|
|
130
|
+
No as BaseDialog,
|
|
131
|
+
yo as BaseInputContainer,
|
|
132
|
+
Ko as BaseNumberInput,
|
|
133
|
+
Oo as BaseRadio,
|
|
134
|
+
Wo as BaseRadioGroup,
|
|
135
|
+
Eo as BaseRating,
|
|
136
|
+
Jo as BaseSelect,
|
|
137
|
+
Uo as BaseSlider,
|
|
138
|
+
Xo as BaseSwitch,
|
|
139
|
+
Zo as BaseSwitchGroup,
|
|
140
|
+
$o as BaseTag,
|
|
141
|
+
er as BaseTextInput,
|
|
142
|
+
rr as BaseTextarea,
|
|
143
|
+
pr as BbAccordion,
|
|
144
|
+
mr as BbAlert,
|
|
145
|
+
ir as BbAvatar,
|
|
146
|
+
xr as BbBadge,
|
|
147
|
+
lr as BbBreadcrumbs,
|
|
148
|
+
br as BbButton,
|
|
149
|
+
cr as BbCheckbox,
|
|
150
|
+
hr as BbCheckboxGroup,
|
|
151
|
+
St as BbChip,
|
|
152
|
+
Dt as BbCollapsible,
|
|
153
|
+
Tr as BbConfirm,
|
|
154
|
+
Sr as BbDatePickerInput,
|
|
155
|
+
Dr as BbDialog,
|
|
156
|
+
Rr as BbDropdown,
|
|
157
|
+
Pr as BbDropdownButton,
|
|
158
|
+
zr as BbDropzone,
|
|
159
|
+
Rt as BbIcon,
|
|
160
|
+
Nr as BbIntersection,
|
|
161
|
+
yr as BbNumberInput,
|
|
162
|
+
Kr as BbOffCanvas,
|
|
163
|
+
Or as BbPagination,
|
|
164
|
+
Wr as BbPopover,
|
|
165
|
+
Er as BbProgress,
|
|
166
|
+
Jr as BbRadio,
|
|
167
|
+
Ur as BbRadioGroup,
|
|
168
|
+
Xr as BbRating,
|
|
169
|
+
Zr as BbRatio,
|
|
170
|
+
$r as BbSelect,
|
|
171
|
+
rt as BbSlider,
|
|
172
|
+
Pt as BbSmoothHeight,
|
|
173
|
+
zt as BbSpinner,
|
|
174
|
+
et as BbSwitch,
|
|
175
|
+
pt as BbSwitchGroup,
|
|
176
|
+
mt as BbTab,
|
|
177
|
+
it as BbTable,
|
|
178
|
+
xt as BbTag,
|
|
179
|
+
bt as BbTextInput,
|
|
180
|
+
lt as BbTextarea,
|
|
181
|
+
ct as BbToast,
|
|
182
|
+
ht as BbTooltip,
|
|
183
|
+
Tt as BbTree,
|
|
184
|
+
eo as useBbConfig,
|
|
185
|
+
po as useBroadcastChannelInstance,
|
|
186
|
+
mo as useConfirm,
|
|
187
|
+
io as useCountdown,
|
|
188
|
+
xo as useId,
|
|
189
|
+
Bo as useMobile,
|
|
190
|
+
no as useQueue,
|
|
191
|
+
Co as useToast,
|
|
192
|
+
Io as useWizard,
|
|
193
|
+
To as wizardInjectionKey
|
|
193
194
|
};
|
|
194
195
|
//# 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,43 +1,82 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
1
|
+
const o = () => {
|
|
2
|
+
}, h = ({
|
|
3
|
+
resolvers: y,
|
|
4
|
+
onSuccess: i = o,
|
|
5
|
+
onCleared: m = o,
|
|
6
|
+
onError: u = o,
|
|
7
|
+
onCompleted: p = o,
|
|
8
|
+
concurrency: c = 1
|
|
9
|
+
}) => {
|
|
10
|
+
let e = [], a = 0;
|
|
11
|
+
const l = async () => {
|
|
12
|
+
if (!(a > c))
|
|
13
|
+
for (; a < c; ) {
|
|
14
|
+
const t = e[a++];
|
|
15
|
+
if (!t) {
|
|
16
|
+
a--;
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
const n = y[t.type];
|
|
20
|
+
if (!n)
|
|
21
|
+
throw new Error(
|
|
22
|
+
`No resolver defined for job type "${t.type.toString()}"`
|
|
23
|
+
);
|
|
24
|
+
new Promise(async (f) => {
|
|
25
|
+
try {
|
|
26
|
+
if ("params" in t) {
|
|
27
|
+
const r = await n(t.params), s = {
|
|
28
|
+
type: t.type,
|
|
29
|
+
params: t.params,
|
|
30
|
+
result: r
|
|
31
|
+
};
|
|
32
|
+
i(s);
|
|
33
|
+
} else {
|
|
34
|
+
const r = await n(void 0), s = {
|
|
35
|
+
type: t.type,
|
|
36
|
+
result: r
|
|
37
|
+
};
|
|
38
|
+
i(s);
|
|
39
|
+
}
|
|
40
|
+
} catch (r) {
|
|
41
|
+
const s = {
|
|
42
|
+
type: t.type,
|
|
43
|
+
params: "params" in t ? t.params : void 0,
|
|
44
|
+
error: r
|
|
45
|
+
};
|
|
46
|
+
u(s);
|
|
47
|
+
} finally {
|
|
48
|
+
const r = e.indexOf(t);
|
|
49
|
+
if (e.splice(r, 1), a--, "params" in t) {
|
|
50
|
+
const s = {
|
|
51
|
+
type: t.type,
|
|
52
|
+
params: t.params
|
|
53
|
+
};
|
|
54
|
+
p(s);
|
|
55
|
+
} else {
|
|
56
|
+
const s = {
|
|
57
|
+
type: t.type
|
|
58
|
+
};
|
|
59
|
+
p(s);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
if (e.length) return f(new Promise(() => l()));
|
|
63
|
+
m(), f(null);
|
|
31
64
|
});
|
|
32
65
|
}
|
|
33
|
-
|
|
66
|
+
}, d = (...t) => {
|
|
67
|
+
e.push(...t), l();
|
|
68
|
+
};
|
|
69
|
+
return {
|
|
70
|
+
addJobs: d,
|
|
71
|
+
addIf: (t, n) => {
|
|
72
|
+
n(e) && d(t);
|
|
34
73
|
},
|
|
35
|
-
|
|
36
|
-
|
|
74
|
+
filterJobs: (t) => {
|
|
75
|
+
e = e.slice(0, a).concat(e.slice(a).filter(t));
|
|
76
|
+
}
|
|
37
77
|
};
|
|
38
78
|
};
|
|
39
79
|
export {
|
|
40
|
-
|
|
41
|
-
b as useToast
|
|
80
|
+
h as useQueue
|
|
42
81
|
};
|
|
43
82
|
//# sourceMappingURL=index10.js.map
|
package/dist/index10.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index10.js","sources":["../src/composables/
|
|
1
|
+
{"version":3,"file":"index10.js","sources":["../src/composables/useQueue.ts"],"sourcesContent":["type Resolvers = Record<string, (arg: any) => any>;\n\ntype Jobs<T extends Resolvers> = {\n\t[Name in keyof T]: Parameters<T[Name]> extends [infer Arg]\n\t\t? { type: Name; params: Arg }\n\t\t: { type: Name };\n}[keyof T];\n\ntype OnSuccess<T extends Resolvers> = (\n\tdata: {\n\t\t[Name in keyof T]: {\n\t\t\tdata: Parameters<T[Name]> extends [infer Arg]\n\t\t\t\t? { type: Name; params: Arg; result: Awaited<ReturnType<T[Name]>> }\n\t\t\t\t: { type: Name; result: Awaited<ReturnType<T[Name]>> };\n\t\t}['data'];\n\t}[keyof T]\n) => void;\n\ntype OnError<T extends Resolvers> = (\n\tdata: {\n\t\t[Name in keyof T]: {\n\t\t\tdata: Parameters<T[Name]> extends [infer Arg]\n\t\t\t\t? { type: Name; params: Arg; error: any }\n\t\t\t\t: { type: Name; error: any };\n\t\t}['data'];\n\t}[keyof T]\n) => void;\n\ntype OnCompleted<T extends Resolvers> = (\n\tdata: {\n\t\t[Name in keyof T]: {\n\t\t\tdata: Parameters<T[Name]> extends [infer Arg]\n\t\t\t\t? { type: Name; params: Arg }\n\t\t\t\t: { type: Name };\n\t\t}['data'];\n\t}[keyof T]\n) => void;\n\ntype OnCleared = () => any;\n\ntype Params<T extends Resolvers> = {\n\tresolvers: T;\n\tconcurrency?: number;\n\tonSuccess?: OnSuccess<T>;\n\tonError?: OnError<T>;\n\tonCleared?: OnCleared;\n\tonCompleted?: OnCompleted<T>;\n};\n\nconst noop = () => {};\n\nexport const useQueue = <T extends Resolvers>({\n\tresolvers,\n\tonSuccess = noop,\n\tonCleared = noop,\n\tonError = noop,\n\tonCompleted = noop,\n\tconcurrency = 1,\n}: Params<T>) => {\n\tlet jobs: Jobs<T>[] = [];\n\tlet currentIndex = 0;\n\n\tconst process = async (): Promise<void> => {\n\t\tif (currentIndex > concurrency) {\n\t\t\treturn;\n\t\t}\n\t\twhile (currentIndex < concurrency) {\n\t\t\tconst job = jobs[currentIndex++];\n\t\t\tif (!job) {\n\t\t\t\tcurrentIndex--;\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst resolver = resolvers[job.type];\n\t\t\tif (!resolver)\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`No resolver defined for job type \"${job.type.toString()}\"`\n\t\t\t\t);\n\t\t\tnew Promise(async (resolve) => {\n\t\t\t\ttry {\n\t\t\t\t\tif ('params' in job) {\n\t\t\t\t\t\tconst res = await resolver(job.params);\n\t\t\t\t\t\tconst data = {\n\t\t\t\t\t\t\ttype: job.type,\n\t\t\t\t\t\t\tparams: job.params,\n\t\t\t\t\t\t\tresult: res,\n\t\t\t\t\t\t} as Extract<Parameters<OnSuccess<T>>[0], { params: any }>;\n\t\t\t\t\t\tonSuccess(data);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconst res = await resolver(undefined);\n\t\t\t\t\t\tconst data = {\n\t\t\t\t\t\t\ttype: job.type,\n\t\t\t\t\t\t\tresult: res,\n\t\t\t\t\t\t} as Extract<Parameters<OnSuccess<T>>[0], { params: never }>;\n\t\t\t\t\t\tonSuccess(data);\n\t\t\t\t\t}\n\t\t\t\t} catch (error) {\n\t\t\t\t\tconst data = {\n\t\t\t\t\t\ttype: job.type,\n\t\t\t\t\t\tparams: 'params' in job ? job.params : undefined,\n\t\t\t\t\t\terror: error,\n\t\t\t\t\t} as Parameters<OnError<T>>[0];\n\t\t\t\t\tonError(data);\n\t\t\t\t} finally {\n\t\t\t\t\tconst index = jobs.indexOf(job);\n\t\t\t\t\tjobs.splice(index, 1);\n\t\t\t\t\tcurrentIndex--;\n\n\t\t\t\t\tif ('params' in job) {\n\t\t\t\t\t\tconst data = {\n\t\t\t\t\t\t\ttype: job.type,\n\t\t\t\t\t\t\tparams: job.params,\n\t\t\t\t\t\t} as Extract<Parameters<OnCompleted<T>>[0], { params: any }>;\n\t\t\t\t\t\tonCompleted(data);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconst data = {\n\t\t\t\t\t\t\ttype: job.type,\n\t\t\t\t\t\t} as Extract<Parameters<OnCompleted<T>>[0], { params: never }>;\n\t\t\t\t\t\tonCompleted(data);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (jobs.length) return resolve(new Promise(() => process()));\n\t\t\t\tonCleared();\n\t\t\t\tresolve(null);\n\t\t\t});\n\t\t}\n\t};\n\n\tconst addJobs = (...job: (typeof jobs)[number][]) => {\n\t\tjobs.push(...job);\n\t\tprocess();\n\t};\n\n\tconst addIf = (\n\t\tjob: (typeof jobs)[number],\n\t\titeratee: (arr: typeof jobs) => boolean\n\t) => {\n\t\tif (iteratee(jobs)) addJobs(job);\n\t};\n\n\tconst filterJobs = (\n\t\titeratee: (\n\t\t\telement: (typeof jobs)[number],\n\t\t\tindex: number,\n\t\t\tarr: typeof jobs\n\t\t) => boolean\n\t) => {\n\t\tjobs = jobs\n\t\t\t.slice(0, currentIndex)\n\t\t\t.concat(jobs.slice(currentIndex).filter(iteratee));\n\t};\n\n\treturn {\n\t\taddJobs,\n\t\taddIf,\n\t\tfilterJobs,\n\t};\n};\n"],"names":["noop","useQueue","resolvers","onSuccess","onCleared","onError","onCompleted","concurrency","jobs","currentIndex","process","job","resolver","resolve","res","data","error","index","addJobs","iteratee"],"mappings":"AAiDA,MAAMA,IAAO,MAAM;AAAC,GAEPC,IAAW,CAAsB;AAAA,EAC7C,WAAAC;AAAA,EACA,WAAAC,IAAYH;AAAA,EACZ,WAAAI,IAAYJ;AAAA,EACZ,SAAAK,IAAUL;AAAA,EACV,aAAAM,IAAcN;AAAA,EACd,aAAAO,IAAc;AACf,MAAiB;AAChB,MAAIC,IAAkB,CAAA,GAClBC,IAAe;AAEnB,QAAMC,IAAU,YAA2B;AAC1C,QAAI,EAAAD,IAAeF;AAGnB,aAAOE,IAAeF,KAAa;AAC5B,cAAAI,IAAMH,EAAKC,GAAc;AAC/B,YAAI,CAACE,GAAK;AACT,UAAAF;AACA;AAAA,QACD;AAEM,cAAAG,IAAWV,EAAUS,EAAI,IAAI;AACnC,YAAI,CAACC;AACJ,gBAAM,IAAI;AAAA,YACT,qCAAqCD,EAAI,KAAK,SAAA,CAAU;AAAA,UAAA;AAEtD,YAAA,QAAQ,OAAOE,MAAY;AAC1B,cAAA;AACH,gBAAI,YAAYF,GAAK;AACpB,oBAAMG,IAAM,MAAMF,EAASD,EAAI,MAAM,GAC/BI,IAAO;AAAA,gBACZ,MAAMJ,EAAI;AAAA,gBACV,QAAQA,EAAI;AAAA,gBACZ,QAAQG;AAAA,cAAA;AAET,cAAAX,EAAUY,CAAI;AAAA,YAAA,OACR;AACA,oBAAAD,IAAM,MAAMF,EAAS,MAAS,GAC9BG,IAAO;AAAA,gBACZ,MAAMJ,EAAI;AAAA,gBACV,QAAQG;AAAA,cAAA;AAET,cAAAX,EAAUY,CAAI;AAAA,YACf;AAAA,mBACQC,GAAO;AACf,kBAAMD,IAAO;AAAA,cACZ,MAAMJ,EAAI;AAAA,cACV,QAAQ,YAAYA,IAAMA,EAAI,SAAS;AAAA,cACvC,OAAAK;AAAA,YAAA;AAED,YAAAX,EAAQU,CAAI;AAAA,UAAA,UACX;AACK,kBAAAE,IAAQT,EAAK,QAAQG,CAAG;AAI9B,gBAHKH,EAAA,OAAOS,GAAO,CAAC,GACpBR,KAEI,YAAYE,GAAK;AACpB,oBAAMI,IAAO;AAAA,gBACZ,MAAMJ,EAAI;AAAA,gBACV,QAAQA,EAAI;AAAA,cAAA;AAEb,cAAAL,EAAYS,CAAI;AAAA,YAAA,OACV;AACN,oBAAMA,IAAO;AAAA,gBACZ,MAAMJ,EAAI;AAAA,cAAA;AAEX,cAAAL,EAAYS,CAAI;AAAA,YACjB;AAAA,UACD;AACI,cAAAP,EAAK,OAAe,QAAAK,EAAQ,IAAI,QAAQ,MAAMH,EAAS,CAAA,CAAC;AAClD,UAAAN,KACVS,EAAQ,IAAI;AAAA,QAAA,CACZ;AAAA,MACF;AAAA,EAAA,GAGKK,IAAU,IAAIP,MAAiC;AAC/C,IAAAH,EAAA,KAAK,GAAGG,CAAG,GACRD;EAAA;AAsBF,SAAA;AAAA,IACN,SAAAQ;AAAA,IACA,OArBa,CACbP,GACAQ,MACI;AACJ,MAAIA,EAASX,CAAI,KAAGU,EAAQP,CAAG;AAAA,IAAA;AAAA,IAkB/B,YAfkB,CAClBQ,MAKI;AACJ,MAAAX,IAAOA,EACL,MAAM,GAAGC,CAAY,EACrB,OAAOD,EAAK,MAAMC,CAAY,EAAE,OAAOU,CAAQ,CAAC;AAAA,IAAA;AAAA,EAMlD;AAEF;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as f, ref as v, computed as y, openBlock as w, createBlock as B, withCtx as l, renderSlot as n, normalizeProps as k, guardReactiveProps as V, createVNode as g, mergeProps as i } from "vue";
|
|
2
|
-
import P from "./
|
|
2
|
+
import P from "./index25.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import q from "./
|
|
4
|
+
import q from "./index39.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
const E = /* @__PURE__ */ f({
|
|
7
7
|
__name: "BbSwitch",
|
|
@@ -98,4 +98,4 @@ const E = /* @__PURE__ */ f({
|
|
|
98
98
|
export {
|
|
99
99
|
E as default
|
|
100
100
|
};
|
|
101
|
-
//# sourceMappingURL=
|
|
101
|
+
//# sourceMappingURL=index100.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index100.js","sources":["../src/components/BbSwitch/BbSwitch.vue"],"sourcesContent":["<template>\n\t<BaseInputContainer\n\t\t:id=\"id\"\n\t\tclass=\"bb-switch\"\n\t\t:direction=\"direction\"\n\t\t:errors=\"errors\"\n\t\t:has-errors=\"hasErrors\"\n\t\t:hide-label=\"hideLabel\"\n\t\t:hint=\"hint\"\n\t\t:input-position=\"inputPosition\"\n\t\t:label=\"label\"\n\t\t:label-position=\"labelPosition\"\n\t\t:label-tag=\"'span'\"\n\t\t:name=\"name\"\n\t\t:reverse=\"reverse\"\n\t\t:show-hint=\"showHint\"\n\t\t:tag=\"'label'\"\n\t>\n\t\t<template #label=\"data\"><slot name=\"label\" v-bind=\"data\"></slot></template>\n\t\t<template #input=\"{ id, name, hasErrors, ariaDescribedby }\">\n\t\t\t<BaseSwitch\n\t\t\t\t:id=\"id\"\n\t\t\t\t:aria-describedby=\"ariaDescribedby\"\n\t\t\t\t:autofocus=\"autofocus\"\n\t\t\t\t:checked=\"checked\"\n\t\t\t\t:color=\"color\"\n\t\t\t\t:disabled=\"disabled\"\n\t\t\t\t:false-value=\"falseValue\"\n\t\t\t\t:has-errors=\"hasErrors\"\n\t\t\t\t:indeterminate=\"indeterminate\"\n\t\t\t\t:model-value=\"modelValue\"\n\t\t\t\t:name=\"name\"\n\t\t\t\t:readonly=\"readonly\"\n\t\t\t\t:required=\"required\"\n\t\t\t\t:submit-when-false=\"submitWhenFalse\"\n\t\t\t\t:true-value=\"trueValue\"\n\t\t\t\tv-bind=\"eventListeners\"\n\t\t\t>\n\t\t\t\t<template #icon=\"data\"\n\t\t\t\t\t><slot name=\"icon\" v-bind=\"data\" :text=\"label\"\n\t\t\t\t/></template>\n\t\t\t</BaseSwitch>\n\t\t</template>\n\t</BaseInputContainer>\n</template>\n\n<script setup lang=\"ts\">\nimport BaseInputContainer from '../BaseInputContainer/BaseInputContainer.vue';\nimport BaseSwitch from '../BaseSwitch/BaseSwitch.vue';\nimport { computed, ref } from 'vue';\nimport type { SlotAttributes } from '../BaseCheckbox/BaseCheckbox.vue';\nimport type {\n\tBbCheckboxEvents,\n\tBbCheckboxProps,\n} from '../BbCheckbox/BbCheckbox.vue';\n\nexport type BbSwitchProps = BbCheckboxProps;\n\nexport type BbSwitchEvents = BbCheckboxEvents;\n\nconst props = withDefaults(defineProps<BbSwitchProps>(), {\n\tdirection: 'auto',\n\treverse: true,\n});\n\nconst emit = defineEmits<BbSwitchEvents>();\n\ndefineSlots<{\n\tlabel?: (props: { text: string; hasErrors: boolean }) => any;\n\ticon?: (props: SlotAttributes & { text: string }) => any;\n}>();\n\nconst active = ref(false);\nconst showHint = computed(() => props.persistentHint || active.value);\n\nconst eventListeners = {\n\tonBlur: (event: FocusEvent) => {\n\t\tactive.value = false;\n\t\temit('blur', event);\n\t},\n\tonChange: (event: Event) => emit('change', event),\n\tonClick: (event: MouseEvent) => emit('click', event),\n\tonFocus: (event: FocusEvent) => {\n\t\tactive.value = true;\n\t\temit('focus', event);\n\t},\n\tonInput: (event: Event) => emit('input', event),\n\tonKeydown: (event: KeyboardEvent) => emit('keydown', event),\n\tonMousedown: (event: MouseEvent) => emit('mousedown', event),\n\tonMouseup: (event: MouseEvent) => emit('mouseup', event),\n\t'onUpdate:modelValue': (value: any) => emit('update:modelValue', value),\n};\n</script>\n\n<style lang=\"postcss\">\n@import '@/assets/css/BbSwitch';\n</style>\n"],"names":["props","__props","emit","__emit","active","ref","showHint","computed","eventListeners","event","value"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4DA,UAAMA,IAAQC,GAKRC,IAAOC,GAOPC,IAASC,EAAI,EAAK,GAClBC,IAAWC,EAAS,MAAMP,EAAM,kBAAkBI,EAAO,KAAK,GAE9DI,IAAiB;AAAA,MACtB,QAAQ,CAACC,MAAsB;AAC9B,QAAAL,EAAO,QAAQ,IACfF,EAAK,QAAQO,CAAK;AAAA,MACnB;AAAA,MACA,UAAU,CAACA,MAAiBP,EAAK,UAAUO,CAAK;AAAA,MAChD,SAAS,CAACA,MAAsBP,EAAK,SAASO,CAAK;AAAA,MACnD,SAAS,CAACA,MAAsB;AAC/B,QAAAL,EAAO,QAAQ,IACfF,EAAK,SAASO,CAAK;AAAA,MACpB;AAAA,MACA,SAAS,CAACA,MAAiBP,EAAK,SAASO,CAAK;AAAA,MAC9C,WAAW,CAACA,MAAyBP,EAAK,WAAWO,CAAK;AAAA,MAC1D,aAAa,CAACA,MAAsBP,EAAK,aAAaO,CAAK;AAAA,MAC3D,WAAW,CAACA,MAAsBP,EAAK,WAAWO,CAAK;AAAA,MACvD,uBAAuB,CAACC,MAAeR,EAAK,qBAAqBQ,CAAK;AAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as v, ref as g, computed as y, openBlock as w, createBlock as B, withCtx as a, renderSlot as i, normalizeProps as l, guardReactiveProps as r, createVNode as $, mergeProps as T } from "vue";
|
|
2
|
-
import V from "./
|
|
2
|
+
import V from "./index25.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import D from "./
|
|
4
|
+
import D from "./index41.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
const F = /* @__PURE__ */ v({
|
|
7
7
|
__name: "BbSwitchGroup",
|
|
@@ -125,4 +125,4 @@ const F = /* @__PURE__ */ v({
|
|
|
125
125
|
export {
|
|
126
126
|
F as default
|
|
127
127
|
};
|
|
128
|
-
//# sourceMappingURL=
|
|
128
|
+
//# sourceMappingURL=index102.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"index102.js","sources":["../src/components/BbSwitchGroup/BbSwitchGroup.vue"],"sourcesContent":["<template>\n\t<BaseInputContainer\n\t\t:id=\"id\"\n\t\tclass=\"bb-switch-group\"\n\t\t:direction=\"'vertical'\"\n\t\t:errors=\"errors\"\n\t\t:has-errors=\"hasErrors\"\n\t\t:hide-label=\"hideLegend\"\n\t\t:hint=\"hint\"\n\t\t:label=\"legend\"\n\t\t:label-tag=\"'legend'\"\n\t\t:name=\"name\"\n\t\t:reverse=\"reverse\"\n\t\t:show-hint=\"showHint\"\n\t\t:tag=\"'fieldset'\"\n\t>\n\t\t<template #label=\"data\"><slot name=\"legend\" v-bind=\"data\"></slot></template>\n\t\t<template #input=\"{ id, name, hasErrors, ariaDescribedby }\">\n\t\t\t<BaseSwitchGroup\n\t\t\t\t:id=\"id\"\n\t\t\t\t:aria-describedby=\"ariaDescribedby\"\n\t\t\t\t:autofocus=\"autofocus\"\n\t\t\t\t:color=\"color\"\n\t\t\t\t:dependencies=\"dependencies\"\n\t\t\t\t:deps-debounce-time=\"depsDebounceTime\"\n\t\t\t\t:direction=\"inputDirection\"\n\t\t\t\t:disabled=\"disabled\"\n\t\t\t\t:enforce-coherence=\"enforceCoherence\"\n\t\t\t\t:has-errors=\"hasErrors\"\n\t\t\t\t:hide-label=\"hideLabel\"\n\t\t\t\t:item-text=\"<any>itemText\"\n\t\t\t\t:item-value=\"<any>itemValue\"\n\t\t\t\t:items=\"items\"\n\t\t\t\t:loading-text=\"loadingText\"\n\t\t\t\t:model-value=\"modelValue\"\n\t\t\t\t:model-value-debounce-time=\"modelValueDebounceTime\"\n\t\t\t\t:name=\"name\"\n\t\t\t\t:no-data-text=\"noDataText\"\n\t\t\t\t:readonly=\"readonly\"\n\t\t\t\tv-bind=\"eventListeners\"\n\t\t\t>\n\t\t\t\t<template #prepend=\"data\"\n\t\t\t\t\t><slot name=\"prepend\" v-bind=\"data\"></slot></template\n\t\t\t\t><template #loading=\"data\"\n\t\t\t\t\t><slot name=\"loading\" v-bind=\"data\"></slot></template\n\t\t\t\t><template #no-data=\"data\"\n\t\t\t\t\t><slot name=\"no-data\" v-bind=\"data\"></slot></template\n\t\t\t\t><template #option:prepend=\"data\"\n\t\t\t\t\t><slot name=\"option:prepend\" v-bind=\"data\"></slot></template\n\t\t\t\t><template #icon=\"data\"\n\t\t\t\t\t><slot name=\"icon\" v-bind=\"data\"></slot></template\n\t\t\t\t><template #label=\"data\"\n\t\t\t\t\t><slot name=\"label\" v-bind=\"data\"></slot></template\n\t\t\t\t><template #option:append=\"data\"\n\t\t\t\t\t><slot name=\"option:append\" v-bind=\"data\"></slot></template\n\t\t\t\t><template #append=\"data\"\n\t\t\t\t\t><slot name=\"append\" v-bind=\"data\"></slot\n\t\t\t\t></template>\n\t\t\t</BaseSwitchGroup>\n\t\t</template>\n\t</BaseInputContainer>\n</template>\n\n<script setup lang=\"ts\" generic=\"T = any\">\nimport BaseInputContainer from '../BaseInputContainer/BaseInputContainer.vue';\nimport BaseSwitchGroup from '../BaseSwitchGroup/BaseSwitchGroup.vue';\nimport type { SlotAttributes } from '../BaseCheckbox/BaseCheckbox.vue';\nimport type {\n\tBbCheckboxGroupEvents,\n\tBbCheckboxGroupProps,\n} from '../BbCheckboxGroup/BbCheckboxGroup.vue';\nimport { computed, ref } from 'vue';\n\nexport type BbSwitchGroupProps<T> = BbCheckboxGroupProps<T>;\n\nexport type BbSwitchGroupEvents = BbCheckboxGroupEvents;\n\nconst props = defineProps<BbSwitchGroupProps<T>>();\n\nconst emit = defineEmits<BbSwitchGroupEvents>();\n\ndefineSlots<{\n\tprepend?: (props: object) => any;\n\tloading?: (props: object) => any;\n\t'no-data'?: (props: object) => any;\n\t'option:prepend'?: (props: {\n\t\tchecked: boolean;\n\t\tdisabled: boolean;\n\t\tid?: string;\n\t\titem: T;\n\t\ttext: string;\n\t}) => any;\n\ticon?: (\n\t\tprops: SlotAttributes & {\n\t\t\titem: T;\n\t\t\ttext: string;\n\t\t}\n\t) => any;\n\tlabel?: (props: { item: T; text: string; checked: boolean }) => any;\n\t'option:append'?: (props: {\n\t\tchecked: boolean;\n\t\tdisabled: boolean;\n\t\tid?: string;\n\t\titem: T;\n\t\ttext: string;\n\t}) => any;\n\tappend?: (props: object) => any;\n\tlegend?: (props: { text: string; hasErrors: boolean }) => any;\n}>();\n\nconst active = ref(false);\nconst showHint = computed(() => props.persistentHint || active.value);\n\nconst eventListeners = {\n\tonBlur: (event: FocusEvent) => emit('blur', event),\n\tonChange: (event: Event) => emit('change', event),\n\tonClick: (event: MouseEvent) => emit('click', event),\n\tonFocus: (event: FocusEvent) => {\n\t\tactive.value = true;\n\t\temit('focus', event);\n\t},\n\tonInactive: () => {\n\t\tactive.value = false;\n\t\temit('inactive');\n\t},\n\tonInput: (event: Event) => emit('input', event),\n\tonKeydown: (event: KeyboardEvent) => emit('keydown', event),\n\tonMousedown: (event: MouseEvent) => emit('mousedown', event),\n\tonMouseup: (event: MouseEvent) => emit('mouseup', event),\n\t'onUpdate:modelValue': (event: any) => emit('update:modelValue', event),\n};\n</script>\n\n<style lang=\"postcss\">\n@import '@/assets/css/BbSwitchGroup';\n</style>\n"],"names":["props","__props","emit","__emit","active","ref","showHint","computed","eventListeners","event"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6EA,UAAMA,IAAQC,GAERC,IAAOC,GA+BPC,IAASC,EAAI,EAAK,GAClBC,IAAWC,EAAS,MAAMP,EAAM,kBAAkBI,EAAO,KAAK,GAE9DI,IAAiB;AAAA,MACtB,QAAQ,CAACC,MAAsBP,EAAK,QAAQO,CAAK;AAAA,MACjD,UAAU,CAACA,MAAiBP,EAAK,UAAUO,CAAK;AAAA,MAChD,SAAS,CAACA,MAAsBP,EAAK,SAASO,CAAK;AAAA,MACnD,SAAS,CAACA,MAAsB;AAC/B,QAAAL,EAAO,QAAQ,IACfF,EAAK,SAASO,CAAK;AAAA,MACpB;AAAA,MACA,YAAY,MAAM;AACjB,QAAAL,EAAO,QAAQ,IACfF,EAAK,UAAU;AAAA,MAChB;AAAA,MACA,SAAS,CAACO,MAAiBP,EAAK,SAASO,CAAK;AAAA,MAC9C,WAAW,CAACA,MAAyBP,EAAK,WAAWO,CAAK;AAAA,MAC1D,aAAa,CAACA,MAAsBP,EAAK,aAAaO,CAAK;AAAA,MAC3D,WAAW,CAACA,MAAsBP,EAAK,WAAWO,CAAK;AAAA,MACvD,uBAAuB,CAACA,MAAeP,EAAK,qBAAqBO,CAAK;AAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|