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/index45.js
DELETED
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { defineComponent as h, ref as v, watch as C, openBlock as s, createBlock as a, normalizeClass as k, withCtx as i, createElementVNode as t, createCommentVNode as r, renderSlot as n, normalizeProps as c, guardReactiveProps as d, createTextVNode as m, toDisplayString as u } from "vue";
|
|
2
|
-
import w from "./index9.js";
|
|
3
|
-
import "./index10.js";
|
|
4
|
-
import V from "./index116.js";
|
|
5
|
-
import "./index160.js";
|
|
6
|
-
import y from "./index117.js";
|
|
7
|
-
import "./index169.js";
|
|
8
|
-
const z = {
|
|
9
|
-
class: "bb-alert__inner-container",
|
|
10
|
-
role: "alert"
|
|
11
|
-
}, $ = { class: "bb-alert__icon-container" }, g = { class: "bb-alert__content" }, B = { class: "bb-alert__title" }, L = { class: "bb-alert__text" }, S = { class: "bb-alert__close" }, N = /* @__PURE__ */ t("svg", {
|
|
12
|
-
fill: "none",
|
|
13
|
-
viewBox: "0 0 24 24",
|
|
14
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
15
|
-
}, [
|
|
16
|
-
/* @__PURE__ */ t("path", {
|
|
17
|
-
d: "M23 23L1 1M23 1L1 23",
|
|
18
|
-
stroke: "currentColor",
|
|
19
|
-
"stroke-linecap": "round",
|
|
20
|
-
"stroke-width": "2"
|
|
21
|
-
})
|
|
22
|
-
], -1), q = /* @__PURE__ */ h({
|
|
23
|
-
__name: "BbAlert",
|
|
24
|
-
props: {
|
|
25
|
-
closeLabel: { default: "Chiudi" },
|
|
26
|
-
showClose: { type: Boolean },
|
|
27
|
-
text: {},
|
|
28
|
-
theme: { default: "default" },
|
|
29
|
-
title: {},
|
|
30
|
-
icon: {},
|
|
31
|
-
iconSize: {},
|
|
32
|
-
modelValue: {}
|
|
33
|
-
},
|
|
34
|
-
emits: ["update:modelValue"],
|
|
35
|
-
setup(_, { emit: p }) {
|
|
36
|
-
const l = _, b = p, o = v(
|
|
37
|
-
l.modelValue === void 0 ? !0 : !!l.modelValue
|
|
38
|
-
);
|
|
39
|
-
C(
|
|
40
|
-
() => l.modelValue,
|
|
41
|
-
(e) => {
|
|
42
|
-
o.value !== !!e && (o.value = !!e);
|
|
43
|
-
}
|
|
44
|
-
);
|
|
45
|
-
const f = () => {
|
|
46
|
-
o.value = !1, b("update:modelValue", !1);
|
|
47
|
-
};
|
|
48
|
-
return (e, M) => (s(), a(V, {
|
|
49
|
-
class: k(["bb-alert", { [`bb-alert--${e.theme}`]: e.theme }]),
|
|
50
|
-
"model-value": o.value
|
|
51
|
-
}, {
|
|
52
|
-
default: i(() => [
|
|
53
|
-
t("div", z, [
|
|
54
|
-
t("div", $, [
|
|
55
|
-
e.icon ? (s(), a(y, {
|
|
56
|
-
key: 0,
|
|
57
|
-
class: "bb-alert__icon",
|
|
58
|
-
size: e.iconSize,
|
|
59
|
-
type: e.icon
|
|
60
|
-
}, null, 8, ["size", "type"])) : r("", !0)
|
|
61
|
-
]),
|
|
62
|
-
t("div", g, [
|
|
63
|
-
t("p", B, [
|
|
64
|
-
n(e.$slots, "title", c(d({ text: e.title })), () => [
|
|
65
|
-
m(u(e.title), 1)
|
|
66
|
-
])
|
|
67
|
-
]),
|
|
68
|
-
t("p", L, [
|
|
69
|
-
n(e.$slots, "text", c(d({ text: e.text })), () => [
|
|
70
|
-
m(u(e.text), 1)
|
|
71
|
-
])
|
|
72
|
-
])
|
|
73
|
-
]),
|
|
74
|
-
t("div", S, [
|
|
75
|
-
e.showClose ? (s(), a(w, {
|
|
76
|
-
key: 0,
|
|
77
|
-
"aria-label": e.closeLabel,
|
|
78
|
-
block: "",
|
|
79
|
-
class: "bb-alert__close-btn",
|
|
80
|
-
onClick: f
|
|
81
|
-
}, {
|
|
82
|
-
default: i(() => [
|
|
83
|
-
N
|
|
84
|
-
]),
|
|
85
|
-
_: 1
|
|
86
|
-
}, 8, ["aria-label"])) : r("", !0)
|
|
87
|
-
])
|
|
88
|
-
])
|
|
89
|
-
]),
|
|
90
|
-
_: 3
|
|
91
|
-
}, 8, ["class", "model-value"]));
|
|
92
|
-
}
|
|
93
|
-
});
|
|
94
|
-
export {
|
|
95
|
-
q as default
|
|
96
|
-
};
|
|
97
|
-
//# sourceMappingURL=index45.js.map
|
package/dist/index45.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index45.js","sources":["../src/components/BbAlert/BbAlert.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = {\n class: \"bb-alert__inner-container\",\n role: \"alert\"\n}\nconst _hoisted_2 = { class: \"bb-alert__icon-container\" }\nconst _hoisted_3 = { class: \"bb-alert__content\" }\nconst _hoisted_4 = { class: \"bb-alert__title\" }\nconst _hoisted_5 = { class: \"bb-alert__text\" }\nconst _hoisted_6 = { class: \"bb-alert__close\" }\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"svg\", {\n fill: \"none\",\n viewBox: \"0 0 24 24\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M23 23L1 1M23 1L1 23\",\n stroke: \"currentColor\",\n \"stroke-linecap\": \"round\",\n \"stroke-width\": \"2\"\n })\n], -1)\n\nimport { ref, watch } from 'vue';\nimport BaseButton from '../BaseButton/BaseButton.vue';\nimport BbCollapsible from '../BbCollapsible/BbCollapsible.vue';\nimport BbIcon from '../BbIcon/BbIcon.vue';\nimport type { BbIconProps } from '../BbIcon/BbIcon.vue';\nimport type { CommonProps } from '@/types/CommonProps';\n\nexport type BbAlertProps = Pick<\n\tCommonProps,\n\t'closeLabel' | 'showClose' | 'text' | 'theme' | 'title'\n> & {\n\t/**\n\t * Name of the icon to use\n\t */\n\ticon?: BbIconProps['type'];\n\t/**\n\t * Size of the icon to use\n\t */\n\ticonSize?: BbIconProps['size'];\n\t/**\n\t * Used by v-model, set type to any to avoid Vue casting it as false\n\t */\n\tmodelValue?: any;\n};\n\nexport type BbAlertEvents = {\n\t(e: 'update:modelValue', value: boolean): void;\n};\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbAlert',\n props: {\n closeLabel: { default: 'Chiudi' },\n showClose: { type: Boolean },\n text: {},\n theme: { default: 'default' },\n title: {},\n icon: {},\n iconSize: {},\n modelValue: {}\n },\n emits: [\"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\nconst props = __props;\n\nconst emit = __emit;\n\n\n\nconst innerValue = ref(\n\tprops.modelValue === undefined ? true : !!props.modelValue\n);\n\nwatch(\n\t() => props.modelValue,\n\t(value) => {\n\t\tif (innerValue.value !== !!value) {\n\t\t\tinnerValue.value = !!value;\n\t\t}\n\t}\n);\n\nconst onClickClose = () => {\n\tinnerValue.value = false;\n\temit('update:modelValue', false);\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BbCollapsible, {\n class: _normalizeClass([\"bb-alert\", { [`bb-alert--${_ctx.theme}`]: _ctx.theme }]),\n \"model-value\": innerValue.value\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (_ctx.icon)\n ? (_openBlock(), _createBlock(BbIcon, {\n key: 0,\n class: \"bb-alert__icon\",\n size: _ctx.iconSize,\n type: _ctx.icon\n }, null, 8, [\"size\", \"type\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"p\", _hoisted_4, [\n _renderSlot(_ctx.$slots, \"title\", _normalizeProps(_guardReactiveProps({ text: _ctx.title })), () => [\n _createTextVNode(_toDisplayString(_ctx.title), 1)\n ])\n ]),\n _createElementVNode(\"p\", _hoisted_5, [\n _renderSlot(_ctx.$slots, \"text\", _normalizeProps(_guardReactiveProps({ text: _ctx.text })), () => [\n _createTextVNode(_toDisplayString(_ctx.text), 1)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n (_ctx.showClose)\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n \"aria-label\": _ctx.closeLabel,\n block: \"\",\n class: \"bb-alert__close-btn\",\n onClick: onClickClose\n }, {\n default: _withCtx(() => [\n _hoisted_7\n ]),\n _: 1\n }, 8, [\"aria-label\"]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _: 3\n }, 8, [\"class\", \"model-value\"]))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_sfc_main","_defineComponent","__props","__emit","props","emit","innerValue","ref","watch","value","onClickClose","_ctx","_cache","_openBlock","_createBlock","BbCollapsible","_normalizeClass","_withCtx","_createElementVNode","BbIcon","_createCommentVNode","_renderSlot","_normalizeProps","_guardReactiveProps","_createTextVNode","_toDisplayString","BaseButton"],"mappings":"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"}
|
package/dist/index46.js
DELETED
package/dist/index46.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index46.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index47.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { defineComponent as p, computed as u, ref as d, watch as f, openBlock as a, createElementBlock as l, normalizeProps as b, guardReactiveProps as z, createElementVNode as v, renderSlot as g, createCommentVNode as h } from "vue";
|
|
2
|
-
import { isCssColor as _ } from "./index197.js";
|
|
3
|
-
const k = { class: "bb-avatar__fallback" }, C = ["alt", "sizes", "src", "srcset"], B = /* @__PURE__ */ p({
|
|
4
|
-
__name: "BbAvatar",
|
|
5
|
-
props: {
|
|
6
|
-
color: {},
|
|
7
|
-
size: {},
|
|
8
|
-
sizes: {},
|
|
9
|
-
alt: {},
|
|
10
|
-
src: {},
|
|
11
|
-
srcset: {}
|
|
12
|
-
},
|
|
13
|
-
setup(c) {
|
|
14
|
-
const e = c, i = {
|
|
15
|
-
xs: 24,
|
|
16
|
-
sm: 32,
|
|
17
|
-
md: 40,
|
|
18
|
-
lg: 56,
|
|
19
|
-
xl: 80,
|
|
20
|
-
xxl: 104
|
|
21
|
-
}, n = u(() => {
|
|
22
|
-
const s = {
|
|
23
|
-
"bb-avatar": !0
|
|
24
|
-
};
|
|
25
|
-
let r;
|
|
26
|
-
e.size && (typeof e.size == "string" ? r = i[e.size] ?? parseInt(e.size, 10) : r = e.size, r += "px");
|
|
27
|
-
let o = {
|
|
28
|
-
width: r,
|
|
29
|
-
height: r
|
|
30
|
-
};
|
|
31
|
-
return e.color && (_(e.color) ? o.backgroundColor = e.color : s[`bb-avatar--${e.color}`] = !0), {
|
|
32
|
-
class: s,
|
|
33
|
-
style: o
|
|
34
|
-
};
|
|
35
|
-
}), t = d(!1), m = () => {
|
|
36
|
-
t.value = !0;
|
|
37
|
-
};
|
|
38
|
-
return f(
|
|
39
|
-
() => [e.src, e.srcset],
|
|
40
|
-
() => {
|
|
41
|
-
t.value = !1;
|
|
42
|
-
}
|
|
43
|
-
), (s, r) => (a(), l("span", b(z(n.value)), [
|
|
44
|
-
v("span", k, [
|
|
45
|
-
g(s.$slots, "default")
|
|
46
|
-
]),
|
|
47
|
-
(s.src || s.srcset) && !t.value ? (a(), l("img", {
|
|
48
|
-
key: 0,
|
|
49
|
-
alt: s.alt,
|
|
50
|
-
class: "bb-avatar__img",
|
|
51
|
-
sizes: s.sizes,
|
|
52
|
-
src: s.src,
|
|
53
|
-
srcset: s.srcset,
|
|
54
|
-
onError: m
|
|
55
|
-
}, null, 40, C)) : h("", !0)
|
|
56
|
-
], 16));
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
export {
|
|
60
|
-
B as default
|
|
61
|
-
};
|
|
62
|
-
//# sourceMappingURL=index47.js.map
|
package/dist/index47.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index47.js","sources":["../src/components/BbAvatar/BbAvatar.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps } from \"vue\"\n\nconst _hoisted_1 = { class: \"bb-avatar__fallback\" }\nconst _hoisted_2 = [\"alt\", \"sizes\", \"src\", \"srcset\"]\n\nimport { computed, ref, watch } from 'vue';\nimport { isCssColor } from '@/utilities/functions/isCssColor';\nimport type { Classes } from '@/types/Classes';\nimport type { CommonProps } from '@/types/CommonProps';\nimport type { BbIconProps, Size } from '../BbIcon/BbIcon.vue';\n\nexport type BbAvatarProps = Pick<CommonProps, 'color'> &\n\tPick<BbIconProps, 'size'> & {\n\t\t/**\n\t\t * Attribute `sizes` for the `img` tag\n\t\t */\n\t\tsizes?: HTMLImageElement['sizes'];\n\t\t/**\n\t\t * Attribute `alt` for the `img` tag\n\t\t */\n\t\talt: HTMLImageElement['alt'];\n\t} & (\n\t\t| {\n\t\t\t\t/**\n\t\t\t\t * Attribute `src` for the `img` tag\n\t\t\t\t */\n\t\t\t\tsrc: HTMLImageElement['src'];\n\t\t\t\t/**\n\t\t\t\t * Attribute `srcset` for the `img` tag\n\t\t\t\t */\n\t\t\t\tsrcset?: HTMLImageElement['srcset'];\n\t\t }\n\t\t| {\n\t\t\t\t/**\n\t\t\t\t * Attribute `src` for the `img` tag\n\t\t\t\t */\n\t\t\t\tsrc?: HTMLImageElement['src'];\n\t\t\t\t/**\n\t\t\t\t * Attribute `srcset` for the `img` tag\n\t\t\t\t */\n\t\t\t\tsrcset: HTMLImageElement['srcset'];\n\t\t }\n\t);\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbAvatar',\n props: {\n color: {},\n size: {},\n sizes: {},\n alt: {},\n src: {},\n srcset: {}\n },\n setup(__props: any) {\n\nconst props = __props;\n\n\n\nconst sizeMap: Size = {\n\txs: 24,\n\tsm: 32,\n\tmd: 40,\n\tlg: 56,\n\txl: 80,\n\txxl: 104,\n};\n\nconst attributes = computed(() => {\n\tconst classes: Classes = {\n\t\t'bb-avatar': true,\n\t};\n\tlet dimension: any;\n\tif (props.size) {\n\t\tif (typeof props.size === 'string') {\n\t\t\tdimension = sizeMap[props.size as keyof Size] ?? parseInt(props.size, 10);\n\t\t} else {\n\t\t\tdimension = props.size;\n\t\t}\n\t\tdimension += `px`;\n\t}\n\n\tlet style: { [key: string]: any } = {\n\t\twidth: dimension,\n\t\theight: dimension,\n\t};\n\tif (props.color) {\n\t\tif (isCssColor(props.color)) {\n\t\t\tstyle.backgroundColor = props.color;\n\t\t} else {\n\t\t\tclasses[`bb-avatar--${props.color}`] = true;\n\t\t}\n\t}\n\treturn {\n\t\tclass: classes,\n\t\tstyle,\n\t};\n});\n\nconst imageHasErrored = ref(false);\nconst onImageError = () => {\n\timageHasErrored.value = true;\n};\nwatch(\n\t() => [props.src, props.srcset],\n\t() => {\n\t\timageHasErrored.value = false;\n\t}\n);\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"span\", _normalizeProps(_guardReactiveProps(attributes.value)), [\n _createElementVNode(\"span\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n (!!(_ctx.src || _ctx.srcset) && !imageHasErrored.value)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n alt: _ctx.alt,\n class: \"bb-avatar__img\",\n sizes: _ctx.sizes,\n src: _ctx.src,\n srcset: _ctx.srcset,\n onError: onImageError\n }, null, 40, _hoisted_2))\n : _createCommentVNode(\"\", true)\n ], 16))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_sfc_main","_defineComponent","__props","props","sizeMap","attributes","computed","classes","dimension","style","isCssColor","imageHasErrored","ref","onImageError","watch","_ctx","_cache","_openBlock","_createElementBlock","_normalizeProps","_guardReactiveProps","_createElementVNode","_renderSlot","_createCommentVNode"],"mappings":";;AAGA,MAAMA,IAAa,EAAE,OAAO,yBACtBC,IAAa,CAAC,OAAO,SAAS,OAAO,QAAQ,GA0CvBC,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,OAAO,CAAC;AAAA,IACR,MAAM,CAAC;AAAA,IACP,OAAO,CAAC;AAAA,IACR,KAAK,CAAC;AAAA,IACN,KAAK,CAAC;AAAA,IACN,QAAQ,CAAC;AAAA,EACX;AAAA,EACA,MAAMC,GAAc;AAEtB,UAAMC,IAAQD,GAIRE,IAAgB;AAAA,MACrB,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,KAAK;AAAA,IAAA,GAGAC,IAAaC,EAAS,MAAM;AACjC,YAAMC,IAAmB;AAAA,QACxB,aAAa;AAAA,MAAA;AAEV,UAAAC;AACJ,MAAIL,EAAM,SACL,OAAOA,EAAM,QAAS,WACzBK,IAAYJ,EAAQD,EAAM,IAAkB,KAAK,SAASA,EAAM,MAAM,EAAE,IAExEK,IAAYL,EAAM,MAENK,KAAA;AAGd,UAAIC,IAAgC;AAAA,QACnC,OAAOD;AAAA,QACP,QAAQA;AAAA,MAAA;AAET,aAAIL,EAAM,UACLO,EAAWP,EAAM,KAAK,IACzBM,EAAM,kBAAkBN,EAAM,QAE9BI,EAAQ,cAAcJ,EAAM,KAAK,EAAE,IAAI,KAGlC;AAAA,QACN,OAAOI;AAAA,QACP,OAAAE;AAAA,MAAA;AAAA,IACD,CACA,GAEKE,IAAkBC,EAAI,EAAK,GAC3BC,IAAe,MAAM;AAC1B,MAAAF,EAAgB,QAAQ;AAAA,IAAA;AAEzB,WAAAG;AAAA,MACC,MAAM,CAACX,EAAM,KAAKA,EAAM,MAAM;AAAA,MAC9B,MAAM;AACL,QAAAQ,EAAgB,QAAQ;AAAA,MACzB;AAAA,IAAA,GAGM,CAACI,GAAUC,OACRC,EAAA,GAAcC,EAAoB,QAAQC,EAAgBC,EAAoBf,EAAW,KAAK,CAAC,GAAG;AAAA,MACxGgB,EAAoB,QAAQvB,GAAY;AAAA,QACtCwB,EAAYP,EAAK,QAAQ,SAAS;AAAA,MAAA,CACnC;AAAA,OACGA,EAAK,OAAOA,EAAK,WAAW,CAACJ,EAAgB,SAC5CM,KAAcC,EAAoB,OAAO;AAAA,QACxC,KAAK;AAAA,QACL,KAAKH,EAAK;AAAA,QACV,OAAO;AAAA,QACP,OAAOA,EAAK;AAAA,QACZ,KAAKA,EAAK;AAAA,QACV,QAAQA,EAAK;AAAA,QACb,SAASF;AAAA,MAAA,GACR,MAAM,IAAId,CAAU,KACvBwB,EAAoB,IAAI,EAAI;AAAA,OAC/B,EAAE;AAAA,EAEP;AAEA,CAAC;"}
|
package/dist/index48.js
DELETED
package/dist/index48.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index48.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index49.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { defineComponent as p, useSlots as d, computed as n, openBlock as m, createElementBlock as u, normalizeClass as g, createElementVNode as s, renderSlot as l, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
|
|
2
|
-
import { isCssColor as r } from "./index197.js";
|
|
3
|
-
import { isNil as B } from "./index120.js";
|
|
4
|
-
const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, S = /* @__PURE__ */ p({
|
|
5
|
-
__name: "BbBadge",
|
|
6
|
-
props: {
|
|
7
|
-
color: {},
|
|
8
|
-
bottom: { type: Boolean },
|
|
9
|
-
content: {},
|
|
10
|
-
floating: { type: Boolean },
|
|
11
|
-
left: { type: Boolean }
|
|
12
|
-
},
|
|
13
|
-
setup(b) {
|
|
14
|
-
const a = d(), e = b, c = n(() => ({
|
|
15
|
-
"bb-badge": !0,
|
|
16
|
-
"bb-badge--bottom": e.bottom,
|
|
17
|
-
"bb-badge--left": e.left,
|
|
18
|
-
"bb-badge--positioned": a.default,
|
|
19
|
-
"bb-badge--floating": e.floating,
|
|
20
|
-
"bb-badge--empty": B(e.content),
|
|
21
|
-
[`bb-badge--${e.color}`]: e.color && !r(e.color)
|
|
22
|
-
})), i = n(() => {
|
|
23
|
-
let t = {};
|
|
24
|
-
e.color && r(e.color) && (t.backgroundColor = e.color);
|
|
25
|
-
let o = {};
|
|
26
|
-
return a.wrap && (o["aria-atomic"] = !0, o["aria-live"] = "polite", o.role = "status"), {
|
|
27
|
-
style: t,
|
|
28
|
-
...o
|
|
29
|
-
};
|
|
30
|
-
});
|
|
31
|
-
return (t, o) => (m(), u("span", {
|
|
32
|
-
class: g(c.value)
|
|
33
|
-
}, [
|
|
34
|
-
s("span", C, [
|
|
35
|
-
l(t.$slots, "default"),
|
|
36
|
-
s("span", f({ class: "bb-badge__content-container" }, i.value), [
|
|
37
|
-
s("span", h, [
|
|
38
|
-
l(t.$slots, "content", {}, () => [
|
|
39
|
-
_(y(t.content), 1)
|
|
40
|
-
])
|
|
41
|
-
])
|
|
42
|
-
], 16)
|
|
43
|
-
])
|
|
44
|
-
], 2));
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
export {
|
|
48
|
-
S as default
|
|
49
|
-
};
|
|
50
|
-
//# sourceMappingURL=index49.js.map
|
package/dist/index49.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index49.js","sources":["../src/components/BbBadge/BbBadge.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, mergeProps as _mergeProps, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"bb-badge__wrapper\" }\nconst _hoisted_2 = { class: \"bb-badge__content-inner\" }\n\nimport { computed, useSlots } from 'vue';\nimport { isCssColor } from '@/utilities/functions/isCssColor';\nimport { isNil } from '@/utilities/functions/isNil';\nimport type { CommonProps } from '@/types/CommonProps';\n\nexport type BbBadgeProps = Pick<CommonProps, 'color'> & {\n\t/**\n\t * Displays the badge on the bottom of the wrapped component.\n\t */\n\tbottom?: boolean;\n\t/**\n\t * Text content of the badge\n\t */\n\tcontent?: string | number | null;\n\t/**\n\t * Renders the badge i little firther from the wrapped\n\t * component making it look like it's floating\n\t * and not stacked.\n\t */\n\tfloating?: boolean;\n\t/**\n\t * Displays the badge on the left of the wrapped component.\n\t */\n\tleft?: boolean;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbBadge',\n props: {\n color: {},\n bottom: { type: Boolean },\n content: {},\n floating: { type: Boolean },\n left: { type: Boolean }\n },\n setup(__props: any) {\n\nconst slots = useSlots();\n\nconst props = __props;\n\n\n\nconst classes = computed(() => {\n\treturn {\n\t\t'bb-badge': true,\n\t\t'bb-badge--bottom': props.bottom,\n\t\t'bb-badge--left': props.left,\n\t\t'bb-badge--positioned': slots.default,\n\t\t'bb-badge--floating': props.floating,\n\t\t'bb-badge--empty': isNil(props.content),\n\t\t[`bb-badge--${props.color}`]: props.color && !isCssColor(props.color),\n\t};\n});\n\nconst contentAttributes = computed(() => {\n\tlet style: Record<string, string> = {};\n\tif (props.color && isCssColor(props.color)) {\n\t\tstyle.backgroundColor = props.color;\n\t}\n\n\tlet accessibilityAttributes: Record<string, string | boolean> = {};\n\tif (slots.wrap) {\n\t\taccessibilityAttributes['aria-atomic'] = true;\n\t\taccessibilityAttributes['aria-live'] = 'polite';\n\t\taccessibilityAttributes['role'] = 'status';\n\t}\n\treturn {\n\t\tstyle,\n\t\t...accessibilityAttributes,\n\t};\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"span\", {\n class: _normalizeClass(classes.value)\n }, [\n _createElementVNode(\"span\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"default\"),\n _createElementVNode(\"span\", _mergeProps({ class: \"bb-badge__content-container\" }, contentAttributes.value), [\n _createElementVNode(\"span\", _hoisted_2, [\n _renderSlot(_ctx.$slots, \"content\", {}, () => [\n _createTextVNode(_toDisplayString(_ctx.content), 1)\n ])\n ])\n ], 16)\n ])\n ], 2))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_sfc_main","_defineComponent","__props","slots","useSlots","props","classes","computed","isNil","isCssColor","contentAttributes","style","accessibilityAttributes","_ctx","_cache","_openBlock","_createElementBlock","_normalizeClass","_createElementVNode","_renderSlot","_mergeProps","_createTextVNode","_toDisplayString"],"mappings":";;;AAGA,MAAMA,IAAa,EAAE,OAAO,uBACtBC,IAAa,EAAE,OAAO,6BA6BAC,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,OAAO,CAAC;AAAA,IACR,QAAQ,EAAE,MAAM,QAAQ;AAAA,IACxB,SAAS,CAAC;AAAA,IACV,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,MAAM,EAAE,MAAM,QAAQ;AAAA,EACxB;AAAA,EACA,MAAMC,GAAc;AAEtB,UAAMC,IAAQC,KAERC,IAAQH,GAIRI,IAAUC,EAAS,OACjB;AAAA,MACN,YAAY;AAAA,MACZ,oBAAoBF,EAAM;AAAA,MAC1B,kBAAkBA,EAAM;AAAA,MACxB,wBAAwBF,EAAM;AAAA,MAC9B,sBAAsBE,EAAM;AAAA,MAC5B,mBAAmBG,EAAMH,EAAM,OAAO;AAAA,MACtC,CAAC,aAAaA,EAAM,KAAK,EAAE,GAAGA,EAAM,SAAS,CAACI,EAAWJ,EAAM,KAAK;AAAA,IAAA,EAErE,GAEKK,IAAoBH,EAAS,MAAM;AACxC,UAAII,IAAgC,CAAA;AACpC,MAAIN,EAAM,SAASI,EAAWJ,EAAM,KAAK,MACxCM,EAAM,kBAAkBN,EAAM;AAG/B,UAAIO,IAA4D,CAAA;AAChE,aAAIT,EAAM,SACTS,EAAwB,aAAa,IAAI,IACzCA,EAAwB,WAAW,IAAI,UACvCA,EAAwB,OAAU,WAE5B;AAAA,QACN,OAAAD;AAAA,QACA,GAAGC;AAAA,MAAA;AAAA,IACJ,CACA;AAEM,WAAA,CAACC,GAAUC,OACRC,EAAA,GAAcC,EAAoB,QAAQ;AAAA,MAChD,OAAOC,EAAgBX,EAAQ,KAAK;AAAA,IAAA,GACnC;AAAA,MACDY,EAAoB,QAAQpB,GAAY;AAAA,QACtCqB,EAAYN,EAAK,QAAQ,SAAS;AAAA,QAClCK,EAAoB,QAAQE,EAAY,EAAE,OAAO,iCAAiCV,EAAkB,KAAK,GAAG;AAAA,UAC1GQ,EAAoB,QAAQnB,GAAY;AAAA,YACtCoB,EAAYN,EAAK,QAAQ,WAAW,IAAI,MAAM;AAAA,cAC5CQ,EAAiBC,EAAiBT,EAAK,OAAO,GAAG,CAAC;AAAA,YAAA,CACnD;AAAA,UAAA,CACF;AAAA,WACA,EAAE;AAAA,MAAA,CACN;AAAA,OACA,CAAC;AAAA,EAEN;AAEA,CAAC;"}
|
package/dist/index5.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { wait as p } from "./index122.js";
|
|
2
|
-
import { reactive as d } from "vue";
|
|
3
|
-
import { useId as h } from "./index7.js";
|
|
4
|
-
const i = d({
|
|
5
|
-
stack: []
|
|
6
|
-
}), b = () => {
|
|
7
|
-
const c = (t) => i.stack = i.stack.filter((o) => o.id !== t);
|
|
8
|
-
return {
|
|
9
|
-
toast: (t) => {
|
|
10
|
-
const o = h().id.value;
|
|
11
|
-
let l, e, n, s, f;
|
|
12
|
-
const u = 6e3;
|
|
13
|
-
if (typeof t == "string")
|
|
14
|
-
e = t;
|
|
15
|
-
else {
|
|
16
|
-
if (typeof t.timeout == "number" && t.timeout <= 0)
|
|
17
|
-
throw new Error("Toast messages cannot have a zero or less timeout");
|
|
18
|
-
n = t.icon, f = t.showClose, e = t.text, s = t.theme, l = t.title;
|
|
19
|
-
}
|
|
20
|
-
if (i.stack = i.stack.concat({
|
|
21
|
-
icon: n,
|
|
22
|
-
id: o,
|
|
23
|
-
showClose: f,
|
|
24
|
-
text: e,
|
|
25
|
-
theme: s,
|
|
26
|
-
title: l
|
|
27
|
-
}), typeof t == "object" && !t.persistent || typeof t == "string") {
|
|
28
|
-
let r;
|
|
29
|
-
typeof t == "object" && t.timeout ? r = t.timeout : r = u, p(r).then(() => {
|
|
30
|
-
c(o);
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
return o;
|
|
34
|
-
},
|
|
35
|
-
dismiss: c,
|
|
36
|
-
dismissAll: () => i.stack = []
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
export {
|
|
40
|
-
i as state,
|
|
41
|
-
b as useToast
|
|
42
|
-
};
|
|
43
|
-
//# sourceMappingURL=index5.js.map
|
package/dist/index5.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index5.js","sources":["../src/composables/useToast.ts"],"sourcesContent":["import { wait } from '@/utilities/functions/wait';\nimport { reactive } from 'vue';\nimport { useId } from './useId';\nimport type { CommonProps } from '@/types/CommonProps';\n\nexport type Message = {\n\t/**\n\t * Title of the message. Displayed in a more prominant fashion.\n\t */\n\ttitle?: string;\n\t/**\n\t * Text content of the toast message.\n\t */\n\ttext: string;\n\t/**\n\t * Name of the icon to display.\n\t */\n\ticon?: string;\n\t/**\n\t * Theme of the toast message. By default the theme is `default`.\n\t */\n\ttheme?: string;\n\t/**\n\t * Identifier of the message\n\t */\n\tid: string;\n} & Pick<CommonProps, 'showClose'>;\n\ntype MessageParameter =\n\t| string\n\t| (Pick<Message, 'title' | 'text' | 'icon' | 'theme'> &\n\t\t\t/* These props are mutually exclusive */\n\t\t\t(| {\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Time in milliseconds before the message disappears\n\t\t\t\t\t\t */\n\t\t\t\t\t\ttimeout?: undefined;\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Setting the message as persistent will prevent the message from being dismissed automatically\n\t\t\t\t\t\t */\n\t\t\t\t\t\tpersistent?: undefined | false;\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Whether to show the closing action to dismiss the message.\n\t\t\t\t\t\t * Show close is optional if the message is not persistent\n\t\t\t\t\t\t */\n\t\t\t\t\t\tshowClose?: Message['showClose'];\n\t\t\t\t }\n\t\t\t\t| {\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Time in milliseconds before the message disappears\n\t\t\t\t\t\t */\n\t\t\t\t\t\ttimeout: number;\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Setting the message as persistent will prevent the message from being dismissed automatically\n\t\t\t\t\t\t */\n\t\t\t\t\t\tpersistent?: undefined | false;\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Whether to show the closing action to dismiss the message.\n\t\t\t\t\t\t * Show close is optional if the message is not persistent\n\t\t\t\t\t\t */\n\t\t\t\t\t\tshowClose?: Message['showClose'];\n\t\t\t\t }\n\t\t\t\t| {\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Time in milliseconds before the message disappears\n\t\t\t\t\t\t */\n\t\t\t\t\t\ttimeout?: undefined;\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Setting the message as persistent will prevent the message from being dismissed automatically\n\t\t\t\t\t\t */\n\t\t\t\t\t\tpersistent: true;\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Whether to show the closing action to dismiss the message.\n\t\t\t\t\t\t * Show close is mandatory if the message is persistent\n\t\t\t\t\t\t */\n\t\t\t\t\t\tshowClose: true;\n\t\t\t\t }\n\t\t\t));\n\nexport const state = reactive({\n\tstack: [] as Message[],\n});\n\nexport const useToast = () => {\n\t/**\n\t * Dismisses a specific message\n\t */\n\tconst dismiss = (id: Message['id']) =>\n\t\t(state.stack = state.stack.filter((el) => el.id !== id));\n\tconst dismissAll = () => (state.stack = []);\n\tconst toast = (message: MessageParameter) => {\n\t\tconst id = useId().id.value;\n\t\tlet title: Message['title'];\n\t\tlet text: Message['text'];\n\t\tlet icon: Message['icon'];\n\t\tlet theme: Message['theme'];\n\t\tlet showClose: Message['showClose'];\n\t\tconst defaultTimeout = 6000;\n\n\t\tif (typeof message === 'string') {\n\t\t\ttext = message;\n\t\t} else {\n\t\t\tif (typeof message.timeout === 'number' && message.timeout <= 0) {\n\t\t\t\tthrow new Error(`Toast messages cannot have a zero or less timeout`);\n\t\t\t}\n\t\t\ticon = message.icon;\n\t\t\tshowClose = message.showClose;\n\t\t\ttext = message.text;\n\t\t\ttheme = message.theme;\n\t\t\ttitle = message.title;\n\t\t}\n\t\tstate.stack = state.stack.concat({\n\t\t\ticon,\n\t\t\tid,\n\t\t\tshowClose,\n\t\t\ttext,\n\t\t\ttheme,\n\t\t\ttitle,\n\t\t});\n\t\tif (\n\t\t\t(typeof message === 'object' && !message.persistent) ||\n\t\t\ttypeof message === 'string'\n\t\t) {\n\t\t\tlet timeout: number;\n\n\t\t\tif (typeof message === 'object' && message.timeout) {\n\t\t\t\ttimeout = message.timeout;\n\t\t\t} else timeout = defaultTimeout;\n\n\t\t\twait(timeout).then(() => {\n\t\t\t\tdismiss(id);\n\t\t\t});\n\t\t}\n\t\treturn id;\n\t};\n\treturn {\n\t\ttoast,\n\t\tdismiss,\n\t\tdismissAll,\n\t};\n};\n"],"names":["state","reactive","useToast","dismiss","id","el","message","useId","title","text","icon","theme","showClose","defaultTimeout","timeout","wait"],"mappings":";;;AA+EO,MAAMA,IAAQC,EAAS;AAAA,EAC7B,OAAO,CAAC;AACT,CAAC,GAEYC,IAAW,MAAM;AAI7B,QAAMC,IAAU,CAACC,MACfJ,EAAM,QAAQA,EAAM,MAAM,OAAO,CAACK,MAAOA,EAAG,OAAOD,CAAE;AA+ChD,SAAA;AAAA,IACN,OA9Ca,CAACE,MAA8B;AACtC,YAAAF,IAAKG,IAAQ,GAAG;AAClB,UAAAC,GACAC,GACAC,GACAC,GACAC;AACJ,YAAMC,IAAiB;AAEnB,UAAA,OAAOP,KAAY;AACf,QAAAG,IAAAH;AAAA,WACD;AACN,YAAI,OAAOA,EAAQ,WAAY,YAAYA,EAAQ,WAAW;AACvD,gBAAA,IAAI,MAAM,mDAAmD;AAEpE,QAAAI,IAAOJ,EAAQ,MACfM,IAAYN,EAAQ,WACpBG,IAAOH,EAAQ,MACfK,IAAQL,EAAQ,OAChBE,IAAQF,EAAQ;AAAA,MACjB;AAUE,UATIN,EAAA,QAAQA,EAAM,MAAM,OAAO;AAAA,QAChC,MAAAU;AAAA,QACA,IAAAN;AAAA,QACA,WAAAQ;AAAA,QACA,MAAAH;AAAA,QACA,OAAAE;AAAA,QACA,OAAAH;AAAA,MAAA,CACA,GAEC,OAAOF,KAAY,YAAY,CAACA,EAAQ,cACzC,OAAOA,KAAY,UAClB;AACG,YAAAQ;AAEJ,QAAI,OAAOR,KAAY,YAAYA,EAAQ,UAC1CQ,IAAUR,EAAQ,UACFQ,IAAAD,GAEZE,EAAAD,CAAO,EAAE,KAAK,MAAM;AACxB,UAAAX,EAAQC,CAAE;AAAA,QAAA,CACV;AAAA,MACF;AACO,aAAAA;AAAA,IAAA;AAAA,IAIP,SAAAD;AAAA,IACA,YAjDkB,MAAOH,EAAM,QAAQ,CAAA;AAAA,EAiDvC;AAEF;"}
|
package/dist/index50.js
DELETED
package/dist/index50.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index50.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index51.js
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { defineComponent as n, openBlock as a, createElementBlock as t, Fragment as b, renderList as m, createElementVNode as l, renderSlot as r, createVNode as p, mergeProps as u, withCtx as c, createTextVNode as _, toDisplayString as f } from "vue";
|
|
2
|
-
import h from "./index9.js";
|
|
3
|
-
import "./index10.js";
|
|
4
|
-
const B = {
|
|
5
|
-
"aria-label": "Breadcrumbs",
|
|
6
|
-
class: "bb-breadcrumbs"
|
|
7
|
-
}, $ = { class: "bb-breadcrumbs__breadcrumb-container" }, k = {
|
|
8
|
-
"aria-hidden": "true",
|
|
9
|
-
class: "bb-breadcrumbs__divider"
|
|
10
|
-
}, V = /* @__PURE__ */ n({
|
|
11
|
-
__name: "BbBreadcrumbs",
|
|
12
|
-
props: {
|
|
13
|
-
disabled: { type: Boolean },
|
|
14
|
-
items: {},
|
|
15
|
-
divider: { default: "/" }
|
|
16
|
-
},
|
|
17
|
-
setup(i) {
|
|
18
|
-
const o = i;
|
|
19
|
-
return (e, v) => (a(), t("nav", B, [
|
|
20
|
-
(a(!0), t(b, null, m(e.items, (s, d) => (a(), t(b, {
|
|
21
|
-
key: s.key
|
|
22
|
-
}, [
|
|
23
|
-
l("span", $, [
|
|
24
|
-
r(e.$slots, "item:prepend", {
|
|
25
|
-
disabled: !!(s.disabled || e.disabled),
|
|
26
|
-
index: d,
|
|
27
|
-
item: e.items[d],
|
|
28
|
-
text: s.text
|
|
29
|
-
}),
|
|
30
|
-
p(h, u(s, {
|
|
31
|
-
class: "bb-breadcrumbs__breadcrumb",
|
|
32
|
-
disabled: s.disabled || e.disabled
|
|
33
|
-
}), {
|
|
34
|
-
default: c(() => [
|
|
35
|
-
r(e.$slots, `${s.key}`, {
|
|
36
|
-
disabled: !!(s.disabled || e.disabled),
|
|
37
|
-
index: d,
|
|
38
|
-
item: e.items[d],
|
|
39
|
-
text: s.text
|
|
40
|
-
})
|
|
41
|
-
]),
|
|
42
|
-
_: 2
|
|
43
|
-
}, 1040, ["disabled"]),
|
|
44
|
-
r(e.$slots, "item:append", {
|
|
45
|
-
disabled: !!(s.disabled || e.disabled),
|
|
46
|
-
index: d,
|
|
47
|
-
item: e.items[d],
|
|
48
|
-
text: s.text
|
|
49
|
-
})
|
|
50
|
-
]),
|
|
51
|
-
l("span", k, [
|
|
52
|
-
r(e.$slots, "divider", {}, () => [
|
|
53
|
-
_(f(o.divider), 1)
|
|
54
|
-
])
|
|
55
|
-
])
|
|
56
|
-
], 64))), 128))
|
|
57
|
-
]));
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
export {
|
|
61
|
-
V as default
|
|
62
|
-
};
|
|
63
|
-
//# sourceMappingURL=index51.js.map
|
package/dist/index51.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index51.js","sources":["../src/components/BbBreadcrumbs/BbBreadcrumbs.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, renderSlot as _renderSlot, mergeProps as _mergeProps, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode } from \"vue\"\n\nconst _hoisted_1 = {\n \"aria-label\": \"Breadcrumbs\",\n class: \"bb-breadcrumbs\"\n}\nconst _hoisted_2 = { class: \"bb-breadcrumbs__breadcrumb-container\" }\nconst _hoisted_3 = {\n \"aria-hidden\": \"true\",\n class: \"bb-breadcrumbs__divider\"\n}\n\nimport type { CommonProps } from '@/types/CommonProps';\nimport BaseButton from '../BaseButton/BaseButton.vue';\nimport type { BaseButtonProps } from '../BaseButton/BaseButton.vue';\n\nexport type Item = Omit<BaseButtonProps, 'block' | 'tag' | 'type'> & {\n\t/**\n\t * Click handler of the button\n\t */\n\tonClick?: (...args: any[]) => any;\n\t/**\n\t * Key that uniquely identifies the breadcrumb\n\t */\n\tkey: string | number;\n};\n\nexport type BbBreadcrumbsProps = Pick<CommonProps, 'disabled'> & {\n\t/**\n\t * Array of items that describe how the breadcrumbs\n\t * should behave. It is compatible with navigating\n\t * through `a` or `router-link`.\n\t */\n\titems: Item[];\n\t/**\n\t * Text content of the divider\n\t */\n\tdivider?: string;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbBreadcrumbs',\n props: {\n disabled: { type: Boolean },\n items: {},\n divider: { default: '/' }\n },\n setup(__props: any) {\n\nconst props = __props;\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"nav\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.items, (item, index) => {\n return (_openBlock(), _createElementBlock(_Fragment, {\n key: item.key\n }, [\n _createElementVNode(\"span\", _hoisted_2, [\n _renderSlot(_ctx.$slots, `item:prepend`, {\n disabled: !!(item.disabled || _ctx.disabled),\n index: index,\n item: _ctx.items[index],\n text: item.text\n }),\n _createVNode(BaseButton, _mergeProps(item, {\n class: \"bb-breadcrumbs__breadcrumb\",\n disabled: item.disabled || _ctx.disabled\n }), {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, `${item.key}`, {\n disabled: !!(item.disabled || _ctx.disabled),\n index: index,\n item: _ctx.items[index],\n text: item.text\n })\n ]),\n _: 2\n }, 1040, [\"disabled\"]),\n _renderSlot(_ctx.$slots, `item:append`, {\n disabled: !!(item.disabled || _ctx.disabled),\n index: index,\n item: _ctx.items[index],\n text: item.text\n })\n ]),\n _createElementVNode(\"span\", _hoisted_3, [\n _renderSlot(_ctx.$slots, \"divider\", {}, () => [\n _createTextVNode(_toDisplayString(props.divider), 1)\n ])\n ])\n ], 64))\n }), 128))\n ]))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_sfc_main","_defineComponent","__props","props","_ctx","_cache","_openBlock","_createElementBlock","_Fragment","_renderList","item","index","_createElementVNode","_renderSlot","_createVNode","BaseButton","_mergeProps","_withCtx","_createTextVNode","_toDisplayString"],"mappings":";;;AAGA,MAAMA,IAAa;AAAA,EACjB,cAAc;AAAA,EACd,OAAO;AACT,GACMC,IAAa,EAAE,OAAO,0CACtBC,IAAa;AAAA,EACjB,eAAe;AAAA,EACf,OAAO;AACT,GA+B4BC,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,OAAO,CAAC;AAAA,IACR,SAAS,EAAE,SAAS,IAAI;AAAA,EAC1B;AAAA,EACA,MAAMC,GAAc;AAEtB,UAAMC,IAAQD;AAIP,WAAA,CAACE,GAAUC,OACRC,EAAW,GAAGC,EAAoB,OAAOV,GAAY;AAAA,OAC1DS,EAAW,EAAI,GAAGC,EAAoBC,GAAW,MAAMC,EAAYL,EAAK,OAAO,CAACM,GAAMC,OAC7EL,EAAA,GAAcC,EAAoBC,GAAW;AAAA,QACnD,KAAKE,EAAK;AAAA,MAAA,GACT;AAAA,QACDE,EAAoB,QAAQd,GAAY;AAAA,UACtCe,EAAYT,EAAK,QAAQ,gBAAgB;AAAA,YACvC,UAAU,CAAC,EAAEM,EAAK,YAAYN,EAAK;AAAA,YACnC,OAAAO;AAAA,YACA,MAAMP,EAAK,MAAMO,CAAK;AAAA,YACtB,MAAMD,EAAK;AAAA,UAAA,CACZ;AAAA,UACDI,EAAaC,GAAYC,EAAYN,GAAM;AAAA,YACzC,OAAO;AAAA,YACP,UAAUA,EAAK,YAAYN,EAAK;AAAA,UAAA,CACjC,GAAG;AAAA,YACF,SAASa,EAAS,MAAM;AAAA,cACtBJ,EAAYT,EAAK,QAAQ,GAAGM,EAAK,GAAG,IAAI;AAAA,gBACtC,UAAU,CAAC,EAAEA,EAAK,YAAYN,EAAK;AAAA,gBACnC,OAAAO;AAAA,gBACA,MAAMP,EAAK,MAAMO,CAAK;AAAA,gBACtB,MAAMD,EAAK;AAAA,cAAA,CACZ;AAAA,YAAA,CACF;AAAA,YACD,GAAG;AAAA,UAAA,GACF,MAAM,CAAC,UAAU,CAAC;AAAA,UACrBG,EAAYT,EAAK,QAAQ,eAAe;AAAA,YACtC,UAAU,CAAC,EAAEM,EAAK,YAAYN,EAAK;AAAA,YACnC,OAAAO;AAAA,YACA,MAAMP,EAAK,MAAMO,CAAK;AAAA,YACtB,MAAMD,EAAK;AAAA,UAAA,CACZ;AAAA,QAAA,CACF;AAAA,QACDE,EAAoB,QAAQb,GAAY;AAAA,UACtCc,EAAYT,EAAK,QAAQ,WAAW,IAAI,MAAM;AAAA,YAC5Cc,EAAiBC,EAAiBhB,EAAM,OAAO,GAAG,CAAC;AAAA,UAAA,CACpD;AAAA,QAAA,CACF;AAAA,SACA,EAAE,EACN,GAAG,GAAG;AAAA,IAAA,CACR;AAAA,EAEH;AAEA,CAAC;"}
|
package/dist/index52.js
DELETED
package/dist/index52.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index52.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index53.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { defineComponent as t, openBlock as o, createBlock as n, unref as r, mergeProps as a, withCtx as p, renderSlot as c } from "vue";
|
|
2
|
-
import l from "./index9.js";
|
|
3
|
-
import "./index10.js";
|
|
4
|
-
const f = /* @__PURE__ */ t({
|
|
5
|
-
__name: "BbButton",
|
|
6
|
-
props: {
|
|
7
|
-
block: { type: Boolean },
|
|
8
|
-
disabled: { type: Boolean },
|
|
9
|
-
text: {},
|
|
10
|
-
tag: {},
|
|
11
|
-
activeClass: {},
|
|
12
|
-
ariaCurrentValue: {},
|
|
13
|
-
exactActiveClass: {},
|
|
14
|
-
replace: { type: Boolean },
|
|
15
|
-
to: {},
|
|
16
|
-
data: {},
|
|
17
|
-
headers: {},
|
|
18
|
-
method: {},
|
|
19
|
-
onBefore: { type: Function },
|
|
20
|
-
onCancel: { type: Function },
|
|
21
|
-
onCancelToken: { type: Function },
|
|
22
|
-
onFinish: { type: Function },
|
|
23
|
-
only: {},
|
|
24
|
-
onProgress: { type: Function },
|
|
25
|
-
onStart: { type: Function },
|
|
26
|
-
onSuccess: { type: Function },
|
|
27
|
-
preserveScroll: { type: [Boolean, Function] },
|
|
28
|
-
preserveState: { type: [Boolean, Function, null] },
|
|
29
|
-
queryStringArrayFormat: {},
|
|
30
|
-
type: {},
|
|
31
|
-
href: {},
|
|
32
|
-
target: {}
|
|
33
|
-
},
|
|
34
|
-
setup(s) {
|
|
35
|
-
return (e, i) => (o(), n(r(l), a(e.$props, { class: "bb-button" }), {
|
|
36
|
-
default: p(() => [
|
|
37
|
-
c(e.$slots, "default")
|
|
38
|
-
]),
|
|
39
|
-
_: 3
|
|
40
|
-
}, 16));
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
export {
|
|
44
|
-
f as default
|
|
45
|
-
};
|
|
46
|
-
//# sourceMappingURL=index53.js.map
|
package/dist/index53.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index53.js","sources":["../src/components/BbButton/BbButton.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, unref as _unref, mergeProps as _mergeProps, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport type { BaseButtonProps } from '../BaseButton/BaseButton.vue';\nimport { BaseButton } from '@/index';\n\nexport type BbButtonProps = BaseButtonProps;\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbButton',\n props: {\n block: { type: Boolean },\n disabled: { type: Boolean },\n text: {},\n tag: {},\n activeClass: {},\n ariaCurrentValue: {},\n exactActiveClass: {},\n replace: { type: Boolean },\n to: {},\n data: {},\n headers: {},\n method: {},\n onBefore: { type: Function },\n onCancel: { type: Function },\n onCancelToken: { type: Function },\n onFinish: { type: Function },\n only: {},\n onProgress: { type: Function },\n onStart: { type: Function },\n onSuccess: { type: Function },\n preserveScroll: { type: [Boolean, Function] },\n preserveState: { type: [Boolean, Function, null] },\n queryStringArrayFormat: {},\n type: {},\n href: {},\n target: {}\n },\n setup(__props: any) {\n\n\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_unref(BaseButton), _mergeProps(_ctx.$props, { class: \"bb-button\" }), {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 16))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","_ctx","_cache","_openBlock","_createBlock","_unref","BaseButton","_mergeProps","_withCtx","_renderSlot"],"mappings":";;;AAQA,MAA4BA,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,OAAO,EAAE,MAAM,QAAQ;AAAA,IACvB,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,MAAM,CAAC;AAAA,IACP,KAAK,CAAC;AAAA,IACN,aAAa,CAAC;AAAA,IACd,kBAAkB,CAAC;AAAA,IACnB,kBAAkB,CAAC;AAAA,IACnB,SAAS,EAAE,MAAM,QAAQ;AAAA,IACzB,IAAI,CAAC;AAAA,IACL,MAAM,CAAC;AAAA,IACP,SAAS,CAAC;AAAA,IACV,QAAQ,CAAC;AAAA,IACT,UAAU,EAAE,MAAM,SAAS;AAAA,IAC3B,UAAU,EAAE,MAAM,SAAS;AAAA,IAC3B,eAAe,EAAE,MAAM,SAAS;AAAA,IAChC,UAAU,EAAE,MAAM,SAAS;AAAA,IAC3B,MAAM,CAAC;AAAA,IACP,YAAY,EAAE,MAAM,SAAS;AAAA,IAC7B,SAAS,EAAE,MAAM,SAAS;AAAA,IAC1B,WAAW,EAAE,MAAM,SAAS;AAAA,IAC5B,gBAAgB,EAAE,MAAM,CAAC,SAAS,QAAQ,EAAE;AAAA,IAC5C,eAAe,EAAE,MAAM,CAAC,SAAS,UAAU,IAAI,EAAE;AAAA,IACjD,wBAAwB,CAAC;AAAA,IACzB,MAAM,CAAC;AAAA,IACP,MAAM,CAAC;AAAA,IACP,QAAQ,CAAC;AAAA,EACX;AAAA,EACA,MAAMC,GAAc;AAMf,WAAA,CAACC,GAAUC,OACRC,EAAW,GAAGC,EAAaC,EAAOC,CAAU,GAAGC,EAAYN,EAAK,QAAQ,EAAE,OAAO,YAAa,CAAA,GAAG;AAAA,MACvG,SAASO,EAAS,MAAM;AAAA,QACtBC,EAAYR,EAAK,QAAQ,SAAS;AAAA,MAAA,CACnC;AAAA,MACD,GAAG;AAAA,OACF,EAAE;AAAA,EAEP;AAEA,CAAC;"}
|
package/dist/index54.js
DELETED
package/dist/index54.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index54.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index55.js
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { defineComponent as m, openBlock as p, createBlock as b, withCtx as l, renderSlot as r, normalizeProps as c, guardReactiveProps as h, createVNode as f, mergeProps as n } from "vue";
|
|
2
|
-
import k from "./index11.js";
|
|
3
|
-
import "./index12.js";
|
|
4
|
-
import v from "./index21.js";
|
|
5
|
-
import "./index22.js";
|
|
6
|
-
const $ = /* @__PURE__ */ m({
|
|
7
|
-
__name: "BbCheckbox",
|
|
8
|
-
props: {
|
|
9
|
-
autofocus: {},
|
|
10
|
-
checked: {},
|
|
11
|
-
color: {},
|
|
12
|
-
disabled: { type: Boolean },
|
|
13
|
-
falseValue: {},
|
|
14
|
-
hasErrors: { type: Boolean },
|
|
15
|
-
id: {},
|
|
16
|
-
indeterminate: {},
|
|
17
|
-
name: {},
|
|
18
|
-
readonly: {},
|
|
19
|
-
submitWhenFalse: { type: Boolean },
|
|
20
|
-
trueValue: {},
|
|
21
|
-
modelValue: {},
|
|
22
|
-
direction: { default: "auto" },
|
|
23
|
-
errors: {},
|
|
24
|
-
hideLabel: { type: Boolean },
|
|
25
|
-
inputPosition: {},
|
|
26
|
-
label: {},
|
|
27
|
-
labelPosition: {},
|
|
28
|
-
reverse: { type: Boolean, default: !0 }
|
|
29
|
-
},
|
|
30
|
-
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
|
31
|
-
setup(y, { emit: s }) {
|
|
32
|
-
const o = s, i = {
|
|
33
|
-
onBlur: (e) => o("blur", e),
|
|
34
|
-
onChange: (e) => o("change", e),
|
|
35
|
-
onClick: (e) => o("click", e),
|
|
36
|
-
onFocus: (e) => o("focus", e),
|
|
37
|
-
onInput: (e) => o("input", e),
|
|
38
|
-
onKeydown: (e) => o("keydown", e),
|
|
39
|
-
onMousedown: (e) => o("mousedown", e),
|
|
40
|
-
onMouseup: (e) => o("mouseup", e),
|
|
41
|
-
"onUpdate:modelValue": (e) => o("update:modelValue", e)
|
|
42
|
-
};
|
|
43
|
-
return (e, V) => (p(), b(v, {
|
|
44
|
-
id: e.id,
|
|
45
|
-
class: "bb-checkbox",
|
|
46
|
-
direction: e.direction,
|
|
47
|
-
errors: e.errors,
|
|
48
|
-
"has-errors": e.hasErrors,
|
|
49
|
-
"hide-label": e.hideLabel,
|
|
50
|
-
"input-position": e.inputPosition,
|
|
51
|
-
label: e.label,
|
|
52
|
-
"label-position": e.labelPosition,
|
|
53
|
-
"label-tag": "span",
|
|
54
|
-
name: e.name,
|
|
55
|
-
reverse: e.reverse,
|
|
56
|
-
tag: "label"
|
|
57
|
-
}, {
|
|
58
|
-
label: l((a) => [
|
|
59
|
-
r(e.$slots, "label", c(h(a)))
|
|
60
|
-
]),
|
|
61
|
-
input: l(({ id: a, name: u, hasErrors: t }) => [
|
|
62
|
-
f(k, n({
|
|
63
|
-
id: a,
|
|
64
|
-
autofocus: e.autofocus,
|
|
65
|
-
checked: e.checked,
|
|
66
|
-
color: e.color,
|
|
67
|
-
disabled: e.disabled,
|
|
68
|
-
"false-value": e.falseValue,
|
|
69
|
-
"has-errors": t,
|
|
70
|
-
indeterminate: e.indeterminate,
|
|
71
|
-
"model-value": e.modelValue,
|
|
72
|
-
name: u,
|
|
73
|
-
readonly: e.readonly,
|
|
74
|
-
"submit-when-false": e.submitWhenFalse,
|
|
75
|
-
"true-value": e.trueValue
|
|
76
|
-
}, i), {
|
|
77
|
-
icon: l((d) => [
|
|
78
|
-
r(e.$slots, "icon", n(d, { text: e.label }))
|
|
79
|
-
]),
|
|
80
|
-
_: 2
|
|
81
|
-
}, 1040, ["id", "autofocus", "checked", "color", "disabled", "false-value", "has-errors", "indeterminate", "model-value", "name", "readonly", "submit-when-false", "true-value"])
|
|
82
|
-
]),
|
|
83
|
-
_: 3
|
|
84
|
-
}, 8, ["id", "direction", "errors", "has-errors", "hide-label", "input-position", "label", "label-position", "name", "reverse"]));
|
|
85
|
-
}
|
|
86
|
-
});
|
|
87
|
-
export {
|
|
88
|
-
$ as default
|
|
89
|
-
};
|
|
90
|
-
//# sourceMappingURL=index55.js.map
|
package/dist/index55.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index55.js","sources":["../src/components/BbCheckbox/BbCheckbox.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 BaseCheckbox from '../BaseCheckbox/BaseCheckbox.vue';\nimport BaseInputContainer from '../BaseInputContainer/BaseInputContainer.vue';\nimport type {\n\tBaseCheckboxEvents,\n\tSlotAttributes,\n} from '../BaseCheckbox/BaseCheckbox.vue';\nimport type { HTMLAttributes, InputHTMLAttributes } from 'vue';\n\nexport type BbCheckboxProps = {\n\t/**\n\t * Sets autofocus on page load.\n\t */\n\tautofocus?: InputHTMLAttributes['autofocus'];\n\n\t/**\n\t * Defines the input as checked\n\t */\n\tchecked?: InputHTMLAttributes['checked'];\n\n\t/**\n\t * Define a color for the component.\n\t *\n\t * Either a custom color or a coded color in common HEX, RGB, etc... format.\n\t */\n\tcolor?: string;\n\n\t/**\n\t * 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\n\t/**\n\t * Used by v-model. Can be any serializable type.\n\t */\n\tmodelValue?: any;\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 * Sets the slignment of the input. Since inputs are inline block they can be aligned just as text can.\n\t */\n\tinputPosition?: 'left' | 'center' | 'right';\n\n\t/**\n\t * Text content of the label of the element.\n\t */\n\tlabel: string;\n\n\t/**\n\t * Sets the text alignment of the label.\n\t */\n\tlabelPosition?: 'left' | 'center' | 'right';\n\n\t/**\n\t * 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 BbCheckboxEvents = BaseCheckboxEvents;\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbCheckbox',\n props: {\n autofocus: {},\n checked: {},\n color: {},\n disabled: { type: Boolean },\n falseValue: {},\n hasErrors: { type: Boolean },\n id: {},\n indeterminate: {},\n name: {},\n readonly: {},\n submitWhenFalse: { type: Boolean },\n trueValue: {},\n modelValue: {},\n direction: { default: 'auto' },\n errors: {},\n hideLabel: { type: Boolean },\n inputPosition: {},\n label: {},\n labelPosition: {},\n reverse: { type: Boolean, default: true }\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\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: any) => emit('update:modelValue', value),\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseInputContainer, {\n id: _ctx.id,\n class: \"bb-checkbox\",\n direction: _ctx.direction,\n errors: _ctx.errors,\n \"has-errors\": _ctx.hasErrors,\n \"hide-label\": _ctx.hideLabel,\n \"input-position\": _ctx.inputPosition,\n label: _ctx.label,\n \"label-position\": _ctx.labelPosition,\n \"label-tag\": 'span',\n name: _ctx.name,\n reverse: _ctx.reverse,\n tag: 'label'\n }, {\n label: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"label\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n input: _withCtx(({ id, name, hasErrors }) => [\n _createVNode(BaseCheckbox, _mergeProps({\n id: id,\n autofocus: _ctx.autofocus,\n checked: _ctx.checked,\n color: _ctx.color,\n disabled: _ctx.disabled,\n \"false-value\": _ctx.falseValue,\n \"has-errors\": hasErrors,\n indeterminate: _ctx.indeterminate,\n \"model-value\": _ctx.modelValue,\n name: name,\n readonly: _ctx.readonly,\n \"submit-when-false\": _ctx.submitWhenFalse,\n \"true-value\": _ctx.trueValue\n }, eventListeners), {\n icon: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"icon\", _mergeProps(data, { text: _ctx.label }))\n ]),\n _: 2\n }, 1040, [\"id\", \"autofocus\", \"checked\", \"color\", \"disabled\", \"false-value\", \"has-errors\", \"indeterminate\", \"model-value\", \"name\", \"readonly\", \"submit-when-false\", \"true-value\"])\n ]),\n _: 3\n }, 8, [\"id\", \"direction\", \"errors\", \"has-errors\", \"hide-label\", \"input-position\", \"label\", \"label-position\", \"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","BaseCheckbox","_mergeProps"],"mappings":"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"}
|
package/dist/index56.js
DELETED
package/dist/index56.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index56.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|