@tekkare/auriga 0.1.9 → 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/allIcons.vue +1112 -0
- package/dist/runtime/components/allIcons.vue.d.ts +6 -0
- package/dist/runtime/components/argActions.vue +47 -12
- package/dist/runtime/components/argActions.vue.d.ts +27 -4
- package/dist/runtime/components/argAdvancedSearchBar.vue.d.ts +2 -2
- package/dist/runtime/components/argChart.vue +109 -167
- package/dist/runtime/components/argChart.vue.d.ts +1 -1
- package/dist/runtime/components/argCheckbox.vue +35 -28
- package/dist/runtime/components/argCheckbox.vue.d.ts +9 -1
- package/dist/runtime/components/argCircleAmount.vue +37 -0
- package/dist/runtime/components/argCircleAmount.vue.d.ts +12 -0
- package/dist/runtime/components/argDate.vue +77 -0
- package/dist/runtime/components/argDate.vue.d.ts +34 -0
- package/dist/runtime/components/argDropdownSelect.vue +5 -19
- package/dist/runtime/components/argEmoji.vue +34 -0
- package/dist/runtime/components/argEmoji.vue.d.ts +29 -0
- package/dist/runtime/components/argErrors.vue +167 -0
- package/dist/runtime/components/argErrors.vue.d.ts +54 -0
- package/dist/runtime/components/argFileBtn.vue +10 -2
- package/dist/runtime/components/argFileBtn.vue.d.ts +9 -0
- package/dist/runtime/components/argFilterCard.vue +1 -1
- package/dist/runtime/components/argHeader.vue +15 -7
- package/dist/runtime/components/argHeader.vue.d.ts +9 -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 +46 -17
- package/dist/runtime/components/argMenuLink.vue.d.ts +15 -4
- package/dist/runtime/components/argMultipleChoice.vue +1 -1
- package/dist/runtime/components/argMultipleSelect.vue +29 -17
- package/dist/runtime/components/argMultipleSelect.vue.d.ts +8 -0
- package/dist/runtime/components/argNumberInput.vue +223 -0
- package/dist/runtime/components/argNumberInput.vue.d.ts +57 -0
- package/dist/runtime/components/argRadioButtons.vue +2 -1
- package/dist/runtime/components/argScopeCriteria.vue +91 -0
- package/dist/runtime/components/argScopeCriteria.vue.d.ts +35 -0
- package/dist/runtime/components/argScopeHeader.vue +90 -0
- package/dist/runtime/components/argScopeHeader.vue.d.ts +33 -0
- package/dist/runtime/components/argScopeLayout.vue +61 -0
- package/dist/runtime/components/argScopeLayout.vue.d.ts +14 -0
- package/dist/runtime/components/argSidebar.vue +10 -7
- package/dist/runtime/components/argSidebar.vue.d.ts +9 -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/argSimpleLabel.vue +1 -1
- package/dist/runtime/components/argSmallAreaChart.vue +138 -0
- package/dist/runtime/components/argSmallAreaChart.vue.d.ts +122 -0
- package/dist/runtime/components/argStyle.vue +90 -65
- package/dist/runtime/components/argTags.vue +7 -5
- package/dist/runtime/components/argTipsBox.vue +153 -0
- package/dist/runtime/components/argTipsBox.vue.d.ts +37 -0
- 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 +2 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
iconNames: string[];
|
|
3
|
+
searchIcon: import("vue").Ref<string>;
|
|
4
|
+
filteredIcon: import("vue").ComputedRef<string[]>;
|
|
5
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
6
|
+
export default _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
:class="
|
|
4
4
|
actionType === 'download' || actionType === 'see-analysis'
|
|
5
5
|
? 'download_action'
|
|
6
|
-
: actionType === 'cancel'
|
|
6
|
+
: actionType === 'cancel' || actionType === 'close'
|
|
7
7
|
? 'cancel_action'
|
|
8
8
|
: actionType === 'scope' || actionType === 'save-analysis'
|
|
9
9
|
? 'scope_action'
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"
|
|
12
12
|
@click="sendAction()"
|
|
13
13
|
>
|
|
14
|
-
{{ getActionText }}
|
|
14
|
+
<p v-if="!customize">{{ getActionText }}</p>
|
|
15
|
+
<slot v-else name="custom" />
|
|
15
16
|
</div>
|
|
16
17
|
</template>
|
|
17
18
|
|
|
@@ -27,35 +28,56 @@ export default defineComponent({
|
|
|
27
28
|
type: String,
|
|
28
29
|
required: true
|
|
29
30
|
},
|
|
30
|
-
|
|
31
|
+
customText: {
|
|
31
32
|
type: String,
|
|
32
33
|
default: null
|
|
34
|
+
},
|
|
35
|
+
customize: {
|
|
36
|
+
type: Boolean,
|
|
37
|
+
default: false
|
|
38
|
+
},
|
|
39
|
+
lang: {
|
|
40
|
+
type: String,
|
|
41
|
+
default: "en",
|
|
42
|
+
validator: (value) => {
|
|
43
|
+
return ["en", "fr"].includes(value);
|
|
44
|
+
}
|
|
33
45
|
}
|
|
34
46
|
},
|
|
35
|
-
emits: [
|
|
47
|
+
emits: [
|
|
48
|
+
"onDownload",
|
|
49
|
+
"onScope",
|
|
50
|
+
"onCancel",
|
|
51
|
+
"onClose",
|
|
52
|
+
"onSeeAnalysis",
|
|
53
|
+
"onSaveAnalysis"
|
|
54
|
+
],
|
|
36
55
|
setup(props, { emit }) {
|
|
37
56
|
const getActionText = computed(() => {
|
|
38
|
-
if (!props.
|
|
57
|
+
if (!props.customText) {
|
|
39
58
|
let finalText = "";
|
|
40
59
|
switch (props.actionType) {
|
|
41
60
|
case "cancel":
|
|
42
|
-
finalText = "Cancel";
|
|
61
|
+
finalText = props.lang === "fr" ? "Annuler" : "Cancel";
|
|
43
62
|
break;
|
|
44
63
|
case "scope":
|
|
45
|
-
finalText = "My scope";
|
|
64
|
+
finalText = props.lang === "fr" ? "Mon scope" : "My scope";
|
|
46
65
|
break;
|
|
47
66
|
case "see-analysis":
|
|
48
|
-
finalText = "Go to analysis";
|
|
67
|
+
finalText = props.lang === "fr" ? "Voir l'analyse" : "Go to analysis";
|
|
49
68
|
break;
|
|
50
69
|
case "save-analysis":
|
|
51
|
-
finalText = "Save and continue";
|
|
70
|
+
finalText = props.lang === "fr" ? "Sauvegarder et continuer " : "Save and continue";
|
|
52
71
|
break;
|
|
53
72
|
case "download":
|
|
54
|
-
finalText = "Download all";
|
|
73
|
+
finalText = props.lang === "fr" ? "Tout t\xE9l\xE9charger" : "Download all";
|
|
74
|
+
break;
|
|
75
|
+
case "close":
|
|
76
|
+
finalText = props.lang === "fr" ? "Fermer" : "Close";
|
|
55
77
|
}
|
|
56
78
|
return finalText;
|
|
57
79
|
} else
|
|
58
|
-
return props.
|
|
80
|
+
return props.customText;
|
|
59
81
|
});
|
|
60
82
|
function sendAction() {
|
|
61
83
|
switch (props.actionType) {
|
|
@@ -67,6 +89,15 @@ export default defineComponent({
|
|
|
67
89
|
break;
|
|
68
90
|
case "download":
|
|
69
91
|
emit("onDownload");
|
|
92
|
+
break;
|
|
93
|
+
case "see-analysis":
|
|
94
|
+
emit("onSeeAnalysis");
|
|
95
|
+
break;
|
|
96
|
+
case "save-analysis":
|
|
97
|
+
emit("onSaveAnalysis");
|
|
98
|
+
break;
|
|
99
|
+
case "close":
|
|
100
|
+
emit("onClose");
|
|
70
101
|
}
|
|
71
102
|
}
|
|
72
103
|
return {
|
|
@@ -102,6 +133,10 @@ export default defineComponent({
|
|
|
102
133
|
cursor: pointer;
|
|
103
134
|
}
|
|
104
135
|
|
|
136
|
+
.cancel_action:hover {
|
|
137
|
+
background: rgb(237, 237, 243, 65%) !important;
|
|
138
|
+
}
|
|
139
|
+
|
|
105
140
|
.scope_action {
|
|
106
141
|
cursor: pointer;
|
|
107
142
|
display: flex;
|
|
@@ -109,7 +144,7 @@ export default defineComponent({
|
|
|
109
144
|
justify-content: center;
|
|
110
145
|
align-items: center;
|
|
111
146
|
gap: var(--s, 8px);
|
|
112
|
-
border-radius:
|
|
147
|
+
border-radius: 8px;
|
|
113
148
|
background: var(--primary-primary, #2176ff);
|
|
114
149
|
font-size: 14px;
|
|
115
150
|
font-style: normal;
|
|
@@ -3,27 +3,50 @@ 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
|
+
};
|
|
14
|
+
lang: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
validator: (value: string) => boolean;
|
|
18
|
+
};
|
|
10
19
|
}, {
|
|
11
20
|
getActionText: import("vue").ComputedRef<string>;
|
|
12
21
|
sendAction: () => void;
|
|
13
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onDownload" | "onScope" | "onCancel")[], "onDownload" | "onScope" | "onCancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onDownload" | "onScope" | "onCancel" | "onClose" | "onSeeAnalysis" | "onSaveAnalysis")[], "onDownload" | "onScope" | "onCancel" | "onClose" | "onSeeAnalysis" | "onSaveAnalysis", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
23
|
actionType: {
|
|
15
24
|
type: StringConstructor;
|
|
16
25
|
required: true;
|
|
17
26
|
};
|
|
18
|
-
|
|
27
|
+
customText: {
|
|
19
28
|
type: StringConstructor;
|
|
20
29
|
default: null;
|
|
21
30
|
};
|
|
31
|
+
customize: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
lang: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
validator: (value: string) => boolean;
|
|
39
|
+
};
|
|
22
40
|
}>> & {
|
|
23
41
|
onOnDownload?: ((...args: any[]) => any) | undefined;
|
|
24
42
|
onOnScope?: ((...args: any[]) => any) | undefined;
|
|
25
43
|
onOnCancel?: ((...args: any[]) => any) | undefined;
|
|
44
|
+
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
45
|
+
onOnSeeAnalysis?: ((...args: any[]) => any) | undefined;
|
|
46
|
+
onOnSaveAnalysis?: ((...args: any[]) => any) | undefined;
|
|
26
47
|
}, {
|
|
27
|
-
|
|
48
|
+
customText: string;
|
|
49
|
+
customize: boolean;
|
|
50
|
+
lang: string;
|
|
28
51
|
}, {}>;
|
|
29
52
|
export default _default;
|
|
@@ -58,7 +58,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
58
58
|
iconColor: import("vue").ComputedRef<"var(--primary)" | "var(--wild-blue-yonder)">;
|
|
59
59
|
hasShortcut: import("vue").ComputedRef<boolean>;
|
|
60
60
|
infoHeight: import("vue").ComputedRef<boolean>;
|
|
61
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
61
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onClose" | "update:Value")[], "onClose" | "update:Value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
62
62
|
placeHolderValue: {
|
|
63
63
|
type: StringConstructor;
|
|
64
64
|
default: string;
|
|
@@ -81,8 +81,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
81
81
|
default: () => never[];
|
|
82
82
|
};
|
|
83
83
|
}>> & {
|
|
84
|
-
"onUpdate:Value"?: ((...args: any[]) => any) | undefined;
|
|
85
84
|
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
85
|
+
"onUpdate:Value"?: ((...args: any[]) => any) | undefined;
|
|
86
86
|
}, {
|
|
87
87
|
placeHolderValue: string;
|
|
88
88
|
customShortcuts: any[];
|