@wcardinal/wcardinal-ui 0.200.2 → 0.202.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/wcardinal/ui/{d-controller-default-command.d.ts → d-controller-command-impl.d.ts} +1 -1
- package/dist/types/wcardinal/ui/{d-controller-default-focus.d.ts → d-controller-focus-impl.d.ts} +1 -1
- package/dist/types/wcardinal/ui/d-diagram-base.d.ts +1 -0
- package/dist/types/wcardinal/ui/d-diagram-canvas-data-impl.d.ts +7 -4
- package/dist/types/wcardinal/ui/d-diagram-canvas-data.d.ts +7 -4
- package/dist/types/wcardinal/ui/d-diagram-canvas.d.ts +2 -3
- package/dist/types/wcardinal/ui/d-diagram-data-extended-impl.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-diagram-data-impl.d.ts +7 -4
- package/dist/types/wcardinal/ui/d-diagram-data-private-impl.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-diagram-data-protected-impl.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-diagram-data-remote-impl.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-diagram-data-remote.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-diagram-data-scoped.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-diagram-data.d.ts +5 -2
- package/dist/types/wcardinal/ui/d-diagram-serialized.d.ts +4 -0
- package/dist/types/wcardinal/ui/d-table-body-cell-color.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-table-body-cell-options.d.ts +18 -0
- package/dist/types/wcardinal/ui/d-table-body-cell-select-dialog.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-table-body-cell-select-promise.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-table-body-cell-time.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-table-body-cells.d.ts +7 -5
- package/dist/types/wcardinal/ui/d-table-body-row.d.ts +6 -4
- package/dist/types/wcardinal/ui/d-table-body.d.ts +2 -0
- package/dist/types/wcardinal/ui/d-table-column-editing.d.ts +16 -0
- package/dist/types/wcardinal/ui/d-table-column-formatter.d.ts +1 -0
- package/dist/types/wcardinal/ui/d-table-column-getter.d.ts +1 -0
- package/dist/types/wcardinal/ui/d-table-column-renderable.d.ts +1 -0
- package/dist/types/wcardinal/ui/d-table-column-selecting.d.ts +25 -0
- package/dist/types/wcardinal/ui/d-table-column-setter.d.ts +1 -0
- package/dist/types/wcardinal/ui/d-table-column-sorting.d.ts +9 -0
- package/dist/types/wcardinal/ui/d-table-column-state.d.ts +11 -0
- package/dist/types/wcardinal/ui/d-table-column-type.d.ts +18 -0
- package/dist/types/wcardinal/ui/d-table-column.d.ts +33 -101
- package/dist/types/wcardinal/ui/index.d.ts +12 -2
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-runtimes.d.ts +7 -15
- package/dist/types/wcardinal/ui/shape/e-shape-data-impl.d.ts +7 -0
- package/dist/types/wcardinal/ui/shape/e-shape-data-scoped-impl.d.ts +2 -1
- package/dist/types/wcardinal/ui/shape/e-shape-data-scoped.d.ts +2 -1
- package/dist/types/wcardinal/ui/shape/e-shape-data-value-formatter.d.ts +1 -0
- package/dist/types/wcardinal/ui/shape/e-shape-data-value-impl.d.ts +10 -1
- package/dist/types/wcardinal/ui/shape/e-shape-data-value-state.d.ts +32 -0
- package/dist/types/wcardinal/ui/shape/e-shape-data-value.d.ts +6 -1
- package/dist/types/wcardinal/ui/shape/e-shape-data.d.ts +4 -0
- package/dist/types/wcardinal/ui/shape/index.d.ts +2 -0
- package/dist/types/wcardinal/ui/shape/variant/build-text.d.ts +2 -1
- package/dist/types/wcardinal/ui/shape/variant/builder-text.d.ts +2 -0
- package/dist/types/wcardinal/ui/shape/variant/e-shape-embedded-layer.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/e-shape-embedded.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/e-shape-group-viewer.d.ts +2 -4
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-table-header-cell.d.ts +2 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-table-header-cell.d.ts +2 -0
- package/dist/types/wcardinal/ui/util/index.d.ts +3 -0
- package/dist/types/wcardinal/ui/util/is-object.d.ts +1 -0
- package/dist/types/wcardinal/ui/util/to-cloned.d.ts +1 -0
- package/dist/types/wcardinal/ui/util/to-merged.d.ts +1 -0
- package/dist/wcardinal/ui/d-application.js +2 -2
- package/dist/wcardinal/ui/d-application.js.map +1 -1
- package/dist/wcardinal/ui/d-base.js +2 -2
- package/dist/wcardinal/ui/d-base.js.map +1 -1
- package/dist/wcardinal/ui/{d-controller-default-command.js → d-controller-command-impl.js} +24 -24
- package/dist/wcardinal/ui/d-controller-command-impl.js.map +1 -0
- package/dist/wcardinal/ui/{d-controller-default-focus.js → d-controller-focus-impl.js} +18 -18
- package/dist/wcardinal/ui/d-controller-focus-impl.js.map +1 -0
- package/dist/wcardinal/ui/d-controllers.js +2 -2
- package/dist/wcardinal/ui/d-controllers.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-base.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-canvas-data-impl.js +50 -16
- package/dist/wcardinal/ui/d-diagram-canvas-data-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-canvas-data.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-canvas.js +13 -16
- package/dist/wcardinal/ui/d-diagram-canvas.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-data-extended-impl.js +2 -2
- package/dist/wcardinal/ui/d-diagram-data-extended-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-data-impl.js +22 -8
- package/dist/wcardinal/ui/d-diagram-data-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-data-private-impl.js +2 -2
- package/dist/wcardinal/ui/d-diagram-data-private-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-data-protected-impl.js +2 -2
- package/dist/wcardinal/ui/d-diagram-data-protected-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-data-remote-impl.js +1 -1
- package/dist/wcardinal/ui/d-diagram-data-remote-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-data-remote.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-data-scoped.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-data.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-serialized.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-action-menu.js +1 -3
- package/dist/wcardinal/ui/d-table-body-cell-action-menu.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-check.js +2 -4
- package/dist/wcardinal/ui/d-table-body-cell-check.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-color.js +17 -19
- package/dist/wcardinal/ui/d-table-body-cell-color.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-date.js +1 -3
- package/dist/wcardinal/ui/d-table-body-cell-date.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-datetime.js +2 -4
- package/dist/wcardinal/ui/d-table-body-cell-datetime.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-index.js +1 -3
- package/dist/wcardinal/ui/d-table-body-cell-index.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-input-integer.js +1 -3
- package/dist/wcardinal/ui/d-table-body-cell-input-integer.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-input-real.js +1 -3
- package/dist/wcardinal/ui/d-table-body-cell-input-real.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-input-text.js +1 -3
- package/dist/wcardinal/ui/d-table-body-cell-input-text.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-input-tree.js +1 -3
- package/dist/wcardinal/ui/d-table-body-cell-input-tree.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-options.js +6 -0
- package/dist/wcardinal/ui/d-table-body-cell-options.js.map +1 -0
- package/dist/wcardinal/ui/d-table-body-cell-select-dialog.js +1 -3
- package/dist/wcardinal/ui/d-table-body-cell-select-dialog.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-select-menu.js +1 -3
- package/dist/wcardinal/ui/d-table-body-cell-select-menu.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-select-multiple.js +1 -3
- package/dist/wcardinal/ui/d-table-body-cell-select-multiple.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-select-promise.js +1 -3
- package/dist/wcardinal/ui/d-table-body-cell-select-promise.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-text.js +1 -3
- package/dist/wcardinal/ui/d-table-body-cell-text.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-time.js +1 -3
- package/dist/wcardinal/ui/d-table-body-cell-time.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-tree.js +1 -2
- package/dist/wcardinal/ui/d-table-body-cell-tree.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cells.js +13 -5
- package/dist/wcardinal/ui/d-table-body-cells.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-row.js +43 -39
- package/dist/wcardinal/ui/d-table-body-row.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body.js +2 -1
- package/dist/wcardinal/ui/d-table-body.js.map +1 -1
- package/dist/wcardinal/ui/d-table-column-editing.js +6 -0
- package/dist/wcardinal/ui/d-table-column-editing.js.map +1 -0
- package/dist/wcardinal/ui/d-table-column-formatter.js +6 -0
- package/dist/wcardinal/ui/d-table-column-formatter.js.map +1 -0
- package/dist/wcardinal/ui/d-table-column-getter.js +6 -0
- package/dist/wcardinal/ui/d-table-column-getter.js.map +1 -0
- package/dist/wcardinal/ui/d-table-column-renderable.js +6 -0
- package/dist/wcardinal/ui/d-table-column-renderable.js.map +1 -0
- package/dist/wcardinal/ui/d-table-column-selecting.js +6 -0
- package/dist/wcardinal/ui/d-table-column-selecting.js.map +1 -0
- package/dist/wcardinal/ui/d-table-column-setter.js +6 -0
- package/dist/wcardinal/ui/d-table-column-setter.js.map +1 -0
- package/dist/wcardinal/ui/d-table-column-sorting.js +6 -0
- package/dist/wcardinal/ui/d-table-column-sorting.js.map +1 -0
- package/dist/wcardinal/ui/d-table-column-state.js +6 -0
- package/dist/wcardinal/ui/d-table-column-state.js.map +1 -0
- package/dist/wcardinal/ui/d-table-column-type.js +22 -0
- package/dist/wcardinal/ui/d-table-column-type.js.map +1 -0
- package/dist/wcardinal/ui/d-table-column.js +1 -17
- package/dist/wcardinal/ui/d-table-column.js.map +1 -1
- package/dist/wcardinal/ui/d-table.js +23 -1
- package/dist/wcardinal/ui/d-table.js.map +1 -1
- package/dist/wcardinal/ui/index.js +12 -2
- package/dist/wcardinal/ui/index.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-expressions.js +2 -0
- package/dist/wcardinal/ui/shape/action/e-shape-action-expressions.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-misc-write-both.js +2 -2
- package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-misc-write-both.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-misc-write-local.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-misc-write-local.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-misc-write-remote.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-misc-write-remote.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-runtimes.js +30 -29
- package/dist/wcardinal/ui/shape/action/e-shape-action-runtimes.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-on-input-actions.js +4 -4
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-on-input-actions.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-data-impl.js +57 -0
- package/dist/wcardinal/ui/shape/e-shape-data-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-data-scoped-impl.js +5 -1
- package/dist/wcardinal/ui/shape/e-shape-data-scoped-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-data-scoped.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-data-value-formatter.js +6 -0
- package/dist/wcardinal/ui/shape/e-shape-data-value-formatter.js.map +1 -0
- package/dist/wcardinal/ui/shape/e-shape-data-value-impl.js +211 -56
- package/dist/wcardinal/ui/shape/e-shape-data-value-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-data-value-state.js +36 -0
- package/dist/wcardinal/ui/shape/e-shape-data-value-state.js.map +1 -0
- package/dist/wcardinal/ui/shape/e-shape-data-value.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-data.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-runtime.js +4 -2
- package/dist/wcardinal/ui/shape/e-shape-runtime.js.map +1 -1
- package/dist/wcardinal/ui/shape/index.js +2 -0
- package/dist/wcardinal/ui/shape/index.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/build-text.js +84 -63
- package/dist/wcardinal/ui/shape/variant/build-text.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/builder-text.js +18 -3
- package/dist/wcardinal/ui/shape/variant/builder-text.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/deserialize-embedded-layer.js +2 -3
- package/dist/wcardinal/ui/shape/variant/deserialize-embedded-layer.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/deserialize-embedded.js +4 -3
- package/dist/wcardinal/ui/shape/variant/deserialize-embedded.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-base.js +3 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-base.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-embedded-layer.js +3 -3
- package/dist/wcardinal/ui/shape/variant/e-shape-embedded-layer.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-embedded.js +3 -3
- package/dist/wcardinal/ui/shape/variant/e-shape-embedded.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-embeddeds.js +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-embeddeds.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/e-shape-group-viewer.js +4 -18
- package/dist/wcardinal/ui/shape/variant/e-shape-group-viewer.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-header-cell.js +11 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-header-cell.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-header-cell.js +11 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-header-cell.js.map +1 -1
- package/dist/wcardinal/ui/util/dynamic-sdf-font-generator.js +1 -1
- package/dist/wcardinal/ui/util/dynamic-sdf-font-generator.js.map +1 -1
- package/dist/wcardinal/ui/util/index.js +3 -0
- package/dist/wcardinal/ui/util/index.js.map +1 -1
- package/dist/wcardinal/ui/util/is-object.js +13 -0
- package/dist/wcardinal/ui/util/is-object.js.map +1 -0
- package/dist/wcardinal/ui/util/to-cloned.js +32 -0
- package/dist/wcardinal/ui/util/to-cloned.js.map +1 -0
- package/dist/wcardinal/ui/util/to-merged.js +45 -0
- package/dist/wcardinal/ui/util/to-merged.js.map +1 -0
- package/dist/wcardinal-ui-theme-dark.js +12 -1
- package/dist/wcardinal-ui-theme-dark.min.js +2 -2
- package/dist/wcardinal-ui-theme-dark.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-white.js +12 -1
- package/dist/wcardinal-ui-theme-white.min.js +2 -2
- package/dist/wcardinal-ui-theme-white.min.js.map +1 -1
- package/dist/wcardinal-ui.cjs.js +1451 -1014
- package/dist/wcardinal-ui.js +1429 -1014
- package/dist/wcardinal-ui.min.js +2 -2
- package/dist/wcardinal-ui.min.js.map +1 -1
- package/package.json +1 -1
- package/dist/wcardinal/ui/d-controller-default-command.js.map +0 -1
- package/dist/wcardinal/ui/d-controller-default-focus.js.map +0 -1
|
@@ -1,106 +1,37 @@
|
|
|
1
1
|
import { DAlignHorizontal } from "./d-align-horizontal";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { DTableBodyCellInputTextOptions } from "./d-table-body-cell-input-text";
|
|
14
|
-
import { DTableBodyCellLinkLinkOptions, DTableBodyCellLinkOptions } from "./d-table-body-cell-link";
|
|
15
|
-
import { DTableBodyCellSelectDialogOptions } from "./d-table-body-cell-select-dialog";
|
|
16
|
-
import { DTableBodyCellSelectMenuOptions } from "./d-table-body-cell-select-menu";
|
|
17
|
-
import { DTableBodyCellSelectMultipleOptions } from "./d-table-body-cell-select-multiple";
|
|
18
|
-
import { DTableBodyCellSelectPromiseOptions } from "./d-table-body-cell-select-promise";
|
|
19
|
-
import { DTableBodyCellTextOptions } from "./d-table-body-cell-text";
|
|
20
|
-
import { DTableBodyCellTimeOptions } from "./d-table-body-cell-time";
|
|
21
|
-
import { DTableBodyCellTreeOptions } from "./d-table-body-cell-tree";
|
|
22
|
-
import { DTableDataComparator } from "./d-table-data-sorter";
|
|
2
|
+
import { DTableBodyCellLinkLinkOptions } from "./d-table-body-cell-link";
|
|
3
|
+
import { DTableBodyCellOptions } from "./d-table-body-cell-options";
|
|
4
|
+
import { DTableColumnEditing, DTableColumnEditingOptions, DTableColumnEditable } from "./d-table-column-editing";
|
|
5
|
+
import { DTableColumnFormatter } from "./d-table-column-formatter";
|
|
6
|
+
import { DTableColumnGetter } from "./d-table-column-getter";
|
|
7
|
+
import { DTableColumnRenderable } from "./d-table-column-renderable";
|
|
8
|
+
import { DTableColumnSelecting, DTableColumnSelectingDialog, DTableColumnSelectingOptions } from "./d-table-column-selecting";
|
|
9
|
+
import { DTableColumnSetter } from "./d-table-column-setter";
|
|
10
|
+
import { DTableColumnSorting, DTableColumnSortingOptions } from "./d-table-column-sorting";
|
|
11
|
+
import { DTableColumnState, DTableColumnStateModifier } from "./d-table-column-state";
|
|
12
|
+
import { DTableColumnType } from "./d-table-column-type";
|
|
23
13
|
import { DTableHeaderCellOptions } from "./d-table-header-cell";
|
|
24
|
-
export declare const DTableColumnType: {
|
|
25
|
-
readonly INDEX: 0;
|
|
26
|
-
readonly TEXT: 1;
|
|
27
|
-
readonly INTEGER: 2;
|
|
28
|
-
readonly REAL: 3;
|
|
29
|
-
readonly CHECK: 4;
|
|
30
|
-
readonly CHECK_SINGLE: 5;
|
|
31
|
-
readonly COLOR: 6;
|
|
32
|
-
readonly BUTTON: 7;
|
|
33
|
-
readonly SELECT: 8;
|
|
34
|
-
readonly DATE: 9;
|
|
35
|
-
readonly DATETIME: 10;
|
|
36
|
-
readonly TIME: 11;
|
|
37
|
-
readonly ACTION: 12;
|
|
38
|
-
readonly LINK: 13;
|
|
39
|
-
readonly TREE: 14;
|
|
40
|
-
};
|
|
41
|
-
export declare type DTableColumnType = typeof DTableColumnType[keyof typeof DTableColumnType];
|
|
42
|
-
export declare type DTableGetter<ROW_VALUE, CELL_VALUE> = (row: ROW_VALUE, columnIndex: number) => CELL_VALUE;
|
|
43
|
-
export declare type DTableSetter<ROW_VALUE, CELL_VALUE> = (row: ROW_VALUE, columnIndex: number, cell: CELL_VALUE) => void;
|
|
44
|
-
export declare type DTableFormatter<CELL_VALUE> = (cell: CELL_VALUE) => string;
|
|
45
|
-
export declare type DTableEditingFormatter<CELL_VALUE> = (cell: CELL_VALUE) => string;
|
|
46
|
-
export declare type DTableEditingUnformatter<CELL_VALUE> = (formatted: string) => CELL_VALUE;
|
|
47
|
-
export declare type DTableEditingValidator<CELL_VALUE> = (cell: CELL_VALUE) => string | null;
|
|
48
|
-
export declare type DTableSelectingGetter<CELL_VALUE, DIALOG> = (dialog: DIALOG) => CELL_VALUE;
|
|
49
|
-
export declare type DTableSelectingSetter<CELL_VALUE, DIALOG> = (dialog: DIALOG, cell: CELL_VALUE) => void;
|
|
50
|
-
export declare type DTableEditable<ROW_VALUE> = (row: ROW_VALUE, columnIndex: number) => boolean;
|
|
51
|
-
export declare type DTableRenderable<ROW_VALUE> = (row: ROW_VALUE, columnIndex: number) => boolean;
|
|
52
|
-
export declare type DTableBodyCellOptionsUnion<ROW_VALUE> = DTableBodyCellTextOptions<ROW_VALUE> | DTableBodyCellInputTextOptions<ROW_VALUE> | DTableBodyCellInputIntegerOptions<ROW_VALUE> | DTableBodyCellInputRealOptions<ROW_VALUE> | DTableBodyCellIndexOptions<ROW_VALUE> | DTableBodyCellColorOptions<ROW_VALUE> | DTableBodyCellCheckOptions<ROW_VALUE> | DTableBodyCellSelectDialogOptions<ROW_VALUE> | DTableBodyCellSelectPromiseOptions<ROW_VALUE> | DTableBodyCellSelectMenuOptions<ROW_VALUE> | DTableBodyCellDateOptions<ROW_VALUE> | DTableBodyCellDatetimeOptions<ROW_VALUE> | DTableBodyCellTimeOptions<ROW_VALUE> | DTableBodyCellButtonOptions<ROW_VALUE> | DTableBodyCellLinkOptions<ROW_VALUE> | DTableBodyCellSelectMultipleOptions<ROW_VALUE> | DTableBodyCellTreeOptions<ROW_VALUE>;
|
|
53
|
-
export interface DTableColumnEditingOptions<ROW_VALUE, CELL_VALUE> {
|
|
54
|
-
enable?: boolean | DTableEditable<ROW_VALUE> | "auto" | "AUTO";
|
|
55
|
-
formatter?: DTableEditingFormatter<CELL_VALUE>;
|
|
56
|
-
unformatter?: DTableEditingUnformatter<CELL_VALUE>;
|
|
57
|
-
validator?: DTableEditingValidator<CELL_VALUE>;
|
|
58
|
-
}
|
|
59
|
-
export interface DTableColumnEditing<ROW_VALUE, CELL_VALUE> {
|
|
60
|
-
enable: boolean | DTableEditable<ROW_VALUE>;
|
|
61
|
-
formatter?: DTableEditingFormatter<CELL_VALUE>;
|
|
62
|
-
unformatter?: DTableEditingUnformatter<CELL_VALUE>;
|
|
63
|
-
validator?: DTableEditingValidator<CELL_VALUE>;
|
|
64
|
-
}
|
|
65
|
-
export interface DTableColumnSortingOptions<ROW_VALUE> {
|
|
66
|
-
enable?: boolean;
|
|
67
|
-
comparator?: DTableDataComparator<ROW_VALUE>;
|
|
68
|
-
}
|
|
69
|
-
export interface DTableColumnSorting<ROW_VALUE> {
|
|
70
|
-
enable: boolean;
|
|
71
|
-
comparator?: DTableDataComparator<ROW_VALUE>;
|
|
72
|
-
}
|
|
73
|
-
export interface DTableColumnSelectingDialog<DIALOG_VALUE> {
|
|
74
|
-
readonly value: DIALOG_VALUE;
|
|
75
|
-
open(owner?: DDialogOpener): Promise<DIALOG_VALUE>;
|
|
76
|
-
}
|
|
77
|
-
export interface DTableColumnSelectingOptions<CELL_VALUE, DIALOG_VALUE, DIALOG extends DTableColumnSelectingDialog<DIALOG_VALUE>> {
|
|
78
|
-
getter?: DTableSelectingGetter<CELL_VALUE, DIALOG>;
|
|
79
|
-
setter?: DTableSelectingSetter<CELL_VALUE, DIALOG>;
|
|
80
|
-
menu?: DMenuOptions<CELL_VALUE> | DMenu<CELL_VALUE>;
|
|
81
|
-
multiple?: DMenuOptions<CELL_VALUE> | DMenu<CELL_VALUE>;
|
|
82
|
-
dialog?: DDialogSelectOptions<DIALOG_VALUE> | DIALOG;
|
|
83
|
-
promise?: () => Promise<CELL_VALUE>;
|
|
84
|
-
}
|
|
85
|
-
export interface DTableColumnSelecting<CELL_VALUE, DIALOG_VALUE, DIALOG extends DTableColumnSelectingDialog<DIALOG_VALUE>> {
|
|
86
|
-
getter: DTableSelectingGetter<CELL_VALUE, DIALOG>;
|
|
87
|
-
setter: DTableSelectingSetter<CELL_VALUE, DIALOG>;
|
|
88
|
-
menu?: DMenu<CELL_VALUE>;
|
|
89
|
-
multiple?: DMenu<CELL_VALUE>;
|
|
90
|
-
dialog?: DIALOG;
|
|
91
|
-
promise?: () => Promise<CELL_VALUE>;
|
|
92
|
-
}
|
|
93
14
|
export interface DTableColumnOptions<ROW_VALUE, CELL_VALUE = any, DIALOG_VALUE = any, DIALOG extends DTableColumnSelectingDialog<DIALOG_VALUE> = any> {
|
|
94
15
|
weight?: number;
|
|
95
16
|
width?: number;
|
|
96
17
|
type?: keyof typeof DTableColumnType | DTableColumnType;
|
|
97
18
|
label?: string;
|
|
98
|
-
getter?:
|
|
99
|
-
setter?:
|
|
19
|
+
getter?: DTableColumnGetter<ROW_VALUE, CELL_VALUE>;
|
|
20
|
+
setter?: DTableColumnSetter<ROW_VALUE, CELL_VALUE>;
|
|
100
21
|
path?: string;
|
|
101
22
|
default?: CELL_VALUE;
|
|
102
|
-
|
|
23
|
+
/**
|
|
24
|
+
* A shortcut of body#text#formatter.
|
|
25
|
+
*/
|
|
26
|
+
formatter?: DTableColumnFormatter<CELL_VALUE>;
|
|
27
|
+
/**
|
|
28
|
+
* A shortcut of body#text#align#horizontal.
|
|
29
|
+
*/
|
|
103
30
|
align?: keyof typeof DAlignHorizontal | DAlignHorizontal;
|
|
31
|
+
/**
|
|
32
|
+
* A state option.
|
|
33
|
+
*/
|
|
34
|
+
state?: string | string[] | DTableColumnStateModifier<ROW_VALUE>;
|
|
104
35
|
/**
|
|
105
36
|
* If the renderable is
|
|
106
37
|
*
|
|
@@ -109,7 +40,7 @@ export interface DTableColumnOptions<ROW_VALUE, CELL_VALUE = any, DIALOG_VALUE =
|
|
|
109
40
|
* * a function, cells get rendered only when that function returns true.
|
|
110
41
|
* * "AUTO", cells get rendered only when the cell data exit.
|
|
111
42
|
*/
|
|
112
|
-
renderable?: boolean |
|
|
43
|
+
renderable?: boolean | DTableColumnRenderable<ROW_VALUE> | "auto" | "AUTO";
|
|
113
44
|
/**
|
|
114
45
|
* If the editable is
|
|
115
46
|
*
|
|
@@ -118,12 +49,12 @@ export interface DTableColumnOptions<ROW_VALUE, CELL_VALUE = any, DIALOG_VALUE =
|
|
|
118
49
|
* * a function, cells are editable only when that function returns true.
|
|
119
50
|
* * "AUTO", cells are editable only when the cell data exist.
|
|
120
51
|
*/
|
|
121
|
-
editable?: boolean |
|
|
52
|
+
editable?: boolean | DTableColumnEditable<ROW_VALUE> | "auto" | "AUTO";
|
|
122
53
|
editing?: DTableColumnEditingOptions<ROW_VALUE, CELL_VALUE>;
|
|
123
54
|
sortable?: boolean;
|
|
124
55
|
sorting?: DTableColumnSortingOptions<ROW_VALUE>;
|
|
125
56
|
header?: DTableHeaderCellOptions<ROW_VALUE>;
|
|
126
|
-
body?:
|
|
57
|
+
body?: DTableBodyCellOptions<ROW_VALUE>;
|
|
127
58
|
selecting?: DTableColumnSelectingOptions<CELL_VALUE, DIALOG_VALUE, DIALOG>;
|
|
128
59
|
category?: string | string[];
|
|
129
60
|
frozen?: boolean;
|
|
@@ -134,15 +65,16 @@ export interface DTableColumn<ROW_VALUE, CELL_VALUE, DIALOG_VALUE = CELL_VALUE,
|
|
|
134
65
|
width: number | undefined;
|
|
135
66
|
type: DTableColumnType;
|
|
136
67
|
label: string;
|
|
137
|
-
getter:
|
|
138
|
-
setter:
|
|
139
|
-
formatter?:
|
|
68
|
+
getter: DTableColumnGetter<ROW_VALUE, CELL_VALUE>;
|
|
69
|
+
setter: DTableColumnSetter<ROW_VALUE, CELL_VALUE>;
|
|
70
|
+
formatter?: DTableColumnFormatter<CELL_VALUE>;
|
|
140
71
|
align: DAlignHorizontal;
|
|
141
|
-
|
|
72
|
+
state: DTableColumnState<ROW_VALUE>;
|
|
73
|
+
renderable: boolean | DTableColumnRenderable<ROW_VALUE>;
|
|
142
74
|
editing: DTableColumnEditing<ROW_VALUE, CELL_VALUE>;
|
|
143
75
|
sorting: DTableColumnSorting<ROW_VALUE>;
|
|
144
76
|
header?: DTableHeaderCellOptions<ROW_VALUE>;
|
|
145
|
-
body?:
|
|
77
|
+
body?: DTableBodyCellOptions<ROW_VALUE>;
|
|
146
78
|
selecting: DTableColumnSelecting<CELL_VALUE, DIALOG_VALUE, DIALOG>;
|
|
147
79
|
category?: string | string[];
|
|
148
80
|
frozen?: boolean;
|
|
@@ -175,10 +175,10 @@ export * from "./d-command-save";
|
|
|
175
175
|
export * from "./d-command-undo";
|
|
176
176
|
export * from "./d-command";
|
|
177
177
|
export * from "./d-content";
|
|
178
|
+
export * from "./d-controller-command-impl";
|
|
178
179
|
export * from "./d-controller-command";
|
|
179
|
-
export * from "./d-controller-default-command";
|
|
180
|
-
export * from "./d-controller-default-focus";
|
|
181
180
|
export * from "./d-controller-document";
|
|
181
|
+
export * from "./d-controller-focus-impl";
|
|
182
182
|
export * from "./d-controller-focus";
|
|
183
183
|
export * from "./d-controller-keyboard";
|
|
184
184
|
export * from "./d-controllers";
|
|
@@ -486,6 +486,7 @@ export * from "./d-table-body-cell-input-text";
|
|
|
486
486
|
export * from "./d-table-body-cell-input-tree-input";
|
|
487
487
|
export * from "./d-table-body-cell-input-tree-marker";
|
|
488
488
|
export * from "./d-table-body-cell-input-tree";
|
|
489
|
+
export * from "./d-table-body-cell-options";
|
|
489
490
|
export * from "./d-table-body-cell-link";
|
|
490
491
|
export * from "./d-table-body-cell-select-dialog";
|
|
491
492
|
export * from "./d-table-body-cell-select-menu";
|
|
@@ -500,6 +501,15 @@ export * from "./d-table-body-row";
|
|
|
500
501
|
export * from "./d-table-body";
|
|
501
502
|
export * from "./d-table-category-cell";
|
|
502
503
|
export * from "./d-table-category";
|
|
504
|
+
export * from "./d-table-column-editing";
|
|
505
|
+
export * from "./d-table-column-formatter";
|
|
506
|
+
export * from "./d-table-column-getter";
|
|
507
|
+
export * from "./d-table-column-renderable";
|
|
508
|
+
export * from "./d-table-column-selecting";
|
|
509
|
+
export * from "./d-table-column-setter";
|
|
510
|
+
export * from "./d-table-column-sorting";
|
|
511
|
+
export * from "./d-table-column-state";
|
|
512
|
+
export * from "./d-table-column-type";
|
|
503
513
|
export * from "./d-table-column";
|
|
504
514
|
export * from "./d-table-data-filter";
|
|
505
515
|
export * from "./d-table-data-list-filter";
|
|
@@ -1,23 +1,14 @@
|
|
|
1
|
+
import { utils } from "pixi.js";
|
|
1
2
|
import { DCanvasContainer } from "../../d-canvas-container";
|
|
2
3
|
import { DDiagramBaseController, DDiagramBaseControllerOpenType } from "../../d-diagram-base-controller";
|
|
4
|
+
import { DDiagramData } from "../../d-diagram-data";
|
|
3
5
|
import { DDiagramSerialized } from "../../d-diagram-serialized";
|
|
4
6
|
import { EShape } from "../e-shape";
|
|
7
|
+
import { EShapeDataValueState } from "../e-shape-data-value-state";
|
|
5
8
|
import { EShapeEmbedded } from "../variant/e-shape-embedded";
|
|
6
|
-
export interface EShapeActionRuntimeContainerDataScoped {
|
|
7
|
-
set(id: string, value: unknown, time: number): boolean;
|
|
8
|
-
}
|
|
9
|
-
export interface EShapeActionRuntimeContainerData {
|
|
10
|
-
readonly remote: EShapeActionRuntimeContainerDataScoped;
|
|
11
|
-
readonly private: EShapeActionRuntimeContainerDataScoped;
|
|
12
|
-
readonly protected: EShapeActionRuntimeContainerDataScoped;
|
|
13
|
-
set(id: string, value: unknown, time?: number, from?: number | null, to?: number | null): boolean;
|
|
14
|
-
}
|
|
15
|
-
export interface EShapeActionRuntimeContainerShape {
|
|
16
|
-
emit(name: string, ...args: unknown[]): void;
|
|
17
|
-
}
|
|
18
9
|
export interface EShapeActionRuntimeContainer extends DCanvasContainer {
|
|
19
|
-
readonly shape:
|
|
20
|
-
readonly data:
|
|
10
|
+
readonly shape: utils.EventEmitter;
|
|
11
|
+
readonly data: DDiagramData;
|
|
21
12
|
readonly controller: DDiagramBaseController | null;
|
|
22
13
|
set(serialized: DDiagramSerialized | null): void;
|
|
23
14
|
}
|
|
@@ -26,7 +17,8 @@ export declare class EShapeActionRuntimes {
|
|
|
26
17
|
static isEmbedded(target: unknown): target is EShapeEmbedded;
|
|
27
18
|
static toContainer(shape?: EShape | null): EShapeActionRuntimeContainer | null;
|
|
28
19
|
static open(shape: EShape, type: DDiagramBaseControllerOpenType, target: string, inNewWindow: boolean): void;
|
|
29
|
-
static
|
|
20
|
+
static writeLocal(shape: EShape, id: string, value: unknown, time: number, state?: EShapeDataValueState): boolean;
|
|
21
|
+
static writeRemote(shape: EShape, id: string, value: unknown): boolean;
|
|
30
22
|
static emit(shape: EShape, name: string): void;
|
|
31
23
|
static emit(shape: EShape, name: string, value: unknown, time: number): void;
|
|
32
24
|
}
|
|
@@ -8,16 +8,19 @@ import { EShapeDataMapping } from "./e-shape-data-mapping";
|
|
|
8
8
|
import { EShapeDataValueScope } from "./e-shape-data-value-scope";
|
|
9
9
|
import { DDiagramSerializedData, DDiagramSerializedDataWithMapping } from "../d-diagram-serialized";
|
|
10
10
|
import { EShapeDataScoped } from "./e-shape-data-scoped";
|
|
11
|
+
import { EShapeDataValueState } from "./e-shape-data-value-state";
|
|
11
12
|
export declare class EShapeDataImpl implements EShapeData {
|
|
12
13
|
protected _values: EShapeDataValue[];
|
|
13
14
|
protected _isChanged: boolean;
|
|
14
15
|
protected _mapping?: EShapeDataMapping;
|
|
15
16
|
protected _private?: EShapeDataScoped;
|
|
17
|
+
protected _alias?: Record<string, EShapeDataValue>;
|
|
16
18
|
constructor();
|
|
17
19
|
get values(): EShapeDataValue[];
|
|
18
20
|
get isChanged(): boolean;
|
|
19
21
|
set isChanged(isChanged: boolean);
|
|
20
22
|
get id(): string;
|
|
23
|
+
get as(): string;
|
|
21
24
|
get type(): EShapeDataValueType;
|
|
22
25
|
get scope(): EShapeDataValueScope;
|
|
23
26
|
get initial(): string;
|
|
@@ -28,8 +31,12 @@ export declare class EShapeDataImpl implements EShapeData {
|
|
|
28
31
|
get nvalue(): number;
|
|
29
32
|
get time(): number;
|
|
30
33
|
set time(time: number);
|
|
34
|
+
get state(): EShapeDataValueState;
|
|
35
|
+
set state(state: EShapeDataValueState);
|
|
31
36
|
get capacity(): number;
|
|
32
37
|
set capacity(capacity: number);
|
|
38
|
+
get alias(): Record<string, EShapeDataValue>;
|
|
39
|
+
protected newAlias(): Record<string, EShapeDataValue>;
|
|
33
40
|
get mapping(): EShapeDataMapping;
|
|
34
41
|
protected newMapping(): EShapeDataMapping;
|
|
35
42
|
getMapping(): EShapeDataMapping | undefined;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { EShapeDataScoped } from "./e-shape-data-scoped";
|
|
2
2
|
import { EShapeDataValue } from "./e-shape-data-value";
|
|
3
|
+
import { EShapeDataValueState } from "./e-shape-data-value-state";
|
|
3
4
|
export declare class EShapeDataScopedImpl implements EShapeDataScoped {
|
|
4
5
|
protected _data?: Map<string, EShapeDataValue[]>;
|
|
5
6
|
get ids(): string[];
|
|
6
7
|
add(id: string, value: EShapeDataValue): void;
|
|
7
|
-
set(id: string, value: unknown, time?: number, from?: number | null, to?: number | null): boolean;
|
|
8
|
+
set(id: string, value: unknown, time?: number, state?: EShapeDataValueState, from?: number | null, to?: number | null): boolean;
|
|
8
9
|
toDirty(id: string): boolean;
|
|
9
10
|
each(iteratee: (id: string) => boolean | void): string | null;
|
|
10
11
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { EShapeDataValue } from "./e-shape-data-value";
|
|
2
|
+
import { EShapeDataValueState } from "./e-shape-data-value-state";
|
|
2
3
|
export interface EShapeDataScoped {
|
|
3
4
|
readonly ids: string[];
|
|
4
5
|
add(id: string, value: EShapeDataValue): void;
|
|
5
|
-
set(id: string, value: unknown, time?: number, from?: number | null, to?: number | null): boolean;
|
|
6
|
+
set(id: string, value: unknown, time?: number, state?: EShapeDataValueState, from?: number | null, to?: number | null): boolean;
|
|
6
7
|
toDirty(id: string): boolean;
|
|
7
8
|
each(iteratee: (id: string) => boolean | void): string | null;
|
|
8
9
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type EShapeDataValueFormatter = (value: unknown) => unknown;
|
|
@@ -5,8 +5,11 @@ import { EShapeDataValueRange } from "./e-shape-data-value-range";
|
|
|
5
5
|
import { EShapeDataValueOrder } from "./e-shape-data-value-order";
|
|
6
6
|
import { EShapeDataValueType } from "./e-shape-data-value-type";
|
|
7
7
|
import { EShapeDataValueScope } from "./e-shape-data-value-scope";
|
|
8
|
+
import { EShapeDataValueFormatter } from "./e-shape-data-value-formatter";
|
|
9
|
+
import { EShapeDataValueState } from "./e-shape-data-value-state";
|
|
8
10
|
export declare class EShapeDataValueImpl implements EShapeDataValue {
|
|
9
11
|
id: string;
|
|
12
|
+
as: string;
|
|
10
13
|
type: EShapeDataValueType;
|
|
11
14
|
scope: EShapeDataValueScope;
|
|
12
15
|
initial: string;
|
|
@@ -14,12 +17,14 @@ export declare class EShapeDataValueImpl implements EShapeDataValue {
|
|
|
14
17
|
range: EShapeDataValueRange;
|
|
15
18
|
protected _value: unknown;
|
|
16
19
|
protected _time: number;
|
|
20
|
+
protected _state: EShapeDataValueState;
|
|
17
21
|
protected _values: unknown[] | undefined;
|
|
18
22
|
protected _times: number[] | undefined;
|
|
23
|
+
protected _states: EShapeDataValueState[] | undefined;
|
|
19
24
|
protected _capacity: number;
|
|
20
25
|
protected _order: EShapeDataValueOrder;
|
|
21
26
|
protected _parent?: EShapeDataValueParent;
|
|
22
|
-
formatter?:
|
|
27
|
+
formatter?: EShapeDataValueFormatter;
|
|
23
28
|
constructor();
|
|
24
29
|
get parent(): EShapeDataValueParent | undefined;
|
|
25
30
|
set parent(parent: EShapeDataValueParent | undefined);
|
|
@@ -32,6 +37,10 @@ export declare class EShapeDataValueImpl implements EShapeDataValue {
|
|
|
32
37
|
set time(newTime: number);
|
|
33
38
|
get times(): number[];
|
|
34
39
|
set times(newTimes: number[]);
|
|
40
|
+
get state(): EShapeDataValueState;
|
|
41
|
+
set state(newState: number);
|
|
42
|
+
get states(): EShapeDataValueState[];
|
|
43
|
+
set states(newStates: number[]);
|
|
35
44
|
get capacity(): number;
|
|
36
45
|
set capacity(capacity: number);
|
|
37
46
|
get order(): EShapeDataValueOrder;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare const EShapeDataValueState: {
|
|
2
|
+
/**
|
|
3
|
+
* The data status is not known.
|
|
4
|
+
* This is the default state.
|
|
5
|
+
*/
|
|
6
|
+
readonly UNKOWN: -1;
|
|
7
|
+
/**
|
|
8
|
+
* The request succeeded.
|
|
9
|
+
*/
|
|
10
|
+
readonly FOUND: 0;
|
|
11
|
+
/**
|
|
12
|
+
* The server can not find the requested data.
|
|
13
|
+
*/
|
|
14
|
+
readonly NOT_FOUND: 1;
|
|
15
|
+
/**
|
|
16
|
+
* The settings or something provided by clients are considered incorrect.
|
|
17
|
+
*/
|
|
18
|
+
readonly BAD_REQUEST: 2;
|
|
19
|
+
/**
|
|
20
|
+
* The server has encountered unknown errors.
|
|
21
|
+
*/
|
|
22
|
+
readonly SERVER_ERROR: 3;
|
|
23
|
+
/**
|
|
24
|
+
* The server is not ready to handle the request.
|
|
25
|
+
*/
|
|
26
|
+
readonly SERVICE_UNAVAILABLE: 4;
|
|
27
|
+
/**
|
|
28
|
+
* A client is not allowed to access this data.
|
|
29
|
+
*/
|
|
30
|
+
readonly FORBIDDEN: 5;
|
|
31
|
+
};
|
|
32
|
+
export declare type EShapeDataValueState = number;
|
|
@@ -4,8 +4,11 @@ import { EShapeDataValueRange, EShapeDataValueRangeLike } from "./e-shape-data-v
|
|
|
4
4
|
import { EShapeDataValueOrder } from "./e-shape-data-value-order";
|
|
5
5
|
import { EShapeDataValueScope } from "./e-shape-data-value-scope";
|
|
6
6
|
import { EShapeDataValueType } from "./e-shape-data-value-type";
|
|
7
|
+
import { EShapeDataValueState } from "./e-shape-data-value-state";
|
|
8
|
+
import { EShapeDataValueFormatter } from "./e-shape-data-value-formatter";
|
|
7
9
|
export interface EShapeDataValueLike {
|
|
8
10
|
id: string;
|
|
11
|
+
as: string;
|
|
9
12
|
type: EShapeDataValueType;
|
|
10
13
|
scope: EShapeDataValueScope;
|
|
11
14
|
initial: string;
|
|
@@ -21,11 +24,13 @@ export interface EShapeDataValue extends EShapeDataValueLike {
|
|
|
21
24
|
value: unknown;
|
|
22
25
|
readonly nvalue: number;
|
|
23
26
|
time: number;
|
|
27
|
+
state: EShapeDataValueState;
|
|
24
28
|
values: unknown[];
|
|
25
29
|
times: number[];
|
|
30
|
+
states: EShapeDataValueState[];
|
|
26
31
|
range: EShapeDataValueRange;
|
|
27
32
|
parent?: EShapeDataValueParent;
|
|
28
|
-
formatter?:
|
|
33
|
+
formatter?: EShapeDataValueFormatter;
|
|
29
34
|
clear(): void;
|
|
30
35
|
toDirty(): void;
|
|
31
36
|
remove(index: number): void;
|
|
@@ -6,10 +6,12 @@ import { EShapeDataMapping } from "./e-shape-data-mapping";
|
|
|
6
6
|
import { EShapeDataValueType } from "./e-shape-data-value-type";
|
|
7
7
|
import { EShapeDataValueScope } from "./e-shape-data-value-scope";
|
|
8
8
|
import { EShapeDataScoped } from "./e-shape-data-scoped";
|
|
9
|
+
import { EShapeDataValueState } from "./e-shape-data-value-state";
|
|
9
10
|
export interface EShapeData {
|
|
10
11
|
readonly values: EShapeDataValue[];
|
|
11
12
|
isChanged: boolean;
|
|
12
13
|
readonly id: string;
|
|
14
|
+
readonly as: string;
|
|
13
15
|
readonly type: EShapeDataValueType;
|
|
14
16
|
readonly scope: EShapeDataValueScope;
|
|
15
17
|
readonly initial: string;
|
|
@@ -18,7 +20,9 @@ export interface EShapeData {
|
|
|
18
20
|
value: unknown;
|
|
19
21
|
readonly nvalue: number;
|
|
20
22
|
time: number;
|
|
23
|
+
state: EShapeDataValueState;
|
|
21
24
|
capacity: number;
|
|
25
|
+
readonly alias: Record<string, EShapeDataValue>;
|
|
22
26
|
readonly mapping: EShapeDataMapping;
|
|
23
27
|
getMapping(): EShapeDataMapping | undefined;
|
|
24
28
|
readonly private: EShapeDataScoped;
|
|
@@ -35,11 +35,13 @@ export * from "./e-shape-data-scoped-impl";
|
|
|
35
35
|
export * from "./e-shape-data-scoped";
|
|
36
36
|
export * from "./e-shape-data-value-extension";
|
|
37
37
|
export * from "./e-shape-data-value-extensions";
|
|
38
|
+
export * from "./e-shape-data-value-formatter";
|
|
38
39
|
export * from "./e-shape-data-value-impl";
|
|
39
40
|
export * from "./e-shape-data-value-order";
|
|
40
41
|
export * from "./e-shape-data-value-range-impl";
|
|
41
42
|
export * from "./e-shape-data-value-range";
|
|
42
43
|
export * from "./e-shape-data-value-scope";
|
|
44
|
+
export * from "./e-shape-data-value-state";
|
|
43
45
|
export * from "./e-shape-data-value-type";
|
|
44
46
|
export * from "./e-shape-data-value";
|
|
45
47
|
export * from "./e-shape-data";
|
|
@@ -6,8 +6,9 @@ import { EShapeTextAlignVertical } from "../e-shape-text-align-vertical";
|
|
|
6
6
|
import { EShapeTextDirection } from "../e-shape-text-direction";
|
|
7
7
|
export declare const TEXT_VERTEX_COUNT = 4;
|
|
8
8
|
export declare const TEXT_INDEX_COUNT = 2;
|
|
9
|
+
export declare const TEXT_FMIN: number;
|
|
9
10
|
export declare const toTextBufferCount: (shape: EShape) => number;
|
|
10
11
|
export declare const buildTextClipping: (clippings: Float32Array, voffset: number, vcount: number) => void;
|
|
11
12
|
export declare const buildTextIndex: (indices: Uint16Array | Uint32Array, voffset: number, ioffset: number, icount: number) => void;
|
|
12
|
-
export declare const buildTextStep: (steps: Float32Array, voffset: number, vcount: number, textAtlas: EShapeTextAtlas | undefined, textSize: number, textOutlineWidth: number, textWeight: EShapeTextWeight) => void;
|
|
13
|
+
export declare const buildTextStep: (steps: Float32Array, voffset: number, vcount: number, textAtlas: EShapeTextAtlas | undefined, textSize: number, textOutlineWidth: number, textWeight: EShapeTextWeight, scaleX: number, scaleY: number) => void;
|
|
13
14
|
export declare const buildTextVertex: (vertices: Float32Array, uvs: Float32Array, voffset: number, vcount: number, originX: number, originY: number, sizeX: number, sizeY: number, textAtlas: EShapeTextAtlas, textSize: number, textValue: string, textStyle: EShapeTextStyle, textAlignHorizontal: EShapeTextAlignHorizontal, textAlignVertical: EShapeTextAlignVertical, textOffsetHorizontal: number, textOffsetVertical: number, textSpacingHorizontal: number, textSpacingVertical: number, textDirection: EShapeTextDirection, textPaddingHorizontal: number, textPaddingVertical: number, textClipping: boolean, textWorld: number[], textureUvs: TextureUvs, internalTransform: Matrix) => void;
|
|
@@ -12,6 +12,8 @@ export declare class BuilderText implements Builder {
|
|
|
12
12
|
protected sizeX: number;
|
|
13
13
|
protected sizeY: number;
|
|
14
14
|
protected transformLocalId: number;
|
|
15
|
+
protected scaleX: number;
|
|
16
|
+
protected scaleY: number;
|
|
15
17
|
protected texture: Texture | null;
|
|
16
18
|
protected textureTransformId: number;
|
|
17
19
|
protected value: string;
|
|
@@ -6,7 +6,7 @@ import { EShapeType } from "../e-shape-type";
|
|
|
6
6
|
import { EShapeGroupViewer } from "./e-shape-group-viewer";
|
|
7
7
|
export declare class EShapeEmbeddedLayer extends EShapeGroupViewer implements EShapeLayer {
|
|
8
8
|
protected _name: string;
|
|
9
|
-
constructor(name: string,
|
|
9
|
+
constructor(name: string, type?: EShapeType);
|
|
10
10
|
get name(): string;
|
|
11
11
|
protected newGroupFill(): EShapeFill;
|
|
12
12
|
protected isGroupSizeFittable(): boolean;
|
|
@@ -5,7 +5,7 @@ import { EShapeType } from "../e-shape-type";
|
|
|
5
5
|
import { EShapeGroupViewer } from "./e-shape-group-viewer";
|
|
6
6
|
export declare class EShapeEmbedded extends EShapeGroupViewer {
|
|
7
7
|
protected _name: string;
|
|
8
|
-
constructor(name: string,
|
|
8
|
+
constructor(name: string, type?: EShapeType);
|
|
9
9
|
get name(): string;
|
|
10
10
|
protected newGroupText(): EShapeText;
|
|
11
11
|
protected isGroupSizeFittable(): boolean;
|
|
@@ -17,10 +17,8 @@ export declare abstract class EShapeGroupViewer extends EShapeBase {
|
|
|
17
17
|
tag: EShapeData;
|
|
18
18
|
data: EShapeData;
|
|
19
19
|
text: EShapeText;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
get isEditMode(): boolean;
|
|
23
|
-
protected newGroupSize(isEditMode: boolean): EShapeGroupSize;
|
|
20
|
+
constructor(type: EShapeType);
|
|
21
|
+
protected newGroupSize(): EShapeGroupSize;
|
|
24
22
|
protected isGroupSizeFittable(): boolean;
|
|
25
23
|
protected newData(): EShapeData;
|
|
26
24
|
protected newGroupFill(): EShapeFill;
|
|
@@ -26,12 +26,14 @@ export declare class DThemeDarkTableHeaderCell extends DThemeDarkImage<string |
|
|
|
26
26
|
getPaddingLeft(): number;
|
|
27
27
|
getPaddingRight(): number;
|
|
28
28
|
newTextValue(): DStateAwareOrValueMightBe<string | null>;
|
|
29
|
+
getImageTintColor(state: DBaseStateSet, isActive?: boolean): number | null;
|
|
29
30
|
getSecondaryImageTintColor(state: DBaseStateSet): number | null;
|
|
30
31
|
getSecondaryImageSource(state: DBaseStateSet): Texture | DisplayObject | null;
|
|
31
32
|
getSecondaryImageAlignHorizontal(): DAlignHorizontal;
|
|
32
33
|
getSecondaryImageAlignVertical(): DAlignVertical;
|
|
33
34
|
getSecondaryImageAlignWith(): DAlignWith;
|
|
34
35
|
getTertiaryImageSource(state: DBaseStateSet): Texture | DisplayObject | null;
|
|
36
|
+
getTertiaryImageTintColor(state: DBaseStateSet): number | null;
|
|
35
37
|
getTertiaryImageAlignHorizontal(): DAlignHorizontal;
|
|
36
38
|
getTertiaryImageAlignWith(): DAlignWith;
|
|
37
39
|
getCursor(state: DBaseStateSet): string;
|
|
@@ -26,12 +26,14 @@ export declare class DThemeWhiteTableHeaderCell extends DThemeWhiteImage<string
|
|
|
26
26
|
getPaddingLeft(): number;
|
|
27
27
|
getPaddingRight(): number;
|
|
28
28
|
newTextValue(): DStateAwareOrValueMightBe<string | null>;
|
|
29
|
+
getImageTintColor(state: DBaseStateSet, isActive?: boolean): number | null;
|
|
29
30
|
getSecondaryImageTintColor(state: DBaseStateSet): number | null;
|
|
30
31
|
getSecondaryImageSource(state: DBaseStateSet): Texture | DisplayObject | null;
|
|
31
32
|
getSecondaryImageAlignHorizontal(): DAlignHorizontal;
|
|
32
33
|
getSecondaryImageAlignVertical(): DAlignVertical;
|
|
33
34
|
getSecondaryImageAlignWith(): DAlignWith;
|
|
34
35
|
getTertiaryImageSource(state: DBaseStateSet): Texture | DisplayObject | null;
|
|
36
|
+
getTertiaryImageTintColor(state: DBaseStateSet): number | null;
|
|
35
37
|
getTertiaryImageAlignHorizontal(): DAlignHorizontal;
|
|
36
38
|
getTertiaryImageAlignWith(): DAlignWith;
|
|
37
39
|
getCursor(state: DBaseStateSet): string;
|
|
@@ -21,6 +21,7 @@ export * from "./is-array";
|
|
|
21
21
|
export * from "./is-function";
|
|
22
22
|
export * from "./is-nan";
|
|
23
23
|
export * from "./is-number";
|
|
24
|
+
export * from "./is-object";
|
|
24
25
|
export * from "./is-string";
|
|
25
26
|
export * from "./lazy";
|
|
26
27
|
export * from "./number-formatter-function";
|
|
@@ -28,9 +29,11 @@ export * from "./number-formatter-impl";
|
|
|
28
29
|
export * from "./number-formatter";
|
|
29
30
|
export * from "./number-formatters";
|
|
30
31
|
export * from "./to-ceiling-index";
|
|
32
|
+
export * from "./to-cloned";
|
|
31
33
|
export * from "./to-enum";
|
|
32
34
|
export * from "./to-index-of";
|
|
33
35
|
export * from "./to-label";
|
|
36
|
+
export * from "./to-merged";
|
|
34
37
|
export * from "./to-padded";
|
|
35
38
|
export * from "./to-string";
|
|
36
39
|
export * from "./to-svg-texture";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isObject: (target: any) => target is Record<string, unknown>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const toCloned: <T>(target: T) => T;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const toMerged: <T, U>(one: T, other: U) => Exclude<T & U, null | undefined>;
|
|
@@ -6,7 +6,7 @@ import { Renderer } from "pixi.js";
|
|
|
6
6
|
import { DApplicationLayer } from "./d-application-layer";
|
|
7
7
|
import { DApplicationLayerOptions } from "./d-application-layer-options";
|
|
8
8
|
import { DApplications } from "./d-applications";
|
|
9
|
-
import {
|
|
9
|
+
import { DControllerFocusImpl } from "./d-controller-focus-impl";
|
|
10
10
|
import { isString } from "./util/is-string";
|
|
11
11
|
var DApplication = /** @class */ (function () {
|
|
12
12
|
function DApplication(options) {
|
|
@@ -83,7 +83,7 @@ var DApplication = /** @class */ (function () {
|
|
|
83
83
|
};
|
|
84
84
|
DApplication.prototype.getFocusController = function () {
|
|
85
85
|
if (this._focus == null) {
|
|
86
|
-
this._focus = new
|
|
86
|
+
this._focus = new DControllerFocusImpl();
|
|
87
87
|
}
|
|
88
88
|
return this._focus;
|
|
89
89
|
};
|