@wcardinal/wcardinal-ui 0.193.0 → 0.197.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-diagram-canvas-data-impl.d.ts +5 -1
- package/dist/types/wcardinal/ui/d-diagram-canvas-data.d.ts +3 -1
- package/dist/types/wcardinal/ui/d-diagram-canvas.d.ts +0 -1
- package/dist/types/wcardinal/ui/d-diagram-data-extended-impl.d.ts +10 -0
- package/dist/types/wcardinal/ui/d-diagram-data-impl.d.ts +6 -3
- package/dist/types/wcardinal/ui/d-diagram-data-private-impl.d.ts +3 -0
- package/dist/types/wcardinal/ui/d-diagram-data-protected-impl.d.ts +3 -0
- package/dist/types/wcardinal/ui/d-diagram-data-scoped.d.ts +3 -0
- package/dist/types/wcardinal/ui/d-diagram-data.d.ts +3 -1
- package/dist/types/wcardinal/ui/d-diagram-shape.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-open-dialog-extension.d.ts +6 -0
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-open-dialog-extensions.d.ts +8 -0
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-open-dialog-opener.d.ts +2 -0
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-open-extension.d.ts +6 -0
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-open-extensions.d.ts +1 -4
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-open-opener.d.ts +0 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-open-openers.d.ts +2 -0
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-runtime-misc-html-element-base.d.ts +2 -0
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-extension.d.ts +12 -0
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-open-dialog-extension.d.ts +26 -0
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-open-dialog-type.d.ts +2 -1
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-open-dialog.d.ts +5 -4
- package/dist/types/wcardinal/ui/shape/action/index.d.ts +7 -0
- package/dist/types/wcardinal/ui/shape/e-shape-capability.d.ts +69 -3
- package/dist/types/wcardinal/ui/shape/e-shape-data-scoped-impl.d.ts +3 -0
- package/dist/types/wcardinal/ui/shape/e-shape-data-scoped.d.ts +3 -0
- package/dist/types/wcardinal/ui/shape/e-shape-data-value-extension.d.ts +6 -0
- package/dist/types/wcardinal/ui/shape/e-shape-data-value-extensions.d.ts +8 -0
- package/dist/types/wcardinal/ui/shape/e-shape-data-value-impl.d.ts +1 -0
- package/dist/types/wcardinal/ui/shape/e-shape-data-value-type.d.ts +2 -1
- package/dist/types/wcardinal/ui/shape/e-shape-data-value.d.ts +1 -0
- package/dist/types/wcardinal/ui/shape/index.d.ts +3 -1
- package/dist/types/wcardinal/ui/shape/load/index.d.ts +1 -0
- package/dist/types/wcardinal/ui/shape/load/load-shape-clipper-ex.d.ts +2 -0
- package/dist/types/wcardinal/ui/shape/variant/create-circle-uploaded.d.ts +1 -1
- package/dist/types/wcardinal/ui/shape/variant/index.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-html-element.d.ts +5 -2
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-html-element.d.ts +5 -2
- package/dist/types/wcardinal/ui/util/index.d.ts +4 -0
- package/dist/types/wcardinal/ui/util/util-html-element-clipper-ex-impl.d.ts +15 -0
- package/dist/types/wcardinal/ui/util/util-html-element-clipper-ex-rects-impl.d.ts +15 -0
- package/dist/types/wcardinal/ui/util/util-html-element-clipper-ex-rects.d.ts +9 -0
- package/dist/types/wcardinal/ui/util/util-html-element-clipper-ex.d.ts +6 -0
- package/dist/types/wcardinal/ui/util/util-html-element.d.ts +16 -5
- package/dist/wcardinal/ui/d-diagram-canvas-data-impl.js +35 -2
- 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 +92 -62
- package/dist/wcardinal/ui/d-diagram-canvas.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-data-extended-impl.js +44 -0
- package/dist/wcardinal/ui/d-diagram-data-extended-impl.js.map +1 -0
- package/dist/wcardinal/ui/d-diagram-data-impl.js +18 -2
- package/dist/wcardinal/ui/d-diagram-data-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-data-private-impl.js +25 -0
- package/dist/wcardinal/ui/d-diagram-data-private-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-data-protected-impl.js +25 -0
- package/dist/wcardinal/ui/d-diagram-data-protected-impl.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-shape.js +3 -3
- package/dist/wcardinal/ui/d-diagram-shape.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/deserialize-action-value.js +5 -0
- package/dist/wcardinal/ui/shape/action/deserialize-action-value.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-open-dialog-extension.js +6 -0
- package/dist/wcardinal/ui/shape/action/e-shape-action-open-dialog-extension.js.map +1 -0
- package/dist/wcardinal/ui/shape/action/e-shape-action-open-dialog-extensions.js +30 -0
- package/dist/wcardinal/ui/shape/action/e-shape-action-open-dialog-extensions.js.map +1 -0
- package/dist/wcardinal/ui/shape/action/e-shape-action-open-dialog-opener.js +6 -0
- package/dist/wcardinal/ui/shape/action/e-shape-action-open-dialog-opener.js.map +1 -0
- package/dist/wcardinal/ui/shape/action/e-shape-action-open-extension.js +6 -0
- package/dist/wcardinal/ui/shape/action/e-shape-action-open-extension.js.map +1 -0
- package/dist/wcardinal/ui/shape/action/e-shape-action-open-extensions.js +2 -0
- package/dist/wcardinal/ui/shape/action/e-shape-action-open-extensions.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-open-opener.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-open-opener.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-open-openers.js +6 -0
- package/dist/wcardinal/ui/shape/action/e-shape-action-open-openers.js.map +1 -0
- package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-misc-html-element-base.js +40 -3
- package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-misc-html-element-base.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-misc-input.js +3 -0
- package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-misc-input.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-extension.js +37 -0
- package/dist/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-extension.js.map +1 -0
- package/dist/wcardinal/ui/shape/action/e-shape-action-runtimes.js +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-runtimes.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-open-dialog-extension.js +41 -0
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-open-dialog-extension.js.map +1 -0
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-open-dialog-type.js +2 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-open-dialog-type.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/e-shape-action-value-open-dialog.js.map +1 -1
- package/dist/wcardinal/ui/shape/action/index.js +7 -0
- package/dist/wcardinal/ui/shape/action/index.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-capability.js +73 -6
- package/dist/wcardinal/ui/shape/e-shape-capability.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-data-scoped-impl.js +48 -0
- 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-extension.js +6 -0
- package/dist/wcardinal/ui/shape/e-shape-data-value-extension.js.map +1 -0
- package/dist/wcardinal/ui/shape/e-shape-data-value-extensions.js +30 -0
- package/dist/wcardinal/ui/shape/e-shape-data-value-extensions.js.map +1 -0
- package/dist/wcardinal/ui/shape/e-shape-data-value-impl.js +6 -0
- package/dist/wcardinal/ui/shape/e-shape-data-value-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-data-value-type.js +2 -1
- package/dist/wcardinal/ui/shape/e-shape-data-value-type.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-data-value.js.map +1 -1
- package/dist/wcardinal/ui/shape/index.js +3 -1
- package/dist/wcardinal/ui/shape/index.js.map +1 -1
- package/dist/wcardinal/ui/shape/load/index.js +1 -0
- package/dist/wcardinal/ui/shape/load/index.js.map +1 -1
- package/dist/wcardinal/ui/shape/load/load-shape-circle.js +2 -2
- package/dist/wcardinal/ui/shape/load/load-shape-circle.js.map +1 -1
- package/dist/wcardinal/ui/shape/load/load-shape-clipper-ex.js +12 -0
- package/dist/wcardinal/ui/shape/load/load-shape-clipper-ex.js.map +1 -0
- package/dist/wcardinal/ui/shape/load/load-shape-group-shadowed.js +3 -0
- package/dist/wcardinal/ui/shape/load/load-shape-group-shadowed.js.map +1 -1
- package/dist/wcardinal/ui/shape/load/load-shape-group.js +3 -0
- package/dist/wcardinal/ui/shape/load/load-shape-group.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/create-circle-uploaded.js +1 -1
- package/dist/wcardinal/ui/shape/variant/create-circle-uploaded.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/index.js +1 -0
- package/dist/wcardinal/ui/shape/variant/index.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-html-element.js +14 -3
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-html-element.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/e-theme-dark-shape-action-value.js +17 -0
- package/dist/wcardinal/ui/theme/dark/e-theme-dark-shape-action-value.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-html-element.js +14 -3
- package/dist/wcardinal/ui/theme/white/d-theme-white-html-element.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/e-theme-white-shape-action-value.js +17 -0
- package/dist/wcardinal/ui/theme/white/e-theme-white-shape-action-value.js.map +1 -1
- package/dist/wcardinal/ui/util/index.js +4 -0
- package/dist/wcardinal/ui/util/index.js.map +1 -1
- package/dist/wcardinal/ui/util/util-html-element-clipper-ex-impl.js +520 -0
- package/dist/wcardinal/ui/util/util-html-element-clipper-ex-impl.js.map +1 -0
- package/dist/wcardinal/ui/util/util-html-element-clipper-ex-rects-impl.js +72 -0
- package/dist/wcardinal/ui/util/util-html-element-clipper-ex-rects-impl.js.map +1 -0
- package/dist/wcardinal/ui/util/util-html-element-clipper-ex-rects.js +6 -0
- package/dist/wcardinal/ui/util/util-html-element-clipper-ex-rects.js.map +1 -0
- package/dist/wcardinal/ui/util/util-html-element-clipper-ex.js +6 -0
- package/dist/wcardinal/ui/util/util-html-element-clipper-ex.js.map +1 -0
- package/dist/wcardinal/ui/util/util-html-element.js +67 -10
- package/dist/wcardinal/ui/util/util-html-element.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark.js +34 -4
- 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 +34 -4
- 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 +1529 -352
- package/dist/wcardinal-ui.js +1472 -347
- package/dist/wcardinal-ui.min.js +2 -2
- package/dist/wcardinal-ui.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -5,15 +5,19 @@ export declare class DDiagramCanvasDataImpl implements DDiagramCanvasData {
|
|
|
5
5
|
protected _data?: Map<string, EShapeDataValue[]>;
|
|
6
6
|
protected _private?: EShapeDataScoped;
|
|
7
7
|
protected _protected?: EShapeDataScoped;
|
|
8
|
+
protected _extended?: EShapeDataScoped;
|
|
8
9
|
get private(): EShapeDataScoped;
|
|
9
10
|
protected newPrivate(): EShapeDataScoped;
|
|
10
11
|
get protected(): EShapeDataScoped;
|
|
11
12
|
protected newProtected(): EShapeDataScoped;
|
|
13
|
+
get extended(): EShapeDataScoped;
|
|
14
|
+
protected newExtended(): EShapeDataScoped;
|
|
12
15
|
get ids(): string[];
|
|
13
|
-
each(
|
|
16
|
+
each(iteratee: (id: string) => boolean | void): string | null;
|
|
14
17
|
add(id: string, value: EShapeDataValue): void;
|
|
15
18
|
set(id: string, value: unknown, time?: number, from?: number | null, to?: number | null): boolean;
|
|
16
19
|
clear(id: string): boolean;
|
|
20
|
+
toDirty(id: string): boolean;
|
|
17
21
|
setAll(id: string, values: unknown[], times?: number[], from?: number | null, to?: number | null): boolean;
|
|
18
22
|
setValue(id: string, value: unknown, time?: number): boolean;
|
|
19
23
|
setValues(id: string, values: unknown[], times?: number[]): boolean;
|
|
@@ -3,11 +3,13 @@ import { EShapeDataValue } from "./shape/e-shape-data-value";
|
|
|
3
3
|
export interface DDiagramCanvasData {
|
|
4
4
|
readonly private: EShapeDataScoped;
|
|
5
5
|
readonly protected: EShapeDataScoped;
|
|
6
|
+
readonly extended: EShapeDataScoped;
|
|
6
7
|
readonly ids: string[];
|
|
7
|
-
each(
|
|
8
|
+
each(iteratee: (id: string) => boolean | void): string | null;
|
|
8
9
|
add(id: string, value: EShapeDataValue): void;
|
|
9
10
|
set(id: string, value: unknown, time?: number, from?: number | null, to?: number | null): boolean;
|
|
10
11
|
clear(id: string): boolean;
|
|
12
|
+
toDirty(id: string): boolean;
|
|
11
13
|
setAll(id: string, values: unknown[], times?: number[], from?: number | null, to?: number | null): boolean;
|
|
12
14
|
setValue(id: string, value: unknown, time?: number): boolean;
|
|
13
15
|
setValues(id: string, values: unknown[], times?: number[]): boolean;
|
|
@@ -33,7 +33,6 @@ export declare class DDiagramCanvas<THEME extends DThemeDiagramCanvas = DThemeDi
|
|
|
33
33
|
protected initData(shape: EShape, dataShape: EShape | null, mapper: DDiagramDataMapper | null | undefined, formatToFormatter: Map<string, (value: unknown) => unknown>, initialToInitialValue: Map<string, unknown>, canvasTicker: DDiagramCanvasTicker, canvasData: DDiagramCanvasData): void;
|
|
34
34
|
protected initActions(shape: EShape, shapeRuntime: EShapeRuntime, valueToRuntime: Map<EShapeActionValue, EShapeActionRuntime>): void;
|
|
35
35
|
protected calcFormatter(value: EShapeDataValue, format: string, initial: string): (value: unknown) => unknown;
|
|
36
|
-
protected setInitial(value: EShapeDataValue, initial: unknown, tickers: DDiagramCanvasTicker): void;
|
|
37
36
|
protected calcInitial(value: EShapeDataValue, initial: string): unknown;
|
|
38
37
|
protected toInitial(value: EShapeDataValue): string;
|
|
39
38
|
protected toDataShape(dataShape: EShape | null, shape: EShape): EShape | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DDiagramDataDiagram } from "./d-diagram-data";
|
|
2
|
+
import { DDiagramDataScoped } from "./d-diagram-data-scoped";
|
|
3
|
+
export declare class DDiagramDataExtendedImpl implements DDiagramDataScoped {
|
|
4
|
+
protected _diagram: DDiagramDataDiagram;
|
|
5
|
+
constructor(diagram: DDiagramDataDiagram);
|
|
6
|
+
get ids(): string[];
|
|
7
|
+
set(id: string, value: unknown, time?: number, from?: number | null, to?: number | null): boolean;
|
|
8
|
+
toDirty(id: string): boolean;
|
|
9
|
+
each(iteratee: (id: string) => boolean | void): string | null;
|
|
10
|
+
}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { DDiagramDataDiagram, DDiagramDataOptions } from "./d-diagram-data";
|
|
1
|
+
import { DDiagramData, DDiagramDataDiagram, DDiagramDataOptions } from "./d-diagram-data";
|
|
2
2
|
import { DDiagramDataMapper } from "./d-diagram-data-mapper";
|
|
3
3
|
import { DDiagramDataScoped } from "./d-diagram-data-scoped";
|
|
4
4
|
import { DDiagramDataRemote } from "./d-diagram-data-remote";
|
|
5
5
|
/**
|
|
6
6
|
* A data helper class for diagrams.
|
|
7
7
|
*/
|
|
8
|
-
export declare class DDiagramDataImpl {
|
|
8
|
+
export declare class DDiagramDataImpl implements DDiagramData {
|
|
9
9
|
protected _diagram: DDiagramDataDiagram;
|
|
10
10
|
protected _mapper: DDiagramDataMapper | null;
|
|
11
11
|
protected _remote: DDiagramDataRemote;
|
|
12
12
|
protected _private: DDiagramDataScoped;
|
|
13
13
|
protected _protected: DDiagramDataScoped;
|
|
14
|
+
protected _extended: DDiagramDataScoped;
|
|
14
15
|
constructor(diagram: DDiagramDataDiagram, options?: DDiagramDataOptions);
|
|
15
16
|
update(): void;
|
|
16
17
|
get mapper(): DDiagramDataMapper | null;
|
|
@@ -18,10 +19,12 @@ export declare class DDiagramDataImpl {
|
|
|
18
19
|
get remote(): DDiagramDataRemote;
|
|
19
20
|
get private(): DDiagramDataScoped;
|
|
20
21
|
get protected(): DDiagramDataScoped;
|
|
22
|
+
get extended(): DDiagramDataScoped;
|
|
21
23
|
get ids(): string[];
|
|
22
|
-
each(
|
|
24
|
+
each(iteratee: (id: string) => boolean | void): string | null;
|
|
23
25
|
set(id: string, value: unknown, time?: number, from?: number | null, to?: number | null): boolean;
|
|
24
26
|
clear(id: string): boolean;
|
|
27
|
+
toDirty(id: string): boolean;
|
|
25
28
|
setAll(id: string, values: unknown[], times?: number[], from?: number | null, to?: number | null): boolean;
|
|
26
29
|
setValue(id: string, value: unknown, time?: number): boolean;
|
|
27
30
|
setValues(id: string, values: unknown[], times?: number[]): boolean;
|
|
@@ -3,5 +3,8 @@ import { DDiagramDataScoped } from "./d-diagram-data-scoped";
|
|
|
3
3
|
export declare class DDiagramDataPrivateImpl implements DDiagramDataScoped {
|
|
4
4
|
protected _diagram: DDiagramDataDiagram;
|
|
5
5
|
constructor(diagram: DDiagramDataDiagram);
|
|
6
|
+
get ids(): string[];
|
|
6
7
|
set(id: string, value: unknown, time?: number, from?: number | null, to?: number | null): boolean;
|
|
8
|
+
toDirty(id: string): boolean;
|
|
9
|
+
each(iteratee: (id: string) => boolean | void): string | null;
|
|
7
10
|
}
|
|
@@ -3,5 +3,8 @@ import { DDiagramDataScoped } from "./d-diagram-data-scoped";
|
|
|
3
3
|
export declare class DDiagramDataProtectedImpl implements DDiagramDataScoped {
|
|
4
4
|
protected _diagram: DDiagramDataDiagram;
|
|
5
5
|
constructor(diagram: DDiagramDataDiagram);
|
|
6
|
+
get ids(): string[];
|
|
6
7
|
set(id: string, value: unknown, time?: number, from?: number | null, to?: number | null): boolean;
|
|
8
|
+
toDirty(id: string): boolean;
|
|
9
|
+
each(iteratee: (id: string) => boolean | void): string | null;
|
|
7
10
|
}
|
|
@@ -26,11 +26,13 @@ export interface DDiagramData {
|
|
|
26
26
|
readonly remote: DDiagramDataRemote;
|
|
27
27
|
readonly private: DDiagramDataScoped;
|
|
28
28
|
readonly protected: DDiagramDataScoped;
|
|
29
|
+
readonly extended: DDiagramDataScoped;
|
|
29
30
|
readonly ids: string[];
|
|
30
31
|
mapper: DDiagramDataMapper | null;
|
|
31
|
-
each(
|
|
32
|
+
each(iteratee: (id: string) => boolean | void): string | null;
|
|
32
33
|
set(id: string, value: unknown, time?: number, from?: number | null, to?: number | null): boolean;
|
|
33
34
|
clear(id: string): boolean;
|
|
35
|
+
toDirty(id: string): boolean;
|
|
34
36
|
setAll(id: string, values: unknown[], times?: number[], from?: number | null, to?: number | null): boolean;
|
|
35
37
|
setValue(id: string, value: unknown, time?: number): boolean;
|
|
36
38
|
setValues(id: string, values: unknown[], times?: number[]): boolean;
|
|
@@ -28,5 +28,5 @@ export declare class DDiagramShape extends utils.EventEmitter {
|
|
|
28
28
|
onRender(renderer: Renderer): void;
|
|
29
29
|
get(id: string): EShape | null;
|
|
30
30
|
getAll(id: string): EShape[];
|
|
31
|
-
each(
|
|
31
|
+
each(iteratee: (shape: EShape) => boolean | void, reverse?: boolean): EShape | null;
|
|
32
32
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EShapeActionOpenDialogExtension } from "./e-shape-action-open-dialog-extension";
|
|
2
|
+
export declare class EShapeActionOpenDialogExtensions {
|
|
3
|
+
protected static _data?: EShapeActionOpenDialogExtension[];
|
|
4
|
+
protected static _typeToDatum?: Map<number, EShapeActionOpenDialogExtension>;
|
|
5
|
+
static add(extension: EShapeActionOpenDialogExtension): void;
|
|
6
|
+
static get(type: number): EShapeActionOpenDialogExtension | undefined;
|
|
7
|
+
static each(iteratee: (extension: EShapeActionOpenDialogExtension) => void): void;
|
|
8
|
+
}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
type: number;
|
|
3
|
-
label: string;
|
|
4
|
-
}
|
|
1
|
+
import { EShapeActionOpenExtension } from "./e-shape-action-open-extension";
|
|
5
2
|
export declare class EShapeActionOpenExtensions {
|
|
6
3
|
protected static _data?: EShapeActionOpenExtension[];
|
|
7
4
|
protected static _typeToDatum?: Map<number, EShapeActionOpenExtension>;
|
package/dist/types/wcardinal/ui/shape/action/e-shape-action-runtime-misc-html-element-base.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { EShapeRuntime } from "../e-shape-runtime";
|
|
|
8
8
|
import { EShapeActionExpression } from "./e-shape-action-expression";
|
|
9
9
|
import { EShapeActionRuntime } from "./e-shape-action-runtime";
|
|
10
10
|
import { EShapeActionValueMisc } from "./e-shape-action-value-misc";
|
|
11
|
+
import { UtilHtmlElementClipperExRects } from "../../util/util-html-element-clipper-ex-rects";
|
|
11
12
|
export declare abstract class EShapeActionRuntimeMiscHtmlElementBase<ELEMENT extends HTMLElement = HTMLElement, UTIL extends UtilHtmlElement<ELEMENT> = UtilHtmlElement<ELEMENT>> extends EShapeActionRuntime {
|
|
12
13
|
protected static WORK?: Point;
|
|
13
14
|
protected readonly condition: EShapeActionExpression<string | null>;
|
|
@@ -24,6 +25,7 @@ export declare abstract class EShapeActionRuntimeMiscHtmlElementBase<ELEMENT ext
|
|
|
24
25
|
protected getElementRect(shape: EShape, runtime: EShapeRuntime, resolution: number, point: Point, result: Rectangle): Rectangle | null;
|
|
25
26
|
protected getElementMatrix(shape: EShape, runtime: EShapeRuntime): Matrix | null;
|
|
26
27
|
protected getClipperToRect(shape: EShape, runtime: EShapeRuntime, resolution: number, point: Point, result: Rectangle): Rectangle | null;
|
|
28
|
+
protected getClipperExRects(shape: EShape, result: UtilHtmlElementClipperExRects): void;
|
|
27
29
|
onRender(shape: EShape, runtime: EShapeRuntime, time: number, renderer: Renderer): void;
|
|
28
30
|
onFocus(shape: EShape, runtime: EShapeRuntime): void;
|
|
29
31
|
onBlur(shape: EShape, runtime: EShapeRuntime): void;
|
package/dist/types/wcardinal/ui/shape/action/e-shape-action-runtime-open-dialog-extension.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EShape } from "../e-shape";
|
|
2
|
+
import { EShapeRuntime } from "../e-shape-runtime";
|
|
3
|
+
import { EShapeActionExpression } from "./e-shape-action-expression";
|
|
4
|
+
import { EShapeActionOpenDialogOpener } from "./e-shape-action-open-dialog-opener";
|
|
5
|
+
import { EShapeActionRuntimeConditional } from "./e-shape-action-runtime-conditional";
|
|
6
|
+
import { EShapeActionValueOpenDialogExtension } from "./e-shape-action-value-open-dialog-extension";
|
|
7
|
+
export declare class EShapeActionRuntimeOpenDialogExtension extends EShapeActionRuntimeConditional {
|
|
8
|
+
protected readonly target: EShapeActionExpression<string | null>;
|
|
9
|
+
protected readonly opener?: EShapeActionOpenDialogOpener;
|
|
10
|
+
constructor(value: EShapeActionValueOpenDialogExtension);
|
|
11
|
+
execute(shape: EShape, runtime: EShapeRuntime, time: number): void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EShapeResourceManagerDeserialization } from "../e-shape-resource-manager-deserialization";
|
|
2
|
+
import { EShapeResourceManagerSerialization } from "../e-shape-resource-manager-serialization";
|
|
3
|
+
import { EShapeActionValue } from "./e-shape-action-value";
|
|
4
|
+
import { EShapeActionValueOpenType } from "./e-shape-action-value-open-type";
|
|
5
|
+
import { EShapeActionValueSubtyped } from "./e-shape-action-value-subtyped";
|
|
6
|
+
import { EShapeActionValueType } from "./e-shape-action-value-type";
|
|
7
|
+
import { EShapeActionValueOpenDialogType } from "./e-shape-action-value-open-dialog-type";
|
|
8
|
+
import { EShapeActionRuntime } from "./e-shape-action-runtime";
|
|
9
|
+
export declare type EShapeActionValueOpenDialogExtensionSerialized = [
|
|
10
|
+
typeof EShapeActionValueType.OPEN,
|
|
11
|
+
number,
|
|
12
|
+
typeof EShapeActionValueOpenType.DIALOG,
|
|
13
|
+
number,
|
|
14
|
+
0,
|
|
15
|
+
-1,
|
|
16
|
+
EShapeActionValueOpenDialogType
|
|
17
|
+
];
|
|
18
|
+
export declare class EShapeActionValueOpenDialogExtension extends EShapeActionValueSubtyped<typeof EShapeActionValueOpenType.DIALOG> {
|
|
19
|
+
readonly target: string;
|
|
20
|
+
readonly dialogType: EShapeActionValueOpenDialogType;
|
|
21
|
+
constructor(condition: string, target: string, dialogType: EShapeActionValueOpenDialogType);
|
|
22
|
+
isEquals(value: EShapeActionValue): boolean;
|
|
23
|
+
toRuntime(): EShapeActionRuntime;
|
|
24
|
+
serialize(manager: EShapeResourceManagerSerialization): number;
|
|
25
|
+
static deserialize(serialized: EShapeActionValueOpenDialogExtensionSerialized, manager: EShapeResourceManagerDeserialization): EShapeActionValueOpenDialogExtension;
|
|
26
|
+
}
|
|
@@ -6,5 +6,6 @@ export declare const EShapeActionValueOpenDialogType: {
|
|
|
6
6
|
readonly DATE: 4;
|
|
7
7
|
readonly TIME: 5;
|
|
8
8
|
readonly DATETIME: 6;
|
|
9
|
+
readonly EXTENSION: 1000;
|
|
9
10
|
};
|
|
10
|
-
export declare type EShapeActionValueOpenDialogType =
|
|
11
|
+
export declare type EShapeActionValueOpenDialogType = number;
|
|
@@ -15,6 +15,7 @@ export declare type EShapeActionValueOpenDialogSerializedLegacy = [
|
|
|
15
15
|
EShapeActionValueOnInputAction,
|
|
16
16
|
number
|
|
17
17
|
];
|
|
18
|
+
export declare type EShapeActionValueOpenDialogTypeNew = typeof EShapeActionValueOpenDialogType.TEXT | typeof EShapeActionValueOpenDialogType.INTEGER | typeof EShapeActionValueOpenDialogType.REAL | typeof EShapeActionValueOpenDialogType.BOOLEAN | typeof EShapeActionValueOpenDialogType.DATE | typeof EShapeActionValueOpenDialogType.TIME | typeof EShapeActionValueOpenDialogType.DATETIME;
|
|
18
19
|
export declare type EShapeActionValueOpenDialogSerializedNew = [
|
|
19
20
|
typeof EShapeActionValueType.OPEN,
|
|
20
21
|
number,
|
|
@@ -22,18 +23,18 @@ export declare type EShapeActionValueOpenDialogSerializedNew = [
|
|
|
22
23
|
number,
|
|
23
24
|
EShapeActionValueOnInputAction,
|
|
24
25
|
number,
|
|
25
|
-
|
|
26
|
+
EShapeActionValueOpenDialogTypeNew
|
|
26
27
|
];
|
|
27
28
|
export declare type EShapeActionValueOpenDialogSerialized = EShapeActionValueOpenDialogSerializedLegacy | EShapeActionValueOpenDialogSerializedNew;
|
|
28
29
|
export declare class EShapeActionValueOpenDialog extends EShapeActionValueSubtyped<typeof EShapeActionValueOpenType.DIALOG> {
|
|
29
30
|
readonly target: string;
|
|
30
31
|
readonly onInputAction: EShapeActionValueOnInputAction;
|
|
31
32
|
readonly initial: string;
|
|
32
|
-
readonly dialogType:
|
|
33
|
-
constructor(condition: string, target: string, onInputAction: EShapeActionValueOnInputAction, initial: string, dialogType:
|
|
33
|
+
readonly dialogType: EShapeActionValueOpenDialogTypeNew;
|
|
34
|
+
constructor(condition: string, target: string, onInputAction: EShapeActionValueOnInputAction, initial: string, dialogType: EShapeActionValueOpenDialogTypeNew);
|
|
34
35
|
isEquals(value: EShapeActionValue): boolean;
|
|
35
36
|
toRuntime(): EShapeActionRuntime;
|
|
36
37
|
serialize(manager: EShapeResourceManagerSerialization): number;
|
|
37
38
|
static deserialize(serialized: EShapeActionValueOpenDialogSerialized, manager: EShapeResourceManagerDeserialization): EShapeActionValueOpenDialog;
|
|
38
|
-
protected static toDialogType(serialized: EShapeActionValueOpenDialogSerialized):
|
|
39
|
+
protected static toDialogType(serialized: EShapeActionValueOpenDialogSerialized): EShapeActionValueOpenDialogTypeNew;
|
|
39
40
|
}
|
|
@@ -2,8 +2,13 @@ export * from "./deserialize-action-value";
|
|
|
2
2
|
export * from "./e-shape-action-bases";
|
|
3
3
|
export * from "./e-shape-action-expression";
|
|
4
4
|
export * from "./e-shape-action-expressions";
|
|
5
|
+
export * from "./e-shape-action-open-dialog-extension";
|
|
6
|
+
export * from "./e-shape-action-open-dialog-extensions";
|
|
7
|
+
export * from "./e-shape-action-open-dialog-opener";
|
|
8
|
+
export * from "./e-shape-action-open-extension";
|
|
5
9
|
export * from "./e-shape-action-open-extensions";
|
|
6
10
|
export * from "./e-shape-action-open-opener";
|
|
11
|
+
export * from "./e-shape-action-open-openers";
|
|
7
12
|
export * from "./e-shape-action-runtime-blink-brighten";
|
|
8
13
|
export * from "./e-shape-action-runtime-blink-color-fill";
|
|
9
14
|
export * from "./e-shape-action-runtime-blink-color-stroke";
|
|
@@ -37,6 +42,7 @@ export * from "./e-shape-action-runtime-misc-write";
|
|
|
37
42
|
export * from "./e-shape-action-runtime-open-dialog-boolean";
|
|
38
43
|
export * from "./e-shape-action-runtime-open-dialog-date";
|
|
39
44
|
export * from "./e-shape-action-runtime-open-dialog-datetime";
|
|
45
|
+
export * from "./e-shape-action-runtime-open-dialog-extension";
|
|
40
46
|
export * from "./e-shape-action-runtime-open-dialog-integer";
|
|
41
47
|
export * from "./e-shape-action-runtime-open-dialog-real";
|
|
42
48
|
export * from "./e-shape-action-runtime-open-dialog-text";
|
|
@@ -92,6 +98,7 @@ export * from "./e-shape-action-value-misc-write";
|
|
|
92
98
|
export * from "./e-shape-action-value-misc";
|
|
93
99
|
export * from "./e-shape-action-value-on-input-action";
|
|
94
100
|
export * from "./e-shape-action-value-on-input-actions";
|
|
101
|
+
export * from "./e-shape-action-value-open-dialog-extension";
|
|
95
102
|
export * from "./e-shape-action-value-open-dialog-type";
|
|
96
103
|
export * from "./e-shape-action-value-open-dialog";
|
|
97
104
|
export * from "./e-shape-action-value-open-extension";
|
|
@@ -1,32 +1,98 @@
|
|
|
1
1
|
export declare const EShapeCapability: {
|
|
2
2
|
readonly NONE: 0;
|
|
3
|
+
/**
|
|
4
|
+
* Allows shape IDs to be modified.
|
|
5
|
+
*/
|
|
3
6
|
readonly ID: 1;
|
|
7
|
+
/**
|
|
8
|
+
* Allows shape positions to be modified.
|
|
9
|
+
*/
|
|
4
10
|
readonly POSITION: 2;
|
|
11
|
+
/**
|
|
12
|
+
* Allows shape widths to be modified.
|
|
13
|
+
*/
|
|
5
14
|
readonly WIDTH: 4;
|
|
15
|
+
/**
|
|
16
|
+
* Allows shape heights to be modified.
|
|
17
|
+
*/
|
|
6
18
|
readonly HEIGHT: 8;
|
|
19
|
+
/**
|
|
20
|
+
* Allows shape rotations to be modified.
|
|
21
|
+
*/
|
|
7
22
|
readonly ROTATION: 16;
|
|
23
|
+
/**
|
|
24
|
+
* Allows shape skews to be modified.
|
|
25
|
+
*/
|
|
8
26
|
readonly SKEW: 32;
|
|
9
|
-
|
|
10
|
-
readonly
|
|
11
|
-
|
|
27
|
+
/** @deprecated */
|
|
28
|
+
readonly ALIGN: 0;
|
|
29
|
+
/**
|
|
30
|
+
* Allows shapes to be replaced with other shapes.
|
|
31
|
+
*/
|
|
32
|
+
readonly REPLACING: 64;
|
|
33
|
+
/**
|
|
34
|
+
* Allows shapes to be grouped.
|
|
35
|
+
*/
|
|
36
|
+
readonly GROUPING: 128;
|
|
37
|
+
/**
|
|
38
|
+
* Allows grouped shapes to be ungrouped.
|
|
39
|
+
*/
|
|
40
|
+
readonly UNGROUPING: 256;
|
|
41
|
+
/**
|
|
42
|
+
* Allows shape fills to be modified.
|
|
43
|
+
*/
|
|
12
44
|
readonly FILL: 512;
|
|
45
|
+
/**
|
|
46
|
+
* Allows shape strokes to be modified.
|
|
47
|
+
*/
|
|
13
48
|
readonly STROKE: 1024;
|
|
49
|
+
/**
|
|
50
|
+
* Allows shape stroke sides to be modified.
|
|
51
|
+
*/
|
|
14
52
|
readonly STROKE_SIDE: 2048;
|
|
53
|
+
/**
|
|
54
|
+
* Allows shape border radiuses to be modified.
|
|
55
|
+
*/
|
|
15
56
|
readonly BORDER_RADIUS: 4096;
|
|
57
|
+
/**
|
|
58
|
+
* Allows shape texts to be modified.
|
|
59
|
+
*/
|
|
16
60
|
readonly TEXT: 8192;
|
|
61
|
+
/**
|
|
62
|
+
* Allows shape textures to be modified.
|
|
63
|
+
*/
|
|
17
64
|
readonly TEXTURE: 16384;
|
|
18
65
|
/** @deprecated in favor of {@link DATA} */
|
|
19
66
|
readonly TAG: 32768;
|
|
67
|
+
/**
|
|
68
|
+
* Allows shape data to be modified.
|
|
69
|
+
*/
|
|
20
70
|
readonly DATA: 32768;
|
|
71
|
+
/**
|
|
72
|
+
* Allows shape data mapping to be modified.
|
|
73
|
+
*/
|
|
21
74
|
readonly DATA_MAPPING: 1048576;
|
|
75
|
+
/**
|
|
76
|
+
* Allows shape actions to be modified.
|
|
77
|
+
*/
|
|
22
78
|
readonly ACTION: 65536;
|
|
79
|
+
/**
|
|
80
|
+
* Allows shape cursors to be modified.
|
|
81
|
+
*/
|
|
23
82
|
readonly CURSOR: 131072;
|
|
83
|
+
/**
|
|
84
|
+
* Allows shape orders in layer to be modified.
|
|
85
|
+
*/
|
|
24
86
|
readonly ORDER_IN_LAYER: 262144;
|
|
87
|
+
/**
|
|
88
|
+
* Allows shape children to be modified.
|
|
89
|
+
*/
|
|
25
90
|
readonly CHILDREN: 524288;
|
|
26
91
|
readonly COORDINATE: number;
|
|
27
92
|
readonly SHAPE: number;
|
|
28
93
|
readonly LAYER: 262144;
|
|
29
94
|
readonly PRIMITIVE: number;
|
|
95
|
+
readonly GROUP: number;
|
|
30
96
|
readonly EMBEDDED: number;
|
|
31
97
|
readonly CONNECTOR: number;
|
|
32
98
|
readonly ALL: number;
|
|
@@ -2,6 +2,9 @@ import { EShapeDataScoped } from "./e-shape-data-scoped";
|
|
|
2
2
|
import { EShapeDataValue } from "./e-shape-data-value";
|
|
3
3
|
export declare class EShapeDataScopedImpl implements EShapeDataScoped {
|
|
4
4
|
protected _data?: Map<string, EShapeDataValue[]>;
|
|
5
|
+
get ids(): string[];
|
|
5
6
|
add(id: string, value: EShapeDataValue): void;
|
|
6
7
|
set(id: string, value: unknown, time?: number, from?: number | null, to?: number | null): boolean;
|
|
8
|
+
toDirty(id: string): boolean;
|
|
9
|
+
each(iteratee: (id: string) => boolean | void): string | null;
|
|
7
10
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { EShapeDataValue } from "./e-shape-data-value";
|
|
2
2
|
export interface EShapeDataScoped {
|
|
3
|
+
readonly ids: string[];
|
|
3
4
|
add(id: string, value: EShapeDataValue): void;
|
|
4
5
|
set(id: string, value: unknown, time?: number, from?: number | null, to?: number | null): boolean;
|
|
6
|
+
toDirty(id: string): boolean;
|
|
7
|
+
each(iteratee: (id: string) => boolean | void): string | null;
|
|
5
8
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EShapeDataValueExtension } from "./e-shape-data-value-extension";
|
|
2
|
+
export declare class EShapeDataValueExtensions {
|
|
3
|
+
protected static _data?: EShapeDataValueExtension[];
|
|
4
|
+
protected static _typeToDatum?: Map<number, EShapeDataValueExtension>;
|
|
5
|
+
static add(extension: EShapeDataValueExtension): void;
|
|
6
|
+
static get(type: number): EShapeDataValueExtension | undefined;
|
|
7
|
+
static each(iteratee: (extension: EShapeDataValueExtension) => void): void;
|
|
8
|
+
}
|
|
@@ -39,6 +39,7 @@ export declare class EShapeDataValueImpl implements EShapeDataValue {
|
|
|
39
39
|
remove(index: number): void;
|
|
40
40
|
removeAll(indices: number[]): void;
|
|
41
41
|
clear(): void;
|
|
42
|
+
toDirty(): void;
|
|
42
43
|
/**
|
|
43
44
|
* This method does not copy the `#values` and `#times` for the performance.
|
|
44
45
|
*
|
|
@@ -6,5 +6,6 @@ export declare const EShapeDataValueType: {
|
|
|
6
6
|
readonly OBJECT: 4;
|
|
7
7
|
readonly OBJECT_ARRAY: 5;
|
|
8
8
|
readonly TICKER: 6;
|
|
9
|
+
readonly EXTENSION: 1000;
|
|
9
10
|
};
|
|
10
|
-
export declare type EShapeDataValueType =
|
|
11
|
+
export declare type EShapeDataValueType = number;
|
|
@@ -27,6 +27,7 @@ export interface EShapeDataValue extends EShapeDataValueLike {
|
|
|
27
27
|
parent?: EShapeDataValueParent;
|
|
28
28
|
formatter?: (value: unknown) => unknown;
|
|
29
29
|
clear(): void;
|
|
30
|
+
toDirty(): void;
|
|
30
31
|
remove(index: number): void;
|
|
31
32
|
removeAll(indices: number[]): void;
|
|
32
33
|
copy(target: EShapeDataValue): void;
|
|
@@ -33,11 +33,13 @@ export * from "./e-shape-data-mapping-impl";
|
|
|
33
33
|
export * from "./e-shape-data-mapping";
|
|
34
34
|
export * from "./e-shape-data-scoped-impl";
|
|
35
35
|
export * from "./e-shape-data-scoped";
|
|
36
|
+
export * from "./e-shape-data-value-extension";
|
|
37
|
+
export * from "./e-shape-data-value-extensions";
|
|
36
38
|
export * from "./e-shape-data-value-impl";
|
|
37
|
-
export * from "./e-shape-data-value-scope";
|
|
38
39
|
export * from "./e-shape-data-value-order";
|
|
39
40
|
export * from "./e-shape-data-value-range-impl";
|
|
40
41
|
export * from "./e-shape-data-value-range";
|
|
42
|
+
export * from "./e-shape-data-value-scope";
|
|
41
43
|
export * from "./e-shape-data-value-type";
|
|
42
44
|
export * from "./e-shape-data-value";
|
|
43
45
|
export * from "./e-shape-data";
|
|
@@ -2,6 +2,7 @@ export * from "./load-shape-all";
|
|
|
2
2
|
export * from "./load-shape-bar";
|
|
3
3
|
export * from "./load-shape-button";
|
|
4
4
|
export * from "./load-shape-circle";
|
|
5
|
+
export * from "./load-shape-clipper-ex";
|
|
5
6
|
export * from "./load-shape-connector-line";
|
|
6
7
|
export * from "./load-shape-embedded";
|
|
7
8
|
export * from "./load-shape-group-shadowed";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { EShape } from "../e-shape";
|
|
2
2
|
import { EShapeBuffer } from "../e-shape-buffer";
|
|
3
3
|
import { EShapeUploaded } from "../e-shape-uploaded";
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const createCircleUploaded: (buffer: EShapeBuffer, shape: EShape, voffset: number, ioffset: number, antialiasWeight: number) => EShapeUploaded | null;
|
|
@@ -88,6 +88,7 @@ export * from "./deserialize-line-of-triangle-roundeds";
|
|
|
88
88
|
export * from "./deserialize-line-of-triangles";
|
|
89
89
|
export * from "./deserialize-line";
|
|
90
90
|
export * from "./deserialize-null";
|
|
91
|
+
export * from "./deserialize-rectangle-pivoted";
|
|
91
92
|
export * from "./deserialize-rectangle-rounded";
|
|
92
93
|
export * from "./deserialize-rectangle";
|
|
93
94
|
export * from "./deserialize-triangle-rounded";
|
|
@@ -2,11 +2,12 @@ import { Matrix, Rectangle } from "pixi.js";
|
|
|
2
2
|
import { DBaseStateSet } from "../../d-base-state-set";
|
|
3
3
|
import { DThemeHtmlElement } from "../../d-html-element";
|
|
4
4
|
import { UtilHtmlElementCreator, UtilHtmlElementPadding } from "../../util/util-html-element";
|
|
5
|
+
import { UtilHtmlElementClipperEx } from "../../util/util-html-element-clipper-ex";
|
|
5
6
|
import { UtilHtmlElementWhen } from "../../util/util-html-element-when";
|
|
6
7
|
import { DThemeDarkImageBase } from "./d-theme-dark-image-base";
|
|
7
8
|
export declare class DThemeDarkHtmlElement<VALUE = unknown, ELEMENT extends HTMLElement = HTMLElement> extends DThemeDarkImageBase<VALUE> implements DThemeHtmlElement<VALUE, ELEMENT> {
|
|
8
9
|
getElementCreator(): UtilHtmlElementCreator<ELEMENT>;
|
|
9
|
-
setElementStyle(target: ELEMENT, state: DBaseStateSet, padding: UtilHtmlElementPadding | null, elementRect: Rectangle | null, elementMatrix: Matrix | null, clipperRect: Rectangle | null): void;
|
|
10
|
+
setElementStyle(target: ELEMENT, state: DBaseStateSet, padding: UtilHtmlElementPadding | null, elementRect: Rectangle | null, elementMatrix: Matrix | null, clipperRect: Rectangle | null, clipperEx: UtilHtmlElementClipperEx | null | undefined): void;
|
|
10
11
|
protected getElementStylePointerEvent(state: DBaseStateSet): string;
|
|
11
12
|
protected getElementStyleBackground(state: DBaseStateSet): string;
|
|
12
13
|
protected getElementStyleBorder(state: DBaseStateSet): string;
|
|
@@ -18,12 +19,14 @@ export declare class DThemeDarkHtmlElement<VALUE = unknown, ELEMENT extends HTML
|
|
|
18
19
|
protected getElementStylePosition(state: DBaseStateSet, elementRect: Rectangle | null, elementMatrix: Matrix | null, clipperRect: Rectangle | null): string;
|
|
19
20
|
protected getElementStyleText(state: DBaseStateSet): string;
|
|
20
21
|
protected getElementStyleMargin(state: DBaseStateSet): string;
|
|
22
|
+
protected getElementStyleClipPath(state: DBaseStateSet, clipperEx: UtilHtmlElementClipperEx | null | undefined): string;
|
|
21
23
|
getClipperCreator(): UtilHtmlElementCreator<HTMLDivElement>;
|
|
22
|
-
setClipperStyle(target: HTMLDivElement, state: DBaseStateSet, padding: UtilHtmlElementPadding | null, elementRect: Rectangle | null, elementMatrix: Matrix | null, clipperRect: Rectangle | null): void;
|
|
24
|
+
setClipperStyle(target: HTMLDivElement, state: DBaseStateSet, padding: UtilHtmlElementPadding | null, elementRect: Rectangle | null, elementMatrix: Matrix | null, clipperRect: Rectangle | null, clipperEx: UtilHtmlElementClipperEx | null | undefined): void;
|
|
23
25
|
protected getClipperStyleOverflow(rect: Rectangle | null): string;
|
|
24
26
|
protected getClipperStylePositionPosition(rect: Rectangle | null): string;
|
|
25
27
|
protected getClipperStylePositionSize(rect: Rectangle | null): string;
|
|
26
28
|
protected getClipperStylePosition(rect: Rectangle | null): string;
|
|
29
|
+
isClipperExEnabled(): boolean;
|
|
27
30
|
getBeforeCreator(): UtilHtmlElementCreator<HTMLDivElement>;
|
|
28
31
|
setBeforeStyle(target: HTMLDivElement): void;
|
|
29
32
|
getAfterCreator(): UtilHtmlElementCreator<HTMLDivElement>;
|
|
@@ -2,11 +2,12 @@ import { Matrix, Rectangle } from "pixi.js";
|
|
|
2
2
|
import { DBaseStateSet } from "../../d-base-state-set";
|
|
3
3
|
import { DThemeHtmlElement } from "../../d-html-element";
|
|
4
4
|
import { UtilHtmlElementCreator, UtilHtmlElementPadding } from "../../util/util-html-element";
|
|
5
|
+
import { UtilHtmlElementClipperEx } from "../../util/util-html-element-clipper-ex";
|
|
5
6
|
import { UtilHtmlElementWhen } from "../../util/util-html-element-when";
|
|
6
7
|
import { DThemeWhiteImageBase } from "./d-theme-white-image-base";
|
|
7
8
|
export declare class DThemeWhiteHtmlElement<VALUE = unknown, ELEMENT extends HTMLElement = HTMLElement> extends DThemeWhiteImageBase<VALUE> implements DThemeHtmlElement<VALUE, ELEMENT> {
|
|
8
9
|
getElementCreator(): UtilHtmlElementCreator<ELEMENT>;
|
|
9
|
-
setElementStyle(target: ELEMENT, state: DBaseStateSet, padding: UtilHtmlElementPadding | null, elementRect: Rectangle | null, elementMatrix: Matrix | null, clipperRect: Rectangle | null): void;
|
|
10
|
+
setElementStyle(target: ELEMENT, state: DBaseStateSet, padding: UtilHtmlElementPadding | null, elementRect: Rectangle | null, elementMatrix: Matrix | null, clipperRect: Rectangle | null, clipperEx: UtilHtmlElementClipperEx | null | undefined): void;
|
|
10
11
|
protected getElementStylePointerEvent(state: DBaseStateSet): string;
|
|
11
12
|
protected getElementStyleBackground(state: DBaseStateSet): string;
|
|
12
13
|
protected getElementStyleBorder(state: DBaseStateSet): string;
|
|
@@ -18,12 +19,14 @@ export declare class DThemeWhiteHtmlElement<VALUE = unknown, ELEMENT extends HTM
|
|
|
18
19
|
protected getElementStylePosition(state: DBaseStateSet, elementRect: Rectangle | null, elementMatrix: Matrix | null, clipperRect: Rectangle | null): string;
|
|
19
20
|
protected getElementStyleText(state: DBaseStateSet): string;
|
|
20
21
|
protected getElementStyleMargin(state: DBaseStateSet): string;
|
|
22
|
+
protected getElementStyleClipPath(state: DBaseStateSet, clipperEx: UtilHtmlElementClipperEx | null | undefined): string;
|
|
21
23
|
getClipperCreator(): UtilHtmlElementCreator<HTMLDivElement>;
|
|
22
|
-
setClipperStyle(target: HTMLDivElement, state: DBaseStateSet, padding: UtilHtmlElementPadding | null, elementRect: Rectangle | null, elementMatrix: Matrix | null, clipperRect: Rectangle | null): void;
|
|
24
|
+
setClipperStyle(target: HTMLDivElement, state: DBaseStateSet, padding: UtilHtmlElementPadding | null, elementRect: Rectangle | null, elementMatrix: Matrix | null, clipperRect: Rectangle | null, clipperEx: UtilHtmlElementClipperEx | null | undefined): void;
|
|
23
25
|
protected getClipperStyleOverflow(rect: Rectangle | null): string;
|
|
24
26
|
protected getClipperStylePositionPosition(rect: Rectangle | null): string;
|
|
25
27
|
protected getClipperStylePositionSize(rect: Rectangle | null): string;
|
|
26
28
|
protected getClipperStylePosition(rect: Rectangle | null): string;
|
|
29
|
+
isClipperExEnabled(): boolean;
|
|
27
30
|
getBeforeCreator(): UtilHtmlElementCreator<HTMLDivElement>;
|
|
28
31
|
setBeforeStyle(target: HTMLDivElement): void;
|
|
29
32
|
getAfterCreator(): UtilHtmlElementCreator<HTMLDivElement>;
|
|
@@ -55,6 +55,10 @@ export * from "./util-file-downloader";
|
|
|
55
55
|
export * from "./util-file-opener";
|
|
56
56
|
export * from "./util-font";
|
|
57
57
|
export * from "./util-hsv";
|
|
58
|
+
export * from "./util-html-element-clipper-ex-impl";
|
|
59
|
+
export * from "./util-html-element-clipper-ex-rects-impl";
|
|
60
|
+
export * from "./util-html-element-clipper-ex-rects";
|
|
61
|
+
export * from "./util-html-element-clipper-ex";
|
|
58
62
|
export * from "./util-html-element-when";
|
|
59
63
|
export * from "./util-html-element";
|
|
60
64
|
export * from "./util-input-input";
|