@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,185 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
:class="['arg_tuto_modal_container', openTuto ? 'arg_tuto_modal_open' : '']"
|
|
4
|
+
>
|
|
5
|
+
<div v-show="openTuto" class="arg_tuto_modal">
|
|
6
|
+
<div class="arg_tuto_header">
|
|
7
|
+
<arg-actions action-type="close" customize @onClose="closeTuto">
|
|
8
|
+
<template #custom>
|
|
9
|
+
<div class="oip_row v-center gap-6">
|
|
10
|
+
<arg-icon name="X" size="20" />
|
|
11
|
+
<p>Close</p>
|
|
12
|
+
</div>
|
|
13
|
+
</template>
|
|
14
|
+
</arg-actions>
|
|
15
|
+
|
|
16
|
+
<h1>{{ title }}</h1>
|
|
17
|
+
<div class="oip_row v-center gap-8 pagination">
|
|
18
|
+
<arg-icon
|
|
19
|
+
name="CaretLeft"
|
|
20
|
+
size="20"
|
|
21
|
+
:color="currentPage - 1 > 0 ? '' : 'var(--cool-grey)'"
|
|
22
|
+
@click="prevPage()"
|
|
23
|
+
/>
|
|
24
|
+
<p>{{ `${currentPage} / ${pageAmount}` }}</p>
|
|
25
|
+
<arg-icon name="CaretRight" size="20" @click="nextPage()" />
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="arg_tuto_body">
|
|
29
|
+
<div
|
|
30
|
+
v-for="index in pageAmount"
|
|
31
|
+
:key="index"
|
|
32
|
+
:class="index !== currentPage ? 'hide' : 'full'"
|
|
33
|
+
>
|
|
34
|
+
<slot :name="`page${index}`" />
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="arg_tuto_footer">
|
|
38
|
+
<div class="oip_row v-center gap-8 pagination">
|
|
39
|
+
<arg-icon
|
|
40
|
+
name="CaretLeft"
|
|
41
|
+
size="20"
|
|
42
|
+
:color="currentPage - 1 > 0 ? '' : 'var(--cool-grey)'"
|
|
43
|
+
@click="prevPage()"
|
|
44
|
+
/>
|
|
45
|
+
<p>{{ `${currentPage} / ${pageAmount}` }}</p>
|
|
46
|
+
<arg-icon name="CaretRight" size="20" @click="nextPage()" />
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
</template>
|
|
52
|
+
|
|
53
|
+
<script>
|
|
54
|
+
import {
|
|
55
|
+
ref,
|
|
56
|
+
defineComponent
|
|
57
|
+
} from "vue";
|
|
58
|
+
import argIcon from "./argIcon.vue";
|
|
59
|
+
import argActions from "./argActions.vue";
|
|
60
|
+
export default defineComponent({
|
|
61
|
+
name: "argTutoModal",
|
|
62
|
+
components: { argIcon, argActions },
|
|
63
|
+
props: {
|
|
64
|
+
pageAmount: {
|
|
65
|
+
type: Number,
|
|
66
|
+
required: true
|
|
67
|
+
},
|
|
68
|
+
openTuto: {
|
|
69
|
+
type: Boolean,
|
|
70
|
+
default: false
|
|
71
|
+
},
|
|
72
|
+
title: {
|
|
73
|
+
type: String,
|
|
74
|
+
required: true,
|
|
75
|
+
default: "My Scope"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
emits: ["onNextPage", "onClose"],
|
|
79
|
+
setup(props, { emit }) {
|
|
80
|
+
const currentPage = ref(1);
|
|
81
|
+
function closeTuto() {
|
|
82
|
+
emit("onClose");
|
|
83
|
+
}
|
|
84
|
+
function prevPage() {
|
|
85
|
+
if (currentPage.value > 1) {
|
|
86
|
+
currentPage.value -= 1;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
function nextPage() {
|
|
90
|
+
if (currentPage.value < props.pageAmount) {
|
|
91
|
+
currentPage.value += 1;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
return {
|
|
95
|
+
closeTuto,
|
|
96
|
+
currentPage,
|
|
97
|
+
prevPage,
|
|
98
|
+
nextPage
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
</script>
|
|
103
|
+
|
|
104
|
+
<style scoped>
|
|
105
|
+
.arg_tuto_modal_container {
|
|
106
|
+
background-color: transparent;
|
|
107
|
+
transition: all ease 0.5s;
|
|
108
|
+
position: fixed;
|
|
109
|
+
width: 100%;
|
|
110
|
+
height: 100%;
|
|
111
|
+
left: 0;
|
|
112
|
+
top: 0;
|
|
113
|
+
bottom: 0;
|
|
114
|
+
padding: 53px 82px;
|
|
115
|
+
z-index: 0;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.arg_tuto_modal_open {
|
|
119
|
+
z-index: 2000;
|
|
120
|
+
background-color: rgba(0, 0, 0, 0.4);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.arg_tuto_modal {
|
|
124
|
+
display: flex;
|
|
125
|
+
width: calc(100% - 164px);
|
|
126
|
+
height: calc(100% - 106px);
|
|
127
|
+
flex-direction: column;
|
|
128
|
+
align-items: flex-start;
|
|
129
|
+
flex-shrink: 0;
|
|
130
|
+
border-radius: var(--m, 16px);
|
|
131
|
+
background: var(--base-white, #fff);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.arg_tuto_header {
|
|
135
|
+
display: flex;
|
|
136
|
+
padding: var(--m, 16px);
|
|
137
|
+
justify-content: space-between;
|
|
138
|
+
align-items: center;
|
|
139
|
+
align-self: stretch;
|
|
140
|
+
border-bottom: 1px solid var(--base-dividers, #ececf2);
|
|
141
|
+
background: var(--base-background, #f5f5f9);
|
|
142
|
+
backdrop-filter: blur(12px);
|
|
143
|
+
border-top-left-radius: var(--m, 16px);
|
|
144
|
+
border-top-right-radius: var(--m, 16px);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.arg_tuto_header > h1 {
|
|
148
|
+
font-size: 14px;
|
|
149
|
+
font-style: normal;
|
|
150
|
+
font-weight: 700;
|
|
151
|
+
line-height: 160%;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.pagination > svg {
|
|
155
|
+
cursor: pointer;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.arg_tuto_body {
|
|
159
|
+
display: flex;
|
|
160
|
+
padding: 24px;
|
|
161
|
+
flex-direction: column;
|
|
162
|
+
align-items: center;
|
|
163
|
+
gap: 24px;
|
|
164
|
+
flex: 1 0 0;
|
|
165
|
+
align-self: stretch;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.arg_tuto_footer {
|
|
169
|
+
display: flex;
|
|
170
|
+
flex-direction: row;
|
|
171
|
+
justify-content: center;
|
|
172
|
+
align-items: center;
|
|
173
|
+
gap: var(--s, 8px);
|
|
174
|
+
flex-shrink: 0;
|
|
175
|
+
align-self: stretch;
|
|
176
|
+
height: 64px;
|
|
177
|
+
}
|
|
178
|
+
.hide {
|
|
179
|
+
display: none;
|
|
180
|
+
}
|
|
181
|
+
.full {
|
|
182
|
+
width: 60%;
|
|
183
|
+
height: 100%;
|
|
184
|
+
}
|
|
185
|
+
</style>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
pageAmount: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
openTuto: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
title: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
}, {
|
|
16
|
+
closeTuto: () => void;
|
|
17
|
+
currentPage: import("vue").Ref<number>;
|
|
18
|
+
prevPage: () => void;
|
|
19
|
+
nextPage: () => void;
|
|
20
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onClose" | "onNextPage")[], "onClose" | "onNextPage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
pageAmount: {
|
|
22
|
+
type: NumberConstructor;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
openTuto: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
title: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
required: true;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
}>> & {
|
|
35
|
+
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
36
|
+
onOnNextPage?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
title: string;
|
|
39
|
+
openTuto: boolean;
|
|
40
|
+
}, {}>;
|
|
41
|
+
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.11",
|
|
4
4
|
"description": "Aurgia is a UI kit developped by Tekkare",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -30,6 +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",
|
|
33
34
|
"@nuxt/kit": "^3.7.3",
|
|
34
35
|
"apexcharts": "^3.43.0",
|
|
35
36
|
"vue-apexcharts": "^1.6.2",
|