@zeedhi/vuetify 1.46.0 → 1.49.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 +8927 -908
- package/dist/zd-vuetify.umd.js +8926 -907
- package/package.json +2 -2
- 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 +3 -0
- package/types/components/zd-input/ZdInput.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeedhi/vuetify",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.49.0",
|
|
4
4
|
"description": "Zeedhi Components based on Vuetify",
|
|
5
5
|
"author": "Zeedhi <zeedhi@teknisa.com>",
|
|
6
6
|
"license": "ISC",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"@types/prismjs": "^1.16.2",
|
|
52
52
|
"@types/sortablejs": "^1.10.6"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "3dd1c411ff03b8d691f5df265e59bb2da7b96704"
|
|
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
|
}
|
|
@@ -5,8 +5,11 @@ import ZdComponentRender from '../zd-component/ZdComponentRender';
|
|
|
5
5
|
*/
|
|
6
6
|
export default class ZdFrame extends ZdComponentRender {
|
|
7
7
|
path: string;
|
|
8
|
+
type: string;
|
|
9
|
+
params: string;
|
|
8
10
|
local: boolean;
|
|
9
11
|
override: object;
|
|
12
|
+
overrideNamedProps: object;
|
|
10
13
|
cache: boolean;
|
|
11
14
|
cacheDuration: number;
|
|
12
15
|
height: number | string;
|
|
@@ -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;
|
|
@@ -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;
|