@tekkare/auriga 0.2.63 → 0.2.65
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
CHANGED
|
@@ -273,7 +273,8 @@ export default defineComponent({
|
|
|
273
273
|
fuzzySearch: { type: Boolean, default: false },
|
|
274
274
|
fuzzyThreshold: { type: Number, default: 0.5 },
|
|
275
275
|
filterSearch: { type: Boolean, default: true },
|
|
276
|
-
labelInfo: { type: Boolean, default: false }
|
|
276
|
+
labelInfo: { type: Boolean, default: false },
|
|
277
|
+
forceList: { type: Boolean, default: false }
|
|
277
278
|
},
|
|
278
279
|
emits: [
|
|
279
280
|
"changeElement",
|
|
@@ -537,7 +538,9 @@ export default defineComponent({
|
|
|
537
538
|
}
|
|
538
539
|
function del_element(element) {
|
|
539
540
|
smart_selection_selected.value = void 0;
|
|
540
|
-
|
|
541
|
+
if (props.element_table.includes(element)) {
|
|
542
|
+
add_table.value.push(element);
|
|
543
|
+
}
|
|
541
544
|
del_table.value.splice(del_table.value.indexOf(element), 1);
|
|
542
545
|
if (!props.need_apply) {
|
|
543
546
|
apply_function();
|
|
@@ -605,6 +608,8 @@ export default defineComponent({
|
|
|
605
608
|
),
|
|
606
609
|
1
|
|
607
610
|
);
|
|
611
|
+
} else if (props.forceList) {
|
|
612
|
+
del_table.value.push(index);
|
|
608
613
|
}
|
|
609
614
|
} else if (typeof index === "number") {
|
|
610
615
|
if (typeof props.element_table[index] !== "undefined") {
|
|
@@ -136,6 +136,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
136
136
|
type: BooleanConstructor;
|
|
137
137
|
default: boolean;
|
|
138
138
|
};
|
|
139
|
+
forceList: {
|
|
140
|
+
type: BooleanConstructor;
|
|
141
|
+
default: boolean;
|
|
142
|
+
};
|
|
139
143
|
}, {
|
|
140
144
|
add_table: import("vue").Ref<any>;
|
|
141
145
|
del_table: import("vue").Ref<any>;
|
|
@@ -314,6 +318,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
314
318
|
type: BooleanConstructor;
|
|
315
319
|
default: boolean;
|
|
316
320
|
};
|
|
321
|
+
forceList: {
|
|
322
|
+
type: BooleanConstructor;
|
|
323
|
+
default: boolean;
|
|
324
|
+
};
|
|
317
325
|
}>> & {
|
|
318
326
|
onChangeElement?: ((...args: any[]) => any) | undefined;
|
|
319
327
|
onChangeAddInputValue?: ((...args: any[]) => any) | undefined;
|
|
@@ -341,5 +349,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
341
349
|
fuzzySearch: boolean;
|
|
342
350
|
filterSearch: boolean;
|
|
343
351
|
labelInfo: boolean;
|
|
352
|
+
forceList: boolean;
|
|
344
353
|
}, {}>;
|
|
345
354
|
export default _default;
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
<label
|
|
19
19
|
:key="index"
|
|
20
20
|
:for="tabs[0].label + index"
|
|
21
|
-
class="labels_container"
|
|
21
|
+
class="labels_container hover_container"
|
|
22
|
+
:class="index === activeTab ? 'active' : ''"
|
|
22
23
|
>
|
|
23
24
|
<div
|
|
24
25
|
ref="buttonContents"
|
|
@@ -107,5 +108,5 @@ export default defineComponent({
|
|
|
107
108
|
</script>
|
|
108
109
|
|
|
109
110
|
<style scoped>
|
|
110
|
-
.wrapper{background:rgba(82,86,112,.04);border:1px solid rgba(82,86,112,.1);border-radius:8px;padding:2px}.toggle_radio{background:hsla(0,0%,100%,.1);position:relative}.toggle_radio>*{float:left}.toggle_radio input[type=radio]{display:none}.toggle_radio label{color:var(--Main-Dark,#525670);cursor:pointer;display:block;font-family:Figtree;font-size:14px;font-weight:500;margin:3px;padding:2px 6px;text-align:center;z-index:20}.toggle_option_slider{background:var(--Main-White,#fff);border:1px solid var(--Main-Light,#dbdef0);border-radius:6px;box-shadow:0 1px 2px 0 rgba(30,41,59,.1);position:absolute;transition:all .4s ease}.labels_container{align-self:center;height:100%}.icon_replacement-div{height:24px;margin:0;padding:0;width:0}.button_label{z-index:2}.icon_div{align-items:center;display:flex;height:24px;justify-content:center;z-index:2}
|
|
111
|
+
.wrapper{background:rgba(82,86,112,.04);border:1px solid rgba(82,86,112,.1);border-radius:8px;padding:2px}.toggle_radio{background:hsla(0,0%,100%,.1);position:relative}.toggle_radio>*{float:left}.toggle_radio input[type=radio]{display:none}.toggle_radio label{color:var(--Main-Dark,#525670);cursor:pointer;display:block;font-family:Figtree;font-size:14px;font-weight:500;margin:3px;padding:2px 6px;text-align:center;z-index:20}.toggle_option_slider{background:var(--Main-White,#fff);border:1px solid var(--Main-Light,#dbdef0);border-radius:6px;box-shadow:0 1px 2px 0 rgba(30,41,59,.1);position:absolute;transition:all .4s ease}.labels_container{align-self:center;height:100%}.hover_container:not(.active):hover{border-radius:6px}.hover_container:not(.active):hover,.hover_container:not(.active):hover svg{color:var(--primary)!important;font-weight:600!important}.icon_replacement-div{height:24px;margin:0;padding:0;width:0}.button_label{z-index:2}.icon_div{align-items:center;display:flex;height:24px;justify-content:center;z-index:2}
|
|
111
112
|
</style>
|