@tekkare/auriga 0.1.11 → 0.1.13
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/allFlags.vue +245 -0
- package/dist/runtime/components/allFlags.vue.d.ts +8 -0
- package/dist/runtime/components/argActions.vue +19 -5
- package/dist/runtime/components/argActions.vue.d.ts +9 -0
- package/dist/runtime/components/argChartTableCard.vue +12 -2
- package/dist/runtime/components/argChartTableCard.vue.d.ts +22 -1
- package/dist/runtime/components/argComplexSelect.vue +12 -5
- package/dist/runtime/components/argComplexSelect.vue.d.ts +3 -0
- package/dist/runtime/components/argDate.vue +12 -12
- package/dist/runtime/components/argDate.vue.d.ts +3 -3
- package/dist/runtime/components/argDropdownSelect.vue +20 -4
- package/dist/runtime/components/argErrors.vue +2 -1
- package/dist/runtime/components/argErrors.vue.d.ts +2 -0
- package/dist/runtime/components/argFilterCard.vue +2 -2
- package/dist/runtime/components/argFlag.vue +447 -217
- package/dist/runtime/components/argFlag.vue.d.ts +4 -4
- package/dist/runtime/components/argHeader.vue +1 -1
- package/dist/runtime/components/argHybridChart.vue +2 -2
- package/dist/runtime/components/argInfoBar.vue +0 -62
- package/dist/runtime/components/argMainLayout.vue +2 -6
- package/dist/runtime/components/argMultipleSelect.vue +1 -1
- package/dist/runtime/components/argNoSavedScope.vue +90 -0
- package/dist/runtime/components/argNoSavedScope.vue.d.ts +29 -0
- package/dist/runtime/components/argNumberInput.vue +4 -4
- package/dist/runtime/components/argScopeHeader.vue +11 -24
- package/dist/runtime/components/argScopeHeader.vue.d.ts +11 -7
- package/dist/runtime/components/argScopeLayout.vue +8 -5
- package/dist/runtime/components/argSearchInput.vue +10 -6
- package/dist/runtime/components/argSearchInput.vue.d.ts +4 -6
- package/dist/runtime/components/argSidebar.vue +4 -2
- package/dist/runtime/components/argSimpleInput.vue +6 -1
- package/dist/runtime/components/argSimpleInput.vue.d.ts +8 -0
- package/dist/runtime/components/argSourceContainer.vue +34 -0
- package/dist/runtime/components/argSourceContainer.vue.d.ts +2 -0
- package/dist/runtime/components/argTable.vue +42 -9
- package/dist/runtime/components/argTable.vue.d.ts +14 -2
- package/dist/runtime/components/argTipsBox.vue +1 -0
- package/dist/runtime/components/argTutoModal.vue +10 -6
- package/package.json +2 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
:value="searchKey"
|
|
7
7
|
:placeHolderValue="getPlaceHolder"
|
|
8
8
|
class="table_input"
|
|
9
|
-
@submitSearch="
|
|
9
|
+
@submitSearch="sendSearch"
|
|
10
10
|
/>
|
|
11
11
|
<div :class="fullTableScroll ? 'full scroll_table' : 'full'">
|
|
12
12
|
<div
|
|
@@ -107,7 +107,9 @@
|
|
|
107
107
|
:name="columnTypeNonProps[valIndex]"
|
|
108
108
|
v-bind:value="value"
|
|
109
109
|
></slot>
|
|
110
|
-
<p v-else>
|
|
110
|
+
<p v-else>
|
|
111
|
+
{{ value }}
|
|
112
|
+
</p>
|
|
111
113
|
</td>
|
|
112
114
|
</tr>
|
|
113
115
|
<tr
|
|
@@ -117,7 +119,10 @@
|
|
|
117
119
|
:class="greyBG(contIndex) ? 'grey_bg' : 'white_bg'"
|
|
118
120
|
>
|
|
119
121
|
<td class="more_section" :colspan="heads.length.toString()">
|
|
120
|
-
<slot
|
|
122
|
+
<slot
|
|
123
|
+
name="showMore"
|
|
124
|
+
v-bind:value="[contIndex, finalTable[contIndex][0]]"
|
|
125
|
+
/>
|
|
121
126
|
</td>
|
|
122
127
|
</tr>
|
|
123
128
|
</template>
|
|
@@ -128,7 +133,11 @@
|
|
|
128
133
|
</div>
|
|
129
134
|
<div v-else-if="loadingData" class="empty_table">
|
|
130
135
|
<arg-tekkare-loader v-if="loaderType === 'tekkare'" />
|
|
131
|
-
<arg-data-loader
|
|
136
|
+
<arg-data-loader
|
|
137
|
+
v-else
|
|
138
|
+
:text="loaderValues[0]"
|
|
139
|
+
:sub-text="loaderValues[1]"
|
|
140
|
+
/>
|
|
132
141
|
</div>
|
|
133
142
|
<div
|
|
134
143
|
v-if="
|
|
@@ -198,6 +207,9 @@ import argIcon from "./argIcon.vue";
|
|
|
198
207
|
import argNoData from "./argNoData.vue";
|
|
199
208
|
import argDataLoader from "./argDataLoader.vue";
|
|
200
209
|
import argTekkareLoader from "./argTekkareLoader.vue";
|
|
210
|
+
import argSearchInput from "./argSearchInput.vue";
|
|
211
|
+
import argTooltip from "./argTooltip.vue";
|
|
212
|
+
import argBtn from "./argBtn.vue";
|
|
201
213
|
import {
|
|
202
214
|
ref,
|
|
203
215
|
computed,
|
|
@@ -206,7 +218,15 @@ import {
|
|
|
206
218
|
} from "vue";
|
|
207
219
|
export default defineComponent({
|
|
208
220
|
name: "argTable",
|
|
209
|
-
components: {
|
|
221
|
+
components: {
|
|
222
|
+
argIcon,
|
|
223
|
+
argNoData,
|
|
224
|
+
argDataLoader,
|
|
225
|
+
argTekkareLoader,
|
|
226
|
+
argSearchInput,
|
|
227
|
+
argTooltip,
|
|
228
|
+
argBtn
|
|
229
|
+
},
|
|
210
230
|
props: {
|
|
211
231
|
heads: {
|
|
212
232
|
type: Array,
|
|
@@ -219,7 +239,7 @@ export default defineComponent({
|
|
|
219
239
|
default: () => [{ values: Array }]
|
|
220
240
|
},
|
|
221
241
|
// data values
|
|
222
|
-
pageSize: { type: Number, default:
|
|
242
|
+
pageSize: { type: Number, default: 10 },
|
|
223
243
|
// number of rows to be displayed in table
|
|
224
244
|
sort: { type: Boolean, default: true },
|
|
225
245
|
// allow for table sorting
|
|
@@ -261,6 +281,10 @@ export default defineComponent({
|
|
|
261
281
|
"Change or empty your search."
|
|
262
282
|
]
|
|
263
283
|
},
|
|
284
|
+
loaderValues: {
|
|
285
|
+
type: Array,
|
|
286
|
+
default: () => ["Doing data science", "Thanks for waiting"]
|
|
287
|
+
},
|
|
264
288
|
loadingData: {
|
|
265
289
|
type: Boolean,
|
|
266
290
|
default: false
|
|
@@ -278,7 +302,8 @@ export default defineComponent({
|
|
|
278
302
|
default: "300"
|
|
279
303
|
}
|
|
280
304
|
},
|
|
281
|
-
|
|
305
|
+
emits: ["changeInputValue"],
|
|
306
|
+
setup(props, { emit }) {
|
|
282
307
|
const dataValues = ref();
|
|
283
308
|
const sortCol = ref();
|
|
284
309
|
const sortDir = ref();
|
|
@@ -310,6 +335,9 @@ export default defineComponent({
|
|
|
310
335
|
);
|
|
311
336
|
watch(searchKey, (newSearchKey) => {
|
|
312
337
|
setPage(1);
|
|
338
|
+
if (!props.searchFullWord || props.searchFullWord && newSearchKey.length === 0) {
|
|
339
|
+
emit("changeInputValue", newSearchKey);
|
|
340
|
+
}
|
|
313
341
|
if (newSearchKey.length === 0) {
|
|
314
342
|
searchSubmit.value = false;
|
|
315
343
|
}
|
|
@@ -407,6 +435,10 @@ export default defineComponent({
|
|
|
407
435
|
}
|
|
408
436
|
searchIndex.value = index;
|
|
409
437
|
}
|
|
438
|
+
function sendSearch() {
|
|
439
|
+
searchSubmit.value = true;
|
|
440
|
+
emit("changeInputValue", searchKey.value);
|
|
441
|
+
}
|
|
410
442
|
function viewSearchInput(index) {
|
|
411
443
|
if (searchIndex.value === index && showSearch) {
|
|
412
444
|
return true;
|
|
@@ -618,7 +650,8 @@ export default defineComponent({
|
|
|
618
650
|
resultCount,
|
|
619
651
|
totalPages,
|
|
620
652
|
getPlaceHolder,
|
|
621
|
-
getHeight
|
|
653
|
+
getHeight,
|
|
654
|
+
sendSearch
|
|
622
655
|
};
|
|
623
656
|
}
|
|
624
657
|
});
|
|
@@ -895,7 +928,7 @@ th:last-child div.show .rcd-searchInput {
|
|
|
895
928
|
|
|
896
929
|
.scroll_table .rcd_scrollTable thead {
|
|
897
930
|
background: var(--pure-white) !important;
|
|
898
|
-
z-index:
|
|
931
|
+
z-index: 90;
|
|
899
932
|
}
|
|
900
933
|
|
|
901
934
|
.scroll_table .rcd_scrollTable {
|
|
@@ -132,6 +132,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
132
132
|
type: ArrayConstructor;
|
|
133
133
|
default: () => string[];
|
|
134
134
|
};
|
|
135
|
+
loaderValues: {
|
|
136
|
+
type: ArrayConstructor;
|
|
137
|
+
default: () => string[];
|
|
138
|
+
};
|
|
135
139
|
loadingData: {
|
|
136
140
|
type: BooleanConstructor;
|
|
137
141
|
default: boolean;
|
|
@@ -186,7 +190,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
186
190
|
totalPages: import("vue").ComputedRef<number>;
|
|
187
191
|
getPlaceHolder: import("vue").ComputedRef<string>;
|
|
188
192
|
getHeight: import("vue").ComputedRef<string>;
|
|
189
|
-
|
|
193
|
+
sendSearch: () => void;
|
|
194
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "changeInputValue"[], "changeInputValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
190
195
|
heads: {
|
|
191
196
|
type: {
|
|
192
197
|
(arrayLength: number): string[];
|
|
@@ -320,6 +325,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
320
325
|
type: ArrayConstructor;
|
|
321
326
|
default: () => string[];
|
|
322
327
|
};
|
|
328
|
+
loaderValues: {
|
|
329
|
+
type: ArrayConstructor;
|
|
330
|
+
default: () => string[];
|
|
331
|
+
};
|
|
323
332
|
loadingData: {
|
|
324
333
|
type: BooleanConstructor;
|
|
325
334
|
default: boolean;
|
|
@@ -336,7 +345,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
336
345
|
type: (StringConstructor | NumberConstructor)[];
|
|
337
346
|
default: string;
|
|
338
347
|
};
|
|
339
|
-
}
|
|
348
|
+
}>> & {
|
|
349
|
+
onChangeInputValue?: ((...args: any[]) => any) | undefined;
|
|
350
|
+
}, {
|
|
340
351
|
sort: boolean;
|
|
341
352
|
search: boolean;
|
|
342
353
|
contents: Object[];
|
|
@@ -349,6 +360,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
349
360
|
toggleDisplay: boolean;
|
|
350
361
|
pagesPosition: string;
|
|
351
362
|
noDataValues: unknown[];
|
|
363
|
+
loaderValues: unknown[];
|
|
352
364
|
loadingData: boolean;
|
|
353
365
|
loaderType: string;
|
|
354
366
|
fullTableScroll: boolean;
|
|
@@ -106,24 +106,28 @@ export default defineComponent({
|
|
|
106
106
|
background-color: transparent;
|
|
107
107
|
transition: all ease 0.5s;
|
|
108
108
|
position: fixed;
|
|
109
|
-
width: 100%;
|
|
110
|
-
height: 100%;
|
|
111
109
|
left: 0;
|
|
112
|
-
top: 0;
|
|
113
110
|
bottom: 0;
|
|
111
|
+
height: 0px;
|
|
112
|
+
width: 0px;
|
|
114
113
|
padding: 53px 82px;
|
|
115
|
-
|
|
114
|
+
display: flex;
|
|
115
|
+
align-items: center;
|
|
116
|
+
justify-content: center;
|
|
116
117
|
}
|
|
117
118
|
|
|
118
119
|
.arg_tuto_modal_open {
|
|
119
|
-
z-index:
|
|
120
|
+
z-index: 99;
|
|
120
121
|
background-color: rgba(0, 0, 0, 0.4);
|
|
122
|
+
width: calc(100% - 164px);
|
|
123
|
+
height: calc(100% - 106px);
|
|
121
124
|
}
|
|
122
125
|
|
|
123
126
|
.arg_tuto_modal {
|
|
124
127
|
display: flex;
|
|
125
128
|
width: calc(100% - 164px);
|
|
126
|
-
|
|
129
|
+
max-width: 1088px;
|
|
130
|
+
height: 100%;
|
|
127
131
|
flex-direction: column;
|
|
128
132
|
align-items: flex-start;
|
|
129
133
|
flex-shrink: 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tekkare/auriga",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.13",
|
|
4
4
|
"description": "Aurgia is a UI kit developped by Tekkare",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@esbuild/darwin-x64": "^0.19.8",
|
|
34
34
|
"@nuxt/kit": "^3.7.3",
|
|
35
|
+
"@pinia/nuxt": "^0.5.1",
|
|
35
36
|
"apexcharts": "^3.43.0",
|
|
36
37
|
"vue-apexcharts": "^1.6.2",
|
|
37
38
|
"vue3-apexcharts": "^1.4.4"
|