@tekkare/auriga 0.1.13 → 0.1.15
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/argComplexSelect.vue +6 -2
- package/dist/runtime/components/argDropdownSelect.vue +1 -1
- package/dist/runtime/components/argFilterTabs.vue +9 -15
- package/dist/runtime/components/argFilterTabs.vue.d.ts +2 -2
- package/dist/runtime/components/argMultipleSelect.vue +1 -1
- package/dist/runtime/components/argNoData.vue +1 -0
- package/dist/runtime/components/argScopeCriteria.vue +10 -1
- package/dist/runtime/components/argScopeCriteria.vue.d.ts +5 -2
- package/dist/runtime/components/argSmallAreaChart.vue +1 -1
- package/dist/runtime/components/argTipsBox.vue +1 -1
- package/dist/runtime/components/argTutoModal.vue +1 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
:show_amount="show_amount"
|
|
9
9
|
:amount_value="del_table.length"
|
|
10
10
|
id="simple-select-complex"
|
|
11
|
-
@click
|
|
11
|
+
@click="changeDisplay()"
|
|
12
12
|
:class="isDisplay ? 'open' : ''"
|
|
13
13
|
>
|
|
14
14
|
<span
|
|
@@ -200,7 +200,8 @@ import {
|
|
|
200
200
|
ref,
|
|
201
201
|
computed,
|
|
202
202
|
watch,
|
|
203
|
-
defineComponent
|
|
203
|
+
defineComponent,
|
|
204
|
+
onUnmounted
|
|
204
205
|
} from "vue";
|
|
205
206
|
export default defineComponent({
|
|
206
207
|
name: "argComplexSelect",
|
|
@@ -472,6 +473,9 @@ export default defineComponent({
|
|
|
472
473
|
save_table.value.add = add_table.value;
|
|
473
474
|
save_table.value.del = del_table.value;
|
|
474
475
|
}
|
|
476
|
+
onUnmounted(() => {
|
|
477
|
+
document?.removeEventListener("click", close);
|
|
478
|
+
});
|
|
475
479
|
return {
|
|
476
480
|
add_table,
|
|
477
481
|
del_table,
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
<script>
|
|
15
15
|
import {
|
|
16
16
|
ref,
|
|
17
|
-
watch,
|
|
18
17
|
defineComponent,
|
|
19
18
|
onBeforeMount
|
|
20
19
|
} from "vue";
|
|
@@ -27,7 +26,7 @@ export default defineComponent({
|
|
|
27
26
|
},
|
|
28
27
|
index_menu: {
|
|
29
28
|
type: [Number, String],
|
|
30
|
-
default:
|
|
29
|
+
default: null
|
|
31
30
|
},
|
|
32
31
|
returnValue: {
|
|
33
32
|
type: Boolean,
|
|
@@ -37,24 +36,19 @@ export default defineComponent({
|
|
|
37
36
|
emits: ["changeValue", "update:Tab"],
|
|
38
37
|
setup(props, { emit }) {
|
|
39
38
|
const activeTab = ref(0);
|
|
40
|
-
watch(
|
|
41
|
-
() => props.index_menu,
|
|
42
|
-
(new_index_menu) => {
|
|
43
|
-
setDefaultTab();
|
|
44
|
-
changeTab(activeTab.value);
|
|
45
|
-
}
|
|
46
|
-
);
|
|
47
39
|
onBeforeMount(() => {
|
|
48
40
|
setDefaultTab();
|
|
49
41
|
changeTab(activeTab.value);
|
|
50
42
|
});
|
|
51
43
|
function setDefaultTab() {
|
|
52
|
-
if (
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
activeTab.value
|
|
44
|
+
if (props.index_menu !== null) {
|
|
45
|
+
if (typeof props.index_menu === "string") {
|
|
46
|
+
activeTab.value = props.tabs.findIndex(
|
|
47
|
+
(a) => a.value === props.index_menu
|
|
48
|
+
);
|
|
49
|
+
} else if (typeof activeTab.value === "number") {
|
|
50
|
+
activeTab.value = props.index_menu;
|
|
51
|
+
}
|
|
58
52
|
}
|
|
59
53
|
}
|
|
60
54
|
function changeTab(index) {
|
|
@@ -18,7 +18,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
};
|
|
19
19
|
index_menu: {
|
|
20
20
|
type: (StringConstructor | NumberConstructor)[];
|
|
21
|
-
default:
|
|
21
|
+
default: null;
|
|
22
22
|
};
|
|
23
23
|
returnValue: {
|
|
24
24
|
type: BooleanConstructor;
|
|
@@ -48,7 +48,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
48
|
};
|
|
49
49
|
index_menu: {
|
|
50
50
|
type: (StringConstructor | NumberConstructor)[];
|
|
51
|
-
default:
|
|
51
|
+
default: null;
|
|
52
52
|
};
|
|
53
53
|
returnValue: {
|
|
54
54
|
type: BooleanConstructor;
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
<script>
|
|
30
30
|
import {
|
|
31
31
|
ref,
|
|
32
|
+
watch,
|
|
32
33
|
defineComponent
|
|
33
34
|
} from "vue";
|
|
34
35
|
import argFilterTabs from "./argFilterTabs.vue";
|
|
@@ -48,8 +49,16 @@ export default defineComponent({
|
|
|
48
49
|
}
|
|
49
50
|
}
|
|
50
51
|
},
|
|
51
|
-
|
|
52
|
+
emits: ["update:Criteria", "onChangeCriteria"],
|
|
53
|
+
setup(props, { emit }) {
|
|
52
54
|
const activeTab = ref("new");
|
|
55
|
+
watch(
|
|
56
|
+
() => activeTab.value,
|
|
57
|
+
(new_active_tab) => {
|
|
58
|
+
emit("update:Criteria", new_active_tab);
|
|
59
|
+
emit("onChangeCriteria", new_active_tab);
|
|
60
|
+
}
|
|
61
|
+
);
|
|
53
62
|
const scopeTabs = [
|
|
54
63
|
{ name: "New scope criteria", value: "new" },
|
|
55
64
|
{ name: "Apply an existing scope", value: "saved" }
|
|
@@ -18,7 +18,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
name: string;
|
|
19
19
|
value: string;
|
|
20
20
|
}[];
|
|
21
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
21
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:Criteria" | "onChangeCriteria")[], "update:Criteria" | "onChangeCriteria", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
22
|
scopeTitle: {
|
|
23
23
|
type: StringConstructor;
|
|
24
24
|
default: string;
|
|
@@ -28,7 +28,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
28
|
default: string;
|
|
29
29
|
validator: (value: string) => boolean;
|
|
30
30
|
};
|
|
31
|
-
}
|
|
31
|
+
}>> & {
|
|
32
|
+
"onUpdate:Criteria"?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
onOnChangeCriteria?: ((...args: any[]) => any) | undefined;
|
|
34
|
+
}, {
|
|
32
35
|
lang: string;
|
|
33
36
|
scopeTitle: string;
|
|
34
37
|
}, {}>;
|
|
@@ -110,13 +110,13 @@ export default defineComponent({
|
|
|
110
110
|
bottom: 0;
|
|
111
111
|
height: 0px;
|
|
112
112
|
width: 0px;
|
|
113
|
-
padding: 53px 82px;
|
|
114
113
|
display: flex;
|
|
115
114
|
align-items: center;
|
|
116
115
|
justify-content: center;
|
|
117
116
|
}
|
|
118
117
|
|
|
119
118
|
.arg_tuto_modal_open {
|
|
119
|
+
padding: 53px 82px;
|
|
120
120
|
z-index: 99;
|
|
121
121
|
background-color: rgba(0, 0, 0, 0.4);
|
|
122
122
|
width: calc(100% - 164px);
|