@tekkare/auriga 0.1.119 → 0.1.121
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
CHANGED
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
>
|
|
7
7
|
<div
|
|
8
8
|
:style="
|
|
9
|
-
isDisplay === false || scopes.length === 0
|
|
9
|
+
isDisplay === false || (scopes.length === 0 && !showActions)
|
|
10
|
+
? 'display : none'
|
|
11
|
+
: ''
|
|
10
12
|
"
|
|
11
13
|
class="scope_select_dropdown_block"
|
|
12
14
|
>
|
|
@@ -114,6 +116,10 @@ export default defineComponent({
|
|
|
114
116
|
clearMsg: {
|
|
115
117
|
type: String,
|
|
116
118
|
default: null
|
|
119
|
+
},
|
|
120
|
+
showActions: {
|
|
121
|
+
type: Boolean,
|
|
122
|
+
default: false
|
|
117
123
|
}
|
|
118
124
|
},
|
|
119
125
|
emits: ["changeScope", "update:Scope", "onNewScope", "onClear"],
|
|
@@ -135,10 +141,10 @@ export default defineComponent({
|
|
|
135
141
|
}
|
|
136
142
|
);
|
|
137
143
|
const getTitle = computed(() => {
|
|
138
|
-
if (props.scopes.length > 0) {
|
|
144
|
+
if (props.scopes.length > 0 || props.scopes.length === 0 && props.showActions) {
|
|
139
145
|
return props.lang === "en" ? "My scope" : props.lang === "es" ? "Mi scope" : "Mon scope";
|
|
140
146
|
} else
|
|
141
|
-
return props.lang === "en" ? "New scope" : props.lang === "
|
|
147
|
+
return props.lang === "en" ? "New scope" : props.lang === "es" ? "Nuevo scope" : "Nouveau scope";
|
|
142
148
|
});
|
|
143
149
|
function closeDropdown() {
|
|
144
150
|
isDisplay.value = false;
|
|
@@ -42,6 +42,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
42
42
|
type: StringConstructor;
|
|
43
43
|
default: null;
|
|
44
44
|
};
|
|
45
|
+
showActions: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
45
49
|
}, {
|
|
46
50
|
isDisplay: import("vue").Ref<boolean>;
|
|
47
51
|
closeDropdown: () => void;
|
|
@@ -95,6 +99,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
95
99
|
type: StringConstructor;
|
|
96
100
|
default: null;
|
|
97
101
|
};
|
|
102
|
+
showActions: {
|
|
103
|
+
type: BooleanConstructor;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
98
106
|
}>> & {
|
|
99
107
|
"onUpdate:Scope"?: ((...args: any[]) => any) | undefined;
|
|
100
108
|
onChangeScope?: ((...args: any[]) => any) | undefined;
|
|
@@ -107,5 +115,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
107
115
|
active_scope: Record<string, any>;
|
|
108
116
|
createNew: boolean;
|
|
109
117
|
custom: boolean;
|
|
118
|
+
showActions: boolean;
|
|
110
119
|
}, {}>;
|
|
111
120
|
export default _default;
|