bitboss-ui 2.1.111 → 2.1.113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/BaseButton/BaseButton.vue.d.ts +6 -0
- package/dist/components/BaseButton/RouterComponent.vue.d.ts +6 -2
- package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +9 -117
- package/dist/components/BaseCheckbox/types.d.ts +213 -0
- package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +1 -170
- package/dist/components/BaseCheckboxGroup/types.d.ts +275 -0
- package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +45 -151
- package/dist/components/BaseColorInput/ColorPalette.vue.d.ts +1 -17
- package/dist/components/BaseColorInput/types.d.ts +233 -0
- package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +21 -1
- package/dist/components/BaseDatePicker/BaseDatePickerInputDaySelector.vue.d.ts +21 -17
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +118 -22
- package/dist/components/BaseDialog/BaseDialog.vue.d.ts +26 -0
- package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +13 -0
- package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +27 -0
- package/dist/components/BaseRadio/BaseRadio.vue.d.ts +26 -0
- package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +100 -0
- package/dist/components/BaseRating/BaseRating.vue.d.ts +14 -0
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +86 -0
- package/dist/components/BaseSlider/BaseSlider.vue.d.ts +34 -0
- package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +17 -2
- package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +1 -1
- package/dist/components/BaseTag/BaseTag.vue.d.ts +58 -20
- package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +18 -0
- package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +18 -0
- package/dist/components/BbAccordion/BbAccordion.vue.d.ts +20 -0
- package/dist/components/BbAlert/BbAlert.vue.d.ts +16 -0
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +8 -0
- package/dist/components/BbBadge/BbBadge.vue.d.ts +12 -0
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +66 -0
- package/dist/components/BbButton/BbButton.vue.d.ts +8 -0
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +47 -3
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +116 -4
- package/dist/components/BbChip/BbChip.vue.d.ts +6 -0
- package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +8 -0
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +16 -1
- package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +4 -4
- package/dist/components/BbConfirm/BbConfirmPortal.vue.d.ts +20 -5
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +46 -0
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +82 -4
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +86 -0
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +12 -0
- package/dist/components/BbIntersection/BbIntersection.vue.d.ts +12 -0
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +10 -0
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +24 -0
- package/dist/components/BbPagination/BbPagination.vue.d.ts +30 -0
- package/dist/components/BbPopover/BbPopover.vue.d.ts +36 -4
- package/dist/components/BbRadio/BbRadio.vue.d.ts +40 -0
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +110 -0
- package/dist/components/BbRating/BbRating.vue.d.ts +10 -0
- package/dist/components/BbRatio/BbRatio.vue.d.ts +6 -0
- package/dist/components/BbRows/BbRows.vue.d.ts +70 -12
- package/dist/components/BbSelect/BbSelect.vue.d.ts +79 -0
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +57 -0
- package/dist/components/BbSlider/BbSlider.vue.d.ts +10 -0
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +3 -0
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +41 -3
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +111 -3
- package/dist/components/BbTab/BbTab.vue.d.ts +48 -0
- package/dist/components/BbTable/types.d.ts +63 -0
- package/dist/components/BbTag/BbTag.vue.d.ts +23 -0
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +15 -0
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +15 -0
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +18 -4
- package/dist/components/BbTree/BbTree.vue.d.ts +13 -0
- package/dist/components/CommonInputInnerContainer.vue.d.ts +42 -6
- package/dist/components/CommonInputOuterContainer.vue.d.ts +26 -4
- package/dist/components/CommonPopover.vue.d.ts +10 -2
- package/dist/components/FlatListBox.vue.d.ts +65 -5
- package/dist/components/GroupedListBox.vue.d.ts +92 -9
- package/dist/components/ListBox.vue.d.ts +85 -17
- package/dist/components/OptionsContainer.vue.d.ts +121 -13
- package/dist/components/Transitions/ScaleFade.vue.d.ts +6 -2
- package/dist/components/Transitions/Slide.vue.d.ts +6 -2
- package/dist/composables/useToast.d.ts +3 -3
- package/dist/index.css +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +156 -155
- package/dist/index109.js +9 -9
- package/dist/index11.js +1 -1
- package/dist/index110.js +20 -20
- package/dist/index118.js +1 -1
- package/dist/index12.js +2 -2
- package/dist/index124.js +9 -9
- package/dist/index126.js +13 -13
- package/dist/index13.js +6 -6
- package/dist/index134.js +1 -1
- package/dist/index136.js +6 -6
- package/dist/index138.js +1 -1
- package/dist/index14.js +2 -2
- package/dist/index140.js +2 -2
- package/dist/index142.js +12 -13
- package/dist/index144.js +11 -2
- package/dist/index145.js +2 -419
- package/dist/index146.js +417 -7
- package/dist/index147.js +8 -8
- package/dist/index148.js +9 -25
- package/dist/index149.js +25 -2
- package/dist/index150.js +2 -5
- package/dist/index151.js +5 -6
- package/dist/index152.js +5 -4
- package/dist/index153.js +5 -3
- package/dist/index154.js +1 -1
- package/dist/index155.js +1 -1
- package/dist/index156.js +1 -1
- package/dist/index157.js +1 -1
- package/dist/index158.js +1 -1
- package/dist/index159.js +1 -1
- package/dist/index16.js +16 -15
- package/dist/index160.js +1 -1
- package/dist/index161.js +1 -1
- package/dist/index162.js +1 -1
- package/dist/index163.js +1 -1
- package/dist/index164.js +1 -1
- package/dist/index165.js +1 -1
- package/dist/index166.js +1 -1
- package/dist/index167.js +1 -1
- package/dist/index168.js +1 -1
- package/dist/index169.js +1 -1
- package/dist/index170.js +1 -1
- package/dist/index171.js +1 -1
- package/dist/index172.js +1 -1
- package/dist/index173.js +1 -1
- package/dist/index174.js +1 -1
- package/dist/index175.js +1 -1
- package/dist/index176.js +1 -1
- package/dist/index177.js +1 -1
- package/dist/index178.js +1 -1
- package/dist/index179.js +1 -1
- package/dist/index18.js +6 -6
- package/dist/index180.js +1 -1
- package/dist/index181.js +1 -1
- package/dist/index182.js +1 -1
- package/dist/index183.js +3 -2
- package/dist/index184.js +2 -3
- package/dist/index185.js +3 -2
- package/dist/index186.js +2 -3
- package/dist/index187.js +1 -1
- package/dist/index188.js +1 -1
- package/dist/index189.js +1 -1
- package/dist/index190.js +1 -1
- package/dist/index191.js +1 -1
- package/dist/index192.js +3 -2
- package/dist/index193.js +2 -3
- package/dist/index194.js +1 -1
- package/dist/index195.js +1 -1
- package/dist/index196.js +1 -1
- package/dist/index197.js +2 -2
- package/dist/index198.js +1 -1
- package/dist/index199.js +1 -1
- package/dist/index20.js +8 -8
- package/dist/index200.js +1 -1
- package/dist/index201.js +1 -1
- package/dist/index202.js +3 -2
- package/dist/index203.js +2 -3
- package/dist/index204.js +1 -1
- package/dist/index205.js +1 -1
- package/dist/index206.js +1 -1
- package/dist/index207.js +1 -1
- package/dist/index208.js +1 -1
- package/dist/index209.js +1 -1
- package/dist/index210.js +1 -1
- package/dist/index211.js +1 -1
- package/dist/index212.js +1 -1
- package/dist/index213.js +1 -1
- package/dist/index214.js +1 -1
- package/dist/index215.js +1 -1
- package/dist/index216.js +1 -1
- package/dist/index217.js +1 -1
- package/dist/index218.js +1 -1
- package/dist/index219.js +5 -0
- package/dist/index22.js +14 -14
- package/dist/index220.js +3 -7
- package/dist/index221.js +2 -138
- package/dist/index222.js +138 -2
- package/dist/index224.js +34 -5
- package/dist/index225.js +32 -7
- package/dist/index226.js +28 -33
- package/dist/index228.js +7 -0
- package/dist/index229.js +8 -7
- package/dist/index230.js +7 -2
- package/dist/index231.js +2 -2
- package/dist/index232.js +9 -4
- package/dist/index233.js +13 -2
- package/dist/index234.js +3 -2
- package/dist/index235.js +2 -13
- package/dist/index236.js +11 -33
- package/dist/index237.js +8 -3
- package/dist/index238.js +3 -8
- package/dist/index239.js +3 -6
- package/dist/index24.js +56 -55
- package/dist/index240.js +2 -16
- package/dist/index241.js +18 -3
- package/dist/index242.js +11 -12
- package/dist/index243.js +49 -133
- package/dist/index244.js +20 -0
- package/dist/index245.js +12 -4
- package/dist/index246.js +16 -22
- package/dist/index247.js +30 -5
- package/dist/index248.js +18 -5
- package/dist/index249.js +4 -5
- package/dist/index250.js +106 -5
- package/dist/index252.js +100 -6
- package/dist/index254.js +130 -47
- package/dist/index256.js +99 -24
- package/dist/index257.js +13 -60
- package/dist/index258.js +2 -9
- package/dist/index259.js +7 -21
- package/dist/index26.js +4 -4
- package/dist/index260.js +7 -30
- package/dist/index261.js +86 -18
- package/dist/index263.js +5 -51
- package/dist/index264.js +5 -12
- package/dist/index265.js +5 -53
- package/dist/index266.js +5 -10
- package/dist/index267.js +5 -3
- package/dist/index268.js +5 -3
- package/dist/index269.js +58 -77
- package/dist/index270.js +35 -0
- package/dist/index271.js +2 -18
- package/dist/index272.js +2 -373
- package/dist/index273.js +5 -0
- package/dist/index274.js +3 -3
- package/dist/index275.js +21 -18
- package/dist/index276.js +6 -5
- package/dist/index277.js +13 -5
- package/dist/index278.js +5 -5
- package/dist/index279.js +6 -3
- package/dist/index28.js +2 -2
- package/dist/index280.js +268 -5
- package/dist/index281.js +52 -11
- package/dist/index282.js +51 -17
- package/dist/index283.js +32 -12
- package/dist/index284.js +56 -103
- package/dist/index285.js +4 -6
- package/dist/index286.js +19 -105
- package/dist/index287.js +7 -0
- package/dist/index288.js +367 -94
- package/dist/index290.js +6 -188
- package/dist/index291.js +16 -3
- package/dist/index292.js +9 -8
- package/dist/index293.js +3 -23
- package/dist/index294.js +7 -32
- package/dist/index295.js +21 -3
- package/dist/index296.js +9 -2
- package/dist/index297.js +23 -7
- package/dist/index298.js +25 -7
- package/dist/index299.js +187 -8
- package/dist/index30.js +23 -22
- package/dist/index300.js +3 -67
- package/dist/index301.js +3 -13
- package/dist/index302.js +52 -24
- package/dist/index304.js +7 -3
- package/dist/index305.js +3 -4
- package/dist/index306.js +2 -719
- package/dist/index307.js +5 -366
- package/dist/index308.js +7 -57
- package/dist/index309.js +3 -280
- package/dist/index310.js +3 -2
- package/dist/index311.js +3 -16
- package/dist/index312.js +2 -2
- package/dist/index313.js +27 -15
- package/dist/index314.js +17 -2
- package/dist/index315.js +4 -27
- package/dist/index316.js +2 -2
- package/dist/index317.js +3 -2
- package/dist/index318.js +280 -2
- package/dist/index319.js +2 -2
- package/dist/index32.js +2 -2
- package/dist/index320.js +125 -2
- package/dist/index321.js +2 -28
- package/dist/index322.js +15 -2
- package/dist/index323.js +2 -7
- package/dist/index324.js +16 -5
- package/dist/index325.js +2 -3
- package/dist/index326.js +16 -17
- package/dist/index327.js +2 -3
- package/dist/index328.js +19 -3
- package/dist/index329.js +2 -2
- package/dist/index330.js +26 -3
- package/dist/index331.js +2 -125
- package/dist/index332.js +2 -2
- package/dist/index333.js +2 -15
- package/dist/index334.js +2 -2
- package/dist/index335.js +2 -19
- package/dist/index336.js +2 -2
- package/dist/index337.js +1 -1
- package/dist/index338.js +4 -3
- package/dist/index339.js +719 -2
- package/dist/index34.js +8 -8
- package/dist/index340.js +366 -2
- package/dist/index341.js +57 -5
- package/dist/index343.js +5 -7
- package/dist/index344.js +35 -5
- package/dist/index345.js +125 -31
- package/dist/index346.js +382 -113
- package/dist/index347.js +198 -396
- package/dist/index348.js +259 -7
- package/dist/index349.js +226 -17
- package/dist/index350.js +67 -9
- package/dist/index351.js +66 -14
- package/dist/index352.js +2 -228
- package/dist/index353.js +2 -67
- package/dist/index354.js +133 -66
- package/dist/index355.js +7 -200
- package/dist/index356.js +17 -257
- package/dist/index357.js +9 -22
- package/dist/index358.js +17 -0
- package/dist/index359.js +5 -134
- package/dist/index36.js +5 -5
- package/dist/index360.js +7 -2
- package/dist/index361.js +21 -1
- package/dist/index363.js +87 -435
- package/dist/index364.js +427 -114
- package/dist/index365.js +127 -46
- package/dist/index366.js +44 -67
- package/dist/index367.js +66 -516
- package/dist/index368.js +515 -45
- package/dist/index369.js +52 -0
- package/dist/index38.js +55 -54
- package/dist/index40.js +8 -8
- package/dist/index42.js +2 -2
- package/dist/index44.js +8 -8
- package/dist/index46.js +35 -34
- package/dist/index48.js +15 -14
- package/dist/index50.js +38 -37
- package/dist/index54.js +1 -1
- package/dist/index56.js +2 -2
- package/dist/index58.js +2 -2
- package/dist/index60.js +3 -3
- package/dist/index62.js +6 -6
- package/dist/index68.js +1 -1
- package/dist/index7.js +2 -2
- package/dist/index74.js +4 -4
- package/dist/index82.js +8 -8
- package/dist/index84.js +1 -1
- package/dist/index86.js +2 -2
- package/dist/index88.js +3 -3
- package/dist/index9.js +1 -1
- package/dist/index90.js +1 -1
- package/dist/index93.js +4 -4
- package/dist/index95.js +3 -3
- package/dist/index97.js +6 -6
- package/dist/index99.js +2 -2
- package/package.json +2 -2
- package/dist/index143.js +0 -13
- package/dist/index227.js +0 -30
- package/dist/index251.js +0 -4
- package/dist/index253.js +0 -270
- package/dist/index255.js +0 -54
- package/dist/index262.js +0 -19
- package/dist/index362.js +0 -95
package/dist/index50.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent as V, ref as h, computed as v, onMounted as B, onBeforeUnmount as M, watch as g, createElementBlock as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as V, ref as h, computed as v, onMounted as B, onBeforeUnmount as M, watch as g, createElementBlock as u, openBlock as r, Fragment as $, createVNode as m, createElementVNode as w, normalizeClass as E, withCtx as l, unref as q, mergeProps as b, renderSlot as d } from "vue";
|
|
2
|
+
import C from "./index140.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import I from "./index142.js";
|
|
5
|
-
|
|
6
|
-
import {
|
|
7
|
-
|
|
5
|
+
/* empty css */
|
|
6
|
+
import { MaskInput as z } from "./index299.js";
|
|
7
|
+
import { isNotEmpty as D } from "./index300.js";
|
|
8
|
+
const N = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type"], F = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type", "value"], A = /* @__PURE__ */ V({
|
|
8
9
|
__name: "BaseTextInput",
|
|
9
10
|
props: {
|
|
10
11
|
"append:icon": {},
|
|
@@ -30,7 +31,7 @@ const N = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
|
|
|
30
31
|
},
|
|
31
32
|
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
|
32
33
|
setup(c, { emit: f }) {
|
|
33
|
-
const a = c, o = f,
|
|
34
|
+
const a = c, o = f, t = h(), y = v(() => ({
|
|
34
35
|
"bb-base-text-input": !0,
|
|
35
36
|
"bb-base-text-input--disabled": a.disabled,
|
|
36
37
|
"bb-base-text-input--errors": a.hasErrors,
|
|
@@ -38,16 +39,16 @@ const N = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
|
|
|
38
39
|
"bb-base-text-input--readonly": a.readonly,
|
|
39
40
|
"bb-base-text-input--compact": a.compact
|
|
40
41
|
}));
|
|
41
|
-
let
|
|
42
|
+
let i;
|
|
42
43
|
const k = (e) => {
|
|
43
44
|
a.mask && (e.detail.unmasked ? a.emitMasked ? o("update:modelValue", e.detail.masked) : o("update:modelValue", e.detail.unmasked) : o("update:modelValue", null));
|
|
44
45
|
}, s = (e) => {
|
|
45
|
-
|
|
46
|
+
t.value.value = e ?? "", i.updateValue(t.value);
|
|
46
47
|
};
|
|
47
48
|
B(() => {
|
|
48
|
-
a.mask && (
|
|
49
|
+
a.mask && (i = new z(t.value, a.mask), s(a.modelValue));
|
|
49
50
|
}), M(() => {
|
|
50
|
-
a.mask &&
|
|
51
|
+
a.mask && i?.destroy();
|
|
51
52
|
}), g(
|
|
52
53
|
() => a.modelValue,
|
|
53
54
|
(e) => {
|
|
@@ -62,49 +63,49 @@ const N = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
|
|
|
62
63
|
onKeydown: (e) => o("keydown", e),
|
|
63
64
|
onInput: (e) => {
|
|
64
65
|
if (!a.mask && e.target instanceof HTMLInputElement) {
|
|
65
|
-
const
|
|
66
|
-
o("update:modelValue",
|
|
66
|
+
const n = e.target.value;
|
|
67
|
+
o("update:modelValue", n || null);
|
|
67
68
|
}
|
|
68
69
|
o("input", e);
|
|
69
70
|
},
|
|
70
71
|
onMousedown: (e) => o("mousedown", e),
|
|
71
72
|
onMouseup: (e) => o("mouseup", e)
|
|
72
73
|
};
|
|
73
|
-
return (e,
|
|
74
|
+
return (e, n) => (r(), u($, null, [
|
|
74
75
|
m(I, {
|
|
75
|
-
class:
|
|
76
|
+
class: E(y.value)
|
|
76
77
|
}, {
|
|
77
|
-
"prepend-outer":
|
|
78
|
-
|
|
78
|
+
"prepend-outer": l(() => [
|
|
79
|
+
d(e.$slots, "prepend-outer")
|
|
79
80
|
]),
|
|
80
|
-
"append-outer":
|
|
81
|
-
|
|
81
|
+
"append-outer": l(() => [
|
|
82
|
+
d(e.$slots, "append-outer")
|
|
82
83
|
]),
|
|
83
|
-
default:
|
|
84
|
-
m(
|
|
84
|
+
default: l(() => [
|
|
85
|
+
m(C, {
|
|
85
86
|
"append:icon": a["append:icon"],
|
|
86
|
-
clearable: a.clearable &&
|
|
87
|
+
clearable: a.clearable && q(D)(a.modelValue),
|
|
87
88
|
"prepend:icon": a["prepend:icon"],
|
|
88
|
-
"onClick:clear":
|
|
89
|
+
"onClick:clear": n[0] || (n[0] = (L) => e.$emit("update:modelValue", null))
|
|
89
90
|
}, {
|
|
90
|
-
prepend:
|
|
91
|
-
|
|
91
|
+
prepend: l(() => [
|
|
92
|
+
d(e.$slots, "prepend")
|
|
92
93
|
]),
|
|
93
|
-
prefix:
|
|
94
|
-
|
|
94
|
+
prefix: l(() => [
|
|
95
|
+
d(e.$slots, "prefix")
|
|
95
96
|
]),
|
|
96
|
-
append:
|
|
97
|
-
|
|
97
|
+
append: l(() => [
|
|
98
|
+
d(e.$slots, "append")
|
|
98
99
|
]),
|
|
99
|
-
suffix:
|
|
100
|
-
|
|
100
|
+
suffix: l(() => [
|
|
101
|
+
d(e.$slots, "suffix")
|
|
101
102
|
]),
|
|
102
|
-
default:
|
|
103
|
-
e.mask ? (r(),
|
|
103
|
+
default: l(() => [
|
|
104
|
+
e.mask ? (r(), u("input", b({
|
|
104
105
|
key: 0,
|
|
105
106
|
id: e.id,
|
|
106
107
|
ref_key: "input",
|
|
107
|
-
ref:
|
|
108
|
+
ref: t,
|
|
108
109
|
"aria-describedby": e.ariaDescribedby,
|
|
109
110
|
"aria-invalid": e.hasErrors ? !0 : void 0,
|
|
110
111
|
autocomplete: e.autocomplete,
|
|
@@ -118,11 +119,11 @@ const N = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
|
|
|
118
119
|
required: e.required,
|
|
119
120
|
size: "1",
|
|
120
121
|
type: e.type
|
|
121
|
-
}, p, { onMaska: k }), null, 16, N)) : (r(),
|
|
122
|
+
}, p, { onMaska: k }), null, 16, N)) : (r(), u("input", b({
|
|
122
123
|
key: 1,
|
|
123
124
|
id: e.id,
|
|
124
125
|
ref_key: "input",
|
|
125
|
-
ref:
|
|
126
|
+
ref: t,
|
|
126
127
|
"aria-describedby": e.ariaDescribedby,
|
|
127
128
|
"aria-invalid": e.hasErrors ? !0 : void 0,
|
|
128
129
|
autocomplete: e.autocomplete,
|
|
@@ -144,10 +145,10 @@ const N = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
|
|
|
144
145
|
]),
|
|
145
146
|
_: 3
|
|
146
147
|
}, 8, ["class"]),
|
|
147
|
-
|
|
148
|
+
n[1] || (n[1] = w("span", null, null, -1))
|
|
148
149
|
], 64));
|
|
149
150
|
}
|
|
150
151
|
});
|
|
151
152
|
export {
|
|
152
|
-
|
|
153
|
+
A as default
|
|
153
154
|
};
|
package/dist/index54.js
CHANGED
package/dist/index56.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as b, computed as z, ref as o, onMounted as g, createElementBlock as l, openBlock as i, normalizeProps as _, guardReactiveProps as h, renderSlot as k } from "vue";
|
|
2
|
-
import { isCssColor as y } from "./
|
|
3
|
-
import { wait as C } from "./
|
|
2
|
+
import { isCssColor as y } from "./index235.js";
|
|
3
|
+
import { wait as C } from "./index145.js";
|
|
4
4
|
const w = ["alt", "sizes", "src", "srcset"], B = {
|
|
5
5
|
key: 1,
|
|
6
6
|
class: "bb-avatar__fallback"
|
package/dist/index58.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as p, useSlots as d, computed as s, createElementBlock as m, openBlock as u, normalizeClass as g, createElementVNode as n, renderSlot as r, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
|
|
2
|
-
import { isCssColor as l } from "./
|
|
3
|
-
import { isNil as B } from "./
|
|
2
|
+
import { isCssColor as l } from "./index235.js";
|
|
3
|
+
import { isNil as B } from "./index231.js";
|
|
4
4
|
const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, N = /* @__PURE__ */ p({
|
|
5
5
|
__name: "BbBadge",
|
|
6
6
|
props: {
|
package/dist/index60.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
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 "./
|
|
3
|
-
import { useLocale as ae } from "./
|
|
2
|
+
import { useResizeObserver as ie } from "./index146.js";
|
|
3
|
+
import { useLocale as ae } from "./index233.js";
|
|
4
4
|
import de from "./index14.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import re from "./index82.js";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import { estimateEllipsisWidth as le, estimateBreadcrumbItemWidth as oe } from "./
|
|
8
|
+
import { estimateEllipsisWidth as le, estimateBreadcrumbItemWidth as oe } from "./index298.js";
|
|
9
9
|
const ne = ["aria-label"], be = { class: "bb-breadcrumbs__container" }, ue = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "bb-breadcrumbs__edge bb-breadcrumbs__edge--prepend"
|
package/dist/index62.js
CHANGED
|
@@ -7,11 +7,11 @@ import f from "./index88.js";
|
|
|
7
7
|
/* empty css */
|
|
8
8
|
import J from "./index118.js";
|
|
9
9
|
/* empty css */
|
|
10
|
-
import { pickBy as K } from "./
|
|
11
|
-
import { noop as Q } from "./
|
|
12
|
-
import { useLocale as U } from "./
|
|
13
|
-
import { extractDomContainer as X } from "./
|
|
14
|
-
import { isEqual as $ } from "./
|
|
10
|
+
import { pickBy as K } from "./index292.js";
|
|
11
|
+
import { noop as Q } from "./index293.js";
|
|
12
|
+
import { useLocale as U } from "./index233.js";
|
|
13
|
+
import { extractDomContainer as X } from "./index274.js";
|
|
14
|
+
import { isEqual as $ } from "./index273.js";
|
|
15
15
|
const Y = {
|
|
16
16
|
key: 2,
|
|
17
17
|
class: "bb-button__loading-label sr-only"
|
|
@@ -65,7 +65,7 @@ const Y = {
|
|
|
65
65
|
emits: ["update:modelValue"],
|
|
66
66
|
setup(v, { expose: z }) {
|
|
67
67
|
const A = W(
|
|
68
|
-
() => import("./
|
|
68
|
+
() => import("./index217.js")
|
|
69
69
|
), o = v, i = q(v, "modelValue"), d = l(() => i.value !== void 0), y = l(() => $(i.value, o.trueValue)), { t: L } = U(), g = R(), c = V(), S = (e) => {
|
|
70
70
|
c.value = X(e) ?? void 0;
|
|
71
71
|
}, T = l(() => {
|
package/dist/index68.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as i, createElementBlock as o, openBlock as a, createElementVNode as t, createCommentVNode as p, renderSlot as b, createTextVNode as m, toDisplayString as u, withModifiers as d, unref as _ } from "vue";
|
|
2
|
-
import { useLocale as f } from "./
|
|
2
|
+
import { useLocale as f } from "./index233.js";
|
|
3
3
|
const h = { class: "bb-chip" }, L = { class: "bb-chip__content" }, k = ["aria-label"], B = /* @__PURE__ */ i({
|
|
4
4
|
__name: "BbChip",
|
|
5
5
|
props: {
|
package/dist/index7.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getAsPercentage as p } from "./
|
|
2
|
-
import { wait as w } from "./
|
|
1
|
+
import { getAsPercentage as p } from "./index144.js";
|
|
2
|
+
import { wait as w } from "./index145.js";
|
|
3
3
|
import { ref as c, computed as o, onBeforeUnmount as H } from "vue";
|
|
4
4
|
const Y = ({
|
|
5
5
|
duration: t,
|
package/dist/index74.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as L, ref as u, computed as m, watch as n, nextTick as P, onBeforeUnmount as C, createElementBlock as D, openBlock as R, Fragment as T, renderSlot as U, createCommentVNode as $, createVNode as g, normalizeProps as F, mergeProps as H, unref as I, withCtx as M } from "vue";
|
|
2
|
-
import { extractDomContainer as d } from "./
|
|
3
|
-
import { useLocale as N } from "./
|
|
4
|
-
import S from "./
|
|
2
|
+
import { extractDomContainer as d } from "./index274.js";
|
|
3
|
+
import { useLocale as N } from "./index233.js";
|
|
4
|
+
import S from "./index288.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import q from "./
|
|
6
|
+
import q from "./index254.js";
|
|
7
7
|
/* empty css */
|
|
8
8
|
const W = /* @__PURE__ */ L({
|
|
9
9
|
__name: "BbColorPalette",
|
package/dist/index82.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { defineComponent as fe, ref as C, computed as p, useTemplateRef as ve, watch as $, onBeforeUnmount as be, createElementBlock as M, openBlock as E, Fragment as B, renderSlot as v, createCommentVNode as V, createVNode as G, normalizeProps as ye, mergeProps as q, withCtx as x, createElementVNode as J, normalizeStyle as we, unref as Q, renderList as ge, createBlock as Z, toDisplayString as he } from "vue";
|
|
2
|
-
import { findRightIndex as R } from "./
|
|
2
|
+
import { findRightIndex as R } from "./index296.js";
|
|
3
3
|
import { useId as Ee } from "./index8.js";
|
|
4
|
-
import { useUntil as Le } from "./
|
|
5
|
-
import { wait as ke } from "./
|
|
4
|
+
import { useUntil as Le } from "./index257.js";
|
|
5
|
+
import { wait as ke } from "./index145.js";
|
|
6
6
|
import De from "./index14.js";
|
|
7
7
|
/* empty css */
|
|
8
8
|
import ee from "./index88.js";
|
|
9
9
|
/* empty css */
|
|
10
|
-
import $e from "./
|
|
10
|
+
import $e from "./index254.js";
|
|
11
11
|
/* empty css */
|
|
12
|
-
import te from "./
|
|
13
|
-
import { extractDomContainer as H } from "./
|
|
14
|
-
import { useIntersectionObserver as Ae, useElementSize as Se } from "./
|
|
15
|
-
import { parseWidthString as Pe } from "./
|
|
12
|
+
import te from "./index297.js";
|
|
13
|
+
import { extractDomContainer as H } from "./index274.js";
|
|
14
|
+
import { useIntersectionObserver as Ae, useElementSize as Se } from "./index146.js";
|
|
15
|
+
import { parseWidthString as Pe } from "./index275.js";
|
|
16
16
|
const Ie = ["id", "aria-labelledby", "inert"], Te = { class: "item__content" }, Oe = 500, _e = 10, ze = /* @__PURE__ */ fe({
|
|
17
17
|
inheritAttrs: !1,
|
|
18
18
|
__name: "BbDropdown",
|
package/dist/index84.js
CHANGED
|
@@ -9,7 +9,7 @@ import z from "./index88.js";
|
|
|
9
9
|
/* empty css */
|
|
10
10
|
import I from "./index118.js";
|
|
11
11
|
/* empty css */
|
|
12
|
-
import { useLocale as M } from "./
|
|
12
|
+
import { useLocale as M } from "./index233.js";
|
|
13
13
|
const O = { class: "bb-dropdown-button__content" }, R = {
|
|
14
14
|
key: 1,
|
|
15
15
|
class: "bb-dropdown-button__loading-label sr-only"
|
package/dist/index86.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as j, ref as g, watch as x, computed as m, createBlock as G, openBlock as V, resolveDynamicComponent as K, normalizeClass as O, withCtx as M, createElementVNode as c, withModifiers as y, renderSlot as U, normalizeProps as Y, guardReactiveProps as Z, createTextVNode as J, unref as Q, createVNode as W, createElementBlock as F, Fragment as X, renderList as ee, toDisplayString as te } from "vue";
|
|
2
|
-
import { findInTree as ae } from "./
|
|
2
|
+
import { findInTree as ae } from "./index291.js";
|
|
3
3
|
import { useId as re } from "./index8.js";
|
|
4
4
|
import oe from "./index116.js";
|
|
5
5
|
/* empty css */
|
|
@@ -53,7 +53,7 @@ const le = ["accept", "autofocus", "disabled", "multiple"], se = { class: "bb-dr
|
|
|
53
53
|
const r = a.accept[t];
|
|
54
54
|
if (r.includes("/")) e.push(r);
|
|
55
55
|
else {
|
|
56
|
-
b || (b = (await import("./
|
|
56
|
+
b || (b = (await import("./index290.js")).default);
|
|
57
57
|
const o = b.getType(r);
|
|
58
58
|
if (!o)
|
|
59
59
|
throw new Error(
|
package/dist/index88.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as $, ref as f, computed as a, getCurrentInstance as d, onServerPrefetch as I, onBeforeMount as _, watch as L, createElementBlock as M, openBlock as B, mergeProps as k, inject as A } from "vue";
|
|
2
|
-
import { isCssColor as C } from "./
|
|
3
|
-
import { get as m } from "./
|
|
4
|
-
import { useLogger as N } from "./
|
|
2
|
+
import { isCssColor as C } from "./index235.js";
|
|
3
|
+
import { get as m } from "./index236.js";
|
|
4
|
+
import { useLogger as N } from "./index237.js";
|
|
5
5
|
const S = ["innerHTML"], E = /* @__PURE__ */ $({
|
|
6
6
|
__name: "BbIcon",
|
|
7
7
|
props: {
|
package/dist/index9.js
CHANGED
package/dist/index90.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, createBlock as g, openBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
|
|
2
|
-
import { throttle as c } from "./
|
|
2
|
+
import { throttle as c } from "./index301.js";
|
|
3
3
|
const M = /* @__PURE__ */ h({
|
|
4
4
|
__name: "BbIntersection",
|
|
5
5
|
props: {
|
package/dist/index93.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as I, mergeModels as B, useModel as N, computed as p, ref as L, watch as P, onMounted as W, createElementBlock as d, openBlock as c, withModifiers as F, normalizeStyle as O, normalizeClass as q, unref as v, createCommentVNode as h, Fragment as A, createElementVNode as t, renderSlot as l, createTextVNode as H, toDisplayString as M, nextTick as K } from "vue";
|
|
2
|
-
import { parseSize as R } from "./
|
|
2
|
+
import { parseSize as R } from "./index277.js";
|
|
3
3
|
import { useId as $ } from "./index8.js";
|
|
4
|
-
import { useLocale as U } from "./
|
|
4
|
+
import { useLocale as U } from "./index233.js";
|
|
5
5
|
import { useMobile as j } from "./index9.js";
|
|
6
|
-
import { useUntil as G } from "./
|
|
7
|
-
import { wait as y } from "./
|
|
6
|
+
import { useUntil as G } from "./index257.js";
|
|
7
|
+
import { wait as y } from "./index145.js";
|
|
8
8
|
import { _config as J } from "./index4.js";
|
|
9
9
|
const Q = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], X = {
|
|
10
10
|
ref: "header",
|
package/dist/index95.js
CHANGED
|
@@ -3,9 +3,9 @@ import { defineComponent as V, mergeModels as W, useModel as U, computed as b, r
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
import P from "./index14.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { debounce as X } from "./
|
|
7
|
-
import { useLocale as H } from "./
|
|
8
|
-
import { useRoute as J } from "./
|
|
6
|
+
import { debounce as X } from "./index232.js";
|
|
7
|
+
import { useLocale as H } from "./index233.js";
|
|
8
|
+
import { useRoute as J } from "./index152.js";
|
|
9
9
|
const K = ["aria-label"], Q = { class: "bb-pagination__page-label sr-only" }, Y = { class: "bb-pagination__page-label" }, Z = { class: "bb-pagination__page-label" }, ee = { class: "bb-pagination__page-label sr-only" }, ue = /* @__PURE__ */ V({
|
|
10
10
|
__name: "BbPagination",
|
|
11
11
|
props: /* @__PURE__ */ W({
|
package/dist/index97.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as re, mergeModels as I, ref as N, useTemplateRef as ae, computed as s, useModel as ie, watch as C, createElementBlock as se, openBlock as Y, Fragment as le, renderSlot as G, createCommentVNode as W, createVNode as ue, normalizeProps as de, mergeProps as X, unref as S, withCtx as F, createElementVNode as B, createBlock as ce, nextTick as pe } from "vue";
|
|
2
2
|
import { useId as me } from "./index8.js";
|
|
3
|
-
import { useIntersectionObserver as ve, useElementSize as fe } from "./
|
|
4
|
-
import { useLocale as be } from "./
|
|
5
|
-
import { useUntil as he } from "./
|
|
3
|
+
import { useIntersectionObserver as ve, useElementSize as fe } from "./index146.js";
|
|
4
|
+
import { useLocale as be } from "./index233.js";
|
|
5
|
+
import { useUntil as he } from "./index257.js";
|
|
6
6
|
import ge from "./index14.js";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import we from "./
|
|
8
|
+
import we from "./index254.js";
|
|
9
9
|
/* empty css */
|
|
10
|
-
import { extractDomContainer as H } from "./
|
|
11
|
-
import { parseWidthString as U } from "./
|
|
10
|
+
import { extractDomContainer as H } from "./index274.js";
|
|
11
|
+
import { parseWidthString as U } from "./index275.js";
|
|
12
12
|
const Ee = ["inert"], Le = 500, ye = 10, De = /* @__PURE__ */ re({
|
|
13
13
|
inheritAttrs: !1,
|
|
14
14
|
__name: "BbPopover",
|
package/dist/index99.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as r, computed as a, createElementBlock as l, openBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
|
|
2
|
-
import { clamp as p } from "./
|
|
3
|
-
import { getAsPercentageBetween as i } from "./
|
|
2
|
+
import { clamp as p } from "./index221.js";
|
|
3
|
+
import { getAsPercentageBetween as i } from "./index144.js";
|
|
4
4
|
const _ = /* @__PURE__ */ r({
|
|
5
5
|
__name: "BbProgress",
|
|
6
6
|
props: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bitboss-ui",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.113",
|
|
4
4
|
"description": "Vue 3 component library by BitBoss: forms, selects, layout, overlays, and more.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -111,4 +111,4 @@
|
|
|
111
111
|
"lint-staged": {
|
|
112
112
|
"*.{js,css,md,html,json,vue,ts}": "prettier --write"
|
|
113
113
|
}
|
|
114
|
-
}
|
|
114
|
+
}
|
package/dist/index143.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { clamp as s } from "./index222.js";
|
|
2
|
-
const o = (n, e, r = !1) => {
|
|
3
|
-
const t = n * 100 / e;
|
|
4
|
-
return r ? s(t, 0, 100) : t;
|
|
5
|
-
}, g = (n, e, r, t = !1) => o(n - e, r - e, t), l = (n, e, r) => {
|
|
6
|
-
const t = r - e, c = n / 100 * t;
|
|
7
|
-
return e + c;
|
|
8
|
-
};
|
|
9
|
-
export {
|
|
10
|
-
o as getAsPercentage,
|
|
11
|
-
g as getAsPercentageBetween,
|
|
12
|
-
l as getValueFromPercentageInInterval
|
|
13
|
-
};
|
package/dist/index227.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { defineComponent as l, createElementBlock as n, openBlock as r, unref as a, createElementVNode as t } from "vue";
|
|
2
|
-
import { useLocale as s } from "./index235.js";
|
|
3
|
-
const c = ["aria-label"], b = /* @__PURE__ */ l({
|
|
4
|
-
__name: "ClearableButton",
|
|
5
|
-
setup(u) {
|
|
6
|
-
const { t: o } = s();
|
|
7
|
-
return (i, e) => (r(), n("button", {
|
|
8
|
-
"aria-label": a(o)("common.clearLabel").value,
|
|
9
|
-
class: "bb-clearable-button",
|
|
10
|
-
type: "button"
|
|
11
|
-
}, e[0] || (e[0] = [
|
|
12
|
-
t("svg", {
|
|
13
|
-
viewBox: "0 0 24 24",
|
|
14
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
15
|
-
}, [
|
|
16
|
-
t("path", {
|
|
17
|
-
d: "M12 12l7 7M12 12l-7 -7M12 12l-7 7M12 12l7 -7",
|
|
18
|
-
fill: "none",
|
|
19
|
-
stroke: "currentColor",
|
|
20
|
-
"stroke-linecap": "round",
|
|
21
|
-
"stroke-linejoin": "round",
|
|
22
|
-
"stroke-width": "2"
|
|
23
|
-
})
|
|
24
|
-
], -1)
|
|
25
|
-
]), 8, c));
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
export {
|
|
29
|
-
b as default
|
|
30
|
-
};
|
package/dist/index251.js
DELETED