@zeedhi/vuetify 1.45.0 → 1.47.0
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/zd-vuetify.esm.js +1075 -494
- package/dist/zd-vuetify.umd.js +1074 -493
- package/package.json +4 -4
- package/types/components/zd-date/ZdDate.d.ts +24 -19
- package/types/components/zd-date/ZdDateRange.d.ts +24 -19
- package/types/components/zd-menu/ZdMenu.d.ts +1 -1
- package/types/components/zd-select-multiple/ZdSelectMultiple.d.ts +8 -3
- package/types/components/zd-tree/ZdTree.d.ts +1 -2
- package/types/components/zd-tree/ZdTreeCheckbox.d.ts +1 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@zeedhi/vuetify",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.47.0",
|
4
4
|
"description": "Zeedhi Components based on Vuetify",
|
5
5
|
"author": "Zeedhi <zeedhi@teknisa.com>",
|
6
6
|
"license": "ISC",
|
@@ -38,18 +38,18 @@
|
|
38
38
|
"vue-apexcharts": "^1.6.0",
|
39
39
|
"vue-class-component": "^7.2.6",
|
40
40
|
"vue-property-decorator": "^9.1.2",
|
41
|
-
"vuetify": "2.
|
41
|
+
"vuetify": "^2.6.2"
|
42
42
|
},
|
43
43
|
"peerDependencies": {
|
44
44
|
"@zeedhi/common": "^1.0.0-alpha.0",
|
45
45
|
"@zeedhi/core": "^1.0.0-alpha.0",
|
46
46
|
"@zeedhi/vue": "^1.0.0-alpha.0",
|
47
47
|
"vue": "^2.6.12",
|
48
|
-
"vuetify": "^2.
|
48
|
+
"vuetify": "^2.6.2"
|
49
49
|
},
|
50
50
|
"devDependencies": {
|
51
51
|
"@types/prismjs": "^1.16.2",
|
52
52
|
"@types/sortablejs": "^1.10.6"
|
53
53
|
},
|
54
|
-
"gitHead": "
|
54
|
+
"gitHead": "797f06a382f8752a7e420aff784112966aad8f2c"
|
55
55
|
}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { Date } from '@zeedhi/common';
|
1
|
+
import { Date, Text } from '@zeedhi/common';
|
2
|
+
import { IEventParam } from '@zeedhi/core';
|
2
3
|
import ZdTextInput from '../zd-text-input/ZdTextInput.vue';
|
3
4
|
/**
|
4
5
|
* Date component
|
@@ -23,6 +24,8 @@ export default class ZdDate extends ZdTextInput {
|
|
23
24
|
width: number | string;
|
24
25
|
mask: string | undefined;
|
25
26
|
inputFormat: string | undefined;
|
27
|
+
helperOptions: string[] | string;
|
28
|
+
helperValue: string;
|
26
29
|
instance: Date;
|
27
30
|
instanceType: typeof Date;
|
28
31
|
mounted(): void;
|
@@ -33,28 +36,30 @@ export default class ZdDate extends ZdTextInput {
|
|
33
36
|
onChangeDatePicker(): void;
|
34
37
|
setFocus(selectAll?: boolean): void;
|
35
38
|
getEvents(on: any): {
|
36
|
-
[x: string]: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
37
|
-
onSelectDate?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
38
|
-
appendIconClick?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
39
|
-
appendOuterIconClick?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
40
|
-
prependOuterIconClick?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
41
|
-
prependIconClick?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
42
|
-
change?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
43
|
-
input?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
44
|
-
keydown?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
45
|
-
keyup?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
46
|
-
blur?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
47
|
-
click?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
48
|
-
focus?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
49
|
-
onCreated?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
50
|
-
onBeforeMount?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
51
|
-
onMounted?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
52
|
-
onBeforeDestroy?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
53
|
-
onDestroyed?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
39
|
+
[x: string]: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
40
|
+
onSelectDate?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
41
|
+
appendIconClick?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
42
|
+
appendOuterIconClick?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
43
|
+
prependOuterIconClick?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
44
|
+
prependIconClick?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
45
|
+
change?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
46
|
+
input?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
47
|
+
keydown?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
48
|
+
keyup?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
49
|
+
blur?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
50
|
+
click?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
51
|
+
focus?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
52
|
+
onCreated?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
53
|
+
onBeforeMount?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
54
|
+
onMounted?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
55
|
+
onBeforeDestroy?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
56
|
+
onDestroyed?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
54
57
|
};
|
55
58
|
private onPickerMousedown;
|
56
59
|
pickerMounted(): void;
|
57
60
|
pickerDestroyed(): void;
|
58
61
|
get getDateMask(): any;
|
59
62
|
private keyAllowed;
|
63
|
+
helperValuesOptionClick({ component }: IEventParam<Text>): void;
|
64
|
+
getLabel(name: string): string;
|
60
65
|
}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { DateRange } from '@zeedhi/common';
|
1
|
+
import { DateRange, Text } from '@zeedhi/common';
|
2
|
+
import { IEventParam } from '@zeedhi/core';
|
2
3
|
import ZdTextInput from '../zd-text-input/ZdTextInput.vue';
|
3
4
|
export default class ZdDateRange extends ZdTextInput {
|
4
5
|
appendIcon: string;
|
@@ -20,6 +21,8 @@ export default class ZdDateRange extends ZdTextInput {
|
|
20
21
|
width: number | string;
|
21
22
|
mask: string | undefined;
|
22
23
|
inputFormat: string | undefined;
|
24
|
+
helperOptions: string[] | string;
|
25
|
+
helperValue: string;
|
23
26
|
instance: DateRange;
|
24
27
|
instanceType: typeof DateRange;
|
25
28
|
mounted(): void;
|
@@ -28,28 +31,30 @@ export default class ZdDateRange extends ZdTextInput {
|
|
28
31
|
onChangeDatePicker(): void;
|
29
32
|
setFocus(selectAll?: boolean): void;
|
30
33
|
getEvents(on: any): {
|
31
|
-
[x: string]: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
32
|
-
onSelectDate?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
33
|
-
appendIconClick?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
34
|
-
appendOuterIconClick?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
35
|
-
prependOuterIconClick?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
36
|
-
prependIconClick?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
37
|
-
change?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
38
|
-
input?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
39
|
-
keydown?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
40
|
-
keyup?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
41
|
-
blur?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
42
|
-
click?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
43
|
-
focus?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
44
|
-
onCreated?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
45
|
-
onBeforeMount?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
46
|
-
onMounted?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
47
|
-
onBeforeDestroy?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
48
|
-
onDestroyed?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam |
|
34
|
+
[x: string]: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
35
|
+
onSelectDate?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
36
|
+
appendIconClick?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
37
|
+
appendOuterIconClick?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
38
|
+
prependOuterIconClick?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
39
|
+
prependIconClick?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
40
|
+
change?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
41
|
+
input?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
42
|
+
keydown?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
43
|
+
keyup?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
44
|
+
blur?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
45
|
+
click?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
46
|
+
focus?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
47
|
+
onCreated?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
48
|
+
onBeforeMount?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
49
|
+
onMounted?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
50
|
+
onBeforeDestroy?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
51
|
+
onDestroyed?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
|
49
52
|
};
|
50
53
|
private onPickerMousedown;
|
51
54
|
pickerMounted(): void;
|
52
55
|
pickerDestroyed(): void;
|
53
56
|
get getDateMask(): any;
|
54
57
|
private keyAllowed;
|
58
|
+
helperValuesOptionClick({ component }: IEventParam<Text>): void;
|
59
|
+
getLabel(name: string): string;
|
55
60
|
}
|
@@ -30,7 +30,7 @@ export default class ZdMenu extends ZdComponentRender {
|
|
30
30
|
mounted(): void;
|
31
31
|
beforeDestroy(): void;
|
32
32
|
searchInputProps: ITextInput;
|
33
|
-
showSlotOnHover(): boolean;
|
33
|
+
showSlotOnHover(): string | boolean;
|
34
34
|
private doSearch;
|
35
35
|
private findIndex;
|
36
36
|
get parentComp(): IMenu | IMenuGroup | undefined;
|
@@ -7,19 +7,23 @@ import ZdSelect from '../zd-select/ZdSelect.vue';
|
|
7
7
|
export default class ZdSelectMultiple extends ZdSelect {
|
8
8
|
value: [] | string;
|
9
9
|
showSelectAll: boolean;
|
10
|
+
maxRows: string | number | undefined;
|
10
11
|
instance: SelectMultiple;
|
11
12
|
instanceType: typeof SelectMultiple;
|
12
|
-
|
13
|
+
expandedMode: boolean;
|
14
|
+
rows: number;
|
13
15
|
lastDisplayedChip: number;
|
14
16
|
allSelected: boolean;
|
17
|
+
hasHiddenRows: boolean;
|
15
18
|
private componentRef;
|
16
19
|
private element;
|
17
20
|
private initialHeight;
|
18
21
|
private listener;
|
19
|
-
|
22
|
+
get maxRowsNumber(): number;
|
20
23
|
mounted(): void;
|
21
|
-
beforeDestroy(): void;
|
22
24
|
onValueChange(): void;
|
25
|
+
beforeDestroy(): void;
|
26
|
+
initChipConfig(): void;
|
23
27
|
private calcDisplay;
|
24
28
|
private getLastChipIndex;
|
25
29
|
/**
|
@@ -45,6 +49,7 @@ export default class ZdSelectMultiple extends ZdSelect {
|
|
45
49
|
selectChange(value: any, event: Event): void;
|
46
50
|
selectBlur(event: Event): void;
|
47
51
|
selectFocus(event?: Event): void;
|
52
|
+
refreshDisplay(cb?: Function): void;
|
48
53
|
onSelectAll(event: Event): void;
|
49
54
|
removeItem(item: IDictionary<any>): void;
|
50
55
|
get formattedData(): any;
|
@@ -20,6 +20,7 @@ export default class ZdTree extends ZdComponentRender {
|
|
20
20
|
parentField: string;
|
21
21
|
titleField: string;
|
22
22
|
dataField: string;
|
23
|
+
checkedField: string;
|
23
24
|
checkbox: boolean;
|
24
25
|
openLevelOnLoad: string | number | boolean;
|
25
26
|
instance: Tree;
|
@@ -27,8 +28,6 @@ export default class ZdTree extends ZdComponentRender {
|
|
27
28
|
selectedNodesTitle: string;
|
28
29
|
private beforeNodeState;
|
29
30
|
mounted(): void;
|
30
|
-
destroy(): void;
|
31
|
-
unselect(event: MouseEvent): void;
|
32
31
|
dataChange(): void;
|
33
32
|
nodeChange(): void;
|
34
33
|
onNodeDrop(nodes: any, position: any, event: Event): void;
|