@winchsa/ui 0.1.35 → 0.1.36
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/components/cards/AppCardActions.d.vue.ts +2 -2
- package/dist/components/cards/AppCardActions.vue.d.ts +2 -2
- package/dist/components/forms/AutocompleteInput.vue +3 -13
- package/dist/components/table/EditableDataTable.vue +2 -2
- package/dist/styles/core/template/_components.scss +2 -4
- package/dist/styles/core/template/index.css +2 -2
- package/package.json +1 -1
|
@@ -15,12 +15,12 @@ type __VLS_Slots = {} & {
|
|
|
15
15
|
default?: (props: typeof __VLS_76) => any;
|
|
16
16
|
};
|
|
17
17
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
18
|
-
refresh: (hideOverlay: () => void) => any;
|
|
19
18
|
collapsed: (isContentCollapsed: boolean) => any;
|
|
19
|
+
refresh: (hideOverlay: () => void) => any;
|
|
20
20
|
trash: () => any;
|
|
21
21
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
-
onRefresh?: ((hideOverlay: () => void) => any) | undefined;
|
|
23
22
|
onCollapsed?: ((isContentCollapsed: boolean) => any) | undefined;
|
|
23
|
+
onRefresh?: ((hideOverlay: () => void) => any) | undefined;
|
|
24
24
|
onTrash?: (() => any) | undefined;
|
|
25
25
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
26
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -15,12 +15,12 @@ type __VLS_Slots = {} & {
|
|
|
15
15
|
default?: (props: typeof __VLS_76) => any;
|
|
16
16
|
};
|
|
17
17
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
18
|
-
refresh: (hideOverlay: () => void) => any;
|
|
19
18
|
collapsed: (isContentCollapsed: boolean) => any;
|
|
19
|
+
refresh: (hideOverlay: () => void) => any;
|
|
20
20
|
trash: () => any;
|
|
21
21
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
-
onRefresh?: ((hideOverlay: () => void) => any) | undefined;
|
|
23
22
|
onCollapsed?: ((isContentCollapsed: boolean) => any) | undefined;
|
|
23
|
+
onRefresh?: ((hideOverlay: () => void) => any) | undefined;
|
|
24
24
|
onTrash?: (() => any) | undefined;
|
|
25
25
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
26
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import MultiSelect from "vue-multiselect";
|
|
3
|
-
import { ref, computed, watch, useAttrs
|
|
3
|
+
import { ref, computed, watch, useAttrs } from "vue";
|
|
4
4
|
import { useI18n } from "vue-i18n";
|
|
5
5
|
import { VLabel, VValidation, VListItem, VMessages, VIcon } from "vuetify/components";
|
|
6
6
|
import { client } from "../../utils/client";
|
|
@@ -200,8 +200,7 @@ watch(() => props.url, async () => {
|
|
|
200
200
|
displayedOptions.value = options;
|
|
201
201
|
}
|
|
202
202
|
}, {
|
|
203
|
-
immediate: true
|
|
204
|
-
deep: true
|
|
203
|
+
immediate: true
|
|
205
204
|
});
|
|
206
205
|
watch(() => props.options, () => {
|
|
207
206
|
if (props.options && props.options.length > 0) {
|
|
@@ -212,13 +211,6 @@ watch(() => props.options, () => {
|
|
|
212
211
|
deep: true,
|
|
213
212
|
immediate: true
|
|
214
213
|
});
|
|
215
|
-
watch(showTeleport, (newValue) => {
|
|
216
|
-
if (newValue && props.teleported) {
|
|
217
|
-
nextTick(() => {
|
|
218
|
-
teleportRef.value?.activate();
|
|
219
|
-
});
|
|
220
|
-
}
|
|
221
|
-
});
|
|
222
214
|
const refetch = async () => {
|
|
223
215
|
if (props.url) {
|
|
224
216
|
const options = await getRecords();
|
|
@@ -539,9 +531,6 @@ defineExpose({
|
|
|
539
531
|
margin: 0;
|
|
540
532
|
padding-top: 0;
|
|
541
533
|
}
|
|
542
|
-
.app-teleport-clone .multiselect__content-wrapper {
|
|
543
|
-
display: none !important;
|
|
544
|
-
}
|
|
545
534
|
|
|
546
535
|
.app-custom-input .multiselect__placeholder {
|
|
547
536
|
display: flex;
|
|
@@ -584,6 +573,7 @@ defineExpose({
|
|
|
584
573
|
border-radius: 6px;
|
|
585
574
|
background: rgba(var(--v-theme-surface));
|
|
586
575
|
color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
|
|
576
|
+
z-index: 9999 !important;
|
|
587
577
|
}
|
|
588
578
|
|
|
589
579
|
.multiselect__input {
|
|
@@ -136,8 +136,8 @@ const moduleIdentifier = computed(() => props.module ?? "rows");
|
|
|
136
136
|
border-bottom: 0px solid rgba(var(--v-table-divider)) !important;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
.v-table__wrapper {
|
|
140
|
-
overflow:
|
|
139
|
+
:deep(.v-table__wrapper) {
|
|
140
|
+
overflow: visible !important;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
table tr th {
|
|
@@ -626,7 +626,7 @@ $btn-hover-overlay-opacity: (
|
|
|
626
626
|
|
|
627
627
|
&:not(.v-input--disabled) .v-switch__track {
|
|
628
628
|
border: 1px solid rgba(var(--v-border-color), var(--v-switch-opacity));
|
|
629
|
-
background-color:
|
|
629
|
+
background-color: rgba(var(--v-theme-on-surface),var(--v-focus-opacity));
|
|
630
630
|
opacity: 1;
|
|
631
631
|
}
|
|
632
632
|
|
|
@@ -636,9 +636,7 @@ $btn-hover-overlay-opacity: (
|
|
|
636
636
|
--v-selection-control-size: 1.5rem;
|
|
637
637
|
|
|
638
638
|
.v-switch__thumb {
|
|
639
|
-
background: rgb(var(--v-theme-on-success));
|
|
640
|
-
// block-size: 1rem;
|
|
641
|
-
// inline-size: 1rem;
|
|
639
|
+
background: rgb(var(--v-theme-on-success)) !important;
|
|
642
640
|
}
|
|
643
641
|
}
|
|
644
642
|
|
|
@@ -18397,7 +18397,7 @@ body {
|
|
|
18397
18397
|
}
|
|
18398
18398
|
.v-switch.v-switch--inset:not(.v-input--disabled) .v-switch__track {
|
|
18399
18399
|
border: 1px solid rgba(var(--v-border-color), var(--v-switch-opacity));
|
|
18400
|
-
background-color:
|
|
18400
|
+
background-color: rgba(var(--v-theme-on-surface), var(--v-focus-opacity));
|
|
18401
18401
|
opacity: 1;
|
|
18402
18402
|
}
|
|
18403
18403
|
.v-switch.v-switch--inset .v-selection-control__input {
|
|
@@ -18405,7 +18405,7 @@ body {
|
|
|
18405
18405
|
--v-selection-control-size: 1.5rem;
|
|
18406
18406
|
}
|
|
18407
18407
|
.v-switch.v-switch--inset .v-selection-control__input .v-switch__thumb {
|
|
18408
|
-
background: rgb(var(--v-theme-on-success));
|
|
18408
|
+
background: rgb(var(--v-theme-on-success)) !important;
|
|
18409
18409
|
}
|
|
18410
18410
|
.v-switch.v-switch--inset .v-selection-control--dirty .v-switch__track {
|
|
18411
18411
|
border-color: rgba(var(--v-border-color), var(--v-switch-opacity));
|