@dcodegroup-au/dsg-vue 0.1.20 → 0.1.21
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.
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { DsgButtonProps } from './DsgButton.vue';
|
|
2
|
+
import { DsgMiscIconProps } from '../Icons/DsgMiscIcon.vue';
|
|
1
3
|
export interface DsgScanOptions {
|
|
2
4
|
title: string;
|
|
3
5
|
subtitle?: string;
|
|
@@ -34,7 +36,7 @@ declare function __VLS_template(): {
|
|
|
34
36
|
$props: {
|
|
35
37
|
readonly title?: string | undefined;
|
|
36
38
|
readonly description?: string | undefined;
|
|
37
|
-
readonly miscIcon?: (
|
|
39
|
+
readonly miscIcon?: (DsgMiscIconProps | null) | undefined;
|
|
38
40
|
readonly hasClosedButton?: boolean | undefined;
|
|
39
41
|
readonly initialOpen?: boolean | undefined;
|
|
40
42
|
readonly closeClickBackground?: boolean | undefined;
|
|
@@ -42,8 +44,8 @@ declare function __VLS_template(): {
|
|
|
42
44
|
readonly width?: number | undefined;
|
|
43
45
|
readonly type?: import('./DsgModal.vue').DsgModalType | undefined;
|
|
44
46
|
readonly footerType?: import('./DsgModal.vue').DsgModalFooterType | undefined;
|
|
45
|
-
readonly primaryButton?: (
|
|
46
|
-
readonly secondaryButton?: (
|
|
47
|
+
readonly primaryButton?: (DsgButtonProps | false) | undefined;
|
|
48
|
+
readonly secondaryButton?: (DsgButtonProps | false) | undefined;
|
|
47
49
|
readonly hasBackground?: boolean | undefined;
|
|
48
50
|
readonly "onBefore-open"?: (() => any) | undefined;
|
|
49
51
|
readonly "onAfter-open"?: (() => any) | undefined;
|
|
@@ -142,7 +144,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
142
144
|
$props: {
|
|
143
145
|
readonly title?: string | undefined;
|
|
144
146
|
readonly description?: string | undefined;
|
|
145
|
-
readonly miscIcon?: (
|
|
147
|
+
readonly miscIcon?: (DsgMiscIconProps | null) | undefined;
|
|
146
148
|
readonly hasClosedButton?: boolean | undefined;
|
|
147
149
|
readonly initialOpen?: boolean | undefined;
|
|
148
150
|
readonly closeClickBackground?: boolean | undefined;
|
|
@@ -150,8 +152,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
150
152
|
readonly width?: number | undefined;
|
|
151
153
|
readonly type?: import('./DsgModal.vue').DsgModalType | undefined;
|
|
152
154
|
readonly footerType?: import('./DsgModal.vue').DsgModalFooterType | undefined;
|
|
153
|
-
readonly primaryButton?: (
|
|
154
|
-
readonly secondaryButton?: (
|
|
155
|
+
readonly primaryButton?: (DsgButtonProps | false) | undefined;
|
|
156
|
+
readonly secondaryButton?: (DsgButtonProps | false) | undefined;
|
|
155
157
|
readonly hasBackground?: boolean | undefined;
|
|
156
158
|
readonly "onBefore-open"?: (() => any) | undefined;
|
|
157
159
|
readonly "onAfter-open"?: (() => any) | undefined;
|
|
@@ -44,7 +44,64 @@ type __VLS_PublicProps = {
|
|
|
44
44
|
"modelValue"?: any;
|
|
45
45
|
"single"?: any;
|
|
46
46
|
} & __VLS_Props;
|
|
47
|
-
declare
|
|
47
|
+
declare function __VLS_template(): {
|
|
48
|
+
attrs: Partial<{}>;
|
|
49
|
+
slots: Readonly<{
|
|
50
|
+
singleLabel: {
|
|
51
|
+
option?: DsgInputSelectOption | null;
|
|
52
|
+
};
|
|
53
|
+
option: {
|
|
54
|
+
option?: DsgInputSelectOption | null;
|
|
55
|
+
};
|
|
56
|
+
caret: {
|
|
57
|
+
toggle: () => void;
|
|
58
|
+
};
|
|
59
|
+
}> & {
|
|
60
|
+
singleLabel: {
|
|
61
|
+
option?: DsgInputSelectOption | null;
|
|
62
|
+
};
|
|
63
|
+
option: {
|
|
64
|
+
option?: DsgInputSelectOption | null;
|
|
65
|
+
};
|
|
66
|
+
caret: {
|
|
67
|
+
toggle: () => void;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
refs: {
|
|
71
|
+
dsgInputSelectEl: HTMLDivElement;
|
|
72
|
+
multiselectEl: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue-multiselect').ComponentProps>, {}, {}, {}, {
|
|
73
|
+
activate(): void;
|
|
74
|
+
deactivate(): void;
|
|
75
|
+
}, import('vue').DefineComponent<import('vue-multiselect').MultiselectMixinProps> | import('vue').DefineComponent<import('vue-multiselect').PointerMixinProps>, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
76
|
+
P: Readonly<import('vue-multiselect').MultiselectMixinProps>;
|
|
77
|
+
B: {};
|
|
78
|
+
D: {};
|
|
79
|
+
C: import('vue').ComputedOptions;
|
|
80
|
+
M: import('vue').MethodOptions;
|
|
81
|
+
Defaults: {};
|
|
82
|
+
} & {
|
|
83
|
+
P: {};
|
|
84
|
+
B: {};
|
|
85
|
+
D: {};
|
|
86
|
+
C: {};
|
|
87
|
+
M: {};
|
|
88
|
+
Defaults: {};
|
|
89
|
+
} & {
|
|
90
|
+
P: Readonly<import('vue-multiselect').PointerMixinProps>;
|
|
91
|
+
B: {};
|
|
92
|
+
D: {};
|
|
93
|
+
C: import('vue').ComputedOptions;
|
|
94
|
+
M: import('vue').MethodOptions;
|
|
95
|
+
Defaults: {};
|
|
96
|
+
}, Readonly<import('vue-multiselect').MultiselectMixinProps> & Readonly<import('vue-multiselect').PointerMixinProps> & Readonly<import('vue-multiselect').ComponentProps>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions & {
|
|
97
|
+
activate(): void;
|
|
98
|
+
deactivate(): void;
|
|
99
|
+
}, {} & {} & {}> | null;
|
|
100
|
+
};
|
|
101
|
+
rootEl: HTMLDivElement;
|
|
102
|
+
};
|
|
103
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
104
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
48
105
|
getInstance: () => typeof Multiselect | undefined | null;
|
|
49
106
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
50
107
|
"update:modelValue": (value: any) => any;
|
|
@@ -99,4 +156,10 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
99
156
|
deactivate(): void;
|
|
100
157
|
}, {} & {} & {}> | null;
|
|
101
158
|
}, HTMLDivElement>;
|
|
159
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
102
160
|
export default _default;
|
|
161
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
162
|
+
new (): {
|
|
163
|
+
$slots: S;
|
|
164
|
+
};
|
|
165
|
+
};
|