comand-component-library 3.1.60 → 3.1.63
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/comand-component-library.css +1 -1
- package/dist/comand-component-library.umd.min.js +1 -1
- package/package.json +1 -1
- package/src/components/CmdFormElement.vue +68 -0
- package/src/components/CmdGoogleMaps.vue +1 -3
- package/src/components/CmdMainNavigation.vue +1 -0
- package/src/components/CmdTabs.vue +2 -2
package/package.json
CHANGED
@@ -478,6 +478,74 @@ export default {
|
|
478
478
|
tooltip: "Search"
|
479
479
|
}
|
480
480
|
}
|
481
|
+
},
|
482
|
+
/**
|
483
|
+
* icon for error-validated items in list-of-requirements
|
484
|
+
*
|
485
|
+
* element-property must me set to 'input'
|
486
|
+
* showRequirements-property must be set to 'true'
|
487
|
+
*
|
488
|
+
*/
|
489
|
+
iconHasStateError: {
|
490
|
+
type: Object,
|
491
|
+
default() {
|
492
|
+
return {
|
493
|
+
show: true,
|
494
|
+
iconClass: "icon-error-circle",
|
495
|
+
tooltip: "Error"
|
496
|
+
}
|
497
|
+
}
|
498
|
+
},
|
499
|
+
/**
|
500
|
+
* icon for warning-validated items in list-of-requirements
|
501
|
+
*
|
502
|
+
* element-property must me set to 'input'
|
503
|
+
* showRequirements-property must be set to 'true'
|
504
|
+
*
|
505
|
+
*/
|
506
|
+
iconHasStateWarning: {
|
507
|
+
type: Object,
|
508
|
+
default() {
|
509
|
+
return {
|
510
|
+
show: true,
|
511
|
+
iconClass: "icon-warning-circle",
|
512
|
+
tooltip: "Warning"
|
513
|
+
}
|
514
|
+
}
|
515
|
+
},
|
516
|
+
/**
|
517
|
+
* icon for success-validated items in list-of-requirements
|
518
|
+
*
|
519
|
+
* element-property must me set to 'input'
|
520
|
+
* showRequirements-property must be set to 'true'
|
521
|
+
*
|
522
|
+
*/
|
523
|
+
iconHasStateSuccess: {
|
524
|
+
type: Object,
|
525
|
+
default() {
|
526
|
+
return {
|
527
|
+
show: true,
|
528
|
+
iconClass: "icon-check-circle",
|
529
|
+
tooltip: "Success"
|
530
|
+
}
|
531
|
+
}
|
532
|
+
},
|
533
|
+
/**
|
534
|
+
* icon for info-validated items in list-of-requirements
|
535
|
+
*
|
536
|
+
* element-property must me set to 'input'
|
537
|
+
* showRequirements-property must be set to 'true'
|
538
|
+
*
|
539
|
+
*/
|
540
|
+
iconHasStateInfo: {
|
541
|
+
type: Object,
|
542
|
+
default() {
|
543
|
+
return {
|
544
|
+
show: true,
|
545
|
+
iconClass: "icon-info-circle",
|
546
|
+
tooltip: "Info"
|
547
|
+
}
|
548
|
+
}
|
481
549
|
}
|
482
550
|
},
|
483
551
|
computed: {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<template>
|
2
|
-
<div class="cmd-google-maps">
|
2
|
+
<div class="cmd-google-maps responsive-wrapper">
|
3
3
|
<iframe :src="locateAddress"></iframe>
|
4
4
|
</div>
|
5
5
|
</template>
|
@@ -35,8 +35,6 @@ export default {
|
|
35
35
|
.cmd-google-maps {
|
36
36
|
border: var(--default-border);
|
37
37
|
|
38
|
-
aspect-ratio: 16/9;
|
39
|
-
|
40
38
|
iframe {
|
41
39
|
display: block;
|
42
40
|
width: 100%;
|
@@ -9,9 +9,9 @@
|
|
9
9
|
</li>
|
10
10
|
</ul>
|
11
11
|
<template v-if="useSlot">
|
12
|
-
<div v-show="showTab === index" v-for="index in tabs.length" :key="index" aria-live="assertive">
|
12
|
+
<div v-show="showTab === index - 1" v-for="index in tabs.length" :key="index" aria-live="assertive">
|
13
13
|
<!-- begin slot-content -->
|
14
|
-
<slot :name="'tab-content-' + index"></slot>
|
14
|
+
<slot :name="'tab-content-' + (index - 1)"></slot>
|
15
15
|
<!-- end slot-content -->
|
16
16
|
</div>
|
17
17
|
</template>
|