@tekkare/auriga 0.1.54 → 0.1.56
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/argBtn.vue +1 -1
- package/dist/runtime/components/argNoSavedScope.vue +2 -2
- package/dist/runtime/components/argNoSelectedScope.vue +7 -16
- package/dist/runtime/components/argScopeChange.vue +1 -1
- package/dist/runtime/components/argScopeCriteriaIndicator.vue +1 -1
- package/dist/runtime/components/argScopeCriteriaIndicator.vue.d.ts +3 -3
- package/dist/runtime/components/argScopeModal.vue +4 -0
- package/dist/runtime/components/{argScopeRadio.vue → argScopeSelect.vue} +3 -12
- package/dist/runtime/components/{argScopeRadio.vue.d.ts → argScopeSelect.vue.d.ts} +0 -9
- package/dist/runtime/components/argSimpleLabel.vue +1 -1
- package/package.json +2 -3
package/dist/module.json
CHANGED
|
@@ -78,7 +78,7 @@ export default defineComponent({
|
|
|
78
78
|
name: "argBtn",
|
|
79
79
|
components: { argIcon },
|
|
80
80
|
props: {
|
|
81
|
-
btnStyle: { type: String, default: "primary" },
|
|
81
|
+
btnStyle: { type: String, default: "primary-fill" },
|
|
82
82
|
becomeSmall: { type: Boolean, default: false },
|
|
83
83
|
icon: { type: String, default: "Spinner" },
|
|
84
84
|
onlyIcon: { type: Boolean, default: false },
|
|
@@ -47,12 +47,12 @@ export default defineComponent({
|
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
en: `Fill the form with the information you need and click on \u201CSave scope and continue\u201D`,
|
|
50
|
-
fr: `Remplissez le formulaire avec vos informations et cliquez sur "Sauvegarder le scope et
|
|
50
|
+
fr: `Remplissez le formulaire avec vos informations et cliquez sur "Sauvegarder le scope et continuer"`
|
|
51
51
|
}
|
|
52
52
|
];
|
|
53
53
|
const noScopeEnd = {
|
|
54
54
|
en: `And that\u2019s it ! Your scope will be saved and you will be able to recover it next time you connect !`,
|
|
55
|
-
fr: `Et c'est tout ! Votre scope sera
|
|
55
|
+
fr: `Et c'est tout ! Votre scope sera sauvegard\xE9 et vous pourrez le retrouver lors de vos prochaines connexions !`
|
|
56
56
|
};
|
|
57
57
|
return {
|
|
58
58
|
noScopeText,
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
</p>
|
|
19
19
|
<slot name="manage" />
|
|
20
20
|
</div>
|
|
21
|
-
<arg-
|
|
21
|
+
<arg-scope-select
|
|
22
22
|
dir="column"
|
|
23
|
-
:elements="scopeArray
|
|
23
|
+
:elements="scopeArray"
|
|
24
24
|
:return_value="true"
|
|
25
25
|
v-model:Selection="selectedScope"
|
|
26
26
|
/>
|
|
@@ -59,10 +59,11 @@ import {
|
|
|
59
59
|
defineComponent
|
|
60
60
|
} from "vue";
|
|
61
61
|
import argIcon from "./argIcon.vue";
|
|
62
|
-
import
|
|
62
|
+
import argScopeSelect from "./argScopeSelect.vue";
|
|
63
|
+
import argBtn from "./argBtn.vue";
|
|
63
64
|
export default defineComponent({
|
|
64
65
|
name: "argNoSelectedScope",
|
|
65
|
-
components: { argIcon,
|
|
66
|
+
components: { argIcon, argScopeSelect, argBtn },
|
|
66
67
|
props: {
|
|
67
68
|
lang: {
|
|
68
69
|
type: String,
|
|
@@ -86,18 +87,8 @@ export default defineComponent({
|
|
|
86
87
|
return `Vous devez s\xE9lectionner votre scope pour voir les r\xE9sultats ou donn\xE9es. Veuillez choisir une des options ci-dessous pour continuer`;
|
|
87
88
|
});
|
|
88
89
|
function selectScope() {
|
|
89
|
-
emit(
|
|
90
|
-
|
|
91
|
-
props.scopeArray[props.scopeArray.findIndex(
|
|
92
|
-
(a) => a.title === selectedScope.value
|
|
93
|
-
)]
|
|
94
|
-
);
|
|
95
|
-
emit(
|
|
96
|
-
"update:Scope",
|
|
97
|
-
props.scopeArray[props.scopeArray.findIndex(
|
|
98
|
-
(a) => a.title === selectedScope.value
|
|
99
|
-
)]
|
|
100
|
-
);
|
|
90
|
+
emit("onSelectScope", selectedScope.value);
|
|
91
|
+
emit("update:Scope", selectedScope.value);
|
|
101
92
|
}
|
|
102
93
|
function createNewScope() {
|
|
103
94
|
emit("onCreateScope");
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
selected: {
|
|
3
|
-
type:
|
|
3
|
+
type: StringConstructor;
|
|
4
4
|
default: null;
|
|
5
5
|
};
|
|
6
6
|
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
7
|
selected: {
|
|
8
|
-
type:
|
|
8
|
+
type: StringConstructor;
|
|
9
9
|
default: null;
|
|
10
10
|
};
|
|
11
11
|
}>>, {
|
|
12
|
-
selected:
|
|
12
|
+
selected: string;
|
|
13
13
|
}, {}>;
|
|
14
14
|
export default _default;
|
|
@@ -101,8 +101,12 @@
|
|
|
101
101
|
|
|
102
102
|
<script>
|
|
103
103
|
import { ref, defineComponent, watch, computed } from "vue";
|
|
104
|
+
import argIcon from "./argIcon.vue";
|
|
105
|
+
import argBtn from "./argBtn.vue";
|
|
106
|
+
import argTags from "./argTags.vue";
|
|
104
107
|
export default defineComponent({
|
|
105
108
|
name: "argScopeModal",
|
|
109
|
+
components: { argTags, argIcon, argBtn },
|
|
106
110
|
props: {
|
|
107
111
|
scopeCriteria: {
|
|
108
112
|
type: Array,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
defineComponent
|
|
28
28
|
} from "vue";
|
|
29
29
|
export default defineComponent({
|
|
30
|
-
name: "
|
|
30
|
+
name: "argScopeSelect",
|
|
31
31
|
components: {
|
|
32
32
|
argIcon
|
|
33
33
|
},
|
|
@@ -40,10 +40,6 @@ export default defineComponent({
|
|
|
40
40
|
type: Number,
|
|
41
41
|
default: null
|
|
42
42
|
},
|
|
43
|
-
returnValue: {
|
|
44
|
-
type: Boolean,
|
|
45
|
-
default: true
|
|
46
|
-
},
|
|
47
43
|
dir: {
|
|
48
44
|
type: String,
|
|
49
45
|
default: "row"
|
|
@@ -68,13 +64,8 @@ export default defineComponent({
|
|
|
68
64
|
);
|
|
69
65
|
function selectRadio(index, value) {
|
|
70
66
|
selectedRadio.value = index;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
emit("update:Selection", value);
|
|
74
|
-
} else {
|
|
75
|
-
emit("changeElement", selectedRadio.value);
|
|
76
|
-
emit("update:Selection", selectedRadio.value);
|
|
77
|
-
}
|
|
67
|
+
emit("changeElement", value);
|
|
68
|
+
emit("update:Selection", value);
|
|
78
69
|
}
|
|
79
70
|
function getIconName(index) {
|
|
80
71
|
if (index === selectedRadio.value) {
|
|
@@ -20,10 +20,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
type: NumberConstructor;
|
|
21
21
|
default: null;
|
|
22
22
|
};
|
|
23
|
-
returnValue: {
|
|
24
|
-
type: BooleanConstructor;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
27
23
|
dir: {
|
|
28
24
|
type: StringConstructor;
|
|
29
25
|
default: string;
|
|
@@ -55,10 +51,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
55
51
|
type: NumberConstructor;
|
|
56
52
|
default: null;
|
|
57
53
|
};
|
|
58
|
-
returnValue: {
|
|
59
|
-
type: BooleanConstructor;
|
|
60
|
-
default: boolean;
|
|
61
|
-
};
|
|
62
54
|
dir: {
|
|
63
55
|
type: StringConstructor;
|
|
64
56
|
default: string;
|
|
@@ -68,7 +60,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
68
60
|
"onUpdate:Selection"?: ((...args: any[]) => any) | undefined;
|
|
69
61
|
}, {
|
|
70
62
|
defaultSelect: number;
|
|
71
|
-
returnValue: boolean;
|
|
72
63
|
dir: string;
|
|
73
64
|
}, {}>;
|
|
74
65
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tekkare/auriga",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.56",
|
|
4
4
|
"description": "Aurgia is a UI kit developped by Tekkare",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -30,9 +30,7 @@
|
|
|
30
30
|
"patch": "nuxt-module-build && npm version patch && npm publish"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@esbuild/darwin-x64": "^0.19.8",
|
|
34
33
|
"@nuxt/kit": "^3.7.3",
|
|
35
|
-
"@pinia/nuxt": "^0.5.1",
|
|
36
34
|
"apexcharts": "^3.43.0",
|
|
37
35
|
"vue-apexcharts": "^1.6.2",
|
|
38
36
|
"vue3-apexcharts": "^1.4.4"
|
|
@@ -47,6 +45,7 @@
|
|
|
47
45
|
"changelogen": "^0.5.5",
|
|
48
46
|
"eslint": "^8.49.0",
|
|
49
47
|
"nuxt": "^3.7.3",
|
|
48
|
+
"storybook-addon-nuxt": "^1.3.3",
|
|
50
49
|
"vitest": "^0.33.0"
|
|
51
50
|
},
|
|
52
51
|
"author": "Tekkare"
|