bitboss-ui 2.1.119 → 2.1.121
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/BaseButton.md +2 -1
- package/dist/ai/BbButton.md +2 -1
- package/dist/ai/BbPopover.md +15 -2
- package/dist/ai/BbTab.md +6 -3
- package/dist/ai/CommonPopover.md +35 -1
- package/dist/components/BaseButton/BaseButton.vue.d.ts +5 -10
- package/dist/components/BaseButton/RouterComponent.vue.d.ts +12 -15
- package/dist/components/BaseButton/types.d.ts +2 -1
- package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +10 -24
- package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +22 -17
- package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +6 -205
- package/dist/components/BaseColorInput/ColorPalette.vue.d.ts +3 -10
- package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +6 -11
- package/dist/components/BaseDatePicker/BaseDatePickerHeader.vue.d.ts +3 -2
- package/dist/components/BaseDatePicker/BaseDatePickerInputDaySelector.vue.d.ts +27 -35
- package/dist/components/BaseDatePicker/BaseDatePickerMonthSelector.vue.d.ts +3 -2
- package/dist/components/BaseDatePicker/BaseDatePickerYearSelector.vue.d.ts +3 -4
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +6 -345
- package/dist/components/BaseDialog/BaseDialog.vue.d.ts +8 -22
- package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +6 -15
- package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +6 -15
- package/dist/components/BaseRadio/BaseRadio.vue.d.ts +6 -11
- package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +22 -17
- package/dist/components/BaseRating/BaseRating.vue.d.ts +6 -15
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +20 -15
- package/dist/components/BaseSlider/BaseSlider.vue.d.ts +6 -21
- package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +6 -15
- package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +22 -17
- package/dist/components/BaseTag/BaseTag.vue.d.ts +6 -353
- package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +6 -15
- package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +6 -15
- package/dist/components/BbAccordion/BbAccordion.vue.d.ts +6 -11
- package/dist/components/BbAlert/BbAlert.vue.d.ts +5 -10
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +6 -15
- package/dist/components/BbBadge/BbBadge.vue.d.ts +5 -10
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +7 -34
- package/dist/components/BbButton/BbButton.vue.d.ts +7 -11
- package/dist/components/BbButton/types.d.ts +2 -1
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +6 -11
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +22 -17
- package/dist/components/BbChip/BbChip.vue.d.ts +6 -11
- package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +5 -10
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +7 -16
- package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +6 -77
- package/dist/components/BbConfirm/BbConfirm.vue.d.ts +2 -1
- package/dist/components/BbConfirm/BbConfirmPortal.vue.d.ts +14 -29
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +6 -11
- package/dist/components/BbDialog/BbDialog.vue.d.ts +8 -12
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +7 -216
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +7 -30
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +6 -15
- package/dist/components/BbIcon/BbIcon.vue.d.ts +3 -2
- package/dist/components/BbIntersection/BbIntersection.vue.d.ts +6 -15
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +7 -284
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +8 -22
- package/dist/components/BbPagination/BbPagination.vue.d.ts +8 -18
- package/dist/components/BbPopover/BbPopover.vue.d.ts +9 -201
- package/dist/components/BbPopover/types.d.ts +6 -0
- package/dist/components/BbProgress/BbProgress.vue.d.ts +3 -2
- package/dist/components/BbRadio/BbRadio.vue.d.ts +6 -11
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +22 -17
- package/dist/components/BbRating/BbRating.vue.d.ts +7 -16
- package/dist/components/BbRatio/BbRatio.vue.d.ts +5 -10
- package/dist/components/BbRows/BbRows.vue.d.ts +14 -49
- package/dist/components/BbSelect/BbSelect.vue.d.ts +20 -15
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +20 -15
- package/dist/components/BbSlider/BbSlider.vue.d.ts +7 -16
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +6 -17
- package/dist/components/BbSpinner/BbSpinner.vue.d.ts +3 -2
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +6 -11
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +22 -17
- package/dist/components/BbTab/BbTab.vue.d.ts +15 -18
- package/dist/components/BbTable/BbTable.vue.d.ts +25 -83
- package/dist/components/BbTag/BbTag.vue.d.ts +6 -11
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +7 -16
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +7 -16
- package/dist/components/BbToast/BbToast.vue.d.ts +3 -2
- package/dist/components/BbToast/BbToastMessage.vue.d.ts +3 -2
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +8 -200
- package/dist/components/BbTree/BbTree.vue.d.ts +5 -10
- package/dist/components/ChipsBox/ChipsBox.vue.d.ts +2 -1
- package/dist/components/ClearableButton/ClearableButton.vue.d.ts +2 -1
- package/dist/components/CommaBox/CommaBox.vue.d.ts +2 -1
- package/dist/components/CommonInputInnerContainer/CommonInputInnerContainer.vue.d.ts +6 -15
- package/dist/components/CommonInputOuterContainer/CommonInputOuterContainer.vue.d.ts +5 -10
- package/dist/components/CommonPopover/CommonPopover.vue.d.ts +9 -18
- package/dist/components/CommonPopover/types.d.ts +7 -0
- package/dist/components/ErrorIcon/ErrorIcon.vue.d.ts +2 -1
- package/dist/components/FlatListBox/FlatListBox.vue.d.ts +16 -11
- package/dist/components/GroupedListBox/GroupedListBox.vue.d.ts +16 -11
- package/dist/components/ListBox/ListBox.vue.d.ts +16 -11
- package/dist/components/OptionsContainer/OptionsContainer.vue.d.ts +11 -6
- package/dist/components/Transitions/ScaleFade.vue.d.ts +7 -15
- package/dist/components/Transitions/Slide.vue.d.ts +7 -15
- package/dist/index.css +2 -1
- package/dist/index.js +78 -220
- package/dist/index10.js +4 -81
- package/dist/index100.js +6 -0
- package/dist/index101.js +300 -94
- package/dist/index102.js +16 -0
- package/dist/index103.js +16 -136
- package/dist/index104.js +27 -0
- package/dist/index105.js +4 -102
- package/dist/index106.js +7 -0
- package/dist/index107.js +9 -24
- package/dist/index108.js +4 -0
- package/dist/index109.js +19 -142
- package/dist/index11.js +41 -39
- package/dist/index110.js +12 -532
- package/dist/index111.js +19 -0
- package/dist/index112.js +24 -190
- package/dist/index114.js +7 -116
- package/dist/index115.js +241 -0
- package/dist/index116.js +5 -58
- package/dist/index117.js +42 -0
- package/dist/index118.js +5 -40
- package/dist/index119.js +53 -0
- package/dist/index12.js +10 -41
- package/dist/index120.js +5 -100
- package/dist/index121.js +32 -0
- package/dist/index122.js +5 -137
- package/dist/index123.js +8 -0
- package/dist/index124.js +51 -365
- package/dist/index125.js +5 -0
- package/dist/index126.js +222 -554
- package/dist/index128.js +6 -124
- package/dist/index129.js +162 -0
- package/dist/index13.js +92 -185
- package/dist/index130.js +25 -118
- package/dist/index131.js +51 -0
- package/dist/index132.js +5 -126
- package/dist/index133.js +607 -0
- package/dist/index135.js +6 -0
- package/dist/index136.js +13 -164
- package/dist/index137.js +153 -0
- package/dist/index139.js +6 -0
- package/dist/index14.js +306 -128
- package/dist/index140.js +224 -71
- package/dist/index141.js +5 -0
- package/dist/index142.js +4 -14
- package/dist/index143.js +128 -0
- package/dist/index145.js +6 -4
- package/dist/index146.js +7 -420
- package/dist/index147.js +182 -11
- package/dist/index149.js +6 -27
- package/dist/index15.js +10 -0
- package/dist/index150.js +5 -3
- package/dist/index151.js +4 -7
- package/dist/index152.js +95 -8
- package/dist/index154.js +6 -5
- package/dist/index155.js +168 -5
- package/dist/index157.js +6 -5
- package/dist/index158.js +145 -5
- package/dist/index16.js +58 -152
- package/dist/index160.js +6 -5
- package/dist/index161.js +53 -5
- package/dist/index163.js +6 -5
- package/dist/index164.js +15 -4
- package/dist/index165.js +18 -4
- package/dist/index166.js +35 -5
- package/dist/index168.js +6 -5
- package/dist/index169.js +89 -5
- package/dist/index17.js +11 -0
- package/dist/index171.js +6 -5
- package/dist/index172.js +82 -5
- package/dist/index174.js +6 -5
- package/dist/index175.js +37 -4
- package/dist/index176.js +460 -4
- package/dist/index177.js +28 -5
- package/dist/index178.js +66 -5
- package/dist/index179.js +17 -5
- package/dist/index18.js +34 -128
- package/dist/index180.js +162 -5
- package/dist/index181.js +5 -5
- package/dist/index182.js +217 -5
- package/dist/index183.js +5 -5
- package/dist/index184.js +112 -4
- package/dist/index185.js +5 -5
- package/dist/index186.js +457 -4
- package/dist/index188.js +6 -5
- package/dist/index189.js +4 -5
- package/dist/index19.js +4 -0
- package/dist/index190.js +7 -4
- package/dist/index191.js +7 -5
- package/dist/index192.js +268 -5
- package/dist/index194.js +6 -5
- package/dist/index195.js +124 -5
- package/dist/index197.js +6 -5
- package/dist/index198.js +174 -5
- package/dist/index2.js +20 -0
- package/dist/index20.js +8 -195
- package/dist/index200.js +5 -4
- package/dist/index201.js +224 -5
- package/dist/index203.js +6 -4
- package/dist/index204.js +135 -5
- package/dist/index206.js +5 -4
- package/dist/index207.js +5 -5
- package/dist/index208.js +170 -5
- package/dist/index21.js +35 -0
- package/dist/index210.js +5 -4
- package/dist/index211.js +37 -5
- package/dist/index213.js +5 -4
- package/dist/index214.js +63 -5
- package/dist/index216.js +5 -4
- package/dist/index217.js +74 -5
- package/dist/index219.js +5 -4
- package/dist/index22.js +6 -245
- package/dist/index220.js +65 -5
- package/dist/index222.js +6 -140
- package/dist/index223.js +67 -4
- package/dist/index225.js +6 -4
- package/dist/index226.js +41 -4
- package/dist/index228.js +6 -15
- package/dist/index229.js +9 -6
- package/dist/index23.js +7 -0
- package/dist/index230.js +22 -10
- package/dist/index231.js +23 -5
- package/dist/index232.js +285 -22
- package/dist/index234.js +6 -5
- package/dist/index235.js +47 -6
- package/dist/index236.js +165 -5
- package/dist/index238.js +6 -5
- package/dist/index239.js +10 -3
- package/dist/index24.js +9 -616
- package/dist/index240.js +159 -20
- package/dist/index242.js +6 -14
- package/dist/index243.js +134 -53
- package/dist/index245.js +6 -14
- package/dist/index246.js +167 -19
- package/dist/index248.js +6 -20
- package/dist/index249.js +147 -15
- package/dist/index25.js +24 -0
- package/dist/index251.js +6 -0
- package/dist/index252.js +35 -35
- package/dist/index254.js +6 -8
- package/dist/index255.js +65 -4
- package/dist/index257.js +6 -0
- package/dist/index258.js +18 -101
- package/dist/index259.js +5 -0
- package/dist/index26.js +4 -184
- package/dist/index260.js +160 -5
- package/dist/index262.js +6 -7
- package/dist/index263.js +60 -7
- package/dist/index265.js +6 -7
- package/dist/index266.js +134 -8
- package/dist/index268.js +6 -270
- package/dist/index269.js +12 -54
- package/dist/index27.js +4 -0
- package/dist/index270.js +205 -53
- package/dist/index272.js +6 -62
- package/dist/index273.js +85 -27
- package/dist/index274.js +5 -4
- package/dist/index275.js +55 -9
- package/dist/index276.js +5 -9
- package/dist/index277.js +164 -6
- package/dist/index279.js +6 -11
- package/dist/index28.js +8 -148
- package/dist/index280.js +145 -23
- package/dist/index282.js +6 -88
- package/dist/index283.js +11 -0
- package/dist/index284.js +200 -5
- package/dist/index286.js +6 -18
- package/dist/index287.js +240 -374
- package/dist/index289.js +6 -9
- package/dist/index29.js +7 -0
- package/dist/index290.js +21 -7
- package/dist/index292.js +6 -7
- package/dist/index293.js +125 -7
- package/dist/index295.js +6 -69
- package/dist/index296.js +161 -190
- package/dist/index298.js +6 -11
- package/dist/index299.js +127 -25
- package/dist/index30.js +117 -177
- package/dist/index301.js +6 -0
- package/dist/index302.js +20 -9
- package/dist/index304.js +5 -4
- package/dist/index305.js +116 -5
- package/dist/index306.js +5 -5
- package/dist/index307.js +507 -4
- package/dist/index309.js +6 -19
- package/dist/index31.js +10 -0
- package/dist/index310.js +196 -6
- package/dist/index312.js +6 -282
- package/dist/index313.js +142 -4
- package/dist/index315.js +6 -4
- package/dist/index316.js +134 -18
- package/dist/index318.js +6 -29
- package/dist/index319.js +162 -4
- package/dist/index32.js +27 -99
- package/dist/index321.js +6 -4
- package/dist/index322.js +319 -4
- package/dist/index324.js +6 -4
- package/dist/index325.js +42 -6
- package/dist/index326.js +450 -7
- package/dist/index328.js +6 -368
- package/dist/index329.js +155 -59
- package/dist/index33.js +5 -0
- package/dist/index331.js +6 -9
- package/dist/index332.js +142 -5
- package/dist/index334.js +6 -4
- package/dist/index335.js +155 -17
- package/dist/index337.js +6 -21
- package/dist/index338.js +58 -4
- package/dist/index339.js +5 -4
- package/dist/index34.js +111 -176
- package/dist/index340.js +20 -6
- package/dist/index342.js +6 -69
- package/dist/index343.js +141 -5
- package/dist/index345.js +5 -6
- package/dist/index346.js +4 -9
- package/dist/index347.js +109 -9
- package/dist/index349.js +6 -11
- package/dist/index350.js +838 -16
- package/dist/index351.js +473 -94
- package/dist/index352.js +51 -229
- package/dist/index353.js +7 -202
- package/dist/index36.js +6 -133
- package/dist/index37.js +6 -0
- package/dist/index38.js +62 -489
- package/dist/index39.js +63 -0
- package/dist/index40.js +8 -334
- package/dist/index41.js +9 -0
- package/dist/index42.js +8 -127
- package/dist/index43.js +179 -0
- package/dist/index44.js +20 -184
- package/dist/index45.js +6 -0
- package/dist/index46.js +384 -239
- package/dist/index48.js +6 -140
- package/dist/index49.js +33 -0
- package/dist/index5.js +34 -41
- package/dist/index50.js +11 -156
- package/dist/index51.js +8 -0
- package/dist/index52.js +105 -64
- package/dist/index53.js +330 -0
- package/dist/index54.js +97 -91
- package/dist/index55.js +328 -0
- package/dist/index56.js +27 -68
- package/dist/index57.js +102 -0
- package/dist/index58.js +145 -53
- package/dist/index6.js +37 -61
- package/dist/index60.js +5 -225
- package/dist/index61.js +131 -0
- package/dist/index62.js +5 -171
- package/dist/index64.js +7 -99
- package/dist/index65.js +35 -0
- package/dist/index66.js +25 -137
- package/dist/index68.js +6 -43
- package/dist/index69.js +54 -0
- package/dist/index7.js +58 -64
- package/dist/index71.js +6 -0
- package/dist/index72.js +13 -120
- package/dist/index74.js +6 -125
- package/dist/index75.js +158 -84
- package/dist/index77.js +6 -21
- package/dist/index78.js +4 -129
- package/dist/index79.js +4 -0
- package/dist/index8.js +4 -14
- package/dist/index80.js +54 -62
- package/dist/index81.js +5 -0
- package/dist/index82.js +5 -323
- package/dist/index83.js +131 -0
- package/dist/index85.js +6 -0
- package/dist/index86.js +64 -220
- package/dist/index88.js +6 -84
- package/dist/index89.js +30 -0
- package/dist/index9.js +10 -9
- package/dist/index90.js +18 -45
- package/dist/index91.js +17 -134
- package/dist/index92.js +9 -0
- package/dist/index93.js +33 -176
- package/dist/index94.js +4 -0
- package/dist/index95.js +15 -234
- package/dist/index96.js +10 -0
- package/dist/index97.js +17 -247
- package/dist/index98.js +189 -0
- package/package.json +1 -1
- package/dist/index134.js +0 -28
- package/dist/index138.js +0 -122
- package/dist/index144.js +0 -13
- package/dist/index148.js +0 -11
- package/dist/index153.js +0 -7
- package/dist/index156.js +0 -5
- package/dist/index159.js +0 -5
- package/dist/index162.js +0 -5
- package/dist/index167.js +0 -5
- package/dist/index170.js +0 -5
- package/dist/index173.js +0 -5
- package/dist/index187.js +0 -5
- package/dist/index193.js +0 -4
- package/dist/index196.js +0 -5
- package/dist/index199.js +0 -5
- package/dist/index202.js +0 -5
- package/dist/index205.js +0 -5
- package/dist/index209.js +0 -5
- package/dist/index212.js +0 -5
- package/dist/index215.js +0 -5
- package/dist/index218.js +0 -5
- package/dist/index221.js +0 -4
- package/dist/index224.js +0 -36
- package/dist/index227.js +0 -4
- package/dist/index233.js +0 -12
- package/dist/index237.js +0 -13
- package/dist/index241.js +0 -25
- package/dist/index244.js +0 -20
- package/dist/index247.js +0 -32
- package/dist/index250.js +0 -137
- package/dist/index253.js +0 -109
- package/dist/index256.js +0 -108
- package/dist/index261.js +0 -5
- package/dist/index264.js +0 -7
- package/dist/index267.js +0 -10
- package/dist/index271.js +0 -34
- package/dist/index278.js +0 -11
- package/dist/index281.js +0 -15
- package/dist/index285.js +0 -8
- package/dist/index291.js +0 -7
- package/dist/index294.js +0 -55
- package/dist/index297.js +0 -5
- package/dist/index300.js +0 -30
- package/dist/index303.js +0 -4
- package/dist/index308.js +0 -30
- package/dist/index311.js +0 -5
- package/dist/index314.js +0 -18
- package/dist/index317.js +0 -4
- package/dist/index320.js +0 -4
- package/dist/index323.js +0 -4
- package/dist/index327.js +0 -721
- package/dist/index333.js +0 -127
- package/dist/index336.js +0 -4
- package/dist/index341.js +0 -69
- package/dist/index344.js +0 -8
- package/dist/index348.js +0 -21
- package/dist/index354.js +0 -261
- package/dist/index355.js +0 -37
- package/dist/index356.js +0 -131
- package/dist/index357.js +0 -400
- package/dist/index358.js +0 -24
- package/dist/index360.js +0 -4
- package/dist/index361.js +0 -4
- package/dist/index362.js +0 -136
- package/dist/index363.js +0 -443
- package/dist/index364.js +0 -130
- package/dist/index365.js +0 -49
- package/dist/index366.js +0 -72
- package/dist/index367.js +0 -522
- package/dist/index368.js +0 -52
- package/dist/index4.js +0 -35
- package/dist/index70.js +0 -46
- package/dist/index84.js +0 -154
- package/dist/index99.js +0 -33
package/dist/index77.js
CHANGED
|
@@ -1,21 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
return (o, _) => a(l).current ? (f(), s(m, {
|
|
8
|
-
key: 0,
|
|
9
|
-
to: ".bb-confirm__teleport",
|
|
10
|
-
defer: ""
|
|
11
|
-
}, [
|
|
12
|
-
p(o.$slots, "default", {
|
|
13
|
-
yes: r,
|
|
14
|
-
no: t
|
|
15
|
-
})
|
|
16
|
-
])) : c("", !0);
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
export {
|
|
20
|
-
b as default
|
|
21
|
-
};
|
|
1
|
+
import e from "./index75.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
//#region src/components/BaseColorInput/BaseColorInput.vue
|
|
4
|
+
var t = e;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { t as default };
|
package/dist/index78.js
CHANGED
|
@@ -1,129 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
/* empty css */
|
|
6
|
-
const H = /* @__PURE__ */ c({
|
|
7
|
-
__name: "BbDatePickerInput",
|
|
8
|
-
props: {
|
|
9
|
-
allowWriting: { type: [Boolean, String], default: !0 },
|
|
10
|
-
"append:icon": {},
|
|
11
|
-
autocomplete: {},
|
|
12
|
-
autofocus: {},
|
|
13
|
-
clearable: { type: Boolean },
|
|
14
|
-
compact: { type: Boolean },
|
|
15
|
-
direction: {},
|
|
16
|
-
disabled: { type: Boolean },
|
|
17
|
-
errors: {},
|
|
18
|
-
firstDayOfWeek: {},
|
|
19
|
-
floating: { type: Boolean },
|
|
20
|
-
hasErrors: { type: Boolean },
|
|
21
|
-
hidePopover: { type: [Boolean, String] },
|
|
22
|
-
hideLabel: { type: Boolean },
|
|
23
|
-
hint: {},
|
|
24
|
-
id: {},
|
|
25
|
-
label: {},
|
|
26
|
-
labelPosition: {},
|
|
27
|
-
loading: { type: Boolean },
|
|
28
|
-
max: {},
|
|
29
|
-
min: {},
|
|
30
|
-
modelValue: {},
|
|
31
|
-
name: {},
|
|
32
|
-
persistentHint: { type: Boolean },
|
|
33
|
-
placeholder: {},
|
|
34
|
-
"prepend:icon": {},
|
|
35
|
-
range: { type: Boolean },
|
|
36
|
-
readonly: { type: Boolean },
|
|
37
|
-
required: { type: Boolean },
|
|
38
|
-
reverse: { type: Boolean },
|
|
39
|
-
selectable: {},
|
|
40
|
-
width: {}
|
|
41
|
-
},
|
|
42
|
-
emits: ["active", "error", "focus", "inactive", "update:modelValue"],
|
|
43
|
-
setup(n, { emit: p }) {
|
|
44
|
-
const t = n, r = p, l = f(!1), s = b(() => t.persistentHint || l.value), d = {
|
|
45
|
-
onError: (e) => r("error", e),
|
|
46
|
-
onFocus: (e) => r("focus", e),
|
|
47
|
-
onActive: () => {
|
|
48
|
-
l.value = !0, r("active");
|
|
49
|
-
},
|
|
50
|
-
onInactive: () => {
|
|
51
|
-
l.value = !1, r("inactive");
|
|
52
|
-
},
|
|
53
|
-
"onUpdate:modelValue": (e) => r("update:modelValue", e)
|
|
54
|
-
};
|
|
55
|
-
return (e, P) => (v(), h(k, {
|
|
56
|
-
id: e.id,
|
|
57
|
-
class: "bb-date-picker-input",
|
|
58
|
-
compact: e.compact,
|
|
59
|
-
direction: e.direction,
|
|
60
|
-
errors: e.errors,
|
|
61
|
-
"has-errors": e.hasErrors,
|
|
62
|
-
"hide-label": e.hideLabel,
|
|
63
|
-
hint: e.hint,
|
|
64
|
-
label: e.label,
|
|
65
|
-
"label-position": e.labelPosition,
|
|
66
|
-
"model-value": e.modelValue,
|
|
67
|
-
name: e.name,
|
|
68
|
-
reverse: e.reverse,
|
|
69
|
-
"show-hint": s.value
|
|
70
|
-
}, {
|
|
71
|
-
label: o((i) => [
|
|
72
|
-
a(e.$slots, "label", B(w(i)))
|
|
73
|
-
]),
|
|
74
|
-
input: o(({ id: i, hasErrors: m, ariaDescribedby: u }) => [
|
|
75
|
-
y($, g({
|
|
76
|
-
id: i,
|
|
77
|
-
"allow-writing": e.allowWriting,
|
|
78
|
-
"append:icon": e.$props["append:icon"],
|
|
79
|
-
"aria-describedby": u,
|
|
80
|
-
autocomplete: e.autocomplete,
|
|
81
|
-
autofocus: e.autofocus,
|
|
82
|
-
clearable: e.clearable,
|
|
83
|
-
compact: e.compact,
|
|
84
|
-
disabled: e.disabled,
|
|
85
|
-
"first-day-of-week": e.firstDayOfWeek,
|
|
86
|
-
floating: e.floating,
|
|
87
|
-
"has-errors": m,
|
|
88
|
-
"hide-popover": e.hidePopover,
|
|
89
|
-
loading: e.loading,
|
|
90
|
-
max: e.max,
|
|
91
|
-
min: e.min,
|
|
92
|
-
"model-value": e.modelValue,
|
|
93
|
-
name: e.name,
|
|
94
|
-
placeholder: e.placeholder,
|
|
95
|
-
"prepend:icon": e.$props["prepend:icon"],
|
|
96
|
-
range: e.range,
|
|
97
|
-
readonly: e.readonly,
|
|
98
|
-
required: e.required,
|
|
99
|
-
selectable: e.selectable,
|
|
100
|
-
width: e.width
|
|
101
|
-
}, d), {
|
|
102
|
-
"prepend-outer": o(() => [
|
|
103
|
-
a(e.$slots, "prepend-outer")
|
|
104
|
-
]),
|
|
105
|
-
prepend: o(() => [
|
|
106
|
-
a(e.$slots, "prepend")
|
|
107
|
-
]),
|
|
108
|
-
prefix: o(() => [
|
|
109
|
-
a(e.$slots, "prefix")
|
|
110
|
-
]),
|
|
111
|
-
suffix: o(() => [
|
|
112
|
-
a(e.$slots, "suffix")
|
|
113
|
-
]),
|
|
114
|
-
append: o(() => [
|
|
115
|
-
a(e.$slots, "append")
|
|
116
|
-
]),
|
|
117
|
-
"append-outer": o(() => [
|
|
118
|
-
a(e.$slots, "append-outer")
|
|
119
|
-
]),
|
|
120
|
-
_: 2
|
|
121
|
-
}, 1040, ["id", "allow-writing", "append:icon", "aria-describedby", "autocomplete", "autofocus", "clearable", "compact", "disabled", "first-day-of-week", "floating", "has-errors", "hide-popover", "loading", "max", "min", "model-value", "name", "placeholder", "prepend:icon", "range", "readonly", "required", "selectable", "width"])
|
|
122
|
-
]),
|
|
123
|
-
_: 3
|
|
124
|
-
}, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
|
125
|
-
}
|
|
126
|
-
});
|
|
127
|
-
export {
|
|
128
|
-
H as default
|
|
129
|
-
};
|
|
1
|
+
//#region src/utilities/functions/isCssColor.ts
|
|
2
|
+
var e = (e) => !!e && !!e.match(/^(#|var\(--|(rgb|hsl)a?\()/);
|
|
3
|
+
//#endregion
|
|
4
|
+
export { e as isCssColor };
|
package/dist/index79.js
ADDED
package/dist/index8.js
CHANGED
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* The generated id
|
|
7
|
-
*/
|
|
8
|
-
id: e,
|
|
9
|
-
refresh: () => e.value = r()
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export {
|
|
13
|
-
n as useId
|
|
14
|
-
};
|
|
1
|
+
//#region src/utilities/functions/clamp.ts
|
|
2
|
+
var e = (e, t, n) => Math.min(Math.max(e, t), n);
|
|
3
|
+
//#endregion
|
|
4
|
+
export { e as clamp };
|
package/dist/index80.js
CHANGED
|
@@ -1,62 +1,54 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
]),
|
|
56
|
-
_: 3
|
|
57
|
-
}, 16, ["modelValue"]));
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
export {
|
|
61
|
-
b as default
|
|
62
|
-
};
|
|
1
|
+
//#region node_modules/object-code/dist/index.mjs
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
return e > t ? 1 : -1;
|
|
4
|
+
}
|
|
5
|
+
function t(t, n) {
|
|
6
|
+
return e(String(t[0]), String(n[0]));
|
|
7
|
+
}
|
|
8
|
+
function n(e, t) {
|
|
9
|
+
return 33 * e ^ t;
|
|
10
|
+
}
|
|
11
|
+
function r(i, a) {
|
|
12
|
+
var o = 5381;
|
|
13
|
+
if (typeof i == "object" && i) {
|
|
14
|
+
var s = typeof i.entries == "function", c = Object.keys(i).length > 0;
|
|
15
|
+
if (i.toString === Object.prototype.toString || i.toString === Array.prototype.toString || s && !c) {
|
|
16
|
+
a ||= /* @__PURE__ */ new WeakSet(), a.add(i);
|
|
17
|
+
var l = s && !c ? Array.from(i.entries()) : Object.keys(i).sort(e).map(function(e) {
|
|
18
|
+
return [e, i[e]];
|
|
19
|
+
});
|
|
20
|
+
s && !c && l.sort(t);
|
|
21
|
+
for (var u = 0; u < l.length; u++) {
|
|
22
|
+
var d = l[u], f = d[1];
|
|
23
|
+
if (o = n(o, r(d[0], a)), typeof f == "object" && f && (f.toString === Object.prototype.toString || f.toString === Array.prototype.toString)) {
|
|
24
|
+
if (a.has(f)) continue;
|
|
25
|
+
a.add(f);
|
|
26
|
+
}
|
|
27
|
+
o = n(o, r(f, a));
|
|
28
|
+
}
|
|
29
|
+
return n(o, r(i.constructor, a));
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
for (var p, m = typeof i, h = 0; h < m.length; h++) o = n(o, m.charCodeAt(h));
|
|
33
|
+
if (i instanceof Date) return n(o, i.getTime());
|
|
34
|
+
if (m === "number") return n(o, function(e) {
|
|
35
|
+
if (Number.isNaN(e)) return 2146959360;
|
|
36
|
+
if (e === Infinity) return 2146435072;
|
|
37
|
+
if (e === -Infinity) return 4293918720;
|
|
38
|
+
if (Math.abs(e) > 2 ** 53 - 1) {
|
|
39
|
+
for (var t = String(e), r = 0, i = 0; i < t.length; i++) r = n(r, t.charCodeAt(i));
|
|
40
|
+
return r;
|
|
41
|
+
}
|
|
42
|
+
return e;
|
|
43
|
+
}(i));
|
|
44
|
+
if (m === "boolean") return n(o, +!!i);
|
|
45
|
+
try {
|
|
46
|
+
p = String(i);
|
|
47
|
+
} catch {
|
|
48
|
+
p = Object.prototype.toString.call(i);
|
|
49
|
+
}
|
|
50
|
+
for (var g = 0; g < p.length; g++) o = n(o, p.charCodeAt(g));
|
|
51
|
+
return o;
|
|
52
|
+
}
|
|
53
|
+
//#endregion
|
|
54
|
+
export { r as e };
|
package/dist/index81.js
ADDED
package/dist/index82.js
CHANGED
|
@@ -1,323 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import De from "./index14.js";
|
|
7
|
-
/* empty css */
|
|
8
|
-
import ee from "./index88.js";
|
|
9
|
-
/* empty css */
|
|
10
|
-
import $e from "./index250.js";
|
|
11
|
-
/* empty css */
|
|
12
|
-
import te from "./index299.js";
|
|
13
|
-
import { extractDomContainer as H } from "./index235.js";
|
|
14
|
-
import { useIntersectionObserver as Ae, useElementSize as Se } from "./index146.js";
|
|
15
|
-
import { parseWidthString as Pe } from "./index241.js";
|
|
16
|
-
const Ie = ["id", "aria-labelledby", "inert"], Te = { class: "item__content" }, Oe = 500, _e = 10, ze = /* @__PURE__ */ fe({
|
|
17
|
-
inheritAttrs: !1,
|
|
18
|
-
__name: "BbDropdown",
|
|
19
|
-
props: {
|
|
20
|
-
arrowPadding: { default: 10 },
|
|
21
|
-
disabled: { type: Boolean },
|
|
22
|
-
eager: { type: Boolean },
|
|
23
|
-
id: {},
|
|
24
|
-
offset: { default: 3 },
|
|
25
|
-
padding: { default: 10 },
|
|
26
|
-
transitionDuration: { default: 300 },
|
|
27
|
-
placement: { default: "bottom" },
|
|
28
|
-
activator: {},
|
|
29
|
-
boundary: {},
|
|
30
|
-
items: {},
|
|
31
|
-
theme: { default: "default" },
|
|
32
|
-
trigger: { default: "click" },
|
|
33
|
-
width: { default: "auto" }
|
|
34
|
-
},
|
|
35
|
-
setup(oe) {
|
|
36
|
-
const r = oe, d = r.id ?? `bb_${Ee().id.value}`, b = C(), A = p(() => H(b.value)), ne = p(() => r.activator != null), re = ve("popover"), m = p(() => H(re.value)), a = C(!1), ae = Le(a, { initialValue: r.eager }), ie = p(() => {
|
|
37
|
-
const e = r.trigger;
|
|
38
|
-
return new Set(Array.isArray(e) ? e : [e]);
|
|
39
|
-
}), S = (e, t) => ({
|
|
40
|
-
getBoundingClientRect: () => ({
|
|
41
|
-
x: e,
|
|
42
|
-
y: t,
|
|
43
|
-
width: 0,
|
|
44
|
-
height: 0,
|
|
45
|
-
top: t,
|
|
46
|
-
left: e,
|
|
47
|
-
right: e,
|
|
48
|
-
bottom: t,
|
|
49
|
-
toJSON() {
|
|
50
|
-
return this;
|
|
51
|
-
}
|
|
52
|
-
})
|
|
53
|
-
}), y = C(null), se = p(
|
|
54
|
-
() => r.placement === "cursor" && y.value ? y.value : b.value
|
|
55
|
-
), F = (e) => {
|
|
56
|
-
const t = H(e);
|
|
57
|
-
t && (b.value = t);
|
|
58
|
-
}, { resume: le, pause: de } = Ae(
|
|
59
|
-
A,
|
|
60
|
-
async ([{ intersectionRatio: e }]) => {
|
|
61
|
-
e !== 1 && a.value && await c();
|
|
62
|
-
},
|
|
63
|
-
{ threshold: [0, 1], immediate: !1 }
|
|
64
|
-
), P = p(() => {
|
|
65
|
-
let e = r.items.findIndex((o) => !o.disabled), t = R(
|
|
66
|
-
r.items,
|
|
67
|
-
(o) => !o.disabled
|
|
68
|
-
);
|
|
69
|
-
return r.items.map((o, n) => {
|
|
70
|
-
const i = `${d}-item-${o.key}`, { onClick: T, ...O } = o, ce = async (s) => {
|
|
71
|
-
s.stopPropagation(), await c();
|
|
72
|
-
const l = document.querySelector(`#${d}`);
|
|
73
|
-
l && l.focus(), T?.(s);
|
|
74
|
-
}, pe = (s) => {
|
|
75
|
-
if (!(!(s.target instanceof HTMLElement) || !s.target.dataset.dropdownItem || !m.value)) {
|
|
76
|
-
if (s.key === "ArrowDown") {
|
|
77
|
-
if (s.preventDefault(), n !== t) {
|
|
78
|
-
const l = m.value.querySelector(
|
|
79
|
-
te.map((D) => `#${i} ~ ${D}`).join(",")
|
|
80
|
-
);
|
|
81
|
-
l instanceof HTMLElement && l.focus();
|
|
82
|
-
}
|
|
83
|
-
} else if (s.key === "ArrowUp") {
|
|
84
|
-
if (s.preventDefault(), n !== e) {
|
|
85
|
-
const l = R(
|
|
86
|
-
r.items,
|
|
87
|
-
(_, me) => me < n && !_.disabled
|
|
88
|
-
), h = Array.from(
|
|
89
|
-
m.value.querySelectorAll(".bb-dropdown__item")
|
|
90
|
-
)[l];
|
|
91
|
-
h instanceof HTMLElement && h.focus();
|
|
92
|
-
}
|
|
93
|
-
} else if (s.key === "Tab") {
|
|
94
|
-
if (n === t && !s.shiftKey) {
|
|
95
|
-
const l = Array.from(
|
|
96
|
-
document.querySelectorAll(te.join(","))
|
|
97
|
-
), D = l.findIndex(
|
|
98
|
-
(_) => _.id === d
|
|
99
|
-
), h = l[D + 1];
|
|
100
|
-
h instanceof HTMLElement && (s.preventDefault(), c(), h.focus());
|
|
101
|
-
} else if (n === e && s.shiftKey) {
|
|
102
|
-
const l = document.querySelector(`#${d}`);
|
|
103
|
-
l && (s.preventDefault(), l.focus());
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
return {
|
|
109
|
-
...O,
|
|
110
|
-
original: o,
|
|
111
|
-
key: o.key.split(/\W+/g).join("_").toLowerCase(),
|
|
112
|
-
disabled: O.disabled || r.disabled,
|
|
113
|
-
id: i,
|
|
114
|
-
onClick: ce,
|
|
115
|
-
onKeydown: pe
|
|
116
|
-
};
|
|
117
|
-
});
|
|
118
|
-
}), K = (e) => {
|
|
119
|
-
if (!r.disabled) {
|
|
120
|
-
if (L) {
|
|
121
|
-
L = !1, e.preventDefault(), e.stopPropagation();
|
|
122
|
-
return;
|
|
123
|
-
}
|
|
124
|
-
e.stopPropagation(), r.placement === "cursor" && (y.value = S(e.clientX, e.clientY)), a.value ? c() : w();
|
|
125
|
-
}
|
|
126
|
-
}, N = (e) => {
|
|
127
|
-
r.disabled || (e.preventDefault(), e.stopPropagation(), !(r.placement === "cursor" && (y.value = S(e.clientX, e.clientY), a.value)) && (a.value ? c() : w()));
|
|
128
|
-
};
|
|
129
|
-
let U, u = null, L = !1;
|
|
130
|
-
const I = () => {
|
|
131
|
-
clearTimeout(U), u = null;
|
|
132
|
-
}, Y = (e) => {
|
|
133
|
-
r.disabled || e.pointerType === "mouse" || (L = !1, u = { x: e.clientX, y: e.clientY }, U = setTimeout(() => {
|
|
134
|
-
L = !0, r.placement === "cursor" && u && (y.value = S(
|
|
135
|
-
u.x,
|
|
136
|
-
u.y
|
|
137
|
-
)), u = null, w();
|
|
138
|
-
}, Oe));
|
|
139
|
-
}, W = (e) => {
|
|
140
|
-
if (!u) return;
|
|
141
|
-
const t = e.clientX - u.x, o = e.clientY - u.y;
|
|
142
|
-
Math.sqrt(t * t + o * o) > _e && I();
|
|
143
|
-
}, k = () => {
|
|
144
|
-
I();
|
|
145
|
-
}, X = async (e) => {
|
|
146
|
-
if (r.disabled) return;
|
|
147
|
-
const t = r.items.findIndex((i) => !i.disabled), o = R(
|
|
148
|
-
r.items,
|
|
149
|
-
(i) => !i.disabled
|
|
150
|
-
), n = (i) => {
|
|
151
|
-
if (!m.value || !P.value.length || i === -1) return;
|
|
152
|
-
const T = P.value[i].id;
|
|
153
|
-
m.value.querySelector(`#${T}`)?.focus();
|
|
154
|
-
};
|
|
155
|
-
e.key === "ArrowDown" ? (e.preventDefault(), a.value || await w(), n(t)) : e.key === "ArrowUp" ? (e.preventDefault(), a.value || await w(), n(o)) : e.key === "Tab" && a.value && !e.shiftKey && (e.preventDefault(), n(t));
|
|
156
|
-
}, f = (e) => {
|
|
157
|
-
const t = e.target;
|
|
158
|
-
if (!(t instanceof HTMLElement)) return;
|
|
159
|
-
!m.value?.contains(t) && c();
|
|
160
|
-
}, j = (e) => {
|
|
161
|
-
!a.value || e.key !== "Escape" || (e.stopImmediatePropagation(), e.preventDefault(), document.activeElement?.id !== d && document.querySelector(`#${d}`)?.focus(), c());
|
|
162
|
-
}, w = async () => {
|
|
163
|
-
le(), await ke(50), a.value = !0, document.addEventListener("click", f, { passive: !0 }), document.addEventListener("contextmenu", f, {
|
|
164
|
-
passive: !0
|
|
165
|
-
}), document.addEventListener("focusin", f, { passive: !0 }), document.addEventListener("keydown", j, { capture: !0 });
|
|
166
|
-
}, c = async () => {
|
|
167
|
-
a.value = !1, de();
|
|
168
|
-
};
|
|
169
|
-
$(a, (e) => {
|
|
170
|
-
e || (document.removeEventListener("click", f), document.removeEventListener("contextmenu", f), document.removeEventListener("focusin", f), document.removeEventListener("keydown", j, { capture: !0 }));
|
|
171
|
-
}), $(
|
|
172
|
-
() => r.activator,
|
|
173
|
-
(e) => {
|
|
174
|
-
e && F(e);
|
|
175
|
-
},
|
|
176
|
-
{ immediate: !0 }
|
|
177
|
-
);
|
|
178
|
-
let g = null;
|
|
179
|
-
$(
|
|
180
|
-
[b, ie],
|
|
181
|
-
([e, t]) => {
|
|
182
|
-
if (g && (g(), g = null), !e) return;
|
|
183
|
-
e.id = d;
|
|
184
|
-
const o = [];
|
|
185
|
-
t.has("click") && (e.addEventListener("click", K), o.push(() => e.removeEventListener("click", K))), t.has("contextMenu") && (e.addEventListener("contextmenu", N), e.addEventListener("pointerdown", Y), e.addEventListener("pointermove", W), e.addEventListener("pointerup", k), e.addEventListener("pointercancel", k), o.push(() => {
|
|
186
|
-
e.removeEventListener("contextmenu", N), e.removeEventListener("pointerdown", Y), e.removeEventListener("pointermove", W), e.removeEventListener("pointerup", k), e.removeEventListener("pointercancel", k), I();
|
|
187
|
-
})), e.addEventListener("keydown", X), o.push(() => e.removeEventListener("keydown", X)), g = () => {
|
|
188
|
-
o.forEach((n) => n()), e.removeAttribute("id"), e.removeAttribute("aria-expanded"), e.removeAttribute("aria-controls");
|
|
189
|
-
};
|
|
190
|
-
},
|
|
191
|
-
{ immediate: !0 }
|
|
192
|
-
), $(
|
|
193
|
-
[b, a, ae],
|
|
194
|
-
([e, t, o]) => {
|
|
195
|
-
e && (e.setAttribute("aria-expanded", o ? String(t) : "false"), o ? e.setAttribute("aria-controls", `menu_${d}`) : e.removeAttribute("aria-controls"));
|
|
196
|
-
},
|
|
197
|
-
{ immediate: !0 }
|
|
198
|
-
), be(() => {
|
|
199
|
-
g?.();
|
|
200
|
-
});
|
|
201
|
-
const { width: ue } = Se(
|
|
202
|
-
A,
|
|
203
|
-
{ width: 0, height: 0 },
|
|
204
|
-
{
|
|
205
|
-
box: "border-box"
|
|
206
|
-
}
|
|
207
|
-
), z = p(() => {
|
|
208
|
-
if (r.width !== "auto") {
|
|
209
|
-
if (r.width) {
|
|
210
|
-
const { value: e, unit: t } = Pe(r.width);
|
|
211
|
-
return t === "%" ? A.value ? `${ue.value * (e / 100)}px` : "0px" : `${e}px`;
|
|
212
|
-
}
|
|
213
|
-
return "0px";
|
|
214
|
-
}
|
|
215
|
-
});
|
|
216
|
-
return (e, t) => (E(), M(B, null, [
|
|
217
|
-
ne.value ? V("", !0) : v(e.$slots, "activator", ye(q({ key: 0 }, {
|
|
218
|
-
props: {
|
|
219
|
-
ref: F
|
|
220
|
-
},
|
|
221
|
-
disabled: e.disabled,
|
|
222
|
-
open: a.value,
|
|
223
|
-
placement: e.placement
|
|
224
|
-
}))),
|
|
225
|
-
G($e, q({
|
|
226
|
-
ref: "popover",
|
|
227
|
-
modelValue: a.value,
|
|
228
|
-
"onUpdate:modelValue": t[0] || (t[0] = (o) => a.value = o),
|
|
229
|
-
anchor: se.value,
|
|
230
|
-
"arrow-padding": e.arrowPadding,
|
|
231
|
-
boundary: e.boundary,
|
|
232
|
-
class: ["bb-dropdown", {
|
|
233
|
-
[`bb-dropdown--${e.theme}`]: !0
|
|
234
|
-
}],
|
|
235
|
-
eager: e.eager,
|
|
236
|
-
offset: e.offset,
|
|
237
|
-
"hide-arrow": e.placement === "cursor",
|
|
238
|
-
padding: e.padding,
|
|
239
|
-
placement: e.placement === "cursor" ? "bottom-start" : e.placement,
|
|
240
|
-
"transition-duration": e.transitionDuration
|
|
241
|
-
}, e.$attrs), {
|
|
242
|
-
default: x(() => [
|
|
243
|
-
J("span", {
|
|
244
|
-
id: `menu_${Q(d)}`,
|
|
245
|
-
"aria-labelledby": Q(d),
|
|
246
|
-
"aria-role": "menu",
|
|
247
|
-
class: "bb-dropdown__items-container",
|
|
248
|
-
inert: !a.value,
|
|
249
|
-
style: we(z.value ? { width: z.value } : void 0)
|
|
250
|
-
}, [
|
|
251
|
-
v(e.$slots, "prepend", {
|
|
252
|
-
disabled: e.disabled,
|
|
253
|
-
open: a.value,
|
|
254
|
-
placement: e.placement
|
|
255
|
-
}),
|
|
256
|
-
(E(!0), M(B, null, ge(P.value, ({ original: o, ...n }, i) => (E(), M(B, {
|
|
257
|
-
key: n.key
|
|
258
|
-
}, [
|
|
259
|
-
v(e.$slots, "item:prepend", {
|
|
260
|
-
disabled: n.disabled,
|
|
261
|
-
index: i,
|
|
262
|
-
item: e.items[i],
|
|
263
|
-
open: a.value,
|
|
264
|
-
placement: e.placement,
|
|
265
|
-
text: n.text
|
|
266
|
-
}),
|
|
267
|
-
G(De, q({
|
|
268
|
-
"aria-role": "menuitem",
|
|
269
|
-
class: ["bb-dropdown__item", {
|
|
270
|
-
"bb-dropdown__item--first": i === 0,
|
|
271
|
-
"bb-dropdown__item--last": i === e.items.length - 1
|
|
272
|
-
}],
|
|
273
|
-
"data-dropdown-item": !0,
|
|
274
|
-
ref_for: !0
|
|
275
|
-
}, n), {
|
|
276
|
-
default: x(() => [
|
|
277
|
-
v(e.$slots, n.key, {
|
|
278
|
-
disabled: n.disabled,
|
|
279
|
-
index: i,
|
|
280
|
-
item: o,
|
|
281
|
-
open: a.value,
|
|
282
|
-
placement: e.placement,
|
|
283
|
-
text: n.text
|
|
284
|
-
}, () => [
|
|
285
|
-
n["prepend:icon"] ? (E(), Z(ee, {
|
|
286
|
-
key: 0,
|
|
287
|
-
class: "item__prepend-icon",
|
|
288
|
-
type: n["prepend:icon"]
|
|
289
|
-
}, null, 8, ["type"])) : V("", !0),
|
|
290
|
-
J("span", Te, he(n.text), 1),
|
|
291
|
-
n["append:icon"] ? (E(), Z(ee, {
|
|
292
|
-
key: 1,
|
|
293
|
-
class: "item__append-icon",
|
|
294
|
-
type: n["append:icon"]
|
|
295
|
-
}, null, 8, ["type"])) : V("", !0)
|
|
296
|
-
])
|
|
297
|
-
]),
|
|
298
|
-
_: 2
|
|
299
|
-
}, 1040, ["class"]),
|
|
300
|
-
v(e.$slots, "item:append", {
|
|
301
|
-
disabled: n.disabled,
|
|
302
|
-
index: i,
|
|
303
|
-
item: e.items[i],
|
|
304
|
-
open: a.value,
|
|
305
|
-
placement: e.placement,
|
|
306
|
-
text: n.text
|
|
307
|
-
})
|
|
308
|
-
], 64))), 128)),
|
|
309
|
-
v(e.$slots, "append", {
|
|
310
|
-
disabled: e.disabled,
|
|
311
|
-
open: a.value,
|
|
312
|
-
placement: e.placement
|
|
313
|
-
})
|
|
314
|
-
], 12, Ie)
|
|
315
|
-
]),
|
|
316
|
-
_: 3
|
|
317
|
-
}, 16, ["modelValue", "anchor", "arrow-padding", "boundary", "class", "eager", "offset", "hide-arrow", "padding", "placement", "transition-duration"])
|
|
318
|
-
], 64));
|
|
319
|
-
}
|
|
320
|
-
});
|
|
321
|
-
export {
|
|
322
|
-
ze as default
|
|
323
|
-
};
|
|
1
|
+
import { hash as e } from "./index81.js";
|
|
2
|
+
//#region src/utilities/functions/isEqual.ts
|
|
3
|
+
var t = (t, n) => e(t) === e(n);
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as isEqual };
|