bitboss-ui 0.1.107 → 0.1.109
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/index.d.ts +1 -0
- package/dist/index.js +179 -177
- package/dist/index.js.map +1 -1
- package/dist/index10.js +2 -129
- package/dist/index10.js.map +1 -1
- package/dist/index100.js +2 -440
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +440 -2
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +2 -92
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +92 -2
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +2 -86
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +86 -2
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +2 -87
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +87 -2
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +2 -27
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +27 -2
- package/dist/index109.js.map +1 -1
- package/dist/index11.js +129 -2
- package/dist/index11.js.map +1 -1
- package/dist/index110.js +2 -150
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +150 -2
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +2 -120
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +120 -2
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +2 -44
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +40 -34
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +33 -39
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +39 -42
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +43 -39
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +43 -2
- package/dist/index119.js.map +1 -1
- package/dist/index12.js +2 -149
- package/dist/index12.js.map +1 -1
- package/dist/index120.js +2 -21
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +21 -2
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +2 -224
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +224 -2
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +2 -18
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +15 -9
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +12 -2
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +2 -70
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +69 -8
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +8 -5
- package/dist/index129.js.map +1 -1
- package/dist/index13.js +149 -2
- package/dist/index13.js.map +1 -1
- package/dist/index130.js +6 -3
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +2 -2
- package/dist/index132.js +2 -2
- package/dist/index133.js +2 -2
- 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 +2 -453
- 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/index15.js +453 -2
- package/dist/index15.js.map +1 -1
- 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 +3 -2
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +2 -3
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +3 -2
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +2 -3
- package/dist/index159.js.map +1 -1
- package/dist/index16.js +2 -210
- package/dist/index16.js.map +1 -1
- package/dist/index160.js +2 -2
- package/dist/index161.js +2 -2
- package/dist/index162.js +2 -2
- package/dist/index163.js +2 -2
- package/dist/index164.js +2 -2
- package/dist/index165.js +3 -2
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +2 -3
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +3 -2
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +2 -2
- package/dist/index169.js +2 -3
- package/dist/index169.js.map +1 -1
- package/dist/index17.js +210 -2
- package/dist/index17.js.map +1 -1
- package/dist/index170.js +2 -2
- package/dist/index171.js +2 -2
- package/dist/index172.js +2 -2
- 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 +2 -242
- package/dist/index18.js.map +1 -1
- package/dist/index180.js +2 -2
- package/dist/index181.js +3 -2
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +2 -3
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +3 -2
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +2 -3
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +2 -2
- package/dist/index186.js +2 -2
- package/dist/index187.js +2 -2
- package/dist/index188.js +2 -2
- package/dist/index189.js +2 -2
- package/dist/index19.js +242 -2
- package/dist/index19.js.map +1 -1
- 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 +3 -10
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +3 -2
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +35 -4
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +6 -5
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +293 -14
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +10 -10
- package/dist/index199.js.map +1 -1
- package/dist/index2.js +38 -73
- package/dist/index2.js.map +1 -1
- package/dist/index20.js +2 -113
- package/dist/index20.js.map +1 -1
- package/dist/index200.js +15 -18
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +18 -19
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +15 -24
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +29 -8
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +8 -2
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +2 -351
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +2 -134
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +4 -2
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +2 -186
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +2 -23
- package/dist/index209.js.map +1 -1
- package/dist/index21.js +113 -2
- package/dist/index21.js.map +1 -1
- package/dist/index210.js +2 -369
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +351 -3
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +2 -35
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +369 -6
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +134 -2
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +186 -2
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +23 -3
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +3 -3
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +3 -235
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +10 -2
- package/dist/index219.js.map +1 -1
- package/dist/index22.js +2 -115
- package/dist/index22.js.map +1 -1
- package/dist/index220.js +233 -26
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +8 -12
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +114 -7
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +25 -113
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +13 -79
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +79 -2
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +426 -153
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +89 -2
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +199 -3
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +5 -294
- package/dist/index229.js.map +1 -1
- package/dist/index23.js +115 -2
- package/dist/index23.js.map +1 -1
- package/dist/index230.js +2 -6
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +2 -2
- package/dist/index236.js +4 -2
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +117 -2
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +100 -111
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +68 -105
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +2 -90
- package/dist/index24.js.map +1 -1
- package/dist/index240.js +153 -426
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +2 -89
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +2 -200
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +2 -224
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +19 -53
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +257 -68
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +2 -2
- package/dist/index246.js.map +1 -1
- package/dist/index25.js +90 -2
- package/dist/index25.js.map +1 -1
- package/dist/index250.js +1 -1
- package/dist/index251.js +2 -3
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +3 -2
- package/dist/index252.js.map +1 -1
- package/dist/index26.js +2 -147
- package/dist/index26.js.map +1 -1
- package/dist/index27.js +147 -2
- package/dist/index27.js.map +1 -1
- package/dist/index28.js +2 -122
- package/dist/index28.js.map +1 -1
- package/dist/index29.js +122 -2
- package/dist/index29.js.map +1 -1
- package/dist/index3.js +75 -62
- package/dist/index3.js.map +1 -1
- package/dist/index30.js +2 -687
- package/dist/index30.js.map +1 -1
- package/dist/index31.js +687 -2
- package/dist/index31.js.map +1 -1
- package/dist/index32.js +2 -144
- package/dist/index32.js.map +1 -1
- package/dist/index33.js +144 -2
- package/dist/index33.js.map +1 -1
- package/dist/index34.js +2 -116
- package/dist/index34.js.map +1 -1
- package/dist/index35.js +116 -2
- package/dist/index35.js.map +1 -1
- package/dist/index36.js +2 -152
- package/dist/index36.js.map +1 -1
- package/dist/index37.js +152 -2
- package/dist/index37.js.map +1 -1
- package/dist/index38.js +2 -83
- package/dist/index38.js.map +1 -1
- package/dist/index39.js +83 -2
- package/dist/index39.js.map +1 -1
- package/dist/index4.js +60 -37
- package/dist/index4.js.map +1 -1
- package/dist/index40.js +2 -59
- package/dist/index40.js.map +1 -1
- package/dist/index41.js +59 -2
- package/dist/index41.js.map +1 -1
- package/dist/index42.js +2 -60
- package/dist/index42.js.map +1 -1
- package/dist/index43.js +60 -2
- package/dist/index43.js.map +1 -1
- package/dist/index44.js +2 -94
- package/dist/index44.js.map +1 -1
- package/dist/index45.js +94 -2
- package/dist/index45.js.map +1 -1
- package/dist/index46.js +2 -59
- package/dist/index46.js.map +1 -1
- package/dist/index47.js +59 -2
- package/dist/index47.js.map +1 -1
- package/dist/index48.js +2 -47
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +47 -2
- package/dist/index49.js.map +1 -1
- package/dist/index5.js +36 -171
- package/dist/index5.js.map +1 -1
- package/dist/index50.js +2 -60
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +60 -2
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +2 -43
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +43 -2
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +2 -87
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +87 -2
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +2 -118
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +118 -2
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +2 -83
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +83 -2
- package/dist/index59.js.map +1 -1
- package/dist/index6.js +172 -17
- package/dist/index6.js.map +1 -1
- package/dist/index60.js +2 -86
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +86 -2
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +2 -57
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +57 -2
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +2 -309
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +309 -2
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +2 -127
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +127 -2
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +2 -215
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +215 -2
- package/dist/index69.js.map +1 -1
- package/dist/index7.js +16 -204
- package/dist/index7.js.map +1 -1
- package/dist/index70.js +2 -22
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +19 -41
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +37 -86
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +93 -2
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +2 -218
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +218 -2
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +2 -139
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +139 -2
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +2 -183
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +183 -2
- package/dist/index79.js.map +1 -1
- package/dist/index8.js +206 -62
- package/dist/index8.js.map +1 -1
- package/dist/index80.js +2 -33
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +33 -2
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +2 -81
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +81 -2
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +2 -118
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +118 -2
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +2 -81
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +81 -2
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +2 -28
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +28 -2
- package/dist/index89.js.map +1 -1
- package/dist/index9.js +63 -2
- package/dist/index9.js.map +1 -1
- package/dist/index90.js +2 -153
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +153 -2
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +2 -84
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +84 -2
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +2 -87
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +87 -2
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +2 -117
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +117 -2
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +2 -162
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +162 -2
- package/dist/index99.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- /package/dist/composables/{useBroadCastChannelInstance.d.ts → useBroadcastChannelInstance.d.ts} +0 -0
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,186 +1,188 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import "./index9.js";
|
|
9
|
-
import
|
|
10
|
-
import "./index11.js";
|
|
11
|
-
import
|
|
12
|
-
import "./index13.js";
|
|
13
|
-
import
|
|
14
|
-
import "./index15.js";
|
|
15
|
-
import
|
|
16
|
-
import "./index17.js";
|
|
17
|
-
import
|
|
18
|
-
import "./index19.js";
|
|
19
|
-
import
|
|
20
|
-
import "./index21.js";
|
|
21
|
-
import
|
|
22
|
-
import "./index23.js";
|
|
23
|
-
import
|
|
24
|
-
import "./index25.js";
|
|
25
|
-
import
|
|
26
|
-
import "./index27.js";
|
|
27
|
-
import
|
|
28
|
-
import "./index29.js";
|
|
29
|
-
import
|
|
30
|
-
import "./index31.js";
|
|
31
|
-
import
|
|
32
|
-
import "./index33.js";
|
|
33
|
-
import
|
|
34
|
-
import "./index35.js";
|
|
35
|
-
import
|
|
36
|
-
import "./index37.js";
|
|
37
|
-
import
|
|
38
|
-
import "./index39.js";
|
|
39
|
-
import
|
|
40
|
-
import "./index41.js";
|
|
41
|
-
import
|
|
42
|
-
import "./index43.js";
|
|
43
|
-
import
|
|
44
|
-
import "./index45.js";
|
|
45
|
-
import
|
|
46
|
-
import "./index47.js";
|
|
47
|
-
import
|
|
48
|
-
import "./index49.js";
|
|
49
|
-
import
|
|
50
|
-
import "./index51.js";
|
|
51
|
-
import
|
|
52
|
-
import "./index53.js";
|
|
53
|
-
import
|
|
54
|
-
import "./index55.js";
|
|
55
|
-
import
|
|
56
|
-
import "./index57.js";
|
|
57
|
-
import
|
|
58
|
-
import "./index59.js";
|
|
59
|
-
import
|
|
60
|
-
import "./index61.js";
|
|
61
|
-
import
|
|
62
|
-
import "./index63.js";
|
|
63
|
-
import
|
|
64
|
-
import "./index65.js";
|
|
65
|
-
import
|
|
66
|
-
import "./index67.js";
|
|
67
|
-
import
|
|
68
|
-
import "./index69.js";
|
|
69
|
-
import
|
|
1
|
+
import { useBroadcastChannelInstance as oo } from "./index2.js";
|
|
2
|
+
import { useConfirm as ro } from "./index3.js";
|
|
3
|
+
import { useCountdown as ao } from "./index4.js";
|
|
4
|
+
import { useToast as fo } from "./index5.js";
|
|
5
|
+
import { useOptions as so } from "./index6.js";
|
|
6
|
+
import { useId as uo } from "./index7.js";
|
|
7
|
+
import { useWizard as lo, wizardInjectionKey as Bo } from "./index8.js";
|
|
8
|
+
import { default as no } from "./index9.js";
|
|
9
|
+
import "./index10.js";
|
|
10
|
+
import { default as ho } from "./index11.js";
|
|
11
|
+
import "./index12.js";
|
|
12
|
+
import { default as Io } from "./index13.js";
|
|
13
|
+
import "./index14.js";
|
|
14
|
+
import { default as So } from "./index15.js";
|
|
15
|
+
import "./index16.js";
|
|
16
|
+
import { default as wo } from "./index17.js";
|
|
17
|
+
import "./index18.js";
|
|
18
|
+
import { default as ko } from "./index19.js";
|
|
19
|
+
import "./index20.js";
|
|
20
|
+
import { default as Go } from "./index21.js";
|
|
21
|
+
import "./index22.js";
|
|
22
|
+
import { default as vo } from "./index23.js";
|
|
23
|
+
import "./index24.js";
|
|
24
|
+
import { default as Ao } from "./index25.js";
|
|
25
|
+
import "./index26.js";
|
|
26
|
+
import { default as No } from "./index27.js";
|
|
27
|
+
import "./index28.js";
|
|
28
|
+
import { default as jo } from "./index29.js";
|
|
29
|
+
import "./index30.js";
|
|
30
|
+
import { default as Ko } from "./index31.js";
|
|
31
|
+
import "./index32.js";
|
|
32
|
+
import { default as qo } from "./index33.js";
|
|
33
|
+
import "./index34.js";
|
|
34
|
+
import { default as Fo } from "./index35.js";
|
|
35
|
+
import "./index36.js";
|
|
36
|
+
import { default as Lo } from "./index37.js";
|
|
37
|
+
import "./index38.js";
|
|
38
|
+
import { default as Qo } from "./index39.js";
|
|
39
|
+
import "./index40.js";
|
|
40
|
+
import { default as Vo } from "./index41.js";
|
|
41
|
+
import "./index42.js";
|
|
42
|
+
import { default as Yo } from "./index43.js";
|
|
43
|
+
import "./index44.js";
|
|
44
|
+
import { default as _o } from "./index45.js";
|
|
45
|
+
import "./index46.js";
|
|
46
|
+
import { default as ot } from "./index47.js";
|
|
47
|
+
import "./index48.js";
|
|
48
|
+
import { default as rt } from "./index49.js";
|
|
49
|
+
import "./index50.js";
|
|
50
|
+
import { default as at } from "./index51.js";
|
|
51
|
+
import "./index52.js";
|
|
52
|
+
import { default as ft } from "./index53.js";
|
|
53
|
+
import "./index54.js";
|
|
54
|
+
import { default as st } from "./index55.js";
|
|
55
|
+
import "./index56.js";
|
|
56
|
+
import { default as ut } from "./index57.js";
|
|
57
|
+
import "./index58.js";
|
|
58
|
+
import { default as xt } from "./index59.js";
|
|
59
|
+
import "./index60.js";
|
|
60
|
+
import { default as Bt } from "./index61.js";
|
|
61
|
+
import "./index62.js";
|
|
62
|
+
import { default as nt } from "./index63.js";
|
|
63
|
+
import "./index64.js";
|
|
64
|
+
import { default as ht } from "./index65.js";
|
|
65
|
+
import "./index66.js";
|
|
66
|
+
import { default as It } from "./index67.js";
|
|
67
|
+
import "./index68.js";
|
|
68
|
+
import { default as St } from "./index69.js";
|
|
69
|
+
import "./index70.js";
|
|
70
70
|
import { default as wt } from "./index71.js";
|
|
71
71
|
import { default as kt } from "./index72.js";
|
|
72
|
-
import "./index73.js";
|
|
73
|
-
import
|
|
74
|
-
import "./index75.js";
|
|
75
|
-
import
|
|
76
|
-
import "./index77.js";
|
|
77
|
-
import
|
|
78
|
-
import "./index79.js";
|
|
79
|
-
import
|
|
80
|
-
import "./index81.js";
|
|
81
|
-
import
|
|
82
|
-
import "./index83.js";
|
|
83
|
-
import
|
|
84
|
-
import "./index85.js";
|
|
85
|
-
import
|
|
86
|
-
import "./index87.js";
|
|
87
|
-
import
|
|
88
|
-
import "./index89.js";
|
|
89
|
-
import
|
|
90
|
-
import "./index91.js";
|
|
91
|
-
import
|
|
92
|
-
import "./index93.js";
|
|
93
|
-
import
|
|
94
|
-
import "./index95.js";
|
|
95
|
-
import
|
|
96
|
-
import "./index97.js";
|
|
97
|
-
import
|
|
98
|
-
import "./index99.js";
|
|
99
|
-
import
|
|
100
|
-
import "./index101.js";
|
|
101
|
-
import
|
|
102
|
-
import "./index103.js";
|
|
103
|
-
import
|
|
104
|
-
import "./index105.js";
|
|
105
|
-
import
|
|
106
|
-
import "./index107.js";
|
|
107
|
-
import
|
|
108
|
-
import "./index109.js";
|
|
109
|
-
import
|
|
110
|
-
import "./index111.js";
|
|
111
|
-
import
|
|
112
|
-
import "./index113.js";
|
|
113
|
-
import
|
|
72
|
+
import { default as Gt } from "./index73.js";
|
|
73
|
+
import "./index74.js";
|
|
74
|
+
import { default as vt } from "./index75.js";
|
|
75
|
+
import "./index76.js";
|
|
76
|
+
import { default as At } from "./index77.js";
|
|
77
|
+
import "./index78.js";
|
|
78
|
+
import { default as Nt } from "./index79.js";
|
|
79
|
+
import "./index80.js";
|
|
80
|
+
import { default as jt } from "./index81.js";
|
|
81
|
+
import "./index82.js";
|
|
82
|
+
import { default as Kt } from "./index83.js";
|
|
83
|
+
import "./index84.js";
|
|
84
|
+
import { default as qt } from "./index85.js";
|
|
85
|
+
import "./index86.js";
|
|
86
|
+
import { default as Ft } from "./index87.js";
|
|
87
|
+
import "./index88.js";
|
|
88
|
+
import { default as Lt } from "./index89.js";
|
|
89
|
+
import "./index90.js";
|
|
90
|
+
import { default as Qt } from "./index91.js";
|
|
91
|
+
import "./index92.js";
|
|
92
|
+
import { default as Vt } from "./index93.js";
|
|
93
|
+
import "./index94.js";
|
|
94
|
+
import { default as Yt } from "./index95.js";
|
|
95
|
+
import "./index96.js";
|
|
96
|
+
import { default as _t } from "./index97.js";
|
|
97
|
+
import "./index98.js";
|
|
98
|
+
import { default as or } from "./index99.js";
|
|
99
|
+
import "./index100.js";
|
|
100
|
+
import { default as rr } from "./index101.js";
|
|
101
|
+
import "./index102.js";
|
|
102
|
+
import { default as ar } from "./index103.js";
|
|
103
|
+
import "./index104.js";
|
|
104
|
+
import { default as fr } from "./index105.js";
|
|
105
|
+
import "./index106.js";
|
|
106
|
+
import { default as sr } from "./index107.js";
|
|
107
|
+
import "./index108.js";
|
|
108
|
+
import { default as ur } from "./index109.js";
|
|
109
|
+
import "./index110.js";
|
|
110
|
+
import { default as xr } from "./index111.js";
|
|
111
|
+
import "./index112.js";
|
|
112
|
+
import { default as Br } from "./index113.js";
|
|
113
|
+
import "./index114.js";
|
|
114
114
|
import { default as nr } from "./index115.js";
|
|
115
115
|
import { default as hr } from "./index116.js";
|
|
116
116
|
import { default as Ir } from "./index117.js";
|
|
117
117
|
import { default as Sr } from "./index118.js";
|
|
118
|
+
import { default as wr } from "./index119.js";
|
|
118
119
|
export {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
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
|
-
oo as
|
|
179
|
-
ro as
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
120
|
+
no as BaseButton,
|
|
121
|
+
ho as BaseCheckbox,
|
|
122
|
+
Io as BaseCheckboxGroup,
|
|
123
|
+
So as BaseDatePicker,
|
|
124
|
+
wo as BaseDatePickerInput,
|
|
125
|
+
ko as BaseDialog,
|
|
126
|
+
Go as BaseInputContainer,
|
|
127
|
+
vo as BaseNumberInput,
|
|
128
|
+
Ao as BaseRadio,
|
|
129
|
+
No as BaseRadioGroup,
|
|
130
|
+
jo as BaseRating,
|
|
131
|
+
Ko as BaseSelect,
|
|
132
|
+
qo as BaseSlider,
|
|
133
|
+
Fo as BaseSwitch,
|
|
134
|
+
Lo as BaseSwitchGroup,
|
|
135
|
+
Vo as BaseTextInput,
|
|
136
|
+
Qo as BaseTextarea,
|
|
137
|
+
Yo as BbAccordion,
|
|
138
|
+
_o as BbAlert,
|
|
139
|
+
ot as BbAvatar,
|
|
140
|
+
rt as BbBadge,
|
|
141
|
+
at as BbBreadcrumbs,
|
|
142
|
+
ft as BbButton,
|
|
143
|
+
st as BbCheckbox,
|
|
144
|
+
ut as BbCheckboxGroup,
|
|
145
|
+
nr as BbChip,
|
|
146
|
+
hr as BbCollapsible,
|
|
147
|
+
xt as BbConfirm,
|
|
148
|
+
Bt as BbDatePickerInput,
|
|
149
|
+
nt as BbDialog,
|
|
150
|
+
ht as BbDropdown,
|
|
151
|
+
It as BbDropdownButton,
|
|
152
|
+
St as BbDropzone,
|
|
153
|
+
wt as BbHover,
|
|
154
|
+
Ir as BbIcon,
|
|
155
|
+
kt as BbIntersection,
|
|
156
|
+
Gt as BbNumberInput,
|
|
157
|
+
vt as BbOffCanvas,
|
|
158
|
+
At as BbPagination,
|
|
159
|
+
Nt as BbPopover,
|
|
160
|
+
jt as BbProgress,
|
|
161
|
+
Kt as BbRadio,
|
|
162
|
+
qt as BbRadioGroup,
|
|
163
|
+
Ft as BbRating,
|
|
164
|
+
Lt as BbRatio,
|
|
165
|
+
Qt as BbSelect,
|
|
166
|
+
Vt as BbSlider,
|
|
167
|
+
Sr as BbSmoothHeight,
|
|
168
|
+
wr as BbSpinner,
|
|
169
|
+
Yt as BbSwitch,
|
|
170
|
+
_t as BbSwitchGroup,
|
|
171
|
+
or as BbTab,
|
|
172
|
+
rr as BbTable,
|
|
173
|
+
ar as BbTag,
|
|
174
|
+
sr as BbTextInput,
|
|
175
|
+
fr as BbTextarea,
|
|
176
|
+
ur as BbToast,
|
|
177
|
+
xr as BbTooltip,
|
|
178
|
+
Br as BbTree,
|
|
179
|
+
oo as useBroadcastChannelInstance,
|
|
180
|
+
ro as useConfirm,
|
|
181
|
+
ao as useCountdown,
|
|
182
|
+
uo as useId,
|
|
183
|
+
so as useOptions,
|
|
184
|
+
fo as useToast,
|
|
185
|
+
lo as useWizard,
|
|
186
|
+
Bo as wizardInjectionKey
|
|
185
187
|
};
|
|
186
188
|
//# 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,132 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import { isCssColor as f } from "./index195.js";
|
|
3
|
-
import { when as N } from "./index196.js";
|
|
4
|
-
const A = {
|
|
5
|
-
class: "bb-base-checkbox-container",
|
|
6
|
-
"aria-hidden": "true"
|
|
7
|
-
}, S = /* @__PURE__ */ l("path", {
|
|
8
|
-
d: "M 380.93 158.834 L 286.863 158.834 C 281.088 158.834 276.411 163.511 276.411 169.286 L 276.411 263.352 C 276.411 269.127 281.088 273.804 286.863 273.804 L 380.93 273.804 C 386.704 273.804 391.382 269.127 391.382 263.352 L 391.382 169.286 C 391.382 163.511 386.699 158.834 380.93 158.834 Z",
|
|
9
|
-
style: {}
|
|
10
|
-
}, null, -1), J = /* @__PURE__ */ l("path", {
|
|
11
|
-
"stroke-width": "14px",
|
|
12
|
-
"stroke-linecap": "round",
|
|
13
|
-
fill: "none",
|
|
14
|
-
stroke: "white",
|
|
15
|
-
d: "M 297.574 224.786 L 318.309 243.134 L 371.568 189.232"
|
|
16
|
-
}, null, -1), O = [
|
|
17
|
-
S,
|
|
18
|
-
J
|
|
19
|
-
], K = /* @__PURE__ */ B({
|
|
20
|
-
__name: "BaseCheckbox",
|
|
21
|
-
props: {
|
|
22
|
-
autofocus: {},
|
|
23
|
-
checked: {},
|
|
24
|
-
color: {},
|
|
25
|
-
disabled: { type: Boolean },
|
|
26
|
-
falseValue: { default: !1 },
|
|
27
|
-
hasErrors: { type: Boolean },
|
|
28
|
-
id: {},
|
|
29
|
-
indeterminate: {},
|
|
30
|
-
name: {},
|
|
31
|
-
readonly: {},
|
|
32
|
-
submitWhenFalse: { type: Boolean },
|
|
33
|
-
trueValue: { default: !0 },
|
|
34
|
-
modelValue: {}
|
|
35
|
-
},
|
|
36
|
-
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
|
37
|
-
setup(k, { emit: v }) {
|
|
38
|
-
const e = k, a = v, u = h(null), s = n(() => e.checked ? !0 : JSON.stringify(e.trueValue) === JSON.stringify(e.modelValue)), r = h(!1), y = n(() => ({
|
|
39
|
-
"bb-base-checkbox": !0,
|
|
40
|
-
"bb-base-checkbox--disabled": e.disabled,
|
|
41
|
-
"bb-base-checkbox--errors": e.hasErrors,
|
|
42
|
-
"bb-base-checkbox--indeterminate": e.indeterminate,
|
|
43
|
-
"bb-base-checkbox--readonly": e.readonly,
|
|
44
|
-
[`bb-base-checkbox--${e.color}`]: e.color && !f(e.color)
|
|
45
|
-
})), b = N(
|
|
46
|
-
(t) => typeof t != "string",
|
|
47
|
-
JSON.stringify
|
|
48
|
-
), V = n(() => {
|
|
49
|
-
const t = b(e.falseValue);
|
|
50
|
-
return {
|
|
51
|
-
disabled: e.disabled,
|
|
52
|
-
name: e.name,
|
|
53
|
-
type: "hidden",
|
|
54
|
-
value: t
|
|
55
|
-
};
|
|
56
|
-
}), m = n(() => {
|
|
57
|
-
const t = b(e.trueValue), C = {
|
|
58
|
-
onBlur: (o) => {
|
|
59
|
-
r.value = !1, a("blur", o);
|
|
60
|
-
},
|
|
61
|
-
onChange: (o) => {
|
|
62
|
-
if (o.target instanceof HTMLInputElement) {
|
|
63
|
-
let w = o.target.checked ? e.trueValue : e.falseValue;
|
|
64
|
-
a("change", o), a("update:modelValue", w);
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
onClick: (o) => a("click", o),
|
|
68
|
-
onFocus: (o) => {
|
|
69
|
-
r.value = !0, a("focus", o);
|
|
70
|
-
},
|
|
71
|
-
onKeydown: (o) => a("keydown", o),
|
|
72
|
-
onMousedown: (o) => a("mousedown", o),
|
|
73
|
-
onMouseup: (o) => a("mouseup", o),
|
|
74
|
-
onInput: (o) => a("input", o)
|
|
75
|
-
};
|
|
76
|
-
return {
|
|
77
|
-
autofocus: e.autofocus,
|
|
78
|
-
checked: s.value,
|
|
79
|
-
// There is no such thing as readonly checkbox so we disable and style it with css
|
|
80
|
-
disabled: e.disabled || e.readonly,
|
|
81
|
-
id: e.id,
|
|
82
|
-
indeterminate: e.indeterminate,
|
|
83
|
-
name: e.name,
|
|
84
|
-
tabindex: e.disabled ? -1 : void 0,
|
|
85
|
-
type: "checkbox",
|
|
86
|
-
value: t,
|
|
87
|
-
...C
|
|
88
|
-
};
|
|
89
|
-
}), x = n(() => ({
|
|
90
|
-
checked: s.value,
|
|
91
|
-
disabled: e.disabled,
|
|
92
|
-
falseValue: e.falseValue,
|
|
93
|
-
focused: r.value,
|
|
94
|
-
hasErrors: e.hasErrors,
|
|
95
|
-
id: e.id,
|
|
96
|
-
name: e.name,
|
|
97
|
-
parsedValue: m.value.value,
|
|
98
|
-
readonly: e.readonly,
|
|
99
|
-
trueValue: e.trueValue,
|
|
100
|
-
value: s.value ? e.trueValue : e.falseValue
|
|
101
|
-
})), _ = n(() => {
|
|
102
|
-
let t = {};
|
|
103
|
-
return e.color && f(e.color) && (t.color = e.color), {
|
|
104
|
-
class: "bb-base-checkbox-container__icon",
|
|
105
|
-
style: t
|
|
106
|
-
};
|
|
107
|
-
});
|
|
108
|
-
return L(
|
|
109
|
-
() => [e.modelValue, e.checked, e.indeterminate],
|
|
110
|
-
() => {
|
|
111
|
-
u.value && (u.value.indeterminate = !!e.indeterminate);
|
|
112
|
-
}
|
|
113
|
-
), (t, g) => (c(), i("span", {
|
|
114
|
-
class: E(y.value)
|
|
115
|
-
}, [
|
|
116
|
-
!s.value && t.submitWhenFalse ? (c(), i("input", p(d({ key: 0 }, V.value)), null, 16)) : I("", !0),
|
|
117
|
-
l("input", d(m.value, {
|
|
118
|
-
ref_key: "checkboxInput",
|
|
119
|
-
ref: u
|
|
120
|
-
}), null, 16),
|
|
121
|
-
l("span", A, [
|
|
122
|
-
F(t.$slots, "icon", p(M(x.value)), () => [
|
|
123
|
-
(c(), i("svg", d({ viewBox: "276.411 158.834 114.971 114.97" }, _.value), O, 16))
|
|
124
|
-
])
|
|
125
|
-
])
|
|
126
|
-
], 2));
|
|
127
|
-
}
|
|
128
|
-
});
|
|
1
|
+
const e = "";
|
|
129
2
|
export {
|
|
130
|
-
|
|
3
|
+
e as default
|
|
131
4
|
};
|
|
132
5
|
//# sourceMappingURL=index10.js.map
|
package/dist/index10.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index10.js","sources":["../src/components/BaseCheckbox/BaseCheckbox.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, openBlock as _openBlock, createElementBlock as _createElementBlock, mergeProps as _mergeProps, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, renderSlot as _renderSlot, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = {\n class: \"bb-base-checkbox-container\",\n \"aria-hidden\": \"true\"\n}\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M 380.93 158.834 L 286.863 158.834 C 281.088 158.834 276.411 163.511 276.411 169.286 L 276.411 263.352 C 276.411 269.127 281.088 273.804 286.863 273.804 L 380.93 273.804 C 386.704 273.804 391.382 269.127 391.382 263.352 L 391.382 169.286 C 391.382 163.511 386.699 158.834 380.93 158.834 Z\",\n style: {}\n}, null, -1)\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"path\", {\n \"stroke-width\": \"14px\",\n \"stroke-linecap\": \"round\",\n fill: \"none\",\n stroke: \"white\",\n d: \"M 297.574 224.786 L 318.309 243.134 L 371.568 189.232\"\n}, null, -1)\nconst _hoisted_4 = [\n _hoisted_2,\n _hoisted_3\n]\n\nimport { computed, ref, watch } from \"vue\";\nimport { isCssColor } from \"@/utilities/functions/isCssColor\";\nimport { when } from \"@/utilities/functions/when\";\nimport type { HTMLAttributes, InputHTMLAttributes } from \"vue\";\n\nexport type BaseCheckboxProps = {\n /**\n * Sets autofocus on page load.\n */\n autofocus?: InputHTMLAttributes[\"autofocus\"];\n \n /**\n * Defines the input as checked\n */\n checked?: InputHTMLAttributes[\"checked\"];\n \n /**\n * Define a color for the component.\n *\n * Either a custom color or a coded color in common HEX, RGB, etc... format.\n */\n color?: string;\n \n /**\n * Disables the component\n */\n disabled?: boolean;\n \n /**\n * Value of the input when unchecked. It handles any kind of serializable object.\n */\n falseValue?: any;\n \n /**\n * Define if the component should be in an error state.\n * It usually attaches a CSS class for styling purposes.\n */\n hasErrors?: boolean;\n \n /**\n * The identifier of the component.\n */\n id?: HTMLAttributes[\"id\"];\n \n /**\n * Sets the input in an indeterminate state.\n */\n indeterminate?: InputHTMLAttributes[\"indeterminate\"];\n \n /**\n * Defines the name of the input.\n */\n name?: InputHTMLAttributes[\"name\"];\n \n /**\n * Sets the input in a readonly state.\n */\n readonly?: InputHTMLAttributes[\"readonly\"];\n \n /**\n * Will submit \"falseValue\" if the input is not checked. Otherwise \"trueValue\" will be submitted.\n */\n submitWhenFalse?: boolean;\n \n /**\n * Value of the input when checked. It handles any kind of serializable object.\n */\n trueValue?: any;\n /**\n * Used by v-model. Can be any serializable type.\n */\n modelValue?: any;\n\n}\n\nexport type BaseCheckboxEvents = {\n (e: \"blur\", event: FocusEvent): void;\n (e: \"change\", event: Event): void;\n (e: \"click\", event: MouseEvent): void;\n (e: \"focus\", event: FocusEvent): void;\n (e: \"input\", event: Event): void;\n (e: \"keydown\", event: KeyboardEvent): void;\n (e: \"mousedown\", event: MouseEvent): void;\n (e: \"mouseup\", event: MouseEvent): void;\n (e: \"update:modelValue\", value: any): void;\n };\n\n\n export type SlotAttributes = {\n checked: boolean;\n disabled: Exclude<BaseCheckboxProps['disabled'], undefined>;\n falseValue: any;\n focused: boolean;\n hasErrors: Exclude<BaseCheckboxProps['hasErrors'], undefined>;\n id: BaseCheckboxProps['id'];\n name: BaseCheckboxProps['name'];\n parsedValue: any;\n readonly: BaseCheckboxProps['readonly'];\n trueValue: any;\n value: any;\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BaseCheckbox',\n props: {\n autofocus: {},\n checked: {},\n color: {},\n disabled: { type: Boolean },\n falseValue: { default: false },\n hasErrors: { type: Boolean },\n id: {},\n indeterminate: {},\n name: {},\n readonly: {},\n submitWhenFalse: { type: Boolean },\n trueValue: { default: true },\n modelValue: {}\n },\n emits: [\"blur\", \"change\", \"click\", \"focus\", \"input\", \"keydown\", \"mousedown\", \"mouseup\", \"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\nconst props = __props;\n\nconst emit = __emit;\n\n\n\nconst checkboxInput = ref<HTMLInputElement | null>(null);\n\nconst checked = computed(() => {\n if (props.checked) return true;\n return JSON.stringify(props.trueValue) === JSON.stringify(props.modelValue);\n});\nconst hasFocus = ref(false);\n\nconst classes = computed(() => {\n return {\n \"bb-base-checkbox\": true,\n \"bb-base-checkbox--disabled\": props.disabled,\n \"bb-base-checkbox--errors\": props.hasErrors,\n \"bb-base-checkbox--indeterminate\": props.indeterminate,\n \"bb-base-checkbox--readonly\": props.readonly,\n [`bb-base-checkbox--${props.color}`]:\n props.color && !isCssColor(props.color),\n };\n});\n\n/**\n * This is used to keep the value compatible to common html expected values.\n * Convert to string everything that's not but do not double encode strings\n */\nconst makeInputValue = when(\n (item: unknown) => typeof item !== \"string\",\n JSON.stringify\n);\n\nconst hiddenInputAttributes = computed(() => {\n const value = makeInputValue(props.falseValue);\n return {\n disabled: props.disabled,\n name: props.name,\n type: \"hidden\",\n value: value,\n };\n});\n\nconst inputAttributes = computed(() => {\n const value = makeInputValue(props.trueValue);\n\n const onBlur = (event: FocusEvent): void => {\n hasFocus.value = false;\n emit(\"blur\", event);\n };\n\n const onChange = (event: Event): void => {\n if (event.target instanceof HTMLInputElement) {\n let value = event.target.checked ? props.trueValue : props.falseValue;\n\n emit(\"change\", event);\n emit(\"update:modelValue\", value);\n }\n };\n\n const onFocus = (event: FocusEvent): void => {\n hasFocus.value = true;\n emit(\"focus\", event);\n };\n\n const eventListeners = {\n onBlur,\n onChange,\n onClick: (event: MouseEvent) => emit(\"click\", event),\n onFocus,\n onKeydown: (event: KeyboardEvent) => emit(\"keydown\", event),\n onMousedown: (event: MouseEvent) => emit(\"mousedown\", event),\n onMouseup: (event: MouseEvent) => emit(\"mouseup\", event),\n onInput: (event: Event) => emit(\"input\", event),\n };\n\n return {\n autofocus: props.autofocus,\n checked: checked.value,\n // There is no such thing as readonly checkbox so we disable and style it with css\n disabled: props.disabled || props.readonly,\n id: props.id,\n indeterminate: props.indeterminate,\n name: props.name,\n tabindex: props.disabled ? -1 : undefined,\n type: \"checkbox\",\n value: value,\n ...eventListeners,\n };\n});\n\nconst slotAttributes = computed(() => ({\n checked: checked.value,\n disabled: props.disabled,\n falseValue: props.falseValue,\n focused: hasFocus.value,\n hasErrors: props.hasErrors,\n id: props.id,\n name: props.name,\n parsedValue: inputAttributes.value.value,\n readonly: props.readonly,\n trueValue: props.trueValue,\n value: checked.value ? props.trueValue : props.falseValue,\n}));\n\nconst iconAttributes = computed(() => {\n let style: { [key: string]: string } = {};\n if (props.color && isCssColor(props.color)) {\n style.color = props.color;\n }\n return {\n class: \"bb-base-checkbox-container__icon\",\n style,\n };\n});\n\n/**\n * Indeterminate is a very volatile prop that is reset upon clicking,\n * this keeps the state and the prop aligned\n */\nwatch(\n () => [props.modelValue, props.checked, props.indeterminate],\n () => {\n if (checkboxInput.value) {\n checkboxInput.value.indeterminate = !!props.indeterminate;\n }\n }\n);\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"span\", {\n class: _normalizeClass(classes.value)\n }, [\n (!checked.value && _ctx.submitWhenFalse)\n ? (_openBlock(), _createElementBlock(\"input\", _normalizeProps(_mergeProps({ key: 0 }, hiddenInputAttributes.value)), null, 16))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"input\", _mergeProps(inputAttributes.value, {\n ref_key: \"checkboxInput\",\n ref: checkboxInput\n }), null, 16),\n _createElementVNode(\"span\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"icon\", _normalizeProps(_guardReactiveProps(slotAttributes.value)), () => [\n (_openBlock(), _createElementBlock(\"svg\", _mergeProps({ viewBox: \"276.411 158.834 114.971 114.97\" }, iconAttributes.value), _hoisted_4, 16))\n ])\n ])\n ], 2))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_sfc_main","_defineComponent","__props","__emit","props","emit","checkboxInput","ref","checked","computed","hasFocus","classes","isCssColor","makeInputValue","when","item","hiddenInputAttributes","value","inputAttributes","eventListeners","event","slotAttributes","iconAttributes","style","watch","_ctx","_cache","_openBlock","_createElementBlock","_normalizeClass","_normalizeProps","_mergeProps","_createCommentVNode","_createElementVNode","_renderSlot","_guardReactiveProps"],"mappings":";;;AAGA,MAAMA,IAAa;AAAA,EACjB,OAAO;AAAA,EACP,eAAe;AACjB,GACMC,sBAA8C,QAAQ;AAAA,EAC1D,GAAG;AAAA,EACH,OAAO,CAAC;AACV,GAAG,MAAM,EAAE,GACLC,sBAA8C,QAAQ;AAAA,EAC1D,gBAAgB;AAAA,EAChB,kBAAkB;AAAA,EAClB,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,GAAG;AACL,GAAG,MAAM,EAAE,GACLC,IAAa;AAAA,EACjBF;AAAA,EACAC;AACF,GAyG4BE,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,WAAW,CAAC;AAAA,IACZ,SAAS,CAAC;AAAA,IACV,OAAO,CAAC;AAAA,IACR,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,YAAY,EAAE,SAAS,GAAM;AAAA,IAC7B,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,IAAI,CAAC;AAAA,IACL,eAAe,C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