@zeedhi/teknisa-components-vuetify 1.117.1 → 3.0.1
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 +49 -0
- package/dist/teknisa-vuetify.css +1 -0
- package/dist/teknisa-vuetify.js +3882 -0
- package/environments.json +16 -0
- package/package.json +18 -17
- package/src/components/index.ts +38 -0
- package/src/components/public.ts +41 -0
- package/src/components/tek-breadcrumb-header/TekBreadcrumbHeader.ts +34 -0
- package/src/components/tek-breadcrumb-header/TekBreadcrumbHeader.vue +75 -0
- package/src/components/tek-grid/TekGrid.ts +318 -0
- package/src/components/tek-grid/TekGrid.vue +235 -0
- package/src/components/tek-grid/column-filter/TekGridColumnFilter.ts +244 -0
- package/src/components/tek-grid/column-filter/TekGridColumnFilter.vue +93 -0
- package/src/components/tek-grid/column-header/TekGridHeaderRow.ts +147 -0
- package/src/components/tek-grid/column-header/TekGridHeaderRow.vue +78 -0
- package/src/components/tek-grid/columns-button/TekGridColumnsButton.ts +96 -0
- package/src/components/tek-grid/columns-button/TekGridColumnsButton.vue +273 -0
- package/src/components/tek-grid/columns-button/TekGridColumnsOptionsController.ts +470 -0
- package/src/components/tek-grid/columns-button/TekGridColumnsOptionsModal.ts +513 -0
- package/src/components/tek-grid/filter-button/TekGridFilterButton.ts +47 -0
- package/src/components/tek-grid/filter-button/TekGridFilterButton.vue +28 -0
- package/src/components/tek-grid/indentation/TekGridIndentation.ts +21 -0
- package/src/components/tek-grid/indentation/TekGridIndentation.vue +33 -0
- package/src/components/tek-grid/layout-options/TekGridLayoutOptions.ts +119 -0
- package/src/components/tek-grid/layout-options/TekGridLayoutOptions.vue +172 -0
- package/src/components/tek-grid/row/TekGridFooterRow.ts +62 -0
- package/src/components/tek-grid/row/TekGridFooterRow.vue +64 -0
- package/src/components/tek-grid/row/TekGridGroupRow.ts +65 -0
- package/src/components/tek-grid/row/TekGridGroupRow.vue +65 -0
- package/src/components/tek-user-info/TekUserInfo.ts +51 -0
- package/src/components/tek-user-info/TekUserInfo.vue +53 -0
- package/src/components/tek-user-info/TekUserInfoList.ts +39 -0
- package/src/components/tek-user-info/TekUserInfoList.vue +12 -0
- package/src/composables/useTableLayout.ts +290 -0
- package/src/index.ts +29 -0
- package/src/shims-vue.d.ts +6 -0
- package/src/styles/index.scss +0 -0
- package/src/utils/isArrayOperation.ts +5 -0
- package/types/components/index.d.ts +5 -3
- package/types/components/public.d.ts +5 -18
- package/types/components/tek-breadcrumb-header/TekBreadcrumbHeader.d.ts +1137 -12
- package/types/components/tek-breadcrumb-header/TekBreadcrumbHeader.ts.d.ts +1138 -0
- package/types/components/tek-grid/TekGrid.d.ts +7208 -86
- package/types/components/tek-grid/TekGrid.ts.d.ts +7211 -0
- package/types/components/tek-grid/column-filter/TekGridColumnFilter.d.ts +130 -0
- package/types/components/tek-grid/column-filter/TekGridColumnFilter.ts.d.ts +130 -0
- package/types/components/tek-grid/column-header/TekGridHeaderRow.d.ts +225 -0
- package/types/components/tek-grid/column-header/TekGridHeaderRow.ts.d.ts +225 -0
- package/types/components/tek-grid/columns-button/TekGridColumnsButton.d.ts +2432 -0
- package/types/components/tek-grid/columns-button/TekGridColumnsButton.ts.d.ts +2432 -0
- package/types/components/tek-grid/{TekGridColumnsOptionsController.d.ts → columns-button/TekGridColumnsOptionsController.d.ts} +7 -8
- package/types/components/tek-grid/{TekGridColumnsOptionsModal.d.ts → columns-button/TekGridColumnsOptionsModal.d.ts} +2 -3
- package/types/components/tek-grid/filter-button/TekGridFilterButton.d.ts +2920 -0
- package/types/components/tek-grid/filter-button/TekGridFilterButton.ts.d.ts +2920 -0
- package/types/components/tek-grid/indentation/TekGridIndentation.d.ts +32 -0
- package/types/components/tek-grid/indentation/TekGridIndentation.ts.d.ts +32 -0
- package/types/components/tek-grid/layout-options/TekGridLayoutOptions.d.ts +1893 -0
- package/types/components/tek-grid/layout-options/TekGridLayoutOptions.ts.d.ts +1893 -0
- package/types/components/tek-grid/row/TekGridFooterRow.d.ts +90 -0
- package/types/components/tek-grid/row/TekGridFooterRow.ts.d.ts +90 -0
- package/types/components/tek-grid/row/TekGridGroupRow.d.ts +87 -0
- package/types/components/tek-grid/row/TekGridGroupRow.ts.d.ts +87 -0
- package/types/components/tek-user-info/TekUserInfo.d.ts +1937 -10
- package/types/components/tek-user-info/TekUserInfo.ts.d.ts +1940 -0
- package/types/components/tek-user-info/TekUserInfoList.d.ts +1014 -8
- package/types/components/tek-user-info/TekUserInfoList.ts.d.ts +1015 -0
- package/types/composables/useTableLayout.d.ts +26 -0
- package/types/index.d.ts +2 -2
- package/types/utils/isArrayOperation.d.ts +2 -0
- package/dist/tek-components-vuetify.esm.js +0 -8924
- package/dist/tek-components-vuetify.umd.js +0 -8949
- package/types/components/crud/TekCrudAddButton.d.ts +0 -14
- package/types/components/crud/TekCrudButton.d.ts +0 -12
- package/types/components/crud/TekCrudCancelButton.d.ts +0 -12
- package/types/components/crud/TekCrudDeleteButton.d.ts +0 -14
- package/types/components/crud/TekCrudForm.d.ts +0 -9
- package/types/components/crud/TekCrudSaveButton.d.ts +0 -11
- package/types/components/tek-card-title/TekCardTitle.d.ts +0 -16
- package/types/components/tek-drag-grid/TekDragGrid.d.ts +0 -20
- package/types/components/tek-grid/TekGridColumnsButton.d.ts +0 -16
- package/types/components/tek-grid/TekGridFilterButton.d.ts +0 -27
- package/types/components/tek-grid/TekGridLayoutOptions.d.ts +0 -19
- package/types/components/tek-grid/subcomponents/TekGridCellIdentation.d.ts +0 -9
- package/types/components/tek-grid/subcomponents/TekGridColumnFilter.d.ts +0 -16
- package/types/components/tek-grid/subcomponents/TekGridHeaderIndentation.d.ts +0 -5
- package/types/components/tek-image/TekImage.d.ts +0 -20
- package/types/components/tek-iterable-carousel/TekIterableCarousel.d.ts +0 -11
- package/types/components/tek-iterable-component-render/TekIterableComponentRender.d.ts +0 -9
- package/types/components/tek-loading/TekLoading.d.ts +0 -9
- package/types/components/tek-notifications/TekNotifications.d.ts +0 -12
- package/types/components/tek-product-card/TekProductCard.d.ts +0 -24
- package/types/components/tek-tree-grid/TekTreeGrid.d.ts +0 -72
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CrudAddButton } from '@zeedhi/teknisa-components-common';
|
|
2
|
-
import TekCrudButton from './TekCrudButton';
|
|
3
|
-
/**
|
|
4
|
-
* TekCrudAddButton component
|
|
5
|
-
*/
|
|
6
|
-
export default class TekCrudAddButton extends TekCrudButton {
|
|
7
|
-
flat: string | boolean;
|
|
8
|
-
icon: string | boolean;
|
|
9
|
-
iconName: string;
|
|
10
|
-
color: string;
|
|
11
|
-
clickShortcutKey: string;
|
|
12
|
-
instance: CrudAddButton;
|
|
13
|
-
instanceType: typeof CrudAddButton;
|
|
14
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { CrudButton } from '@zeedhi/teknisa-components-common';
|
|
2
|
-
declare const ZdButton: import("vue").VueConstructor<import("vue-property-decorator").Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue-property-decorator").Vue<Record<string, any>, Record<string, any>, never, never, any>>>;
|
|
3
|
-
/**
|
|
4
|
-
* TekCrudButton component
|
|
5
|
-
*/
|
|
6
|
-
export default class TekCrudButton extends ZdButton {
|
|
7
|
-
instance: CrudButton;
|
|
8
|
-
instanceType: typeof CrudButton;
|
|
9
|
-
mounted(): void;
|
|
10
|
-
private getParentElement;
|
|
11
|
-
}
|
|
12
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { CrudCancelButton } from '@zeedhi/teknisa-components-common';
|
|
2
|
-
import TekCrudButton from './TekCrudButton';
|
|
3
|
-
/**
|
|
4
|
-
* TekCrudCancelButton component
|
|
5
|
-
*/
|
|
6
|
-
export default class TekCrudCancelButton extends TekCrudButton {
|
|
7
|
-
label: string;
|
|
8
|
-
outline: string | boolean;
|
|
9
|
-
clickShortcutKey: string;
|
|
10
|
-
instance: CrudCancelButton;
|
|
11
|
-
instanceType: typeof CrudCancelButton;
|
|
12
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CrudDeleteButton } from '@zeedhi/teknisa-components-common';
|
|
2
|
-
import TekCrudButton from './TekCrudButton';
|
|
3
|
-
/**
|
|
4
|
-
* TekCrudDeleteButton component
|
|
5
|
-
*/
|
|
6
|
-
export default class TekCrudDeleteButton extends TekCrudButton {
|
|
7
|
-
flat: string | boolean;
|
|
8
|
-
icon: string | boolean;
|
|
9
|
-
iconName: string;
|
|
10
|
-
color: string;
|
|
11
|
-
clickShortcutKey: string;
|
|
12
|
-
instance: CrudDeleteButton;
|
|
13
|
-
instanceType: typeof CrudDeleteButton;
|
|
14
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CrudSaveButton } from '@zeedhi/teknisa-components-common';
|
|
2
|
-
import TekCrudButton from './TekCrudButton';
|
|
3
|
-
/**
|
|
4
|
-
* TekCrudSaveButton component
|
|
5
|
-
*/
|
|
6
|
-
export default class TekCrudSaveButton extends TekCrudButton {
|
|
7
|
-
label: string;
|
|
8
|
-
clickShortcutKey: string;
|
|
9
|
-
instance: CrudSaveButton;
|
|
10
|
-
instanceType: typeof CrudSaveButton;
|
|
11
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ZdComponentRender } from '@zeedhi/vuetify';
|
|
2
|
-
import { CardTitle } from '@zeedhi/teknisa-components-common';
|
|
3
|
-
import { IComponentRender } from '@zeedhi/common';
|
|
4
|
-
/**
|
|
5
|
-
* TekCardTitle component join an icon, title, rightSlot and a divider
|
|
6
|
-
*/
|
|
7
|
-
export default class TekCardTitle extends ZdComponentRender {
|
|
8
|
-
title: string;
|
|
9
|
-
subtitle: string;
|
|
10
|
-
iconName: string;
|
|
11
|
-
rightSlot: IComponentRender[];
|
|
12
|
-
showDivider: boolean;
|
|
13
|
-
to: string;
|
|
14
|
-
instance: CardTitle;
|
|
15
|
-
instanceType: typeof CardTitle;
|
|
16
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { TekDragGrid as TekDragGridClass } from '@zeedhi/teknisa-components-common';
|
|
2
|
-
import { TekGrid } from '../public';
|
|
3
|
-
import '@zeedhi/zd-drag-grid-vue/dist/drag-grid-style.css';
|
|
4
|
-
/**
|
|
5
|
-
* TekDragGrid component
|
|
6
|
-
*/
|
|
7
|
-
export default class TekDragGrid extends TekGrid {
|
|
8
|
-
orderColumnName: string;
|
|
9
|
-
orderMode: 'asc' | 'desc';
|
|
10
|
-
instance: TekDragGridClass;
|
|
11
|
-
instanceType: typeof TekDragGridClass;
|
|
12
|
-
dragColumnWidth: number;
|
|
13
|
-
dragOnMove(event: Event): boolean;
|
|
14
|
-
dragOnStart(event: Event): void;
|
|
15
|
-
dragOnEnd(event: Event): void;
|
|
16
|
-
protected updateFixedColumns(): void;
|
|
17
|
-
get cssVars(): {
|
|
18
|
-
'--drag-column-width': string;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ZdIterableColumnsButton } from '@zeedhi/vuetify';
|
|
2
|
-
import { TekGridColumnsButton as TekGridColumnsButtonClass } from '@zeedhi/teknisa-components-common';
|
|
3
|
-
/**
|
|
4
|
-
* TekGrid Columns Button component
|
|
5
|
-
*/
|
|
6
|
-
export default class TekGridColumnsButton extends ZdIterableColumnsButton {
|
|
7
|
-
hideGroups: boolean | string;
|
|
8
|
-
instance: TekGridColumnsButtonClass;
|
|
9
|
-
instanceType: typeof TekGridColumnsButtonClass;
|
|
10
|
-
menuIsOpened: boolean;
|
|
11
|
-
private sortableInitialized;
|
|
12
|
-
menuOpenedChange(): void;
|
|
13
|
-
private sortEnd;
|
|
14
|
-
moreOptions(): void;
|
|
15
|
-
close(): void;
|
|
16
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { TekGridFilterButton as TekGridFilterButtonClass } from '@zeedhi/teknisa-components-common';
|
|
2
|
-
import { IEventParam } from '@zeedhi/core';
|
|
3
|
-
import { Button } from '@zeedhi/common';
|
|
4
|
-
declare const ZdButton: import("vue").VueConstructor<import("vue-property-decorator").Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue-property-decorator").Vue<Record<string, any>, Record<string, any>, never, never, any>>>;
|
|
5
|
-
/**
|
|
6
|
-
* TekGrid Columns Button component
|
|
7
|
-
*/
|
|
8
|
-
export default class TekGridFilterButton extends ZdButton {
|
|
9
|
-
gridName: string;
|
|
10
|
-
grid: object | string;
|
|
11
|
-
showCheckboxAll: boolean | string;
|
|
12
|
-
instance: TekGridFilterButtonClass;
|
|
13
|
-
instanceType: typeof TekGridFilterButtonClass;
|
|
14
|
-
filterClick({ event }: IEventParam<Button>): void;
|
|
15
|
-
getEvents(): {
|
|
16
|
-
[x: string]: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | (string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | undefined)[] | undefined;
|
|
17
|
-
blur?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | (string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent>)[] | undefined;
|
|
18
|
-
click?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | (string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent>)[] | undefined;
|
|
19
|
-
focus?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | (string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent>)[] | undefined;
|
|
20
|
-
onCreated?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | (string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent>)[] | undefined;
|
|
21
|
-
onBeforeMount?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | (string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent>)[] | undefined;
|
|
22
|
-
onMounted?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | (string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent>)[] | undefined;
|
|
23
|
-
onBeforeDestroy?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | (string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent>)[] | undefined;
|
|
24
|
-
onDestroyed?: string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent> | (string | import("@zeedhi/core").IEvent<import("@zeedhi/common").IButtonEvent>)[] | undefined;
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ZdComponentRender } from '@zeedhi/vuetify';
|
|
2
|
-
import { TekGridLayoutOptions as TekGridLayoutOptionsClass } from '@zeedhi/teknisa-components-common';
|
|
3
|
-
/**
|
|
4
|
-
* TekGridLayoutOptions component
|
|
5
|
-
*/
|
|
6
|
-
export default class TekGridLayoutOptions extends ZdComponentRender {
|
|
7
|
-
instance: TekGridLayoutOptionsClass;
|
|
8
|
-
instanceType: typeof TekGridLayoutOptionsClass;
|
|
9
|
-
created(): void;
|
|
10
|
-
confirmLayoutClick({ component }: any): void;
|
|
11
|
-
private datasourceDynamicFilter;
|
|
12
|
-
private applyLayout;
|
|
13
|
-
private setHelperValue;
|
|
14
|
-
private getHelperValues;
|
|
15
|
-
private getCurrentLayout;
|
|
16
|
-
private getParentTable;
|
|
17
|
-
applyOrUpdateLayout(event: Event, layoutName: string): void;
|
|
18
|
-
deleteLayout(event: Event, layoutName: string): void;
|
|
19
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import Vue from 'vue';
|
|
2
|
-
import { Datasource, IDictionary, IEventParam } from '@zeedhi/core';
|
|
3
|
-
import { Column, Input, Radio, Select } from '@zeedhi/common';
|
|
4
|
-
export default class TekGridColumnFilter extends Vue {
|
|
5
|
-
hasFilterData: boolean;
|
|
6
|
-
getFilterActivatorEvents: Function;
|
|
7
|
-
column: Column;
|
|
8
|
-
columnFilterOptions: IDictionary[];
|
|
9
|
-
instanceName: string;
|
|
10
|
-
filterRelationsDatasource: Datasource;
|
|
11
|
-
filterOperationsDatasource: Datasource;
|
|
12
|
-
getComponentHint: Function;
|
|
13
|
-
getComponentType: Function;
|
|
14
|
-
itemChange(type: string, filterIndex: number, params: IEventParam<Select | Radio>): void;
|
|
15
|
-
valueChange(filterIndex: number, params: IEventParam<Input>): void;
|
|
16
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Image } from '@zeedhi/teknisa-components-common';
|
|
2
|
-
import { ZdComponent } from '@zeedhi/vuetify';
|
|
3
|
-
/**
|
|
4
|
-
* DocTable component
|
|
5
|
-
*/
|
|
6
|
-
export default class TekImage extends ZdComponent {
|
|
7
|
-
to: string;
|
|
8
|
-
src: string;
|
|
9
|
-
height?: number | string;
|
|
10
|
-
minHeight?: number | string;
|
|
11
|
-
maxHeight?: number | string;
|
|
12
|
-
width?: number | string;
|
|
13
|
-
minWidth?: number | string;
|
|
14
|
-
maxWidth?: number | string;
|
|
15
|
-
fillHeight?: boolean | string;
|
|
16
|
-
instance: Image;
|
|
17
|
-
instanceType: typeof Image;
|
|
18
|
-
mounted(): void;
|
|
19
|
-
load(event?: Event): void;
|
|
20
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IterableCarousel, IIterableComponentRender } from '@zeedhi/teknisa-components-common';
|
|
2
|
-
declare const ZdCarousel: import("vue").VueConstructor<import("vue-property-decorator").Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue-property-decorator").Vue<Record<string, any>, Record<string, any>, never, never, any>>>;
|
|
3
|
-
/**
|
|
4
|
-
* TekIterableCarousel component
|
|
5
|
-
*/
|
|
6
|
-
export default class TekIterableCarousel extends ZdCarousel {
|
|
7
|
-
iterable: IIterableComponentRender;
|
|
8
|
-
instance: IterableCarousel;
|
|
9
|
-
instanceType: typeof IterableCarousel;
|
|
10
|
-
}
|
|
11
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ZdIterableComponentRender } from '@zeedhi/vuetify';
|
|
2
|
-
import { IterableComponentRender } from '@zeedhi/common';
|
|
3
|
-
/**
|
|
4
|
-
* ZdIterableComponentRender component
|
|
5
|
-
*/
|
|
6
|
-
export default class TekIterableComponentRender extends ZdIterableComponentRender {
|
|
7
|
-
instance: IterableComponentRender;
|
|
8
|
-
instanceType: typeof IterableComponentRender;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Loading } from '@zeedhi/teknisa-components-common';
|
|
2
|
-
import { ZdLoading } from '@zeedhi/vuetify';
|
|
3
|
-
export default class TekLoading extends ZdLoading {
|
|
4
|
-
text: string;
|
|
5
|
-
image?: string;
|
|
6
|
-
zdIndex: number | string;
|
|
7
|
-
instance: Loading;
|
|
8
|
-
instanceType: typeof Loading;
|
|
9
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ZdIterable } from '@zeedhi/vuetify';
|
|
2
|
-
import { Notifications } from '@zeedhi/teknisa-components-common';
|
|
3
|
-
/**
|
|
4
|
-
* TekNotifications component join an icon, title, rightSlot and a divider
|
|
5
|
-
*/
|
|
6
|
-
export default class TekNotifications extends ZdIterable {
|
|
7
|
-
allNotificationsPath: string;
|
|
8
|
-
instance: Notifications;
|
|
9
|
-
instanceType: typeof Notifications;
|
|
10
|
-
showAll(event: Event): void;
|
|
11
|
-
notificationClick(event: Event, notification: any): void;
|
|
12
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ProductCard } from '@zeedhi/teknisa-components-common';
|
|
2
|
-
import { ZdComponentRender } from '@zeedhi/vuetify';
|
|
3
|
-
/**
|
|
4
|
-
* Product card component
|
|
5
|
-
*/
|
|
6
|
-
export default class TekProductCard extends ZdComponentRender {
|
|
7
|
-
id: string;
|
|
8
|
-
to: string;
|
|
9
|
-
src: string;
|
|
10
|
-
errorImagePath: string;
|
|
11
|
-
errorImageText: string;
|
|
12
|
-
productName: string;
|
|
13
|
-
productSupplier?: string;
|
|
14
|
-
productBrand?: string;
|
|
15
|
-
productPrice?: string | number;
|
|
16
|
-
width: string;
|
|
17
|
-
height: number | string;
|
|
18
|
-
maxHeight: number | string;
|
|
19
|
-
minHeight: number | string;
|
|
20
|
-
instance: ProductCard;
|
|
21
|
-
instanceType: typeof ProductCard;
|
|
22
|
-
disableTooltip: boolean;
|
|
23
|
-
mounted(): void;
|
|
24
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { Column, IComponentRender, Input, Radio, Select } from '@zeedhi/common';
|
|
2
|
-
import { IDictionary, IEventParam } from '@zeedhi/core';
|
|
3
|
-
import { IDynamicFilterItem, IModalFilterProps, ITekGridExportConfig, TekGridColumn, TekTreeGrid as TekTreeGridClass } from '@zeedhi/teknisa-components-common';
|
|
4
|
-
declare const ZdTreeGridEditable: import("vue").VueConstructor<import("vue-property-decorator").Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue-property-decorator").Vue<Record<string, any>, Record<string, any>, never, never, any>>>;
|
|
5
|
-
/**
|
|
6
|
-
* TekGrid component
|
|
7
|
-
*/
|
|
8
|
-
export default class TekTreeGrid extends ZdTreeGridEditable {
|
|
9
|
-
title: string;
|
|
10
|
-
addButton: boolean | string;
|
|
11
|
-
deleteButton: 'none' | 'currentRow' | 'selection';
|
|
12
|
-
columnsButton: boolean | string;
|
|
13
|
-
columnsButtonIgnore: string[] | string;
|
|
14
|
-
showEditButtons: boolean | string;
|
|
15
|
-
filterButton: boolean | string;
|
|
16
|
-
modalFilterProps: IModalFilterProps;
|
|
17
|
-
showSearch: boolean | string;
|
|
18
|
-
showHideButton: boolean | string;
|
|
19
|
-
columnFilterButton: boolean | string;
|
|
20
|
-
actions: IComponentRender[];
|
|
21
|
-
dragColumns: boolean | string;
|
|
22
|
-
mainGrid: boolean | string;
|
|
23
|
-
resizeColumns: boolean | string;
|
|
24
|
-
showLayoutOptions: boolean | string;
|
|
25
|
-
showExport: boolean | string;
|
|
26
|
-
showReload: boolean | string;
|
|
27
|
-
defaultFilter: IDictionary;
|
|
28
|
-
reportTitle: string;
|
|
29
|
-
exportConfig: ITekGridExportConfig[];
|
|
30
|
-
exportActions: IComponentRender[];
|
|
31
|
-
toolbarSlot: IComponentRender[];
|
|
32
|
-
instance: TekTreeGridClass;
|
|
33
|
-
instanceType: typeof TekTreeGridClass;
|
|
34
|
-
updateTitle(instanceUpdateTitle: string): void;
|
|
35
|
-
private originalChangeTekGridLayout?;
|
|
36
|
-
calcScrollData: (() => void) | undefined;
|
|
37
|
-
scrollData: any;
|
|
38
|
-
renderedData: any;
|
|
39
|
-
mounted(): void;
|
|
40
|
-
minimumColumnWidth(column?: TekGridColumn): number;
|
|
41
|
-
private onChangeTekGridLayout;
|
|
42
|
-
getFilterActivatorEvents(on: any, column: TekGridColumn): any;
|
|
43
|
-
private debouncedDatasourceGet;
|
|
44
|
-
getFilterItemChange(prop: keyof IDynamicFilterItem, column: TekGridColumn, index: number, params: IEventParam<Select | Radio>): void;
|
|
45
|
-
private debouncedFilterChange;
|
|
46
|
-
getFilterValueChange(column: TekGridColumn, index: number, params: IEventParam<Input>): void | undefined;
|
|
47
|
-
operationList: string;
|
|
48
|
-
private isOperationArrayValues;
|
|
49
|
-
getComponentType(index: number): "" | "ZdTextInput";
|
|
50
|
-
getComponentHint(index: number): "" | "TEKGRID_MULTIPLE_VALUE_HINT";
|
|
51
|
-
filterItemChange(prop: keyof IDynamicFilterItem, column: TekGridColumn, index: number, { component, event, element }: IEventParam<Select | Radio>): void;
|
|
52
|
-
orderColumnVisibility(): void;
|
|
53
|
-
private defaultOperation;
|
|
54
|
-
private defaultRelation;
|
|
55
|
-
private lastFilter;
|
|
56
|
-
private convertToDateFormat;
|
|
57
|
-
private checkDateValueFormat;
|
|
58
|
-
filterValueChange(column: TekGridColumn, index: number, { component, event, element }: IEventParam<Input>): void;
|
|
59
|
-
private clearHelperValues;
|
|
60
|
-
getColumnFilterOptions(column: TekGridColumn): any;
|
|
61
|
-
isCurrentRow(row: IDictionary<any>): boolean;
|
|
62
|
-
getVisibleData(): any;
|
|
63
|
-
getData(): IDictionary<any>[];
|
|
64
|
-
rowClick(row: IDictionary<any>, event: Event): void;
|
|
65
|
-
orderHeaders(headers: TekGridColumn[]): TekGridColumn[];
|
|
66
|
-
private tableHeader;
|
|
67
|
-
private tableBody;
|
|
68
|
-
private updateFixedColumns;
|
|
69
|
-
getFixedLeft(column: TekGridColumn): string;
|
|
70
|
-
setSpanWidth(column: Column): string | undefined;
|
|
71
|
-
}
|
|
72
|
-
export {};
|