bitboss-ui 2.1.106 → 2.1.107
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/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +153 -150
- package/dist/index109.js +9 -9
- package/dist/index11.js +1 -1
- package/dist/index110.js +502 -163
- package/dist/index112.js +130 -55
- package/dist/index114.js +106 -48
- package/dist/index116.js +52 -34
- package/dist/index118.js +33 -93
- package/dist/index12.js +2 -2
- package/dist/index120.js +56 -92
- package/dist/index122.js +120 -352
- package/dist/index124.js +344 -531
- package/dist/index126.js +535 -104
- package/dist/index128.js +52 -46
- package/dist/index13.js +6 -6
- package/dist/index130.js +36 -41
- package/dist/index132.js +117 -22
- package/dist/index134.js +23 -160
- package/dist/index136.js +158 -115
- package/dist/index138.js +115 -64
- package/dist/index14.js +2 -2
- package/dist/index140.js +68 -12
- package/dist/index142.js +13 -2
- package/dist/index143.js +11 -419
- package/dist/index144.js +2 -9
- package/dist/index145.js +419 -9
- package/dist/index146.js +9 -25
- package/dist/index147.js +9 -2
- package/dist/index148.js +25 -5
- package/dist/index149.js +2 -6
- package/dist/index150.js +5 -5
- package/dist/index151.js +6 -3
- package/dist/index152.js +5 -3
- 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/index16.js +6 -6
- 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 +3 -3
- package/dist/index180.js +1 -1
- package/dist/index181.js +3 -2
- package/dist/index182.js +1 -1
- package/dist/index183.js +1 -1
- package/dist/index184.js +1 -1
- package/dist/index185.js +2 -3
- package/dist/index186.js +1 -1
- package/dist/index187.js +1 -1
- package/dist/index188.js +1 -1
- package/dist/index189.js +1 -1
- package/dist/index190.js +3 -2
- package/dist/index191.js +1 -1
- package/dist/index192.js +2 -3
- package/dist/index193.js +1 -1
- package/dist/index194.js +1 -1
- package/dist/index195.js +2 -2
- package/dist/index196.js +2 -2
- package/dist/index197.js +1 -1
- package/dist/index198.js +1 -1
- package/dist/index199.js +1 -1
- package/dist/index20.js +8 -8
- package/dist/index200.js +3 -2
- package/dist/index201.js +1 -1
- package/dist/index202.js +2 -3
- package/dist/index203.js +1 -1
- 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 +5 -0
- package/dist/index217.js +3 -7
- package/dist/index218.js +3 -2
- package/dist/index22.js +14 -14
- package/dist/index220.js +7 -2
- package/dist/index221.js +137 -4
- package/dist/index222.js +2 -8
- package/dist/index223.js +2 -33
- package/dist/index224.js +5 -28
- package/dist/index225.js +10 -0
- package/dist/index226.js +9 -5
- package/dist/index227.js +2 -5
- package/dist/index228.js +21 -5
- package/dist/index229.js +3 -5
- package/dist/index230.js +30 -3
- package/dist/index231.js +18 -2
- package/dist/index232.js +17 -6
- package/dist/index233.js +51 -8
- package/dist/index234.js +12 -268
- package/dist/index235.js +4 -52
- package/dist/index236.js +12 -51
- package/dist/index237.js +18 -30
- package/dist/index238.js +3 -60
- package/dist/index239.js +25 -13
- package/dist/index24.js +12 -12
- package/dist/index240.js +3 -86
- package/dist/index241.js +11 -0
- package/dist/index242.js +4 -30
- package/dist/index243.js +51 -15
- package/dist/index244.js +8 -51
- package/dist/index245.js +2 -18
- package/dist/index246.js +11 -10
- package/dist/index247.js +135 -18
- package/dist/index249.js +4 -13
- package/dist/index250.js +23 -3
- package/dist/index251.js +3 -4
- package/dist/index252.js +2 -20
- package/dist/index253.js +18 -2
- package/dist/index254.js +12 -2
- package/dist/index255.js +18 -2
- package/dist/index256.js +106 -3
- package/dist/index258.js +102 -0
- package/dist/index26.js +4 -4
- package/dist/index260.js +106 -22
- package/dist/index261.js +11 -4
- package/dist/index262.js +5 -3
- package/dist/index263.js +5 -18
- package/dist/index264.js +5 -12
- package/dist/index265.js +5 -106
- package/dist/index266.js +8 -0
- package/dist/index267.js +263 -95
- package/dist/index268.js +54 -0
- package/dist/index269.js +48 -103
- package/dist/index270.js +32 -2
- package/dist/index271.js +60 -11
- package/dist/index272.js +86 -7
- package/dist/index274.js +32 -15
- package/dist/index275.js +2 -3
- package/dist/index276.js +7 -9
- package/dist/index277.js +7 -53
- package/dist/index278.js +6 -9
- package/dist/index279.js +34 -3
- package/dist/index28.js +2 -2
- package/dist/index280.js +59 -365
- package/dist/index281.js +190 -0
- package/dist/index282.js +3 -9
- package/dist/index283.js +33 -23
- package/dist/index284.js +6 -5
- package/dist/index285.js +10 -67
- package/dist/index286.js +3 -5
- package/dist/index287.js +3 -5
- package/dist/index288.js +373 -5
- package/dist/index290.js +12 -6
- package/dist/index291.js +28 -7
- package/dist/index293.js +2 -188
- package/dist/index294.js +2 -3
- package/dist/index295.js +5 -34
- package/dist/index296.js +6 -21
- package/dist/index297.js +15 -32
- package/dist/index298.js +5 -9
- package/dist/index299.js +7 -0
- package/dist/index30.js +6 -6
- package/dist/index300.js +5 -3
- package/dist/index301.js +9 -280
- package/dist/index302.js +23 -2
- package/dist/index303.js +5 -16
- package/dist/index305.js +3 -16
- package/dist/index306.js +28 -2
- package/dist/index307.js +17 -27
- package/dist/index308.js +7 -2
- package/dist/index309.js +5 -2
- package/dist/index310.js +4 -2
- package/dist/index311.js +3 -2
- package/dist/index312.js +3 -2
- package/dist/index313.js +3 -28
- package/dist/index314.js +1 -1
- package/dist/index315.js +280 -7
- package/dist/index316.js +2 -3
- package/dist/index317.js +16 -17
- package/dist/index318.js +2 -4
- package/dist/index319.js +16 -5
- package/dist/index32.js +2 -2
- package/dist/index320.js +2 -3
- package/dist/index321.js +27 -5
- package/dist/index322.js +2 -3
- package/dist/index323.js +2 -3
- package/dist/index324.js +1 -1
- package/dist/index325.js +2 -719
- package/dist/index326.js +2 -366
- package/dist/index327.js +2 -57
- package/dist/index328.js +1 -1
- package/dist/index329.js +4 -2
- package/dist/index330.js +2 -125
- package/dist/index331.js +2 -2
- package/dist/index332.js +5 -14
- package/dist/index333.js +3 -2
- package/dist/index334.js +719 -19
- package/dist/index335.js +366 -2
- package/dist/index336.js +56 -5
- package/dist/index337.js +227 -3
- package/dist/index338.js +125 -2
- package/dist/index339.js +2 -5
- package/dist/index34.js +8 -8
- package/dist/index340.js +14 -6
- package/dist/index341.js +2 -19
- package/dist/index342.js +18 -8
- package/dist/index343.js +2 -15
- package/dist/index344.js +6 -92
- package/dist/index345.js +5 -7
- package/dist/index346.js +198 -65
- package/dist/index347.js +257 -65
- package/dist/index349.js +129 -6
- package/dist/index350.js +382 -113
- package/dist/index351.js +6 -397
- package/dist/index352.js +17 -198
- package/dist/index353.js +9 -259
- package/dist/index354.js +12 -225
- package/dist/index355.js +66 -21
- package/dist/index356.js +69 -0
- package/dist/index357.js +93 -2
- package/dist/index358.js +21 -1
- package/dist/index36.js +5 -5
- package/dist/index360.js +2 -441
- package/dist/index361.js +2 -128
- package/dist/index362.js +131 -44
- package/dist/index363.js +44 -67
- package/dist/index364.js +66 -516
- package/dist/index365.js +435 -44
- package/dist/index366.js +130 -0
- package/dist/index367.js +522 -0
- package/dist/index368.js +52 -0
- package/dist/index38.js +25 -25
- package/dist/index40.js +8 -8
- package/dist/index42.js +2 -2
- package/dist/index44.js +8 -8
- package/dist/index46.js +9 -9
- package/dist/index48.js +4 -4
- package/dist/index50.js +4 -4
- 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 +7 -7
- package/dist/index68.js +1 -1
- package/dist/index7.js +2 -2
- package/dist/index74.js +4 -4
- package/dist/index75.js +1 -1
- package/dist/index82.js +8 -8
- package/dist/index84.js +2 -2
- package/dist/index86.js +3 -3
- 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/index141.js +0 -13
- package/dist/index219.js +0 -140
- package/dist/index248.js +0 -15
- package/dist/index257.js +0 -137
- package/dist/index259.js +0 -6
- package/dist/index273.js +0 -8
- package/dist/index289.js +0 -4
- package/dist/index292.js +0 -27
- package/dist/index304.js +0 -4
- package/dist/index359.js +0 -136
package/dist/index12.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { nanoid as p } from "./
|
|
1
|
+
import { nanoid as p } from "./index147.js";
|
|
2
2
|
import { reactive as d } from "vue";
|
|
3
|
-
import { wait as h } from "./
|
|
3
|
+
import { wait as h } from "./index144.js";
|
|
4
4
|
const i = d({
|
|
5
5
|
stack: []
|
|
6
6
|
}), b = () => {
|
package/dist/index120.js
CHANGED
|
@@ -1,136 +1,100 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as c, ref as f, computed as y, createBlock as v, openBlock as w, withCtx as n, createVNode as B, mergeProps as r, renderSlot as i, normalizeProps as k, guardReactiveProps as V } from "vue";
|
|
2
|
+
import g from "./index28.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import
|
|
4
|
+
import P from "./index42.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
const
|
|
7
|
-
__name: "
|
|
6
|
+
const S = /* @__PURE__ */ c({
|
|
7
|
+
__name: "BbSwitch",
|
|
8
8
|
props: {
|
|
9
9
|
autofocus: {},
|
|
10
|
+
checked: { type: [Boolean, String] },
|
|
10
11
|
color: {},
|
|
11
|
-
|
|
12
|
-
dependencies: {},
|
|
13
|
-
depsDebounceTime: {},
|
|
14
|
-
direction: {},
|
|
12
|
+
direction: { default: "auto" },
|
|
15
13
|
disabled: { type: Boolean },
|
|
16
|
-
enforceCoherence: { type: Boolean },
|
|
17
14
|
errors: {},
|
|
15
|
+
falseValue: {},
|
|
18
16
|
hasErrors: { type: Boolean },
|
|
19
17
|
hideLabel: { type: Boolean },
|
|
20
|
-
hideLegend: { type: Boolean },
|
|
21
18
|
hint: {},
|
|
22
19
|
id: {},
|
|
23
|
-
|
|
24
|
-
inputPosition: {
|
|
25
|
-
|
|
26
|
-
itemText: {},
|
|
27
|
-
itemValue: {},
|
|
20
|
+
indeterminate: {},
|
|
21
|
+
inputPosition: {},
|
|
22
|
+
label: {},
|
|
28
23
|
labelPosition: {},
|
|
29
|
-
legend: {},
|
|
30
|
-
loadingText: {},
|
|
31
|
-
max: {},
|
|
32
24
|
modelValue: {},
|
|
33
|
-
modelValueDebounceTime: {},
|
|
34
25
|
name: {},
|
|
35
|
-
noDataText: {},
|
|
36
26
|
persistentHint: { type: Boolean },
|
|
37
27
|
readonly: { type: Boolean },
|
|
38
|
-
|
|
28
|
+
required: { type: Boolean },
|
|
29
|
+
reverse: { type: Boolean, default: !0 },
|
|
30
|
+
submitWhenFalse: { type: Boolean },
|
|
31
|
+
trueValue: {}
|
|
39
32
|
},
|
|
40
|
-
emits: ["blur", "change", "click", "focus", "
|
|
41
|
-
setup(
|
|
42
|
-
const u =
|
|
43
|
-
onBlur: (e) =>
|
|
44
|
-
|
|
45
|
-
onClick: (e) => n("click", e),
|
|
46
|
-
onFocus: (e) => {
|
|
47
|
-
s.value = !0, n("focus", e);
|
|
33
|
+
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
|
34
|
+
setup(s, { emit: t }) {
|
|
35
|
+
const u = s, o = t, a = f(!1), d = y(() => u.persistentHint || a.value), p = {
|
|
36
|
+
onBlur: (e) => {
|
|
37
|
+
a.value = !1, o("blur", e);
|
|
48
38
|
},
|
|
49
|
-
|
|
50
|
-
|
|
39
|
+
onChange: (e) => o("change", e),
|
|
40
|
+
onClick: (e) => o("click", e),
|
|
41
|
+
onFocus: (e) => {
|
|
42
|
+
a.value = !0, o("focus", e);
|
|
51
43
|
},
|
|
52
|
-
onInput: (e) =>
|
|
53
|
-
onKeydown: (e) =>
|
|
54
|
-
onMousedown: (e) =>
|
|
55
|
-
onMouseup: (e) =>
|
|
56
|
-
"onUpdate:modelValue": (e) =>
|
|
44
|
+
onInput: (e) => o("input", e),
|
|
45
|
+
onKeydown: (e) => o("keydown", e),
|
|
46
|
+
onMousedown: (e) => o("mousedown", e),
|
|
47
|
+
onMouseup: (e) => o("mouseup", e),
|
|
48
|
+
"onUpdate:modelValue": (e) => o("update:modelValue", e)
|
|
57
49
|
};
|
|
58
|
-
return (e,
|
|
50
|
+
return (e, q) => (w(), v(g, {
|
|
59
51
|
id: e.id,
|
|
60
|
-
class: "bb-switch
|
|
61
|
-
compact: e.compact,
|
|
52
|
+
class: "bb-switch",
|
|
62
53
|
direction: e.direction,
|
|
63
54
|
errors: e.errors,
|
|
64
55
|
"has-errors": e.hasErrors,
|
|
65
|
-
"hide-label": e.
|
|
56
|
+
"hide-label": e.hideLabel,
|
|
66
57
|
hint: e.hint,
|
|
67
58
|
"input-position": e.inputPosition,
|
|
68
|
-
label: e.
|
|
59
|
+
label: e.label,
|
|
69
60
|
"label-position": e.labelPosition,
|
|
70
|
-
"label-tag": "
|
|
61
|
+
"label-tag": "span",
|
|
71
62
|
name: e.name,
|
|
72
63
|
reverse: e.reverse,
|
|
73
|
-
"show-hint":
|
|
74
|
-
tag: "
|
|
64
|
+
"show-hint": d.value,
|
|
65
|
+
tag: "label"
|
|
75
66
|
}, {
|
|
76
|
-
label:
|
|
77
|
-
|
|
67
|
+
label: n((l) => [
|
|
68
|
+
i(e.$slots, "label", k(V(l)))
|
|
78
69
|
]),
|
|
79
|
-
input:
|
|
80
|
-
|
|
81
|
-
id:
|
|
82
|
-
"aria-describedby":
|
|
70
|
+
input: n(({ id: l, hasErrors: m, ariaDescribedby: b }) => [
|
|
71
|
+
B(P, r({
|
|
72
|
+
id: l,
|
|
73
|
+
"aria-describedby": b,
|
|
83
74
|
autofocus: e.autofocus,
|
|
75
|
+
checked: e.checked,
|
|
84
76
|
color: e.color,
|
|
85
|
-
dependencies: e.dependencies,
|
|
86
|
-
"deps-debounce-time": e.depsDebounceTime,
|
|
87
|
-
direction: e.inputDirection,
|
|
88
77
|
disabled: e.disabled,
|
|
89
|
-
"
|
|
90
|
-
"has-errors":
|
|
91
|
-
|
|
92
|
-
"item-text": e.itemText,
|
|
93
|
-
"item-value": e.itemValue,
|
|
94
|
-
items: e.items,
|
|
95
|
-
"loading-text": e.loadingText,
|
|
96
|
-
max: e.max,
|
|
78
|
+
"false-value": e.falseValue,
|
|
79
|
+
"has-errors": m,
|
|
80
|
+
indeterminate: e.indeterminate,
|
|
97
81
|
"model-value": e.modelValue,
|
|
98
|
-
"model-value-debounce-time": e.modelValueDebounceTime,
|
|
99
82
|
name: e.name,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
a(e.$slots, "loading", l(t(o)))
|
|
108
|
-
]),
|
|
109
|
-
"no-data": i((o) => [
|
|
110
|
-
a(e.$slots, "no-data", l(t(o)))
|
|
111
|
-
]),
|
|
112
|
-
"option:prepend": i((o) => [
|
|
113
|
-
a(e.$slots, "option:prepend", l(t(o)))
|
|
114
|
-
]),
|
|
115
|
-
icon: i((o) => [
|
|
116
|
-
a(e.$slots, "icon", l(t(o)))
|
|
117
|
-
]),
|
|
118
|
-
label: i((o) => [
|
|
119
|
-
a(e.$slots, "label", l(t(o)))
|
|
120
|
-
]),
|
|
121
|
-
"option:append": i((o) => [
|
|
122
|
-
a(e.$slots, "option:append", l(t(o)))
|
|
123
|
-
]),
|
|
124
|
-
append: i((o) => [
|
|
125
|
-
a(e.$slots, "append", l(t(o)))
|
|
83
|
+
readonly: e.readonly,
|
|
84
|
+
required: e.required,
|
|
85
|
+
"submit-when-false": e.submitWhenFalse,
|
|
86
|
+
"true-value": e.trueValue
|
|
87
|
+
}, p), {
|
|
88
|
+
icon: n((h) => [
|
|
89
|
+
i(e.$slots, "icon", r(h, { text: e.label }))
|
|
126
90
|
]),
|
|
127
91
|
_: 2
|
|
128
|
-
}, 1040, ["id", "aria-describedby", "autofocus", "
|
|
92
|
+
}, 1040, ["id", "aria-describedby", "autofocus", "checked", "color", "disabled", "false-value", "has-errors", "indeterminate", "model-value", "name", "readonly", "required", "submit-when-false", "true-value"])
|
|
129
93
|
]),
|
|
130
94
|
_: 3
|
|
131
|
-
}, 8, ["id", "
|
|
95
|
+
}, 8, ["id", "direction", "errors", "has-errors", "hide-label", "hint", "input-position", "label", "label-position", "name", "reverse", "show-hint"]));
|
|
132
96
|
}
|
|
133
97
|
});
|
|
134
98
|
export {
|
|
135
|
-
|
|
99
|
+
S as default
|
|
136
100
|
};
|