@wcardinal/wcardinal-ui 0.154.0 → 0.155.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-application-layer-options.d.ts +3 -4
- package/dist/types/wcardinal/ui/d-base-background.d.ts +2 -4
- package/dist/types/wcardinal/ui/d-base-border.d.ts +2 -4
- package/dist/types/wcardinal/ui/d-base-corner.d.ts +1 -3
- package/dist/types/wcardinal/ui/d-base-outline.d.ts +2 -4
- package/dist/types/wcardinal/ui/d-base-padding.d.ts +2 -4
- package/dist/types/wcardinal/ui/d-chart-series-base-coordinate-container.d.ts +1 -2
- package/dist/types/wcardinal/ui/d-color-gradient-point-observable.d.ts +2 -4
- package/dist/types/wcardinal/ui/d-diagram-canvas-data-map.d.ts +1 -3
- package/dist/types/wcardinal/ui/d-diagram-canvas-id-map.d.ts +1 -3
- package/dist/types/wcardinal/ui/d-dynamic-text-geometry.d.ts +2 -3
- package/dist/types/wcardinal/ui/d-dynamic-text-measure.d.ts +2 -3
- package/dist/types/wcardinal/ui/d-dynamic-text.d.ts +8 -8
- package/dist/types/wcardinal/ui/d-input-and-label.d.ts +4 -5
- package/dist/types/wcardinal/ui/d-on-options.d.ts +1 -3
- package/dist/types/wcardinal/ui/d-pagination-button-last.d.ts +8 -0
- package/dist/types/wcardinal/ui/d-pagination-button-next.d.ts +8 -0
- package/dist/types/wcardinal/ui/d-pagination-button-page.d.ts +8 -0
- package/dist/types/wcardinal/ui/d-pagination-button-previous.d.ts +8 -0
- package/dist/types/wcardinal/ui/d-pagination-button-top.d.ts +8 -0
- package/dist/types/wcardinal/ui/d-pagination-dots.d.ts +8 -0
- package/dist/types/wcardinal/ui/d-pagination-page.d.ts +8 -0
- package/dist/types/wcardinal/ui/d-pagination.d.ts +137 -44
- package/dist/types/wcardinal/ui/d-picker-color-gradient-view.d.ts +4 -5
- package/dist/types/wcardinal/ui/d-scalar-expression.d.ts +68 -66
- package/dist/types/wcardinal/ui/d-table-data-list-filter.d.ts +1 -2
- package/dist/types/wcardinal/ui/d-table-data-list-selection.d.ts +1 -3
- package/dist/types/wcardinal/ui/d-table-data-selection.d.ts +1 -3
- package/dist/types/wcardinal/ui/d-table-data-tree-filter.d.ts +1 -2
- package/dist/types/wcardinal/ui/d-table-data-tree-selection-impl.d.ts +1 -3
- package/dist/types/wcardinal/ui/index.d.ts +11 -3
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-runtimes.d.ts +4 -5
- package/dist/types/wcardinal/ui/shape/action/e-shape-action-value-change-color.d.ts +5 -6
- package/dist/types/wcardinal/ui/shape/e-shape-capabilities.d.ts +1 -3
- package/dist/types/wcardinal/ui/shape/e-shape-connector-edge-acceptor-impl.d.ts +1 -2
- package/dist/types/wcardinal/ui/shape/e-shape-deserializers.d.ts +2 -6
- package/dist/types/wcardinal/ui/shape/e-shape-runtimes.d.ts +2 -3
- package/dist/types/wcardinal/ui/shape/e-shape-text.d.ts +1 -3
- package/dist/types/wcardinal/ui/shape/e-shape-uploadeds.d.ts +1 -3
- package/dist/types/wcardinal/ui/shape/variant/create-line-of-any-uploaded.d.ts +1 -2
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-pagination-button-last.d.ts +8 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-pagination-button-next.d.ts +8 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-pagination-button-page.d.ts +9 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-pagination-button-previous.d.ts +8 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-pagination-button-top.d.ts +8 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-pagination-dots.d.ts +10 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-pagination-page.d.ts +13 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-pagination.d.ts +2 -1
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark.d.ts +2 -9
- package/dist/types/wcardinal/ui/theme/dark/index.d.ts +7 -3
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-pagination-button-last.d.ts +8 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-pagination-button-next.d.ts +8 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-pagination-button-page.d.ts +9 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-pagination-button-previous.d.ts +8 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-pagination-button-top.d.ts +8 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-pagination-dots.d.ts +10 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-pagination-page.d.ts +13 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-pagination.d.ts +2 -1
- package/dist/types/wcardinal/ui/theme/white/d-theme-white.d.ts +2 -9
- package/dist/types/wcardinal/ui/theme/white/index.d.ts +7 -3
- package/dist/types/wcardinal/ui/util/dynamic-atlas.d.ts +2 -6
- package/dist/types/wcardinal/ui/util/dynamic-font-atlas-characters.d.ts +1 -3
- package/dist/types/wcardinal/ui/util/dynamic-sdf-font-atlases.d.ts +1 -3
- package/dist/types/wcardinal/ui/util/format-node/{format-noder-d.d.ts → format-node-rd.d.ts} +0 -0
- package/dist/types/wcardinal/ui/util/format-node/index.d.ts +31 -0
- package/dist/types/wcardinal/ui/util/index.d.ts +5 -0
- package/dist/types/wcardinal/ui/util/util-name.d.ts +1 -3
- package/dist/types/wcardinal/ui/util/util-svg-atlas-builder.d.ts +4 -12
- package/dist/wcardinal/ui/d-application-layer-options.js.map +1 -1
- package/dist/wcardinal/ui/d-base-background.js.map +1 -1
- package/dist/wcardinal/ui/d-base-border.js.map +1 -1
- package/dist/wcardinal/ui/d-base-corner.js.map +1 -1
- package/dist/wcardinal/ui/d-base-outline.js.map +1 -1
- package/dist/wcardinal/ui/d-base-padding.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-series-base-coordinate-container.js.map +1 -1
- package/dist/wcardinal/ui/d-color-gradient-point-observable.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-canvas-data-map.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram-canvas-id-map.js.map +1 -1
- package/dist/wcardinal/ui/d-diagram.js.map +1 -1
- package/dist/wcardinal/ui/d-dynamic-text-geometry.js.map +1 -1
- package/dist/wcardinal/ui/d-dynamic-text-measure.js.map +1 -1
- package/dist/wcardinal/ui/d-dynamic-text.js.map +1 -1
- package/dist/wcardinal/ui/d-input-and-label.js.map +1 -1
- package/dist/wcardinal/ui/d-on-options.js.map +1 -1
- package/dist/wcardinal/ui/d-pagination-button-last.js +18 -0
- package/dist/wcardinal/ui/d-pagination-button-last.js.map +1 -0
- package/dist/wcardinal/ui/d-pagination-button-next.js +18 -0
- package/dist/wcardinal/ui/d-pagination-button-next.js.map +1 -0
- package/dist/wcardinal/ui/d-pagination-button-page.js +18 -0
- package/dist/wcardinal/ui/d-pagination-button-page.js.map +1 -0
- package/dist/wcardinal/ui/d-pagination-button-previous.js +18 -0
- package/dist/wcardinal/ui/d-pagination-button-previous.js.map +1 -0
- package/dist/wcardinal/ui/d-pagination-button-top.js +18 -0
- package/dist/wcardinal/ui/d-pagination-button-top.js.map +1 -0
- package/dist/wcardinal/ui/d-pagination-dots.js +18 -0
- package/dist/wcardinal/ui/d-pagination-dots.js.map +1 -0
- package/dist/wcardinal/ui/d-pagination-page.js +18 -0
- package/dist/wcardinal/ui/d-pagination-page.js.map +1 -0
- package/dist/wcardinal/ui/d-pagination.js +455 -212
- package/dist/wcardinal/ui/d-pagination.js.map +1 -1
- package/dist/wcardinal/ui/d-picker-color-gradient-view.js.map +1 -1
- package/dist/wcardinal/ui/d-scalar-expression.js +107 -79
- package/dist/wcardinal/ui/d-scalar-expression.js.map +1 -1
- package/dist/wcardinal/ui/d-table-data-list-filter.js.map +1 -1
- package/dist/wcardinal/ui/d-table-data-list-selection.js.map +1 -1
- package/dist/wcardinal/ui/d-table-data-selection.js.map +1 -1
- package/dist/wcardinal/ui/d-table-data-tree-filter.js.map +1 -1
- package/dist/wcardinal/ui/d-table-data-tree-selection-impl.js.map +1 -1
- package/dist/wcardinal/ui/index.js +11 -3
- package/dist/wcardinal/ui/index.js.map +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-change-color.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-capabilities.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-connector-edge-acceptor-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-deserializers.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-runtimes.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-text.js.map +1 -1
- package/dist/wcardinal/ui/shape/e-shape-uploadeds.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/create-line-of-any-uploaded.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/to-image-element.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-pagination-button-last.js +28 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-pagination-button-last.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-pagination-button-next.js +27 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-pagination-button-next.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-pagination-button-page.js +24 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-pagination-button-page.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-pagination-button-previous.js +27 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-pagination-button-previous.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-pagination-button-top.js +28 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-pagination-button-top.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-pagination-dots.js +36 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-pagination-dots.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-pagination-page.js +35 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-pagination-page.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-pagination.js +5 -2
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-pagination.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/index.js +7 -3
- package/dist/wcardinal/ui/theme/dark/index.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-pagination.js +14 -6
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-pagination.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-pagination-button-last.js +28 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-pagination-button-last.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-pagination-button-next.js +27 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-pagination-button-next.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-pagination-button-page.js +24 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-pagination-button-page.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-pagination-button-previous.js +27 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-pagination-button-previous.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-pagination-button-top.js +28 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-pagination-button-top.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-pagination-dots.js +36 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-pagination-dots.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-pagination-page.js +35 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-pagination-page.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-pagination.js +5 -2
- package/dist/wcardinal/ui/theme/white/d-theme-white-pagination.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/index.js +7 -3
- package/dist/wcardinal/ui/theme/white/index.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-pagination.js +14 -6
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-pagination.js.map +1 -1
- package/dist/wcardinal/ui/util/dynamic-atlas.js.map +1 -1
- package/dist/wcardinal/ui/util/dynamic-font-atlas-characters.js.map +1 -1
- package/dist/wcardinal/ui/util/dynamic-sdf-font-atlases.js.map +1 -1
- package/dist/wcardinal/ui/util/format-node/{format-noder-d.js → format-node-rd.js} +1 -1
- package/dist/wcardinal/ui/util/format-node/{format-noder-d.js.map → format-node-rd.js.map} +1 -1
- package/dist/wcardinal/ui/util/format-node/index.js +36 -0
- package/dist/wcardinal/ui/util/format-node/index.js.map +1 -0
- package/dist/wcardinal/ui/util/index.js +5 -0
- package/dist/wcardinal/ui/util/index.js.map +1 -1
- package/dist/wcardinal/ui/util/number-formatter-impl.js +1 -1
- package/dist/wcardinal/ui/util/number-formatter-impl.js.map +1 -1
- package/dist/wcardinal/ui/util/util-name.js.map +1 -1
- package/dist/wcardinal/ui/util/util-svg-atlas-builder.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark.js +163 -39
- 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 +163 -39
- 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 +999 -446
- package/dist/wcardinal-ui.js +675 -370
- package/dist/wcardinal-ui.min.js +2 -2
- package/dist/wcardinal-ui.min.js.map +1 -1
- package/package.json +3 -3
- package/dist/types/wcardinal/ui/d-pagination-dots-button.d.ts +0 -8
- package/dist/types/wcardinal/ui/d-pagination-dynamic-buttons.d.ts +0 -21
- package/dist/types/wcardinal/ui/d-pagination-navigation-button.d.ts +0 -8
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-pagination-dots-button.d.ts +0 -9
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-pagination-dynamic-buttons.d.ts +0 -6
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-pagination-navigation-button.d.ts +0 -4
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-pagination-dots-button.d.ts +0 -9
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-pagination-dynamic-buttons.d.ts +0 -6
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-pagination-navigation-button.d.ts +0 -4
- package/dist/wcardinal/ui/d-pagination-dots-button.js +0 -18
- package/dist/wcardinal/ui/d-pagination-dots-button.js.map +0 -1
- package/dist/wcardinal/ui/d-pagination-dynamic-buttons.js +0 -81
- package/dist/wcardinal/ui/d-pagination-dynamic-buttons.js.map +0 -1
- package/dist/wcardinal/ui/d-pagination-navigation-button.js +0 -18
- package/dist/wcardinal/ui/d-pagination-navigation-button.js.map +0 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-pagination-dots-button.js +0 -24
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-pagination-dots-button.js.map +0 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-pagination-dynamic-buttons.js +0 -18
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-pagination-dynamic-buttons.js.map +0 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-pagination-navigation-button.js +0 -32
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-pagination-navigation-button.js.map +0 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-pagination-dots-button.js +0 -24
- package/dist/wcardinal/ui/theme/white/d-theme-white-pagination-dots-button.js.map +0 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-pagination-dynamic-buttons.js +0 -18
- package/dist/wcardinal/ui/theme/white/d-theme-white-pagination-dynamic-buttons.js.map +0 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-pagination-navigation-button.js +0 -32
- package/dist/wcardinal/ui/theme/white/d-theme-white-pagination-navigation-button.js.map +0 -1
|
@@ -2,7 +2,7 @@ import { DPadding, DPaddingLike } from "./d-padding";
|
|
|
2
2
|
/**
|
|
3
3
|
* PixiJS options
|
|
4
4
|
*/
|
|
5
|
-
interface PixiApplicationOptions {
|
|
5
|
+
export interface PixiApplicationOptions {
|
|
6
6
|
width: number;
|
|
7
7
|
height: number;
|
|
8
8
|
autoStart: boolean;
|
|
@@ -11,10 +11,10 @@ interface PixiApplicationOptions {
|
|
|
11
11
|
resolution: number;
|
|
12
12
|
antialias: boolean;
|
|
13
13
|
}
|
|
14
|
-
interface DApplicationLayerBackgroundOptions {
|
|
14
|
+
export interface DApplicationLayerBackgroundOptions {
|
|
15
15
|
color?: number | null;
|
|
16
16
|
}
|
|
17
|
-
interface DApplicationLayerOptionsOptions {
|
|
17
|
+
export interface DApplicationLayerOptionsOptions {
|
|
18
18
|
root: HTMLElement;
|
|
19
19
|
padding?: number | DPaddingLike;
|
|
20
20
|
width?: number;
|
|
@@ -111,4 +111,3 @@ export declare class DApplicationLayerOptions {
|
|
|
111
111
|
isOverlay(): boolean;
|
|
112
112
|
getPixiApplicationOptions(): PixiApplicationOptions;
|
|
113
113
|
}
|
|
114
|
-
export {};
|
|
@@ -2,13 +2,12 @@ import { DBackgroundStateAware } from "./d-background";
|
|
|
2
2
|
import { DBaseOptions, DThemeBase } from "./d-base";
|
|
3
3
|
import { DBaseStateSet } from "./d-base-state-set";
|
|
4
4
|
import { DStateAwareOrValueMightBe } from "./d-state-aware";
|
|
5
|
-
declare type Callback = () => void;
|
|
6
5
|
export declare class DBaseBackground implements DBackgroundStateAware {
|
|
7
6
|
protected _theme: DThemeBase;
|
|
8
7
|
protected _color?: DStateAwareOrValueMightBe<number | null>;
|
|
9
8
|
protected _alpha?: DStateAwareOrValueMightBe<number>;
|
|
10
|
-
protected _callback
|
|
11
|
-
constructor(theme: DThemeBase, options?: DBaseOptions<any>, callback?:
|
|
9
|
+
protected _callback?: () => void;
|
|
10
|
+
constructor(theme: DThemeBase, options?: DBaseOptions<any>, callback?: () => void);
|
|
12
11
|
getTheme(): DThemeBase;
|
|
13
12
|
setTheme(theme: DThemeBase): void;
|
|
14
13
|
getColor(state: DBaseStateSet): number | null;
|
|
@@ -19,4 +18,3 @@ export declare class DBaseBackground implements DBackgroundStateAware {
|
|
|
19
18
|
set alpha(alpha: DStateAwareOrValueMightBe<number>);
|
|
20
19
|
protected onChange(): void;
|
|
21
20
|
}
|
|
22
|
-
export {};
|
|
@@ -3,7 +3,6 @@ import { DBaseStateSet } from "./d-base-state-set";
|
|
|
3
3
|
import { DBorderStateAware } from "./d-border";
|
|
4
4
|
import { DBorderMask } from "./d-border-mask";
|
|
5
5
|
import { DStateAwareOrValueMightBe } from "./d-state-aware";
|
|
6
|
-
declare type Callback = () => void;
|
|
7
6
|
export declare class DBaseBorder implements DBorderStateAware {
|
|
8
7
|
protected _theme: DThemeBase;
|
|
9
8
|
protected _color?: DStateAwareOrValueMightBe<number | null>;
|
|
@@ -11,8 +10,8 @@ export declare class DBaseBorder implements DBorderStateAware {
|
|
|
11
10
|
protected _width?: DStateAwareOrValueMightBe<number>;
|
|
12
11
|
protected _align?: DStateAwareOrValueMightBe<number>;
|
|
13
12
|
protected _mask?: DStateAwareOrValueMightBe<DBorderMask>;
|
|
14
|
-
protected _callback
|
|
15
|
-
constructor(theme: DThemeBase, options?: DBaseOptions<any>, callback?:
|
|
13
|
+
protected _callback?: () => void;
|
|
14
|
+
constructor(theme: DThemeBase, options?: DBaseOptions<any>, callback?: () => void);
|
|
16
15
|
getTheme(): DThemeBase;
|
|
17
16
|
setTheme(theme: DThemeBase): void;
|
|
18
17
|
getColor(state: DBaseStateSet): number | null;
|
|
@@ -32,4 +31,3 @@ export declare class DBaseBorder implements DBorderStateAware {
|
|
|
32
31
|
set mask(mask: DStateAwareOrValueMightBe<DBorderMask>);
|
|
33
32
|
protected onChange(): void;
|
|
34
33
|
}
|
|
35
|
-
export {};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { DBaseOptions, DThemeBase } from "./d-base";
|
|
2
2
|
import { DCorner } from "./d-corner";
|
|
3
3
|
import { DCornerMask } from "./d-corner-mask";
|
|
4
|
-
declare type Callback = () => void;
|
|
5
4
|
export declare class DBaseCorner implements DCorner {
|
|
6
5
|
protected _theme: DThemeBase;
|
|
7
6
|
protected _radius?: number;
|
|
8
7
|
protected _mask?: DCornerMask;
|
|
9
|
-
protected _callback
|
|
8
|
+
protected _callback?: () => void;
|
|
10
9
|
constructor(theme: DThemeBase, options?: DBaseOptions<any>, callback?: () => void);
|
|
11
10
|
getTheme(): DThemeBase;
|
|
12
11
|
setTheme(theme: DThemeBase): void;
|
|
@@ -18,4 +17,3 @@ export declare class DBaseCorner implements DCorner {
|
|
|
18
17
|
set mask(mask: DCornerMask | undefined);
|
|
19
18
|
set(radius?: number, mask?: DCornerMask): void;
|
|
20
19
|
}
|
|
21
|
-
export {};
|
|
@@ -3,7 +3,6 @@ import { DBaseStateSet } from "./d-base-state-set";
|
|
|
3
3
|
import { DBorderMask } from "./d-border-mask";
|
|
4
4
|
import { DOutline } from "./d-outline";
|
|
5
5
|
import { DStateAwareOrValueMightBe } from "./d-state-aware";
|
|
6
|
-
declare type Callback = () => void;
|
|
7
6
|
export declare class DBaseOutline implements DOutline {
|
|
8
7
|
protected _theme: DThemeBase;
|
|
9
8
|
protected _color?: DStateAwareOrValueMightBe<number | null>;
|
|
@@ -12,8 +11,8 @@ export declare class DBaseOutline implements DOutline {
|
|
|
12
11
|
protected _offset?: DStateAwareOrValueMightBe<number>;
|
|
13
12
|
protected _align?: DStateAwareOrValueMightBe<number>;
|
|
14
13
|
protected _mask?: DStateAwareOrValueMightBe<DBorderMask>;
|
|
15
|
-
protected _callback
|
|
16
|
-
constructor(theme: DThemeBase, options?: DBaseOptions<any>, callback?:
|
|
14
|
+
protected _callback?: () => void;
|
|
15
|
+
constructor(theme: DThemeBase, options?: DBaseOptions<any>, callback?: () => void);
|
|
17
16
|
getTheme(): DThemeBase;
|
|
18
17
|
setTheme(theme: DThemeBase): void;
|
|
19
18
|
getColor(state: DBaseStateSet): number | null;
|
|
@@ -35,4 +34,3 @@ export declare class DBaseOutline implements DOutline {
|
|
|
35
34
|
get mask(): DStateAwareOrValueMightBe<DBorderMask>;
|
|
36
35
|
set mask(mask: DStateAwareOrValueMightBe<DBorderMask>);
|
|
37
36
|
}
|
|
38
|
-
export {};
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { DBaseOptions, DThemeBase } from "./d-base";
|
|
2
2
|
import { DPadding } from "./d-padding";
|
|
3
|
-
declare type Callback = () => void;
|
|
4
3
|
export declare class DBasePadding implements DPadding {
|
|
5
4
|
protected _theme: DThemeBase;
|
|
6
5
|
protected _left?: number;
|
|
7
6
|
protected _top?: number;
|
|
8
7
|
protected _right?: number;
|
|
9
8
|
protected _bottom?: number;
|
|
10
|
-
protected _callback
|
|
9
|
+
protected _callback?: () => void;
|
|
11
10
|
constructor(theme: DThemeBase, options?: DBaseOptions<any>, callback?: () => void);
|
|
12
11
|
getTheme(): DThemeBase;
|
|
13
12
|
setTheme(theme: DThemeBase): void;
|
|
14
|
-
getCallback():
|
|
13
|
+
getCallback(): (() => void) | undefined;
|
|
15
14
|
getLeft(): number;
|
|
16
15
|
get left(): number | undefined;
|
|
17
16
|
set left(left: number | undefined);
|
|
@@ -29,4 +28,3 @@ export declare class DBasePadding implements DPadding {
|
|
|
29
28
|
set(top: number, leftAndRight: number, bottom: number): void;
|
|
30
29
|
set(top: number, right: number, bottom: number, left: number): void;
|
|
31
30
|
}
|
|
32
|
-
export {};
|
|
@@ -2,7 +2,7 @@ import { DBase } from "./d-base";
|
|
|
2
2
|
import { DChartCoordinate } from "./d-chart-coordinate";
|
|
3
3
|
import { DChartSeriesContainer } from "./d-chart-series-container";
|
|
4
4
|
import { DChartSeriesCoordinateContainer, DChartSeriesCoordinateOptions } from "./d-chart-series-coordinate";
|
|
5
|
-
interface DChartSeriesBaseCoordinateContainerParent<CHART extends DBase = DBase> {
|
|
5
|
+
export interface DChartSeriesBaseCoordinateContainerParent<CHART extends DBase = DBase> {
|
|
6
6
|
container: DChartSeriesContainer<CHART> | null;
|
|
7
7
|
}
|
|
8
8
|
export declare class DChartSeriesBaseCoordinateContainer<CHART extends DBase = DBase> implements DChartSeriesCoordinateContainer<CHART> {
|
|
@@ -21,4 +21,3 @@ export declare class DChartSeriesBaseCoordinateContainer<CHART extends DBase = D
|
|
|
21
21
|
reset(): void;
|
|
22
22
|
destroy(): void;
|
|
23
23
|
}
|
|
24
|
-
export {};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { DColorGradientPoint } from "./d-color-gradient";
|
|
2
|
-
declare type Callback = (target: DColorGradientPointObservable) => void;
|
|
3
2
|
export declare class DColorGradientPointObservable implements DColorGradientPoint {
|
|
4
3
|
protected _color: number;
|
|
5
4
|
protected _alpha: number;
|
|
6
5
|
protected _position: number;
|
|
7
|
-
protected _callback:
|
|
6
|
+
protected _callback: (target: DColorGradientPointObservable) => void;
|
|
8
7
|
protected _selected: boolean;
|
|
9
|
-
constructor(color: number, alpha: number, position: number, selected: boolean, callback:
|
|
8
|
+
constructor(color: number, alpha: number, position: number, selected: boolean, callback: (target: DColorGradientPointObservable) => void);
|
|
10
9
|
set(color: number, alpha: number, position: number, selected: boolean): void;
|
|
11
10
|
get color(): number;
|
|
12
11
|
set color(color: number);
|
|
@@ -18,4 +17,3 @@ export declare class DColorGradientPointObservable implements DColorGradientPoin
|
|
|
18
17
|
set selected(selected: boolean);
|
|
19
18
|
toObject(): DColorGradientPoint;
|
|
20
19
|
}
|
|
21
|
-
export {};
|
|
@@ -2,7 +2,7 @@ import { MeshGeometry } from "pixi.js";
|
|
|
2
2
|
import { DDynamicTextStyleWordWrap } from "./d-dynamic-text-style-word-wrap";
|
|
3
3
|
import { DynamicFontAtlas } from "./util/dynamic-font-atlas";
|
|
4
4
|
import { DynamicFontAtlasCharacter } from "./util/dynamic-font-atlas-character";
|
|
5
|
-
interface
|
|
5
|
+
export interface DDynamicTextGeometryClipping {
|
|
6
6
|
enable: boolean;
|
|
7
7
|
wordWrap: DDynamicTextStyleWordWrap;
|
|
8
8
|
width: number;
|
|
@@ -14,8 +14,7 @@ export declare class DDynamicTextGeometry extends MeshGeometry {
|
|
|
14
14
|
height: number;
|
|
15
15
|
clipped: boolean;
|
|
16
16
|
constructor();
|
|
17
|
-
update(text: string, atlas: DynamicFontAtlas | null, clipping:
|
|
17
|
+
update(text: string, atlas: DynamicFontAtlas | null, clipping: DDynamicTextGeometryClipping): void;
|
|
18
18
|
protected writeCharacter(vertices: Float32Array, uvs: Float32Array, indices: Uint16Array, index: number, x: number, y: number, character: DynamicFontAtlasCharacter, width: number, height: number): void;
|
|
19
19
|
protected writeCharacterEmpty(vertices: Float32Array, uvs: Float32Array, indices: Uint16Array, index: number): void;
|
|
20
20
|
}
|
|
21
|
-
export {};
|
|
@@ -2,7 +2,7 @@ import { DDynamicTextMeasureResult } from "./d-dynamic-text-measure-result";
|
|
|
2
2
|
import { DynamicFontAtlas } from "./util/dynamic-font-atlas";
|
|
3
3
|
import { UtilCharacterIterator } from "./util/util-character-iterator";
|
|
4
4
|
import { DDynamicTextStyleWordWrap } from "./d-dynamic-text-style-word-wrap";
|
|
5
|
-
interface
|
|
5
|
+
export interface DDynamicTextMeasureClipping {
|
|
6
6
|
enable: boolean;
|
|
7
7
|
wordWrap: DDynamicTextStyleWordWrap;
|
|
8
8
|
width: number;
|
|
@@ -11,7 +11,7 @@ interface Clipping {
|
|
|
11
11
|
}
|
|
12
12
|
export declare class DDynamicTextMeasure {
|
|
13
13
|
protected static RESULT: DDynamicTextMeasureResult | null;
|
|
14
|
-
static measure(text: string, atlas: DynamicFontAtlas | null, clipping:
|
|
14
|
+
static measure(text: string, atlas: DynamicFontAtlas | null, clipping: DDynamicTextMeasureClipping): DDynamicTextMeasureResult;
|
|
15
15
|
private static measure1a;
|
|
16
16
|
private static measure1b;
|
|
17
17
|
private static measure1;
|
|
@@ -26,4 +26,3 @@ export declare class DDynamicTextMeasure {
|
|
|
26
26
|
private static isWrappable1;
|
|
27
27
|
private static newLineBreaker;
|
|
28
28
|
}
|
|
29
|
-
export {};
|
|
@@ -3,16 +3,17 @@ import { DDynamicTextGeometry } from "./d-dynamic-text-geometry";
|
|
|
3
3
|
import { DDynamicTextStyle, DDynamicTextStyleOptions } from "./d-dynamic-text-style";
|
|
4
4
|
import { DDynamicTextStyleWordWrap } from "./d-dynamic-text-style-word-wrap";
|
|
5
5
|
import { DynamicFontAtlas } from "./util/dynamic-font-atlas";
|
|
6
|
-
interface
|
|
6
|
+
export interface DDynamicTextClippingDelta {
|
|
7
|
+
width: number;
|
|
8
|
+
height: number;
|
|
9
|
+
}
|
|
10
|
+
export interface DDynamicTextClipping {
|
|
7
11
|
enable: boolean;
|
|
8
12
|
wordWrap: DDynamicTextStyleWordWrap;
|
|
9
13
|
width: number;
|
|
10
14
|
height: number;
|
|
11
15
|
lineHeight: number;
|
|
12
|
-
delta:
|
|
13
|
-
width: number;
|
|
14
|
-
height: number;
|
|
15
|
-
};
|
|
16
|
+
delta: DDynamicTextClippingDelta;
|
|
16
17
|
}
|
|
17
18
|
export declare class DDynamicText extends Mesh {
|
|
18
19
|
protected _style: DDynamicTextStyle;
|
|
@@ -24,7 +25,7 @@ export declare class DDynamicText extends Mesh {
|
|
|
24
25
|
protected _atlasRevisionUpdated: number;
|
|
25
26
|
protected _width: number;
|
|
26
27
|
protected _height: number;
|
|
27
|
-
protected _clipping:
|
|
28
|
+
protected _clipping: DDynamicTextClipping;
|
|
28
29
|
readonly geometry: DDynamicTextGeometry;
|
|
29
30
|
constructor(text: string, options?: DDynamicTextStyleOptions);
|
|
30
31
|
protected update_(): void;
|
|
@@ -37,9 +38,8 @@ export declare class DDynamicText extends Mesh {
|
|
|
37
38
|
get clipped(): boolean;
|
|
38
39
|
get style(): DDynamicTextStyle;
|
|
39
40
|
update(): void;
|
|
40
|
-
protected updateClipping(style: DDynamicTextStyle, clipping:
|
|
41
|
+
protected updateClipping(style: DDynamicTextStyle, clipping: DDynamicTextClipping): boolean;
|
|
41
42
|
setClippingDelta(width: number, height: number): void;
|
|
42
43
|
_calculateBounds(): void;
|
|
43
44
|
_render(renderer?: Renderer): void;
|
|
44
45
|
}
|
|
45
|
-
export {};
|
|
@@ -3,20 +3,20 @@ import { DInputLabel, DInputLabelOptions } from "./d-input-label";
|
|
|
3
3
|
import { DLayoutOptions } from "./d-layout";
|
|
4
4
|
import { DLayoutHorizontal, DThemeLayoutHorizontal } from "./d-layout-horizontal";
|
|
5
5
|
import { DLayoutSpaceOptions } from "./d-layout-space";
|
|
6
|
-
interface
|
|
6
|
+
export interface DInputAndLabelInputOptions {
|
|
7
7
|
weight?: number;
|
|
8
8
|
}
|
|
9
|
-
interface
|
|
9
|
+
export interface DInputAndLabelInput extends DisplayObject {
|
|
10
10
|
readonly height: number;
|
|
11
11
|
}
|
|
12
|
-
export interface DInputAndLabelOptions<INPUT_OPTIONS extends
|
|
12
|
+
export interface DInputAndLabelOptions<INPUT_OPTIONS extends DInputAndLabelInputOptions = DInputAndLabelInputOptions, THEME extends DThemeInputAndLabel = DThemeInputAndLabel> extends DLayoutOptions<THEME> {
|
|
13
13
|
input?: INPUT_OPTIONS;
|
|
14
14
|
label?: DInputLabelOptions;
|
|
15
15
|
space?: DLayoutSpaceOptions;
|
|
16
16
|
}
|
|
17
17
|
export interface DThemeInputAndLabel extends DThemeLayoutHorizontal {
|
|
18
18
|
}
|
|
19
|
-
export declare abstract class DInputAndLabel<INPUT extends
|
|
19
|
+
export declare abstract class DInputAndLabel<INPUT extends DInputAndLabelInput, INPUT_OPTIONS extends DInputAndLabelInputOptions, THEME extends DThemeInputAndLabel = DThemeInputAndLabel, OPTIONS extends DInputAndLabelOptions<INPUT_OPTIONS, THEME> = DInputAndLabelOptions<INPUT_OPTIONS, THEME>> extends DLayoutHorizontal<THEME, OPTIONS> {
|
|
20
20
|
protected _input: INPUT;
|
|
21
21
|
protected _label: DInputLabel;
|
|
22
22
|
constructor(options?: OPTIONS);
|
|
@@ -27,4 +27,3 @@ export declare abstract class DInputAndLabel<INPUT extends Input, INPUT_OPTIONS
|
|
|
27
27
|
}): INPUT;
|
|
28
28
|
protected getType(): string;
|
|
29
29
|
}
|
|
30
|
-
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DButtonAmbient, DButtonAmbientOptions, DThemeButtonAmbient } from "./d-button-ambient";
|
|
2
|
+
export interface DPaginationButtonLastOptions<THEME extends DThemePaginationButtonLast = DThemePaginationButtonLast> extends DButtonAmbientOptions<string, THEME> {
|
|
3
|
+
}
|
|
4
|
+
export interface DThemePaginationButtonLast extends DThemeButtonAmbient<string> {
|
|
5
|
+
}
|
|
6
|
+
export declare class DPaginationButtonLast<THEME extends DThemePaginationButtonLast = DThemePaginationButtonLast, OPTIONS extends DPaginationButtonLastOptions<THEME> = DPaginationButtonLastOptions<THEME>> extends DButtonAmbient<string, THEME, OPTIONS> {
|
|
7
|
+
protected getType(): string;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DButtonAmbient, DButtonAmbientOptions, DThemeButtonAmbient } from "./d-button-ambient";
|
|
2
|
+
export interface DPaginationButtonNextOptions<THEME extends DThemePaginationButtonNext = DThemePaginationButtonNext> extends DButtonAmbientOptions<string, THEME> {
|
|
3
|
+
}
|
|
4
|
+
export interface DThemePaginationButtonNext extends DThemeButtonAmbient<string> {
|
|
5
|
+
}
|
|
6
|
+
export declare class DPaginationButtonNext<THEME extends DThemePaginationButtonNext = DThemePaginationButtonNext, OPTIONS extends DPaginationButtonNextOptions<THEME> = DPaginationButtonNextOptions<THEME>> extends DButtonAmbient<string, THEME, OPTIONS> {
|
|
7
|
+
protected getType(): string;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DButtonAmbient, DButtonAmbientOptions, DThemeButtonAmbient } from "./d-button-ambient";
|
|
2
|
+
export interface DPaginationButtonPageOptions<THEME extends DThemePaginationButtonPage = DThemePaginationButtonPage> extends DButtonAmbientOptions<number, THEME> {
|
|
3
|
+
}
|
|
4
|
+
export interface DThemePaginationButtonPage extends DThemeButtonAmbient<number> {
|
|
5
|
+
}
|
|
6
|
+
export declare class DPaginationButtonPage<THEME extends DThemePaginationButtonPage = DThemePaginationButtonPage, OPTIONS extends DPaginationButtonPageOptions<THEME> = DPaginationButtonPageOptions<THEME>> extends DButtonAmbient<number, THEME, OPTIONS> {
|
|
7
|
+
protected getType(): string;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DButtonAmbient, DButtonAmbientOptions, DThemeButtonAmbient } from "./d-button-ambient";
|
|
2
|
+
export interface DPaginationButtonPreviousOptions<THEME extends DThemePaginationButtonPrevious = DThemePaginationButtonPrevious> extends DButtonAmbientOptions<string, THEME> {
|
|
3
|
+
}
|
|
4
|
+
export interface DThemePaginationButtonPrevious extends DThemeButtonAmbient<string> {
|
|
5
|
+
}
|
|
6
|
+
export declare class DPaginationButtonPrevious<THEME extends DThemePaginationButtonPrevious = DThemePaginationButtonPrevious, OPTIONS extends DPaginationButtonPreviousOptions<THEME> = DPaginationButtonPreviousOptions<THEME>> extends DButtonAmbient<string, THEME, OPTIONS> {
|
|
7
|
+
protected getType(): string;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DButtonAmbient, DButtonAmbientOptions, DThemeButtonAmbient } from "./d-button-ambient";
|
|
2
|
+
export interface DPaginationButtonTopOptions<THEME extends DThemePaginationButtonTop = DThemePaginationButtonTop> extends DButtonAmbientOptions<string, THEME> {
|
|
3
|
+
}
|
|
4
|
+
export interface DThemePaginationButtonTop extends DThemeButtonAmbient<string> {
|
|
5
|
+
}
|
|
6
|
+
export declare class DPaginationButtonTop<THEME extends DThemePaginationButtonTop = DThemePaginationButtonTop, OPTIONS extends DPaginationButtonTopOptions<THEME> = DPaginationButtonTopOptions<THEME>> extends DButtonAmbient<string, THEME, OPTIONS> {
|
|
7
|
+
protected getType(): string;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DImageBase, DImageBaseOptions, DThemeImageBase } from "./d-image-base";
|
|
2
|
+
export interface DPaginationDotsOptions<THEME extends DThemePaginationDots = DThemePaginationDots> extends DImageBaseOptions<string, THEME> {
|
|
3
|
+
}
|
|
4
|
+
export interface DThemePaginationDots extends DThemeImageBase<string> {
|
|
5
|
+
}
|
|
6
|
+
export declare class DPaginationDots<THEME extends DThemePaginationDots = DThemePaginationDots, OPTIONS extends DPaginationDotsOptions<THEME> = DPaginationDotsOptions<THEME>> extends DImageBase<string, THEME, OPTIONS> {
|
|
7
|
+
protected getType(): string;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DImageBase, DImageBaseOptions, DThemeImageBase } from "./d-image-base";
|
|
2
|
+
export interface DPaginationPageOptions<THEME extends DThemePaginationPage = DThemePaginationPage> extends DImageBaseOptions<number, THEME> {
|
|
3
|
+
}
|
|
4
|
+
export interface DThemePaginationPage extends DThemeImageBase<number> {
|
|
5
|
+
}
|
|
6
|
+
export declare class DPaginationPage<THEME extends DThemePaginationPage = DThemePaginationPage, OPTIONS extends DPaginationPageOptions<THEME> = DPaginationPageOptions<THEME>> extends DImageBase<number, THEME, OPTIONS> {
|
|
7
|
+
protected getType(): string;
|
|
8
|
+
}
|
|
@@ -1,69 +1,162 @@
|
|
|
1
1
|
import { DButton } from "./d-button";
|
|
2
2
|
import { DLayoutHorizontal, DLayoutHorizontalOptions, DThemeLayoutHorizontal } from "./d-layout-horizontal";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { DPaginationDots } from "./d-pagination-dots";
|
|
4
|
+
import { DPaginationButtonLastOptions } from "./d-pagination-button-last";
|
|
5
|
+
import { DPaginationButtonNextOptions } from "./d-pagination-button-next";
|
|
6
|
+
import { DPaginationButtonPageOptions } from "./d-pagination-button-page";
|
|
7
|
+
import { DPaginationButtonPreviousOptions } from "./d-pagination-button-previous";
|
|
8
|
+
import { DPaginationButtonTopOptions } from "./d-pagination-button-top";
|
|
9
|
+
import { DPaginationPage, DPaginationPageOptions } from "./d-pagination-page";
|
|
10
|
+
import { DLayoutSpace } from "./d-layout-space";
|
|
11
|
+
export interface DPaginationButtonOptions {
|
|
12
|
+
/**
|
|
13
|
+
* {@link DPagination} top button options.
|
|
14
|
+
*/
|
|
15
|
+
top?: DPaginationButtonTopOptions | boolean | null;
|
|
16
|
+
/**
|
|
17
|
+
* {@link DPagination} previous button options.
|
|
18
|
+
*/
|
|
19
|
+
previous?: DPaginationButtonPreviousOptions | boolean | null;
|
|
20
|
+
/**
|
|
21
|
+
* {@link DPagination} page button options.
|
|
22
|
+
*/
|
|
23
|
+
page?: DPaginationButtonPageOptions;
|
|
24
|
+
/**
|
|
25
|
+
* {@link DPagination} next button options.
|
|
26
|
+
*/
|
|
27
|
+
next?: DPaginationButtonNextOptions | boolean | null;
|
|
28
|
+
/**
|
|
29
|
+
* {@link DPagination} last button options.
|
|
30
|
+
*/
|
|
31
|
+
last?: DPaginationButtonLastOptions | boolean | null;
|
|
32
|
+
/**
|
|
33
|
+
* A space between page buttons and next / previous buttons.
|
|
34
|
+
*/
|
|
35
|
+
space?: number;
|
|
36
|
+
}
|
|
5
37
|
export interface DPaginationOptions<THEME extends DThemePagination> extends DLayoutHorizontalOptions<THEME> {
|
|
6
|
-
|
|
38
|
+
/**
|
|
39
|
+
* An index number of a selected page.
|
|
40
|
+
*/
|
|
41
|
+
value?: number;
|
|
42
|
+
/**
|
|
43
|
+
* An index number of a selected page.
|
|
44
|
+
*
|
|
45
|
+
* @deprecated in favor of {@link value}.
|
|
46
|
+
*/
|
|
7
47
|
selected?: number;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
48
|
+
/**
|
|
49
|
+
* A total number of pages.
|
|
50
|
+
*/
|
|
51
|
+
size?: number;
|
|
52
|
+
/**
|
|
53
|
+
* A total number of pages.
|
|
54
|
+
*
|
|
55
|
+
* @deprecated in favor of {@link size};
|
|
56
|
+
*/
|
|
57
|
+
total?: number;
|
|
58
|
+
/**
|
|
59
|
+
* {@link DPagination} button options.
|
|
60
|
+
*/
|
|
61
|
+
button?: DPaginationButtonOptions;
|
|
62
|
+
/**
|
|
63
|
+
* {@link DPagination} page options.
|
|
64
|
+
*/
|
|
65
|
+
page?: DPaginationPageOptions;
|
|
13
66
|
}
|
|
14
67
|
export interface DThemePagination extends DThemeLayoutHorizontal {
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
interface DPaginationButtonOption {
|
|
18
|
-
first: boolean;
|
|
19
|
-
last: boolean;
|
|
20
|
-
width?: number;
|
|
68
|
+
getButtonSpace(): number;
|
|
21
69
|
}
|
|
22
70
|
export declare class DPagination<THEME extends DThemePagination = DThemePagination, OPTIONS extends DPaginationOptions<THEME> = DPaginationOptions<THEME>> extends DLayoutHorizontal<THEME, OPTIONS> {
|
|
23
|
-
protected
|
|
24
|
-
protected
|
|
25
|
-
protected
|
|
26
|
-
protected
|
|
27
|
-
protected
|
|
28
|
-
protected
|
|
29
|
-
protected
|
|
30
|
-
protected
|
|
31
|
-
protected
|
|
32
|
-
protected
|
|
33
|
-
protected
|
|
34
|
-
|
|
35
|
-
protected
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
71
|
+
protected _size: number;
|
|
72
|
+
protected _value: number;
|
|
73
|
+
protected _buttonTop?: DButton<string> | null;
|
|
74
|
+
protected _buttonPrevious?: DButton<string> | null;
|
|
75
|
+
protected _dots0?: DPaginationDots;
|
|
76
|
+
protected _buttonPages0?: DButton<number>[];
|
|
77
|
+
protected _page?: DPaginationPage;
|
|
78
|
+
protected _buttonPages1?: DButton<number>[];
|
|
79
|
+
protected _dots1?: DPaginationDots;
|
|
80
|
+
protected _buttonNext?: DButton<string> | null;
|
|
81
|
+
protected _buttonLast?: DButton<string> | null;
|
|
82
|
+
constructor(options?: OPTIONS);
|
|
83
|
+
protected newSpace(): DLayoutSpace;
|
|
84
|
+
/**
|
|
85
|
+
* Sets a value that is an index of a current page.
|
|
86
|
+
*
|
|
87
|
+
* @param value a value that is an index of a page
|
|
88
|
+
*/
|
|
89
|
+
set value(value: number);
|
|
90
|
+
/**
|
|
91
|
+
* Returns a value that is an index of a current page.
|
|
38
92
|
*
|
|
39
|
-
* @
|
|
93
|
+
* @returns a value that is an index of a selected page.
|
|
40
94
|
*/
|
|
41
|
-
|
|
95
|
+
get value(): number;
|
|
42
96
|
/**
|
|
43
|
-
*
|
|
97
|
+
* Selects a page.
|
|
44
98
|
*
|
|
45
|
-
* @
|
|
99
|
+
* @param index an index of a page
|
|
100
|
+
* @deprecated in favor of {@link #value}.
|
|
101
|
+
*/
|
|
102
|
+
set selected(index: number);
|
|
103
|
+
/**
|
|
104
|
+
* Returns an index of the selected page.
|
|
105
|
+
*
|
|
106
|
+
* @returns an index of the selected page.
|
|
107
|
+
* @deprecated in favor of {@link value}.
|
|
46
108
|
*/
|
|
47
109
|
get selected(): number;
|
|
48
110
|
/**
|
|
49
|
-
*
|
|
111
|
+
* Sets a number of total pages.
|
|
112
|
+
*
|
|
113
|
+
* @param size a number of pages
|
|
114
|
+
*/
|
|
115
|
+
set size(size: number);
|
|
116
|
+
/**
|
|
117
|
+
* Returns a number of total pages.
|
|
118
|
+
*
|
|
119
|
+
* @returns a number of total pages.
|
|
120
|
+
*/
|
|
121
|
+
get size(): number;
|
|
122
|
+
/**
|
|
123
|
+
* Sets a number of total pages.
|
|
50
124
|
*
|
|
51
|
-
* @param total number of
|
|
125
|
+
* @param total a number of pages
|
|
126
|
+
* @deprecated in favor of {@link size}
|
|
52
127
|
*/
|
|
53
128
|
set total(total: number);
|
|
54
129
|
/**
|
|
55
|
-
*
|
|
130
|
+
* Returns a number of total pages.
|
|
56
131
|
*
|
|
57
|
-
* @returns number of total pages.
|
|
132
|
+
* @returns a number of total pages.
|
|
133
|
+
* @deprecated in favor of {@link size}
|
|
58
134
|
*/
|
|
59
135
|
get total(): number;
|
|
60
|
-
protected
|
|
61
|
-
protected
|
|
136
|
+
protected get dots0(): DPaginationDots;
|
|
137
|
+
protected get dots1(): DPaginationDots;
|
|
138
|
+
protected newDots(): DPaginationDots;
|
|
139
|
+
protected get buttonLast(): DButton<string> | null;
|
|
140
|
+
protected newButtonLast(): DButton<string> | null;
|
|
141
|
+
protected onButtonLastActive(): void;
|
|
142
|
+
protected moveTo(index: number): void;
|
|
143
|
+
protected get buttonNext(): DButton<string> | null;
|
|
144
|
+
protected newButtonNext(): DButton<string> | null;
|
|
145
|
+
protected onButtonNextActive(): void;
|
|
146
|
+
protected get buttonPrevious(): DButton<string> | null;
|
|
147
|
+
protected newButtonPrevious(): DButton<string> | null;
|
|
148
|
+
protected onButtonPreviousActive(): void;
|
|
149
|
+
protected get buttonTop(): DButton<string> | null;
|
|
150
|
+
protected newButtonTop(): DButton<string> | null;
|
|
151
|
+
protected onButtonTopActive(): void;
|
|
152
|
+
protected newButtonPage(): DButton<number>;
|
|
153
|
+
protected get buttonPages0(): DButton<number>[];
|
|
154
|
+
protected newButtonPages0(): DButton<number>[];
|
|
155
|
+
protected get buttonPages1(): DButton<number>[];
|
|
156
|
+
protected newButtonPages1(): DButton<number>[];
|
|
157
|
+
protected get page(): DPaginationPage;
|
|
158
|
+
protected newPage(): DPaginationPage;
|
|
159
|
+
protected onButtonPageActive(button: DButton<number>): void;
|
|
62
160
|
protected update(): void;
|
|
63
|
-
protected updateStaticButtons(): void;
|
|
64
|
-
protected getButtonWidth(): number;
|
|
65
|
-
protected toNumberVisible(): number;
|
|
66
|
-
protected onClickPageButton(btn: DButton): void;
|
|
67
161
|
protected getType(): string;
|
|
68
162
|
}
|
|
69
|
-
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Geometry, Mesh, Point, Rectangle, Shader, Texture, TextureUvs } from "pixi.js";
|
|
2
2
|
import { DColorGradient } from "./d-color-gradient";
|
|
3
|
-
|
|
3
|
+
export interface DPickerColorGradientViewPart {
|
|
4
4
|
data: DColorGradient | null;
|
|
5
5
|
rect: Rectangle;
|
|
6
|
-
}
|
|
6
|
+
}
|
|
7
7
|
export declare class DPickerColorGradientView extends Mesh {
|
|
8
8
|
protected _nPointsPerData: number;
|
|
9
9
|
protected _vertices: Float32Array;
|
|
@@ -13,8 +13,8 @@ export declare class DPickerColorGradientView extends Mesh {
|
|
|
13
13
|
protected _lastHitIndex: number;
|
|
14
14
|
protected _workColor: number[];
|
|
15
15
|
protected _workPoint: Point;
|
|
16
|
-
protected _parts:
|
|
17
|
-
protected constructor(nPointsPerData: number, vertices: Float32Array, uvs: Float32Array, colors: Float32Array, indices: Uint16Array, parts:
|
|
16
|
+
protected _parts: DPickerColorGradientViewPart[];
|
|
17
|
+
protected constructor(nPointsPerData: number, vertices: Float32Array, uvs: Float32Array, colors: Float32Array, indices: Uint16Array, parts: DPickerColorGradientViewPart[], geometry: Geometry, shader: Shader);
|
|
18
18
|
getRectangle(index: number): Rectangle | null;
|
|
19
19
|
setRectangle(index: number, x: number, y: number, width: number, height: number): void;
|
|
20
20
|
getData(index: number): DColorGradient | null;
|
|
@@ -32,4 +32,3 @@ export declare class DPickerColorGradientView extends Mesh {
|
|
|
32
32
|
containsPoint(point: Point): boolean;
|
|
33
33
|
static from(size: number, nPointsPerData: number, checkerColors: [number, number], texture?: Texture): DPickerColorGradientView;
|
|
34
34
|
}
|
|
35
|
-
export {};
|