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/index75.js
DELETED
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
import { defineComponent as q, ref as s, useAttrs as G, computed as m, onMounted as J, watch as Q, onBeforeUnmount as X, openBlock as y, createBlock as Y, Teleport as Z, createElementVNode as o, mergeProps as N, createElementBlock as w, renderSlot as l, createTextVNode as ee, toDisplayString as z, createCommentVNode as B, nextTick as te } from "vue";
|
|
2
|
-
import { useFocusTrap as oe } from "./index209.js";
|
|
3
|
-
import { useId as L } from "./index7.js";
|
|
4
|
-
import { wait as O } from "./index122.js";
|
|
5
|
-
const se = { class: "bb-offcanvas-close" }, ae = { class: "bb-offcanvas-close__content" }, ne = { class: "bb-offcanvas-close__label" }, le = /* @__PURE__ */ o("span", { class: "bb-offcanvas-close__icon" }, [
|
|
6
|
-
/* @__PURE__ */ o("svg", {
|
|
7
|
-
fill: "none",
|
|
8
|
-
viewBox: "0 0 24 24",
|
|
9
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
10
|
-
}, [
|
|
11
|
-
/* @__PURE__ */ o("path", {
|
|
12
|
-
d: "M23 23L1 1M23 1L1 23",
|
|
13
|
-
stroke: "currentColor",
|
|
14
|
-
"stroke-linecap": "round",
|
|
15
|
-
"stroke-width": "2"
|
|
16
|
-
})
|
|
17
|
-
])
|
|
18
|
-
], -1), ie = /* @__PURE__ */ o("div", { style: { flex: "10000 10000 0%" } }, null, -1), fe = /* @__PURE__ */ q({
|
|
19
|
-
__name: "BbOffCanvas",
|
|
20
|
-
props: {
|
|
21
|
-
closeLabel: { default: "Chiudi" },
|
|
22
|
-
compact: { type: Boolean },
|
|
23
|
-
disabled: { type: Boolean },
|
|
24
|
-
eager: { type: Boolean },
|
|
25
|
-
panelClasses: { default: () => [] },
|
|
26
|
-
overlayClasses: { default: () => [] },
|
|
27
|
-
persistent: { type: Boolean },
|
|
28
|
-
showClose: { type: Boolean, default: !0 },
|
|
29
|
-
title: {},
|
|
30
|
-
transition: { default: "fade" },
|
|
31
|
-
transitionDuration: { default: 350 },
|
|
32
|
-
size: { default: "sm" },
|
|
33
|
-
description: {},
|
|
34
|
-
fullscreen: { type: Boolean },
|
|
35
|
-
modelValue: { type: [Boolean, null] },
|
|
36
|
-
direction: { default: "left" }
|
|
37
|
-
},
|
|
38
|
-
emits: ["shown", "hidden", "update:modelValue"],
|
|
39
|
-
setup(x, { emit: E }) {
|
|
40
|
-
const e = x, c = E, h = `title_${L().id.value}`, _ = `description_${L().id.value}`, d = s(null), V = s(null), S = s(null), T = s(null), A = s(null), M = s(null), W = G(), { activate: R, deactivate: I } = oe(V, {
|
|
41
|
-
clickOutsideDeactivates: !0,
|
|
42
|
-
/* On esc deactivate the trap, return focus and then close the modal */
|
|
43
|
-
escapeDeactivates: () => (te(() => {
|
|
44
|
-
c("update:modelValue", !1);
|
|
45
|
-
}), !0)
|
|
46
|
-
}), $ = m(() => e.closeLabel), f = s(!1), i = s(!1), g = s(!0), u = s(!1), v = s(e.eager || e.modelValue), C = s(null), F = m(() => i.value || u.value);
|
|
47
|
-
J(() => {
|
|
48
|
-
e.modelValue && !(f.value || i.value) && D();
|
|
49
|
-
}), Q(
|
|
50
|
-
() => e.modelValue,
|
|
51
|
-
() => {
|
|
52
|
-
D();
|
|
53
|
-
}
|
|
54
|
-
), X(() => {
|
|
55
|
-
if (e.modelValue) {
|
|
56
|
-
let t = Number(
|
|
57
|
-
document.body.dataset.openCanvases ?? "0"
|
|
58
|
-
);
|
|
59
|
-
t--, document.body.dataset.openCanvases = t.toString(), t || (document.body.style.overflow = "auto", document.body.style.paddingRight = "0px");
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
const D = async () => {
|
|
63
|
-
if (e.modelValue) {
|
|
64
|
-
v.value || (v.value = !0), document.activeElement && (C.value = document.activeElement), g.value = !1, u.value = !1, i.value = !0;
|
|
65
|
-
let t = Number(
|
|
66
|
-
document.body.dataset.openCanvases ?? "0"
|
|
67
|
-
);
|
|
68
|
-
t++, document.body.dataset.openCanvases = t.toString();
|
|
69
|
-
const a = window.innerWidth - document.documentElement.clientWidth;
|
|
70
|
-
document.body.style.overflow = "hidden", document.body.style.paddingRight = `${a}px`, await O(e.transitionDuration), i.value = !1, f.value = !0, c("shown"), R();
|
|
71
|
-
} else {
|
|
72
|
-
I(), i.value = !1, f.value = !1, u.value = !0, await O(e.transitionDuration);
|
|
73
|
-
let t = Number(
|
|
74
|
-
document.body.dataset.openCanvases ?? "0"
|
|
75
|
-
);
|
|
76
|
-
t--, document.body.dataset.openCanvases = t.toString(), t || (document.body.style.overflow = "auto", document.body.style.paddingRight = "0px"), u.value = !1, g.value = !0, c("hidden"), C.value instanceof HTMLElement && C.value.focus();
|
|
77
|
-
}
|
|
78
|
-
}, p = (t) => {
|
|
79
|
-
t.target === d.value && t.preventDefault();
|
|
80
|
-
}, H = (t) => {
|
|
81
|
-
e.disabled || F.value || d.value && t.target === d.value && (e.persistent || c("update:modelValue", !1));
|
|
82
|
-
}, k = () => {
|
|
83
|
-
e.disabled || c("update:modelValue", !1);
|
|
84
|
-
}, K = m(() => {
|
|
85
|
-
const t = [
|
|
86
|
-
{
|
|
87
|
-
"bb-offcanvas bb-offcanvas__overlay": !0,
|
|
88
|
-
"bb-offcanvas--fullscreen": e.fullscreen,
|
|
89
|
-
"bb-offcanvas--open": f.value,
|
|
90
|
-
"bb-offcanvas--opening": i.value,
|
|
91
|
-
"bb-offcanvas--closed": g.value,
|
|
92
|
-
"bb-offcanvas--closing": u.value,
|
|
93
|
-
[`bb-offcanvas--transition-${e.transition}`]: !0,
|
|
94
|
-
[`bb-offcanvas--${e.direction}`]: !0
|
|
95
|
-
},
|
|
96
|
-
e.overlayClasses
|
|
97
|
-
].flat(), a = {
|
|
98
|
-
onClick: H,
|
|
99
|
-
onScroll: p,
|
|
100
|
-
onTouchmove: p,
|
|
101
|
-
onWheel: p,
|
|
102
|
-
onKeydown: p
|
|
103
|
-
}, n = {
|
|
104
|
-
transitionDuration: e.transitionDuration / 1e3 + "s"
|
|
105
|
-
};
|
|
106
|
-
return {
|
|
107
|
-
class: t,
|
|
108
|
-
style: n,
|
|
109
|
-
...a,
|
|
110
|
-
...W
|
|
111
|
-
};
|
|
112
|
-
}), P = m(() => {
|
|
113
|
-
const t = [
|
|
114
|
-
{
|
|
115
|
-
"bb-offcanvas__panel": !0,
|
|
116
|
-
"bb-offcanvas__panel--compact": e.compact
|
|
117
|
-
},
|
|
118
|
-
e.panelClasses
|
|
119
|
-
].flat(), a = {
|
|
120
|
-
role: "dialog",
|
|
121
|
-
"aria-modal": !0
|
|
122
|
-
};
|
|
123
|
-
v.value && (a["aria-labelledby"] = h, e.description && (a["aria-describedby"] = _));
|
|
124
|
-
let n, U, r;
|
|
125
|
-
const b = {
|
|
126
|
-
sm: 384,
|
|
127
|
-
md: 652,
|
|
128
|
-
lg: 896
|
|
129
|
-
};
|
|
130
|
-
e.direction === "left" || e.direction === "right" ? e.fullscreen ? n = "100%" : typeof e.size == "number" ? n = e.size + "px" : e.size in b ? n = b[e.size] + "px" : n = e.size + "px" : e.fullscreen ? r = "100%" : typeof e.size == "number" ? r = e.size + "px" : e.size in b ? r = b[e.size] + "px" : Number.isNaN(Number(e.size)) ? e.size === "auto" && (r = "auto") : r = e.size + "px";
|
|
131
|
-
const j = {
|
|
132
|
-
maxWidth: n,
|
|
133
|
-
maxHeight: U,
|
|
134
|
-
height: r,
|
|
135
|
-
transitionDuration: e.transitionDuration / 1e3 + "s"
|
|
136
|
-
};
|
|
137
|
-
return {
|
|
138
|
-
class: t,
|
|
139
|
-
style: j,
|
|
140
|
-
...a
|
|
141
|
-
};
|
|
142
|
-
});
|
|
143
|
-
return (t, a) => (y(), Y(Z, { to: "body" }, [
|
|
144
|
-
o("div", N(K.value, {
|
|
145
|
-
ref_key: "overlay",
|
|
146
|
-
ref: d
|
|
147
|
-
}), [
|
|
148
|
-
o("div", N(P.value, {
|
|
149
|
-
ref_key: "panel",
|
|
150
|
-
ref: V
|
|
151
|
-
}), [
|
|
152
|
-
v.value ? (y(), w("div", {
|
|
153
|
-
key: 0,
|
|
154
|
-
ref_key: "content",
|
|
155
|
-
ref: S,
|
|
156
|
-
class: "bb-offcanvas__content"
|
|
157
|
-
}, [
|
|
158
|
-
l(t.$slots, "content", { close: k }, () => [
|
|
159
|
-
o("div", {
|
|
160
|
-
ref_key: "header",
|
|
161
|
-
ref: T,
|
|
162
|
-
class: "bb-offcanvas__header"
|
|
163
|
-
}, [
|
|
164
|
-
l(t.$slots, "header", {
|
|
165
|
-
close: k,
|
|
166
|
-
title: t.title,
|
|
167
|
-
titleId: h
|
|
168
|
-
}, () => [
|
|
169
|
-
o("span", {
|
|
170
|
-
id: h,
|
|
171
|
-
class: "bb-offcanvas__title"
|
|
172
|
-
}, [
|
|
173
|
-
l(t.$slots, "title", { text: t.title }, () => [
|
|
174
|
-
ee(z(t.title), 1)
|
|
175
|
-
])
|
|
176
|
-
]),
|
|
177
|
-
o("span", se, [
|
|
178
|
-
t.showClose ? (y(), w("button", {
|
|
179
|
-
key: 0,
|
|
180
|
-
type: "button",
|
|
181
|
-
onClick: k
|
|
182
|
-
}, [
|
|
183
|
-
l(t.$slots, "close", { text: $.value }, () => [
|
|
184
|
-
o("span", ae, [
|
|
185
|
-
o("span", ne, z($.value), 1),
|
|
186
|
-
le
|
|
187
|
-
])
|
|
188
|
-
])
|
|
189
|
-
])) : B("", !0)
|
|
190
|
-
])
|
|
191
|
-
])
|
|
192
|
-
], 512),
|
|
193
|
-
o("div", {
|
|
194
|
-
ref_key: "body",
|
|
195
|
-
ref: A,
|
|
196
|
-
class: "bb-offcanvas__body"
|
|
197
|
-
}, [
|
|
198
|
-
l(t.$slots, "description", {
|
|
199
|
-
descriptionId: _,
|
|
200
|
-
text: t.description
|
|
201
|
-
}, () => [
|
|
202
|
-
t.description ? (y(), w("div", {
|
|
203
|
-
key: 0,
|
|
204
|
-
id: _,
|
|
205
|
-
class: "bb-offcanvas__description"
|
|
206
|
-
}, z(t.description), 1)) : B("", !0)
|
|
207
|
-
]),
|
|
208
|
-
l(t.$slots, "default")
|
|
209
|
-
], 512),
|
|
210
|
-
ie,
|
|
211
|
-
o("div", {
|
|
212
|
-
ref_key: "footer",
|
|
213
|
-
ref: M,
|
|
214
|
-
class: "bb-offcanvas__footer"
|
|
215
|
-
}, [
|
|
216
|
-
l(t.$slots, "footer")
|
|
217
|
-
], 512)
|
|
218
|
-
])
|
|
219
|
-
], 512)) : B("", !0)
|
|
220
|
-
], 16)
|
|
221
|
-
], 16)
|
|
222
|
-
]));
|
|
223
|
-
}
|
|
224
|
-
});
|
|
225
|
-
export {
|
|
226
|
-
fe as default
|
|
227
|
-
};
|
|
228
|
-
//# sourceMappingURL=index75.js.map
|
package/dist/index75.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index75.js","sources":["../src/components/BbOffCanvas/BbOffCanvas.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, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, mergeProps as _mergeProps, Teleport as _Teleport, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"bb-offcanvas-close\" }\nconst _hoisted_2 = { class: \"bb-offcanvas-close__content\" }\nconst _hoisted_3 = { class: \"bb-offcanvas-close__label\" }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"bb-offcanvas-close__icon\" }, [\n /*#__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 ])\n], -1)\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"div\", { style: {\"flex\":\"10000 10000 0%\"} }, null, -1)\n\nimport {\n\tcomputed,\n\tnextTick,\n\tonBeforeUnmount,\n\tonMounted,\n\tref,\n\tuseAttrs,\n\twatch,\n} from 'vue';\nimport { useFocusTrap } from '@vueuse/integrations/useFocusTrap';\nimport { useId } from '@/composables/useId';\nimport { wait } from '@/utilities/functions/wait';\nimport type { CommonProps, Size } from '@/types/CommonProps';\n\nexport type Sizes = {\n\tsm: number;\n\tmd: number;\n\tlg: number;\n};\n\nexport type BbOffCanvasProps = Pick<\n\tCommonProps,\n\t| 'closeLabel'\n\t| 'compact'\n\t| 'disabled'\n\t| 'eager'\n\t| 'panelClasses'\n\t| 'overlayClasses'\n\t| 'persistent'\n\t| 'showClose'\n\t| 'title'\n\t| 'transition'\n\t| 'transitionDuration'\n> &\n\tSize<Sizes> & {\n\t\t/**\n\t\t * Description of the content of the modal. Extremely useful for accessibility reasons.\n\t\t */\n\t\tdescription?: string;\n\t\t/**\n\t\t * Displays the modala as fulscreen with no margin to the page\n\t\t */\n\t\tfullscreen?: boolean;\n\t\t/**\n\t\t * Defines the state open / closed of the modal.\n\t\t */\n\t\tmodelValue?: boolean | null;\n\t\t/**\n\t\t * Defines the direction the offcanvas should appear from\n\t\t */\n\t\tdirection?: 'left' | 'top' | 'right' | 'bottom';\n\t};\n\nexport type BbOffCanvasEvents = {\n\t(e: 'shown'): void;\n\t(e: 'hidden'): void;\n\t(e: 'update:modelValue', value: boolean): void;\n};\n\nexport type BbOffCanvasSlots = {\n\theader?: (props: {\n\t\ttitleId: typeof titleId;\n\t\tclose: typeof onCloseClick;\n\t\ttitle: BbOffCanvasProps['title'];\n\t}) => any;\n\ttitle?: (props: { text: BbOffCanvasProps['title'] }) => any;\n\tclose?: (props: { text: BbOffCanvasProps['closeLabel'] }) => any;\n\tdescription?: (props: {\n\t\tdescriptionId: typeof descriptionId;\n\t\ttext: BbOffCanvasProps['description'];\n\t}) => any;\n\tdefault?: (props: {}) => any;\n\tcontent?: (props: { close: typeof onCloseClick }) => any;\n\tfooter?: (props: {}) => any;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbOffCanvas',\n props: {\n closeLabel: { default: 'Chiudi' },\n compact: { type: Boolean },\n disabled: { type: Boolean },\n eager: { type: Boolean },\n panelClasses: { default: () => [] },\n overlayClasses: { default: () => [] },\n persistent: { type: Boolean },\n showClose: { type: Boolean, default: true },\n title: {},\n transition: { default: 'fade' },\n transitionDuration: { default: 350 },\n size: { default: 'sm' },\n description: {},\n fullscreen: { type: Boolean },\n modelValue: { type: [Boolean, null] },\n direction: { default: 'left' }\n },\n emits: [\"shown\", \"hidden\", \"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\nconst props = __props;\n\nconst emit = __emit;\n\n\n\nconst titleId = `title_${useId().id.value}`;\nconst descriptionId = `description_${useId().id.value}`;\n\nconst overlay = ref<HTMLElement | null>(null);\nconst panel = ref<HTMLElement | null>(null);\nconst content = ref<HTMLElement | null>(null);\nconst header = ref<HTMLElement | null>(null);\nconst body = ref<HTMLElement | null>(null);\nconst footer = ref<HTMLElement | null>(null);\nconst attrs = useAttrs();\n\nconst { activate, deactivate } = useFocusTrap(panel, {\n\tclickOutsideDeactivates: true,\n\t/* On esc deactivate the trap, return focus and then close the modal */\n\tescapeDeactivates: () => {\n\t\tnextTick(() => {\n\t\t\temit('update:modelValue', false);\n\t\t});\n\t\treturn true;\n\t},\n});\n\nconst closeLabel = computed(() => props.closeLabel);\n\nconst open = ref(false);\nconst opening = ref(false);\nconst closed = ref(true);\nconst closing = ref(false);\nconst hasRenderedAtLeastOnce = ref(props.eager || props.modelValue);\nconst lastFocusedElement = ref<Element | null>(null);\n\nconst busy = computed(() => opening.value || closing.value);\n\nonMounted(() => {\n\t/**\n\t * Do not realign if open or opening\n\t */\n\tif (props.modelValue && !(open.value || opening.value)) {\n\t\talignToModelValue();\n\t}\n});\n\n/**\n * Every time modelValue changes align the display to it\n */\nwatch(\n\t() => props.modelValue,\n\t() => {\n\t\talignToModelValue();\n\t}\n);\nonBeforeUnmount(() => {\n\tif (props.modelValue) {\n\t\tlet currentlyOpenCanvases = Number(\n\t\t\tdocument.body.dataset['openCanvases'] ?? '0'\n\t\t);\n\t\t// This prevents overscroll chaining (additional scrolling to the body when the modal has been completely scrolled)\n\t\tcurrentlyOpenCanvases--;\n\t\tdocument.body.dataset['openCanvases'] = currentlyOpenCanvases.toString();\n\t\tif (!currentlyOpenCanvases) {\n\t\t\tdocument.body.style.overflow = 'auto';\n\t\t\tdocument.body.style.paddingRight = '0px';\n\t\t}\n\t}\n});\n\n/**\n * When modelValue becomes true if the component wasn't rendered render it\n * and wait for it to be on the page (or transitions would not work).\n * Stash the latest focused element so we can return it later when it closes.\n * Focus on the panel upon opening.\n * ---\n * Notice all interactions update modelValue and then this function aligns the display to it\n */\nconst alignToModelValue = async () => {\n\tif (props.modelValue) {\n\t\tif (!hasRenderedAtLeastOnce.value) {\n\t\t\thasRenderedAtLeastOnce.value = true;\n\t\t}\n\t\tif (document.activeElement) {\n\t\t\tlastFocusedElement.value = document.activeElement;\n\t\t}\n\n\t\tclosed.value = false;\n\t\tclosing.value = false;\n\t\topening.value = true;\n\n\t\t// This prevents overscroll chaining (additional scrolling to the body when the modal has been completely scrolled)\n\n\t\tlet currentlyOpenCanvases = Number(\n\t\t\tdocument.body.dataset['openCanvases'] ?? '0'\n\t\t);\n\t\tcurrentlyOpenCanvases++;\n\t\tdocument.body.dataset['openCanvases'] = currentlyOpenCanvases.toString();\n\t\tconst scrollBarWidth =\n\t\t\twindow.innerWidth - document.documentElement.clientWidth;\n\t\tdocument.body.style.overflow = 'hidden';\n\t\tdocument.body.style.paddingRight = `${scrollBarWidth}px`;\n\n\t\tawait wait(props.transitionDuration);\n\n\t\topening.value = false;\n\t\topen.value = true;\n\t\temit('shown');\n\t\tactivate();\n\t} else {\n\t\tdeactivate();\n\t\topening.value = false;\n\t\topen.value = false;\n\t\tclosing.value = true;\n\n\t\tawait wait(props.transitionDuration);\n\n\t\tlet currentlyOpenCanvases = Number(\n\t\t\tdocument.body.dataset['openCanvases'] ?? '0'\n\t\t);\n\t\t// This prevents overscroll chaining (additional scrolling to the body when the modal has been completely scrolled)\n\t\tcurrentlyOpenCanvases--;\n\t\tdocument.body.dataset['openCanvases'] = currentlyOpenCanvases.toString();\n\t\tif (!currentlyOpenCanvases) {\n\t\t\tdocument.body.style.overflow = 'auto';\n\t\t\tdocument.body.style.paddingRight = '0px';\n\t\t}\n\t\tclosing.value = false;\n\t\tclosed.value = true;\n\t\temit('hidden');\n\t\tif (lastFocusedElement.value instanceof HTMLElement) {\n\t\t\tlastFocusedElement.value.focus();\n\t\t}\n\t}\n};\n\n/**\n * Disable scrolling\n */\nconst onOverlayScroll = (event: UIEvent) => {\n\tif (event.target === overlay.value) {\n\t\tevent.preventDefault();\n\t}\n};\n\n/**\n * Close the modal on overlay click if not persistent\n */\nconst onOverlayClick = (event: MouseEvent) => {\n\tif (props.disabled || busy.value) return;\n\tif (overlay.value) {\n\t\tif (event.target === overlay.value) {\n\t\t\tif (!props.persistent) {\n\t\t\t\temit('update:modelValue', false);\n\t\t\t}\n\t\t}\n\t}\n};\n\n/**\n * On click on the X button\n */\nconst onCloseClick = () => {\n\tif (props.disabled) return;\n\temit('update:modelValue', false);\n};\n\nconst overlayAttributes = computed(() => {\n\tconst classes = [\n\t\t{\n\t\t\t'bb-offcanvas bb-offcanvas__overlay': true,\n\t\t\t'bb-offcanvas--fullscreen': props.fullscreen,\n\t\t\t'bb-offcanvas--open': open.value,\n\t\t\t'bb-offcanvas--opening': opening.value,\n\t\t\t'bb-offcanvas--closed': closed.value,\n\t\t\t'bb-offcanvas--closing': closing.value,\n\t\t\t[`bb-offcanvas--transition-${props.transition}`]: true,\n\t\t\t[`bb-offcanvas--${props.direction}`]: true,\n\t\t},\n\t\tprops.overlayClasses,\n\t].flat();\n\tconst eventListeners = {\n\t\tonClick: onOverlayClick,\n\t\tonScroll: onOverlayScroll,\n\t\tonTouchmove: onOverlayScroll,\n\t\tonWheel: onOverlayScroll,\n\t\tonKeydown: onOverlayScroll,\n\t};\n\n\tconst style = {\n\t\ttransitionDuration: props.transitionDuration / 1000 + 's',\n\t};\n\treturn {\n\t\tclass: classes,\n\t\tstyle,\n\t\t...eventListeners,\n\t\t...attrs,\n\t};\n});\n\nconst panelAttributes = computed(() => {\n\tconst classes = [\n\t\t{\n\t\t\t'bb-offcanvas__panel': true,\n\t\t\t'bb-offcanvas__panel--compact': props.compact,\n\t\t},\n\t\tprops.panelClasses,\n\t].flat();\n\n\tconst accessibilityAttrs: {\n\t\t[key: string]: string | boolean;\n\t} = {\n\t\trole: 'dialog',\n\t\t'aria-modal': true,\n\t};\n\n\tif (hasRenderedAtLeastOnce.value) {\n\t\taccessibilityAttrs['aria-labelledby'] = titleId;\n\n\t\tif (props.description)\n\t\t\taccessibilityAttrs['aria-describedby'] = descriptionId;\n\t}\n\n\tlet maxWidth;\n\tlet maxHeight;\n\tlet height;\n\tconst sizes: Sizes = {\n\t\tsm: 384,\n\t\tmd: 652,\n\t\tlg: 896,\n\t};\n\tif (props.direction === 'left' || props.direction === 'right') {\n\t\tif (props.fullscreen) maxWidth = '100%';\n\t\telse if (typeof props.size === 'number') maxWidth = props.size + 'px';\n\t\telse if (props.size in sizes)\n\t\t\tmaxWidth = sizes[props.size as keyof Sizes] + 'px';\n\t\telse maxWidth = props.size + 'px';\n\t} else {\n\t\tif (props.fullscreen) height = '100%';\n\t\telse if (typeof props.size === 'number') height = props.size + 'px';\n\t\telse if (props.size in sizes)\n\t\t\theight = sizes[props.size as keyof Sizes] + 'px';\n\t\telse if (!Number.isNaN(Number(props.size))) height = props.size + 'px';\n\t\telse if (props.size === 'auto') height = 'auto';\n\t}\n\n\tconst style = {\n\t\tmaxWidth,\n\t\tmaxHeight,\n\t\theight,\n\t\ttransitionDuration: props.transitionDuration / 1000 + 's',\n\t};\n\n\treturn {\n\t\tclass: classes,\n\t\tstyle,\n\t\t...accessibilityAttrs,\n\t};\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_Teleport, { to: \"body\" }, [\n _createElementVNode(\"div\", _mergeProps(overlayAttributes.value, {\n ref_key: \"overlay\",\n ref: overlay\n }), [\n _createElementVNode(\"div\", _mergeProps(panelAttributes.value, {\n ref_key: \"panel\",\n ref: panel\n }), [\n (hasRenderedAtLeastOnce.value)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n ref_key: \"content\",\n ref: content,\n class: \"bb-offcanvas__content\"\n }, [\n _renderSlot(_ctx.$slots, \"content\", { close: onCloseClick }, () => [\n _createElementVNode(\"div\", {\n ref_key: \"header\",\n ref: header,\n class: \"bb-offcanvas__header\"\n }, [\n _renderSlot(_ctx.$slots, \"header\", {\n close: onCloseClick,\n title: _ctx.title,\n titleId: titleId\n }, () => [\n _createElementVNode(\"span\", {\n id: titleId,\n class: \"bb-offcanvas__title\"\n }, [\n _renderSlot(_ctx.$slots, \"title\", { text: _ctx.title }, () => [\n _createTextVNode(_toDisplayString(_ctx.title), 1)\n ])\n ]),\n _createElementVNode(\"span\", _hoisted_1, [\n (_ctx.showClose)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n type: \"button\",\n onClick: onCloseClick\n }, [\n _renderSlot(_ctx.$slots, \"close\", { text: closeLabel.value }, () => [\n _createElementVNode(\"span\", _hoisted_2, [\n _createElementVNode(\"span\", _hoisted_3, _toDisplayString(closeLabel.value), 1),\n _hoisted_4\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ], 512),\n _createElementVNode(\"div\", {\n ref_key: \"body\",\n ref: body,\n class: \"bb-offcanvas__body\"\n }, [\n _renderSlot(_ctx.$slots, \"description\", {\n descriptionId: descriptionId,\n text: _ctx.description\n }, () => [\n (_ctx.description)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n id: descriptionId,\n class: \"bb-offcanvas__description\"\n }, _toDisplayString(_ctx.description), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _renderSlot(_ctx.$slots, \"default\")\n ], 512),\n _hoisted_5,\n _createElementVNode(\"div\", {\n ref_key: \"footer\",\n ref: footer,\n class: \"bb-offcanvas__footer\"\n }, [\n _renderSlot(_ctx.$slots, \"footer\")\n ], 512)\n ])\n ], 512))\n : _createCommentVNode(\"\", true)\n ], 16)\n ], 16)\n ]))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_createElementVNode","_hoisted_5","_sfc_main","_defineComponent","__props","__emit","props","emit","titleId","useId","descriptionId","overlay","ref","panel","content","header","body","footer","attrs","useAttrs","activate","deactivate","useFocusTrap","nextTick","closeLabel","computed","open","opening","closed","closing","hasRenderedAtLeastOnce","lastFocusedElement","busy","onMounted","alignToModelValue","watch","onBeforeUnmount","currentlyOpenCanvases","scrollBarWidth","wait","onOverlayScroll","event","onOverlayClick","onCloseClick","overlayAttributes","classes","eventListeners","style","panelAttributes","accessibilityAttrs","maxWidth","maxHeight","height","sizes","_ctx","_cache","_openBlock","_createBlock","_Teleport","_mergeProps","_createElementBlock","_renderSlot","_createTextVNode","_toDisplayString","_createCommentVNode"],"mappings":";;;;AAGA,MAAMA,KAAa,EAAE,OAAO,wBACtBC,KAAa,EAAE,OAAO,iCACtBC,KAAa,EAAE,OAAO,+BACtBC,KAA8CC,gBAAAA,EAAA,QAAQ,EAAE,OAAO,8BAA8B;AAAA,oBAChE,OAAO;AAAA,IACtC,MAAM;AAAA,IACN,SAAS;AAAA,IACT,OAAO;AAAA,EAAA,GACN;AAAA,sBACgC,QAAQ;AAAA,MACvC,GAAG;AAAA,MACH,QAAQ;AAAA,MACR,kBAAkB;AAAA,MAClB,gBAAgB;AAAA,IAAA,CACjB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BACD4C,EAAYP,EAAK,QAAQ,QAAQ;AAAA,iBAChC,GAAG;AAAA,YAAA,CACP;AAAA,UACA,GAAA,GAAG,KACNU,EAAoB,IAAI,EAAI;AAAA,WAC/B,EAAE;AAAA,SACJ,EAAE;AAAA,IAAA,CACN;AAAA,EAEH;AAEA,CAAC;"}
|
package/dist/index76.js
DELETED
package/dist/index76.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index76.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index77.js
DELETED
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import { defineComponent as x, computed as y, ref as p, onMounted as A, onBeforeUnmount as B, openBlock as V, createElementBlock as k, createElementVNode as u, renderSlot as g, createTextVNode as b, Fragment as E, renderList as P, normalizeClass as W, toDisplayString as h, nextTick as z } from "vue";
|
|
2
|
-
import R from "./index226.js";
|
|
3
|
-
const T = { "aria-label": "Navigazione" }, F = ["disabled"], L = ["disabled", "onClick"], D = ["disabled"], O = /* @__PURE__ */ x({
|
|
4
|
-
__name: "BbPagination",
|
|
5
|
-
props: {
|
|
6
|
-
disabled: { type: Boolean },
|
|
7
|
-
loading: { type: Boolean },
|
|
8
|
-
ellipsis: { default: "..." },
|
|
9
|
-
maxSize: { default: 5 },
|
|
10
|
-
modelValue: { default: 1 },
|
|
11
|
-
totalPages: { default: 1 }
|
|
12
|
-
},
|
|
13
|
-
emits: ["update:modelValue"],
|
|
14
|
-
setup(M, { emit: N }) {
|
|
15
|
-
const a = M, m = N, i = y(() => +a.totalPages), r = p(1), n = p(+a.maxSize), o = p(), d = p(), S = p(1 / 0), f = () => {
|
|
16
|
-
o.value && d.value && (o.value.clientWidth < d.value.clientWidth ? n.value - 1 > 3 ? (n.value--, z(f)) : n.value = 3 : n.value < +a.maxSize && /* If there is enough space to fit one */
|
|
17
|
-
o.value.clientWidth - d.value.clientWidth > S.value && (n.value = Math.min(n.value + 1, +a.maxSize), z(f)));
|
|
18
|
-
};
|
|
19
|
-
if (globalThis.ResizeObserver) {
|
|
20
|
-
const e = new ResizeObserver(R(f, 200));
|
|
21
|
-
A(() => {
|
|
22
|
-
if (o.value && d.value) {
|
|
23
|
-
const t = o.value.querySelectorAll(
|
|
24
|
-
".bb-pagination__page"
|
|
25
|
-
)[1];
|
|
26
|
-
if (t) {
|
|
27
|
-
const v = getComputedStyle(d.value).columnGap.replaceAll(/\D/g, ""), s = Number(v);
|
|
28
|
-
S.value = t.clientWidth + s;
|
|
29
|
-
}
|
|
30
|
-
e.observe(o.value);
|
|
31
|
-
}
|
|
32
|
-
}), B(() => {
|
|
33
|
-
e.disconnect();
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
const $ = y(() => {
|
|
37
|
-
if (i.value <= 0 || isNaN(i.value) || i.value > Number.MAX_SAFE_INTEGER)
|
|
38
|
-
return [];
|
|
39
|
-
if (n.value <= 1)
|
|
40
|
-
return [a.modelValue];
|
|
41
|
-
if (i.value <= n.value)
|
|
42
|
-
return c(i.value, r.value);
|
|
43
|
-
const e = n.value % 2 === 0, t = e ? n.value / 2 : Math.floor(n.value / 2), l = e ? t : t + 1, v = i.value - t;
|
|
44
|
-
if (l - a.modelValue >= 0)
|
|
45
|
-
return [
|
|
46
|
-
...c(Math.max(1, n.value - 1), r.value),
|
|
47
|
-
a.ellipsis,
|
|
48
|
-
i.value
|
|
49
|
-
];
|
|
50
|
-
if (a.modelValue - v >= (e ? 1 : 0)) {
|
|
51
|
-
const s = n.value - 1, _ = i.value - s + r.value;
|
|
52
|
-
return [
|
|
53
|
-
r.value,
|
|
54
|
-
a.ellipsis,
|
|
55
|
-
...c(s, _)
|
|
56
|
-
];
|
|
57
|
-
} else {
|
|
58
|
-
const s = Math.max(1, n.value - 3), _ = s === 1 ? a.modelValue : a.modelValue - Math.ceil(s / 2) + r.value;
|
|
59
|
-
return [
|
|
60
|
-
r.value,
|
|
61
|
-
a.ellipsis,
|
|
62
|
-
...c(s, _),
|
|
63
|
-
a.ellipsis,
|
|
64
|
-
i.value
|
|
65
|
-
];
|
|
66
|
-
}
|
|
67
|
-
}), C = y(() => $.value.map((e, t) => typeof e == "string" ? {
|
|
68
|
-
active: !1,
|
|
69
|
-
key: `ellipsis-${t}`,
|
|
70
|
-
page: e,
|
|
71
|
-
ellipsis: !0,
|
|
72
|
-
disabled: !0
|
|
73
|
-
} : {
|
|
74
|
-
active: e === a.modelValue,
|
|
75
|
-
key: e,
|
|
76
|
-
page: e,
|
|
77
|
-
ellipsis: !1,
|
|
78
|
-
disabled: !!a.disabled || +a.totalPages < 2 || a.loading
|
|
79
|
-
})), c = (e, t = 0) => Array.from({ length: e }, (l, v) => t + v);
|
|
80
|
-
return (e, t) => (V(), k("div", {
|
|
81
|
-
ref_key: "outercontainer",
|
|
82
|
-
ref: o,
|
|
83
|
-
class: "bb-pagination"
|
|
84
|
-
}, [
|
|
85
|
-
u("nav", T, [
|
|
86
|
-
u("ul", {
|
|
87
|
-
ref_key: "innercontainer",
|
|
88
|
-
ref: d,
|
|
89
|
-
class: "bb-pagination__pages"
|
|
90
|
-
}, [
|
|
91
|
-
u("li", null, [
|
|
92
|
-
u("button", {
|
|
93
|
-
class: "bb-pagination__page bb-pagination__page--previous",
|
|
94
|
-
disabled: a.modelValue <= 1 || e.loading || e.disabled,
|
|
95
|
-
onClick: t[0] || (t[0] = (l) => m("update:modelValue", a.modelValue - 1))
|
|
96
|
-
}, [
|
|
97
|
-
g(e.$slots, "previous", {}, () => [
|
|
98
|
-
b("Precedente")
|
|
99
|
-
])
|
|
100
|
-
], 8, F)
|
|
101
|
-
]),
|
|
102
|
-
(V(!0), k(E, null, P(C.value, (l) => (V(), k("li", null, [
|
|
103
|
-
u("button", {
|
|
104
|
-
class: W(["bb-pagination__page", {
|
|
105
|
-
"bb-pagination__page--active": l.active,
|
|
106
|
-
"bb-pagination__page--ellipsis": l.ellipsis
|
|
107
|
-
}]),
|
|
108
|
-
disabled: l.disabled,
|
|
109
|
-
onClick: (v) => m("update:modelValue", l.key)
|
|
110
|
-
}, [
|
|
111
|
-
l.ellipsis === !0 ? g(e.$slots, "ellipsis", { key: 0 }, () => [
|
|
112
|
-
b(h(a.ellipsis), 1)
|
|
113
|
-
]) : g(e.$slots, "item", {
|
|
114
|
-
key: 1,
|
|
115
|
-
active: l.active,
|
|
116
|
-
disabled: l.disabled,
|
|
117
|
-
item: l.key
|
|
118
|
-
}, () => [
|
|
119
|
-
b(h(l.key), 1)
|
|
120
|
-
])
|
|
121
|
-
], 10, L)
|
|
122
|
-
]))), 256)),
|
|
123
|
-
u("li", null, [
|
|
124
|
-
u("button", {
|
|
125
|
-
class: "bb-pagination__page bb-pagination__page--next",
|
|
126
|
-
disabled: a.modelValue >= +i.value || e.loading || e.disabled,
|
|
127
|
-
onClick: t[1] || (t[1] = (l) => m("update:modelValue", a.modelValue + 1))
|
|
128
|
-
}, [
|
|
129
|
-
g(e.$slots, "next", {}, () => [
|
|
130
|
-
b("Successivi")
|
|
131
|
-
])
|
|
132
|
-
], 8, D)
|
|
133
|
-
])
|
|
134
|
-
], 512)
|
|
135
|
-
])
|
|
136
|
-
], 512));
|
|
137
|
-
}
|
|
138
|
-
});
|
|
139
|
-
export {
|
|
140
|
-
O as default
|
|
141
|
-
};
|
|
142
|
-
//# sourceMappingURL=index77.js.map
|
package/dist/index77.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index77.js","sources":["../src/components/BbPagination/BbPagination.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = { \"aria-label\": \"Navigazione\" }\nconst _hoisted_2 = [\"disabled\"]\nconst _hoisted_3 = [\"disabled\", \"onClick\"]\nconst _hoisted_4 = [\"disabled\"]\n\nimport { computed, nextTick, onBeforeUnmount, onMounted, ref } from 'vue';\nimport { debounce } from '@/utilities/functions/debounce';\nimport type { CommonProps } from '@/types/CommonProps';\n\nexport type BbPaginationProps = Pick<CommonProps, 'disabled' | 'loading'> & {\n\t/**\n\t * String of text displayed in place of hidden pages\n\t */\n\tellipsis?: string;\n\t/**\n\t * Maximum number of clickable pages displayed at all times.\n\t * This has a tolerance of +/- 1 for odd / even numbering.\n\t * It does not include ellipses.\n\t */\n\tmaxSize?: number | string;\n\t/**\n\t * Used by v-model. Indicates the current page.\n\t */\n\tmodelValue: number;\n\t/**\n\t * Total number of pages there is.\n\t */\n\ttotalPages?: number | string;\n};\n\nexport type BbPaginationEvents = {\n\t(e: 'update:modelValue', value: number): void;\n};\n\ntype Item =\n\t| {\n\t\t\tactive: boolean;\n\t\t\tkey: string;\n\t\t\tpage: string;\n\t\t\tellipsis: true;\n\t\t\tdisabled: boolean;\n\t }\n\t| {\n\t\t\tactive: boolean;\n\t\t\tkey: number;\n\t\t\tpage: number;\n\t\t\tellipsis: false;\n\t\t\tdisabled: boolean;\n\t };\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbPagination',\n props: {\n disabled: { type: Boolean },\n loading: { type: Boolean },\n ellipsis: { default: '...' },\n maxSize: { default: 5 },\n modelValue: { default: 1 },\n totalPages: { default: 1 }\n },\n emits: ['update:modelValue'],\n setup(__props: any, { emit: __emit }) {\n\nconst props = __props;\n\nconst emit = __emit;\n\n\n\nconst totalPages = computed(() => +props.totalPages);\nconst start = ref(1);\nconst maxSize = ref(+props.maxSize);\n\nconst outercontainer = ref<HTMLElement>();\nconst innercontainer = ref<HTMLElement>();\n\nconst buttonFootprint = ref<number>(Infinity);\n\n/**\n * Adjusts how many buttons to show.\n * if current buttons can't fit subtract maxSize until they do or until minimum is reached\n * if more buttons could fit add buttons until the don't\n * If minimum or maximum is reached just quit until next resize\n */\nconst adjustMaxElements = () => {\n\tif (outercontainer.value && innercontainer.value) {\n\t\t/* If some buttons do not fit */\n\t\tif (outercontainer.value.clientWidth < innercontainer.value.clientWidth) {\n\t\t\tif (maxSize.value - 1 > 3) {\n\t\t\t\tmaxSize.value--;\n\t\t\t\tnextTick(adjustMaxElements);\n\t\t\t} else {\n\t\t\t\tmaxSize.value = 3;\n\t\t\t}\n\t\t\t/* If all current buttons do fit */\n\t\t} else {\n\t\t\t/* If some buttons have been hidden */\n\t\t\tif (maxSize.value < +props.maxSize) {\n\t\t\t\tif (\n\t\t\t\t\t/* If there is enough space to fit one */\n\t\t\t\t\toutercontainer.value.clientWidth - innercontainer.value.clientWidth >\n\t\t\t\t\tbuttonFootprint.value\n\t\t\t\t) {\n\t\t\t\t\tmaxSize.value = Math.min(maxSize.value + 1, +props.maxSize);\n\t\t\t\t\tnextTick(adjustMaxElements);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n};\nif (globalThis.ResizeObserver) {\n\tconst observer = new ResizeObserver(debounce(adjustMaxElements, 200));\n\tonMounted(() => {\n\t\tif (outercontainer.value && innercontainer.value) {\n\t\t\tconst button = outercontainer.value.querySelectorAll(\n\t\t\t\t'.bb-pagination__page'\n\t\t\t)[1];\n\t\t\tif (button) {\n\t\t\t\t/* Compute the footprint necessary to render a new button */\n\t\t\t\tconst gapString = getComputedStyle(innercontainer.value).columnGap;\n\t\t\t\tconst numberAsString = gapString.replaceAll(/\\D/g, '');\n\t\t\t\tconst gap = Number(numberAsString);\n\t\t\t\tbuttonFootprint.value = button.clientWidth + gap;\n\t\t\t}\n\t\t\tobserver.observe(outercontainer.value);\n\t\t}\n\t});\n\tonBeforeUnmount(() => {\n\t\tobserver.disconnect();\n\t});\n}\n\nconst range = computed(() => {\n\tif (\n\t\ttotalPages.value <= 0 ||\n\t\tisNaN(totalPages.value) ||\n\t\ttotalPages.value > Number.MAX_SAFE_INTEGER\n\t)\n\t\treturn [];\n\n\tif (maxSize.value <= 1) return [props.modelValue];\n\n\tif (totalPages.value <= maxSize.value) {\n\t\treturn createRange(totalPages.value, start.value);\n\t}\n\n\tconst even = maxSize.value % 2 === 0;\n\tconst middle = even ? maxSize.value / 2 : Math.floor(maxSize.value / 2);\n\tconst left = even ? middle : middle + 1;\n\tconst right = totalPages.value - middle;\n\n\tif (left - props.modelValue >= 0) {\n\t\treturn [\n\t\t\t...createRange(Math.max(1, maxSize.value - 1), start.value),\n\t\t\tprops.ellipsis,\n\t\t\ttotalPages.value,\n\t\t];\n\t} else if (props.modelValue - right >= (even ? 1 : 0)) {\n\t\tconst rangeLength = maxSize.value - 1;\n\t\tconst rangeStart = totalPages.value - rangeLength + start.value;\n\t\treturn [\n\t\t\tstart.value,\n\t\t\tprops.ellipsis,\n\t\t\t...createRange(rangeLength, rangeStart),\n\t\t];\n\t} else {\n\t\tconst rangeLength = Math.max(1, maxSize.value - 3);\n\t\tconst rangeStart =\n\t\t\trangeLength === 1\n\t\t\t\t? props.modelValue\n\t\t\t\t: props.modelValue - Math.ceil(rangeLength / 2) + start.value;\n\t\treturn [\n\t\t\tstart.value,\n\t\t\tprops.ellipsis,\n\t\t\t...createRange(rangeLength, rangeStart),\n\t\t\tprops.ellipsis,\n\t\t\ttotalPages.value,\n\t\t];\n\t}\n});\n\nconst items = computed<Item[]>(() => {\n\treturn range.value.map((item, index) => {\n\t\tif (typeof item === 'string') {\n\t\t\treturn {\n\t\t\t\tactive: false,\n\t\t\t\tkey: `ellipsis-${index}`,\n\t\t\t\tpage: item,\n\t\t\t\tellipsis: true,\n\t\t\t\tdisabled: true,\n\t\t\t};\n\t\t} else {\n\t\t\tconst active = item === props.modelValue;\n\t\t\treturn {\n\t\t\t\tactive,\n\t\t\t\tkey: item,\n\t\t\t\tpage: item,\n\t\t\t\tellipsis: false,\n\t\t\t\tdisabled: !!props.disabled || +props.totalPages < 2 || props.loading,\n\t\t\t};\n\t\t}\n\t});\n});\n\nconst createRange = (length: number, start = 0): number[] => {\n\treturn Array.from({ length }, (_, k) => start + k);\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n ref_key: \"outercontainer\",\n ref: outercontainer,\n class: \"bb-pagination\"\n }, [\n _createElementVNode(\"nav\", _hoisted_1, [\n _createElementVNode(\"ul\", {\n ref_key: \"innercontainer\",\n ref: innercontainer,\n class: \"bb-pagination__pages\"\n }, [\n _createElementVNode(\"li\", null, [\n _createElementVNode(\"button\", {\n class: \"bb-pagination__page bb-pagination__page--previous\",\n disabled: props.modelValue <= 1 || _ctx.loading || _ctx.disabled,\n onClick: _cache[0] || (_cache[0] = ($event: any) => (emit('update:modelValue', props.modelValue - 1)))\n }, [\n _renderSlot(_ctx.$slots, \"previous\", {}, () => [\n _createTextVNode(\"Precedente\")\n ])\n ], 8, _hoisted_2)\n ]),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(items.value, (item) => {\n return (_openBlock(), _createElementBlock(\"li\", null, [\n _createElementVNode(\"button\", {\n class: _normalizeClass([\"bb-pagination__page\", {\n\t\t\t\t\t\t\t'bb-pagination__page--active': item.active,\n\t\t\t\t\t\t\t'bb-pagination__page--ellipsis': item.ellipsis,\n\t\t\t\t\t\t}]),\n disabled: item.disabled,\n onClick: ($event: any) => (emit('update:modelValue', item.key))\n }, [\n (item.ellipsis === true)\n ? _renderSlot(_ctx.$slots, \"ellipsis\", { key: 0 }, () => [\n _createTextVNode(_toDisplayString(props.ellipsis), 1)\n ])\n : _renderSlot(_ctx.$slots, \"item\", {\n key: 1,\n active: item.active,\n disabled: item.disabled,\n item: item.key\n }, () => [\n _createTextVNode(_toDisplayString(item.key), 1)\n ])\n ], 10, _hoisted_3)\n ]))\n }), 256)),\n _createElementVNode(\"li\", null, [\n _createElementVNode(\"button\", {\n class: \"bb-pagination__page bb-pagination__page--next\",\n disabled: props.modelValue >= +totalPages.value || _ctx.loading || _ctx.disabled,\n onClick: _cache[1] || (_cache[1] = ($event: any) => (emit('update:modelValue', props.modelValue + 1)))\n }, [\n _renderSlot(_ctx.$slots, \"next\", {}, () => [\n _createTextVNode(\"Successivi\")\n ])\n ], 8, _hoisted_4)\n ])\n ], 512)\n ])\n ], 512))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_sfc_main","_defineComponent","__props","__emit","props","emit","totalPages","computed","start","ref","maxSize","outercontainer","innercontainer","buttonFootprint","adjustMaxElements","nextTick","observer","debounce","onMounted","button","numberAsString","gap","onBeforeUnmount","range","createRange","even","middle","left","right","rangeLength","rangeStart","items","item","index","length","_","k","_ctx","_cache","_openBlock","_createElementBlock","_createElementVNode","$event","_renderSlot","_createTextVNode","_Fragment","_renderList","_normalizeClass","_toDisplayString"],"mappings":";;AAGA,MAAMA,IAAa,EAAE,cAAc,iBAC7BC,IAAa,CAAC,UAAU,GACxBC,IAAa,CAAC,YAAY,SAAS,GACnCC,IAAa,CAAC,UAAU,GAgDFC,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,SAAS,EAAE,MAAM,QAAQ;AAAA,IACzB,UAAU,EAAE,SAAS,MAAM;AAAA,IAC3B,SAAS,EAAE,SAAS,EAAE;AAAA,IACtB,YAAY,EAAE,SAAS,EAAE;AAAA,IACzB,YAAY,EAAE,SAAS,EAAE;AAAA,EAC3B;AAAA,EACA,OAAO,CAAC,mBAAmB;AAAA,EAC3B,MAAMC,GAAc,EAAE,MAAMC,KAAU;AAExC,UAAMC,IAAQF,GAERG,IAAOF,GAIPG,IAAaC,EAAS,MAAM,CAACH,EAAM,UAAU,GAC7CI,IAAQC,EAAI,CAAC,GACbC,IAAUD,EAAI,CAACL,EAAM,OAAO,GAE5BO,IAAiBF,KACjBG,IAAiBH,KAEjBI,IAAkBJ,EAAY,KAAQ,GAQtCK,IAAoB,MAAM;AAC3B,MAAAH,EAAe,SAASC,EAAe,UAEtCD,EAAe,MAAM,cAAc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AM,QAAQ,GAAG,CAAC;AAAA,cACrD,CAAA,IACDuC,EAAYN,EAAK,QAAQ,QAAQ;AAAA,gBAC/B,KAAK;AAAA,gBACL,QAAQL,EAAK;AAAA,gBACb,UAAUA,EAAK;AAAA,gBACf,MAAMA,EAAK;AAAA,cAAA,GACV,MAAM;AAAA,gBACPY,EAAiBI,EAAiBhB,EAAK,GAAG,GAAG,CAAC;AAAA,cAAA,CAC/C;AAAA,YAAA,GACJ,IAAIlC,CAAU;AAAA,UAAA,CAClB,EACF,GAAG,GAAG;AAAA,UACP2C,EAAoB,MAAM,MAAM;AAAA,YAC9BA,EAAoB,UAAU;AAAA,cAC5B,OAAO;AAAA,cACP,UAAUrC,EAAM,cAAc,CAACE,EAAW,SAAS+B,EAAK,WAAWA,EAAK;AAAA,cACxE,SAASC,EAAO,CAAC,MAAMA,EAAO,CAAC,IAAI,CAACI,MAAiBrC,EAAK,qBAAqBD,EAAM,aAAa,CAAC;AAAA,YAAA,GAClG;AAAA,cACDuC,EAAYN,EAAK,QAAQ,QAAQ,IAAI,MAAM;AAAA,gBACzCO,EAAiB,YAAY;AAAA,cAAA,CAC9B;AAAA,YAAA,GACA,GAAG7C,CAAU;AAAA,UAAA,CACjB;AAAA,WACA,GAAG;AAAA,MAAA,CACP;AAAA,OACA,GAAG;AAAA,EAER;AAEA,CAAC;"}
|
package/dist/index78.js
DELETED
package/dist/index78.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index78.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|