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,161 +0,0 @@
|
|
|
1
|
-
import { Id } from "../../ts-common/types";
|
|
2
|
-
type textAlign = "left" | "center" | "right";
|
|
3
|
-
type textVerticalAlign = "top" | "center" | "bottom";
|
|
4
|
-
type strokeType = "line" | "dash" | any;
|
|
5
|
-
type arrows = "filled" | any;
|
|
6
|
-
type connectType = "straight" | "curved" | "elbow";
|
|
7
|
-
type fontStyle = "normal" | "italic" | "oblique";
|
|
8
|
-
export { SelectionEvents } from "../../ts-common/types";
|
|
9
|
-
export interface IItemConfig {
|
|
10
|
-
id?: Id;
|
|
11
|
-
type?: string;
|
|
12
|
-
parent?: string;
|
|
13
|
-
img?: string;
|
|
14
|
-
x?: number;
|
|
15
|
-
y?: number;
|
|
16
|
-
dx?: number;
|
|
17
|
-
dy?: number;
|
|
18
|
-
height?: number;
|
|
19
|
-
width?: number;
|
|
20
|
-
angle?: number;
|
|
21
|
-
text?: string;
|
|
22
|
-
title?: string;
|
|
23
|
-
css?: string;
|
|
24
|
-
color?: string;
|
|
25
|
-
hidden?: boolean;
|
|
26
|
-
from?: string;
|
|
27
|
-
to?: string;
|
|
28
|
-
points?: ICoords[];
|
|
29
|
-
fill?: string;
|
|
30
|
-
stroke?: string;
|
|
31
|
-
extraLinesStroke?: string;
|
|
32
|
-
strokeWidth?: number;
|
|
33
|
-
strokeType?: strokeType;
|
|
34
|
-
strokeDash?: string;
|
|
35
|
-
fontColor?: string;
|
|
36
|
-
fontStyle?: fontStyle;
|
|
37
|
-
fontWeight?: string;
|
|
38
|
-
fontSize?: number;
|
|
39
|
-
textAlign?: textAlign;
|
|
40
|
-
textVerticalAlign?: textVerticalAlign;
|
|
41
|
-
lineHeight?: number;
|
|
42
|
-
open?: boolean;
|
|
43
|
-
dir?: string;
|
|
44
|
-
$count?: number;
|
|
45
|
-
$kids?: any[];
|
|
46
|
-
$selected?: boolean;
|
|
47
|
-
$expandColor?: string;
|
|
48
|
-
$parent?: string;
|
|
49
|
-
$shape?: IShape;
|
|
50
|
-
$move?: boolean;
|
|
51
|
-
$connectMode?: boolean;
|
|
52
|
-
}
|
|
53
|
-
export interface IButtonConfig {
|
|
54
|
-
content: any;
|
|
55
|
-
check?: any;
|
|
56
|
-
id: Id;
|
|
57
|
-
css?: any;
|
|
58
|
-
}
|
|
59
|
-
export interface IDiagramConfig {
|
|
60
|
-
toolbar?: IButtonConfig[];
|
|
61
|
-
type?: string;
|
|
62
|
-
select?: boolean;
|
|
63
|
-
defaultShapeType?: string;
|
|
64
|
-
defaultLinkType?: string;
|
|
65
|
-
scale?: number;
|
|
66
|
-
scroll?: boolean;
|
|
67
|
-
dragMode?: boolean;
|
|
68
|
-
showGrid?: boolean;
|
|
69
|
-
gridStep?: number;
|
|
70
|
-
margin?: {
|
|
71
|
-
x?: number;
|
|
72
|
-
y?: number;
|
|
73
|
-
itemX?: number;
|
|
74
|
-
itemY?: number;
|
|
75
|
-
};
|
|
76
|
-
lineGap?: number;
|
|
77
|
-
$svg?: any;
|
|
78
|
-
}
|
|
79
|
-
export interface IBoxSize {
|
|
80
|
-
left: number;
|
|
81
|
-
right: number;
|
|
82
|
-
top: number;
|
|
83
|
-
bottom: number;
|
|
84
|
-
}
|
|
85
|
-
export interface IShape {
|
|
86
|
-
config: IItemConfig;
|
|
87
|
-
id: Id;
|
|
88
|
-
move(x: number, y: number): any;
|
|
89
|
-
resize(width: number, height: number): any;
|
|
90
|
-
rotate(angle: number): any;
|
|
91
|
-
update(config: IItemConfig): any;
|
|
92
|
-
getPoint(x: number, y: number): ICoords;
|
|
93
|
-
toSVG(): string;
|
|
94
|
-
getCenter(): ICoords;
|
|
95
|
-
setCss(value: string): any;
|
|
96
|
-
getMetaInfo(): any[];
|
|
97
|
-
isConnector(): boolean;
|
|
98
|
-
getBox(): IBoxSize;
|
|
99
|
-
canResize(): boolean;
|
|
100
|
-
}
|
|
101
|
-
export interface ICoords {
|
|
102
|
-
x: number;
|
|
103
|
-
y: number;
|
|
104
|
-
side?: string;
|
|
105
|
-
$custom?: boolean;
|
|
106
|
-
}
|
|
107
|
-
export interface ILinkConfig extends IItemConfig {
|
|
108
|
-
id?: string;
|
|
109
|
-
from: string;
|
|
110
|
-
to: string;
|
|
111
|
-
type?: strokeType;
|
|
112
|
-
arrow?: string;
|
|
113
|
-
backArrow?: arrows;
|
|
114
|
-
forwardArrow?: arrows;
|
|
115
|
-
fromSide?: string;
|
|
116
|
-
toSide?: string;
|
|
117
|
-
cornersRadius?: number;
|
|
118
|
-
points?: ICoords[];
|
|
119
|
-
connectType?: connectType;
|
|
120
|
-
$selected?: boolean;
|
|
121
|
-
$move?: boolean;
|
|
122
|
-
$selectedPoint?: string;
|
|
123
|
-
}
|
|
124
|
-
export type FilterHandler = (item: IItemConfig) => boolean;
|
|
125
|
-
export interface IDiagram {
|
|
126
|
-
config: IDiagramConfig;
|
|
127
|
-
collapseItem(id: string): any;
|
|
128
|
-
expandItem(id: string): any;
|
|
129
|
-
paint(): any;
|
|
130
|
-
getScrollState(): ICoords;
|
|
131
|
-
scrollTo(x: number, y: number): any;
|
|
132
|
-
showItem(id: string): any;
|
|
133
|
-
}
|
|
134
|
-
export interface IContent {
|
|
135
|
-
shapes?: string;
|
|
136
|
-
width?: number;
|
|
137
|
-
height?: number;
|
|
138
|
-
minX?: number;
|
|
139
|
-
minY?: number;
|
|
140
|
-
gap?: number;
|
|
141
|
-
container?: any;
|
|
142
|
-
root?: string;
|
|
143
|
-
scroll?: any;
|
|
144
|
-
}
|
|
145
|
-
export type SelectShape = (item: IItemConfig) => boolean;
|
|
146
|
-
export type ActionShape = (item: IItemConfig) => void;
|
|
147
|
-
export declare enum DiagramEvents {
|
|
148
|
-
scroll = "scroll",
|
|
149
|
-
beforeCollapse = "beforecollapse",
|
|
150
|
-
afterCollapse = "aftercollapse",
|
|
151
|
-
beforeExpand = "beforeexpand",
|
|
152
|
-
afterExpand = "afterexpand",
|
|
153
|
-
shapeMouseDown = "shapemousedown",
|
|
154
|
-
shapeClick = "shapeclick",
|
|
155
|
-
shapedDblClick = "shapedblclick",
|
|
156
|
-
shapeIconClick = "shapeiconclick",
|
|
157
|
-
beforeRender = "beforerender",
|
|
158
|
-
shapeHover = "shapeHover",
|
|
159
|
-
emptyAreaClick = "emptyAreaClick",
|
|
160
|
-
load = "load"
|
|
161
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export declare const diagramWithImgData: ({
|
|
2
|
-
id: string;
|
|
3
|
-
text: string;
|
|
4
|
-
title: string;
|
|
5
|
-
img: string;
|
|
6
|
-
from?: undefined;
|
|
7
|
-
to?: undefined;
|
|
8
|
-
type?: undefined;
|
|
9
|
-
} | {
|
|
10
|
-
id: string;
|
|
11
|
-
text: string;
|
|
12
|
-
img: string;
|
|
13
|
-
title?: undefined;
|
|
14
|
-
from?: undefined;
|
|
15
|
-
to?: undefined;
|
|
16
|
-
type?: undefined;
|
|
17
|
-
} | {
|
|
18
|
-
id: string;
|
|
19
|
-
from: string;
|
|
20
|
-
to: string;
|
|
21
|
-
type: string;
|
|
22
|
-
text?: undefined;
|
|
23
|
-
title?: undefined;
|
|
24
|
-
img?: undefined;
|
|
25
|
-
})[];
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import "./elements/button";
|
|
2
|
-
import "./elements/checkbox";
|
|
3
|
-
import "./elements/colorpicker";
|
|
4
|
-
import "./elements/combo";
|
|
5
|
-
import "./elements/datepicker";
|
|
6
|
-
import "./elements/input";
|
|
7
|
-
import "./elements/textarea";
|
|
8
|
-
import "./elements/radiogroup";
|
|
9
|
-
import "./elements/select";
|
|
10
|
-
import "./elements/simplevault";
|
|
11
|
-
import "./elements/slider";
|
|
12
|
-
import "./elements/timepicker";
|
|
13
|
-
import "./elements/container";
|
|
14
|
-
import "./form";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import "../../styles/grid.scss";
|
|
2
|
-
import "../../styles/themes.scss";
|
|
3
|
-
export { cssManager } from "../../ts-common/CssManager";
|
|
4
|
-
export { awaitRedraw, setTheme } from "../../ts-common/dom";
|
|
5
|
-
export { DataCollection, DataProxy } from "../../ts-data";
|
|
6
|
-
export { Grid } from "./Grid";
|
|
7
|
-
export declare const i18n: any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
export declare const sizes: {
|
|
2
|
-
scrollTop: number;
|
|
3
|
-
scrollLeft: number;
|
|
4
|
-
scrollWidth: number;
|
|
5
|
-
offsetWidth: number;
|
|
6
|
-
clientWidth: number;
|
|
7
|
-
};
|
|
8
|
-
export declare const headers: {
|
|
9
|
-
header: ({
|
|
10
|
-
text: string;
|
|
11
|
-
colspan: number;
|
|
12
|
-
} | {
|
|
13
|
-
text: string;
|
|
14
|
-
colspan?: undefined;
|
|
15
|
-
})[];
|
|
16
|
-
width: number;
|
|
17
|
-
id: number;
|
|
18
|
-
}[];
|
|
19
|
-
export declare const stringHeaders: {
|
|
20
|
-
header: string;
|
|
21
|
-
width: number;
|
|
22
|
-
id: number;
|
|
23
|
-
}[];
|
|
24
|
-
export declare const dataAfterGroup: ({
|
|
25
|
-
id: string;
|
|
26
|
-
0: string;
|
|
27
|
-
1: any;
|
|
28
|
-
2: string;
|
|
29
|
-
3: string;
|
|
30
|
-
4: any;
|
|
31
|
-
5: any;
|
|
32
|
-
} | {
|
|
33
|
-
id: string;
|
|
34
|
-
0: any;
|
|
35
|
-
1: string;
|
|
36
|
-
2: string;
|
|
37
|
-
3: string;
|
|
38
|
-
4: any;
|
|
39
|
-
5: any;
|
|
40
|
-
} | {
|
|
41
|
-
id: string;
|
|
42
|
-
0: string;
|
|
43
|
-
1: any;
|
|
44
|
-
2: any;
|
|
45
|
-
3: any;
|
|
46
|
-
4: string;
|
|
47
|
-
5: string;
|
|
48
|
-
} | {
|
|
49
|
-
id: string;
|
|
50
|
-
0: any;
|
|
51
|
-
1: string;
|
|
52
|
-
2: any;
|
|
53
|
-
3: any;
|
|
54
|
-
4: string;
|
|
55
|
-
5: string;
|
|
56
|
-
})[];
|
|
57
|
-
export declare const treeData: ({
|
|
58
|
-
id: string;
|
|
59
|
-
a: number;
|
|
60
|
-
d: string;
|
|
61
|
-
parent?: undefined;
|
|
62
|
-
} | {
|
|
63
|
-
id: string;
|
|
64
|
-
a: string;
|
|
65
|
-
d: string;
|
|
66
|
-
parent: string;
|
|
67
|
-
})[];
|
|
68
|
-
export declare const config: {
|
|
69
|
-
totalWidth: number;
|
|
70
|
-
columns: {
|
|
71
|
-
header: ({
|
|
72
|
-
text: string;
|
|
73
|
-
colspan: number;
|
|
74
|
-
} | {
|
|
75
|
-
text: string;
|
|
76
|
-
colspan?: undefined;
|
|
77
|
-
})[];
|
|
78
|
-
width: number;
|
|
79
|
-
id: number;
|
|
80
|
-
}[];
|
|
81
|
-
headerRowHeight: number;
|
|
82
|
-
span: any;
|
|
83
|
-
};
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./Layout.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./selections/Selections";
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { DHXView } from "./DHXView";
|
|
2
|
-
import { ICell, IEventConfig, IEventSystem, ISession } from "./types";
|
|
3
|
-
export declare class DHXApp extends DHXView {
|
|
4
|
-
session: ISession;
|
|
5
|
-
config: any;
|
|
6
|
-
events: IEventSystem;
|
|
7
|
-
private services;
|
|
8
|
-
constructor(cell: ICell | HTMLElement | string, config?: any);
|
|
9
|
-
setService(name: string, obj: any, config?: IEventConfig): void;
|
|
10
|
-
getService(name: string): any;
|
|
11
|
-
destructor(): void;
|
|
12
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ICallable, ICell, IDHXApp, IServiceConfig } from "./types";
|
|
2
|
-
export declare class DHXView {
|
|
3
|
-
app: IDHXApp;
|
|
4
|
-
private _events;
|
|
5
|
-
constructor(cell: ICell, app: IDHXApp);
|
|
6
|
-
destructor(): void;
|
|
7
|
-
setService(name: string, obj: any, config?: IServiceConfig): void;
|
|
8
|
-
getService(name: string): any;
|
|
9
|
-
on(obj: any, name: string, handler: ICallable): void;
|
|
10
|
-
render(_cell: any): void;
|
|
11
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ICallable } from "./types";
|
|
2
|
-
export declare class EventSystem {
|
|
3
|
-
private evs;
|
|
4
|
-
private master;
|
|
5
|
-
constructor(master: any);
|
|
6
|
-
detach(config: any): void;
|
|
7
|
-
on(name: string, code: ICallable, config: any): void;
|
|
8
|
-
fire(name: string, event: any): boolean;
|
|
9
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export interface ISession {
|
|
2
|
-
get(name: string): any;
|
|
3
|
-
set(name: string, data: any): void;
|
|
4
|
-
}
|
|
5
|
-
export interface IEventConfig {
|
|
6
|
-
bind?: any;
|
|
7
|
-
tag?: any;
|
|
8
|
-
}
|
|
9
|
-
export interface IEventSystem {
|
|
10
|
-
on(name: string, handler: ICallable, config?: IEventConfig): any;
|
|
11
|
-
detach(config: IEventConfig): any;
|
|
12
|
-
fire(name: string, data: any): any;
|
|
13
|
-
}
|
|
14
|
-
export interface IServiceConfig {
|
|
15
|
-
tag?: any;
|
|
16
|
-
}
|
|
17
|
-
export interface ICell {
|
|
18
|
-
attach(content: any): any;
|
|
19
|
-
}
|
|
20
|
-
export interface IDHXView {
|
|
21
|
-
on(obj: any, name: string, handler: ICallable): void;
|
|
22
|
-
getService(name: string): any;
|
|
23
|
-
setService(name: string, obj: any, config: IServiceConfig): void;
|
|
24
|
-
render(cell: ICell): any;
|
|
25
|
-
destructor(): void;
|
|
26
|
-
}
|
|
27
|
-
export interface IDHXApp extends IDHXView {
|
|
28
|
-
session: ISession;
|
|
29
|
-
config: any;
|
|
30
|
-
events: IEventSystem;
|
|
31
|
-
}
|
|
32
|
-
export type ICallable = (...args: any[]) => any;
|
|
33
|
-
export type hash = {
|
|
34
|
-
[key: string]: any;
|
|
35
|
-
};
|
|
36
|
-
export type IDHXViewFactory = new (app: IDHXApp) => IDHXView;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { IEventSystem } from "../../ts-common/events";
|
|
2
|
-
import { DataCollection, DataEvents, IDataEventsHandlersMap } from "../../ts-data";
|
|
3
|
-
import { View } from "../../ts-common/view";
|
|
4
|
-
import { IPagination, IPaginationConfig, PaginationEvents, IPaginationEventHandlersMap } from "./types";
|
|
5
|
-
export declare class Pagination extends View implements IPagination {
|
|
6
|
-
config: IPaginationConfig;
|
|
7
|
-
events: IEventSystem<DataEvents | PaginationEvents, IDataEventsHandlersMap & IPaginationEventHandlersMap>;
|
|
8
|
-
data: DataCollection;
|
|
9
|
-
private _toolbar;
|
|
10
|
-
private _page;
|
|
11
|
-
private _size;
|
|
12
|
-
constructor(container: HTMLElement | string, config: IPaginationConfig);
|
|
13
|
-
paint(): void;
|
|
14
|
-
destructor(): void;
|
|
15
|
-
setPage(page: number, necessarily?: boolean): void;
|
|
16
|
-
getPage(): number;
|
|
17
|
-
setPageSize(size: number): void;
|
|
18
|
-
getPageSize(): number;
|
|
19
|
-
getPagesCount(): number;
|
|
20
|
-
private _showItem;
|
|
21
|
-
private _showTreeItem;
|
|
22
|
-
private _updateSizeUI;
|
|
23
|
-
private _initUI;
|
|
24
|
-
private _initEvents;
|
|
25
|
-
private _render;
|
|
26
|
-
}
|