@tekkare/auriga 0.1.25 → 0.1.27
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/argBtn.vue +18 -6
- package/dist/runtime/components/argBtn.vue.d.ts +20 -0
- package/dist/runtime/components/argCheckbox.vue +1 -1
- package/dist/runtime/components/argDropdownSelect.vue +7 -6
- package/dist/runtime/components/argDropdownSelect.vue.d.ts +1 -1
- package/dist/runtime/components/argHeaderTabs.vue +2 -6
- package/dist/runtime/components/argInfoBar.vue +11 -8
- package/dist/runtime/components/argMultipleChoice.vue +1 -1
- package/dist/runtime/components/argMultipleSelect.vue +1 -1
- package/dist/runtime/components/argNoSelectedScope.vue +177 -0
- package/dist/runtime/components/argNoSelectedScope.vue.d.ts +34 -0
- package/dist/runtime/components/argRadioButtons.vue +7 -3
- package/dist/runtime/components/argRadioButtons.vue.d.ts +3 -3
- package/dist/runtime/components/argStyle.vue +156 -163
- package/dist/runtime/components/argTable.vue +1 -1
- package/dist/runtime/components/argTags.vue +1 -1
- package/dist/runtime/components/argTextBtn.vue +59 -0
- package/dist/runtime/components/argTextBtn.vue.d.ts +20 -0
- package/dist/runtime/components/argTooltip.vue +10 -66
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div>
|
|
2
|
+
<div :class="fullWidth ? 'full_width' : ''">
|
|
3
3
|
<span
|
|
4
4
|
v-if="onlyIcon === false"
|
|
5
5
|
:class="
|
|
6
|
-
`oip_${btnStyle}_button oip_btn ` +
|
|
7
|
-
[becomeSmall === true ? 'prmt_button_big' : '']
|
|
6
|
+
`oip_${btnStyle}_button oip_btn oip_btn_${size} ` +
|
|
7
|
+
[becomeSmall === true ? 'prmt_button_big ' : ''] +
|
|
8
|
+
[fullWidth === true ? 'oip_full_btn' : '']
|
|
8
9
|
"
|
|
9
10
|
@click="send()"
|
|
10
11
|
>
|
|
@@ -53,7 +54,6 @@
|
|
|
53
54
|
|
|
54
55
|
<script>
|
|
55
56
|
import argIcon from "./argIcon.vue";
|
|
56
|
-
import argStyle from "./argStyle.vue";
|
|
57
57
|
import {
|
|
58
58
|
ref,
|
|
59
59
|
computed,
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
} from "vue";
|
|
62
62
|
export default defineComponent({
|
|
63
63
|
name: "argBtn",
|
|
64
|
-
components: { argIcon
|
|
64
|
+
components: { argIcon },
|
|
65
65
|
props: {
|
|
66
66
|
btnStyle: { type: String, default: "primary" },
|
|
67
67
|
becomeSmall: { type: Boolean, default: true },
|
|
@@ -69,7 +69,15 @@ export default defineComponent({
|
|
|
69
69
|
onlyIcon: { type: Boolean, default: false },
|
|
70
70
|
prefixIcon: { type: String, default: null },
|
|
71
71
|
suffixIcon: { type: String, default: null },
|
|
72
|
-
loading: { type: Boolean, default: false }
|
|
72
|
+
loading: { type: Boolean, default: false },
|
|
73
|
+
fullWidth: { type: Boolean, default: false },
|
|
74
|
+
size: {
|
|
75
|
+
type: String,
|
|
76
|
+
default: "s",
|
|
77
|
+
validator: (value) => {
|
|
78
|
+
return ["s", "m"].includes(value);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
73
81
|
},
|
|
74
82
|
emits: ["onClick"],
|
|
75
83
|
setup(props, { emit }) {
|
|
@@ -113,4 +121,8 @@ export default defineComponent({
|
|
|
113
121
|
display: none !important;
|
|
114
122
|
}
|
|
115
123
|
}
|
|
124
|
+
|
|
125
|
+
.full_width {
|
|
126
|
+
width: 100%;
|
|
127
|
+
}
|
|
116
128
|
</style>
|
|
@@ -27,6 +27,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
type: BooleanConstructor;
|
|
28
28
|
default: boolean;
|
|
29
29
|
};
|
|
30
|
+
fullWidth: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
size: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
validator: (value: string) => boolean;
|
|
38
|
+
};
|
|
30
39
|
}, {
|
|
31
40
|
getIconColor: import("vue").ComputedRef<string>;
|
|
32
41
|
send: () => void;
|
|
@@ -59,6 +68,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
59
68
|
type: BooleanConstructor;
|
|
60
69
|
default: boolean;
|
|
61
70
|
};
|
|
71
|
+
fullWidth: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
size: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: string;
|
|
78
|
+
validator: (value: string) => boolean;
|
|
79
|
+
};
|
|
62
80
|
}>> & {
|
|
63
81
|
onOnClick?: ((...args: any[]) => any) | undefined;
|
|
64
82
|
}, {
|
|
@@ -69,5 +87,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
69
87
|
prefixIcon: string;
|
|
70
88
|
suffixIcon: string;
|
|
71
89
|
loading: boolean;
|
|
90
|
+
fullWidth: boolean;
|
|
91
|
+
size: string;
|
|
72
92
|
}, {}>;
|
|
73
93
|
export default _default;
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
</div>
|
|
68
68
|
<div v-else class="oip_select_dropdown_selection_container">
|
|
69
69
|
<div
|
|
70
|
-
v-for="(element, index) of filterName
|
|
70
|
+
v-for="(element, index) of filterName"
|
|
71
71
|
:key="index"
|
|
72
72
|
class="oip_select_complex_selection_loop"
|
|
73
73
|
:class="values_disabled.includes(index) ? 'disabled_option' : ''"
|
|
@@ -191,6 +191,7 @@ export default defineComponent({
|
|
|
191
191
|
watch(
|
|
192
192
|
() => props.element_table,
|
|
193
193
|
(new_element_table) => {
|
|
194
|
+
table_values.value = new_element_table;
|
|
194
195
|
if (props.watch_default_change) {
|
|
195
196
|
selected_item.value = new_element_table[props.default_select];
|
|
196
197
|
selected_number.value = props.default_select;
|
|
@@ -265,14 +266,14 @@ export default defineComponent({
|
|
|
265
266
|
isDisplay.value = false;
|
|
266
267
|
document?.removeEventListener("click", closeDropdown);
|
|
267
268
|
}
|
|
268
|
-
|
|
269
|
+
const filterName = computed(() => {
|
|
269
270
|
if (searchName.value !== null) {
|
|
270
|
-
return
|
|
271
|
+
return table_values.value.filter(
|
|
271
272
|
(element) => element.toLowerCase().includes(searchName.value.toLowerCase())
|
|
272
273
|
);
|
|
273
274
|
}
|
|
274
|
-
return
|
|
275
|
-
}
|
|
275
|
+
return table_values.value;
|
|
276
|
+
});
|
|
276
277
|
function changeDisplay() {
|
|
277
278
|
if (props.disabled === false) {
|
|
278
279
|
if (isDisplay.value === true) {
|
|
@@ -355,7 +356,7 @@ export default defineComponent({
|
|
|
355
356
|
color: var(--independence) !important;
|
|
356
357
|
}
|
|
357
358
|
.oip_select_complex_selection_loop:hover > svg.add {
|
|
358
|
-
color: var(--primary-
|
|
359
|
+
color: var(--primary-hover) !important;
|
|
359
360
|
}
|
|
360
361
|
|
|
361
362
|
.oip_select_complex_selection_loop:hover svg {
|
|
@@ -98,7 +98,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
98
98
|
checkActiveEllipsis: () => void;
|
|
99
99
|
add_element: (element: string, index: number) => void;
|
|
100
100
|
closeDropdown: () => void;
|
|
101
|
-
filterName: ()
|
|
101
|
+
filterName: import("vue").ComputedRef<string[]>;
|
|
102
102
|
changeDisplay: () => void;
|
|
103
103
|
changeInput: () => void;
|
|
104
104
|
getEmptyMsg: import("vue").ComputedRef<string>;
|
|
@@ -162,17 +162,13 @@ export default defineComponent({
|
|
|
162
162
|
color: var(--wild-blue-yonder);
|
|
163
163
|
list-style: none;
|
|
164
164
|
font-style: normal;
|
|
165
|
-
font-size:
|
|
166
|
-
font-weight:
|
|
165
|
+
font-size: 14px;
|
|
166
|
+
font-weight: 500;
|
|
167
167
|
text-align: center;
|
|
168
168
|
padding: 0px 0px 8px 0px;
|
|
169
169
|
white-space: pre-line;
|
|
170
170
|
overflow-wrap: break-word;
|
|
171
171
|
vertical-align: middle;
|
|
172
|
-
font-size: 16px;
|
|
173
|
-
font-style: normal;
|
|
174
|
-
font-weight: 700;
|
|
175
|
-
line-height: normal;
|
|
176
172
|
}
|
|
177
173
|
|
|
178
174
|
.header_one_tab:hover {
|
|
@@ -7,13 +7,15 @@
|
|
|
7
7
|
:class="item.name === 'Sources' ? 'relative' : ''"
|
|
8
8
|
@click="openMenu(item.name)"
|
|
9
9
|
>
|
|
10
|
-
<arg-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
10
|
+
<arg-tooltip :tooltip-text="item.name" dir="left">
|
|
11
|
+
<arg-icon :name="item.icon" size="20" />
|
|
12
|
+
<div
|
|
13
|
+
v-if="item.name === 'Sources' && sourceAmount > 0"
|
|
14
|
+
class="arg_source_nb"
|
|
15
|
+
>
|
|
16
|
+
{{ sourceAmount }}
|
|
17
|
+
</div>
|
|
18
|
+
</arg-tooltip>
|
|
17
19
|
</div>
|
|
18
20
|
</div>
|
|
19
21
|
</template>
|
|
@@ -24,9 +26,10 @@ import {
|
|
|
24
26
|
defineComponent
|
|
25
27
|
} from "vue";
|
|
26
28
|
import argIcon from "./argIcon.vue";
|
|
29
|
+
import argTooltip from "./argTooltip.vue";
|
|
27
30
|
export default defineComponent({
|
|
28
31
|
name: "argInfoBar",
|
|
29
|
-
components: { argIcon },
|
|
32
|
+
components: { argIcon, argTooltip },
|
|
30
33
|
props: {
|
|
31
34
|
infoArray: {
|
|
32
35
|
type: Array,
|
|
@@ -822,7 +822,7 @@ export default defineComponent({
|
|
|
822
822
|
font-weight: 700 !important;
|
|
823
823
|
}
|
|
824
824
|
.oip_select_complex_selection_loop:hover > svg.add {
|
|
825
|
-
color: var(--
|
|
825
|
+
color: var(--) !important;
|
|
826
826
|
}
|
|
827
827
|
.oip_select_complex_selection_loop > svg.add {
|
|
828
828
|
color: var(--primary) !important;
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="arg_no_scope_display">
|
|
3
|
+
<div class="arg_no_selected_scope">
|
|
4
|
+
<div class="icon_square">
|
|
5
|
+
<arg-icon name="CrosshairSimple" size="32" />
|
|
6
|
+
</div>
|
|
7
|
+
<div class="arg_no_scope_text">
|
|
8
|
+
{{ getNoScopeMsg }}
|
|
9
|
+
</div>
|
|
10
|
+
<div v-if="scopeArray.length > 0" class="arg_scopes_select">
|
|
11
|
+
<div class="oip-row v-center justify-between">
|
|
12
|
+
<p class="args_select_title">
|
|
13
|
+
{{
|
|
14
|
+
lang === "fr"
|
|
15
|
+
? "Appliquer un scope existant"
|
|
16
|
+
: "Apply an existing scope"
|
|
17
|
+
}}
|
|
18
|
+
</p>
|
|
19
|
+
<!-- Manage Scopes -->
|
|
20
|
+
</div>
|
|
21
|
+
<arg-radio-buttons
|
|
22
|
+
dir="column"
|
|
23
|
+
:elements="scopeArray.map((a) => a.title)"
|
|
24
|
+
:return_value="true"
|
|
25
|
+
v-model:Selection="selectedScope"
|
|
26
|
+
/>
|
|
27
|
+
</div>
|
|
28
|
+
<arg-btn
|
|
29
|
+
v-if="scopeArray.length > 0"
|
|
30
|
+
:btn-style="selectedScope !== null ? 'primary-fill' : 'disable'"
|
|
31
|
+
size="m"
|
|
32
|
+
full-width
|
|
33
|
+
@onClick="selectScope"
|
|
34
|
+
>{{ lang === "fr" ? "Appliquer le scope" : "Apply scope" }}</arg-btn
|
|
35
|
+
>
|
|
36
|
+
<div
|
|
37
|
+
v-if="scopeArray.length > 0"
|
|
38
|
+
class="oip_row v-center gap-8 full-width"
|
|
39
|
+
>
|
|
40
|
+
<div class="scope_sep" />
|
|
41
|
+
<p class="scope_sep_text">or</p>
|
|
42
|
+
<div class="scope_sep" />
|
|
43
|
+
</div>
|
|
44
|
+
<arg-btn
|
|
45
|
+
btn-style="primary-stroke"
|
|
46
|
+
size="m"
|
|
47
|
+
full-width
|
|
48
|
+
@onClick="createNewScope"
|
|
49
|
+
>{{ lang === "fr" ? "+ Nouveau scope" : "+ New scope" }}</arg-btn
|
|
50
|
+
>
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
</template>
|
|
54
|
+
|
|
55
|
+
<script>
|
|
56
|
+
import {
|
|
57
|
+
ref,
|
|
58
|
+
computed,
|
|
59
|
+
defineComponent
|
|
60
|
+
} from "vue";
|
|
61
|
+
import argIcon from "./argIcon.vue";
|
|
62
|
+
import argRadioButtons from "./argRadioButtons.vue";
|
|
63
|
+
export default defineComponent({
|
|
64
|
+
name: "argNoSelectedScope",
|
|
65
|
+
components: { argIcon, argRadioButtons },
|
|
66
|
+
props: {
|
|
67
|
+
lang: {
|
|
68
|
+
type: String,
|
|
69
|
+
default: "en",
|
|
70
|
+
validator: (value) => {
|
|
71
|
+
return ["en", "fr"].includes(value);
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
scopeArray: {
|
|
75
|
+
type: Array,
|
|
76
|
+
default: () => []
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
emits: ["onSelectScope", "update:Scope", "onCreateScope"],
|
|
80
|
+
setup(props, { emit }) {
|
|
81
|
+
const selectedScope = ref(null);
|
|
82
|
+
const getNoScopeMsg = computed(() => {
|
|
83
|
+
if (props.lang === "en") {
|
|
84
|
+
return `You need to select your scope to view any results or data. Please choose one of the options below to proceed.`;
|
|
85
|
+
} else
|
|
86
|
+
return `Vous devez s\xE9lectionner votre scope pour voir les r\xE9sultats ou donn\xE9es. Veuillez choisir une des options ci-dessous pour continuer`;
|
|
87
|
+
});
|
|
88
|
+
function selectScope() {
|
|
89
|
+
emit(
|
|
90
|
+
"onSelectScope",
|
|
91
|
+
props.scopeArray[props.scopeArray.findIndex(
|
|
92
|
+
(a) => a.title === selectedScope.value
|
|
93
|
+
)]
|
|
94
|
+
);
|
|
95
|
+
emit(
|
|
96
|
+
"update:Scope",
|
|
97
|
+
props.scopeArray[props.scopeArray.findIndex(
|
|
98
|
+
(a) => a.title === selectedScope.value
|
|
99
|
+
)]
|
|
100
|
+
);
|
|
101
|
+
}
|
|
102
|
+
function createNewScope() {
|
|
103
|
+
emit("onCreateScope");
|
|
104
|
+
}
|
|
105
|
+
return { getNoScopeMsg, selectedScope, selectScope, createNewScope };
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
</script>
|
|
109
|
+
|
|
110
|
+
<style scoped>
|
|
111
|
+
.arg_no_selected_scope {
|
|
112
|
+
display: flex;
|
|
113
|
+
flex-direction: column;
|
|
114
|
+
align-items: flex-start;
|
|
115
|
+
gap: 24px;
|
|
116
|
+
max-width: 382px;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.icon_square {
|
|
120
|
+
display: flex;
|
|
121
|
+
align-items: center;
|
|
122
|
+
justify-content: center;
|
|
123
|
+
background: var(--dividers);
|
|
124
|
+
padding: 8px;
|
|
125
|
+
border-radius: 8px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.arg_no_scope_text {
|
|
129
|
+
font-size: 14px;
|
|
130
|
+
font-style: normal;
|
|
131
|
+
font-weight: 400;
|
|
132
|
+
line-height: 160%;
|
|
133
|
+
color: var(--cool-grey);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.arg_no_scope_display {
|
|
137
|
+
height: 100%;
|
|
138
|
+
width: 100%;
|
|
139
|
+
margin-top: 80px;
|
|
140
|
+
display: flex;
|
|
141
|
+
align-items: center;
|
|
142
|
+
justify-content: center;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.arg_scopes_select {
|
|
146
|
+
display: flex;
|
|
147
|
+
flex-direction: column;
|
|
148
|
+
align-items: flex-start;
|
|
149
|
+
gap: 8px;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.args_select_title {
|
|
153
|
+
font-size: 16px;
|
|
154
|
+
font-style: normal;
|
|
155
|
+
font-weight: 700;
|
|
156
|
+
line-height: normal;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.scope_sep {
|
|
160
|
+
height: 1px;
|
|
161
|
+
background-color: var(--wild-blue-yonder);
|
|
162
|
+
flex: 1 1 0;
|
|
163
|
+
min-width: 40%;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.full-width {
|
|
167
|
+
width: 100%;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.scope_sep_text {
|
|
171
|
+
font-size: 14px;
|
|
172
|
+
font-style: normal;
|
|
173
|
+
font-weight: 400;
|
|
174
|
+
line-height: normal;
|
|
175
|
+
color: var(--wild-blue-yonder);
|
|
176
|
+
}
|
|
177
|
+
</style>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
lang: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
validator: (value: string) => boolean;
|
|
6
|
+
};
|
|
7
|
+
scopeArray: {
|
|
8
|
+
type: ArrayConstructor;
|
|
9
|
+
default: () => never[];
|
|
10
|
+
};
|
|
11
|
+
}, {
|
|
12
|
+
getNoScopeMsg: import("vue").ComputedRef<"You need to select your scope to view any results or data. Please choose one of the options below to proceed." | "Vous devez sélectionner votre scope pour voir les résultats ou données. Veuillez choisir une des options ci-dessous pour continuer">;
|
|
13
|
+
selectedScope: any;
|
|
14
|
+
selectScope: () => void;
|
|
15
|
+
createNewScope: () => void;
|
|
16
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onSelectScope" | "update:Scope" | "onCreateScope")[], "onSelectScope" | "update:Scope" | "onCreateScope", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
lang: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
validator: (value: string) => boolean;
|
|
21
|
+
};
|
|
22
|
+
scopeArray: {
|
|
23
|
+
type: ArrayConstructor;
|
|
24
|
+
default: () => never[];
|
|
25
|
+
};
|
|
26
|
+
}>> & {
|
|
27
|
+
onOnSelectScope?: ((...args: any[]) => any) | undefined;
|
|
28
|
+
"onUpdate:Scope"?: ((...args: any[]) => any) | undefined;
|
|
29
|
+
onOnCreateScope?: ((...args: any[]) => any) | undefined;
|
|
30
|
+
}, {
|
|
31
|
+
lang: string;
|
|
32
|
+
scopeArray: unknown[];
|
|
33
|
+
}, {}>;
|
|
34
|
+
export default _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div
|
|
4
4
|
v-for="(radio, index) in elements"
|
|
5
5
|
:key="index"
|
|
6
|
-
class="oip_row v-center gap-4"
|
|
6
|
+
class="oip_row v-center gap-4 radio_item"
|
|
7
7
|
:class="selectedRadio === index + 1 ? 'selected-radio' : 'display-radio'"
|
|
8
8
|
@click="selectRadio(index + 1, radio)"
|
|
9
9
|
>
|
|
@@ -37,7 +37,7 @@ export default defineComponent({
|
|
|
37
37
|
},
|
|
38
38
|
defaultSelect: {
|
|
39
39
|
type: Number,
|
|
40
|
-
default:
|
|
40
|
+
default: null
|
|
41
41
|
},
|
|
42
42
|
returnValue: {
|
|
43
43
|
type: Boolean,
|
|
@@ -50,7 +50,7 @@ export default defineComponent({
|
|
|
50
50
|
},
|
|
51
51
|
emits: ["changeElement", "update:Selection"],
|
|
52
52
|
setup(props, { emit }) {
|
|
53
|
-
const selectedRadio = ref(
|
|
53
|
+
const selectedRadio = ref(null);
|
|
54
54
|
onMounted(() => {
|
|
55
55
|
if (typeof props.defaultSelect === "number") {
|
|
56
56
|
selectedRadio.value = props.defaultSelect;
|
|
@@ -134,4 +134,8 @@ export default defineComponent({
|
|
|
134
134
|
align-items: flex-start;
|
|
135
135
|
gap: 8px;
|
|
136
136
|
}
|
|
137
|
+
|
|
138
|
+
.radio_item {
|
|
139
|
+
padding: 6px;
|
|
140
|
+
}
|
|
137
141
|
</style>
|
|
@@ -18,7 +18,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
};
|
|
19
19
|
defaultSelect: {
|
|
20
20
|
type: NumberConstructor;
|
|
21
|
-
default:
|
|
21
|
+
default: null;
|
|
22
22
|
};
|
|
23
23
|
returnValue: {
|
|
24
24
|
type: BooleanConstructor;
|
|
@@ -29,7 +29,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
29
29
|
default: string;
|
|
30
30
|
};
|
|
31
31
|
}, {
|
|
32
|
-
selectedRadio:
|
|
32
|
+
selectedRadio: any;
|
|
33
33
|
selectRadio: (index: number, value: string) => void;
|
|
34
34
|
getIconName: (index: number) => "CheckCircleFill" | "Circle";
|
|
35
35
|
getColor: (index: number) => "var(--primary)" | "var(--lavendar-grey)";
|
|
@@ -53,7 +53,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
53
53
|
};
|
|
54
54
|
defaultSelect: {
|
|
55
55
|
type: NumberConstructor;
|
|
56
|
-
default:
|
|
56
|
+
default: null;
|
|
57
57
|
};
|
|
58
58
|
returnValue: {
|
|
59
59
|
type: BooleanConstructor;
|
|
@@ -25,21 +25,20 @@ export default defineComponent({
|
|
|
25
25
|
|
|
26
26
|
/* PRIMARY */
|
|
27
27
|
--primary: #2176ff;
|
|
28
|
-
--primary-hover: #0966fb;
|
|
29
28
|
--primary-dark: #0056e0;
|
|
30
|
-
--primary-
|
|
29
|
+
--primary-hover: #0f44be;
|
|
31
30
|
--primary-light: #f4f8ff;
|
|
32
31
|
|
|
33
32
|
/* ACCENT */
|
|
34
33
|
--accent: #2176ff;
|
|
35
34
|
--accent-yellow: #ff981a;
|
|
36
|
-
--accent-hover: #
|
|
35
|
+
--accent-hover: #0f44be;
|
|
37
36
|
--accent-hover-yellow: #e7860f;
|
|
38
37
|
|
|
39
38
|
/* SYSTEM */
|
|
40
39
|
--alert: #fb4654;
|
|
41
40
|
--system-alert: #ef4444;
|
|
42
|
-
--alert-hover: #d21616;
|
|
41
|
+
--system-alert-hover: #d21616;
|
|
43
42
|
--warning: #fd9147;
|
|
44
43
|
--success: #32d175;
|
|
45
44
|
--system-success: #22c55e;
|
|
@@ -291,10 +290,9 @@ button {
|
|
|
291
290
|
|
|
292
291
|
.oip_btn {
|
|
293
292
|
border-radius: 8px !important;
|
|
294
|
-
padding:
|
|
293
|
+
padding: 0px 16px !important;
|
|
295
294
|
outline: none !important;
|
|
296
295
|
cursor: pointer !important;
|
|
297
|
-
max-height: 16px;
|
|
298
296
|
white-space: nowrap;
|
|
299
297
|
display: flex;
|
|
300
298
|
justify-content: center;
|
|
@@ -309,54 +307,66 @@ button {
|
|
|
309
307
|
width: fit-content;
|
|
310
308
|
}
|
|
311
309
|
|
|
312
|
-
.
|
|
310
|
+
.oip_btn_s {
|
|
311
|
+
height: 32px;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.oip_btn_m {
|
|
315
|
+
height: 40px;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.oip_full_btn {
|
|
319
|
+
width: calc(100% - 32px) !important;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.oip_primary-fill_button {
|
|
313
323
|
background: var(--primary) !important;
|
|
314
324
|
border: 2px solid var(--primary) !important;
|
|
315
325
|
box-shadow: var(--primary-button-shadow) !important;
|
|
316
326
|
color: var(--pure-white) !important;
|
|
317
327
|
}
|
|
318
|
-
.
|
|
328
|
+
.oip_primary-fill_button .oip_button_spinner div {
|
|
319
329
|
border: 2px solid var(--pure-white);
|
|
320
330
|
border-color: var(--pure-white) transparent transparent transparent;
|
|
321
331
|
}
|
|
322
332
|
|
|
323
|
-
.
|
|
324
|
-
.
|
|
325
|
-
background: var(--primary-
|
|
326
|
-
border: 2px solid var(--primary-
|
|
333
|
+
.oip_primary-fill_button:hover,
|
|
334
|
+
.oip_primary-fill_button:focus {
|
|
335
|
+
background: var(--primary-hover) !important;
|
|
336
|
+
border: 2px solid var(--primary-hover) !important;
|
|
327
337
|
box-shadow: none !important;
|
|
328
338
|
color: var(--pure-white) !important;
|
|
329
339
|
}
|
|
330
|
-
.
|
|
331
|
-
.
|
|
332
|
-
.
|
|
333
|
-
background: var(--
|
|
334
|
-
border: 2px solid var(--
|
|
340
|
+
.oip_primary-fill_button.is-disabled,
|
|
341
|
+
.oip_primary-fill_button.is-disabled:hover,
|
|
342
|
+
.oip_primary-fill_button.is-disabled:focus {
|
|
343
|
+
background: var(--dividers) !important;
|
|
344
|
+
border: 2px solid var(--dividers) !important;
|
|
335
345
|
box-shadow: none !important;
|
|
336
|
-
color: var(--
|
|
346
|
+
color: var(--wild-blue-yonder) !important;
|
|
337
347
|
}
|
|
338
348
|
|
|
339
|
-
.
|
|
349
|
+
.oip_primary-fill_icon_button {
|
|
340
350
|
background: var(--primary) !important;
|
|
341
351
|
border: 2px solid var(--primary) !important;
|
|
342
352
|
box-shadow: var(--primary-button-shadow) !important;
|
|
343
353
|
color: var(--pure-white) !important;
|
|
344
|
-
padding:
|
|
354
|
+
padding: 0px 6px !important;
|
|
345
355
|
}
|
|
346
356
|
|
|
347
|
-
.
|
|
357
|
+
.oip_primary-fill_icon_button .oip_button_spinner div {
|
|
348
358
|
border: 2px solid var(--pure-white);
|
|
349
359
|
border-color: var(--pure-white) transparent transparent transparent;
|
|
350
360
|
}
|
|
351
|
-
.
|
|
352
|
-
.
|
|
361
|
+
.oip_primary-fill_icon_button:hover,
|
|
362
|
+
.oip_primary-fill_icon_button:focus {
|
|
353
363
|
background: var(--primary-hover) !important;
|
|
354
364
|
border: 2px solid var(--primary-hover) !important;
|
|
355
365
|
box-shadow: var(--primary-button-shadow) !important;
|
|
356
366
|
color: var(--pure-white) !important;
|
|
357
367
|
}
|
|
358
368
|
|
|
359
|
-
|
|
369
|
+
/*.oip_secondary_button,
|
|
360
370
|
.oip_secondary_button:hover,
|
|
361
371
|
.oip_secondary_button:focus {
|
|
362
372
|
background: var(--pure-white) !important;
|
|
@@ -379,269 +389,255 @@ button {
|
|
|
379
389
|
box-shadow: none !important;
|
|
380
390
|
color: var(--wild-blue-yonder) !important;
|
|
381
391
|
padding: 10px !important;
|
|
382
|
-
}
|
|
392
|
+
}*/
|
|
383
393
|
|
|
384
|
-
.
|
|
385
|
-
.oip_dark_button,
|
|
386
|
-
.oip_tertiary_button {
|
|
394
|
+
.oip_secondary-fill_button {
|
|
387
395
|
background: var(--independence) !important;
|
|
388
396
|
border: 2px solid var(--independence) !important;
|
|
389
397
|
box-shadow: 4px 7px 12px 0px rgba(62, 63, 94, 0.2) !important;
|
|
390
398
|
color: var(--pure-white) !important;
|
|
391
399
|
}
|
|
392
400
|
|
|
393
|
-
.
|
|
394
|
-
.
|
|
395
|
-
.
|
|
396
|
-
.
|
|
397
|
-
.oip_dark_button:hover,
|
|
398
|
-
.oip_dark_button:focus,
|
|
399
|
-
.oip_terciary_icon_button:hover,
|
|
400
|
-
.oip_terciary_icon_button:focus,
|
|
401
|
-
.oip_tertiary_icon_button:hover,
|
|
402
|
-
.oip_tertiary_icon_button:focus,
|
|
403
|
-
.oip_dark_icon_button:hover,
|
|
404
|
-
.oip_dark_icon_button:focus {
|
|
401
|
+
.oip_secondary-fill_button:hover,
|
|
402
|
+
.oip_secondary-fill_button:focus,
|
|
403
|
+
.oip_secondary-fill_icon_button:hover,
|
|
404
|
+
.oip_secondary-fill_icon_button:focus {
|
|
405
405
|
background: #21223d !important;
|
|
406
406
|
border: 2px solid #21223d !important;
|
|
407
407
|
box-shadow: none !important;
|
|
408
408
|
}
|
|
409
409
|
|
|
410
|
-
.
|
|
411
|
-
.
|
|
412
|
-
.oip_tertiary_icon_button .oip_button_spinner div,
|
|
413
|
-
.oip_dark_icon_button .oip_button_spinner div {
|
|
410
|
+
.oip_secondary-fill_button .oip_button_spinner div,
|
|
411
|
+
.oip_secondary-fill_icon_button .oip_button_spinner div {
|
|
414
412
|
border: 2px solid var(--pure-white);
|
|
415
413
|
border-color: var(--pure-white) transparent transparent transparent;
|
|
416
414
|
}
|
|
417
415
|
|
|
418
|
-
.
|
|
419
|
-
.oip_tertiary_icon_button,
|
|
420
|
-
.oip_dark_icon_button {
|
|
416
|
+
.oip_secondary-fill_icon_button {
|
|
421
417
|
background: var(--independence) !important;
|
|
422
418
|
border: 2px solid var(--independence) !important;
|
|
423
419
|
box-shadow: 4px 7px 12px 0px rgba(62, 63, 94, 0.2) !important;
|
|
424
420
|
color: var(--pure-white) !important;
|
|
425
|
-
padding:
|
|
421
|
+
padding: 0px 6px !important;
|
|
426
422
|
}
|
|
427
423
|
|
|
428
424
|
.oip_disable_button,
|
|
429
425
|
.oip_disable_button:hover,
|
|
430
426
|
.oip_disable_button:focus {
|
|
431
|
-
background: var(--
|
|
432
|
-
border: 2px solid var(--
|
|
427
|
+
background: var(--dividers) !important;
|
|
428
|
+
border: 2px solid var(--dividers) !important;
|
|
433
429
|
box-shadow: none !important;
|
|
434
|
-
color: var(--
|
|
430
|
+
color: var(--wild-blue-yonder) !important;
|
|
435
431
|
}
|
|
436
432
|
|
|
437
433
|
.oip_disable_icon_button,
|
|
438
434
|
.oip_disable_icon_button:hover,
|
|
439
435
|
.oip_disable_icon_button:focus {
|
|
440
|
-
background: var(--
|
|
441
|
-
border: 2px solid var(--
|
|
436
|
+
background: var(--dividers) !important;
|
|
437
|
+
border: 2px solid var(--dividers) !important;
|
|
442
438
|
box-shadow: none !important;
|
|
443
|
-
color: var(--
|
|
439
|
+
color: var(--wild-blue-yonder) !important;
|
|
444
440
|
}
|
|
445
441
|
|
|
446
442
|
.el-button + .el-button {
|
|
447
443
|
margin-left: 0px !important;
|
|
448
444
|
}
|
|
449
|
-
.
|
|
445
|
+
.oip_secondary-stroke_button {
|
|
450
446
|
background: transparent !important;
|
|
451
447
|
border: 2px solid rgba(62, 63, 94, 0.2) !important;
|
|
452
448
|
box-shadow: none !important;
|
|
453
449
|
color: var(--independence) !important;
|
|
454
450
|
}
|
|
455
451
|
|
|
456
|
-
.
|
|
457
|
-
.
|
|
452
|
+
.oip_secondary-stroke_button:hover,
|
|
453
|
+
.oip_secondary-stroke_button:focus {
|
|
458
454
|
background: rgba(62, 63, 94, 0.05) !important;
|
|
459
455
|
border: 2px solid rgba(62, 63, 94, 0.2) !important;
|
|
460
456
|
box-shadow: none !important;
|
|
461
457
|
color: var(--independence) !important;
|
|
462
458
|
}
|
|
463
459
|
|
|
464
|
-
.
|
|
465
|
-
.
|
|
466
|
-
.
|
|
467
|
-
.
|
|
460
|
+
.oip_secondary-stroke_button:hover .oip__button_prefix_icon,
|
|
461
|
+
.oip_secondary-stroke_button:focus .oip__button_prefix_icon,
|
|
462
|
+
.oip_secondary-stroke_button:hover .oip__button_suffix_icon,
|
|
463
|
+
.oip_secondary-stroke_button:focus .oip__button_suffix_icon {
|
|
468
464
|
stroke: var(--independence) !important;
|
|
469
465
|
color: var(--independence) !important;
|
|
470
466
|
}
|
|
471
|
-
.
|
|
472
|
-
.
|
|
467
|
+
.oip_secondary-stroke_button .oip_button_spinner div,
|
|
468
|
+
.oip_secondary-stroke_icon_button .oip_button_spinner div {
|
|
473
469
|
border: 2px solid var(--independence);
|
|
474
470
|
border-color: var(--independence) transparent transparent transparent;
|
|
475
471
|
}
|
|
476
|
-
.
|
|
472
|
+
.oip_secondary-stroke_icon_button {
|
|
477
473
|
background: transparent !important;
|
|
478
474
|
border: 2px solid rgba(62, 63, 94, 0.2) !important;
|
|
479
475
|
box-shadow: none !important;
|
|
480
476
|
color: var(--independence) !important;
|
|
481
|
-
padding:
|
|
477
|
+
padding: 0px 6px !important;
|
|
482
478
|
}
|
|
483
479
|
|
|
484
|
-
.
|
|
485
|
-
.
|
|
480
|
+
.oip_secondary-stroke_icon_button:hover,
|
|
481
|
+
.oip_secondary-stroke_icon_button:focus {
|
|
486
482
|
border: 2px solid rgba(33, 118, 255, 0.2) !important;
|
|
487
483
|
}
|
|
488
|
-
.
|
|
489
|
-
.
|
|
490
|
-
.
|
|
491
|
-
.
|
|
484
|
+
.oip_secondary-stroke_icon_button:hover svg,
|
|
485
|
+
.oip_secondary-stroke_icon_buttonn:focus svg,
|
|
486
|
+
.oip_secondary-stroke_icon_button:hover svg,
|
|
487
|
+
.oip_secondary-stroke_icon_button:focus svg {
|
|
492
488
|
stroke: var(--primary) !important;
|
|
493
489
|
color: var(--primary) !important;
|
|
494
490
|
}
|
|
495
491
|
|
|
496
|
-
.
|
|
492
|
+
.oip_primary-stroke_button {
|
|
497
493
|
background: transparent !important;
|
|
498
494
|
border: 2px solid rgba(33, 118, 255, 0.2) !important;
|
|
499
495
|
box-shadow: none !important;
|
|
500
496
|
color: var(--primary) !important;
|
|
501
497
|
}
|
|
502
498
|
|
|
503
|
-
.
|
|
504
|
-
.
|
|
505
|
-
.
|
|
506
|
-
.
|
|
499
|
+
.oip_primary-stroke_button:hover,
|
|
500
|
+
.oip_primary-stroke_button:focus,
|
|
501
|
+
.oip_primary-stroke_icon_button:hover,
|
|
502
|
+
.oip_primary-stroke_icon_button:focus {
|
|
507
503
|
background: rgba(33, 118, 255, 0.05) !important;
|
|
508
|
-
color: var(--
|
|
504
|
+
color: var(--) !important;
|
|
509
505
|
}
|
|
510
|
-
.
|
|
511
|
-
.
|
|
506
|
+
.oip_primary-stroke_button .oip_button_spinner div,
|
|
507
|
+
.oip_primary-stroke_icon_button .oip_button_spinner div {
|
|
512
508
|
border: 2px solid var(--primary);
|
|
513
509
|
border-color: var(--primary) transparent transparent transparent;
|
|
514
510
|
}
|
|
515
|
-
.
|
|
511
|
+
.oip_primary-stroke_icon_button {
|
|
516
512
|
background: transparent !important;
|
|
517
513
|
border: 2px solid rgba(33, 118, 255, 0.2) !important;
|
|
518
514
|
box-shadow: none !important;
|
|
519
|
-
padding:
|
|
515
|
+
padding: 0px 6px !important;
|
|
520
516
|
color: var(--primary) !important;
|
|
521
517
|
}
|
|
522
|
-
.
|
|
518
|
+
.oip_warning-stroke_button {
|
|
523
519
|
background: transparent !important;
|
|
524
520
|
border: 2px solid rgba(239, 68, 68, 0.2);
|
|
525
521
|
box-shadow: none !important;
|
|
526
522
|
color: var(--system-alert) !important;
|
|
527
523
|
}
|
|
528
|
-
.
|
|
529
|
-
.
|
|
530
|
-
.
|
|
531
|
-
.
|
|
524
|
+
.oip_warning-stroke_button:hover,
|
|
525
|
+
.oip_warning-stroke_button:focus,
|
|
526
|
+
.oip_warning-stroke_icon_button:hover,
|
|
527
|
+
.oip_warning-stroke_icon_button:focus {
|
|
532
528
|
background: rgba(239, 68, 68, 0.2) !important;
|
|
533
529
|
border: 2px solid rgba(251, 70, 84, 0.2) !important;
|
|
534
|
-
color: var(--alert-hover) !important;
|
|
530
|
+
color: var(--system-alert-hover) !important;
|
|
535
531
|
}
|
|
536
|
-
.
|
|
537
|
-
.
|
|
532
|
+
.oip_warning-stroke_button .oip_button_spinner div,
|
|
533
|
+
.oip_warning-stroke_icon_button .oip_button_spinner div {
|
|
538
534
|
border: 2px solid var(--system-alert);
|
|
539
535
|
border-color: var(--system-alert) transparent transparent transparent;
|
|
540
536
|
}
|
|
541
|
-
.
|
|
542
|
-
.
|
|
543
|
-
border: 2px solid var(--alert-hover);
|
|
544
|
-
border-color: var(--alert-hover) transparent transparent transparent;
|
|
537
|
+
.oip_warning-stroke_button:hover .oip_button_spinner div,
|
|
538
|
+
.oip_warning-stroke_icon_button:hover .oip_button_spinner div {
|
|
539
|
+
border: 2px solid var(--system-alert-hover);
|
|
540
|
+
border-color: var(--system-alert-hover) transparent transparent transparent;
|
|
545
541
|
}
|
|
546
|
-
.
|
|
547
|
-
.
|
|
548
|
-
.
|
|
549
|
-
.
|
|
550
|
-
stroke: var(--alert-hover) !important;
|
|
551
|
-
color: var(--alert-hover) !important;
|
|
542
|
+
.oip_warning-stroke_button:hover .oip__button_prefix_icon,
|
|
543
|
+
.oip_warning-stroke_button:focus .oip__button_prefix_icon,
|
|
544
|
+
.oip_warning-stroke_button:hover .oip__button_suffix_icon,
|
|
545
|
+
.oip_warning-stroke_button:focus .oip__button_suffix_icon {
|
|
546
|
+
stroke: var(--system-alert-hover) !important;
|
|
547
|
+
color: var(--system-alert-hover) !important;
|
|
552
548
|
}
|
|
553
|
-
.
|
|
549
|
+
.oip_warning-stroke_icon_button {
|
|
554
550
|
background: transparent !important;
|
|
555
551
|
border: 2px solid rgba(239, 68, 68, 0.2) !important;
|
|
556
552
|
box-shadow: none !important;
|
|
557
|
-
padding:
|
|
553
|
+
padding: 0px 6px !important;
|
|
558
554
|
color: var(--system-alert) !important;
|
|
559
555
|
}
|
|
560
|
-
.
|
|
561
|
-
.
|
|
556
|
+
.oip_warning-stroke_icon_button:hover,
|
|
557
|
+
.oip_warning-stroke_icon_button:hover {
|
|
562
558
|
border: 2px solid rgba(251, 70, 84, 0.2) !important;
|
|
563
|
-
color: var(--alert-hover) !important;
|
|
559
|
+
color: var(--system-alert-hover) !important;
|
|
564
560
|
}
|
|
565
|
-
.
|
|
566
|
-
.
|
|
567
|
-
stroke: var(--alert-hover) !important;
|
|
568
|
-
color: var(--alert-hover) !important;
|
|
561
|
+
.oip_warning-stroke_icon_button:hover svg,
|
|
562
|
+
.oip_warning-stroke_icon_button:hover svg {
|
|
563
|
+
stroke: var(--system-alert-hover) !important;
|
|
564
|
+
color: var(--system-alert-hover) !important;
|
|
569
565
|
}
|
|
570
|
-
.
|
|
566
|
+
.oip_warning-fill_button {
|
|
571
567
|
background: var(--system-alert) !important;
|
|
572
568
|
border: 2px solid rgba(239, 68, 68, 0.2);
|
|
573
569
|
box-shadow: 4px 7px 12px 0px rgba(239, 68, 68, 0.2) !important;
|
|
574
570
|
color: var(--pure-white) !important;
|
|
575
571
|
}
|
|
576
|
-
.
|
|
577
|
-
.
|
|
578
|
-
.
|
|
579
|
-
.
|
|
580
|
-
background: var(--alert-hover) !important;
|
|
581
|
-
border: 2px solid var(--alert-hover) !important;
|
|
572
|
+
.oip_warning-fill_button:hover,
|
|
573
|
+
.oip_warning-fill_button:focus,
|
|
574
|
+
.oip_warning-fill_icon_button:hover,
|
|
575
|
+
.oip_warning-fill_icon_button:focus {
|
|
576
|
+
background: var(--system-alert-hover) !important;
|
|
577
|
+
border: 2px solid var(--system-alert-hover) !important;
|
|
582
578
|
box-shadow: none !important;
|
|
583
579
|
}
|
|
584
|
-
.
|
|
585
|
-
.
|
|
580
|
+
.oip_warning-fill_button .oip_button_spinner div,
|
|
581
|
+
.oip_warning-fill_icon_button .oip_button_spinner div {
|
|
586
582
|
border: 2px solid var(--pure-white);
|
|
587
583
|
border-color: var(--pure-white) transparent transparent transparent;
|
|
588
584
|
}
|
|
589
|
-
.
|
|
585
|
+
.oip_warning-fill_icon_button {
|
|
590
586
|
background: var(--system-alert) !important;
|
|
591
587
|
border: 2px solid var(--system-alert) !important;
|
|
592
588
|
box-shadow: 4px 7px 12px 0px rgba(239, 68, 68, 0.2) !important;
|
|
593
|
-
padding:
|
|
589
|
+
padding: 0px 6px !important;
|
|
594
590
|
color: var(--pure-white) !important;
|
|
595
591
|
}
|
|
596
592
|
|
|
597
|
-
.
|
|
593
|
+
.oip_success-fill_button {
|
|
598
594
|
background: var(--green) !important;
|
|
599
595
|
border: 2px solid var(--green) !important;
|
|
600
596
|
box-shadow: 4px 7px 12px 0px rgba(34, 197, 94, 0.2) !important;
|
|
601
597
|
color: var(--pure-white) !important;
|
|
602
598
|
}
|
|
603
|
-
.
|
|
604
|
-
.
|
|
605
|
-
.
|
|
606
|
-
.
|
|
599
|
+
.oip_success-fill_button:hover,
|
|
600
|
+
.oip_success-fill_button:focus,
|
|
601
|
+
.oip_success-fill_icon_button:hover,
|
|
602
|
+
.oip_success-fill_icon_button:focus {
|
|
607
603
|
background: #2eb830 !important;
|
|
608
604
|
border: 2px solid #2eb830 !important;
|
|
609
605
|
box-shadow: none !important;
|
|
610
606
|
}
|
|
611
|
-
.
|
|
612
|
-
.
|
|
607
|
+
.oip_success-fill_button .oip_button_spinner div,
|
|
608
|
+
.oip_success-fill_icon_button .oip_button_spinner div {
|
|
613
609
|
border: 2px solid var(--pure-white);
|
|
614
610
|
border-color: var(--pure-white) transparent transparent transparent;
|
|
615
611
|
}
|
|
616
|
-
.
|
|
612
|
+
.oip_success-fill_icon_button {
|
|
617
613
|
background: var(--green) !important;
|
|
618
614
|
border: 2px solid var(--green) !important;
|
|
619
615
|
box-shadow: 4px 7px 12px 0px rgba(34, 197, 94, 0.2) !important;
|
|
620
|
-
padding:
|
|
616
|
+
padding: 0px 6px !important;
|
|
621
617
|
color: var(--pure-white) !important;
|
|
622
618
|
}
|
|
623
619
|
|
|
624
|
-
.
|
|
620
|
+
.oip_success-stroke_button {
|
|
625
621
|
background: transparent !important;
|
|
626
622
|
border: 2px solid rgba(34, 197, 94, 0.2) !important;
|
|
627
623
|
color: var(--system-success) !important;
|
|
628
624
|
}
|
|
629
|
-
.
|
|
630
|
-
.
|
|
631
|
-
.
|
|
632
|
-
.
|
|
625
|
+
.oip_success-stroke_button:hover,
|
|
626
|
+
.oip_success-stroke_button:focus,
|
|
627
|
+
.oip_success-stroke_icon_button:hover,
|
|
628
|
+
.oip_success-stroke_icon_button:focus {
|
|
633
629
|
border: 2px solid rgba(34, 197, 94, 0.2) !important;
|
|
634
630
|
background: rgba(34, 197, 94, 0.05) !important;
|
|
635
631
|
color: #069a3d !important;
|
|
636
632
|
}
|
|
637
|
-
.
|
|
638
|
-
.
|
|
633
|
+
.oip_success-stroke_button .oip_button_spinner div,
|
|
634
|
+
.oip_success-stroke_icon_button .oip_button_spinner div {
|
|
639
635
|
border: 2px solid var(--system-success);
|
|
640
636
|
border-color: var(--system-success) transparent transparent transparent;
|
|
641
637
|
}
|
|
642
|
-
.
|
|
638
|
+
.oip_success-stroke_icon_button {
|
|
643
639
|
border: 2px solid rgba(34, 197, 94, 0.2) !important;
|
|
644
|
-
padding:
|
|
640
|
+
padding: 0px 6px !important;
|
|
645
641
|
color: var(--system-success) !important;
|
|
646
642
|
}
|
|
647
643
|
.oip_button_flex {
|
|
@@ -728,62 +724,66 @@ button {
|
|
|
728
724
|
background: rgba(244, 63, 94, 0.1) !important;
|
|
729
725
|
color: #9f1239;
|
|
730
726
|
}
|
|
731
|
-
|
|
727
|
+
.oip_tag.is_pink {
|
|
732
728
|
background: rgba(236, 72, 153, 0.1) !important;
|
|
733
729
|
color: #9d174d;
|
|
734
|
-
}
|
|
730
|
+
}
|
|
735
731
|
.oip_tag.is_fushia {
|
|
736
732
|
background: rgba(217, 70, 239, 0.1) !important;
|
|
737
733
|
color: #86198f;
|
|
738
734
|
}
|
|
739
|
-
|
|
735
|
+
.oip_tag.is_purple {
|
|
740
736
|
background: rgba(168, 85, 247, 0.1) !important;
|
|
741
737
|
color: #6b21a8;
|
|
742
738
|
}
|
|
743
|
-
.oip_tag.
|
|
739
|
+
.oip_tag.is_violet {
|
|
744
740
|
background: rgba(139, 92, 246, 0.1) !important;
|
|
745
741
|
color: #5b21b6;
|
|
746
|
-
}
|
|
742
|
+
}
|
|
743
|
+
.oip_tag.is_indigo {
|
|
744
|
+
background: rgba(99, 102, 241, 0.1) !important;
|
|
745
|
+
color: #3730a3;
|
|
746
|
+
}
|
|
747
747
|
.oip_tag.is_blue {
|
|
748
748
|
background: rgba(59, 130, 246, 0.1) !important;
|
|
749
749
|
color: #1e40af;
|
|
750
750
|
}
|
|
751
|
-
|
|
751
|
+
.oip_tag.is_sky {
|
|
752
752
|
background: rgba(14, 165, 233, 0.1) !important;
|
|
753
753
|
color: #075985;
|
|
754
754
|
}
|
|
755
|
-
.oip_tag.
|
|
755
|
+
.oip_tag.is_cyan {
|
|
756
756
|
background: rgba(6, 182, 212, 0.1) !important;
|
|
757
757
|
color: #155e75;
|
|
758
758
|
}
|
|
759
759
|
.oip_tag.is_teal {
|
|
760
760
|
background: rgba(20, 184, 166, 0.1) !important;
|
|
761
761
|
color: #115e59;
|
|
762
|
-
}
|
|
762
|
+
}
|
|
763
763
|
.oip_tag.is_emerald {
|
|
764
764
|
background: rgba(16, 185, 129, 0.1) !important;
|
|
765
765
|
color: #065f46;
|
|
766
766
|
}
|
|
767
|
-
|
|
767
|
+
.oip_tag.is_green {
|
|
768
768
|
background: rgba(34, 197, 94, 0.1) !important;
|
|
769
769
|
color: #166534;
|
|
770
|
-
}
|
|
770
|
+
}
|
|
771
771
|
.oip_tag.is_lime {
|
|
772
772
|
background: rgba(132, 204, 22, 0.1) !important;
|
|
773
773
|
color: #3f6212;
|
|
774
774
|
}
|
|
775
|
-
|
|
775
|
+
.oip_tag.is_yellow {
|
|
776
776
|
background: rgba(234, 179, 8, 0.1) !important;
|
|
777
777
|
color: #854d0e;
|
|
778
|
-
}
|
|
778
|
+
}
|
|
779
779
|
.oip_tag.is_amber {
|
|
780
780
|
background: rgba(245, 158, 11, 0.1) !important;
|
|
781
781
|
color: #92400e;
|
|
782
782
|
}
|
|
783
|
-
|
|
783
|
+
.oip_tag.is_orange {
|
|
784
784
|
background: rgba(249, 115, 22, 0.1) !important;
|
|
785
785
|
color: #9a3412;
|
|
786
|
-
}
|
|
786
|
+
}
|
|
787
787
|
|
|
788
788
|
.oip_tag.is_gray {
|
|
789
789
|
background: var(--background) !important;
|
|
@@ -793,18 +793,6 @@ button {
|
|
|
793
793
|
stroke: var(--cool-grey);
|
|
794
794
|
color: var(--cool-grey);
|
|
795
795
|
}
|
|
796
|
-
.oip_tag.is_light_red {
|
|
797
|
-
background: rgba(251, 70, 84, 0.1) !important;
|
|
798
|
-
color: var(--alert) !important;
|
|
799
|
-
}
|
|
800
|
-
.oip_tag.is_light_green {
|
|
801
|
-
background: rgba(50, 209, 117, 0.1) !important;
|
|
802
|
-
color: var(--success) !important;
|
|
803
|
-
}
|
|
804
|
-
.oip_tag.is_light_primary {
|
|
805
|
-
background: #e9f1ff !important;
|
|
806
|
-
color: var(--primary) !important;
|
|
807
|
-
}
|
|
808
796
|
.oip_tag .oip_tag__close {
|
|
809
797
|
display: inline-block;
|
|
810
798
|
cursor: pointer;
|
|
@@ -1007,4 +995,9 @@ button {
|
|
|
1007
995
|
align-items: flex-start;
|
|
1008
996
|
gap: 4px;
|
|
1009
997
|
}
|
|
998
|
+
|
|
999
|
+
.arg_page {
|
|
1000
|
+
height: 100%;
|
|
1001
|
+
width: 100%;
|
|
1002
|
+
}
|
|
1010
1003
|
</style>
|
|
@@ -18,7 +18,7 @@ export default defineComponent({
|
|
|
18
18
|
name: "argTags",
|
|
19
19
|
components: { argIcon, argStyle },
|
|
20
20
|
props: {
|
|
21
|
-
setStyle: { type: String, default: "
|
|
21
|
+
setStyle: { type: String, default: "gray" },
|
|
22
22
|
haveClose: { type: Boolean, default: false }
|
|
23
23
|
},
|
|
24
24
|
emits: ["onClose"],
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
class="arg_text_btn"
|
|
4
|
+
:class="`${textStyle}_text_btn`"
|
|
5
|
+
@click="sendAction()"
|
|
6
|
+
>
|
|
7
|
+
<slot />
|
|
8
|
+
</div>
|
|
9
|
+
</template>
|
|
10
|
+
|
|
11
|
+
<script>
|
|
12
|
+
import {
|
|
13
|
+
defineComponent
|
|
14
|
+
} from "vue";
|
|
15
|
+
export default defineComponent({
|
|
16
|
+
name: "argTextBtn",
|
|
17
|
+
props: {
|
|
18
|
+
textStyle: {
|
|
19
|
+
type: String,
|
|
20
|
+
default: "primary",
|
|
21
|
+
validator: (value) => {
|
|
22
|
+
return ["primary", "warning"].includes(value);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
emits: ["onClick"],
|
|
27
|
+
setup(props, { emit }) {
|
|
28
|
+
function sendAction() {
|
|
29
|
+
emit("onClick");
|
|
30
|
+
}
|
|
31
|
+
return { sendAction };
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
</script>
|
|
35
|
+
|
|
36
|
+
<style scoped>
|
|
37
|
+
.arg_text_btn {
|
|
38
|
+
font-size: 14px;
|
|
39
|
+
font-style: normal;
|
|
40
|
+
font-weight: 500;
|
|
41
|
+
line-height: normal;
|
|
42
|
+
text-decoration-line: underline;
|
|
43
|
+
cursor: pointer;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.primary_text_btn {
|
|
47
|
+
color: var(--primary) !important;
|
|
48
|
+
}
|
|
49
|
+
.primary_text_btn:hover {
|
|
50
|
+
color: var(--primary) !important;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.warning_text_btn {
|
|
54
|
+
color: var(--system-alert) !important;
|
|
55
|
+
}
|
|
56
|
+
.warning_text_btn:hover {
|
|
57
|
+
color: var(--system-alert-hover) !important;
|
|
58
|
+
}
|
|
59
|
+
</style>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
textStyle: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
validator: (value: string) => boolean;
|
|
6
|
+
};
|
|
7
|
+
}, {
|
|
8
|
+
sendAction: () => void;
|
|
9
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onClick"[], "onClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
+
textStyle: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
validator: (value: string) => boolean;
|
|
14
|
+
};
|
|
15
|
+
}>> & {
|
|
16
|
+
onOnClick?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
}, {
|
|
18
|
+
textStyle: string;
|
|
19
|
+
}, {}>;
|
|
20
|
+
export default _default;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
v-if="disable === false"
|
|
9
9
|
:class="`prmt_tooltip_text prmt_tooltip_text-${dir}`"
|
|
10
10
|
>
|
|
11
|
-
{{ tooltipText }}
|
|
11
|
+
<p>{{ tooltipText }}</p>
|
|
12
12
|
</div>
|
|
13
13
|
</div>
|
|
14
14
|
</template>
|
|
@@ -38,19 +38,20 @@ export default defineComponent({
|
|
|
38
38
|
|
|
39
39
|
.prmt_tooltip_text {
|
|
40
40
|
visibility: hidden;
|
|
41
|
-
|
|
41
|
+
width: fit-content;
|
|
42
|
+
max-width: 250px;
|
|
42
43
|
text-align: center;
|
|
43
44
|
background-color: var(--independence);
|
|
44
45
|
color: var(--pure-white);
|
|
45
|
-
border-radius:
|
|
46
|
+
border-radius: 4px;
|
|
46
47
|
position: absolute;
|
|
47
48
|
z-index: 2;
|
|
48
|
-
padding:
|
|
49
|
+
padding: 4px 12px;
|
|
49
50
|
margin-top: 4px;
|
|
50
51
|
font-weight: 400;
|
|
51
52
|
font-size: 14px;
|
|
52
53
|
line-height: 160%;
|
|
53
|
-
white-space:
|
|
54
|
+
white-space: nowrap;
|
|
54
55
|
}
|
|
55
56
|
|
|
56
57
|
.prmt_tooltip .prmt_tooltip_text-top {
|
|
@@ -58,51 +59,16 @@ export default defineComponent({
|
|
|
58
59
|
left: 50%;
|
|
59
60
|
margin-left: -72px;
|
|
60
61
|
}
|
|
61
|
-
.prmt_tooltip .prmt_tooltip_text-top::after {
|
|
62
|
-
content: "";
|
|
63
|
-
position: absolute;
|
|
64
|
-
padding: 1px;
|
|
65
|
-
top: 98%;
|
|
66
|
-
left: 50%;
|
|
67
|
-
margin-left: -8px;
|
|
68
|
-
border-width: 7px;
|
|
69
|
-
border-bottom-left-radius: 4px;
|
|
70
|
-
border-style: solid;
|
|
71
|
-
border-color: var(--independence) transparent transparent transparent;
|
|
72
|
-
}
|
|
73
62
|
|
|
74
63
|
.prmt_tooltip .prmt_tooltip_text-right {
|
|
75
|
-
top: -
|
|
64
|
+
top: -8px;
|
|
76
65
|
left: 110%;
|
|
77
|
-
margin-left:
|
|
66
|
+
margin-left: 16px;
|
|
78
67
|
}
|
|
79
|
-
.prmt_tooltip .prmt_tooltip_text-right::after {
|
|
80
|
-
content: "";
|
|
81
|
-
position: absolute;
|
|
82
|
-
padding: 1px;
|
|
83
|
-
top: 60%;
|
|
84
|
-
right: 99%; /* To the left of the tooltip */
|
|
85
|
-
margin-top: -11px;
|
|
86
|
-
border-width: 7px;
|
|
87
|
-
border-style: solid;
|
|
88
|
-
border-color: transparent var(--independence) transparent transparent;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
68
|
.prmt_tooltip .prmt_tooltip_text-left {
|
|
92
|
-
top:
|
|
69
|
+
top: -8px;
|
|
93
70
|
right: 110%;
|
|
94
|
-
margin-right:
|
|
95
|
-
}
|
|
96
|
-
.prmt_tooltip .prmt_tooltip_text-left::after {
|
|
97
|
-
content: "";
|
|
98
|
-
position: absolute;
|
|
99
|
-
padding: 1px;
|
|
100
|
-
top: 55%;
|
|
101
|
-
left: 99.5%;
|
|
102
|
-
margin-top: -10px;
|
|
103
|
-
border-width: 7px;
|
|
104
|
-
border-style: solid;
|
|
105
|
-
border-color: transparent transparent transparent var(--independence);
|
|
71
|
+
margin-right: 16px;
|
|
106
72
|
}
|
|
107
73
|
|
|
108
74
|
.prmt_tooltip .prmt_tooltip_text-bottom {
|
|
@@ -116,26 +82,4 @@ export default defineComponent({
|
|
|
116
82
|
left: 50%;
|
|
117
83
|
margin-left: -130px;
|
|
118
84
|
}
|
|
119
|
-
.prmt_tooltip.last_tooltip .prmt_tooltip_text-bottom::after {
|
|
120
|
-
content: "";
|
|
121
|
-
position: absolute;
|
|
122
|
-
padding: 1px;
|
|
123
|
-
bottom: 98%;
|
|
124
|
-
left: 90% !important;
|
|
125
|
-
margin-left: -5px;
|
|
126
|
-
border-width: 7px;
|
|
127
|
-
border-style: solid;
|
|
128
|
-
border-color: transparent transparent var(--independence) transparent;
|
|
129
|
-
}
|
|
130
|
-
.prmt_tooltip .prmt_tooltip_text-bottom::after {
|
|
131
|
-
content: "";
|
|
132
|
-
position: absolute;
|
|
133
|
-
padding: 1px;
|
|
134
|
-
bottom: 95%;
|
|
135
|
-
left: 50%;
|
|
136
|
-
margin-left: -5px;
|
|
137
|
-
border-width: 7px;
|
|
138
|
-
border-style: solid;
|
|
139
|
-
border-color: transparent transparent var(--independence) transparent;
|
|
140
|
-
}
|
|
141
85
|
</style>
|