bitboss-ui 2.1.126 → 2.1.128
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai/BbButton.md +0 -10
- package/dist/ai/BbTable.md +635 -2
- package/dist/components/BaseButton/BaseButton.vue.d.ts +1 -1
- package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +6 -6
- package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +3 -3
- package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +6 -6
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +4 -4
- package/dist/components/BaseDialog/BaseDialog.vue.d.ts +6 -6
- package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +1 -1
- package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +8 -8
- package/dist/components/BaseRadio/BaseRadio.vue.d.ts +6 -6
- package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +3 -3
- package/dist/components/BaseRating/BaseRating.vue.d.ts +6 -6
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +2 -2
- package/dist/components/BaseSlider/BaseSlider.vue.d.ts +7 -7
- package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +6 -6
- package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +3 -3
- package/dist/components/BaseTag/BaseTag.vue.d.ts +6 -6
- package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +6 -6
- package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +6 -6
- package/dist/components/BbButton/BbButton.vue.d.ts +1 -1
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +7 -7
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +3 -3
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +6 -6
- package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +2 -2
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +4 -4
- package/dist/components/BbDialog/BbDialog.vue.d.ts +3 -3
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +3 -3
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +4 -4
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +8 -8
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +7 -7
- package/dist/components/BbPopover/BbPopover.vue.d.ts +4 -4
- package/dist/components/BbRadio/BbRadio.vue.d.ts +7 -7
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +3 -3
- package/dist/components/BbRating/BbRating.vue.d.ts +6 -6
- package/dist/components/BbSelect/BbSelect.vue.d.ts +2 -2
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +2 -2
- package/dist/components/BbSlider/BbSlider.vue.d.ts +6 -6
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +7 -7
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +3 -3
- package/dist/components/BbTable/types.d.ts +32 -0
- package/dist/components/BbTag/BbTag.vue.d.ts +6 -6
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +6 -6
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +6 -6
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +3 -3
- package/dist/components/CommonPopover/CommonPopover.vue.d.ts +1 -1
- package/dist/components/Transitions/Slide.vue.d.ts +1 -1
- package/dist/composables/useTableWidthContext.d.ts +35 -0
- package/dist/directives/bbDropdown.d.ts +8 -2
- package/dist/directives/bbTooltip.d.ts +7 -2
- package/dist/index.css +1 -1
- package/dist/index.js +9 -9
- package/dist/index240.js +58 -61
- package/dist/index270.js +1 -1
- package/dist/index325.js +34 -41
- package/dist/index326.js +40 -447
- package/dist/index327.js +632 -0
- package/dist/index329.js +5 -154
- package/dist/index330.js +155 -0
- package/dist/index332.js +5 -141
- package/dist/index333.js +142 -0
- package/dist/index335.js +5 -154
- package/dist/index336.js +155 -0
- package/dist/index338.js +5 -57
- package/dist/index339.js +57 -4
- package/dist/index340.js +4 -19
- package/dist/index341.js +20 -0
- package/dist/index343.js +5 -141
- package/dist/index344.js +142 -0
- package/dist/index346.js +5 -3
- package/dist/index347.js +3 -108
- package/dist/index348.js +109 -0
- package/dist/index350.js +5 -54
- package/dist/index351.js +54 -23
- package/dist/index352.js +12 -11
- package/dist/index353.js +22 -838
- package/dist/index354.js +811 -446
- package/dist/index355.js +472 -50
- package/dist/index356.js +51 -6
- package/dist/index357.js +7 -0
- package/package.json +1 -1
- package/dist/index328.js +0 -6
- package/dist/index331.js +0 -6
- package/dist/index334.js +0 -6
- package/dist/index337.js +0 -6
- package/dist/index342.js +0 -6
- package/dist/index345.js +0 -6
- package/dist/index349.js +0 -6
package/dist/index329.js
CHANGED
|
@@ -1,155 +1,6 @@
|
|
|
1
|
-
import e from "./
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var p = /* @__PURE__ */ a({
|
|
6
|
-
__name: "BbTag",
|
|
7
|
-
props: {
|
|
8
|
-
"append:icon": {},
|
|
9
|
-
autocomplete: {},
|
|
10
|
-
autofocus: {},
|
|
11
|
-
comma: { type: Boolean },
|
|
12
|
-
clearable: { type: Boolean },
|
|
13
|
-
compact: { type: Boolean },
|
|
14
|
-
direction: {},
|
|
15
|
-
disabled: { type: Boolean },
|
|
16
|
-
divider: {},
|
|
17
|
-
errors: {},
|
|
18
|
-
hasErrors: { type: Boolean },
|
|
19
|
-
hideLabel: { type: Boolean },
|
|
20
|
-
hint: {},
|
|
21
|
-
id: {},
|
|
22
|
-
label: {},
|
|
23
|
-
labelPosition: {},
|
|
24
|
-
loading: { type: Boolean },
|
|
25
|
-
max: {},
|
|
26
|
-
modelValue: {},
|
|
27
|
-
multiple: {
|
|
28
|
-
type: Boolean,
|
|
29
|
-
default: !0
|
|
30
|
-
},
|
|
31
|
-
name: {},
|
|
32
|
-
persistentHint: { type: Boolean },
|
|
33
|
-
placeholder: {},
|
|
34
|
-
"prepend:icon": {},
|
|
35
|
-
readonly: { type: Boolean },
|
|
36
|
-
required: { type: Boolean },
|
|
37
|
-
reverse: { type: Boolean }
|
|
38
|
-
},
|
|
39
|
-
emits: [
|
|
40
|
-
"blur",
|
|
41
|
-
"change",
|
|
42
|
-
"click",
|
|
43
|
-
"duplicate",
|
|
44
|
-
"focus",
|
|
45
|
-
"inactive",
|
|
46
|
-
"input",
|
|
47
|
-
"keydown",
|
|
48
|
-
"keyup",
|
|
49
|
-
"update:modelValue"
|
|
50
|
-
],
|
|
51
|
-
setup(a, { emit: p }) {
|
|
52
|
-
let m = a, h = p, g = u(!1), _ = n(() => m.persistentHint || g.value), v = {
|
|
53
|
-
onBlur: (e) => h("blur", e),
|
|
54
|
-
onChange: (e) => h("change", e),
|
|
55
|
-
onClick: (e) => h("click", e),
|
|
56
|
-
onDuplicate: (e) => h("duplicate", e),
|
|
57
|
-
onFocus: (e) => {
|
|
58
|
-
g.value = !0, h("focus", e);
|
|
59
|
-
},
|
|
60
|
-
onInactive: () => {
|
|
61
|
-
g.value = !1, h("inactive");
|
|
62
|
-
},
|
|
63
|
-
onInput: (e) => h("input", e),
|
|
64
|
-
onKeydown: (e) => h("keydown", e),
|
|
65
|
-
onKeyup: (e) => h("keyup", e),
|
|
66
|
-
"onUpdate:modelValue": (e) => h("update:modelValue", e)
|
|
67
|
-
};
|
|
68
|
-
return (n, a) => (l(), r(e, {
|
|
69
|
-
id: n.id,
|
|
70
|
-
class: "bb-tag",
|
|
71
|
-
compact: n.compact,
|
|
72
|
-
direction: n.direction,
|
|
73
|
-
errors: n.errors,
|
|
74
|
-
"has-errors": n.hasErrors,
|
|
75
|
-
"hide-label": n.hideLabel,
|
|
76
|
-
hint: n.hint,
|
|
77
|
-
label: n.label,
|
|
78
|
-
"label-position": n.labelPosition,
|
|
79
|
-
"model-value": n.modelValue,
|
|
80
|
-
name: n.name,
|
|
81
|
-
reverse: n.reverse,
|
|
82
|
-
"show-hint": _.value
|
|
83
|
-
}, {
|
|
84
|
-
label: f((e) => [d(n.$slots, "label", c(o(e)))]),
|
|
85
|
-
input: f(({ id: e, hasErrors: r, ariaDescribedby: a }) => [i(t, s({
|
|
86
|
-
id: e,
|
|
87
|
-
"append:icon": m["append:icon"],
|
|
88
|
-
"aria-describedby": a,
|
|
89
|
-
autocomplete: n.autocomplete,
|
|
90
|
-
autofocus: n.autofocus,
|
|
91
|
-
clearable: n.clearable,
|
|
92
|
-
comma: n.comma,
|
|
93
|
-
compact: n.compact,
|
|
94
|
-
disabled: n.disabled,
|
|
95
|
-
divider: n.divider,
|
|
96
|
-
"has-errors": r,
|
|
97
|
-
loading: n.loading,
|
|
98
|
-
max: n.max,
|
|
99
|
-
"model-value": n.modelValue,
|
|
100
|
-
multiple: n.multiple,
|
|
101
|
-
name: n.name,
|
|
102
|
-
placeholder: n.placeholder,
|
|
103
|
-
"prepend:icon": m["prepend:icon"],
|
|
104
|
-
readonly: n.readonly,
|
|
105
|
-
required: n.required
|
|
106
|
-
}, v), {
|
|
107
|
-
"prepend-outer": f((e) => [d(n.$slots, "prepend-outer", c(o(e)))]),
|
|
108
|
-
prepend: f((e) => [d(n.$slots, "prepend", c(o(e)))]),
|
|
109
|
-
prefix: f((e) => [d(n.$slots, "prefix", c(o(e)))]),
|
|
110
|
-
append: f((e) => [d(n.$slots, "append", c(o(e)))]),
|
|
111
|
-
suffix: f((e) => [d(n.$slots, "suffix", c(o(e)))]),
|
|
112
|
-
"append-outer": f((e) => [d(n.$slots, "append-outer", c(o(e)))]),
|
|
113
|
-
_: 2
|
|
114
|
-
}, 1040, [
|
|
115
|
-
"id",
|
|
116
|
-
"append:icon",
|
|
117
|
-
"aria-describedby",
|
|
118
|
-
"autocomplete",
|
|
119
|
-
"autofocus",
|
|
120
|
-
"clearable",
|
|
121
|
-
"comma",
|
|
122
|
-
"compact",
|
|
123
|
-
"disabled",
|
|
124
|
-
"divider",
|
|
125
|
-
"has-errors",
|
|
126
|
-
"loading",
|
|
127
|
-
"max",
|
|
128
|
-
"model-value",
|
|
129
|
-
"multiple",
|
|
130
|
-
"name",
|
|
131
|
-
"placeholder",
|
|
132
|
-
"prepend:icon",
|
|
133
|
-
"readonly",
|
|
134
|
-
"required"
|
|
135
|
-
])]),
|
|
136
|
-
_: 3
|
|
137
|
-
}, 8, [
|
|
138
|
-
"id",
|
|
139
|
-
"compact",
|
|
140
|
-
"direction",
|
|
141
|
-
"errors",
|
|
142
|
-
"has-errors",
|
|
143
|
-
"hide-label",
|
|
144
|
-
"hint",
|
|
145
|
-
"label",
|
|
146
|
-
"label-position",
|
|
147
|
-
"model-value",
|
|
148
|
-
"name",
|
|
149
|
-
"reverse",
|
|
150
|
-
"show-hint"
|
|
151
|
-
]));
|
|
152
|
-
}
|
|
153
|
-
});
|
|
1
|
+
import e from "./index327.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
//#region src/components/BbTable/BbTable.vue
|
|
4
|
+
var t = e;
|
|
154
5
|
//#endregion
|
|
155
|
-
export {
|
|
6
|
+
export { t as default };
|
package/dist/index330.js
ADDED
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import e from "./index145.js";
|
|
2
|
+
import t from "./index203.js";
|
|
3
|
+
import { computed as n, createBlock as r, createVNode as i, defineComponent as a, guardReactiveProps as o, mergeProps as s, normalizeProps as c, openBlock as l, ref as u, renderSlot as d, withCtx as f } from "vue";
|
|
4
|
+
//#region src/components/BbTag/BbTag.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var p = /* @__PURE__ */ a({
|
|
6
|
+
__name: "BbTag",
|
|
7
|
+
props: {
|
|
8
|
+
"append:icon": {},
|
|
9
|
+
autocomplete: {},
|
|
10
|
+
autofocus: {},
|
|
11
|
+
comma: { type: Boolean },
|
|
12
|
+
clearable: { type: Boolean },
|
|
13
|
+
compact: { type: Boolean },
|
|
14
|
+
direction: {},
|
|
15
|
+
disabled: { type: Boolean },
|
|
16
|
+
divider: {},
|
|
17
|
+
errors: {},
|
|
18
|
+
hasErrors: { type: Boolean },
|
|
19
|
+
hideLabel: { type: Boolean },
|
|
20
|
+
hint: {},
|
|
21
|
+
id: {},
|
|
22
|
+
label: {},
|
|
23
|
+
labelPosition: {},
|
|
24
|
+
loading: { type: Boolean },
|
|
25
|
+
max: {},
|
|
26
|
+
modelValue: {},
|
|
27
|
+
multiple: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: !0
|
|
30
|
+
},
|
|
31
|
+
name: {},
|
|
32
|
+
persistentHint: { type: Boolean },
|
|
33
|
+
placeholder: {},
|
|
34
|
+
"prepend:icon": {},
|
|
35
|
+
readonly: { type: Boolean },
|
|
36
|
+
required: { type: Boolean },
|
|
37
|
+
reverse: { type: Boolean }
|
|
38
|
+
},
|
|
39
|
+
emits: [
|
|
40
|
+
"blur",
|
|
41
|
+
"change",
|
|
42
|
+
"click",
|
|
43
|
+
"duplicate",
|
|
44
|
+
"focus",
|
|
45
|
+
"inactive",
|
|
46
|
+
"input",
|
|
47
|
+
"keydown",
|
|
48
|
+
"keyup",
|
|
49
|
+
"update:modelValue"
|
|
50
|
+
],
|
|
51
|
+
setup(a, { emit: p }) {
|
|
52
|
+
let m = a, h = p, g = u(!1), _ = n(() => m.persistentHint || g.value), v = {
|
|
53
|
+
onBlur: (e) => h("blur", e),
|
|
54
|
+
onChange: (e) => h("change", e),
|
|
55
|
+
onClick: (e) => h("click", e),
|
|
56
|
+
onDuplicate: (e) => h("duplicate", e),
|
|
57
|
+
onFocus: (e) => {
|
|
58
|
+
g.value = !0, h("focus", e);
|
|
59
|
+
},
|
|
60
|
+
onInactive: () => {
|
|
61
|
+
g.value = !1, h("inactive");
|
|
62
|
+
},
|
|
63
|
+
onInput: (e) => h("input", e),
|
|
64
|
+
onKeydown: (e) => h("keydown", e),
|
|
65
|
+
onKeyup: (e) => h("keyup", e),
|
|
66
|
+
"onUpdate:modelValue": (e) => h("update:modelValue", e)
|
|
67
|
+
};
|
|
68
|
+
return (n, a) => (l(), r(e, {
|
|
69
|
+
id: n.id,
|
|
70
|
+
class: "bb-tag",
|
|
71
|
+
compact: n.compact,
|
|
72
|
+
direction: n.direction,
|
|
73
|
+
errors: n.errors,
|
|
74
|
+
"has-errors": n.hasErrors,
|
|
75
|
+
"hide-label": n.hideLabel,
|
|
76
|
+
hint: n.hint,
|
|
77
|
+
label: n.label,
|
|
78
|
+
"label-position": n.labelPosition,
|
|
79
|
+
"model-value": n.modelValue,
|
|
80
|
+
name: n.name,
|
|
81
|
+
reverse: n.reverse,
|
|
82
|
+
"show-hint": _.value
|
|
83
|
+
}, {
|
|
84
|
+
label: f((e) => [d(n.$slots, "label", c(o(e)))]),
|
|
85
|
+
input: f(({ id: e, hasErrors: r, ariaDescribedby: a }) => [i(t, s({
|
|
86
|
+
id: e,
|
|
87
|
+
"append:icon": m["append:icon"],
|
|
88
|
+
"aria-describedby": a,
|
|
89
|
+
autocomplete: n.autocomplete,
|
|
90
|
+
autofocus: n.autofocus,
|
|
91
|
+
clearable: n.clearable,
|
|
92
|
+
comma: n.comma,
|
|
93
|
+
compact: n.compact,
|
|
94
|
+
disabled: n.disabled,
|
|
95
|
+
divider: n.divider,
|
|
96
|
+
"has-errors": r,
|
|
97
|
+
loading: n.loading,
|
|
98
|
+
max: n.max,
|
|
99
|
+
"model-value": n.modelValue,
|
|
100
|
+
multiple: n.multiple,
|
|
101
|
+
name: n.name,
|
|
102
|
+
placeholder: n.placeholder,
|
|
103
|
+
"prepend:icon": m["prepend:icon"],
|
|
104
|
+
readonly: n.readonly,
|
|
105
|
+
required: n.required
|
|
106
|
+
}, v), {
|
|
107
|
+
"prepend-outer": f((e) => [d(n.$slots, "prepend-outer", c(o(e)))]),
|
|
108
|
+
prepend: f((e) => [d(n.$slots, "prepend", c(o(e)))]),
|
|
109
|
+
prefix: f((e) => [d(n.$slots, "prefix", c(o(e)))]),
|
|
110
|
+
append: f((e) => [d(n.$slots, "append", c(o(e)))]),
|
|
111
|
+
suffix: f((e) => [d(n.$slots, "suffix", c(o(e)))]),
|
|
112
|
+
"append-outer": f((e) => [d(n.$slots, "append-outer", c(o(e)))]),
|
|
113
|
+
_: 2
|
|
114
|
+
}, 1040, [
|
|
115
|
+
"id",
|
|
116
|
+
"append:icon",
|
|
117
|
+
"aria-describedby",
|
|
118
|
+
"autocomplete",
|
|
119
|
+
"autofocus",
|
|
120
|
+
"clearable",
|
|
121
|
+
"comma",
|
|
122
|
+
"compact",
|
|
123
|
+
"disabled",
|
|
124
|
+
"divider",
|
|
125
|
+
"has-errors",
|
|
126
|
+
"loading",
|
|
127
|
+
"max",
|
|
128
|
+
"model-value",
|
|
129
|
+
"multiple",
|
|
130
|
+
"name",
|
|
131
|
+
"placeholder",
|
|
132
|
+
"prepend:icon",
|
|
133
|
+
"readonly",
|
|
134
|
+
"required"
|
|
135
|
+
])]),
|
|
136
|
+
_: 3
|
|
137
|
+
}, 8, [
|
|
138
|
+
"id",
|
|
139
|
+
"compact",
|
|
140
|
+
"direction",
|
|
141
|
+
"errors",
|
|
142
|
+
"has-errors",
|
|
143
|
+
"hide-label",
|
|
144
|
+
"hint",
|
|
145
|
+
"label",
|
|
146
|
+
"label-position",
|
|
147
|
+
"model-value",
|
|
148
|
+
"name",
|
|
149
|
+
"reverse",
|
|
150
|
+
"show-hint"
|
|
151
|
+
]));
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
//#endregion
|
|
155
|
+
export { p as default };
|
package/dist/index332.js
CHANGED
|
@@ -1,142 +1,6 @@
|
|
|
1
|
-
import e from "./
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var p = /* @__PURE__ */ a({
|
|
6
|
-
__name: "BbTextarea",
|
|
7
|
-
props: {
|
|
8
|
-
"append:icon": {},
|
|
9
|
-
autocomplete: {},
|
|
10
|
-
autofocus: {},
|
|
11
|
-
autoGrow: { type: Boolean },
|
|
12
|
-
clearable: { type: Boolean },
|
|
13
|
-
compact: { type: Boolean },
|
|
14
|
-
direction: {},
|
|
15
|
-
disabled: { type: Boolean },
|
|
16
|
-
errors: {},
|
|
17
|
-
hasErrors: { type: Boolean },
|
|
18
|
-
hideLabel: { type: Boolean },
|
|
19
|
-
hint: {},
|
|
20
|
-
id: {},
|
|
21
|
-
label: {},
|
|
22
|
-
labelPosition: {},
|
|
23
|
-
loading: { type: Boolean },
|
|
24
|
-
modelValue: {},
|
|
25
|
-
name: {},
|
|
26
|
-
persistentHint: { type: Boolean },
|
|
27
|
-
placeholder: {},
|
|
28
|
-
"prepend:icon": {},
|
|
29
|
-
readonly: { type: Boolean },
|
|
30
|
-
required: { type: Boolean },
|
|
31
|
-
reverse: { type: Boolean },
|
|
32
|
-
rows: {}
|
|
33
|
-
},
|
|
34
|
-
emits: [
|
|
35
|
-
"blur",
|
|
36
|
-
"change",
|
|
37
|
-
"click",
|
|
38
|
-
"focus",
|
|
39
|
-
"input",
|
|
40
|
-
"keydown",
|
|
41
|
-
"mousedown",
|
|
42
|
-
"mouseup",
|
|
43
|
-
"update:modelValue"
|
|
44
|
-
],
|
|
45
|
-
setup(a, { emit: p }) {
|
|
46
|
-
let m = a, h = p, g = u(!1), _ = n(() => m.persistentHint || g.value), v = {
|
|
47
|
-
onBlur: (e) => {
|
|
48
|
-
g.value = !1, h("blur", e);
|
|
49
|
-
},
|
|
50
|
-
onChange: (e) => h("change", e),
|
|
51
|
-
onClick: (e) => h("click", e),
|
|
52
|
-
onFocus: (e) => {
|
|
53
|
-
g.value = !0, h("focus", e);
|
|
54
|
-
},
|
|
55
|
-
onInput: (e) => h("input", e),
|
|
56
|
-
onKeydown: (e) => h("keydown", e),
|
|
57
|
-
onMousedown: (e) => h("mousedown", e),
|
|
58
|
-
onMouseup: (e) => h("mouseup", e),
|
|
59
|
-
"onUpdate:modelValue": (e) => h("update:modelValue", e)
|
|
60
|
-
};
|
|
61
|
-
return (n, a) => (l(), r(e, {
|
|
62
|
-
id: n.id,
|
|
63
|
-
class: "bb-textarea",
|
|
64
|
-
compact: n.compact,
|
|
65
|
-
direction: n.direction,
|
|
66
|
-
errors: n.errors,
|
|
67
|
-
"has-errors": n.hasErrors,
|
|
68
|
-
"hide-label": n.hideLabel,
|
|
69
|
-
hint: n.hint,
|
|
70
|
-
label: n.label,
|
|
71
|
-
"label-position": n.labelPosition,
|
|
72
|
-
"model-value": n.modelValue,
|
|
73
|
-
name: n.name,
|
|
74
|
-
reverse: n.reverse,
|
|
75
|
-
"show-hint": _.value
|
|
76
|
-
}, {
|
|
77
|
-
label: f((e) => [d(n.$slots, "label", c(o(e)))]),
|
|
78
|
-
input: f(({ id: e, hasErrors: r, ariaDescribedby: a }) => [i(t, s({
|
|
79
|
-
id: e,
|
|
80
|
-
"append:icon": m["append:icon"],
|
|
81
|
-
"aria-describedby": a,
|
|
82
|
-
"auto-grow": n.autoGrow,
|
|
83
|
-
autofocus: n.autofocus,
|
|
84
|
-
clearable: n.clearable,
|
|
85
|
-
compact: n.compact,
|
|
86
|
-
disabled: n.disabled,
|
|
87
|
-
"has-errors": r,
|
|
88
|
-
loading: n.loading,
|
|
89
|
-
"model-value": n.modelValue,
|
|
90
|
-
name: n.name,
|
|
91
|
-
placeholder: n.placeholder,
|
|
92
|
-
"prepend:icon": m["prepend:icon"],
|
|
93
|
-
readonly: n.readonly,
|
|
94
|
-
required: n.required,
|
|
95
|
-
rows: n.rows
|
|
96
|
-
}, v), {
|
|
97
|
-
"append-outer": f(() => [d(n.$slots, "append-outer")]),
|
|
98
|
-
append: f(() => [d(n.$slots, "append")]),
|
|
99
|
-
prepend: f(() => [d(n.$slots, "prepend")]),
|
|
100
|
-
"prepend-outer": f(() => [d(n.$slots, "prepend-outer")]),
|
|
101
|
-
prefix: f((e) => [d(n.$slots, "prefix", c(o(e)))]),
|
|
102
|
-
suffix: f((e) => [d(n.$slots, "suffix", c(o(e)))]),
|
|
103
|
-
_: 2
|
|
104
|
-
}, 1040, [
|
|
105
|
-
"id",
|
|
106
|
-
"append:icon",
|
|
107
|
-
"aria-describedby",
|
|
108
|
-
"auto-grow",
|
|
109
|
-
"autofocus",
|
|
110
|
-
"clearable",
|
|
111
|
-
"compact",
|
|
112
|
-
"disabled",
|
|
113
|
-
"has-errors",
|
|
114
|
-
"loading",
|
|
115
|
-
"model-value",
|
|
116
|
-
"name",
|
|
117
|
-
"placeholder",
|
|
118
|
-
"prepend:icon",
|
|
119
|
-
"readonly",
|
|
120
|
-
"required",
|
|
121
|
-
"rows"
|
|
122
|
-
])]),
|
|
123
|
-
_: 3
|
|
124
|
-
}, 8, [
|
|
125
|
-
"id",
|
|
126
|
-
"compact",
|
|
127
|
-
"direction",
|
|
128
|
-
"errors",
|
|
129
|
-
"has-errors",
|
|
130
|
-
"hide-label",
|
|
131
|
-
"hint",
|
|
132
|
-
"label",
|
|
133
|
-
"label-position",
|
|
134
|
-
"model-value",
|
|
135
|
-
"name",
|
|
136
|
-
"reverse",
|
|
137
|
-
"show-hint"
|
|
138
|
-
]));
|
|
139
|
-
}
|
|
140
|
-
});
|
|
1
|
+
import e from "./index330.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
//#region src/components/BbTag/BbTag.vue
|
|
4
|
+
var t = e;
|
|
141
5
|
//#endregion
|
|
142
|
-
export {
|
|
6
|
+
export { t as default };
|
package/dist/index333.js
ADDED
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import e from "./index145.js";
|
|
2
|
+
import t from "./index206.js";
|
|
3
|
+
import { computed as n, createBlock as r, createVNode as i, defineComponent as a, guardReactiveProps as o, mergeProps as s, normalizeProps as c, openBlock as l, ref as u, renderSlot as d, withCtx as f } from "vue";
|
|
4
|
+
//#region src/components/BbTextarea/BbTextarea.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var p = /* @__PURE__ */ a({
|
|
6
|
+
__name: "BbTextarea",
|
|
7
|
+
props: {
|
|
8
|
+
"append:icon": {},
|
|
9
|
+
autocomplete: {},
|
|
10
|
+
autofocus: {},
|
|
11
|
+
autoGrow: { type: Boolean },
|
|
12
|
+
clearable: { type: Boolean },
|
|
13
|
+
compact: { type: Boolean },
|
|
14
|
+
direction: {},
|
|
15
|
+
disabled: { type: Boolean },
|
|
16
|
+
errors: {},
|
|
17
|
+
hasErrors: { type: Boolean },
|
|
18
|
+
hideLabel: { type: Boolean },
|
|
19
|
+
hint: {},
|
|
20
|
+
id: {},
|
|
21
|
+
label: {},
|
|
22
|
+
labelPosition: {},
|
|
23
|
+
loading: { type: Boolean },
|
|
24
|
+
modelValue: {},
|
|
25
|
+
name: {},
|
|
26
|
+
persistentHint: { type: Boolean },
|
|
27
|
+
placeholder: {},
|
|
28
|
+
"prepend:icon": {},
|
|
29
|
+
readonly: { type: Boolean },
|
|
30
|
+
required: { type: Boolean },
|
|
31
|
+
reverse: { type: Boolean },
|
|
32
|
+
rows: {}
|
|
33
|
+
},
|
|
34
|
+
emits: [
|
|
35
|
+
"blur",
|
|
36
|
+
"change",
|
|
37
|
+
"click",
|
|
38
|
+
"focus",
|
|
39
|
+
"input",
|
|
40
|
+
"keydown",
|
|
41
|
+
"mousedown",
|
|
42
|
+
"mouseup",
|
|
43
|
+
"update:modelValue"
|
|
44
|
+
],
|
|
45
|
+
setup(a, { emit: p }) {
|
|
46
|
+
let m = a, h = p, g = u(!1), _ = n(() => m.persistentHint || g.value), v = {
|
|
47
|
+
onBlur: (e) => {
|
|
48
|
+
g.value = !1, h("blur", e);
|
|
49
|
+
},
|
|
50
|
+
onChange: (e) => h("change", e),
|
|
51
|
+
onClick: (e) => h("click", e),
|
|
52
|
+
onFocus: (e) => {
|
|
53
|
+
g.value = !0, h("focus", e);
|
|
54
|
+
},
|
|
55
|
+
onInput: (e) => h("input", e),
|
|
56
|
+
onKeydown: (e) => h("keydown", e),
|
|
57
|
+
onMousedown: (e) => h("mousedown", e),
|
|
58
|
+
onMouseup: (e) => h("mouseup", e),
|
|
59
|
+
"onUpdate:modelValue": (e) => h("update:modelValue", e)
|
|
60
|
+
};
|
|
61
|
+
return (n, a) => (l(), r(e, {
|
|
62
|
+
id: n.id,
|
|
63
|
+
class: "bb-textarea",
|
|
64
|
+
compact: n.compact,
|
|
65
|
+
direction: n.direction,
|
|
66
|
+
errors: n.errors,
|
|
67
|
+
"has-errors": n.hasErrors,
|
|
68
|
+
"hide-label": n.hideLabel,
|
|
69
|
+
hint: n.hint,
|
|
70
|
+
label: n.label,
|
|
71
|
+
"label-position": n.labelPosition,
|
|
72
|
+
"model-value": n.modelValue,
|
|
73
|
+
name: n.name,
|
|
74
|
+
reverse: n.reverse,
|
|
75
|
+
"show-hint": _.value
|
|
76
|
+
}, {
|
|
77
|
+
label: f((e) => [d(n.$slots, "label", c(o(e)))]),
|
|
78
|
+
input: f(({ id: e, hasErrors: r, ariaDescribedby: a }) => [i(t, s({
|
|
79
|
+
id: e,
|
|
80
|
+
"append:icon": m["append:icon"],
|
|
81
|
+
"aria-describedby": a,
|
|
82
|
+
"auto-grow": n.autoGrow,
|
|
83
|
+
autofocus: n.autofocus,
|
|
84
|
+
clearable: n.clearable,
|
|
85
|
+
compact: n.compact,
|
|
86
|
+
disabled: n.disabled,
|
|
87
|
+
"has-errors": r,
|
|
88
|
+
loading: n.loading,
|
|
89
|
+
"model-value": n.modelValue,
|
|
90
|
+
name: n.name,
|
|
91
|
+
placeholder: n.placeholder,
|
|
92
|
+
"prepend:icon": m["prepend:icon"],
|
|
93
|
+
readonly: n.readonly,
|
|
94
|
+
required: n.required,
|
|
95
|
+
rows: n.rows
|
|
96
|
+
}, v), {
|
|
97
|
+
"append-outer": f(() => [d(n.$slots, "append-outer")]),
|
|
98
|
+
append: f(() => [d(n.$slots, "append")]),
|
|
99
|
+
prepend: f(() => [d(n.$slots, "prepend")]),
|
|
100
|
+
"prepend-outer": f(() => [d(n.$slots, "prepend-outer")]),
|
|
101
|
+
prefix: f((e) => [d(n.$slots, "prefix", c(o(e)))]),
|
|
102
|
+
suffix: f((e) => [d(n.$slots, "suffix", c(o(e)))]),
|
|
103
|
+
_: 2
|
|
104
|
+
}, 1040, [
|
|
105
|
+
"id",
|
|
106
|
+
"append:icon",
|
|
107
|
+
"aria-describedby",
|
|
108
|
+
"auto-grow",
|
|
109
|
+
"autofocus",
|
|
110
|
+
"clearable",
|
|
111
|
+
"compact",
|
|
112
|
+
"disabled",
|
|
113
|
+
"has-errors",
|
|
114
|
+
"loading",
|
|
115
|
+
"model-value",
|
|
116
|
+
"name",
|
|
117
|
+
"placeholder",
|
|
118
|
+
"prepend:icon",
|
|
119
|
+
"readonly",
|
|
120
|
+
"required",
|
|
121
|
+
"rows"
|
|
122
|
+
])]),
|
|
123
|
+
_: 3
|
|
124
|
+
}, 8, [
|
|
125
|
+
"id",
|
|
126
|
+
"compact",
|
|
127
|
+
"direction",
|
|
128
|
+
"errors",
|
|
129
|
+
"has-errors",
|
|
130
|
+
"hide-label",
|
|
131
|
+
"hint",
|
|
132
|
+
"label",
|
|
133
|
+
"label-position",
|
|
134
|
+
"model-value",
|
|
135
|
+
"name",
|
|
136
|
+
"reverse",
|
|
137
|
+
"show-hint"
|
|
138
|
+
]));
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
//#endregion
|
|
142
|
+
export { p as default };
|