ablok-components 0.3.64 → 0.3.65
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/ablok-components.css +1 -1
- package/dist/ablok-components.umd.js +1 -1
- package/dist/components/atoms/base-input/base-input.vue.d.ts +1 -1
- package/dist/components/atoms/check-group/check-group.vue.d.ts +1 -1
- package/dist/components/atoms/input-datetime/input-datetime.vue.d.ts +1 -1
- package/dist/components/atoms/input-file/input-file.vue.d.ts +1 -1
- package/dist/components/atoms/input-passcode/input-passcode.vue.d.ts +1 -1
- package/dist/components/atoms/input-password/input-password.vue.d.ts +1 -1
- package/dist/components/atoms/input-textarea/input-textarea.vue.d.ts +1 -1
- package/dist/components/atoms/radio-group/radio-group.vue.d.ts +1 -1
- package/dist/components/molecules/accordion/accordion-item.vue.js +43 -35
- package/dist/components/molecules/auto-suggest/auto-suggest.vue.d.ts +1 -1
- package/dist/components/molecules/color-palette/color-palette.vue.d.ts +1 -1
- package/dist/components/molecules/file-upload/file-upload.vue.d.ts +1 -1
- package/dist/components/molecules/image-upload/image-upload.vue.d.ts +1 -1
- package/dist/components/molecules/input-color/input-color.vue.d.ts +1 -1
- package/dist/components/molecules/input-datepicker/input-datepicker.vue.d.ts +1 -1
- package/dist/components/molecules/input-dropdown/input-dropdown.vue.d.ts +2 -2
- package/dist/components/molecules/radio-buttons/radio-buttons.vue.d.ts +1 -1
- package/dist/components/molecules/select-media/select-media.vue.d.ts +1 -1
- package/dist/components/molecules/upload-group/upload-group.vue.d.ts +1 -1
- package/dist/components/organisms/asset-uploader/asset-uploader.vue.d.ts +1 -1
- package/package.json +1 -1
|
@@ -193,9 +193,9 @@ declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js')
|
|
|
193
193
|
variant: string;
|
|
194
194
|
id: string;
|
|
195
195
|
modelValue: string | number | boolean | Date;
|
|
196
|
-
disabled: boolean;
|
|
197
196
|
name: string;
|
|
198
197
|
placeholder: string;
|
|
198
|
+
disabled: boolean;
|
|
199
199
|
readOnly: boolean;
|
|
200
200
|
trueValue: any;
|
|
201
201
|
falseValue: any;
|
|
@@ -103,8 +103,8 @@ declare const _default: import('../../../../vue/dist/vue.esm-bundler.js').Define
|
|
|
103
103
|
required: boolean;
|
|
104
104
|
id: string;
|
|
105
105
|
modelValue: any;
|
|
106
|
-
disabled: boolean;
|
|
107
106
|
name: string;
|
|
107
|
+
disabled: boolean;
|
|
108
108
|
readOnly: boolean;
|
|
109
109
|
}, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
110
110
|
export default _default;
|
|
@@ -115,9 +115,9 @@ declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js')
|
|
|
115
115
|
variant: string;
|
|
116
116
|
id: string;
|
|
117
117
|
modelValue: string | number | boolean | Date;
|
|
118
|
-
disabled: boolean;
|
|
119
118
|
name: string;
|
|
120
119
|
placeholder: string;
|
|
120
|
+
disabled: boolean;
|
|
121
121
|
readOnly: boolean;
|
|
122
122
|
}, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
123
123
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -165,9 +165,9 @@ declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js')
|
|
|
165
165
|
variant: string;
|
|
166
166
|
id: string;
|
|
167
167
|
modelValue: File[];
|
|
168
|
-
disabled: boolean;
|
|
169
168
|
name: string;
|
|
170
169
|
placeholder: string;
|
|
170
|
+
disabled: boolean;
|
|
171
171
|
readOnly: boolean;
|
|
172
172
|
multiple: boolean;
|
|
173
173
|
maxFileSize: number;
|
|
@@ -146,9 +146,9 @@ declare const _default: import('../../../../vue/dist/vue.esm-bundler.js').Define
|
|
|
146
146
|
variant: string;
|
|
147
147
|
id: string;
|
|
148
148
|
modelValue: string | number | boolean | Date;
|
|
149
|
-
disabled: boolean;
|
|
150
149
|
name: string;
|
|
151
150
|
placeholder: string;
|
|
151
|
+
disabled: boolean;
|
|
152
152
|
readOnly: boolean;
|
|
153
153
|
role: string;
|
|
154
154
|
autocomplete: string;
|
|
@@ -152,9 +152,9 @@ declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js')
|
|
|
152
152
|
variant: string;
|
|
153
153
|
id: string;
|
|
154
154
|
modelValue: string | number | boolean | Date;
|
|
155
|
-
disabled: boolean;
|
|
156
155
|
name: string;
|
|
157
156
|
placeholder: string;
|
|
157
|
+
disabled: boolean;
|
|
158
158
|
readOnly: boolean;
|
|
159
159
|
role: string;
|
|
160
160
|
autocomplete: string;
|
|
@@ -133,9 +133,9 @@ declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js')
|
|
|
133
133
|
variant: string;
|
|
134
134
|
id: string;
|
|
135
135
|
modelValue: string;
|
|
136
|
-
disabled: boolean;
|
|
137
136
|
name: string;
|
|
138
137
|
placeholder: string;
|
|
138
|
+
disabled: boolean;
|
|
139
139
|
readOnly: boolean;
|
|
140
140
|
sanitize: boolean;
|
|
141
141
|
checked: boolean;
|
|
@@ -109,8 +109,8 @@ declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js')
|
|
|
109
109
|
required: boolean;
|
|
110
110
|
variant: string;
|
|
111
111
|
id: string;
|
|
112
|
-
disabled: boolean;
|
|
113
112
|
name: string;
|
|
113
|
+
disabled: boolean;
|
|
114
114
|
readOnly: boolean;
|
|
115
115
|
options: any[];
|
|
116
116
|
itemClass: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { uniqueId as
|
|
3
|
-
import { useSanitize as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as u, ref as m, watch as p, openBlock as f, createElementBlock as g, createElementVNode as a, normalizeClass as n, renderSlot as l, toDisplayString as h, createVNode as y, Transition as v, withCtx as b, withDirectives as S, unref as V, vShow as $ } from "vue";
|
|
2
|
+
import { uniqueId as q } from "../../../utilities/helpers.js";
|
|
3
|
+
import { useSanitize as w } from "../../../composables/useSanitize.js";
|
|
4
|
+
const x = { class: "accordion-item" }, B = ["id"], _ = ["aria-expanded", "aria-controls"], C = { class: "flex-grow-1" }, T = ["id", "aria-labelledby"], k = ["innerHTML"], N = /* @__PURE__ */ u({
|
|
5
5
|
__name: "accordion-item",
|
|
6
6
|
props: {
|
|
7
7
|
id: {
|
|
8
8
|
type: String,
|
|
9
|
-
default: () =>
|
|
9
|
+
default: () => q()
|
|
10
10
|
},
|
|
11
11
|
modelValue: {
|
|
12
12
|
type: Boolean,
|
|
@@ -30,47 +30,55 @@ const y = { class: "accordion-item" }, h = ["id"], S = ["data-bs-target", "aria-
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
emits: ["update:modelValue"],
|
|
33
|
-
setup(e, { emit:
|
|
34
|
-
const o = e,
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
setup(e, { emit: d }) {
|
|
34
|
+
const o = e, s = d, t = m(o.modelValue);
|
|
35
|
+
p(() => o.modelValue, (i) => {
|
|
36
|
+
t.value = i;
|
|
37
|
+
});
|
|
38
|
+
const c = w(() => o.body);
|
|
39
|
+
function r() {
|
|
40
|
+
t.value = !t.value, s("update:modelValue", t.value);
|
|
37
41
|
}
|
|
38
|
-
return (i,
|
|
39
|
-
|
|
42
|
+
return (i, z) => (f(), g("div", x, [
|
|
43
|
+
a("div", {
|
|
40
44
|
class: "accordion-header",
|
|
41
45
|
id: `heading-${e.id}`
|
|
42
46
|
}, [
|
|
43
|
-
|
|
44
|
-
class:
|
|
47
|
+
a("button", {
|
|
48
|
+
class: n(["accordion-button", !t.value && "collapsed"]),
|
|
45
49
|
type: "button",
|
|
46
|
-
"
|
|
47
|
-
"data-bs-target": `#target${e.id}`,
|
|
48
|
-
"aria-expanded": "true",
|
|
50
|
+
"aria-expanded": t.value,
|
|
49
51
|
"aria-controls": `target${e.id}`,
|
|
50
|
-
onClick:
|
|
52
|
+
onClick: r
|
|
51
53
|
}, [
|
|
52
|
-
|
|
53
|
-
|
|
54
|
+
l(i.$slots, "toggle", {}, () => [
|
|
55
|
+
a("span", C, h(e.title), 1)
|
|
54
56
|
])
|
|
55
|
-
], 10,
|
|
56
|
-
], 8,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
57
|
+
], 10, _)
|
|
58
|
+
], 8, B),
|
|
59
|
+
y(v, { name: "accordion" }, {
|
|
60
|
+
default: b(() => [
|
|
61
|
+
S(a("div", {
|
|
62
|
+
class: "accordion-collapse",
|
|
63
|
+
id: `target${e.id}`,
|
|
64
|
+
"aria-labelledby": `heading-${e.id}`
|
|
65
|
+
}, [
|
|
66
|
+
a("div", {
|
|
67
|
+
class: n(["accordion-body", e.noPadding ? "p-0" : ""])
|
|
68
|
+
}, [
|
|
69
|
+
l(i.$slots, "body", {}, () => [
|
|
70
|
+
a("article", { innerHTML: V(c) }, null, 8, k)
|
|
71
|
+
])
|
|
72
|
+
], 2)
|
|
73
|
+
], 8, T), [
|
|
74
|
+
[$, t.value]
|
|
68
75
|
])
|
|
69
|
-
],
|
|
70
|
-
|
|
76
|
+
]),
|
|
77
|
+
_: 3
|
|
78
|
+
})
|
|
71
79
|
]));
|
|
72
80
|
}
|
|
73
81
|
});
|
|
74
82
|
export {
|
|
75
|
-
|
|
83
|
+
N as default
|
|
76
84
|
};
|
|
@@ -113,9 +113,9 @@ declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js')
|
|
|
113
113
|
}>, {
|
|
114
114
|
color: string;
|
|
115
115
|
required: boolean;
|
|
116
|
+
placeholder: string;
|
|
116
117
|
disabled: boolean;
|
|
117
118
|
outlined: boolean;
|
|
118
|
-
placeholder: string;
|
|
119
119
|
readOnly: boolean;
|
|
120
120
|
options: any[];
|
|
121
121
|
}, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {
|
|
@@ -92,8 +92,8 @@ declare const _default: import('../../../../vue/dist/vue.esm-bundler.js').Define
|
|
|
92
92
|
required: boolean;
|
|
93
93
|
id: string;
|
|
94
94
|
modelValue: string;
|
|
95
|
-
disabled: boolean;
|
|
96
95
|
name: string;
|
|
96
|
+
disabled: boolean;
|
|
97
97
|
colors: String[];
|
|
98
98
|
}, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
99
99
|
export default _default;
|
|
@@ -257,9 +257,9 @@ declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js')
|
|
|
257
257
|
type?: string;
|
|
258
258
|
src?: string;
|
|
259
259
|
}[];
|
|
260
|
-
disabled: boolean;
|
|
261
260
|
name: string;
|
|
262
261
|
placeholder: string;
|
|
262
|
+
disabled: boolean;
|
|
263
263
|
readOnly: boolean;
|
|
264
264
|
multiple: boolean;
|
|
265
265
|
maxFileSize: number;
|
|
@@ -201,9 +201,9 @@ declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js')
|
|
|
201
201
|
variant: string;
|
|
202
202
|
id: string;
|
|
203
203
|
modelValue: IMediaObject | undefined;
|
|
204
|
-
disabled: boolean;
|
|
205
204
|
name: string;
|
|
206
205
|
placeholder: string;
|
|
206
|
+
disabled: boolean;
|
|
207
207
|
readOnly: boolean;
|
|
208
208
|
accept: string;
|
|
209
209
|
maxFileSize: number;
|
|
@@ -106,9 +106,9 @@ declare const _default: import('../../../../vue/dist/vue.esm-bundler.js').Define
|
|
|
106
106
|
variant: string;
|
|
107
107
|
id: string;
|
|
108
108
|
modelValue: string | number | boolean | Date;
|
|
109
|
-
disabled: boolean;
|
|
110
109
|
name: string;
|
|
111
110
|
placeholder: string;
|
|
111
|
+
disabled: boolean;
|
|
112
112
|
readOnly: boolean;
|
|
113
113
|
}, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
114
114
|
export default _default;
|
|
@@ -167,8 +167,8 @@ declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js')
|
|
|
167
167
|
required: boolean;
|
|
168
168
|
id: string;
|
|
169
169
|
modelValue: any;
|
|
170
|
-
disabled: boolean;
|
|
171
170
|
name: string;
|
|
171
|
+
disabled: boolean;
|
|
172
172
|
readOnly: boolean;
|
|
173
173
|
range: boolean;
|
|
174
174
|
textRange: boolean;
|
|
@@ -182,10 +182,10 @@ declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js')
|
|
|
182
182
|
color: string;
|
|
183
183
|
required: boolean;
|
|
184
184
|
variant: string;
|
|
185
|
-
disabled: boolean;
|
|
186
|
-
outlined: boolean;
|
|
187
185
|
name: string;
|
|
188
186
|
placeholder: string;
|
|
187
|
+
disabled: boolean;
|
|
188
|
+
outlined: boolean;
|
|
189
189
|
readOnly: boolean;
|
|
190
190
|
multiple: boolean;
|
|
191
191
|
showSelectionCount: boolean;
|
|
@@ -108,8 +108,8 @@ declare const _default: import('../../../../vue/dist/vue.esm-bundler.js').Define
|
|
|
108
108
|
required: boolean;
|
|
109
109
|
id: string;
|
|
110
110
|
modelValue: any;
|
|
111
|
-
disabled: boolean;
|
|
112
111
|
name: string;
|
|
112
|
+
disabled: boolean;
|
|
113
113
|
options: any[];
|
|
114
114
|
itemClass: string;
|
|
115
115
|
}, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
@@ -102,8 +102,8 @@ declare const _default: import('../../../../vue/dist/vue.esm-bundler.js').Define
|
|
|
102
102
|
required: boolean;
|
|
103
103
|
id: string;
|
|
104
104
|
modelValue: any;
|
|
105
|
-
disabled: boolean;
|
|
106
105
|
name: string;
|
|
106
|
+
disabled: boolean;
|
|
107
107
|
assets: any[];
|
|
108
108
|
emitKey: string;
|
|
109
109
|
}, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
@@ -162,8 +162,8 @@ declare const _default: import('../../../../vue/dist/vue.esm-bundler.js').Define
|
|
|
162
162
|
variant: string;
|
|
163
163
|
id: string;
|
|
164
164
|
modelValue: String[];
|
|
165
|
-
disabled: boolean;
|
|
166
165
|
name: string;
|
|
166
|
+
disabled: boolean;
|
|
167
167
|
maxFileSize: number;
|
|
168
168
|
endpoint: string;
|
|
169
169
|
authToken: string;
|
|
@@ -196,8 +196,8 @@ declare const _default: import('../../../../vue/dist/vue.esm-bundler.js').Define
|
|
|
196
196
|
variant: string;
|
|
197
197
|
id: string;
|
|
198
198
|
modelValue: any[];
|
|
199
|
-
disabled: boolean;
|
|
200
199
|
name: string;
|
|
200
|
+
disabled: boolean;
|
|
201
201
|
maxFileSize: number;
|
|
202
202
|
endpoint: string;
|
|
203
203
|
authToken: string;
|