@tekkare/auriga 0.2.139 → 0.2.140
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
|
@@ -53,7 +53,16 @@
|
|
|
53
53
|
:key="critIndex"
|
|
54
54
|
class="oip_list v-start gap-4"
|
|
55
55
|
>
|
|
56
|
-
<arg-tags set-style="gray">
|
|
56
|
+
<arg-tags v-if="customDisplay" set-style="gray">
|
|
57
|
+
<slot
|
|
58
|
+
v-if="!isString(criteria)"
|
|
59
|
+
name="Custom"
|
|
60
|
+
v-bind:value="criteria"
|
|
61
|
+
/>
|
|
62
|
+
<span v-else>{{ criteria }} </span>
|
|
63
|
+
</arg-tags>
|
|
64
|
+
|
|
65
|
+
<arg-tags v-else set-style="gray">
|
|
57
66
|
<span v-if="typeof criteria === 'object'"
|
|
58
67
|
><b>{{ criteria?.type }}: </b
|
|
59
68
|
>{{ criteria?.value }}</span
|
|
@@ -121,7 +130,8 @@ export default defineComponent({
|
|
|
121
130
|
type: Boolean,
|
|
122
131
|
default: false
|
|
123
132
|
},
|
|
124
|
-
isScenario: { type: Boolean, default: false }
|
|
133
|
+
isScenario: { type: Boolean, default: false },
|
|
134
|
+
customDisplay: { type: Boolean, default: false }
|
|
125
135
|
},
|
|
126
136
|
emits: ["onDelete", "onClose"],
|
|
127
137
|
setup(props, { emit }) {
|
|
@@ -136,6 +146,9 @@ export default defineComponent({
|
|
|
136
146
|
}
|
|
137
147
|
}
|
|
138
148
|
}
|
|
149
|
+
const isString = (val) => {
|
|
150
|
+
return typeof val === "string";
|
|
151
|
+
};
|
|
139
152
|
onBeforeMount(async () => {
|
|
140
153
|
setLang();
|
|
141
154
|
});
|
|
@@ -168,7 +181,8 @@ export default defineComponent({
|
|
|
168
181
|
closeManageScope,
|
|
169
182
|
deleteScope,
|
|
170
183
|
showAllProps,
|
|
171
|
-
langData
|
|
184
|
+
langData,
|
|
185
|
+
isString
|
|
172
186
|
};
|
|
173
187
|
}
|
|
174
188
|
});
|
|
@@ -16,12 +16,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
16
16
|
type: BooleanConstructor;
|
|
17
17
|
default: boolean;
|
|
18
18
|
};
|
|
19
|
+
customDisplay: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
19
23
|
}>, {
|
|
20
24
|
getScopeCriteria: (scope: any) => any;
|
|
21
25
|
closeManageScope: () => void;
|
|
22
26
|
deleteScope: (scope: any) => void;
|
|
23
27
|
showAllProps: import("vue").Ref<any, any>;
|
|
24
28
|
langData: import("vue").Ref<any, any>;
|
|
29
|
+
isString: (val: any) => val is string;
|
|
25
30
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onClose" | "onDelete")[], "onClose" | "onDelete", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
31
|
scopes: {
|
|
27
32
|
type: ArrayConstructor;
|
|
@@ -40,6 +45,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
40
45
|
type: BooleanConstructor;
|
|
41
46
|
default: boolean;
|
|
42
47
|
};
|
|
48
|
+
customDisplay: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
43
52
|
}>> & Readonly<{
|
|
44
53
|
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
45
54
|
onOnDelete?: ((...args: any[]) => any) | undefined;
|
|
@@ -47,6 +56,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
47
56
|
lang: string;
|
|
48
57
|
isScenario: boolean;
|
|
49
58
|
reloadingScopes: boolean;
|
|
59
|
+
customDisplay: boolean;
|
|
50
60
|
}, {}, {
|
|
51
61
|
argBtn: any;
|
|
52
62
|
argIcon: any;
|