@zeedhi/vuetify 1.62.0 → 1.64.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeedhi/vuetify",
3
- "version": "1.62.0",
3
+ "version": "1.64.0",
4
4
  "description": "Zeedhi Components based on Vuetify",
5
5
  "author": "Zeedhi <zeedhi@teknisa.com>",
6
6
  "license": "ISC",
@@ -50,5 +50,5 @@
50
50
  "@types/prismjs": "^1.16.2",
51
51
  "@types/sortablejs": "^1.10.6"
52
52
  },
53
- "gitHead": "66f873097c62cdb2b745781cb7e96cdbc0c96c77"
53
+ "gitHead": "22e2fb9c709bc4960db1ec560700a99f9e49bf06"
54
54
  }
@@ -12,6 +12,7 @@ export default class ZdComponent extends Vue {
12
12
  isVisible: boolean | string;
13
13
  dark: boolean;
14
14
  light: boolean;
15
+ tabStop: boolean;
15
16
  events: IEventsDefinition<any>;
16
17
  directives: IComponentDirectives;
17
18
  keyMap: IKeyMap<any>;
@@ -21,6 +22,7 @@ export default class ZdComponent extends Vue {
21
22
  instanceType: typeof ComponentClass;
22
23
  protected createdFromObject: boolean;
23
24
  created(): void;
25
+ protected mergeEvents(): any;
24
26
  protected createDirectives(): void;
25
27
  protected directiveEvent(directiveName: string, eventName: string): () => void;
26
28
  protected checkParentType(parentInstance?: ComponentClass): boolean;
@@ -32,5 +34,7 @@ export default class ZdComponent extends Vue {
32
34
  click(event: Event): void;
33
35
  focus(event: Event): void;
34
36
  blur(event: Event): void;
37
+ mouseenter(event: Event): void;
38
+ mouseleave(event: Event): void;
35
39
  superMethods(classObj: any): any;
36
40
  }
@@ -35,26 +35,6 @@ export default class ZdDate extends ZdTextInput {
35
35
  private isPrintableKey;
36
36
  onChangeDatePicker(): void;
37
37
  setFocus(selectAll?: boolean): void;
38
- getEvents(on: any): {
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;
57
- };
58
38
  private onPickerMousedown;
59
39
  pickerMounted(): void;
60
40
  pickerDestroyed(): void;
@@ -31,26 +31,6 @@ export default class ZdDateRange extends ZdTextInput {
31
31
  private isPrintableKey;
32
32
  onChangeDatePicker(): void;
33
33
  setFocus(selectAll?: boolean): void;
34
- getEvents(on: any): {
35
- [x: string]: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
36
- onSelectDate?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
37
- appendIconClick?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
38
- appendOuterIconClick?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
39
- prependOuterIconClick?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
40
- prependIconClick?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
41
- change?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
42
- input?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
43
- keydown?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
44
- keyup?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
45
- blur?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
46
- click?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
47
- focus?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
48
- onCreated?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
49
- onBeforeMount?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
50
- onMounted?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
51
- onBeforeDestroy?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
52
- onDestroyed?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IDateEventParam | IEventParam<any>> | undefined;
53
- };
54
34
  private onPickerMousedown;
55
35
  pickerMounted(): void;
56
36
  pickerDestroyed(): void;
@@ -29,5 +29,4 @@ export default class ZdDropdown extends ZdComponentRender {
29
29
  '--cursor': any;
30
30
  };
31
31
  getActivator(): any;
32
- mounted(): void;
33
32
  }
@@ -10,6 +10,7 @@ export default class ZdGrid extends ZdIterable {
10
10
  fillHeight: boolean | string;
11
11
  footerSlot: IComponentRender[];
12
12
  headerBackground: string;
13
+ rowStyleConditions: Function | string;
13
14
  headerCellTextColor: string;
14
15
  height: number | string;
15
16
  maxHeight: number | string;
@@ -16,5 +16,4 @@ export default class ZdIcon extends ZdComponentRender {
16
16
  iconName: string;
17
17
  instance: Icon;
18
18
  instanceType: typeof Icon;
19
- getIconClickEvents(): any;
20
19
  }
@@ -11,14 +11,14 @@ export default class ZdIterableColumnsButton extends ZdButton {
11
11
  instance: IterableColumnsButton;
12
12
  instanceType: typeof IterableColumnsButton;
13
13
  getEvents(on: any): {
14
- [x: string]: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | undefined;
15
- blur?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | undefined;
16
- click?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | undefined;
17
- focus?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | undefined;
18
- onCreated?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | undefined;
19
- onBeforeMount?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | undefined;
20
- onMounted?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | undefined;
21
- onBeforeDestroy?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | undefined;
22
- onDestroyed?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | undefined;
14
+ [x: string]: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | (string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | undefined)[] | undefined;
15
+ blur?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | (string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent>)[] | undefined;
16
+ click?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | (string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent>)[] | undefined;
17
+ focus?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | (string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent>)[] | undefined;
18
+ onCreated?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | (string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent>)[] | undefined;
19
+ onBeforeMount?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | (string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent>)[] | undefined;
20
+ onMounted?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | (string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent>)[] | undefined;
21
+ onBeforeDestroy?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | (string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent>)[] | undefined;
22
+ onDestroyed?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | (string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent>)[] | undefined;
23
23
  };
24
24
  }
@@ -21,7 +21,6 @@ export default class ZdTextInput extends ZdInput {
21
21
  prependIconClick(event: Event): void;
22
22
  prependOuterIconClick(event: Event): void;
23
23
  private updateInstanceValue;
24
- private getMaskValue;
25
24
  get maskProp(): () => any;
26
25
  mounted(): void;
27
26
  blur(event: Event): void;
@@ -19,5 +19,4 @@ export default class ZdTooltip extends ZdComponentRender {
19
19
  instance: Tooltip;
20
20
  instanceType: typeof Tooltip;
21
21
  getActivator(): any;
22
- mounted(): void;
23
22
  }
@@ -2,5 +2,10 @@
2
2
  * This function was copied from https://github.com/vuetifyjs/vuetify/blob/master/packages/vuetify/src/mixins/activatable/index.ts
3
3
  * the only change was to consider ZdDropdown and ZdTooltip as activatable components
4
4
  */
5
- declare const getActivator: (e: Event, comp: any) => any;
6
- export { getActivator };
5
+ declare const getActivator: (comp: any, e?: Event | undefined) => any;
6
+ /**
7
+ * This function was copied from https://github.com/vuetifyjs/vuetify/blob/master/packages/vuetify/src/mixins/activatable/index.ts
8
+ * the only change was to consider Zeedhi events
9
+ */
10
+ declare const genActivatorListeners: (comp: any) => any;
11
+ export { getActivator, genActivatorListeners };
@@ -0,0 +1,3 @@
1
+ import ZdVMenu from './v-menu/ZdVMenu';
2
+ import ZdVTooltip from './v-tooltip/ZdVTooltip';
3
+ export { ZdVMenu, ZdVTooltip };
@@ -0,0 +1,8 @@
1
+ import { VMenu } from 'vuetify/lib';
2
+ /**
3
+ * Override of VMenu to consider Zeedhi components/events
4
+ */
5
+ export default class ZdVMenu extends VMenu {
6
+ getActivator(e?: Event): any;
7
+ genActivatorListeners(): any;
8
+ }
@@ -0,0 +1,8 @@
1
+ import { VTooltip } from 'vuetify/lib';
2
+ /**
3
+ * Override of VTooltip to consider Zeedhi components/events
4
+ */
5
+ export default class ZdVTooltip extends VTooltip {
6
+ getActivator(e?: Event): any;
7
+ genActivatorListeners(): any;
8
+ }