@hostlink/nuxt-light 1.48.0 → 1.48.1
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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { QSelectProps } from "quasar";
|
|
2
2
|
declare const _default: import("vue").DefineComponent<QSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<QSelectProps> & Readonly<{}>, {
|
|
3
3
|
dense: boolean;
|
|
4
|
+
dark: boolean | null;
|
|
4
5
|
rounded: boolean;
|
|
5
6
|
square: boolean;
|
|
6
7
|
hideBottomSpace: boolean;
|
|
@@ -12,6 +13,7 @@ declare const _default: import("vue").DefineComponent<QSelectProps, {}, {}, {},
|
|
|
12
13
|
mapOptions: boolean;
|
|
13
14
|
optionValue: string | ((option: string | any) => any);
|
|
14
15
|
optionLabel: string | ((option: string | any) => string);
|
|
16
|
+
optionsDark: boolean | null;
|
|
15
17
|
inputDebounce: string | number;
|
|
16
18
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
19
|
export default _default;
|
|
@@ -26,7 +26,7 @@ const props = defineProps({
|
|
|
26
26
|
labelColor: { type: null, required: false },
|
|
27
27
|
color: { type: null, required: false },
|
|
28
28
|
bgColor: { type: null, required: false },
|
|
29
|
-
dark: { type: [Boolean, null], required: false, skipCheck: true },
|
|
29
|
+
dark: { type: [Boolean, null], required: false, skipCheck: true, default: void 0 },
|
|
30
30
|
loading: { type: Boolean, required: false, skipCheck: true },
|
|
31
31
|
clearable: { type: Boolean, required: false, skipCheck: true },
|
|
32
32
|
clearIcon: { type: null, required: false },
|
|
@@ -58,7 +58,7 @@ const props = defineProps({
|
|
|
58
58
|
dropdownIcon: { type: null, required: false },
|
|
59
59
|
maxValues: { type: null, required: false },
|
|
60
60
|
optionsDense: { type: Boolean, required: false, skipCheck: true },
|
|
61
|
-
optionsDark: { type: [Boolean, null], required: false, skipCheck: true },
|
|
61
|
+
optionsDark: { type: [Boolean, null], required: false, skipCheck: true, default: void 0 },
|
|
62
62
|
optionsSelectedClass: { type: null, required: false },
|
|
63
63
|
optionsHtml: { type: Boolean, required: false, skipCheck: true },
|
|
64
64
|
optionsCover: { type: Boolean, required: false, skipCheck: true },
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { QSelectProps } from "quasar";
|
|
2
2
|
declare const _default: import("vue").DefineComponent<QSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<QSelectProps> & Readonly<{}>, {
|
|
3
3
|
dense: boolean;
|
|
4
|
+
dark: boolean | null;
|
|
4
5
|
rounded: boolean;
|
|
5
6
|
square: boolean;
|
|
6
7
|
hideBottomSpace: boolean;
|
|
@@ -12,6 +13,7 @@ declare const _default: import("vue").DefineComponent<QSelectProps, {}, {}, {},
|
|
|
12
13
|
mapOptions: boolean;
|
|
13
14
|
optionValue: string | ((option: string | any) => any);
|
|
14
15
|
optionLabel: string | ((option: string | any) => string);
|
|
16
|
+
optionsDark: boolean | null;
|
|
15
17
|
inputDebounce: string | number;
|
|
16
18
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
19
|
export default _default;
|
|
@@ -48,7 +48,7 @@ if (!props.context.onSubmit) {
|
|
|
48
48
|
const v = removeUndefined(props.context.value);
|
|
49
49
|
try {
|
|
50
50
|
if (route.params[id_name]) {
|
|
51
|
-
if (await model(module).update(
|
|
51
|
+
if (await model(module).update(Number(route.params[id_name]), v)) {
|
|
52
52
|
quasar.notify({
|
|
53
53
|
message: "Updated successfully",
|
|
54
54
|
color: "positive",
|