@tekkare/auriga 0.2.199 → 0.2.201
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
package/dist/module.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<arg-drawer :open="infoOpen" side="right" :width="620" @on-close="closeInfo()">
|
|
3
|
-
|
|
4
|
-
<arg-icon name="X" size="20" />
|
|
5
|
-
<p>{{ langData }}</p>
|
|
6
|
-
</div>
|
|
7
|
-
<div class="oip_info_section">
|
|
3
|
+
<div class="oip_info_section">
|
|
8
4
|
<div class="oip_info_sidebar">
|
|
5
|
+
<div class="oip_info_close" @click="closeInfo()">
|
|
6
|
+
<arg-icon name="X" size="16" />
|
|
7
|
+
<p>{{ closeLabel }}</p>
|
|
8
|
+
</div>
|
|
9
9
|
<div
|
|
10
10
|
v-for="(item, index) in toolbarArray"
|
|
11
11
|
:key="index"
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
<slot :name="item.name" />
|
|
48
48
|
</div>
|
|
49
49
|
</div>
|
|
50
|
-
|
|
50
|
+
</div>
|
|
51
51
|
</arg-drawer>
|
|
52
52
|
</template>
|
|
53
53
|
|
|
@@ -97,25 +97,22 @@ export default defineComponent({
|
|
|
97
97
|
setup(props, { emit }) {
|
|
98
98
|
const trueActiveMenu = ref("");
|
|
99
99
|
const infoOpen = ref(false);
|
|
100
|
-
const
|
|
100
|
+
const closeLabel = ref("Close");
|
|
101
101
|
async function setLang() {
|
|
102
102
|
const jsonFiles = import.meta.glob("./locales/*.json");
|
|
103
103
|
for (const path in jsonFiles) {
|
|
104
104
|
if (path.split("/")[2].includes(props.lang)) {
|
|
105
105
|
const json = await jsonFiles[path]();
|
|
106
|
-
|
|
106
|
+
closeLabel.value = json.close;
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
onBeforeMount(
|
|
110
|
+
onBeforeMount(() => {
|
|
111
|
+
setLang();
|
|
112
|
+
});
|
|
113
|
+
watch(() => props.lang, () => {
|
|
111
114
|
setLang();
|
|
112
115
|
});
|
|
113
|
-
watch(
|
|
114
|
-
() => props.lang,
|
|
115
|
-
() => {
|
|
116
|
-
setLang();
|
|
117
|
-
}
|
|
118
|
-
);
|
|
119
116
|
watch(
|
|
120
117
|
() => props.toolbarOpen,
|
|
121
118
|
(new_info_open) => {
|
|
@@ -149,7 +146,7 @@ export default defineComponent({
|
|
|
149
146
|
trueActiveMenu,
|
|
150
147
|
openMenu,
|
|
151
148
|
closeInfo,
|
|
152
|
-
|
|
149
|
+
closeLabel,
|
|
153
150
|
getLabel
|
|
154
151
|
};
|
|
155
152
|
}
|
|
@@ -157,5 +154,5 @@ export default defineComponent({
|
|
|
157
154
|
</script>
|
|
158
155
|
|
|
159
156
|
<style scoped>
|
|
160
|
-
.oip_info_menu{align-items:center;align-self:stretch;border-bottom:2px solid transparent;color:var(--dark);cursor:pointer;display:flex;font-size:14px;font-style:normal;font-weight:500;gap:4px;justify-content:space-between;line-height:normal;padding:0 16px 4px}.active_info_menu{border-bottom:2px solid var(--primary-primary,#2176ff)!important;color:var(--darkest)!important}.oip_info_item svg{flex-basis:100%}.oip_info_item:hover{background:rgba(237,237,243,.65)}.oip_info_close{align-items:center;background:var(--
|
|
157
|
+
.oip_info_menu{align-items:center;align-self:stretch;border-bottom:2px solid transparent;color:var(--dark);cursor:pointer;display:flex;font-size:14px;font-style:normal;font-weight:500;gap:4px;justify-content:space-between;line-height:normal;padding:0 16px 4px}.active_info_menu{border-bottom:2px solid var(--primary-primary,#2176ff)!important;color:var(--darkest)!important}.oip_info_item svg{flex-basis:100%}.oip_info_item:hover{background:rgba(237,237,243,.65)}.oip_info_close{align-items:center;background:var(--lightest,#f5f5fa);border-radius:var(--s,8px);color:var(--dark);cursor:pointer;display:flex;font-size:14px;font-weight:400;gap:6px;line-height:160%;margin:0 16px;padding:6px 12px 6px 8px}.oip_info_close:hover{background:var(--light,#ececf2)}.oip_info_section{align-items:flex-start;display:flex;flex-direction:row;height:100%}.oip_info_sidebar{background:var(--base-demi-fond,#f9f9fa);gap:16px;padding:24px 0;width:160px}.oip_info_content,.oip_info_sidebar{align-items:flex-start;align-self:stretch;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-left:1px solid var(--light,#ececf2);display:flex;flex-direction:column}.oip_info_content{background:var(--base-white,#fff);border-radius:var(--None,0);gap:24px;overflow-y:scroll;padding:24px;width:460px}.oip_info_content::-webkit-scrollbar{height:5px!important;width:5px!important}.oip_info_content::-webkit-scrollbar-thumb{background:var(--medium);border-radius:12px!important}.oip_info_content::-webkit-scrollbar-thumb:hover{background:var(--medium)!important}.hide{display:none}.arg_source_amount{align-items:center;background:var(--system-alert,#ef4444);border-radius:30px;color:var(--white);display:flex;flex-direction:column;font-size:10px;font-style:normal;font-weight:900;height:var(--m,16px);justify-content:center;line-height:normal;width:var(--m,16px)}.toolbar_menu_content{align-self:stretch}
|
|
161
158
|
</style>
|
|
@@ -28,7 +28,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
28
28
|
trueActiveMenu: import("vue").Ref<string, string>;
|
|
29
29
|
openMenu: (item: string) => void;
|
|
30
30
|
closeInfo: () => void;
|
|
31
|
-
|
|
31
|
+
closeLabel: import("vue").Ref<string, string>;
|
|
32
32
|
getLabel: (item: string) => string;
|
|
33
33
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:Menu" | "update:Open")[], "update:Menu" | "update:Open", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
34
|
toolbarOpen: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tekkare/auriga",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.201",
|
|
4
4
|
"description": "Aurgia is a UI kit developped by Tekkare",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"patch": "nuxt-module-build && npm version patch && npm publish && git push"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@nuxt/kit": "
|
|
33
|
+
"@nuxt/kit": ">=3.15.4",
|
|
34
34
|
"@svg-maps/france.departments": "^1.0.1",
|
|
35
35
|
"@svg-maps/france.regions": "^1.1.1",
|
|
36
36
|
"@svg-maps/usa": "^1.1.1",
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
"@nuxt/devtools": "latest",
|
|
53
53
|
"@nuxt/eslint-config": "^0.2.0",
|
|
54
54
|
"@nuxt/module-builder": "^0.5.5",
|
|
55
|
-
"@nuxt/schema": "
|
|
55
|
+
"@nuxt/schema": ">=3.15.4",
|
|
56
56
|
"@nuxt/test-utils": "^3.17.0",
|
|
57
57
|
"@types/node": "^18.19.76",
|
|
58
58
|
"changelogen": "^0.5.7",
|
|
59
59
|
"eslint": "^8.57.1",
|
|
60
|
-
"nuxt": "
|
|
60
|
+
"nuxt": ">=3.15.4",
|
|
61
61
|
"vitest": "^0.34.6"
|
|
62
62
|
},
|
|
63
63
|
"author": "Tekkare"
|