dhx-suite 8.3.0 → 8.3.2
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/codebase/suite.d.ts +1 -1
- package/codebase/suite.min.js +3 -3
- package/codebase/suite.min.js.map +1 -1
- package/codebase/types/ts-dataview/sources/types.d.ts +2 -2
- package/codebase/types/ts-grid/sources/ui/editors/editors.d.ts +2 -0
- package/codebase/types/ts-list/sources/types.d.ts +1 -1
- package/package.json +1 -1
- package/readme.txt +1 -1
- package/whatsnew.txt +22 -0
- package/codebase/types/ts-all/sources/entry_pro.d.ts +0 -17
- package/codebase/types/ts-calendar/sources/entry.d.ts +0 -7
- package/codebase/types/ts-calendar/tests/calendar/calendar.d.ts +0 -1
- package/codebase/types/ts-calendar/tests/suite.d.ts +0 -1
- package/codebase/types/ts-chart/sources/entry.d.ts +0 -7
- package/codebase/types/ts-chart/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-chart/tests/Chart.d.ts +0 -1
- package/codebase/types/ts-chart/tests/suite.d.ts +0 -1
- package/codebase/types/ts-colorpicker/sources/entry.d.ts +0 -4
- package/codebase/types/ts-colorpicker/tests/suite.d.ts +0 -0
- package/codebase/types/ts-combobox/sources/entry.d.ts +0 -4
- package/codebase/types/ts-combobox/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-combobox/tests/suite.d.ts +0 -0
- package/codebase/types/ts-common/tests/core.d.ts +0 -1
- package/codebase/types/ts-common/tests/events.d.ts +0 -1
- package/codebase/types/ts-common/tests/html.d.ts +0 -1
- package/codebase/types/ts-common/tests/suite.d.ts +0 -3
- package/codebase/types/ts-data/sources/entry.d.ts +0 -5
- package/codebase/types/ts-data/tests/ajax.d.ts +0 -1
- package/codebase/types/ts-data/tests/drivers.d.ts +0 -1
- package/codebase/types/ts-data/tests/filter.d.ts +0 -1
- package/codebase/types/ts-data/tests/main.d.ts +0 -1
- package/codebase/types/ts-data/tests/move.d.ts +0 -1
- package/codebase/types/ts-data/tests/sort.d.ts +0 -1
- package/codebase/types/ts-data/tests/suite.d.ts +0 -7
- package/codebase/types/ts-data/tests/treecollection.d.ts +0 -1
- package/codebase/types/ts-dataview/sources/entry.d.ts +0 -3
- package/codebase/types/ts-dataview/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-dataview/tests/selections/Selections.d.ts +0 -1
- package/codebase/types/ts-dataview/tests/selections/stubs.d.ts +0 -3
- package/codebase/types/ts-dataview/tests/suite.d.ts +0 -1
- package/codebase/types/ts-diagram/index.d.ts +0 -5
- package/codebase/types/ts-diagram/sources/Diagram.d.ts +0 -32
- package/codebase/types/ts-diagram/sources/ShapesCollection.d.ts +0 -16
- package/codebase/types/ts-diagram/sources/Toolbar.d.ts +0 -16
- package/codebase/types/ts-diagram/sources/entry.d.ts +0 -4
- package/codebase/types/ts-diagram/sources/helpers/Export.d.ts +0 -10
- package/codebase/types/ts-diagram/sources/helpers/Selection.d.ts +0 -14
- package/codebase/types/ts-diagram/sources/helpers/linkPaths.d.ts +0 -8
- package/codebase/types/ts-diagram/sources/helpers/placement.d.ts +0 -6
- package/codebase/types/ts-diagram/sources/locales/en.d.ts +0 -9
- package/codebase/types/ts-diagram/sources/shapes/Base.d.ts +0 -31
- package/codebase/types/ts-diagram/sources/shapes/Connector/Line.d.ts +0 -21
- package/codebase/types/ts-diagram/sources/shapes/Diagram/DiagramCard.d.ts +0 -13
- package/codebase/types/ts-diagram/sources/shapes/Diagram/DiagramImgCard.d.ts +0 -12
- package/codebase/types/ts-diagram/sources/shapes/Diagram/DiagramSvgCard.d.ts +0 -12
- package/codebase/types/ts-diagram/sources/shapes/Diagram/templates.d.ts +0 -4
- package/codebase/types/ts-diagram/sources/shapes/FlowShape.d.ts +0 -90
- package/codebase/types/ts-diagram/sources/shapes/TextShape.d.ts +0 -19
- package/codebase/types/ts-diagram/sources/shapes/factory.d.ts +0 -7
- package/codebase/types/ts-diagram/sources/types.d.ts +0 -161
- package/codebase/types/ts-diagram/tests/stubs.d.ts +0 -25
- package/codebase/types/ts-diagram/tests/suite.d.ts +0 -0
- package/codebase/types/ts-form/sources/elements/proCombo.d.ts +0 -5
- package/codebase/types/ts-form/sources/entry.d.ts +0 -5
- package/codebase/types/ts-form/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-form/tests/elements/button.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/checkbox.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/colorpicker.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/combo.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/container.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/datepicker.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/input.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/radiogroup.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/select.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/simplevault.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/slider.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/textarea.d.ts +0 -1
- package/codebase/types/ts-form/tests/elements/timepicker.d.ts +0 -1
- package/codebase/types/ts-form/tests/form.d.ts +0 -1
- package/codebase/types/ts-form/tests/stubs/stubs.d.ts +0 -4
- package/codebase/types/ts-form/tests/stubs/stubsCheckbox.d.ts +0 -3
- package/codebase/types/ts-form/tests/stubs/stubsColorpicker.d.ts +0 -3
- package/codebase/types/ts-form/tests/stubs/stubsCombo.d.ts +0 -4
- package/codebase/types/ts-form/tests/stubs/stubsDatepicker.d.ts +0 -3
- package/codebase/types/ts-form/tests/stubs/stubsInput.d.ts +0 -3
- package/codebase/types/ts-form/tests/stubs/stubsRadiogroup.d.ts +0 -3
- package/codebase/types/ts-form/tests/stubs/stubsSelect.d.ts +0 -3
- package/codebase/types/ts-form/tests/stubs/stubsSlider.d.ts +0 -4
- package/codebase/types/ts-form/tests/stubs/stubsTimepicker.d.ts +0 -4
- package/codebase/types/ts-form/tests/suite.d.ts +0 -14
- package/codebase/types/ts-grid/sources/entry.d.ts +0 -7
- package/codebase/types/ts-grid/sources/entry_pro.d.ts +0 -3
- package/codebase/types/ts-grid/tests/Grid.d.ts +0 -1
- package/codebase/types/ts-grid/tests/TreeGrid.d.ts +0 -1
- package/codebase/types/ts-grid/tests/stubs.d.ts +0 -83
- package/codebase/types/ts-grid/tests/suite.d.ts +0 -2
- package/codebase/types/ts-helpers/entry.d.ts +0 -0
- package/codebase/types/ts-layout/sources/entry.d.ts +0 -2
- package/codebase/types/ts-layout/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-layout/tests/Layout.d.ts +0 -1
- package/codebase/types/ts-layout/tests/suite.d.ts +0 -1
- package/codebase/types/ts-list/sources/entry.d.ts +0 -3
- package/codebase/types/ts-list/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-list/sources/helpers.d.ts +0 -2
- package/codebase/types/ts-list/tests/selections/Selections.d.ts +0 -1
- package/codebase/types/ts-list/tests/selections/stubs.d.ts +0 -3
- package/codebase/types/ts-list/tests/suite.d.ts +0 -1
- package/codebase/types/ts-menu/sources/entry.d.ts +0 -4
- package/codebase/types/ts-menu/tests/suite.d.ts +0 -0
- package/codebase/types/ts-message/sources/entry.d.ts +0 -6
- package/codebase/types/ts-message/tests/suite.d.ts +0 -0
- package/codebase/types/ts-navbar/tests/suite.d.ts +0 -0
- package/codebase/types/ts-optimus/index.d.ts +0 -2
- package/codebase/types/ts-optimus/sources/DHXApp.d.ts +0 -12
- package/codebase/types/ts-optimus/sources/DHXView.d.ts +0 -11
- package/codebase/types/ts-optimus/sources/EventSystem.d.ts +0 -9
- package/codebase/types/ts-optimus/sources/HTMLCell.d.ts +0 -8
- package/codebase/types/ts-optimus/sources/LocalSession.d.ts +0 -5
- package/codebase/types/ts-optimus/sources/types.d.ts +0 -36
- package/codebase/types/ts-pagination/index.d.ts +0 -2
- package/codebase/types/ts-pagination/sources/Pagination.d.ts +0 -26
- package/codebase/types/ts-pagination/sources/entry.d.ts +0 -3
- package/codebase/types/ts-pagination/sources/types.d.ts +0 -27
- package/codebase/types/ts-pagination/tests/suite.d.ts +0 -0
- package/codebase/types/ts-pivot/index.d.ts +0 -1
- package/codebase/types/ts-pivot/sources/DataPreprocessor.d.ts +0 -29
- package/codebase/types/ts-pivot/sources/DateFormatter.d.ts +0 -29
- package/codebase/types/ts-pivot/sources/Pivot.d.ts +0 -52
- package/codebase/types/ts-pivot/sources/configurator/Configurator.d.ts +0 -40
- package/codebase/types/ts-pivot/sources/entry.d.ts +0 -9
- package/codebase/types/ts-pivot/sources/filters/DateFilter.d.ts +0 -17
- package/codebase/types/ts-pivot/sources/filters/Filter.d.ts +0 -72
- package/codebase/types/ts-pivot/sources/filters/Filters.d.ts +0 -13
- package/codebase/types/ts-pivot/sources/filters/helpers.d.ts +0 -2
- package/codebase/types/ts-pivot/sources/group-module/DataGroup.d.ts +0 -13
- package/codebase/types/ts-pivot/sources/group-module/groupfuncs.d.ts +0 -10
- package/codebase/types/ts-pivot/sources/group-module/types.d.ts +0 -19
- package/codebase/types/ts-pivot/sources/helpers.d.ts +0 -28
- package/codebase/types/ts-pivot/sources/locales/en.d.ts +0 -38
- package/codebase/types/ts-pivot/sources/templates.d.ts +0 -4
- package/codebase/types/ts-pivot/sources/types.d.ts +0 -180
- package/codebase/types/ts-pivot/tests/DataPreprocessor.d.ts +0 -1
- package/codebase/types/ts-pivot/tests/Pivot.d.ts +0 -1
- package/codebase/types/ts-pivot/tests/config-module/Config.d.ts +0 -1
- package/codebase/types/ts-pivot/tests/config-module/stubs.d.ts +0 -80
- package/codebase/types/ts-pivot/tests/filter-module/Filter.d.ts +0 -1
- package/codebase/types/ts-pivot/tests/group-module/DataGroup.d.ts +0 -1
- package/codebase/types/ts-pivot/tests/group-module/groupfuncs.d.ts +0 -1
- package/codebase/types/ts-pivot/tests/group-module/stubs.d.ts +0 -54
- package/codebase/types/ts-pivot/tests/stubs.d.ts +0 -107
- package/codebase/types/ts-pivot/tests/suite.d.ts +0 -6
- package/codebase/types/ts-popup/sources/entry.d.ts +0 -2
- package/codebase/types/ts-popup/tests/suite.d.ts +0 -0
- package/codebase/types/ts-property/index.d.ts +0 -2
- package/codebase/types/ts-property/sources/Property.d.ts +0 -16
- package/codebase/types/ts-property/sources/entry.d.ts +0 -2
- package/codebase/types/ts-property/sources/items/BaseItem.d.ts +0 -16
- package/codebase/types/ts-property/sources/items/Checkbox.d.ts +0 -7
- package/codebase/types/ts-property/sources/items/Colorpicker.d.ts +0 -10
- package/codebase/types/ts-property/sources/items/Combo.d.ts +0 -9
- package/codebase/types/ts-property/sources/items/Label.d.ts +0 -4
- package/codebase/types/ts-property/sources/items/Select.d.ts +0 -5
- package/codebase/types/ts-property/sources/items/Text.d.ts +0 -4
- package/codebase/types/ts-property/sources/items/Textarea.d.ts +0 -4
- package/codebase/types/ts-property/sources/items/helpers.d.ts +0 -2
- package/codebase/types/ts-property/sources/items/index.d.ts +0 -19
- package/codebase/types/ts-property/sources/types.d.ts +0 -47
- package/codebase/types/ts-property/tests/suite.d.ts +0 -0
- package/codebase/types/ts-ribbon/sources/entry.d.ts +0 -4
- package/codebase/types/ts-ribbon/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-ribbon/tests/suite.d.ts +0 -0
- package/codebase/types/ts-richtext/index.d.ts +0 -1
- package/codebase/types/ts-richtext/sources/Manager.d.ts +0 -16
- package/codebase/types/ts-richtext/sources/Richtext.d.ts +0 -36
- package/codebase/types/ts-richtext/sources/SelectionHelper.d.ts +0 -30
- package/codebase/types/ts-richtext/sources/constants.d.ts +0 -44
- package/codebase/types/ts-richtext/sources/entry.d.ts +0 -3
- package/codebase/types/ts-richtext/sources/helpers/buffer.d.ts +0 -10
- package/codebase/types/ts-richtext/sources/helpers/composition.d.ts +0 -2
- package/codebase/types/ts-richtext/sources/helpers/link.d.ts +0 -40
- package/codebase/types/ts-richtext/sources/helpers/markdown.d.ts +0 -2
- package/codebase/types/ts-richtext/sources/helpers/minimizer.d.ts +0 -19
- package/codebase/types/ts-richtext/sources/helpers/other.d.ts +0 -13
- package/codebase/types/ts-richtext/sources/helpers/parser.d.ts +0 -1
- package/codebase/types/ts-richtext/sources/helpers/scroll.d.ts +0 -10
- package/codebase/types/ts-richtext/sources/helpers/selection.d.ts +0 -10
- package/codebase/types/ts-richtext/sources/helpers/serializer.d.ts +0 -2
- package/codebase/types/ts-richtext/sources/helpers/statistics.d.ts +0 -7
- package/codebase/types/ts-richtext/sources/helpers/styles.d.ts +0 -10
- package/codebase/types/ts-richtext/sources/helpers/toolbar.d.ts +0 -21
- package/codebase/types/ts-richtext/sources/keyhandler.d.ts +0 -26
- package/codebase/types/ts-richtext/sources/locales/en.d.ts +0 -35
- package/codebase/types/ts-richtext/sources/models/Block.d.ts +0 -27
- package/codebase/types/ts-richtext/sources/models/Editor.d.ts +0 -61
- package/codebase/types/ts-richtext/sources/models/TextNode.d.ts +0 -16
- package/codebase/types/ts-richtext/sources/types.d.ts +0 -143
- package/codebase/types/ts-richtext/tests/block.d.ts +0 -1
- package/codebase/types/ts-richtext/tests/editor.d.ts +0 -1
- package/codebase/types/ts-richtext/tests/suite.d.ts +0 -3
- package/codebase/types/ts-richtext/tests/textnode.d.ts +0 -1
- package/codebase/types/ts-samplegen/index.d.ts +0 -1
- package/codebase/types/ts-samplegen/sources/SampleGenerator.d.ts +0 -20
- package/codebase/types/ts-samplegen/sources/entry.d.ts +0 -2
- package/codebase/types/ts-samplegen/tests/suite.d.ts +0 -0
- package/codebase/types/ts-scheduler/index.d.ts +0 -1
- package/codebase/types/ts-scheduler/sources/Scheduler.d.ts +0 -18
- package/codebase/types/ts-scheduler/sources/entry.d.ts +0 -2
- package/codebase/types/ts-scheduler/sources/helpers/scales.d.ts +0 -1
- package/codebase/types/ts-scheduler/sources/helpers/topbar.d.ts +0 -1
- package/codebase/types/ts-scheduler/sources/views/Agenda.d.ts +0 -6
- package/codebase/types/ts-scheduler/sources/views/Base.d.ts +0 -3
- package/codebase/types/ts-scheduler/sources/views/Cols.d.ts +0 -8
- package/codebase/types/ts-scheduler/sources/views/Day.d.ts +0 -4
- package/codebase/types/ts-scheduler/sources/views/Month.d.ts +0 -8
- package/codebase/types/ts-scheduler/sources/views/Week.d.ts +0 -4
- package/codebase/types/ts-scheduler/sources/views/index.d.ts +0 -11
- package/codebase/types/ts-scheduler/tests/suite.d.ts +0 -0
- package/codebase/types/ts-sidebar/sources/entry.d.ts +0 -3
- package/codebase/types/ts-sidebar/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-sidebar/tests/suite.d.ts +0 -0
- package/codebase/types/ts-slider/sources/entry.d.ts +0 -2
- package/codebase/types/ts-slider/tests/suite.d.ts +0 -0
- package/codebase/types/ts-tabbar/sources/entry.d.ts +0 -2
- package/codebase/types/ts-tabbar/tests/suite.d.ts +0 -0
- package/codebase/types/ts-theme/entry.d.ts +0 -0
- package/codebase/types/ts-timepicker/sources/entry.d.ts +0 -3
- package/codebase/types/ts-timepicker/tests/suite.d.ts +0 -0
- package/codebase/types/ts-toolbar/sources/entry.d.ts +0 -4
- package/codebase/types/ts-toolbar/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-toolbar/tests/suite.d.ts +0 -0
- package/codebase/types/ts-tree/sources/entry.d.ts +0 -6
- package/codebase/types/ts-tree/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-tree/tests/suite.d.ts +0 -0
- package/codebase/types/ts-treegrid/index.d.ts +0 -3
- package/codebase/types/ts-treegrid/sources/TreeGrid.d.ts +0 -30
- package/codebase/types/ts-treegrid/sources/TreeGridCollection.d.ts +0 -20
- package/codebase/types/ts-treegrid/sources/entry.d.ts +0 -7
- package/codebase/types/ts-treegrid/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-treegrid/sources/types.d.ts +0 -32
- package/codebase/types/ts-treegrid/tests/Grid.d.ts +0 -1
- package/codebase/types/ts-treegrid/tests/TreeGrid.d.ts +0 -1
- package/codebase/types/ts-treegrid/tests/stubs.d.ts +0 -83
- package/codebase/types/ts-treegrid/tests/suite.d.ts +0 -2
- package/codebase/types/ts-ui-kit/index.d.ts +0 -0
- package/codebase/types/ts-ui-kit/sources/entry.d.ts +0 -1
- package/codebase/types/ts-ui-kit/tests/suite.d.ts +0 -0
- package/codebase/types/ts-vault/sources/entry.d.ts +0 -6
- package/codebase/types/ts-vault/tests/suite.d.ts +0 -0
- package/codebase/types/ts-window/sources/entry.d.ts +0 -2
- package/codebase/types/ts-window/sources/entry_pro.d.ts +0 -2
- package/codebase/types/ts-window/tests/suite.d.ts +0 -0
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { DataCollection, DataEvents, IDataEventsHandlersMap } from "../../ts-data";
|
|
2
|
-
import { IEventSystem } from "../../ts-common/events";
|
|
3
|
-
export interface IPagination {
|
|
4
|
-
data: DataCollection;
|
|
5
|
-
config: IPaginationConfig;
|
|
6
|
-
events: IEventSystem<DataEvents | PaginationEvents, IDataEventsHandlersMap & IPaginationEventHandlersMap>;
|
|
7
|
-
destructor(): void;
|
|
8
|
-
setPage(page: number): void;
|
|
9
|
-
getPage(): number;
|
|
10
|
-
setPageSize(size: number): void;
|
|
11
|
-
getPageSize(): number;
|
|
12
|
-
getPagesCount(): number;
|
|
13
|
-
}
|
|
14
|
-
export interface IPaginationConfig {
|
|
15
|
-
data: DataCollection;
|
|
16
|
-
css?: string;
|
|
17
|
-
page?: number;
|
|
18
|
-
pageSize?: number;
|
|
19
|
-
inputWidth?: number;
|
|
20
|
-
}
|
|
21
|
-
export declare enum PaginationEvents {
|
|
22
|
-
change = "change"
|
|
23
|
-
}
|
|
24
|
-
export interface IPaginationEventHandlersMap {
|
|
25
|
-
[key: string]: (...args: any[]) => any;
|
|
26
|
-
[PaginationEvents.change]: (index: number, previousIndex: number) => void;
|
|
27
|
-
}
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./sources/Pivot";
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { IDataPreprocessor, IField, IFilterMeta, IParsedPivotConfig, IPivotConfig, IPivotData, IPivotFields } from "./types";
|
|
2
|
-
export declare class DataPreprocessor implements IDataPreprocessor {
|
|
3
|
-
private _filters;
|
|
4
|
-
private _subFields;
|
|
5
|
-
private _globalFilter;
|
|
6
|
-
private _fields;
|
|
7
|
-
constructor();
|
|
8
|
-
setFilterValue(fieldId: string, meta: IFilterMeta): void;
|
|
9
|
-
setFiltersValues(filtersMeta: any): void;
|
|
10
|
-
getFilterValue(fieldId: string): IFilterMeta;
|
|
11
|
-
getFiltersValues(): any;
|
|
12
|
-
clearFiltersValues(): void;
|
|
13
|
-
setGlobalFilter(handler?: any): void;
|
|
14
|
-
addSubField(name: string, functor: any, label: string): void;
|
|
15
|
-
normalizeConfig(config: IPivotConfig): IParsedPivotConfig;
|
|
16
|
-
normalizeData(data: IPivotData, fieldList: any): any[];
|
|
17
|
-
normalizeFields(config: any): void;
|
|
18
|
-
getData(data: any[], fields: IPivotFields): any[];
|
|
19
|
-
getPureFields(fields: IPivotFields): {
|
|
20
|
-
columns: IField[];
|
|
21
|
-
rows: IField[];
|
|
22
|
-
values: import("./types").IValue[];
|
|
23
|
-
};
|
|
24
|
-
private _parseDates;
|
|
25
|
-
private _parseAliases;
|
|
26
|
-
private _checkAliases;
|
|
27
|
-
private _checkData;
|
|
28
|
-
private _callGroupMethod;
|
|
29
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export type IStrToDate = (date: string) => Date;
|
|
2
|
-
export type IDateToStr = (date: Date) => string;
|
|
3
|
-
export type IDateAdd = (date: Date, inc: number, mode: string) => Date;
|
|
4
|
-
export declare class DateFormatter {
|
|
5
|
-
locale: any;
|
|
6
|
-
startOnMonday: boolean;
|
|
7
|
-
private _len;
|
|
8
|
-
private custom;
|
|
9
|
-
constructor();
|
|
10
|
-
date_part(date: Date): Date;
|
|
11
|
-
time_part(date: Date): number;
|
|
12
|
-
week_start(date: Date): Date;
|
|
13
|
-
month_start(date: Date): Date;
|
|
14
|
-
month_end(date: Date): Date;
|
|
15
|
-
year_start(date: Date): Date;
|
|
16
|
-
day_start(date: Date): Date;
|
|
17
|
-
length(a: Date, b: Date, unit: string): number;
|
|
18
|
-
_add_days(date: Date, inc: number): Date;
|
|
19
|
-
registerCustomMode(name: string, handler: IDateAdd): void;
|
|
20
|
-
add(date: Date, inc: number, mode: string): Date;
|
|
21
|
-
to_fixed(num: number): string;
|
|
22
|
-
copy(date: Date): Date;
|
|
23
|
-
date_to_str(format: string, utc?: boolean): IDateToStr;
|
|
24
|
-
str_to_date(format: string, utc?: boolean): IStrToDate;
|
|
25
|
-
getISOWeek(ndate: Date): number;
|
|
26
|
-
getUTCISOWeek(ndate: Date): number;
|
|
27
|
-
convert_to_utc(date: Date): Date;
|
|
28
|
-
getQuarter(d: Date): number;
|
|
29
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { IEventSystem } from "../../ts-common/events";
|
|
2
|
-
import { View } from "../../ts-common/view";
|
|
3
|
-
import { IFilterMeta, IParsedPivotConfig, IPivotBase, IPivotConfig, IPivotData, IPivotFields, mathMethod, PivotEvents } from "./types";
|
|
4
|
-
export declare class Pivot extends View implements IPivotBase {
|
|
5
|
-
config: IParsedPivotConfig;
|
|
6
|
-
events: IEventSystem<PivotEvents>;
|
|
7
|
-
private _configurator;
|
|
8
|
-
private _grid;
|
|
9
|
-
private _dataPrep;
|
|
10
|
-
private _isSettingsHidden;
|
|
11
|
-
private _htmlEvents;
|
|
12
|
-
constructor(container: HTMLElement | string, config: IPivotConfig);
|
|
13
|
-
setFields(fields: IPivotFields): void;
|
|
14
|
-
getFields(): IPivotFields;
|
|
15
|
-
getConfig(): IPivotConfig;
|
|
16
|
-
load(url: string, type?: string): Promise<void>;
|
|
17
|
-
setData(data: IPivotData, type?: any): void;
|
|
18
|
-
addMathMethod(id: string, label: string, func: mathMethod): void;
|
|
19
|
-
addSubField(name: string, functor: any, label: string): void;
|
|
20
|
-
setFilterValue(field: string, meta: IFilterMeta): void;
|
|
21
|
-
setFiltersValues(filters: {
|
|
22
|
-
[key: string]: IFilterMeta;
|
|
23
|
-
}): void;
|
|
24
|
-
getFilterValue(fieldId: string): IFilterMeta;
|
|
25
|
-
getFiltersValues(): any;
|
|
26
|
-
clearFiltersValues(): void;
|
|
27
|
-
setGlobalFilter(handler?: any): void;
|
|
28
|
-
addFilter(): void;
|
|
29
|
-
removeFilter(): void;
|
|
30
|
-
getFilter(): void;
|
|
31
|
-
export(url: any): {
|
|
32
|
-
name: string;
|
|
33
|
-
columns: any[];
|
|
34
|
-
header: any[][];
|
|
35
|
-
data: string[][];
|
|
36
|
-
styles: {
|
|
37
|
-
cells: any[];
|
|
38
|
-
css: {
|
|
39
|
-
default: {
|
|
40
|
-
color: string;
|
|
41
|
-
background: string;
|
|
42
|
-
fontSize: number;
|
|
43
|
-
bold: boolean;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
private _setEventsHandlers;
|
|
49
|
-
private _render;
|
|
50
|
-
private _update;
|
|
51
|
-
private _init;
|
|
52
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { IEventSystem } from "../../../ts-common/events";
|
|
2
|
-
import { IPivotFields, PivotEvents } from "./../types";
|
|
3
|
-
export declare const types: {
|
|
4
|
-
operations: {
|
|
5
|
-
id: string;
|
|
6
|
-
label: string;
|
|
7
|
-
}[];
|
|
8
|
-
dates: {
|
|
9
|
-
id: string;
|
|
10
|
-
label: string;
|
|
11
|
-
}[];
|
|
12
|
-
};
|
|
13
|
-
export declare class Configurator {
|
|
14
|
-
config: any;
|
|
15
|
-
events: IEventSystem<PivotEvents>;
|
|
16
|
-
private _pivot;
|
|
17
|
-
private _pressedItem;
|
|
18
|
-
private _pressedCoords;
|
|
19
|
-
private _isDragStart;
|
|
20
|
-
private _dropArea;
|
|
21
|
-
private _changeItem;
|
|
22
|
-
private _htmlEvents;
|
|
23
|
-
private _filters;
|
|
24
|
-
constructor(pivot: any, config: any);
|
|
25
|
-
getField(name: string): any;
|
|
26
|
-
setFields(fields: IPivotFields): void;
|
|
27
|
-
getFields(): IPivotFields;
|
|
28
|
-
getShadow(): any;
|
|
29
|
-
setPressedItem(ev: any, id: string, node: HTMLElement): void;
|
|
30
|
-
private _getFieldObj;
|
|
31
|
-
private _handleMouseMove;
|
|
32
|
-
private _handleMouseup;
|
|
33
|
-
private _getItem;
|
|
34
|
-
private _moveItem;
|
|
35
|
-
private _deleteItem;
|
|
36
|
-
private _updateFields;
|
|
37
|
-
private _getSelectorType;
|
|
38
|
-
private _getSelector;
|
|
39
|
-
private _toggleSelector;
|
|
40
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const i18n: any;
|
|
2
|
-
import "../../styles/pivot.scss";
|
|
3
|
-
export { Pivot } from "./Pivot";
|
|
4
|
-
import { CsvDriver, DataProxy, JsonDriver } from "../../ts-data";
|
|
5
|
-
export declare const data: {
|
|
6
|
-
CsvDriver: typeof CsvDriver;
|
|
7
|
-
JsonDriver: typeof JsonDriver;
|
|
8
|
-
Proxy: typeof DataProxy;
|
|
9
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { IDateFilterMeta } from "./../types";
|
|
2
|
-
import { Filter } from "./Filter";
|
|
3
|
-
export declare class DateFilter extends Filter {
|
|
4
|
-
protected _format: any;
|
|
5
|
-
protected mask: any;
|
|
6
|
-
protected placeholder: any;
|
|
7
|
-
protected _meta: IDateFilterMeta;
|
|
8
|
-
protected _inputTimeout: any;
|
|
9
|
-
constructor(config: any);
|
|
10
|
-
protected _checkInputText(e: any, inputId: string): void;
|
|
11
|
-
protected _validateInput(val: any): any;
|
|
12
|
-
protected _createMask(): void;
|
|
13
|
-
protected _setMeta(oldMeta: IDateFilterMeta): void;
|
|
14
|
-
protected _getFilterInput(): any;
|
|
15
|
-
protected _formatLabel(label: any): any;
|
|
16
|
-
protected _getCheckboxData(): any[];
|
|
17
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { View } from "../../../ts-common/view";
|
|
2
|
-
import { Popup } from "../../../ts-popup";
|
|
3
|
-
import { IField, IFilterMeta } from "../types";
|
|
4
|
-
export declare const operations: {
|
|
5
|
-
string: {
|
|
6
|
-
ct: {
|
|
7
|
-
name: () => string;
|
|
8
|
-
handler: (item: string, str: string) => boolean;
|
|
9
|
-
};
|
|
10
|
-
nct: {
|
|
11
|
-
name: () => string;
|
|
12
|
-
handler: (item: string, str: string) => boolean;
|
|
13
|
-
};
|
|
14
|
-
eq: {
|
|
15
|
-
name: () => string;
|
|
16
|
-
handler: (item: string, str: string) => boolean;
|
|
17
|
-
};
|
|
18
|
-
neq: {
|
|
19
|
-
name: () => string;
|
|
20
|
-
handler: (item: string, str: string) => boolean;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
number: {
|
|
24
|
-
lt: {
|
|
25
|
-
name: () => string;
|
|
26
|
-
handler: (item: number, inpVal: number) => boolean;
|
|
27
|
-
};
|
|
28
|
-
gt: {
|
|
29
|
-
name: () => string;
|
|
30
|
-
handler: (item: number, inpVal: number) => boolean;
|
|
31
|
-
};
|
|
32
|
-
leq: {
|
|
33
|
-
name: () => string;
|
|
34
|
-
handler: (item: number, inpVal: number) => boolean;
|
|
35
|
-
};
|
|
36
|
-
geq: {
|
|
37
|
-
name: () => string;
|
|
38
|
-
handler: (item: number, inpVal: number) => boolean;
|
|
39
|
-
};
|
|
40
|
-
eq: {
|
|
41
|
-
name: () => string;
|
|
42
|
-
handler: (item: number, inpVal: number) => boolean;
|
|
43
|
-
};
|
|
44
|
-
neq: {
|
|
45
|
-
name: () => string;
|
|
46
|
-
handler: (item: number, inpVal: number) => boolean;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
export declare class Filter extends View {
|
|
51
|
-
config: any;
|
|
52
|
-
protected _meta: IFilterMeta;
|
|
53
|
-
protected _htmlEvents: any;
|
|
54
|
-
protected _inputTimeout: any;
|
|
55
|
-
protected _data: any[];
|
|
56
|
-
protected _item: IField;
|
|
57
|
-
protected _popup: Popup;
|
|
58
|
-
constructor(config: any);
|
|
59
|
-
setMeta(item: IField, meta: IFilterMeta, uniqueData: any[]): void;
|
|
60
|
-
getMeta(): IFilterMeta;
|
|
61
|
-
show(node: HTMLElement): void;
|
|
62
|
-
hide(): void;
|
|
63
|
-
protected _setMeta(oldMeta: IFilterMeta): void;
|
|
64
|
-
protected _checkHandler(checkbox: any): void;
|
|
65
|
-
protected _validateInput(val: any): boolean;
|
|
66
|
-
protected _getContent(): any;
|
|
67
|
-
protected _getOperations(type?: string): any[];
|
|
68
|
-
protected _getFilterInput(): any;
|
|
69
|
-
protected _formatLabel(label: any): any;
|
|
70
|
-
protected _getCheckboxData(): any[];
|
|
71
|
-
protected _getCheckboxes(): any;
|
|
72
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IEventSystem } from "../../../ts-common/events";
|
|
2
|
-
import { IField, IFilterMeta, PivotEvents } from "../types";
|
|
3
|
-
import { DateFilter } from "./DateFilter";
|
|
4
|
-
import { Filter } from "./Filter";
|
|
5
|
-
export declare function getFilterHandler(meta: IFilterMeta, field: IField): (item: any) => boolean;
|
|
6
|
-
export declare class Filters {
|
|
7
|
-
events: IEventSystem<PivotEvents>;
|
|
8
|
-
private _filter;
|
|
9
|
-
constructor(events: IEventSystem<PivotEvents>);
|
|
10
|
-
getFilter(item: IField, coords: any, data: any[], oldMeta: IFilterMeta): void;
|
|
11
|
-
protected _getFilter(type: string): DateFilter | Filter;
|
|
12
|
-
protected _getFieldType(fieldData: any[]): "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function";
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IParsedPivotConfig } from "./../types";
|
|
2
|
-
export declare function getValue(obj: any, key: string, fallback?: any): any;
|
|
3
|
-
export declare function getGridData(config: IParsedPivotConfig, data: any[]): {
|
|
4
|
-
headers: {
|
|
5
|
-
header: any[];
|
|
6
|
-
footer: {
|
|
7
|
-
text: string;
|
|
8
|
-
}[];
|
|
9
|
-
width: any;
|
|
10
|
-
id: number;
|
|
11
|
-
}[];
|
|
12
|
-
groupedData: any[];
|
|
13
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ICell } from "./types";
|
|
2
|
-
export declare function getUnique(data: ICell[][], field: string, dir: string): any[];
|
|
3
|
-
export declare const mathMethods: {
|
|
4
|
-
sum: (data: any[]) => any;
|
|
5
|
-
min: (data: any[]) => any;
|
|
6
|
-
max: (data: any[]) => any;
|
|
7
|
-
count: (data: any[]) => number;
|
|
8
|
-
};
|
|
9
|
-
export declare function setDefaultFormat(format: any): void;
|
|
10
|
-
export declare function methods(data: any[], field: string, method: string): any;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ILayout, IPivotFields } from "./../types";
|
|
2
|
-
export { IField } from "./../types";
|
|
3
|
-
export interface IHeaderCell {
|
|
4
|
-
id: string | number;
|
|
5
|
-
width?: number;
|
|
6
|
-
text?: string | null;
|
|
7
|
-
colspan?: number;
|
|
8
|
-
header?: any;
|
|
9
|
-
}
|
|
10
|
-
export interface IConfig {
|
|
11
|
-
data: any[];
|
|
12
|
-
fields: IPivotFields;
|
|
13
|
-
layout?: ILayout;
|
|
14
|
-
mark?: any;
|
|
15
|
-
}
|
|
16
|
-
export interface ICell {
|
|
17
|
-
$keyArr: string[];
|
|
18
|
-
id?: any;
|
|
19
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { DateFormatter } from "./DateFormatter";
|
|
2
|
-
import { IField } from "./types";
|
|
3
|
-
export declare const dateFormatter: DateFormatter;
|
|
4
|
-
export declare const groupMethods: {
|
|
5
|
-
dateByDay: (val: any) => {
|
|
6
|
-
id: string;
|
|
7
|
-
label: string;
|
|
8
|
-
};
|
|
9
|
-
dateByMonth: (val: any) => {
|
|
10
|
-
id: string;
|
|
11
|
-
label: string;
|
|
12
|
-
};
|
|
13
|
-
dateByQuarter: (val: any) => {
|
|
14
|
-
id: string;
|
|
15
|
-
label: string;
|
|
16
|
-
};
|
|
17
|
-
dateByWeek: (val: any) => {
|
|
18
|
-
id: string;
|
|
19
|
-
label: string;
|
|
20
|
-
};
|
|
21
|
-
dateByYear: (val: any) => {
|
|
22
|
-
id: string;
|
|
23
|
-
label: string;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
export declare function strToDate(val: any, format?: string): Date;
|
|
27
|
-
export declare function dateToStr(val: any, format: string): string;
|
|
28
|
-
export declare function getUniqueFieldData(field: IField, data: any[]): any[];
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
declare const en: {
|
|
2
|
-
availableFields: string;
|
|
3
|
-
values: string;
|
|
4
|
-
columns: string;
|
|
5
|
-
rows: string;
|
|
6
|
-
moveFieldsHere: string;
|
|
7
|
-
hideSettings: string;
|
|
8
|
-
showSettings: string;
|
|
9
|
-
apply: string;
|
|
10
|
-
day: string;
|
|
11
|
-
week: string;
|
|
12
|
-
month: string;
|
|
13
|
-
quarter: string;
|
|
14
|
-
year: string;
|
|
15
|
-
min: string;
|
|
16
|
-
max: string;
|
|
17
|
-
sum: string;
|
|
18
|
-
count: string;
|
|
19
|
-
equal: string;
|
|
20
|
-
notEqual: string;
|
|
21
|
-
contains: string;
|
|
22
|
-
notContains: string;
|
|
23
|
-
typeHere: string;
|
|
24
|
-
selectAll: string;
|
|
25
|
-
unselectAll: string;
|
|
26
|
-
cancel: string;
|
|
27
|
-
ok: string;
|
|
28
|
-
total: string;
|
|
29
|
-
date: {
|
|
30
|
-
monthFull: string[];
|
|
31
|
-
monthShort: string[];
|
|
32
|
-
dayFull: string[];
|
|
33
|
-
dayShort: string[];
|
|
34
|
-
quarter: string[];
|
|
35
|
-
week: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
export default en;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Configurator } from "./configurator/Configurator";
|
|
2
|
-
import { IPivotConfig } from "./types";
|
|
3
|
-
export declare function getHeader(config: IPivotConfig, configurator: Configurator, isHidden: boolean): any;
|
|
4
|
-
export declare function getBody(config: IPivotConfig, configurator: Configurator, grid: any, isHidden: boolean): any;
|
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
export type Template = (text: string, field: IField) => string;
|
|
2
|
-
export type CellTemplate = (text: string, row: any, col: any) => string;
|
|
3
|
-
export interface IField {
|
|
4
|
-
id: string;
|
|
5
|
-
label?: string;
|
|
6
|
-
type?: string;
|
|
7
|
-
group?: string;
|
|
8
|
-
method?: string;
|
|
9
|
-
format?: string;
|
|
10
|
-
inputFormat?: string;
|
|
11
|
-
sortDir?: string;
|
|
12
|
-
template?: Template;
|
|
13
|
-
cellTemplate?: CellTemplate;
|
|
14
|
-
aliases?: {
|
|
15
|
-
[key: string]: {
|
|
16
|
-
[key: string]: string | number;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
$filter?: boolean;
|
|
20
|
-
$uid?: string;
|
|
21
|
-
$field?: string;
|
|
22
|
-
}
|
|
23
|
-
export interface IValue extends IField {
|
|
24
|
-
id: string;
|
|
25
|
-
method: string;
|
|
26
|
-
label?: string;
|
|
27
|
-
}
|
|
28
|
-
export interface ITypes {
|
|
29
|
-
operations?: Array<{
|
|
30
|
-
id: string;
|
|
31
|
-
label: string;
|
|
32
|
-
}>;
|
|
33
|
-
dates?: Array<{
|
|
34
|
-
id: string;
|
|
35
|
-
label: string;
|
|
36
|
-
}>;
|
|
37
|
-
}
|
|
38
|
-
export interface IRawPivotFields {
|
|
39
|
-
columns: Array<IField | string>;
|
|
40
|
-
values: IValue[];
|
|
41
|
-
rows: Array<IField | string>;
|
|
42
|
-
}
|
|
43
|
-
export interface IPivotFields extends IRawPivotFields {
|
|
44
|
-
columns: IField[];
|
|
45
|
-
rows: IField[];
|
|
46
|
-
values: IValue[];
|
|
47
|
-
free?: IField[];
|
|
48
|
-
}
|
|
49
|
-
export interface IPivotConfig {
|
|
50
|
-
data: any[];
|
|
51
|
-
fields: IRawPivotFields;
|
|
52
|
-
fieldList: IField[];
|
|
53
|
-
types?: ITypes;
|
|
54
|
-
layout?: ILayout;
|
|
55
|
-
mark?: IMark | MarkFunction;
|
|
56
|
-
dataFormat?: any;
|
|
57
|
-
customFormat?: any;
|
|
58
|
-
}
|
|
59
|
-
type MarkFunction = (cell: any, columnCells: any[], row: any, column: any) => string;
|
|
60
|
-
export interface IMark {
|
|
61
|
-
min?: string;
|
|
62
|
-
max?: string;
|
|
63
|
-
}
|
|
64
|
-
export interface IParsedPivotConfig extends IPivotConfig {
|
|
65
|
-
fields: IPivotFields;
|
|
66
|
-
}
|
|
67
|
-
export interface ILayout {
|
|
68
|
-
leftMargin?: number;
|
|
69
|
-
gridOnly?: boolean;
|
|
70
|
-
readonly?: boolean;
|
|
71
|
-
liveReload?: boolean;
|
|
72
|
-
rowsHeadersWidth?: number | "auto";
|
|
73
|
-
rowsWidth?: number;
|
|
74
|
-
columnsWidth?: number | "auto";
|
|
75
|
-
fieldsCloseBtn?: boolean;
|
|
76
|
-
showFilters?: boolean;
|
|
77
|
-
footer?: boolean;
|
|
78
|
-
}
|
|
79
|
-
export type mathMethod = (cellData: number[]) => number | null;
|
|
80
|
-
export interface IPivotBase {
|
|
81
|
-
getFields(): IPivotFields;
|
|
82
|
-
setData(data: any[]): void;
|
|
83
|
-
paint(): void;
|
|
84
|
-
addMathMethod(id: string, label: string, func: mathMethod): void;
|
|
85
|
-
setFilterValue(fieldId: string, meta: IFilterMeta): any;
|
|
86
|
-
getFilterValue(fieldId: string): IFilterMeta;
|
|
87
|
-
setFiltersValues(filters: {
|
|
88
|
-
[key: string]: IFilterMeta;
|
|
89
|
-
}): any;
|
|
90
|
-
getFiltersValues(): any;
|
|
91
|
-
getConfig(): IPivotConfig;
|
|
92
|
-
}
|
|
93
|
-
interface IPivotLocalization {
|
|
94
|
-
availableFields: string;
|
|
95
|
-
data: string;
|
|
96
|
-
columns: string;
|
|
97
|
-
rows: string;
|
|
98
|
-
moveFieldsHere: string;
|
|
99
|
-
hideSettings: string;
|
|
100
|
-
showSettings: string;
|
|
101
|
-
apply: string;
|
|
102
|
-
day: string;
|
|
103
|
-
month: string;
|
|
104
|
-
quarter: string;
|
|
105
|
-
year: string;
|
|
106
|
-
min: string;
|
|
107
|
-
max: string;
|
|
108
|
-
sum: string;
|
|
109
|
-
count: string;
|
|
110
|
-
date: any;
|
|
111
|
-
}
|
|
112
|
-
export interface IDHXGlobal {
|
|
113
|
-
i18n: {
|
|
114
|
-
pivot: IPivotLocalization;
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
export interface IDataPreprocessor {
|
|
118
|
-
getData(data: any[], fields: IPivotFields): any[];
|
|
119
|
-
}
|
|
120
|
-
export interface IExportConfig {
|
|
121
|
-
name?: string;
|
|
122
|
-
url?: string;
|
|
123
|
-
}
|
|
124
|
-
export interface IPivotRichData {
|
|
125
|
-
aliases?: {
|
|
126
|
-
[key: string]: {
|
|
127
|
-
[key: string]: string | number;
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
data?: any[];
|
|
131
|
-
}
|
|
132
|
-
export type IPivotData = IPivotRichData | string[] | any;
|
|
133
|
-
export interface IPopup {
|
|
134
|
-
attachEvent(name: string, callback: any): any;
|
|
135
|
-
detachEvent(name: string): any;
|
|
136
|
-
callEvent(name: string, args: any[]): any;
|
|
137
|
-
addDomEvent(name: string): any;
|
|
138
|
-
removeDomEvent(name: string): any;
|
|
139
|
-
show(node: HTMLElement): any;
|
|
140
|
-
hide(): any;
|
|
141
|
-
}
|
|
142
|
-
export type IFilterType = "string" | "number" | "date";
|
|
143
|
-
export interface IFilterMeta {
|
|
144
|
-
operation?: string;
|
|
145
|
-
filter?: string | {
|
|
146
|
-
from: string;
|
|
147
|
-
to: string;
|
|
148
|
-
};
|
|
149
|
-
values?: string[];
|
|
150
|
-
}
|
|
151
|
-
export interface IDateFilterMeta extends IFilterMeta {
|
|
152
|
-
filter?: {
|
|
153
|
-
from: string;
|
|
154
|
-
to: string;
|
|
155
|
-
};
|
|
156
|
-
type: string;
|
|
157
|
-
inputFormat?: string;
|
|
158
|
-
}
|
|
159
|
-
export interface IFilterPopup extends IPopup {
|
|
160
|
-
getFilter(): IFilterMeta;
|
|
161
|
-
setFilter(meta: IFilterMeta): any;
|
|
162
|
-
setOptions(data: any[]): any;
|
|
163
|
-
isActive(): boolean;
|
|
164
|
-
}
|
|
165
|
-
export interface IFilterInfo {
|
|
166
|
-
handler: (value: any) => boolean;
|
|
167
|
-
meta?: IFilterMeta;
|
|
168
|
-
}
|
|
169
|
-
export interface IPos {
|
|
170
|
-
top: number;
|
|
171
|
-
left: number;
|
|
172
|
-
}
|
|
173
|
-
export declare enum PivotEvents {
|
|
174
|
-
itemClick = "itemClick",
|
|
175
|
-
apply = "apply",
|
|
176
|
-
change = "change",
|
|
177
|
-
update = "update",
|
|
178
|
-
filterApply = "filterApply"
|
|
179
|
-
}
|
|
180
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|