@tekkare/auriga 0.2.127 → 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 +7 -14
- package/dist/runtime/components/argGoogleMaps.vue.d.ts +496 -4
- 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 +2 -1
|
@@ -456,26 +456,22 @@ export default defineComponent({
|
|
|
456
456
|
const getEmptyMsg = computed(() => {
|
|
457
457
|
if (props.empty_msg === null) {
|
|
458
458
|
return langData.value?.empty;
|
|
459
|
-
} else
|
|
460
|
-
return props.empty_msg;
|
|
459
|
+
} else return props.empty_msg;
|
|
461
460
|
});
|
|
462
461
|
const getLoaderText = computed(() => {
|
|
463
462
|
if (props.loader_text === null) {
|
|
464
463
|
return [langData.value?.loading, langData.value?.wait];
|
|
465
|
-
} else
|
|
466
|
-
return props.loader_text;
|
|
464
|
+
} else return props.loader_text;
|
|
467
465
|
});
|
|
468
466
|
const getPlaceholder = computed(() => {
|
|
469
467
|
if (props.filter_placeholder === null) {
|
|
470
468
|
return langData.value?.search;
|
|
471
|
-
} else
|
|
472
|
-
return props.filter_placeholder;
|
|
469
|
+
} else return props.filter_placeholder;
|
|
473
470
|
});
|
|
474
471
|
const getEmptyContentMsg = computed(() => {
|
|
475
472
|
if (props.empty_content_msg === null) {
|
|
476
473
|
return langData.value?.notFound;
|
|
477
|
-
} else
|
|
478
|
-
return props.empty_content_msg;
|
|
474
|
+
} else return props.empty_content_msg;
|
|
479
475
|
});
|
|
480
476
|
const getNestedLength = computed(() => {
|
|
481
477
|
let length = 0;
|
|
@@ -518,8 +514,7 @@ export default defineComponent({
|
|
|
518
514
|
} else {
|
|
519
515
|
if (props.options_disable.length > 0) {
|
|
520
516
|
return optionsWithoutDisabled.value;
|
|
521
|
-
} else
|
|
522
|
-
return element_table_copy.value;
|
|
517
|
+
} else return element_table_copy.value;
|
|
523
518
|
}
|
|
524
519
|
});
|
|
525
520
|
const options = computed(() => ({
|
|
@@ -556,8 +551,7 @@ export default defineComponent({
|
|
|
556
551
|
options.value
|
|
557
552
|
).results.value.map((a) => a.item).includes(element) : element.toLowerCase().includes(searchName.value.toLowerCase())
|
|
558
553
|
);
|
|
559
|
-
} else
|
|
560
|
-
return element_table_copy.value;
|
|
554
|
+
} else return element_table_copy.value;
|
|
561
555
|
} else {
|
|
562
556
|
let selectTable = [];
|
|
563
557
|
const finalTable = [];
|
|
@@ -607,8 +601,7 @@ export default defineComponent({
|
|
|
607
601
|
return element_table_copy.value.filter(
|
|
608
602
|
(element) => checkNestedContainsValues(element, searchName.value)
|
|
609
603
|
);
|
|
610
|
-
} else
|
|
611
|
-
return props.element_table;
|
|
604
|
+
} else return props.element_table;
|
|
612
605
|
});
|
|
613
606
|
const optionsWithoutDisabled = computed(() => {
|
|
614
607
|
const optionsArray = [Number];
|
|
@@ -636,14 +629,12 @@ export default defineComponent({
|
|
|
636
629
|
(a) => a.cat === index && a.elements.includes(option)
|
|
637
630
|
).length > 0) {
|
|
638
631
|
return true;
|
|
639
|
-
} else
|
|
640
|
-
return false;
|
|
632
|
+
} else return false;
|
|
641
633
|
}
|
|
642
634
|
function getNestedOptions(index) {
|
|
643
635
|
if (selected_all.value) {
|
|
644
636
|
return getOptions;
|
|
645
|
-
} else
|
|
646
|
-
return element_table_copy.value[index].values;
|
|
637
|
+
} else return element_table_copy.value[index].values;
|
|
647
638
|
}
|
|
648
639
|
function selected_all_cats(index) {
|
|
649
640
|
let selected_cat = true;
|
|
@@ -654,10 +645,8 @@ export default defineComponent({
|
|
|
654
645
|
selected_cat = false;
|
|
655
646
|
}
|
|
656
647
|
}
|
|
657
|
-
if (selected_all.value)
|
|
658
|
-
|
|
659
|
-
else
|
|
660
|
-
return selected_cat;
|
|
648
|
+
if (selected_all.value) return selected_all.value;
|
|
649
|
+
else return selected_cat;
|
|
661
650
|
}
|
|
662
651
|
function changeDisplay() {
|
|
663
652
|
if (props.disabled === false) {
|
|
@@ -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;
|
|
@@ -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
|
required: false;
|
|
@@ -96,10 +96,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
96
96
|
isArray(arg: any): arg is any[];
|
|
97
97
|
readonly prototype: any[];
|
|
98
98
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
99
|
-
from<
|
|
100
|
-
from<
|
|
101
|
-
from<
|
|
102
|
-
of<
|
|
99
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
100
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
101
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
102
|
+
of<T>(...items: T[]): T[];
|
|
103
103
|
readonly [Symbol.species]: ArrayConstructor;
|
|
104
104
|
};
|
|
105
105
|
default: null;
|
|
@@ -174,10 +174,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
174
174
|
isArray(arg: any): arg is any[];
|
|
175
175
|
readonly prototype: any[];
|
|
176
176
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
177
|
-
from<
|
|
178
|
-
from<
|
|
179
|
-
from<
|
|
180
|
-
of<
|
|
177
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
178
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
179
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
180
|
+
of<T>(...items: T[]): T[];
|
|
181
181
|
readonly [Symbol.species]: ArrayConstructor;
|
|
182
182
|
};
|
|
183
183
|
required: true;
|
|
@@ -207,10 +207,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
207
207
|
isArray(arg: any): arg is any[];
|
|
208
208
|
readonly prototype: any[];
|
|
209
209
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
210
|
-
from<
|
|
211
|
-
from<
|
|
212
|
-
from<
|
|
213
|
-
of<
|
|
210
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
211
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
212
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
213
|
+
of<T>(...items: T[]): T[];
|
|
214
214
|
readonly [Symbol.species]: ArrayConstructor;
|
|
215
215
|
};
|
|
216
216
|
required: false;
|
|
@@ -262,10 +262,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
262
262
|
isArray(arg: any): arg is any[];
|
|
263
263
|
readonly prototype: any[];
|
|
264
264
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
265
|
-
from<
|
|
266
|
-
from<
|
|
267
|
-
from<
|
|
268
|
-
of<
|
|
265
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
266
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
267
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
268
|
+
of<T>(...items: T[]): T[];
|
|
269
269
|
readonly [Symbol.species]: ArrayConstructor;
|
|
270
270
|
};
|
|
271
271
|
default: null;
|
|
@@ -301,9 +301,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
301
301
|
onOpenInfo?: ((...args: any[]) => any) | undefined;
|
|
302
302
|
onChangeInputValue?: ((...args: any[]) => any) | undefined;
|
|
303
303
|
}>, {
|
|
304
|
+
search: boolean;
|
|
304
305
|
lang: string;
|
|
305
306
|
fuzzyThreshold: number;
|
|
306
|
-
search: boolean;
|
|
307
307
|
loading: boolean;
|
|
308
308
|
disabled: boolean;
|
|
309
309
|
show_amount: boolean;
|
|
@@ -113,8 +113,7 @@ export default defineComponent({
|
|
|
113
113
|
const content = document.getElementById("scroll_tabs");
|
|
114
114
|
if (content?.scrollWidth > container?.clientWidth - 48) {
|
|
115
115
|
isOverflow.value = true;
|
|
116
|
-
} else
|
|
117
|
-
isOverflow.value = false;
|
|
116
|
+
} else isOverflow.value = false;
|
|
118
117
|
}
|
|
119
118
|
function changeMenu(index, value) {
|
|
120
119
|
if (props.returnValue) {
|
|
@@ -90,8 +90,7 @@ export default defineComponent({
|
|
|
90
90
|
returnValue.value = props.maxValue;
|
|
91
91
|
} else if (props.hasNegativeValue === false && returnValue.value + value < 0) {
|
|
92
92
|
returnValue.value = 0;
|
|
93
|
-
} else
|
|
94
|
-
returnValue.value += value;
|
|
93
|
+
} else returnValue.value += value;
|
|
95
94
|
emit("update:Number", returnValue.value);
|
|
96
95
|
emit("changeValue", returnValue.value);
|
|
97
96
|
}
|
|
@@ -71,14 +71,12 @@ export default defineComponent({
|
|
|
71
71
|
function getIconName(index) {
|
|
72
72
|
if (index === selectedRadio.value) {
|
|
73
73
|
return "CheckCircleFill";
|
|
74
|
-
} else
|
|
75
|
-
return "Circle";
|
|
74
|
+
} else return "Circle";
|
|
76
75
|
}
|
|
77
76
|
function getColor(index) {
|
|
78
77
|
if (index === selectedRadio.value) {
|
|
79
78
|
return "var(--primary)";
|
|
80
|
-
} else
|
|
81
|
-
return "var(--medium)";
|
|
79
|
+
} else return "var(--medium)";
|
|
82
80
|
}
|
|
83
81
|
return {
|
|
84
82
|
selectedRadio,
|
|
@@ -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;
|
|
@@ -43,10 +43,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
43
43
|
isArray(arg: any): arg is any[];
|
|
44
44
|
readonly prototype: any[];
|
|
45
45
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
46
|
-
from<
|
|
47
|
-
from<
|
|
48
|
-
from<
|
|
49
|
-
of<
|
|
46
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
47
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
48
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
49
|
+
of<T>(...items: T[]): T[];
|
|
50
50
|
readonly [Symbol.species]: ArrayConstructor;
|
|
51
51
|
};
|
|
52
52
|
required: true;
|
|
@@ -166,8 +166,7 @@ export default defineComponent({
|
|
|
166
166
|
(new_scopes) => {
|
|
167
167
|
if (new_scopes !== null) {
|
|
168
168
|
selectedScope.value = new_scopes;
|
|
169
|
-
} else
|
|
170
|
-
selectedScope.value = null;
|
|
169
|
+
} else selectedScope.value = null;
|
|
171
170
|
}
|
|
172
171
|
);
|
|
173
172
|
const getTitle = computed(() => {
|
|
@@ -175,8 +174,7 @@ export default defineComponent({
|
|
|
175
174
|
return props.scopes.length === 0 ? "+ New scenario" : "Change scenario";
|
|
176
175
|
} else if (props.scopes.length > 0 || props.scopes.length === 0 && props.showActions) {
|
|
177
176
|
return langData.value?.change;
|
|
178
|
-
} else
|
|
179
|
-
return langData.value?.apply;
|
|
177
|
+
} else return langData.value?.apply;
|
|
180
178
|
});
|
|
181
179
|
function closeDropdown() {
|
|
182
180
|
isDisplay.value = false;
|
|
@@ -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;
|
|
@@ -78,10 +78,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
78
78
|
isArray(arg: any): arg is any[];
|
|
79
79
|
readonly prototype: any[];
|
|
80
80
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
81
|
-
from<
|
|
82
|
-
from<
|
|
83
|
-
from<
|
|
84
|
-
of<
|
|
81
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
82
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
83
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
84
|
+
of<T>(...items: T[]): T[];
|
|
85
85
|
readonly [Symbol.species]: ArrayConstructor;
|
|
86
86
|
};
|
|
87
87
|
required: true;
|
|
@@ -153,8 +153,7 @@ export default defineComponent({
|
|
|
153
153
|
for (let i = 0; i < element.values.length; i++) {
|
|
154
154
|
allCriteria.push(element.values[i]);
|
|
155
155
|
}
|
|
156
|
-
} else
|
|
157
|
-
allCriteria.push(element.values);
|
|
156
|
+
} else allCriteria.push(element.values);
|
|
158
157
|
});
|
|
159
158
|
return allCriteria;
|
|
160
159
|
}
|
|
@@ -174,8 +174,7 @@ export default defineComponent({
|
|
|
174
174
|
for (let i = 0; i < element.values.length; i++) {
|
|
175
175
|
allCriteria.push(element.values[i]);
|
|
176
176
|
}
|
|
177
|
-
} else
|
|
178
|
-
allCriteria.push(element.values);
|
|
177
|
+
} else allCriteria.push(element.values);
|
|
179
178
|
});
|
|
180
179
|
return allCriteria;
|
|
181
180
|
});
|
|
@@ -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;
|
|
@@ -44,10 +44,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
44
44
|
isArray(arg: any): arg is any[];
|
|
45
45
|
readonly prototype: any[];
|
|
46
46
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
47
|
-
from<
|
|
48
|
-
from<
|
|
49
|
-
from<
|
|
50
|
-
of<
|
|
47
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
48
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
49
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
50
|
+
of<T>(...items: T[]): T[];
|
|
51
51
|
readonly [Symbol.species]: ArrayConstructor;
|
|
52
52
|
};
|
|
53
53
|
required: true;
|
|
@@ -58,8 +58,7 @@ export default defineComponent({
|
|
|
58
58
|
(new_default) => {
|
|
59
59
|
if (typeof new_default === "number") {
|
|
60
60
|
selectedRadio.value = new_default;
|
|
61
|
-
} else
|
|
62
|
-
selectedRadio.value = null;
|
|
61
|
+
} else selectedRadio.value = null;
|
|
63
62
|
}
|
|
64
63
|
);
|
|
65
64
|
function selectRadio(index, value) {
|
|
@@ -70,14 +69,12 @@ export default defineComponent({
|
|
|
70
69
|
function getIconName(index) {
|
|
71
70
|
if (index === selectedRadio.value) {
|
|
72
71
|
return "CheckCircleFill";
|
|
73
|
-
} else
|
|
74
|
-
return "Circle";
|
|
72
|
+
} else return "Circle";
|
|
75
73
|
}
|
|
76
74
|
function getColor(index) {
|
|
77
75
|
if (index === selectedRadio.value) {
|
|
78
76
|
return "var(--primary)";
|
|
79
|
-
} else
|
|
80
|
-
return "var(--medium)";
|
|
77
|
+
} else return "var(--medium)";
|
|
81
78
|
}
|
|
82
79
|
return {
|
|
83
80
|
selectedRadio,
|
|
@@ -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;
|
|
@@ -39,10 +39,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
39
39
|
isArray(arg: any): arg is any[];
|
|
40
40
|
readonly prototype: any[];
|
|
41
41
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
42
|
-
from<
|
|
43
|
-
from<
|
|
44
|
-
from<
|
|
45
|
-
of<
|
|
42
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
43
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
44
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
45
|
+
of<T>(...items: T[]): T[];
|
|
46
46
|
readonly [Symbol.species]: ArrayConstructor;
|
|
47
47
|
};
|
|
48
48
|
required: true;
|
|
@@ -21,10 +21,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
21
21
|
isArray(arg: any): arg is any[];
|
|
22
22
|
readonly prototype: any[];
|
|
23
23
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
24
|
-
from<
|
|
25
|
-
from<
|
|
26
|
-
from<
|
|
27
|
-
of<
|
|
24
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
25
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
26
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
27
|
+
of<T>(...items: T[]): T[];
|
|
28
28
|
readonly [Symbol.species]: ArrayConstructor;
|
|
29
29
|
};
|
|
30
30
|
default: null;
|
|
@@ -84,10 +84,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
84
84
|
isArray(arg: any): arg is any[];
|
|
85
85
|
readonly prototype: any[];
|
|
86
86
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
87
|
-
from<
|
|
88
|
-
from<
|
|
89
|
-
from<
|
|
90
|
-
of<
|
|
87
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
88
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
89
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
90
|
+
of<T>(...items: T[]): T[];
|
|
91
91
|
readonly [Symbol.species]: ArrayConstructor;
|
|
92
92
|
};
|
|
93
93
|
default: null;
|
|
@@ -125,8 +125,7 @@ export default defineComponent({
|
|
|
125
125
|
function handleResize() {
|
|
126
126
|
if (window.innerWidth >= 1e3) {
|
|
127
127
|
sidebarOpen.value = true;
|
|
128
|
-
} else
|
|
129
|
-
sidebarOpen.value = false;
|
|
128
|
+
} else sidebarOpen.value = false;
|
|
130
129
|
emit("onSidebarChange", sidebarOpen.value);
|
|
131
130
|
emit("update:Sidebar", sidebarOpen.value);
|
|
132
131
|
}
|
|
@@ -259,6 +259,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
259
259
|
color: unknown[];
|
|
260
260
|
minValue: number;
|
|
261
261
|
}, {}, {
|
|
262
|
-
apexchart: import("vue").Component & import("vue").ComponentOptionsBase<import("vue3-apexcharts").VueApexChartsComponent, any, any, any, any, any, any, any, string, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions> & ThisType<any> & import("vue").Plugin;
|
|
262
|
+
apexchart: (import("vue").Component & import("vue").ComponentOptionsBase<import("vue3-apexcharts").VueApexChartsComponent, any, any, any, any, any, any, any, string, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>) & (ThisType<any> & import("vue").Plugin);
|
|
263
263
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
264
264
|
export default _default;
|
|
@@ -214,8 +214,7 @@ export default defineComponent({
|
|
|
214
214
|
return "uk";
|
|
215
215
|
} else if (name === "poland") {
|
|
216
216
|
return "republic-of-poland";
|
|
217
|
-
} else
|
|
218
|
-
return name;
|
|
217
|
+
} else return name;
|
|
219
218
|
}
|
|
220
219
|
const sourceContent = computed(() => {
|
|
221
220
|
if (sourceData.value !== null) {
|
|
@@ -129,6 +129,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
129
129
|
hasPercentages: boolean;
|
|
130
130
|
currency: string;
|
|
131
131
|
}, {}, {
|
|
132
|
-
apexchart: import("vue").Component & import("vue").ComponentOptionsBase<import("vue3-apexcharts").VueApexChartsComponent, any, any, any, any, any, any, any, string, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions> & ThisType<any> & import("vue").Plugin;
|
|
132
|
+
apexchart: (import("vue").Component & import("vue").ComponentOptionsBase<import("vue3-apexcharts").VueApexChartsComponent, any, any, any, any, any, any, any, string, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>) & (ThisType<any> & import("vue").Plugin);
|
|
133
133
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
134
134
|
export default _default;
|
|
@@ -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;
|