@tekkare/auriga 0.2.126 → 0.2.128
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/argAdvancedSearchBar.vue +7 -14
- package/dist/runtime/components/argAdvancedSearchBar.vue.d.ts +24 -24
- package/dist/runtime/components/argChaptersNav.vue +2 -4
- package/dist/runtime/components/argChart.vue +7 -13
- package/dist/runtime/components/argChart.vue.d.ts +1 -1
- package/dist/runtime/components/argCheckbox.vue +2 -4
- package/dist/runtime/components/argComplexSelect.vue +9 -18
- package/dist/runtime/components/argComplexSelect.vue.d.ts +24 -24
- package/dist/runtime/components/argDropdownSelect.vue +8 -16
- package/dist/runtime/components/argDropdownSelect.vue.d.ts +17 -17
- package/dist/runtime/components/argErrors.vue +3 -6
- package/dist/runtime/components/argFilterTabs.vue +1 -2
- package/dist/runtime/components/argFilterTabs.vue.d.ts +8 -8
- package/dist/runtime/components/argFlag.vue +1 -1
- package/dist/runtime/components/argGoogleMaps.vue +126 -0
- package/dist/runtime/components/argGoogleMaps.vue.d.ts +575 -0
- package/dist/runtime/components/argGoogleMapsHeader.vue +47 -0
- package/dist/runtime/components/argGoogleMapsHeader.vue.d.ts +43 -0
- package/dist/runtime/components/argHeader.vue.d.ts +8 -8
- package/dist/runtime/components/argHeaderTabs.vue +1 -2
- package/dist/runtime/components/argHeaderTabs.vue.d.ts +8 -8
- package/dist/runtime/components/argHomeAllBlocks.vue +2 -4
- package/dist/runtime/components/argHomeKpis.vue.d.ts +16 -16
- package/dist/runtime/components/argLangSelect.vue +1 -2
- package/dist/runtime/components/argLangSelect.vue.d.ts +8 -8
- package/dist/runtime/components/argMaps.vue +8 -16
- package/dist/runtime/components/argMaps.vue.d.ts +9 -9
- package/dist/runtime/components/argMapsEurope.vue +3 -6
- package/dist/runtime/components/argMapsFrDepartements.vue +2 -4
- package/dist/runtime/components/argMapsFrRegions.vue +3 -6
- package/dist/runtime/components/argMapsFrRegionsToDepartements.vue +4 -8
- package/dist/runtime/components/argMapsFrRegionsToDepartements.vue.d.ts +1 -1
- package/dist/runtime/components/argMapsGermany.vue +3 -6
- package/dist/runtime/components/argMapsGermany.vue.d.ts +1 -1
- package/dist/runtime/components/argMapsKorea.vue +3 -6
- package/dist/runtime/components/argMapsKorea.vue.d.ts +1 -1
- package/dist/runtime/components/argMapsNorway.vue +4 -8
- package/dist/runtime/components/argMapsNorway.vue.d.ts +1 -1
- package/dist/runtime/components/argMapsUs.vue +3 -6
- package/dist/runtime/components/argMultipleChoice.vue +6 -12
- package/dist/runtime/components/argMultipleChoice.vue.d.ts +16 -16
- package/dist/runtime/components/argMultipleSelect.vue +11 -22
- package/dist/runtime/components/argMultipleSelect.vue.d.ts +25 -25
- package/dist/runtime/components/argNavBar.vue +1 -2
- package/dist/runtime/components/argNote.vue +1 -2
- package/dist/runtime/components/argNumberInput.vue +1 -2
- package/dist/runtime/components/argRadioButtons.vue +2 -4
- package/dist/runtime/components/argRadioButtons.vue.d.ts +8 -8
- package/dist/runtime/components/argScopeChange.vue +2 -4
- package/dist/runtime/components/argScopeChange.vue.d.ts +8 -8
- package/dist/runtime/components/argScopeManage.vue +1 -2
- package/dist/runtime/components/argScopeModal.vue +1 -2
- package/dist/runtime/components/argScopeModal.vue.d.ts +8 -8
- package/dist/runtime/components/argScopeSelect.vue +3 -6
- package/dist/runtime/components/argScopeSelect.vue.d.ts +8 -8
- package/dist/runtime/components/argSearchInput.vue.d.ts +8 -8
- package/dist/runtime/components/argSidebar.vue +1 -2
- package/dist/runtime/components/argSmallAreaChart.vue.d.ts +1 -1
- package/dist/runtime/components/argSourceCollapse.vue +1 -2
- package/dist/runtime/components/argSteplineChart.vue +1 -2
- package/dist/runtime/components/argSteplineChart.vue.d.ts +1 -1
- package/dist/runtime/components/argTable.vue +10 -20
- package/dist/runtime/components/argTable.vue.d.ts +49 -49
- package/dist/runtime/components/argTagsRow.vue +2 -4
- package/dist/runtime/components/argTekkareLoader.vue +1 -1
- package/dist/runtime/components/argToolModal.vue +1 -2
- package/dist/runtime/components/argToolModal.vue.d.ts +16 -16
- package/dist/runtime/components/argToolbarContent.vue +1 -2
- package/dist/runtime/components/oneRegionToDepartements.vue +1 -2
- package/dist/runtime/components/tableRowCrop.vue +2 -4
- package/package.json +7 -6
|
@@ -493,8 +493,7 @@ export default defineComponent({
|
|
|
493
493
|
watch(showFull, (newShowValue) => {
|
|
494
494
|
if (newShowValue) {
|
|
495
495
|
savePageSize.value = saveTable.value.length;
|
|
496
|
-
} else
|
|
497
|
-
savePageSize.value = props.pageSize;
|
|
496
|
+
} else savePageSize.value = props.pageSize;
|
|
498
497
|
});
|
|
499
498
|
watch(
|
|
500
499
|
() => props.toggleDisplay,
|
|
@@ -511,14 +510,12 @@ export default defineComponent({
|
|
|
511
510
|
function openLine(index) {
|
|
512
511
|
if (showLine.value === index) {
|
|
513
512
|
showLine.value = null;
|
|
514
|
-
} else
|
|
515
|
-
showLine.value = index;
|
|
513
|
+
} else showLine.value = index;
|
|
516
514
|
}
|
|
517
515
|
function getTooltipDir(index) {
|
|
518
516
|
if (index === props.heads.length - 1) {
|
|
519
517
|
return "left";
|
|
520
|
-
} else
|
|
521
|
-
return "bottom";
|
|
518
|
+
} else return "bottom";
|
|
522
519
|
}
|
|
523
520
|
function getColumnTypes() {
|
|
524
521
|
if (props.columnType.length <= 1) {
|
|
@@ -623,15 +620,13 @@ export default defineComponent({
|
|
|
623
620
|
const color = window?.getComputedStyle(myDivObj).backgroundColor;
|
|
624
621
|
if (color === "rgb(255, 255, 255)") {
|
|
625
622
|
return false;
|
|
626
|
-
} else
|
|
627
|
-
return true;
|
|
623
|
+
} else return true;
|
|
628
624
|
}
|
|
629
625
|
}
|
|
630
626
|
function isOdd(contIndex) {
|
|
631
627
|
if (contIndex % 2 == 0) {
|
|
632
628
|
return false;
|
|
633
|
-
} else
|
|
634
|
-
return true;
|
|
629
|
+
} else return true;
|
|
635
630
|
}
|
|
636
631
|
const fillTable = computed(() => {
|
|
637
632
|
let row = [];
|
|
@@ -656,8 +651,7 @@ export default defineComponent({
|
|
|
656
651
|
const getHeight = computed(() => {
|
|
657
652
|
if (typeof props.maxHeight === "string" && props.maxHeight.includes("px")) {
|
|
658
653
|
return props.maxHeight;
|
|
659
|
-
} else
|
|
660
|
-
return `${props.maxHeight.toString()}px`;
|
|
654
|
+
} else return `${props.maxHeight.toString()}px`;
|
|
661
655
|
});
|
|
662
656
|
const filteredTable = computed(() => {
|
|
663
657
|
if (props.searchFullWord && searchSubmit.value === false || !props.searchFullWord && searchKey.value.length === 0) {
|
|
@@ -674,8 +668,7 @@ export default defineComponent({
|
|
|
674
668
|
tempTable.push(row);
|
|
675
669
|
row = [];
|
|
676
670
|
j = props.searchColumns.length;
|
|
677
|
-
} else
|
|
678
|
-
j += 1;
|
|
671
|
+
} else j += 1;
|
|
679
672
|
}
|
|
680
673
|
}
|
|
681
674
|
} else {
|
|
@@ -744,8 +737,7 @@ export default defineComponent({
|
|
|
744
737
|
return sorted.value.filter((row, index) => {
|
|
745
738
|
const start = (currentPage.value - 1) * savePageSize.value;
|
|
746
739
|
const end = currentPage.value * savePageSize.value;
|
|
747
|
-
if (index >= start && index < end)
|
|
748
|
-
return true;
|
|
740
|
+
if (index >= start && index < end) return true;
|
|
749
741
|
return false;
|
|
750
742
|
});
|
|
751
743
|
}
|
|
@@ -764,12 +756,10 @@ export default defineComponent({
|
|
|
764
756
|
for (let i = 1; i < props.searchColumns.length; i++) {
|
|
765
757
|
if (i === props.searchColumns.length - 1) {
|
|
766
758
|
columnNames += ` ${langData.value?.or} ${props.heads[props.searchColumns[i]]}...`;
|
|
767
|
-
} else
|
|
768
|
-
columnNames += `, ${props.heads[props.searchColumns[i]]}`;
|
|
759
|
+
} else columnNames += `, ${props.heads[props.searchColumns[i]]}`;
|
|
769
760
|
}
|
|
770
761
|
return columnNames;
|
|
771
|
-
} else
|
|
772
|
-
return langData.value?.searchAll;
|
|
762
|
+
} else return langData.value?.searchAll;
|
|
773
763
|
});
|
|
774
764
|
getColumnTypes();
|
|
775
765
|
dataValues.value = fillTable.value;
|
|
@@ -8,10 +8,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
8
8
|
isArray(arg: any): arg is any[];
|
|
9
9
|
readonly prototype: any[];
|
|
10
10
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
11
|
-
from<
|
|
12
|
-
from<
|
|
13
|
-
from<
|
|
14
|
-
of<
|
|
11
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
12
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
13
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
14
|
+
of<T>(...items: T[]): T[];
|
|
15
15
|
readonly [Symbol.species]: ArrayConstructor;
|
|
16
16
|
};
|
|
17
17
|
required: true;
|
|
@@ -25,10 +25,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
25
25
|
isArray(arg: any): arg is any[];
|
|
26
26
|
readonly prototype: any[];
|
|
27
27
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
28
|
-
from<
|
|
29
|
-
from<
|
|
30
|
-
from<
|
|
31
|
-
of<
|
|
28
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
29
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
30
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
31
|
+
of<T>(...items: T[]): T[];
|
|
32
32
|
readonly [Symbol.species]: ArrayConstructor;
|
|
33
33
|
};
|
|
34
34
|
required: true;
|
|
@@ -41,10 +41,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
41
41
|
isArray(arg: any): arg is any[];
|
|
42
42
|
readonly prototype: any[];
|
|
43
43
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
44
|
-
from<
|
|
45
|
-
from<
|
|
46
|
-
from<
|
|
47
|
-
of<
|
|
44
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
45
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
46
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
47
|
+
of<T>(...items: T[]): T[];
|
|
48
48
|
readonly [Symbol.species]: ArrayConstructor;
|
|
49
49
|
};
|
|
50
50
|
}[];
|
|
@@ -70,10 +70,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
70
70
|
isArray(arg: any): arg is any[];
|
|
71
71
|
readonly prototype: any[];
|
|
72
72
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
73
|
-
from<
|
|
74
|
-
from<
|
|
75
|
-
from<
|
|
76
|
-
of<
|
|
73
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
74
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
75
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
76
|
+
of<T>(...items: T[]): T[];
|
|
77
77
|
readonly [Symbol.species]: ArrayConstructor;
|
|
78
78
|
};
|
|
79
79
|
default: null;
|
|
@@ -87,10 +87,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
87
87
|
isArray(arg: any): arg is any[];
|
|
88
88
|
readonly prototype: any[];
|
|
89
89
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
90
|
-
from<
|
|
91
|
-
from<
|
|
92
|
-
from<
|
|
93
|
-
of<
|
|
90
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
91
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
92
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
93
|
+
of<T>(...items: T[]): T[];
|
|
94
94
|
readonly [Symbol.species]: ArrayConstructor;
|
|
95
95
|
};
|
|
96
96
|
default: () => never[];
|
|
@@ -108,10 +108,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
108
108
|
isArray(arg: any): arg is any[];
|
|
109
109
|
readonly prototype: any[];
|
|
110
110
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
111
|
-
from<
|
|
112
|
-
from<
|
|
113
|
-
from<
|
|
114
|
-
of<
|
|
111
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
112
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
113
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
114
|
+
of<T>(...items: T[]): T[];
|
|
115
115
|
readonly [Symbol.species]: ArrayConstructor;
|
|
116
116
|
};
|
|
117
117
|
default(): never[];
|
|
@@ -233,10 +233,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
233
233
|
isArray(arg: any): arg is any[];
|
|
234
234
|
readonly prototype: any[];
|
|
235
235
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
236
|
-
from<
|
|
237
|
-
from<
|
|
238
|
-
from<
|
|
239
|
-
of<
|
|
236
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
237
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
238
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
239
|
+
of<T>(...items: T[]): T[];
|
|
240
240
|
readonly [Symbol.species]: ArrayConstructor;
|
|
241
241
|
};
|
|
242
242
|
required: true;
|
|
@@ -250,10 +250,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
250
250
|
isArray(arg: any): arg is any[];
|
|
251
251
|
readonly prototype: any[];
|
|
252
252
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
253
|
-
from<
|
|
254
|
-
from<
|
|
255
|
-
from<
|
|
256
|
-
of<
|
|
253
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
254
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
255
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
256
|
+
of<T>(...items: T[]): T[];
|
|
257
257
|
readonly [Symbol.species]: ArrayConstructor;
|
|
258
258
|
};
|
|
259
259
|
required: true;
|
|
@@ -266,10 +266,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
266
266
|
isArray(arg: any): arg is any[];
|
|
267
267
|
readonly prototype: any[];
|
|
268
268
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
269
|
-
from<
|
|
270
|
-
from<
|
|
271
|
-
from<
|
|
272
|
-
of<
|
|
269
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
270
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
271
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
272
|
+
of<T>(...items: T[]): T[];
|
|
273
273
|
readonly [Symbol.species]: ArrayConstructor;
|
|
274
274
|
};
|
|
275
275
|
}[];
|
|
@@ -295,10 +295,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
295
295
|
isArray(arg: any): arg is any[];
|
|
296
296
|
readonly prototype: any[];
|
|
297
297
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
298
|
-
from<
|
|
299
|
-
from<
|
|
300
|
-
from<
|
|
301
|
-
of<
|
|
298
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
299
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
300
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
301
|
+
of<T>(...items: T[]): T[];
|
|
302
302
|
readonly [Symbol.species]: ArrayConstructor;
|
|
303
303
|
};
|
|
304
304
|
default: null;
|
|
@@ -312,10 +312,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
312
312
|
isArray(arg: any): arg is any[];
|
|
313
313
|
readonly prototype: any[];
|
|
314
314
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
315
|
-
from<
|
|
316
|
-
from<
|
|
317
|
-
from<
|
|
318
|
-
of<
|
|
315
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
316
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
317
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
318
|
+
of<T>(...items: T[]): T[];
|
|
319
319
|
readonly [Symbol.species]: ArrayConstructor;
|
|
320
320
|
};
|
|
321
321
|
default: () => never[];
|
|
@@ -333,10 +333,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
333
333
|
isArray(arg: any): arg is any[];
|
|
334
334
|
readonly prototype: any[];
|
|
335
335
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
336
|
-
from<
|
|
337
|
-
from<
|
|
338
|
-
from<
|
|
339
|
-
of<
|
|
336
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
337
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
338
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
339
|
+
of<T>(...items: T[]): T[];
|
|
340
340
|
readonly [Symbol.species]: ArrayConstructor;
|
|
341
341
|
};
|
|
342
342
|
default(): never[];
|
|
@@ -405,9 +405,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
405
405
|
}>> & Readonly<{
|
|
406
406
|
onChangeInputValue?: ((...args: any[]) => any) | undefined;
|
|
407
407
|
}>, {
|
|
408
|
+
search: boolean;
|
|
408
409
|
sort: boolean;
|
|
409
410
|
lang: string;
|
|
410
|
-
search: boolean;
|
|
411
411
|
contents: any[];
|
|
412
412
|
pageSize: number;
|
|
413
413
|
searchColumns: number[];
|
|
@@ -56,8 +56,7 @@ export default defineComponent({
|
|
|
56
56
|
const hiddenTags = ref([]);
|
|
57
57
|
const newTags = ref([props.tags[0]]);
|
|
58
58
|
const adjustTagsRow = () => {
|
|
59
|
-
if (!tagsContainer.value)
|
|
60
|
-
return;
|
|
59
|
+
if (!tagsContainer.value) return;
|
|
61
60
|
const containerWidth = tagsContainer.value.clientWidth - 28;
|
|
62
61
|
const gap = 8;
|
|
63
62
|
const base = [props.tags[0]];
|
|
@@ -90,8 +89,7 @@ export default defineComponent({
|
|
|
90
89
|
const getTextWidth = (text) => {
|
|
91
90
|
const canvas = document.createElement("canvas");
|
|
92
91
|
const context = canvas.getContext("2d");
|
|
93
|
-
if (!context || !tagsContainer.value)
|
|
94
|
-
return 0;
|
|
92
|
+
if (!context || !tagsContainer.value) return 0;
|
|
95
93
|
context.font = "12px Figtree";
|
|
96
94
|
return context.measureText(text).width + 16;
|
|
97
95
|
};
|
|
@@ -32,5 +32,5 @@ export default defineComponent({
|
|
|
32
32
|
});
|
|
33
33
|
</script>
|
|
34
34
|
<style scoped>
|
|
35
|
-
.tekkare_loader_container{display:flex;justify-content:center}.tekkare-skeleton-loader{display:flex}.tekkare-svg{height:0;position:absolute;width:0}.tekkare-left-half{
|
|
35
|
+
.tekkare_loader_container{display:flex;justify-content:center}.tekkare-skeleton-loader{display:flex}.tekkare-svg{height:0;position:absolute;width:0}.tekkare-left-half{clip-path:url(#tekkare-left)}.tekkare-left-half,.tekkare-right-half{animation:shine 1.5s linear infinite;background:#eee;background:linear-gradient(110deg,#ececec 8%,#f5f5f5 18%,#ececec 33%);background-size:200% 100%;border-radius:5px;height:214px;width:231.12px}.tekkare-right-half{animation-delay:.8s;clip-path:url(#tekkare-right)}@keyframes shine{to{background-position-x:-200%}}
|
|
36
36
|
</style>
|
|
@@ -239,8 +239,7 @@ export default defineComponent({
|
|
|
239
239
|
setTimeout(() => {
|
|
240
240
|
document.addEventListener("click", close);
|
|
241
241
|
}, 500);
|
|
242
|
-
} else
|
|
243
|
-
document.removeEventListener("click", close);
|
|
242
|
+
} else document.removeEventListener("click", close);
|
|
244
243
|
}
|
|
245
244
|
);
|
|
246
245
|
function debounce(func, delay) {
|
|
@@ -29,10 +29,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
29
29
|
isArray(arg: any): arg is any[];
|
|
30
30
|
readonly prototype: any[];
|
|
31
31
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
32
|
-
from<
|
|
33
|
-
from<
|
|
34
|
-
from<
|
|
35
|
-
of<
|
|
32
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
33
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
34
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
35
|
+
of<T>(...items: T[]): T[];
|
|
36
36
|
readonly [Symbol.species]: ArrayConstructor;
|
|
37
37
|
};
|
|
38
38
|
default: () => {
|
|
@@ -49,10 +49,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
49
49
|
isArray(arg: any): arg is any[];
|
|
50
50
|
readonly prototype: any[];
|
|
51
51
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
52
|
-
from<
|
|
53
|
-
from<
|
|
54
|
-
from<
|
|
55
|
-
of<
|
|
52
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
53
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
54
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
55
|
+
of<T>(...items: T[]): T[];
|
|
56
56
|
readonly [Symbol.species]: ArrayConstructor;
|
|
57
57
|
};
|
|
58
58
|
default: () => never[];
|
|
@@ -98,10 +98,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
98
98
|
isArray(arg: any): arg is any[];
|
|
99
99
|
readonly prototype: any[];
|
|
100
100
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
101
|
-
from<
|
|
102
|
-
from<
|
|
103
|
-
from<
|
|
104
|
-
of<
|
|
101
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
102
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
103
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
104
|
+
of<T>(...items: T[]): T[];
|
|
105
105
|
readonly [Symbol.species]: ArrayConstructor;
|
|
106
106
|
};
|
|
107
107
|
default: () => {
|
|
@@ -118,10 +118,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
118
118
|
isArray(arg: any): arg is any[];
|
|
119
119
|
readonly prototype: any[];
|
|
120
120
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
121
|
-
from<
|
|
122
|
-
from<
|
|
123
|
-
from<
|
|
124
|
-
of<
|
|
121
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
122
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
123
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
124
|
+
of<T>(...items: T[]): T[];
|
|
125
125
|
readonly [Symbol.species]: ArrayConstructor;
|
|
126
126
|
};
|
|
127
127
|
default: () => never[];
|
|
@@ -137,8 +137,7 @@ export default defineComponent({
|
|
|
137
137
|
setTimeout(() => {
|
|
138
138
|
document.addEventListener("click", closeInfo);
|
|
139
139
|
}, 500);
|
|
140
|
-
} else
|
|
141
|
-
document.removeEventListener("click", closeInfo);
|
|
140
|
+
} else document.removeEventListener("click", closeInfo);
|
|
142
141
|
}
|
|
143
142
|
);
|
|
144
143
|
onMounted(() => {
|
|
@@ -104,8 +104,7 @@ export default defineComponent({
|
|
|
104
104
|
return regionsPath[props.currentRegion].departments;
|
|
105
105
|
});
|
|
106
106
|
function getColor(value) {
|
|
107
|
-
if (!value)
|
|
108
|
-
return "var(--lightest)";
|
|
107
|
+
if (!value) return "var(--lightest)";
|
|
109
108
|
if (value >= props.scale[9]) {
|
|
110
109
|
return "#3F1151";
|
|
111
110
|
} else if (value >= props.scale[8]) {
|
|
@@ -63,8 +63,7 @@ export default defineComponent({
|
|
|
63
63
|
if (height.value > props.maxLines * 16.6) {
|
|
64
64
|
isBig.value = true;
|
|
65
65
|
showReadMore.value = true;
|
|
66
|
-
} else
|
|
67
|
-
showReadMore.value = false;
|
|
66
|
+
} else showReadMore.value = false;
|
|
68
67
|
});
|
|
69
68
|
watch(
|
|
70
69
|
() => height.value,
|
|
@@ -72,8 +71,7 @@ export default defineComponent({
|
|
|
72
71
|
if (height.value > props.maxLines * 16.6) {
|
|
73
72
|
isBig.value = true;
|
|
74
73
|
showReadMore.value = true;
|
|
75
|
-
} else
|
|
76
|
-
showReadMore.value = false;
|
|
74
|
+
} else showReadMore.value = false;
|
|
77
75
|
}
|
|
78
76
|
);
|
|
79
77
|
return { isBig, element, showMore, toggleShowMore, showReadMore };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tekkare/auriga",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.128",
|
|
4
4
|
"description": "Aurgia is a UI kit developped by Tekkare",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"patch": "nuxt-module-build && npm version patch && npm publish"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@nuxt/kit": "^3.15.
|
|
33
|
+
"@nuxt/kit": "^3.15.4",
|
|
34
34
|
"@svg-maps/france.departments": "^1.0.1",
|
|
35
35
|
"@svg-maps/france.regions": "^1.1.1",
|
|
36
36
|
"@svg-maps/usa": "^1.1.1",
|
|
@@ -39,23 +39,24 @@
|
|
|
39
39
|
"@vueuse/integrations": "^10.11.1",
|
|
40
40
|
"apexcharts": "^3.54.1",
|
|
41
41
|
"fuse.js": "^6.6.2",
|
|
42
|
-
"posthog-js": "^1.
|
|
42
|
+
"posthog-js": "^1.215.2",
|
|
43
43
|
"save": "^2.9.0",
|
|
44
44
|
"vue-apexcharts": "^1.7.0",
|
|
45
45
|
"vue-svg-map": "^1.2.0",
|
|
46
46
|
"vue3-apexcharts": "^1.8.0",
|
|
47
|
+
"vue3-google-map": "^0.21.1",
|
|
47
48
|
"write-excel-file": "^1.4.30"
|
|
48
49
|
},
|
|
49
50
|
"devDependencies": {
|
|
50
51
|
"@nuxt/devtools": "latest",
|
|
51
52
|
"@nuxt/eslint-config": "^0.2.0",
|
|
52
53
|
"@nuxt/module-builder": "^0.5.5",
|
|
53
|
-
"@nuxt/schema": "^3.15.
|
|
54
|
+
"@nuxt/schema": "^3.15.4",
|
|
54
55
|
"@nuxt/test-utils": "^3.15.4",
|
|
55
|
-
"@types/node": "^18.19.
|
|
56
|
+
"@types/node": "^18.19.75",
|
|
56
57
|
"changelogen": "^0.5.7",
|
|
57
58
|
"eslint": "^8.57.1",
|
|
58
|
-
"nuxt": "^3.15.
|
|
59
|
+
"nuxt": "^3.15.4",
|
|
59
60
|
"vitest": "^0.34.6"
|
|
60
61
|
},
|
|
61
62
|
"author": "Tekkare"
|