comand-component-library 4.1.38 → 4.1.40
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
package/src/ComponentLibrary.vue
CHANGED
@@ -2077,13 +2077,7 @@
|
|
2077
2077
|
<!-- end copyright-information ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
2078
2078
|
|
2079
2079
|
<!-- begin fancy-box ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
2080
|
-
<CmdFancyBox
|
2081
|
-
:show="fancyBoxCookieDisclaimer"
|
2082
|
-
:fancyboxOptions="{}"
|
2083
|
-
:allowEscapeKey="false"
|
2084
|
-
:cmdHeadline="{show: true, headlineText: 'Cookie Disclaimer', headlineLevel: 2}"
|
2085
|
-
defaultAriaLabelText="Cookie Disclaimer"
|
2086
|
-
>
|
2080
|
+
<CmdFancyBox :show="fancyBoxCookieDisclaimer" :fancyboxOptions="{}" :allowEscapeKey="false" :cmdHeadline="{show: true, headlineText: 'Cookie Disclaimer', headlineLevel: 2}" defaultAriaLabelText="Cookie Disclaimer">
|
2087
2081
|
<!-- begin cookie-disclaimer ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
2088
2082
|
<CmdCookieDisclaimer
|
2089
2083
|
:cookieOptions="cookieDisclaimerData"
|
@@ -2280,7 +2274,7 @@ export default {
|
|
2280
2274
|
replacedCheckboxValue: "checkboxValue1",
|
2281
2275
|
radiobuttonValue: "radiobuttonValue1",
|
2282
2276
|
replacedRadiobuttonValue: "radiobuttonValue1",
|
2283
|
-
|
2277
|
+
f: false,
|
2284
2278
|
fakeSelectDefault: "",
|
2285
2279
|
fakeSelectCheckbox: [1],
|
2286
2280
|
fakeSelectFilters: [],
|
@@ -1,6 +1,8 @@
|
|
1
1
|
{
|
2
2
|
"required": {
|
3
|
-
"
|
3
|
+
"cmdHeadline": {
|
4
|
+
"headlineText": "Required cookies"
|
5
|
+
},
|
4
6
|
"cookies": [
|
5
7
|
{
|
6
8
|
"id": "cookie-sessionid",
|
@@ -30,7 +32,9 @@
|
|
30
32
|
]
|
31
33
|
},
|
32
34
|
"optional": {
|
33
|
-
"
|
35
|
+
"cmdHeadline": {
|
36
|
+
"headlineText": "Optional cookies"
|
37
|
+
},
|
34
38
|
"cookies": [
|
35
39
|
{
|
36
40
|
"id": "cookie-google-maps",
|
@@ -267,7 +267,7 @@ export default {
|
|
267
267
|
showHeadline: true,
|
268
268
|
headlineText: "Required cookies",
|
269
269
|
headlineLevel: 3,
|
270
|
-
...this.
|
270
|
+
...this.cookieOptions?.required.cmdHeadline
|
271
271
|
}
|
272
272
|
},
|
273
273
|
defaultCmdBoxOptionalCookies() {
|
@@ -276,7 +276,7 @@ export default {
|
|
276
276
|
showHeadline: true,
|
277
277
|
headlineText: "Optional cookies",
|
278
278
|
headlineLevel: 3,
|
279
|
-
...this.
|
279
|
+
...this.cookieOptions?.optional.cmdHeadline
|
280
280
|
}
|
281
281
|
},
|
282
282
|
toggleBoxBody(cookieId) {
|
@@ -45,17 +45,17 @@
|
|
45
45
|
<!-- end print buttons -->
|
46
46
|
|
47
47
|
<!-- begin close-icon -->
|
48
|
-
<a v-if="fancyBoxOptionsProperties.closeIcon"
|
48
|
+
<a v-if="fancyBoxOptionsProperties.closeIcon?.show"
|
49
49
|
href="#"
|
50
50
|
class="button"
|
51
51
|
id="close-dialog"
|
52
|
-
:title="fancyBoxOptionsProperties.closeIcon
|
52
|
+
:title="fancyBoxOptionsProperties.closeIcon?.tooltip"
|
53
53
|
ref="close-dialog"
|
54
54
|
@click.prevent="close">
|
55
55
|
<!-- begin CmdIcon -->
|
56
56
|
<CmdIcon
|
57
|
-
:iconClass="fancyBoxOptionsProperties.closeIcon
|
58
|
-
:type="fancyBoxOptionsProperties.closeIcon
|
57
|
+
:iconClass="fancyBoxOptionsProperties.closeIcon?.iconClass"
|
58
|
+
:type="fancyBoxOptionsProperties.closeIcon?.iconType"
|
59
59
|
/>
|
60
60
|
<!-- end CmdIcon -->
|
61
61
|
</a>
|
@@ -294,6 +294,7 @@ const FancyBox = defineComponent({
|
|
294
294
|
fancyBoxOptionsProperties() {
|
295
295
|
return {
|
296
296
|
closeIcon: {
|
297
|
+
show: true,
|
297
298
|
iconClass: "icon-cancel",
|
298
299
|
iconType: "auto",
|
299
300
|
tooltip: "Close",
|