@zeedhi/common 1.129.0 → 1.129.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/dist/zd-common.esm.js +98 -96
- package/dist/zd-common.umd.js +95 -93
- package/package.json +2 -2
- package/types/index.d.ts +1 -1
- package/types/services/zd-json-cache/json-cache-service.d.ts +12 -0
- package/types/utils/combine-urls/combine-urls.d.ts +2 -0
- package/types/utils/combine-urls/index.d.ts +1 -0
- package/types/utils/index.d.ts +2 -2
- package/dist/types/components/index.d.ts +0 -151
- package/dist/types/components/zd-alert/alert.d.ts +0 -94
- package/dist/types/components/zd-alert/interfaces.d.ts +0 -18
- package/dist/types/components/zd-badge/badge.d.ts +0 -28
- package/dist/types/components/zd-badge/interfaces.d.ts +0 -10
- package/dist/types/components/zd-breadcrumbs/breadcrumbs.d.ts +0 -32
- package/dist/types/components/zd-breadcrumbs/interfaces.d.ts +0 -24
- package/dist/types/components/zd-button/button.d.ts +0 -89
- package/dist/types/components/zd-button/interfaces.d.ts +0 -48
- package/dist/types/components/zd-button-group/button-group.d.ts +0 -67
- package/dist/types/components/zd-button-group/interfaces.d.ts +0 -25
- package/dist/types/components/zd-card/card.d.ts +0 -152
- package/dist/types/components/zd-card/interfaces.d.ts +0 -40
- package/dist/types/components/zd-carousel/carousel.d.ts +0 -163
- package/dist/types/components/zd-carousel/interfaces.d.ts +0 -49
- package/dist/types/components/zd-checkbox/checkbox.d.ts +0 -12
- package/dist/types/components/zd-checkbox/interfaces.d.ts +0 -5
- package/dist/types/components/zd-checkbox-multiple/checkbox-multiple.d.ts +0 -39
- package/dist/types/components/zd-checkbox-multiple/interfaces.d.ts +0 -13
- package/dist/types/components/zd-chip/chip.d.ts +0 -60
- package/dist/types/components/zd-chip/interfaces.d.ts +0 -18
- package/dist/types/components/zd-code-viewer/code-viewer.d.ts +0 -86
- package/dist/types/components/zd-code-viewer/interfaces.d.ts +0 -13
- package/dist/types/components/zd-col/col.d.ts +0 -33
- package/dist/types/components/zd-col/interfaces.d.ts +0 -15
- package/dist/types/components/zd-collapse-card/collapse-card.d.ts +0 -56
- package/dist/types/components/zd-collapse-card/interfaces.d.ts +0 -14
- package/dist/types/components/zd-component/child-not-found.d.ts +0 -6
- package/dist/types/components/zd-component/component-render.d.ts +0 -16
- package/dist/types/components/zd-component/component.d.ts +0 -120
- package/dist/types/components/zd-component/interfaces.d.ts +0 -74
- package/dist/types/components/zd-container/container.d.ts +0 -45
- package/dist/types/components/zd-container/interfaces.d.ts +0 -12
- package/dist/types/components/zd-currency/currency.d.ts +0 -12
- package/dist/types/components/zd-currency/interfaces.d.ts +0 -6
- package/dist/types/components/zd-date-input/date-input.d.ts +0 -152
- package/dist/types/components/zd-date-input/interfaces.d.ts +0 -27
- package/dist/types/components/zd-date-range/date-range.d.ts +0 -158
- package/dist/types/components/zd-date-range/interfaces.d.ts +0 -18
- package/dist/types/components/zd-dialog/dialog.d.ts +0 -76
- package/dist/types/components/zd-dialog/interfaces.d.ts +0 -13
- package/dist/types/components/zd-divider/divider.d.ts +0 -20
- package/dist/types/components/zd-divider/interfaces.d.ts +0 -8
- package/dist/types/components/zd-dropdown/dropdown.d.ts +0 -81
- package/dist/types/components/zd-dropdown/interfaces.d.ts +0 -23
- package/dist/types/components/zd-footer/footer.d.ts +0 -80
- package/dist/types/components/zd-footer/interfaces.d.ts +0 -26
- package/dist/types/components/zd-form/form.d.ts +0 -174
- package/dist/types/components/zd-form/interfaces.d.ts +0 -36
- package/dist/types/components/zd-frame/frame.d.ts +0 -81
- package/dist/types/components/zd-frame/interfaces.d.ts +0 -23
- package/dist/types/components/zd-frame-page/frame-page.d.ts +0 -14
- package/dist/types/components/zd-frame-page/interfaces.d.ts +0 -4
- package/dist/types/components/zd-grid/data-navigator.d.ts +0 -12
- package/dist/types/components/zd-grid/data-selector.d.ts +0 -25
- package/dist/types/components/zd-grid/grid-column.d.ts +0 -47
- package/dist/types/components/zd-grid/grid-events.d.ts +0 -26
- package/dist/types/components/zd-grid/grid.d.ts +0 -85
- package/dist/types/components/zd-grid/index.d.ts +0 -11
- package/dist/types/components/zd-grid/interfaces.d.ts +0 -148
- package/dist/types/components/zd-grid/iterable-table.d.ts +0 -28
- package/dist/types/components/zd-grid/keymap-merger.d.ts +0 -26
- package/dist/types/components/zd-grid/keymap-navigation.d.ts +0 -6
- package/dist/types/components/zd-grid/table-action-builder.d.ts +0 -19
- package/dist/types/components/zd-grid/view-navigator.d.ts +0 -10
- package/dist/types/components/zd-grid-editable/data-editor-with-add.d.ts +0 -35
- package/dist/types/components/zd-grid-editable/data-editor.d.ts +0 -64
- package/dist/types/components/zd-grid-editable/errors/index.d.ts +0 -2
- package/dist/types/components/zd-grid-editable/errors/not-editing.d.ts +0 -6
- package/dist/types/components/zd-grid-editable/errors/row-not-found.d.ts +0 -6
- package/dist/types/components/zd-grid-editable/grid-column-editable.d.ts +0 -9
- package/dist/types/components/zd-grid-editable/grid-editable-controller.d.ts +0 -8
- package/dist/types/components/zd-grid-editable/grid-editable-events.d.ts +0 -32
- package/dist/types/components/zd-grid-editable/grid-editable.d.ts +0 -124
- package/dist/types/components/zd-grid-editable/index.d.ts +0 -8
- package/dist/types/components/zd-grid-editable/interfaces.d.ts +0 -66
- package/dist/types/components/zd-grid-editable/keymap-editing.d.ts +0 -7
- package/dist/types/components/zd-header/header.d.ts +0 -94
- package/dist/types/components/zd-header/interfaces.d.ts +0 -29
- package/dist/types/components/zd-icon/icon.d.ts +0 -55
- package/dist/types/components/zd-icon/interfaces.d.ts +0 -13
- package/dist/types/components/zd-image/image.d.ts +0 -73
- package/dist/types/components/zd-image/interfaces.d.ts +0 -17
- package/dist/types/components/zd-increment/increment.d.ts +0 -56
- package/dist/types/components/zd-increment/interfaces.d.ts +0 -9
- package/dist/types/components/zd-input/input-factory.d.ts +0 -6
- package/dist/types/components/zd-input/input.d.ts +0 -223
- package/dist/types/components/zd-input/interfaces.d.ts +0 -38
- package/dist/types/components/zd-iterable/column-not-found.d.ts +0 -6
- package/dist/types/components/zd-iterable/column.d.ts +0 -78
- package/dist/types/components/zd-iterable/conditions-manager.d.ts +0 -49
- package/dist/types/components/zd-iterable/interfaces.d.ts +0 -103
- package/dist/types/components/zd-iterable/iterable-columns-button-controller.d.ts +0 -9
- package/dist/types/components/zd-iterable/iterable-columns-button.d.ts +0 -35
- package/dist/types/components/zd-iterable/iterable-controller.d.ts +0 -8
- package/dist/types/components/zd-iterable/iterable-page-component.d.ts +0 -27
- package/dist/types/components/zd-iterable/iterable-page-info.d.ts +0 -7
- package/dist/types/components/zd-iterable/iterable-page-size.d.ts +0 -62
- package/dist/types/components/zd-iterable/iterable-pagination.d.ts +0 -28
- package/dist/types/components/zd-iterable/iterable.d.ts +0 -77
- package/dist/types/components/zd-iterable/search.d.ts +0 -31
- package/dist/types/components/zd-iterable-component-render/interfaces.d.ts +0 -34
- package/dist/types/components/zd-iterable-component-render/iterable-component-render.d.ts +0 -84
- package/dist/types/components/zd-layout/interfaces.d.ts +0 -7
- package/dist/types/components/zd-layout/layout.d.ts +0 -9
- package/dist/types/components/zd-list/interfaces.d.ts +0 -44
- package/dist/types/components/zd-list/item-not-found.d.ts +0 -6
- package/dist/types/components/zd-list/list-group.d.ts +0 -30
- package/dist/types/components/zd-list/list-item.d.ts +0 -46
- package/dist/types/components/zd-list/list.d.ts +0 -81
- package/dist/types/components/zd-loading/interfaces.d.ts +0 -7
- package/dist/types/components/zd-loading/loading.d.ts +0 -21
- package/dist/types/components/zd-login/interfaces.d.ts +0 -25
- package/dist/types/components/zd-login/login-button.d.ts +0 -50
- package/dist/types/components/zd-login/login.d.ts +0 -54
- package/dist/types/components/zd-main/interfaces.d.ts +0 -5
- package/dist/types/components/zd-main/main.d.ts +0 -7
- package/dist/types/components/zd-master-detail/detail-not-found.d.ts +0 -7
- package/dist/types/components/zd-master-detail/interfaces.d.ts +0 -10
- package/dist/types/components/zd-master-detail/master-detail.d.ts +0 -18
- package/dist/types/components/zd-master-detail/master-not-found.d.ts +0 -7
- package/dist/types/components/zd-menu/interfaces.d.ts +0 -68
- package/dist/types/components/zd-menu/menu-button.d.ts +0 -29
- package/dist/types/components/zd-menu/menu-group.d.ts +0 -61
- package/dist/types/components/zd-menu/menu-link.d.ts +0 -50
- package/dist/types/components/zd-menu/menu-separator.d.ts +0 -7
- package/dist/types/components/zd-menu/menu.d.ts +0 -199
- package/dist/types/components/zd-modal/interfaces.d.ts +0 -35
- package/dist/types/components/zd-modal/modal-close-button.d.ts +0 -28
- package/dist/types/components/zd-modal/modal.d.ts +0 -53
- package/dist/types/components/zd-month/interfaces.d.ts +0 -6
- package/dist/types/components/zd-month/month.d.ts +0 -33
- package/dist/types/components/zd-number-input/interfaces.d.ts +0 -8
- package/dist/types/components/zd-number-input/number-input.d.ts +0 -43
- package/dist/types/components/zd-password/interfaces.d.ts +0 -6
- package/dist/types/components/zd-password/password.d.ts +0 -17
- package/dist/types/components/zd-progress/interfaces.d.ts +0 -10
- package/dist/types/components/zd-progress/progress.d.ts +0 -41
- package/dist/types/components/zd-radio/interfaces.d.ts +0 -11
- package/dist/types/components/zd-radio/radio.d.ts +0 -35
- package/dist/types/components/zd-row/interfaces.d.ts +0 -13
- package/dist/types/components/zd-row/row.d.ts +0 -39
- package/dist/types/components/zd-select/interfaces.d.ts +0 -24
- package/dist/types/components/zd-select/select.d.ts +0 -238
- package/dist/types/components/zd-select-multiple/interfaces.d.ts +0 -18
- package/dist/types/components/zd-select-multiple/select-multiple.d.ts +0 -113
- package/dist/types/components/zd-svg-map/interfaces.d.ts +0 -26
- package/dist/types/components/zd-svg-map/svg-map.d.ts +0 -35
- package/dist/types/components/zd-switch/interfaces.d.ts +0 -7
- package/dist/types/components/zd-switch/switch.d.ts +0 -16
- package/dist/types/components/zd-table/interfaces.d.ts +0 -25
- package/dist/types/components/zd-table/table.d.ts +0 -42
- package/dist/types/components/zd-tabs/interfaces.d.ts +0 -40
- package/dist/types/components/zd-tabs/tab-not-found.d.ts +0 -11
- package/dist/types/components/zd-tabs/tab.d.ts +0 -57
- package/dist/types/components/zd-tabs/tabs.d.ts +0 -86
- package/dist/types/components/zd-tag/interfaces.d.ts +0 -7
- package/dist/types/components/zd-tag/tag.d.ts +0 -13
- package/dist/types/components/zd-text/interfaces.d.ts +0 -9
- package/dist/types/components/zd-text/text.d.ts +0 -8
- package/dist/types/components/zd-text-input/interfaces.d.ts +0 -23
- package/dist/types/components/zd-text-input/text-input.d.ts +0 -91
- package/dist/types/components/zd-textarea/interfaces.d.ts +0 -21
- package/dist/types/components/zd-textarea/textarea.d.ts +0 -71
- package/dist/types/components/zd-time/interfaces.d.ts +0 -22
- package/dist/types/components/zd-time/time-format-selector.d.ts +0 -8
- package/dist/types/components/zd-time/time.d.ts +0 -149
- package/dist/types/components/zd-toggleable/interfaces.d.ts +0 -6
- package/dist/types/components/zd-toggleable/toggleable.d.ts +0 -21
- package/dist/types/components/zd-tooltip/interfaces.d.ts +0 -18
- package/dist/types/components/zd-tooltip/tooltip.d.ts +0 -57
- package/dist/types/components/zd-tree/interfaces.d.ts +0 -107
- package/dist/types/components/zd-tree/tree.d.ts +0 -161
- package/dist/types/components/zd-tree-grid/index.d.ts +0 -6
- package/dist/types/components/zd-tree-grid/interfaces.d.ts +0 -35
- package/dist/types/components/zd-tree-grid/iterable-tree.d.ts +0 -10
- package/dist/types/components/zd-tree-grid/keymap-tree.d.ts +0 -7
- package/dist/types/components/zd-tree-grid/tree-data-navigator.d.ts +0 -10
- package/dist/types/components/zd-tree-grid/tree-data-selector.d.ts +0 -18
- package/dist/types/components/zd-tree-grid/tree-grid.d.ts +0 -119
- package/dist/types/error/delete-rows.d.ts +0 -7
- package/dist/types/error/index.d.ts +0 -3
- package/dist/types/error/non-initialized.d.ts +0 -7
- package/dist/types/error/zeedhi-error.d.ts +0 -6
- package/dist/types/index.d.ts +0 -6
- package/dist/types/services/index.d.ts +0 -4
- package/dist/types/services/zd-alert/alert-queue.d.ts +0 -13
- package/dist/types/services/zd-alert/alert-replace.d.ts +0 -18
- package/dist/types/services/zd-alert/alert-service.d.ts +0 -45
- package/dist/types/services/zd-alert/alert-stack.d.ts +0 -9
- package/dist/types/services/zd-alert/index.d.ts +0 -5
- package/dist/types/services/zd-alert/interfaces.d.ts +0 -6
- package/dist/types/services/zd-dialog/dialog-service.d.ts +0 -24
- package/dist/types/services/zd-loading/loading-service.d.ts +0 -17
- package/dist/types/services/zd-modal/modal-service.d.ts +0 -39
- package/dist/types/utils/data-value-out/data-value-out.d.ts +0 -5
- package/dist/types/utils/data-value-out/index.d.ts +0 -2
- package/dist/types/utils/data-value-out/interfaces.d.ts +0 -8
- package/dist/types/utils/datasource-searcher/datasource-searcher.d.ts +0 -6
- package/dist/types/utils/datasource-searcher/index.d.ts +0 -2
- package/dist/types/utils/datasource-searcher/interfaces.d.ts +0 -5
- package/dist/types/utils/icons/icons.d.ts +0 -24
- package/dist/types/utils/index.d.ts +0 -7
- package/dist/types/utils/omit/omit.d.ts +0 -11
- package/dist/types/utils/theme/theme.d.ts +0 -34
- package/dist/types/utils/tree-data-structure/index.d.ts +0 -2
- package/dist/types/utils/tree-data-structure/interfaces.d.ts +0 -30
- package/dist/types/utils/tree-data-structure/tree-data-structure.d.ts +0 -155
- package/dist/types/utils/unique-by/unique-by.d.ts +0 -3
- package/dist/zd-common.js +0 -13133
- package/dist/zd-common.min.js +0 -13133
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Input } from '../zd-input/input';
|
|
2
|
-
import { IToggleable, StateType } from './interfaces';
|
|
3
|
-
/**
|
|
4
|
-
* Base class for Toggleable inputs.
|
|
5
|
-
*/
|
|
6
|
-
export declare class Toggleable extends Input implements IToggleable {
|
|
7
|
-
/**
|
|
8
|
-
* Value for falsy state
|
|
9
|
-
*/
|
|
10
|
-
falseValue: StateType;
|
|
11
|
-
/**
|
|
12
|
-
* Value for truthy state
|
|
13
|
-
*/
|
|
14
|
-
trueValue: StateType;
|
|
15
|
-
/**
|
|
16
|
-
* Create a new Toggleable input.
|
|
17
|
-
* @param props Toggleable properties
|
|
18
|
-
*/
|
|
19
|
-
constructor(props: IToggleable);
|
|
20
|
-
toggleValue(): void;
|
|
21
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { IEventParam } from '@zeedhi/core';
|
|
2
|
-
import { IComponentRender } from '../zd-component/interfaces';
|
|
3
|
-
import { Tooltip } from './tooltip';
|
|
4
|
-
export type ITooltipEvent = IEventParam<Tooltip>;
|
|
5
|
-
export interface ITooltip extends IComponentRender {
|
|
6
|
-
bottom?: boolean;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
label?: string;
|
|
9
|
-
left?: boolean;
|
|
10
|
-
maxWidth?: number | string;
|
|
11
|
-
minWidth?: number | string;
|
|
12
|
-
nudge?: number | string;
|
|
13
|
-
openOnClick?: boolean;
|
|
14
|
-
openOnFocus?: boolean;
|
|
15
|
-
openOnHover?: boolean;
|
|
16
|
-
right?: boolean;
|
|
17
|
-
top?: boolean;
|
|
18
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { ComponentRender } from '../zd-component/component-render';
|
|
2
|
-
import { ITooltip } from './interfaces';
|
|
3
|
-
/**
|
|
4
|
-
* Base class for Tooltip component.
|
|
5
|
-
*/
|
|
6
|
-
export declare class Tooltip extends ComponentRender implements ITooltip {
|
|
7
|
-
/**
|
|
8
|
-
* Aligns the component towards the bottom
|
|
9
|
-
*/
|
|
10
|
-
bottom: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* Disables the tooltip
|
|
13
|
-
*/
|
|
14
|
-
disabled: boolean;
|
|
15
|
-
label: string;
|
|
16
|
-
/**
|
|
17
|
-
* Aligns the component towards the left
|
|
18
|
-
*/
|
|
19
|
-
left: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Sets the maximum width for the content
|
|
22
|
-
*/
|
|
23
|
-
maxWidth?: number | string;
|
|
24
|
-
/**
|
|
25
|
-
* Sets the minimum width for the content
|
|
26
|
-
*/
|
|
27
|
-
minWidth?: number | string;
|
|
28
|
-
/**
|
|
29
|
-
* Nudge the content
|
|
30
|
-
*/
|
|
31
|
-
nudge: number | string;
|
|
32
|
-
/**
|
|
33
|
-
* Open the tooltip on activator click
|
|
34
|
-
*/
|
|
35
|
-
openOnClick: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Open the tooltip on activator focus
|
|
38
|
-
*/
|
|
39
|
-
openOnFocus: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Open the tooltip on activator hover
|
|
42
|
-
*/
|
|
43
|
-
openOnHover: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Nudge the content to the top
|
|
46
|
-
*/
|
|
47
|
-
right: boolean;
|
|
48
|
-
/**
|
|
49
|
-
* Nudge the content to the top
|
|
50
|
-
*/
|
|
51
|
-
top: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* Create a new Tooltip
|
|
54
|
-
* @param props Tooltip definition
|
|
55
|
-
*/
|
|
56
|
-
constructor(props: ITooltip);
|
|
57
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { IDatasource, IDictionary, IEventParam } from '@zeedhi/core';
|
|
2
|
-
import { ITreeComponent } from '../../utils';
|
|
3
|
-
import { EventDef, IComponentEvents, IComponentRender, IComponentRenderInstance } from '../zd-component/interfaces';
|
|
4
|
-
import { Tree } from './tree';
|
|
5
|
-
export interface ITreeNodeModel<T> {
|
|
6
|
-
title: string;
|
|
7
|
-
isLeaf?: boolean;
|
|
8
|
-
children?: ITreeNodeModel<T>[];
|
|
9
|
-
isExpanded?: boolean;
|
|
10
|
-
isSelected?: boolean;
|
|
11
|
-
isDraggable?: boolean;
|
|
12
|
-
isSelectable?: boolean;
|
|
13
|
-
data?: T;
|
|
14
|
-
}
|
|
15
|
-
export interface ITreeNode<T> extends ITreeNodeModel<T> {
|
|
16
|
-
isFirstChild?: boolean;
|
|
17
|
-
isLastChild?: boolean;
|
|
18
|
-
isVisible?: boolean;
|
|
19
|
-
level?: number;
|
|
20
|
-
ind?: number;
|
|
21
|
-
path?: number[];
|
|
22
|
-
pathStr?: string;
|
|
23
|
-
children?: ITreeNode<T>[];
|
|
24
|
-
}
|
|
25
|
-
export interface ICursorPosition<T> {
|
|
26
|
-
node: ITreeNode<T>;
|
|
27
|
-
placement: 'before' | 'inside' | 'after';
|
|
28
|
-
}
|
|
29
|
-
export interface ITreeSelectEvent extends IEventParam<Tree> {
|
|
30
|
-
nodes: ITreeNode<IDictionary>[];
|
|
31
|
-
}
|
|
32
|
-
export interface ITreeDropEvent extends IEventParam<Tree> {
|
|
33
|
-
nodes: ITreeNode<IDictionary>[];
|
|
34
|
-
position: ICursorPosition<IDictionary>;
|
|
35
|
-
}
|
|
36
|
-
export interface ITreeClickEvent extends IEventParam<Tree> {
|
|
37
|
-
node: ITreeNode<IDictionary>;
|
|
38
|
-
}
|
|
39
|
-
export interface ITreeConditionComponent extends IComponentRender {
|
|
40
|
-
conditions?: IDictionary;
|
|
41
|
-
}
|
|
42
|
-
export interface ITreeEvents extends IComponentEvents<any> {
|
|
43
|
-
onNodeDrop?: EventDef<ITreeDropEvent>;
|
|
44
|
-
onNodeSelect?: EventDef<ITreeSelectEvent>;
|
|
45
|
-
onNodeClick?: EventDef<ITreeClickEvent>;
|
|
46
|
-
onNodeDblClick?: EventDef<ITreeClickEvent>;
|
|
47
|
-
onNodeCheck?: EventDef<ITreeSelectEvent>;
|
|
48
|
-
}
|
|
49
|
-
export interface ITreeProps extends IComponentRender {
|
|
50
|
-
nodes?: ITreeNodeModel<IDictionary>[];
|
|
51
|
-
itemIconName?: string;
|
|
52
|
-
groupIconName?: string;
|
|
53
|
-
openedIconName?: string;
|
|
54
|
-
closedIconName?: string;
|
|
55
|
-
allowMultiSelect?: boolean;
|
|
56
|
-
allowDragDrop?: boolean;
|
|
57
|
-
afterTitleSlot?: ITreeConditionComponent;
|
|
58
|
-
toolbarSlot?: IComponentRender[];
|
|
59
|
-
titleSlot?: ITreeConditionComponent[];
|
|
60
|
-
events?: ITreeEvents;
|
|
61
|
-
height?: number | string;
|
|
62
|
-
maxHeight?: number | string;
|
|
63
|
-
minHeight?: number | string;
|
|
64
|
-
fillHeight?: boolean;
|
|
65
|
-
width?: number | string;
|
|
66
|
-
maxWidth?: number | string;
|
|
67
|
-
minWidth?: number | string;
|
|
68
|
-
datasource?: IDatasource;
|
|
69
|
-
parentField?: string;
|
|
70
|
-
titleField?: string;
|
|
71
|
-
dataField?: string;
|
|
72
|
-
checkedField?: string;
|
|
73
|
-
openLevelOnLoad?: number | boolean;
|
|
74
|
-
checkbox?: boolean;
|
|
75
|
-
disableCheckbox?: (args: {
|
|
76
|
-
node: ITreeNode<IDictionary>;
|
|
77
|
-
component: Tree;
|
|
78
|
-
}) => boolean;
|
|
79
|
-
}
|
|
80
|
-
export interface ITree extends IComponentRenderInstance, ITreeComponent {
|
|
81
|
-
nodes: ITreeNodeModel<IDictionary>[];
|
|
82
|
-
itemIconName: string;
|
|
83
|
-
groupIconName: string;
|
|
84
|
-
openedIconName: string;
|
|
85
|
-
closedIconName: string;
|
|
86
|
-
allowMultiSelect: boolean;
|
|
87
|
-
allowDragDrop: boolean;
|
|
88
|
-
afterTitleSlot?: ITreeConditionComponent;
|
|
89
|
-
toolbarSlot: IComponentRender[];
|
|
90
|
-
titleSlot: ITreeConditionComponent[];
|
|
91
|
-
events: ITreeEvents;
|
|
92
|
-
height: number | string;
|
|
93
|
-
maxHeight: number | string;
|
|
94
|
-
minHeight: number | string;
|
|
95
|
-
fillHeight: boolean;
|
|
96
|
-
width: number | string;
|
|
97
|
-
maxWidth: number | string;
|
|
98
|
-
minWidth: number | string;
|
|
99
|
-
titleField: string;
|
|
100
|
-
dataField: string;
|
|
101
|
-
checkedField: string;
|
|
102
|
-
checkbox: boolean;
|
|
103
|
-
disableCheckbox?: (args: {
|
|
104
|
-
node: ITreeNode<IDictionary>;
|
|
105
|
-
component: Tree;
|
|
106
|
-
}) => boolean;
|
|
107
|
-
}
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
import { Datasource, Event, IDictionary, IEvents } from '@zeedhi/core';
|
|
2
|
-
import { ComponentRender } from '../zd-component/component-render';
|
|
3
|
-
import { IComponent, IComponentRender, IComponentRenderInstance } from '../zd-component/interfaces';
|
|
4
|
-
import { ICursorPosition, ITree, ITreeConditionComponent, ITreeNode, ITreeNodeModel, ITreeProps } from './interfaces';
|
|
5
|
-
export declare class Tree extends ComponentRender implements ITree {
|
|
6
|
-
/** Tree nodes */
|
|
7
|
-
nodesValue: ITreeNodeModel<IDictionary>[];
|
|
8
|
-
/** Tree Item icon name */
|
|
9
|
-
itemIconName: string;
|
|
10
|
-
/** Tree Group icon name */
|
|
11
|
-
groupIconName: string;
|
|
12
|
-
/** Tree opened group icon name */
|
|
13
|
-
openedIconName: string;
|
|
14
|
-
/** Tree closed group icon name */
|
|
15
|
-
closedIconName: string;
|
|
16
|
-
/** Allow selecting multiple nodes */
|
|
17
|
-
allowMultiSelect: boolean;
|
|
18
|
-
/** Allow dragging nodes */
|
|
19
|
-
allowDragDrop: boolean;
|
|
20
|
-
/** Render a component in front of the node title */
|
|
21
|
-
afterTitleSlot?: ITreeConditionComponent;
|
|
22
|
-
/**
|
|
23
|
-
* Components that will be rendered on toolbar slot
|
|
24
|
-
*/
|
|
25
|
-
toolbarSlot: IComponentRender[];
|
|
26
|
-
/**
|
|
27
|
-
* Defines the component height. Possible values for this property can be
|
|
28
|
-
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
29
|
-
*/
|
|
30
|
-
height: string | number;
|
|
31
|
-
/**
|
|
32
|
-
* Defines the component min height. Possible values for this property can be
|
|
33
|
-
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
34
|
-
*/
|
|
35
|
-
minHeight: string | number;
|
|
36
|
-
/**
|
|
37
|
-
* Defines the component max height. Possible values for this property can be
|
|
38
|
-
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
39
|
-
*/
|
|
40
|
-
maxHeight: string | number;
|
|
41
|
-
/**
|
|
42
|
-
* Set component height to fill all space available
|
|
43
|
-
*/
|
|
44
|
-
fillHeight: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Defines the component width. Possible values for this property can be
|
|
47
|
-
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
48
|
-
*/
|
|
49
|
-
width: string | number;
|
|
50
|
-
/**
|
|
51
|
-
* Defines the component min width. Possible values for this property can be
|
|
52
|
-
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
53
|
-
*/
|
|
54
|
-
minWidth: string | number;
|
|
55
|
-
/**
|
|
56
|
-
* Defines the component max height. Possible values for this property can be
|
|
57
|
-
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
58
|
-
*/
|
|
59
|
-
maxWidth: string | number;
|
|
60
|
-
/**
|
|
61
|
-
* Components that will be rendered on title slot
|
|
62
|
-
*/
|
|
63
|
-
titleSlot: ITreeConditionComponent[];
|
|
64
|
-
/** Datasource object */
|
|
65
|
-
datasource: Datasource;
|
|
66
|
-
/** Datasource parent field */
|
|
67
|
-
parentField: string;
|
|
68
|
-
/** Datasource title field */
|
|
69
|
-
titleField: string;
|
|
70
|
-
/** Datasource data field */
|
|
71
|
-
dataField: string;
|
|
72
|
-
/** Datasource checked field */
|
|
73
|
-
checkedField: string;
|
|
74
|
-
/**
|
|
75
|
-
* Defines if the tree will be opened or not (true/false) or if it should open only until a specific level
|
|
76
|
-
*/
|
|
77
|
-
openLevelOnLoad: number | boolean;
|
|
78
|
-
/**
|
|
79
|
-
* Allow row check
|
|
80
|
-
*/
|
|
81
|
-
checkbox: boolean;
|
|
82
|
-
/**
|
|
83
|
-
* Function to check if node check should be disabled
|
|
84
|
-
*/
|
|
85
|
-
disableCheckbox?: (args: {
|
|
86
|
-
node: ITreeNode<IDictionary>;
|
|
87
|
-
component: Tree;
|
|
88
|
-
}) => boolean;
|
|
89
|
-
/** SlVueTree component */
|
|
90
|
-
private tree;
|
|
91
|
-
/** SlVueTree component */
|
|
92
|
-
private treeDataStructure?;
|
|
93
|
-
/**
|
|
94
|
-
* Defines if should wait and not execute GET method when Datasource is created
|
|
95
|
-
*/
|
|
96
|
-
private lazyLoad;
|
|
97
|
-
/**
|
|
98
|
-
* Dictionary of nodePath ponting to Dictionary of path pointing to the condition (applied) return value
|
|
99
|
-
*/
|
|
100
|
-
private appliedConditions;
|
|
101
|
-
private factoredConditions;
|
|
102
|
-
/**
|
|
103
|
-
* Creates a new instance of LabelsTree
|
|
104
|
-
* @param props Image Link props
|
|
105
|
-
*/
|
|
106
|
-
constructor(props: ITreeProps);
|
|
107
|
-
/**
|
|
108
|
-
* Initialize all the properties of the declared nodes (reactivity)
|
|
109
|
-
*/
|
|
110
|
-
initNodes(nodes: ITreeNodeModel<IDictionary>[], override?: IDictionary): ITreeNodeModel<IDictionary>[];
|
|
111
|
-
/** Nodes */
|
|
112
|
-
get nodes(): ITreeNodeModel<IDictionary>[];
|
|
113
|
-
set nodes(value: ITreeNodeModel<IDictionary>[]);
|
|
114
|
-
onCreated(): Promise<void>;
|
|
115
|
-
getCheckedNodes(): ITreeNode<IDictionary<any>>[];
|
|
116
|
-
/** Returns the selected nodes */
|
|
117
|
-
get selectedNodes(): ITreeNode<IDictionary>[];
|
|
118
|
-
private createDataStructure;
|
|
119
|
-
/** create nodes from datasource object */
|
|
120
|
-
createNodesFromDatasource(buildTree?: boolean): void;
|
|
121
|
-
private createNodeFromRow;
|
|
122
|
-
private createChildrenNodes;
|
|
123
|
-
/** Insert nodes by the current cursor position */
|
|
124
|
-
insertNode(newNode: ITreeNodeModel<IDictionary>): void;
|
|
125
|
-
/** Import multiples nodes by the current cursor position */
|
|
126
|
-
importNodes(nodes: ITreeNodeModel<IDictionary>[]): void;
|
|
127
|
-
/** Remove selected node */
|
|
128
|
-
removeSelected(): void;
|
|
129
|
-
/** Update selected node */
|
|
130
|
-
updateNodeData(node: ITreeNode<IDictionary>, value: IDictionary): void;
|
|
131
|
-
setTree(tree: any): void;
|
|
132
|
-
/**
|
|
133
|
-
* Return plain conditions object
|
|
134
|
-
* @param conditions Conditions object
|
|
135
|
-
* @param parentPath Path to parent property
|
|
136
|
-
*/
|
|
137
|
-
protected getPlainConditions(conditions: IDictionary<any>, parentPath?: string): IDictionary<string>;
|
|
138
|
-
protected createConditions(children: ITreeConditionComponent[], parentPath?: string): void;
|
|
139
|
-
protected applyCondition(node: ITreeNode<any>, factoredConditions: IEvents<ITreeNode<IDictionary>>): IDictionary<any>;
|
|
140
|
-
protected applyChildCondition(node: ITreeNode<any>, factoredConditions?: IDictionary<IEvents<ITreeNode<IDictionary<any>>>>): IDictionary<any>;
|
|
141
|
-
reapplyConditions(node: ITreeNode<any>): IDictionary;
|
|
142
|
-
private filterObject;
|
|
143
|
-
private deleteAccessorProps;
|
|
144
|
-
protected updateActionInstance(instanceName: string, newComponent: IComponent): ComponentRender<IComponentRender>;
|
|
145
|
-
getSlotComponent(slot: IComponentRender | IComponentRender[], node: ITreeNode<IDictionary>, parentPath?: string): (IComponentRender | IComponentRenderInstance)[];
|
|
146
|
-
/** Triggers when dragging nodes have been dropped */
|
|
147
|
-
nodeDrop(nodes: ITreeNode<IDictionary>[], position: ICursorPosition<IDictionary>, event?: Event, element?: any): void;
|
|
148
|
-
/** Triggers when a node has been selected/deselected */
|
|
149
|
-
nodeSelect(nodes: ITreeNode<IDictionary>[], event?: Event, element?: any): void;
|
|
150
|
-
/** Handle click event on node */
|
|
151
|
-
nodeClick(node: ITreeNode<IDictionary>, event?: Event, element?: any): void;
|
|
152
|
-
/** Handle dblclick event on node */
|
|
153
|
-
nodeDblClick(node: ITreeNode<IDictionary>, event?: Event, element?: any): void;
|
|
154
|
-
/** Triggers when a node has been checked/unchecked */
|
|
155
|
-
nodeCheck(node: ITreeNode<IDictionary>, event?: Event, element?: HTMLElement): void;
|
|
156
|
-
clearSelection(nodes?: ITreeNodeModel<IDictionary<any>>[]): void;
|
|
157
|
-
getNode(path: number[]): ITreeNodeModel<IDictionary<any>> | undefined;
|
|
158
|
-
getParentNode(node: ITreeNode<IDictionary>): any;
|
|
159
|
-
private searchPath;
|
|
160
|
-
callDisableCheckbox(node: ITreeNode<IDictionary>): boolean;
|
|
161
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { IDictionary } from '@zeedhi/core';
|
|
2
|
-
import { ITreeComponent, ITreeDataStructure } from '../../utils/tree-data-structure/interfaces';
|
|
3
|
-
import { IDataSelector, IGrid, IGridProps } from '../zd-grid';
|
|
4
|
-
export interface ITreeDataSelector extends IDataSelector {
|
|
5
|
-
selectChildren(row: IDictionary<any>): void;
|
|
6
|
-
unselectChildren(row: IDictionary<any>): void;
|
|
7
|
-
}
|
|
8
|
-
export interface IIterableTree {
|
|
9
|
-
onMounted(element: HTMLElement): void;
|
|
10
|
-
buildTree(doGet?: boolean): void;
|
|
11
|
-
setViewUpdateScrollData(fn: () => void): void;
|
|
12
|
-
updateScrollData(): void;
|
|
13
|
-
}
|
|
14
|
-
export interface ITreeGridProps extends IGridProps {
|
|
15
|
-
parentField?: string;
|
|
16
|
-
openLevelOnLoad?: number | boolean;
|
|
17
|
-
fetchOnDemand?: boolean;
|
|
18
|
-
fieldHasChild?: string;
|
|
19
|
-
flat?: boolean;
|
|
20
|
-
detach?: boolean;
|
|
21
|
-
lazyLoad?: boolean;
|
|
22
|
-
}
|
|
23
|
-
export interface ITreeGrid extends ITreeComponent, IGrid, ITreeDataSelector, IIterableTree {
|
|
24
|
-
flat: boolean;
|
|
25
|
-
lazyLoad: boolean;
|
|
26
|
-
treeDataStructure: ITreeDataStructure;
|
|
27
|
-
getChildren(row: IDictionary): IDictionary[];
|
|
28
|
-
findDataIndex(data: IDictionary<any>[], value: any): number;
|
|
29
|
-
getParentRow(row: IDictionary): IDictionary;
|
|
30
|
-
buildTreeStructure(): void;
|
|
31
|
-
resetTree(): void;
|
|
32
|
-
filterRootData(): Promise<any>;
|
|
33
|
-
navigateToggle(collapse: boolean): void;
|
|
34
|
-
toggleExpand(row: IDictionary<any>, rowIndex?: number): Promise<IDictionary<any>[] | undefined>;
|
|
35
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { IIterableTree, ITreeGrid } from './interfaces';
|
|
2
|
-
export declare class IterableTree implements IIterableTree {
|
|
3
|
-
private treeGrid;
|
|
4
|
-
viewUpdateScrollData?: () => void;
|
|
5
|
-
constructor(treeGrid: ITreeGrid);
|
|
6
|
-
onMounted(): void;
|
|
7
|
-
buildTree(doGet?: boolean): void;
|
|
8
|
-
setViewUpdateScrollData(fn: () => void): void;
|
|
9
|
-
updateScrollData(): void;
|
|
10
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IKeyMap } from '@zeedhi/core';
|
|
2
|
-
import { Component } from '../zd-component/component';
|
|
3
|
-
import { IKeyMapConfig } from '../zd-grid';
|
|
4
|
-
import { ITreeGrid } from './interfaces';
|
|
5
|
-
export declare class KeyMapTree implements IKeyMapConfig<ITreeGrid> {
|
|
6
|
-
getMap(instance: Component & ITreeGrid): IKeyMap;
|
|
7
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { IDataNavigator, VerticalDirection } from '../zd-grid';
|
|
2
|
-
import { ITreeGrid } from './interfaces';
|
|
3
|
-
export declare class TreeDataNavigator implements IDataNavigator {
|
|
4
|
-
private treeGrid;
|
|
5
|
-
private dataNavigator;
|
|
6
|
-
constructor(treeGrid: ITreeGrid);
|
|
7
|
-
navigateDatasource(direction: VerticalDirection): void;
|
|
8
|
-
navigatePageUp(): void;
|
|
9
|
-
navigatePageDown(): void;
|
|
10
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { IDictionary } from '@zeedhi/core';
|
|
2
|
-
import { ITreeDataSelector, ITreeGrid } from './interfaces';
|
|
3
|
-
export declare class TreeDataSelector implements ITreeDataSelector {
|
|
4
|
-
private treeGrid;
|
|
5
|
-
private dataSelector;
|
|
6
|
-
constructor(treeGrid: ITreeGrid);
|
|
7
|
-
private removeDuplicates;
|
|
8
|
-
selectChildren(row: IDictionary<any>): void;
|
|
9
|
-
unselectChildren(row: IDictionary<any>): void;
|
|
10
|
-
private selectParents;
|
|
11
|
-
private unselectParents;
|
|
12
|
-
selectRow(row: IDictionary<any>, select: boolean): void;
|
|
13
|
-
selectAll(isSelected: boolean): void;
|
|
14
|
-
toggleRow(row: IDictionary): void;
|
|
15
|
-
callDisableSelection(row: IDictionary): boolean;
|
|
16
|
-
selectClick(row: IDictionary<any>, isSelected: boolean, event: Event, element?: HTMLElement): void;
|
|
17
|
-
selectAllClick(isSelected: boolean, event: Event, element?: HTMLElement): void;
|
|
18
|
-
}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { IDictionary, IEventParam } from '@zeedhi/core';
|
|
2
|
-
import { IIterableProps } from '..';
|
|
3
|
-
import { ITreeDataStructure } from '../../utils';
|
|
4
|
-
import { IComponent, IComponentRender } from '../zd-component/interfaces';
|
|
5
|
-
import { Direction, GridColumn, IGrid, IGridColumn, VerticalDirection } from '../zd-grid';
|
|
6
|
-
import { Iterable } from '../zd-iterable/iterable';
|
|
7
|
-
import { ITreeGrid, ITreeGridProps } from './interfaces';
|
|
8
|
-
export declare class TreeGrid extends Iterable<GridColumn> implements ITreeGrid {
|
|
9
|
-
private tableActionBuilder;
|
|
10
|
-
private iterableTable;
|
|
11
|
-
private dataSelector;
|
|
12
|
-
private gridEvents;
|
|
13
|
-
private dataNavigator;
|
|
14
|
-
private viewNavigator;
|
|
15
|
-
private keyMapMerger;
|
|
16
|
-
private iterableTree;
|
|
17
|
-
treeDataStructure: ITreeDataStructure;
|
|
18
|
-
currentColumn: GridColumn | null;
|
|
19
|
-
selectedRows: IDictionary<any>[];
|
|
20
|
-
selectionState: {
|
|
21
|
-
allSelected: boolean;
|
|
22
|
-
except: IDictionary<any>[];
|
|
23
|
-
};
|
|
24
|
-
rowStyleConditions?: (row: IDictionary) => IDictionary;
|
|
25
|
-
selectAllPages: boolean;
|
|
26
|
-
selectable: boolean;
|
|
27
|
-
disableSelection?: (args: {
|
|
28
|
-
row: IDictionary<any>;
|
|
29
|
-
component: IGrid;
|
|
30
|
-
}) => boolean;
|
|
31
|
-
cellSelection: boolean;
|
|
32
|
-
toolbarSlot: IComponentRender[];
|
|
33
|
-
footerSlot: IComponentRender[];
|
|
34
|
-
noResultsText: string;
|
|
35
|
-
noResultSlot: IComponentRender[];
|
|
36
|
-
errorSlot: IComponentRender[];
|
|
37
|
-
dense: boolean;
|
|
38
|
-
dragColumns: boolean;
|
|
39
|
-
headerBackground: string;
|
|
40
|
-
headerCellTextColor: string;
|
|
41
|
-
height: string | number;
|
|
42
|
-
loadingText: string;
|
|
43
|
-
maxHeight: string | number;
|
|
44
|
-
maxWidth: string | number;
|
|
45
|
-
minHeight: string | number;
|
|
46
|
-
minWidth: string | number;
|
|
47
|
-
noDataText: string;
|
|
48
|
-
noDataSlot: IComponentRender[];
|
|
49
|
-
resizeColumns: boolean;
|
|
50
|
-
showFooter: boolean;
|
|
51
|
-
showHeader: boolean;
|
|
52
|
-
showSelectAll: boolean;
|
|
53
|
-
width: string | number;
|
|
54
|
-
backgroundColor: string;
|
|
55
|
-
parentField: string;
|
|
56
|
-
openLevelOnLoad: number | boolean;
|
|
57
|
-
fetchOnDemand: boolean;
|
|
58
|
-
fieldHasChild?: string;
|
|
59
|
-
flat: boolean;
|
|
60
|
-
detach: boolean;
|
|
61
|
-
lazyLoad: boolean;
|
|
62
|
-
constructor(props: ITreeGridProps);
|
|
63
|
-
protected initializeDatasource(props: IIterableProps): void;
|
|
64
|
-
onCreated(): void;
|
|
65
|
-
onMounted(element: HTMLElement): void;
|
|
66
|
-
onBeforeDestroy(): void;
|
|
67
|
-
/**
|
|
68
|
-
* toggleExpand
|
|
69
|
-
*/
|
|
70
|
-
toggleExpand(row: IDictionary<any>, rowIndex?: number): Promise<IDictionary<any>[] | undefined>;
|
|
71
|
-
/**
|
|
72
|
-
* Toggle expand/collapse using navigation keys
|
|
73
|
-
* @param collapse Should collapse
|
|
74
|
-
*/
|
|
75
|
-
navigateToggle(collapse: boolean): void;
|
|
76
|
-
getChildren(row: IDictionary): IDictionary[];
|
|
77
|
-
findDataIndex(data: IDictionary<any>[], value: any): number;
|
|
78
|
-
getParentRow(row: IDictionary): IDictionary;
|
|
79
|
-
buildTreeStructure(): void;
|
|
80
|
-
resetTree(): void;
|
|
81
|
-
filterRootData(): Promise<any>;
|
|
82
|
-
getConditionalProps({ row, column }: {
|
|
83
|
-
row: IDictionary;
|
|
84
|
-
column: GridColumn;
|
|
85
|
-
}): Partial<IComponentRender>;
|
|
86
|
-
navigatePageUp(): void;
|
|
87
|
-
navigatePageDown(): void;
|
|
88
|
-
setViewNavigate(viewNavigate: (direction: Direction, event?: Event) => void): void;
|
|
89
|
-
navigateLeft(params: IEventParam<any>): void;
|
|
90
|
-
navigateRight(params: IEventParam<any>): void;
|
|
91
|
-
navigateUp(): void;
|
|
92
|
-
navigateDown(): void;
|
|
93
|
-
navigateDatasource(direction: VerticalDirection): void;
|
|
94
|
-
createColumn(column: IGridColumn): GridColumn;
|
|
95
|
-
rowClick(row: IDictionary<any>, event: Event, element?: HTMLElement): void;
|
|
96
|
-
cellClick(row: IDictionary<any>, column: GridColumn, event: Event, element?: HTMLElement): void;
|
|
97
|
-
selectClick(row: IDictionary<any>, isSelected: boolean, event: Event, element?: HTMLElement): void;
|
|
98
|
-
selectAllClick(isSelected: boolean, event: Event, element?: HTMLElement): void;
|
|
99
|
-
selectAll(isSelected: boolean): void;
|
|
100
|
-
toggleRow(row: IDictionary): void;
|
|
101
|
-
selectRow(row: IDictionary, select: boolean): void;
|
|
102
|
-
callDisableSelection(row: IDictionary): boolean;
|
|
103
|
-
changeOrder(sortBy: {
|
|
104
|
-
key: string;
|
|
105
|
-
order: 'asc' | 'desc';
|
|
106
|
-
}[]): Promise<void>;
|
|
107
|
-
selectCell(row: IDictionary, column: GridColumn): void;
|
|
108
|
-
reapplyRowStyleConditions(row: IDictionary): IDictionary;
|
|
109
|
-
getRowStyleConditions(row: IDictionary): IDictionary;
|
|
110
|
-
deleteRows(): Promise<any[]>;
|
|
111
|
-
getActionComponent(actionComponent: IComponent, column: GridColumn, row: IDictionary, parentPath?: string): IComponent;
|
|
112
|
-
changeData(data?: IDictionary<any>[]): void;
|
|
113
|
-
selectChildren(row: IDictionary<any>): void;
|
|
114
|
-
unselectChildren(row: IDictionary<any>): void;
|
|
115
|
-
buildTree(doGet?: boolean): void;
|
|
116
|
-
setViewUpdateScrollData(fn: () => void): void;
|
|
117
|
-
updateScrollData(): void;
|
|
118
|
-
updateData(data: IDictionary[]): Promise<any>;
|
|
119
|
-
}
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Alert, IAlert } from '../../components';
|
|
2
|
-
import { IAlertsManager } from './interfaces';
|
|
3
|
-
export declare class AlertQueue implements IAlertsManager {
|
|
4
|
-
protected queue: IAlert[];
|
|
5
|
-
visibleInstances: Alert[];
|
|
6
|
-
show(alert: IAlert): number;
|
|
7
|
-
/**
|
|
8
|
-
* Displays an alert
|
|
9
|
-
* @param alert Alert Structure
|
|
10
|
-
*/
|
|
11
|
-
protected display(alert: IAlert): number;
|
|
12
|
-
remove(index: number): void;
|
|
13
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Alert, IAlert } from '../../components';
|
|
2
|
-
import { IAlertsManager } from './interfaces';
|
|
3
|
-
/**
|
|
4
|
-
* Displays alerts using replace.
|
|
5
|
-
* Only one alert can be visible at a time, and when a new alert is shown,
|
|
6
|
-
* the previous one is instantly removed
|
|
7
|
-
*/
|
|
8
|
-
export declare class AlertReplace implements IAlertsManager {
|
|
9
|
-
protected queue: IAlert[];
|
|
10
|
-
visibleInstances: Alert[];
|
|
11
|
-
show(alert: IAlert): number;
|
|
12
|
-
/**
|
|
13
|
-
* Displays an alert
|
|
14
|
-
* @param alert Alert Structure
|
|
15
|
-
*/
|
|
16
|
-
protected display(alert: IAlert): number;
|
|
17
|
-
remove(index: number): void;
|
|
18
|
-
}
|