@tekkare/auriga 0.2.150 → 0.2.151
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/argMultipleSelect.vue +52 -26
- package/dist/runtime/components/argMultipleSelect.vue.d.ts +28 -10
- package/dist/runtime/components/argSimpleLabel.vue +17 -4
- package/dist/runtime/components/argSimpleLabel.vue.d.ts +19 -0
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
<!-- Simple select -->
|
|
4
4
|
<div class="oip_select_display">
|
|
5
5
|
<p
|
|
6
|
+
v-if="!selectorIcon"
|
|
6
7
|
class="oip_filter_label"
|
|
7
8
|
:class="labelInfo ? 'oip_row v-center gap-4' : ''"
|
|
8
9
|
>
|
|
@@ -17,6 +18,8 @@
|
|
|
17
18
|
:amount_value="nested ? getNestedLength : selected_items.length"
|
|
18
19
|
@click="changeDisplay()"
|
|
19
20
|
:class="isDisplay ? 'open' : ''"
|
|
21
|
+
:selector-icon="selectorIcon"
|
|
22
|
+
:tooltip-icon="tooltipIcon"
|
|
20
23
|
>
|
|
21
24
|
<p
|
|
22
25
|
:class="[
|
|
@@ -292,7 +295,7 @@
|
|
|
292
295
|
class="oip_select_complex_selection_loop multiple"
|
|
293
296
|
@click="
|
|
294
297
|
nestedIncludes(option, index)
|
|
295
|
-
? del_nested_element(index, option)
|
|
298
|
+
? del_nested_element(index, option, optIndex)
|
|
296
299
|
: add_nested_element(index, option)
|
|
297
300
|
"
|
|
298
301
|
>
|
|
@@ -365,7 +368,9 @@ export default defineComponent({
|
|
|
365
368
|
fuzzyThreshold: { type: Number, default: 0.5 },
|
|
366
369
|
filterSearch: { type: Boolean, default: true },
|
|
367
370
|
labelInfo: { type: Boolean, default: false },
|
|
368
|
-
fuzzyStart: { type: Number, default: 1 }
|
|
371
|
+
fuzzyStart: { type: Number, default: 1 },
|
|
372
|
+
selectorIcon: { type: String || null, default: null },
|
|
373
|
+
tooltipIcon: { type: String || null, default: null }
|
|
369
374
|
},
|
|
370
375
|
emits: [
|
|
371
376
|
"changeElement",
|
|
@@ -412,15 +417,21 @@ export default defineComponent({
|
|
|
412
417
|
element_table_copy.value = new_element_table;
|
|
413
418
|
if (props.preselection_all) {
|
|
414
419
|
add_all();
|
|
415
|
-
} else if (props.default_select && props.default_select.length > 0
|
|
416
|
-
if (
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
420
|
+
} else if (props.default_select && props.default_select.length > 0) {
|
|
421
|
+
if (props.nested) {
|
|
422
|
+
selected_nested.value = [...new Set(props.default_select)];
|
|
423
|
+
} else {
|
|
424
|
+
if (!props.default_select.every(
|
|
425
|
+
(a) => element_table_copy.value.includes(a)
|
|
426
|
+
)) {
|
|
427
|
+
element_table_copy.value = [
|
|
428
|
+
...new Set(
|
|
429
|
+
element_table_copy.value.concat(props.default_select)
|
|
430
|
+
)
|
|
431
|
+
];
|
|
432
|
+
}
|
|
433
|
+
selected_items.value = [...new Set(props.default_select)];
|
|
422
434
|
}
|
|
423
|
-
selected_items.value = [...new Set(props.default_select)];
|
|
424
435
|
}
|
|
425
436
|
}
|
|
426
437
|
);
|
|
@@ -428,7 +439,9 @@ export default defineComponent({
|
|
|
428
439
|
() => props.default_select,
|
|
429
440
|
(new_selected) => {
|
|
430
441
|
if (new_selected && new_selected.length > 0) {
|
|
431
|
-
|
|
442
|
+
if (props.nested) {
|
|
443
|
+
selected_nested.value = [...new Set(props.default_select)];
|
|
444
|
+
} else selected_items.value = [...new Set(props.default_select)];
|
|
432
445
|
}
|
|
433
446
|
}
|
|
434
447
|
);
|
|
@@ -444,11 +457,13 @@ export default defineComponent({
|
|
|
444
457
|
`multiple_search_input_${props.multiple_label}`
|
|
445
458
|
);
|
|
446
459
|
searchBar.value?.addEventListener("input", debounce(changeInput, 500));
|
|
447
|
-
element_table_copy.value = props.element_table;
|
|
460
|
+
element_table_copy.value = [...new Set(props.element_table)];
|
|
448
461
|
if (props.preselection_all) {
|
|
449
462
|
add_all();
|
|
450
463
|
} else if (props.default_select && props.default_select.length > 0) {
|
|
451
|
-
|
|
464
|
+
if (props.nested) {
|
|
465
|
+
selected_nested.value = [...new Set(props.default_select)];
|
|
466
|
+
} else selected_items.value = props.default_select;
|
|
452
467
|
}
|
|
453
468
|
});
|
|
454
469
|
onUnmounted(() => {
|
|
@@ -632,7 +647,9 @@ export default defineComponent({
|
|
|
632
647
|
const nestedSelectedLength = computed(() => {
|
|
633
648
|
let length = 0;
|
|
634
649
|
for (let i = 0; i < selected_nested.value.length; i++) {
|
|
635
|
-
|
|
650
|
+
if (selected_nested.value[i].elements) {
|
|
651
|
+
length += selected_nested.value[i].elements.length;
|
|
652
|
+
} else length += 1;
|
|
636
653
|
}
|
|
637
654
|
return length;
|
|
638
655
|
});
|
|
@@ -713,7 +730,6 @@ export default defineComponent({
|
|
|
713
730
|
}
|
|
714
731
|
}
|
|
715
732
|
function add_nested_element(index, elem) {
|
|
716
|
-
console.log(index, elem);
|
|
717
733
|
if (selected_nested.value.length > 0) {
|
|
718
734
|
if (selected_nested.value.filter((a) => a.cat === index).length > 0) {
|
|
719
735
|
selected_nested.value[selected_nested.value.findIndex(
|
|
@@ -745,7 +761,7 @@ export default defineComponent({
|
|
|
745
761
|
selected_nested.value.map((a) => a)
|
|
746
762
|
);
|
|
747
763
|
}
|
|
748
|
-
function del_nested_element(index, elem) {
|
|
764
|
+
function del_nested_element(index, elem, optIndex) {
|
|
749
765
|
selected_all.value = false;
|
|
750
766
|
if (selectedCats.value.includes(index)) {
|
|
751
767
|
selectedCats.value.splice(
|
|
@@ -753,15 +769,20 @@ export default defineComponent({
|
|
|
753
769
|
1
|
|
754
770
|
);
|
|
755
771
|
}
|
|
756
|
-
selected_nested.value[selected_nested.value.findIndex((a) => a.cat === index)].elements.splice(
|
|
757
|
-
selected_nested.value[selected_nested.value.findIndex(
|
|
758
|
-
(a) => a.cat === index
|
|
759
|
-
)].elements.findIndex((a) => a === elem),
|
|
760
|
-
1
|
|
761
|
-
);
|
|
762
772
|
if (selected_nested.value.findIndex(
|
|
763
773
|
(a) => a.cat === index
|
|
764
774
|
) !== -1) {
|
|
775
|
+
const currentOption = ref(
|
|
776
|
+
selected_nested.value.findIndex(
|
|
777
|
+
(a) => a.cat === index
|
|
778
|
+
)
|
|
779
|
+
);
|
|
780
|
+
const nestedElements = [
|
|
781
|
+
...new Set(selected_nested.value[currentOption?.value].elements)
|
|
782
|
+
];
|
|
783
|
+
selected_nested.value[selected_nested.value.findIndex(
|
|
784
|
+
(a) => a.cat === index
|
|
785
|
+
)].elements = nestedElements.filter((f) => f !== elem);
|
|
765
786
|
if (selected_nested.value[selected_nested.value.findIndex(
|
|
766
787
|
(a) => a.cat === index
|
|
767
788
|
)].elements.length === 0) {
|
|
@@ -772,6 +793,12 @@ export default defineComponent({
|
|
|
772
793
|
1
|
|
773
794
|
);
|
|
774
795
|
}
|
|
796
|
+
} else {
|
|
797
|
+
const currentOption = ref(element_table_copy.value[index]);
|
|
798
|
+
const nestedElements = [...new Set(currentOption?.value.values)];
|
|
799
|
+
selected_nested.value[selected_nested.value.findIndex(
|
|
800
|
+
(a) => a.cat === index
|
|
801
|
+
)].elements = nestedElements.filter((f) => f !== elem);
|
|
775
802
|
}
|
|
776
803
|
emit(
|
|
777
804
|
"changeElement",
|
|
@@ -824,7 +851,6 @@ export default defineComponent({
|
|
|
824
851
|
function add_all_cat(index) {
|
|
825
852
|
selectedCats.value.push(index);
|
|
826
853
|
if (!element_table_copy.value[index].values) {
|
|
827
|
-
console.log("hey hey");
|
|
828
854
|
selected_nested.value.push({
|
|
829
855
|
cat: index,
|
|
830
856
|
title: element_table_copy.value[index].title,
|
|
@@ -853,9 +879,6 @@ export default defineComponent({
|
|
|
853
879
|
}
|
|
854
880
|
function del_all_cat(index) {
|
|
855
881
|
selected_all.value = false;
|
|
856
|
-
if (selectedCats.value.includes(index)) {
|
|
857
|
-
selectedCats.value.splice(selectedCats.value.indexOf(index), 1);
|
|
858
|
-
}
|
|
859
882
|
for (let i = 0; i < selected_nested.value.filter((f) => f.cat === index).length; i++) {
|
|
860
883
|
selected_nested.value.splice(
|
|
861
884
|
selected_nested.value.findIndex(
|
|
@@ -864,6 +887,9 @@ export default defineComponent({
|
|
|
864
887
|
1
|
|
865
888
|
);
|
|
866
889
|
}
|
|
890
|
+
if (selectedCats.value.includes(index)) {
|
|
891
|
+
selectedCats.value.splice(selectedCats.value.indexOf(index), 1);
|
|
892
|
+
}
|
|
867
893
|
emit(
|
|
868
894
|
"changeElement",
|
|
869
895
|
selected_nested.value.map((a) => a)
|
|
@@ -34,10 +34,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
34
34
|
};
|
|
35
35
|
default_select: {
|
|
36
36
|
type: {
|
|
37
|
-
(arrayLength: number):
|
|
38
|
-
(...items:
|
|
39
|
-
new (arrayLength: number):
|
|
40
|
-
new (...items:
|
|
37
|
+
(arrayLength: number): any[];
|
|
38
|
+
(...items: any[]): any[];
|
|
39
|
+
new (arrayLength: number): any[];
|
|
40
|
+
new (...items: any[]): any[];
|
|
41
41
|
isArray(arg: any): arg is any[];
|
|
42
42
|
readonly prototype: any[];
|
|
43
43
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
@@ -128,13 +128,21 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
128
128
|
type: NumberConstructor;
|
|
129
129
|
default: number;
|
|
130
130
|
};
|
|
131
|
+
selectorIcon: {
|
|
132
|
+
type: StringConstructor;
|
|
133
|
+
default: null;
|
|
134
|
+
};
|
|
135
|
+
tooltipIcon: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
default: null;
|
|
138
|
+
};
|
|
131
139
|
}>, {
|
|
132
140
|
getNestedLength: import("vue").ComputedRef<number>;
|
|
133
141
|
del_all: () => void;
|
|
134
142
|
del_all_cat: (index: number) => void;
|
|
135
143
|
add_all_cat: (index: number) => void;
|
|
136
144
|
add_all: () => void;
|
|
137
|
-
del_nested_element: (index: number, elem: string) => void;
|
|
145
|
+
del_nested_element: (index: number, elem: string, optIndex: number) => void;
|
|
138
146
|
add_nested_element: (index: number, elem: any) => void;
|
|
139
147
|
del_element: (element: string, index: number) => void;
|
|
140
148
|
add_element: (element: string, index: number) => void;
|
|
@@ -200,10 +208,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
200
208
|
};
|
|
201
209
|
default_select: {
|
|
202
210
|
type: {
|
|
203
|
-
(arrayLength: number):
|
|
204
|
-
(...items:
|
|
205
|
-
new (arrayLength: number):
|
|
206
|
-
new (...items:
|
|
211
|
+
(arrayLength: number): any[];
|
|
212
|
+
(...items: any[]): any[];
|
|
213
|
+
new (arrayLength: number): any[];
|
|
214
|
+
new (...items: any[]): any[];
|
|
207
215
|
isArray(arg: any): arg is any[];
|
|
208
216
|
readonly prototype: any[];
|
|
209
217
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
@@ -294,6 +302,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
294
302
|
type: NumberConstructor;
|
|
295
303
|
default: number;
|
|
296
304
|
};
|
|
305
|
+
selectorIcon: {
|
|
306
|
+
type: StringConstructor;
|
|
307
|
+
default: null;
|
|
308
|
+
};
|
|
309
|
+
tooltipIcon: {
|
|
310
|
+
type: StringConstructor;
|
|
311
|
+
default: null;
|
|
312
|
+
};
|
|
297
313
|
}>> & Readonly<{
|
|
298
314
|
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
299
315
|
onChangeElement?: ((...args: any[]) => any) | undefined;
|
|
@@ -315,12 +331,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
315
331
|
labelInfo: boolean;
|
|
316
332
|
fuzzyStart: number;
|
|
317
333
|
filter_placeholder: string;
|
|
318
|
-
default_select:
|
|
334
|
+
default_select: any[];
|
|
319
335
|
nested: boolean;
|
|
320
336
|
show_all: boolean;
|
|
321
337
|
preselection_all: boolean;
|
|
322
338
|
multiple_columns: boolean;
|
|
323
339
|
options_disable: unknown[];
|
|
340
|
+
selectorIcon: string;
|
|
341
|
+
tooltipIcon: string;
|
|
324
342
|
}, {}, {
|
|
325
343
|
argIcon: any;
|
|
326
344
|
argSimpleLabel: any;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="oip_select_wrap">
|
|
3
|
-
<div
|
|
3
|
+
<div
|
|
4
|
+
v-if="!selectorIcon"
|
|
5
|
+
class="oip_select_block"
|
|
6
|
+
:class="disabled ? 'disabled' : ''"
|
|
7
|
+
>
|
|
4
8
|
<span class="oip_select_label" :class="disabled ? 'disabled' : ''">
|
|
5
9
|
<slot></slot>
|
|
6
10
|
</span>
|
|
@@ -15,18 +19,25 @@
|
|
|
15
19
|
thickness="32"
|
|
16
20
|
/>
|
|
17
21
|
</div>
|
|
22
|
+
<div v-else class="oip_select_icon">
|
|
23
|
+
<arg-tooltip v-if="tooltipIcon" :tooltip-text="tooltipIcon" dir="top">
|
|
24
|
+
<arg-icon :name="selectorIcon" />
|
|
25
|
+
</arg-tooltip>
|
|
26
|
+
<arg-icon v-else :name="selectorIcon" color="var(--medium)" size="24" />
|
|
27
|
+
</div>
|
|
18
28
|
</div>
|
|
19
29
|
</template>
|
|
20
30
|
|
|
21
31
|
<script>
|
|
22
32
|
import argIcon from "./argIcon.vue";
|
|
33
|
+
import argTooltip from "./argTooltip.vue";
|
|
23
34
|
import {
|
|
24
35
|
onMounted,
|
|
25
36
|
defineComponent
|
|
26
37
|
} from "vue";
|
|
27
38
|
export default defineComponent({
|
|
28
39
|
name: "argSimpleLabel",
|
|
29
|
-
components: { argIcon },
|
|
40
|
+
components: { argIcon, argTooltip },
|
|
30
41
|
props: {
|
|
31
42
|
disabled: {
|
|
32
43
|
type: Boolean,
|
|
@@ -35,7 +46,9 @@ export default defineComponent({
|
|
|
35
46
|
empty: { type: Boolean, default: false },
|
|
36
47
|
show_amount: { type: Boolean, default: false },
|
|
37
48
|
amount_value: { type: Number, default: null },
|
|
38
|
-
sortIcon: { type: Boolean, default: false }
|
|
49
|
+
sortIcon: { type: Boolean, default: false },
|
|
50
|
+
selectorIcon: { type: String || null, default: null },
|
|
51
|
+
tooltipIcon: { type: String || null, default: null }
|
|
39
52
|
},
|
|
40
53
|
setup() {
|
|
41
54
|
onMounted(() => {
|
|
@@ -52,7 +65,7 @@ const drawSquircle=(ctx,geom,radii,smooth,lineWidth,color)=>{const defaultFill=c
|
|
|
52
65
|
</script>
|
|
53
66
|
|
|
54
67
|
<style>
|
|
55
|
-
.oip_select_dropdown_block{background:var(--demi-fond);border:1.5px solid var(--light);border-radius:12px;box-shadow:var(--overlay-shadow);display:flex;flex-direction:column;margin-top:15px;max-height:500px;min-width:230px;padding:16px;position:absolute;z-index:12}.oip_select_block{align-items:center;background:var(--white);border:1.5px solid var(--light);border-radius:8px;cursor:pointer;display:flex;gap:4px;-webkit-mask-image:paint(squircle);mask-image:paint(squircle);padding:12px;position:relative;width:196px;--squircle-radius:8px;--squircle-smooth:1}.filter_box:hover,.filter_wrap:hover>.filter_box:not(.open),.oip_select_block:hover,.oip_select_dropdown_block:hover,.prmt_parent_switch:hover{border:1.5px solid var(--primary-primary-20,#d3e4ff)!important}.filter_box.open,.oip_select_dropdown_block.open,.oip_select_wrap.open>.oip_select_block,.prmt_parent_switch.open{border:1.5px solid var(--primary)!important;filter:drop-shadow(0 0 4px rgba(33,118,255,.3))!important}.filter_wrap.open,.oip_select_wrap.open,.switch_wrapper.open{filter:drop-shadow(0 0 4px rgba(33,118,255,.3))!important}.oip_select_block.open>svg{color:var(--primary)!important}.oip_select_block.disabled{background:var(--light)!important;cursor:not-allowed}.oip_select_label .prmt_tooltip{display:flex}.oip_select_label .prmt_tooltip span,.oip_select_label>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:98%}.oip_select_label{color:var(--darkest);font-size:14px;font-weight:700;line-height:16px;max-height:16px;width:90%}.oip_select_block svg{flex-shrink:0!important}.oip_select_label.disabled{color:var(--dark)}.oip_select_caret_down{float:right;margin-left:auto}.oip_select_complex_selection_loop_name{font-style:normal;line-height:160%;width:-moz-fit-content;width:fit-content}.oip_select_complex_selection_loop.del>svg{color:var(--system-alert)!important;flex-shrink:0}.oip_select_complex_selection_loop.add>svg{color:var(--primary)!important;flex-shrink:0}.oip_select_complex_selection_loop{align-self:stretch;cursor:pointer;display:flex;flex-grow:1;gap:8px;min-height:24px}.oip_select_complex_selection_container{margin:8px 0;max-height:350px;overflow-y:auto}.oip_select_complex_selection_loop_name{font-size:14px;font-weight:400;line-height:16px}.oip_search_container>svg{color:var(--medium)!important}.oip_search_name:focus-visible{outline:none}.oip_search_name::-moz-placeholder{color:var(--medium);font-size:12px;font-weight:400;line-height:20px}.oip_search_name::placeholder{color:var(--medium);font-size:12px;font-weight:400;line-height:20px}.oip_search_name{border:none;padding-left:8px;width:100%}.oip_search_container{align-items:center;align-self:stretch;background:var(--white);border:1px solid var(--light);border-radius:8px;display:flex;gap:8px;padding:8px 12px}.oip_select_dropdown_title{color:var(--darkest);font-size:14px;font-weight:500;margin-bottom:8px}.oip_select_dropdown_selection_container{display:flex;flex:1 1 auto;flex-direction:column;gap:0;margin-top:16px;min-height:10px;overflow-y:auto}.oip_select_dropdown_selection_container:only-child{margin-top:0}.oip_empty_dropdown{color:var(--dark);font-size:14px;font-style:italic;font-weight:400;line-height:16px;padding-top:16px;text-align:center}.oip_select_complex_selection_loop>svg.add{fill:var(--accent)!important;color:var(--white)!important}.arg-circle-amount{align-items:center;background:#e9f1ff;border-radius:50%;color:var(--primary);display:flex;flex-direction:column;flex-shrink:0;font-size:14px;font-style:normal;font-weight:600;gap:10px;height:20px;justify-content:center;padding:4px;position:absolute;right:34px;width:20px}.oip_empty_select{color:var(--dark);font-size:14px;font-style:italic;font-weight:400;line-height:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oip_select_display{align-items:flex-start;display:flex;flex-direction:column;gap:4px}.close-icon{align-items:center;background:var(--light);border-radius:100%;cursor:pointer;display:flex;justify-content:center;margin-left:auto;padding:4px}.close-icon:hover svg{color:var(--primary)!important}
|
|
68
|
+
.oip_select_icon{align-items:center;border:1px solid transparent;border-radius:8px;cursor:pointer;display:flex;justify-content:center;padding:8px;transition:border .15s ease-in}.oip_select_icon:hover,.oip_select_wrap.open .oip_select_icon{border:1px solid var(--light)!important}.oip_select_wrap.open .oip_select_icon{border:1px solid var(--primary)!important;filter:drop-shadow(0 0 4px rgba(33,118,255,.3))!important}.oip_select_wrap:not(.open) .oip_select_icon:hover svg{color:var(--primary)!important}.oip_select_dropdown_block{background:var(--demi-fond);border:1.5px solid var(--light);border-radius:12px;box-shadow:var(--overlay-shadow);display:flex;flex-direction:column;margin-top:15px;max-height:500px;min-width:230px;padding:16px;position:absolute;z-index:12}.oip_select_block{align-items:center;background:var(--white);border:1.5px solid var(--light);border-radius:8px;cursor:pointer;display:flex;gap:4px;-webkit-mask-image:paint(squircle);mask-image:paint(squircle);padding:12px;position:relative;width:196px;--squircle-radius:8px;--squircle-smooth:1}.filter_box:hover,.filter_wrap:hover>.filter_box:not(.open),.oip_select_block:hover,.oip_select_dropdown_block:hover,.prmt_parent_switch:hover{border:1.5px solid var(--primary-primary-20,#d3e4ff)!important}.filter_box.open,.oip_select_dropdown_block.open,.oip_select_wrap.open>.oip_select_block,.prmt_parent_switch.open{border:1.5px solid var(--primary)!important;filter:drop-shadow(0 0 4px rgba(33,118,255,.3))!important}.filter_wrap.open,.oip_select_wrap.open,.switch_wrapper.open{filter:drop-shadow(0 0 4px rgba(33,118,255,.3))!important}.oip_select_block.open>svg{color:var(--primary)!important}.oip_select_block.disabled{background:var(--light)!important;cursor:not-allowed}.oip_select_label .prmt_tooltip{display:flex}.oip_select_label .prmt_tooltip span,.oip_select_label>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:98%}.oip_select_label{color:var(--darkest);font-size:14px;font-weight:700;line-height:16px;max-height:16px;width:90%}.oip_select_block svg{flex-shrink:0!important}.oip_select_label.disabled{color:var(--dark)}.oip_select_caret_down{float:right;margin-left:auto}.oip_select_complex_selection_loop_name{font-style:normal;line-height:160%;width:-moz-fit-content;width:fit-content}.oip_select_complex_selection_loop.del>svg{color:var(--system-alert)!important;flex-shrink:0}.oip_select_complex_selection_loop.add>svg{color:var(--primary)!important;flex-shrink:0}.oip_select_complex_selection_loop{align-self:stretch;cursor:pointer;display:flex;flex-grow:1;gap:8px;min-height:24px}.oip_select_complex_selection_container{margin:8px 0;max-height:350px;overflow-y:auto}.oip_select_complex_selection_loop_name{font-size:14px;font-weight:400;line-height:16px}.oip_search_container>svg{color:var(--medium)!important}.oip_search_name:focus-visible{outline:none}.oip_search_name::-moz-placeholder{color:var(--medium);font-size:12px;font-weight:400;line-height:20px}.oip_search_name::placeholder{color:var(--medium);font-size:12px;font-weight:400;line-height:20px}.oip_search_name{border:none;padding-left:8px;width:100%}.oip_search_container{align-items:center;align-self:stretch;background:var(--white);border:1px solid var(--light);border-radius:8px;display:flex;gap:8px;padding:8px 12px}.oip_select_dropdown_title{color:var(--darkest);font-size:14px;font-weight:500;margin-bottom:8px}.oip_select_dropdown_selection_container{display:flex;flex:1 1 auto;flex-direction:column;gap:0;margin-top:16px;min-height:10px;overflow-y:auto}.oip_select_dropdown_selection_container:only-child{margin-top:0}.oip_empty_dropdown{color:var(--dark);font-size:14px;font-style:italic;font-weight:400;line-height:16px;padding-top:16px;text-align:center}.oip_select_complex_selection_loop>svg.add{fill:var(--accent)!important;color:var(--white)!important}.arg-circle-amount{align-items:center;background:#e9f1ff;border-radius:50%;color:var(--primary);display:flex;flex-direction:column;flex-shrink:0;font-size:14px;font-style:normal;font-weight:600;gap:10px;height:20px;justify-content:center;padding:4px;position:absolute;right:34px;width:20px}.oip_empty_select{color:var(--dark);font-size:14px;font-style:italic;font-weight:400;line-height:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oip_select_display{align-items:flex-start;display:flex;flex-direction:column;gap:4px}.close-icon{align-items:center;background:var(--light);border-radius:100%;cursor:pointer;display:flex;justify-content:center;margin-left:auto;padding:4px}.close-icon:hover svg{color:var(--primary)!important}
|
|
56
69
|
</style>
|
|
57
70
|
<style scoped>
|
|
58
71
|
.oip_select_complex_selection_loop > svg.add {
|
|
@@ -19,6 +19,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
19
19
|
type: BooleanConstructor;
|
|
20
20
|
default: boolean;
|
|
21
21
|
};
|
|
22
|
+
selectorIcon: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: null;
|
|
25
|
+
};
|
|
26
|
+
tooltipIcon: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: null;
|
|
29
|
+
};
|
|
22
30
|
}>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
31
|
disabled: {
|
|
24
32
|
type: BooleanConstructor;
|
|
@@ -40,13 +48,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
40
48
|
type: BooleanConstructor;
|
|
41
49
|
default: boolean;
|
|
42
50
|
};
|
|
51
|
+
selectorIcon: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: null;
|
|
54
|
+
};
|
|
55
|
+
tooltipIcon: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: null;
|
|
58
|
+
};
|
|
43
59
|
}>> & Readonly<{}>, {
|
|
44
60
|
disabled: boolean;
|
|
45
61
|
show_amount: boolean;
|
|
62
|
+
selectorIcon: string;
|
|
63
|
+
tooltipIcon: string;
|
|
46
64
|
empty: boolean;
|
|
47
65
|
amount_value: number;
|
|
48
66
|
sortIcon: boolean;
|
|
49
67
|
}, {}, {
|
|
50
68
|
argIcon: any;
|
|
69
|
+
argTooltip: any;
|
|
51
70
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
52
71
|
export default _default;
|