bitboss-ui 0.1.2 → 0.1.4
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/BaseDatePicker/BaseDatePicker.vue.d.ts +1 -0
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +151 -0
- package/dist/components/BbPopover/BbPopover.vue.d.ts +96 -0
- package/dist/components/BbRatio/BbRatio.vue.d.ts +12 -0
- package/dist/components/BbSpinner/BbSpinner.vue.d.ts +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +104 -98
- package/dist/index.js.map +1 -1
- package/dist/index10.js +123 -95
- package/dist/index10.js.map +1 -1
- package/dist/index100.js +43 -3
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +2 -2
- package/dist/index102.js +2 -2
- package/dist/index103.js +2 -2
- package/dist/index104.js +2 -2
- package/dist/index105.js +2 -2
- package/dist/index106.js +2 -2
- package/dist/index107.js +2 -2
- package/dist/index108.js +2 -2
- package/dist/index109.js +2 -2
- package/dist/index110.js +2 -2
- package/dist/index111.js +2 -2
- package/dist/index112.js +2 -2
- package/dist/index113.js +2 -2
- package/dist/index114.js +2 -2
- package/dist/index115.js +2 -2
- package/dist/index116.js +2 -2
- package/dist/index117.js +2 -2
- package/dist/index118.js +2 -2
- package/dist/index119.js +3 -2
- package/dist/index119.js.map +1 -1
- package/dist/index12.js +4 -4
- package/dist/index120.js +2 -2
- package/dist/index121.js +3 -2
- package/dist/index121.js.map +1 -1
- package/dist/index123.js +2 -2
- package/dist/index124.js +2 -3
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +2 -2
- package/dist/index126.js +2 -3
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +2 -2
- package/dist/index128.js +2 -2
- package/dist/index129.js +3 -2
- package/dist/index129.js.map +1 -1
- package/dist/index130.js +2 -2
- package/dist/index131.js +2 -2
- package/dist/index132.js +2 -2
- package/dist/index133.js +2 -2
- package/dist/index134.js +2 -3
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +2 -2
- package/dist/index136.js +2 -2
- package/dist/index137.js +2 -2
- package/dist/index138.js +2 -2
- package/dist/index139.js +2 -2
- package/dist/index14.js +6 -6
- package/dist/index140.js +3 -2
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +2 -2
- package/dist/index142.js +3 -2
- package/dist/index142.js.map +1 -1
- package/dist/index145.js +2 -2
- package/dist/index146.js +2 -3
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +2 -2
- package/dist/index148.js +2 -3
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +2 -2
- package/dist/index150.js +2 -2
- package/dist/index151.js +3 -2
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +3 -4
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +3 -8
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +3 -2
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +3 -2
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +3 -5
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +348 -17
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +131 -17
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +5 -29
- package/dist/index159.js.map +1 -1
- package/dist/index16.js +1 -1
- package/dist/index160.js +19 -2
- package/dist/index160.js.map +1 -1
- package/dist/index162.js +2 -2
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +184 -14
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +2 -13
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +23 -2
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +328 -3
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +16 -2
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +12 -5
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +2 -350
- package/dist/index169.js.map +1 -1
- package/dist/index170.js +2 -134
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +2 -186
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +4 -23
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +8 -328
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +20 -2
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +29 -21
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +2 -3
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +3 -3
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +6 -38
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +2 -28
- package/dist/index179.js.map +1 -1
- package/dist/index18.js +2 -2
- package/dist/index180.js +2 -13
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +20 -8
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +3 -96
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +3 -4
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +38 -295
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +9 -6
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +96 -2
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +28 -2
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +13 -2
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +6 -2
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +2 -235
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +294 -88
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +2 -2
- package/dist/index193.js +2 -117
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +111 -100
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +105 -78
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +4 -224
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +226 -249
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +2 -38
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +2 -2
- package/dist/index199.js.map +1 -1
- package/dist/index20.js +4 -4
- package/dist/index200.js +89 -2
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +79 -2
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +49 -8
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +223 -5
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +261 -0
- package/dist/index204.js.map +1 -0
- package/dist/index205.js +41 -0
- package/dist/index205.js.map +1 -0
- package/dist/index206.js +5 -0
- package/dist/index206.js.map +1 -0
- package/dist/index207.js +5 -0
- package/dist/index207.js.map +1 -0
- package/dist/index208.js +12 -0
- package/dist/index208.js.map +1 -0
- package/dist/index209.js +9 -0
- package/dist/index209.js.map +1 -0
- package/dist/index210.js +5 -0
- package/dist/index210.js.map +1 -0
- package/dist/index211.js +14 -0
- package/dist/index211.js.map +1 -0
- package/dist/index212.js +434 -0
- package/dist/index212.js.map +1 -0
- package/dist/index213.js +12 -0
- package/dist/index213.js.map +1 -0
- package/dist/index214.js +203 -0
- package/dist/index214.js.map +1 -0
- package/dist/index22.js +14 -14
- package/dist/index24.js +4 -4
- package/dist/index26.js +2 -2
- package/dist/index28.js +4 -4
- package/dist/index34.js +2 -2
- package/dist/index36.js +50 -37
- package/dist/index36.js.map +1 -1
- package/dist/index38.js +39 -39
- package/dist/index38.js.map +1 -1
- package/dist/index4.js +2 -2
- package/dist/index40.js +36 -82
- package/dist/index40.js.map +1 -1
- package/dist/index42.js +44 -57
- package/dist/index42.js.map +1 -1
- package/dist/index44.js +98 -79
- package/dist/index44.js.map +1 -1
- package/dist/index46.js +79 -81
- package/dist/index46.js.map +1 -1
- package/dist/index48.js +80 -40
- package/dist/index48.js.map +1 -1
- package/dist/index50.js +40 -283
- package/dist/index50.js.map +1 -1
- package/dist/index52.js +279 -95
- package/dist/index52.js.map +1 -1
- package/dist/index54.js +98 -212
- package/dist/index54.js.map +1 -1
- package/dist/index56.js +213 -44
- package/dist/index56.js.map +1 -1
- package/dist/index58.js +45 -40
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +2 -96
- package/dist/index59.js.map +1 -1
- package/dist/index6.js +4 -4
- package/dist/index60.js +44 -2
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +89 -211
- package/dist/index61.js.map +1 -1
- package/dist/index63.js +210 -130
- package/dist/index63.js.map +1 -1
- package/dist/index65.js +134 -18
- package/dist/index65.js.map +1 -1
- package/dist/index67.js +145 -74
- package/dist/index67.js.map +1 -1
- package/dist/index69.js +18 -98
- package/dist/index69.js.map +1 -1
- package/dist/index71.js +77 -17
- package/dist/index71.js.map +1 -1
- package/dist/index73.js +48 -66
- package/dist/index73.js.map +1 -1
- package/dist/index75.js +21 -78
- package/dist/index75.js.map +1 -1
- package/dist/index77.js +77 -46
- package/dist/index77.js.map +1 -1
- package/dist/index79.js +44 -61
- package/dist/index79.js.map +1 -1
- package/dist/index8.js +188 -181
- package/dist/index8.js.map +1 -1
- package/dist/index81.js +82 -106
- package/dist/index81.js.map +1 -1
- package/dist/index83.js +88 -370
- package/dist/index83.js.map +1 -1
- package/dist/index85.js +106 -74
- package/dist/index85.js.map +1 -1
- package/dist/index87.js +371 -68
- package/dist/index87.js.map +1 -1
- package/dist/index89.js +75 -111
- package/dist/index89.js.map +1 -1
- package/dist/index91.js +76 -87
- package/dist/index91.js.map +1 -1
- package/dist/index93.js +111 -32
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +2 -37
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +87 -42
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +2 -43
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +38 -3
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +37 -3
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +47 -3
- package/dist/index99.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index73.js
CHANGED
|
@@ -1,92 +1,81 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as p, openBlock as m, createBlock as c, withCtx as i, renderSlot as a, normalizeProps as l, guardReactiveProps as s, createVNode as b, mergeProps as h, createSlots as g, renderList as T } from "vue";
|
|
2
|
+
import f from "./index14.js";
|
|
3
3
|
import "./index15.js";
|
|
4
|
-
import
|
|
5
|
-
import "./
|
|
6
|
-
const
|
|
7
|
-
__name: "
|
|
4
|
+
import y from "./index20.js";
|
|
5
|
+
import "./index21.js";
|
|
6
|
+
const w = /* @__PURE__ */ p({
|
|
7
|
+
__name: "BbRadioGroup",
|
|
8
8
|
props: {
|
|
9
|
-
allowWriting: { type: Boolean, default: !0 },
|
|
10
|
-
addOptions: { type: Boolean },
|
|
11
9
|
autofocus: { type: Boolean },
|
|
12
|
-
|
|
13
|
-
comma: { type: Boolean },
|
|
14
|
-
debounceTime: {},
|
|
10
|
+
color: {},
|
|
15
11
|
dependencies: {},
|
|
16
12
|
depsDebounceTime: {},
|
|
17
13
|
direction: {},
|
|
14
|
+
inputDirection: {},
|
|
18
15
|
disabled: { type: Boolean },
|
|
19
16
|
enforceCoherence: { type: Boolean },
|
|
20
17
|
errors: {},
|
|
21
|
-
filterBy: {},
|
|
22
18
|
hasErrors: { type: Boolean },
|
|
19
|
+
hideLegend: { type: Boolean },
|
|
23
20
|
hideLabel: { type: Boolean },
|
|
24
21
|
id: {},
|
|
25
22
|
inputPosition: {},
|
|
26
|
-
items: {},
|
|
27
|
-
itemText: {},
|
|
28
|
-
itemValue: {},
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
labelTag: {},
|
|
23
|
+
items: { type: [Array, Function] },
|
|
24
|
+
itemText: { type: [String, Function] },
|
|
25
|
+
itemValue: { type: [String, Function] },
|
|
26
|
+
legend: {},
|
|
27
|
+
legendPosition: {},
|
|
32
28
|
loadingText: {},
|
|
33
29
|
modelValue: {},
|
|
34
30
|
modelValueDebounceTime: {},
|
|
35
|
-
multiple: { type: Boolean },
|
|
36
31
|
name: {},
|
|
37
32
|
noDataText: {},
|
|
38
|
-
placeholder: {},
|
|
39
|
-
prefill: { type: [Boolean, String], default: "focus" },
|
|
40
33
|
readonly: { type: Boolean },
|
|
41
|
-
|
|
42
|
-
reverse: { type: Boolean },
|
|
43
|
-
stash: { type: Boolean },
|
|
44
|
-
tag: {},
|
|
45
|
-
transitionDuration: {},
|
|
46
|
-
updateOnAnimationFrame: { type: Boolean }
|
|
34
|
+
reverse: { type: Boolean }
|
|
47
35
|
},
|
|
48
|
-
emits: ["blur", "change", "click", "focus", "
|
|
49
|
-
setup(
|
|
50
|
-
const
|
|
36
|
+
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue", "inactive"],
|
|
37
|
+
setup(V, { emit: o }) {
|
|
38
|
+
const d = {
|
|
51
39
|
onBlur: (e) => o("blur", e),
|
|
52
40
|
onChange: (e) => o("change", e),
|
|
53
41
|
onClick: (e) => o("click", e),
|
|
54
42
|
onFocus: (e) => o("focus", e),
|
|
55
43
|
onInactive: () => o("inactive"),
|
|
56
44
|
onInput: (e) => o("input", e),
|
|
45
|
+
onKeydown: (e) => o("keydown", e),
|
|
46
|
+
onMousedown: (e) => o("mousedown", e),
|
|
47
|
+
onMouseup: (e) => o("mouseup", e),
|
|
57
48
|
"onUpdate:modelValue": (e) => o("update:modelValue", e)
|
|
58
49
|
};
|
|
59
|
-
return (e, D) => (
|
|
60
|
-
class: "bb-
|
|
50
|
+
return (e, D) => (m(), c(f, {
|
|
51
|
+
class: "bb-radio-group",
|
|
61
52
|
direction: e.direction,
|
|
62
53
|
errors: e.errors,
|
|
63
|
-
|
|
64
|
-
hideLabel: e.
|
|
54
|
+
hasErrors: e.hasErrors,
|
|
55
|
+
hideLabel: e.hideLegend,
|
|
65
56
|
id: e.id,
|
|
66
57
|
inputPosition: e.inputPosition,
|
|
67
|
-
label: e.
|
|
68
|
-
labelPosition: e.
|
|
69
|
-
|
|
58
|
+
label: e.legend,
|
|
59
|
+
labelPosition: e.legendPosition,
|
|
60
|
+
labelTag: "legend",
|
|
70
61
|
name: e.name,
|
|
71
|
-
reverse: e.reverse
|
|
62
|
+
reverse: e.reverse,
|
|
63
|
+
tag: "fieldset"
|
|
72
64
|
}, {
|
|
73
|
-
label:
|
|
74
|
-
|
|
65
|
+
label: i((n) => [
|
|
66
|
+
a(e.$slots, "legend", l(s(n)))
|
|
75
67
|
]),
|
|
76
|
-
input:
|
|
77
|
-
|
|
78
|
-
addOptions: e.addOptions,
|
|
79
|
-
allowWriting: e.allowWriting,
|
|
68
|
+
input: i(({ id: n, name: t }) => [
|
|
69
|
+
b(y, h({
|
|
80
70
|
autofocus: e.autofocus,
|
|
81
|
-
|
|
82
|
-
comma: e.comma,
|
|
83
|
-
debounceTime: e.debounceTime,
|
|
71
|
+
color: e.color,
|
|
84
72
|
dependencies: e.dependencies,
|
|
85
73
|
depsDebounceTime: e.depsDebounceTime,
|
|
74
|
+
direction: e.inputDirection,
|
|
86
75
|
disabled: e.disabled,
|
|
87
76
|
enforceCoherence: e.enforceCoherence,
|
|
88
|
-
|
|
89
|
-
|
|
77
|
+
hasErrors: e.hasErrors,
|
|
78
|
+
hideLabel: e.hideLabel,
|
|
90
79
|
id: n,
|
|
91
80
|
items: e.items,
|
|
92
81
|
itemText: e.itemText,
|
|
@@ -94,30 +83,23 @@ const k = /* @__PURE__ */ m({
|
|
|
94
83
|
loadingText: e.loadingText,
|
|
95
84
|
modelValue: e.modelValue,
|
|
96
85
|
modelValueDebounceTime: e.modelValueDebounceTime,
|
|
97
|
-
|
|
98
|
-
name: d,
|
|
86
|
+
name: t,
|
|
99
87
|
noDataText: e.noDataText,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
updateOnAnimationFrame: e.updateOnAnimationFrame
|
|
107
|
-
}, s), y({ _: 2 }, [
|
|
108
|
-
T(e.$slots, (O, i) => ({
|
|
109
|
-
name: i,
|
|
110
|
-
fn: a((p) => [
|
|
111
|
-
l(e.$slots, i, r(t(p)))
|
|
88
|
+
readonly: e.readonly
|
|
89
|
+
}, d), g({ _: 2 }, [
|
|
90
|
+
T(e.$slots, (B, r) => ({
|
|
91
|
+
name: r,
|
|
92
|
+
fn: i((u) => [
|
|
93
|
+
a(e.$slots, r, l(s(u)))
|
|
112
94
|
])
|
|
113
95
|
}))
|
|
114
|
-
]), 1040, ["
|
|
96
|
+
]), 1040, ["autofocus", "color", "dependencies", "depsDebounceTime", "direction", "disabled", "enforceCoherence", "hasErrors", "hideLabel", "id", "items", "itemText", "itemValue", "loadingText", "modelValue", "modelValueDebounceTime", "name", "noDataText", "readonly"])
|
|
115
97
|
]),
|
|
116
98
|
_: 3
|
|
117
|
-
}, 8, ["direction", "errors", "
|
|
99
|
+
}, 8, ["direction", "errors", "hasErrors", "hideLabel", "id", "inputPosition", "label", "labelPosition", "name", "reverse"]));
|
|
118
100
|
}
|
|
119
101
|
});
|
|
120
102
|
export {
|
|
121
|
-
|
|
103
|
+
w as default
|
|
122
104
|
};
|
|
123
105
|
//# sourceMappingURL=index73.js.map
|
package/dist/index73.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index73.js","sources":["../src/components/BbSelect/BbSelect.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, mergeProps as _mergeProps, withCtx as _withCtx, renderList as _renderList, createSlots as _createSlots, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport BaseInputContainer from \"../BaseInputContainer/BaseInputContainer.vue\";\nimport BaseSelect from \"../BaseSelect/BaseSelect.vue\";\nimport type { BaseSelectEvents } from \"../BaseSelect/BaseSelect.vue\";\n\nexport interface BbSelectProps {\n allowWriting?: boolean;\n addOptions?: boolean;\n autofocus?: boolean;\n chips?: boolean;\n comma?: boolean;\n debounceTime?: number;\n dependencies?: any[];\n depsDebounceTime?: number;\n direction?: \"horizontal\" | \"vertical\" | \"auto\" | string;\n disabled?: boolean;\n enforceCoherence?: boolean;\n errors?: string | string[];\n filterBy?: string | string[] | ((value: any, item: any) => boolean) | null;\n hasErrors?: boolean;\n hideLabel?: boolean;\n id?: string;\n inputPosition?: \"left\" | \"center\" | \"right\";\n items:\n | any[]\n | ((query: string, prefill: boolean, modelValue: any) => Promise<any[]>)\n | ((query: string, prefill: boolean, modelValue: any) => any[]);\n itemText?: string | (() => string);\n itemValue?: string | (() => any);\n label: string;\n labelPosition?: \"left\" | \"center\" | \"right\";\n labelTag?: string;\n loadingText?: string;\n modelValue?: any;\n modelValueDebounceTime?: number;\n multiple?: boolean;\n name?: string;\n noDataText?: string;\n placeholder?: string;\n prefill?: boolean | \"focus\";\n readonly?: boolean;\n resetQueryOnOptionSelected?: boolean;\n reverse?: boolean;\n stash?: boolean;\n tag?: string;\n transitionDuration?: number;\n updateOnAnimationFrame?: boolean;\n}\n\nexport type BbSelectEvents = BaseSelectEvents;\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbSelect',\n props: {\n allowWriting: { type: Boolean, default: true },\n addOptions: { type: Boolean },\n autofocus: { type: Boolean },\n chips: { type: Boolean },\n comma: { type: Boolean },\n debounceTime: {},\n dependencies: {},\n depsDebounceTime: {},\n direction: {},\n disabled: { type: Boolean },\n enforceCoherence: { type: Boolean },\n errors: {},\n filterBy: {},\n hasErrors: { type: Boolean },\n hideLabel: { type: Boolean },\n id: {},\n inputPosition: {},\n items: {},\n itemText: {},\n itemValue: {},\n label: {},\n labelPosition: {},\n labelTag: {},\n loadingText: {},\n modelValue: {},\n modelValueDebounceTime: {},\n multiple: { type: Boolean },\n name: {},\n noDataText: {},\n placeholder: {},\n prefill: { type: [Boolean, String], default: \"focus\" },\n readonly: { type: Boolean },\n resetQueryOnOptionSelected: { type: Boolean },\n reverse: { type: Boolean },\n stash: { type: Boolean },\n tag: {},\n transitionDuration: {},\n updateOnAnimationFrame: { type: Boolean }\n },\n emits: [\"blur\", \"change\", \"click\", \"focus\", \"inactive\", \"input\", \"update:modelValue\"],\n setup(__props: any, { emit }) {\n\n\n\n\n\nconst eventListeners = {\n onBlur: (event: FocusEvent) => emit(\"blur\", event),\n onChange: (event: Event) => emit(\"change\", event),\n onClick: (event: MouseEvent) => emit(\"click\", event),\n onFocus: (event: FocusEvent) => emit(\"focus\", event),\n onInactive: () => emit(\"inactive\"),\n onInput: (event: Event) => emit(\"input\", event),\n \"onUpdate:modelValue\": (value: any) => emit(\"update:modelValue\", value),\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseInputContainer, {\n class: \"bb-select\",\n direction: _ctx.direction,\n errors: _ctx.errors,\n \"has-errors\": _ctx.hasErrors,\n hideLabel: _ctx.hideLabel,\n id: _ctx.id,\n inputPosition: _ctx.inputPosition,\n label: _ctx.label,\n labelPosition: _ctx.labelPosition,\n modelValue: _ctx.modelValue,\n name: _ctx.name,\n reverse: _ctx.reverse\n }, {\n label: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"label\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n input: _withCtx(({ id, name, hasErrors }) => [\n _createVNode(BaseSelect, _mergeProps({\n addOptions: _ctx.addOptions,\n allowWriting: _ctx.allowWriting,\n autofocus: _ctx.autofocus,\n chips: _ctx.chips,\n comma: _ctx.comma,\n debounceTime: _ctx.debounceTime,\n dependencies: _ctx.dependencies,\n depsDebounceTime: _ctx.depsDebounceTime,\n disabled: _ctx.disabled,\n enforceCoherence: _ctx.enforceCoherence,\n filterBy: _ctx.filterBy,\n hasErrors: hasErrors,\n id: id,\n items: _ctx.items,\n itemText: _ctx.itemText,\n itemValue: _ctx.itemValue,\n loadingText: _ctx.loadingText,\n modelValue: _ctx.modelValue,\n modelValueDebounceTime: _ctx.modelValueDebounceTime,\n multiple: _ctx.multiple,\n name: name,\n noDataText: _ctx.noDataText,\n placeholder: _ctx.placeholder,\n prefill: _ctx.prefill,\n readonly: _ctx.readonly,\n resetQueryOnOptionSelected: _ctx.resetQueryOnOptionSelected,\n stash: _ctx.stash,\n transitionDuration: _ctx.transitionDuration,\n updateOnAnimationFrame: _ctx.updateOnAnimationFrame\n }, eventListeners), _createSlots({ _: 2 }, [\n _renderList(_ctx.$slots, (_, name) => {\n return {\n name: name,\n fn: _withCtx((data) => [\n _renderSlot(_ctx.$slots, name, _normalizeProps(_guardReactiveProps(data)))\n ])\n }\n })\n ]), 1040, [\"addOptions\", \"allowWriting\", \"autofocus\", \"chips\", \"comma\", \"debounceTime\", \"dependencies\", \"depsDebounceTime\", \"disabled\", \"enforceCoherence\", \"filterBy\", \"hasErrors\", \"id\", \"items\", \"itemText\", \"itemValue\", \"loadingText\", \"modelValue\", \"modelValueDebounceTime\", \"multiple\", \"name\", \"noDataText\", \"placeholder\", \"prefill\", \"readonly\", \"resetQueryOnOptionSelected\", \"stash\", \"transitionDuration\", \"updateOnAnimationFrame\"])\n ]),\n _: 3\n }, 8, [\"direction\", \"errors\", \"has-errors\", \"hideLabel\", \"id\", \"inputPosition\", \"label\", \"labelPosition\", \"modelValue\", \"name\", \"reverse\"]))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","emit","eventListeners","event","value","_ctx","_cache","_openBlock","_createBlock","BaseInputContainer","_withCtx","data","_renderSlot","_normalizeProps","_guardReactiveProps","id","name","hasErrors","_createVNode","BaseSelect","_mergeProps","_createSlots","_renderList","_"],"mappings":";;;;;AAsDA,MAA4BA,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,cAAc,EAAE,MAAM,SAAS,SAAS,GAAK;AAAA,IAC7C,YAAY,EAAE,MAAM,QAAQ;AAAA,IAC5B,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,OAAO,EAAE,MAAM,QAAQ;AAAA,IACvB,OAAO,EAAE,MAAM,QAAQ;AAAA,IACvB,cAAc,CAAC;AAAA,IACf,cAAc,CAAC;AAAA,IACf,kBAAkB,CAAC;AAAA,IACnB,WAAW,CAAC;AAAA,IACZ,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,kBAAkB,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A,YAAYX,EAAK;AAAA,UACjB,aAAaA,EAAK;AAAA,UAClB,SAASA,EAAK;AAAA,UACd,UAAUA,EAAK;AAAA,UACf,4BAA4BA,EAAK;AAAA,UACjC,OAAOA,EAAK;AAAA,UACZ,oBAAoBA,EAAK;AAAA,UACzB,wBAAwBA,EAAK;AAAA,WAC5BH,CAAc,GAAGmB,EAAa,EAAE,GAAG,KAAK;AAAA,UACzCC,EAAYjB,EAAK,QAAQ,CAACkB,GAAGP,OACpB;AAAA,YACL,MAAMA;AAAAA,YACN,IAAIN,EAAS,CAACC,MAAS;AAAA,cACrBC,EAAYP,EAAK,QAAQW,GAAMH,EAAgBC,EAAoBH,CAAI,CAAC,CAAC;AAAA,YAAA,CAC1E;AAAA,UAAA,EAEJ;AAAA,QAAA,CACF,GAAG,MAAM,CAAC,cAAc,gBAAgB,aAAa,SAAS,SAAS,gBAAgB,gBAAgB,oBAAoB,YAAY,oBAAoB,YAAY,aAAa,MAAM,SAAS,YAAY,aAAa,eAAe,cAAc,0BAA0B,YAAY,QAAQ,cAAc,eAAe,WAAW,YAAY,8BAA8B,SAAS,sBAAsB,wBAAwB,CAAC;AAAA,MAAA,CACnb;AAAA,MACD,GAAG;AAAA,IACF,GAAA,GAAG,CAAC,aAAa,UAAU,cAAc,aAAa,MAAM,iBAAiB,SAAS,iBAAiB,cAAc,QAAQ,SAAS,CAAC;AAAA,EAE5I;AAEA,CAAC;"}
|
|
1
|
+
{"version":3,"file":"index73.js","sources":["../src/components/BbRadioGroup/BbRadioGroup.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, mergeProps as _mergeProps, withCtx as _withCtx, renderList as _renderList, createSlots as _createSlots, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport BaseInputContainer from \"../BaseInputContainer/BaseInputContainer.vue\";\nimport BaseRadioGroup from \"../BaseRadioGroup/BaseRadioGroup.vue\";\nimport type { BaseRadioGroupEvents } from \"../BaseRadioGroup/BaseRadioGroup.vue\";\n\nexport interface BbRadioGroupProps {\n autofocus?: boolean;\n color?: string;\n dependencies?: any[];\n depsDebounceTime?: number;\n direction?: \"horizontal\" | \"vertical\" | \"auto\";\n inputDirection?: \"horizontal\" | \"vertical\";\n disabled?: boolean;\n enforceCoherence?: boolean;\n errors?: string | string[];\n hasErrors?: boolean;\n hideLegend?: boolean;\n hideLabel?: boolean;\n id?: string;\n inputPosition?: \"left\" | \"center\" | \"right\";\n items:\n | any[]\n | ((prefill: boolean, modelValue: any) => Promise<any[]>)\n | ((prefill: boolean, modelValue: any) => any[]);\n itemText?: string | ((item: any) => string);\n itemValue?: string | ((item: any) => any);\n legend: string;\n legendPosition?: \"left\" | \"center\" | \"right\";\n loadingText?: string;\n modelValue?: any;\n modelValueDebounceTime?: number;\n name: string;\n noDataText?: string;\n readonly?: boolean;\n reverse?: boolean;\n}\n\nexport type BbRadioGroupEvents = BaseRadioGroupEvents;\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbRadioGroup',\n props: {\n autofocus: { type: Boolean },\n color: {},\n dependencies: {},\n depsDebounceTime: {},\n direction: {},\n inputDirection: {},\n disabled: { type: Boolean },\n enforceCoherence: { type: Boolean },\n errors: {},\n hasErrors: { type: Boolean },\n hideLegend: { type: Boolean },\n hideLabel: { type: Boolean },\n id: {},\n inputPosition: {},\n items: { type: [Array, Function] },\n itemText: { type: [String, Function] },\n itemValue: { type: [String, Function] },\n legend: {},\n legendPosition: {},\n loadingText: {},\n modelValue: {},\n modelValueDebounceTime: {},\n name: {},\n noDataText: {},\n readonly: { type: Boolean },\n reverse: { type: Boolean }\n },\n emits: [\"blur\", \"change\", \"click\", \"focus\", \"input\", \"keydown\", \"mousedown\", \"mouseup\", \"update:modelValue\", \"inactive\"],\n setup(__props: any, { emit }) {\n\n\n\n\n\nconst eventListeners = {\n onBlur: (event: FocusEvent) => emit(\"blur\", event),\n onChange: (event: Event) => emit(\"change\", event),\n onClick: (event: MouseEvent) => emit(\"click\", event),\n onFocus: (event: FocusEvent) => emit(\"focus\", event),\n onInactive: () => emit(\"inactive\"),\n onInput: (event: Event) => emit(\"input\", event),\n onKeydown: (event: KeyboardEvent) => emit(\"keydown\", event),\n onMousedown: (event: MouseEvent) => emit(\"mousedown\", event),\n onMouseup: (event: MouseEvent) => emit(\"mouseup\", event),\n \"onUpdate:modelValue\": (event: any) => emit(\"update:modelValue\", event),\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseInputContainer, {\n class: \"bb-radio-group\",\n direction: _ctx.direction,\n errors: _ctx.errors,\n hasErrors: _ctx.hasErrors,\n hideLabel: _ctx.hideLegend,\n id: _ctx.id,\n inputPosition: _ctx.inputPosition,\n label: _ctx.legend,\n labelPosition: _ctx.legendPosition,\n labelTag: 'legend',\n name: _ctx.name,\n reverse: _ctx.reverse,\n tag: 'fieldset'\n }, {\n label: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"legend\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n input: _withCtx(({ id, name }) => [\n _createVNode(BaseRadioGroup, _mergeProps({\n autofocus: _ctx.autofocus,\n color: _ctx.color,\n dependencies: _ctx.dependencies,\n depsDebounceTime: _ctx.depsDebounceTime,\n direction: _ctx.inputDirection,\n disabled: _ctx.disabled,\n enforceCoherence: _ctx.enforceCoherence,\n hasErrors: _ctx.hasErrors,\n hideLabel: _ctx.hideLabel,\n id: id,\n items: _ctx.items,\n itemText: _ctx.itemText,\n itemValue: _ctx.itemValue,\n loadingText: _ctx.loadingText,\n modelValue: _ctx.modelValue,\n modelValueDebounceTime: _ctx.modelValueDebounceTime,\n name: name,\n noDataText: _ctx.noDataText,\n readonly: _ctx.readonly\n }, eventListeners), _createSlots({ _: 2 }, [\n _renderList(_ctx.$slots, (_, name) => {\n return {\n name: name,\n fn: _withCtx((data) => [\n _renderSlot(_ctx.$slots, name, _normalizeProps(_guardReactiveProps(data)))\n ])\n }\n })\n ]), 1040, [\"autofocus\", \"color\", \"dependencies\", \"depsDebounceTime\", \"direction\", \"disabled\", \"enforceCoherence\", \"hasErrors\", \"hideLabel\", \"id\", \"items\", \"itemText\", \"itemValue\", \"loadingText\", \"modelValue\", \"modelValueDebounceTime\", \"name\", \"noDataText\", \"readonly\"])\n ]),\n _: 3\n }, 8, [\"direction\", \"errors\", \"hasErrors\", \"hideLabel\", \"id\", \"inputPosition\", \"label\", \"labelPosition\", \"name\", \"reverse\"]))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","emit","eventListeners","event","_ctx","_cache","_openBlock","_createBlock","BaseInputContainer","_withCtx","data","_renderSlot","_normalizeProps","_guardReactiveProps","id","name","_createVNode","BaseRadioGroup","_mergeProps","_createSlots","_renderList","_"],"mappings":";;;;;AAyCA,MAA4BA,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,OAAO,CAAC;AAAA,IACR,cAAc,CAAC;AAAA,IACf,kBAAkB,CAAC;AAAA,IACnB,WAAW,CAAC;AAAA,IACZ,gBAAgB,CAAC;AAAA,IACjB,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,kBAAkB,EAAE,MAAM,QAAQ;AAAA,IAClC,QAAQ,CAAC;AAAA,IACT,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,YAAY,EAAE,MAAM,QAAQ;AAAA,IAC5B,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,IAAI,CAAC;AAAA,IACL,eAAe,CAAC;AAAA,IAChB,OAAO,EAAE,MAAM,CAAC,OAAO,QAAQ,EAAE;AAAA,IACjC,UAAU,EAAE,MAAM,CAAC,QAAQ,QAAQ,EAAE;AAAA,IACrC,WAAW,EAAE,MAAM,CAAC,QAAQ,QAAQ,EAAE;AAAA,IACtC,QAAQ,CA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AG;AAAA,IACF,GAAA,GAAG,CAAC,aAAa,UAAU,aAAa,aAAa,MAAM,iBAAiB,SAAS,iBAAiB,QAAQ,SAAS,CAAC;AAAA,EAE7H;AAEA,CAAC;"}
|
package/dist/index75.js
CHANGED
|
@@ -1,88 +1,31 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import V from "./index24.js";
|
|
5
|
-
import "./index25.js";
|
|
6
|
-
const g = /* @__PURE__ */ m({
|
|
7
|
-
__name: "BbSlider",
|
|
1
|
+
import { defineComponent as l, openBlock as e, createBlock as o, resolveDynamicComponent as a, normalizeStyle as n, withCtx as r, renderSlot as i } from "vue";
|
|
2
|
+
const f = /* @__PURE__ */ l({
|
|
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
|
-
id: {},
|
|
17
|
-
inputPosition: {},
|
|
18
|
-
label: {},
|
|
19
|
-
labelPosition: {},
|
|
20
|
-
max: {},
|
|
21
|
-
min: {},
|
|
22
|
-
modelValue: {},
|
|
23
|
-
name: {},
|
|
24
|
-
readonly: { type: Boolean },
|
|
25
|
-
reverse: { type: Boolean },
|
|
26
|
-
step: {}
|
|
5
|
+
ratio: { default: 1 },
|
|
6
|
+
tag: { default: "div" }
|
|
27
7
|
},
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
onKeydown: (e) => o("keydown", e),
|
|
36
|
-
onPointerdown: (e) => o("pointerdown", e),
|
|
37
|
-
onPointermove: (e) => o("pointermove", e),
|
|
38
|
-
onPointerup: (e) => o("pointerup", e),
|
|
39
|
-
onStart: (e) => o("start", e),
|
|
40
|
-
"onUpdate:modelValue": (e) => o("update:modelValue", e)
|
|
41
|
-
};
|
|
42
|
-
return (e, k) => (b(), c(h, {
|
|
43
|
-
class: "bb-slider",
|
|
44
|
-
direction: e.direction,
|
|
45
|
-
errors: e.errors,
|
|
46
|
-
hasErrors: e.hasErrors,
|
|
47
|
-
hideLabel: e.hideLabel,
|
|
48
|
-
id: e.id,
|
|
49
|
-
inputPosition: e.inputPosition,
|
|
50
|
-
label: e.label,
|
|
51
|
-
labelPosition: e.labelPosition,
|
|
52
|
-
modelValue: e.modelValue,
|
|
53
|
-
name: e.name,
|
|
54
|
-
reverse: e.reverse
|
|
8
|
+
setup(s) {
|
|
9
|
+
return (t, d) => (e(), o(a(t.tag), {
|
|
10
|
+
class: "bb-ratio",
|
|
11
|
+
style: n({
|
|
12
|
+
width: "100%",
|
|
13
|
+
paddingBottom: `${(1 / t.ratio * 100).toFixed(2)}%`
|
|
14
|
+
})
|
|
55
15
|
}, {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
disabled: e.disabled,
|
|
64
|
-
hasErrors: p,
|
|
65
|
-
id: r,
|
|
66
|
-
max: e.max,
|
|
67
|
-
min: e.min,
|
|
68
|
-
modelValue: e.modelValue,
|
|
69
|
-
name: t,
|
|
70
|
-
readonly: e.readonly,
|
|
71
|
-
step: e.step
|
|
72
|
-
}, d), y({ _: 2 }, [
|
|
73
|
-
v(e.$slots, (w, a) => ({
|
|
74
|
-
name: a,
|
|
75
|
-
fn: n((u) => [
|
|
76
|
-
l(e.$slots, a, i(s(u)))
|
|
77
|
-
])
|
|
78
|
-
}))
|
|
79
|
-
]), 1040, ["autofocus", "color", "disabled", "hasErrors", "id", "max", "min", "modelValue", "name", "readonly", "step"])
|
|
16
|
+
default: r(() => [
|
|
17
|
+
(e(), o(a(t.tag), { class: "bb-ratio__inner" }, {
|
|
18
|
+
default: r(() => [
|
|
19
|
+
i(t.$slots, "default")
|
|
20
|
+
]),
|
|
21
|
+
_: 3
|
|
22
|
+
}))
|
|
80
23
|
]),
|
|
81
24
|
_: 3
|
|
82
|
-
}, 8, ["
|
|
25
|
+
}, 8, ["style"]));
|
|
83
26
|
}
|
|
84
27
|
});
|
|
85
28
|
export {
|
|
86
|
-
|
|
29
|
+
f as default
|
|
87
30
|
};
|
|
88
31
|
//# sourceMappingURL=index75.js.map
|
package/dist/index75.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index75.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"index75.js","sources":["../src/components/BbRatio/BbRatio.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, normalizeStyle as _normalizeStyle } from \"vue\"\n\nexport type BbRatioProps = {\n ratio?: number;\n tag: string;\n};\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbRatio',\n props: {\n ratio: { default: 1 },\n tag: { default: \"div\" }\n },\n setup(__props: any) {\n\nconst props = __props;\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_resolveDynamicComponent(_ctx.tag), {\n class: \"bb-ratio\",\n style: _normalizeStyle({\n width: '100%',\n paddingBottom: `${((1 / _ctx.ratio) * 100).toFixed(2)}%`,\n })\n }, {\n default: _withCtx(() => [\n (_openBlock(), _createBlock(_resolveDynamicComponent(_ctx.tag), { class: \"bb-ratio__inner\" }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }))\n ]),\n _: 3\n }, 8, [\"style\"]))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","_ctx","_cache","_openBlock","_createBlock","_resolveDynamicComponent","_normalizeStyle","_withCtx","_renderSlot"],"mappings":";AAQA,MAA4BA,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,OAAO,EAAE,SAAS,EAAE;AAAA,IACpB,KAAK,EAAE,SAAS,MAAM;AAAA,EACxB;AAAA,EACA,MAAMC,GAAc;AAMf,WAAA,CAACC,GAAUC,OACRC,EAAc,GAAAC,EAAaC,EAAyBJ,EAAK,GAAG,GAAG;AAAA,MACrE,OAAO;AAAA,MACP,OAAOK,EAAgB;AAAA,QACrB,OAAO;AAAA,QACP,eAAe,IAAK,IAAIL,EAAK,QAAS,KAAK,QAAQ,CAAC,CAAC;AAAA,MAAA,CACtD;AAAA,IAAA,GACA;AAAA,MACD,SAASM,EAAS,MAAM;AAAA,SACrBJ,EAAc,GAAAC,EAAaC,EAAyBJ,EAAK,GAAG,GAAG,EAAE,OAAO,qBAAqB;AAAA,UAC5F,SAASM,EAAS,MAAM;AAAA,YACtBC,EAAYP,EAAK,QAAQ,SAAS;AAAA,UAAA,CACnC;AAAA,UACD,GAAG;AAAA,QAAA,CACJ;AAAA,MAAA,CACF;AAAA,MACD,GAAG;AAAA,IAAA,GACF,GAAG,CAAC,OAAO,CAAC;AAAA,EAEjB;AAEA,CAAC;"}
|
package/dist/index77.js
CHANGED
|
@@ -1,92 +1,123 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as m, openBlock as c, createBlock as b, withCtx as a, renderSlot as l, normalizeProps as r, guardReactiveProps as t, createVNode as f, mergeProps as h, createSlots as y, renderList as T } from "vue";
|
|
2
2
|
import B from "./index14.js";
|
|
3
3
|
import "./index15.js";
|
|
4
|
-
import
|
|
5
|
-
import "./
|
|
6
|
-
const
|
|
7
|
-
__name: "
|
|
4
|
+
import V from "./index22.js";
|
|
5
|
+
import "./index23.js";
|
|
6
|
+
const k = /* @__PURE__ */ m({
|
|
7
|
+
__name: "BbSelect",
|
|
8
8
|
props: {
|
|
9
|
+
allowWriting: { type: Boolean, default: !0 },
|
|
10
|
+
addOptions: { type: Boolean },
|
|
9
11
|
autofocus: { type: Boolean },
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
chips: { type: Boolean },
|
|
13
|
+
comma: { type: Boolean },
|
|
14
|
+
debounceTime: {},
|
|
15
|
+
dependencies: {},
|
|
16
|
+
depsDebounceTime: {},
|
|
17
|
+
direction: {},
|
|
13
18
|
disabled: { type: Boolean },
|
|
19
|
+
enforceCoherence: { type: Boolean },
|
|
14
20
|
errors: {},
|
|
15
|
-
|
|
21
|
+
filterBy: {},
|
|
16
22
|
hasErrors: { type: Boolean },
|
|
17
23
|
hideLabel: { type: Boolean },
|
|
18
24
|
id: {},
|
|
19
|
-
indeterminate: { type: Boolean },
|
|
20
25
|
inputPosition: {},
|
|
26
|
+
items: {},
|
|
27
|
+
itemText: {},
|
|
28
|
+
itemValue: {},
|
|
21
29
|
label: {},
|
|
22
30
|
labelPosition: {},
|
|
31
|
+
labelTag: {},
|
|
32
|
+
loadingText: {},
|
|
23
33
|
modelValue: {},
|
|
34
|
+
modelValueDebounceTime: {},
|
|
35
|
+
multiple: { type: Boolean },
|
|
24
36
|
name: {},
|
|
37
|
+
noDataText: {},
|
|
38
|
+
placeholder: {},
|
|
39
|
+
prefill: { type: [Boolean, String], default: "focus" },
|
|
25
40
|
readonly: { type: Boolean },
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
41
|
+
resetQueryOnOptionSelected: { type: Boolean },
|
|
42
|
+
reverse: { type: Boolean },
|
|
43
|
+
stash: { type: Boolean },
|
|
44
|
+
tag: {},
|
|
45
|
+
transitionDuration: {},
|
|
46
|
+
updateOnAnimationFrame: { type: Boolean }
|
|
29
47
|
},
|
|
30
|
-
emits: ["blur", "change", "click", "focus", "
|
|
31
|
-
setup(
|
|
32
|
-
const
|
|
48
|
+
emits: ["blur", "change", "click", "focus", "inactive", "input", "update:modelValue"],
|
|
49
|
+
setup(g, { emit: o }) {
|
|
50
|
+
const s = {
|
|
33
51
|
onBlur: (e) => o("blur", e),
|
|
34
52
|
onChange: (e) => o("change", e),
|
|
35
53
|
onClick: (e) => o("click", e),
|
|
36
54
|
onFocus: (e) => o("focus", e),
|
|
55
|
+
onInactive: () => o("inactive"),
|
|
37
56
|
onInput: (e) => o("input", e),
|
|
38
|
-
onKeydown: (e) => o("keydown", e),
|
|
39
|
-
onMousedown: (e) => o("mousedown", e),
|
|
40
|
-
onMouseup: (e) => o("mouseup", e),
|
|
41
57
|
"onUpdate:modelValue": (e) => o("update:modelValue", e)
|
|
42
58
|
};
|
|
43
|
-
return (e,
|
|
44
|
-
class: "bb-
|
|
59
|
+
return (e, D) => (c(), b(B, {
|
|
60
|
+
class: "bb-select",
|
|
45
61
|
direction: e.direction,
|
|
46
62
|
errors: e.errors,
|
|
47
|
-
|
|
63
|
+
"has-errors": e.hasErrors,
|
|
48
64
|
hideLabel: e.hideLabel,
|
|
49
65
|
id: e.id,
|
|
50
66
|
inputPosition: e.inputPosition,
|
|
51
67
|
label: e.label,
|
|
52
68
|
labelPosition: e.labelPosition,
|
|
53
|
-
|
|
69
|
+
modelValue: e.modelValue,
|
|
54
70
|
name: e.name,
|
|
55
|
-
reverse: e.reverse
|
|
56
|
-
tag: "label"
|
|
71
|
+
reverse: e.reverse
|
|
57
72
|
}, {
|
|
58
|
-
label:
|
|
59
|
-
|
|
73
|
+
label: a((n) => [
|
|
74
|
+
l(e.$slots, "label", r(t(n)))
|
|
60
75
|
]),
|
|
61
|
-
input:
|
|
62
|
-
f(
|
|
76
|
+
input: a(({ id: n, name: d, hasErrors: u }) => [
|
|
77
|
+
f(V, h({
|
|
78
|
+
addOptions: e.addOptions,
|
|
79
|
+
allowWriting: e.allowWriting,
|
|
63
80
|
autofocus: e.autofocus,
|
|
64
|
-
|
|
65
|
-
|
|
81
|
+
chips: e.chips,
|
|
82
|
+
comma: e.comma,
|
|
83
|
+
debounceTime: e.debounceTime,
|
|
84
|
+
dependencies: e.dependencies,
|
|
85
|
+
depsDebounceTime: e.depsDebounceTime,
|
|
66
86
|
disabled: e.disabled,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
87
|
+
enforceCoherence: e.enforceCoherence,
|
|
88
|
+
filterBy: e.filterBy,
|
|
89
|
+
hasErrors: u,
|
|
90
|
+
id: n,
|
|
91
|
+
items: e.items,
|
|
92
|
+
itemText: e.itemText,
|
|
93
|
+
itemValue: e.itemValue,
|
|
94
|
+
loadingText: e.loadingText,
|
|
70
95
|
modelValue: e.modelValue,
|
|
71
|
-
|
|
96
|
+
modelValueDebounceTime: e.modelValueDebounceTime,
|
|
97
|
+
multiple: e.multiple,
|
|
98
|
+
name: d,
|
|
99
|
+
noDataText: e.noDataText,
|
|
100
|
+
placeholder: e.placeholder,
|
|
101
|
+
prefill: e.prefill,
|
|
72
102
|
readonly: e.readonly,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
103
|
+
resetQueryOnOptionSelected: e.resetQueryOnOptionSelected,
|
|
104
|
+
stash: e.stash,
|
|
105
|
+
transitionDuration: e.transitionDuration,
|
|
106
|
+
updateOnAnimationFrame: e.updateOnAnimationFrame
|
|
107
|
+
}, s), y({ _: 2 }, [
|
|
108
|
+
T(e.$slots, (O, i) => ({
|
|
109
|
+
name: i,
|
|
110
|
+
fn: a((p) => [
|
|
111
|
+
l(e.$slots, i, r(t(p)))
|
|
81
112
|
])
|
|
82
113
|
}))
|
|
83
|
-
]), 1040, ["autofocus", "
|
|
114
|
+
]), 1040, ["addOptions", "allowWriting", "autofocus", "chips", "comma", "debounceTime", "dependencies", "depsDebounceTime", "disabled", "enforceCoherence", "filterBy", "hasErrors", "id", "items", "itemText", "itemValue", "loadingText", "modelValue", "modelValueDebounceTime", "multiple", "name", "noDataText", "placeholder", "prefill", "readonly", "resetQueryOnOptionSelected", "stash", "transitionDuration", "updateOnAnimationFrame"])
|
|
84
115
|
]),
|
|
85
116
|
_: 3
|
|
86
|
-
}, 8, ["direction", "errors", "
|
|
117
|
+
}, 8, ["direction", "errors", "has-errors", "hideLabel", "id", "inputPosition", "label", "labelPosition", "modelValue", "name", "reverse"]));
|
|
87
118
|
}
|
|
88
119
|
});
|
|
89
120
|
export {
|
|
90
|
-
|
|
121
|
+
k as default
|
|
91
122
|
};
|
|
92
123
|
//# sourceMappingURL=index77.js.map
|
package/dist/index77.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index77.js","sources":["../src/components/BbSwitch/BbSwitch.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, mergeProps as _mergeProps, withCtx as _withCtx, renderList as _renderList, createSlots as _createSlots, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport BaseInputContainer from \"../BaseInputContainer/BaseInputContainer.vue\";\nimport BaseSwitch from \"../BaseSwitch/BaseSwitch.vue\";\nimport type { BbCheckboxProps, BbCheckboxEvents } from \"../BbCheckbox/BbCheckbox.vue\"\n\nexport type BbSwitchProps = BbCheckboxProps\n\nexport type BbSwitchEvents = BbCheckboxEvents;\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbSwitch',\n props: {\n autofocus: { type: Boolean },\n checked: { type: Boolean },\n color: {},\n direction: { default: 'auto' },\n disabled: { type: Boolean },\n errors: {},\n falseValue: {},\n hasErrors: { type: Boolean },\n hideLabel: { type: Boolean },\n id: {},\n indeterminate: { type: Boolean },\n inputPosition: {},\n label: {},\n labelPosition: {},\n modelValue: {},\n name: {},\n readonly: { type: Boolean },\n reverse: { type: Boolean, default: true },\n submitWhenFalse: { type: Boolean },\n trueValue: {}\n },\n emits: [\"blur\", \"change\", \"click\", \"focus\", \"input\", \"keydown\", \"mousedown\", \"mouseup\", \"update:modelValue\"],\n setup(__props: any, { emit }) {\n\n\n\n\n\nconst eventListeners = {\n onBlur: (event: FocusEvent) => emit(\"blur\", event),\n onChange: (event: Event) => emit(\"change\", event),\n onClick: (event: MouseEvent) => emit(\"click\", event),\n onFocus: (event: FocusEvent) => emit(\"focus\", event),\n onInput: (event: Event) => emit(\"input\", event),\n onKeydown: (event: KeyboardEvent) => emit(\"keydown\", event),\n onMousedown: (event: MouseEvent) => emit(\"mousedown\", event),\n onMouseup: (event: MouseEvent) => emit(\"mouseup\", event),\n \"onUpdate:modelValue\": (value: any) => emit(\"update:modelValue\", value),\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseInputContainer, {\n class: \"bb-switch\",\n direction: _ctx.direction,\n errors: _ctx.errors,\n hasErrors: _ctx.hasErrors,\n hideLabel: _ctx.hideLabel,\n id: _ctx.id,\n inputPosition: _ctx.inputPosition,\n label: _ctx.label,\n labelPosition: _ctx.labelPosition,\n labelTag: 'span',\n name: _ctx.name,\n reverse: _ctx.reverse,\n tag: 'label'\n }, {\n label: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"label\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n input: _withCtx(({ id, name, hasErrors }) => [\n _createVNode(BaseSwitch, _mergeProps({\n autofocus: _ctx.autofocus,\n checked: _ctx.checked,\n color: _ctx.color,\n disabled: _ctx.disabled,\n hasErrors: hasErrors,\n id: id,\n indeterminate: _ctx.indeterminate,\n modelValue: _ctx.modelValue,\n name: name,\n readonly: _ctx.readonly,\n submitWhenFalse: _ctx.submitWhenFalse,\n trueValue: _ctx.trueValue,\n falseValue: _ctx.falseValue\n }, eventListeners), _createSlots({ _: 2 }, [\n _renderList(_ctx.$slots, (_, name) => {\n return {\n name: name,\n fn: _withCtx((data) => [\n _renderSlot(_ctx.$slots, name, _mergeProps(data, { text: _ctx.label }))\n ])\n }\n })\n ]), 1040, [\"autofocus\", \"checked\", \"color\", \"disabled\", \"hasErrors\", \"id\", \"indeterminate\", \"modelValue\", \"name\", \"readonly\", \"submitWhenFalse\", \"trueValue\", \"falseValue\"])\n ]),\n _: 3\n }, 8, [\"direction\", \"errors\", \"hasErrors\", \"hideLabel\", \"id\", \"inputPosition\", \"label\", \"labelPosition\", \"name\", \"reverse\"]))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","emit","eventListeners","event","value","_ctx","_cache","_openBlock","_createBlock","BaseInputContainer","_withCtx","data","_renderSlot","_normalizeProps","_guardReactiveProps","id","name","hasErrors","_createVNode","BaseSwitch","_mergeProps","_createSlots","_renderList","_"],"mappings":";;;;;AAWA,MAA4BA,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,SAAS,EAAE,MAAM,QAAQ;AAAA,IACzB,OAAO,CAAC;AAAA,IACR,WAAW,EAAE,SAAS,OAAO;AAAA,IAC7B,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,QAAQ,CAAC;AAAA,IACT,YAAY,CAAC;AAAA,IACb,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,IAAI,CAAC;AAAA,IACL,eAAe,EAAE,MAAM,QAAQ;AAAA,IAC/B,eAAe,CAAC;AAAA,IAChB,OAAO,CAAC;AAAA,IACR,eAAe,CAAC;AAAA,IAChB,YAAY,CAAC;AAAA,IACb,MAAM,CAAC;AAAA,IACP,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,SAAS,EAAE,MAAM,SAAS,SAAS,GAAK;AAAA,IACxC,iBAAiB,EAAE,MAAM,QAAQ;AAAA,IACjC,WAAW,CAAC;AAAA,EACd;AAAA,EACA,OAAO,CAAC,QAAQ,UAAU,SAAS,SAAS,SAAS,WAAW,aAAa,WAAW,mBAAmB;AAAA,EAC3G,MAAMC,GAAc,EAAE,MAAAC,KAAQ;AAMhC,UAAMC,IAAiB;AAAA,MACrB,QAAQ,CAACC,MAAsBF,EAAK,QAAQE,CAAK;AAAA,MACjD,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B,MAAAW;AAAA,UACA,UAAUX,EAAK;AAAA,UACf,iBAAiBA,EAAK;AAAA,UACtB,WAAWA,EAAK;AAAA,UAChB,YAAYA,EAAK;AAAA,WAChBH,CAAc,GAAGmB,EAAa,EAAE,GAAG,KAAK;AAAA,UACzCC,EAAYjB,EAAK,QAAQ,CAACkB,GAAGP,OACpB;AAAA,YACL,MAAMA;AAAAA,YACN,IAAIN,EAAS,CAACC,MAAS;AAAA,cACrBC,EAAYP,EAAK,QAAQW,GAAMI,EAAYT,GAAM,EAAE,MAAMN,EAAK,MAAM,CAAC,CAAC;AAAA,YAAA,CACvE;AAAA,UAAA,EAEJ;AAAA,QAAA,CACF,GAAG,MAAM,CAAC,aAAa,WAAW,SAAS,YAAY,aAAa,MAAM,iBAAiB,cAAc,QAAQ,YAAY,mBAAmB,aAAa,YAAY,CAAC;AAAA,MAAA,CAC5K;AAAA,MACD,GAAG;AAAA,IACF,GAAA,GAAG,CAAC,aAAa,UAAU,aAAa,aAAa,MAAM,iBAAiB,SAAS,iBAAiB,QAAQ,SAAS,CAAC;AAAA,EAE7H;AAEA,CAAC;"}
|
|
1
|
+
{"version":3,"file":"index77.js","sources":["../src/components/BbSelect/BbSelect.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, mergeProps as _mergeProps, withCtx as _withCtx, renderList as _renderList, createSlots as _createSlots, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport BaseInputContainer from \"../BaseInputContainer/BaseInputContainer.vue\";\nimport BaseSelect from \"../BaseSelect/BaseSelect.vue\";\nimport type { BaseSelectEvents } from \"../BaseSelect/BaseSelect.vue\";\n\nexport interface BbSelectProps {\n allowWriting?: boolean;\n addOptions?: boolean;\n autofocus?: boolean;\n chips?: boolean;\n comma?: boolean;\n debounceTime?: number;\n dependencies?: any[];\n depsDebounceTime?: number;\n direction?: \"horizontal\" | \"vertical\" | \"auto\" | string;\n disabled?: boolean;\n enforceCoherence?: boolean;\n errors?: string | string[];\n filterBy?: string | string[] | ((value: any, item: any) => boolean) | null;\n hasErrors?: boolean;\n hideLabel?: boolean;\n id?: string;\n inputPosition?: \"left\" | \"center\" | \"right\";\n items:\n | any[]\n | ((query: string, prefill: boolean, modelValue: any) => Promise<any[]>)\n | ((query: string, prefill: boolean, modelValue: any) => any[]);\n itemText?: string | (() => string);\n itemValue?: string | (() => any);\n label: string;\n labelPosition?: \"left\" | \"center\" | \"right\";\n labelTag?: string;\n loadingText?: string;\n modelValue?: any;\n modelValueDebounceTime?: number;\n multiple?: boolean;\n name?: string;\n noDataText?: string;\n placeholder?: string;\n prefill?: boolean | \"focus\";\n readonly?: boolean;\n resetQueryOnOptionSelected?: boolean;\n reverse?: boolean;\n stash?: boolean;\n tag?: string;\n transitionDuration?: number;\n updateOnAnimationFrame?: boolean;\n}\n\nexport type BbSelectEvents = BaseSelectEvents;\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbSelect',\n props: {\n allowWriting: { type: Boolean, default: true },\n addOptions: { type: Boolean },\n autofocus: { type: Boolean },\n chips: { type: Boolean },\n comma: { type: Boolean },\n debounceTime: {},\n dependencies: {},\n depsDebounceTime: {},\n direction: {},\n disabled: { type: Boolean },\n enforceCoherence: { type: Boolean },\n errors: {},\n filterBy: {},\n hasErrors: { type: Boolean },\n hideLabel: { type: Boolean },\n id: {},\n inputPosition: {},\n items: {},\n itemText: {},\n itemValue: {},\n label: {},\n labelPosition: {},\n labelTag: {},\n loadingText: {},\n modelValue: {},\n modelValueDebounceTime: {},\n multiple: { type: Boolean },\n name: {},\n noDataText: {},\n placeholder: {},\n prefill: { type: [Boolean, String], default: \"focus\" },\n readonly: { type: Boolean },\n resetQueryOnOptionSelected: { type: Boolean },\n reverse: { type: Boolean },\n stash: { type: Boolean },\n tag: {},\n transitionDuration: {},\n updateOnAnimationFrame: { type: Boolean }\n },\n emits: [\"blur\", \"change\", \"click\", \"focus\", \"inactive\", \"input\", \"update:modelValue\"],\n setup(__props: any, { emit }) {\n\n\n\n\n\nconst eventListeners = {\n onBlur: (event: FocusEvent) => emit(\"blur\", event),\n onChange: (event: Event) => emit(\"change\", event),\n onClick: (event: MouseEvent) => emit(\"click\", event),\n onFocus: (event: FocusEvent) => emit(\"focus\", event),\n onInactive: () => emit(\"inactive\"),\n onInput: (event: Event) => emit(\"input\", event),\n \"onUpdate:modelValue\": (value: any) => emit(\"update:modelValue\", value),\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseInputContainer, {\n class: \"bb-select\",\n direction: _ctx.direction,\n errors: _ctx.errors,\n \"has-errors\": _ctx.hasErrors,\n hideLabel: _ctx.hideLabel,\n id: _ctx.id,\n inputPosition: _ctx.inputPosition,\n label: _ctx.label,\n labelPosition: _ctx.labelPosition,\n modelValue: _ctx.modelValue,\n name: _ctx.name,\n reverse: _ctx.reverse\n }, {\n label: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"label\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n input: _withCtx(({ id, name, hasErrors }) => [\n _createVNode(BaseSelect, _mergeProps({\n addOptions: _ctx.addOptions,\n allowWriting: _ctx.allowWriting,\n autofocus: _ctx.autofocus,\n chips: _ctx.chips,\n comma: _ctx.comma,\n debounceTime: _ctx.debounceTime,\n dependencies: _ctx.dependencies,\n depsDebounceTime: _ctx.depsDebounceTime,\n disabled: _ctx.disabled,\n enforceCoherence: _ctx.enforceCoherence,\n filterBy: _ctx.filterBy,\n hasErrors: hasErrors,\n id: id,\n items: _ctx.items,\n itemText: _ctx.itemText,\n itemValue: _ctx.itemValue,\n loadingText: _ctx.loadingText,\n modelValue: _ctx.modelValue,\n modelValueDebounceTime: _ctx.modelValueDebounceTime,\n multiple: _ctx.multiple,\n name: name,\n noDataText: _ctx.noDataText,\n placeholder: _ctx.placeholder,\n prefill: _ctx.prefill,\n readonly: _ctx.readonly,\n resetQueryOnOptionSelected: _ctx.resetQueryOnOptionSelected,\n stash: _ctx.stash,\n transitionDuration: _ctx.transitionDuration,\n updateOnAnimationFrame: _ctx.updateOnAnimationFrame\n }, eventListeners), _createSlots({ _: 2 }, [\n _renderList(_ctx.$slots, (_, name) => {\n return {\n name: name,\n fn: _withCtx((data) => [\n _renderSlot(_ctx.$slots, name, _normalizeProps(_guardReactiveProps(data)))\n ])\n }\n })\n ]), 1040, [\"addOptions\", \"allowWriting\", \"autofocus\", \"chips\", \"comma\", \"debounceTime\", \"dependencies\", \"depsDebounceTime\", \"disabled\", \"enforceCoherence\", \"filterBy\", \"hasErrors\", \"id\", \"items\", \"itemText\", \"itemValue\", \"loadingText\", \"modelValue\", \"modelValueDebounceTime\", \"multiple\", \"name\", \"noDataText\", \"placeholder\", \"prefill\", \"readonly\", \"resetQueryOnOptionSelected\", \"stash\", \"transitionDuration\", \"updateOnAnimationFrame\"])\n ]),\n _: 3\n }, 8, [\"direction\", \"errors\", \"has-errors\", \"hideLabel\", \"id\", \"inputPosition\", \"label\", \"labelPosition\", \"modelValue\", \"name\", \"reverse\"]))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","emit","eventListeners","event","value","_ctx","_cache","_openBlock","_createBlock","BaseInputContainer","_withCtx","data","_renderSlot","_normalizeProps","_guardReactiveProps","id","name","hasErrors","_createVNode","BaseSelect","_mergeProps","_createSlots","_renderList","_"],"mappings":";;;;;AAsDA,MAA4BA,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,cAAc,EAAE,MAAM,SAAS,SAAS,GAAK;AAAA,IAC7C,YAAY,EAAE,MAAM,QAAQ;AAAA,IAC5B,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,OAAO,EAAE,MAAM,QAAQ;AAAA,IACvB,OAAO,EAAE,MAAM,QAAQ;AAAA,IACvB,cAAc,CAAC;AAAA,IACf,cAAc,CAAC;AAA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