@tekkare/auriga 0.1.36 → 0.1.38
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/argActions.vue +8 -4
- package/dist/runtime/components/argAdvancedSearchBar.vue +1 -1
- package/dist/runtime/components/argBtn.vue +9 -1
- package/dist/runtime/components/argChart.vue +49 -31
- package/dist/runtime/components/argChart.vue.d.ts +27 -0
- package/dist/runtime/components/argCheckbox.vue +6 -1
- package/dist/runtime/components/argFilterCard.vue +23 -6
- package/dist/runtime/components/argFooter.vue +26 -19
- package/dist/runtime/components/argHomeKpis.vue +1 -1
- package/dist/runtime/components/argHomeLayout.vue +2 -3
- package/dist/runtime/components/argMenuLink.vue +2 -2
- package/dist/runtime/components/argScopeCriteria.vue +1 -1
- package/dist/runtime/components/argScopeHeader.vue +9 -1
- package/dist/runtime/components/argScopeHeader.vue.d.ts +11 -0
- package/dist/runtime/components/argScopeLayout.vue +1 -2
- package/dist/runtime/components/argScopeManage.vue +66 -53
- package/dist/runtime/components/argScopeManage.vue.d.ts +9 -0
- package/dist/runtime/components/argScopeModal.vue +4 -5
- package/dist/runtime/components/argSearchInput.vue +2 -2
- package/dist/runtime/components/argSidebar.vue +14 -0
- package/dist/runtime/components/argStyle.vue +15 -12
- package/dist/runtime/components/argTags.vue +6 -0
- package/dist/runtime/components/argTooltip.vue +3 -3
- package/dist/runtime/components/argTutoModal.vue +1 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -5,15 +5,16 @@
|
|
|
5
5
|
class="cancel_action"
|
|
6
6
|
@click="sendAction()"
|
|
7
7
|
>
|
|
8
|
-
<slot v-if="customize"
|
|
8
|
+
<slot v-if="customize" />
|
|
9
9
|
<span v-else>{{ getActionText }}</span>
|
|
10
10
|
</div>
|
|
11
11
|
<arg-text-btn
|
|
12
|
-
v-else-if="actionType === 'see-analysis'"
|
|
12
|
+
v-else-if="actionType === 'see-analysis' || actionType === 'clear'"
|
|
13
|
+
:text-style="actionType === 'clear' ? 'warning' : 'primary'"
|
|
13
14
|
:disable="disable"
|
|
14
15
|
@onClick="sendAction()"
|
|
15
16
|
>
|
|
16
|
-
<slot v-if="customize"
|
|
17
|
+
<slot v-if="customize" />
|
|
17
18
|
<span v-else>{{ getActionText }}</span>
|
|
18
19
|
</arg-text-btn>
|
|
19
20
|
<arg-btn
|
|
@@ -32,7 +33,7 @@
|
|
|
32
33
|
:round="actionType === 'save-analysis'"
|
|
33
34
|
@onClick="sendAction()"
|
|
34
35
|
>
|
|
35
|
-
<slot v-if="customize"
|
|
36
|
+
<slot v-if="customize" />
|
|
36
37
|
<span v-else>{{ getActionText }}</span>
|
|
37
38
|
</arg-btn>
|
|
38
39
|
</div>
|
|
@@ -80,6 +81,9 @@ export default defineComponent({
|
|
|
80
81
|
case "scope":
|
|
81
82
|
finalText = props.lang === "fr" ? "Mon scope" : "My scope";
|
|
82
83
|
break;
|
|
84
|
+
case "clear":
|
|
85
|
+
finalText = props.lang === "fr" ? "Tout supprimer" : "Clear All";
|
|
86
|
+
break;
|
|
83
87
|
case "see-analysis":
|
|
84
88
|
finalText = props.lang === "fr" ? "Voir l'analyse" : "Go to analysis";
|
|
85
89
|
break;
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
<script>
|
|
64
64
|
import argIcon from "./argIcon.vue";
|
|
65
65
|
import {
|
|
66
|
+
onMounted,
|
|
66
67
|
ref,
|
|
67
68
|
computed,
|
|
68
69
|
defineComponent
|
|
@@ -114,6 +115,11 @@ export default defineComponent({
|
|
|
114
115
|
function send() {
|
|
115
116
|
emit("onClick");
|
|
116
117
|
}
|
|
118
|
+
onMounted(() => {
|
|
119
|
+
CSS.paintWorklet.addModule(
|
|
120
|
+
"https://www.unpkg.com/css-houdini-squircle/squircle.min.js"
|
|
121
|
+
);
|
|
122
|
+
});
|
|
117
123
|
return { getIconColor, send };
|
|
118
124
|
}
|
|
119
125
|
});
|
|
@@ -132,7 +138,9 @@ export default defineComponent({
|
|
|
132
138
|
}
|
|
133
139
|
|
|
134
140
|
.full_width {
|
|
135
|
-
|
|
141
|
+
align-self: stretch;
|
|
142
|
+
display: flex;
|
|
143
|
+
flex: 1 1 0;
|
|
136
144
|
}
|
|
137
145
|
.fit_width {
|
|
138
146
|
width: fit-content;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="prmt_chart" :class="`${type}_arg_chart`">
|
|
3
|
-
|
|
4
|
-
<div
|
|
3
|
+
<h1 v-if="!titleInChart" class="prmt_chart_title"><slot name="title" /></h1>
|
|
4
|
+
<div v-if="!titleInChart" class="prmt_chart_source">
|
|
5
|
+
<slot name="source" />
|
|
6
|
+
</div>
|
|
5
7
|
<apexchart
|
|
6
8
|
:type="chartType"
|
|
7
9
|
:options="chartOptions"
|
|
@@ -93,6 +95,18 @@ export default defineComponent({
|
|
|
93
95
|
tooltipOptions: {
|
|
94
96
|
type: Object,
|
|
95
97
|
default: void 0
|
|
98
|
+
},
|
|
99
|
+
titleInChart: {
|
|
100
|
+
type: Boolean,
|
|
101
|
+
default: false
|
|
102
|
+
},
|
|
103
|
+
chartTitle: {
|
|
104
|
+
type: String,
|
|
105
|
+
default: ""
|
|
106
|
+
},
|
|
107
|
+
chartSource: {
|
|
108
|
+
type: String,
|
|
109
|
+
default: ""
|
|
96
110
|
}
|
|
97
111
|
},
|
|
98
112
|
setup(props) {
|
|
@@ -113,35 +127,39 @@ export default defineComponent({
|
|
|
113
127
|
redrawOnParentResize: true,
|
|
114
128
|
redrawOnWindowResize: true
|
|
115
129
|
};
|
|
116
|
-
props.
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
130
|
+
if (props.titleInChart) {
|
|
131
|
+
props.options["title"] = {
|
|
132
|
+
text: props.chartTitle,
|
|
133
|
+
align: "left",
|
|
134
|
+
margin: 0,
|
|
135
|
+
offsetX: -10,
|
|
136
|
+
offsetY: 0,
|
|
137
|
+
floating: false,
|
|
138
|
+
style: {
|
|
139
|
+
fontSize: "18px",
|
|
140
|
+
fontWeight: "bold",
|
|
141
|
+
fontFamily: "Figtree, sans-serif",
|
|
142
|
+
color: "#263238",
|
|
143
|
+
lineHeight: "21px"
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
props.options["subtitle"] = {
|
|
147
|
+
text: props.chartSource,
|
|
148
|
+
align: "left",
|
|
149
|
+
margin: 0,
|
|
150
|
+
offsetX: -10,
|
|
151
|
+
offsetY: 24,
|
|
152
|
+
floating: false,
|
|
153
|
+
style: {
|
|
154
|
+
fontSize: "12px",
|
|
155
|
+
fontWeight: "normal",
|
|
156
|
+
fontFamily: "Figtree, sans-serif",
|
|
157
|
+
color: "#2176ff"
|
|
158
|
+
}
|
|
159
|
+
};
|
|
160
|
+
} else {
|
|
161
|
+
props.options["title"] = { align: "center" };
|
|
162
|
+
}
|
|
145
163
|
if (props.colors) {
|
|
146
164
|
props.options["colors"] = props.colors;
|
|
147
165
|
}
|
|
@@ -49,6 +49,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
49
49
|
type: ObjectConstructor;
|
|
50
50
|
default: undefined;
|
|
51
51
|
};
|
|
52
|
+
titleInChart: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
chartTitle: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
chartSource: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
52
64
|
}, {
|
|
53
65
|
percentage: (partialValue: any, totalValue: any) => number;
|
|
54
66
|
chartKey: import("vue").Ref<number>;
|
|
@@ -105,6 +117,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
105
117
|
type: ObjectConstructor;
|
|
106
118
|
default: undefined;
|
|
107
119
|
};
|
|
120
|
+
titleInChart: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
default: boolean;
|
|
123
|
+
};
|
|
124
|
+
chartTitle: {
|
|
125
|
+
type: StringConstructor;
|
|
126
|
+
default: string;
|
|
127
|
+
};
|
|
128
|
+
chartSource: {
|
|
129
|
+
type: StringConstructor;
|
|
130
|
+
default: string;
|
|
131
|
+
};
|
|
108
132
|
}>>, {
|
|
109
133
|
options: Record<string, any>;
|
|
110
134
|
width: string;
|
|
@@ -115,5 +139,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
115
139
|
french: boolean;
|
|
116
140
|
hideLegend: boolean;
|
|
117
141
|
tooltipOptions: Record<string, any>;
|
|
142
|
+
titleInChart: boolean;
|
|
143
|
+
chartTitle: string;
|
|
144
|
+
chartSource: string;
|
|
118
145
|
}, {}>;
|
|
119
146
|
export default _default;
|
|
@@ -21,7 +21,9 @@
|
|
|
21
21
|
:color="iconColor"
|
|
22
22
|
/>
|
|
23
23
|
</div>
|
|
24
|
-
<p
|
|
24
|
+
<p :class="returnValue === false ? 'unselected' : ''">
|
|
25
|
+
{{ filterTitle }}
|
|
26
|
+
</p>
|
|
25
27
|
<arg-tooltip
|
|
26
28
|
v-if="infoIcon"
|
|
27
29
|
:tooltip-text="tooltipText"
|
|
@@ -168,4 +170,7 @@ export default defineComponent({
|
|
|
168
170
|
.flex {
|
|
169
171
|
display: flex;
|
|
170
172
|
}
|
|
173
|
+
.unselected {
|
|
174
|
+
color: var(--cool-grey) !important;
|
|
175
|
+
}
|
|
171
176
|
</style>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
</p>
|
|
18
18
|
<p class="filters_clear" @click.stop="clear()">{{ clearMsg }}</p>
|
|
19
19
|
</div>
|
|
20
|
-
<div class="oip_row v-center gap-8">
|
|
20
|
+
<div class="oip_row v-center gap-8 toggle_filter_card">
|
|
21
21
|
<arg-icon
|
|
22
22
|
name="CaretDown"
|
|
23
23
|
size="20"
|
|
@@ -61,7 +61,7 @@ export default defineComponent({
|
|
|
61
61
|
},
|
|
62
62
|
emits: ["clearFilters", "saveScope"],
|
|
63
63
|
setup(props, { emit }) {
|
|
64
|
-
const filtersOpen = ref(
|
|
64
|
+
const filtersOpen = ref(true);
|
|
65
65
|
function clear() {
|
|
66
66
|
emit("clearFilters");
|
|
67
67
|
}
|
|
@@ -80,7 +80,7 @@ export default defineComponent({
|
|
|
80
80
|
<style scoped>
|
|
81
81
|
.oip_filter_card {
|
|
82
82
|
display: flex;
|
|
83
|
-
padding:
|
|
83
|
+
padding: 14px 24px;
|
|
84
84
|
flex-direction: column;
|
|
85
85
|
align-items: flex-start;
|
|
86
86
|
border-radius: 8px;
|
|
@@ -100,13 +100,14 @@ export default defineComponent({
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.filter_card_collapse {
|
|
103
|
-
max-height:
|
|
103
|
+
max-height: 32px;
|
|
104
104
|
overflow: hidden;
|
|
105
105
|
background: rgba(245, 245, 249, 0.8);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
.full-width {
|
|
109
|
-
|
|
109
|
+
align-self: stretch;
|
|
110
|
+
flex-basis: 100%;
|
|
110
111
|
}
|
|
111
112
|
|
|
112
113
|
.filter-icon {
|
|
@@ -127,13 +128,16 @@ export default defineComponent({
|
|
|
127
128
|
.filters_amount {
|
|
128
129
|
display: flex;
|
|
129
130
|
padding: 2px 8px;
|
|
130
|
-
|
|
131
131
|
flex-direction: column;
|
|
132
132
|
justify-content: center;
|
|
133
133
|
align-items: center;
|
|
134
134
|
gap: 8px;
|
|
135
135
|
border-radius: 16px;
|
|
136
136
|
border: 1px solid var(--base-dividers, #ececf2);
|
|
137
|
+
font-size: 12px;
|
|
138
|
+
font-style: normal;
|
|
139
|
+
font-weight: 700;
|
|
140
|
+
line-height: normal;
|
|
137
141
|
}
|
|
138
142
|
|
|
139
143
|
.filters_clear,
|
|
@@ -165,4 +169,17 @@ export default defineComponent({
|
|
|
165
169
|
align-items: flex-start;
|
|
166
170
|
gap: 16px;
|
|
167
171
|
}
|
|
172
|
+
|
|
173
|
+
.toggle_filter_card {
|
|
174
|
+
display: flex;
|
|
175
|
+
padding: 6px;
|
|
176
|
+
align-items: center;
|
|
177
|
+
gap: 6px;
|
|
178
|
+
border-radius: 4px;
|
|
179
|
+
background: transparent;
|
|
180
|
+
cursor: pointer;
|
|
181
|
+
}
|
|
182
|
+
.toggle_filter_card:hover {
|
|
183
|
+
background: var(--dividers) !important;
|
|
184
|
+
}
|
|
168
185
|
</style>
|
|
@@ -1,42 +1,49 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="oip_footer">
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
<p>©2023 Tekkare®. All rights reserved</p>
|
|
4
|
+
<a href="https://openinnovationprogram.com/legal-notices" target="_blank"
|
|
5
|
+
>Terms of use</a
|
|
6
|
+
>
|
|
7
7
|
</div>
|
|
8
8
|
</template>
|
|
9
9
|
<script>
|
|
10
10
|
import {
|
|
11
11
|
defineComponent
|
|
12
12
|
} from "vue";
|
|
13
|
-
import argIcon from "./argIcon.vue";
|
|
14
13
|
import argStyle from "./argStyle.vue";
|
|
15
14
|
export default defineComponent({
|
|
16
15
|
name: "argFooter",
|
|
17
|
-
components: {
|
|
16
|
+
components: { argStyle }
|
|
18
17
|
});
|
|
19
18
|
</script>
|
|
20
|
-
<style>
|
|
19
|
+
<style scoped>
|
|
21
20
|
.oip_footer {
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: row;
|
|
23
|
+
align-items: center;
|
|
24
|
+
justify-content: space-between;
|
|
22
25
|
background: var(--background);
|
|
23
|
-
padding: 24px
|
|
26
|
+
padding: 24px 84px;
|
|
24
27
|
margin-top: 24px;
|
|
25
28
|
box-shadow: 0px 4px 8px rgba(37, 99, 235, 0.04),
|
|
26
29
|
0px 0px 2px rgba(37, 99, 235, 0.06), 0px 0px 1px rgba(37, 99, 235, 0.04);
|
|
27
30
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
flex-direction: row;
|
|
31
|
-
justify-content: flex-end;
|
|
32
|
-
gap: 24px;
|
|
33
|
-
align-items: flex-end;
|
|
34
|
-
}
|
|
35
|
-
.oip_footer_text h2 {
|
|
31
|
+
p {
|
|
32
|
+
font-size: 14px;
|
|
36
33
|
font-style: normal;
|
|
34
|
+
font-weight: 400;
|
|
35
|
+
line-height: 160%;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
a {
|
|
37
39
|
font-size: 14px;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
40
|
+
font-style: normal;
|
|
41
|
+
font-weight: 500;
|
|
42
|
+
line-height: normal;
|
|
43
|
+
text-decoration-line: underline;
|
|
44
|
+
color: var(--primary) !important;
|
|
45
|
+
}
|
|
46
|
+
a:hover {
|
|
47
|
+
color: var(--primary-hover) !important;
|
|
41
48
|
}
|
|
42
49
|
</style>
|
|
@@ -27,12 +27,11 @@ export default defineComponent({
|
|
|
27
27
|
}
|
|
28
28
|
.arg_home_layout_body {
|
|
29
29
|
min-height: calc(100vh - 77px);
|
|
30
|
-
margin: 116px 32px
|
|
30
|
+
margin: 116px 32px 95px 32px;
|
|
31
31
|
max-width: 1200px;
|
|
32
|
-
width: calc(100% - 64px);
|
|
33
32
|
}
|
|
34
33
|
|
|
35
34
|
.full_width_footer {
|
|
36
|
-
|
|
35
|
+
align-self: stretch;
|
|
37
36
|
}
|
|
38
37
|
</style>
|
|
@@ -30,11 +30,19 @@ export default defineComponent({
|
|
|
30
30
|
validator: (value) => {
|
|
31
31
|
return ["en", "fr"].includes(value);
|
|
32
32
|
}
|
|
33
|
+
},
|
|
34
|
+
cancelLink: {
|
|
35
|
+
type: String,
|
|
36
|
+
required: false,
|
|
37
|
+
default: null
|
|
33
38
|
}
|
|
34
39
|
},
|
|
35
|
-
setup() {
|
|
40
|
+
setup(props) {
|
|
36
41
|
const router = useRouter();
|
|
37
42
|
function goBack() {
|
|
43
|
+
if (props.cancelLink !== null) {
|
|
44
|
+
router.push(props.cancelLink);
|
|
45
|
+
}
|
|
38
46
|
router.back();
|
|
39
47
|
}
|
|
40
48
|
return {
|
|
@@ -8,6 +8,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
default: string;
|
|
9
9
|
validator: (value: string) => boolean;
|
|
10
10
|
};
|
|
11
|
+
cancelLink: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
required: false;
|
|
14
|
+
default: null;
|
|
15
|
+
};
|
|
11
16
|
}, {
|
|
12
17
|
router: import("vue-router").Router;
|
|
13
18
|
goBack: () => void;
|
|
@@ -21,8 +26,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
26
|
default: string;
|
|
22
27
|
validator: (value: string) => boolean;
|
|
23
28
|
};
|
|
29
|
+
cancelLink: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
required: false;
|
|
32
|
+
default: null;
|
|
33
|
+
};
|
|
24
34
|
}>>, {
|
|
25
35
|
lang: string;
|
|
26
36
|
scopeTitle: string;
|
|
37
|
+
cancelLink: string;
|
|
27
38
|
}, {}>;
|
|
28
39
|
export default _default;
|
|
@@ -29,10 +29,9 @@ export default defineComponent({
|
|
|
29
29
|
min-height: calc(100vh - 77px);
|
|
30
30
|
margin: 116px 32px 0px 32px;
|
|
31
31
|
max-width: 1088px;
|
|
32
|
-
width: calc(100% - 64px);
|
|
33
32
|
}
|
|
34
33
|
|
|
35
34
|
.full_width_footer {
|
|
36
|
-
|
|
35
|
+
align-self: stretch;
|
|
37
36
|
}
|
|
38
37
|
</style>
|
|
@@ -11,55 +11,59 @@
|
|
|
11
11
|
</div>
|
|
12
12
|
</div>
|
|
13
13
|
<div class="arg_manage_scope_body">
|
|
14
|
-
<
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
<
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
14
|
+
<arg-data-loader v-if="reloadingScopes" />
|
|
15
|
+
<div class="arg_scopes_list" v-else>
|
|
16
|
+
<div
|
|
17
|
+
v-for="(scope, index) in scopes"
|
|
18
|
+
:key="index"
|
|
19
|
+
class="oip_card scope_card"
|
|
20
|
+
>
|
|
21
|
+
<div class="arg_manage_scope_general">
|
|
22
|
+
<div class="oip_row v-center space-between full-width">
|
|
23
|
+
<h2 class="oip_subtitle">{{ scope.title }}</h2>
|
|
24
|
+
<arg-text-btn
|
|
25
|
+
text-style="warning"
|
|
26
|
+
@onClick="deleteScope(scope)"
|
|
27
|
+
>{{ lang === "fr" ? "Supprimer" : "Delete" }}</arg-text-btn
|
|
28
|
+
>
|
|
29
|
+
</div>
|
|
30
|
+
<p class="oip_body">{{ scope.description }}</p>
|
|
31
|
+
<p class="oip_filter_label">
|
|
32
|
+
{{ lang === "fr" ? "Créé le " : "Created the " }}
|
|
33
|
+
<span
|
|
34
|
+
><arg-date
|
|
35
|
+
class="oip_filter_label"
|
|
36
|
+
:raw-date="scope.createdAt"
|
|
37
|
+
/>
|
|
38
|
+
</span>
|
|
39
|
+
</p>
|
|
27
40
|
</div>
|
|
28
|
-
<p class="oip_body">{{ scope.description }}</p>
|
|
29
|
-
<p class="oip_filter_label">
|
|
30
|
-
{{ lang === "fr" ? "Créé le " : "Created the " }}
|
|
31
|
-
<span
|
|
32
|
-
><arg-date
|
|
33
|
-
class="oip_filter_label"
|
|
34
|
-
:raw-date="scope.createdAt"
|
|
35
|
-
/>
|
|
36
|
-
</span>
|
|
37
|
-
</p>
|
|
38
|
-
</div>
|
|
39
41
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
42
|
+
<div class="arg_scope_manage_criteria">
|
|
43
|
+
<p class="scope_criteria_title">Criteria:</p>
|
|
44
|
+
<div class="oip_row v-center gap-8 wrap">
|
|
45
|
+
<arg-tags
|
|
46
|
+
v-for="(criteria, critIndex) in showAllProps === index
|
|
47
|
+
? getScopeCriteria(scope)
|
|
48
|
+
: getScopeCriteria(scope).slice(0, 6)"
|
|
49
|
+
set-style="gray"
|
|
50
|
+
:key="critIndex"
|
|
51
|
+
>{{ criteria }}</arg-tags
|
|
52
|
+
>
|
|
53
|
+
<arg-text-btn
|
|
54
|
+
v-if="
|
|
55
|
+
getScopeCriteria(scope).length > 6 &&
|
|
56
|
+
showAllProps !== index
|
|
57
|
+
"
|
|
58
|
+
@onClick="
|
|
59
|
+
showAllProps === index
|
|
60
|
+
? (showAllProps = null)
|
|
61
|
+
: (showAllProps = index)
|
|
62
|
+
"
|
|
63
|
+
>
|
|
64
|
+
+{{ getScopeCriteria(scope).length - 6 }}
|
|
65
|
+
</arg-text-btn>
|
|
66
|
+
</div>
|
|
63
67
|
</div>
|
|
64
68
|
</div>
|
|
65
69
|
</div>
|
|
@@ -85,9 +89,10 @@ import argBtn from "./argBtn.vue";
|
|
|
85
89
|
import argDate from "./argDate.vue";
|
|
86
90
|
import argIcon from "./argIcon.vue";
|
|
87
91
|
import argTextBtn from "./argTextBtn.vue";
|
|
92
|
+
import argDataLoader from "./argDataLoader.vue";
|
|
88
93
|
export default defineComponent({
|
|
89
94
|
name: "argScopeManage",
|
|
90
|
-
components: { argBtn, argIcon, argTextBtn, argDate },
|
|
95
|
+
components: { argBtn, argIcon, argTextBtn, argDate, argDataLoader },
|
|
91
96
|
props: {
|
|
92
97
|
scopes: {
|
|
93
98
|
type: Array,
|
|
@@ -99,6 +104,10 @@ export default defineComponent({
|
|
|
99
104
|
validator: (value) => {
|
|
100
105
|
return ["en", "fr"].includes(value);
|
|
101
106
|
}
|
|
107
|
+
},
|
|
108
|
+
reloadingScopes: {
|
|
109
|
+
type: Boolean,
|
|
110
|
+
default: false
|
|
102
111
|
}
|
|
103
112
|
},
|
|
104
113
|
emits: ["onDelete", "onClose"],
|
|
@@ -194,11 +203,7 @@ export default defineComponent({
|
|
|
194
203
|
}
|
|
195
204
|
|
|
196
205
|
.arg_manage_scope_body {
|
|
197
|
-
display: flex;
|
|
198
206
|
padding: 24px;
|
|
199
|
-
flex-direction: column;
|
|
200
|
-
align-items: flex-start;
|
|
201
|
-
gap: 24px;
|
|
202
207
|
align-self: stretch;
|
|
203
208
|
background-color: var(--background);
|
|
204
209
|
z-index: 0;
|
|
@@ -206,12 +211,20 @@ export default defineComponent({
|
|
|
206
211
|
overflow-y: scroll;
|
|
207
212
|
}
|
|
208
213
|
|
|
214
|
+
.arg_scopes_list {
|
|
215
|
+
display: flex;
|
|
216
|
+
flex-direction: column;
|
|
217
|
+
align-items: flex-start;
|
|
218
|
+
align-self: stretch;
|
|
219
|
+
gap: 24px;
|
|
220
|
+
}
|
|
221
|
+
|
|
209
222
|
.full-width {
|
|
210
223
|
align-self: stretch;
|
|
211
224
|
}
|
|
212
225
|
|
|
213
226
|
.footer_action .footer_btn {
|
|
214
|
-
|
|
227
|
+
align-self: stretch;
|
|
215
228
|
justify-content: center;
|
|
216
229
|
white-space: wrap;
|
|
217
230
|
text-align: center;
|
|
@@ -8,6 +8,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
default: string;
|
|
9
9
|
validator: (value: string) => boolean;
|
|
10
10
|
};
|
|
11
|
+
reloadingScopes: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
11
15
|
}, {
|
|
12
16
|
getScopeCriteria: (scope: any) => never[];
|
|
13
17
|
closeManageScope: () => void;
|
|
@@ -23,10 +27,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
27
|
default: string;
|
|
24
28
|
validator: (value: string) => boolean;
|
|
25
29
|
};
|
|
30
|
+
reloadingScopes: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
26
34
|
}>> & {
|
|
27
35
|
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
28
36
|
onOnDelete?: ((...args: any[]) => any) | undefined;
|
|
29
37
|
}, {
|
|
30
38
|
lang: string;
|
|
39
|
+
reloadingScopes: boolean;
|
|
31
40
|
}, {}>;
|
|
32
41
|
export default _default;
|
|
@@ -133,10 +133,9 @@ export default defineComponent({
|
|
|
133
133
|
);
|
|
134
134
|
const getAllCriteria = computed(() => {
|
|
135
135
|
const allCriteria = [];
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
allCriteria.push(scopeCriteria[i].values[j]);
|
|
136
|
+
for (let i = 0; i < props.scopeCriteria.length; i++) {
|
|
137
|
+
for (let j = 0; j < props.scopeCriteria[i].values.length; j++) {
|
|
138
|
+
allCriteria.push(props.scopeCriteria[i].values[j]);
|
|
140
139
|
}
|
|
141
140
|
}
|
|
142
141
|
return allCriteria;
|
|
@@ -245,7 +244,7 @@ textarea,
|
|
|
245
244
|
padding: 12px;
|
|
246
245
|
margin: 5px 0px;
|
|
247
246
|
outline: none !important;
|
|
248
|
-
|
|
247
|
+
align-self: stretch;
|
|
249
248
|
font-family: "Figtree", sans-serif !important;
|
|
250
249
|
height: 110px;
|
|
251
250
|
}
|
|
@@ -79,9 +79,9 @@ export default defineComponent({
|
|
|
79
79
|
background: var(--pure-white);
|
|
80
80
|
border: 1.5px solid var(--dividers);
|
|
81
81
|
border-radius: 8px;
|
|
82
|
-
|
|
82
|
+
align-self: stretch;
|
|
83
83
|
margin: 5px 0px;
|
|
84
|
-
height: 40px;
|
|
84
|
+
min-height: 40px;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
.search-section {
|
|
@@ -154,7 +154,10 @@ export default defineComponent({
|
|
|
154
154
|
font-weight: 400;
|
|
155
155
|
line-height: 160%;
|
|
156
156
|
color: var(--primary);
|
|
157
|
+
background: var(--transparent);
|
|
158
|
+
border-radius: 4px;
|
|
157
159
|
}
|
|
160
|
+
|
|
158
161
|
.arg_sidebar_title {
|
|
159
162
|
display: flex;
|
|
160
163
|
flex-direction: row;
|
|
@@ -184,6 +187,12 @@ export default defineComponent({
|
|
|
184
187
|
|
|
185
188
|
.sidebar_toggle {
|
|
186
189
|
cursor: pointer;
|
|
190
|
+
border-radius: 4px;
|
|
191
|
+
display: flex;
|
|
192
|
+
padding: 6px;
|
|
193
|
+
align-items: center;
|
|
194
|
+
justify-content: center;
|
|
195
|
+
background: transparent;
|
|
187
196
|
}
|
|
188
197
|
|
|
189
198
|
.link_menu_tooltip_icon {
|
|
@@ -192,4 +201,9 @@ export default defineComponent({
|
|
|
192
201
|
.tooltip_display {
|
|
193
202
|
display: flex !important;
|
|
194
203
|
}
|
|
204
|
+
|
|
205
|
+
.sidebar_toggle:hover,
|
|
206
|
+
.arg_sidebar_home:hover {
|
|
207
|
+
background: var(--base-dividers, #ececf2) !important;
|
|
208
|
+
}
|
|
195
209
|
</style>
|
|
@@ -130,6 +130,11 @@ button {
|
|
|
130
130
|
width: 100%;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
+
.oip_filter_display {
|
|
134
|
+
display: flex;
|
|
135
|
+
flex-direction: column;
|
|
136
|
+
gap: 4px;
|
|
137
|
+
}
|
|
133
138
|
/*** TEXT ***/
|
|
134
139
|
|
|
135
140
|
.oip_kpi_big {
|
|
@@ -319,7 +324,8 @@ button {
|
|
|
319
324
|
mask-image: paint(squircle);
|
|
320
325
|
--squircle-radius: 8px;
|
|
321
326
|
--squircle-smooth: 1;
|
|
322
|
-
|
|
327
|
+
align-self: stretch;
|
|
328
|
+
min-height: 100%;
|
|
323
329
|
}
|
|
324
330
|
|
|
325
331
|
.oip_primary-fill_shadow {
|
|
@@ -349,15 +355,18 @@ button {
|
|
|
349
355
|
}
|
|
350
356
|
|
|
351
357
|
.oip_btn_s {
|
|
352
|
-
|
|
358
|
+
display: flex;
|
|
359
|
+
min-height: 32px;
|
|
353
360
|
}
|
|
354
361
|
|
|
355
362
|
.oip_btn_m {
|
|
356
|
-
|
|
363
|
+
display: flex;
|
|
364
|
+
min-height: 40px;
|
|
357
365
|
}
|
|
358
366
|
|
|
359
367
|
.oip_full_btn {
|
|
360
|
-
|
|
368
|
+
align-self: stretch !important;
|
|
369
|
+
flex: 1 1 0;
|
|
361
370
|
}
|
|
362
371
|
|
|
363
372
|
.oip_round_btn {
|
|
@@ -467,13 +476,7 @@ button {
|
|
|
467
476
|
|
|
468
477
|
.oip_disable_button,
|
|
469
478
|
.oip_disable_button:hover,
|
|
470
|
-
.oip_disable_button:focus
|
|
471
|
-
background: var(--dividers) !important;
|
|
472
|
-
border: 2px solid var(--dividers) !important;
|
|
473
|
-
box-shadow: none !important;
|
|
474
|
-
color: var(--wild-blue-yonder) !important;
|
|
475
|
-
}
|
|
476
|
-
|
|
479
|
+
.oip_disable_button:focus,
|
|
477
480
|
.oip_disable_icon_button,
|
|
478
481
|
.oip_disable_icon_button:hover,
|
|
479
482
|
.oip_disable_icon_button:focus {
|
|
@@ -481,6 +484,7 @@ button {
|
|
|
481
484
|
border: 2px solid var(--dividers) !important;
|
|
482
485
|
box-shadow: none !important;
|
|
483
486
|
color: var(--wild-blue-yonder) !important;
|
|
487
|
+
cursor: initial !important;
|
|
484
488
|
}
|
|
485
489
|
|
|
486
490
|
.el-button + .el-button {
|
|
@@ -852,7 +856,6 @@ button {
|
|
|
852
856
|
border-radius: 12px;
|
|
853
857
|
background: var(--pure-white);
|
|
854
858
|
box-shadow: var(--container-shadow);
|
|
855
|
-
margin: 8px 0;
|
|
856
859
|
}
|
|
857
860
|
|
|
858
861
|
.oip_table_card {
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
<script>
|
|
12
12
|
import {
|
|
13
|
+
onMounted,
|
|
13
14
|
defineComponent
|
|
14
15
|
} from "vue";
|
|
15
16
|
import argIcon from "./argIcon.vue";
|
|
@@ -26,6 +27,11 @@ export default defineComponent({
|
|
|
26
27
|
function close() {
|
|
27
28
|
emit("onClose");
|
|
28
29
|
}
|
|
30
|
+
onMounted(() => {
|
|
31
|
+
CSS.paintWorklet.addModule(
|
|
32
|
+
"https://www.unpkg.com/css-houdini-squircle/squircle.min.js"
|
|
33
|
+
);
|
|
34
|
+
});
|
|
29
35
|
return { close };
|
|
30
36
|
}
|
|
31
37
|
});
|
|
@@ -30,7 +30,7 @@ export default defineComponent({
|
|
|
30
30
|
<style scoped>
|
|
31
31
|
.prmt_tooltip {
|
|
32
32
|
position: relative;
|
|
33
|
-
display:
|
|
33
|
+
display: flex;
|
|
34
34
|
}
|
|
35
35
|
.prmt_tooltip:hover .prmt_tooltip_text {
|
|
36
36
|
visibility: visible;
|
|
@@ -61,12 +61,12 @@ export default defineComponent({
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.prmt_tooltip .prmt_tooltip_text-right {
|
|
64
|
-
top: -
|
|
64
|
+
top: -9px;
|
|
65
65
|
left: 110%;
|
|
66
66
|
margin-left: 16px;
|
|
67
67
|
}
|
|
68
68
|
.prmt_tooltip .prmt_tooltip_text-left {
|
|
69
|
-
top: -
|
|
69
|
+
top: -9px;
|
|
70
70
|
right: 110%;
|
|
71
71
|
margin-right: 16px;
|
|
72
72
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<div v-show="openTuto" class="arg_tuto_modal">
|
|
6
6
|
<div class="arg_tuto_header">
|
|
7
7
|
<arg-actions action-type="close" customize @onAction="closeTuto">
|
|
8
|
-
<template
|
|
8
|
+
<template>
|
|
9
9
|
<div class="oip_row v-center gap-6">
|
|
10
10
|
<arg-icon name="X" size="20" />
|
|
11
11
|
<p>Close</p>
|