dhx-suite 8.3.0 → 8.3.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/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-grid/sources/ui/editors/editors.d.ts +2 -0
- package/package.json +1 -1
- package/readme.txt +1 -1
- package/whatsnew.txt +12 -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
package/package.json
CHANGED
package/readme.txt
CHANGED
package/whatsnew.txt
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# Version 8.3.1 (November 14, 2023)
|
|
2
|
+
|
|
3
|
+
### Fixes
|
|
4
|
+
|
|
5
|
+
- DataCollection. Fix an error in the DragManager
|
|
6
|
+
- DataCollection. Fix data serialization to the CSV format
|
|
7
|
+
- Form. Fix the issue with the Slider ticks breaking the default margin between controls
|
|
8
|
+
- Grid/TreeGrid. Fix the width of an exported PNG file
|
|
9
|
+
- Menu. Fix resetting the position of a child on clicking its parent item
|
|
10
|
+
- Tabbar. Fix incorrect work of the tabAlign property
|
|
11
|
+
- TreeGrid. Fix the issue with selection working during pagination only for the first page
|
|
12
|
+
|
|
1
13
|
# Version 8.3 (October 23, 2023)
|
|
2
14
|
|
|
3
15
|
### New functionality
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export * from "./entry";
|
|
2
|
-
export { dataDriversPro as dataDrivers, LazyDataProxy } from "../../ts-data";
|
|
3
|
-
export { TreeGridCollection } from "../../ts-treegrid";
|
|
4
|
-
export { ScrollView, scrollViewConfig } from "../../ts-common/ScrollView";
|
|
5
|
-
export { TreeGrid } from "../../ts-treegrid";
|
|
6
|
-
export { ProGrid as Grid } from "../../ts-grid";
|
|
7
|
-
export { ProChart as Chart } from "../../ts-chart";
|
|
8
|
-
export { ProList as List } from "../../ts-list";
|
|
9
|
-
export { ProCombobox as Combobox } from "../../ts-combobox";
|
|
10
|
-
export { ProDataView as DataView } from "../../ts-dataview";
|
|
11
|
-
export { ProLayout as Layout } from "../../ts-layout";
|
|
12
|
-
export { ProToolbar as Toolbar } from "../../ts-toolbar";
|
|
13
|
-
export { ProSidebar as Sidebar } from "../../ts-sidebar";
|
|
14
|
-
export { ProRibbon as Ribbon } from "../../ts-ribbon";
|
|
15
|
-
export { Pagination } from "../../ts-pagination";
|
|
16
|
-
export { ProWindow as Window } from "../../ts-window";
|
|
17
|
-
export { ProForm as Form } from "../../ts-form";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import "../../styles/calendar.scss";
|
|
2
|
-
import "../../styles/themes.scss";
|
|
3
|
-
export { tooltip } from "../../ts-message";
|
|
4
|
-
export { Popup } from "../../ts-popup";
|
|
5
|
-
export { Calendar } from "./Calendar";
|
|
6
|
-
export { awaitRedraw, setTheme } from "../../ts-common/dom";
|
|
7
|
-
export declare const i18n: any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./calendar/calendar";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./Chart";
|
|
File without changes
|
|
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
|
-
import "./selections/Selections";
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { IEventSystem } from "../../ts-common/events";
|
|
2
|
-
import { View } from "../../ts-common/view";
|
|
3
|
-
import { Exporter } from "./helpers/Export";
|
|
4
|
-
import { Selection } from "./helpers/Selection";
|
|
5
|
-
import { IShapeMap } from "./shapes/factory";
|
|
6
|
-
import { ShapesCollection } from "./ShapesCollection";
|
|
7
|
-
import { DataEvents } from "../../ts-data";
|
|
8
|
-
import { DiagramEvents, ICoords, IDiagram, IDiagramConfig, IShape, SelectionEvents } from "./types";
|
|
9
|
-
export declare class Diagram extends View implements IDiagram {
|
|
10
|
-
version: string;
|
|
11
|
-
config: IDiagramConfig;
|
|
12
|
-
events: IEventSystem<DataEvents | SelectionEvents | DiagramEvents>;
|
|
13
|
-
data: ShapesCollection;
|
|
14
|
-
selection: Selection;
|
|
15
|
-
export: Exporter;
|
|
16
|
-
shapes: IShapeMap;
|
|
17
|
-
private _htmlevents;
|
|
18
|
-
private _toolbar;
|
|
19
|
-
constructor(container: HTMLElement | any, config?: IDiagramConfig);
|
|
20
|
-
locate(ev: Event): IShape;
|
|
21
|
-
collapseItem(id: string): void;
|
|
22
|
-
expandItem(id: string): void;
|
|
23
|
-
getScrollState(): ICoords;
|
|
24
|
-
scrollTo(x: number, y: number): void;
|
|
25
|
-
showItem(id: string): void;
|
|
26
|
-
protected _render(vm: any): any;
|
|
27
|
-
protected _init_events(): void;
|
|
28
|
-
protected _set_defaults(): void;
|
|
29
|
-
protected _init_struct(): void;
|
|
30
|
-
private _getContent;
|
|
31
|
-
private _getPoint;
|
|
32
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IEventSystem } from "../../ts-common/events";
|
|
2
|
-
import { Id } from "../../ts-common/types";
|
|
3
|
-
import { DataCollection, DataEvents } from "../../ts-data";
|
|
4
|
-
import { IItemConfig } from "./types";
|
|
5
|
-
export declare class ShapesCollection extends DataCollection {
|
|
6
|
-
private _roots;
|
|
7
|
-
private _orgMode;
|
|
8
|
-
constructor(config: any, events: IEventSystem<DataEvents>);
|
|
9
|
-
getNearId(id: Id): Id;
|
|
10
|
-
mapVisible(handler: any): any[];
|
|
11
|
-
getRoots(): Id[];
|
|
12
|
-
protected _removeNested(obj: any): void;
|
|
13
|
-
protected _eachBranch(item: IItemConfig, handler: any, stack: any[]): void;
|
|
14
|
-
protected _parse_data(data: any[]): void;
|
|
15
|
-
protected _mark_chains(): void;
|
|
16
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IEventSystem } from "../../ts-common/events";
|
|
2
|
-
import { DiagramEvents, IButtonConfig, IItemConfig, SelectionEvents } from "./types";
|
|
3
|
-
import { DataEvents } from "../../ts-data";
|
|
4
|
-
export declare class Toolbar {
|
|
5
|
-
config: any;
|
|
6
|
-
private events;
|
|
7
|
-
private _pressCoords;
|
|
8
|
-
private _handlers;
|
|
9
|
-
constructor(events: IEventSystem<DataEvents | DiagramEvents | SelectionEvents>, icons: IButtonConfig[]);
|
|
10
|
-
toSVG(item: any, size: any): any;
|
|
11
|
-
protected _getIcons(item: IItemConfig, icons: IButtonConfig[]): any[];
|
|
12
|
-
protected _getCoords(target: IItemConfig, width: number, height: number, scale: number): {
|
|
13
|
-
x: number;
|
|
14
|
-
y: number;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { View } from "../../../ts-common/view";
|
|
2
|
-
export declare class Exporter {
|
|
3
|
-
private _name;
|
|
4
|
-
private _version;
|
|
5
|
-
private _view;
|
|
6
|
-
constructor(_name: string, _version: string, _view: View);
|
|
7
|
-
pdf(config: any): void;
|
|
8
|
-
png(config: any): void;
|
|
9
|
-
protected _rawExport(config: any, mode: string, view: View): void;
|
|
10
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IEventSystem } from "../../../ts-common/events";
|
|
2
|
-
import { Id } from "../../../ts-common/types";
|
|
3
|
-
import { DataCollection } from "../../../ts-data";
|
|
4
|
-
import { SelectionEvents } from "../types";
|
|
5
|
-
export declare class Selection {
|
|
6
|
-
events: IEventSystem<SelectionEvents>;
|
|
7
|
-
private _selected;
|
|
8
|
-
private _data;
|
|
9
|
-
constructor(_config: any, data?: DataCollection, events?: IEventSystem<any>);
|
|
10
|
-
getId(): Id;
|
|
11
|
-
getItem(): any;
|
|
12
|
-
remove(id?: Id): boolean;
|
|
13
|
-
add(id: Id): void;
|
|
14
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IItemConfig, ILinkConfig } from "../types";
|
|
2
|
-
interface IPoint {
|
|
3
|
-
x: number;
|
|
4
|
-
y: number;
|
|
5
|
-
}
|
|
6
|
-
export declare function nearestLinkPath(link: ILinkConfig, from: IItemConfig, to: IItemConfig, config: any): IPoint[];
|
|
7
|
-
export declare function directLinkPath(link: ILinkConfig, from: IItemConfig, to: IItemConfig, config: any): void;
|
|
8
|
-
export {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Id } from "../../../ts-common/types";
|
|
2
|
-
import { ICoords, IItemConfig, IShape } from "../types";
|
|
3
|
-
export declare class BaseShape implements IShape {
|
|
4
|
-
config: IItemConfig;
|
|
5
|
-
id: Id;
|
|
6
|
-
constructor(config: IItemConfig);
|
|
7
|
-
isConnector(): boolean;
|
|
8
|
-
canResize(): boolean;
|
|
9
|
-
getCenter(): ICoords;
|
|
10
|
-
getBox(): {
|
|
11
|
-
left: number;
|
|
12
|
-
right: number;
|
|
13
|
-
top: number;
|
|
14
|
-
bottom: number;
|
|
15
|
-
};
|
|
16
|
-
getMetaInfo(): {
|
|
17
|
-
id: string;
|
|
18
|
-
label: string;
|
|
19
|
-
type: string;
|
|
20
|
-
}[];
|
|
21
|
-
move(x: number, y: number): void;
|
|
22
|
-
resize(width: number, height: number): void;
|
|
23
|
-
rotate(angle: number): void;
|
|
24
|
-
update(conf: IItemConfig): void;
|
|
25
|
-
toSVG(): string;
|
|
26
|
-
getPoint(x: number, y: number): ICoords;
|
|
27
|
-
setCss(value: string): void;
|
|
28
|
-
protected getCss(): string;
|
|
29
|
-
protected setDefaults(config: IItemConfig): IItemConfig;
|
|
30
|
-
protected getCoords(conf: any): ICoords;
|
|
31
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { IBoxSize, ICoords, ILinkConfig } from "../../types";
|
|
2
|
-
import { BaseShape } from "../Base";
|
|
3
|
-
export declare class Line extends BaseShape {
|
|
4
|
-
config: ILinkConfig;
|
|
5
|
-
constructor(config: ILinkConfig);
|
|
6
|
-
isConnector(): boolean;
|
|
7
|
-
getMetaInfo(): {
|
|
8
|
-
id: string;
|
|
9
|
-
type: string;
|
|
10
|
-
label: string;
|
|
11
|
-
connector: boolean;
|
|
12
|
-
}[];
|
|
13
|
-
setDefaults(config: ILinkConfig): ILinkConfig;
|
|
14
|
-
toSVG(): string;
|
|
15
|
-
getBox(): IBoxSize;
|
|
16
|
-
protected _getType(): string;
|
|
17
|
-
protected _getPoints(): string;
|
|
18
|
-
protected _getStringPoints(): string;
|
|
19
|
-
protected _getArrowLine(): any[];
|
|
20
|
-
protected _arrow(from: ICoords, to: ICoords): string;
|
|
21
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IItemConfig } from "../../types";
|
|
2
|
-
import { BaseShape } from "../Base";
|
|
3
|
-
export declare class DiagramCard extends BaseShape {
|
|
4
|
-
toSVG(): any;
|
|
5
|
-
getMetaInfo(): {
|
|
6
|
-
id: string;
|
|
7
|
-
label: string;
|
|
8
|
-
type: string;
|
|
9
|
-
}[];
|
|
10
|
-
protected getCss(): string;
|
|
11
|
-
protected setDefaults(obj: IItemConfig): IItemConfig;
|
|
12
|
-
protected text(): any;
|
|
13
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IItemConfig } from "../../types";
|
|
2
|
-
import { DiagramCard } from "./DiagramCard";
|
|
3
|
-
export declare class DiagramImgCard extends DiagramCard {
|
|
4
|
-
getMetaInfo(): {
|
|
5
|
-
id: string;
|
|
6
|
-
label: string;
|
|
7
|
-
type: string;
|
|
8
|
-
}[];
|
|
9
|
-
protected setDefaults(obj: IItemConfig): IItemConfig;
|
|
10
|
-
protected getCss(): string;
|
|
11
|
-
protected text(): any[];
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { DiagramCard } from "./DiagramCard";
|
|
2
|
-
export declare class DiagramSvgCard extends DiagramCard {
|
|
3
|
-
toSVG(): any;
|
|
4
|
-
getMetaInfo(): {
|
|
5
|
-
id: string;
|
|
6
|
-
label: string;
|
|
7
|
-
type: string;
|
|
8
|
-
}[];
|
|
9
|
-
protected text(): string;
|
|
10
|
-
protected title(): string;
|
|
11
|
-
protected getCss(): string;
|
|
12
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { IItemConfig } from "../types";
|
|
2
|
-
import { BaseShape } from "./Base";
|
|
3
|
-
export declare const extraLines: {
|
|
4
|
-
database: (width: any, _height: any, part: any, config: any) => any;
|
|
5
|
-
internal: (width: any, height: any, part: any, config: any) => any;
|
|
6
|
-
offline: (width: any, height: any, part: any, config: any) => any;
|
|
7
|
-
subroutine: (width: any, height: any, part: any, config: any) => any;
|
|
8
|
-
or: (width: any, height: any, _part: any, config: any) => any;
|
|
9
|
-
junction: (width: any, height: any, _part: any, config: any) => any;
|
|
10
|
-
roll: (width: any, height: any, _part: any, config: any) => any;
|
|
11
|
-
};
|
|
12
|
-
declare function display(width: any, height: any): string;
|
|
13
|
-
declare function circle(width: any, height: any): string;
|
|
14
|
-
declare function triangle(width: any, height: any): string;
|
|
15
|
-
declare function document(width: any, height: any): string;
|
|
16
|
-
declare function data(width: any, height: any, part: any): string;
|
|
17
|
-
declare function database(width: any, height: any, part: any): string;
|
|
18
|
-
declare function delay(width: any, height: any): string;
|
|
19
|
-
declare function output(width: any, height: any, part: any): string;
|
|
20
|
-
declare function page(width: any, height: any): string;
|
|
21
|
-
declare function input(width: any, height: any): string;
|
|
22
|
-
declare function operation(width: any, height: any): string;
|
|
23
|
-
declare function punchcard(width: any, height: any): string;
|
|
24
|
-
declare function comment(width: any, height: any): string;
|
|
25
|
-
declare function storage(width: any, height: any): string;
|
|
26
|
-
declare function extract(width: any, height: any): string;
|
|
27
|
-
declare function decision(width: any, height: any): string;
|
|
28
|
-
declare function collate(width: any, height: any): string;
|
|
29
|
-
declare function keyring(width: any, height: any, part: any): string;
|
|
30
|
-
declare function start(width: any, height: any): string;
|
|
31
|
-
declare function rectangle(width: any, height: any): string;
|
|
32
|
-
declare function tape(width: any, height: any): string;
|
|
33
|
-
declare function preparation(width: any, height: any): string;
|
|
34
|
-
declare function endpoint(width: any, height: any): string;
|
|
35
|
-
export declare const renders: {
|
|
36
|
-
circle: typeof circle;
|
|
37
|
-
rectangle: typeof rectangle;
|
|
38
|
-
triangle: typeof triangle;
|
|
39
|
-
start: typeof start;
|
|
40
|
-
end: typeof start;
|
|
41
|
-
process: typeof rectangle;
|
|
42
|
-
output: typeof output;
|
|
43
|
-
decision: typeof decision;
|
|
44
|
-
display: typeof display;
|
|
45
|
-
document: typeof document;
|
|
46
|
-
data: typeof data;
|
|
47
|
-
database: typeof database;
|
|
48
|
-
internal: typeof rectangle;
|
|
49
|
-
offline: typeof storage;
|
|
50
|
-
delay: typeof delay;
|
|
51
|
-
page: typeof page;
|
|
52
|
-
input: typeof input;
|
|
53
|
-
operation: typeof operation;
|
|
54
|
-
punchcard: typeof punchcard;
|
|
55
|
-
subroutine: typeof rectangle;
|
|
56
|
-
comment: typeof comment;
|
|
57
|
-
storage: typeof storage;
|
|
58
|
-
extract: typeof extract;
|
|
59
|
-
collate: typeof collate;
|
|
60
|
-
or: typeof circle;
|
|
61
|
-
junction: typeof circle;
|
|
62
|
-
keyring: typeof keyring;
|
|
63
|
-
tape: typeof tape;
|
|
64
|
-
preparation: typeof preparation;
|
|
65
|
-
endpoint: typeof endpoint;
|
|
66
|
-
roll: typeof circle;
|
|
67
|
-
};
|
|
68
|
-
export declare class FlowShape extends BaseShape {
|
|
69
|
-
config: IItemConfig;
|
|
70
|
-
getMetaInfo(): ({
|
|
71
|
-
id: string;
|
|
72
|
-
type: string;
|
|
73
|
-
label: string;
|
|
74
|
-
hint: string;
|
|
75
|
-
value: string;
|
|
76
|
-
} | {
|
|
77
|
-
id: string;
|
|
78
|
-
label: string;
|
|
79
|
-
type: string;
|
|
80
|
-
hint?: undefined;
|
|
81
|
-
value?: undefined;
|
|
82
|
-
})[];
|
|
83
|
-
toSVG(): any;
|
|
84
|
-
protected setDefaults(obj: IItemConfig): IItemConfig;
|
|
85
|
-
private _shapeLine;
|
|
86
|
-
private _getPoints;
|
|
87
|
-
private _getExtraLines;
|
|
88
|
-
private _getText;
|
|
89
|
-
}
|
|
90
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { IItemConfig } from "../types";
|
|
2
|
-
import { BaseShape } from "./Base";
|
|
3
|
-
export declare class TextShape extends BaseShape {
|
|
4
|
-
toSVG(): any;
|
|
5
|
-
getMetaInfo(): ({
|
|
6
|
-
id: string;
|
|
7
|
-
label: string;
|
|
8
|
-
type: string;
|
|
9
|
-
alignments?: undefined;
|
|
10
|
-
} | {
|
|
11
|
-
id: string;
|
|
12
|
-
type: string;
|
|
13
|
-
label: string;
|
|
14
|
-
alignments: boolean;
|
|
15
|
-
})[];
|
|
16
|
-
canResize(): boolean;
|
|
17
|
-
protected setDefaults(obj: IItemConfig): IItemConfig;
|
|
18
|
-
private _getText;
|
|
19
|
-
}
|