bitboss-ui 0.2.32 → 0.2.33
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/BaseButton/BaseButton.vue.d.ts +2 -2
- package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +7 -7
- package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +1 -1
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +1 -1
- package/dist/components/BaseDialog/BaseDialog.vue.d.ts +2 -2
- package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +7 -7
- package/dist/components/BaseRating/BaseRating.vue.d.ts +1 -1
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +20 -13
- package/dist/components/BaseSlider/BaseSlider.vue.d.ts +2 -2
- package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +6 -6
- package/dist/components/BaseTag/BaseTag.vue.d.ts +1 -1
- package/dist/components/BbAccordion/BbAccordion.vue.d.ts +1 -1
- package/dist/components/BbAlert/BbAlert.vue.d.ts +1 -1
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +1 -1
- package/dist/components/BbBadge/BbBadge.vue.d.ts +1 -1
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +1 -1
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +7 -7
- package/dist/components/BbChip/BbChip.vue.d.ts +1 -1
- package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +1 -1
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +1 -1
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +2 -2
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +1 -1
- package/dist/components/BbIcon/BbIcon.vue.d.ts +1 -1
- package/dist/components/BbIntersection/BbIntersection.vue.d.ts +1 -1
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +2 -2
- package/dist/components/BbPagination/BbPagination.vue.d.ts +1 -1
- package/dist/components/BbPopover/BbPopover.vue.d.ts +2 -2
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +7 -7
- package/dist/components/BbRating/BbRating.vue.d.ts +1 -1
- package/dist/components/BbRatio/BbRatio.vue.d.ts +1 -1
- package/dist/components/BbSelect/BbSelect.vue.d.ts +20 -13
- package/dist/components/BbSlider/BbSlider.vue.d.ts +2 -2
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +3 -3
- package/dist/components/BbSpinner/BbSpinner.vue.d.ts +1 -1
- package/dist/components/BbStep/BbStep.vue.d.ts +143 -0
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +6 -6
- package/dist/components/BbTab/BbTab.vue.d.ts +6 -6
- package/dist/components/BbTable/BbTable.vue.d.ts +1 -1
- package/dist/components/BbTable/types.d.ts +1 -1
- package/dist/components/BbTag/BbTag.vue.d.ts +1 -1
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +2 -2
- package/dist/components/HDAddressSelect.vue.d.ts +89 -0
- package/dist/composables/useConfirm.d.ts +1 -1
- package/dist/composables/useOptions.d.ts +1 -1
- package/dist/composables/useToast.d.ts +1 -1
- package/dist/composables/useWizard.d.ts +32 -20
- package/package.json +1 -1
- package/dist/index.js +0 -188
- package/dist/index.js.map +0 -1
- package/dist/index10.js +0 -5
- package/dist/index10.js.map +0 -1
- package/dist/index100.js +0 -5
- package/dist/index100.js.map +0 -1
- package/dist/index101.js +0 -438
- package/dist/index101.js.map +0 -1
- package/dist/index102.js +0 -5
- package/dist/index102.js.map +0 -1
- package/dist/index103.js +0 -95
- package/dist/index103.js.map +0 -1
- package/dist/index104.js +0 -5
- package/dist/index104.js.map +0 -1
- package/dist/index105.js +0 -89
- package/dist/index105.js.map +0 -1
- package/dist/index106.js +0 -5
- package/dist/index106.js.map +0 -1
- package/dist/index107.js +0 -90
- package/dist/index107.js.map +0 -1
- package/dist/index108.js +0 -5
- package/dist/index108.js.map +0 -1
- package/dist/index109.js +0 -30
- package/dist/index109.js.map +0 -1
- package/dist/index11.js +0 -132
- package/dist/index11.js.map +0 -1
- package/dist/index110.js +0 -5
- package/dist/index110.js.map +0 -1
- package/dist/index111.js +0 -152
- package/dist/index111.js.map +0 -1
- package/dist/index112.js +0 -5
- package/dist/index112.js.map +0 -1
- package/dist/index113.js +0 -123
- package/dist/index113.js.map +0 -1
- package/dist/index114.js +0 -5
- package/dist/index114.js.map +0 -1
- package/dist/index115.js +0 -47
- package/dist/index115.js.map +0 -1
- package/dist/index116.js +0 -41
- package/dist/index116.js.map +0 -1
- package/dist/index117.js +0 -47
- package/dist/index117.js.map +0 -1
- package/dist/index118.js +0 -50
- package/dist/index118.js.map +0 -1
- package/dist/index119.js +0 -46
- package/dist/index119.js.map +0 -1
- package/dist/index12.js +0 -5
- package/dist/index12.js.map +0 -1
- package/dist/index120.js +0 -5
- package/dist/index120.js.map +0 -1
- package/dist/index121.js +0 -24
- package/dist/index121.js.map +0 -1
- package/dist/index122.js +0 -5
- package/dist/index122.js.map +0 -1
- package/dist/index123.js +0 -227
- package/dist/index123.js.map +0 -1
- package/dist/index124.js +0 -5
- package/dist/index124.js.map +0 -1
- package/dist/index125.js +0 -21
- package/dist/index125.js.map +0 -1
- package/dist/index126.js +0 -15
- package/dist/index126.js.map +0 -1
- package/dist/index127.js +0 -27
- package/dist/index127.js.map +0 -1
- package/dist/index128.js +0 -8
- package/dist/index128.js.map +0 -1
- package/dist/index129.js +0 -12
- package/dist/index129.js.map +0 -1
- package/dist/index13.js +0 -152
- package/dist/index13.js.map +0 -1
- package/dist/index130.js +0 -9
- package/dist/index130.js.map +0 -1
- package/dist/index131.js +0 -73
- package/dist/index131.js.map +0 -1
- package/dist/index132.js +0 -6
- package/dist/index132.js.map +0 -1
- package/dist/index133.js +0 -6
- package/dist/index133.js.map +0 -1
- package/dist/index134.js +0 -6
- package/dist/index134.js.map +0 -1
- package/dist/index135.js +0 -6
- package/dist/index135.js.map +0 -1
- package/dist/index136.js +0 -6
- package/dist/index136.js.map +0 -1
- package/dist/index137.js +0 -6
- package/dist/index137.js.map +0 -1
- package/dist/index138.js +0 -6
- package/dist/index138.js.map +0 -1
- package/dist/index139.js +0 -6
- package/dist/index139.js.map +0 -1
- package/dist/index14.js +0 -5
- package/dist/index14.js.map +0 -1
- package/dist/index140.js +0 -6
- package/dist/index140.js.map +0 -1
- package/dist/index141.js +0 -6
- package/dist/index141.js.map +0 -1
- package/dist/index142.js +0 -6
- package/dist/index142.js.map +0 -1
- package/dist/index143.js +0 -6
- package/dist/index143.js.map +0 -1
- package/dist/index144.js +0 -6
- package/dist/index144.js.map +0 -1
- package/dist/index145.js +0 -6
- package/dist/index145.js.map +0 -1
- package/dist/index146.js +0 -6
- package/dist/index146.js.map +0 -1
- package/dist/index147.js +0 -6
- package/dist/index147.js.map +0 -1
- package/dist/index148.js +0 -6
- package/dist/index148.js.map +0 -1
- package/dist/index149.js +0 -6
- package/dist/index149.js.map +0 -1
- package/dist/index15.js +0 -458
- package/dist/index15.js.map +0 -1
- package/dist/index150.js +0 -6
- package/dist/index150.js.map +0 -1
- package/dist/index151.js +0 -6
- package/dist/index151.js.map +0 -1
- package/dist/index152.js +0 -6
- package/dist/index152.js.map +0 -1
- package/dist/index153.js +0 -6
- package/dist/index153.js.map +0 -1
- package/dist/index154.js +0 -6
- package/dist/index154.js.map +0 -1
- package/dist/index155.js +0 -6
- package/dist/index155.js.map +0 -1
- package/dist/index156.js +0 -6
- package/dist/index156.js.map +0 -1
- package/dist/index157.js +0 -6
- package/dist/index157.js.map +0 -1
- package/dist/index158.js +0 -5
- package/dist/index158.js.map +0 -1
- package/dist/index159.js +0 -6
- package/dist/index159.js.map +0 -1
- package/dist/index16.js +0 -5
- package/dist/index16.js.map +0 -1
- package/dist/index160.js +0 -5
- package/dist/index160.js.map +0 -1
- package/dist/index161.js +0 -6
- package/dist/index161.js.map +0 -1
- package/dist/index162.js +0 -6
- package/dist/index162.js.map +0 -1
- package/dist/index163.js +0 -6
- package/dist/index163.js.map +0 -1
- package/dist/index164.js +0 -6
- package/dist/index164.js.map +0 -1
- package/dist/index165.js +0 -6
- package/dist/index165.js.map +0 -1
- package/dist/index166.js +0 -6
- package/dist/index166.js.map +0 -1
- package/dist/index167.js +0 -5
- package/dist/index167.js.map +0 -1
- package/dist/index168.js +0 -6
- package/dist/index168.js.map +0 -1
- package/dist/index169.js +0 -5
- package/dist/index169.js.map +0 -1
- package/dist/index17.js +0 -212
- package/dist/index17.js.map +0 -1
- package/dist/index170.js +0 -5
- package/dist/index170.js.map +0 -1
- package/dist/index171.js +0 -6
- package/dist/index171.js.map +0 -1
- package/dist/index172.js +0 -6
- package/dist/index172.js.map +0 -1
- package/dist/index173.js +0 -6
- package/dist/index173.js.map +0 -1
- package/dist/index174.js +0 -6
- package/dist/index174.js.map +0 -1
- package/dist/index175.js +0 -6
- package/dist/index175.js.map +0 -1
- package/dist/index176.js +0 -6
- package/dist/index176.js.map +0 -1
- package/dist/index177.js +0 -6
- package/dist/index177.js.map +0 -1
- package/dist/index178.js +0 -6
- package/dist/index178.js.map +0 -1
- package/dist/index179.js +0 -6
- package/dist/index179.js.map +0 -1
- package/dist/index18.js +0 -5
- package/dist/index18.js.map +0 -1
- package/dist/index180.js +0 -6
- package/dist/index180.js.map +0 -1
- package/dist/index181.js +0 -6
- package/dist/index181.js.map +0 -1
- package/dist/index182.js +0 -6
- package/dist/index182.js.map +0 -1
- package/dist/index183.js +0 -5
- package/dist/index183.js.map +0 -1
- package/dist/index184.js +0 -6
- package/dist/index184.js.map +0 -1
- package/dist/index185.js +0 -5
- package/dist/index185.js.map +0 -1
- package/dist/index186.js +0 -6
- package/dist/index186.js.map +0 -1
- package/dist/index187.js +0 -6
- package/dist/index187.js.map +0 -1
- package/dist/index188.js +0 -6
- package/dist/index188.js.map +0 -1
- package/dist/index189.js +0 -6
- package/dist/index189.js.map +0 -1
- package/dist/index19.js +0 -240
- package/dist/index19.js.map +0 -1
- package/dist/index190.js +0 -6
- package/dist/index190.js.map +0 -1
- package/dist/index191.js +0 -6
- package/dist/index191.js.map +0 -1
- package/dist/index192.js +0 -6
- package/dist/index192.js.map +0 -1
- package/dist/index193.js +0 -6
- package/dist/index193.js.map +0 -1
- package/dist/index194.js +0 -6
- package/dist/index194.js.map +0 -1
- package/dist/index195.js +0 -6
- package/dist/index195.js.map +0 -1
- package/dist/index196.js +0 -5
- package/dist/index196.js.map +0 -1
- package/dist/index197.js +0 -5
- package/dist/index197.js.map +0 -1
- package/dist/index198.js +0 -7
- package/dist/index198.js.map +0 -1
- package/dist/index199.js +0 -298
- package/dist/index199.js.map +0 -1
- package/dist/index2.js +0 -43
- package/dist/index2.js.map +0 -1
- package/dist/index20.js +0 -5
- package/dist/index20.js.map +0 -1
- package/dist/index200.js +0 -19
- package/dist/index200.js.map +0 -1
- package/dist/index201.js +0 -19
- package/dist/index201.js.map +0 -1
- package/dist/index202.js +0 -22
- package/dist/index202.js.map +0 -1
- package/dist/index203.js +0 -23
- package/dist/index203.js.map +0 -1
- package/dist/index204.js +0 -32
- package/dist/index204.js.map +0 -1
- package/dist/index205.js +0 -11
- package/dist/index205.js.map +0 -1
- package/dist/index206.js +0 -5
- package/dist/index206.js.map +0 -1
- package/dist/index207.js +0 -238
- package/dist/index207.js.map +0 -1
- package/dist/index208.js +0 -6
- package/dist/index208.js.map +0 -1
- package/dist/index209.js +0 -38
- package/dist/index209.js.map +0 -1
- package/dist/index21.js +0 -116
- package/dist/index21.js.map +0 -1
- package/dist/index210.js +0 -9
- package/dist/index210.js.map +0 -1
- package/dist/index211.js +0 -13
- package/dist/index211.js.map +0 -1
- package/dist/index212.js +0 -381
- package/dist/index212.js.map +0 -1
- package/dist/index213.js +0 -137
- package/dist/index213.js.map +0 -1
- package/dist/index214.js +0 -5
- package/dist/index214.js.map +0 -1
- package/dist/index215.js +0 -177
- package/dist/index215.js.map +0 -1
- package/dist/index216.js +0 -26
- package/dist/index216.js.map +0 -1
- package/dist/index217.js +0 -376
- package/dist/index217.js.map +0 -1
- package/dist/index218.js +0 -6
- package/dist/index218.js.map +0 -1
- package/dist/index219.js +0 -6
- package/dist/index219.js.map +0 -1
- package/dist/index22.js +0 -5
- package/dist/index22.js.map +0 -1
- package/dist/index220.js +0 -5
- package/dist/index220.js.map +0 -1
- package/dist/index221.js +0 -31
- package/dist/index221.js.map +0 -1
- package/dist/index222.js +0 -20
- package/dist/index222.js.map +0 -1
- package/dist/index223.js +0 -5
- package/dist/index223.js.map +0 -1
- package/dist/index224.js +0 -12
- package/dist/index224.js.map +0 -1
- package/dist/index225.js +0 -124
- package/dist/index225.js.map +0 -1
- package/dist/index226.js +0 -82
- package/dist/index226.js.map +0 -1
- package/dist/index227.js +0 -7
- package/dist/index227.js.map +0 -1
- package/dist/index228.js +0 -5
- package/dist/index228.js.map +0 -1
- package/dist/index229.js +0 -9
- package/dist/index229.js.map +0 -1
- package/dist/index23.js +0 -116
- package/dist/index23.js.map +0 -1
- package/dist/index230.js +0 -5
- package/dist/index230.js.map +0 -1
- package/dist/index231.js +0 -5
- package/dist/index231.js.map +0 -1
- package/dist/index232.js +0 -5
- package/dist/index232.js.map +0 -1
- package/dist/index233.js +0 -5
- package/dist/index233.js.map +0 -1
- package/dist/index234.js +0 -5
- package/dist/index234.js.map +0 -1
- package/dist/index235.js +0 -5
- package/dist/index235.js.map +0 -1
- package/dist/index236.js +0 -438
- package/dist/index236.js.map +0 -1
- package/dist/index237.js +0 -92
- package/dist/index237.js.map +0 -1
- package/dist/index238.js +0 -203
- package/dist/index238.js.map +0 -1
- package/dist/index239.js +0 -227
- package/dist/index239.js.map +0 -1
- package/dist/index24.js +0 -5
- package/dist/index24.js.map +0 -1
- package/dist/index240.js +0 -261
- package/dist/index240.js.map +0 -1
- package/dist/index241.js +0 -5
- package/dist/index241.js.map +0 -1
- package/dist/index242.js +0 -120
- package/dist/index242.js.map +0 -1
- package/dist/index243.js +0 -109
- package/dist/index243.js.map +0 -1
- package/dist/index244.js +0 -163
- package/dist/index244.js.map +0 -1
- package/dist/index245.js +0 -5
- package/dist/index245.js.map +0 -1
- package/dist/index246.js +0 -72
- package/dist/index246.js.map +0 -1
- package/dist/index247.js +0 -8
- package/dist/index247.js.map +0 -1
- package/dist/index248.js +0 -5
- package/dist/index248.js.map +0 -1
- package/dist/index249.js +0 -41
- package/dist/index249.js.map +0 -1
- package/dist/index25.js +0 -93
- package/dist/index25.js.map +0 -1
- package/dist/index250.js +0 -5
- package/dist/index250.js.map +0 -1
- package/dist/index251.js +0 -5
- package/dist/index251.js.map +0 -1
- package/dist/index252.js +0 -18
- package/dist/index252.js.map +0 -1
- package/dist/index253.js +0 -6
- package/dist/index253.js.map +0 -1
- package/dist/index254.js +0 -5
- package/dist/index254.js.map +0 -1
- package/dist/index255.js +0 -5
- package/dist/index255.js.map +0 -1
- package/dist/index26.js +0 -5
- package/dist/index26.js.map +0 -1
- package/dist/index27.js +0 -150
- package/dist/index27.js.map +0 -1
- package/dist/index28.js +0 -5
- package/dist/index28.js.map +0 -1
- package/dist/index29.js +0 -125
- package/dist/index29.js.map +0 -1
- package/dist/index3.js +0 -81
- package/dist/index3.js.map +0 -1
- package/dist/index30.js +0 -5
- package/dist/index30.js.map +0 -1
- package/dist/index31.js +0 -692
- package/dist/index31.js.map +0 -1
- package/dist/index32.js +0 -5
- package/dist/index32.js.map +0 -1
- package/dist/index33.js +0 -146
- package/dist/index33.js.map +0 -1
- package/dist/index34.js +0 -5
- package/dist/index34.js.map +0 -1
- package/dist/index35.js +0 -119
- package/dist/index35.js.map +0 -1
- package/dist/index36.js +0 -5
- package/dist/index36.js.map +0 -1
- package/dist/index37.js +0 -155
- package/dist/index37.js.map +0 -1
- package/dist/index38.js +0 -5
- package/dist/index38.js.map +0 -1
- package/dist/index39.js +0 -84
- package/dist/index39.js.map +0 -1
- package/dist/index4.js +0 -65
- package/dist/index4.js.map +0 -1
- package/dist/index40.js +0 -5
- package/dist/index40.js.map +0 -1
- package/dist/index41.js +0 -62
- package/dist/index41.js.map +0 -1
- package/dist/index42.js +0 -5
- package/dist/index42.js.map +0 -1
- package/dist/index43.js +0 -66
- package/dist/index43.js.map +0 -1
- package/dist/index44.js +0 -5
- package/dist/index44.js.map +0 -1
- package/dist/index45.js +0 -97
- package/dist/index45.js.map +0 -1
- package/dist/index46.js +0 -5
- package/dist/index46.js.map +0 -1
- package/dist/index47.js +0 -62
- package/dist/index47.js.map +0 -1
- package/dist/index48.js +0 -5
- package/dist/index48.js.map +0 -1
- package/dist/index49.js +0 -50
- package/dist/index49.js.map +0 -1
- package/dist/index5.js +0 -43
- package/dist/index5.js.map +0 -1
- package/dist/index50.js +0 -5
- package/dist/index50.js.map +0 -1
- package/dist/index51.js +0 -63
- package/dist/index51.js.map +0 -1
- package/dist/index52.js +0 -5
- package/dist/index52.js.map +0 -1
- package/dist/index53.js +0 -46
- package/dist/index53.js.map +0 -1
- package/dist/index54.js +0 -5
- package/dist/index54.js.map +0 -1
- package/dist/index55.js +0 -90
- package/dist/index55.js.map +0 -1
- package/dist/index56.js +0 -5
- package/dist/index56.js.map +0 -1
- package/dist/index57.js +0 -121
- package/dist/index57.js.map +0 -1
- package/dist/index58.js +0 -5
- package/dist/index58.js.map +0 -1
- package/dist/index59.js +0 -86
- package/dist/index59.js.map +0 -1
- package/dist/index6.js +0 -177
- package/dist/index6.js.map +0 -1
- package/dist/index60.js +0 -5
- package/dist/index60.js.map +0 -1
- package/dist/index61.js +0 -89
- package/dist/index61.js.map +0 -1
- package/dist/index62.js +0 -5
- package/dist/index62.js.map +0 -1
- package/dist/index63.js +0 -60
- package/dist/index63.js.map +0 -1
- package/dist/index64.js +0 -5
- package/dist/index64.js.map +0 -1
- package/dist/index65.js +0 -314
- package/dist/index65.js.map +0 -1
- package/dist/index66.js +0 -5
- package/dist/index66.js.map +0 -1
- package/dist/index67.js +0 -130
- package/dist/index67.js.map +0 -1
- package/dist/index68.js +0 -5
- package/dist/index68.js.map +0 -1
- package/dist/index69.js +0 -226
- package/dist/index69.js.map +0 -1
- package/dist/index7.js +0 -22
- package/dist/index7.js.map +0 -1
- package/dist/index70.js +0 -5
- package/dist/index70.js.map +0 -1
- package/dist/index71.js +0 -25
- package/dist/index71.js.map +0 -1
- package/dist/index72.js +0 -47
- package/dist/index72.js.map +0 -1
- package/dist/index73.js +0 -96
- package/dist/index73.js.map +0 -1
- package/dist/index74.js +0 -5
- package/dist/index74.js.map +0 -1
- package/dist/index75.js +0 -228
- package/dist/index75.js.map +0 -1
- package/dist/index76.js +0 -5
- package/dist/index76.js.map +0 -1
- package/dist/index77.js +0 -142
- package/dist/index77.js.map +0 -1
- package/dist/index78.js +0 -5
- package/dist/index78.js.map +0 -1
- package/dist/index79.js +0 -214
- package/dist/index79.js.map +0 -1
- package/dist/index8.js +0 -197
- package/dist/index8.js.map +0 -1
- package/dist/index80.js +0 -5
- package/dist/index80.js.map +0 -1
- package/dist/index81.js +0 -36
- package/dist/index81.js.map +0 -1
- package/dist/index82.js +0 -5
- package/dist/index82.js.map +0 -1
- package/dist/index83.js +0 -84
- package/dist/index83.js.map +0 -1
- package/dist/index84.js +0 -5
- package/dist/index84.js.map +0 -1
- package/dist/index85.js +0 -121
- package/dist/index85.js.map +0 -1
- package/dist/index86.js +0 -5
- package/dist/index86.js.map +0 -1
- package/dist/index87.js +0 -84
- package/dist/index87.js.map +0 -1
- package/dist/index88.js +0 -5
- package/dist/index88.js.map +0 -1
- package/dist/index89.js +0 -31
- package/dist/index89.js.map +0 -1
- package/dist/index9.js +0 -66
- package/dist/index9.js.map +0 -1
- package/dist/index90.js +0 -5
- package/dist/index90.js.map +0 -1
- package/dist/index91.js +0 -158
- package/dist/index91.js.map +0 -1
- package/dist/index92.js +0 -5
- package/dist/index92.js.map +0 -1
- package/dist/index93.js +0 -87
- package/dist/index93.js.map +0 -1
- package/dist/index94.js +0 -5
- package/dist/index94.js.map +0 -1
- package/dist/index95.js +0 -90
- package/dist/index95.js.map +0 -1
- package/dist/index96.js +0 -5
- package/dist/index96.js.map +0 -1
- package/dist/index97.js +0 -120
- package/dist/index97.js.map +0 -1
- package/dist/index98.js +0 -5
- package/dist/index98.js.map +0 -1
- package/dist/index99.js +0 -209
- package/dist/index99.js.map +0 -1
- package/dist/style.css +0 -1
package/dist/index103.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index103.js","sources":["../src/components/BbTag/BbTag.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, mergeProps as _mergeProps, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport BaseInputContainer from '../BaseInputContainer/BaseInputContainer.vue';\nimport BaseTag from '../BaseTag/BaseTag.vue';\nimport type { BaseTagEvents } from '../BaseTag/BaseTag.vue';\nimport type { HTMLAttributes, InputHTMLAttributes } 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 * 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 * 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\nexport type BbTagEvents = BaseTagEvents;\n\nexport type BbTagSlots = {\n\tappend?: (props: {}) => any;\n\n\t'append-outer'?: (props: {}) => any;\n\n\tprepend?: (props: {}) => any;\n\n\t'prepend-outer'?: (props: {}) => any;\n\tlabel?: (props: { text: string; hasErrors: boolean }) => any;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbTag',\n props: {\n autocomplete: {},\n autofocus: {},\n comma: { type: Boolean },\n direction: {},\n disabled: { type: Boolean },\n divider: {},\n errors: {},\n hasErrors: { type: Boolean },\n hideLabel: { type: Boolean },\n id: {},\n label: {},\n labelPosition: {},\n modelValue: {},\n multiple: { type: Boolean, default: true },\n name: {},\n placeholder: {},\n readonly: {},\n reverse: { type: Boolean }\n },\n emits: [\"blur\", \"change\", \"click\", \"duplicate\", \"focus\", \"inactive\", \"input\", \"keydown\", \"keyup\", \"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\n\n\nconst emit = __emit;\n\n\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) => emit('focus', event),\n\tonInactive: () => emit('inactive'),\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\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseInputContainer, {\n id: _ctx.id,\n class: \"bb-tag\",\n direction: _ctx.direction,\n errors: _ctx.errors,\n \"has-errors\": _ctx.hasErrors,\n \"hide-label\": _ctx.hideLabel,\n label: _ctx.label,\n \"label-position\": _ctx.labelPosition,\n \"model-value\": _ctx.modelValue,\n name: _ctx.name,\n reverse: _ctx.reverse\n }, {\n label: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"label\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n input: _withCtx(({ id, name, hasErrors }) => [\n _createVNode(BaseTag, _mergeProps({\n id: id,\n autocomplete: _ctx.autocomplete,\n autofocus: _ctx.autofocus,\n comma: _ctx.comma,\n disabled: _ctx.disabled,\n divider: _ctx.divider,\n \"has-errors\": hasErrors,\n \"model-value\": _ctx.modelValue,\n multiple: _ctx.multiple,\n name: name,\n placeholder: _ctx.placeholder,\n readonly: _ctx.readonly\n }, eventListeners), {\n \"prepend-outer\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"prepend-outer\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n prepend: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"prepend\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"append-outer\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"append-outer\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n append: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"append\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n _: 2\n }, 1040, [\"id\", \"autocomplete\", \"autofocus\", \"comma\", \"disabled\", \"divider\", \"has-errors\", \"model-value\", \"multiple\", \"name\", \"placeholder\", \"readonly\"])\n ]),\n _: 3\n }, 8, [\"id\", \"direction\", \"errors\", \"has-errors\", \"hide-label\", \"label\", \"label-position\", \"model-value\", \"name\", \"reverse\"]))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","emit","eventListeners","event","string","value","_ctx","_cache","_openBlock","_createBlock","BaseInputContainer","_withCtx","data","_renderSlot","_normalizeProps","_guardReactiveProps","id","name","hasErrors","_createVNode","BaseTag","_mergeProps"],"mappings":";;;;;AAqHA,MAA4BA,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,cAAc,CAAC;AAAA,IACf,WAAW,CAAC;AAAA,IACZ,OAAO,EAAE,MAAM,QAAQ;AAAA,IACvB,WAAW,CAAC;AAAA,IACZ,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,SAAS,CAAC;AAAA,IACV,QAAQ,CAAC;AAAA,IACT,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,IAAI,CAAC;AAAA,IACL,OAAO,CAAC;AAAA,IACR,eAAe,CAAC;AAAA,IAChB,YAAY,CAAC;AAAA,IACb,UAAU,EAAE,MAAM,SAAS,SAAS,GAAK;AAAA,IACzC,MAAM,CAAC;AAAA,IACP,aAAa,CAAC;AAAA,IACd,UAAU,CAAC;AAAA,IACX,SAAS,EAAE,MAAM,QAAQ;AAAA,EAC3B;AAAA,EACA,OAAO,CAAC,QAAQ,UAAU,SAAS,aAAa,SAAS,YAAY,SAAS,WAAW,SAAS,mBAAmB;AAAA,EACrH,MAAMC,GAAc,EAAE,MAAMC,KAAU;AAIxC,UAAMC,IAAOD,GAIPE,IAAiB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UACf,SAASA,EAAK;AAAA,UACd,cAAcY;AAAA,UACd,eAAeZ,EAAK;AAAA,UACpB,UAAUA,EAAK;AAAA,UACf,MAAAW;AAAA,UACA,aAAaX,EAAK;AAAA,UAClB,UAAUA,EAAK;AAAA,QACjB,GAAGJ,CAAc,GAAG;AAAA,UAClB,iBAAiBS,EAAS,CAACC,MAAS;AAAA,YAClCC,EAAYP,EAAK,QAAQ,iBAAiBQ,EAAgBC,EAAoBH,CAAI,CAAC,CAAC;AAAA,UAAA,CACrF;AAAA,UACD,SAASD,EAAS,CAACC,MAAS;AAAA,YAC1BC,EAAYP,EAAK,QAAQ,WAAWQ,EAAgBC,EAAoBH,CAAI,CAAC,CAAC;AAAA,UAAA,CAC/E;AAAA,UACD,gBAAgBD,EAAS,CAACC,MAAS;AAAA,YACjCC,EAAYP,EAAK,QAAQ,gBAAgBQ,EAAgBC,EAAoBH,CAAI,CAAC,CAAC;AAAA,UAAA,CACpF;AAAA,UACD,QAAQD,EAAS,CAACC,MAAS;AAAA,YACzBC,EAAYP,EAAK,QAAQ,UAAUQ,EAAgBC,EAAoBH,CAAI,CAAC,CAAC;AAAA,UAAA,CAC9E;AAAA,UACD,GAAG;AAAA,QAAA,GACF,MAAM,CAAC,MAAM,gBAAgB,aAAa,SAAS,YAAY,WAAW,cAAc,eAAe,YAAY,QAAQ,eAAe,UAAU,CAAC;AAAA,MAAA,CACzJ;AAAA,MACD,GAAG;AAAA,IACF,GAAA,GAAG,CAAC,MAAM,aAAa,UAAU,cAAc,cAAc,SAAS,kBAAkB,eAAe,QAAQ,SAAS,CAAC;AAAA,EAE9H;AAEA,CAAC;"}
|
package/dist/index104.js
DELETED
package/dist/index104.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index104.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index105.js
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { defineComponent as u, openBlock as i, createBlock as t, withCtx as r, renderSlot as a, normalizeProps as m, guardReactiveProps as b, createVNode as h, mergeProps as c } from "vue";
|
|
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
|
-
};
|
|
89
|
-
//# sourceMappingURL=index105.js.map
|
package/dist/index105.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index105.js","sources":["../src/components/BbTextarea/BbTextarea.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, mergeProps as _mergeProps, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport BaseInputContainer from '../BaseInputContainer/BaseInputContainer.vue';\nimport BaseTextarea from '../BaseTextarea/BaseTextarea.vue';\nimport type {\n\tBaseTextareaEvents,\n\tBaseTextareaSlots,\n} from '../BaseTextarea/BaseTextarea.vue';\nimport type { BaseInputContainerSlots } from '../BaseInputContainer/BaseInputContainer.vue';\nimport type { HTMLAttributes, InputHTMLAttributes } 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 * 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 * 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\nexport type BbTextareaEvents = BaseTextareaEvents;\nexport type BbTextareaSlots = BaseTextareaSlots & {\n\tlabel?: (props: { text: string; hasErrors: boolean }) => any;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbTextarea',\n props: {\n autocomplete: {},\n autofocus: {},\n autoGrow: { type: Boolean },\n direction: {},\n disabled: { type: Boolean },\n errors: {},\n hasErrors: { type: Boolean },\n hideLabel: { type: Boolean },\n id: {},\n label: {},\n labelPosition: {},\n modelValue: {},\n name: {},\n placeholder: {},\n readonly: {},\n reverse: { type: Boolean }\n },\n emits: [\"blur\", \"change\", \"click\", \"focus\", \"input\", \"keydown\", \"mousedown\", \"mouseup\", \"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\n\n\nconst emit = __emit;\n\n\n\n/**\n * These events are just propagated\n */\nconst eventListeners = {\n\tonBlur: (event: FocusEvent) => emit('blur', event),\n\tonChange: (event: Event) => emit('change', event),\n\tonClick: (event: MouseEvent) => emit('click', event),\n\tonFocus: (event: FocusEvent) => emit('focus', event),\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\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseInputContainer, {\n id: _ctx.id,\n class: \"bb-textarea\",\n direction: _ctx.direction,\n errors: _ctx.errors,\n \"has-errors\": _ctx.hasErrors,\n \"hide-label\": _ctx.hideLabel,\n label: _ctx.label,\n \"label-position\": _ctx.labelPosition,\n \"model-value\": _ctx.modelValue,\n name: _ctx.name,\n reverse: _ctx.reverse\n }, {\n label: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"label\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n input: _withCtx(({ id, name, hasErrors }) => [\n _createVNode(BaseTextarea, _mergeProps({\n id: id,\n \"auto-grow\": _ctx.autoGrow,\n autofocus: _ctx.autofocus,\n disabled: _ctx.disabled,\n \"has-errors\": hasErrors,\n \"model-value\": _ctx.modelValue,\n name: name,\n placeholder: _ctx.placeholder,\n readonly: _ctx.readonly\n }, eventListeners), {\n \"append-outer\": _withCtx(() => [\n _renderSlot(_ctx.$slots, \"append-outer\")\n ]),\n append: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"append\")\n ]),\n prepend: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"prepend\")\n ]),\n \"prepend-outer\": _withCtx(() => [\n _renderSlot(_ctx.$slots, \"prepend-outer\")\n ]),\n _: 2\n }, 1040, [\"id\", \"auto-grow\", \"autofocus\", \"disabled\", \"has-errors\", \"model-value\", \"name\", \"placeholder\", \"readonly\"])\n ]),\n _: 3\n }, 8, [\"id\", \"direction\", \"errors\", \"has-errors\", \"hide-label\", \"label\", \"label-position\", \"model-value\", \"name\", \"reverse\"]))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","emit","eventListeners","event","value","_ctx","_cache","_openBlock","_createBlock","BaseInputContainer","_withCtx","data","_renderSlot","_normalizeProps","_guardReactiveProps","id","name","hasErrors","_createVNode","BaseTextarea","_mergeProps"],"mappings":";;;;;AAqGA,MAA4BA,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,cAAc,CAAC;AAAA,IACf,WAAW,CAAC;AAAA,IACZ,UAAU,EAAE,MAAM,QAAQ;A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A,CAAC;"}
|
package/dist/index106.js
DELETED
package/dist/index106.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index106.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index107.js
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { defineComponent as u, openBlock as t, createBlock as i, withCtx as l, renderSlot as r, normalizeProps as m, guardReactiveProps as b, createVNode as c, mergeProps as h } from "vue";
|
|
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
|
-
};
|
|
90
|
-
//# sourceMappingURL=index107.js.map
|
package/dist/index107.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index107.js","sources":["../src/components/BbTextInput/BbTextInput.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, mergeProps as _mergeProps, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport type { HTMLAttributes, InputHTMLAttributes } from 'vue';\nimport BaseInputContainer, {\n\ttype BaseInputContainerSlots,\n} from '../BaseInputContainer/BaseInputContainer.vue';\nimport BaseTextInput from '../BaseTextInput/BaseTextInput.vue';\nimport type {\n\tBaseTextInputEvents,\n\tBaseTextInputSlots,\n} from '../BaseTextInput/BaseTextInput.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 * Disables the component\n\t */\n\tdisabled?: boolean;\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 * The identifier of the component.\n\t */\n\tid?: HTMLAttributes['id'];\n\n\t/**\n\t * Defines the name of the input.\n\t */\n\tname?: InputHTMLAttributes['name'];\n\n\t/**\n\t * String displayed when there'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\t/**\n\t * Used my v-model\n\t */\n\tmodelValue: string | null;\n\t/**\n\t * Type of the input. Returns the content type of the object.\n\t */\n\ttype?: HTMLInputElement['type'];\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 * 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 * Visually hides the label of the input while maintaining accessibility.\n\t */\n\thideLabel?: boolean;\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 * Reverses the layout. Applicable in every direction the order of the label and the input is swapped.\n\t */\n\treverse?: boolean;\n};\n\nexport type BbTextInputEvents = BaseTextInputEvents;\nexport type BbTextInputSlots = BaseTextInputSlots & {\n\tlabel?: (props: { text: string; hasErrors: boolean }) => any;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbTextInput',\n props: {\n autocomplete: {},\n autofocus: {},\n disabled: { type: Boolean },\n hasErrors: { type: Boolean },\n id: {},\n name: {},\n placeholder: {},\n readonly: {},\n modelValue: {},\n type: {},\n direction: {},\n errors: {},\n hideLabel: { type: Boolean },\n label: {},\n labelPosition: {},\n reverse: { type: Boolean }\n },\n emits: [\"blur\", \"change\", \"click\", \"focus\", \"input\", \"keydown\", \"mousedown\", \"mouseup\", \"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\n\n\nconst emit = __emit;\n\n\n\n/**\n * These events are just propagated\n */\nconst eventListeners = {\n\tonBlur: (event: FocusEvent) => emit('blur', event),\n\tonChange: (event: Event) => emit('change', event),\n\tonClick: (event: MouseEvent) => emit('click', event),\n\tonFocus: (event: FocusEvent) => emit('focus', event),\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\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseInputContainer, {\n id: _ctx.id,\n class: \"bb-text-input\",\n direction: _ctx.direction,\n errors: _ctx.errors,\n \"has-errors\": _ctx.hasErrors,\n \"hide-label\": _ctx.hideLabel,\n label: _ctx.label,\n \"label-position\": _ctx.labelPosition,\n \"model-value\": _ctx.modelValue,\n name: _ctx.name,\n reverse: _ctx.reverse\n }, {\n label: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"label\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n input: _withCtx(({ id, name, hasErrors }) => [\n _createVNode(BaseTextInput, _mergeProps({\n id: id,\n autocomplete: _ctx.autocomplete,\n autofocus: _ctx.autofocus,\n disabled: _ctx.disabled,\n \"has-errors\": hasErrors,\n \"model-value\": _ctx.modelValue,\n name: name,\n placeholder: _ctx.placeholder,\n readonly: _ctx.readonly,\n type: _ctx.type\n }, eventListeners), {\n \"append-outer\": _withCtx(() => [\n _renderSlot(_ctx.$slots, \"append-outer\")\n ]),\n append: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"append\")\n ]),\n prepend: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"prepend\")\n ]),\n \"prepend-outer\": _withCtx(() => [\n _renderSlot(_ctx.$slots, \"prepend-outer\")\n ]),\n _: 2\n }, 1040, [\"id\", \"autocomplete\", \"autofocus\", \"disabled\", \"has-errors\", \"model-value\", \"name\", \"placeholder\", \"readonly\", \"type\"])\n ]),\n _: 3\n }, 8, [\"id\", \"direction\", \"errors\", \"has-errors\", \"hide-label\", \"label\", \"label-position\", \"model-value\", \"name\", \"reverse\"]))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","emit","eventListeners","event","value","_ctx","_cache","_openBlock","_createBlock","BaseInputContainer","_withCtx","data","_renderSlot","_normal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,QACF,GAAA,MAAM,CAAC,MAAM,gBAAgB,aAAa,YAAY,cAAc,eAAe,QAAQ,eAAe,YAAY,MAAM,CAAC;AAAA,MAAA,CACjI;AAAA,MACD,GAAG;AAAA,IACF,GAAA,GAAG,CAAC,MAAM,aAAa,UAAU,cAAc,cAAc,SAAS,kBAAkB,eAAe,QAAQ,SAAS,CAAC;AAAA,EAE9H;AAEA,CAAC;"}
|
package/dist/index108.js
DELETED
package/dist/index108.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index108.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index109.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { defineComponent as s, openBlock as e, createBlock as o, Teleport as l, createElementVNode as c, normalizeClass as m, createVNode as i, TransitionGroup as p, withCtx as u, createElementBlock as d, Fragment as f, renderList as _, unref as r, mergeProps as b } from "vue";
|
|
2
|
-
import { state as k, useToast as C } from "./index5.js";
|
|
3
|
-
import B from "./index246.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
|
-
};
|
|
30
|
-
//# sourceMappingURL=index109.js.map
|
package/dist/index109.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index109.js","sources":["../src/components/BbToast/BbToast.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, mergeProps as _mergeProps, createBlock as _createBlock, TransitionGroup as _TransitionGroup, withCtx as _withCtx, createVNode as _createVNode, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, Teleport as _Teleport } from \"vue\"\n\nimport { state, useToast } from '../../composables/useToast';\nimport BbToastMessage from './BbToastMessage.vue';\nexport type BbToastProps = {\n\t/**\n\t * Placement of the messages on the screen.\n\t */\n\tplacement?:\n\t\t| 'bottom'\n\t\t| 'bottom-start'\n\t\t| 'bottom-end'\n\t\t| 'top'\n\t\t| 'top-start'\n\t\t| 'top-end';\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbToast',\n props: {\n placement: { default: 'bottom' }\n },\n setup(__props: any) {\n\nconst { dismiss } = useToast();\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_Teleport, { to: \"body\" }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"bb-toast\", { [`bb-toast--${_ctx.placement}`]: true }])\n }, [\n _createVNode(_TransitionGroup, { name: \"toast\" }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(state).stack, (message) => {\n return (_openBlock(), _createBlock(BbToastMessage, _mergeProps({\n key: message.id\n }, message, { \"onClick:close\": _unref(dismiss) }), null, 16, [\"onClick:close\"]))\n }), 128))\n ]),\n _: 1\n })\n ], 2)\n ]))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","dismiss","useToast","_ctx","_cache","_openBlock","_createBlock","_Teleport","_createElementVNode","_normalizeClass","_createVNode","_TransitionGroup","_withCtx","_createElementBlock","_Fragment","_renderList","_unref","state","message","BbToastMessage","_mergeProps"],"mappings":";;;AAmBA,MAA4BA,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,WAAW,EAAE,SAAS,SAAS;AAAA,EACjC;AAAA,EACA,MAAMC,GAAc;AAEhB,UAAA,EAAE,SAAAC,MAAYC;AAIb,WAAA,CAACC,GAAUC,OACRC,EAAc,GAAAC,EAAaC,GAAW,EAAE,IAAI,UAAU;AAAA,MAC5DC,EAAoB,OAAO;AAAA,QACzB,OAAOC,EAAgB,CAAC,YAAY,EAAE,CAAC,aAAaN,EAAK,SAAS,EAAE,GAAG,GAAM,CAAA,CAAC;AAAA,MAAA,GAC7E;AAAA,QACDO,EAAaC,GAAkB,EAAE,MAAM,WAAW;AAAA,UAChD,SAASC,EAAS,MAAM;AAAA,aACrBP,EAAW,EAAI,GAAGQ,EAAoBC,GAAW,MAAMC,EAAYC,EAAOC,CAAK,EAAE,OAAO,CAACC,OAChFb,EAAW,GAAGC,EAAaa,GAAgBC,EAAY;AAAA,cAC7D,KAAKF,EAAQ;AAAA,YACZ,GAAAA,GAAS,EAAE,iBAAiBF,EAAOf,CAAO,GAAG,GAAG,MAAM,IAAI,CAAC,eAAe,CAAC,EAC/E,GAAG,GAAG;AAAA,UAAA,CACR;AAAA,UACD,GAAG;AAAA,QAAA,CACJ;AAAA,SACA,CAAC;AAAA,IAAA,CACL;AAAA,EAEH;AAEA,CAAC;"}
|
package/dist/index11.js
DELETED
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import { defineComponent as B, ref as h, computed as n, watch as L, openBlock as c, createElementBlock as i, normalizeClass as E, normalizeProps as p, mergeProps as d, createCommentVNode as I, createElementVNode as l, renderSlot as F, guardReactiveProps as M } from "vue";
|
|
2
|
-
import { isCssColor as f } from "./index197.js";
|
|
3
|
-
import { when as N } from "./index198.js";
|
|
4
|
-
const A = {
|
|
5
|
-
"aria-hidden": "true",
|
|
6
|
-
class: "bb-base-checkbox-container"
|
|
7
|
-
}, S = /* @__PURE__ */ l("path", {
|
|
8
|
-
d: "M 380.93 158.834 L 286.863 158.834 C 281.088 158.834 276.411 163.511 276.411 169.286 L 276.411 263.352 C 276.411 269.127 281.088 273.804 286.863 273.804 L 380.93 273.804 C 386.704 273.804 391.382 269.127 391.382 263.352 L 391.382 169.286 C 391.382 163.511 386.699 158.834 380.93 158.834 Z",
|
|
9
|
-
style: {}
|
|
10
|
-
}, null, -1), J = /* @__PURE__ */ l("path", {
|
|
11
|
-
d: "M 297.574 224.786 L 318.309 243.134 L 371.568 189.232",
|
|
12
|
-
fill: "none",
|
|
13
|
-
stroke: "white",
|
|
14
|
-
"stroke-linecap": "round",
|
|
15
|
-
"stroke-width": "14px"
|
|
16
|
-
}, null, -1), O = [
|
|
17
|
-
S,
|
|
18
|
-
J
|
|
19
|
-
], K = /* @__PURE__ */ B({
|
|
20
|
-
__name: "BaseCheckbox",
|
|
21
|
-
props: {
|
|
22
|
-
autofocus: {},
|
|
23
|
-
checked: {},
|
|
24
|
-
color: {},
|
|
25
|
-
disabled: { type: Boolean },
|
|
26
|
-
falseValue: { default: !1 },
|
|
27
|
-
hasErrors: { type: Boolean },
|
|
28
|
-
id: {},
|
|
29
|
-
indeterminate: {},
|
|
30
|
-
name: {},
|
|
31
|
-
readonly: {},
|
|
32
|
-
submitWhenFalse: { type: Boolean },
|
|
33
|
-
trueValue: { default: !0 },
|
|
34
|
-
modelValue: {}
|
|
35
|
-
},
|
|
36
|
-
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
|
37
|
-
setup(k, { emit: v }) {
|
|
38
|
-
const e = k, a = v, u = h(null), s = n(() => e.checked ? !0 : JSON.stringify(e.trueValue) === JSON.stringify(e.modelValue)), r = h(!1), y = n(() => ({
|
|
39
|
-
"bb-base-checkbox": !0,
|
|
40
|
-
"bb-base-checkbox--disabled": e.disabled,
|
|
41
|
-
"bb-base-checkbox--errors": e.hasErrors,
|
|
42
|
-
"bb-base-checkbox--indeterminate": e.indeterminate,
|
|
43
|
-
"bb-base-checkbox--readonly": e.readonly,
|
|
44
|
-
[`bb-base-checkbox--${e.color}`]: e.color && !f(e.color)
|
|
45
|
-
})), b = N(
|
|
46
|
-
(t) => typeof t != "string",
|
|
47
|
-
JSON.stringify
|
|
48
|
-
), V = n(() => {
|
|
49
|
-
const t = b(e.falseValue);
|
|
50
|
-
return {
|
|
51
|
-
disabled: e.disabled,
|
|
52
|
-
name: e.name,
|
|
53
|
-
type: "hidden",
|
|
54
|
-
value: t
|
|
55
|
-
};
|
|
56
|
-
}), m = n(() => {
|
|
57
|
-
const t = b(e.trueValue), C = {
|
|
58
|
-
onBlur: (o) => {
|
|
59
|
-
r.value = !1, a("blur", o);
|
|
60
|
-
},
|
|
61
|
-
onChange: (o) => {
|
|
62
|
-
if (o.target instanceof HTMLInputElement) {
|
|
63
|
-
let w = o.target.checked ? e.trueValue : e.falseValue;
|
|
64
|
-
a("change", o), a("update:modelValue", w);
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
onClick: (o) => a("click", o),
|
|
68
|
-
onFocus: (o) => {
|
|
69
|
-
r.value = !0, a("focus", o);
|
|
70
|
-
},
|
|
71
|
-
onKeydown: (o) => a("keydown", o),
|
|
72
|
-
onMousedown: (o) => a("mousedown", o),
|
|
73
|
-
onMouseup: (o) => a("mouseup", o),
|
|
74
|
-
onInput: (o) => a("input", o)
|
|
75
|
-
};
|
|
76
|
-
return {
|
|
77
|
-
autofocus: e.autofocus,
|
|
78
|
-
checked: s.value,
|
|
79
|
-
// There is no such thing as readonly checkbox so we disable and style it with css
|
|
80
|
-
disabled: e.disabled || e.readonly,
|
|
81
|
-
id: e.id,
|
|
82
|
-
indeterminate: e.indeterminate,
|
|
83
|
-
name: e.name,
|
|
84
|
-
tabindex: e.disabled ? -1 : void 0,
|
|
85
|
-
type: "checkbox",
|
|
86
|
-
value: t,
|
|
87
|
-
...C
|
|
88
|
-
};
|
|
89
|
-
}), x = n(() => ({
|
|
90
|
-
checked: s.value,
|
|
91
|
-
disabled: e.disabled,
|
|
92
|
-
falseValue: e.falseValue,
|
|
93
|
-
focused: r.value,
|
|
94
|
-
hasErrors: e.hasErrors,
|
|
95
|
-
id: e.id,
|
|
96
|
-
name: e.name,
|
|
97
|
-
parsedValue: m.value.value,
|
|
98
|
-
readonly: e.readonly,
|
|
99
|
-
trueValue: e.trueValue,
|
|
100
|
-
value: s.value ? e.trueValue : e.falseValue
|
|
101
|
-
})), _ = n(() => {
|
|
102
|
-
let t = {};
|
|
103
|
-
return e.color && f(e.color) && (t.color = e.color), {
|
|
104
|
-
class: "bb-base-checkbox-container__icon",
|
|
105
|
-
style: t
|
|
106
|
-
};
|
|
107
|
-
});
|
|
108
|
-
return L(
|
|
109
|
-
() => [e.modelValue, e.checked, e.indeterminate],
|
|
110
|
-
() => {
|
|
111
|
-
u.value && (u.value.indeterminate = !!e.indeterminate);
|
|
112
|
-
}
|
|
113
|
-
), (t, g) => (c(), i("span", {
|
|
114
|
-
class: E(y.value)
|
|
115
|
-
}, [
|
|
116
|
-
!s.value && t.submitWhenFalse ? (c(), i("input", p(d({ key: 0 }, V.value)), null, 16)) : I("", !0),
|
|
117
|
-
l("input", d(m.value, {
|
|
118
|
-
ref_key: "checkboxInput",
|
|
119
|
-
ref: u
|
|
120
|
-
}), null, 16),
|
|
121
|
-
l("span", A, [
|
|
122
|
-
F(t.$slots, "icon", p(M(x.value)), () => [
|
|
123
|
-
(c(), i("svg", d({ viewBox: "276.411 158.834 114.971 114.97" }, _.value), O, 16))
|
|
124
|
-
])
|
|
125
|
-
])
|
|
126
|
-
], 2));
|
|
127
|
-
}
|
|
128
|
-
});
|
|
129
|
-
export {
|
|
130
|
-
K as default
|
|
131
|
-
};
|
|
132
|
-
//# sourceMappingURL=index11.js.map
|
package/dist/index11.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index11.js","sources":["../src/components/BaseCheckbox/BaseCheckbox.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, openBlock as _openBlock, createElementBlock as _createElementBlock, mergeProps as _mergeProps, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, renderSlot as _renderSlot, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = {\n \"aria-hidden\": \"true\",\n class: \"bb-base-checkbox-container\"\n}\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M 380.93 158.834 L 286.863 158.834 C 281.088 158.834 276.411 163.511 276.411 169.286 L 276.411 263.352 C 276.411 269.127 281.088 273.804 286.863 273.804 L 380.93 273.804 C 386.704 273.804 391.382 269.127 391.382 263.352 L 391.382 169.286 C 391.382 163.511 386.699 158.834 380.93 158.834 Z\",\n style: {}\n}, null, -1)\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M 297.574 224.786 L 318.309 243.134 L 371.568 189.232\",\n fill: \"none\",\n stroke: \"white\",\n \"stroke-linecap\": \"round\",\n \"stroke-width\": \"14px\"\n}, null, -1)\nconst _hoisted_4 = [\n _hoisted_2,\n _hoisted_3\n]\n\nimport { computed, ref, watch } from 'vue';\nimport { isCssColor } from '@/utilities/functions/isCssColor';\nimport { when } from '@/utilities/functions/when';\nimport type { HTMLAttributes, InputHTMLAttributes } from 'vue';\n\nexport type BaseCheckboxProps = {\n\t/**\n\t * Sets autofocus on page load.\n\t */\n\tautofocus?: InputHTMLAttributes['autofocus'];\n\n\t/**\n\t * Defines the input as checked\n\t */\n\tchecked?: InputHTMLAttributes['checked'];\n\n\t/**\n\t * Define a color for the component.\n\t *\n\t * Either a custom color or a coded color in common HEX, RGB, etc... format.\n\t */\n\tcolor?: string;\n\n\t/**\n\t * Disables the component\n\t */\n\tdisabled?: boolean;\n\n\t/**\n\t * Value of the input when unchecked. It handles any kind of serializable object.\n\t */\n\tfalseValue?: any;\n\n\t/**\n\t * Define if the component should be in an error state.\n\t * It usually attaches a CSS class for styling purposes.\n\t */\n\thasErrors?: boolean;\n\n\t/**\n\t * The identifier of the component.\n\t */\n\tid?: HTMLAttributes['id'];\n\n\t/**\n\t * Sets the input in an indeterminate state.\n\t */\n\tindeterminate?: InputHTMLAttributes['indeterminate'];\n\n\t/**\n\t * Defines the name of the input.\n\t */\n\tname?: InputHTMLAttributes['name'];\n\n\t/**\n\t * Sets the input in a readonly state.\n\t */\n\treadonly?: InputHTMLAttributes['readonly'];\n\n\t/**\n\t * Will submit \"falseValue\" if the input is not checked. Otherwise \"trueValue\" will be submitted.\n\t */\n\tsubmitWhenFalse?: boolean;\n\n\t/**\n\t * Value of the input when checked. It handles any kind of serializable object.\n\t */\n\ttrueValue?: any;\n\t/**\n\t * Used by v-model. Can be any serializable type.\n\t */\n\tmodelValue?: any;\n};\n\nexport type BaseCheckboxEvents = {\n\t(e: 'blur', event: FocusEvent): void;\n\t(e: 'change', event: Event): void;\n\t(e: 'click', event: MouseEvent): void;\n\t(e: 'focus', event: FocusEvent): void;\n\t(e: 'input', event: Event): void;\n\t(e: 'keydown', event: KeyboardEvent): void;\n\t(e: 'mousedown', event: MouseEvent): void;\n\t(e: 'mouseup', event: MouseEvent): void;\n\t(e: 'update:modelValue', value: any): void;\n};\n\nexport type SlotAttributes = {\n\tchecked: boolean;\n\tdisabled: Exclude<BaseCheckboxProps['disabled'], undefined>;\n\tfalseValue: any;\n\tfocused: boolean;\n\thasErrors: Exclude<BaseCheckboxProps['hasErrors'], undefined>;\n\tid: BaseCheckboxProps['id'];\n\tname: BaseCheckboxProps['name'];\n\tparsedValue: any;\n\treadonly: BaseCheckboxProps['readonly'];\n\ttrueValue: any;\n\tvalue: any;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BaseCheckbox',\n props: {\n autofocus: {},\n checked: {},\n color: {},\n disabled: { type: Boolean },\n falseValue: { default: false },\n hasErrors: { type: Boolean },\n id: {},\n indeterminate: {},\n name: {},\n readonly: {},\n submitWhenFalse: { type: Boolean },\n trueValue: { default: true },\n modelValue: {}\n },\n emits: [\"blur\", \"change\", \"click\", \"focus\", \"input\", \"keydown\", \"mousedown\", \"mouseup\", \"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\nconst props = __props;\n\nconst emit = __emit;\n\n\n\nconst checkboxInput = ref<HTMLInputElement | null>(null);\n\nconst checked = computed(() => {\n\tif (props.checked) return true;\n\treturn JSON.stringify(props.trueValue) === JSON.stringify(props.modelValue);\n});\nconst hasFocus = ref(false);\n\nconst classes = computed(() => {\n\treturn {\n\t\t'bb-base-checkbox': true,\n\t\t'bb-base-checkbox--disabled': props.disabled,\n\t\t'bb-base-checkbox--errors': props.hasErrors,\n\t\t'bb-base-checkbox--indeterminate': props.indeterminate,\n\t\t'bb-base-checkbox--readonly': props.readonly,\n\t\t[`bb-base-checkbox--${props.color}`]:\n\t\t\tprops.color && !isCssColor(props.color),\n\t};\n});\n\n/**\n * This is used to keep the value compatible to common html expected values.\n * Convert to string everything that's not but do not double encode strings\n */\nconst makeInputValue = when(\n\t(item: unknown) => typeof item !== 'string',\n\tJSON.stringify\n);\n\nconst hiddenInputAttributes = computed(() => {\n\tconst value = makeInputValue(props.falseValue);\n\treturn {\n\t\tdisabled: props.disabled,\n\t\tname: props.name,\n\t\ttype: 'hidden',\n\t\tvalue: value,\n\t};\n});\n\nconst inputAttributes = computed(() => {\n\tconst value = makeInputValue(props.trueValue);\n\n\tconst onBlur = (event: FocusEvent): void => {\n\t\thasFocus.value = false;\n\t\temit('blur', event);\n\t};\n\n\tconst onChange = (event: Event): void => {\n\t\tif (event.target instanceof HTMLInputElement) {\n\t\t\tlet value = event.target.checked ? props.trueValue : props.falseValue;\n\n\t\t\temit('change', event);\n\t\t\temit('update:modelValue', value);\n\t\t}\n\t};\n\n\tconst onFocus = (event: FocusEvent): void => {\n\t\thasFocus.value = true;\n\t\temit('focus', event);\n\t};\n\n\tconst eventListeners = {\n\t\tonBlur,\n\t\tonChange,\n\t\tonClick: (event: MouseEvent) => emit('click', event),\n\t\tonFocus,\n\t\tonKeydown: (event: KeyboardEvent) => emit('keydown', event),\n\t\tonMousedown: (event: MouseEvent) => emit('mousedown', event),\n\t\tonMouseup: (event: MouseEvent) => emit('mouseup', event),\n\t\tonInput: (event: Event) => emit('input', event),\n\t};\n\n\treturn {\n\t\tautofocus: props.autofocus,\n\t\tchecked: checked.value,\n\t\t// There is no such thing as readonly checkbox so we disable and style it with css\n\t\tdisabled: props.disabled || props.readonly,\n\t\tid: props.id,\n\t\tindeterminate: props.indeterminate,\n\t\tname: props.name,\n\t\ttabindex: props.disabled ? -1 : undefined,\n\t\ttype: 'checkbox',\n\t\tvalue: value,\n\t\t...eventListeners,\n\t};\n});\n\nconst slotAttributes = computed(() => ({\n\tchecked: checked.value,\n\tdisabled: props.disabled,\n\tfalseValue: props.falseValue,\n\tfocused: hasFocus.value,\n\thasErrors: props.hasErrors,\n\tid: props.id,\n\tname: props.name,\n\tparsedValue: inputAttributes.value.value,\n\treadonly: props.readonly,\n\ttrueValue: props.trueValue,\n\tvalue: checked.value ? props.trueValue : props.falseValue,\n}));\n\nconst iconAttributes = computed(() => {\n\tlet style: { [key: string]: string } = {};\n\tif (props.color && isCssColor(props.color)) {\n\t\tstyle.color = props.color;\n\t}\n\treturn {\n\t\tclass: 'bb-base-checkbox-container__icon',\n\t\tstyle,\n\t};\n});\n\n/**\n * Indeterminate is a very volatile prop that is reset upon clicking,\n * this keeps the state and the prop aligned\n */\nwatch(\n\t() => [props.modelValue, props.checked, props.indeterminate],\n\t() => {\n\t\tif (checkboxInput.value) {\n\t\t\tcheckboxInput.value.indeterminate = !!props.indeterminate;\n\t\t}\n\t}\n);\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"span\", {\n class: _normalizeClass(classes.value)\n }, [\n (!checked.value && _ctx.submitWhenFalse)\n ? (_openBlock(), _createElementBlock(\"input\", _normalizeProps(_mergeProps({ key: 0 }, hiddenInputAttributes.value)), null, 16))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"input\", _mergeProps(inputAttributes.value, {\n ref_key: \"checkboxInput\",\n ref: checkboxInput\n }), null, 16),\n _createElementVNode(\"span\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"icon\", _normalizeProps(_guardReactiveProps(slotAttributes.value)), () => [\n (_openBlock(), _createElementBlock(\"svg\", _mergeProps({ viewBox: \"276.411 158.834 114.971 114.97\" }, iconAttributes.value), _hoisted_4, 16))\n ])\n ])\n ], 2))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_sfc_main","_defineComponent","__props","__emit","props","emit","checkboxInput","ref","checked","computed","hasFocus","classes","isCssColor","makeInputValue","when","item","hiddenInputAttributes","value","inputAttributes","eventListeners","event","slotAttributes","iconAttributes","style","watch","_ctx","_cache","_openBlock","_createElementBlock","_normalizeClass","_normalizeProps","_mergeProps","_createCommentVNode","_createElementVNode","_renderSlot","_guardReactiveProps"],"mappings":";;;AAGA,MAAMA,IAAa;AAAA,EACjB,eAAe;AAAA,EACf,OAAO;AACT,GACMC,sBAA8C,QAAQ;AAAA,EAC1D,GAAG;AAAA,EACH,OAAO,CAAC;AACV,GAAG,MAAM,EAAE,GACLC,sBAA8C,QAAQ;AAAA,EAC1D,GAAG;AAAA,EACH,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,kBAAkB;AAAA,EAClB,gBAAgB;AAClB,GAAG,MAAM,EAAE,GACLC,IAAa;AAAA,EACjBF;AAAA,EACAC;AACF,GAuG4BE,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,WAAW,CAAC;AAAA,IACZ,SAAS,CAAC;AAAA,IACV,OAAO,CAAC;AAAA,I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AA,EAEN;AAEA,CAAC;"}
|
package/dist/index110.js
DELETED
package/dist/index110.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index110.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index111.js
DELETED
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import { defineComponent as A, ref as o, computed as E, openBlock as b, createElementBlock as $, mergeProps as D, createElementVNode as i, renderSlot as L, normalizeProps as H, guardReactiveProps as I, unref as s, createBlock as M, Teleport as R, normalizeClass as U, normalizeStyle as j, withCtx as q, createCommentVNode as O } from "vue";
|
|
2
|
-
import { useFloating as G, arrow as J } from "./index225.js";
|
|
3
|
-
import { useId as K } from "./index7.js";
|
|
4
|
-
import { wait as P } from "./index122.js";
|
|
5
|
-
import Q from "./index9.js";
|
|
6
|
-
import "./index10.js";
|
|
7
|
-
import { throttle as v } from "./index208.js";
|
|
8
|
-
import { waitFor as W } from "./index210.js";
|
|
9
|
-
import { autoUpdate as X, flip as Y, shift as Z } from "./index212.js";
|
|
10
|
-
const ee = { class: "bb-tooltip__bubble" }, te = /* @__PURE__ */ i("svg", {
|
|
11
|
-
fill: "none",
|
|
12
|
-
viewBox: "0 0 24 24",
|
|
13
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
14
|
-
}, [
|
|
15
|
-
/* @__PURE__ */ i("path", {
|
|
16
|
-
d: "M23 23L1 1M23 1L1 23",
|
|
17
|
-
stroke: "currentColor",
|
|
18
|
-
"stroke-linecap": "round",
|
|
19
|
-
"stroke-width": "2"
|
|
20
|
-
})
|
|
21
|
-
], -1), pe = /* @__PURE__ */ A({
|
|
22
|
-
__name: "BbTooltip",
|
|
23
|
-
props: {
|
|
24
|
-
arrowPadding: { default: 10 },
|
|
25
|
-
block: { type: Boolean },
|
|
26
|
-
disabled: { type: Boolean },
|
|
27
|
-
eager: { type: Boolean },
|
|
28
|
-
id: {},
|
|
29
|
-
padding: { default: 10 },
|
|
30
|
-
placement: { default: "top" },
|
|
31
|
-
showClose: { type: Boolean, default: !0 },
|
|
32
|
-
theme: { default: "default" },
|
|
33
|
-
transitionDuration: { default: 150 }
|
|
34
|
-
},
|
|
35
|
-
setup(T) {
|
|
36
|
-
const t = T, w = `bb_${t.id ?? K().id.value}`, u = o(), c = o(), _ = o(), { floatingStyles: F, placement: g, middlewareData: h } = G(
|
|
37
|
-
u,
|
|
38
|
-
c,
|
|
39
|
-
{
|
|
40
|
-
placement: t.placement,
|
|
41
|
-
whileElementsMounted: X,
|
|
42
|
-
middleware: [
|
|
43
|
-
Y(),
|
|
44
|
-
Z({ padding: t.padding }),
|
|
45
|
-
J({
|
|
46
|
-
element: _,
|
|
47
|
-
padding: t.arrowPadding
|
|
48
|
-
})
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
), y = o(!0), a = o(!1), l = o(!1), r = o(!1), p = o(!0), z = E(() => {
|
|
52
|
-
if (h.value.arrow) {
|
|
53
|
-
const { x: e, y: n } = h.value.arrow;
|
|
54
|
-
return {
|
|
55
|
-
style: {
|
|
56
|
-
left: `${e}px`,
|
|
57
|
-
top: `${n}px`
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
}), k = () => {
|
|
62
|
-
l.value || a.value || t.disabled || (V(), document.addEventListener("mouseover", B, { passive: !0 }), document.addEventListener("keydown", C, { passive: !0 }));
|
|
63
|
-
}, S = k, B = v((e) => {
|
|
64
|
-
const n = e.target;
|
|
65
|
-
if (n && n instanceof HTMLElement) {
|
|
66
|
-
let m = !0;
|
|
67
|
-
u.value && u.value.contains(n) && (m = !1), c.value && c.value.contains(n) && (m = !1), m && d();
|
|
68
|
-
}
|
|
69
|
-
}, t.transitionDuration), C = (e) => {
|
|
70
|
-
l.value && e.key === "Escape" && d();
|
|
71
|
-
}, N = () => {
|
|
72
|
-
y.value = !1, d();
|
|
73
|
-
}, f = o(!1), V = v(async () => {
|
|
74
|
-
y.value && (f.value = !0, p.value = !1, r.value = !1, a.value = !0, await P(50), l.value = !0, a.value = !1);
|
|
75
|
-
}, t.transitionDuration), d = v(async () => {
|
|
76
|
-
await W(() => !a.value), document.removeEventListener("mouseover", B), document.removeEventListener("keydown", C), l.value = !1, a.value = !1, r.value = !0, await P(t.transitionDuration), r.value = !1, p.value = !0;
|
|
77
|
-
}, t.transitionDuration), x = E(() => ({
|
|
78
|
-
class: {
|
|
79
|
-
"bb-tooltip--block": t.block,
|
|
80
|
-
[`bb-tooltip--theme-${t.theme}`]: t.theme
|
|
81
|
-
}
|
|
82
|
-
}));
|
|
83
|
-
return (e, n) => (b(), $("span", D({ class: "bb-tooltip" }, x.value), [
|
|
84
|
-
i("span", {
|
|
85
|
-
ref_key: "wrapper",
|
|
86
|
-
ref: u,
|
|
87
|
-
class: "bb-tooltip__wrapper"
|
|
88
|
-
}, [
|
|
89
|
-
L(e.$slots, "activator", H(I({
|
|
90
|
-
props: {
|
|
91
|
-
...f.value ? { "aria-describedby": w } : {},
|
|
92
|
-
onMouseenter: k,
|
|
93
|
-
onFocus: s(S),
|
|
94
|
-
onBlur: s(d),
|
|
95
|
-
disabled: e.disabled
|
|
96
|
-
},
|
|
97
|
-
closed: p.value,
|
|
98
|
-
closing: r.value,
|
|
99
|
-
disabled: e.disabled,
|
|
100
|
-
open: l.value,
|
|
101
|
-
opening: a.value,
|
|
102
|
-
placement: s(g)
|
|
103
|
-
})))
|
|
104
|
-
], 512),
|
|
105
|
-
(b(), M(R, { to: "body" }, [
|
|
106
|
-
f.value || e.eager ? (b(), $("span", {
|
|
107
|
-
key: 0,
|
|
108
|
-
id: w,
|
|
109
|
-
ref_key: "content",
|
|
110
|
-
ref: c,
|
|
111
|
-
class: U(["bb-tooltip__bubble-container", {
|
|
112
|
-
[`bb-tooltip__bubble-container--${s(g)}`]: !0,
|
|
113
|
-
[`bb-tooltip__bubble-container--${e.theme}`]: e.theme,
|
|
114
|
-
"bb-tooltip__bubble-container--hidden": p.value,
|
|
115
|
-
"bb-tooltip__bubble-container--closing": r.value,
|
|
116
|
-
"bb-tooltip__bubble-container--opening": a.value,
|
|
117
|
-
"bb-tooltip__bubble-container--open": l.value
|
|
118
|
-
}]),
|
|
119
|
-
style: j({
|
|
120
|
-
...s(F),
|
|
121
|
-
transitionDuration: `${t.transitionDuration}ms`
|
|
122
|
-
})
|
|
123
|
-
}, [
|
|
124
|
-
i("span", D({
|
|
125
|
-
ref_key: "bubblearrow",
|
|
126
|
-
ref: _,
|
|
127
|
-
class: "bb-tooltip__arrow"
|
|
128
|
-
}, z.value), null, 16),
|
|
129
|
-
i("span", ee, [
|
|
130
|
-
e.showClose ? (b(), M(Q, {
|
|
131
|
-
key: 0,
|
|
132
|
-
"aria-hidden": "true",
|
|
133
|
-
class: "bb-tooltip__close",
|
|
134
|
-
tabindex: "-1",
|
|
135
|
-
onClick: N
|
|
136
|
-
}, {
|
|
137
|
-
default: q(() => [
|
|
138
|
-
te
|
|
139
|
-
]),
|
|
140
|
-
_: 1
|
|
141
|
-
})) : O("", !0),
|
|
142
|
-
L(e.$slots, "default")
|
|
143
|
-
])
|
|
144
|
-
], 6)) : O("", !0)
|
|
145
|
-
]))
|
|
146
|
-
], 16));
|
|
147
|
-
}
|
|
148
|
-
});
|
|
149
|
-
export {
|
|
150
|
-
pe as default
|
|
151
|
-
};
|
|
152
|
-
//# sourceMappingURL=index111.js.map
|