bitboss-ui 2.1.129 → 2.1.131
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/ai/BbTable.md +19 -11
- package/dist/components/BaseButton/BaseButton.vue.d.ts +10 -5
- package/dist/components/BaseButton/RouterComponent.vue.d.ts +15 -12
- package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +24 -10
- package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +17 -22
- package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +205 -6
- package/dist/components/BaseColorInput/ColorPalette.vue.d.ts +10 -3
- package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +11 -6
- package/dist/components/BaseDatePicker/BaseDatePickerHeader.vue.d.ts +2 -3
- package/dist/components/BaseDatePicker/BaseDatePickerInputDaySelector.vue.d.ts +35 -27
- package/dist/components/BaseDatePicker/BaseDatePickerMonthSelector.vue.d.ts +2 -3
- package/dist/components/BaseDatePicker/BaseDatePickerYearSelector.vue.d.ts +4 -3
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +345 -6
- package/dist/components/BaseDialog/BaseDialog.vue.d.ts +22 -8
- package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +15 -6
- package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +15 -6
- package/dist/components/BaseRadio/BaseRadio.vue.d.ts +11 -6
- package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +17 -22
- package/dist/components/BaseRating/BaseRating.vue.d.ts +15 -6
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +15 -20
- package/dist/components/BaseSlider/BaseSlider.vue.d.ts +21 -6
- package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +15 -6
- package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +17 -22
- package/dist/components/BaseTag/BaseTag.vue.d.ts +353 -6
- package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +15 -6
- package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +15 -6
- package/dist/components/BbAccordion/BbAccordion.vue.d.ts +11 -6
- package/dist/components/BbAlert/BbAlert.vue.d.ts +10 -5
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +15 -6
- package/dist/components/BbBadge/BbBadge.vue.d.ts +10 -5
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +34 -7
- package/dist/components/BbButton/BbButton.vue.d.ts +11 -7
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +11 -6
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +17 -22
- package/dist/components/BbChip/BbChip.vue.d.ts +11 -6
- package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +10 -5
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +16 -7
- package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +77 -6
- package/dist/components/BbConfirm/BbConfirm.vue.d.ts +1 -2
- package/dist/components/BbConfirm/BbConfirmPortal.vue.d.ts +29 -14
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +11 -6
- package/dist/components/BbDialog/BbDialog.vue.d.ts +12 -8
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +232 -7
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +30 -7
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +15 -6
- package/dist/components/BbIcon/BbIcon.vue.d.ts +2 -3
- package/dist/components/BbIntersection/BbIntersection.vue.d.ts +15 -6
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +284 -7
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +22 -8
- package/dist/components/BbPagination/BbPagination.vue.d.ts +18 -8
- package/dist/components/BbPopover/BbPopover.vue.d.ts +217 -8
- package/dist/components/BbProgress/BbProgress.vue.d.ts +2 -3
- package/dist/components/BbRadio/BbRadio.vue.d.ts +11 -6
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +17 -22
- package/dist/components/BbRating/BbRating.vue.d.ts +16 -7
- package/dist/components/BbRatio/BbRatio.vue.d.ts +10 -5
- package/dist/components/BbRows/BbRows.vue.d.ts +49 -14
- package/dist/components/BbSelect/BbSelect.vue.d.ts +15 -20
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +15 -20
- package/dist/components/BbSlider/BbSlider.vue.d.ts +16 -7
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +17 -6
- package/dist/components/BbSpinner/BbSpinner.vue.d.ts +2 -3
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +11 -6
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +17 -22
- package/dist/components/BbTab/BbTab.vue.d.ts +18 -15
- package/dist/components/BbTable/BbTable.vue.d.ts +83 -25
- package/dist/components/BbTag/BbTag.vue.d.ts +11 -6
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +16 -7
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +16 -7
- package/dist/components/BbToast/BbToast.vue.d.ts +2 -3
- package/dist/components/BbToast/BbToastMessage.vue.d.ts +2 -3
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +216 -8
- package/dist/components/BbTree/BbTree.vue.d.ts +10 -5
- package/dist/components/ChipsBox/ChipsBox.vue.d.ts +1 -2
- package/dist/components/ClearableButton/ClearableButton.vue.d.ts +1 -2
- package/dist/components/CommaBox/CommaBox.vue.d.ts +1 -2
- package/dist/components/CommonInputInnerContainer/CommonInputInnerContainer.vue.d.ts +15 -6
- package/dist/components/CommonInputOuterContainer/CommonInputOuterContainer.vue.d.ts +10 -5
- package/dist/components/CommonPopover/CommonPopover.vue.d.ts +18 -8
- package/dist/components/ErrorIcon/ErrorIcon.vue.d.ts +1 -2
- package/dist/components/FlatListBox/FlatListBox.vue.d.ts +11 -16
- package/dist/components/GroupedListBox/GroupedListBox.vue.d.ts +11 -16
- package/dist/components/ListBox/ListBox.vue.d.ts +11 -16
- package/dist/components/OptionsContainer/OptionsContainer.vue.d.ts +6 -11
- package/dist/components/Transitions/ScaleFade.vue.d.ts +15 -7
- package/dist/components/Transitions/Slide.vue.d.ts +15 -7
- package/dist/index.css +1 -2
- package/dist/index.js +226 -80
- package/dist/index10.js +81 -4
- package/dist/index101.js +94 -300
- package/dist/index103.js +136 -16
- package/dist/index105.js +102 -4
- package/dist/index107.js +24 -9
- package/dist/index109.js +142 -19
- package/dist/index11.js +39 -41
- package/dist/index110.js +532 -12
- package/dist/index112.js +190 -24
- package/dist/index114.js +116 -7
- package/dist/index116.js +58 -5
- package/dist/index118.js +40 -5
- package/dist/index12.js +41 -10
- package/dist/index120.js +100 -5
- package/dist/index122.js +137 -5
- package/dist/index124.js +368 -51
- package/dist/index126.js +806 -222
- package/dist/index128.js +124 -6
- package/dist/index13.js +185 -92
- package/dist/index130.js +118 -25
- package/dist/index132.js +126 -5
- package/dist/index134.js +28 -0
- package/dist/index136.js +155 -13
- package/dist/index138.js +122 -0
- package/dist/index14.js +128 -306
- package/dist/index140.js +32 -224
- package/dist/index141.js +29 -5
- package/dist/index142.js +71 -4
- package/dist/index144.js +14 -0
- package/dist/index146.js +12 -7
- package/dist/index147.js +4 -182
- package/dist/index148.js +421 -0
- package/dist/index149.js +11 -6
- package/dist/index150.js +10 -5
- package/dist/index151.js +27 -4
- package/dist/index152.js +4 -95
- package/dist/index153.js +7 -0
- package/dist/index154.js +8 -6
- package/dist/index155.js +7 -168
- package/dist/index156.js +5 -0
- package/dist/index157.js +5 -6
- package/dist/index158.js +5 -145
- package/dist/index159.js +5 -0
- package/dist/index16.js +152 -58
- package/dist/index160.js +5 -6
- package/dist/index161.js +5 -53
- package/dist/index162.js +5 -0
- package/dist/index163.js +5 -6
- package/dist/index164.js +4 -15
- package/dist/index165.js +4 -18
- package/dist/index166.js +5 -35
- package/dist/index167.js +5 -0
- package/dist/index168.js +5 -6
- package/dist/index169.js +5 -89
- package/dist/index170.js +5 -0
- package/dist/index171.js +5 -6
- package/dist/index172.js +5 -82
- package/dist/index173.js +5 -0
- package/dist/index174.js +5 -6
- package/dist/index175.js +4 -37
- package/dist/index176.js +4 -460
- package/dist/index177.js +5 -28
- package/dist/index178.js +5 -66
- package/dist/index179.js +5 -17
- package/dist/index18.js +138 -34
- package/dist/index180.js +5 -162
- package/dist/index181.js +5 -5
- package/dist/index182.js +5 -217
- package/dist/index183.js +5 -5
- package/dist/index184.js +5 -112
- package/dist/index185.js +5 -5
- package/dist/index186.js +4 -459
- package/dist/index187.js +5 -0
- package/dist/index188.js +4 -6
- package/dist/index189.js +5 -4
- package/dist/index190.js +4 -7
- package/dist/index191.js +5 -7
- package/dist/index192.js +5 -268
- package/dist/index193.js +5 -0
- package/dist/index194.js +5 -6
- package/dist/index195.js +4 -124
- package/dist/index196.js +5 -0
- package/dist/index197.js +5 -6
- package/dist/index198.js +5 -174
- package/dist/index199.js +5 -0
- package/dist/index20.js +195 -8
- package/dist/index200.js +4 -5
- package/dist/index201.js +5 -224
- package/dist/index202.js +5 -0
- package/dist/index203.js +4 -5
- package/dist/index204.js +5 -135
- package/dist/index205.js +4 -0
- package/dist/index206.js +4 -5
- package/dist/index207.js +5 -5
- package/dist/index208.js +5 -170
- package/dist/index209.js +5 -0
- package/dist/index210.js +4 -5
- package/dist/index211.js +5 -37
- package/dist/index212.js +5 -0
- package/dist/index213.js +4 -5
- package/dist/index214.js +5 -63
- package/dist/index215.js +5 -0
- package/dist/index216.js +4 -5
- package/dist/index217.js +5 -74
- package/dist/index218.js +5 -0
- package/dist/index219.js +4 -5
- package/dist/index22.js +245 -6
- package/dist/index220.js +5 -65
- package/dist/index221.js +46 -0
- package/dist/index222.js +4 -5
- package/dist/index223.js +5 -67
- package/dist/index224.js +4 -0
- package/dist/index225.js +140 -6
- package/dist/index226.js +4 -41
- package/dist/index227.js +7 -0
- package/dist/index228.js +10 -6
- package/dist/index229.js +5 -9
- package/dist/index230.js +15 -22
- package/dist/index231.js +374 -23
- package/dist/index233.js +162 -0
- package/dist/index235.js +27 -47
- package/dist/index236.js +4 -165
- package/dist/index237.js +4 -0
- package/dist/index238.js +4 -6
- package/dist/index239.js +8 -10
- package/dist/index24.js +616 -9
- package/dist/index240.js +4 -159
- package/dist/index241.js +9 -0
- package/dist/index242.js +5 -6
- package/dist/index243.js +35 -133
- package/dist/index244.js +7 -0
- package/dist/index245.js +7 -6
- package/dist/index246.js +7 -167
- package/dist/index247.js +7 -0
- package/dist/index248.js +7 -6
- package/dist/index249.js +7 -147
- package/dist/index250.js +5 -0
- package/dist/index251.js +10 -6
- package/dist/index252.js +5 -35
- package/dist/index253.js +20 -0
- package/dist/index254.js +14 -6
- package/dist/index255.js +53 -65
- package/dist/index256.js +20 -0
- package/dist/index257.js +14 -6
- package/dist/index258.js +19 -19
- package/dist/index259.js +32 -5
- package/dist/index26.js +184 -4
- package/dist/index260.js +20 -160
- package/dist/index261.js +6 -0
- package/dist/index262.js +108 -6
- package/dist/index264.js +102 -0
- package/dist/index266.js +108 -133
- package/dist/index267.js +15 -0
- package/dist/index268.js +13 -6
- package/dist/index269.js +12 -12
- package/dist/index270.js +5 -206
- package/dist/index271.js +5 -0
- package/dist/index272.js +88 -6
- package/dist/index274.js +11 -5
- package/dist/index275.js +25 -55
- package/dist/index276.js +25 -5
- package/dist/index277.js +15 -164
- package/dist/index278.js +9 -0
- package/dist/index279.js +11 -6
- package/dist/index28.js +148 -8
- package/dist/index280.js +7 -145
- package/dist/index281.js +4 -0
- package/dist/index282.js +190 -6
- package/dist/index283.js +5 -11
- package/dist/index284.js +35 -200
- package/dist/index285.js +30 -0
- package/dist/index287.js +10 -240
- package/dist/index288.js +46 -0
- package/dist/index289.js +55 -6
- package/dist/index290.js +4 -21
- package/dist/index291.js +7 -0
- package/dist/index292.js +8 -6
- package/dist/index293.js +269 -124
- package/dist/index294.js +54 -0
- package/dist/index295.js +54 -6
- package/dist/index296.js +33 -160
- package/dist/index297.js +62 -0
- package/dist/index298.js +5 -6
- package/dist/index299.js +23 -127
- package/dist/index30.js +177 -117
- package/dist/index300.js +69 -0
- package/dist/index301.js +8 -6
- package/dist/index302.js +6 -20
- package/dist/index303.js +22 -0
- package/dist/index304.js +8 -6
- package/dist/index305.js +18 -116
- package/dist/index306.js +6 -5
- package/dist/index307.js +9 -507
- package/dist/index308.js +5 -0
- package/dist/index309.js +7 -6
- package/dist/index310.js +4 -196
- package/dist/index312.js +9 -6
- package/dist/index313.js +5 -142
- package/dist/index314.js +282 -0
- package/dist/index315.js +4 -6
- package/dist/index316.js +127 -134
- package/dist/index317.js +4 -0
- package/dist/index318.js +17 -6
- package/dist/index319.js +4 -162
- package/dist/index32.js +99 -27
- package/dist/index320.js +18 -0
- package/dist/index321.js +4 -6
- package/dist/index322.js +18 -319
- package/dist/index323.js +4 -0
- package/dist/index324.js +21 -6
- package/dist/index325.js +4 -40
- package/dist/index326.js +4 -42
- package/dist/index327.js +5 -664
- package/dist/index328.js +19 -0
- package/dist/index329.js +30 -6
- package/dist/index330.js +5 -155
- package/dist/index331.js +5 -0
- package/dist/index332.js +4 -6
- package/dist/index333.js +6 -142
- package/dist/index334.js +7 -0
- package/dist/index335.js +29 -6
- package/dist/index336.js +4 -155
- package/dist/index337.js +4 -0
- package/dist/index338.js +4 -6
- package/dist/index339.js +4 -58
- package/dist/index34.js +176 -111
- package/dist/index340.js +4 -5
- package/dist/index341.js +4 -20
- package/dist/index342.js +4 -0
- package/dist/index343.js +721 -6
- package/dist/index344.js +368 -142
- package/dist/index345.js +59 -0
- package/dist/index346.js +69 -6
- package/dist/index347.js +69 -4
- package/dist/index348.js +230 -109
- package/dist/index349.js +8 -0
- package/dist/index350.js +37 -6
- package/dist/index351.js +131 -54
- package/dist/index352.js +401 -24
- package/dist/index353.js +95 -23
- package/dist/index354.js +201 -838
- package/dist/index355.js +260 -473
- package/dist/index356.js +8 -51
- package/dist/index357.js +21 -7
- package/dist/index358.js +11 -0
- package/dist/index359.js +17 -0
- package/dist/index36.js +133 -6
- package/dist/index360.js +7 -0
- package/dist/index361.js +9 -0
- package/dist/index362.js +136 -0
- package/dist/index363.js +24 -0
- package/dist/index365.js +4 -0
- package/dist/index366.js +4 -0
- package/dist/index367.js +484 -0
- package/dist/index368.js +130 -0
- package/dist/index369.js +49 -0
- package/dist/index370.js +72 -0
- package/dist/index371.js +522 -0
- package/dist/index372.js +52 -0
- package/dist/index38.js +491 -62
- package/dist/index4.js +35 -0
- package/dist/index40.js +334 -8
- package/dist/index42.js +127 -8
- package/dist/index44.js +184 -20
- package/dist/index46.js +239 -384
- package/dist/index48.js +140 -6
- package/dist/index5.js +41 -34
- package/dist/index50.js +156 -11
- package/dist/index52.js +64 -105
- package/dist/index54.js +91 -97
- package/dist/index56.js +68 -27
- package/dist/index58.js +53 -156
- package/dist/index6.js +61 -37
- package/dist/index60.js +225 -5
- package/dist/index62.js +168 -5
- package/dist/index64.js +99 -7
- package/dist/index66.js +137 -25
- package/dist/index68.js +43 -6
- package/dist/index7.js +64 -58
- package/dist/index70.js +46 -0
- package/dist/index72.js +120 -13
- package/dist/index74.js +125 -6
- package/dist/index75.js +84 -158
- package/dist/index77.js +21 -6
- package/dist/index78.js +129 -4
- package/dist/index8.js +14 -4
- package/dist/index80.js +62 -54
- package/dist/index82.js +324 -5
- package/dist/index84.js +154 -0
- package/dist/index86.js +220 -64
- package/dist/index88.js +84 -6
- package/dist/index9.js +9 -10
- package/dist/index90.js +45 -18
- package/dist/index91.js +134 -17
- package/dist/index93.js +176 -33
- package/dist/index95.js +234 -15
- package/dist/index97.js +249 -17
- package/dist/index99.js +33 -0
- package/package.json +1 -1
- package/dist/index100.js +0 -6
- package/dist/index102.js +0 -16
- package/dist/index104.js +0 -27
- package/dist/index106.js +0 -7
- package/dist/index108.js +0 -4
- package/dist/index111.js +0 -19
- package/dist/index115.js +0 -241
- package/dist/index117.js +0 -42
- package/dist/index119.js +0 -53
- package/dist/index121.js +0 -32
- package/dist/index123.js +0 -8
- package/dist/index125.js +0 -5
- package/dist/index129.js +0 -162
- package/dist/index131.js +0 -51
- package/dist/index133.js +0 -607
- package/dist/index135.js +0 -6
- package/dist/index137.js +0 -153
- package/dist/index139.js +0 -6
- package/dist/index143.js +0 -128
- package/dist/index145.js +0 -6
- package/dist/index15.js +0 -10
- package/dist/index17.js +0 -11
- package/dist/index19.js +0 -4
- package/dist/index2.js +0 -20
- package/dist/index21.js +0 -35
- package/dist/index23.js +0 -7
- package/dist/index232.js +0 -286
- package/dist/index234.js +0 -6
- package/dist/index25.js +0 -24
- package/dist/index263.js +0 -60
- package/dist/index265.js +0 -6
- package/dist/index27.js +0 -4
- package/dist/index273.js +0 -85
- package/dist/index286.js +0 -6
- package/dist/index29.js +0 -7
- package/dist/index31.js +0 -10
- package/dist/index33.js +0 -5
- package/dist/index37.js +0 -6
- package/dist/index39.js +0 -63
- package/dist/index41.js +0 -9
- package/dist/index43.js +0 -179
- package/dist/index45.js +0 -6
- package/dist/index49.js +0 -33
- package/dist/index51.js +0 -8
- package/dist/index53.js +0 -330
- package/dist/index55.js +0 -328
- package/dist/index57.js +0 -102
- package/dist/index61.js +0 -131
- package/dist/index65.js +0 -35
- package/dist/index69.js +0 -54
- package/dist/index71.js +0 -6
- package/dist/index79.js +0 -4
- package/dist/index81.js +0 -5
- package/dist/index83.js +0 -141
- package/dist/index85.js +0 -6
- package/dist/index89.js +0 -30
- package/dist/index92.js +0 -9
- package/dist/index94.js +0 -4
- package/dist/index96.js +0 -10
- package/dist/index98.js +0 -189
package/dist/index60.js
CHANGED
|
@@ -1,6 +1,226 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { defineComponent as K, ref as I, computed as l, watch as Q, onBeforeUnmount as Z, createElementBlock as o, openBlock as n, normalizeStyle as x, createElementVNode as p, createCommentVNode as c, renderSlot as b, createVNode as C, withCtx as L, normalizeProps as ee, guardReactiveProps as se, mergeProps as N, createTextVNode as T, toDisplayString as M, Fragment as O, renderList as te } from "vue";
|
|
2
|
+
import { useResizeObserver as ie } from "./index148.js";
|
|
3
|
+
import { useLocale as ae } from "./index230.js";
|
|
4
|
+
import de from "./index14.js";
|
|
2
5
|
/* empty css */
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
import re from "./index82.js";
|
|
7
|
+
/* empty css */
|
|
8
|
+
import { estimateEllipsisWidth as le, estimateBreadcrumbItemWidth as oe } from "./index235.js";
|
|
9
|
+
const ne = ["aria-label"], be = { class: "bb-breadcrumbs__container" }, ue = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "bb-breadcrumbs__edge bb-breadcrumbs__edge--prepend"
|
|
12
|
+
}, ce = { class: "bb-breadcrumbs__list" }, me = {
|
|
13
|
+
key: 0,
|
|
14
|
+
class: "bb-breadcrumbs__item"
|
|
15
|
+
}, pe = { class: "bb-breadcrumbs__breadcrumb-container" }, he = ["aria-label", "disabled"], ve = {
|
|
16
|
+
key: 0,
|
|
17
|
+
"aria-hidden": "true",
|
|
18
|
+
class: "bb-breadcrumbs__divider"
|
|
19
|
+
}, fe = {
|
|
20
|
+
key: 0,
|
|
21
|
+
class: "bb-breadcrumbs__item"
|
|
22
|
+
}, _e = { class: "bb-breadcrumbs__breadcrumb-container" }, We = {
|
|
23
|
+
key: 0,
|
|
24
|
+
"aria-hidden": "true",
|
|
25
|
+
class: "bb-breadcrumbs__divider"
|
|
26
|
+
}, ge = {
|
|
27
|
+
key: 1,
|
|
28
|
+
class: "bb-breadcrumbs__edge bb-breadcrumbs__edge--append"
|
|
29
|
+
}, ye = 16, g = 20, ke = 1, D = 8.5, Ie = /* @__PURE__ */ K({
|
|
30
|
+
__name: "BbBreadcrumbs",
|
|
31
|
+
props: {
|
|
32
|
+
disabled: { type: Boolean },
|
|
33
|
+
items: {},
|
|
34
|
+
divider: { default: "/" },
|
|
35
|
+
dividerWidth: { default: 5 },
|
|
36
|
+
gapWidth: { default: 12 },
|
|
37
|
+
offsetWidth: { default: 0 },
|
|
38
|
+
estimationBias: { default: 1.12 },
|
|
39
|
+
ellipsisWidth: {}
|
|
40
|
+
},
|
|
41
|
+
setup(V) {
|
|
42
|
+
const s = V, { t: y } = ae(), f = I(null), d = I(0), k = l(() => s.gapWidth), $ = l(() => Math.max(0, s.offsetWidth)), H = l(() => s.estimationBias), S = l(
|
|
43
|
+
() => s.ellipsisWidth ?? le(D)
|
|
44
|
+
), z = l(() => y("breadcrumbs.label").value), G = l(
|
|
45
|
+
() => y("breadcrumbs.openHiddenLabelCount", d.value).value
|
|
46
|
+
), B = (e) => {
|
|
47
|
+
const i = e.text ?? String(e.key);
|
|
48
|
+
return oe(i, {
|
|
49
|
+
estimationBias: H.value,
|
|
50
|
+
fontWidth: D
|
|
51
|
+
});
|
|
52
|
+
}, P = l(() => {
|
|
53
|
+
const e = s.items.length;
|
|
54
|
+
if (e === 0)
|
|
55
|
+
return 0;
|
|
56
|
+
const i = s.dividerWidth, t = k.value, _ = s.items.map(B).reduce((W, u) => W + u, 0), v = e > 1 ? (e - 1) * (i + 2 * t) : 0;
|
|
57
|
+
return _ + v + $.value + g + ye;
|
|
58
|
+
}), q = l(() => ({
|
|
59
|
+
"--bb-breadcrumbs-flex-basis": `${Math.ceil(P.value)}px`,
|
|
60
|
+
// Allow recovery from collapsed states while keeping non-greedy behavior when fully visible.
|
|
61
|
+
"--bb-breadcrumbs-flex-grow": d.value > 0 ? "1" : "0"
|
|
62
|
+
})), U = (e) => {
|
|
63
|
+
const i = s.items.length;
|
|
64
|
+
if (i === 0) {
|
|
65
|
+
d.value = 0;
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
const t = Math.max(
|
|
69
|
+
0,
|
|
70
|
+
e - ke - $.value - g
|
|
71
|
+
), r = s.dividerWidth, _ = S.value, v = k.value, W = s.items.map(B), u = Array.from({ length: i + 1 }, () => 0);
|
|
72
|
+
for (let a = i - 1; a >= 0; a--)
|
|
73
|
+
u[a] = u[a + 1] + W[a];
|
|
74
|
+
const F = (a) => t - a <= g / 2, w = u[0] + (i > 1 ? (i - 1) * (r + 2 * v) : 0);
|
|
75
|
+
if (w <= t) {
|
|
76
|
+
if (i > 1 && F(w)) {
|
|
77
|
+
d.value = 1;
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
d.value = 0;
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
for (let a = i - 1; a >= 0; a--) {
|
|
84
|
+
const J = u[i - a], R = _ + a * (r + 2 * v) + J;
|
|
85
|
+
if (R <= t) {
|
|
86
|
+
if (a > 0 && F(R)) {
|
|
87
|
+
d.value = i - (a - 1);
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
d.value = i - a;
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
d.value = i;
|
|
95
|
+
}, E = l(() => f.value), j = l(
|
|
96
|
+
() => s.items.map((e) => `${String(e.key)}::${e.text ?? ""}`).join("|")
|
|
97
|
+
);
|
|
98
|
+
let h = null, m = null;
|
|
99
|
+
const X = () => {
|
|
100
|
+
if (m = null, h == null)
|
|
101
|
+
return;
|
|
102
|
+
const e = h;
|
|
103
|
+
h = null, U(e);
|
|
104
|
+
}, A = (e) => {
|
|
105
|
+
h = e, m == null && (m = requestAnimationFrame(X));
|
|
106
|
+
};
|
|
107
|
+
ie(E, ([e]) => {
|
|
108
|
+
A(e.contentRect.width);
|
|
109
|
+
}), Q(
|
|
110
|
+
[
|
|
111
|
+
E,
|
|
112
|
+
j,
|
|
113
|
+
() => s.dividerWidth,
|
|
114
|
+
() => s.gapWidth,
|
|
115
|
+
() => s.offsetWidth,
|
|
116
|
+
() => s.estimationBias,
|
|
117
|
+
() => s.ellipsisWidth
|
|
118
|
+
],
|
|
119
|
+
([e]) => {
|
|
120
|
+
e && A(e.clientWidth);
|
|
121
|
+
},
|
|
122
|
+
{ immediate: !0 }
|
|
123
|
+
), Z(() => {
|
|
124
|
+
m != null && cancelAnimationFrame(m);
|
|
125
|
+
});
|
|
126
|
+
const Y = l(
|
|
127
|
+
() => s.items.slice(0, d.value).map((e) => ({
|
|
128
|
+
...e,
|
|
129
|
+
key: String(e.key)
|
|
130
|
+
}))
|
|
131
|
+
);
|
|
132
|
+
return (e, i) => (n(), o("nav", {
|
|
133
|
+
"aria-label": z.value,
|
|
134
|
+
class: "bb-breadcrumbs",
|
|
135
|
+
ref_key: "navRef",
|
|
136
|
+
ref: f,
|
|
137
|
+
style: x(q.value)
|
|
138
|
+
}, [
|
|
139
|
+
p("div", be, [
|
|
140
|
+
e.$slots.prepend ? (n(), o("div", ue, [
|
|
141
|
+
b(e.$slots, "prepend", { disabled: e.disabled })
|
|
142
|
+
])) : c("", !0),
|
|
143
|
+
p("ol", ce, [
|
|
144
|
+
d.value > 0 ? (n(), o("li", me, [
|
|
145
|
+
C(re, {
|
|
146
|
+
items: Y.value,
|
|
147
|
+
placement: "bottom-start",
|
|
148
|
+
boundary: f.value,
|
|
149
|
+
padding: 0
|
|
150
|
+
}, {
|
|
151
|
+
activator: L(({ props: t }) => [
|
|
152
|
+
b(e.$slots, "ellipsis", ee(se({
|
|
153
|
+
props: t,
|
|
154
|
+
disabled: e.disabled,
|
|
155
|
+
overflowCount: d.value,
|
|
156
|
+
ellipsisWidth: S.value
|
|
157
|
+
})), () => [
|
|
158
|
+
p("span", pe, [
|
|
159
|
+
p("button", N(t, {
|
|
160
|
+
"aria-label": G.value,
|
|
161
|
+
class: "bb-breadcrumbs__ellipsis",
|
|
162
|
+
disabled: e.disabled,
|
|
163
|
+
type: "button"
|
|
164
|
+
}), " … ", 16, he)
|
|
165
|
+
])
|
|
166
|
+
])
|
|
167
|
+
]),
|
|
168
|
+
_: 3
|
|
169
|
+
}, 8, ["items", "boundary"]),
|
|
170
|
+
d.value < e.items.length ? (n(), o("span", ve, [
|
|
171
|
+
b(e.$slots, "divider", {}, () => [
|
|
172
|
+
T(M(s.divider), 1)
|
|
173
|
+
])
|
|
174
|
+
])) : c("", !0)
|
|
175
|
+
])) : c("", !0),
|
|
176
|
+
(n(!0), o(O, null, te(e.items, (t, r) => (n(), o(O, {
|
|
177
|
+
key: t.key
|
|
178
|
+
}, [
|
|
179
|
+
r >= d.value ? (n(), o("li", fe, [
|
|
180
|
+
p("span", _e, [
|
|
181
|
+
b(e.$slots, "item:prepend", {
|
|
182
|
+
disabled: !!(t.disabled || e.disabled),
|
|
183
|
+
index: r,
|
|
184
|
+
item: e.items[r],
|
|
185
|
+
text: t.text
|
|
186
|
+
}),
|
|
187
|
+
C(de, N({ ref_for: !0 }, t, {
|
|
188
|
+
"aria-current": r === e.items.length - 1 ? "page" : void 0,
|
|
189
|
+
class: "bb-breadcrumbs__breadcrumb",
|
|
190
|
+
disabled: t.disabled || e.disabled
|
|
191
|
+
}), {
|
|
192
|
+
default: L(() => [
|
|
193
|
+
b(e.$slots, `${t.key}`, {
|
|
194
|
+
disabled: !!(t.disabled || e.disabled),
|
|
195
|
+
index: r,
|
|
196
|
+
item: e.items[r],
|
|
197
|
+
text: t.text
|
|
198
|
+
})
|
|
199
|
+
]),
|
|
200
|
+
_: 2
|
|
201
|
+
}, 1040, ["aria-current", "disabled"]),
|
|
202
|
+
b(e.$slots, "item:append", {
|
|
203
|
+
disabled: !!(t.disabled || e.disabled),
|
|
204
|
+
index: r,
|
|
205
|
+
item: e.items[r],
|
|
206
|
+
text: t.text
|
|
207
|
+
})
|
|
208
|
+
]),
|
|
209
|
+
r < e.items.length - 1 ? (n(), o("span", We, [
|
|
210
|
+
b(e.$slots, "divider", {}, () => [
|
|
211
|
+
T(M(s.divider), 1)
|
|
212
|
+
])
|
|
213
|
+
])) : c("", !0)
|
|
214
|
+
])) : c("", !0)
|
|
215
|
+
], 64))), 128))
|
|
216
|
+
]),
|
|
217
|
+
e.$slots.append ? (n(), o("div", ge, [
|
|
218
|
+
b(e.$slots, "append", { disabled: e.disabled })
|
|
219
|
+
])) : c("", !0)
|
|
220
|
+
])
|
|
221
|
+
], 12, ne));
|
|
222
|
+
}
|
|
223
|
+
});
|
|
224
|
+
export {
|
|
225
|
+
Ie as default
|
|
226
|
+
};
|
package/dist/index62.js
CHANGED
|
@@ -1,5 +1,168 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { defineComponent as N, mergeModels as w, defineAsyncComponent as E, useModel as M, computed as l, useAttrs as W, ref as V, toRef as q, createBlock as i, openBlock as a, unref as u, mergeProps as R, withCtx as B, createVNode as j, createCommentVNode as p, createElementVNode as x, createElementBlock as O, normalizeClass as G, renderSlot as _, createTextVNode as C, toDisplayString as b } from "vue";
|
|
2
|
+
/* empty css */
|
|
3
|
+
/* empty css */
|
|
4
|
+
import H from "./index14.js";
|
|
5
|
+
/* empty css */
|
|
6
|
+
import f from "./index88.js";
|
|
7
|
+
/* empty css */
|
|
8
|
+
import I from "./index118.js";
|
|
9
|
+
/* empty css */
|
|
10
|
+
import { pickBy as J } from "./index269.js";
|
|
11
|
+
import { noop as K } from "./index270.js";
|
|
12
|
+
import { useLocale as Q } from "./index230.js";
|
|
13
|
+
import { extractDomContainer as U } from "./index229.js";
|
|
14
|
+
import { isEqual as k } from "./index271.js";
|
|
15
|
+
const X = {
|
|
16
|
+
key: 2,
|
|
17
|
+
class: "bb-button__loading-label sr-only"
|
|
18
|
+
}, ce = /* @__PURE__ */ N({
|
|
19
|
+
inheritAttrs: !1,
|
|
20
|
+
__name: "BbButton",
|
|
21
|
+
props: /* @__PURE__ */ w({
|
|
22
|
+
autoLoading: { type: Boolean },
|
|
23
|
+
activeClass: {},
|
|
24
|
+
ariaCurrentValue: {},
|
|
25
|
+
"append:icon": {},
|
|
26
|
+
block: { type: Boolean },
|
|
27
|
+
data: {},
|
|
28
|
+
disabled: { type: Boolean },
|
|
29
|
+
enabledWhileLoading: { type: Boolean },
|
|
30
|
+
exactActiveClass: {},
|
|
31
|
+
group: { type: Boolean },
|
|
32
|
+
headers: {},
|
|
33
|
+
href: {},
|
|
34
|
+
icon: {},
|
|
35
|
+
loading: { type: Boolean },
|
|
36
|
+
method: {},
|
|
37
|
+
onBefore: {},
|
|
38
|
+
onCancel: {},
|
|
39
|
+
onCancelToken: {},
|
|
40
|
+
onFinish: {},
|
|
41
|
+
only: {},
|
|
42
|
+
onProgress: {},
|
|
43
|
+
onStart: {},
|
|
44
|
+
onSuccess: {},
|
|
45
|
+
"prepend:icon": {},
|
|
46
|
+
preserveScroll: { type: [Boolean, Function] },
|
|
47
|
+
preserveState: { type: [Boolean, Function, null] },
|
|
48
|
+
queryStringArrayFormat: {},
|
|
49
|
+
replace: { type: Boolean },
|
|
50
|
+
size: { default: "md" },
|
|
51
|
+
tag: {},
|
|
52
|
+
target: {},
|
|
53
|
+
text: {},
|
|
54
|
+
tooltip: {},
|
|
55
|
+
tooltipPlacement: {},
|
|
56
|
+
tooltipTimeout: {},
|
|
57
|
+
to: {},
|
|
58
|
+
trueValue: { default: !0 },
|
|
59
|
+
falseValue: { default: !1 },
|
|
60
|
+
type: {}
|
|
61
|
+
}, {
|
|
62
|
+
modelValue: {},
|
|
63
|
+
modelModifiers: {}
|
|
64
|
+
}),
|
|
65
|
+
emits: ["update:modelValue"],
|
|
66
|
+
setup(v, { expose: h }) {
|
|
67
|
+
const $ = E(
|
|
68
|
+
() => import("./index219.js")
|
|
69
|
+
), o = v, s = M(v, "modelValue"), d = l(() => s.value !== void 0), y = l(() => k(s.value, o.trueValue)), { t: z } = Q(), g = W(), c = V(), A = (e) => {
|
|
70
|
+
c.value = U(e) ?? void 0;
|
|
71
|
+
}, L = l(() => {
|
|
72
|
+
const { onClick: e, ...t } = g;
|
|
73
|
+
return t;
|
|
74
|
+
}), m = V(0), n = l(
|
|
75
|
+
() => o.loading || !!m.value && o.autoLoading
|
|
76
|
+
), S = l(() => o.disabled), T = async (e) => {
|
|
77
|
+
if (n.value && !o.enabledWhileLoading)
|
|
78
|
+
return (o.type === "submit" || o.href || o.to) && e.preventDefault(), null;
|
|
79
|
+
if (d.value) {
|
|
80
|
+
const t = o.trueValue, r = o.falseValue;
|
|
81
|
+
s.value = k(s.value, t) ? r : t;
|
|
82
|
+
}
|
|
83
|
+
m.value++, await (g.onClick ?? K)(e), m.value--;
|
|
84
|
+
}, P = typeof o.size == "string" ? { default: o.size } : { default: "md", ...o.size }, D = Object.entries(P).reduce(
|
|
85
|
+
(e, [t, r]) => (t === "default" ? e[`data-${r}`] = "" : e[`data-${t}:${r}`] = "", e),
|
|
86
|
+
{}
|
|
87
|
+
), F = q(() => ({
|
|
88
|
+
...L.value,
|
|
89
|
+
...D,
|
|
90
|
+
...J(
|
|
91
|
+
o,
|
|
92
|
+
(e, t) => ![
|
|
93
|
+
"append:icon",
|
|
94
|
+
"autoLoading",
|
|
95
|
+
"disabled",
|
|
96
|
+
"enabledWhileLoading",
|
|
97
|
+
"falseValue",
|
|
98
|
+
"group",
|
|
99
|
+
"icon",
|
|
100
|
+
"loading",
|
|
101
|
+
"modelValue",
|
|
102
|
+
"prepend:icon",
|
|
103
|
+
"size",
|
|
104
|
+
"tooltip",
|
|
105
|
+
"tooltipPlacement",
|
|
106
|
+
"trueValue"
|
|
107
|
+
].includes(t)
|
|
108
|
+
)
|
|
109
|
+
}));
|
|
110
|
+
return h({ $el: c }), (e, t) => (a(), i(u(H), R({ ref: A }, F.value, {
|
|
111
|
+
"aria-disabled": n.value ? !0 : void 0,
|
|
112
|
+
"aria-pressed": d.value ? y.value : void 0,
|
|
113
|
+
class: {
|
|
114
|
+
"bb-button": !0,
|
|
115
|
+
"bb-button--loading": n.value,
|
|
116
|
+
"bb-button--group": o.group,
|
|
117
|
+
"bb-button--icon": !!e.icon,
|
|
118
|
+
"bb-button--active": d.value && y.value
|
|
119
|
+
},
|
|
120
|
+
disabled: S.value,
|
|
121
|
+
tabindex: n.value ? -1 : void 0,
|
|
122
|
+
onClick: T
|
|
123
|
+
}), {
|
|
124
|
+
default: B(() => [
|
|
125
|
+
j(u(I), { class: "bb-button__spinner" }),
|
|
126
|
+
o.icon ? (a(), i(f, {
|
|
127
|
+
key: 0,
|
|
128
|
+
class: "bb-button__icon",
|
|
129
|
+
type: o.icon
|
|
130
|
+
}, null, 8, ["type"])) : o["prepend:icon"] ? (a(), i(f, {
|
|
131
|
+
key: 1,
|
|
132
|
+
class: "bb-button__prepend-icon",
|
|
133
|
+
type: o["prepend:icon"]
|
|
134
|
+
}, null, 8, ["type"])) : p("", !0),
|
|
135
|
+
x("span", {
|
|
136
|
+
class: G(["bb-button__content", { "sr-only": !!e.icon }])
|
|
137
|
+
}, [
|
|
138
|
+
_(e.$slots, "default", {}, () => [
|
|
139
|
+
C(b(e.text), 1)
|
|
140
|
+
])
|
|
141
|
+
], 2),
|
|
142
|
+
n.value ? (a(), O("span", X, b(u(z)("common.loadingText")), 1)) : p("", !0),
|
|
143
|
+
!e.icon && o["append:icon"] ? (a(), i(f, {
|
|
144
|
+
key: 3,
|
|
145
|
+
class: "bb-button__append-icon",
|
|
146
|
+
type: o["append:icon"]
|
|
147
|
+
}, null, 8, ["type"])) : p("", !0),
|
|
148
|
+
e.tooltip != null || e.$slots.tooltip ? (a(), i(u($), {
|
|
149
|
+
key: 4,
|
|
150
|
+
activator: c.value,
|
|
151
|
+
placement: e.tooltipPlacement,
|
|
152
|
+
timeout: e.tooltipTimeout
|
|
153
|
+
}, {
|
|
154
|
+
default: B(() => [
|
|
155
|
+
_(e.$slots, "tooltip", { text: e.tooltip }, () => [
|
|
156
|
+
C(b(e.tooltip), 1)
|
|
157
|
+
])
|
|
158
|
+
]),
|
|
159
|
+
_: 3
|
|
160
|
+
}, 8, ["activator", "placement", "timeout"])) : p("", !0)
|
|
161
|
+
]),
|
|
162
|
+
_: 3
|
|
163
|
+
}, 16, ["aria-disabled", "aria-pressed", "class", "disabled", "tabindex"]));
|
|
164
|
+
}
|
|
165
|
+
});
|
|
166
|
+
export {
|
|
167
|
+
ce as default
|
|
168
|
+
};
|
package/dist/index64.js
CHANGED
|
@@ -1,8 +1,100 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { defineComponent as c, ref as f, computed as y, createBlock as v, openBlock as k, withCtx as n, createVNode as B, mergeProps as r, renderSlot as i, normalizeProps as w, guardReactiveProps as V } from "vue";
|
|
2
|
+
import g from "./index18.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
import P from "./index28.js";
|
|
5
|
+
/* empty css */
|
|
6
|
+
const E = /* @__PURE__ */ c({
|
|
7
|
+
__name: "BbCheckbox",
|
|
8
|
+
props: {
|
|
9
|
+
autofocus: {},
|
|
10
|
+
checked: { type: [Boolean, String] },
|
|
11
|
+
color: {},
|
|
12
|
+
direction: { default: "auto" },
|
|
13
|
+
disabled: { type: Boolean },
|
|
14
|
+
errors: {},
|
|
15
|
+
falseValue: {},
|
|
16
|
+
hasErrors: { type: Boolean },
|
|
17
|
+
hideLabel: { type: Boolean },
|
|
18
|
+
hint: {},
|
|
19
|
+
id: {},
|
|
20
|
+
indeterminate: {},
|
|
21
|
+
inputPosition: { default: "left" },
|
|
22
|
+
label: {},
|
|
23
|
+
labelPosition: {},
|
|
24
|
+
modelValue: {},
|
|
25
|
+
name: {},
|
|
26
|
+
persistentHint: { type: Boolean },
|
|
27
|
+
readonly: { type: Boolean },
|
|
28
|
+
required: { type: Boolean },
|
|
29
|
+
reverse: { type: Boolean, default: !0 },
|
|
30
|
+
submitWhenFalse: { type: Boolean },
|
|
31
|
+
trueValue: {}
|
|
32
|
+
},
|
|
33
|
+
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
|
34
|
+
setup(s, { emit: t }) {
|
|
35
|
+
const u = s, o = t, a = f(!1), d = y(() => u.persistentHint || a.value), p = {
|
|
36
|
+
onBlur: (e) => {
|
|
37
|
+
a.value = !1, o("blur", e);
|
|
38
|
+
},
|
|
39
|
+
onChange: (e) => o("change", e),
|
|
40
|
+
onClick: (e) => o("click", e),
|
|
41
|
+
onFocus: (e) => {
|
|
42
|
+
a.value = !0, o("focus", e);
|
|
43
|
+
},
|
|
44
|
+
onInput: (e) => o("input", e),
|
|
45
|
+
onKeydown: (e) => o("keydown", e),
|
|
46
|
+
onMousedown: (e) => o("mousedown", e),
|
|
47
|
+
onMouseup: (e) => o("mouseup", e),
|
|
48
|
+
"onUpdate:modelValue": (e) => o("update:modelValue", e)
|
|
49
|
+
};
|
|
50
|
+
return (e, C) => (k(), v(P, {
|
|
51
|
+
id: e.id,
|
|
52
|
+
class: "bb-checkbox",
|
|
53
|
+
direction: e.direction,
|
|
54
|
+
errors: e.errors,
|
|
55
|
+
"has-errors": e.hasErrors,
|
|
56
|
+
"hide-label": e.hideLabel,
|
|
57
|
+
hint: e.hint,
|
|
58
|
+
"input-position": e.inputPosition,
|
|
59
|
+
label: e.label,
|
|
60
|
+
"label-position": e.labelPosition,
|
|
61
|
+
"label-tag": "span",
|
|
62
|
+
name: e.name,
|
|
63
|
+
reverse: e.reverse,
|
|
64
|
+
"show-hint": d.value,
|
|
65
|
+
tag: "label"
|
|
66
|
+
}, {
|
|
67
|
+
label: n((l) => [
|
|
68
|
+
i(e.$slots, "label", w(V(l)))
|
|
69
|
+
]),
|
|
70
|
+
input: n(({ id: l, hasErrors: m, ariaDescribedby: b }) => [
|
|
71
|
+
B(g, r({
|
|
72
|
+
id: l,
|
|
73
|
+
"aria-describedby": b,
|
|
74
|
+
autofocus: e.autofocus,
|
|
75
|
+
checked: e.checked,
|
|
76
|
+
color: e.color,
|
|
77
|
+
disabled: e.disabled,
|
|
78
|
+
"false-value": e.falseValue,
|
|
79
|
+
"has-errors": m,
|
|
80
|
+
indeterminate: e.indeterminate,
|
|
81
|
+
"model-value": e.modelValue,
|
|
82
|
+
name: e.name,
|
|
83
|
+
readonly: e.readonly,
|
|
84
|
+
required: e.required,
|
|
85
|
+
"submit-when-false": e.submitWhenFalse,
|
|
86
|
+
"true-value": e.trueValue
|
|
87
|
+
}, p), {
|
|
88
|
+
icon: n((h) => [
|
|
89
|
+
i(e.$slots, "icon", r(h, { text: e.label }))
|
|
90
|
+
]),
|
|
91
|
+
_: 2
|
|
92
|
+
}, 1040, ["id", "aria-describedby", "autofocus", "checked", "color", "disabled", "false-value", "has-errors", "indeterminate", "model-value", "name", "readonly", "required", "submit-when-false", "true-value"])
|
|
93
|
+
]),
|
|
94
|
+
_: 3
|
|
95
|
+
}, 8, ["id", "direction", "errors", "has-errors", "hide-label", "hint", "input-position", "label", "label-position", "name", "reverse", "show-hint"]));
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
export {
|
|
99
|
+
E as default
|
|
6
100
|
};
|
|
7
|
-
//#endregion
|
|
8
|
-
export { e as default };
|
package/dist/index66.js
CHANGED
|
@@ -1,26 +1,138 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
1
|
+
import { defineComponent as f, ref as g, computed as v, createBlock as y, openBlock as B, withCtx as i, createVNode as $, mergeProps as w, renderSlot as a, normalizeProps as l, guardReactiveProps as t } from "vue";
|
|
2
|
+
import T from "./index20.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
import V from "./index28.js";
|
|
5
|
+
/* empty css */
|
|
6
|
+
const E = /* @__PURE__ */ f({
|
|
7
|
+
__name: "BbCheckboxGroup",
|
|
8
|
+
props: {
|
|
9
|
+
autofocus: {},
|
|
10
|
+
color: {},
|
|
11
|
+
compact: { type: Boolean },
|
|
12
|
+
dependencies: {},
|
|
13
|
+
depsDebounceTime: {},
|
|
14
|
+
direction: {},
|
|
15
|
+
disabled: { type: Boolean },
|
|
16
|
+
enforceCoherence: { type: Boolean },
|
|
17
|
+
errors: {},
|
|
18
|
+
hasErrors: { type: Boolean },
|
|
19
|
+
hideLabel: { type: Boolean },
|
|
20
|
+
hideLegend: { type: Boolean },
|
|
21
|
+
hint: {},
|
|
22
|
+
id: {},
|
|
23
|
+
inputDirection: {},
|
|
24
|
+
inputPosition: { default: "left" },
|
|
25
|
+
items: {},
|
|
26
|
+
itemText: {},
|
|
27
|
+
itemValue: {},
|
|
28
|
+
labelPosition: {},
|
|
29
|
+
legend: {},
|
|
30
|
+
loadingText: {},
|
|
31
|
+
max: {},
|
|
32
|
+
modelValue: {},
|
|
33
|
+
multiple: { type: Boolean, default: !0 },
|
|
34
|
+
modelValueDebounceTime: {},
|
|
35
|
+
name: {},
|
|
36
|
+
noDataText: {},
|
|
37
|
+
persistentHint: { type: Boolean },
|
|
38
|
+
readonly: { type: Boolean },
|
|
39
|
+
reverse: { type: Boolean }
|
|
40
|
+
},
|
|
41
|
+
emits: ["blur", "change", "click", "focus", "inactive", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
|
42
|
+
setup(d, { emit: p }) {
|
|
43
|
+
const u = d, n = p, s = g(!1), m = v(() => u.persistentHint || s.value), c = {
|
|
44
|
+
onBlur: (e) => n("blur", e),
|
|
45
|
+
onChange: (e) => n("change", e),
|
|
46
|
+
onClick: (e) => n("click", e),
|
|
47
|
+
onFocus: (e) => {
|
|
48
|
+
s.value = !0, n("focus", e);
|
|
49
|
+
},
|
|
50
|
+
onInactive: () => {
|
|
51
|
+
s.value = !1, n("inactive");
|
|
52
|
+
},
|
|
53
|
+
onInput: (e) => n("input", e),
|
|
54
|
+
onKeydown: (e) => n("keydown", e),
|
|
55
|
+
onMousedown: (e) => n("mousedown", e),
|
|
56
|
+
onMouseup: (e) => n("mouseup", e),
|
|
57
|
+
"onUpdate:modelValue": (e) => n("update:modelValue", e)
|
|
58
|
+
};
|
|
59
|
+
return (e, k) => (B(), y(V, {
|
|
60
|
+
id: e.id,
|
|
61
|
+
class: "bb-checkbox-group",
|
|
62
|
+
compact: e.compact,
|
|
63
|
+
direction: e.direction,
|
|
64
|
+
errors: e.errors,
|
|
65
|
+
"has-errors": e.hasErrors,
|
|
66
|
+
"hide-label": e.hideLegend,
|
|
67
|
+
hint: e.hint,
|
|
68
|
+
"input-position": e.inputPosition,
|
|
69
|
+
label: e.legend,
|
|
70
|
+
"label-position": e.labelPosition,
|
|
71
|
+
"label-tag": "legend",
|
|
72
|
+
name: e.name,
|
|
73
|
+
reverse: e.reverse,
|
|
74
|
+
"show-hint": m.value,
|
|
75
|
+
tag: "fieldset"
|
|
76
|
+
}, {
|
|
77
|
+
label: i((r) => [
|
|
78
|
+
a(e.$slots, "legend", l(t(r)))
|
|
79
|
+
]),
|
|
80
|
+
input: i(({ id: r, hasErrors: b, ariaDescribedby: h }) => [
|
|
81
|
+
$(T, w({
|
|
82
|
+
id: r,
|
|
83
|
+
"aria-describedby": h,
|
|
84
|
+
autofocus: e.autofocus,
|
|
85
|
+
color: e.color,
|
|
86
|
+
dependencies: e.dependencies,
|
|
87
|
+
"deps-debounce-time": e.depsDebounceTime,
|
|
88
|
+
direction: e.inputDirection,
|
|
89
|
+
disabled: e.disabled,
|
|
90
|
+
"enforce-coherence": e.enforceCoherence,
|
|
91
|
+
"has-errors": b,
|
|
92
|
+
"hide-label": e.hideLabel,
|
|
93
|
+
"item-text": e.itemText,
|
|
94
|
+
"item-value": e.itemValue,
|
|
95
|
+
items: e.items,
|
|
96
|
+
"loading-text": e.loadingText,
|
|
97
|
+
max: e.max,
|
|
98
|
+
"model-value": e.modelValue,
|
|
99
|
+
"model-value-debounce-time": e.modelValueDebounceTime,
|
|
100
|
+
multiple: e.multiple,
|
|
101
|
+
name: e.name,
|
|
102
|
+
"no-data-text": e.noDataText,
|
|
103
|
+
readonly: e.readonly
|
|
104
|
+
}, c), {
|
|
105
|
+
prepend: i((o) => [
|
|
106
|
+
a(e.$slots, "prepend", l(t(o)))
|
|
107
|
+
]),
|
|
108
|
+
loading: i((o) => [
|
|
109
|
+
a(e.$slots, "loading", l(t(o)))
|
|
110
|
+
]),
|
|
111
|
+
"no-data": i((o) => [
|
|
112
|
+
a(e.$slots, "no-data", l(t(o)))
|
|
113
|
+
]),
|
|
114
|
+
"option:prepend": i((o) => [
|
|
115
|
+
a(e.$slots, "option:prepend", l(t(o)))
|
|
116
|
+
]),
|
|
117
|
+
icon: i((o) => [
|
|
118
|
+
a(e.$slots, "icon", l(t(o)))
|
|
119
|
+
]),
|
|
120
|
+
label: i((o) => [
|
|
121
|
+
a(e.$slots, "label", l(t(o)))
|
|
122
|
+
]),
|
|
123
|
+
"option:append": i((o) => [
|
|
124
|
+
a(e.$slots, "option:append", l(t(o)))
|
|
125
|
+
]),
|
|
126
|
+
append: i((o) => [
|
|
127
|
+
a(e.$slots, "append", l(t(o)))
|
|
128
|
+
]),
|
|
129
|
+
_: 2
|
|
130
|
+
}, 1040, ["id", "aria-describedby", "autofocus", "color", "dependencies", "deps-debounce-time", "direction", "disabled", "enforce-coherence", "has-errors", "hide-label", "item-text", "item-value", "items", "loading-text", "max", "model-value", "model-value-debounce-time", "multiple", "name", "no-data-text", "readonly"])
|
|
131
|
+
]),
|
|
132
|
+
_: 3
|
|
133
|
+
}, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "input-position", "label", "label-position", "name", "reverse", "show-hint"]));
|
|
134
|
+
}
|
|
24
135
|
});
|
|
25
|
-
|
|
26
|
-
|
|
136
|
+
export {
|
|
137
|
+
E as default
|
|
138
|
+
};
|