bitboss-ui 0.2.76 → 1.0.1
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/index197.js +3 -2
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +3 -3
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +2 -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 +4 -368
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +2 -134
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +2 -5
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +2 -19
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +121 -2
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +2 -2
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +2 -174
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +6 -23
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +345 -350
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +371 -14
- package/dist/index209.js.map +1 -1
- package/dist/index21.js +1 -115
- package/dist/index21.js.map +1 -1
- package/dist/index210.js +3 -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 +130 -25
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +5 -8
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +18 -234
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +174 -3
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +16 -35
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +16 -6
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +20 -2
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +29 -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 +8 -4
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +226 -112
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +10 -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 +224 -17
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +253 -74
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +4 -2
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +6 -160
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +19 -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 +106 -5
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +433 -67
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +83 -218
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +74 -253
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +2 -6
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +69 -2
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +163 -294
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +1 -4
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +117 -2
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +199 -116
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +119 -1
- package/dist/index24.js.map +1 -1
- package/dist/index240.js +5 -105
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +2 -15
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +295 -2
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +2 -2
- package/dist/index245.js +5 -2
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +2 -435
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +2 -89
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +2 -200
- 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 +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 +2 -2
package/dist/index104.js
CHANGED
|
@@ -1,2 +1,104 @@
|
|
|
1
|
-
|
|
1
|
+
import { defineComponent as y, ref as f, computed as B, openBlock as k, createBlock as g, withCtx as l, renderSlot as r, normalizeProps as i, guardReactiveProps as n, createVNode as w, mergeProps as V } from "vue";
|
|
2
|
+
import $ from "./index22.js";
|
|
3
|
+
import "./index23.js";
|
|
4
|
+
import P from "./index236.js";
|
|
5
|
+
import "./index237.js";
|
|
6
|
+
const z = /* @__PURE__ */ y({
|
|
7
|
+
__name: "BbTag",
|
|
8
|
+
props: {
|
|
9
|
+
autocomplete: {},
|
|
10
|
+
autofocus: {},
|
|
11
|
+
comma: { type: Boolean },
|
|
12
|
+
direction: {},
|
|
13
|
+
disabled: { type: Boolean },
|
|
14
|
+
divider: {},
|
|
15
|
+
errors: {},
|
|
16
|
+
hasErrors: { type: Boolean },
|
|
17
|
+
hideLabel: { type: Boolean },
|
|
18
|
+
hint: {},
|
|
19
|
+
id: {},
|
|
20
|
+
label: {},
|
|
21
|
+
labelPosition: {},
|
|
22
|
+
modelValue: {},
|
|
23
|
+
multiple: { type: Boolean, default: !0 },
|
|
24
|
+
name: {},
|
|
25
|
+
persistentHint: { type: Boolean },
|
|
26
|
+
placeholder: {},
|
|
27
|
+
readonly: {},
|
|
28
|
+
reverse: { type: Boolean }
|
|
29
|
+
},
|
|
30
|
+
emits: ["blur", "change", "click", "duplicate", "focus", "inactive", "input", "keydown", "keyup", "update:modelValue"],
|
|
31
|
+
setup(d, { emit: p }) {
|
|
32
|
+
const u = d, o = p, s = f(!1), m = B(() => u.persistentHint || s.value), c = {
|
|
33
|
+
onBlur: (e) => o("blur", e),
|
|
34
|
+
onChange: (e) => o("change", e),
|
|
35
|
+
onClick: (e) => o("click", e),
|
|
36
|
+
onDuplicate: (e) => o("duplicate", e),
|
|
37
|
+
onFocus: (e) => {
|
|
38
|
+
s.value = !0, o("focus", e);
|
|
39
|
+
},
|
|
40
|
+
onInactive: () => {
|
|
41
|
+
s.value = !1, o("inactive");
|
|
42
|
+
},
|
|
43
|
+
onInput: (e) => o("input", e),
|
|
44
|
+
onKeydown: (e) => o("keydown", e),
|
|
45
|
+
onKeyup: (e) => o("keyup", e),
|
|
46
|
+
"onUpdate:modelValue": (e) => o("update:modelValue", e)
|
|
47
|
+
};
|
|
48
|
+
return (e, C) => (k(), g($, {
|
|
49
|
+
direction: e.direction,
|
|
50
|
+
errors: e.errors,
|
|
51
|
+
"has-errors": e.hasErrors,
|
|
52
|
+
"hide-label": e.hideLabel,
|
|
53
|
+
hint: e.hint,
|
|
54
|
+
id: e.id,
|
|
55
|
+
"label-position": e.labelPosition,
|
|
56
|
+
label: e.label,
|
|
57
|
+
"model-value": e.modelValue,
|
|
58
|
+
name: e.name,
|
|
59
|
+
reverse: e.reverse,
|
|
60
|
+
"show-hint": m.value,
|
|
61
|
+
class: "bb-tag"
|
|
62
|
+
}, {
|
|
63
|
+
label: l((t) => [
|
|
64
|
+
r(e.$slots, "label", i(n(t)))
|
|
65
|
+
]),
|
|
66
|
+
input: l(({ id: t, name: h, hasErrors: b, ariaDescribedby: v }) => [
|
|
67
|
+
w(P, V({
|
|
68
|
+
"aria-describedby": v,
|
|
69
|
+
autocomplete: e.autocomplete,
|
|
70
|
+
autofocus: e.autofocus,
|
|
71
|
+
comma: e.comma,
|
|
72
|
+
disabled: e.disabled,
|
|
73
|
+
divider: e.divider,
|
|
74
|
+
"has-errors": b,
|
|
75
|
+
id: t,
|
|
76
|
+
"model-value": e.modelValue,
|
|
77
|
+
multiple: e.multiple,
|
|
78
|
+
name: h,
|
|
79
|
+
placeholder: e.placeholder,
|
|
80
|
+
readonly: e.readonly
|
|
81
|
+
}, c), {
|
|
82
|
+
"prepend-outer": l((a) => [
|
|
83
|
+
r(e.$slots, "prepend-outer", i(n(a)))
|
|
84
|
+
]),
|
|
85
|
+
prepend: l((a) => [
|
|
86
|
+
r(e.$slots, "prepend", i(n(a)))
|
|
87
|
+
]),
|
|
88
|
+
"append-outer": l((a) => [
|
|
89
|
+
r(e.$slots, "append-outer", i(n(a)))
|
|
90
|
+
]),
|
|
91
|
+
append: l((a) => [
|
|
92
|
+
r(e.$slots, "append", i(n(a)))
|
|
93
|
+
]),
|
|
94
|
+
_: 2
|
|
95
|
+
}, 1040, ["aria-describedby", "autocomplete", "autofocus", "comma", "disabled", "divider", "has-errors", "id", "model-value", "multiple", "name", "placeholder", "readonly"])
|
|
96
|
+
]),
|
|
97
|
+
_: 3
|
|
98
|
+
}, 8, ["direction", "errors", "has-errors", "hide-label", "hint", "id", "label-position", "label", "model-value", "name", "reverse", "show-hint"]));
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
export {
|
|
102
|
+
z as default
|
|
103
|
+
};
|
|
2
104
|
//# sourceMappingURL=index104.js.map
|
package/dist/index104.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index104.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index104.js","sources":["../src/components/BbTag/BbTag.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:label-position=\"labelPosition\"\n\t\t:label=\"label\"\n\t\t:model-value=\"modelValue\"\n\t\t:name=\"name\"\n\t\t:reverse=\"reverse\"\n\t\t:show-hint=\"showHint\"\n\t\tclass=\"bb-tag\"\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<BaseTag\n\t\t\t\t:aria-describedby=\"ariaDescribedby\"\n\t\t\t\t:autocomplete=\"autocomplete\"\n\t\t\t\t:autofocus=\"autofocus\"\n\t\t\t\t:comma=\"comma\"\n\t\t\t\t:disabled=\"disabled\"\n\t\t\t\t:divider=\"divider\"\n\t\t\t\t:has-errors=\"hasErrors\"\n\t\t\t\t:id=\"id\"\n\t\t\t\t:model-value=\"modelValue\"\n\t\t\t\t:multiple=\"multiple\"\n\t\t\t\t:name=\"name\"\n\t\t\t\t:placeholder=\"placeholder\"\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-outer=\"data\"\n\t\t\t\t\t><slot name=\"prepend-outer\" v-bind=\"data\"\n\t\t\t\t/></template>\n\t\t\t\t<template #prepend=\"data\"\n\t\t\t\t\t><slot name=\"prepend\" v-bind=\"data\"\n\t\t\t\t/></template>\n\t\t\t\t<template #append-outer=\"data\"\n\t\t\t\t\t><slot name=\"append-outer\" v-bind=\"data\"\n\t\t\t\t/></template>\n\t\t\t\t<template #append=\"data\"><slot name=\"append\" v-bind=\"data\" /></template>\n\t\t\t</BaseTag>\n\t\t</template>\n\t</BaseInputContainer>\n</template>\n\n<script setup lang=\"ts\">\nimport BaseInputContainer from '../BaseInputContainer/BaseInputContainer.vue';\nimport BaseTag from '../BaseTag/BaseTag.vue';\nimport type { BaseTagEvents } from '../BaseTag/BaseTag.vue';\nimport {\n\tref,\n\ttype HTMLAttributes,\n\ttype InputHTMLAttributes,\n\tcomputed,\n} from 'vue';\n\nexport type BbTagProps = {\n\t/**\n\t * Guides to the browser as to the type of information expected in the field.\n\t */\n\tautocomplete?: InputHTMLAttributes['autocomplete'];\n\n\t/**\n\t * Sets autofocus on page load.\n\t */\n\tautofocus?: InputHTMLAttributes['autofocus'];\n\n\t/**\n\t * Sets the display model for selected values to a list\n\t * of comma separated string. In this mode the user\n\t * cannot deselect an option by pressing the close button.\n\t */\n\tcomma?: boolean;\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 * The divider key used to separate values from one another. By default it is \"Enter\"\n\t */\n\tdivider?: KeyboardEvent['key'];\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 * 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 * 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 * Allows the selection of multiple items.\n\t */\n\tmultiple?: boolean;\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 * String displayed when there's no data.\n\t */\n\tplaceholder?: InputHTMLAttributes['placeholder'];\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\nconst props = withDefaults(defineProps<BbTagProps>(), {\n\tmultiple: true,\n});\n\nexport type BbTagEvents = BaseTagEvents;\n\nconst emit = defineEmits<BbTagEvents>();\n\nexport type BbTagSlots = {\n\tappend?: (props: object) => any;\n\n\t'append-outer'?: (props: object) => any;\n\n\tlabel?: (props: { text: string; hasErrors: boolean }) => any;\n\n\tprepend?: (props: object) => any;\n\n\t'prepend-outer'?: (props: object) => any;\n};\n\ndefineSlots<BbTagSlots>();\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\tonDuplicate: (string: string) => emit('duplicate', string),\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\tonKeyup: (event: KeyboardEvent) => emit('keyup', event),\n\t'onUpdate:modelValue': (value: any) => emit('update:modelValue', value),\n};\n</script>\n\n<style lang=\"postcss\">\n@import '@/assets/css/BbTag';\n</style>\n"],"names":["props","__props","emit","__emit","active","ref","showHint","computed","eventListeners","event","string","value"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqKA,UAAMA,IAAQC,GAMRC,IAAOC,GAgBPC,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,aAAa,CAACC,MAAmBR,EAAK,aAAaQ,CAAM;AAAA,MACzD,SAAS,CAACD,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,SAAS,CAACA,MAAyBP,EAAK,SAASO,CAAK;AAAA,MACtD,uBAAuB,CAACE,MAAeT,EAAK,qBAAqBS,CAAK;AAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index105.js
CHANGED
|
@@ -1,89 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import f from "./index21.js";
|
|
3
|
-
import "./index22.js";
|
|
4
|
-
import y from "./index39.js";
|
|
5
|
-
import "./index40.js";
|
|
6
|
-
const P = /* @__PURE__ */ u({
|
|
7
|
-
__name: "BbTextarea",
|
|
8
|
-
props: {
|
|
9
|
-
autocomplete: {},
|
|
10
|
-
autofocus: {},
|
|
11
|
-
autoGrow: { type: Boolean },
|
|
12
|
-
direction: {},
|
|
13
|
-
disabled: { type: Boolean },
|
|
14
|
-
errors: {},
|
|
15
|
-
hasErrors: { type: Boolean },
|
|
16
|
-
hideLabel: { type: Boolean },
|
|
17
|
-
id: {},
|
|
18
|
-
label: {},
|
|
19
|
-
labelPosition: {},
|
|
20
|
-
modelValue: {},
|
|
21
|
-
name: {},
|
|
22
|
-
placeholder: {},
|
|
23
|
-
readonly: {},
|
|
24
|
-
reverse: { type: Boolean }
|
|
25
|
-
},
|
|
26
|
-
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
|
27
|
-
setup(w, { emit: n }) {
|
|
28
|
-
const o = n, s = {
|
|
29
|
-
onBlur: (e) => o("blur", e),
|
|
30
|
-
onChange: (e) => o("change", e),
|
|
31
|
-
onClick: (e) => o("click", e),
|
|
32
|
-
onFocus: (e) => o("focus", e),
|
|
33
|
-
onInput: (e) => o("input", e),
|
|
34
|
-
onKeydown: (e) => o("keydown", e),
|
|
35
|
-
onMousedown: (e) => o("mousedown", e),
|
|
36
|
-
onMouseup: (e) => o("mouseup", e),
|
|
37
|
-
"onUpdate:modelValue": (e) => o("update:modelValue", e)
|
|
38
|
-
};
|
|
39
|
-
return (e, v) => (i(), t(f, {
|
|
40
|
-
id: e.id,
|
|
41
|
-
class: "bb-textarea",
|
|
42
|
-
direction: e.direction,
|
|
43
|
-
errors: e.errors,
|
|
44
|
-
"has-errors": e.hasErrors,
|
|
45
|
-
"hide-label": e.hideLabel,
|
|
46
|
-
label: e.label,
|
|
47
|
-
"label-position": e.labelPosition,
|
|
48
|
-
"model-value": e.modelValue,
|
|
49
|
-
name: e.name,
|
|
50
|
-
reverse: e.reverse
|
|
51
|
-
}, {
|
|
52
|
-
label: r((l) => [
|
|
53
|
-
a(e.$slots, "label", m(b(l)))
|
|
54
|
-
]),
|
|
55
|
-
input: r(({ id: l, name: d, hasErrors: p }) => [
|
|
56
|
-
h(y, c({
|
|
57
|
-
id: l,
|
|
58
|
-
"auto-grow": e.autoGrow,
|
|
59
|
-
autofocus: e.autofocus,
|
|
60
|
-
disabled: e.disabled,
|
|
61
|
-
"has-errors": p,
|
|
62
|
-
"model-value": e.modelValue,
|
|
63
|
-
name: d,
|
|
64
|
-
placeholder: e.placeholder,
|
|
65
|
-
readonly: e.readonly
|
|
66
|
-
}, s), {
|
|
67
|
-
"append-outer": r(() => [
|
|
68
|
-
a(e.$slots, "append-outer")
|
|
69
|
-
]),
|
|
70
|
-
append: r(() => [
|
|
71
|
-
a(e.$slots, "append")
|
|
72
|
-
]),
|
|
73
|
-
prepend: r(() => [
|
|
74
|
-
a(e.$slots, "prepend")
|
|
75
|
-
]),
|
|
76
|
-
"prepend-outer": r(() => [
|
|
77
|
-
a(e.$slots, "prepend-outer")
|
|
78
|
-
]),
|
|
79
|
-
_: 2
|
|
80
|
-
}, 1040, ["id", "auto-grow", "autofocus", "disabled", "has-errors", "model-value", "name", "placeholder", "readonly"])
|
|
81
|
-
]),
|
|
82
|
-
_: 3
|
|
83
|
-
}, 8, ["id", "direction", "errors", "has-errors", "hide-label", "label", "label-position", "model-value", "name", "reverse"]));
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
export {
|
|
87
|
-
P as default
|
|
88
|
-
};
|
|
1
|
+
|
|
89
2
|
//# sourceMappingURL=index105.js.map
|
package/dist/index105.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index105.js","sources":[
|
|
1
|
+
{"version":3,"file":"index105.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index106.js
CHANGED
|
@@ -1,2 +1,98 @@
|
|
|
1
|
-
|
|
1
|
+
import { defineComponent as b, ref as c, computed as f, openBlock as v, createBlock as y, withCtx as r, renderSlot as a, normalizeProps as w, guardReactiveProps as B, createVNode as g, mergeProps as k } from "vue";
|
|
2
|
+
import V from "./index22.js";
|
|
3
|
+
import "./index23.js";
|
|
4
|
+
import $ from "./index40.js";
|
|
5
|
+
import "./index41.js";
|
|
6
|
+
const M = /* @__PURE__ */ b({
|
|
7
|
+
__name: "BbTextarea",
|
|
8
|
+
props: {
|
|
9
|
+
autocomplete: {},
|
|
10
|
+
autofocus: {},
|
|
11
|
+
autoGrow: { type: Boolean },
|
|
12
|
+
direction: {},
|
|
13
|
+
disabled: { type: Boolean },
|
|
14
|
+
errors: {},
|
|
15
|
+
hasErrors: { type: Boolean },
|
|
16
|
+
hideLabel: { type: Boolean },
|
|
17
|
+
hint: {},
|
|
18
|
+
id: {},
|
|
19
|
+
label: {},
|
|
20
|
+
labelPosition: {},
|
|
21
|
+
modelValue: {},
|
|
22
|
+
name: {},
|
|
23
|
+
persistentHint: { type: Boolean },
|
|
24
|
+
placeholder: {},
|
|
25
|
+
readonly: {},
|
|
26
|
+
reverse: { type: Boolean }
|
|
27
|
+
},
|
|
28
|
+
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
|
29
|
+
setup(s, { emit: i }) {
|
|
30
|
+
const d = s, o = i, l = c(!1), t = f(() => d.persistentHint || l.value), u = {
|
|
31
|
+
onBlur: (e) => {
|
|
32
|
+
l.value = !1, o("blur", e);
|
|
33
|
+
},
|
|
34
|
+
onChange: (e) => o("change", e),
|
|
35
|
+
onClick: (e) => o("click", e),
|
|
36
|
+
onFocus: (e) => {
|
|
37
|
+
l.value = !0, o("focus", e);
|
|
38
|
+
},
|
|
39
|
+
onInput: (e) => o("input", e),
|
|
40
|
+
onKeydown: (e) => o("keydown", e),
|
|
41
|
+
onMousedown: (e) => o("mousedown", e),
|
|
42
|
+
onMouseup: (e) => o("mouseup", e),
|
|
43
|
+
"onUpdate:modelValue": (e) => o("update:modelValue", e)
|
|
44
|
+
};
|
|
45
|
+
return (e, P) => (v(), y(V, {
|
|
46
|
+
direction: e.direction,
|
|
47
|
+
errors: e.errors,
|
|
48
|
+
"has-errors": e.hasErrors,
|
|
49
|
+
"hide-label": e.hideLabel,
|
|
50
|
+
hint: e.hint,
|
|
51
|
+
id: e.id,
|
|
52
|
+
"label-position": e.labelPosition,
|
|
53
|
+
label: e.label,
|
|
54
|
+
"model-value": e.modelValue,
|
|
55
|
+
name: e.name,
|
|
56
|
+
reverse: e.reverse,
|
|
57
|
+
"show-hint": t.value,
|
|
58
|
+
class: "bb-textarea"
|
|
59
|
+
}, {
|
|
60
|
+
label: r((n) => [
|
|
61
|
+
a(e.$slots, "label", w(B(n)))
|
|
62
|
+
]),
|
|
63
|
+
input: r(({ id: n, name: p, hasErrors: m, ariaDescribedby: h }) => [
|
|
64
|
+
g($, k({
|
|
65
|
+
"aria-describedby": h,
|
|
66
|
+
"auto-grow": e.autoGrow,
|
|
67
|
+
autofocus: e.autofocus,
|
|
68
|
+
disabled: e.disabled,
|
|
69
|
+
"has-errors": m,
|
|
70
|
+
id: n,
|
|
71
|
+
"model-value": e.modelValue,
|
|
72
|
+
name: p,
|
|
73
|
+
placeholder: e.placeholder,
|
|
74
|
+
readonly: e.readonly
|
|
75
|
+
}, u), {
|
|
76
|
+
"append-outer": r(() => [
|
|
77
|
+
a(e.$slots, "append-outer")
|
|
78
|
+
]),
|
|
79
|
+
append: r(() => [
|
|
80
|
+
a(e.$slots, "append")
|
|
81
|
+
]),
|
|
82
|
+
prepend: r(() => [
|
|
83
|
+
a(e.$slots, "prepend")
|
|
84
|
+
]),
|
|
85
|
+
"prepend-outer": r(() => [
|
|
86
|
+
a(e.$slots, "prepend-outer")
|
|
87
|
+
]),
|
|
88
|
+
_: 2
|
|
89
|
+
}, 1040, ["aria-describedby", "auto-grow", "autofocus", "disabled", "has-errors", "id", "model-value", "name", "placeholder", "readonly"])
|
|
90
|
+
]),
|
|
91
|
+
_: 3
|
|
92
|
+
}, 8, ["direction", "errors", "has-errors", "hide-label", "hint", "id", "label-position", "label", "model-value", "name", "reverse", "show-hint"]));
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
export {
|
|
96
|
+
M as default
|
|
97
|
+
};
|
|
2
98
|
//# sourceMappingURL=index106.js.map
|
package/dist/index106.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index106.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index106.js","sources":["../src/components/BbTextarea/BbTextarea.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:label-position=\"labelPosition\"\n\t\t:label=\"label\"\n\t\t:model-value=\"modelValue\"\n\t\t:name=\"name\"\n\t\t:reverse=\"reverse\"\n\t\t:show-hint=\"showHint\"\n\t\tclass=\"bb-textarea\"\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<BaseTextarea\n\t\t\t\t:aria-describedby=\"ariaDescribedby\"\n\t\t\t\t:auto-grow=\"autoGrow\"\n\t\t\t\t:autofocus=\"autofocus\"\n\t\t\t\t:disabled=\"disabled\"\n\t\t\t\t:has-errors=\"hasErrors\"\n\t\t\t\t:id=\"id\"\n\t\t\t\t:model-value=\"modelValue\"\n\t\t\t\t:name=\"name\"\n\t\t\t\t:placeholder=\"placeholder\"\n\t\t\t\t:readonly=\"readonly\"\n\t\t\t\tv-bind=\"eventListeners\"\n\t\t\t>\n\t\t\t\t<template #append-outer><slot name=\"append-outer\" /></template>\n\t\t\t\t<template #append><slot name=\"append\" /></template>\n\t\t\t\t<template #prepend><slot name=\"prepend\" /></template>\n\t\t\t\t<template #prepend-outer><slot name=\"prepend-outer\" /></template>\n\t\t\t</BaseTextarea>\n\t\t</template>\n\t</BaseInputContainer>\n</template>\n\n<script setup lang=\"ts\">\nimport BaseInputContainer from '../BaseInputContainer/BaseInputContainer.vue';\nimport BaseTextarea from '../BaseTextarea/BaseTextarea.vue';\nimport type {\n\tBaseTextareaEvents,\n\tBaseTextareaSlots,\n} from '../BaseTextarea/BaseTextarea.vue';\nimport {\n\tref,\n\ttype HTMLAttributes,\n\ttype InputHTMLAttributes,\n\tcomputed,\n} from 'vue';\n\nexport type BbTextareaProps = {\n\t/**\n\t * Guides to the browser as to the type of information expected in the field.\n\t */\n\tautocomplete?: InputHTMLAttributes['autocomplete'];\n\n\t/**\n\t * Sets autofocus on page load.\n\t */\n\tautofocus?: InputHTMLAttributes['autofocus'];\n\n\t/**\n\t * Expands the textarea to match its content\n\t */\n\tautoGrow?: boolean;\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 * 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 * 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\n\t */\n\tmodelValue: string | null;\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 * String displayed when there's no data.\n\t */\n\tplaceholder?: InputHTMLAttributes['placeholder'];\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\nconst props = defineProps<BbTextareaProps>();\n\nexport type BbTextareaEvents = BaseTextareaEvents;\nconst emit = defineEmits<BbTextareaEvents>();\n\nexport type BbTextareaSlots = BaseTextareaSlots & {\n\tlabel?: (props: { text: string; hasErrors: boolean }) => any;\n};\n\ndefineSlots<BbTextareaSlots>();\n\nconst active = ref(false);\nconst showHint = computed(() => props.persistentHint || active.value);\n\n/**\n * These events are just propagated\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: string | null) =>\n\t\temit('update:modelValue', value),\n};\n</script>\n\n<style lang=\"postcss\">\n@import '@/assets/css/BbTextarea';\n</style>\n"],"names":["props","__props","emit","__emit","active","ref","showHint","computed","eventListeners","event","value"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmJA,UAAMA,IAAQC,GAGRC,IAAOC,GAQPC,IAASC,EAAI,EAAK,GAClBC,IAAWC,EAAS,MAAMP,EAAM,kBAAkBI,EAAO,KAAK,GAK9DI,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,MACvBR,EAAK,qBAAqBQ,CAAK;AAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index107.js
CHANGED
|
@@ -1,90 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import y from "./index21.js";
|
|
3
|
-
import "./index22.js";
|
|
4
|
-
import f from "./index41.js";
|
|
5
|
-
import "./index42.js";
|
|
6
|
-
const P = /* @__PURE__ */ u({
|
|
7
|
-
__name: "BbTextInput",
|
|
8
|
-
props: {
|
|
9
|
-
autocomplete: {},
|
|
10
|
-
autofocus: {},
|
|
11
|
-
disabled: { type: Boolean },
|
|
12
|
-
hasErrors: { type: Boolean },
|
|
13
|
-
id: {},
|
|
14
|
-
name: {},
|
|
15
|
-
placeholder: {},
|
|
16
|
-
readonly: {},
|
|
17
|
-
modelValue: {},
|
|
18
|
-
type: {},
|
|
19
|
-
direction: {},
|
|
20
|
-
errors: {},
|
|
21
|
-
hideLabel: { type: Boolean },
|
|
22
|
-
label: {},
|
|
23
|
-
labelPosition: {},
|
|
24
|
-
reverse: { type: Boolean }
|
|
25
|
-
},
|
|
26
|
-
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
|
27
|
-
setup(v, { emit: n }) {
|
|
28
|
-
const o = n, s = {
|
|
29
|
-
onBlur: (e) => o("blur", e),
|
|
30
|
-
onChange: (e) => o("change", e),
|
|
31
|
-
onClick: (e) => o("click", e),
|
|
32
|
-
onFocus: (e) => o("focus", e),
|
|
33
|
-
onInput: (e) => o("input", e),
|
|
34
|
-
onKeydown: (e) => o("keydown", e),
|
|
35
|
-
onMousedown: (e) => o("mousedown", e),
|
|
36
|
-
onMouseup: (e) => o("mouseup", e),
|
|
37
|
-
"onUpdate:modelValue": (e) => o("update:modelValue", e)
|
|
38
|
-
};
|
|
39
|
-
return (e, B) => (t(), i(y, {
|
|
40
|
-
id: e.id,
|
|
41
|
-
class: "bb-text-input",
|
|
42
|
-
direction: e.direction,
|
|
43
|
-
errors: e.errors,
|
|
44
|
-
"has-errors": e.hasErrors,
|
|
45
|
-
"hide-label": e.hideLabel,
|
|
46
|
-
label: e.label,
|
|
47
|
-
"label-position": e.labelPosition,
|
|
48
|
-
"model-value": e.modelValue,
|
|
49
|
-
name: e.name,
|
|
50
|
-
reverse: e.reverse
|
|
51
|
-
}, {
|
|
52
|
-
label: l((a) => [
|
|
53
|
-
r(e.$slots, "label", m(b(a)))
|
|
54
|
-
]),
|
|
55
|
-
input: l(({ id: a, name: p, hasErrors: d }) => [
|
|
56
|
-
c(f, h({
|
|
57
|
-
id: a,
|
|
58
|
-
autocomplete: e.autocomplete,
|
|
59
|
-
autofocus: e.autofocus,
|
|
60
|
-
disabled: e.disabled,
|
|
61
|
-
"has-errors": d,
|
|
62
|
-
"model-value": e.modelValue,
|
|
63
|
-
name: p,
|
|
64
|
-
placeholder: e.placeholder,
|
|
65
|
-
readonly: e.readonly,
|
|
66
|
-
type: e.type
|
|
67
|
-
}, s), {
|
|
68
|
-
"append-outer": l(() => [
|
|
69
|
-
r(e.$slots, "append-outer")
|
|
70
|
-
]),
|
|
71
|
-
append: l(() => [
|
|
72
|
-
r(e.$slots, "append")
|
|
73
|
-
]),
|
|
74
|
-
prepend: l(() => [
|
|
75
|
-
r(e.$slots, "prepend")
|
|
76
|
-
]),
|
|
77
|
-
"prepend-outer": l(() => [
|
|
78
|
-
r(e.$slots, "prepend-outer")
|
|
79
|
-
]),
|
|
80
|
-
_: 2
|
|
81
|
-
}, 1040, ["id", "autocomplete", "autofocus", "disabled", "has-errors", "model-value", "name", "placeholder", "readonly", "type"])
|
|
82
|
-
]),
|
|
83
|
-
_: 3
|
|
84
|
-
}, 8, ["id", "direction", "errors", "has-errors", "hide-label", "label", "label-position", "model-value", "name", "reverse"]));
|
|
85
|
-
}
|
|
86
|
-
});
|
|
87
|
-
export {
|
|
88
|
-
P as default
|
|
89
|
-
};
|
|
1
|
+
|
|
90
2
|
//# sourceMappingURL=index107.js.map
|
package/dist/index107.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index107.js","sources":[
|
|
1
|
+
{"version":3,"file":"index107.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index108.js
CHANGED
|
@@ -1,2 +1,99 @@
|
|
|
1
|
-
|
|
1
|
+
import { defineComponent as b, ref as c, computed as y, openBlock as f, createBlock as v, withCtx as r, renderSlot as a, normalizeProps as w, guardReactiveProps as B, createVNode as k, mergeProps as V } from "vue";
|
|
2
|
+
import $ from "./index22.js";
|
|
3
|
+
import "./index23.js";
|
|
4
|
+
import g from "./index42.js";
|
|
5
|
+
import "./index43.js";
|
|
6
|
+
const M = /* @__PURE__ */ b({
|
|
7
|
+
__name: "BbTextInput",
|
|
8
|
+
props: {
|
|
9
|
+
autocomplete: {},
|
|
10
|
+
autofocus: {},
|
|
11
|
+
direction: {},
|
|
12
|
+
disabled: { type: Boolean },
|
|
13
|
+
errors: {},
|
|
14
|
+
hasErrors: { type: Boolean },
|
|
15
|
+
hideLabel: { type: Boolean },
|
|
16
|
+
hint: {},
|
|
17
|
+
id: {},
|
|
18
|
+
label: {},
|
|
19
|
+
labelPosition: {},
|
|
20
|
+
modelValue: {},
|
|
21
|
+
name: {},
|
|
22
|
+
persistentHint: { type: Boolean },
|
|
23
|
+
placeholder: {},
|
|
24
|
+
readonly: {},
|
|
25
|
+
reverse: { type: Boolean },
|
|
26
|
+
type: {}
|
|
27
|
+
},
|
|
28
|
+
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
|
29
|
+
setup(s, { emit: t }) {
|
|
30
|
+
const i = s, o = t, l = c(!1), d = y(() => i.persistentHint || l.value), p = {
|
|
31
|
+
onBlur: (e) => {
|
|
32
|
+
l.value = !1, o("blur", e);
|
|
33
|
+
},
|
|
34
|
+
onChange: (e) => o("change", e),
|
|
35
|
+
onClick: (e) => o("click", e),
|
|
36
|
+
onFocus: (e) => {
|
|
37
|
+
l.value = !0, o("focus", e);
|
|
38
|
+
},
|
|
39
|
+
onInput: (e) => o("input", e),
|
|
40
|
+
onKeydown: (e) => o("keydown", e),
|
|
41
|
+
onMousedown: (e) => o("mousedown", e),
|
|
42
|
+
onMouseup: (e) => o("mouseup", e),
|
|
43
|
+
"onUpdate:modelValue": (e) => o("update:modelValue", e)
|
|
44
|
+
};
|
|
45
|
+
return (e, P) => (f(), v($, {
|
|
46
|
+
direction: e.direction,
|
|
47
|
+
errors: e.errors,
|
|
48
|
+
"has-errors": e.hasErrors,
|
|
49
|
+
"hide-label": e.hideLabel,
|
|
50
|
+
hint: e.hint,
|
|
51
|
+
id: e.id,
|
|
52
|
+
"label-position": e.labelPosition,
|
|
53
|
+
label: e.label,
|
|
54
|
+
"model-value": e.modelValue,
|
|
55
|
+
name: e.name,
|
|
56
|
+
reverse: e.reverse,
|
|
57
|
+
"show-hint": d.value,
|
|
58
|
+
class: "bb-text-input"
|
|
59
|
+
}, {
|
|
60
|
+
label: r((n) => [
|
|
61
|
+
a(e.$slots, "label", w(B(n)))
|
|
62
|
+
]),
|
|
63
|
+
input: r(({ id: n, name: u, hasErrors: m, ariaDescribedby: h }) => [
|
|
64
|
+
k(g, V({
|
|
65
|
+
"aria-describedby": h,
|
|
66
|
+
autocomplete: e.autocomplete,
|
|
67
|
+
autofocus: e.autofocus,
|
|
68
|
+
disabled: e.disabled,
|
|
69
|
+
"has-errors": m,
|
|
70
|
+
id: n,
|
|
71
|
+
"model-value": e.modelValue,
|
|
72
|
+
name: u,
|
|
73
|
+
placeholder: e.placeholder,
|
|
74
|
+
readonly: e.readonly,
|
|
75
|
+
type: e.type
|
|
76
|
+
}, p), {
|
|
77
|
+
"append-outer": r(() => [
|
|
78
|
+
a(e.$slots, "append-outer")
|
|
79
|
+
]),
|
|
80
|
+
append: r(() => [
|
|
81
|
+
a(e.$slots, "append")
|
|
82
|
+
]),
|
|
83
|
+
prepend: r(() => [
|
|
84
|
+
a(e.$slots, "prepend")
|
|
85
|
+
]),
|
|
86
|
+
"prepend-outer": r(() => [
|
|
87
|
+
a(e.$slots, "prepend-outer")
|
|
88
|
+
]),
|
|
89
|
+
_: 2
|
|
90
|
+
}, 1040, ["aria-describedby", "autocomplete", "autofocus", "disabled", "has-errors", "id", "model-value", "name", "placeholder", "readonly", "type"])
|
|
91
|
+
]),
|
|
92
|
+
_: 3
|
|
93
|
+
}, 8, ["direction", "errors", "has-errors", "hide-label", "hint", "id", "label-position", "label", "model-value", "name", "reverse", "show-hint"]));
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
export {
|
|
97
|
+
M as default
|
|
98
|
+
};
|
|
2
99
|
//# sourceMappingURL=index108.js.map
|
package/dist/index108.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index108.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index108.js","sources":["../src/components/BbTextInput/BbTextInput.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:label-position=\"labelPosition\"\n\t\t:label=\"label\"\n\t\t:model-value=\"modelValue\"\n\t\t:name=\"name\"\n\t\t:reverse=\"reverse\"\n\t\t:show-hint=\"showHint\"\n\t\tclass=\"bb-text-input\"\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<BaseTextInput\n\t\t\t\t:aria-describedby=\"ariaDescribedby\"\n\t\t\t\t:autocomplete=\"autocomplete\"\n\t\t\t\t:autofocus=\"autofocus\"\n\t\t\t\t:disabled=\"disabled\"\n\t\t\t\t:has-errors=\"hasErrors\"\n\t\t\t\t:id=\"id\"\n\t\t\t\t:model-value=\"modelValue\"\n\t\t\t\t:name=\"name\"\n\t\t\t\t:placeholder=\"placeholder\"\n\t\t\t\t:readonly=\"readonly\"\n\t\t\t\t:type=\"type\"\n\t\t\t\tv-bind=\"eventListeners\"\n\t\t\t>\n\t\t\t\t<template #append-outer><slot name=\"append-outer\" /></template>\n\t\t\t\t<template #append><slot name=\"append\" /></template>\n\t\t\t\t<template #prepend><slot name=\"prepend\" /></template>\n\t\t\t\t<template #prepend-outer><slot name=\"prepend-outer\" /></template>\n\t\t\t</BaseTextInput>\n\t\t</template>\n\t</BaseInputContainer>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, computed } from 'vue';\nimport BaseInputContainer from '../BaseInputContainer/BaseInputContainer.vue';\nimport BaseTextInput from '../BaseTextInput/BaseTextInput.vue';\nimport type {\n\tBaseTextInputEvents,\n\tBaseTextInputSlots,\n} from '../BaseTextInput/BaseTextInput.vue';\nimport type { HTMLAttributes, InputHTMLAttributes } from 'vue';\n\nexport type BbTextInputProps = {\n\t/**\n\t * Guides to the browser as to the type of information expected in the field.\n\t */\n\tautocomplete?: InputHTMLAttributes['autocomplete'];\n\n\t/**\n\t * Sets autofocus on page load.\n\t */\n\tautofocus?: InputHTMLAttributes['autofocus'];\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 * 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 * 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 my v-model\n\t */\n\tmodelValue: string | null;\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 * String displayed when there's no data.\n\t */\n\tplaceholder?: InputHTMLAttributes['placeholder'];\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 * Type of the input. Returns the content type of the object.\n\t */\n\ttype?: HTMLInputElement['type'];\n};\n\nconst props = defineProps<BbTextInputProps>();\n\nexport type BbTextInputEvents = BaseTextInputEvents;\nconst emit = defineEmits<BaseTextInputEvents>();\n\nexport type BbTextInputSlots = BaseTextInputSlots & {\n\tlabel?: (props: { text: string; hasErrors: boolean }) => any;\n};\n\ndefineSlots<BbTextInputSlots>();\n\nconst active = ref(false);\nconst showHint = computed(() => props.persistentHint || active.value);\n\n/**\n * These events are just propagated\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: string | null) =>\n\t\temit('update:modelValue', value),\n};\n</script>\n\n<style lang=\"postcss\">\n@import '@/assets/css/BbTextInput';\n</style>\n"],"names":["props","__props","emit","__emit","active","ref","showHint","computed","eventListeners","event","value"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgJA,UAAMA,IAAQC,GAGRC,IAAOC,GAQPC,IAASC,EAAI,EAAK,GAClBC,IAAWC,EAAS,MAAMP,EAAM,kBAAkBI,EAAO,KAAK,GAK9DI,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,MACvBR,EAAK,qBAAqBQ,CAAK;AAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index109.js
CHANGED
|
@@ -1,30 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import { state as k, useToast as C } from "./index5.js";
|
|
3
|
-
import B from "./index231.js";
|
|
4
|
-
const N = /* @__PURE__ */ s({
|
|
5
|
-
__name: "BbToast",
|
|
6
|
-
props: {
|
|
7
|
-
placement: { default: "bottom" }
|
|
8
|
-
},
|
|
9
|
-
setup(T) {
|
|
10
|
-
const { dismiss: n } = C();
|
|
11
|
-
return (a, h) => (e(), o(l, { to: "body" }, [
|
|
12
|
-
c("div", {
|
|
13
|
-
class: m(["bb-toast", { [`bb-toast--${a.placement}`]: !0 }])
|
|
14
|
-
}, [
|
|
15
|
-
i(p, { name: "toast" }, {
|
|
16
|
-
default: u(() => [
|
|
17
|
-
(e(!0), d(f, null, _(r(k).stack, (t) => (e(), o(B, b({
|
|
18
|
-
key: t.id
|
|
19
|
-
}, t, { "onClick:close": r(n) }), null, 16, ["onClick:close"]))), 128))
|
|
20
|
-
]),
|
|
21
|
-
_: 1
|
|
22
|
-
})
|
|
23
|
-
], 2)
|
|
24
|
-
]));
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
export {
|
|
28
|
-
N as default
|
|
29
|
-
};
|
|
1
|
+
|
|
30
2
|
//# sourceMappingURL=index109.js.map
|
package/dist/index109.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index109.js","sources":[
|
|
1
|
+
{"version":3,"file":"index109.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|