@tekkare/auriga 0.1.3 → 0.1.5

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.
Files changed (47) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/argAdvancedSearchBar.vue +2 -1
  3. package/dist/runtime/components/argChart.vue +663 -0
  4. package/dist/runtime/components/argChart.vue.d.ts +110 -0
  5. package/dist/runtime/components/argCheckbox.vue +153 -0
  6. package/dist/runtime/components/argCheckbox.vue.d.ts +58 -0
  7. package/dist/runtime/components/argComplexSelect.vue +118 -23
  8. package/dist/runtime/components/argComplexSelect.vue.d.ts +57 -2
  9. package/dist/runtime/components/argDropdownSelect.vue +27 -28
  10. package/dist/runtime/components/argDropdownSelect.vue.d.ts +20 -3
  11. package/dist/runtime/components/argFlag.vue +277 -0
  12. package/dist/runtime/components/argFlag.vue.d.ts +258 -0
  13. package/dist/runtime/components/argFooter.vue +41 -0
  14. package/dist/runtime/components/argFooter.vue.d.ts +2 -0
  15. package/dist/runtime/components/argHeader.vue +96 -0
  16. package/dist/runtime/components/argHeader.vue.d.ts +44 -0
  17. package/dist/runtime/components/argHeaderTabs.vue +10 -12
  18. package/dist/runtime/components/argHeaderTabs.vue.d.ts +2 -3
  19. package/dist/runtime/components/argInfoBar.vue +0 -0
  20. package/dist/runtime/components/argLineBreak.vue +21 -0
  21. package/dist/runtime/components/argLineBreak.vue.d.ts +2 -0
  22. package/dist/runtime/components/argMainLayout.vue +56 -0
  23. package/dist/runtime/components/argMainLayout.vue.d.ts +2 -0
  24. package/dist/runtime/components/argMenuItem.vue +73 -0
  25. package/dist/runtime/components/argMenuItem.vue.d.ts +36 -0
  26. package/dist/runtime/components/argMenuLink.vue +39 -0
  27. package/dist/runtime/components/argMenuLink.vue.d.ts +32 -0
  28. package/dist/runtime/components/argMultipleChoice.vue +2 -2
  29. package/dist/runtime/components/argMultipleChoice.vue.d.ts +2 -2
  30. package/dist/runtime/components/argNavBar.vue +319 -0
  31. package/dist/runtime/components/argNavBar.vue.d.ts +35 -0
  32. package/dist/runtime/components/argNote.vue +87 -0
  33. package/dist/runtime/components/argNote.vue.d.ts +42 -0
  34. package/dist/runtime/components/argSearchInput.vue +2 -1
  35. package/dist/runtime/components/argSearchInput.vue.d.ts +2 -0
  36. package/dist/runtime/components/argSidebar.vue +114 -0
  37. package/dist/runtime/components/argSidebar.vue.d.ts +33 -0
  38. package/dist/runtime/components/argSimpleLabel.vue +57 -14
  39. package/dist/runtime/components/argSimpleLabel.vue.d.ts +18 -0
  40. package/dist/runtime/components/argStyle.vue +14 -1
  41. package/dist/runtime/components/argSubMenu.vue +67 -0
  42. package/dist/runtime/components/argSubMenu.vue.d.ts +30 -0
  43. package/dist/runtime/components/argSwitch.vue +153 -0
  44. package/dist/runtime/components/argSwitch.vue.d.ts +37 -0
  45. package/dist/runtime/components/argTable.vue.d.ts +3 -3
  46. package/dist/runtime/components/argTooltip.vue +1 -1
  47. package/package.json +6 -3
@@ -0,0 +1,114 @@
1
+ <template>
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'">
7
+ Home
8
+ </span>
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 -->
27
+ </div>
28
+ </template>
29
+ <script>
30
+ import {
31
+ defineComponent
32
+ } from "vue";
33
+ import argIcon from "./argIcon.vue";
34
+ import argStyle from "./argStyle.vue";
35
+ export default defineComponent({
36
+ name: "argSidebar",
37
+ components: { argIcon, argStyle },
38
+ props: {
39
+ name: { type: String, required: true },
40
+ lang: {
41
+ type: String,
42
+ default: "en",
43
+ validator: (value) => {
44
+ return ["en", "fr"].includes(value);
45
+ }
46
+ },
47
+ homeLink: { type: String, default: "/" }
48
+ }
49
+ });
50
+ </script>
51
+ <style scoped>
52
+ .arg_sidebar{
53
+ display: flex;
54
+ width: 200px;
55
+ padding: 16px 8px;
56
+ flex-direction: column;
57
+ align-items: flex-start;
58
+ gap: 16px;
59
+ border-right: 1px solid var(--base-dividers, #ECECF2);
60
+ background: var(--base-not-quite-white, #FDFDFF);
61
+ height: 100vh;
62
+ position: fixed;
63
+ z-index: 100;
64
+ transition: all ease 0.3s;
65
+ left: 0;
66
+ top: 0;
67
+ box-sizing: border-box;
68
+ }
69
+ .arg_sidebar_header{
70
+ display: flex;
71
+ justify-content: space-between;
72
+ align-items: flex-start;
73
+ align-self: stretch;
74
+ }
75
+ .arg_sidebar_home{
76
+ display: flex;
77
+ height: 32px;
78
+ padding: 6px;
79
+ align-items: center;
80
+ gap: 6px;
81
+ font-size: 14px;
82
+ font-style: normal;
83
+ font-weight: 400;
84
+ line-height: 160%;
85
+ color: var(--primary);
86
+ }
87
+ .arg_sidebar_title{
88
+ display: flex;
89
+ padding: 0px 8px;
90
+ flex-direction: column;
91
+ justify-content: center;
92
+ align-items: flex-start;
93
+ gap: 8px;
94
+ align-self: stretch;
95
+ font-size: 20px;
96
+ font-style: normal;
97
+ font-weight: 900;
98
+ line-height: normal;
99
+ margin-bottom: 16px;
100
+ }
101
+ .arg_sidebar_body{
102
+ display: flex;
103
+ flex-direction: column;
104
+ justify-content: space-between;
105
+ height: 100%;
106
+ gap: 16px;
107
+ width: 100%;
108
+ }
109
+ .arg_sidebar_content{
110
+ display: flex;
111
+ flex-direction: column;
112
+ gap: 8px;
113
+ }
114
+ </style>
@@ -0,0 +1,33 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ name: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ lang: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ validator: (value: unknown) => boolean;
10
+ };
11
+ homeLink: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
+ name: {
17
+ type: StringConstructor;
18
+ required: true;
19
+ };
20
+ lang: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ validator: (value: unknown) => boolean;
24
+ };
25
+ homeLink: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ }>>, {
30
+ lang: string;
31
+ homeLink: string;
32
+ }, {}>;
33
+ export default _default;
@@ -3,7 +3,16 @@
3
3
  <span class="oip_select_label" :class="disabled ? 'disabled' : ''">
4
4
  <slot></slot>
5
5
  </span>
6
- <arg-icon class="oip_select_caret_down" name="CaretDown"></arg-icon>
6
+ <div v-if="show_amount && amount_value > 0" class="arg-circle-amount">
7
+ <span>{{ amount_value > 99 ? "99+" : amount_value }}</span>
8
+ </div>
9
+ <arg-icon
10
+ class="oip_select_caret_down"
11
+ name="CaretDown"
12
+ size="16"
13
+ color="var(--cool-grey)"
14
+ thickness="32"
15
+ />
7
16
  </div>
8
17
  </template>
9
18
 
@@ -19,7 +28,9 @@ export default defineComponent({
19
28
  disabled: {
20
29
  type: Boolean,
21
30
  default: false
22
- }
31
+ },
32
+ show_amount: { type: Boolean, default: false },
33
+ amount_value: { type: Number, default: null }
23
34
  }
24
35
  });
25
36
  </script>
@@ -42,13 +53,15 @@ export default defineComponent({
42
53
 
43
54
  .oip_select_block {
44
55
  cursor: pointer;
45
- width: 180px;
46
- padding: 12px 20px;
56
+ width: 228px;
57
+ padding: 12px;
47
58
  display: flex;
59
+ align-items: center;
60
+ gap: 4px;
48
61
  border: 1.5px solid var(--dividers);
49
62
  border-radius: 8px;
50
- background: var(--pure-white);
51
- max-width: 270px;
63
+ background: var(--not-quite-white);
64
+ position: relative;
52
65
  }
53
66
 
54
67
  .oip_select_block:hover,
@@ -77,23 +90,26 @@ export default defineComponent({
77
90
  .oip_select_label .prmt_tooltip {
78
91
  display: flex;
79
92
  }
80
- .oip_select_label > p,
81
- .oip_select_label .prmt_tooltip p {
82
- width: 95%;
93
+ .oip_select_label > span,
94
+ .oip_select_label .prmt_tooltip span {
95
+ display: block;
96
+ width: 98%;
83
97
  overflow: hidden;
84
98
  white-space: nowrap;
85
99
  text-overflow: ellipsis;
86
- margin: 0;
87
100
  }
88
101
 
89
102
  .oip_select_label {
90
- width: 95%;
103
+ width: 90%;
91
104
  font-weight: 700;
92
105
  font-size: 14px;
93
106
  line-height: 16px;
94
107
  color: var(--independence);
95
108
  max-height: 16px;
96
- margin: 0px;
109
+ }
110
+
111
+ .oip_select_block svg {
112
+ flex-shrink: 0 !important;
97
113
  }
98
114
 
99
115
  .oip_select_label.disabled {
@@ -101,8 +117,6 @@ export default defineComponent({
101
117
  }
102
118
 
103
119
  .oip_select_caret_down {
104
- width: 12px;
105
- height: 12px;
106
120
  float: right;
107
121
  margin-left: auto;
108
122
  }
@@ -206,6 +220,35 @@ export default defineComponent({
206
220
  fill: var(--accent) !important;
207
221
  color: var(--pure-white) !important;
208
222
  }
223
+ .arg-circle-amount {
224
+ display: flex;
225
+ width: 20px;
226
+ height: 20px;
227
+ flex-direction: column;
228
+ justify-content: center;
229
+ align-items: center;
230
+ gap: 10px;
231
+ border-radius: 50%;
232
+ background: #e9f1ff;
233
+ color: var(--primary);
234
+ padding: 4px;
235
+ font-size: 14px;
236
+ font-style: normal;
237
+ font-weight: 600;
238
+ flex-shrink: 0;
239
+ position: absolute;
240
+ right: 40px;
241
+ }
242
+ .oip_empty_select {
243
+ font-weight: 600;
244
+ color: var(--cool-grey);
245
+ }
246
+ .oip_select_display {
247
+ display: flex;
248
+ flex-direction: column;
249
+ align-items: flex-start;
250
+ gap: 4px;
251
+ }
209
252
  </style>
210
253
  <style scoped>
211
254
  .oip_select_complex_selection_loop > svg.add {
@@ -3,12 +3,30 @@ declare const _default: import("vue").DefineComponent<{
3
3
  type: BooleanConstructor;
4
4
  default: boolean;
5
5
  };
6
+ show_amount: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ amount_value: {
11
+ type: NumberConstructor;
12
+ default: null;
13
+ };
6
14
  }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
15
  disabled: {
8
16
  type: BooleanConstructor;
9
17
  default: boolean;
10
18
  };
19
+ show_amount: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ amount_value: {
24
+ type: NumberConstructor;
25
+ default: null;
26
+ };
11
27
  }>>, {
12
28
  disabled: boolean;
29
+ show_amount: boolean;
30
+ amount_value: number;
13
31
  }, {}>;
14
32
  export default _default;
@@ -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,6 +62,7 @@ export default defineComponent({
62
62
  --nested-table-bg: #eaeaf5;
63
63
  --table-hover: #dddded;
64
64
  --base-dividers: #ececf2;
65
+ --base-not-quite-white: #FDFDFF;
65
66
 
66
67
  /*SHADOWS*/
67
68
  --container-shadow: 0px 0px 40px rgba(94, 92, 154, 0.06);
@@ -632,6 +633,9 @@ button {
632
633
  }
633
634
  .oip_button_loading {
634
635
  position: absolute;
636
+ display: flex;
637
+ justify-content: center;
638
+ align-items: center;
635
639
  left: 0;
636
640
  right: 0;
637
641
  }
@@ -977,4 +981,13 @@ button {
977
981
  gap: 10px;
978
982
  flex-wrap: wrap;
979
983
  }
984
+ .arg_sub_menu .arg_sub_menu .arg_sub_menu_button{
985
+ padding-left: 24px !important;
986
+ }
987
+ .arg_sub_menu .arg_sub_menu .auriga_menu_item{
988
+ padding-left: 40px !important;
989
+ }
990
+ .arg_sub_menu .auriga_menu_item{
991
+ padding-left: 24px !important;
992
+ }
980
993
  </style>
@@ -0,0 +1,67 @@
1
+ <template>
2
+ <div class="arg_sub_menu">
3
+ <button class="arg_sub_menu_button" @click="openMenu = !openMenu">
4
+ {{label}}
5
+ <arg-icon name="CaretUp" size="12" color="var(--primary)" thickness="30" v-if="openMenu"/>
6
+ <arg-icon name="CaretDown" size="12" color="var(--primary)" thickness="30" v-else/>
7
+ </button>
8
+ <div v-show="openMenu" class="arg_sub_menu_content">
9
+ <slot/>
10
+ </div>
11
+ </div>
12
+ </template>
13
+ <script>
14
+ import {
15
+ ref,
16
+ defineComponent
17
+ } from "vue";
18
+ import argIcon from "./argIcon.vue";
19
+ import argStyle from "./argStyle.vue";
20
+ export default defineComponent({
21
+ name: "argSubMenu",
22
+ components: { argIcon, argStyle },
23
+ props: {
24
+ label: { type: String, required: true },
25
+ icon: { type: String },
26
+ defaultCollapseState: { type: Boolean, default: true }
27
+ },
28
+ setup(props) {
29
+ let openMenu = ref(props.defaultCollapseState);
30
+ return {
31
+ openMenu
32
+ };
33
+ }
34
+ });
35
+ </script>
36
+ <style>
37
+ .arg_sub_menu{
38
+ display: flex;
39
+ flex-direction: column;
40
+ align-items: flex-start;
41
+ gap: 8px;
42
+ align-self: stretch;
43
+ width: 100%;
44
+ cursor: pointer;
45
+ }
46
+
47
+ .arg_sub_menu_button{
48
+ width: 100%;
49
+ outline: none;
50
+ border: 0px solid transparent;
51
+ background-color: transparent;
52
+ padding: 0;
53
+ display: flex;
54
+ padding: 3px 8px 6px 8px;
55
+ align-items: center;
56
+ gap: 10px;
57
+ align-self: stretch;
58
+ font-size: 14px;
59
+ font-style: normal;
60
+ font-weight: 700;
61
+ line-height: normal;
62
+ cursor: pointer;
63
+ }
64
+ .arg_sub_menu_content{
65
+ width: 100%;
66
+ }
67
+ </style>
@@ -0,0 +1,30 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ label: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ icon: {
7
+ type: StringConstructor;
8
+ };
9
+ defaultCollapseState: {
10
+ type: BooleanConstructor;
11
+ default: boolean;
12
+ };
13
+ }, {
14
+ openMenu: import("vue").Ref<boolean>;
15
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
+ label: {
17
+ type: StringConstructor;
18
+ required: true;
19
+ };
20
+ icon: {
21
+ type: StringConstructor;
22
+ };
23
+ defaultCollapseState: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ }>>, {
28
+ defaultCollapseState: boolean;
29
+ }, {}>;
30
+ export default _default;
@@ -0,0 +1,153 @@
1
+ <template>
2
+ <div
3
+ @click="changeValue"
4
+ class="prmt_parent_switch"
5
+ @focus="activate_switch = true"
6
+ @focusout="activate_switch = false"
7
+ tabindex="0"
8
+ :class="activate_switch ? 'open' : ''"
9
+ >
10
+ <div
11
+ :class="[
12
+ 'prmt_switch_text',
13
+ true_is_active ? 'prmt_switch_is_active' : 'prmt_switch_is_inactive',
14
+ ]"
15
+ >
16
+ {{ active_text }}
17
+ </div>
18
+ <div
19
+ :class="[
20
+ 'prmt_switch',
21
+ true_is_active ? 'prmt_switch_is_active' : 'prmt_switch_is_inactive',
22
+ ]"
23
+ >
24
+ <div
25
+ :class="[
26
+ 'prmt_switch_round',
27
+ true_is_active ? 'prmt_switch_is_active' : 'prmt_switch_is_inactive',
28
+ ]"
29
+ ></div>
30
+ </div>
31
+ <div
32
+ :class="[
33
+ 'prmt_switch_text',
34
+ true_is_active ? 'prmt_switch_is_inactive' : 'prmt_switch_is_active',
35
+ ]"
36
+ >
37
+ {{ inactive_text }}
38
+ </div>
39
+ </div>
40
+ </template>
41
+
42
+ <script>
43
+ import {
44
+ ref,
45
+ watch,
46
+ defineComponent
47
+ } from "vue";
48
+ export default defineComponent({
49
+ name: "argSwitch",
50
+ props: {
51
+ active_text: { type: String, required: true },
52
+ inactive_text: { type: String, required: true },
53
+ is_active: { type: Boolean, default: true }
54
+ },
55
+ emits: ["changeValue", "update:Switch"],
56
+ setup(props, { emit }) {
57
+ const true_is_active = ref(true);
58
+ const activate_switch = ref(false);
59
+ true_is_active.value = props.is_active;
60
+ watch(
61
+ () => props.is_active,
62
+ (new_is_active) => {
63
+ true_is_active.value = new_is_active;
64
+ emit("changeValue", true_is_active.value);
65
+ emit("update:Switch", true_is_active.value);
66
+ }
67
+ );
68
+ function changeValue() {
69
+ emit("changeValue", !true_is_active.value);
70
+ emit("update:Switch", !true_is_active.value);
71
+ true_is_active.value = !true_is_active.value;
72
+ }
73
+ return {
74
+ changeValue,
75
+ activate_switch,
76
+ true_is_active
77
+ };
78
+ }
79
+ });
80
+ </script>
81
+
82
+ <style>
83
+ .prmt_switch_pause {
84
+ vertical-align: baseline !important;
85
+ fill: var(--dividers) !important;
86
+ color: var(--dividers) !important;
87
+ margin: 0 0 5% 11%;
88
+ stroke-width: 0px !important;
89
+ }
90
+ .prmt_switch_text {
91
+ font-weight: 700;
92
+ font-size: 14px;
93
+ line-height: 16px;
94
+ transition: all 300ms ease;
95
+ }
96
+ .prmt_switch_text.prmt_switch_is_inactive {
97
+ color: var(--lavendar-grey);
98
+ }
99
+ .prmt_switch_text.prmt_switch_is_active {
100
+ color: var(--independence);
101
+ }
102
+ .prmt_switch {
103
+ transition: all 300ms ease;
104
+ width: 36px;
105
+ height: 21px;
106
+ border-radius: 35.7px;
107
+ padding: 0 2px;
108
+ }
109
+
110
+ .prmt_switch.prmt_switch_is_active {
111
+ border: 1px solid var(--accent);
112
+ background-color: var(--accent);
113
+ }
114
+ .prmt_switch.prmt_switch_is_inactive {
115
+ background-color: var(--accent);
116
+ border: 1px solid var(--accent);
117
+ }
118
+
119
+ .prmt_switch_round.prmt_switch_is_active {
120
+ left: 0;
121
+ }
122
+ .prmt_switch_round.prmt_switch_is_inactive {
123
+ transform: translateX(100%);
124
+ }
125
+
126
+ .prmt_switch_round {
127
+ transition: all 300ms ease;
128
+ margin-top: 2px;
129
+ margin-bottom: 2px;
130
+ background-color: var(--pure-white);
131
+ border: solid 0.5px var(--more);
132
+ border-radius: 50%;
133
+ width: 16px;
134
+ height: 16px;
135
+ box-shadow: var(--button-big-shadow);
136
+ }
137
+
138
+ .prmt_parent_switch {
139
+ background-color: var(--pure-white);
140
+ cursor: pointer;
141
+ display: flex;
142
+ align-items: center;
143
+ width: fit-content;
144
+ gap: 10px;
145
+ border: solid 1.5px var(--dividers);
146
+ border-radius: 8px;
147
+ padding: 10px 17px;
148
+ }
149
+ .prmt_parent_switch:focus-within {
150
+ border: 1.5px solid var(--primary) !important;
151
+ box-shadow: 0px 0px 0px 4px rgba(33, 118, 255, 0.1) !important;
152
+ }
153
+ </style>
@@ -0,0 +1,37 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ active_text: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ inactive_text: {
7
+ type: StringConstructor;
8
+ required: true;
9
+ };
10
+ is_active: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ }, {
15
+ changeValue: () => void;
16
+ activate_switch: import("vue").Ref<boolean>;
17
+ true_is_active: import("vue").Ref<boolean>;
18
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("changeValue" | "update:Switch")[], "changeValue" | "update:Switch", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
+ active_text: {
20
+ type: StringConstructor;
21
+ required: true;
22
+ };
23
+ inactive_text: {
24
+ type: StringConstructor;
25
+ required: true;
26
+ };
27
+ is_active: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ }>> & {
32
+ onChangeValue?: ((...args: any[]) => any) | undefined;
33
+ "onUpdate:Switch"?: ((...args: any[]) => any) | undefined;
34
+ }, {
35
+ is_active: boolean;
36
+ }, {}>;
37
+ export default _default;
@@ -156,7 +156,7 @@ declare const _default: import("vue").DefineComponent<{
156
156
  showToggle: import("vue").Ref<boolean>;
157
157
  showLine: import("vue").Ref<any>;
158
158
  openLine: (index: number) => void;
159
- getTooltipDir: (index: number) => "left" | "bottom";
159
+ getTooltipDir: (index: number) => "bottom" | "left";
160
160
  getColumnTypes: () => void;
161
161
  isNA: (val: string) => boolean;
162
162
  sortDatas: (index: number) => void;
@@ -168,8 +168,8 @@ declare const _default: import("vue").DefineComponent<{
168
168
  limitB: (pageNumber: number) => boolean;
169
169
  toggle: (index: number) => void;
170
170
  viewSearchInput: (index: number) => boolean;
171
- changeColorAsc: (index: number) => "var(--lavendar-grey)" | "var(--accent)" | "transparent";
172
- changeColorDesc: (index: number) => "var(--lavendar-grey)" | "var(--accent)" | "transparent";
171
+ changeColorAsc: (index: number) => "transparent" | "var(--accent)" | "var(--lavendar-grey)";
172
+ changeColorDesc: (index: number) => "transparent" | "var(--accent)" | "var(--lavendar-grey)";
173
173
  greyBG: (index: number) => boolean | undefined;
174
174
  isOdd: (contIndex: number) => boolean;
175
175
  fillTable: import("vue").ComputedRef<never[]>;
@@ -72,7 +72,7 @@ export default defineComponent({
72
72
  }
73
73
 
74
74
  .prmt_tooltip .prmt_tooltip_text-right {
75
- top: -5px;
75
+ top: -12px;
76
76
  left: 110%;
77
77
  margin-left: 5px;
78
78
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -30,15 +30,18 @@
30
30
  "patch": "nuxt-module-build && npm version patch && npm publish"
31
31
  },
32
32
  "dependencies": {
33
- "@nuxt/kit": "^3.7.3"
33
+ "@nuxt/kit": "^3.7.3",
34
+ "apexcharts": "^3.43.0",
35
+ "vue-apexcharts": "^1.6.2",
36
+ "vue3-apexcharts": "^1.4.4"
34
37
  },
35
38
  "devDependencies": {
36
- "@types/node": "^18.17.17",
37
39
  "@nuxt/devtools": "latest",
38
40
  "@nuxt/eslint-config": "^0.2.0",
39
41
  "@nuxt/module-builder": "^0.5.1",
40
42
  "@nuxt/schema": "^3.7.3",
41
43
  "@nuxt/test-utils": "^3.7.3",
44
+ "@types/node": "^18.17.17",
42
45
  "changelogen": "^0.5.5",
43
46
  "eslint": "^8.49.0",
44
47
  "nuxt": "^3.7.3",