@tekkare/auriga 0.2.124 → 0.2.125
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/argNoSavedScope.vue +21 -4
- package/dist/runtime/components/argNoSavedScope.vue.d.ts +9 -0
- package/dist/runtime/components/argNoSelectedScope.vue +22 -5
- package/dist/runtime/components/argNoSelectedScope.vue.d.ts +9 -0
- package/dist/runtime/components/argScopeChange.vue +19 -3
- package/dist/runtime/components/argScopeChange.vue.d.ts +9 -0
- package/dist/runtime/components/argScopeCriteria.vue +12 -5
- package/dist/runtime/components/argScopeCriteria.vue.d.ts +9 -0
- package/dist/runtime/components/argScopeCriteriaIndicator.vue +3 -2
- package/dist/runtime/components/argScopeCriteriaIndicator.vue.d.ts +9 -0
- package/dist/runtime/components/argScopeHeader.vue +11 -1
- package/dist/runtime/components/argScopeHeader.vue.d.ts +9 -0
- package/dist/runtime/components/argScopeManage.vue +3 -2
- package/dist/runtime/components/argScopeManage.vue.d.ts +9 -0
- package/dist/runtime/components/argScopeModal.vue +6 -3
- package/dist/runtime/components/argScopeModal.vue.d.ts +9 -0
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -1,13 +1,29 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
3
|
<div class="no_scope_text">
|
|
4
|
-
<p>
|
|
4
|
+
<p>
|
|
5
|
+
{{
|
|
6
|
+
isScenario
|
|
7
|
+
? noScopeText?.replaceAll(RegExp("scope", "gi"), "scenario")
|
|
8
|
+
: noScopeText
|
|
9
|
+
}}
|
|
10
|
+
</p>
|
|
5
11
|
<ul>
|
|
6
12
|
<li v-for="(step, index) in saveScopeSteps" :key="index">
|
|
7
|
-
{{
|
|
13
|
+
{{
|
|
14
|
+
isScenario
|
|
15
|
+
? step?.replaceAll(RegExp("scope", "gi"), "scenario")
|
|
16
|
+
: step
|
|
17
|
+
}}
|
|
8
18
|
</li>
|
|
9
19
|
</ul>
|
|
10
|
-
<p>
|
|
20
|
+
<p>
|
|
21
|
+
{{
|
|
22
|
+
isScenario
|
|
23
|
+
? noScopeEnd?.replaceAll(RegExp("scope", "gi"), "scenario")
|
|
24
|
+
: noScopeEnd
|
|
25
|
+
}}
|
|
26
|
+
</p>
|
|
11
27
|
</div>
|
|
12
28
|
</div>
|
|
13
29
|
</template>
|
|
@@ -29,7 +45,8 @@ export default defineComponent({
|
|
|
29
45
|
validator: (value) => {
|
|
30
46
|
return ["en", "fr", "es", "jp", "kr"].includes(value);
|
|
31
47
|
}
|
|
32
|
-
}
|
|
48
|
+
},
|
|
49
|
+
isScenario: { type: Boolean, default: false }
|
|
33
50
|
},
|
|
34
51
|
setup(props) {
|
|
35
52
|
const langData = ref(null);
|
|
@@ -4,6 +4,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4
4
|
default: string;
|
|
5
5
|
validator: (value: string) => boolean;
|
|
6
6
|
};
|
|
7
|
+
isScenario: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
7
11
|
}>, {
|
|
8
12
|
noScopeText: import("vue").ComputedRef<any>;
|
|
9
13
|
saveScopeSteps: import("vue").ComputedRef<any[]>;
|
|
@@ -15,7 +19,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
15
19
|
default: string;
|
|
16
20
|
validator: (value: string) => boolean;
|
|
17
21
|
};
|
|
22
|
+
isScenario: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
18
26
|
}>> & Readonly<{}>, {
|
|
19
27
|
lang: string;
|
|
28
|
+
isScenario: boolean;
|
|
20
29
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
21
30
|
export default _default;
|
|
@@ -5,12 +5,20 @@
|
|
|
5
5
|
<arg-icon name="CrosshairSimple" size="32" />
|
|
6
6
|
</div>
|
|
7
7
|
<div class="arg_no_scope_text">
|
|
8
|
-
{{
|
|
8
|
+
{{
|
|
9
|
+
isScenario
|
|
10
|
+
? getNoScopeMsg?.replaceAll(RegExp("scope", "gi"), "scenario")
|
|
11
|
+
: getNoScopeMsg
|
|
12
|
+
}}
|
|
9
13
|
</div>
|
|
10
14
|
<div v-if="scopeArray.length > 0" class="arg_scopes_select">
|
|
11
15
|
<div class="oip_row v-center justify-between full_row">
|
|
12
16
|
<p class="args_select_title">
|
|
13
|
-
{{
|
|
17
|
+
{{
|
|
18
|
+
isScenario
|
|
19
|
+
? langData?.exist?.replaceAll(RegExp("scope", "gi"), "scenario")
|
|
20
|
+
: langData?.exist
|
|
21
|
+
}}
|
|
14
22
|
</p>
|
|
15
23
|
<slot name="manage" />
|
|
16
24
|
</div>
|
|
@@ -27,7 +35,11 @@
|
|
|
27
35
|
size="m"
|
|
28
36
|
full-width
|
|
29
37
|
@onClick="selectScope"
|
|
30
|
-
>{{
|
|
38
|
+
>{{
|
|
39
|
+
isScenario
|
|
40
|
+
? langData?.apply?.replaceAll(RegExp("scope", "gi"), "scenario")
|
|
41
|
+
: langData?.apply
|
|
42
|
+
}}</arg-btn
|
|
31
43
|
>
|
|
32
44
|
<div
|
|
33
45
|
v-if="scopeArray.length > 0"
|
|
@@ -42,7 +54,11 @@
|
|
|
42
54
|
size="m"
|
|
43
55
|
full-width
|
|
44
56
|
@onClick="createNewScope"
|
|
45
|
-
>{{
|
|
57
|
+
>{{
|
|
58
|
+
isScenario
|
|
59
|
+
? langData?.new?.replaceAll(RegExp("scope", "gi"), "scenario")
|
|
60
|
+
: langData?.new
|
|
61
|
+
}}</arg-btn
|
|
46
62
|
>
|
|
47
63
|
</div>
|
|
48
64
|
</div>
|
|
@@ -73,7 +89,8 @@ export default defineComponent({
|
|
|
73
89
|
scopeArray: {
|
|
74
90
|
type: Array,
|
|
75
91
|
default: () => []
|
|
76
|
-
}
|
|
92
|
+
},
|
|
93
|
+
isScenario: { type: Boolean, default: false }
|
|
77
94
|
},
|
|
78
95
|
emits: ["onSelectScope", "update:Scope", "onCreateScope"],
|
|
79
96
|
setup(props, { emit }) {
|
|
@@ -8,6 +8,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
8
8
|
type: ArrayConstructor;
|
|
9
9
|
default: () => never[];
|
|
10
10
|
};
|
|
11
|
+
isScenario: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
11
15
|
}>, {
|
|
12
16
|
getNoScopeMsg: import("vue").ComputedRef<any>;
|
|
13
17
|
selectedScope: import("vue").Ref<any, any>;
|
|
@@ -24,12 +28,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
24
28
|
type: ArrayConstructor;
|
|
25
29
|
default: () => never[];
|
|
26
30
|
};
|
|
31
|
+
isScenario: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
27
35
|
}>> & Readonly<{
|
|
28
36
|
onOnSelectScope?: ((...args: any[]) => any) | undefined;
|
|
29
37
|
"onUpdate:Scope"?: ((...args: any[]) => any) | undefined;
|
|
30
38
|
onOnCreateScope?: ((...args: any[]) => any) | undefined;
|
|
31
39
|
}>, {
|
|
32
40
|
lang: string;
|
|
41
|
+
isScenario: boolean;
|
|
33
42
|
scopeArray: unknown[];
|
|
34
43
|
}, {}, {
|
|
35
44
|
argIcon: any;
|
|
@@ -22,7 +22,13 @@
|
|
|
22
22
|
full-width
|
|
23
23
|
@onClick="saveScope()"
|
|
24
24
|
prefix-icon="BoxArrowDown"
|
|
25
|
-
>{{
|
|
25
|
+
>{{
|
|
26
|
+
saveMsg !== null
|
|
27
|
+
? saveMsg
|
|
28
|
+
: isScenario
|
|
29
|
+
? langData?.save?.replaceAll(RegExp("scope", "gi"), "scenario")
|
|
30
|
+
: langData?.save
|
|
31
|
+
}}</arg-btn
|
|
26
32
|
>
|
|
27
33
|
<arg-btn
|
|
28
34
|
v-if="createNew"
|
|
@@ -31,7 +37,11 @@
|
|
|
31
37
|
full-width
|
|
32
38
|
@onClick="newScope()"
|
|
33
39
|
prefix-icon="PlusCircle"
|
|
34
|
-
>{{
|
|
40
|
+
>{{
|
|
41
|
+
isScenario
|
|
42
|
+
? langData?.new?.replaceAll(RegExp("scope", "gi"), "scenario")
|
|
43
|
+
: langData?.new
|
|
44
|
+
}}</arg-btn
|
|
35
45
|
>
|
|
36
46
|
</div>
|
|
37
47
|
<div class="oip_scope_list">
|
|
@@ -117,6 +127,10 @@ export default defineComponent({
|
|
|
117
127
|
customActions: {
|
|
118
128
|
type: Boolean,
|
|
119
129
|
default: false
|
|
130
|
+
},
|
|
131
|
+
isScenario: {
|
|
132
|
+
type: Boolean,
|
|
133
|
+
default: false
|
|
120
134
|
}
|
|
121
135
|
},
|
|
122
136
|
emits: ["changeScope", "update:Scope", "onNewScope", "onSave"],
|
|
@@ -157,7 +171,9 @@ export default defineComponent({
|
|
|
157
171
|
}
|
|
158
172
|
);
|
|
159
173
|
const getTitle = computed(() => {
|
|
160
|
-
if (props.
|
|
174
|
+
if (props.isScenario) {
|
|
175
|
+
return props.scopes.length === 0 ? "+ New scenario" : "Change scenario";
|
|
176
|
+
} else if (props.scopes.length > 0 || props.scopes.length === 0 && props.showActions) {
|
|
161
177
|
return langData.value?.change;
|
|
162
178
|
} else
|
|
163
179
|
return langData.value?.apply;
|
|
@@ -54,6 +54,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
54
54
|
type: BooleanConstructor;
|
|
55
55
|
default: boolean;
|
|
56
56
|
};
|
|
57
|
+
isScenario: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
57
61
|
}>, {
|
|
58
62
|
isDisplay: import("vue").Ref<boolean, boolean>;
|
|
59
63
|
closeDropdown: () => void;
|
|
@@ -120,6 +124,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
120
124
|
type: BooleanConstructor;
|
|
121
125
|
default: boolean;
|
|
122
126
|
};
|
|
127
|
+
isScenario: {
|
|
128
|
+
type: BooleanConstructor;
|
|
129
|
+
default: boolean;
|
|
130
|
+
};
|
|
123
131
|
}>> & Readonly<{
|
|
124
132
|
"onUpdate:Scope"?: ((...args: any[]) => any) | undefined;
|
|
125
133
|
onChangeScope?: ((...args: any[]) => any) | undefined;
|
|
@@ -128,6 +136,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
128
136
|
}>, {
|
|
129
137
|
lang: string;
|
|
130
138
|
save: boolean;
|
|
139
|
+
isScenario: boolean;
|
|
131
140
|
active_scope: Record<string, any>;
|
|
132
141
|
custom_active: boolean;
|
|
133
142
|
createNew: boolean;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<div v-show="activeTab === 'new'" class="arg_scope_new">
|
|
10
10
|
<div class="oip_row v-center gap-8">
|
|
11
11
|
<h1>
|
|
12
|
-
{{ langData?.title }}
|
|
12
|
+
{{ isScenario ? "Scenario criteria" : langData?.title }}
|
|
13
13
|
</h1>
|
|
14
14
|
<slot name="filtersAmount" />
|
|
15
15
|
</div>
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<div v-show="!onlyNew && activeTab === 'saved'" class="arg_scope_save">
|
|
21
21
|
<div class="oip_row v-center gap-8">
|
|
22
22
|
<h1>
|
|
23
|
-
{{ langData?.saved }}
|
|
23
|
+
{{ isScenario ? "Your saved scenarios" : langData?.saved }}
|
|
24
24
|
</h1>
|
|
25
25
|
<slot name="scopeAmount" />
|
|
26
26
|
</div>
|
|
@@ -49,7 +49,8 @@ export default defineComponent({
|
|
|
49
49
|
return ["en", "fr", "es", "jp", "kr"].includes(value);
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
|
-
onlyNew: { type: Boolean, default: false }
|
|
52
|
+
onlyNew: { type: Boolean, default: false },
|
|
53
|
+
isScenario: { type: Boolean, default: false }
|
|
53
54
|
},
|
|
54
55
|
emits: ["update:Criteria", "onChangeCriteria"],
|
|
55
56
|
setup(props, { emit }) {
|
|
@@ -82,8 +83,14 @@ export default defineComponent({
|
|
|
82
83
|
);
|
|
83
84
|
const scopeTabs = computed(() => {
|
|
84
85
|
return [
|
|
85
|
-
{
|
|
86
|
-
|
|
86
|
+
{
|
|
87
|
+
name: props.isScenario ? "New scenario criteria" : langData.value?.tabs.new,
|
|
88
|
+
value: "new"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
name: props.isScenario ? "Apply an existing scenario" : langData.value?.tabs.saved,
|
|
92
|
+
value: "saved"
|
|
93
|
+
}
|
|
87
94
|
];
|
|
88
95
|
});
|
|
89
96
|
return { activeTab, scopeTabs, langData };
|
|
@@ -8,6 +8,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
8
8
|
type: BooleanConstructor;
|
|
9
9
|
default: boolean;
|
|
10
10
|
};
|
|
11
|
+
isScenario: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
11
15
|
}>, {
|
|
12
16
|
activeTab: import("vue").Ref<string, string>;
|
|
13
17
|
scopeTabs: import("vue").ComputedRef<{
|
|
@@ -25,11 +29,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
25
29
|
type: BooleanConstructor;
|
|
26
30
|
default: boolean;
|
|
27
31
|
};
|
|
32
|
+
isScenario: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
28
36
|
}>> & Readonly<{
|
|
29
37
|
"onUpdate:Criteria"?: ((...args: any[]) => any) | undefined;
|
|
30
38
|
onOnChangeCriteria?: ((...args: any[]) => any) | undefined;
|
|
31
39
|
}>, {
|
|
32
40
|
lang: string;
|
|
41
|
+
isScenario: boolean;
|
|
33
42
|
onlyNew: boolean;
|
|
34
43
|
}, {}, {
|
|
35
44
|
argFilterTabs: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="criteria_section">
|
|
3
3
|
<p class="arg_scope_label">
|
|
4
|
-
{{ langData?.apply }}
|
|
4
|
+
{{ isScenario ? "Applied scenario" : langData?.apply }}
|
|
5
5
|
</p>
|
|
6
6
|
<p class="arg_scope">
|
|
7
7
|
{{ selected !== null ? selected : langData?.custom }}
|
|
@@ -29,7 +29,8 @@ export default defineComponent({
|
|
|
29
29
|
validator: (value) => {
|
|
30
30
|
return ["en", "fr", "es", "jp", "kr"].includes(value);
|
|
31
31
|
}
|
|
32
|
-
}
|
|
32
|
+
},
|
|
33
|
+
isScenario: { type: Boolean, default: false }
|
|
33
34
|
},
|
|
34
35
|
setup(props) {
|
|
35
36
|
const langData = ref(null);
|
|
@@ -8,6 +8,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
8
8
|
default: string;
|
|
9
9
|
validator: (value: string) => boolean;
|
|
10
10
|
};
|
|
11
|
+
isScenario: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
11
15
|
}>, {
|
|
12
16
|
langData: import("vue").Ref<any, any>;
|
|
13
17
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -20,8 +24,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
20
24
|
default: string;
|
|
21
25
|
validator: (value: string) => boolean;
|
|
22
26
|
};
|
|
27
|
+
isScenario: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
23
31
|
}>> & Readonly<{}>, {
|
|
24
32
|
lang: string;
|
|
25
33
|
selected: string;
|
|
34
|
+
isScenario: boolean;
|
|
26
35
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
27
36
|
export default _default;
|
|
@@ -3,7 +3,13 @@
|
|
|
3
3
|
<div class="oip_row v-center gap-16">
|
|
4
4
|
<arg-actions :lang="lang" action-type="cancel" @onAction="goBack()" />
|
|
5
5
|
<h1 class="scope_title">
|
|
6
|
-
{{
|
|
6
|
+
{{
|
|
7
|
+
scopeTitle !== null
|
|
8
|
+
? scopeTitle
|
|
9
|
+
: isScenario
|
|
10
|
+
? "My scenarios"
|
|
11
|
+
: langData
|
|
12
|
+
}}
|
|
7
13
|
</h1>
|
|
8
14
|
</div>
|
|
9
15
|
<div class="oip_row v-center gap-16">
|
|
@@ -29,6 +35,10 @@ export default defineComponent({
|
|
|
29
35
|
type: String,
|
|
30
36
|
default: null
|
|
31
37
|
},
|
|
38
|
+
isScenario: {
|
|
39
|
+
type: Boolean,
|
|
40
|
+
default: false
|
|
41
|
+
},
|
|
32
42
|
lang: {
|
|
33
43
|
type: String,
|
|
34
44
|
default: "en",
|
|
@@ -3,6 +3,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
default: null;
|
|
5
5
|
};
|
|
6
|
+
isScenario: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
6
10
|
lang: {
|
|
7
11
|
type: StringConstructor;
|
|
8
12
|
default: string;
|
|
@@ -22,6 +26,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
22
26
|
type: StringConstructor;
|
|
23
27
|
default: null;
|
|
24
28
|
};
|
|
29
|
+
isScenario: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
25
33
|
lang: {
|
|
26
34
|
type: StringConstructor;
|
|
27
35
|
default: string;
|
|
@@ -34,6 +42,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
34
42
|
};
|
|
35
43
|
}>> & Readonly<{}>, {
|
|
36
44
|
lang: string;
|
|
45
|
+
isScenario: boolean;
|
|
37
46
|
scopeTitle: string;
|
|
38
47
|
cancelLink: string;
|
|
39
48
|
}, {}, {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<div class="arg_scope_manage_modal">
|
|
5
5
|
<div class="arg_scope_manage_header">
|
|
6
6
|
<h1>
|
|
7
|
-
{{ langData?.title }}
|
|
7
|
+
{{ isScenario ? "Manage my scenarios" : langData?.title }}
|
|
8
8
|
</h1>
|
|
9
9
|
<div class="cursor-pointer" @click="closeManageScope()">
|
|
10
10
|
<arg-icon name="X" size="16" color="var(--dark)" />
|
|
@@ -120,7 +120,8 @@ export default defineComponent({
|
|
|
120
120
|
reloadingScopes: {
|
|
121
121
|
type: Boolean,
|
|
122
122
|
default: false
|
|
123
|
-
}
|
|
123
|
+
},
|
|
124
|
+
isScenario: { type: Boolean, default: false }
|
|
124
125
|
},
|
|
125
126
|
emits: ["onDelete", "onClose"],
|
|
126
127
|
setup(props, { emit }) {
|
|
@@ -12,6 +12,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
12
12
|
type: BooleanConstructor;
|
|
13
13
|
default: boolean;
|
|
14
14
|
};
|
|
15
|
+
isScenario: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
15
19
|
}>, {
|
|
16
20
|
getScopeCriteria: (scope: any) => any;
|
|
17
21
|
closeManageScope: () => void;
|
|
@@ -32,11 +36,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
32
36
|
type: BooleanConstructor;
|
|
33
37
|
default: boolean;
|
|
34
38
|
};
|
|
39
|
+
isScenario: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
35
43
|
}>> & Readonly<{
|
|
36
44
|
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
37
45
|
onOnDelete?: ((...args: any[]) => any) | undefined;
|
|
38
46
|
}>, {
|
|
39
47
|
lang: string;
|
|
48
|
+
isScenario: boolean;
|
|
40
49
|
reloadingScopes: boolean;
|
|
41
50
|
}, {}, {
|
|
42
51
|
argBtn: any;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<div class="arg_save_modal">
|
|
5
5
|
<div class="arg_save_header">
|
|
6
6
|
<h1>
|
|
7
|
-
{{ langData?.title }}
|
|
7
|
+
{{ isScenario ? "Save my scenario" : langData?.title }}
|
|
8
8
|
</h1>
|
|
9
9
|
<div class="cursor-pointer" @click="closeSaveScope()">
|
|
10
10
|
<arg-icon name="X" size="16" color="var(--dark)" />
|
|
@@ -76,7 +76,9 @@
|
|
|
76
76
|
btn-style="primary-fill"
|
|
77
77
|
full-width
|
|
78
78
|
@onClick="saveScope"
|
|
79
|
-
>{{
|
|
79
|
+
>{{
|
|
80
|
+
isScenario ? "Save scenario and continue" : langData?.save
|
|
81
|
+
}}</arg-btn
|
|
80
82
|
>
|
|
81
83
|
</div>
|
|
82
84
|
</div>
|
|
@@ -112,7 +114,8 @@ export default defineComponent({
|
|
|
112
114
|
validator: (value) => {
|
|
113
115
|
return ["en", "fr", "es", "jp", "kr"].includes(value);
|
|
114
116
|
}
|
|
115
|
-
}
|
|
117
|
+
},
|
|
118
|
+
isScenario: { type: Boolean, default: false }
|
|
116
119
|
},
|
|
117
120
|
emits: ["onClose", "onSave"],
|
|
118
121
|
setup(props, { emit }) {
|
|
@@ -21,6 +21,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
21
21
|
default: string;
|
|
22
22
|
validator: (value: string) => boolean;
|
|
23
23
|
};
|
|
24
|
+
isScenario: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
24
28
|
}>, {
|
|
25
29
|
closeSaveScope: () => void;
|
|
26
30
|
saveScope: () => void;
|
|
@@ -53,11 +57,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
53
57
|
default: string;
|
|
54
58
|
validator: (value: string) => boolean;
|
|
55
59
|
};
|
|
60
|
+
isScenario: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
56
64
|
}>> & Readonly<{
|
|
57
65
|
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
58
66
|
onOnSave?: ((...args: any[]) => any) | undefined;
|
|
59
67
|
}>, {
|
|
60
68
|
lang: string;
|
|
69
|
+
isScenario: boolean;
|
|
61
70
|
}, {}, {
|
|
62
71
|
argTags: any;
|
|
63
72
|
argIcon: any;
|