@tekkare/auriga 0.1.5 → 0.1.6
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/argChart.vue +36 -8
- package/dist/runtime/components/argChart.vue.d.ts +9 -0
- package/dist/runtime/components/argComplexSelect.vue +26 -20
- package/dist/runtime/components/argDropdownSelect.vue +13 -5
- package/dist/runtime/components/argDropdownSelect.vue.d.ts +3 -10
- package/dist/runtime/components/argFilterCard.vue +130 -0
- package/dist/runtime/components/argFilterCard.vue.d.ts +19 -0
- package/dist/runtime/components/argHeader.vue +1 -1
- package/dist/runtime/components/argHeaderTabs.vue +1 -0
- package/dist/runtime/components/argNavBar.vue +1 -0
- package/dist/runtime/components/argSidebar.vue +78 -82
- package/dist/runtime/components/argSimpleLabel.vue +1 -1
- package/dist/runtime/components/argStyle.vue +6 -6
- package/dist/runtime/components/argSwitch.vue +38 -33
- package/dist/runtime/components/argSwitch.vue.d.ts +8 -0
- package/dist/runtime/components/argTable.vue +201 -141
- package/dist/runtime/components/argTable.vue.d.ts +19 -0
- package/package.json +1 -1
|
@@ -1,30 +1,26 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
<span v-if="lang === 'fr'">
|
|
10
|
-
Accueil
|
|
11
|
-
</span>
|
|
12
|
-
</nuxt-link>
|
|
13
|
-
</div>
|
|
14
|
-
|
|
15
|
-
<h1 class="arg_sidebar_title">{{name}}</h1>
|
|
16
|
-
<div class="arg_sidebar_body">
|
|
17
|
-
<div class="arg_sidebar_content">
|
|
18
|
-
<slot name="menu"/>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="arg_sidebar_footer">
|
|
21
|
-
<slot name="footer"/>
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
|
|
25
|
-
<!-- Have a slot here for the submenus -->
|
|
26
|
-
<!-- What do i do about the bottom menus. I think they are fixed so I just have to make it dynamic -->
|
|
2
|
+
<div class="arg_sidebar">
|
|
3
|
+
<div class="arg_sidebar_header">
|
|
4
|
+
<nuxt-link to="/" class="arg_sidebar_home">
|
|
5
|
+
<arg-icon name="House" color="var(--primary)" />
|
|
6
|
+
<span v-if="lang === 'en'"> Home </span>
|
|
7
|
+
<span v-if="lang === 'fr'"> Accueil </span>
|
|
8
|
+
</nuxt-link>
|
|
27
9
|
</div>
|
|
10
|
+
|
|
11
|
+
<h1 class="arg_sidebar_title">{{ name }}</h1>
|
|
12
|
+
<div class="arg_sidebar_body">
|
|
13
|
+
<div class="arg_sidebar_content">
|
|
14
|
+
<slot name="menu" />
|
|
15
|
+
</div>
|
|
16
|
+
<div class="arg_sidebar_footer">
|
|
17
|
+
<slot name="footer" />
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
|
|
21
|
+
<!-- Have a slot here for the submenus -->
|
|
22
|
+
<!-- What do i do about the bottom menus. I think they are fixed so I just have to make it dynamic -->
|
|
23
|
+
</div>
|
|
28
24
|
</template>
|
|
29
25
|
<script>
|
|
30
26
|
import {
|
|
@@ -49,66 +45,66 @@ export default defineComponent({
|
|
|
49
45
|
});
|
|
50
46
|
</script>
|
|
51
47
|
<style scoped>
|
|
52
|
-
.arg_sidebar{
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
48
|
+
.arg_sidebar {
|
|
49
|
+
display: flex;
|
|
50
|
+
width: 200px;
|
|
51
|
+
padding: 16px 8px;
|
|
52
|
+
flex-direction: column;
|
|
53
|
+
align-items: flex-start;
|
|
54
|
+
gap: 16px;
|
|
55
|
+
border-right: 1px solid var(--base-dividers, #ececf2);
|
|
56
|
+
background: var(--background);
|
|
57
|
+
height: 100vh;
|
|
58
|
+
position: fixed;
|
|
59
|
+
z-index: 100;
|
|
60
|
+
transition: all ease 0.3s;
|
|
61
|
+
left: 0;
|
|
62
|
+
top: 0;
|
|
63
|
+
box-sizing: border-box;
|
|
68
64
|
}
|
|
69
|
-
.arg_sidebar_header{
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
65
|
+
.arg_sidebar_header {
|
|
66
|
+
display: flex;
|
|
67
|
+
justify-content: space-between;
|
|
68
|
+
align-items: flex-start;
|
|
69
|
+
align-self: stretch;
|
|
74
70
|
}
|
|
75
|
-
.arg_sidebar_home{
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
71
|
+
.arg_sidebar_home {
|
|
72
|
+
display: flex;
|
|
73
|
+
height: 32px;
|
|
74
|
+
padding: 6px;
|
|
75
|
+
align-items: center;
|
|
76
|
+
gap: 6px;
|
|
77
|
+
font-size: 14px;
|
|
78
|
+
font-style: normal;
|
|
79
|
+
font-weight: 400;
|
|
80
|
+
line-height: 160%;
|
|
81
|
+
color: var(--primary);
|
|
86
82
|
}
|
|
87
|
-
.arg_sidebar_title{
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
83
|
+
.arg_sidebar_title {
|
|
84
|
+
display: flex;
|
|
85
|
+
padding: 0px 8px;
|
|
86
|
+
flex-direction: column;
|
|
87
|
+
justify-content: center;
|
|
88
|
+
align-items: flex-start;
|
|
89
|
+
gap: 8px;
|
|
90
|
+
align-self: stretch;
|
|
91
|
+
font-size: 20px;
|
|
92
|
+
font-style: normal;
|
|
93
|
+
font-weight: 900;
|
|
94
|
+
line-height: normal;
|
|
95
|
+
margin-bottom: 16px;
|
|
100
96
|
}
|
|
101
|
-
.arg_sidebar_body{
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
97
|
+
.arg_sidebar_body {
|
|
98
|
+
display: flex;
|
|
99
|
+
flex-direction: column;
|
|
100
|
+
justify-content: space-between;
|
|
101
|
+
height: 100%;
|
|
102
|
+
gap: 16px;
|
|
103
|
+
width: 100%;
|
|
108
104
|
}
|
|
109
|
-
.arg_sidebar_content{
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
105
|
+
.arg_sidebar_content {
|
|
106
|
+
display: flex;
|
|
107
|
+
flex-direction: column;
|
|
108
|
+
gap: 8px;
|
|
113
109
|
}
|
|
114
|
-
</style>
|
|
110
|
+
</style>
|
|
@@ -22,7 +22,7 @@ export default defineComponent({
|
|
|
22
22
|
--lavendar-grey: #cdcede;
|
|
23
23
|
--more: #dedfe9;
|
|
24
24
|
--dividers: #eaeaf5;
|
|
25
|
-
|
|
25
|
+
|
|
26
26
|
/* PRIMARY */
|
|
27
27
|
--primary: #2176ff;
|
|
28
28
|
--primary-hover: #0966fb;
|
|
@@ -62,7 +62,7 @@ export default defineComponent({
|
|
|
62
62
|
--nested-table-bg: #eaeaf5;
|
|
63
63
|
--table-hover: #dddded;
|
|
64
64
|
--base-dividers: #ececf2;
|
|
65
|
-
--
|
|
65
|
+
--not-quite-white: #fdfdff;
|
|
66
66
|
|
|
67
67
|
/*SHADOWS*/
|
|
68
68
|
--container-shadow: 0px 0px 40px rgba(94, 92, 154, 0.06);
|
|
@@ -981,13 +981,13 @@ button {
|
|
|
981
981
|
gap: 10px;
|
|
982
982
|
flex-wrap: wrap;
|
|
983
983
|
}
|
|
984
|
-
.arg_sub_menu
|
|
985
|
-
|
|
984
|
+
.arg_sub_menu .arg_sub_menu .arg_sub_menu_button {
|
|
985
|
+
padding-left: 24px !important;
|
|
986
986
|
}
|
|
987
|
-
.arg_sub_menu .arg_sub_menu
|
|
987
|
+
.arg_sub_menu .arg_sub_menu .auriga_menu_item {
|
|
988
988
|
padding-left: 40px !important;
|
|
989
989
|
}
|
|
990
|
-
.arg_sub_menu .auriga_menu_item{
|
|
990
|
+
.arg_sub_menu .auriga_menu_item {
|
|
991
991
|
padding-left: 24px !important;
|
|
992
992
|
}
|
|
993
993
|
</style>
|
|
@@ -1,40 +1,45 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
3
|
-
|
|
4
|
-
class="prmt_parent_switch"
|
|
5
|
-
@focus="activate_switch = true"
|
|
6
|
-
@focusout="activate_switch = false"
|
|
7
|
-
tabindex="0"
|
|
8
|
-
:class="activate_switch ? 'open' : ''"
|
|
9
|
-
>
|
|
2
|
+
<div class="oip_select_display">
|
|
3
|
+
<p class="oip_filter_label">{{ switch_label }}</p>
|
|
10
4
|
<div
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
</div>
|
|
18
|
-
<div
|
|
19
|
-
:class="[
|
|
20
|
-
'prmt_switch',
|
|
21
|
-
true_is_active ? 'prmt_switch_is_active' : 'prmt_switch_is_inactive',
|
|
22
|
-
]"
|
|
5
|
+
@click="changeValue"
|
|
6
|
+
class="prmt_parent_switch"
|
|
7
|
+
@focus="activate_switch = true"
|
|
8
|
+
@focusout="activate_switch = false"
|
|
9
|
+
tabindex="0"
|
|
10
|
+
:class="activate_switch ? 'open' : ''"
|
|
23
11
|
>
|
|
24
12
|
<div
|
|
25
13
|
:class="[
|
|
26
|
-
'
|
|
14
|
+
'prmt_switch_text',
|
|
27
15
|
true_is_active ? 'prmt_switch_is_active' : 'prmt_switch_is_inactive',
|
|
28
16
|
]"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
17
|
+
>
|
|
18
|
+
{{ active_text }}
|
|
19
|
+
</div>
|
|
20
|
+
<div
|
|
21
|
+
:class="[
|
|
22
|
+
'prmt_switch',
|
|
23
|
+
true_is_active ? 'prmt_switch_is_active' : 'prmt_switch_is_inactive',
|
|
24
|
+
]"
|
|
25
|
+
>
|
|
26
|
+
<div
|
|
27
|
+
:class="[
|
|
28
|
+
'prmt_switch_round',
|
|
29
|
+
true_is_active
|
|
30
|
+
? 'prmt_switch_is_active'
|
|
31
|
+
: 'prmt_switch_is_inactive',
|
|
32
|
+
]"
|
|
33
|
+
></div>
|
|
34
|
+
</div>
|
|
35
|
+
<div
|
|
36
|
+
:class="[
|
|
37
|
+
'prmt_switch_text',
|
|
38
|
+
true_is_active ? 'prmt_switch_is_inactive' : 'prmt_switch_is_active',
|
|
39
|
+
]"
|
|
40
|
+
>
|
|
41
|
+
{{ inactive_text }}
|
|
42
|
+
</div>
|
|
38
43
|
</div>
|
|
39
44
|
</div>
|
|
40
45
|
</template>
|
|
@@ -50,7 +55,8 @@ export default defineComponent({
|
|
|
50
55
|
props: {
|
|
51
56
|
active_text: { type: String, required: true },
|
|
52
57
|
inactive_text: { type: String, required: true },
|
|
53
|
-
is_active: { type: Boolean, default: true }
|
|
58
|
+
is_active: { type: Boolean, default: true },
|
|
59
|
+
switch_label: { type: String, required: true }
|
|
54
60
|
},
|
|
55
61
|
emits: ["changeValue", "update:Switch"],
|
|
56
62
|
setup(props, { emit }) {
|
|
@@ -102,7 +108,7 @@ export default defineComponent({
|
|
|
102
108
|
.prmt_switch {
|
|
103
109
|
transition: all 300ms ease;
|
|
104
110
|
width: 36px;
|
|
105
|
-
height:
|
|
111
|
+
height: 18px;
|
|
106
112
|
border-radius: 35.7px;
|
|
107
113
|
padding: 0 2px;
|
|
108
114
|
}
|
|
@@ -125,7 +131,6 @@ export default defineComponent({
|
|
|
125
131
|
|
|
126
132
|
.prmt_switch_round {
|
|
127
133
|
transition: all 300ms ease;
|
|
128
|
-
margin-top: 2px;
|
|
129
134
|
margin-bottom: 2px;
|
|
130
135
|
background-color: var(--pure-white);
|
|
131
136
|
border: solid 0.5px var(--more);
|
|
@@ -11,6 +11,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
type: BooleanConstructor;
|
|
12
12
|
default: boolean;
|
|
13
13
|
};
|
|
14
|
+
switch_label: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
14
18
|
}, {
|
|
15
19
|
changeValue: () => void;
|
|
16
20
|
activate_switch: import("vue").Ref<boolean>;
|
|
@@ -28,6 +32,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
32
|
type: BooleanConstructor;
|
|
29
33
|
default: boolean;
|
|
30
34
|
};
|
|
35
|
+
switch_label: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
31
39
|
}>> & {
|
|
32
40
|
onChangeValue?: ((...args: any[]) => any) | undefined;
|
|
33
41
|
"onUpdate:Switch"?: ((...args: any[]) => any) | undefined;
|