@zeedhi/vuetify 1.45.1 → 1.48.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 +9558 -1120
- package/dist/zd-vuetify.umd.js +9558 -1120
- package/package.json +4 -4
- package/types/components/zd-component/ZdComponent.d.ts +4 -1
- package/types/components/zd-dashboard/ZdDashboard.d.ts +1 -0
- package/types/components/zd-date/ZdDate.d.ts +26 -20
- package/types/components/zd-date/ZdDateRange.d.ts +26 -20
- package/types/components/zd-frame/ZdFrame.d.ts +1 -0
- package/types/components/zd-input/ZdInput.d.ts +1 -1
- package/types/components/zd-menu/ZdMenu.d.ts +1 -1
- package/types/components/zd-select/ZdSelect.d.ts +1 -0
- package/types/components/zd-select-tree/ZdSelectTree.d.ts +2 -0
- package/types/components/zd-tabs/ZdTab.d.ts +1 -0
- package/types/components/zd-tabs/ZdTabItem.d.ts +1 -0
- package/types/components/zd-text-input/ZdTextInput.d.ts +2 -1
- package/types/components/zd-tree/ZdTree.d.ts +1 -0
- 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.48.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": "9ea695403d52df624f2c5dfc67e8af2047d2f0fd"
|
55
55
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import Vue from 'vue';
|
2
2
|
import { IEventsDefinition, IKeyMap } from '@zeedhi/core';
|
3
|
-
import { Component as ComponentClass, IComponent } from '@zeedhi/common';
|
3
|
+
import { Component as ComponentClass, IComponent, IComponentDirectives } from '@zeedhi/common';
|
4
4
|
/**
|
5
5
|
* Base component for all components.
|
6
6
|
*/
|
@@ -13,6 +13,7 @@ export default class ZdComponent extends Vue {
|
|
13
13
|
dark: boolean;
|
14
14
|
light: boolean;
|
15
15
|
events: IEventsDefinition<any>;
|
16
|
+
directives: IComponentDirectives;
|
16
17
|
keyMap: IKeyMap<any>;
|
17
18
|
parent: ComponentClass;
|
18
19
|
instanceObject: ComponentClass;
|
@@ -20,6 +21,8 @@ export default class ZdComponent extends Vue {
|
|
20
21
|
instanceType: typeof ComponentClass;
|
21
22
|
protected createdFromObject: boolean;
|
22
23
|
created(): void;
|
24
|
+
protected createDirectives(): void;
|
25
|
+
protected directiveEvent(directiveName: string, eventName: string): () => void;
|
23
26
|
protected checkParentType(parentInstance?: ComponentClass): boolean;
|
24
27
|
beforeMount(): void;
|
25
28
|
mounted(): void;
|
@@ -7,6 +7,7 @@ export default class ZdDashboard extends ZdComponentRender {
|
|
7
7
|
cards: IDashboard[];
|
8
8
|
editingMode: boolean | string;
|
9
9
|
moveMode: boolean | string;
|
10
|
+
overrideNamedProps: object;
|
10
11
|
removePadding: boolean | string;
|
11
12
|
height: number | string;
|
12
13
|
heightAdjust: number | string;
|
@@ -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,31 @@ 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
|
+
private toMask;
|
62
|
+
get getDateMask(): "" | (string | RegExp)[];
|
59
63
|
private keyAllowed;
|
64
|
+
helperValuesOptionClick({ component }: IEventParam<Text>): void;
|
65
|
+
getLabel(name: string): string;
|
60
66
|
}
|
@@ -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,31 @@ 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
|
+
private toMask;
|
57
|
+
get getDateMask(): "" | (string | RegExp)[];
|
54
58
|
private keyAllowed;
|
59
|
+
helperValuesOptionClick({ component }: IEventParam<Text>): void;
|
60
|
+
getLabel(name: string): string;
|
55
61
|
}
|
@@ -33,7 +33,7 @@ export default class ZdInput extends ZdComponentRender {
|
|
33
33
|
private inputRef;
|
34
34
|
protected checkParentType(parentInstance?: ComponentClass): boolean;
|
35
35
|
mounted(): void;
|
36
|
-
input(
|
36
|
+
input(): void;
|
37
37
|
change(): void;
|
38
38
|
keyup(event: Event): void;
|
39
39
|
keydown(event: any): void;
|
@@ -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;
|
@@ -17,6 +17,7 @@ export default class ZdSelect extends ZdTextInput {
|
|
17
17
|
datasource: IDatasource;
|
18
18
|
value: string | number | any;
|
19
19
|
menuMaxHeight: string | number;
|
20
|
+
menuMaxWidth: string | number;
|
20
21
|
itemAfterSlot: IComponentRender[];
|
21
22
|
itemBeforeSlot: IComponentRender[];
|
22
23
|
manualMode: boolean;
|
@@ -29,6 +29,8 @@ export default class ZdSelectTree extends ZdTextInput {
|
|
29
29
|
onClose(selectedNodes: ISelectTreeNode<IDictionary>[]): void;
|
30
30
|
onSelect(node: ISelectTreeNode<IDictionary>): void;
|
31
31
|
onSearchChange(searchQuery: string): void;
|
32
|
+
changeDisabled(newVal: boolean): void;
|
33
|
+
addListeners(): void;
|
32
34
|
mounted(): void;
|
33
35
|
focused: boolean;
|
34
36
|
focus(event: Event): void;
|
@@ -21,7 +21,8 @@ export default class ZdTextInput extends ZdInput {
|
|
21
21
|
prependIconClick(event: Event): void;
|
22
22
|
prependOuterIconClick(event: Event): void;
|
23
23
|
private updateInstanceValue;
|
24
|
-
|
24
|
+
private getMaskValue;
|
25
|
+
get maskProp(): () => any;
|
25
26
|
mounted(): void;
|
26
27
|
blur(event: Event): void;
|
27
28
|
getIconClickEvents(): any;
|