@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
package/dist/module.json
CHANGED
|
@@ -320,14 +320,12 @@ export default defineComponent({
|
|
|
320
320
|
if (typing.value === true) {
|
|
321
321
|
f;
|
|
322
322
|
return "var(--primary)";
|
|
323
|
-
} else
|
|
324
|
-
return "var(--medium)";
|
|
323
|
+
} else return "var(--medium)";
|
|
325
324
|
});
|
|
326
325
|
const hasShortcut = computed(() => {
|
|
327
326
|
if (selectedShortcut.value.length > 0 || hoverShortcut.value.length > 0) {
|
|
328
327
|
return true;
|
|
329
|
-
} else
|
|
330
|
-
return false;
|
|
328
|
+
} else return false;
|
|
331
329
|
});
|
|
332
330
|
const infoHeight = computed(() => {
|
|
333
331
|
if (showInfo.value === true) {
|
|
@@ -336,12 +334,9 @@ export default defineComponent({
|
|
|
336
334
|
if (infoSection !== null && shortcutSection !== null) {
|
|
337
335
|
if (infoSection.offsetHeight > shortcutSection.offsetHeight) {
|
|
338
336
|
return true;
|
|
339
|
-
} else
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
return false;
|
|
343
|
-
} else
|
|
344
|
-
return false;
|
|
337
|
+
} else return false;
|
|
338
|
+
} else return false;
|
|
339
|
+
} else return false;
|
|
345
340
|
});
|
|
346
341
|
const notFound = {
|
|
347
342
|
fr: "Aucune suggestion n'a \xE9t\xE9 trouv\xE9e",
|
|
@@ -401,8 +396,7 @@ export default defineComponent({
|
|
|
401
396
|
watch(closeIndex, (new_index) => {
|
|
402
397
|
if (new_index > searchedWords.value.length) {
|
|
403
398
|
removeSelected.value = true;
|
|
404
|
-
} else
|
|
405
|
-
removeSelected.value = false;
|
|
399
|
+
} else removeSelected.value = false;
|
|
406
400
|
});
|
|
407
401
|
const wordsLength = computed(() => {
|
|
408
402
|
return searchedWords.value.length;
|
|
@@ -440,8 +434,7 @@ export default defineComponent({
|
|
|
440
434
|
function shortcutColor(shortcut) {
|
|
441
435
|
if (shortcut === selectedShortcut.value || shortcut === hoverShortcut.value) {
|
|
442
436
|
return "var(--darkest)";
|
|
443
|
-
} else
|
|
444
|
-
return "var(--white)";
|
|
437
|
+
} else return "var(--white)";
|
|
445
438
|
}
|
|
446
439
|
function handleChangeType(searchIndex) {
|
|
447
440
|
showChangeType.value = searchIndex;
|
|
@@ -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
|
default: () => never[];
|
|
@@ -58,10 +58,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
58
58
|
isArray(arg: any): arg is any[];
|
|
59
59
|
readonly prototype: any[];
|
|
60
60
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
61
|
-
from<
|
|
62
|
-
from<
|
|
63
|
-
from<
|
|
64
|
-
of<
|
|
61
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
62
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
63
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
64
|
+
of<T>(...items: T[]): T[];
|
|
65
65
|
readonly [Symbol.species]: ArrayConstructor;
|
|
66
66
|
})[];
|
|
67
67
|
default: () => never[];
|
|
@@ -75,10 +75,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
75
75
|
isArray(arg: any): arg is any[];
|
|
76
76
|
readonly prototype: any[];
|
|
77
77
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
78
|
-
from<
|
|
79
|
-
from<
|
|
80
|
-
from<
|
|
81
|
-
of<
|
|
78
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
79
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
80
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
81
|
+
of<T>(...items: T[]): T[];
|
|
82
82
|
readonly [Symbol.species]: ArrayConstructor;
|
|
83
83
|
};
|
|
84
84
|
default: null;
|
|
@@ -219,10 +219,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
219
219
|
isArray(arg: any): arg is any[];
|
|
220
220
|
readonly prototype: any[];
|
|
221
221
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
222
|
-
from<
|
|
223
|
-
from<
|
|
224
|
-
from<
|
|
225
|
-
of<
|
|
222
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
223
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
224
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
225
|
+
of<T>(...items: T[]): T[];
|
|
226
226
|
readonly [Symbol.species]: ArrayConstructor;
|
|
227
227
|
};
|
|
228
228
|
default: () => never[];
|
|
@@ -236,10 +236,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
236
236
|
isArray(arg: any): arg is any[];
|
|
237
237
|
readonly prototype: any[];
|
|
238
238
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
239
|
-
from<
|
|
240
|
-
from<
|
|
241
|
-
from<
|
|
242
|
-
of<
|
|
239
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
240
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
241
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
242
|
+
of<T>(...items: T[]): T[];
|
|
243
243
|
readonly [Symbol.species]: ArrayConstructor;
|
|
244
244
|
})[];
|
|
245
245
|
default: () => never[];
|
|
@@ -253,10 +253,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
253
253
|
isArray(arg: any): arg is any[];
|
|
254
254
|
readonly prototype: any[];
|
|
255
255
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
256
|
-
from<
|
|
257
|
-
from<
|
|
258
|
-
from<
|
|
259
|
-
of<
|
|
256
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
257
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
258
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
259
|
+
of<T>(...items: T[]): T[];
|
|
260
260
|
readonly [Symbol.species]: ArrayConstructor;
|
|
261
261
|
};
|
|
262
262
|
default: null;
|
|
@@ -118,14 +118,12 @@ export default defineComponent({
|
|
|
118
118
|
}
|
|
119
119
|
function getElementPosition(elementId) {
|
|
120
120
|
const element = document.getElementById(elementId);
|
|
121
|
-
if (!element)
|
|
122
|
-
return null;
|
|
121
|
+
if (!element) return null;
|
|
123
122
|
const rect = element.getBoundingClientRect();
|
|
124
123
|
return rect.top + window.scrollY;
|
|
125
124
|
}
|
|
126
125
|
function isInViewport(element) {
|
|
127
|
-
if (!element)
|
|
128
|
-
return false;
|
|
126
|
+
if (!element) return false;
|
|
129
127
|
const rect = element.getBoundingClientRect();
|
|
130
128
|
return rect.top <= getElementPosition("chapter_menu") + 10;
|
|
131
129
|
}
|
|
@@ -136,8 +136,7 @@ export default defineComponent({
|
|
|
136
136
|
const allValues = props.series.map((a) => a?.data).flat();
|
|
137
137
|
if (Math.min(...allValues) > 0) {
|
|
138
138
|
minValue.value = 0;
|
|
139
|
-
} else
|
|
140
|
-
minValue.value = Math.min(...allValues);
|
|
139
|
+
} else minValue.value = Math.min(...allValues);
|
|
141
140
|
if (props.hideLegend) {
|
|
142
141
|
props.options["legend"] = { show: false };
|
|
143
142
|
}
|
|
@@ -193,8 +192,7 @@ export default defineComponent({
|
|
|
193
192
|
if (props.options["stroke"] === void 0) {
|
|
194
193
|
if (allValues.length === 1) {
|
|
195
194
|
props.options["stroke"] = { show: false };
|
|
196
|
-
} else
|
|
197
|
-
props.options["stroke"] = { width: 3, curve: "smooth" };
|
|
195
|
+
} else props.options["stroke"] = { width: 3, curve: "smooth" };
|
|
198
196
|
}
|
|
199
197
|
const defaultDataLabelsConfig = {
|
|
200
198
|
enabled: true,
|
|
@@ -353,8 +351,7 @@ export default defineComponent({
|
|
|
353
351
|
const percentage2 = new Intl.NumberFormat("fr-FR").format((100 * value / seriesTotal).toFixed(1)).replace(",", ".");
|
|
354
352
|
if (seriesTotal === 0) {
|
|
355
353
|
returnValue = "-";
|
|
356
|
-
} else
|
|
357
|
-
returnValue = returnValue + " (" + percentage2 + "%)";
|
|
354
|
+
} else returnValue = returnValue + " (" + percentage2 + "%)";
|
|
358
355
|
}
|
|
359
356
|
return returnValue;
|
|
360
357
|
}
|
|
@@ -428,8 +425,7 @@ export default defineComponent({
|
|
|
428
425
|
let percentage2 = new Intl.NumberFormat("fr-FR").format((100 * value / seriesTotal).toFixed(1)).replace(",", ".");
|
|
429
426
|
if (seriesTotal === 0) {
|
|
430
427
|
returnValue = "-";
|
|
431
|
-
} else
|
|
432
|
-
returnValue = returnValue + " (" + percentage2 + "%)";
|
|
428
|
+
} else returnValue = returnValue + " (" + percentage2 + "%)";
|
|
433
429
|
}
|
|
434
430
|
return returnValue;
|
|
435
431
|
}
|
|
@@ -509,8 +505,7 @@ export default defineComponent({
|
|
|
509
505
|
let percentage2 = new Intl.NumberFormat("fr-FR").format((100 * value / groupTotal).toFixed(1)).replace(",", ".");
|
|
510
506
|
if (groupTotal === 0) {
|
|
511
507
|
returnValue = "-";
|
|
512
|
-
} else
|
|
513
|
-
returnValue = returnValue + " (" + percentage2 + "%)";
|
|
508
|
+
} else returnValue = returnValue + " (" + percentage2 + "%)";
|
|
514
509
|
}
|
|
515
510
|
return returnValue;
|
|
516
511
|
}
|
|
@@ -660,8 +655,7 @@ export default defineComponent({
|
|
|
660
655
|
let percentage2 = new Intl.NumberFormat("fr-FR").format((100 * value / seriesTotal).toFixed(1)).replace(",", ".");
|
|
661
656
|
if (seriesTotal === 0) {
|
|
662
657
|
returnValue = "-";
|
|
663
|
-
} else
|
|
664
|
-
returnValue = returnValue + " (" + percentage2 + "%)";
|
|
658
|
+
} else returnValue = returnValue + " (" + percentage2 + "%)";
|
|
665
659
|
}
|
|
666
660
|
return returnValue;
|
|
667
661
|
}
|
|
@@ -778,5 +772,5 @@ export default defineComponent({
|
|
|
778
772
|
});
|
|
779
773
|
</script>
|
|
780
774
|
<style>
|
|
781
|
-
.prmt_chart{font-family:Figtree,sans-serif!important;position:relative}.prmt_chart:hover{z-index:92!important}.prmt_chart_title{color:var(--darkest);font-size:18px;font-style:normal;font-weight:700;line-height:21px;margin-bottom:8px;margin-right:150px}.prmt_chart_title.prmt_chart_title_without_subtitle{margin-bottom:22px}.apexcharts-legend.apx-legend-position-bottom.apexcharts-align-center{max-height:100px!important}.prmt_chart_source{align-items:center;color:#2176ff;cursor:pointer;display:flex;font-size:12px;font-style:normal;font-weight:400;gap:8px;height:14px;line-height:14px;overflow:hidden;padding:4px 0;text-overflow:ellipsis;white-space:nowrap}.prmt_chart_source a{color:#2176ff}.prmt_chart_source:empty{visibility:hidden}.prmt_chart .apexcharts-toolbar{top:0!important}.prmt_chart .apexcharts-canvas .apexcharts-svg{overflow:visible}.prmt_chart .apexcharts-pie-area{stroke-width:0}.prmt_chart .apexcharts-canvas{position:static}.prmt_chart.bar-column_arg_chart>.vue-apexcharts>.apexcharts-canvas>svg>.apexcharts-inner>.apexcharts-bar-series.apexcharts-plot-series .apexcharts-series path,.prmt_chart.bar_arg_chart>.vue-apexcharts>.apexcharts-canvas>svg>.apexcharts-inner>.apexcharts-bar-series.apexcharts-plot-series .apexcharts-series path{
|
|
775
|
+
.prmt_chart{font-family:Figtree,sans-serif!important;position:relative}.prmt_chart:hover{z-index:92!important}.prmt_chart_title{color:var(--darkest);font-size:18px;font-style:normal;font-weight:700;line-height:21px;margin-bottom:8px;margin-right:150px}.prmt_chart_title.prmt_chart_title_without_subtitle{margin-bottom:22px}.apexcharts-legend.apx-legend-position-bottom.apexcharts-align-center{max-height:100px!important}.prmt_chart_source{align-items:center;color:#2176ff;cursor:pointer;display:flex;font-size:12px;font-style:normal;font-weight:400;gap:8px;height:14px;line-height:14px;overflow:hidden;padding:4px 0;text-overflow:ellipsis;white-space:nowrap}.prmt_chart_source a{color:#2176ff}.prmt_chart_source:empty{visibility:hidden}.prmt_chart .apexcharts-toolbar{top:0!important}.prmt_chart .apexcharts-canvas .apexcharts-svg{overflow:visible}.prmt_chart .apexcharts-pie-area{stroke-width:0}.prmt_chart .apexcharts-canvas{position:static}.prmt_chart.bar-column_arg_chart>.vue-apexcharts>.apexcharts-canvas>svg>.apexcharts-inner>.apexcharts-bar-series.apexcharts-plot-series .apexcharts-series path,.prmt_chart.bar_arg_chart>.vue-apexcharts>.apexcharts-canvas>svg>.apexcharts-inner>.apexcharts-bar-series.apexcharts-plot-series .apexcharts-series path{clip-path:inset(0 0 -11% 0 round 6px)!important}.prmt_chart.bar-horizontal-group_arg_chart>.vue-apexcharts>.apexcharts-canvas>svg>.apexcharts-inner>.apexcharts-bar-series.apexcharts-plot-series .apexcharts-series path,.prmt_chart.bar-horizontal_arg_chart>.vue-apexcharts>.apexcharts-canvas>svg>.apexcharts-inner>.apexcharts-bar-series.apexcharts-plot-series .apexcharts-series path{clip-path:inset(0 0 0 -11% round 6px)!important}
|
|
782
776
|
</style>
|
|
@@ -171,6 +171,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
171
171
|
direction: string;
|
|
172
172
|
showXAxis: boolean;
|
|
173
173
|
}, {}, {
|
|
174
|
-
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;
|
|
174
|
+
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);
|
|
175
175
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
176
176
|
export default _default;
|
|
@@ -107,8 +107,7 @@ const drawSquircle=(ctx,geom,radii,smooth,lineWidth,color)=>{const defaultFill=c
|
|
|
107
107
|
} else {
|
|
108
108
|
if (returnValue.value === true) {
|
|
109
109
|
return "CheckSquareFill";
|
|
110
|
-
} else
|
|
111
|
-
return "Square";
|
|
110
|
+
} else return "Square";
|
|
112
111
|
}
|
|
113
112
|
});
|
|
114
113
|
const iconColor = computed(() => {
|
|
@@ -117,8 +116,7 @@ const drawSquircle=(ctx,geom,radii,smooth,lineWidth,color)=>{const defaultFill=c
|
|
|
117
116
|
} else {
|
|
118
117
|
if (returnValue.value === true) {
|
|
119
118
|
return "var(--accent)";
|
|
120
|
-
} else
|
|
121
|
-
return "var(--medium)";
|
|
119
|
+
} else return "var(--medium)";
|
|
122
120
|
}
|
|
123
121
|
});
|
|
124
122
|
function selectFilter() {
|
|
@@ -417,38 +417,32 @@ export default defineComponent({
|
|
|
417
417
|
const getEmptyMsg = computed(() => {
|
|
418
418
|
if (props.empty_msg === null) {
|
|
419
419
|
return langData.value?.empty;
|
|
420
|
-
} else
|
|
421
|
-
return props.empty_msg;
|
|
420
|
+
} else return props.empty_msg;
|
|
422
421
|
});
|
|
423
422
|
const getLoaderText = computed(() => {
|
|
424
423
|
if (props.loader_text === null) {
|
|
425
424
|
return [langData.value?.loading, langData.value?.wait];
|
|
426
|
-
} else
|
|
427
|
-
return props.loader_text;
|
|
425
|
+
} else return props.loader_text;
|
|
428
426
|
});
|
|
429
427
|
const getPlaceholderAdd = computed(() => {
|
|
430
428
|
if (props.search_placeholder_add === null) {
|
|
431
429
|
return langData.value?.search;
|
|
432
|
-
} else
|
|
433
|
-
return props.search_placeholder_add;
|
|
430
|
+
} else return props.search_placeholder_add;
|
|
434
431
|
});
|
|
435
432
|
const getPlaceholderDel = computed(() => {
|
|
436
433
|
if (props.search_placeholder_del === null) {
|
|
437
434
|
return langData.value?.searchSelect;
|
|
438
|
-
} else
|
|
439
|
-
return props.search_placeholder_del;
|
|
435
|
+
} else return props.search_placeholder_del;
|
|
440
436
|
});
|
|
441
437
|
const getMaxSelectMsg = computed(() => {
|
|
442
438
|
if (props.reach_max_msg === null) {
|
|
443
439
|
return langData.value?.max;
|
|
444
|
-
} else
|
|
445
|
-
return props.reach_max_msg;
|
|
440
|
+
} else return props.reach_max_msg;
|
|
446
441
|
});
|
|
447
442
|
const getEmptyContentMsg = computed(() => {
|
|
448
443
|
if (props.empty_content_msg === null) {
|
|
449
444
|
return langData.value?.notFound;
|
|
450
|
-
} else
|
|
451
|
-
return props.empty_content_msg;
|
|
445
|
+
} else return props.empty_content_msg;
|
|
452
446
|
});
|
|
453
447
|
const getAllSelect = computed(() => {
|
|
454
448
|
const fullSelect = del_table.value.map((elem) => elem);
|
|
@@ -491,16 +485,14 @@ export default defineComponent({
|
|
|
491
485
|
return add_table.value.filter(
|
|
492
486
|
(element) => props.fuzzySearch ? useFuse(searchNameAdd.value, add_table.value, options.value).results.value.map((a) => a.item).includes(element) : element.toLowerCase().includes(searchNameAdd.value.toLowerCase())
|
|
493
487
|
).slice(0, props.max_result);
|
|
494
|
-
} else
|
|
495
|
-
return add_table.value.slice(0, props.max_result);
|
|
488
|
+
} else return add_table.value.slice(0, props.max_result);
|
|
496
489
|
});
|
|
497
490
|
const filterNameDel = computed(() => {
|
|
498
491
|
if (searchNameDel.value !== null && searchNameDel.value.length > 0) {
|
|
499
492
|
return del_table.value.filter(
|
|
500
493
|
(element) => props.fuzzySearch ? useFuse(searchNameDel.value, del_table.value, options.value).results.value.map((a) => a.item).includes(element) : element.toLowerCase().includes(searchNameDel.value.toLowerCase())
|
|
501
494
|
);
|
|
502
|
-
} else
|
|
503
|
-
return del_table.value;
|
|
495
|
+
} else return del_table.value;
|
|
504
496
|
});
|
|
505
497
|
function changeInput() {
|
|
506
498
|
emit("changeAddInputValue", searchNameAdd.value);
|
|
@@ -543,8 +535,7 @@ export default defineComponent({
|
|
|
543
535
|
if (!props.need_apply) {
|
|
544
536
|
apply_function();
|
|
545
537
|
}
|
|
546
|
-
} else
|
|
547
|
-
reachMax.value = true;
|
|
538
|
+
} else reachMax.value = true;
|
|
548
539
|
}
|
|
549
540
|
function del_element(element) {
|
|
550
541
|
smart_selection_selected.value = void 0;
|
|
@@ -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;
|
|
@@ -50,10 +50,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
50
50
|
isArray(arg: any): arg is any[];
|
|
51
51
|
readonly prototype: any[];
|
|
52
52
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
53
|
-
from<
|
|
54
|
-
from<
|
|
55
|
-
from<
|
|
56
|
-
of<
|
|
53
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
54
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
55
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
56
|
+
of<T>(...items: T[]): T[];
|
|
57
57
|
readonly [Symbol.species]: ArrayConstructor;
|
|
58
58
|
};
|
|
59
59
|
default: () => never[];
|
|
@@ -104,10 +104,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
104
104
|
isArray(arg: any): arg is any[];
|
|
105
105
|
readonly prototype: any[];
|
|
106
106
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
107
|
-
from<
|
|
108
|
-
from<
|
|
109
|
-
from<
|
|
110
|
-
of<
|
|
107
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
108
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
109
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
110
|
+
of<T>(...items: T[]): T[];
|
|
111
111
|
readonly [Symbol.species]: ArrayConstructor;
|
|
112
112
|
};
|
|
113
113
|
default: null;
|
|
@@ -198,10 +198,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
198
198
|
isArray(arg: any): arg is any[];
|
|
199
199
|
readonly prototype: any[];
|
|
200
200
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
201
|
-
from<
|
|
202
|
-
from<
|
|
203
|
-
from<
|
|
204
|
-
of<
|
|
201
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
202
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
203
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
204
|
+
of<T>(...items: T[]): T[];
|
|
205
205
|
readonly [Symbol.species]: ArrayConstructor;
|
|
206
206
|
};
|
|
207
207
|
required: true;
|
|
@@ -240,10 +240,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
240
240
|
isArray(arg: any): arg is any[];
|
|
241
241
|
readonly prototype: any[];
|
|
242
242
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
243
|
-
from<
|
|
244
|
-
from<
|
|
245
|
-
from<
|
|
246
|
-
of<
|
|
243
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
244
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
245
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
246
|
+
of<T>(...items: T[]): T[];
|
|
247
247
|
readonly [Symbol.species]: ArrayConstructor;
|
|
248
248
|
};
|
|
249
249
|
default: () => never[];
|
|
@@ -294,10 +294,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
294
294
|
isArray(arg: any): arg is any[];
|
|
295
295
|
readonly prototype: any[];
|
|
296
296
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
297
|
-
from<
|
|
298
|
-
from<
|
|
299
|
-
from<
|
|
300
|
-
of<
|
|
297
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
298
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
299
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
300
|
+
of<T>(...items: T[]): T[];
|
|
301
301
|
readonly [Symbol.species]: ArrayConstructor;
|
|
302
302
|
};
|
|
303
303
|
default: null;
|
|
@@ -263,8 +263,7 @@ export default defineComponent({
|
|
|
263
263
|
)
|
|
264
264
|
);
|
|
265
265
|
});
|
|
266
|
-
} else
|
|
267
|
-
getSepPositions.value = [];
|
|
266
|
+
} else getSepPositions.value = [];
|
|
268
267
|
}
|
|
269
268
|
);
|
|
270
269
|
watch(
|
|
@@ -278,8 +277,7 @@ export default defineComponent({
|
|
|
278
277
|
)
|
|
279
278
|
);
|
|
280
279
|
});
|
|
281
|
-
} else
|
|
282
|
-
getSepPositions.value = [];
|
|
280
|
+
} else getSepPositions.value = [];
|
|
283
281
|
}
|
|
284
282
|
);
|
|
285
283
|
watch(
|
|
@@ -300,26 +298,22 @@ export default defineComponent({
|
|
|
300
298
|
const getEmptyMsg = computed(() => {
|
|
301
299
|
if (props.empty_msg === null) {
|
|
302
300
|
return langData.value?.empty;
|
|
303
|
-
} else
|
|
304
|
-
return props.empty_msg;
|
|
301
|
+
} else return props.empty_msg;
|
|
305
302
|
});
|
|
306
303
|
const getLoaderText = computed(() => {
|
|
307
304
|
if (props.loader_text === null) {
|
|
308
305
|
return [langData.value?.loading, langData.value?.wait];
|
|
309
|
-
} else
|
|
310
|
-
return props.loader_text;
|
|
306
|
+
} else return props.loader_text;
|
|
311
307
|
});
|
|
312
308
|
const getPlaceholder = computed(() => {
|
|
313
309
|
if (props.filter_placeholder === null) {
|
|
314
310
|
return langData.value?.search;
|
|
315
|
-
} else
|
|
316
|
-
return props.filter_placeholder;
|
|
311
|
+
} else return props.filter_placeholder;
|
|
317
312
|
});
|
|
318
313
|
const getEmptyContentMsg = computed(() => {
|
|
319
314
|
if (props.empty_content_msg === null) {
|
|
320
315
|
return langData.value?.notFound;
|
|
321
|
-
} else
|
|
322
|
-
return props.empty_content_msg;
|
|
316
|
+
} else return props.empty_content_msg;
|
|
323
317
|
});
|
|
324
318
|
function changeInput() {
|
|
325
319
|
emit("changeInputValue", searchName.value);
|
|
@@ -328,10 +322,8 @@ export default defineComponent({
|
|
|
328
322
|
if (labelElement.value !== null) {
|
|
329
323
|
if (labelElement.value.offsetWidth < labelElement.value.scrollWidth) {
|
|
330
324
|
isEllipsisActive.value = true;
|
|
331
|
-
} else
|
|
332
|
-
|
|
333
|
-
} else
|
|
334
|
-
isEllipsisActive.value = false;
|
|
325
|
+
} else isEllipsisActive.value = false;
|
|
326
|
+
} else isEllipsisActive.value = false;
|
|
335
327
|
}
|
|
336
328
|
function add_element(element, index) {
|
|
337
329
|
if (!props.values_disabled.includes(index)) {
|
|
@@ -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;
|
|
@@ -75,10 +75,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
75
75
|
isArray(arg: any): arg is any[];
|
|
76
76
|
readonly prototype: any[];
|
|
77
77
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
78
|
-
from<
|
|
79
|
-
from<
|
|
80
|
-
from<
|
|
81
|
-
of<
|
|
78
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
79
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
80
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
81
|
+
of<T>(...items: T[]): T[];
|
|
82
82
|
readonly [Symbol.species]: ArrayConstructor;
|
|
83
83
|
};
|
|
84
84
|
default: null;
|
|
@@ -145,10 +145,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
145
145
|
isArray(arg: any): arg is any[];
|
|
146
146
|
readonly prototype: any[];
|
|
147
147
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
148
|
-
from<
|
|
149
|
-
from<
|
|
150
|
-
from<
|
|
151
|
-
of<
|
|
148
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
149
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
150
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
151
|
+
of<T>(...items: T[]): T[];
|
|
152
152
|
readonly [Symbol.species]: ArrayConstructor;
|
|
153
153
|
};
|
|
154
154
|
required: true;
|
|
@@ -212,10 +212,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
212
212
|
isArray(arg: any): arg is any[];
|
|
213
213
|
readonly prototype: any[];
|
|
214
214
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
215
|
-
from<
|
|
216
|
-
from<
|
|
217
|
-
from<
|
|
218
|
-
of<
|
|
215
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
216
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
217
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
218
|
+
of<T>(...items: T[]): T[];
|
|
219
219
|
readonly [Symbol.species]: ArrayConstructor;
|
|
220
220
|
};
|
|
221
221
|
default: null;
|
|
@@ -258,9 +258,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
258
258
|
onOpenInfo?: ((...args: any[]) => any) | undefined;
|
|
259
259
|
onChangeInputValue?: ((...args: any[]) => any) | undefined;
|
|
260
260
|
}>, {
|
|
261
|
+
search: boolean;
|
|
261
262
|
lang: string;
|
|
262
263
|
fuzzyThreshold: number;
|
|
263
|
-
search: boolean;
|
|
264
264
|
loading: boolean;
|
|
265
265
|
categories: unknown[];
|
|
266
266
|
return_value: boolean;
|
|
@@ -84,8 +84,7 @@ export default defineComponent({
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
return icon;
|
|
87
|
-
} else
|
|
88
|
-
return props.errorIcon;
|
|
87
|
+
} else return props.errorIcon;
|
|
89
88
|
});
|
|
90
89
|
const getErrorText = computed(() => {
|
|
91
90
|
if (props.errorText === null) {
|
|
@@ -96,8 +95,7 @@ export default defineComponent({
|
|
|
96
95
|
}
|
|
97
96
|
}
|
|
98
97
|
return title;
|
|
99
|
-
} else
|
|
100
|
-
return props.errorText;
|
|
98
|
+
} else return props.errorText;
|
|
101
99
|
});
|
|
102
100
|
const getErrorName = computed(() => {
|
|
103
101
|
if (props.errorTitle === null) {
|
|
@@ -108,8 +106,7 @@ export default defineComponent({
|
|
|
108
106
|
}
|
|
109
107
|
}
|
|
110
108
|
return title;
|
|
111
|
-
} else
|
|
112
|
-
return props.errorTitle;
|
|
109
|
+
} else return props.errorTitle;
|
|
113
110
|
});
|
|
114
111
|
return {
|
|
115
112
|
values,
|
|
@@ -56,8 +56,7 @@ export default defineComponent({
|
|
|
56
56
|
let returnedValue;
|
|
57
57
|
if (props.returnValue) {
|
|
58
58
|
returnedValue = props.tabs[index].value;
|
|
59
|
-
} else
|
|
60
|
-
returnedValue = index;
|
|
59
|
+
} else returnedValue = index;
|
|
61
60
|
emit("update:Tab", returnedValue);
|
|
62
61
|
emit("changeValue", returnedValue);
|
|
63
62
|
}
|