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 { BaseRadioGroupEvents } from '../BaseRadioGroup/BaseRadioGroup.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 '../BaseRadio/BaseRadio.vue';
|
|
5
5
|
export type BbRadioGroupEvents = BaseRadioGroupEvents;
|
|
@@ -34,15 +34,35 @@ export type BbRadioGroupProps<T> = {
|
|
|
34
34
|
* modelValue will be reset upon incoherence.
|
|
35
35
|
*/
|
|
36
36
|
enforceCoherence?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Can be a string or an array of string containing the messages to display.
|
|
39
|
+
*/
|
|
40
|
+
errors?: string | string[];
|
|
37
41
|
/**
|
|
38
42
|
* Define if the component should be in an error state.
|
|
39
43
|
* It usually attaches a CSS class for styling purposes.
|
|
40
44
|
*/
|
|
41
45
|
hasErrors?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Visually hides the label of the input while maintaining accessibility.
|
|
48
|
+
*/
|
|
49
|
+
hideLabel?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Visually hides the legend of the fieldset while maintaining accessibility.
|
|
52
|
+
*/
|
|
53
|
+
hideLegend?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Text box to be displayed near the input, usually to indicate instructions.
|
|
56
|
+
*/
|
|
57
|
+
hint?: string;
|
|
42
58
|
/**
|
|
43
59
|
* The identifier of the component.
|
|
44
60
|
*/
|
|
45
61
|
id?: HTMLAttributes['id'];
|
|
62
|
+
/**
|
|
63
|
+
* Defines the direction of the inputs in the fieldset
|
|
64
|
+
*/
|
|
65
|
+
inputDirection?: 'horizontal' | 'vertical';
|
|
46
66
|
/**
|
|
47
67
|
* Used to retrieve items can be an array or a function.
|
|
48
68
|
*/
|
|
@@ -55,6 +75,10 @@ export type BbRadioGroupProps<T> = {
|
|
|
55
75
|
* Defines a path that returns a property of the object to use as value or a function that returns any value
|
|
56
76
|
*/
|
|
57
77
|
itemValue?: T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => any) | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* Text content of the legend.
|
|
80
|
+
*/
|
|
81
|
+
legend: string;
|
|
58
82
|
/**
|
|
59
83
|
* String displayed while items are being loaded.
|
|
60
84
|
*/
|
|
@@ -82,39 +106,22 @@ export type BbRadioGroupProps<T> = {
|
|
|
82
106
|
*/
|
|
83
107
|
noDataText?: string;
|
|
84
108
|
/**
|
|
85
|
-
*
|
|
86
|
-
*/
|
|
87
|
-
readonly?: InputHTMLAttributes['readonly'];
|
|
88
|
-
/**
|
|
89
|
-
* Can be a string or an array of string containing the messages to display.
|
|
109
|
+
* Keeps the hint displayed.
|
|
90
110
|
*/
|
|
91
|
-
|
|
111
|
+
persistentHint?: boolean;
|
|
92
112
|
/**
|
|
93
|
-
*
|
|
113
|
+
* Sets the input in a readonly state.
|
|
94
114
|
*/
|
|
95
|
-
|
|
115
|
+
readonly?: InputHTMLAttributes['readonly'];
|
|
96
116
|
/**
|
|
97
117
|
* Reverses the layout. Applicable in every direction the order of the label and the input is swapped.
|
|
98
118
|
*/
|
|
99
119
|
reverse?: boolean;
|
|
100
|
-
/**
|
|
101
|
-
* Visually hides the legend of the fieldset while maintaining accessibility.
|
|
102
|
-
*/
|
|
103
|
-
hideLegend?: boolean;
|
|
104
|
-
/**
|
|
105
|
-
* Defines the direction of the inputs in the fieldset
|
|
106
|
-
*/
|
|
107
|
-
inputDirection?: 'horizontal' | 'vertical';
|
|
108
|
-
/**
|
|
109
|
-
* Text content of the legend.
|
|
110
|
-
*/
|
|
111
|
-
legend: string;
|
|
112
120
|
};
|
|
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<{
|
|
@@ -218,7 +228,6 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
218
228
|
disabled?: boolean | undefined;
|
|
219
229
|
reverse?: boolean | undefined;
|
|
220
230
|
name: string | undefined;
|
|
221
|
-
autofocus?: (boolean | "true" | "false") | undefined;
|
|
222
231
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
223
232
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
224
233
|
onChange?: ((event: Event) => any) | undefined;
|
|
@@ -227,6 +236,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
227
236
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
228
237
|
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
|
229
238
|
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
|
239
|
+
autofocus?: (boolean | "true" | "false") | undefined;
|
|
230
240
|
id?: string | undefined;
|
|
231
241
|
readonly?: (boolean | "true" | "false") | undefined;
|
|
232
242
|
hasErrors?: boolean | undefined;
|
|
@@ -249,6 +259,8 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
249
259
|
errors?: string | string[] | undefined;
|
|
250
260
|
hideLegend?: boolean | undefined;
|
|
251
261
|
inputDirection?: "horizontal" | "vertical" | undefined;
|
|
262
|
+
hint?: string | undefined;
|
|
263
|
+
persistentHint?: boolean | undefined;
|
|
252
264
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
253
265
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
254
266
|
attrs: any;
|
|
@@ -326,7 +338,6 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
326
338
|
disabled?: boolean | undefined;
|
|
327
339
|
reverse?: boolean | undefined;
|
|
328
340
|
name: string | undefined;
|
|
329
|
-
autofocus?: (boolean | "true" | "false") | undefined;
|
|
330
341
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
331
342
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
332
343
|
onChange?: ((event: Event) => any) | undefined;
|
|
@@ -335,6 +346,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
335
346
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
336
347
|
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
|
337
348
|
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
|
349
|
+
autofocus?: (boolean | "true" | "false") | undefined;
|
|
338
350
|
id?: string | undefined;
|
|
339
351
|
readonly?: (boolean | "true" | "false") | undefined;
|
|
340
352
|
hasErrors?: boolean | undefined;
|
|
@@ -357,6 +369,8 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
357
369
|
errors?: string | string[] | undefined;
|
|
358
370
|
hideLegend?: boolean | undefined;
|
|
359
371
|
inputDirection?: "horizontal" | "vertical" | undefined;
|
|
372
|
+
hint?: string | undefined;
|
|
373
|
+
persistentHint?: boolean | undefined;
|
|
360
374
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
361
375
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
362
376
|
attrs: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BaseRatingEvents, BaseRatingSlots } from '../BaseRating/BaseRating.vue';
|
|
2
2
|
import type { BbIconProps } from '../BbIcon/BbIcon.vue';
|
|
3
|
-
import type
|
|
3
|
+
import { type HTMLAttributes, type InputHTMLAttributes } from 'vue';
|
|
4
4
|
export type BbRatingProps = {
|
|
5
5
|
/**
|
|
6
6
|
* Sets autofocus on page load.
|
|
@@ -29,10 +29,18 @@ export type BbRatingProps = {
|
|
|
29
29
|
* Used by v-model
|
|
30
30
|
*/
|
|
31
31
|
modelValue: null | number;
|
|
32
|
+
/**
|
|
33
|
+
* Text box to be displayed near the input, usually to indicate instructions.
|
|
34
|
+
*/
|
|
35
|
+
hint?: string;
|
|
32
36
|
/**
|
|
33
37
|
* Defines the name of the input.
|
|
34
38
|
*/
|
|
35
39
|
name: Exclude<InputHTMLAttributes['name'], undefined>;
|
|
40
|
+
/**
|
|
41
|
+
* Keeps the hint displayed.
|
|
42
|
+
*/
|
|
43
|
+
persistentHint?: boolean;
|
|
36
44
|
/**
|
|
37
45
|
* Sets the input in a readonly state.
|
|
38
46
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BaseSelectEvents } from '../BaseSelect/BaseSelect.vue';
|
|
2
2
|
import type { NestedKeyOf } from '../../types/NestedKeyOf';
|
|
3
|
-
import type
|
|
3
|
+
import { type HTMLAttributes, type InputHTMLAttributes } from 'vue';
|
|
4
4
|
export type BbSelectProps<T> = {
|
|
5
5
|
/**
|
|
6
6
|
* Allows the user to add options to the list by
|
|
@@ -74,6 +74,10 @@ export type BbSelectProps<T> = {
|
|
|
74
74
|
* Visually hides the label of the input while maintaining accessibility.
|
|
75
75
|
*/
|
|
76
76
|
hideLabel?: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Text box to be displayed near the input, usually to indicate instructions.
|
|
79
|
+
*/
|
|
80
|
+
hint?: string;
|
|
77
81
|
/**
|
|
78
82
|
* The identifier of the component.
|
|
79
83
|
*/
|
|
@@ -128,6 +132,10 @@ export type BbSelectProps<T> = {
|
|
|
128
132
|
* String displayed when there are no items to display.
|
|
129
133
|
*/
|
|
130
134
|
noDataText?: string;
|
|
135
|
+
/**
|
|
136
|
+
* Keeps the hint displayed.
|
|
137
|
+
*/
|
|
138
|
+
persistentHint?: boolean;
|
|
131
139
|
/**
|
|
132
140
|
* String displayed when there's no data.
|
|
133
141
|
*/
|
|
@@ -233,12 +241,12 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
233
241
|
disabled?: boolean | undefined;
|
|
234
242
|
reverse?: boolean | undefined;
|
|
235
243
|
name?: string | undefined;
|
|
236
|
-
autofocus?: (boolean | "true" | "false") | undefined;
|
|
237
244
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
238
245
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
239
246
|
onChange?: ((event: Event) => any) | undefined;
|
|
240
247
|
onInput?: ((event: Event) => any) | undefined;
|
|
241
248
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
249
|
+
autofocus?: (boolean | "true" | "false") | undefined;
|
|
242
250
|
id?: string | undefined;
|
|
243
251
|
readonly?: (boolean | "true" | "false") | undefined;
|
|
244
252
|
hasErrors?: boolean | undefined;
|
|
@@ -266,6 +274,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
266
274
|
transitionDuration?: number | undefined;
|
|
267
275
|
errors?: string | string[] | undefined;
|
|
268
276
|
labelPosition?: "left" | "center" | "right" | undefined;
|
|
277
|
+
hint?: string | undefined;
|
|
269
278
|
addOptions?: boolean | undefined;
|
|
270
279
|
comma?: boolean | undefined;
|
|
271
280
|
filterBy?: string | false | string[] | ((value: any, item: T) => boolean) | null | undefined;
|
|
@@ -273,6 +282,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
273
282
|
resetQueryOnOptionSelected?: boolean | undefined;
|
|
274
283
|
stash?: boolean | undefined;
|
|
275
284
|
updateOnAnimationFrame?: boolean | undefined;
|
|
285
|
+
persistentHint?: boolean | undefined;
|
|
276
286
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
277
287
|
attrs: any;
|
|
278
288
|
slots: Readonly<BbSelectSlots<T>> & BbSelectSlots<T>;
|
|
@@ -282,12 +292,12 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
282
292
|
disabled?: boolean | undefined;
|
|
283
293
|
reverse?: boolean | undefined;
|
|
284
294
|
name?: string | undefined;
|
|
285
|
-
autofocus?: (boolean | "true" | "false") | undefined;
|
|
286
295
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
287
296
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
288
297
|
onChange?: ((event: Event) => any) | undefined;
|
|
289
298
|
onInput?: ((event: Event) => any) | undefined;
|
|
290
299
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
300
|
+
autofocus?: (boolean | "true" | "false") | undefined;
|
|
291
301
|
id?: string | undefined;
|
|
292
302
|
readonly?: (boolean | "true" | "false") | undefined;
|
|
293
303
|
hasErrors?: boolean | undefined;
|
|
@@ -315,6 +325,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
315
325
|
transitionDuration?: number | undefined;
|
|
316
326
|
errors?: string | string[] | undefined;
|
|
317
327
|
labelPosition?: "left" | "center" | "right" | undefined;
|
|
328
|
+
hint?: string | undefined;
|
|
318
329
|
addOptions?: boolean | undefined;
|
|
319
330
|
comma?: boolean | undefined;
|
|
320
331
|
filterBy?: string | false | string[] | ((value: any, item: T) => boolean) | null | undefined;
|
|
@@ -322,6 +333,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
322
333
|
resetQueryOnOptionSelected?: boolean | undefined;
|
|
323
334
|
stash?: boolean | undefined;
|
|
324
335
|
updateOnAnimationFrame?: boolean | undefined;
|
|
336
|
+
persistentHint?: boolean | undefined;
|
|
325
337
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
326
338
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
327
339
|
attrs: any;
|
|
@@ -335,12 +347,12 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
335
347
|
disabled?: boolean | undefined;
|
|
336
348
|
reverse?: boolean | undefined;
|
|
337
349
|
name?: string | undefined;
|
|
338
|
-
autofocus?: (boolean | "true" | "false") | undefined;
|
|
339
350
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
340
351
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
341
352
|
onChange?: ((event: Event) => any) | undefined;
|
|
342
353
|
onInput?: ((event: Event) => any) | undefined;
|
|
343
354
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
355
|
+
autofocus?: (boolean | "true" | "false") | undefined;
|
|
344
356
|
id?: string | undefined;
|
|
345
357
|
readonly?: (boolean | "true" | "false") | undefined;
|
|
346
358
|
hasErrors?: boolean | undefined;
|
|
@@ -368,6 +380,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
368
380
|
transitionDuration?: number | undefined;
|
|
369
381
|
errors?: string | string[] | undefined;
|
|
370
382
|
labelPosition?: "left" | "center" | "right" | undefined;
|
|
383
|
+
hint?: string | undefined;
|
|
371
384
|
addOptions?: boolean | undefined;
|
|
372
385
|
comma?: boolean | undefined;
|
|
373
386
|
filterBy?: string | false | string[] | ((value: any, item: T) => boolean) | null | undefined;
|
|
@@ -375,6 +388,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
375
388
|
resetQueryOnOptionSelected?: boolean | undefined;
|
|
376
389
|
stash?: boolean | undefined;
|
|
377
390
|
updateOnAnimationFrame?: boolean | undefined;
|
|
391
|
+
persistentHint?: boolean | undefined;
|
|
378
392
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
379
393
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
380
394
|
attrs: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseSliderEvents, BaseSliderSlots } from '../BaseSlider/BaseSlider.vue';
|
|
2
|
-
import type
|
|
2
|
+
import { type HTMLAttributes, type InputHTMLAttributes } from 'vue';
|
|
3
3
|
export type BbSliderProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Sets autofocus on page load.
|
|
@@ -32,6 +32,10 @@ export type BbSliderProps = {
|
|
|
32
32
|
* Visually hides the label of the input while maintaining accessibility.
|
|
33
33
|
*/
|
|
34
34
|
hideLabel?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Text box to be displayed near the input, usually to indicate instructions.
|
|
37
|
+
*/
|
|
38
|
+
hint?: string;
|
|
35
39
|
/**
|
|
36
40
|
* The identifier of the component.
|
|
37
41
|
*/
|
|
@@ -55,11 +59,20 @@ export type BbSliderProps = {
|
|
|
55
59
|
/**
|
|
56
60
|
* Used by v-model.
|
|
57
61
|
*/
|
|
58
|
-
modelValue: number | string | null;
|
|
62
|
+
modelValue: number[] | number | string | null;
|
|
59
63
|
/**
|
|
60
64
|
* Defines the name of the input.
|
|
61
65
|
*/
|
|
62
66
|
name?: InputHTMLAttributes['name'];
|
|
67
|
+
/**
|
|
68
|
+
* Keeps the hint displayed.
|
|
69
|
+
*/
|
|
70
|
+
persistentHint?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Set the input as range.
|
|
73
|
+
* modelValue must be an array
|
|
74
|
+
*/
|
|
75
|
+
range?: boolean;
|
|
63
76
|
/**
|
|
64
77
|
* Sets the input in a readonly state.
|
|
65
78
|
*/
|
|
@@ -72,31 +85,43 @@ export type BbSliderProps = {
|
|
|
72
85
|
* The step attribute is a number that specifies the granularity that the value must adhere to.
|
|
73
86
|
*/
|
|
74
87
|
step?: number;
|
|
88
|
+
/**
|
|
89
|
+
* Proportionally translates the thumb so it remains on track. Set it to false when displaying ticks so they align with less effort.
|
|
90
|
+
*/
|
|
91
|
+
thumbTranslate?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Displays ticks on step
|
|
94
|
+
*/
|
|
95
|
+
ticks?: boolean;
|
|
75
96
|
};
|
|
76
97
|
export type BbSliderEvents = BaseSliderEvents;
|
|
77
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<BbSliderProps>, {
|
|
98
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbSliderProps>, {
|
|
99
|
+
thumbTranslate: boolean;
|
|
100
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
78
101
|
click: (event: MouseEvent) => void;
|
|
79
|
-
end: (value: string | number | null) => void;
|
|
80
102
|
focus: (event: FocusEvent) => void;
|
|
103
|
+
active: () => void;
|
|
81
104
|
inactive: () => void;
|
|
82
105
|
keydown: (event: KeyboardEvent) => void;
|
|
83
106
|
pointerdown: (event: PointerEvent) => void;
|
|
84
107
|
pointermove: (event: PointerEvent) => void;
|
|
85
108
|
pointerup: (event: PointerEvent) => void;
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
109
|
+
"update:modelValue": (event: number | number[]) => void;
|
|
110
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbSliderProps>, {
|
|
111
|
+
thumbTranslate: boolean;
|
|
112
|
+
}>>> & {
|
|
90
113
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
91
114
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
92
115
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
93
116
|
onPointerdown?: ((event: PointerEvent) => any) | undefined;
|
|
94
117
|
onPointermove?: ((event: PointerEvent) => any) | undefined;
|
|
95
118
|
onPointerup?: ((event: PointerEvent) => any) | undefined;
|
|
96
|
-
"onUpdate:modelValue"?: ((event: number) => any) | undefined;
|
|
119
|
+
"onUpdate:modelValue"?: ((event: number | number[]) => any) | undefined;
|
|
97
120
|
onInactive?: (() => any) | undefined;
|
|
98
|
-
|
|
99
|
-
}, {
|
|
121
|
+
onActive?: (() => any) | undefined;
|
|
122
|
+
}, {
|
|
123
|
+
thumbTranslate: boolean;
|
|
124
|
+
}, {}>, Readonly<BaseSliderSlots & {
|
|
100
125
|
label?: ((props: {
|
|
101
126
|
text: string;
|
|
102
127
|
hasErrors: boolean;
|
|
@@ -117,6 +142,14 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
117
142
|
required: true;
|
|
118
143
|
};
|
|
119
144
|
};
|
|
145
|
+
type __VLS_WithDefaults<P, D> = {
|
|
146
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
147
|
+
default: D[K];
|
|
148
|
+
}> : P[K];
|
|
149
|
+
};
|
|
150
|
+
type __VLS_Prettify<T> = {
|
|
151
|
+
[K in keyof T]: T[K];
|
|
152
|
+
} & {};
|
|
120
153
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
121
154
|
new (): {
|
|
122
155
|
$slots: S;
|
|
@@ -6,7 +6,6 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
6
6
|
disabled?: boolean | undefined;
|
|
7
7
|
reverse?: boolean | undefined;
|
|
8
8
|
name?: string | undefined;
|
|
9
|
-
autofocus?: (boolean | "true" | "false") | undefined;
|
|
10
9
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
11
10
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
12
11
|
onChange?: ((event: Event) => any) | undefined;
|
|
@@ -15,6 +14,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
15
14
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
16
15
|
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
|
17
16
|
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
|
17
|
+
autofocus?: (boolean | "true" | "false") | undefined;
|
|
18
18
|
id?: string | undefined;
|
|
19
19
|
readonly?: (boolean | "true" | "false") | undefined;
|
|
20
20
|
hasErrors?: boolean | undefined;
|
|
@@ -37,6 +37,8 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
37
37
|
errors?: string | string[] | undefined;
|
|
38
38
|
hideLegend?: boolean | undefined;
|
|
39
39
|
inputDirection?: "horizontal" | "vertical" | undefined;
|
|
40
|
+
hint?: string | undefined;
|
|
41
|
+
persistentHint?: boolean | undefined;
|
|
40
42
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
41
43
|
attrs: any;
|
|
42
44
|
slots: Readonly<{
|
|
@@ -94,7 +96,6 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
94
96
|
disabled?: boolean | undefined;
|
|
95
97
|
reverse?: boolean | undefined;
|
|
96
98
|
name?: string | undefined;
|
|
97
|
-
autofocus?: (boolean | "true" | "false") | undefined;
|
|
98
99
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
99
100
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
100
101
|
onChange?: ((event: Event) => any) | undefined;
|
|
@@ -103,6 +104,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
103
104
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
104
105
|
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
|
105
106
|
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
|
107
|
+
autofocus?: (boolean | "true" | "false") | undefined;
|
|
106
108
|
id?: string | undefined;
|
|
107
109
|
readonly?: (boolean | "true" | "false") | undefined;
|
|
108
110
|
hasErrors?: boolean | undefined;
|
|
@@ -125,6 +127,8 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
125
127
|
errors?: string | string[] | undefined;
|
|
126
128
|
hideLegend?: boolean | undefined;
|
|
127
129
|
inputDirection?: "horizontal" | "vertical" | undefined;
|
|
130
|
+
hint?: string | undefined;
|
|
131
|
+
persistentHint?: boolean | undefined;
|
|
128
132
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
129
133
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
130
134
|
attrs: any;
|
|
@@ -186,7 +190,6 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
186
190
|
disabled?: boolean | undefined;
|
|
187
191
|
reverse?: boolean | undefined;
|
|
188
192
|
name?: string | undefined;
|
|
189
|
-
autofocus?: (boolean | "true" | "false") | undefined;
|
|
190
193
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
191
194
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
192
195
|
onChange?: ((event: Event) => any) | undefined;
|
|
@@ -195,6 +198,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
195
198
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
196
199
|
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
|
197
200
|
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
|
201
|
+
autofocus?: (boolean | "true" | "false") | undefined;
|
|
198
202
|
id?: string | undefined;
|
|
199
203
|
readonly?: (boolean | "true" | "false") | undefined;
|
|
200
204
|
hasErrors?: boolean | undefined;
|
|
@@ -217,6 +221,8 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
217
221
|
errors?: string | string[] | undefined;
|
|
218
222
|
hideLegend?: boolean | undefined;
|
|
219
223
|
inputDirection?: "horizontal" | "vertical" | undefined;
|
|
224
|
+
hint?: string | undefined;
|
|
225
|
+
persistentHint?: boolean | undefined;
|
|
220
226
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
221
227
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
222
228
|
attrs: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseTagEvents } from '../BaseTag/BaseTag.vue';
|
|
2
|
-
import type
|
|
2
|
+
import { type HTMLAttributes, type InputHTMLAttributes } from 'vue';
|
|
3
3
|
export type BbTagProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Guides to the browser as to the type of information expected in the field.
|
|
@@ -40,6 +40,10 @@ export type BbTagProps = {
|
|
|
40
40
|
* Visually hides the label of the input while maintaining accessibility.
|
|
41
41
|
*/
|
|
42
42
|
hideLabel?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Text box to be displayed near the input, usually to indicate instructions.
|
|
45
|
+
*/
|
|
46
|
+
hint?: string;
|
|
43
47
|
/**
|
|
44
48
|
* The identifier of the component.
|
|
45
49
|
*/
|
|
@@ -64,6 +68,10 @@ export type BbTagProps = {
|
|
|
64
68
|
* Defines the name of the input.
|
|
65
69
|
*/
|
|
66
70
|
name?: InputHTMLAttributes['name'];
|
|
71
|
+
/**
|
|
72
|
+
* Keeps the hint displayed.
|
|
73
|
+
*/
|
|
74
|
+
persistentHint?: boolean;
|
|
67
75
|
/**
|
|
68
76
|
* String displayed when there's no data.
|
|
69
77
|
*/
|
|
@@ -81,12 +89,12 @@ export type BbTagEvents = BaseTagEvents;
|
|
|
81
89
|
export type BbTagSlots = {
|
|
82
90
|
append?: (props: object) => any;
|
|
83
91
|
'append-outer'?: (props: object) => any;
|
|
84
|
-
prepend?: (props: object) => any;
|
|
85
|
-
'prepend-outer'?: (props: object) => any;
|
|
86
92
|
label?: (props: {
|
|
87
93
|
text: string;
|
|
88
94
|
hasErrors: boolean;
|
|
89
95
|
}) => any;
|
|
96
|
+
prepend?: (props: object) => any;
|
|
97
|
+
'prepend-outer'?: (props: object) => any;
|
|
90
98
|
};
|
|
91
99
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbTagProps>, {
|
|
92
100
|
multiple: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
|
2
1
|
import type { BaseTextInputEvents, BaseTextInputSlots } from '../BaseTextInput/BaseTextInput.vue';
|
|
2
|
+
import type { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
|
3
3
|
export type BbTextInputProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Guides to the browser as to the type of information expected in the field.
|
|
@@ -9,63 +9,71 @@ export type BbTextInputProps = {
|
|
|
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;
|
|
21
29
|
/**
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
id?: HTMLAttributes['id'];
|
|
25
|
-
/**
|
|
26
|
-
* Defines the name of the input.
|
|
30
|
+
* Visually hides the label of the input while maintaining accessibility.
|
|
27
31
|
*/
|
|
28
|
-
|
|
32
|
+
hideLabel?: boolean;
|
|
29
33
|
/**
|
|
30
|
-
*
|
|
34
|
+
* Text box to be displayed near the input, usually to indicate instructions.
|
|
31
35
|
*/
|
|
32
|
-
|
|
36
|
+
hint?: string;
|
|
33
37
|
/**
|
|
34
|
-
*
|
|
38
|
+
* The identifier of the component.
|
|
35
39
|
*/
|
|
36
|
-
|
|
40
|
+
id?: HTMLAttributes['id'];
|
|
37
41
|
/**
|
|
38
|
-
*
|
|
42
|
+
* Text content of the label of the element.
|
|
39
43
|
*/
|
|
40
|
-
|
|
44
|
+
label: string;
|
|
41
45
|
/**
|
|
42
|
-
*
|
|
46
|
+
* Sets the text alignment of the label.
|
|
43
47
|
*/
|
|
44
|
-
|
|
48
|
+
labelPosition?: 'left' | 'center' | 'right';
|
|
45
49
|
/**
|
|
46
|
-
*
|
|
50
|
+
* Used my v-model
|
|
47
51
|
*/
|
|
48
|
-
|
|
52
|
+
modelValue: string | null;
|
|
49
53
|
/**
|
|
50
|
-
*
|
|
54
|
+
* Defines the name of the input.
|
|
51
55
|
*/
|
|
52
|
-
|
|
56
|
+
name?: InputHTMLAttributes['name'];
|
|
53
57
|
/**
|
|
54
|
-
*
|
|
58
|
+
* Keeps the hint displayed.
|
|
55
59
|
*/
|
|
56
|
-
|
|
60
|
+
persistentHint?: boolean;
|
|
57
61
|
/**
|
|
58
|
-
*
|
|
62
|
+
* String displayed when there's no data.
|
|
59
63
|
*/
|
|
60
|
-
|
|
64
|
+
placeholder?: InputHTMLAttributes['placeholder'];
|
|
61
65
|
/**
|
|
62
|
-
* Sets the
|
|
66
|
+
* Sets the input in a readonly state.
|
|
63
67
|
*/
|
|
64
|
-
|
|
68
|
+
readonly?: InputHTMLAttributes['readonly'];
|
|
65
69
|
/**
|
|
66
70
|
* Reverses the layout. Applicable in every direction the order of the label and the input is swapped.
|
|
67
71
|
*/
|
|
68
72
|
reverse?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Type of the input. Returns the content type of the object.
|
|
75
|
+
*/
|
|
76
|
+
type?: HTMLInputElement['type'];
|
|
69
77
|
};
|
|
70
78
|
export type BbTextInputEvents = BaseTextInputEvents;
|
|
71
79
|
export type BbTextInputSlots = BaseTextInputSlots & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseTextareaEvents, BaseTextareaSlots } from '../BaseTextarea/BaseTextarea.vue';
|
|
2
|
-
import type
|
|
2
|
+
import { type HTMLAttributes, type InputHTMLAttributes } from 'vue';
|
|
3
3
|
export type BbTextareaProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Guides to the browser as to the type of information expected in the field.
|
|
@@ -34,6 +34,10 @@ export type BbTextareaProps = {
|
|
|
34
34
|
* Visually hides the label of the input while maintaining accessibility.
|
|
35
35
|
*/
|
|
36
36
|
hideLabel?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Text box to be displayed near the input, usually to indicate instructions.
|
|
39
|
+
*/
|
|
40
|
+
hint?: string;
|
|
37
41
|
/**
|
|
38
42
|
* The identifier of the component.
|
|
39
43
|
*/
|
|
@@ -54,6 +58,10 @@ export type BbTextareaProps = {
|
|
|
54
58
|
* Defines the name of the input.
|
|
55
59
|
*/
|
|
56
60
|
name?: InputHTMLAttributes['name'];
|
|
61
|
+
/**
|
|
62
|
+
* Keeps the hint displayed.
|
|
63
|
+
*/
|
|
64
|
+
persistentHint?: boolean;
|
|
57
65
|
/**
|
|
58
66
|
* String displayed when there's no data.
|
|
59
67
|
*/
|