@tekkare/auriga 0.2.39 → 0.2.40
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/argComplexSelect.vue +28 -4
- package/dist/runtime/components/argComplexSelect.vue.d.ts +12 -1
- package/dist/runtime/components/argMultipleSelect.vue +30 -4
- package/dist/runtime/components/argMultipleSelect.vue.d.ts +12 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -2,7 +2,15 @@
|
|
|
2
2
|
<div>
|
|
3
3
|
<!-- Simple select -->
|
|
4
4
|
<div class="oip_select_display">
|
|
5
|
-
<p
|
|
5
|
+
<p
|
|
6
|
+
class="oip_filter_label"
|
|
7
|
+
:class="labelInfo ? 'oip_row v-center gap-4' : ''"
|
|
8
|
+
>
|
|
9
|
+
{{ complex_label }}
|
|
10
|
+
<span v-if="labelInfo" @click="openInfo" class="open-info">
|
|
11
|
+
<arg-icon name="Info" size="14" color="var(--medium)"
|
|
12
|
+
/></span>
|
|
13
|
+
</p>
|
|
6
14
|
<arg-simple-label
|
|
7
15
|
:disabled="disabled"
|
|
8
16
|
:show_amount="show_amount"
|
|
@@ -275,9 +283,15 @@ export default defineComponent({
|
|
|
275
283
|
empty_content_msg: { type: String, default: null },
|
|
276
284
|
fuzzySearch: { type: Boolean, default: false },
|
|
277
285
|
fuzzyThreshold: { type: Number, default: 0.5 },
|
|
278
|
-
filterSearch: { type: Boolean, default: true }
|
|
286
|
+
filterSearch: { type: Boolean, default: true },
|
|
287
|
+
labelInfo: { type: Boolean, default: false }
|
|
279
288
|
},
|
|
280
|
-
emits: [
|
|
289
|
+
emits: [
|
|
290
|
+
"changeElement",
|
|
291
|
+
"changeAddInputValue",
|
|
292
|
+
"update:Selection",
|
|
293
|
+
"openInfo"
|
|
294
|
+
],
|
|
281
295
|
setup(props, { emit }) {
|
|
282
296
|
const add_table = ref([]);
|
|
283
297
|
const del_table = ref([]);
|
|
@@ -311,6 +325,9 @@ export default defineComponent({
|
|
|
311
325
|
fr: "Aucune s\xE9lection",
|
|
312
326
|
es: "Ninguna selecci\xF3n"
|
|
313
327
|
};
|
|
328
|
+
function openInfo() {
|
|
329
|
+
emit("openInfo");
|
|
330
|
+
}
|
|
314
331
|
onMounted(() => {
|
|
315
332
|
del_table.value = Object.assign([], [...new Set(props.already_selected)]);
|
|
316
333
|
add_table.value = Object.assign(
|
|
@@ -642,7 +659,8 @@ export default defineComponent({
|
|
|
642
659
|
getCustomText,
|
|
643
660
|
getAddAllText,
|
|
644
661
|
noSelectionMsg,
|
|
645
|
-
getAddText
|
|
662
|
+
getAddText,
|
|
663
|
+
openInfo
|
|
646
664
|
};
|
|
647
665
|
}
|
|
648
666
|
});
|
|
@@ -767,4 +785,10 @@ export default defineComponent({
|
|
|
767
785
|
.full_stretch {
|
|
768
786
|
align-self: stretch;
|
|
769
787
|
}
|
|
788
|
+
.open-info {
|
|
789
|
+
cursor: pointer;
|
|
790
|
+
}
|
|
791
|
+
.open-info:hover svg {
|
|
792
|
+
color: var(--primary) !important;
|
|
793
|
+
}
|
|
770
794
|
</style>
|
|
@@ -132,6 +132,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
132
132
|
type: BooleanConstructor;
|
|
133
133
|
default: boolean;
|
|
134
134
|
};
|
|
135
|
+
labelInfo: {
|
|
136
|
+
type: BooleanConstructor;
|
|
137
|
+
default: boolean;
|
|
138
|
+
};
|
|
135
139
|
}, {
|
|
136
140
|
add_table: import("vue").Ref<any>;
|
|
137
141
|
del_table: import("vue").Ref<any>;
|
|
@@ -186,7 +190,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
186
190
|
fr: string;
|
|
187
191
|
es: string;
|
|
188
192
|
};
|
|
189
|
-
|
|
193
|
+
openInfo: () => void;
|
|
194
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("changeElement" | "changeAddInputValue" | "update:Selection" | "openInfo")[], "changeElement" | "changeAddInputValue" | "update:Selection" | "openInfo", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
190
195
|
element_table: {
|
|
191
196
|
type: {
|
|
192
197
|
(arrayLength: number): string[];
|
|
@@ -320,10 +325,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
320
325
|
type: BooleanConstructor;
|
|
321
326
|
default: boolean;
|
|
322
327
|
};
|
|
328
|
+
labelInfo: {
|
|
329
|
+
type: BooleanConstructor;
|
|
330
|
+
default: boolean;
|
|
331
|
+
};
|
|
323
332
|
}>> & {
|
|
324
333
|
onChangeElement?: ((...args: any[]) => any) | undefined;
|
|
325
334
|
onChangeAddInputValue?: ((...args: any[]) => any) | undefined;
|
|
326
335
|
"onUpdate:Selection"?: ((...args: any[]) => any) | undefined;
|
|
336
|
+
onOpenInfo?: ((...args: any[]) => any) | undefined;
|
|
327
337
|
}, {
|
|
328
338
|
lang: string;
|
|
329
339
|
fuzzyThreshold: number;
|
|
@@ -345,5 +355,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
345
355
|
empty_content_msg: string;
|
|
346
356
|
fuzzySearch: boolean;
|
|
347
357
|
filterSearch: boolean;
|
|
358
|
+
labelInfo: boolean;
|
|
348
359
|
}, {}>;
|
|
349
360
|
export default _default;
|
|
@@ -2,7 +2,15 @@
|
|
|
2
2
|
<div>
|
|
3
3
|
<!-- Simple select -->
|
|
4
4
|
<div class="oip_select_display">
|
|
5
|
-
<p
|
|
5
|
+
<p
|
|
6
|
+
class="oip_filter_label"
|
|
7
|
+
:class="labelInfo ? 'oip_row v-center gap-4' : ''"
|
|
8
|
+
>
|
|
9
|
+
{{ multiple_label }}
|
|
10
|
+
<span v-if="labelInfo" @click="openInfo" class="open-info">
|
|
11
|
+
<arg-icon name="Info" size="14" color="var(--medium)"
|
|
12
|
+
/></span>
|
|
13
|
+
</p>
|
|
6
14
|
<arg-simple-label
|
|
7
15
|
:disabled="disabled"
|
|
8
16
|
:show_amount="show_amount"
|
|
@@ -353,9 +361,16 @@ export default defineComponent({
|
|
|
353
361
|
empty_content_msg: { type: String, default: null },
|
|
354
362
|
fuzzySearch: { type: Boolean, default: false },
|
|
355
363
|
fuzzyThreshold: { type: Number, default: 0.5 },
|
|
356
|
-
filterSearch: { type: Boolean, default: true }
|
|
364
|
+
filterSearch: { type: Boolean, default: true },
|
|
365
|
+
labelInfo: { type: Boolean, default: false }
|
|
357
366
|
},
|
|
358
|
-
emits: [
|
|
367
|
+
emits: [
|
|
368
|
+
"changeElement",
|
|
369
|
+
"update:Selection",
|
|
370
|
+
"changeInputValue",
|
|
371
|
+
"onClose",
|
|
372
|
+
"openInfo"
|
|
373
|
+
],
|
|
359
374
|
setup(props, { emit }) {
|
|
360
375
|
const selected_items = ref([]);
|
|
361
376
|
const selected_nested = ref([]);
|
|
@@ -365,6 +380,9 @@ export default defineComponent({
|
|
|
365
380
|
const selectedCats = ref([]);
|
|
366
381
|
const valueFrom = ref([]);
|
|
367
382
|
const element_table_copy = ref([]);
|
|
383
|
+
function openInfo() {
|
|
384
|
+
emit("openInfo");
|
|
385
|
+
}
|
|
368
386
|
watch(
|
|
369
387
|
() => props.element_table,
|
|
370
388
|
(new_element_table) => {
|
|
@@ -843,7 +861,8 @@ export default defineComponent({
|
|
|
843
861
|
getLoaderText,
|
|
844
862
|
getPlaceholder,
|
|
845
863
|
getEmptyContentMsg,
|
|
846
|
-
element_table_copy
|
|
864
|
+
element_table_copy,
|
|
865
|
+
openInfo
|
|
847
866
|
};
|
|
848
867
|
}
|
|
849
868
|
});
|
|
@@ -929,4 +948,11 @@ export default defineComponent({
|
|
|
929
948
|
.oip_crop.small {
|
|
930
949
|
width: 98% !important;
|
|
931
950
|
}
|
|
951
|
+
|
|
952
|
+
.open-info {
|
|
953
|
+
cursor: pointer;
|
|
954
|
+
}
|
|
955
|
+
.open-info:hover svg {
|
|
956
|
+
color: var(--primary) !important;
|
|
957
|
+
}
|
|
932
958
|
</style>
|
|
@@ -120,6 +120,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
120
120
|
type: BooleanConstructor;
|
|
121
121
|
default: boolean;
|
|
122
122
|
};
|
|
123
|
+
labelInfo: {
|
|
124
|
+
type: BooleanConstructor;
|
|
125
|
+
default: boolean;
|
|
126
|
+
};
|
|
123
127
|
}, {
|
|
124
128
|
getNestedLength: import("vue").ComputedRef<number>;
|
|
125
129
|
del_all: () => void;
|
|
@@ -154,7 +158,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
154
158
|
getPlaceholder: import("vue").ComputedRef<string>;
|
|
155
159
|
getEmptyContentMsg: import("vue").ComputedRef<string>;
|
|
156
160
|
element_table_copy: import("vue").Ref<any[]>;
|
|
157
|
-
|
|
161
|
+
openInfo: () => void;
|
|
162
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onClose" | "changeElement" | "update:Selection" | "openInfo" | "changeInputValue")[], "onClose" | "changeElement" | "update:Selection" | "openInfo" | "changeInputValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
158
163
|
element_table: {
|
|
159
164
|
type: {
|
|
160
165
|
(arrayLength: number): (Object | String)[];
|
|
@@ -276,10 +281,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
276
281
|
type: BooleanConstructor;
|
|
277
282
|
default: boolean;
|
|
278
283
|
};
|
|
284
|
+
labelInfo: {
|
|
285
|
+
type: BooleanConstructor;
|
|
286
|
+
default: boolean;
|
|
287
|
+
};
|
|
279
288
|
}>> & {
|
|
280
289
|
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
281
290
|
onChangeElement?: ((...args: any[]) => any) | undefined;
|
|
282
291
|
"onUpdate:Selection"?: ((...args: any[]) => any) | undefined;
|
|
292
|
+
onOpenInfo?: ((...args: any[]) => any) | undefined;
|
|
283
293
|
onChangeInputValue?: ((...args: any[]) => any) | undefined;
|
|
284
294
|
}, {
|
|
285
295
|
lang: string;
|
|
@@ -293,6 +303,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
293
303
|
empty_content_msg: string;
|
|
294
304
|
fuzzySearch: boolean;
|
|
295
305
|
filterSearch: boolean;
|
|
306
|
+
labelInfo: boolean;
|
|
296
307
|
filter_placeholder: string;
|
|
297
308
|
default_select: String[];
|
|
298
309
|
nested: boolean;
|