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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseCheckboxEvents, SlotAttributes } from '../BaseCheckbox/BaseCheckbox.vue';
|
|
2
|
-
import type
|
|
2
|
+
import { type HTMLAttributes, type InputHTMLAttributes } from 'vue';
|
|
3
3
|
export type BbCheckboxProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Sets autofocus on page load.
|
|
@@ -15,10 +15,18 @@ export type BbCheckboxProps = {
|
|
|
15
15
|
* Either a custom color or a coded color in common HEX, RGB, etc... format.
|
|
16
16
|
*/
|
|
17
17
|
color?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.
|
|
20
|
+
*/
|
|
21
|
+
direction?: 'horizontal' | 'vertical' | 'auto' | string;
|
|
18
22
|
/**
|
|
19
23
|
* Disables the component
|
|
20
24
|
*/
|
|
21
25
|
disabled?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Can be a string or an array of string containing the messages to display.
|
|
28
|
+
*/
|
|
29
|
+
errors?: string | string[];
|
|
22
30
|
/**
|
|
23
31
|
* Value of the input when unchecked. It handles any kind of serializable object.
|
|
24
32
|
*/
|
|
@@ -28,6 +36,14 @@ export type BbCheckboxProps = {
|
|
|
28
36
|
* It usually attaches a CSS class for styling purposes.
|
|
29
37
|
*/
|
|
30
38
|
hasErrors?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Visually hides the label of the input while maintaining accessibility.
|
|
41
|
+
*/
|
|
42
|
+
hideLabel?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Text box to be displayed near the input, usually to indicate instructions.
|
|
45
|
+
*/
|
|
46
|
+
hint?: string;
|
|
31
47
|
/**
|
|
32
48
|
* The identifier of the component.
|
|
33
49
|
*/
|
|
@@ -37,53 +53,45 @@ export type BbCheckboxProps = {
|
|
|
37
53
|
*/
|
|
38
54
|
indeterminate?: InputHTMLAttributes['indeterminate'];
|
|
39
55
|
/**
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
name?: InputHTMLAttributes['name'];
|
|
43
|
-
/**
|
|
44
|
-
* Sets the input in a readonly state.
|
|
56
|
+
* Sets the slignment of the input. Since inputs are inline block they can be aligned just as text can.
|
|
45
57
|
*/
|
|
46
|
-
|
|
58
|
+
inputPosition?: 'left' | 'center' | 'right';
|
|
47
59
|
/**
|
|
48
|
-
*
|
|
60
|
+
* Text content of the label of the element.
|
|
49
61
|
*/
|
|
50
|
-
|
|
62
|
+
label: string;
|
|
51
63
|
/**
|
|
52
|
-
*
|
|
64
|
+
* Sets the text alignment of the label.
|
|
53
65
|
*/
|
|
54
|
-
|
|
66
|
+
labelPosition?: 'left' | 'center' | 'right';
|
|
55
67
|
/**
|
|
56
68
|
* Used by v-model. Can be any serializable type.
|
|
57
69
|
*/
|
|
58
70
|
modelValue?: any;
|
|
59
71
|
/**
|
|
60
|
-
*
|
|
61
|
-
*/
|
|
62
|
-
direction?: 'horizontal' | 'vertical' | 'auto' | string;
|
|
63
|
-
/**
|
|
64
|
-
* Can be a string or an array of string containing the messages to display.
|
|
72
|
+
* Defines the name of the input.
|
|
65
73
|
*/
|
|
66
|
-
|
|
74
|
+
name?: InputHTMLAttributes['name'];
|
|
67
75
|
/**
|
|
68
|
-
*
|
|
76
|
+
* Keeps the hint displayed.
|
|
69
77
|
*/
|
|
70
|
-
|
|
78
|
+
persistentHint?: boolean;
|
|
71
79
|
/**
|
|
72
|
-
* Sets the
|
|
80
|
+
* Sets the input in a readonly state.
|
|
73
81
|
*/
|
|
74
|
-
|
|
82
|
+
readonly?: InputHTMLAttributes['readonly'];
|
|
75
83
|
/**
|
|
76
|
-
*
|
|
84
|
+
* Reverses the layout. Applicable in every direction the order of the label and the input is swapped.
|
|
77
85
|
*/
|
|
78
|
-
|
|
86
|
+
reverse?: boolean;
|
|
79
87
|
/**
|
|
80
|
-
*
|
|
88
|
+
* Will submit "falseValue" if the input is not checked. Otherwise "trueValue" will be submitted.
|
|
81
89
|
*/
|
|
82
|
-
|
|
90
|
+
submitWhenFalse?: boolean;
|
|
83
91
|
/**
|
|
84
|
-
*
|
|
92
|
+
* Value of the input when checked. It handles any kind of serializable object.
|
|
85
93
|
*/
|
|
86
|
-
|
|
94
|
+
trueValue?: any;
|
|
87
95
|
};
|
|
88
96
|
export type BbCheckboxEvents = BaseCheckboxEvents;
|
|
89
97
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbCheckboxProps>, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseCheckboxGroupEvents } from '../BaseCheckboxGroup/BaseCheckboxGroup.vue';
|
|
2
|
-
import type
|
|
2
|
+
import { type HTMLAttributes, type InputHTMLAttributes } from 'vue';
|
|
3
3
|
import type { NestedKeyOf } from '../../types/NestedKeyOf';
|
|
4
4
|
import type { SlotAttributes } from '../BaseCheckbox/BaseCheckbox.vue';
|
|
5
5
|
export type BbCheckboxGroupProps<T> = {
|
|
@@ -33,15 +33,35 @@ export type BbCheckboxGroupProps<T> = {
|
|
|
33
33
|
* modelValue will be reset upon incoherence.
|
|
34
34
|
*/
|
|
35
35
|
enforceCoherence?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Can be a string or an array of string containing the messages to display.
|
|
38
|
+
*/
|
|
39
|
+
errors?: string | string[];
|
|
36
40
|
/**
|
|
37
41
|
* Define if the component should be in an error state.
|
|
38
42
|
* It usually attaches a CSS class for styling purposes.
|
|
39
43
|
*/
|
|
40
44
|
hasErrors?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Visually hides the label of the input while maintaining accessibility.
|
|
47
|
+
*/
|
|
48
|
+
hideLabel?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Visually hides the legend of the fieldset while maintaining accessibility.
|
|
51
|
+
*/
|
|
52
|
+
hideLegend?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Text box to be displayed near the input, usually to indicate instructions.
|
|
55
|
+
*/
|
|
56
|
+
hint?: string;
|
|
41
57
|
/**
|
|
42
58
|
* The identifier of the component.
|
|
43
59
|
*/
|
|
44
60
|
id?: HTMLAttributes['id'];
|
|
61
|
+
/**
|
|
62
|
+
* Defines the direction of the inputs in the fieldset
|
|
63
|
+
*/
|
|
64
|
+
inputDirection?: 'horizontal' | 'vertical';
|
|
45
65
|
/**
|
|
46
66
|
* Used to retrieve items can be an array or a function.
|
|
47
67
|
*/
|
|
@@ -54,6 +74,10 @@ export type BbCheckboxGroupProps<T> = {
|
|
|
54
74
|
* Defines a path that returns a property of the object to use as value or a function that returns any value
|
|
55
75
|
*/
|
|
56
76
|
itemValue?: T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => any) | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* Text content of the legend.
|
|
79
|
+
*/
|
|
80
|
+
legend: string;
|
|
57
81
|
/**
|
|
58
82
|
* String displayed while items are being loaded.
|
|
59
83
|
*/
|
|
@@ -81,40 +105,23 @@ export type BbCheckboxGroupProps<T> = {
|
|
|
81
105
|
*/
|
|
82
106
|
noDataText?: string;
|
|
83
107
|
/**
|
|
84
|
-
*
|
|
85
|
-
*/
|
|
86
|
-
readonly?: InputHTMLAttributes['readonly'];
|
|
87
|
-
/**
|
|
88
|
-
* Can be a string or an array of string containing the messages to display.
|
|
108
|
+
* Keeps the hint displayed.
|
|
89
109
|
*/
|
|
90
|
-
|
|
110
|
+
persistentHint?: boolean;
|
|
91
111
|
/**
|
|
92
|
-
*
|
|
112
|
+
* Sets the input in a readonly state.
|
|
93
113
|
*/
|
|
94
|
-
|
|
114
|
+
readonly?: InputHTMLAttributes['readonly'];
|
|
95
115
|
/**
|
|
96
116
|
* Reverses the layout. Applicable in every direction the order of the label and the input is swapped.
|
|
97
117
|
*/
|
|
98
118
|
reverse?: boolean;
|
|
99
|
-
/**
|
|
100
|
-
* Visually hides the legend of the fieldset while maintaining accessibility.
|
|
101
|
-
*/
|
|
102
|
-
hideLegend?: boolean;
|
|
103
|
-
/**
|
|
104
|
-
* Defines the direction of the inputs in the fieldset
|
|
105
|
-
*/
|
|
106
|
-
inputDirection?: 'horizontal' | 'vertical';
|
|
107
|
-
/**
|
|
108
|
-
* Text content of the legend.
|
|
109
|
-
*/
|
|
110
|
-
legend: string;
|
|
111
119
|
};
|
|
112
120
|
export type BbCheckboxGroupEvents = BaseCheckboxGroupEvents;
|
|
113
121
|
declare const _default: <T = any>(__VLS_props: {
|
|
114
122
|
disabled?: boolean | undefined;
|
|
115
123
|
reverse?: boolean | undefined;
|
|
116
124
|
name?: string | undefined;
|
|
117
|
-
autofocus?: (boolean | "true" | "false") | undefined;
|
|
118
125
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
119
126
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
120
127
|
onChange?: ((event: Event) => any) | undefined;
|
|
@@ -123,6 +130,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
123
130
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
124
131
|
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
|
125
132
|
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
|
133
|
+
autofocus?: (boolean | "true" | "false") | undefined;
|
|
126
134
|
id?: string | undefined;
|
|
127
135
|
readonly?: (boolean | "true" | "false") | undefined;
|
|
128
136
|
hasErrors?: boolean | undefined;
|
|
@@ -145,6 +153,8 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
145
153
|
errors?: string | string[] | undefined;
|
|
146
154
|
hideLegend?: boolean | undefined;
|
|
147
155
|
inputDirection?: "horizontal" | "vertical" | undefined;
|
|
156
|
+
hint?: string | undefined;
|
|
157
|
+
persistentHint?: boolean | undefined;
|
|
148
158
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
149
159
|
attrs: any;
|
|
150
160
|
slots: Readonly<{
|
|
@@ -202,7 +212,6 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
202
212
|
disabled?: boolean | undefined;
|
|
203
213
|
reverse?: boolean | undefined;
|
|
204
214
|
name?: string | undefined;
|
|
205
|
-
autofocus?: (boolean | "true" | "false") | undefined;
|
|
206
215
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
207
216
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
208
217
|
onChange?: ((event: Event) => any) | undefined;
|
|
@@ -211,6 +220,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
211
220
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
212
221
|
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
|
213
222
|
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
|
223
|
+
autofocus?: (boolean | "true" | "false") | undefined;
|
|
214
224
|
id?: string | undefined;
|
|
215
225
|
readonly?: (boolean | "true" | "false") | undefined;
|
|
216
226
|
hasErrors?: boolean | undefined;
|
|
@@ -233,6 +243,8 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
233
243
|
errors?: string | string[] | undefined;
|
|
234
244
|
hideLegend?: boolean | undefined;
|
|
235
245
|
inputDirection?: "horizontal" | "vertical" | undefined;
|
|
246
|
+
hint?: string | undefined;
|
|
247
|
+
persistentHint?: boolean | undefined;
|
|
236
248
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
237
249
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
238
250
|
attrs: any;
|
|
@@ -294,7 +306,6 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
294
306
|
disabled?: boolean | undefined;
|
|
295
307
|
reverse?: boolean | undefined;
|
|
296
308
|
name?: string | undefined;
|
|
297
|
-
autofocus?: (boolean | "true" | "false") | undefined;
|
|
298
309
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
299
310
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
300
311
|
onChange?: ((event: Event) => any) | undefined;
|
|
@@ -303,6 +314,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
303
314
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
304
315
|
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
|
305
316
|
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
|
317
|
+
autofocus?: (boolean | "true" | "false") | undefined;
|
|
306
318
|
id?: string | undefined;
|
|
307
319
|
readonly?: (boolean | "true" | "false") | undefined;
|
|
308
320
|
hasErrors?: boolean | undefined;
|
|
@@ -325,6 +337,8 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
325
337
|
errors?: string | string[] | undefined;
|
|
326
338
|
hideLegend?: boolean | undefined;
|
|
327
339
|
inputDirection?: "horizontal" | "vertical" | undefined;
|
|
340
|
+
hint?: string | undefined;
|
|
341
|
+
persistentHint?: boolean | undefined;
|
|
328
342
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
329
343
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
330
344
|
attrs: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseDatePickerInputEvents } from '../BaseDatePickerInput/BaseDatePickerInput.vue';
|
|
2
|
-
import type
|
|
2
|
+
import { type HTMLAttributes, type InputHTMLAttributes } from 'vue';
|
|
3
3
|
import type { Locale } from 'dayjs/locale/it';
|
|
4
4
|
export type BbDatePickerInputProps = {
|
|
5
5
|
/**
|
|
@@ -39,6 +39,10 @@ export type BbDatePickerInputProps = {
|
|
|
39
39
|
* Visually hides the label of the input while maintaining accessibility.
|
|
40
40
|
*/
|
|
41
41
|
hideLabel?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Text box to be displayed near the input, usually to indicate instructions.
|
|
44
|
+
*/
|
|
45
|
+
hint?: string;
|
|
42
46
|
/**
|
|
43
47
|
* The identifier of the component.
|
|
44
48
|
*/
|
|
@@ -67,6 +71,10 @@ export type BbDatePickerInputProps = {
|
|
|
67
71
|
* Defines the name of the input.
|
|
68
72
|
*/
|
|
69
73
|
name?: InputHTMLAttributes['name'];
|
|
74
|
+
/**
|
|
75
|
+
* Keeps the hint displayed.
|
|
76
|
+
*/
|
|
77
|
+
persistentHint?: boolean;
|
|
70
78
|
/**
|
|
71
79
|
* String displayed when there's no data.
|
|
72
80
|
*/
|
|
@@ -97,15 +105,19 @@ export type BbDatePickerInputEvents = BaseDatePickerInputEvents;
|
|
|
97
105
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbDatePickerInputProps>, {
|
|
98
106
|
allowWriting: boolean;
|
|
99
107
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
100
|
-
|
|
101
|
-
inactive: () => void;
|
|
108
|
+
active: () => void;
|
|
102
109
|
error: (message: string) => void;
|
|
110
|
+
focus: (event: FocusEvent) => void;
|
|
111
|
+
inactive: () => void;
|
|
112
|
+
"update:modelValue": (value: string | string[] | null) => void;
|
|
103
113
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbDatePickerInputProps>, {
|
|
104
114
|
allowWriting: boolean;
|
|
105
115
|
}>>> & {
|
|
116
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
106
117
|
onError?: ((message: string) => any) | undefined;
|
|
107
118
|
"onUpdate:modelValue"?: ((value: string | string[] | null) => any) | undefined;
|
|
108
119
|
onInactive?: (() => any) | undefined;
|
|
120
|
+
onActive?: (() => any) | undefined;
|
|
109
121
|
}, {
|
|
110
122
|
allowWriting: boolean;
|
|
111
123
|
}, {}>, Readonly<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseNumberInputEvents, BaseNumberInputSlots } from '../BaseNumberInput/BaseNumberInput.vue';
|
|
2
|
-
import type
|
|
2
|
+
import { type HTMLAttributes, type InputHTMLAttributes } from 'vue';
|
|
3
3
|
export type BbNumberInputProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Guides to the browser as to the type of information expected in the field.
|
|
@@ -9,19 +9,43 @@ export type BbNumberInputProps = {
|
|
|
9
9
|
* Sets autofocus on page load.
|
|
10
10
|
*/
|
|
11
11
|
autofocus?: InputHTMLAttributes['autofocus'];
|
|
12
|
+
/**
|
|
13
|
+
* Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.
|
|
14
|
+
*/
|
|
15
|
+
direction?: 'horizontal' | 'vertical' | 'auto' | string;
|
|
12
16
|
/**
|
|
13
17
|
* Disables the component
|
|
14
18
|
*/
|
|
15
19
|
disabled?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Can be a string or an array of string containing the messages to display.
|
|
22
|
+
*/
|
|
23
|
+
errors?: string | string[];
|
|
16
24
|
/**
|
|
17
25
|
* Define if the component should be in an error state.
|
|
18
26
|
* It usually attaches a CSS class for styling purposes.
|
|
19
27
|
*/
|
|
20
28
|
hasErrors?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Visually hides the label of the input while maintaining accessibility.
|
|
31
|
+
*/
|
|
32
|
+
hideLabel?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Text box to be displayed near the input, usually to indicate instructions.
|
|
35
|
+
*/
|
|
36
|
+
hint?: string;
|
|
21
37
|
/**
|
|
22
38
|
* The identifier of the component.
|
|
23
39
|
*/
|
|
24
40
|
id?: HTMLAttributes['id'];
|
|
41
|
+
/**
|
|
42
|
+
* Text content of the label of the element.
|
|
43
|
+
*/
|
|
44
|
+
label: string;
|
|
45
|
+
/**
|
|
46
|
+
* Sets the text alignment of the label.
|
|
47
|
+
*/
|
|
48
|
+
labelPosition?: 'left' | 'center' | 'right';
|
|
25
49
|
/**
|
|
26
50
|
* Maximum value cap
|
|
27
51
|
*/
|
|
@@ -38,6 +62,10 @@ export type BbNumberInputProps = {
|
|
|
38
62
|
* Defines the name of the input.
|
|
39
63
|
*/
|
|
40
64
|
name?: InputHTMLAttributes['name'];
|
|
65
|
+
/**
|
|
66
|
+
* Keeps the hint displayed.
|
|
67
|
+
*/
|
|
68
|
+
persistentHint?: boolean;
|
|
41
69
|
/**
|
|
42
70
|
* String displayed when there's no data.
|
|
43
71
|
*/
|
|
@@ -46,36 +74,16 @@ export type BbNumberInputProps = {
|
|
|
46
74
|
* Sets the input in a readonly state.
|
|
47
75
|
*/
|
|
48
76
|
readonly?: InputHTMLAttributes['readonly'];
|
|
77
|
+
/**
|
|
78
|
+
* Reverses the layout. Applicable in every direction the order of the label and the input is swapped.
|
|
79
|
+
*/
|
|
80
|
+
reverse?: boolean;
|
|
49
81
|
/**
|
|
50
82
|
* Incremental unit used in the exposed `increase`
|
|
51
83
|
* and `decrease` function. It's NOT APPLIED to manual input as a step of 5
|
|
52
84
|
* will prevent the user from inserting a value like `115` because of rounding down.
|
|
53
85
|
*/
|
|
54
86
|
step?: number;
|
|
55
|
-
/**
|
|
56
|
-
* Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.
|
|
57
|
-
*/
|
|
58
|
-
direction?: 'horizontal' | 'vertical' | 'auto' | string;
|
|
59
|
-
/**
|
|
60
|
-
* Can be a string or an array of string containing the messages to display.
|
|
61
|
-
*/
|
|
62
|
-
errors?: string | string[];
|
|
63
|
-
/**
|
|
64
|
-
* Visually hides the label of the input while maintaining accessibility.
|
|
65
|
-
*/
|
|
66
|
-
hideLabel?: boolean;
|
|
67
|
-
/**
|
|
68
|
-
* Text content of the label of the element.
|
|
69
|
-
*/
|
|
70
|
-
label: string;
|
|
71
|
-
/**
|
|
72
|
-
* Sets the text alignment of the label.
|
|
73
|
-
*/
|
|
74
|
-
labelPosition?: 'left' | 'center' | 'right';
|
|
75
|
-
/**
|
|
76
|
-
* Reverses the layout. Applicable in every direction the order of the label and the input is swapped.
|
|
77
|
-
*/
|
|
78
|
-
reverse?: boolean;
|
|
79
87
|
};
|
|
80
88
|
export type BbNumberInputEvents = BaseNumberInputEvents;
|
|
81
89
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbNumberInputProps>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -15,64 +15,72 @@ export type BbRadioProps = {
|
|
|
15
15
|
* Either a custom color or a coded color in common HEX, RGB, etc... format.
|
|
16
16
|
*/
|
|
17
17
|
color?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.
|
|
20
|
+
*/
|
|
21
|
+
direction?: 'horizontal' | 'vertical' | 'auto' | string;
|
|
18
22
|
/**
|
|
19
23
|
* Disables the component
|
|
20
24
|
*/
|
|
21
25
|
disabled?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Can be a string or an array of string containing the messages to display.
|
|
28
|
+
*/
|
|
29
|
+
errors?: string | string[];
|
|
22
30
|
/**
|
|
23
31
|
* Define if the component should be in an error state.
|
|
24
32
|
* It usually attaches a CSS class for styling purposes.
|
|
25
33
|
*/
|
|
26
34
|
hasErrors?: boolean;
|
|
27
35
|
/**
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
id?: HTMLAttributes['id'];
|
|
31
|
-
/**
|
|
32
|
-
* Used by v-model. Can be any serializable type.
|
|
36
|
+
* Visually hides the label of the input while maintaining accessibility.
|
|
33
37
|
*/
|
|
34
|
-
|
|
38
|
+
hideLabel?: boolean;
|
|
35
39
|
/**
|
|
36
|
-
*
|
|
40
|
+
* Text box to be displayed near the input, usually to indicate instructions.
|
|
37
41
|
*/
|
|
38
|
-
|
|
42
|
+
hint?: string;
|
|
39
43
|
/**
|
|
40
|
-
*
|
|
44
|
+
* The identifier of the component.
|
|
41
45
|
*/
|
|
42
|
-
|
|
46
|
+
id?: HTMLAttributes['id'];
|
|
43
47
|
/**
|
|
44
|
-
*
|
|
45
|
-
* It can be any serializable value.
|
|
48
|
+
* Sets the slignment of the input. Since inputs are inline block they can be aligned just as text can.
|
|
46
49
|
*/
|
|
47
|
-
|
|
50
|
+
inputPosition?: 'left' | 'center' | 'right';
|
|
48
51
|
/**
|
|
49
|
-
*
|
|
52
|
+
* Text content of the label of the element.
|
|
50
53
|
*/
|
|
51
|
-
|
|
54
|
+
label: string;
|
|
52
55
|
/**
|
|
53
|
-
*
|
|
56
|
+
* Sets the text alignment of the label.
|
|
54
57
|
*/
|
|
55
|
-
|
|
58
|
+
labelPosition?: 'left' | 'center' | 'right';
|
|
56
59
|
/**
|
|
57
|
-
*
|
|
60
|
+
* Used by v-model. Can be any serializable type.
|
|
58
61
|
*/
|
|
59
|
-
|
|
62
|
+
modelValue?: any;
|
|
60
63
|
/**
|
|
61
|
-
*
|
|
64
|
+
* Defines the name of the input.
|
|
62
65
|
*/
|
|
63
|
-
|
|
66
|
+
name: InputHTMLAttributes['name'];
|
|
64
67
|
/**
|
|
65
|
-
*
|
|
68
|
+
* Keeps the hint displayed.
|
|
66
69
|
*/
|
|
67
|
-
|
|
70
|
+
persistentHint?: boolean;
|
|
68
71
|
/**
|
|
69
|
-
* Sets the
|
|
72
|
+
* Sets the input in a readonly state.
|
|
70
73
|
*/
|
|
71
|
-
|
|
74
|
+
readonly?: InputHTMLAttributes['readonly'];
|
|
72
75
|
/**
|
|
73
76
|
* Reverses the layout. Applicable in every direction the order of the label and the input is swapped.
|
|
74
77
|
*/
|
|
75
78
|
reverse?: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Defines the value of the radio input.
|
|
81
|
+
* It can be any serializable value.
|
|
82
|
+
*/
|
|
83
|
+
value: any;
|
|
76
84
|
};
|
|
77
85
|
export type BbRadioEvents = BaseRadioEvents;
|
|
78
86
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbRadioProps>, {
|