PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / 1.2.20
Booking for Appointments and Events Calendar – Amelia v1.2.20
2.4.4 2.4.3 2.4.2 2.4.1 2.4 trunk 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.28 1.2.29 1.2.3 1.2.30 1.2.31 1.2.32 1.2.33 1.2.34 1.2.35 1.2.36 1.2.37 1.2.38 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.1.3 2.2 2.2.1 2.3
ameliabooking / v3 / src / views / admin / customize / settings / template / SidebarCardTemplate.vue
ameliabooking / v3 / src / views / admin / customize / settings / template Last commit date
SidebarCardTemplate.vue 4 years ago
SidebarCardTemplate.vue
90 lines
1 <template>
2 <div class="am-cs-block__wrapper">
3 <div
4 v-if="backBtnVisibility || headingIcon || headingText"
5 class="am-cs-block__header"
6 >
7 <AmButton
8 v-if="backBtnVisibility"
9 :icon="IconArrowLeft"
10 :icon-only="true"
11 class="am-cs-back-btn"
12 size="micro"
13 type="plain"
14 category="secondary"
15 @click="() => emits('click')"
16 ></AmButton>
17 <template v-if="headingIcon || Object.keys(headingIcon).length">
18 {{ headingIcon }}
19 </template>
20 <span>
21 {{ headingText }}
22 </span>
23 </div>
24 <div class="am-cs-block__content">
25 <slot></slot>
26 </div>
27 </div>
28 </template>
29
30 <script setup>
31 import AmButton from "../../../../_components/button/AmButton.vue";
32 import IconArrowLeft from "../../../../_components/icons/IconArrowLeft.vue";
33
34 defineProps({
35 backBtnVisibility: {
36 type: Boolean,
37 default: true,
38 },
39 headingIcon: {
40 type: [String, Object],
41 default: ''
42 },
43 headingText: {
44 type: String,
45 default: ''
46 }
47 })
48
49 const emits = defineEmits(['click'])
50 </script>
51
52 <script>
53 export default {
54 name: "SidebarCardTemplate"
55 }
56 </script>
57
58 <style lang="scss">
59 @mixin am-cs-block {
60 .am-cs {
61 &-block {
62 &__wrapper {}
63 &__header {
64 display: flex;
65 align-items: center;
66 font-size: 18px;
67 font-style: normal;
68 font-weight: 500;
69 line-height: 1.55555;
70 color: $shade-800;
71 padding: 16px;
72
73 & > span {
74 display: inline-block;
75 margin: 0 0 0 6px;
76 }
77 }
78 }
79
80 &-back-btn {
81 margin-right: 8px;
82 }
83 }
84 }
85
86 // admin
87 #amelia-app-backend-new {
88 @include am-cs-block;
89 }
90 </style>