bitboss-ui 0.2.76 → 1.0.0
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/BaseCheckbox/BaseCheckbox.vue.d.ts +4 -0
- package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +10 -3
- package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +4 -1
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +10 -4
- package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +9 -0
- package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +4 -0
- package/dist/components/BaseRadio/BaseRadio.vue.d.ts +4 -0
- package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +10 -3
- package/dist/components/BaseRating/BaseRating.vue.d.ts +5 -1
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +4 -0
- package/dist/components/BaseSlider/BaseSlider.vue.d.ts +48 -11
- package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +6 -3
- package/dist/components/BaseTag/BaseTag.vue.d.ts +4 -0
- package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +10 -6
- package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +4 -0
- package/dist/components/BbButton/BbButton.vue.d.ts +12 -0
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +35 -27
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +38 -24
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +15 -3
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +33 -25
- package/dist/components/BbRadio/BbRadio.vue.d.ts +33 -25
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +38 -24
- package/dist/components/BbRating/BbRating.vue.d.ts +9 -1
- package/dist/components/BbSelect/BbSelect.vue.d.ts +18 -4
- package/dist/components/BbSlider/BbSlider.vue.d.ts +44 -11
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +9 -3
- package/dist/components/BbTag/BbTag.vue.d.ts +11 -3
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +33 -25
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +9 -1
- package/dist/composables/useQueue.d.ts +58 -0
- package/dist/index.js +186 -185
- package/dist/index.js.map +1 -1
- package/dist/index10.js +65 -1
- package/dist/index10.js.map +1 -1
- package/dist/index100.js +227 -1
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +1 -437
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +437 -1
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +1 -94
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +103 -1
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +1 -88
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +97 -1
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +1 -89
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +98 -1
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +1 -29
- package/dist/index109.js.map +1 -1
- package/dist/index11.js +1 -131
- package/dist/index11.js.map +1 -1
- package/dist/index110.js +29 -1
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +1 -151
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +151 -1
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +1 -122
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +122 -1
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +1 -46
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +40 -33
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +32 -39
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +39 -42
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +43 -39
- package/dist/index119.js.map +1 -1
- package/dist/index12.js +128 -1
- package/dist/index12.js.map +1 -1
- package/dist/index120.js +43 -2
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +2 -21
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +21 -2
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +2 -224
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +224 -2
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +2 -18
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +16 -10
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +12 -24
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +24 -5
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +5 -9
- package/dist/index129.js.map +1 -1
- package/dist/index13.js +1 -159
- package/dist/index13.js.map +1 -1
- package/dist/index130.js +8 -5
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +5 -69
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +70 -3
- package/dist/index132.js.map +1 -1
- 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 +161 -1
- 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 +1 -457
- 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 +2 -2
- package/dist/index157.js +2 -2
- package/dist/index158.js +5 -1
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +1 -5
- package/dist/index159.js.map +1 -1
- package/dist/index16.js +514 -1
- package/dist/index16.js.map +1 -1
- package/dist/index160.js +5 -1
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +1 -5
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +2 -2
- package/dist/index163.js +2 -2
- package/dist/index164.js +2 -2
- package/dist/index165.js +2 -2
- package/dist/index166.js +2 -2
- package/dist/index167.js +3 -2
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +2 -3
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +5 -1
- package/dist/index169.js.map +1 -1
- package/dist/index17.js +1 -211
- package/dist/index17.js.map +1 -1
- package/dist/index170.js +1 -4
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +2 -3
- package/dist/index171.js.map +1 -1
- 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 +220 -1
- 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 +5 -1
- package/dist/index183.js.map +1 -1
- 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 +2 -2
- package/dist/index188.js +2 -2
- package/dist/index189.js +2 -2
- package/dist/index19.js +1 -239
- 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 +2 -2
- package/dist/index195.js +2 -2
- package/dist/index196.js +3 -10
- package/dist/index196.js.map +1 -1
- package/dist/index198.js +2 -3
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +4 -3
- package/dist/index199.js.map +1 -1
- package/dist/index2.js +1 -42
- package/dist/index2.js.map +1 -1
- package/dist/index20.js +239 -1
- package/dist/index20.js.map +1 -1
- package/dist/index200.js +5 -368
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +13 -131
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +16 -5
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +3 -3
- package/dist/index204.js +20 -2
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +29 -2
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +8 -174
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +2 -23
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +111 -363
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +131 -13
- package/dist/index209.js.map +1 -1
- package/dist/index21.js +1 -115
- package/dist/index21.js.map +1 -1
- package/dist/index210.js +2 -16
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +35 -20
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +172 -27
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +6 -8
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +346 -213
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +373 -3
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +3 -35
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +3 -6
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +235 -2
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +3 -2
- package/dist/index219.js.map +1 -1
- package/dist/index22.js +131 -1
- package/dist/index22.js.map +1 -1
- package/dist/index220.js +2 -4
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +8 -119
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +2 -2
- package/dist/index222.js.map +1 -1
- package/dist/index224.js +23 -6
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +4 -17
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +294 -78
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +6 -2
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +2 -160
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +4 -1
- package/dist/index229.js.map +1 -1
- package/dist/index23.js +1 -115
- package/dist/index23.js.map +1 -1
- package/dist/index230.js +2 -5
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +2 -69
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +2 -224
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +2 -258
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +78 -5
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +6 -2
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +17 -295
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +2 -2
- package/dist/index238.js +106 -2
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +428 -110
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +119 -1
- package/dist/index24.js.map +1 -1
- package/dist/index240.js +218 -100
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +255 -12
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +117 -2
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +200 -2
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +2 -2
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +69 -2
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +5 -435
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +163 -88
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +1 -202
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +2 -4
- package/dist/index249.js.map +1 -1
- package/dist/index25.js +1 -92
- package/dist/index25.js.map +1 -1
- package/dist/index250.js +89 -2
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +15 -4
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +4 -4
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +4 -61
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +61 -2
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +2 -3
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +3 -2
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +5 -0
- package/dist/index257.js.map +1 -0
- package/dist/index26.js +94 -1
- package/dist/index26.js.map +1 -1
- package/dist/index27.js +1 -157
- package/dist/index27.js.map +1 -1
- package/dist/index28.js +160 -1
- package/dist/index28.js.map +1 -1
- package/dist/index29.js +1 -124
- package/dist/index29.js.map +1 -1
- package/dist/index3.js +38 -76
- package/dist/index3.js.map +1 -1
- package/dist/index30.js +126 -1
- package/dist/index30.js.map +1 -1
- package/dist/index31.js +1 -691
- package/dist/index31.js.map +1 -1
- package/dist/index32.js +693 -1
- package/dist/index32.js.map +1 -1
- package/dist/index33.js +1 -145
- package/dist/index33.js.map +1 -1
- package/dist/index34.js +302 -1
- package/dist/index34.js.map +1 -1
- package/dist/index35.js +1 -118
- package/dist/index35.js.map +1 -1
- package/dist/index36.js +120 -1
- package/dist/index36.js.map +1 -1
- package/dist/index37.js +1 -154
- package/dist/index37.js.map +1 -1
- package/dist/index38.js +156 -1
- package/dist/index38.js.map +1 -1
- package/dist/index39.js +1 -83
- package/dist/index39.js.map +1 -1
- package/dist/index4.js +78 -62
- package/dist/index4.js.map +1 -1
- package/dist/index40.js +87 -1
- package/dist/index40.js.map +1 -1
- package/dist/index41.js +1 -61
- package/dist/index41.js.map +1 -1
- package/dist/index42.js +64 -1
- package/dist/index42.js.map +1 -1
- package/dist/index43.js +1 -65
- package/dist/index43.js.map +1 -1
- package/dist/index44.js +65 -1
- package/dist/index44.js.map +1 -1
- package/dist/index45.js +1 -96
- package/dist/index45.js.map +1 -1
- package/dist/index46.js +96 -1
- package/dist/index46.js.map +1 -1
- package/dist/index47.js +1 -61
- package/dist/index47.js.map +1 -1
- package/dist/index48.js +61 -1
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +1 -49
- package/dist/index49.js.map +1 -1
- package/dist/index5.js +60 -38
- package/dist/index5.js.map +1 -1
- package/dist/index50.js +49 -1
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +1 -62
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +62 -1
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +1 -45
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +69 -1
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +1 -89
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +98 -1
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +1 -120
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +129 -1
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +1 -85
- package/dist/index59.js.map +1 -1
- package/dist/index6.js +37 -171
- package/dist/index6.js.map +1 -1
- package/dist/index60.js +85 -1
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +1 -88
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +98 -1
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +1 -59
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +59 -1
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +1 -313
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +313 -1
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +1 -129
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +129 -1
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +1 -225
- package/dist/index69.js.map +1 -1
- package/dist/index7.js +172 -18
- package/dist/index7.js.map +1 -1
- package/dist/index70.js +225 -1
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +1 -24
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +19 -41
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +37 -86
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +104 -1
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +1 -227
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +227 -1
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +1 -143
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +165 -1
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +1 -213
- package/dist/index79.js.map +1 -1
- package/dist/index8.js +18 -192
- package/dist/index8.js.map +1 -1
- package/dist/index80.js +213 -1
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +1 -35
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +35 -1
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +1 -83
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +92 -1
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +1 -120
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +129 -1
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +1 -83
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +92 -1
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +1 -30
- package/dist/index89.js.map +1 -1
- package/dist/index9.js +192 -61
- package/dist/index9.js.map +1 -1
- package/dist/index90.js +30 -1
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +1 -157
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +166 -1
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +1 -86
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +112 -1
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +1 -89
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +98 -1
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +1 -119
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +129 -1
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +1 -227
- package/dist/index99.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/utilities/functions/last.d.ts +1 -1
- package/package.json +1 -1
package/dist/index54.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index54.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index54.js","sources":["../src/components/BbButton/BbButton.vue"],"sourcesContent":["<template>\n\t<BaseButton\n\t\tv-bind=\"$props\"\n\t\t:class=\"{ 'bb-button': true, 'bb-button--loading': loading }\"\n\t>\n\t\t<BbIcon v-if=\"props['prepend:icon']\" :type=\"props['prepend:icon']\" />\n\t\t<BbSpinner />\n\t\t<span class=\"bb-button__content\"\n\t\t\t><slot>{{ text }}</slot></span\n\t\t>\n\n\t\t<BbIcon v-if=\"props['append:icon']\" :type=\"props['append:icon']\" />\n\t</BaseButton>\n</template>\n\n<script setup lang=\"ts\">\nimport { BaseButton, BbSpinner } from '@/index';\nimport type { RouteLocationRaw } from 'vue-router';\nimport BbIcon from '../BbIcon/BbIcon.vue';\n\nexport type BbButtonProps = {\n\t/**\n\t * Class to apply when the link is active\n\t */\n\tactiveClass?: string;\n\n\t/**\n\t * Value passed to the attribute `aria-current` when the link is exact active.\n\t *\n\t * @defaultValue `'page'`\n\t */\n\tariaCurrentValue?:\n\t\t| 'page'\n\t\t| 'step'\n\t\t| 'location'\n\t\t| 'date'\n\t\t| 'time'\n\t\t| 'true'\n\t\t| 'false';\n\t/**\n\t * Icon to be added on the right of the text\n\t */\n\t'append:icon'?: string;\n\t/**\n\t * Displays the component as full width.\n\t */\n\tblock?: boolean;\n\n\tdata?: object;\n\n\t/**\n\t * Disables the component\n\t */\n\tdisabled?: boolean;\n\n\t/**\n\t * Class to apply when the link is exact active\n\t */\n\texactActiveClass?: string;\n\n\theaders?: object;\n\n\t/**\n\t * Returns the hyperlink's URL.\n\t *\n\t * Can be set, to change the URL.\n\t */\n\thref?: HTMLAnchorElement['href'];\n\n\t/**\n\t * Triggers a loading indicator\n\t */\n\tloading?: boolean;\n\n\tmethod?: 'get' | 'post' | 'put' | 'patch' | 'delete';\n\n\tonBefore?: () => void;\n\n\tonCancel?: () => void;\n\n\tonCancelToken?: (cancelToken: import('axios').CancelTokenSource) => void;\n\n\tonFinish?: () => void;\n\n\tonly?: string[];\n\n\tonProgress?: (progress: { percentage: number | undefined }) => void;\n\n\tonStart?: () => void;\n\n\tonSuccess?: () => void;\n\n\t/**\n\t * Icon to be added on the left of the text\n\t */\n\t'prepend:icon'?: string;\n\n\tpreserveScroll?: boolean | ((props: { [key: string]: unknown }) => boolean);\n\n\tpreserveState?:\n\t\t| boolean\n\t\t| ((props: { [key: string]: unknown }) => boolean)\n\t\t| null;\n\n\tqueryStringArrayFormat?: 'brackets' | 'indices';\n\n\t/**\n\t * Calls `router.replace` instead of `router.push`.\n\t */\n\treplace?: boolean;\n\n\t/**\n\t * Any HTML tag corresponding to a non-void HTMl element.\n\t */\n\ttag?: string;\n\n\t/**\n\t * Sets or retrieves the window or frame at which to target content.\n\t */\n\ttarget?: HTMLAnchorElement['target'];\n\n\t/**\n\t * Text content of the component.\n\t */\n\ttext?: string;\n\n\t/**\n\t * Route Location the link should navigate to when clicked on.\n\t */\n\tto?: RouteLocationRaw;\n\n\t/**\n\t * Gets the classification and default behavior of the button.\n\t */\n\ttype?: HTMLButtonElement['type'];\n};\nconst props = defineProps<BbButtonProps>();\n\ndefineSlots<{\n\tdefault?: (props: object) => any;\n}>();\n</script>\n<style lang=\"postcss\">\n@import '@/assets/css/BbButton';\n</style>\n"],"names":["props","__props"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwIA,UAAMA,IAAQC;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index55.js
CHANGED
|
@@ -1,90 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import k from "./index11.js";
|
|
3
|
-
import "./index12.js";
|
|
4
|
-
import v from "./index21.js";
|
|
5
|
-
import "./index22.js";
|
|
6
|
-
const $ = /* @__PURE__ */ m({
|
|
7
|
-
__name: "BbCheckbox",
|
|
8
|
-
props: {
|
|
9
|
-
autofocus: {},
|
|
10
|
-
checked: {},
|
|
11
|
-
color: {},
|
|
12
|
-
disabled: { type: Boolean },
|
|
13
|
-
falseValue: {},
|
|
14
|
-
hasErrors: { type: Boolean },
|
|
15
|
-
id: {},
|
|
16
|
-
indeterminate: {},
|
|
17
|
-
name: {},
|
|
18
|
-
readonly: {},
|
|
19
|
-
submitWhenFalse: { type: Boolean },
|
|
20
|
-
trueValue: {},
|
|
21
|
-
modelValue: {},
|
|
22
|
-
direction: { default: "auto" },
|
|
23
|
-
errors: {},
|
|
24
|
-
hideLabel: { type: Boolean },
|
|
25
|
-
inputPosition: {},
|
|
26
|
-
label: {},
|
|
27
|
-
labelPosition: {},
|
|
28
|
-
reverse: { type: Boolean, default: !0 }
|
|
29
|
-
},
|
|
30
|
-
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
|
31
|
-
setup(y, { emit: s }) {
|
|
32
|
-
const o = s, i = {
|
|
33
|
-
onBlur: (e) => o("blur", e),
|
|
34
|
-
onChange: (e) => o("change", e),
|
|
35
|
-
onClick: (e) => o("click", e),
|
|
36
|
-
onFocus: (e) => o("focus", e),
|
|
37
|
-
onInput: (e) => o("input", e),
|
|
38
|
-
onKeydown: (e) => o("keydown", e),
|
|
39
|
-
onMousedown: (e) => o("mousedown", e),
|
|
40
|
-
onMouseup: (e) => o("mouseup", e),
|
|
41
|
-
"onUpdate:modelValue": (e) => o("update:modelValue", e)
|
|
42
|
-
};
|
|
43
|
-
return (e, V) => (p(), b(v, {
|
|
44
|
-
id: e.id,
|
|
45
|
-
class: "bb-checkbox",
|
|
46
|
-
direction: e.direction,
|
|
47
|
-
errors: e.errors,
|
|
48
|
-
"has-errors": e.hasErrors,
|
|
49
|
-
"hide-label": e.hideLabel,
|
|
50
|
-
"input-position": e.inputPosition,
|
|
51
|
-
label: e.label,
|
|
52
|
-
"label-position": e.labelPosition,
|
|
53
|
-
"label-tag": "span",
|
|
54
|
-
name: e.name,
|
|
55
|
-
reverse: e.reverse,
|
|
56
|
-
tag: "label"
|
|
57
|
-
}, {
|
|
58
|
-
label: l((a) => [
|
|
59
|
-
r(e.$slots, "label", c(h(a)))
|
|
60
|
-
]),
|
|
61
|
-
input: l(({ id: a, name: u, hasErrors: t }) => [
|
|
62
|
-
f(k, n({
|
|
63
|
-
id: a,
|
|
64
|
-
autofocus: e.autofocus,
|
|
65
|
-
checked: e.checked,
|
|
66
|
-
color: e.color,
|
|
67
|
-
disabled: e.disabled,
|
|
68
|
-
"false-value": e.falseValue,
|
|
69
|
-
"has-errors": t,
|
|
70
|
-
indeterminate: e.indeterminate,
|
|
71
|
-
"model-value": e.modelValue,
|
|
72
|
-
name: u,
|
|
73
|
-
readonly: e.readonly,
|
|
74
|
-
"submit-when-false": e.submitWhenFalse,
|
|
75
|
-
"true-value": e.trueValue
|
|
76
|
-
}, i), {
|
|
77
|
-
icon: l((d) => [
|
|
78
|
-
r(e.$slots, "icon", n(d, { text: e.label }))
|
|
79
|
-
]),
|
|
80
|
-
_: 2
|
|
81
|
-
}, 1040, ["id", "autofocus", "checked", "color", "disabled", "false-value", "has-errors", "indeterminate", "model-value", "name", "readonly", "submit-when-false", "true-value"])
|
|
82
|
-
]),
|
|
83
|
-
_: 3
|
|
84
|
-
}, 8, ["id", "direction", "errors", "has-errors", "hide-label", "input-position", "label", "label-position", "name", "reverse"]));
|
|
85
|
-
}
|
|
86
|
-
});
|
|
87
|
-
export {
|
|
88
|
-
$ as default
|
|
89
|
-
};
|
|
1
|
+
|
|
90
2
|
//# sourceMappingURL=index55.js.map
|
package/dist/index55.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index55.js","sources":[
|
|
1
|
+
{"version":3,"file":"index55.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index56.js
CHANGED
|
@@ -1,2 +1,99 @@
|
|
|
1
|
-
|
|
1
|
+
import { defineComponent as f, ref as v, computed as y, openBlock as k, createBlock as w, withCtx as n, renderSlot as r, normalizeProps as B, guardReactiveProps as V, createVNode as g, mergeProps as s } from "vue";
|
|
2
|
+
import P from "./index12.js";
|
|
3
|
+
import "./index13.js";
|
|
4
|
+
import C from "./index22.js";
|
|
5
|
+
import "./index23.js";
|
|
6
|
+
const W = /* @__PURE__ */ f({
|
|
7
|
+
__name: "BbCheckbox",
|
|
8
|
+
props: {
|
|
9
|
+
autofocus: {},
|
|
10
|
+
checked: {},
|
|
11
|
+
color: {},
|
|
12
|
+
direction: { default: "auto" },
|
|
13
|
+
disabled: { type: Boolean },
|
|
14
|
+
errors: {},
|
|
15
|
+
falseValue: {},
|
|
16
|
+
hasErrors: { type: Boolean },
|
|
17
|
+
hideLabel: { type: Boolean },
|
|
18
|
+
hint: {},
|
|
19
|
+
id: {},
|
|
20
|
+
indeterminate: {},
|
|
21
|
+
inputPosition: {},
|
|
22
|
+
label: {},
|
|
23
|
+
labelPosition: {},
|
|
24
|
+
modelValue: {},
|
|
25
|
+
name: {},
|
|
26
|
+
persistentHint: { type: Boolean },
|
|
27
|
+
readonly: {},
|
|
28
|
+
reverse: { type: Boolean, default: !0 },
|
|
29
|
+
submitWhenFalse: { type: Boolean },
|
|
30
|
+
trueValue: {}
|
|
31
|
+
},
|
|
32
|
+
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
|
33
|
+
setup(i, { emit: t }) {
|
|
34
|
+
const u = i, o = t, a = v(!1), d = y(() => u.persistentHint || a.value), p = {
|
|
35
|
+
onBlur: (e) => {
|
|
36
|
+
a.value = !1, o("blur", e);
|
|
37
|
+
},
|
|
38
|
+
onChange: (e) => o("change", e),
|
|
39
|
+
onClick: (e) => o("click", e),
|
|
40
|
+
onFocus: (e) => {
|
|
41
|
+
a.value = !0, o("focus", e);
|
|
42
|
+
},
|
|
43
|
+
onInput: (e) => o("input", e),
|
|
44
|
+
onKeydown: (e) => o("keydown", e),
|
|
45
|
+
onMousedown: (e) => o("mousedown", e),
|
|
46
|
+
onMouseup: (e) => o("mouseup", e),
|
|
47
|
+
"onUpdate:modelValue": (e) => o("update:modelValue", e)
|
|
48
|
+
};
|
|
49
|
+
return (e, $) => (k(), w(C, {
|
|
50
|
+
direction: e.direction,
|
|
51
|
+
errors: e.errors,
|
|
52
|
+
"has-errors": e.hasErrors,
|
|
53
|
+
"hide-label": e.hideLabel,
|
|
54
|
+
hint: e.hint,
|
|
55
|
+
id: e.id,
|
|
56
|
+
"input-position": e.inputPosition,
|
|
57
|
+
"label-position": e.labelPosition,
|
|
58
|
+
"label-tag": "span",
|
|
59
|
+
label: e.label,
|
|
60
|
+
name: e.name,
|
|
61
|
+
reverse: e.reverse,
|
|
62
|
+
"show-hint": d.value,
|
|
63
|
+
tag: "label",
|
|
64
|
+
class: "bb-checkbox"
|
|
65
|
+
}, {
|
|
66
|
+
label: n((l) => [
|
|
67
|
+
r(e.$slots, "label", B(V(l)))
|
|
68
|
+
]),
|
|
69
|
+
input: n(({ id: l, name: m, hasErrors: b, ariaDescribedby: h }) => [
|
|
70
|
+
g(P, s({
|
|
71
|
+
"aria-describedby": h,
|
|
72
|
+
autofocus: e.autofocus,
|
|
73
|
+
checked: e.checked,
|
|
74
|
+
color: e.color,
|
|
75
|
+
disabled: e.disabled,
|
|
76
|
+
"false-value": e.falseValue,
|
|
77
|
+
"has-errors": b,
|
|
78
|
+
id: l,
|
|
79
|
+
indeterminate: e.indeterminate,
|
|
80
|
+
"model-value": e.modelValue,
|
|
81
|
+
name: m,
|
|
82
|
+
readonly: e.readonly,
|
|
83
|
+
"submit-when-false": e.submitWhenFalse,
|
|
84
|
+
"true-value": e.trueValue
|
|
85
|
+
}, p), {
|
|
86
|
+
icon: n((c) => [
|
|
87
|
+
r(e.$slots, "icon", s(c, { text: e.label }))
|
|
88
|
+
]),
|
|
89
|
+
_: 2
|
|
90
|
+
}, 1040, ["aria-describedby", "autofocus", "checked", "color", "disabled", "false-value", "has-errors", "id", "indeterminate", "model-value", "name", "readonly", "submit-when-false", "true-value"])
|
|
91
|
+
]),
|
|
92
|
+
_: 3
|
|
93
|
+
}, 8, ["direction", "errors", "has-errors", "hide-label", "hint", "id", "input-position", "label-position", "label", "name", "reverse", "show-hint"]));
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
export {
|
|
97
|
+
W as default
|
|
98
|
+
};
|
|
2
99
|
//# sourceMappingURL=index56.js.map
|
package/dist/index56.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index56.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index56.js","sources":["../src/components/BbCheckbox/BbCheckbox.vue"],"sourcesContent":["<template>\n\t<BaseInputContainer\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:id=\"id\"\n\t\t:input-position=\"inputPosition\"\n\t\t:label-position=\"labelPosition\"\n\t\t:label-tag=\"'span'\"\n\t\t:label=\"label\"\n\t\t:name=\"name\"\n\t\t:reverse=\"reverse\"\n\t\t:show-hint=\"showHint\"\n\t\t:tag=\"'label'\"\n\t\tclass=\"bb-checkbox\"\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<BaseCheckbox\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:id=\"id\"\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:submit-when-false=\"submitWhenFalse\"\n\t\t\t\t:true-value=\"trueValue\"\n\t\t\t\tv-bind=\"eventListeners\"\n\t\t\t\t><template #icon=\"data\"\n\t\t\t\t\t><slot name=\"icon\" v-bind=\"data\" :text=\"label\" /></template\n\t\t\t></BaseCheckbox>\n\t\t</template>\n\t</BaseInputContainer>\n</template>\n\n<script setup lang=\"ts\">\nimport BaseCheckbox from '../BaseCheckbox/BaseCheckbox.vue';\nimport BaseInputContainer from '../BaseInputContainer/BaseInputContainer.vue';\nimport type {\n\tBaseCheckboxEvents,\n\tSlotAttributes,\n} from '../BaseCheckbox/BaseCheckbox.vue';\nimport {\n\tref,\n\ttype HTMLAttributes,\n\ttype InputHTMLAttributes,\n\tcomputed,\n} from 'vue';\n\nexport type BbCheckboxProps = {\n\t/**\n\t * Sets autofocus on page load.\n\t */\n\tautofocus?: InputHTMLAttributes['autofocus'];\n\n\t/**\n\t * Defines the input as checked\n\t */\n\tchecked?: InputHTMLAttributes['checked'];\n\n\t/**\n\t * Define a color for the component.\n\t *\n\t * Either a custom color or a coded color in common HEX, RGB, etc... format.\n\t */\n\tcolor?: string;\n\n\t/**\n\t * Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.\n\t */\n\tdirection?: 'horizontal' | 'vertical' | 'auto' | string;\n\n\t/**\n\t * Disables the component\n\t */\n\tdisabled?: boolean;\n\n\t/**\n\t * Can be a string or an array of string containing the messages to display.\n\t */\n\terrors?: string | string[];\n\n\t/**\n\t * Value of the input when unchecked. It handles any kind of serializable object.\n\t */\n\tfalseValue?: any;\n\n\t/**\n\t * Define if the component should be in an error state.\n\t * It usually attaches a CSS class for styling purposes.\n\t */\n\thasErrors?: boolean;\n\n\t/**\n\t * Visually hides the label of the input while maintaining accessibility.\n\t */\n\thideLabel?: boolean;\n\n\t/**\n\t * Text box to be displayed near the input, usually to indicate instructions.\n\t */\n\thint?: string;\n\n\t/**\n\t * The identifier of the component.\n\t */\n\tid?: HTMLAttributes['id'];\n\n\t/**\n\t * Sets the input in an indeterminate state.\n\t */\n\tindeterminate?: InputHTMLAttributes['indeterminate'];\n\n\t/**\n\t * Sets the slignment of the input. Since inputs are inline block they can be aligned just as text can.\n\t */\n\tinputPosition?: 'left' | 'center' | 'right';\n\n\t/**\n\t * Text content of the label of the element.\n\t */\n\tlabel: string;\n\n\t/**\n\t * Sets the text alignment of the label.\n\t */\n\tlabelPosition?: 'left' | 'center' | 'right';\n\n\t/**\n\t * Used by v-model. Can be any serializable type.\n\t */\n\tmodelValue?: any;\n\n\t/**\n\t * Defines the name of the input.\n\t */\n\tname?: InputHTMLAttributes['name'];\n\n\t/**\n\t * Keeps the hint displayed.\n\t */\n\tpersistentHint?: boolean;\n\n\t/**\n\t * Sets the input in a readonly state.\n\t */\n\treadonly?: InputHTMLAttributes['readonly'];\n\n\t/**\n\t * Reverses the layout. Applicable in every direction the order of the label and the input is swapped.\n\t */\n\treverse?: boolean;\n\n\t/**\n\t * Will submit \"falseValue\" if the input is not checked. Otherwise \"trueValue\" will be submitted.\n\t */\n\tsubmitWhenFalse?: boolean;\n\n\t/**\n\t * Value of the input when checked. It handles any kind of serializable object.\n\t */\n\ttrueValue?: any;\n};\n\nexport type BbCheckboxEvents = BaseCheckboxEvents;\n\nconst props = withDefaults(defineProps<BbCheckboxProps>(), {\n\tdirection: 'auto',\n\treverse: true,\n});\n\nconst emit = defineEmits<BbCheckboxEvents>();\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/BbCheckbox';\n</style>\n"],"names":["props","__props","emit","__emit","active","ref","showHint","computed","eventListeners","event","value"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8KA,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index57.js
CHANGED
|
@@ -1,121 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import g from "./index13.js";
|
|
3
|
-
import "./index14.js";
|
|
4
|
-
import f from "./index21.js";
|
|
5
|
-
import "./index22.js";
|
|
6
|
-
const D = /* @__PURE__ */ m({
|
|
7
|
-
__name: "BbCheckboxGroup",
|
|
8
|
-
props: {
|
|
9
|
-
autofocus: {},
|
|
10
|
-
color: {},
|
|
11
|
-
dependencies: {},
|
|
12
|
-
depsDebounceTime: {},
|
|
13
|
-
disabled: { type: Boolean },
|
|
14
|
-
enforceCoherence: { type: Boolean },
|
|
15
|
-
hasErrors: { type: Boolean },
|
|
16
|
-
id: {},
|
|
17
|
-
items: {},
|
|
18
|
-
itemText: {},
|
|
19
|
-
itemValue: {},
|
|
20
|
-
loadingText: {},
|
|
21
|
-
matchStrategy: {},
|
|
22
|
-
modelValue: {},
|
|
23
|
-
modelValueDebounceTime: {},
|
|
24
|
-
name: {},
|
|
25
|
-
noDataText: {},
|
|
26
|
-
readonly: {},
|
|
27
|
-
errors: {},
|
|
28
|
-
hideLabel: { type: Boolean },
|
|
29
|
-
reverse: { type: Boolean },
|
|
30
|
-
hideLegend: { type: Boolean },
|
|
31
|
-
inputDirection: {},
|
|
32
|
-
legend: {}
|
|
33
|
-
},
|
|
34
|
-
emits: ["blur", "change", "click", "focus", "inactive", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
|
35
|
-
setup(y, { emit: s }) {
|
|
36
|
-
const n = s, t = {
|
|
37
|
-
onBlur: (e) => n("blur", e),
|
|
38
|
-
onChange: (e) => n("change", e),
|
|
39
|
-
onClick: (e) => n("click", e),
|
|
40
|
-
onFocus: (e) => n("focus", e),
|
|
41
|
-
onInactive: () => n("inactive"),
|
|
42
|
-
onInput: (e) => n("input", e),
|
|
43
|
-
onKeydown: (e) => n("keydown", e),
|
|
44
|
-
onMousedown: (e) => n("mousedown", e),
|
|
45
|
-
onMouseup: (e) => n("mouseup", e),
|
|
46
|
-
"onUpdate:modelValue": (e) => n("update:modelValue", e)
|
|
47
|
-
};
|
|
48
|
-
return (e, v) => (u(), c(f, {
|
|
49
|
-
id: e.id,
|
|
50
|
-
class: "bb-checkbox-group",
|
|
51
|
-
direction: "vertical",
|
|
52
|
-
errors: e.errors,
|
|
53
|
-
"has-errors": e.hasErrors,
|
|
54
|
-
"hide-label": e.hideLegend,
|
|
55
|
-
label: e.legend,
|
|
56
|
-
"label-tag": "legend",
|
|
57
|
-
name: e.name,
|
|
58
|
-
reverse: e.reverse,
|
|
59
|
-
tag: "fieldset"
|
|
60
|
-
}, {
|
|
61
|
-
label: a((i) => [
|
|
62
|
-
r(e.$slots, "legend", l(d(i)))
|
|
63
|
-
]),
|
|
64
|
-
input: a(({ id: i, name: p }) => [
|
|
65
|
-
b(g, h({
|
|
66
|
-
id: i,
|
|
67
|
-
autofocus: e.autofocus,
|
|
68
|
-
color: e.color,
|
|
69
|
-
dependencies: e.dependencies,
|
|
70
|
-
"deps-debounce-time": e.depsDebounceTime,
|
|
71
|
-
direction: e.inputDirection,
|
|
72
|
-
disabled: e.disabled,
|
|
73
|
-
"enforce-coherence": e.enforceCoherence,
|
|
74
|
-
"has-errors": e.hasErrors,
|
|
75
|
-
"hide-label": e.hideLabel,
|
|
76
|
-
"item-text": e.itemText,
|
|
77
|
-
"item-value": e.itemValue,
|
|
78
|
-
items: e.items,
|
|
79
|
-
"loading-text": e.loadingText,
|
|
80
|
-
"match-strategy": e.matchStrategy,
|
|
81
|
-
"model-value": e.modelValue,
|
|
82
|
-
"model-value-debounce-time": e.modelValueDebounceTime,
|
|
83
|
-
name: p,
|
|
84
|
-
"no-data-text": e.noDataText,
|
|
85
|
-
readonly: e.readonly
|
|
86
|
-
}, t), {
|
|
87
|
-
prepend: a((o) => [
|
|
88
|
-
r(e.$slots, "prepend", l(d(o)))
|
|
89
|
-
]),
|
|
90
|
-
loading: a((o) => [
|
|
91
|
-
r(e.$slots, "loading", l(d(o)))
|
|
92
|
-
]),
|
|
93
|
-
"no-data": a((o) => [
|
|
94
|
-
r(e.$slots, "no-data", l(d(o)))
|
|
95
|
-
]),
|
|
96
|
-
"option:prepend": a((o) => [
|
|
97
|
-
r(e.$slots, "option:prepend", l(d(o)))
|
|
98
|
-
]),
|
|
99
|
-
icon: a((o) => [
|
|
100
|
-
r(e.$slots, "icon", l(d(o)))
|
|
101
|
-
]),
|
|
102
|
-
label: a((o) => [
|
|
103
|
-
r(e.$slots, "label", l(d(o)))
|
|
104
|
-
]),
|
|
105
|
-
"option:append": a((o) => [
|
|
106
|
-
r(e.$slots, "option:append", l(d(o)))
|
|
107
|
-
]),
|
|
108
|
-
append: a((o) => [
|
|
109
|
-
r(e.$slots, "append", l(d(o)))
|
|
110
|
-
]),
|
|
111
|
-
_: 2
|
|
112
|
-
}, 1040, ["id", "autofocus", "color", "dependencies", "deps-debounce-time", "direction", "disabled", "enforce-coherence", "has-errors", "hide-label", "item-text", "item-value", "items", "loading-text", "match-strategy", "model-value", "model-value-debounce-time", "name", "no-data-text", "readonly"])
|
|
113
|
-
]),
|
|
114
|
-
_: 3
|
|
115
|
-
}, 8, ["id", "errors", "has-errors", "hide-label", "label", "name", "reverse"]));
|
|
116
|
-
}
|
|
117
|
-
});
|
|
118
|
-
export {
|
|
119
|
-
D as default
|
|
120
|
-
};
|
|
1
|
+
|
|
121
2
|
//# sourceMappingURL=index57.js.map
|
package/dist/index57.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index57.js","sources":[
|
|
1
|
+
{"version":3,"file":"index57.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index58.js
CHANGED
|
@@ -1,2 +1,130 @@
|
|
|
1
|
-
|
|
1
|
+
import { defineComponent as f, ref as v, computed as y, openBlock as B, createBlock as $, withCtx as a, renderSlot as i, normalizeProps as t, guardReactiveProps as r, createVNode as w, mergeProps as T } from "vue";
|
|
2
|
+
import V from "./index14.js";
|
|
3
|
+
import "./index15.js";
|
|
4
|
+
import k from "./index22.js";
|
|
5
|
+
import "./index23.js";
|
|
6
|
+
const E = /* @__PURE__ */ f({
|
|
7
|
+
__name: "BbCheckboxGroup",
|
|
8
|
+
props: {
|
|
9
|
+
autofocus: {},
|
|
10
|
+
color: {},
|
|
11
|
+
dependencies: {},
|
|
12
|
+
depsDebounceTime: {},
|
|
13
|
+
disabled: { type: Boolean },
|
|
14
|
+
enforceCoherence: { type: Boolean },
|
|
15
|
+
errors: {},
|
|
16
|
+
hasErrors: { type: Boolean },
|
|
17
|
+
hideLabel: { type: Boolean },
|
|
18
|
+
hideLegend: { type: Boolean },
|
|
19
|
+
hint: {},
|
|
20
|
+
id: {},
|
|
21
|
+
inputDirection: {},
|
|
22
|
+
items: {},
|
|
23
|
+
itemText: {},
|
|
24
|
+
itemValue: {},
|
|
25
|
+
legend: {},
|
|
26
|
+
loadingText: {},
|
|
27
|
+
matchStrategy: {},
|
|
28
|
+
modelValue: {},
|
|
29
|
+
modelValueDebounceTime: {},
|
|
30
|
+
name: {},
|
|
31
|
+
noDataText: {},
|
|
32
|
+
persistentHint: { type: Boolean },
|
|
33
|
+
readonly: {},
|
|
34
|
+
reverse: { type: Boolean }
|
|
35
|
+
},
|
|
36
|
+
emits: ["blur", "change", "click", "focus", "inactive", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
|
37
|
+
setup(d, { emit: p }) {
|
|
38
|
+
const u = d, n = p, l = v(!1), m = y(() => u.persistentHint || l.value), c = {
|
|
39
|
+
onBlur: (e) => n("blur", e),
|
|
40
|
+
onChange: (e) => n("change", e),
|
|
41
|
+
onClick: (e) => n("click", e),
|
|
42
|
+
onFocus: (e) => {
|
|
43
|
+
l.value = !0, n("focus", e);
|
|
44
|
+
},
|
|
45
|
+
onInactive: () => {
|
|
46
|
+
l.value = !1, n("inactive");
|
|
47
|
+
},
|
|
48
|
+
onInput: (e) => n("input", e),
|
|
49
|
+
onKeydown: (e) => n("keydown", e),
|
|
50
|
+
onMousedown: (e) => n("mousedown", e),
|
|
51
|
+
onMouseup: (e) => n("mouseup", e),
|
|
52
|
+
"onUpdate:modelValue": (e) => n("update:modelValue", e)
|
|
53
|
+
};
|
|
54
|
+
return (e, D) => (B(), $(k, {
|
|
55
|
+
direction: "vertical",
|
|
56
|
+
errors: e.errors,
|
|
57
|
+
"has-errors": e.hasErrors,
|
|
58
|
+
"hide-label": e.hideLegend,
|
|
59
|
+
hint: e.hint,
|
|
60
|
+
id: e.id,
|
|
61
|
+
"label-tag": "legend",
|
|
62
|
+
label: e.legend,
|
|
63
|
+
name: e.name,
|
|
64
|
+
reverse: e.reverse,
|
|
65
|
+
"show-hint": m.value,
|
|
66
|
+
tag: "fieldset",
|
|
67
|
+
class: "bb-checkbox-group"
|
|
68
|
+
}, {
|
|
69
|
+
label: a((s) => [
|
|
70
|
+
i(e.$slots, "legend", t(r(s)))
|
|
71
|
+
]),
|
|
72
|
+
input: a(({ id: s, name: h, hasErrors: b, ariaDescribedby: g }) => [
|
|
73
|
+
w(V, T({
|
|
74
|
+
"aria-describedby": g,
|
|
75
|
+
autofocus: e.autofocus,
|
|
76
|
+
color: e.color,
|
|
77
|
+
dependencies: e.dependencies,
|
|
78
|
+
"deps-debounce-time": e.depsDebounceTime,
|
|
79
|
+
direction: e.inputDirection,
|
|
80
|
+
disabled: e.disabled,
|
|
81
|
+
"enforce-coherence": e.enforceCoherence,
|
|
82
|
+
"has-errors": b,
|
|
83
|
+
"hide-label": e.hideLabel,
|
|
84
|
+
id: s,
|
|
85
|
+
"item-text": e.itemText,
|
|
86
|
+
"item-value": e.itemValue,
|
|
87
|
+
items: e.items,
|
|
88
|
+
"loading-text": e.loadingText,
|
|
89
|
+
"match-strategy": e.matchStrategy,
|
|
90
|
+
"model-value-debounce-time": e.modelValueDebounceTime,
|
|
91
|
+
"model-value": e.modelValue,
|
|
92
|
+
name: h,
|
|
93
|
+
"no-data-text": e.noDataText,
|
|
94
|
+
readonly: e.readonly
|
|
95
|
+
}, c), {
|
|
96
|
+
prepend: a((o) => [
|
|
97
|
+
i(e.$slots, "prepend", t(r(o)))
|
|
98
|
+
]),
|
|
99
|
+
loading: a((o) => [
|
|
100
|
+
i(e.$slots, "loading", t(r(o)))
|
|
101
|
+
]),
|
|
102
|
+
"no-data": a((o) => [
|
|
103
|
+
i(e.$slots, "no-data", t(r(o)))
|
|
104
|
+
]),
|
|
105
|
+
"option:prepend": a((o) => [
|
|
106
|
+
i(e.$slots, "option:prepend", t(r(o)))
|
|
107
|
+
]),
|
|
108
|
+
icon: a((o) => [
|
|
109
|
+
i(e.$slots, "icon", t(r(o)))
|
|
110
|
+
]),
|
|
111
|
+
label: a((o) => [
|
|
112
|
+
i(e.$slots, "label", t(r(o)))
|
|
113
|
+
]),
|
|
114
|
+
"option:append": a((o) => [
|
|
115
|
+
i(e.$slots, "option:append", t(r(o)))
|
|
116
|
+
]),
|
|
117
|
+
append: a((o) => [
|
|
118
|
+
i(e.$slots, "append", t(r(o)))
|
|
119
|
+
]),
|
|
120
|
+
_: 2
|
|
121
|
+
}, 1040, ["aria-describedby", "autofocus", "color", "dependencies", "deps-debounce-time", "direction", "disabled", "enforce-coherence", "has-errors", "hide-label", "id", "item-text", "item-value", "items", "loading-text", "match-strategy", "model-value-debounce-time", "model-value", "name", "no-data-text", "readonly"])
|
|
122
|
+
]),
|
|
123
|
+
_: 3
|
|
124
|
+
}, 8, ["errors", "has-errors", "hide-label", "hint", "id", "label", "name", "reverse", "show-hint"]));
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
export {
|
|
128
|
+
E as default
|
|
129
|
+
};
|
|
2
130
|
//# sourceMappingURL=index58.js.map
|
package/dist/index58.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index58.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index58.js","sources":["../src/components/BbCheckboxGroup/BbCheckboxGroup.vue"],"sourcesContent":["<template>\n\t<BaseInputContainer\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:id=\"id\"\n\t\t:label-tag=\"'legend'\"\n\t\t:label=\"legend\"\n\t\t:name=\"name\"\n\t\t:reverse=\"reverse\"\n\t\t:show-hint=\"showHint\"\n\t\t:tag=\"'fieldset'\"\n\t\tclass=\"bb-checkbox-group\"\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<BaseCheckboxGroup\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:id=\"id\"\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:match-strategy=\"matchStrategy\"\n\t\t\t\t:model-value-debounce-time=\"modelValueDebounceTime\"\n\t\t\t\t:model-value=\"modelValue\"\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</BaseCheckboxGroup>\n\t\t</template>\n\t</BaseInputContainer>\n</template>\n\n<script setup lang=\"ts\" generic=\"T = any\">\nimport BaseCheckboxGroup from '../BaseCheckboxGroup/BaseCheckboxGroup.vue';\nimport BaseInputContainer from '../BaseInputContainer/BaseInputContainer.vue';\nimport type { BaseCheckboxGroupEvents } from '../BaseCheckboxGroup/BaseCheckboxGroup.vue';\nimport {\n\tref,\n\ttype HTMLAttributes,\n\ttype InputHTMLAttributes,\n\tcomputed,\n} from 'vue';\nimport type { NestedKeyOf } from '@/types/NestedKeyOf';\nimport type { SlotAttributes } from '../BaseCheckbox/BaseCheckbox.vue';\n\nexport type BbCheckboxGroupProps<T> = {\n\t/**\n\t * Sets autofocus on page load.\n\t */\n\tautofocus?: InputHTMLAttributes['autofocus'];\n\n\t/**\n\t * Define a color for the component.\n\t *\n\t * Either a custom color or a coded color in common HEX, RGB, etc... format.\n\t */\n\tcolor?: string;\n\n\t/**\n\t * Defines an array of dependencies that will trigger actions in the component upon change.\n\t */\n\tdependencies?: any[];\n\n\t/**\n\t * Timeout used to debounce response to changes to dependencies.\n\t */\n\tdepsDebounceTime?: number;\n\n\t/**\n\t * Disables the component\n\t */\n\tdisabled?: boolean;\n\n\t/**\n\t * If coherence is enforce the input cannot have a modelValue the is incoherent with its current items.\n\t *\n\t * e.g. You cannot set v-model to a user that is not present in the items passed.\n\t *\n\t * modelValue will be reset upon incoherence.\n\t */\n\tenforceCoherence?: boolean;\n\n\t/**\n\t * Can be a string or an array of string containing the messages to display.\n\t */\n\terrors?: string | string[];\n\n\t/**\n\t * Define if the component should be in an error state.\n\t * It usually attaches a CSS class for styling purposes.\n\t */\n\thasErrors?: boolean;\n\n\t/**\n\t * Visually hides the label of the input while maintaining accessibility.\n\t */\n\thideLabel?: boolean;\n\n\t/**\n\t * Visually hides the legend of the fieldset while maintaining accessibility.\n\t */\n\thideLegend?: boolean;\n\n\t/**\n\t * Text box to be displayed near the input, usually to indicate instructions.\n\t */\n\thint?: string;\n\n\t/**\n\t * The identifier of the component.\n\t */\n\tid?: HTMLAttributes['id'];\n\n\t/**\n\t * Defines the direction of the inputs in the fieldset\n\t */\n\tinputDirection?: 'horizontal' | 'vertical';\n\n\t/**\n\t * Used to retrieve items can be an array or a function.\n\t */\n\titems:\n\t\t| T[]\n\t\t| ((prefill: boolean, modelValue?: any[]) => Promise<T[]>)\n\t\t| ((prefill: boolean, modelValue?: any[]) => T[]);\n\n\t/**\n\t * Defines a path that returns a property of the object to use as text or a function that returns a string\n\t */\n\titemText?: T extends object\n\t\t? NestedKeyOf<T> | ((item: T) => string)\n\t\t: ((item: T) => string) | undefined;\n\n\t/**\n\t * Defines a path that returns a property of the object to use as value or a function that returns any value\n\t */\n\titemValue?: T extends object\n\t\t? NestedKeyOf<T> | ((item: T) => string)\n\t\t: ((item: T) => any) | undefined;\n\n\t/**\n\t * Text content of the legend.\n\t */\n\tlegend: string;\n\n\t/**\n\t * String displayed while items are being loaded.\n\t */\n\tloadingText?: string;\n\n\t/**\n\t * Defines the strategy used to understand whether an option has been selected.\n\t * `string` is 40% faster but relies on property order.\n\t * `equality` is more reliable but is slower.\n\t */\n\tmatchStrategy?: 'string' | 'equality';\n\n\t/**\n\t * Used by v-model. Can be an array of any serializable type.\n\t */\n\tmodelValue: any[];\n\n\t/**\n\t * Timeout used to debounce response to changes to modelValue.\n\t */\n\tmodelValueDebounceTime?: number;\n\n\t/**\n\t * Defines the name of the input.\n\t */\n\tname?: InputHTMLAttributes['name'];\n\n\t/**\n\t * String displayed when there are no items to display.\n\t */\n\tnoDataText?: string;\n\n\t/**\n\t * Keeps the hint displayed.\n\t */\n\tpersistentHint?: boolean;\n\n\t/**\n\t * Sets the input in a readonly state.\n\t */\n\treadonly?: InputHTMLAttributes['readonly'];\n\n\t/**\n\t * Reverses the layout. Applicable in every direction the order of the label and the input is swapped.\n\t */\n\treverse?: boolean;\n};\n\nexport type BbCheckboxGroupEvents = BaseCheckboxGroupEvents;\n\nconst props = withDefaults(defineProps<BbCheckboxGroupProps<T>>(), {});\n\nconst emit = defineEmits<BbCheckboxGroupEvents>();\n\ndefineSlots<{\n\tprepend?: (props: object) => any;\n\tloading?: (props: object) => any;\n\t'no-data'?: (props: object) => any;\n\t'option:prepend'?: (props: { item: 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: { item: 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/BbCheckboxGroup';\n</style>\n"],"names":["props","__props","emit","__emit","active","ref","showHint","computed","eventListeners","event"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmOA,UAAMA,IAAQC,GAERC,IAAOC,GAmBPC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index59.js
CHANGED
|
@@ -1,86 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import { actions as p, state as o } from "./index3.js";
|
|
3
|
-
import v from "./index9.js";
|
|
4
|
-
import "./index10.js";
|
|
5
|
-
import A from "./index19.js";
|
|
6
|
-
import "./index20.js";
|
|
7
|
-
import B from "./index119.js";
|
|
8
|
-
import "./index185.js";
|
|
9
|
-
const N = {
|
|
10
|
-
key: 0,
|
|
11
|
-
class: "bb-confirm__content"
|
|
12
|
-
}, P = {
|
|
13
|
-
key: 0,
|
|
14
|
-
class: "bb-confirm__text"
|
|
15
|
-
}, S = { class: "bb-confirm__spinner" }, F = /* @__PURE__ */ k({
|
|
16
|
-
__name: "BbConfirm",
|
|
17
|
-
setup(E) {
|
|
18
|
-
const i = _(() => p.value[0]), r = _(() => p.value[1]), b = (t) => {
|
|
19
|
-
t ? r.value.handler() : i.value.handler();
|
|
20
|
-
};
|
|
21
|
-
return (t, U) => (n(), l(A, {
|
|
22
|
-
"model-value": e(o).open || e(o).loading,
|
|
23
|
-
"overlay-classes": ["bb-confirm", `bb-confirm--${e(o).theme}`],
|
|
24
|
-
size: e(o).size,
|
|
25
|
-
title: e(o).title,
|
|
26
|
-
"onUpdate:modelValue": b
|
|
27
|
-
}, h({
|
|
28
|
-
default: s(() => [
|
|
29
|
-
e(o).loading ? d(t.$slots, "spinner", { key: 1 }, () => [
|
|
30
|
-
g("div", S, [
|
|
31
|
-
C(B, { size: "60" })
|
|
32
|
-
])
|
|
33
|
-
]) : (n(), f("div", N, [
|
|
34
|
-
e(o).text ? (n(), f("div", P, c(e(o).text), 1)) : m("", !0)
|
|
35
|
-
]))
|
|
36
|
-
]),
|
|
37
|
-
_: 2
|
|
38
|
-
}, [
|
|
39
|
-
$(["header", "title", "close", "description"], (a) => ({
|
|
40
|
-
name: a,
|
|
41
|
-
fn: s((y) => [
|
|
42
|
-
d(t.$slots, a, x(V(y)))
|
|
43
|
-
])
|
|
44
|
-
})),
|
|
45
|
-
!e(o).loading && e(o).actions ? {
|
|
46
|
-
name: "footer",
|
|
47
|
-
fn: s((a) => [
|
|
48
|
-
d(t.$slots, "footer", z({
|
|
49
|
-
actions: e(o).actions,
|
|
50
|
-
loading: e(o).loading,
|
|
51
|
-
no: e(o).no,
|
|
52
|
-
noAction: i.value,
|
|
53
|
-
yes: e(o).yes,
|
|
54
|
-
yesAction: r.value
|
|
55
|
-
}, a), () => [
|
|
56
|
-
e(o).no ? (n(), l(v, {
|
|
57
|
-
key: 0,
|
|
58
|
-
class: "bb-confirm__no",
|
|
59
|
-
onClick: i.value.handler
|
|
60
|
-
}, {
|
|
61
|
-
default: s(() => [
|
|
62
|
-
u(c(i.value.text), 1)
|
|
63
|
-
]),
|
|
64
|
-
_: 1
|
|
65
|
-
}, 8, ["onClick"])) : m("", !0),
|
|
66
|
-
e(o).yes ? (n(), l(v, {
|
|
67
|
-
key: 1,
|
|
68
|
-
class: "bb-confirm__yes",
|
|
69
|
-
onClick: r.value.handler
|
|
70
|
-
}, {
|
|
71
|
-
default: s(() => [
|
|
72
|
-
u(c(r.value.text), 1)
|
|
73
|
-
]),
|
|
74
|
-
_: 1
|
|
75
|
-
}, 8, ["onClick"])) : m("", !0)
|
|
76
|
-
])
|
|
77
|
-
]),
|
|
78
|
-
key: "0"
|
|
79
|
-
} : void 0
|
|
80
|
-
]), 1032, ["model-value", "overlay-classes", "size", "title"]));
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
export {
|
|
84
|
-
F as default
|
|
85
|
-
};
|
|
1
|
+
|
|
86
2
|
//# sourceMappingURL=index59.js.map
|
package/dist/index59.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index59.js","sources":[
|
|
1
|
+
{"version":3,"file":"index59.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|