bitboss-ui 2.1.133 → 2.1.135
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/BbDropdown.md +7 -14
- package/dist/ai/BbDropdownButton.md +2 -2
- package/dist/components/BaseButton/BaseButton.vue.d.ts +5 -10
- package/dist/components/BaseButton/RouterComponent.vue.d.ts +12 -15
- 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/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 +8 -233
- package/dist/components/BbDropdown/types.d.ts +6 -6
- 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 +8 -217
- 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 -216
- 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 +8 -18
- 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/directives/bbDropdown.d.ts +4 -4
- package/dist/index.css +2 -1
- package/dist/index.js +80 -226
- 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 -368
- package/dist/index125.js +5 -0
- package/dist/index126.js +222 -809
- 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 -155
- package/dist/index137.js +153 -0
- package/dist/index139.js +6 -0
- package/dist/index14.js +306 -128
- package/dist/index140.js +224 -32
- package/dist/index141.js +5 -29
- package/dist/index142.js +4 -71
- package/dist/index143.js +128 -0
- package/dist/index145.js +6 -0
- package/dist/index146.js +7 -12
- package/dist/index147.js +182 -4
- package/dist/index149.js +6 -11
- package/dist/index15.js +10 -0
- package/dist/index150.js +5 -10
- package/dist/index151.js +4 -27
- package/dist/index152.js +95 -4
- package/dist/index154.js +6 -8
- package/dist/index155.js +168 -7
- 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 -138
- 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 -5
- package/dist/index185.js +5 -5
- package/dist/index186.js +459 -4
- package/dist/index188.js +6 -4
- 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 -4
- 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 +5 -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 +5 -4
- package/dist/index223.js +67 -5
- package/dist/index225.js +6 -140
- package/dist/index226.js +41 -4
- package/dist/index228.js +6 -0
- package/dist/index229.js +9 -31
- package/dist/index23.js +7 -0
- package/dist/index230.js +22 -19
- package/dist/index231.js +23 -52
- package/dist/index232.js +7 -19
- package/dist/index233.js +297 -5
- package/dist/index235.js +6 -20
- package/dist/index236.js +47 -10
- package/dist/index237.js +165 -7
- package/dist/index239.js +6 -4
- package/dist/index24.js +9 -616
- package/dist/index240.js +10 -3
- package/dist/index241.js +159 -5
- package/dist/index243.js +6 -190
- package/dist/index244.js +134 -5
- package/dist/index246.js +6 -36
- package/dist/index247.js +167 -4
- package/dist/index249.js +6 -5
- package/dist/index25.js +24 -0
- package/dist/index250.js +147 -6
- package/dist/index252.js +6 -22
- package/dist/index253.js +35 -7
- package/dist/index255.js +6 -7
- package/dist/index256.js +65 -7
- package/dist/index258.js +6 -8
- package/dist/index259.js +18 -269
- package/dist/index26.js +4 -184
- package/dist/index260.js +5 -54
- package/dist/index261.js +159 -53
- package/dist/index263.js +6 -62
- package/dist/index264.js +60 -7
- package/dist/index266.js +6 -7
- package/dist/index267.js +134 -5
- package/dist/index269.js +6 -0
- package/dist/index27.js +4 -0
- package/dist/index270.js +12 -5
- package/dist/index271.js +206 -9
- package/dist/index273.js +6 -4
- package/dist/index274.js +85 -9
- package/dist/index275.js +5 -9
- package/dist/index276.js +55 -27
- package/dist/index277.js +5 -11
- package/dist/index278.js +164 -5
- package/dist/index28.js +8 -148
- package/dist/index280.js +6 -15
- package/dist/index281.js +144 -374
- package/dist/index283.js +6 -25
- package/dist/index284.js +11 -69
- package/dist/index285.js +199 -10
- package/dist/index287.js +6 -55
- package/dist/index288.js +241 -13
- package/dist/index29.js +7 -0
- package/dist/index290.js +6 -14
- package/dist/index291.js +21 -35
- package/dist/index293.js +6 -8
- package/dist/index294.js +124 -107
- package/dist/index296.js +6 -102
- package/dist/index297.js +161 -0
- package/dist/index299.js +6 -11
- package/dist/index30.js +117 -177
- package/dist/index300.js +127 -25
- package/dist/index302.js +6 -8
- package/dist/index303.js +20 -18
- package/dist/index305.js +6 -0
- package/dist/index306.js +116 -23
- package/dist/index307.js +5 -5
- package/dist/index308.js +506 -18
- package/dist/index31.js +10 -0
- package/dist/index310.js +6 -9
- package/dist/index311.js +196 -4
- package/dist/index313.js +6 -7
- package/dist/index314.js +142 -282
- package/dist/index316.js +6 -18
- package/dist/index317.js +134 -4
- package/dist/index319.js +6 -4
- package/dist/index32.js +27 -99
- package/dist/index320.js +162 -29
- package/dist/index322.js +6 -4
- package/dist/index323.js +319 -4
- package/dist/index325.js +6 -4
- package/dist/index326.js +40 -4
- package/dist/index327.js +42 -126
- package/dist/index328.js +665 -4
- package/dist/index33.js +5 -0
- package/dist/index330.js +6 -4
- package/dist/index331.js +155 -21
- package/dist/index333.js +5 -4
- package/dist/index334.js +142 -7
- package/dist/index336.js +5 -4
- package/dist/index337.js +155 -6
- package/dist/index339.js +5 -4
- package/dist/index34.js +111 -176
- package/dist/index340.js +58 -5
- package/dist/index341.js +5 -4
- package/dist/index342.js +20 -0
- package/dist/index344.js +6 -721
- package/dist/index345.js +142 -368
- package/dist/index347.js +5 -4
- package/dist/index348.js +4 -7
- package/dist/index349.js +109 -9
- package/dist/index351.js +6 -132
- package/dist/index352.js +54 -400
- package/dist/index353.js +24 -9
- package/dist/index354.js +23 -21
- package/dist/index355.js +838 -10
- package/dist/index356.js +473 -16
- package/dist/index357.js +51 -94
- package/dist/index358.js +7 -230
- package/dist/index36.js +6 -133
- package/dist/index37.js +6 -0
- package/dist/index38.js +62 -491
- 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 +156 -53
- package/dist/index6.js +37 -61
- package/dist/index60.js +5 -225
- package/dist/index61.js +131 -0
- package/dist/index62.js +5 -168
- 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 -339
- package/dist/index83.js +141 -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 -249
- package/dist/index98.js +189 -0
- package/package.json +2 -2
- package/dist/index134.js +0 -28
- package/dist/index138.js +0 -122
- package/dist/index144.js +0 -14
- package/dist/index148.js +0 -421
- 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 -5
- package/dist/index196.js +0 -5
- package/dist/index199.js +0 -5
- package/dist/index202.js +0 -5
- package/dist/index205.js +0 -4
- 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 -46
- package/dist/index224.js +0 -4
- package/dist/index227.js +0 -88
- package/dist/index234.js +0 -14
- package/dist/index238.js +0 -10
- package/dist/index242.js +0 -6
- package/dist/index245.js +0 -15
- package/dist/index248.js +0 -12
- package/dist/index251.js +0 -6
- package/dist/index254.js +0 -7
- package/dist/index257.js +0 -4
- package/dist/index262.js +0 -34
- package/dist/index265.js +0 -7
- package/dist/index268.js +0 -162
- package/dist/index272.js +0 -4
- package/dist/index279.js +0 -15
- package/dist/index286.js +0 -46
- package/dist/index289.js +0 -20
- package/dist/index292.js +0 -109
- package/dist/index298.js +0 -7
- package/dist/index301.js +0 -10
- package/dist/index304.js +0 -30
- package/dist/index309.js +0 -30
- package/dist/index312.js +0 -6
- package/dist/index315.js +0 -4
- package/dist/index318.js +0 -18
- package/dist/index321.js +0 -4
- package/dist/index324.js +0 -4
- package/dist/index329.js +0 -17
- package/dist/index332.js +0 -4
- package/dist/index335.js +0 -4
- package/dist/index338.js +0 -8
- package/dist/index343.js +0 -9
- package/dist/index346.js +0 -59
- package/dist/index350.js +0 -37
- package/dist/index359.js +0 -69
- package/dist/index360.js +0 -69
- package/dist/index361.js +0 -24
- package/dist/index363.js +0 -136
- package/dist/index364.js +0 -202
- package/dist/index365.js +0 -261
- package/dist/index366.js +0 -4
- package/dist/index367.js +0 -4
- package/dist/index368.js +0 -484
- package/dist/index369.js +0 -130
- package/dist/index370.js +0 -49
- package/dist/index371.js +0 -72
- package/dist/index372.js +0 -522
- package/dist/index373.js +0 -52
- package/dist/index4.js +0 -35
- package/dist/index70.js +0 -46
- package/dist/index84.js +0 -156
- package/dist/index99.js +0 -33
package/dist/index241.js
CHANGED
|
@@ -1,5 +1,159 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
};
|
|
1
|
+
import e from "./index36.js";
|
|
2
|
+
import { useLocale as t } from "./index42.js";
|
|
3
|
+
import { extractDomContainer as n } from "./index45.js";
|
|
4
|
+
import { isEqual as r } from "./index82.js";
|
|
5
|
+
import { noop as i } from "./index142.js";
|
|
6
|
+
import a from "./index219.js";
|
|
7
|
+
import { pickBy as o } from "./index240.js";
|
|
8
|
+
import s from "./index255.js";
|
|
9
|
+
import { computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineAsyncComponent as h, defineComponent as g, mergeModels as _, mergeProps as v, normalizeClass as y, openBlock as b, ref as x, renderSlot as S, toDisplayString as C, toRef as w, unref as T, useAttrs as E, useModel as D, withCtx as O } from "vue";
|
|
10
|
+
//#region src/components/BbButton/BbButton.vue?vue&type=script&setup=true&lang.ts
|
|
11
|
+
var k = {
|
|
12
|
+
key: 2,
|
|
13
|
+
class: "bb-button__loading-label sr-only"
|
|
14
|
+
}, A = /* @__PURE__ */ g({
|
|
15
|
+
inheritAttrs: !1,
|
|
16
|
+
__name: "BbButton",
|
|
17
|
+
props: /* @__PURE__ */ _({
|
|
18
|
+
autoLoading: { type: Boolean },
|
|
19
|
+
activeClass: {},
|
|
20
|
+
ariaCurrentValue: {},
|
|
21
|
+
"append:icon": {},
|
|
22
|
+
block: { type: Boolean },
|
|
23
|
+
data: {},
|
|
24
|
+
disabled: { type: Boolean },
|
|
25
|
+
enabledWhileLoading: { type: Boolean },
|
|
26
|
+
exactActiveClass: {},
|
|
27
|
+
group: { type: Boolean },
|
|
28
|
+
headers: {},
|
|
29
|
+
href: {},
|
|
30
|
+
icon: {},
|
|
31
|
+
loading: { type: Boolean },
|
|
32
|
+
method: {},
|
|
33
|
+
onBefore: {},
|
|
34
|
+
onCancel: {},
|
|
35
|
+
onCancelToken: {},
|
|
36
|
+
onFinish: {},
|
|
37
|
+
only: {},
|
|
38
|
+
onProgress: {},
|
|
39
|
+
onStart: {},
|
|
40
|
+
onSuccess: {},
|
|
41
|
+
"prepend:icon": {},
|
|
42
|
+
preserveScroll: { type: [Boolean, Function] },
|
|
43
|
+
preserveState: { type: [
|
|
44
|
+
Boolean,
|
|
45
|
+
Function,
|
|
46
|
+
null
|
|
47
|
+
] },
|
|
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(g, { expose: _ }) {
|
|
67
|
+
let A = h(() => import("./index347.js")), j = g, M = D(g, "modelValue"), N = c(() => M.value !== void 0), P = c(() => r(M.value, j.trueValue)), { t: F } = t(), I = E(), L = x(), R = (e) => {
|
|
68
|
+
L.value = n(e) ?? void 0;
|
|
69
|
+
}, z = c(() => {
|
|
70
|
+
let { onClick: e, ...t } = I;
|
|
71
|
+
return t;
|
|
72
|
+
}), B = x(0), V = c(() => j.loading || !!B.value && j.autoLoading), H = c(() => j.disabled), U = async (e) => {
|
|
73
|
+
if (V.value && !j.enabledWhileLoading) return (j.type === "submit" || j.href || j.to) && e.preventDefault(), null;
|
|
74
|
+
if (N.value) {
|
|
75
|
+
let e = j.trueValue, t = j.falseValue;
|
|
76
|
+
M.value = r(M.value, e) ? t : e;
|
|
77
|
+
}
|
|
78
|
+
B.value++, await (I.onClick ?? i)(e), B.value--;
|
|
79
|
+
}, W = typeof j.size == "string" ? { default: j.size } : {
|
|
80
|
+
default: "md",
|
|
81
|
+
...j.size
|
|
82
|
+
}, G = Object.entries(W).reduce((e, [t, n]) => (t === "default" ? e[`data-${n}`] = "" : e[`data-${t}:${n}`] = "", e), {}), K = w(() => ({
|
|
83
|
+
...z.value,
|
|
84
|
+
...G,
|
|
85
|
+
...o(j, (e, t) => ![
|
|
86
|
+
"append:icon",
|
|
87
|
+
"autoLoading",
|
|
88
|
+
"disabled",
|
|
89
|
+
"enabledWhileLoading",
|
|
90
|
+
"falseValue",
|
|
91
|
+
"group",
|
|
92
|
+
"icon",
|
|
93
|
+
"loading",
|
|
94
|
+
"modelValue",
|
|
95
|
+
"prepend:icon",
|
|
96
|
+
"size",
|
|
97
|
+
"tooltip",
|
|
98
|
+
"tooltipPlacement",
|
|
99
|
+
"trueValue"
|
|
100
|
+
].includes(t))
|
|
101
|
+
}));
|
|
102
|
+
return _({ $el: L }), (t, n) => (b(), l(T(e), v({ ref: R }, K.value, {
|
|
103
|
+
"aria-disabled": V.value ? !0 : void 0,
|
|
104
|
+
"aria-pressed": N.value ? P.value : void 0,
|
|
105
|
+
class: {
|
|
106
|
+
"bb-button": !0,
|
|
107
|
+
"bb-button--loading": V.value,
|
|
108
|
+
"bb-button--group": j.group,
|
|
109
|
+
"bb-button--icon": !!t.icon,
|
|
110
|
+
"bb-button--active": N.value && P.value
|
|
111
|
+
},
|
|
112
|
+
disabled: H.value,
|
|
113
|
+
tabindex: V.value ? -1 : void 0,
|
|
114
|
+
onClick: U
|
|
115
|
+
}), {
|
|
116
|
+
default: O(() => [
|
|
117
|
+
m(T(s), { class: "bb-button__spinner" }),
|
|
118
|
+
j.icon ? (b(), l(a, {
|
|
119
|
+
key: 0,
|
|
120
|
+
class: "bb-button__icon",
|
|
121
|
+
type: j.icon
|
|
122
|
+
}, null, 8, ["type"])) : j["prepend:icon"] ? (b(), l(a, {
|
|
123
|
+
key: 1,
|
|
124
|
+
class: "bb-button__prepend-icon",
|
|
125
|
+
type: j["prepend:icon"]
|
|
126
|
+
}, null, 8, ["type"])) : u("", !0),
|
|
127
|
+
f("span", { class: y(["bb-button__content", { "sr-only": !!t.icon }]) }, [S(t.$slots, "default", {}, () => [p(C(t.text), 1)])], 2),
|
|
128
|
+
V.value ? (b(), d("span", k, C(T(F)("common.loadingText")), 1)) : u("", !0),
|
|
129
|
+
!t.icon && j["append:icon"] ? (b(), l(a, {
|
|
130
|
+
key: 3,
|
|
131
|
+
class: "bb-button__append-icon",
|
|
132
|
+
type: j["append:icon"]
|
|
133
|
+
}, null, 8, ["type"])) : u("", !0),
|
|
134
|
+
t.tooltip != null || t.$slots.tooltip ? (b(), l(T(A), {
|
|
135
|
+
key: 4,
|
|
136
|
+
activator: L.value,
|
|
137
|
+
placement: t.tooltipPlacement,
|
|
138
|
+
timeout: t.tooltipTimeout
|
|
139
|
+
}, {
|
|
140
|
+
default: O(() => [S(t.$slots, "tooltip", { text: t.tooltip }, () => [p(C(t.tooltip), 1)])]),
|
|
141
|
+
_: 3
|
|
142
|
+
}, 8, [
|
|
143
|
+
"activator",
|
|
144
|
+
"placement",
|
|
145
|
+
"timeout"
|
|
146
|
+
])) : u("", !0)
|
|
147
|
+
]),
|
|
148
|
+
_: 3
|
|
149
|
+
}, 16, [
|
|
150
|
+
"aria-disabled",
|
|
151
|
+
"aria-pressed",
|
|
152
|
+
"class",
|
|
153
|
+
"disabled",
|
|
154
|
+
"tabindex"
|
|
155
|
+
]));
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
//#endregion
|
|
159
|
+
export { A as default };
|
package/dist/index243.js
CHANGED
|
@@ -1,190 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var s;
|
|
8
|
-
return new Intl.NumberFormat(((s = t.number) == null ? void 0 : s.locale) ?? "en", {
|
|
9
|
-
minimumFractionDigits: a,
|
|
10
|
-
maximumFractionDigits: e,
|
|
11
|
-
roundingMode: "trunc"
|
|
12
|
-
});
|
|
13
|
-
}, P = (a, e = !0, t) => {
|
|
14
|
-
var s, r, n, l;
|
|
15
|
-
const u = ((s = t.number) == null ? void 0 : s.unsigned) !== !0 && a.startsWith("-") ? "-" : "", p = ((r = t.number) == null ? void 0 : r.fraction) ?? 0;
|
|
16
|
-
let o = N(0, p, t);
|
|
17
|
-
const k = o.formatToParts(1000.12), m = ((n = k.find((i) => i.type === "group")) == null ? void 0 : n.value) ?? " ", f = ((l = k.find((i) => i.type === "decimal")) == null ? void 0 : l.value) ?? ".", c = w(a, m, f);
|
|
18
|
-
if (Number.isNaN(parseFloat(c))) return u;
|
|
19
|
-
const v = c.split(".");
|
|
20
|
-
if (v[1] != null && v[1].length >= 1) {
|
|
21
|
-
const i = v[1].length <= p ? v[1].length : p;
|
|
22
|
-
o = N(i, p, t);
|
|
23
|
-
}
|
|
24
|
-
let d = o.format(parseFloat(c));
|
|
25
|
-
return e ? p > 0 && c.endsWith(".") && !c.slice(0, -1).includes(".") && (d += f) : d = w(d, m, f), u + d;
|
|
26
|
-
}, I = (a) => JSON.parse(a.replaceAll("'", '"')), T = (a, e = {}) => {
|
|
27
|
-
const t = { ...e };
|
|
28
|
-
a.dataset.maska != null && a.dataset.maska !== "" && (t.mask = F(a.dataset.maska)), a.dataset.maskaEager != null && (t.eager = E(a.dataset.maskaEager)), a.dataset.maskaReversed != null && (t.reversed = E(a.dataset.maskaReversed)), a.dataset.maskaTokensReplace != null && (t.tokensReplace = E(a.dataset.maskaTokensReplace)), a.dataset.maskaTokens != null && (t.tokens = O(a.dataset.maskaTokens));
|
|
29
|
-
const s = {};
|
|
30
|
-
return a.dataset.maskaNumberLocale != null && (s.locale = a.dataset.maskaNumberLocale), a.dataset.maskaNumberFraction != null && (s.fraction = parseInt(a.dataset.maskaNumberFraction)), a.dataset.maskaNumberUnsigned != null && (s.unsigned = E(a.dataset.maskaNumberUnsigned)), (a.dataset.maskaNumber != null || Object.values(s).length > 0) && (t.number = s), t;
|
|
31
|
-
}, E = (a) => a !== "" ? !!JSON.parse(a) : !0, F = (a) => a.startsWith("[") && a.endsWith("]") ? I(a) : a, O = (a) => {
|
|
32
|
-
if (a.startsWith("{") && a.endsWith("}"))
|
|
33
|
-
return I(a);
|
|
34
|
-
const e = {};
|
|
35
|
-
return a.split("|").forEach((t) => {
|
|
36
|
-
const s = t.split(":");
|
|
37
|
-
e[s[0]] = {
|
|
38
|
-
pattern: S() ? new RegExp(s[1], "u") : new RegExp(s[1]),
|
|
39
|
-
optional: s[2] === "optional",
|
|
40
|
-
multiple: s[2] === "multiple",
|
|
41
|
-
repeated: s[2] === "repeated"
|
|
42
|
-
};
|
|
43
|
-
}), e;
|
|
44
|
-
}, S = () => {
|
|
45
|
-
try {
|
|
46
|
-
return new RegExp("\\p{L}", "u"), !0;
|
|
47
|
-
} catch {
|
|
48
|
-
return !1;
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
class W {
|
|
52
|
-
constructor(e = {}) {
|
|
53
|
-
y(this, "opts", {}), y(this, "memo", /* @__PURE__ */ new Map());
|
|
54
|
-
const t = { ...e };
|
|
55
|
-
if (t.tokens != null) {
|
|
56
|
-
t.tokens = t.tokensReplace ? { ...t.tokens } : { ...M, ...t.tokens };
|
|
57
|
-
for (const s of Object.values(t.tokens))
|
|
58
|
-
typeof s.pattern == "string" && (s.pattern = S() ? new RegExp(s.pattern, "u") : new RegExp(s.pattern));
|
|
59
|
-
} else
|
|
60
|
-
t.tokens = M;
|
|
61
|
-
Array.isArray(t.mask) && (t.mask.length > 1 ? t.mask = [...t.mask].sort((s, r) => s.length - r.length) : t.mask = t.mask[0] ?? ""), t.mask === "" && (t.mask = null), this.opts = t;
|
|
62
|
-
}
|
|
63
|
-
masked(e) {
|
|
64
|
-
return this.process(String(e), this.findMask(String(e)));
|
|
65
|
-
}
|
|
66
|
-
unmasked(e) {
|
|
67
|
-
return this.process(String(e), this.findMask(String(e)), !1);
|
|
68
|
-
}
|
|
69
|
-
isEager() {
|
|
70
|
-
return this.opts.eager === !0;
|
|
71
|
-
}
|
|
72
|
-
isReversed() {
|
|
73
|
-
return this.opts.reversed === !0;
|
|
74
|
-
}
|
|
75
|
-
completed(e) {
|
|
76
|
-
const t = this.findMask(String(e));
|
|
77
|
-
if (this.opts.mask == null || t == null) return !1;
|
|
78
|
-
const s = this.process(String(e), t).length;
|
|
79
|
-
return typeof this.opts.mask == "string" ? s >= this.opts.mask.length : s >= t.length;
|
|
80
|
-
}
|
|
81
|
-
findMask(e) {
|
|
82
|
-
const t = this.opts.mask;
|
|
83
|
-
if (t == null)
|
|
84
|
-
return null;
|
|
85
|
-
if (typeof t == "string")
|
|
86
|
-
return t;
|
|
87
|
-
if (typeof t == "function")
|
|
88
|
-
return t(e);
|
|
89
|
-
const s = this.process(e, t.slice(-1).pop() ?? "", !1);
|
|
90
|
-
return t.find((r) => this.process(e, r, !1).length >= s.length) ?? "";
|
|
91
|
-
}
|
|
92
|
-
escapeMask(e) {
|
|
93
|
-
const t = [], s = [];
|
|
94
|
-
return e.split("").forEach((r, n) => {
|
|
95
|
-
r === "!" && e[n - 1] !== "!" ? s.push(n - s.length) : t.push(r);
|
|
96
|
-
}), { mask: t.join(""), escaped: s };
|
|
97
|
-
}
|
|
98
|
-
process(e, t, s = !0) {
|
|
99
|
-
if (this.opts.number != null) return P(e, s, this.opts);
|
|
100
|
-
if (t == null) return e;
|
|
101
|
-
const r = `v=${e},mr=${t},m=${s ? 1 : 0}`;
|
|
102
|
-
if (this.memo.has(r)) return this.memo.get(r);
|
|
103
|
-
const { mask: n, escaped: l } = this.escapeMask(t), u = [], p = this.opts.tokens != null ? this.opts.tokens : {}, o = this.isReversed() ? -1 : 1, k = this.isReversed() ? "unshift" : "push", m = this.isReversed() ? 0 : n.length - 1, f = this.isReversed() ? () => i > -1 && h > -1 : () => i < n.length && h < e.length, c = (b) => !this.isReversed() && b <= m || this.isReversed() && b >= m;
|
|
104
|
-
let v, d = -1, i = this.isReversed() ? n.length - 1 : 0, h = this.isReversed() ? e.length - 1 : 0, R = !1;
|
|
105
|
-
for (; f(); ) {
|
|
106
|
-
const b = n.charAt(i), g = p[b], A = g?.transform != null ? g.transform(e.charAt(h)) : e.charAt(h);
|
|
107
|
-
if (!l.includes(i) && g != null ? (A.match(g.pattern) != null ? (u[k](A), g.repeated ? (d === -1 ? d = i : i === m && i !== d && (i = d - o), m === d && (i -= o)) : g.multiple && (R = !0, i -= o), i += o) : g.multiple ? R && (i += o, h -= o, R = !1) : A === v ? v = void 0 : g.optional && (i += o, h -= o), h += o) : (s && !this.isEager() && u[k](b), A === b && !this.isEager() ? h += o : v = b, this.isEager() || (i += o)), this.isEager())
|
|
108
|
-
for (; c(i) && (p[n.charAt(i)] == null || l.includes(i)); ) {
|
|
109
|
-
if (s) {
|
|
110
|
-
if (u[k](n.charAt(i)), e.charAt(h) === n.charAt(i)) {
|
|
111
|
-
i += o, h += o;
|
|
112
|
-
continue;
|
|
113
|
-
}
|
|
114
|
-
} else n.charAt(i) === e.charAt(h) && (h += o);
|
|
115
|
-
i += o;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
return this.memo.set(r, u.join("")), this.memo.get(r);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
class V {
|
|
122
|
-
constructor(e, t = {}) {
|
|
123
|
-
y(this, "items", /* @__PURE__ */ new Map()), y(this, "eventAbortController"), y(this, "onInput", (s) => {
|
|
124
|
-
if (s instanceof CustomEvent && s.type === "input" && !s.isTrusted && !s.bubbles)
|
|
125
|
-
return;
|
|
126
|
-
const r = s.target, n = this.items.get(r);
|
|
127
|
-
if (n === void 0) return;
|
|
128
|
-
const l = "inputType" in s && s.inputType.startsWith("delete"), u = n.isEager(), p = l && u && n.unmasked(r.value) === "" ? "" : r.value;
|
|
129
|
-
this.fixCursor(r, l, () => this.setValue(r, p));
|
|
130
|
-
}), this.options = t, this.eventAbortController = new AbortController(), this.init(this.getInputs(e));
|
|
131
|
-
}
|
|
132
|
-
update(e = {}) {
|
|
133
|
-
this.options = { ...e }, this.init(Array.from(this.items.keys()));
|
|
134
|
-
}
|
|
135
|
-
updateValue(e) {
|
|
136
|
-
var t;
|
|
137
|
-
e.value !== "" && e.value !== ((t = this.processInput(e)) == null ? void 0 : t.masked) && this.setValue(e, e.value);
|
|
138
|
-
}
|
|
139
|
-
destroy() {
|
|
140
|
-
this.eventAbortController.abort(), this.items.clear();
|
|
141
|
-
}
|
|
142
|
-
init(e) {
|
|
143
|
-
const t = this.getOptions(this.options);
|
|
144
|
-
for (const s of e) {
|
|
145
|
-
if (!this.items.has(s)) {
|
|
146
|
-
const { signal: n } = this.eventAbortController;
|
|
147
|
-
s.addEventListener("input", this.onInput, { capture: !0, signal: n });
|
|
148
|
-
}
|
|
149
|
-
const r = new W(T(s, t));
|
|
150
|
-
this.items.set(s, r), queueMicrotask(() => this.updateValue(s)), s.selectionStart === null && r.isEager() && console.warn("Maska: input of `%s` type is not supported", s.type);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
getInputs(e) {
|
|
154
|
-
return typeof e == "string" ? Array.from(document.querySelectorAll(e)) : "length" in e ? Array.from(e) : [e];
|
|
155
|
-
}
|
|
156
|
-
getOptions(e) {
|
|
157
|
-
const { onMaska: t, preProcess: s, postProcess: r, ...n } = e;
|
|
158
|
-
return n;
|
|
159
|
-
}
|
|
160
|
-
fixCursor(e, t, s) {
|
|
161
|
-
var r, n;
|
|
162
|
-
const l = e.selectionStart, u = e.value;
|
|
163
|
-
if (s(), l === null || l === u.length && !t) return;
|
|
164
|
-
const p = e.value, o = u.slice(0, l), k = p.slice(0, l), m = (r = this.processInput(e, o)) == null ? void 0 : r.unmasked, f = (n = this.processInput(e, k)) == null ? void 0 : n.unmasked;
|
|
165
|
-
if (m === void 0 || f === void 0) return;
|
|
166
|
-
let c = l;
|
|
167
|
-
o !== k && (c += t ? p.length - u.length : m.length - f.length), e.setSelectionRange(c, c);
|
|
168
|
-
}
|
|
169
|
-
setValue(e, t) {
|
|
170
|
-
const s = this.processInput(e, t);
|
|
171
|
-
s !== void 0 && (e.value = s.masked, this.options.onMaska != null && (Array.isArray(this.options.onMaska) ? this.options.onMaska.forEach((r) => r(s)) : this.options.onMaska(s)), e.dispatchEvent(new CustomEvent("maska", { detail: s })), e.dispatchEvent(new CustomEvent("input", { detail: s.masked })));
|
|
172
|
-
}
|
|
173
|
-
processInput(e, t) {
|
|
174
|
-
const s = this.items.get(e);
|
|
175
|
-
if (s === void 0) return;
|
|
176
|
-
let r = t ?? e.value;
|
|
177
|
-
this.options.preProcess != null && (r = this.options.preProcess(r));
|
|
178
|
-
let n = s.masked(r);
|
|
179
|
-
return this.options.postProcess != null && (n = this.options.postProcess(n)), {
|
|
180
|
-
masked: n,
|
|
181
|
-
unmasked: s.unmasked(r),
|
|
182
|
-
completed: s.completed(r)
|
|
183
|
-
};
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
export {
|
|
187
|
-
W as Mask,
|
|
188
|
-
V as MaskInput,
|
|
189
|
-
M as tokens
|
|
190
|
-
};
|
|
1
|
+
import e from "./index241.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
//#region src/components/BbButton/BbButton.vue
|
|
4
|
+
var t = e;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { t as default };
|
package/dist/index244.js
CHANGED
|
@@ -1,5 +1,134 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import e from "./index85.js";
|
|
2
|
+
import t from "./index145.js";
|
|
3
|
+
import { computed as n, createBlock as r, createVNode as i, defineComponent as a, guardReactiveProps as o, mergeProps as s, normalizeProps as c, openBlock as l, ref as u, renderSlot as d, withCtx as f } from "vue";
|
|
4
|
+
//#region src/components/BbCheckbox/BbCheckbox.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var p = /* @__PURE__ */ a({
|
|
6
|
+
__name: "BbCheckbox",
|
|
7
|
+
props: {
|
|
8
|
+
autofocus: {},
|
|
9
|
+
checked: { type: [Boolean, String] },
|
|
10
|
+
color: {},
|
|
11
|
+
direction: { default: "auto" },
|
|
12
|
+
disabled: { type: Boolean },
|
|
13
|
+
errors: {},
|
|
14
|
+
falseValue: {},
|
|
15
|
+
hasErrors: { type: Boolean },
|
|
16
|
+
hideLabel: { type: Boolean },
|
|
17
|
+
hint: {},
|
|
18
|
+
id: {},
|
|
19
|
+
indeterminate: {},
|
|
20
|
+
inputPosition: { default: "left" },
|
|
21
|
+
label: {},
|
|
22
|
+
labelPosition: {},
|
|
23
|
+
modelValue: {},
|
|
24
|
+
name: {},
|
|
25
|
+
persistentHint: { type: Boolean },
|
|
26
|
+
readonly: { type: Boolean },
|
|
27
|
+
required: { type: Boolean },
|
|
28
|
+
reverse: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: !0
|
|
31
|
+
},
|
|
32
|
+
submitWhenFalse: { type: Boolean },
|
|
33
|
+
trueValue: {}
|
|
34
|
+
},
|
|
35
|
+
emits: [
|
|
36
|
+
"blur",
|
|
37
|
+
"change",
|
|
38
|
+
"click",
|
|
39
|
+
"focus",
|
|
40
|
+
"input",
|
|
41
|
+
"keydown",
|
|
42
|
+
"mousedown",
|
|
43
|
+
"mouseup",
|
|
44
|
+
"update:modelValue"
|
|
45
|
+
],
|
|
46
|
+
setup(a, { emit: p }) {
|
|
47
|
+
let m = a, h = p, g = u(!1), _ = n(() => m.persistentHint || g.value), v = {
|
|
48
|
+
onBlur: (e) => {
|
|
49
|
+
g.value = !1, h("blur", e);
|
|
50
|
+
},
|
|
51
|
+
onChange: (e) => h("change", e),
|
|
52
|
+
onClick: (e) => h("click", e),
|
|
53
|
+
onFocus: (e) => {
|
|
54
|
+
g.value = !0, h("focus", e);
|
|
55
|
+
},
|
|
56
|
+
onInput: (e) => h("input", e),
|
|
57
|
+
onKeydown: (e) => h("keydown", e),
|
|
58
|
+
onMousedown: (e) => h("mousedown", e),
|
|
59
|
+
onMouseup: (e) => h("mouseup", e),
|
|
60
|
+
"onUpdate:modelValue": (e) => h("update:modelValue", e)
|
|
61
|
+
};
|
|
62
|
+
return (n, a) => (l(), r(t, {
|
|
63
|
+
id: n.id,
|
|
64
|
+
class: "bb-checkbox",
|
|
65
|
+
direction: n.direction,
|
|
66
|
+
errors: n.errors,
|
|
67
|
+
"has-errors": n.hasErrors,
|
|
68
|
+
"hide-label": n.hideLabel,
|
|
69
|
+
hint: n.hint,
|
|
70
|
+
"input-position": n.inputPosition,
|
|
71
|
+
label: n.label,
|
|
72
|
+
"label-position": n.labelPosition,
|
|
73
|
+
"label-tag": "span",
|
|
74
|
+
name: n.name,
|
|
75
|
+
reverse: n.reverse,
|
|
76
|
+
"show-hint": _.value,
|
|
77
|
+
tag: "label"
|
|
78
|
+
}, {
|
|
79
|
+
label: f((e) => [d(n.$slots, "label", c(o(e)))]),
|
|
80
|
+
input: f(({ id: t, hasErrors: r, ariaDescribedby: a }) => [i(e, s({
|
|
81
|
+
id: t,
|
|
82
|
+
"aria-describedby": a,
|
|
83
|
+
autofocus: n.autofocus,
|
|
84
|
+
checked: n.checked,
|
|
85
|
+
color: n.color,
|
|
86
|
+
disabled: n.disabled,
|
|
87
|
+
"false-value": n.falseValue,
|
|
88
|
+
"has-errors": r,
|
|
89
|
+
indeterminate: n.indeterminate,
|
|
90
|
+
"model-value": n.modelValue,
|
|
91
|
+
name: n.name,
|
|
92
|
+
readonly: n.readonly,
|
|
93
|
+
required: n.required,
|
|
94
|
+
"submit-when-false": n.submitWhenFalse,
|
|
95
|
+
"true-value": n.trueValue
|
|
96
|
+
}, v), {
|
|
97
|
+
icon: f((e) => [d(n.$slots, "icon", s(e, { text: n.label }))]),
|
|
98
|
+
_: 2
|
|
99
|
+
}, 1040, [
|
|
100
|
+
"id",
|
|
101
|
+
"aria-describedby",
|
|
102
|
+
"autofocus",
|
|
103
|
+
"checked",
|
|
104
|
+
"color",
|
|
105
|
+
"disabled",
|
|
106
|
+
"false-value",
|
|
107
|
+
"has-errors",
|
|
108
|
+
"indeterminate",
|
|
109
|
+
"model-value",
|
|
110
|
+
"name",
|
|
111
|
+
"readonly",
|
|
112
|
+
"required",
|
|
113
|
+
"submit-when-false",
|
|
114
|
+
"true-value"
|
|
115
|
+
])]),
|
|
116
|
+
_: 3
|
|
117
|
+
}, 8, [
|
|
118
|
+
"id",
|
|
119
|
+
"direction",
|
|
120
|
+
"errors",
|
|
121
|
+
"has-errors",
|
|
122
|
+
"hide-label",
|
|
123
|
+
"hint",
|
|
124
|
+
"input-position",
|
|
125
|
+
"label",
|
|
126
|
+
"label-position",
|
|
127
|
+
"name",
|
|
128
|
+
"reverse",
|
|
129
|
+
"show-hint"
|
|
130
|
+
]));
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
//#endregion
|
|
134
|
+
export { p as default };
|
package/dist/index246.js
CHANGED
|
@@ -1,36 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
setup(g) {
|
|
8
|
-
const { isInertia: r, isNuxt: s } = k();
|
|
9
|
-
let t;
|
|
10
|
-
if (r) {
|
|
11
|
-
if (t = o(e.inertiaLinkName), typeof t == "string") {
|
|
12
|
-
const { warn: n } = i();
|
|
13
|
-
n(
|
|
14
|
-
`Inertia link component "${e.inertiaLinkName}" could not be resolved. Ensure you app registers a link component with the name "${e.inertiaLinkName}" or set bitboss-ui config key "inertiaLinkName" to the correct value globally. Please visit ${e.documentationURL}/getting-started to resolve setup issues in bitboss-ui.`
|
|
15
|
-
);
|
|
16
|
-
}
|
|
17
|
-
} else if (s) {
|
|
18
|
-
if (t = o(e.nuxtLinkName), typeof t == "string") {
|
|
19
|
-
const { warn: n } = i();
|
|
20
|
-
n(
|
|
21
|
-
`Nuxt link component "${e.nuxtLinkName}" could not be resolved. Ensure you app registers a link component with the name "${e.nuxtLinkName}" or set bitboss-ui config key "nuxtLinkName" to the correct value globally. Please visit ${e.documentationURL}/getting-started to resolve setup issues in bitboss-ui.`
|
|
22
|
-
);
|
|
23
|
-
}
|
|
24
|
-
} else
|
|
25
|
-
t = "router-link";
|
|
26
|
-
return (n, d) => (l(), u(m(c(t)), null, {
|
|
27
|
-
default: p(() => [
|
|
28
|
-
f(n.$slots, "default")
|
|
29
|
-
]),
|
|
30
|
-
_: 3
|
|
31
|
-
}));
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
export {
|
|
35
|
-
y as default
|
|
36
|
-
};
|
|
1
|
+
import e from "./index244.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
//#region src/components/BbCheckbox/BbCheckbox.vue
|
|
4
|
+
var t = e;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { t as default };
|