@dcodegroup-au/dsg-vue 0.0.31 → 0.0.33
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/{DsgTablePerPage.vue_vue_type_style_index_0_lang-BaEuuE3O.cjs → DsgTablePerPage.vue_vue_type_style_index_0_lang-CW51CLZ4.cjs} +1197 -1197
- package/dist/{DsgTablePerPage.vue_vue_type_style_index_0_lang-BDrIBOCO.js → DsgTablePerPage.vue_vue_type_style_index_0_lang-vCgh5rQK.js} +6357 -6340
- package/dist/components/Elements/DsgAlertComponent.vue.d.ts +1 -1
- package/dist/components/Elements/DsgInputSelect.vue.d.ts +37 -4
- package/dist/components/Elements/DsgModal.vue.d.ts +1 -0
- package/dist/components/Table/DsgTable.vue.d.ts +8 -0
- package/dist/dsg-vue.cjs +11 -11
- package/dist/dsg-vue.css +1 -1
- package/dist/dsg-vue.esm.js +3139 -3056
- package/dist/dsg-vue.table.cjs +2 -2
- package/dist/dsg-vue.table.esm.js +234 -223
- package/dist/main.d.ts +62 -6
- package/package.json +20 -20
|
@@ -14,5 +14,5 @@ export interface DsgAlertProps {
|
|
|
14
14
|
export interface DsgAlertComponentProps {
|
|
15
15
|
contentProps: DsgAlertProps;
|
|
16
16
|
}
|
|
17
|
-
declare const _default: import('vue').DefineComponent<DsgAlertComponentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DsgAlertComponentProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
17
|
+
declare const _default: import('vue').DefineComponent<DsgAlertComponentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DsgAlertComponentProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
export default _default;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { default as VueMultiselect } from 'vue-multiselect';
|
|
2
1
|
/**
|
|
3
2
|
* ------------------------------------------------
|
|
4
3
|
* # Setup: Props/Variables/Models
|
|
@@ -9,11 +8,16 @@ export interface DsgInputSelectOption {
|
|
|
9
8
|
label: string;
|
|
10
9
|
[key: string]: any;
|
|
11
10
|
}
|
|
11
|
+
export type DsgInputSelectSize = "sm" | "md" | "lg";
|
|
12
12
|
export interface DsgInputSelectProps {
|
|
13
13
|
options?: DsgInputSelectOption[];
|
|
14
14
|
multiple?: boolean;
|
|
15
15
|
fetchOnLoad?: boolean;
|
|
16
16
|
getUrl?: string;
|
|
17
|
+
extraParams?: {
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
};
|
|
20
|
+
strategy?: "absolute" | "fixed";
|
|
17
21
|
placeholder?: string;
|
|
18
22
|
label?: string;
|
|
19
23
|
showLabels?: boolean;
|
|
@@ -27,7 +31,8 @@ export interface DsgInputSelectProps {
|
|
|
27
31
|
selectLabel?: string;
|
|
28
32
|
selectedLabel?: string;
|
|
29
33
|
errors?: string[] | string;
|
|
30
|
-
|
|
34
|
+
scrollBind?: HTMLElement | Window;
|
|
35
|
+
size?: DsgInputSelectSize;
|
|
31
36
|
}
|
|
32
37
|
type __VLS_Props = DsgInputSelectProps;
|
|
33
38
|
type __VLS_PublicProps = {
|
|
@@ -51,12 +56,40 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
51
56
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
52
57
|
"onUpdate:model-value"?: ((value: any) => any) | undefined;
|
|
53
58
|
onTag?: ((label: any, id: string | number) => any) | undefined;
|
|
54
|
-
"onUpdate:single"?: ((value: any) => any) | undefined;
|
|
55
59
|
"onSearch-change"?: ((queryTerm: string) => any) | undefined;
|
|
56
60
|
onOpen?: ((id: string | number) => any) | undefined;
|
|
57
61
|
onClose?: ((value: any, id: string | number) => any) | undefined;
|
|
58
62
|
onRemove?: ((value: any, id: string | number) => any) | undefined;
|
|
63
|
+
"onUpdate:single"?: ((value: any) => any) | undefined;
|
|
59
64
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
60
|
-
|
|
65
|
+
dsgInputSelectEl: HTMLDivElement;
|
|
66
|
+
multiselectEl: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue-multiselect').ComponentProps>, {}, {}, {}, {
|
|
67
|
+
activate(): void;
|
|
68
|
+
deactivate(): void;
|
|
69
|
+
}, 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, {
|
|
70
|
+
P: Readonly<import('vue-multiselect').MultiselectMixinProps>;
|
|
71
|
+
B: {};
|
|
72
|
+
D: {};
|
|
73
|
+
C: import('vue').ComputedOptions;
|
|
74
|
+
M: import('vue').MethodOptions;
|
|
75
|
+
Defaults: {};
|
|
76
|
+
} & {
|
|
77
|
+
P: {};
|
|
78
|
+
B: {};
|
|
79
|
+
D: {};
|
|
80
|
+
C: {};
|
|
81
|
+
M: {};
|
|
82
|
+
Defaults: {};
|
|
83
|
+
} & {
|
|
84
|
+
P: Readonly<import('vue-multiselect').PointerMixinProps>;
|
|
85
|
+
B: {};
|
|
86
|
+
D: {};
|
|
87
|
+
C: import('vue').ComputedOptions;
|
|
88
|
+
M: import('vue').MethodOptions;
|
|
89
|
+
Defaults: {};
|
|
90
|
+
}, Readonly<import('vue-multiselect').MultiselectMixinProps> & Readonly<import('vue-multiselect').PointerMixinProps> & Readonly<import('vue-multiselect').ComponentProps>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions & {
|
|
91
|
+
activate(): void;
|
|
92
|
+
deactivate(): void;
|
|
93
|
+
}, {} & {} & {}> | null;
|
|
61
94
|
}, HTMLDivElement>;
|
|
62
95
|
export default _default;
|
|
@@ -14,10 +14,18 @@ export interface DsgTableProps {
|
|
|
14
14
|
trackBy?: string;
|
|
15
15
|
title?: string;
|
|
16
16
|
filters?: DsgTableSearchFacet[];
|
|
17
|
+
initialFilters?: {
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
};
|
|
17
20
|
filterEntity?: string;
|
|
18
21
|
filterEndpoint?: string;
|
|
19
22
|
filterSearchEndpoint?: string;
|
|
20
23
|
tableLayout?: "fixed" | "auto";
|
|
24
|
+
data?: {
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
}[] | null;
|
|
27
|
+
hasHeader?: boolean;
|
|
28
|
+
hasFooter?: boolean;
|
|
21
29
|
}
|
|
22
30
|
declare function __VLS_template(): {
|
|
23
31
|
attrs: Partial<{}>;
|