bitboss-ui 2.0.38 → 2.0.40
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 +14 -31
- package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +19 -50
- package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +28 -244
- package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +100 -0
- package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +6 -28
- package/dist/components/BaseDatePicker/BaseDatePickerHeader.vue.d.ts +5 -15
- package/dist/components/BaseDatePicker/BaseDatePickerInputDaySelector.vue.d.ts +30 -31
- package/dist/components/BaseDatePicker/BaseDatePickerMonthSelector.vue.d.ts +4 -14
- package/dist/components/BaseDatePicker/BaseDatePickerYearSelector.vue.d.ts +4 -14
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +168 -52
- package/dist/components/BaseDialog/BaseDialog.vue.d.ts +25 -45
- package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +10 -35
- package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +16 -49
- package/dist/components/BaseRadio/BaseRadio.vue.d.ts +15 -34
- package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +28 -247
- package/dist/components/BaseRating/BaseRating.vue.d.ts +15 -46
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +348 -59
- package/dist/components/BaseSlider/BaseSlider.vue.d.ts +19 -53
- package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +15 -46
- package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +32 -244
- package/dist/components/BaseTag/BaseTag.vue.d.ts +214 -50
- package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +15 -44
- package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +13 -30
- package/dist/components/BbAccordion/BbAccordion.vue.d.ts +31 -45
- package/dist/components/BbAlert/BbAlert.vue.d.ts +26 -43
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +15 -28
- package/dist/components/BbBadge/BbBadge.vue.d.ts +13 -24
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +51 -66
- package/dist/components/BbButton/BbButton.vue.d.ts +13 -31
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +30 -65
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +36 -279
- package/dist/components/BbChip/BbChip.vue.d.ts +15 -32
- package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +13 -30
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +124 -0
- package/dist/components/BbConfirm/BbConfirm.vue.d.ts +24 -17
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +36 -51
- package/dist/components/BbDialog/BbDialog.vue.d.ts +14 -29
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +169 -193
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +190 -209
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +32 -45
- package/dist/components/BbIcon/BbIcon.vue.d.ts +2 -24
- package/dist/components/BbIntersection/BbIntersection.vue.d.ts +27 -50
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +102 -54
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +26 -48
- package/dist/components/BbPagination/BbPagination.vue.d.ts +35 -55
- package/dist/components/BbPopover/BbPopover.vue.d.ts +71 -93
- package/dist/components/BbProgress/BbProgress.vue.d.ts +2 -27
- package/dist/components/BbRadio/BbRadio.vue.d.ts +30 -63
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +38 -281
- package/dist/components/BbRating/BbRating.vue.d.ts +23 -56
- package/dist/components/BbRatio/BbRatio.vue.d.ts +14 -31
- package/dist/components/BbSelect/BbSelect.vue.d.ts +16 -158
- package/dist/components/BbSlider/BbSlider.vue.d.ts +23 -54
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +12 -34
- package/dist/components/BbSpinner/BbSpinner.vue.d.ts +2 -24
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +30 -63
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +38 -278
- package/dist/components/BbTab/BbTab.vue.d.ts +92 -107
- package/dist/components/BbTable/BbTable.vue.d.ts +93 -134
- package/dist/components/BbTable/types.d.ts +0 -1
- package/dist/components/BbTag/BbTag.vue.d.ts +13 -46
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +21 -40
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +21 -40
- package/dist/components/BbToast/BbToast.vue.d.ts +3 -24
- package/dist/components/BbToast/BbToastMessage.vue.d.ts +5 -27
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +15 -36
- package/dist/components/BbTree/BbTree.vue.d.ts +9 -29
- package/dist/components/ChipsBox.vue.d.ts +6 -16
- package/dist/components/CommaBox.vue.d.ts +6 -16
- package/dist/components/CommonFloating.vue.d.ts +14 -26
- package/dist/components/CommonInputInnerContainer.vue.d.ts +16 -15
- package/dist/components/CommonInputOuterContainer.vue.d.ts +12 -5
- package/dist/components/ErrorIcon.vue.d.ts +1 -1
- package/dist/components/ListBox.vue.d.ts +30 -47
- package/dist/components/OptionsContainer.vue.d.ts +30 -90
- package/dist/components/Transitions/Slide.vue.d.ts +12 -30
- package/dist/components/Transitions/SlideBack.vue.d.ts +12 -30
- package/dist/composables/useArray.d.ts +0 -1
- package/dist/composables/useBroadcastChannelInstance.d.ts +2 -2
- package/dist/composables/useConfirm.d.ts +0 -1
- package/dist/composables/useOptions.d.ts +0 -1
- package/dist/composables/useRoute.d.ts +0 -1
- package/dist/composables/useRouter.d.ts +0 -1
- package/dist/composables/useToast.d.ts +1 -2
- package/dist/composables/useWizard.d.ts +1 -2
- package/dist/index.d.ts +4 -1
- package/dist/index.js +142 -136
- package/dist/index100.js +129 -54
- package/dist/index102.js +66 -79
- package/dist/index104.js +85 -280
- package/dist/index106.js +108 -390
- package/dist/index108.js +280 -102
- package/dist/index11.js +1 -1
- package/dist/index110.js +391 -95
- package/dist/index112.js +55 -50
- package/dist/index114.js +106 -23
- package/dist/index116.js +101 -156
- package/dist/index118.js +22 -114
- package/dist/index12.js +6 -6
- package/dist/index120.js +143 -34
- package/dist/index122.js +116 -40
- package/dist/index124.js +36 -31
- package/dist/index125.js +44 -2
- package/dist/index126.js +44 -21
- package/dist/index127.js +47 -2
- package/dist/index128.js +32 -313
- package/dist/index129.js +2 -24
- package/dist/index13.js +1 -1
- package/dist/index130.js +21 -2
- package/dist/index131.js +2 -5
- package/dist/index132.js +315 -7
- package/dist/index133.js +24 -5
- package/dist/index134.js +2 -3
- package/dist/index135.js +5 -3
- package/dist/index136.js +9 -3
- package/dist/index137.js +6 -3
- package/dist/index138.js +1 -1
- package/dist/index139.js +1 -1
- package/dist/index140.js +1 -1
- package/dist/index141.js +1 -1
- package/dist/index142.js +1 -1
- package/dist/index143.js +1 -1
- package/dist/index144.js +1 -1
- package/dist/index145.js +1 -1
- package/dist/index146.js +1 -1
- package/dist/index147.js +1 -1
- package/dist/index148.js +1 -1
- package/dist/index149.js +1 -1
- package/dist/index15.js +122 -117
- package/dist/index150.js +1 -1
- package/dist/index151.js +1 -1
- package/dist/index152.js +1 -1
- package/dist/index153.js +1 -1
- 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/index160.js +2 -2
- package/dist/{index177.js → index161.js} +1 -1
- package/dist/index162.js +2 -2
- package/dist/{index166.js → index163.js} +1 -1
- package/dist/index165.js +2 -2
- package/dist/index167.js +2 -2
- package/dist/index169.js +1 -1
- package/dist/index17.js +119 -118
- package/dist/index170.js +2 -2
- package/dist/{index168.js → index171.js} +1 -1
- package/dist/index172.js +3 -2
- package/dist/index173.js +1 -1
- package/dist/index174.js +1 -1
- package/dist/index175.js +1 -1
- package/dist/index176.js +2 -2
- package/dist/index178.js +2 -3
- package/dist/index179.js +1 -1
- package/dist/index180.js +1 -1
- package/dist/index181.js +1 -1
- package/dist/index182.js +1 -1
- package/dist/index183.js +1 -1
- package/dist/index184.js +2 -2
- package/dist/index185.js +5 -0
- package/dist/index186.js +2 -2
- package/dist/index187.js +5 -0
- package/dist/index19.js +121 -211
- package/dist/index190.js +1 -1
- package/dist/index192.js +1 -1
- package/dist/index194.js +1 -1
- package/dist/index195.js +1 -1
- package/dist/index196.js +1 -1
- package/dist/index197.js +1 -1
- package/dist/index198.js +3 -116
- package/dist/index199.js +3 -2
- package/dist/index200.js +3 -3
- package/dist/index201.js +3 -35
- package/dist/index202.js +3 -6
- package/dist/index203.js +3 -7
- package/dist/index204.js +2 -8
- package/dist/index205.js +112 -154
- package/dist/index206.js +3 -84
- package/dist/index207.js +160 -0
- package/dist/index208.js +84 -2
- package/dist/index21.js +197 -279
- package/dist/index210.js +2 -2
- package/dist/index211.js +2 -3
- package/dist/index212.js +3 -126
- package/dist/index213.js +4 -5
- package/dist/index214.js +3 -123
- package/dist/index215.js +40 -18
- package/dist/index216.js +6 -16
- package/dist/index217.js +7 -16
- package/dist/index218.js +8 -2
- package/dist/index219.js +281 -2
- package/dist/index220.js +14 -172
- package/dist/index221.js +16 -43
- package/dist/index222.js +21 -0
- package/dist/index223.js +19 -13
- package/dist/index224.js +27 -5
- package/dist/index225.js +2 -369
- package/dist/index226.js +249 -2
- package/dist/index227.js +50 -16
- package/dist/index228.js +40 -102
- package/dist/index229.js +7 -0
- package/dist/index23.js +287 -245
- package/dist/index230.js +44 -95
- package/dist/index231.js +128 -0
- package/dist/index232.js +125 -2
- package/dist/index233.js +2 -3
- package/dist/index234.js +19 -18
- package/dist/index235.js +52 -26
- package/dist/index237.js +13 -52
- package/dist/index238.js +5 -44
- package/dist/index239.js +369 -5
- package/dist/index240.js +2 -49
- package/dist/index241.js +2 -10
- package/dist/index242.js +17 -2
- package/dist/index243.js +104 -429
- package/dist/index245.js +100 -4
- package/dist/index247.js +4 -3
- package/dist/index248.js +9 -11
- package/dist/index249.js +3 -9
- package/dist/index25.js +249 -120
- package/dist/index250.js +6 -9
- package/dist/index251.js +15 -16
- package/dist/index252.js +224 -3
- package/dist/index253.js +3 -9
- package/dist/index254.js +12 -23
- package/dist/index255.js +9 -6
- package/dist/index256.js +8 -15
- package/dist/index257.js +17 -9
- package/dist/index258.js +26 -222
- package/dist/index259.js +3 -281
- package/dist/index260.js +9 -6
- package/dist/index261.js +23 -2
- package/dist/index262.js +9 -2
- package/dist/index263.js +4 -2
- package/dist/index264.js +6 -2
- package/dist/index265.js +2 -2
- package/dist/index266.js +2 -126
- package/dist/index267.js +2 -3
- package/dist/index268.js +4 -0
- package/dist/index269.js +2 -7
- package/dist/index27.js +119 -142
- package/dist/index270.js +2 -22
- package/dist/index271.js +4 -0
- package/dist/index272.js +2 -436
- package/dist/index273.js +2 -127
- package/dist/index274.js +2 -3
- package/dist/index275.js +22 -3
- package/dist/index277.js +7 -28
- package/dist/index278.js +431 -2
- package/dist/index279.js +89 -2
- package/dist/index280.js +2 -2
- package/dist/index281.js +126 -2
- package/dist/index282.js +176 -2
- package/dist/index283.js +3 -2
- package/dist/{index284.js → index285.js} +6 -6
- package/dist/index287.js +199 -65
- package/dist/index288.js +436 -5
- package/dist/index289.js +124 -12
- package/dist/index29.js +139 -84
- package/dist/index290.js +3 -79
- package/dist/{index193.js → index291.js} +1 -1
- package/dist/index292.js +211 -4
- package/dist/index293.js +66 -4
- package/dist/index294.js +2 -59
- package/dist/index295.js +4 -11
- package/dist/index296.js +4 -35
- package/dist/index297.js +57 -45
- package/dist/index298.js +5 -7
- package/dist/index299.js +4 -18
- package/dist/index300.js +7 -6
- package/dist/index301.js +79 -2
- package/dist/index303.js +6 -0
- package/dist/index304.js +6 -420
- package/dist/index305.js +18 -46
- package/dist/index306.js +7 -2
- package/dist/index307.js +37 -0
- package/dist/index308.js +13 -0
- package/dist/index309.js +49 -0
- package/dist/index31.js +85 -115
- package/dist/index310.js +4 -0
- package/dist/{index302.js → index311.js} +2 -2
- package/dist/index313.js +426 -0
- package/dist/index314.js +49 -0
- package/dist/index315.js +4 -0
- package/dist/index33.js +111 -113
- package/dist/index35.js +114 -366
- package/dist/index37.js +361 -284
- package/dist/index39.js +288 -107
- package/dist/index41.js +114 -121
- package/dist/index43.js +113 -201
- package/dist/index45.js +182 -92
- package/dist/index47.js +110 -78
- package/dist/index49.js +89 -54
- package/dist/index51.js +54 -78
- package/dist/index53.js +83 -61
- package/dist/index55.js +59 -40
- package/dist/index57.js +42 -55
- package/dist/index59.js +53 -106
- package/dist/index6.js +1 -1
- package/dist/index61.js +104 -89
- package/dist/index63.js +61 -88
- package/dist/index65.js +119 -77
- package/dist/index67.js +56 -45
- package/dist/index69.js +79 -54
- package/dist/index7.js +2 -2
- package/dist/index71.js +88 -268
- package/dist/index73.js +49 -148
- package/dist/index75.js +259 -204
- package/dist/index77.js +152 -39
- package/dist/index79.js +224 -0
- package/dist/index8.js +6 -14
- package/dist/index81.js +46 -0
- package/dist/index82.js +116 -166
- package/dist/index84.js +222 -171
- package/dist/index86.js +171 -25
- package/dist/index88.js +177 -84
- package/dist/index9.js +1 -1
- package/dist/index90.js +27 -123
- package/dist/index92.js +47 -51
- package/dist/index94.js +120 -15
- package/dist/index96.js +55 -132
- package/dist/index98.js +15 -105
- package/dist/style.css +1 -1
- package/dist/types/CommonProps.d.ts +0 -1
- package/dist/types/ExtractGenericFromComputedRef.d.ts +0 -1
- package/dist/types/ExtractGenericFromRef.d.ts +0 -1
- package/dist/utilities/functions/booleanishToBoolean.d.ts +1 -1
- package/dist/utilities/functions/deburr.d.ts +1 -1
- package/dist/utilities/functions/flattenTree.d.ts +1 -1
- package/dist/utilities/functions/groupBy.d.ts +1 -1
- package/dist/utilities/functions/indexBy.d.ts +1 -1
- package/dist/utilities/functions/isHex.d.ts +1 -0
- package/dist/utilities/functions/mapValues.d.ts +1 -1
- package/dist/utilities/functions/millisecondsTo.d.ts +1 -1
- package/dist/utilities/functions/replace.d.ts +1 -1
- package/dist/utilities/functions/retry.d.ts +1 -1
- package/dist/utilities/functions/throttle.d.ts +2 -2
- package/dist/utilities/functions/tryTo.d.ts +0 -1
- package/package.json +29 -29
- package/dist/index121.js +0 -46
- package/dist/index123.js +0 -49
- package/dist/index191.js +0 -5
- package/dist/index209.js +0 -6
- package/dist/index236.js +0 -251
- package/dist/index244.js +0 -91
- package/dist/index246.js +0 -202
- package/dist/index276.js +0 -213
- package/dist/index286.js +0 -4
- package/dist/index78.js +0 -129
- package/dist/index80.js +0 -238
package/dist/index94.js
CHANGED
@@ -1,24 +1,129 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
|
3
|
-
|
1
|
+
import { defineComponent as v, ref as g, computed as y, openBlock as B, createBlock as $, withCtx as a, renderSlot as i, normalizeProps as r, guardReactiveProps as l, createVNode as w, mergeProps as T } from "vue";
|
2
|
+
import V from "./index27.js";
|
3
|
+
/* empty css */
|
4
|
+
import D from "./index33.js";
|
5
|
+
/* empty css */
|
6
|
+
const E = /* @__PURE__ */ v({
|
7
|
+
__name: "BbRadioGroup",
|
4
8
|
props: {
|
5
|
-
|
6
|
-
|
9
|
+
autofocus: {},
|
10
|
+
color: {},
|
11
|
+
dependencies: {},
|
12
|
+
depsDebounceTime: {},
|
13
|
+
disabled: { type: Boolean },
|
14
|
+
enforceCoherence: { type: Boolean },
|
15
|
+
errors: {},
|
16
|
+
hasErrors: { type: Boolean },
|
17
|
+
hideLabel: { type: Boolean },
|
18
|
+
hideLegend: { type: Boolean },
|
19
|
+
hint: {},
|
20
|
+
id: {},
|
21
|
+
inputDirection: {},
|
22
|
+
items: { type: [Array, Function] },
|
23
|
+
itemText: {},
|
24
|
+
itemValue: {},
|
25
|
+
legend: {},
|
26
|
+
loadingText: {},
|
27
|
+
modelValue: {},
|
28
|
+
modelValueDebounceTime: {},
|
29
|
+
name: {},
|
30
|
+
noDataText: {},
|
31
|
+
persistentHint: { type: Boolean },
|
32
|
+
readonly: {},
|
33
|
+
required: { type: Boolean },
|
34
|
+
reverse: { type: Boolean }
|
7
35
|
},
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
36
|
+
emits: ["blur", "change", "click", "focus", "inactive", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
37
|
+
setup(t, { emit: u }) {
|
38
|
+
const p = t, n = u, d = g(!1), m = y(() => p.persistentHint || d.value), c = {
|
39
|
+
onBlur: (e) => n("blur", e),
|
40
|
+
onChange: (e) => n("change", e),
|
41
|
+
onClick: (e) => n("click", e),
|
42
|
+
onFocus: (e) => {
|
43
|
+
d.value = !0, n("focus", e);
|
44
|
+
},
|
45
|
+
onInactive: () => {
|
46
|
+
d.value = !1, n("inactive");
|
47
|
+
},
|
48
|
+
onInput: (e) => n("input", e),
|
49
|
+
onKeydown: (e) => n("keydown", e),
|
50
|
+
onMousedown: (e) => n("mousedown", e),
|
51
|
+
onMouseup: (e) => n("mouseup", e),
|
52
|
+
"onUpdate:modelValue": (e) => n("update:modelValue", e)
|
53
|
+
};
|
54
|
+
return (e, k) => (B(), $(V, {
|
55
|
+
id: e.id,
|
56
|
+
class: "bb-radio-group",
|
57
|
+
direction: "vertical",
|
58
|
+
errors: e.errors,
|
59
|
+
"has-errors": e.hasErrors,
|
60
|
+
"hide-label": e.hideLegend,
|
61
|
+
hint: e.hint,
|
62
|
+
label: e.legend,
|
63
|
+
"label-tag": "legend",
|
64
|
+
name: e.name,
|
65
|
+
reverse: e.reverse,
|
66
|
+
"show-hint": m.value,
|
67
|
+
tag: "fieldset"
|
14
68
|
}, {
|
15
|
-
|
16
|
-
|
69
|
+
label: a((s) => [
|
70
|
+
i(e.$slots, "legend", r(l(s)))
|
71
|
+
]),
|
72
|
+
input: a(({ id: s, name: b, hasErrors: h, ariaDescribedby: f }) => [
|
73
|
+
w(D, T({
|
74
|
+
id: s,
|
75
|
+
"aria-describedby": f,
|
76
|
+
autofocus: e.autofocus,
|
77
|
+
color: e.color,
|
78
|
+
dependencies: e.dependencies,
|
79
|
+
"deps-debounce-time": e.depsDebounceTime,
|
80
|
+
direction: e.inputDirection,
|
81
|
+
disabled: e.disabled,
|
82
|
+
"enforce-coherence": e.enforceCoherence,
|
83
|
+
"has-errors": h,
|
84
|
+
"hide-label": e.hideLabel,
|
85
|
+
"item-text": e.itemText,
|
86
|
+
"item-value": e.itemValue,
|
87
|
+
items: e.items,
|
88
|
+
"loading-text": e.loadingText,
|
89
|
+
"model-value": e.modelValue,
|
90
|
+
"model-value-debounce-time": e.modelValueDebounceTime,
|
91
|
+
name: b,
|
92
|
+
"no-data-text": e.noDataText,
|
93
|
+
readonly: e.readonly,
|
94
|
+
required: e.required
|
95
|
+
}, c), {
|
96
|
+
prepend: a((o) => [
|
97
|
+
i(e.$slots, "prepend", r(l(o)))
|
98
|
+
]),
|
99
|
+
loading: a((o) => [
|
100
|
+
i(e.$slots, "loading", r(l(o)))
|
101
|
+
]),
|
102
|
+
"no-data": a((o) => [
|
103
|
+
i(e.$slots, "no-data", r(l(o)))
|
104
|
+
]),
|
105
|
+
"option:prepend": a((o) => [
|
106
|
+
i(e.$slots, "option:prepend", r(l(o)))
|
107
|
+
]),
|
108
|
+
icon: a((o) => [
|
109
|
+
i(e.$slots, "icon", r(l(o)))
|
110
|
+
]),
|
111
|
+
label: a((o) => [
|
112
|
+
i(e.$slots, "label", r(l(o)))
|
113
|
+
]),
|
114
|
+
"option:append": a((o) => [
|
115
|
+
i(e.$slots, "option:append", r(l(o)))
|
116
|
+
]),
|
117
|
+
append: a((o) => [
|
118
|
+
i(e.$slots, "append", r(l(o)))
|
119
|
+
]),
|
120
|
+
_: 2
|
121
|
+
}, 1040, ["id", "aria-describedby", "autofocus", "color", "dependencies", "deps-debounce-time", "direction", "disabled", "enforce-coherence", "has-errors", "hide-label", "item-text", "item-value", "items", "loading-text", "model-value", "model-value-debounce-time", "name", "no-data-text", "readonly", "required"])
|
17
122
|
]),
|
18
123
|
_: 3
|
19
|
-
}, 8, ["
|
124
|
+
}, 8, ["id", "errors", "has-errors", "hide-label", "hint", "label", "name", "reverse", "show-hint"]));
|
20
125
|
}
|
21
126
|
});
|
22
127
|
export {
|
23
|
-
|
128
|
+
E as default
|
24
129
|
};
|
package/dist/index96.js
CHANGED
@@ -1,175 +1,98 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import
|
1
|
+
import { defineComponent as g, ref as v, computed as y, openBlock as w, createBlock as B, withCtx as s, renderSlot as r, normalizeProps as a, guardReactiveProps as i, createVNode as k, mergeProps as P } from "vue";
|
2
|
+
import V from "./index27.js";
|
3
3
|
/* empty css */
|
4
|
-
import
|
4
|
+
import $ from "./index35.js";
|
5
5
|
/* empty css */
|
6
|
-
const
|
7
|
-
__name: "
|
6
|
+
const M = /* @__PURE__ */ g({
|
7
|
+
__name: "BbRating",
|
8
8
|
props: {
|
9
|
-
addOptions: { type: Boolean },
|
10
|
-
allowWriting: { type: [Boolean, String], default: !0 },
|
11
|
-
"append:icon": {},
|
12
|
-
autocomplete: {},
|
13
9
|
autofocus: {},
|
14
|
-
|
15
|
-
dependencies: {},
|
16
|
-
depsDebounceTime: {},
|
17
|
-
direction: {},
|
10
|
+
color: {},
|
18
11
|
disabled: { type: Boolean },
|
19
|
-
enforceCoherence: { type: Boolean },
|
20
12
|
errors: {},
|
21
|
-
filterBy: { type: [String, Array, Boolean, Function, null], default: () => [] },
|
22
13
|
hasErrors: { type: Boolean },
|
23
|
-
|
14
|
+
hideLegend: { type: Boolean },
|
24
15
|
hint: {},
|
25
16
|
id: {},
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
label: {},
|
30
|
-
labelPosition: {},
|
31
|
-
loading: { type: Boolean },
|
32
|
-
loadingText: {},
|
17
|
+
inputPosition: { default: "left" },
|
18
|
+
legend: {},
|
19
|
+
legendPosition: {},
|
33
20
|
modelValue: {},
|
34
|
-
modelValueDebounceTime: {},
|
35
|
-
multiple: { type: Boolean },
|
36
21
|
name: {},
|
37
|
-
noDataText: {},
|
38
22
|
persistentHint: { type: Boolean },
|
39
|
-
|
40
|
-
prefill: { type: [Boolean, String], default: "focus" },
|
41
|
-
"prepend:icon": {},
|
42
|
-
required: { type: Boolean },
|
43
|
-
queryDebounceTime: {},
|
44
|
-
readonly: { type: Boolean },
|
45
|
-
resetQueryOnOptionSelected: { type: Boolean },
|
23
|
+
readonly: {},
|
46
24
|
reverse: { type: Boolean },
|
47
|
-
|
48
|
-
|
49
|
-
updateOnAnimationFrame: { type: Boolean }
|
25
|
+
stars: {},
|
26
|
+
size: {}
|
50
27
|
},
|
51
|
-
emits: ["blur", "change", "click", "focus", "inactive", "input", "update:modelValue"],
|
28
|
+
emits: ["blur", "change", "click", "focus", "inactive", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
52
29
|
setup(d, { emit: u }) {
|
53
|
-
const
|
54
|
-
onBlur: (e) =>
|
55
|
-
onChange: (e) =>
|
56
|
-
onClick: (e) =>
|
30
|
+
const p = d, o = u, l = v(!1), m = y(() => p.persistentHint || l.value), c = {
|
31
|
+
onBlur: (e) => o("blur", e),
|
32
|
+
onChange: (e) => o("change", e),
|
33
|
+
onClick: (e) => o("click", e),
|
57
34
|
onFocus: (e) => {
|
58
|
-
|
35
|
+
l.value = !0, o("focus", e);
|
59
36
|
},
|
60
37
|
onInactive: () => {
|
61
|
-
|
38
|
+
l.value = !1, o("inactive");
|
62
39
|
},
|
63
|
-
onInput: (e) =>
|
64
|
-
|
40
|
+
onInput: (e) => o("input", e),
|
41
|
+
onKeydown: (e) => o("keydown", e),
|
42
|
+
onMousedown: (e) => o("mousedown", e),
|
43
|
+
onMouseup: (e) => o("mouseup", e),
|
44
|
+
"onUpdate:modelValue": (e) => o("update:modelValue", e)
|
65
45
|
};
|
66
|
-
return (e,
|
46
|
+
return (e, z) => (w(), B(V, {
|
67
47
|
id: e.id,
|
68
|
-
class: "bb-
|
69
|
-
direction:
|
48
|
+
class: "bb-rating",
|
49
|
+
direction: "vertical",
|
70
50
|
errors: e.errors,
|
71
51
|
"has-errors": e.hasErrors,
|
72
|
-
"hide-label": e.
|
52
|
+
"hide-label": e.hideLegend,
|
73
53
|
hint: e.hint,
|
74
|
-
|
75
|
-
|
76
|
-
"
|
54
|
+
"input-position": e.inputPosition,
|
55
|
+
label: e.legend,
|
56
|
+
"label-position": e.legendPosition,
|
57
|
+
"label-tag": "legend",
|
77
58
|
name: e.name,
|
78
59
|
reverse: e.reverse,
|
79
|
-
"show-hint": m.value
|
60
|
+
"show-hint": m.value,
|
61
|
+
tag: "fieldset"
|
80
62
|
}, {
|
81
|
-
label:
|
82
|
-
|
63
|
+
label: s((t) => [
|
64
|
+
r(e.$slots, "legend", a(i(t)))
|
83
65
|
]),
|
84
|
-
input:
|
85
|
-
|
86
|
-
id:
|
87
|
-
"
|
88
|
-
"allow-writing": e.allowWriting,
|
89
|
-
"append:icon": r["append:icon"],
|
90
|
-
"aria-describedby": h,
|
91
|
-
autocomplete: e.autocomplete,
|
66
|
+
input: s(({ id: t, name: h, hasErrors: b, ariaDescribedby: f }) => [
|
67
|
+
k($, P({
|
68
|
+
id: t,
|
69
|
+
"aria-describedby": f,
|
92
70
|
autofocus: e.autofocus,
|
93
|
-
|
94
|
-
dependencies: e.dependencies,
|
95
|
-
"deps-debounce-time": e.depsDebounceTime,
|
71
|
+
color: e.color,
|
96
72
|
disabled: e.disabled,
|
97
|
-
"
|
98
|
-
"filter-by": e.filterBy,
|
99
|
-
"has-errors": f,
|
100
|
-
"item-text": e.itemText,
|
101
|
-
"item-value": e.itemValue,
|
102
|
-
items: e.items,
|
103
|
-
loading: e.loading,
|
104
|
-
"loading-text": e.loadingText,
|
73
|
+
"has-errors": b,
|
105
74
|
"model-value": e.modelValue,
|
106
|
-
|
107
|
-
multiple: e.multiple,
|
108
|
-
name: b,
|
109
|
-
"no-data-text": e.noDataText,
|
110
|
-
placeholder: e.placeholder,
|
111
|
-
prefill: e.prefill,
|
112
|
-
"prepend:icon": r["prepend:icon"],
|
113
|
-
"query-debounce-time": e.queryDebounceTime,
|
75
|
+
name: h,
|
114
76
|
readonly: e.readonly,
|
115
|
-
|
116
|
-
|
117
|
-
stash: e.stash,
|
118
|
-
"transition-duration": e.transitionDuration,
|
119
|
-
"update-on-animation-frame": e.updateOnAnimationFrame
|
77
|
+
size: e.size,
|
78
|
+
stars: e.stars
|
120
79
|
}, c), {
|
121
|
-
|
122
|
-
|
80
|
+
prepend: s((n) => [
|
81
|
+
r(e.$slots, "prepend", a(i(n)))
|
123
82
|
]),
|
124
|
-
append:
|
125
|
-
|
83
|
+
append: s((n) => [
|
84
|
+
r(e.$slots, "append", a(i(n)))
|
126
85
|
]),
|
127
|
-
|
128
|
-
|
129
|
-
]),
|
130
|
-
chevron: n((o) => [
|
131
|
-
a(e.$slots, "chevron", i(l(o)))
|
132
|
-
]),
|
133
|
-
loading: n((o) => [
|
134
|
-
a(e.$slots, "loading", i(l(o)))
|
135
|
-
]),
|
136
|
-
"no-data": n((o) => [
|
137
|
-
a(e.$slots, "no-data", i(l(o)))
|
138
|
-
]),
|
139
|
-
"option:append": n((o) => [
|
140
|
-
a(e.$slots, "option:append", i(l(o)))
|
141
|
-
]),
|
142
|
-
"option:prepend": n((o) => [
|
143
|
-
a(e.$slots, "option:prepend", i(l(o)))
|
144
|
-
]),
|
145
|
-
option: n((o) => [
|
146
|
-
a(e.$slots, "option", i(l(o)))
|
147
|
-
]),
|
148
|
-
"options:append": n((o) => [
|
149
|
-
a(e.$slots, "options:append", i(l(o)))
|
150
|
-
]),
|
151
|
-
"options:prepend": n((o) => [
|
152
|
-
a(e.$slots, "options:prepend", i(l(o)))
|
153
|
-
]),
|
154
|
-
"prepend-outer": n((o) => [
|
155
|
-
a(e.$slots, "prepend-outer", i(l(o)))
|
156
|
-
]),
|
157
|
-
prepend: n((o) => [
|
158
|
-
a(e.$slots, "prepend", i(l(o)))
|
159
|
-
]),
|
160
|
-
suffix: n((o) => [
|
161
|
-
a(e.$slots, "suffix", i(l(o)))
|
162
|
-
]),
|
163
|
-
spinner: n((o) => [
|
164
|
-
a(e.$slots, "spinner", i(l(o)))
|
86
|
+
icon: s((n) => [
|
87
|
+
r(e.$slots, "icon", a(i(n)))
|
165
88
|
]),
|
166
89
|
_: 2
|
167
|
-
}, 1040, ["id", "
|
90
|
+
}, 1040, ["id", "aria-describedby", "autofocus", "color", "disabled", "has-errors", "model-value", "name", "readonly", "size", "stars"])
|
168
91
|
]),
|
169
92
|
_: 3
|
170
|
-
}, 8, ["id", "
|
93
|
+
}, 8, ["id", "errors", "has-errors", "hide-label", "hint", "input-position", "label", "label-position", "name", "reverse", "show-hint"]));
|
171
94
|
}
|
172
95
|
});
|
173
96
|
export {
|
174
|
-
|
97
|
+
M as default
|
175
98
|
};
|
package/dist/index98.js
CHANGED
@@ -1,114 +1,24 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
|
3
|
-
|
4
|
-
import V from "./index37.js";
|
5
|
-
/* empty css */
|
6
|
-
const T = /* @__PURE__ */ f({
|
7
|
-
__name: "BbSlider",
|
1
|
+
import { defineComponent as t, openBlock as o, createBlock as a, resolveDynamicComponent as r, normalizeStyle as l, withCtx as n, renderSlot as s } from "vue";
|
2
|
+
const d = /* @__PURE__ */ t({
|
3
|
+
__name: "BbRatio",
|
8
4
|
props: {
|
9
|
-
|
10
|
-
|
11
|
-
direction: {},
|
12
|
-
disabled: { type: Boolean },
|
13
|
-
errors: {},
|
14
|
-
hasErrors: { type: Boolean },
|
15
|
-
hideLabel: { type: Boolean },
|
16
|
-
hint: {},
|
17
|
-
id: {},
|
18
|
-
label: {},
|
19
|
-
labelPosition: {},
|
20
|
-
max: {},
|
21
|
-
min: {},
|
22
|
-
modelValue: {},
|
23
|
-
name: {},
|
24
|
-
persistentHint: { type: Boolean },
|
25
|
-
range: { type: Boolean },
|
26
|
-
readonly: {},
|
27
|
-
required: { type: Boolean },
|
28
|
-
reverse: { type: Boolean },
|
29
|
-
step: {},
|
30
|
-
thumbTranslate: { type: Boolean, default: !0 },
|
31
|
-
ticks: { type: Boolean }
|
5
|
+
ratio: { default: 1 },
|
6
|
+
tag: { default: "div" }
|
32
7
|
},
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
}
|
39
|
-
onClick: (e) => r("click", e),
|
40
|
-
onFocus: (e) => r("focus", e),
|
41
|
-
onInactive: () => {
|
42
|
-
s.value = !1, r("inactive");
|
43
|
-
},
|
44
|
-
onKeydown: (e) => r("keydown", e),
|
45
|
-
onPointerdown: (e) => r("pointerdown", e),
|
46
|
-
onPointermove: (e) => r("pointermove", e),
|
47
|
-
onPointerup: (e) => r("pointerup", e),
|
48
|
-
"onUpdate:modelValue": (e) => r("update:modelValue", e)
|
49
|
-
};
|
50
|
-
return (e, q) => (w(), B(P, {
|
51
|
-
id: e.id,
|
52
|
-
class: "bb-slider",
|
53
|
-
direction: e.direction,
|
54
|
-
errors: e.errors,
|
55
|
-
"has-errors": e.hasErrors,
|
56
|
-
"hide-label": e.hideLabel,
|
57
|
-
hint: e.hint,
|
58
|
-
label: e.label,
|
59
|
-
"label-position": e.labelPosition,
|
60
|
-
"model-value": e.modelValue,
|
61
|
-
name: e.name,
|
62
|
-
reverse: e.reverse,
|
63
|
-
"show-hint": u.value
|
8
|
+
setup(i) {
|
9
|
+
return (e, p) => (o(), a(r(e.tag), {
|
10
|
+
class: "bb-ratio",
|
11
|
+
style: l({
|
12
|
+
aspectRatio: e.ratio
|
13
|
+
})
|
64
14
|
}, {
|
65
|
-
|
66
|
-
|
67
|
-
]),
|
68
|
-
input: a(({ id: t, name: h, hasErrors: c, ariaDescribedby: v }) => [
|
69
|
-
$(V, g({
|
70
|
-
id: t,
|
71
|
-
"aria-describedby": v,
|
72
|
-
autofocus: e.autofocus,
|
73
|
-
color: e.color,
|
74
|
-
disabled: e.disabled,
|
75
|
-
"has-errors": c,
|
76
|
-
max: e.max,
|
77
|
-
min: e.min,
|
78
|
-
"model-value": e.modelValue,
|
79
|
-
name: h,
|
80
|
-
range: e.range,
|
81
|
-
readonly: e.readonly,
|
82
|
-
required: e.required,
|
83
|
-
step: e.step,
|
84
|
-
"thumb-translate": e.thumbTranslate,
|
85
|
-
ticks: e.ticks
|
86
|
-
}, b), {
|
87
|
-
append: a((o) => [
|
88
|
-
n(e.$slots, "append", i(l(o)))
|
89
|
-
]),
|
90
|
-
prepend: a((o) => [
|
91
|
-
n(e.$slots, "prepend", i(l(o)))
|
92
|
-
]),
|
93
|
-
thumb: a((o) => [
|
94
|
-
n(e.$slots, "thumb", i(l(o)))
|
95
|
-
]),
|
96
|
-
"thumb:lower": a((o) => [
|
97
|
-
n(e.$slots, "thumb:lower", i(l(o)))
|
98
|
-
]),
|
99
|
-
"thumb:higher": a((o) => [
|
100
|
-
n(e.$slots, "thumb:higher", i(l(o)))
|
101
|
-
]),
|
102
|
-
tick: a((o) => [
|
103
|
-
n(e.$slots, "tick", i(l(o)))
|
104
|
-
]),
|
105
|
-
_: 2
|
106
|
-
}, 1040, ["id", "aria-describedby", "autofocus", "color", "disabled", "has-errors", "max", "min", "model-value", "name", "range", "readonly", "required", "step", "thumb-translate", "ticks"])
|
15
|
+
default: n(() => [
|
16
|
+
s(e.$slots, "default")
|
107
17
|
]),
|
108
18
|
_: 3
|
109
|
-
}, 8, ["
|
19
|
+
}, 8, ["style"]));
|
110
20
|
}
|
111
21
|
});
|
112
22
|
export {
|
113
|
-
|
23
|
+
d as default
|
114
24
|
};
|