@tekkare/auriga 0.1.10 → 0.1.11
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/argActions.vue +11 -6
- package/dist/runtime/components/argActions.vue.d.ts +12 -3
- package/dist/runtime/components/argChart.vue +109 -167
- package/dist/runtime/components/argChart.vue.d.ts +1 -1
- package/dist/runtime/components/argDate.vue +77 -0
- package/dist/runtime/components/argDate.vue.d.ts +34 -0
- package/dist/runtime/components/argErrors.vue +167 -0
- package/dist/runtime/components/argErrors.vue.d.ts +54 -0
- package/dist/runtime/components/argFilterCard.vue +1 -0
- package/dist/runtime/components/argHybridChart.vue +277 -0
- package/dist/runtime/components/argHybridChart.vue.d.ts +48 -0
- package/dist/runtime/components/argMainLayout.vue +1 -0
- package/dist/runtime/components/argMenuLink.vue +43 -15
- package/dist/runtime/components/argMenuLink.vue.d.ts +15 -4
- package/dist/runtime/components/argNumberInput.vue +223 -0
- package/dist/runtime/components/argNumberInput.vue.d.ts +57 -0
- package/dist/runtime/components/argSimpleChart.vue +123 -0
- package/dist/runtime/components/argSimpleChart.vue.d.ts +32 -0
- package/dist/runtime/components/argSimpleInput.vue +94 -0
- package/dist/runtime/components/argSimpleInput.vue.d.ts +40 -0
- package/dist/runtime/components/argSmallAreaChart.vue +138 -0
- package/dist/runtime/components/argSmallAreaChart.vue.d.ts +122 -0
- package/dist/runtime/components/argStyle.vue +8 -0
- package/dist/runtime/components/argTags.vue +6 -4
- package/dist/runtime/components/argTrendIndicator.vue +82 -0
- package/dist/runtime/components/argTrendIndicator.vue.d.ts +23 -0
- package/dist/runtime/components/argTutoModal.vue +185 -0
- package/dist/runtime/components/argTutoModal.vue.d.ts +41 -0
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"
|
|
12
12
|
@click="sendAction()"
|
|
13
13
|
>
|
|
14
|
-
<p>{{ getActionText }}</p>
|
|
14
|
+
<p v-if="!customize">{{ getActionText }}</p>
|
|
15
|
+
<slot v-else name="custom" />
|
|
15
16
|
</div>
|
|
16
17
|
</template>
|
|
17
18
|
|
|
@@ -27,10 +28,14 @@ export default defineComponent({
|
|
|
27
28
|
type: String,
|
|
28
29
|
required: true
|
|
29
30
|
},
|
|
30
|
-
|
|
31
|
+
customText: {
|
|
31
32
|
type: String,
|
|
32
33
|
default: null
|
|
33
34
|
},
|
|
35
|
+
customize: {
|
|
36
|
+
type: Boolean,
|
|
37
|
+
default: false
|
|
38
|
+
},
|
|
34
39
|
lang: {
|
|
35
40
|
type: String,
|
|
36
41
|
default: "en",
|
|
@@ -49,7 +54,7 @@ export default defineComponent({
|
|
|
49
54
|
],
|
|
50
55
|
setup(props, { emit }) {
|
|
51
56
|
const getActionText = computed(() => {
|
|
52
|
-
if (!props.
|
|
57
|
+
if (!props.customText) {
|
|
53
58
|
let finalText = "";
|
|
54
59
|
switch (props.actionType) {
|
|
55
60
|
case "cancel":
|
|
@@ -62,7 +67,7 @@ export default defineComponent({
|
|
|
62
67
|
finalText = props.lang === "fr" ? "Voir l'analyse" : "Go to analysis";
|
|
63
68
|
break;
|
|
64
69
|
case "save-analysis":
|
|
65
|
-
finalText = props.lang === "fr" ? "
|
|
70
|
+
finalText = props.lang === "fr" ? "Sauvegarder et continuer " : "Save and continue";
|
|
66
71
|
break;
|
|
67
72
|
case "download":
|
|
68
73
|
finalText = props.lang === "fr" ? "Tout t\xE9l\xE9charger" : "Download all";
|
|
@@ -72,7 +77,7 @@ export default defineComponent({
|
|
|
72
77
|
}
|
|
73
78
|
return finalText;
|
|
74
79
|
} else
|
|
75
|
-
return props.
|
|
80
|
+
return props.customText;
|
|
76
81
|
});
|
|
77
82
|
function sendAction() {
|
|
78
83
|
switch (props.actionType) {
|
|
@@ -129,7 +134,7 @@ export default defineComponent({
|
|
|
129
134
|
}
|
|
130
135
|
|
|
131
136
|
.cancel_action:hover {
|
|
132
|
-
background:
|
|
137
|
+
background: rgb(237, 237, 243, 65%) !important;
|
|
133
138
|
}
|
|
134
139
|
|
|
135
140
|
.scope_action {
|
|
@@ -3,10 +3,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
required: true;
|
|
5
5
|
};
|
|
6
|
-
|
|
6
|
+
customText: {
|
|
7
7
|
type: StringConstructor;
|
|
8
8
|
default: null;
|
|
9
9
|
};
|
|
10
|
+
customize: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
10
14
|
lang: {
|
|
11
15
|
type: StringConstructor;
|
|
12
16
|
default: string;
|
|
@@ -20,10 +24,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
24
|
type: StringConstructor;
|
|
21
25
|
required: true;
|
|
22
26
|
};
|
|
23
|
-
|
|
27
|
+
customText: {
|
|
24
28
|
type: StringConstructor;
|
|
25
29
|
default: null;
|
|
26
30
|
};
|
|
31
|
+
customize: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
27
35
|
lang: {
|
|
28
36
|
type: StringConstructor;
|
|
29
37
|
default: string;
|
|
@@ -37,7 +45,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
45
|
onOnSeeAnalysis?: ((...args: any[]) => any) | undefined;
|
|
38
46
|
onOnSaveAnalysis?: ((...args: any[]) => any) | undefined;
|
|
39
47
|
}, {
|
|
40
|
-
|
|
48
|
+
customText: string;
|
|
49
|
+
customize: boolean;
|
|
41
50
|
lang: string;
|
|
42
51
|
}, {}>;
|
|
43
52
|
export default _default;
|