@zap-wunschlachen/wl-shared-components 1.0.31 → 1.0.33
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/package.json
CHANGED
|
@@ -96,7 +96,7 @@ import { siteColors } from "../../utils/index";
|
|
|
96
96
|
import { computed } from "vue";
|
|
97
97
|
|
|
98
98
|
const currentDomain = computed(() => {
|
|
99
|
-
return props.domain
|
|
99
|
+
return props.domain || siteColors['domain'] || "domain-dental";
|
|
100
100
|
});
|
|
101
101
|
|
|
102
102
|
// You can pass props if you need to customize it
|
|
@@ -111,7 +111,7 @@ const props = defineProps({
|
|
|
111
111
|
},
|
|
112
112
|
domain: {
|
|
113
113
|
type: String,
|
|
114
|
-
default: "
|
|
114
|
+
default: "",
|
|
115
115
|
},
|
|
116
116
|
});
|
|
117
117
|
</script>
|
|
@@ -16,7 +16,7 @@ import { siteColors } from "../../utils/index";
|
|
|
16
16
|
import { computed } from "vue";
|
|
17
17
|
|
|
18
18
|
const currentDomain = computed(() => {
|
|
19
|
-
return props.domain
|
|
19
|
+
return props.domain || siteColors['domain'] || "domain-dental";
|
|
20
20
|
});
|
|
21
21
|
|
|
22
22
|
const props = defineProps({
|
|
@@ -30,7 +30,7 @@ const props = defineProps({
|
|
|
30
30
|
},
|
|
31
31
|
domain: {
|
|
32
32
|
type: String,
|
|
33
|
-
default: "
|
|
33
|
+
default: "",
|
|
34
34
|
},
|
|
35
35
|
});
|
|
36
36
|
</script>
|
|
@@ -19,7 +19,11 @@
|
|
|
19
19
|
:base-color="siteColors['font_color_title_code']"
|
|
20
20
|
@update:model-value="onResetError"
|
|
21
21
|
type="number"
|
|
22
|
-
|
|
22
|
+
>
|
|
23
|
+
<template #loader>
|
|
24
|
+
<Loader :size="40" />
|
|
25
|
+
</template>
|
|
26
|
+
</v-otp-input>
|
|
23
27
|
</div>
|
|
24
28
|
|
|
25
29
|
<div class="message-container">
|
|
@@ -43,6 +47,7 @@
|
|
|
43
47
|
import { ref, computed, watch, type CSSProperties, PropType } from 'vue';
|
|
44
48
|
import './OtpInput.css';
|
|
45
49
|
import Button from '../Button/Button.vue';
|
|
50
|
+
import Loader from '../Loader/Loader.vue';
|
|
46
51
|
import { useI18n } from 'vue-i18n';
|
|
47
52
|
import { siteColors } from "../../utils/index";
|
|
48
53
|
|
package/src/plugins/vuetify.ts
CHANGED
package/src/utils/index.ts
CHANGED
|
@@ -77,6 +77,7 @@ let siteColors: any = {
|
|
|
77
77
|
bg_0: "bg-[var(--Dental-Light-Blue--3)]",
|
|
78
78
|
bg_logo_fill_color: "white",
|
|
79
79
|
button_rounded: "lg",
|
|
80
|
+
bg_card_title: "bg-[var(--Dental-Blue--1)]",
|
|
80
81
|
"divider-color": "divide-[var(--Dental-Blue-0)]",
|
|
81
82
|
domain: domain.value,
|
|
82
83
|
};
|
|
@@ -96,6 +97,7 @@ if (domain.value === "domain-cocoon") {
|
|
|
96
97
|
"slot-text": "text-[#4E5257]",
|
|
97
98
|
"divider-color": "divide-[var(--Dark-Nude-0)]",
|
|
98
99
|
bg_logo_fill_color: "var(--Warm-Air--3)",
|
|
100
|
+
bg_card_title: "bg-[var(--Dark-Nude--3)]",
|
|
99
101
|
button_rounded: "0",
|
|
100
102
|
domain: domain.value,
|
|
101
103
|
};
|