@tekkare/auriga 0.1.45 → 0.1.47
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 +1 -1
- package/dist/runtime/components/argAdvancedSearchBar.vue +1 -1
- package/dist/runtime/components/argCheckbox.vue +1 -1
- package/dist/runtime/components/argFilterCard.vue +1 -2
- package/dist/runtime/components/argHomeSelectedBlock.vue +6 -1
- package/dist/runtime/components/argMainLayout.vue +2 -2
- package/dist/runtime/components/argScopeChange.vue +9 -0
- package/dist/runtime/components/argScopeModal.vue +2 -0
- package/dist/runtime/components/argSearchInput.vue +1 -1
- package/dist/runtime/components/argSimpleLabel.vue +1 -1
- package/dist/runtime/components/argStyle.vue +2 -0
- package/dist/runtime/components/argSubMenu.vue +19 -4
- package/dist/runtime/components/argSubMenu.vue.d.ts +12 -0
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
</div>
|
|
24
24
|
<p class="theme_descr">{{ selected.description }}</p>
|
|
25
25
|
</div>
|
|
26
|
-
<div>
|
|
26
|
+
<div class="selected_block_links">
|
|
27
27
|
<div v-for="(item, index) in selected.links" :key="index">
|
|
28
28
|
<arg-sub-menu
|
|
29
29
|
v-if="item.subLinks"
|
|
@@ -115,4 +115,9 @@ export default defineComponent({
|
|
|
115
115
|
font-weight: 400;
|
|
116
116
|
line-height: 160%;
|
|
117
117
|
}
|
|
118
|
+
.selected_block_links {
|
|
119
|
+
display: flex;
|
|
120
|
+
flex-direction: column;
|
|
121
|
+
gap: 4px;
|
|
122
|
+
}
|
|
118
123
|
</style>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
import {
|
|
23
23
|
onMounted,
|
|
24
24
|
defineComponent,
|
|
25
|
-
|
|
25
|
+
onUpdated
|
|
26
26
|
} from "vue";
|
|
27
27
|
import argFooter from "./argFooter.vue";
|
|
28
28
|
import argStyle from "./argStyle.vue";
|
|
@@ -46,7 +46,7 @@ export default defineComponent({
|
|
|
46
46
|
window.addEventListener("popstate", adjustMarginForBody);
|
|
47
47
|
window.addEventListener("click", adjustMarginForBody);
|
|
48
48
|
});
|
|
49
|
-
|
|
49
|
+
onUpdated(() => {
|
|
50
50
|
adjustMarginForBody();
|
|
51
51
|
});
|
|
52
52
|
function adjustMarginForBody() {
|
|
@@ -56,6 +56,7 @@ import {
|
|
|
56
56
|
onMounted,
|
|
57
57
|
ref,
|
|
58
58
|
computed,
|
|
59
|
+
watch,
|
|
59
60
|
defineComponent,
|
|
60
61
|
onUnmounted
|
|
61
62
|
} from "vue";
|
|
@@ -82,6 +83,14 @@ export default defineComponent({
|
|
|
82
83
|
selectedScope.value = props.active_scope;
|
|
83
84
|
}
|
|
84
85
|
});
|
|
86
|
+
watch(
|
|
87
|
+
() => props.active_scope,
|
|
88
|
+
(new_scopes) => {
|
|
89
|
+
if (new_scopes !== null) {
|
|
90
|
+
selectedScope.value = new_scopes;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
);
|
|
85
94
|
const getTitle = computed(() => {
|
|
86
95
|
if (props.scopes.length > 0) {
|
|
87
96
|
return props.lang === "en" ? "Change scope" : "Changer de scope";
|
|
@@ -220,6 +220,7 @@ export default defineComponent({
|
|
|
220
220
|
width: 50%;
|
|
221
221
|
flex: 1 1 0;
|
|
222
222
|
display: flex;
|
|
223
|
+
align-self: stretch;
|
|
223
224
|
}
|
|
224
225
|
|
|
225
226
|
.arg_save_header > h1 {
|
|
@@ -276,6 +277,7 @@ textarea::placeholder {
|
|
|
276
277
|
justify-content: center;
|
|
277
278
|
white-space: wrap;
|
|
278
279
|
text-align: center;
|
|
280
|
+
align-self: stretch;
|
|
279
281
|
}
|
|
280
282
|
|
|
281
283
|
.cursor-pointer {
|
|
@@ -91,6 +91,7 @@ body {
|
|
|
91
91
|
color: var(--independence);
|
|
92
92
|
background: var(--background);
|
|
93
93
|
margin: 0px;
|
|
94
|
+
text-wrap: pretty;
|
|
94
95
|
}
|
|
95
96
|
a {
|
|
96
97
|
text-decoration: none;
|
|
@@ -707,6 +708,7 @@ button {
|
|
|
707
708
|
flex-direction: row;
|
|
708
709
|
justify-content: center;
|
|
709
710
|
align-items: center;
|
|
711
|
+
text-wrap: pretty;
|
|
710
712
|
}
|
|
711
713
|
.oip_button_loading {
|
|
712
714
|
position: absolute;
|
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div :class="sidebarOpen ? 'arg_sub_menu' : 'arg_sub_small'">
|
|
3
3
|
<button class="arg_sub_menu_button" @click="openMenu = !openMenu">
|
|
4
|
-
<
|
|
4
|
+
<div class="oip_row v-center gap-4">
|
|
5
|
+
<arg-icon
|
|
6
|
+
v-if="icon !== null"
|
|
7
|
+
:name="icon"
|
|
8
|
+
size="12"
|
|
9
|
+
color="var(--cool-grey)"
|
|
10
|
+
thickness="30"
|
|
11
|
+
:class="[openMenu ? 'active_icon' : '']"
|
|
12
|
+
/>
|
|
13
|
+
<arg-flag v-else-if="flagIso !== null" :iso="flagIso" emoji />
|
|
14
|
+
<span v-show="sidebarOpen">{{ label }}</span>
|
|
15
|
+
</div>
|
|
5
16
|
<arg-tooltip
|
|
6
17
|
:tooltip-text="label"
|
|
7
18
|
:disable="sidebarOpen"
|
|
@@ -16,7 +27,7 @@
|
|
|
16
27
|
:class="[
|
|
17
28
|
'action_icon',
|
|
18
29
|
sidebarOpen ? '' : 'icon_sb',
|
|
19
|
-
openMenu ? 'active_icon' : '',
|
|
30
|
+
openMenu ? 'active_icon rotate_icon' : '',
|
|
20
31
|
]"
|
|
21
32
|
/>
|
|
22
33
|
</arg-tooltip>
|
|
@@ -38,7 +49,8 @@ export default defineComponent({
|
|
|
38
49
|
components: { argIcon, argTooltip },
|
|
39
50
|
props: {
|
|
40
51
|
label: { type: String, required: true },
|
|
41
|
-
icon: { type: String },
|
|
52
|
+
icon: { type: String, default: null },
|
|
53
|
+
flagIso: { type: String, default: null },
|
|
42
54
|
defaultCollapseState: { type: Boolean, default: true },
|
|
43
55
|
sidebarOpen: { type: Boolean, default: true }
|
|
44
56
|
},
|
|
@@ -106,7 +118,10 @@ export default defineComponent({
|
|
|
106
118
|
}
|
|
107
119
|
|
|
108
120
|
.active_icon {
|
|
109
|
-
transform: rotate(180deg);
|
|
110
121
|
color: var(--primary) !important;
|
|
111
122
|
}
|
|
123
|
+
|
|
124
|
+
.rotate_icon {
|
|
125
|
+
transform: rotate(180deg);
|
|
126
|
+
}
|
|
112
127
|
</style>
|
|
@@ -5,6 +5,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5
5
|
};
|
|
6
6
|
icon: {
|
|
7
7
|
type: StringConstructor;
|
|
8
|
+
default: null;
|
|
9
|
+
};
|
|
10
|
+
flagIso: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: null;
|
|
8
13
|
};
|
|
9
14
|
defaultCollapseState: {
|
|
10
15
|
type: BooleanConstructor;
|
|
@@ -23,6 +28,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
28
|
};
|
|
24
29
|
icon: {
|
|
25
30
|
type: StringConstructor;
|
|
31
|
+
default: null;
|
|
32
|
+
};
|
|
33
|
+
flagIso: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: null;
|
|
26
36
|
};
|
|
27
37
|
defaultCollapseState: {
|
|
28
38
|
type: BooleanConstructor;
|
|
@@ -33,7 +43,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
43
|
default: boolean;
|
|
34
44
|
};
|
|
35
45
|
}>>, {
|
|
46
|
+
icon: string;
|
|
36
47
|
sidebarOpen: boolean;
|
|
48
|
+
flagIso: string;
|
|
37
49
|
defaultCollapseState: boolean;
|
|
38
50
|
}, {}>;
|
|
39
51
|
export default _default;
|