@tekkare/auriga 0.1.27 → 0.1.29

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.
Files changed (43) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/allIcons.vue +4 -1
  3. package/dist/runtime/components/argActions.vue +57 -64
  4. package/dist/runtime/components/argActions.vue.d.ts +2 -16
  5. package/dist/runtime/components/argAdvancedSearchBar.vue.d.ts +2 -2
  6. package/dist/runtime/components/argBtn.vue +11 -4
  7. package/dist/runtime/components/argBtn.vue.d.ts +9 -0
  8. package/dist/runtime/components/argChart.vue +31 -3
  9. package/dist/runtime/components/argFileBtn.vue.d.ts +2 -2
  10. package/dist/runtime/components/argFlag.vue.d.ts +1 -1
  11. package/dist/runtime/components/argHomeAllBlocks.vue +201 -0
  12. package/dist/runtime/components/argHomeAllBlocks.vue.d.ts +89 -0
  13. package/dist/runtime/components/argHomeContent.vue +46 -0
  14. package/dist/runtime/components/argHomeContent.vue.d.ts +2 -0
  15. package/dist/runtime/components/argHomeHeader.vue +82 -0
  16. package/dist/runtime/components/argHomeHeader.vue.d.ts +33 -0
  17. package/dist/runtime/components/argHomeKpis.vue +73 -0
  18. package/dist/runtime/components/argHomeKpis.vue.d.ts +38 -0
  19. package/dist/runtime/components/argHomeLayout.vue +38 -0
  20. package/dist/runtime/components/argHomeLayout.vue.d.ts +2 -0
  21. package/dist/runtime/components/argHomeSelectedBlock.vue +94 -0
  22. package/dist/runtime/components/argHomeSelectedBlock.vue.d.ts +14 -0
  23. package/dist/runtime/components/argIcon.vue +2 -0
  24. package/dist/runtime/components/argIcon.vue.d.ts +1 -0
  25. package/dist/runtime/components/argLangSelect.vue +141 -0
  26. package/dist/runtime/components/argLangSelect.vue.d.ts +55 -0
  27. package/dist/runtime/components/argScopeHeader.vue +1 -5
  28. package/dist/runtime/components/argScopeHeader.vue.d.ts +0 -9
  29. package/dist/runtime/components/argScopeLayout.vue +2 -28
  30. package/dist/runtime/components/argScopeLayout.vue.d.ts +1 -13
  31. package/dist/runtime/components/argScopeManage.vue +248 -0
  32. package/dist/runtime/components/argScopeManage.vue.d.ts +32 -0
  33. package/dist/runtime/components/argScopeModal.vue +6 -4
  34. package/dist/runtime/components/argSimpleLabel.vue +8 -0
  35. package/dist/runtime/components/argSimpleLabel.vue.d.ts +1 -1
  36. package/dist/runtime/components/argStyle.vue +60 -20
  37. package/dist/runtime/components/argStyle.vue.d.ts +1 -1
  38. package/dist/runtime/components/argSubMenu.vue +3 -0
  39. package/dist/runtime/components/argTable.vue.d.ts +1 -1
  40. package/dist/runtime/components/argTextBtn.vue +13 -2
  41. package/dist/runtime/components/argTextBtn.vue.d.ts +9 -0
  42. package/dist/runtime/components/argTutoModal.vue +1 -1
  43. package/package.json +1 -1
@@ -0,0 +1,141 @@
1
+ <template>
2
+ <div
3
+ v-if="langs.length > 0"
4
+ class="language_container"
5
+ :class="showLangOptions ? 'active_lang' : ''"
6
+ @click="showLangOptions = !showLangOptions"
7
+ >
8
+ <div class="oip_row v-center gap-8 justify-between">
9
+ <div class="oip_row v-center gap-4">
10
+ <arg-flag :iso="selectedItem.iso" height="16" emoji />
11
+ <p>
12
+ {{ langs.filter((f) => f.iso === selectedItem.iso)[0].title }}
13
+ </p>
14
+ </div>
15
+ <arg-icon
16
+ name="CaretDown"
17
+ size="14"
18
+ class="lang_choice_icon"
19
+ :class="showLangOptions ? 'icon-rotate' : ''"
20
+ />
21
+ </div>
22
+ <div v-if="showLangOptions" class="lang_choice_container">
23
+ <div
24
+ v-for="(lang, index) in langs.filter((f) => f.iso !== selectedItem.iso)"
25
+ :key="index"
26
+ class="oip_row v-center gap-4 lang-choice"
27
+ @click="selectLang(lang)"
28
+ >
29
+ <arg-flag :iso="lang.iso" height="16" emoji />
30
+ <p>{{ lang.title }}</p>
31
+ </div>
32
+ </div>
33
+ </div>
34
+ </template>
35
+
36
+ <script>
37
+ import {
38
+ onMounted,
39
+ ref,
40
+ defineComponent
41
+ } from "vue";
42
+ import argIcon from "./argIcon.vue";
43
+ import argFlag from "./argFlag.vue";
44
+ export default defineComponent({
45
+ name: "argLangSelect",
46
+ components: { argIcon, argFlag },
47
+ props: {
48
+ langs: {
49
+ type: Array,
50
+ required: true
51
+ },
52
+ default_locale: {
53
+ type: String,
54
+ default: "fr"
55
+ }
56
+ },
57
+ emits: ["onSelectLang", "update:Lang"],
58
+ setup(props, { emit }) {
59
+ const showLangOptions = ref(false);
60
+ const selectedItem = ref({
61
+ title: "Fran\xE7ais",
62
+ iso: "fr",
63
+ locale: "fr"
64
+ });
65
+ onMounted(() => {
66
+ selectedItem.value = props.langs[props.langs.findIndex((a) => a.locale === props.default_locale)];
67
+ });
68
+ function selectLang(item) {
69
+ selectedItem.value = item;
70
+ emit("onSelectLang", item);
71
+ emit("update:Lang", item.locale);
72
+ }
73
+ return {
74
+ selectedItem,
75
+ showLangOptions,
76
+ selectLang
77
+ };
78
+ }
79
+ });
80
+ </script>
81
+
82
+ <style scoped>
83
+ .language_container {
84
+ cursor: pointer;
85
+ border: 1.5px solid transparent;
86
+ border-radius: 8px;
87
+ padding: 11px 8px;
88
+ position: relative;
89
+ background: rgba(253, 253, 255, 0.8);
90
+ border: 1.5px solid transparent;
91
+ z-index: 99;
92
+ }
93
+ .language_container:hover svg {
94
+ color: var(--primary) !important;
95
+ }
96
+
97
+ .lang_choice_container {
98
+ padding: 20px 12px 10px 8px;
99
+ left: -1px;
100
+ position: absolute;
101
+ background: rgba(253, 253, 255, 0.8);
102
+ border-top: none !important;
103
+ border: 1.5px solid transparent;
104
+ border-radius: 8px;
105
+ border-top-left-radius: 0px !important;
106
+ border-top-right-radius: 0px !important;
107
+ width: calc(100% - 20px);
108
+ }
109
+ .lang_choice_container.set-width {
110
+ width: 102% !important;
111
+ }
112
+
113
+ .active_lang .lang_choice_container {
114
+ border-top: none !important;
115
+ }
116
+
117
+ .lang_choice_container:hover {
118
+ color: var(--primary) !important;
119
+ }
120
+
121
+ .lang_choice_icon {
122
+ transition: transform 0.3s;
123
+ flex-shrink: 0;
124
+ }
125
+
126
+ .icon-rotate {
127
+ transform: rotate(-180deg);
128
+ }
129
+
130
+ p {
131
+ font-size: 14px;
132
+ font-style: normal;
133
+ font-weight: 400;
134
+ line-height: 160%;
135
+ white-space: nowrap;
136
+ }
137
+
138
+ .lang-choice:hover p {
139
+ color: var(--primary) !important;
140
+ }
141
+ </style>
@@ -0,0 +1,55 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ langs: {
3
+ type: {
4
+ (arrayLength: number): Object[];
5
+ (...items: Object[]): Object[];
6
+ new (arrayLength: number): Object[];
7
+ new (...items: Object[]): Object[];
8
+ isArray(arg: any): arg is any[];
9
+ readonly prototype: any[];
10
+ from<T>(arrayLike: ArrayLike<T>): T[];
11
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
12
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
13
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
14
+ of<T_4>(...items: T_4[]): T_4[];
15
+ readonly [Symbol.species]: ArrayConstructor;
16
+ };
17
+ required: true;
18
+ };
19
+ default_locale: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ }, {
24
+ selectedItem: any;
25
+ showLangOptions: import("vue").Ref<boolean>;
26
+ selectLang: (item: any) => void;
27
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onSelectLang" | "update:Lang")[], "onSelectLang" | "update:Lang", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
28
+ langs: {
29
+ type: {
30
+ (arrayLength: number): Object[];
31
+ (...items: Object[]): Object[];
32
+ new (arrayLength: number): Object[];
33
+ new (...items: Object[]): Object[];
34
+ isArray(arg: any): arg is any[];
35
+ readonly prototype: any[];
36
+ from<T>(arrayLike: ArrayLike<T>): T[];
37
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
38
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
39
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
40
+ of<T_4>(...items: T_4[]): T_4[];
41
+ readonly [Symbol.species]: ArrayConstructor;
42
+ };
43
+ required: true;
44
+ };
45
+ default_locale: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
49
+ }>> & {
50
+ onOnSelectLang?: ((...args: any[]) => any) | undefined;
51
+ "onUpdate:Lang"?: ((...args: any[]) => any) | undefined;
52
+ }, {
53
+ default_locale: string;
54
+ }, {}>;
55
+ export default _default;
@@ -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" @onCancel="goBack()" />
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">
@@ -24,10 +24,6 @@ export default defineComponent({
24
24
  type: String,
25
25
  default: "My scope"
26
26
  },
27
- noSelection: {
28
- type: Boolean,
29
- default: true
30
- },
31
27
  lang: {
32
28
  type: String,
33
29
  default: "en",
@@ -3,10 +3,6 @@ declare const _default: import("vue").DefineComponent<{
3
3
  type: StringConstructor;
4
4
  default: string;
5
5
  };
6
- noSelection: {
7
- type: BooleanConstructor;
8
- default: boolean;
9
- };
10
6
  lang: {
11
7
  type: StringConstructor;
12
8
  default: string;
@@ -20,10 +16,6 @@ declare const _default: import("vue").DefineComponent<{
20
16
  type: StringConstructor;
21
17
  default: string;
22
18
  };
23
- noSelection: {
24
- type: BooleanConstructor;
25
- default: boolean;
26
- };
27
19
  lang: {
28
20
  type: StringConstructor;
29
21
  default: string;
@@ -32,6 +24,5 @@ declare const _default: import("vue").DefineComponent<{
32
24
  }>>, {
33
25
  lang: string;
34
26
  scopeTitle: string;
35
- noSelection: boolean;
36
27
  }, {}>;
37
28
  export default _default;
@@ -1,4 +1,5 @@
1
1
  <template>
2
+ <client-only><arg-style /></client-only>
2
3
  <div class="arg_main_scope">
3
4
  <slot name="header" />
4
5
  <div class="arg_scope_layout_body">
@@ -9,40 +10,13 @@
9
10
  </template>
10
11
  <script>
11
12
  import {
12
- onMounted,
13
13
  defineComponent
14
14
  } from "vue";
15
- import argIcon from "./argIcon.vue";
16
15
  import argStyle from "./argStyle.vue";
17
16
  import argFooter from "./argFooter.vue";
18
17
  export default defineComponent({
19
18
  name: "argScopeLayout",
20
- components: { argIcon, argStyle, argFooter },
21
- props: {
22
- sidebarOpen: {
23
- type: Boolean,
24
- default: true
25
- }
26
- },
27
- setup() {
28
- onMounted(() => {
29
- adjustMarginForBody();
30
- window.addEventListener("resize", adjustMarginForBody);
31
- });
32
- function adjustMarginForBody() {
33
- const fixedHeader = document.getElementById("arg_header");
34
- const bodyContent = document.getElementById("arg_main_layout_section");
35
- const infoBar = document.getElementById("arg_info_section");
36
- if (fixedHeader && bodyContent) {
37
- const headerHeight = fixedHeader.offsetHeight;
38
- bodyContent.style.marginTop = `${headerHeight}px`;
39
- }
40
- if (fixedHeader && infoBar) {
41
- const headerHeight = fixedHeader.offsetHeight;
42
- infoBar.style.top = `${headerHeight + 8}px`;
43
- }
44
- }
45
- }
19
+ components: { argStyle, argFooter }
46
20
  });
47
21
  </script>
48
22
  <style>
@@ -1,14 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- sidebarOpen: {
3
- type: BooleanConstructor;
4
- default: boolean;
5
- };
6
- }, void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
- sidebarOpen: {
8
- type: BooleanConstructor;
9
- default: boolean;
10
- };
11
- }>>, {
12
- sidebarOpen: boolean;
13
- }, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
14
2
  export default _default;
@@ -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="light_grey"
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
- btn-style="skeleton"
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: calc(100% - 24px);
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
- }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
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;