@tekkare/auriga 0.1.87 → 0.1.88
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/module.json
CHANGED
|
@@ -85,14 +85,18 @@ export default defineComponent({
|
|
|
85
85
|
emits: ["onSelectLang", "update:Lang"],
|
|
86
86
|
setup(props, { emit }) {
|
|
87
87
|
const showLangOptions = ref(false);
|
|
88
|
-
const selectedItem = ref(
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
locale: "fr"
|
|
92
|
-
});
|
|
88
|
+
const selectedItem = ref(
|
|
89
|
+
props.langs[props.langs.findIndex((a) => a.locale === props.default_locale)]
|
|
90
|
+
);
|
|
93
91
|
onMounted(() => {
|
|
94
92
|
selectedItem.value = props.langs[props.langs.findIndex((a) => a.locale === props.default_locale)];
|
|
95
93
|
});
|
|
94
|
+
watch(
|
|
95
|
+
() => props.default_locale,
|
|
96
|
+
() => {
|
|
97
|
+
selectedItem.value = props.langs[props.langs.findIndex((a) => a.locale === props.default_locale)];
|
|
98
|
+
}
|
|
99
|
+
);
|
|
96
100
|
watch(
|
|
97
101
|
() => showLangOptions.value,
|
|
98
102
|
() => {
|
|
@@ -25,7 +25,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
25
|
default: null;
|
|
26
26
|
};
|
|
27
27
|
}, {
|
|
28
|
-
selectedItem: import("vue").Ref<
|
|
28
|
+
selectedItem: import("vue").Ref<Object>;
|
|
29
29
|
showLangOptions: import("vue").Ref<boolean>;
|
|
30
30
|
selectLang: (item: any) => void;
|
|
31
31
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onSelectLang" | "update:Lang")[], "onSelectLang" | "update:Lang", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -170,5 +170,5 @@ export default defineComponent({
|
|
|
170
170
|
</script>
|
|
171
171
|
|
|
172
172
|
<style scoped>
|
|
173
|
-
.arg_scope_save{align-items:center;background-color:transparent;bottom:0;display:flex;height:0;justify-content:center;left:0;position:fixed;transition:all .5s ease;width:0}.arg_scope_save_open{background-color:rgba(0,0,0,.4);height:100%;width:100%;z-index:99}.arg_save_modal{align-items:flex-start;background:var(--white);border-radius:var(--m,8px);display:flex;flex-direction:column;flex-shrink:0;max-height:850px;max-width:640px;width:calc(100% - 164px)}.arg_save_header{border-bottom:1px solid #e5e7eb;justify-content:space-between}.arg_save_footer,.arg_save_header{align-items:center;align-self:stretch;display:flex;padding:24px}.arg_save_footer{border-top:1px solid #e5e7eb;gap:32px}.footer_action{align-self:stretch;display:flex;flex:1 1 0;width:50%}.arg_save_header>h1{font-size:20px;font-style:normal;font-weight:900;line-height:normal}.arg_save_body{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:24px;padding:24px}.scope_criteria,textarea{align-self:stretch;border:1.5px solid var(--light);border-radius:8px;font-family:Figtree,sans-serif!important;height:110px;margin:5px 0;outline:none!important;padding:12px}.scope_criteria{align-items:flex-start;display:flex;flex-direction:row;gap:8px}textarea::-moz-placeholder{color:var(--medium);font-family:Figtree,sans-serif!important}textarea::placeholder{color:var(--medium);font-family:Figtree,sans-serif!important}.scope_name_input{max-width:100%;width:300px}.full_width{width:100%}.footer_action .footer_btn{align-self:stretch;justify-content:center;text-align:center;white-space:wrap;width:100%}.cursor-pointer{cursor:pointer!important}.oip_simple_input{border:1.5px solid var(--light);border-radius:8px;margin:5px 0;padding:12px;width:calc(100% - 24px)}.oip_simple_input::-moz-placeholder{color:var(--medium)}.oip_simple_input::placeholder{color:var(--medium)}.oip_simple_input,.oip_simple_input:focus-visible{outline:none!important}.oip_simple_input:hover,textarea:hover{border:1.5px solid rgba(33,118,255,.2)!important}.oip_simple_input:focus-within,textarea:focus-within{border:1.5px solid var(--primary)!important;box-shadow:0 0 0 4px rgba(33,118,255,.1)!important}.oip_required_input,.oip_required_input:hover{border-color:var(--system-alert)!important}.oip_error{color:var(--system-alert)}
|
|
173
|
+
.arg_scope_save{align-items:center;background-color:transparent;bottom:0;display:flex;height:0;justify-content:center;left:0;position:fixed;transition:all .5s ease;width:0}.arg_scope_save_open{background-color:rgba(0,0,0,.4);height:100%;width:100%;z-index:99}.arg_save_modal{align-items:flex-start;background:var(--white);border-radius:var(--m,8px);display:flex;flex-direction:column;flex-shrink:0;max-height:850px;max-width:640px;width:calc(100% - 164px)}.arg_save_header{border-bottom:1px solid #e5e7eb;justify-content:space-between}.arg_save_footer,.arg_save_header{align-items:center;align-self:stretch;display:flex;padding:24px}.arg_save_footer{border-top:1px solid #e5e7eb;gap:32px}.footer_action{align-self:stretch;display:flex;flex:1 1 0;width:50%}.arg_save_header>h1{font-size:20px;font-style:normal;font-weight:900;line-height:normal}.arg_save_body{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:24px;padding:24px}.scope_criteria,textarea{align-self:stretch;border:1.5px solid var(--light);border-radius:8px;font-family:Figtree,sans-serif!important;height:110px;margin:5px 0;outline:none!important;padding:12px}.scope_criteria{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:wrap;gap:8px}textarea::-moz-placeholder{color:var(--medium);font-family:Figtree,sans-serif!important}textarea::placeholder{color:var(--medium);font-family:Figtree,sans-serif!important}.scope_name_input{max-width:100%;width:300px}.full_width{width:100%}.footer_action .footer_btn{align-self:stretch;justify-content:center;text-align:center;white-space:wrap;width:100%}.cursor-pointer{cursor:pointer!important}.oip_simple_input{border:1.5px solid var(--light);border-radius:8px;margin:5px 0;padding:12px;width:calc(100% - 24px)}.oip_simple_input::-moz-placeholder{color:var(--medium)}.oip_simple_input::placeholder{color:var(--medium)}.oip_simple_input,.oip_simple_input:focus-visible{outline:none!important}.oip_simple_input:hover,textarea:hover{border:1.5px solid rgba(33,118,255,.2)!important}.oip_simple_input:focus-within,textarea:focus-within{border:1.5px solid var(--primary)!important;box-shadow:0 0 0 4px rgba(33,118,255,.1)!important}.oip_required_input,.oip_required_input:hover{border-color:var(--system-alert)!important}.oip_error{color:var(--system-alert)}
|
|
174
174
|
</style>
|