@tekkare/auriga 0.1.28 → 0.1.30
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 +18 -8
- package/dist/runtime/components/argActions.vue.d.ts +2 -2
- package/dist/runtime/components/argBtn.vue +7 -2
- package/dist/runtime/components/argChart.vue +31 -3
- package/dist/runtime/components/argHomeAllBlocks.vue +1 -0
- package/dist/runtime/components/argScopeHeader.vue +1 -1
- package/dist/runtime/components/argScopeManage.vue +248 -0
- package/dist/runtime/components/argScopeManage.vue.d.ts +32 -0
- package/dist/runtime/components/argScopeModal.vue +6 -4
- package/dist/runtime/components/argSimpleLabel.vue +8 -0
- package/dist/runtime/components/argSimpleLabel.vue.d.ts +1 -1
- package/dist/runtime/components/argStyle.vue +56 -20
- package/dist/runtime/components/argStyle.vue.d.ts +1 -1
- package/dist/runtime/components/argSubMenu.vue +3 -0
- package/dist/runtime/components/argTable.vue +1 -1
- package/dist/runtime/components/argTable.vue.d.ts +1 -1
- package/dist/runtime/components/argTutoModal.vue +1 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -5,24 +5,34 @@
|
|
|
5
5
|
class="cancel_action"
|
|
6
6
|
@click="sendAction()"
|
|
7
7
|
>
|
|
8
|
-
<slot v-if="customize" />
|
|
8
|
+
<slot v-if="customize" name="custom" />
|
|
9
9
|
<span v-else>{{ getActionText }}</span>
|
|
10
10
|
</div>
|
|
11
11
|
<arg-text-btn
|
|
12
|
-
v-else-if="actionType === '
|
|
12
|
+
v-else-if="actionType === 'see-analysis'"
|
|
13
13
|
:disable="disable"
|
|
14
14
|
@onClick="sendAction()"
|
|
15
15
|
>
|
|
16
|
-
<slot v-if="customize" />
|
|
16
|
+
<slot v-if="customize" name="custom" />
|
|
17
17
|
<span v-else>{{ getActionText }}</span>
|
|
18
18
|
</arg-text-btn>
|
|
19
19
|
<arg-btn
|
|
20
|
-
v-else-if="
|
|
21
|
-
|
|
20
|
+
v-else-if="
|
|
21
|
+
actionType === 'scope' ||
|
|
22
|
+
actionType === 'save-analysis' ||
|
|
23
|
+
actionType === 'download'
|
|
24
|
+
"
|
|
25
|
+
:btn-style="
|
|
26
|
+
disable
|
|
27
|
+
? 'disable'
|
|
28
|
+
: actionType === 'download'
|
|
29
|
+
? 'primary-stroke'
|
|
30
|
+
: 'primary-fill'
|
|
31
|
+
"
|
|
22
32
|
:round="actionType === 'save-analysis'"
|
|
23
33
|
@onClick="sendAction()"
|
|
24
34
|
>
|
|
25
|
-
<slot v-if="customize" />
|
|
35
|
+
<slot v-if="customize" name="custom" />
|
|
26
36
|
<span v-else>{{ getActionText }}</span>
|
|
27
37
|
</arg-btn>
|
|
28
38
|
</div>
|
|
@@ -59,7 +69,7 @@ export default defineComponent({
|
|
|
59
69
|
}
|
|
60
70
|
}
|
|
61
71
|
},
|
|
62
|
-
emits: ["
|
|
72
|
+
emits: ["onAction"],
|
|
63
73
|
setup(props, { emit }) {
|
|
64
74
|
const getActionText = computed(() => {
|
|
65
75
|
let finalText = "";
|
|
@@ -85,7 +95,7 @@ export default defineComponent({
|
|
|
85
95
|
return finalText;
|
|
86
96
|
});
|
|
87
97
|
function sendAction() {
|
|
88
|
-
emit("
|
|
98
|
+
emit("onAction");
|
|
89
99
|
}
|
|
90
100
|
return {
|
|
91
101
|
getActionText,
|
|
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
19
|
}, {
|
|
20
20
|
getActionText: import("vue").ComputedRef<string>;
|
|
21
21
|
sendAction: () => void;
|
|
22
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "
|
|
22
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onAction"[], "onAction", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
23
|
actionType: {
|
|
24
24
|
type: StringConstructor;
|
|
25
25
|
required: true;
|
|
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
38
|
validator: (value: string) => boolean;
|
|
39
39
|
};
|
|
40
40
|
}>> & {
|
|
41
|
-
|
|
41
|
+
onOnAction?: ((...args: any[]) => any) | undefined;
|
|
42
42
|
}, {
|
|
43
43
|
customize: boolean;
|
|
44
44
|
disable: boolean;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
2
|
+
<div
|
|
3
|
+
:class="[fullWidth ? 'full_width' : 'fit_width', `oip_${btnStyle}_shadow`]"
|
|
4
|
+
>
|
|
3
5
|
<span
|
|
4
6
|
v-if="onlyIcon === false"
|
|
5
7
|
:class="
|
|
@@ -65,7 +67,7 @@ export default defineComponent({
|
|
|
65
67
|
components: { argIcon },
|
|
66
68
|
props: {
|
|
67
69
|
btnStyle: { type: String, default: "primary" },
|
|
68
|
-
becomeSmall: { type: Boolean, default:
|
|
70
|
+
becomeSmall: { type: Boolean, default: false },
|
|
69
71
|
icon: { type: String, default: "Spinner" },
|
|
70
72
|
onlyIcon: { type: Boolean, default: false },
|
|
71
73
|
prefixIcon: { type: String, default: null },
|
|
@@ -127,4 +129,7 @@ export default defineComponent({
|
|
|
127
129
|
.full_width {
|
|
128
130
|
width: 100%;
|
|
129
131
|
}
|
|
132
|
+
.fit_width {
|
|
133
|
+
width: fit-content;
|
|
134
|
+
}
|
|
130
135
|
</style>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="prmt_chart" :class="`${type}_arg_chart`">
|
|
3
|
-
|
|
4
|
-
<div class="prmt_chart_source"><slot name="source" /></div
|
|
3
|
+
<!--<h1 class="prmt_chart_title"><slot name="title" /></h1>
|
|
4
|
+
<div class="prmt_chart_source"><slot name="source" /></div>-->
|
|
5
5
|
<apexchart
|
|
6
6
|
:type="chartType"
|
|
7
7
|
:options="chartOptions"
|
|
@@ -113,7 +113,35 @@ export default defineComponent({
|
|
|
113
113
|
redrawOnParentResize: true,
|
|
114
114
|
redrawOnWindowResize: true
|
|
115
115
|
};
|
|
116
|
-
props.options["title"] = {
|
|
116
|
+
props.options["title"] = {
|
|
117
|
+
text: "My Chart",
|
|
118
|
+
align: "left",
|
|
119
|
+
margin: 0,
|
|
120
|
+
offsetX: -10,
|
|
121
|
+
offsetY: 0,
|
|
122
|
+
floating: false,
|
|
123
|
+
style: {
|
|
124
|
+
fontSize: "18px",
|
|
125
|
+
fontWeight: "bold",
|
|
126
|
+
fontFamily: "Figtree, sans-serif",
|
|
127
|
+
color: "#263238",
|
|
128
|
+
lineHeight: "21px"
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
props.options["subtitle"] = {
|
|
132
|
+
text: "My source",
|
|
133
|
+
align: "left",
|
|
134
|
+
margin: 0,
|
|
135
|
+
offsetX: -10,
|
|
136
|
+
offsetY: 24,
|
|
137
|
+
floating: false,
|
|
138
|
+
style: {
|
|
139
|
+
fontSize: "12px",
|
|
140
|
+
fontWeight: "normal",
|
|
141
|
+
fontFamily: "Figtree, sans-serif",
|
|
142
|
+
color: "#2176ff"
|
|
143
|
+
}
|
|
144
|
+
};
|
|
117
145
|
if (props.colors) {
|
|
118
146
|
props.options["colors"] = props.colors;
|
|
119
147
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="arg_scope_header">
|
|
3
3
|
<div class="oip_row v-center gap-16">
|
|
4
|
-
<arg-actions :lang="lang" action-type="cancel" @
|
|
4
|
+
<arg-actions :lang="lang" action-type="cancel" @onAction="goBack()" />
|
|
5
5
|
<h1 class="scope_title">{{ scopeTitle }}</h1>
|
|
6
6
|
</div>
|
|
7
7
|
<div class="oip_row v-center gap-16">
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div class="arg_scope_manage">
|
|
4
|
+
<div class="arg_scope_manage_modal">
|
|
5
|
+
<div class="arg_scope_manage_header">
|
|
6
|
+
<h1>
|
|
7
|
+
{{ lang === "fr" ? "Gérer mes scopes" : "Manage my scopes" }}
|
|
8
|
+
</h1>
|
|
9
|
+
<div class="cursor-pointer" @click="closeManageScope()">
|
|
10
|
+
<arg-icon name="X" size="16" color="var(--cool-grey)" />
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
<div class="arg_manage_scope_body">
|
|
14
|
+
<div
|
|
15
|
+
v-for="(scope, index) in scopes"
|
|
16
|
+
:key="index"
|
|
17
|
+
class="oip_card scope_card"
|
|
18
|
+
>
|
|
19
|
+
<div class="arg_manage_scope_general">
|
|
20
|
+
<div class="oip_row v-center space-between full-width">
|
|
21
|
+
<h2 class="oip_subtitle">{{ scope.title }}</h2>
|
|
22
|
+
<arg-text-btn
|
|
23
|
+
text-style="warning"
|
|
24
|
+
@onClick="deleteScope(scope)"
|
|
25
|
+
>{{ lang === "fr" ? "Supprimer" : "Delete" }}</arg-text-btn
|
|
26
|
+
>
|
|
27
|
+
</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
|
+
|
|
40
|
+
<div class="arg_scope_manage_criteria">
|
|
41
|
+
<p class="scope_criteria_title">Criteria:</p>
|
|
42
|
+
<div class="oip_row v-center gap-8 wrap">
|
|
43
|
+
<arg-tags
|
|
44
|
+
v-for="(criteria, critIndex) in showAllProps === index
|
|
45
|
+
? getScopeCriteria(scope)
|
|
46
|
+
: getScopeCriteria(scope).slice(0, 6)"
|
|
47
|
+
set-style="gray"
|
|
48
|
+
:key="critIndex"
|
|
49
|
+
>{{ criteria }}</arg-tags
|
|
50
|
+
>
|
|
51
|
+
<arg-text-btn
|
|
52
|
+
v-if="
|
|
53
|
+
getScopeCriteria(scope).length > 6 && showAllProps !== index
|
|
54
|
+
"
|
|
55
|
+
@onClick="
|
|
56
|
+
showAllProps === index
|
|
57
|
+
? (showAllProps = null)
|
|
58
|
+
: (showAllProps = index)
|
|
59
|
+
"
|
|
60
|
+
>
|
|
61
|
+
+{{ getScopeCriteria(scope).length - 6 }}
|
|
62
|
+
</arg-text-btn>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
<div class="arg_scope_manage_footer">
|
|
68
|
+
<arg-btn
|
|
69
|
+
class="footer_btn"
|
|
70
|
+
:become-small="false"
|
|
71
|
+
full-width
|
|
72
|
+
btn-style="secondary-stroke"
|
|
73
|
+
@onClick="closeManageScope"
|
|
74
|
+
>{{ lang === "fr" ? "Fermer" : "Close" }}</arg-btn
|
|
75
|
+
>
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
</template>
|
|
81
|
+
|
|
82
|
+
<script>
|
|
83
|
+
import { ref, defineComponent } from "vue";
|
|
84
|
+
import argBtn from "./argBtn.vue";
|
|
85
|
+
import argDate from "./argDate.vue";
|
|
86
|
+
import argIcon from "./argIcon.vue";
|
|
87
|
+
import argTextBtn from "./argTextBtn.vue";
|
|
88
|
+
export default defineComponent({
|
|
89
|
+
name: "argScopeManage",
|
|
90
|
+
components: { argBtn, argIcon, argTextBtn, argDate },
|
|
91
|
+
props: {
|
|
92
|
+
scopes: {
|
|
93
|
+
type: Array,
|
|
94
|
+
required: true
|
|
95
|
+
},
|
|
96
|
+
lang: {
|
|
97
|
+
type: String,
|
|
98
|
+
default: "en",
|
|
99
|
+
validator: (value) => {
|
|
100
|
+
return ["en", "fr"].includes(value);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
emits: ["onDelete", "onClose"],
|
|
105
|
+
setup(props, { emit }) {
|
|
106
|
+
const showAllProps = ref(null);
|
|
107
|
+
function getScopeCriteria(scope) {
|
|
108
|
+
const allCriteria = [];
|
|
109
|
+
const scopeCriteria = JSON.parse(scope.criteria);
|
|
110
|
+
for (let i = 0; i < scopeCriteria.length; i++) {
|
|
111
|
+
for (let j = 0; j < scopeCriteria[i].values.length; j++) {
|
|
112
|
+
allCriteria.push(scopeCriteria[i].values[j]);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
return allCriteria;
|
|
116
|
+
}
|
|
117
|
+
function closeManageScope() {
|
|
118
|
+
emit("onClose");
|
|
119
|
+
}
|
|
120
|
+
function deleteScope(scope) {
|
|
121
|
+
emit("onDelete", scope);
|
|
122
|
+
}
|
|
123
|
+
return {
|
|
124
|
+
getScopeCriteria,
|
|
125
|
+
closeManageScope,
|
|
126
|
+
deleteScope,
|
|
127
|
+
showAllProps
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
</script>
|
|
132
|
+
|
|
133
|
+
<style scoped>
|
|
134
|
+
.arg_scope_manage {
|
|
135
|
+
position: fixed;
|
|
136
|
+
left: 0;
|
|
137
|
+
bottom: 0;
|
|
138
|
+
display: flex;
|
|
139
|
+
align-items: center;
|
|
140
|
+
justify-content: center;
|
|
141
|
+
z-index: 99;
|
|
142
|
+
background-color: rgba(0, 0, 0, 0.4);
|
|
143
|
+
width: 100%;
|
|
144
|
+
height: 100%;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.arg_scope_manage_modal {
|
|
148
|
+
display: flex;
|
|
149
|
+
width: calc(100% - 164px);
|
|
150
|
+
max-width: 640px;
|
|
151
|
+
max-height: 670px;
|
|
152
|
+
flex-direction: column;
|
|
153
|
+
align-items: flex-start;
|
|
154
|
+
flex-shrink: 0;
|
|
155
|
+
border-radius: 8px;
|
|
156
|
+
background: var(--pure-white);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.arg_scope_manage_header {
|
|
160
|
+
display: flex;
|
|
161
|
+
padding: 24px;
|
|
162
|
+
justify-content: space-between;
|
|
163
|
+
align-items: center;
|
|
164
|
+
align-self: stretch;
|
|
165
|
+
box-shadow: 0px 6px 8px 0px rgba(30, 41, 59, 0.1) !important;
|
|
166
|
+
z-index: 1;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.arg_scope_manage_footer {
|
|
170
|
+
display: flex;
|
|
171
|
+
padding: 24px;
|
|
172
|
+
gap: 32px;
|
|
173
|
+
align-items: center;
|
|
174
|
+
justify-content: center;
|
|
175
|
+
align-self: stretch;
|
|
176
|
+
box-shadow: 0px -6px 8px 0px rgba(30, 41, 59, 0.1);
|
|
177
|
+
z-index: 1;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.scope_card {
|
|
181
|
+
display: flex;
|
|
182
|
+
padding: 12px;
|
|
183
|
+
flex-direction: column;
|
|
184
|
+
align-items: flex-start;
|
|
185
|
+
gap: 24px;
|
|
186
|
+
align-self: stretch;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.arg_scope_manage_header > h1 {
|
|
190
|
+
font-size: 20px;
|
|
191
|
+
font-style: normal;
|
|
192
|
+
font-weight: 900;
|
|
193
|
+
line-height: normal;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.arg_manage_scope_body {
|
|
197
|
+
display: flex;
|
|
198
|
+
padding: 24px;
|
|
199
|
+
flex-direction: column;
|
|
200
|
+
align-items: flex-start;
|
|
201
|
+
gap: 24px;
|
|
202
|
+
align-self: stretch;
|
|
203
|
+
background-color: var(--background);
|
|
204
|
+
z-index: 0;
|
|
205
|
+
max-height: 510px;
|
|
206
|
+
overflow-y: scroll;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.full-width {
|
|
210
|
+
align-self: stretch;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.footer_action .footer_btn {
|
|
214
|
+
width: calc(100% - 24px);
|
|
215
|
+
justify-content: center;
|
|
216
|
+
white-space: wrap;
|
|
217
|
+
text-align: center;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.cursor-pointer {
|
|
221
|
+
cursor: pointer !important;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.oip_required_input,
|
|
225
|
+
.oip_required_input:hover {
|
|
226
|
+
border-color: var(--system-alert) !important;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.oip_error {
|
|
230
|
+
color: var(--system-alert);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.arg_manage_scope_general,
|
|
234
|
+
.arg_scope_manage_criteria {
|
|
235
|
+
display: flex;
|
|
236
|
+
flex-direction: column;
|
|
237
|
+
align-items: flex-start;
|
|
238
|
+
gap: 8px;
|
|
239
|
+
align-self: stretch;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.scope_criteria_title {
|
|
243
|
+
font-size: 12px;
|
|
244
|
+
font-style: normal;
|
|
245
|
+
font-weight: 700;
|
|
246
|
+
line-height: normal;
|
|
247
|
+
}
|
|
248
|
+
</style>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
scopes: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
lang: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
validator: (value: string) => boolean;
|
|
10
|
+
};
|
|
11
|
+
}, {
|
|
12
|
+
getScopeCriteria: (scope: any) => never[];
|
|
13
|
+
closeManageScope: () => void;
|
|
14
|
+
deleteScope: (scope: any) => void;
|
|
15
|
+
showAllProps: any;
|
|
16
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onClose" | "onDelete")[], "onClose" | "onDelete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
scopes: {
|
|
18
|
+
type: ArrayConstructor;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
lang: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
validator: (value: string) => boolean;
|
|
25
|
+
};
|
|
26
|
+
}>> & {
|
|
27
|
+
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
28
|
+
onOnDelete?: ((...args: any[]) => any) | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
lang: string;
|
|
31
|
+
}, {}>;
|
|
32
|
+
export default _default;
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
<arg-tags
|
|
63
63
|
v-for="(criteria, index) in scopeCriteria"
|
|
64
64
|
:key="index"
|
|
65
|
-
set-style="
|
|
65
|
+
set-style="gray"
|
|
66
66
|
>{{ criteria }}</arg-tags
|
|
67
67
|
>
|
|
68
68
|
</div>
|
|
@@ -73,7 +73,8 @@
|
|
|
73
73
|
<arg-btn
|
|
74
74
|
class="footer_btn"
|
|
75
75
|
:become-small="false"
|
|
76
|
-
|
|
76
|
+
full-width
|
|
77
|
+
btn-style="secondary-stroke"
|
|
77
78
|
@onClick="closeSaveScope"
|
|
78
79
|
>{{ lang === "fr" ? "Annuler" : "Cancel" }}</arg-btn
|
|
79
80
|
>
|
|
@@ -82,7 +83,8 @@
|
|
|
82
83
|
<arg-btn
|
|
83
84
|
class="footer_btn"
|
|
84
85
|
:become-small="false"
|
|
85
|
-
btn-style="primary"
|
|
86
|
+
btn-style="primary-fill"
|
|
87
|
+
full-width
|
|
86
88
|
@onClick="saveScope"
|
|
87
89
|
>{{
|
|
88
90
|
lang === "fr"
|
|
@@ -259,7 +261,7 @@ textarea::placeholder {
|
|
|
259
261
|
}
|
|
260
262
|
|
|
261
263
|
.footer_action .footer_btn {
|
|
262
|
-
width:
|
|
264
|
+
width: 100%;
|
|
263
265
|
justify-content: center;
|
|
264
266
|
white-space: wrap;
|
|
265
267
|
text-align: center;
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
<script>
|
|
20
20
|
import argIcon from "./argIcon.vue";
|
|
21
21
|
import {
|
|
22
|
+
onMounted,
|
|
22
23
|
defineComponent
|
|
23
24
|
} from "vue";
|
|
24
25
|
export default defineComponent({
|
|
@@ -31,6 +32,13 @@ export default defineComponent({
|
|
|
31
32
|
},
|
|
32
33
|
show_amount: { type: Boolean, default: false },
|
|
33
34
|
amount_value: { type: Number, default: null }
|
|
35
|
+
},
|
|
36
|
+
setup() {
|
|
37
|
+
onMounted(() => {
|
|
38
|
+
CSS.paintWorklet.addModule(
|
|
39
|
+
"https://www.unpkg.com/css-houdini-squircle/squircle.min.js"
|
|
40
|
+
);
|
|
41
|
+
});
|
|
34
42
|
}
|
|
35
43
|
});
|
|
36
44
|
</script>
|
|
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
type: NumberConstructor;
|
|
12
12
|
default: null;
|
|
13
13
|
};
|
|
14
|
-
},
|
|
14
|
+
}, void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
15
|
disabled: {
|
|
16
16
|
type: BooleanConstructor;
|
|
17
17
|
default: boolean;
|
|
@@ -3,10 +3,18 @@
|
|
|
3
3
|
</template>
|
|
4
4
|
<script>
|
|
5
5
|
import {
|
|
6
|
+
onMounted,
|
|
6
7
|
defineComponent
|
|
7
8
|
} from "vue";
|
|
8
9
|
export default defineComponent({
|
|
9
|
-
name: "argStyle"
|
|
10
|
+
name: "argStyle",
|
|
11
|
+
setup() {
|
|
12
|
+
onMounted(() => {
|
|
13
|
+
CSS.paintWorklet.addModule(
|
|
14
|
+
"https://www.unpkg.com/css-houdini-squircle/squircle.min.js"
|
|
15
|
+
);
|
|
16
|
+
});
|
|
17
|
+
}
|
|
10
18
|
});
|
|
11
19
|
</script>
|
|
12
20
|
<style>
|
|
@@ -68,7 +76,10 @@ export default defineComponent({
|
|
|
68
76
|
--overlay-shadow: 0px 0px 40px rgba(94, 92, 154, 0.12);
|
|
69
77
|
--button-small-shadow: 3px 5px 20px rgba(94, 92, 154, 0.1);
|
|
70
78
|
--button-big-shadow: 3px 5px 10px rgba(62, 63, 94, 0.2);
|
|
71
|
-
--primary-button-shadow: 4px 7px 12px rgba(33, 118, 255, 0.2);
|
|
79
|
+
--primary-button-shadow: 4px 7px 12px 0px rgba(33, 118, 255, 0.2);
|
|
80
|
+
--secondary-button-shadow: 4px 7px 12px 0px rgba(62, 63, 94, 0.2);
|
|
81
|
+
--warning-button-shadow: 4px 7px 12px 0px rgba(239, 68, 68, 0.2);
|
|
82
|
+
--success-button-shadow: 4px 7px 12px 0px rgba(34, 197, 94, 0.2);
|
|
72
83
|
--accent-button-shadow: 4px 7px 12px rgba(255, 152, 26, 0.2);
|
|
73
84
|
|
|
74
85
|
/*company colors*/
|
|
@@ -107,7 +118,7 @@ button {
|
|
|
107
118
|
}
|
|
108
119
|
.oip_container {
|
|
109
120
|
margin: 0 auto;
|
|
110
|
-
padding: 0px 64px 0px
|
|
121
|
+
padding: 0px 64px 0px 32px;
|
|
111
122
|
max-width: 1080px;
|
|
112
123
|
}
|
|
113
124
|
|
|
@@ -305,6 +316,32 @@ button {
|
|
|
305
316
|
font-size: 14px !important;
|
|
306
317
|
line-height: 16px !important;
|
|
307
318
|
width: fit-content;
|
|
319
|
+
mask-image: paint(squircle);
|
|
320
|
+
--squircle-radius: 8px;
|
|
321
|
+
--squircle-smooth: 1;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.oip_primary-fill_shadow {
|
|
325
|
+
box-shadow: var(--primary-button-shadow) !important;
|
|
326
|
+
border-radius: 8px;
|
|
327
|
+
}
|
|
328
|
+
.oip_secondary-fill_shadow {
|
|
329
|
+
box-shadow: var(--secondary-button-shadow) !important;
|
|
330
|
+
border-radius: 8px;
|
|
331
|
+
}
|
|
332
|
+
.oip_warning-fill_shadow {
|
|
333
|
+
box-shadow: var(--warning-button-shadow) !important;
|
|
334
|
+
border-radius: 8px;
|
|
335
|
+
}
|
|
336
|
+
.oip_success-fill_shadow {
|
|
337
|
+
box-shadow: var(--success-button-shadow) !important;
|
|
338
|
+
border-radius: 8px;
|
|
339
|
+
}
|
|
340
|
+
.oip_primary-fill_shadow:hover,
|
|
341
|
+
.oip_secondary-fill_shadow:hover,
|
|
342
|
+
.oip_warning-fill_shadow:hover,
|
|
343
|
+
.oip_success-fill_shadow:hover {
|
|
344
|
+
box-shadow: none !important;
|
|
308
345
|
}
|
|
309
346
|
|
|
310
347
|
.oip_btn_s {
|
|
@@ -316,7 +353,7 @@ button {
|
|
|
316
353
|
}
|
|
317
354
|
|
|
318
355
|
.oip_full_btn {
|
|
319
|
-
width: calc(100% -
|
|
356
|
+
width: calc(100% - 36px) !important;
|
|
320
357
|
}
|
|
321
358
|
|
|
322
359
|
.oip_round_btn {
|
|
@@ -326,7 +363,6 @@ button {
|
|
|
326
363
|
.oip_primary-fill_button {
|
|
327
364
|
background: var(--primary) !important;
|
|
328
365
|
border: 2px solid var(--primary) !important;
|
|
329
|
-
box-shadow: var(--primary-button-shadow) !important;
|
|
330
366
|
color: var(--pure-white) !important;
|
|
331
367
|
}
|
|
332
368
|
.oip_primary-fill_button .oip_button_spinner div {
|
|
@@ -454,11 +490,13 @@ button {
|
|
|
454
490
|
}
|
|
455
491
|
|
|
456
492
|
.oip_secondary-stroke_button:hover,
|
|
457
|
-
.oip_secondary-stroke_button:focus
|
|
493
|
+
.oip_secondary-stroke_button:focus,
|
|
494
|
+
.oip_secondary-stroke_icon_button:hover,
|
|
495
|
+
.oip_secondary-stroke_icon_button:focus {
|
|
458
496
|
background: rgba(62, 63, 94, 0.05) !important;
|
|
459
497
|
border: 2px solid rgba(62, 63, 94, 0.2) !important;
|
|
460
498
|
box-shadow: none !important;
|
|
461
|
-
color:
|
|
499
|
+
color: #21223d !important;
|
|
462
500
|
}
|
|
463
501
|
|
|
464
502
|
.oip_secondary-stroke_button:hover .oip__button_prefix_icon,
|
|
@@ -481,16 +519,12 @@ button {
|
|
|
481
519
|
padding: 0px 6px !important;
|
|
482
520
|
}
|
|
483
521
|
|
|
484
|
-
.oip_secondary-stroke_icon_button:hover,
|
|
485
|
-
.oip_secondary-stroke_icon_button:focus {
|
|
486
|
-
border: 2px solid rgba(33, 118, 255, 0.2) !important;
|
|
487
|
-
}
|
|
488
522
|
.oip_secondary-stroke_icon_button:hover svg,
|
|
489
523
|
.oip_secondary-stroke_icon_buttonn:focus svg,
|
|
490
524
|
.oip_secondary-stroke_icon_button:hover svg,
|
|
491
525
|
.oip_secondary-stroke_icon_button:focus svg {
|
|
492
|
-
stroke:
|
|
493
|
-
color:
|
|
526
|
+
stroke: #21223d !important;
|
|
527
|
+
color: #21223d !important;
|
|
494
528
|
}
|
|
495
529
|
|
|
496
530
|
.oip_primary-stroke_button {
|
|
@@ -505,7 +539,7 @@ button {
|
|
|
505
539
|
.oip_primary-stroke_icon_button:hover,
|
|
506
540
|
.oip_primary-stroke_icon_button:focus {
|
|
507
541
|
background: rgba(33, 118, 255, 0.05) !important;
|
|
508
|
-
color: var(--) !important;
|
|
542
|
+
color: var(--primary-hover) !important;
|
|
509
543
|
}
|
|
510
544
|
.oip_primary-stroke_button .oip_button_spinner div,
|
|
511
545
|
.oip_primary-stroke_icon_button .oip_button_spinner div {
|
|
@@ -529,7 +563,7 @@ button {
|
|
|
529
563
|
.oip_warning-stroke_button:focus,
|
|
530
564
|
.oip_warning-stroke_icon_button:hover,
|
|
531
565
|
.oip_warning-stroke_icon_button:focus {
|
|
532
|
-
background: rgba(239, 68, 68, 0.
|
|
566
|
+
background: rgba(239, 68, 68, 0.05) !important;
|
|
533
567
|
border: 2px solid rgba(251, 70, 84, 0.2) !important;
|
|
534
568
|
color: var(--system-alert-hover) !important;
|
|
535
569
|
}
|
|
@@ -604,8 +638,8 @@ button {
|
|
|
604
638
|
.oip_success-fill_button:focus,
|
|
605
639
|
.oip_success-fill_icon_button:hover,
|
|
606
640
|
.oip_success-fill_icon_button:focus {
|
|
607
|
-
background: #
|
|
608
|
-
border: 2px solid #
|
|
641
|
+
background: #069a3d !important;
|
|
642
|
+
border: 2px solid #069a3d !important;
|
|
609
643
|
box-shadow: none !important;
|
|
610
644
|
}
|
|
611
645
|
.oip_success-fill_button .oip_button_spinner div,
|
|
@@ -711,9 +745,11 @@ button {
|
|
|
711
745
|
width: fit-content;
|
|
712
746
|
font-family: "Figtree", sans-serif;
|
|
713
747
|
display: inline-flex;
|
|
714
|
-
padding: 4px 8px;
|
|
715
748
|
align-items: center;
|
|
716
749
|
gap: 8px;
|
|
750
|
+
mask-image: paint(squircle);
|
|
751
|
+
--squircle-radius: 4px;
|
|
752
|
+
--squircle-smooth: 1;
|
|
717
753
|
}
|
|
718
754
|
.oip_tag > svg {
|
|
719
755
|
cursor: pointer;
|
|
@@ -975,7 +1011,7 @@ button {
|
|
|
975
1011
|
gap: 10px;
|
|
976
1012
|
flex-wrap: wrap;
|
|
977
1013
|
}
|
|
978
|
-
|
|
1014
|
+
/*.arg_sub_menu .arg_sub_menu .arg_sub_menu_button {
|
|
979
1015
|
padding-left: 24px !important;
|
|
980
1016
|
}
|
|
981
1017
|
.arg_sub_menu .arg_sub_menu .auriga_menu_item {
|
|
@@ -983,7 +1019,7 @@ button {
|
|
|
983
1019
|
}
|
|
984
1020
|
.arg_sub_menu .auriga_menu_item {
|
|
985
1021
|
padding-left: 24px !important;
|
|
986
|
-
}
|
|
1022
|
+
}*/
|
|
987
1023
|
|
|
988
1024
|
.arg_tuto_content {
|
|
989
1025
|
display: flex;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -568,7 +568,7 @@ export default defineComponent({
|
|
|
568
568
|
return sorted.value.filter((row, index) => {
|
|
569
569
|
const start = (currentPage.value - 1) * savePageSize.value;
|
|
570
570
|
const end = currentPage.value * savePageSize.value;
|
|
571
|
-
if (index >= start && index
|
|
571
|
+
if (index >= start && index <= end)
|
|
572
572
|
return true;
|
|
573
573
|
return false;
|
|
574
574
|
});
|
|
@@ -168,7 +168,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
168
168
|
showToggle: import("vue").Ref<boolean>;
|
|
169
169
|
showLine: import("vue").Ref<any>;
|
|
170
170
|
openLine: (index: number) => void;
|
|
171
|
-
getTooltipDir: (index: number) => "
|
|
171
|
+
getTooltipDir: (index: number) => "left" | "bottom";
|
|
172
172
|
getColumnTypes: () => void;
|
|
173
173
|
isNA: (val: string) => boolean;
|
|
174
174
|
sortDatas: (index: number) => void;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
>
|
|
5
5
|
<div v-show="openTuto" class="arg_tuto_modal">
|
|
6
6
|
<div class="arg_tuto_header">
|
|
7
|
-
<arg-actions action-type="close" customize @
|
|
7
|
+
<arg-actions action-type="close" customize @onAction="closeTuto">
|
|
8
8
|
<template #custom>
|
|
9
9
|
<div class="oip_row v-center gap-6">
|
|
10
10
|
<arg-icon name="X" size="20" />
|