@wcardinal/wcardinal-ui 0.141.0 → 0.145.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-like.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-button-link.d.ts +2 -2
- package/dist/types/wcardinal/ui/d-chart-axis-x-datetime.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-chart-axis-y.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-dialog-select.d.ts +13 -14
- package/dist/types/wcardinal/ui/d-item-updater.d.ts +19 -0
- package/dist/types/wcardinal/ui/d-link.d.ts +23 -12
- package/dist/types/wcardinal/ui/d-list-data-selection.d.ts +2 -2
- package/dist/types/wcardinal/ui/d-list-item-accessor-impl.d.ts +3 -1
- package/dist/types/wcardinal/ui/d-list-item-accessor.d.ts +19 -4
- package/dist/types/wcardinal/ui/d-list-item-ambient.d.ts +8 -0
- package/dist/types/wcardinal/ui/d-list-item.d.ts +7 -2
- package/dist/types/wcardinal/ui/d-menu-item-link.d.ts +2 -2
- package/dist/types/wcardinal/ui/d-note-error.d.ts +8 -0
- package/dist/types/wcardinal/ui/d-note-no-items-found.d.ts +8 -0
- package/dist/types/wcardinal/ui/d-note-searching.d.ts +8 -0
- package/dist/types/wcardinal/ui/d-note.d.ts +4 -5
- package/dist/types/wcardinal/ui/d-table-body-cell-link.d.ts +2 -2
- package/dist/types/wcardinal/ui/d-table-body-cell-tree.d.ts +2 -2
- package/dist/types/wcardinal/ui/index.d.ts +4 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-button-link.d.ts +0 -3
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-dialog-select.d.ts +2 -2
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-input-search.d.ts +0 -1
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-link.d.ts +12 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-list-item-ambient.d.ts +6 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-menu-item-link.d.ts +3 -3
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-note-error.d.ts +8 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-note-no-items-found.d.ts +8 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-note-searching.d.ts +8 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-note.d.ts +11 -2
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-table-body-cell-link.d.ts +3 -3
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-table-body-cell-tree.d.ts +0 -3
- package/dist/types/wcardinal/ui/theme/dark/index.d.ts +7 -2
- package/dist/types/wcardinal/ui/theme/dark/load/index.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-link.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-button-link.d.ts +0 -3
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-diagram-canvas.d.ts +1 -1
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-dialog-select.d.ts +2 -2
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-input-search.d.ts +0 -1
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-link.d.ts +12 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-list-item-ambient.d.ts +6 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-menu-item-link.d.ts +3 -3
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-note-error.d.ts +8 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-note-no-items-found.d.ts +8 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-note-searching.d.ts +8 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-note.d.ts +11 -2
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-table-body-cell-link.d.ts +3 -3
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-table-body-cell-tree.d.ts +0 -3
- package/dist/types/wcardinal/ui/theme/white/index.d.ts +5 -0
- package/dist/types/wcardinal/ui/theme/white/load/index.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-link.d.ts +1 -0
- package/dist/types/wcardinal/ui/util/dynamic-font-atlas.d.ts +2 -0
- package/dist/types/wcardinal/ui/util/util-transition.d.ts +3 -3
- package/dist/wcardinal/ui/d-application-like.js.map +1 -1
- package/dist/wcardinal/ui/d-button-link.js +1 -1
- package/dist/wcardinal/ui/d-button-link.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-axis-x-datetime.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-axis-y.js.map +1 -1
- package/dist/wcardinal/ui/d-dialog-select.js +55 -34
- package/dist/wcardinal/ui/d-dialog-select.js.map +1 -1
- package/dist/wcardinal/ui/d-item-updater.js +48 -11
- package/dist/wcardinal/ui/d-item-updater.js.map +1 -1
- package/dist/wcardinal/ui/d-link.js +58 -25
- package/dist/wcardinal/ui/d-link.js.map +1 -1
- package/dist/wcardinal/ui/d-list-data-selection.js.map +1 -1
- package/dist/wcardinal/ui/d-list-item-accessor-impl.js +22 -0
- package/dist/wcardinal/ui/d-list-item-accessor-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-list-item-accessor.js.map +1 -1
- package/dist/wcardinal/ui/d-list-item-ambient.js +18 -0
- package/dist/wcardinal/ui/d-list-item-ambient.js.map +1 -0
- package/dist/wcardinal/ui/d-list-item.js +50 -8
- package/dist/wcardinal/ui/d-list-item.js.map +1 -1
- package/dist/wcardinal/ui/d-menu-item-link.js +1 -1
- package/dist/wcardinal/ui/d-menu-item-link.js.map +1 -1
- package/dist/wcardinal/ui/d-note-error.js +18 -0
- package/dist/wcardinal/ui/d-note-error.js.map +1 -0
- package/dist/wcardinal/ui/d-note-no-items-found.js +18 -0
- package/dist/wcardinal/ui/d-note-no-items-found.js.map +1 -0
- package/dist/wcardinal/ui/d-note-searching.js +18 -0
- package/dist/wcardinal/ui/d-note-searching.js.map +1 -0
- package/dist/wcardinal/ui/d-note.js +2 -6
- package/dist/wcardinal/ui/d-note.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-link.js +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-link.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-tree.js +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-tree.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-row.js +1 -1
- package/dist/wcardinal/ui/d-table-body-row.js.map +1 -1
- package/dist/wcardinal/ui/index.js +4 -0
- package/dist/wcardinal/ui/index.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-button-link.js +0 -5
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-button-link.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-dialog-select.js +3 -6
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-dialog-select.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-input-search.js +0 -4
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-input-search.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-link.js +53 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-link.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-list-item-ambient.js +19 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-list-item-ambient.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-list-items.js +8 -8
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-list-items.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-menu-item-link.js +5 -7
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-menu-item-link.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-note-error.js +27 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-note-error.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-note-no-items-found.js +28 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-note-no-items-found.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-note-searching.js +29 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-note-searching.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-note.js +22 -2
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-note.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-cell-link.js +5 -7
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-cell-link.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-cell-tree.js +0 -5
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-cell-tree.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-row.js +2 -2
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-row.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/index.js +7 -2
- package/dist/wcardinal/ui/theme/dark/index.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/index.js +1 -0
- package/dist/wcardinal/ui/theme/dark/load/index.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-all.js +2 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-all.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-link.js +10 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-link.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-list.js +2 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-list.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-note.js +6 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-note.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-button-link.js +0 -5
- package/dist/wcardinal/ui/theme/white/d-theme-white-button-link.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-diagram-canvas.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-dialog-select.js +3 -6
- package/dist/wcardinal/ui/theme/white/d-theme-white-dialog-select.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-input-search.js +0 -4
- package/dist/wcardinal/ui/theme/white/d-theme-white-input-search.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-link.js +53 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-link.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-list-item-ambient.js +19 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-list-item-ambient.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-list-items.js +8 -8
- package/dist/wcardinal/ui/theme/white/d-theme-white-list-items.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-menu-item-link.js +5 -7
- package/dist/wcardinal/ui/theme/white/d-theme-white-menu-item-link.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-note-error.js +27 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-note-error.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-note-no-items-found.js +28 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-note-no-items-found.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-note-searching.js +29 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-note-searching.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-note.js +22 -2
- package/dist/wcardinal/ui/theme/white/d-theme-white-note.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-cell-link.js +5 -7
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-cell-link.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-cell-tree.js +0 -5
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-cell-tree.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-row.js +2 -2
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-row.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/index.js +5 -0
- package/dist/wcardinal/ui/theme/white/index.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/index.js +1 -0
- package/dist/wcardinal/ui/theme/white/load/index.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-all.js +2 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-all.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-link.js +10 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-link.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-list.js +2 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-list.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-note.js +6 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-note.js.map +1 -1
- package/dist/wcardinal/ui/util/dynamic-font-atlas.js +9 -4
- package/dist/wcardinal/ui/util/dynamic-font-atlas.js.map +1 -1
- package/dist/wcardinal/ui/util/util-transition.js +1 -1
- package/dist/wcardinal/ui/util/util-transition.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark.js +201 -97
- 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 +199 -95
- 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 +701 -277
- package/dist/wcardinal-ui.js +309 -93
- package/dist/wcardinal-ui.min.js +2 -2
- package/dist/wcardinal-ui.min.js.map +1 -1
- package/package.json +1 -1
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-links.d.ts +0 -12
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-links.d.ts +0 -12
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-links.js +0 -55
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-links.js.map +0 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-links.js +0 -55
- package/dist/wcardinal/ui/theme/white/d-theme-white-links.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Container } from "pixi.js";
|
|
2
|
-
import { DControllerFocus } from ".";
|
|
3
2
|
import { DApplicationLayerLike } from "./d-application-layer-like";
|
|
3
|
+
import { DControllerFocus } from "./d-controller-focus";
|
|
4
4
|
export interface DApplicationTarget {
|
|
5
5
|
parent?: DApplicationTarget | null;
|
|
6
6
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { interaction } from "pixi.js";
|
|
2
2
|
import { DButtonBase, DButtonBaseOptions, DThemeButtonBase } from "./d-button-base";
|
|
3
3
|
import { DButtonBaseWhen } from "./d-button-base-when";
|
|
4
|
-
import { DLink, DLinkOptions
|
|
4
|
+
import { DLink, DLinkOptions } from "./d-link";
|
|
5
5
|
export interface DButtonLinkOptions<VALUE = unknown, THEME extends DThemeButtonLink<VALUE> = DThemeButtonLink<VALUE>> extends DButtonBaseOptions<VALUE, THEME>, DLinkOptions {
|
|
6
6
|
}
|
|
7
|
-
export interface DThemeButtonLink<VALUE = unknown> extends DThemeButtonBase<VALUE
|
|
7
|
+
export interface DThemeButtonLink<VALUE = unknown> extends DThemeButtonBase<VALUE> {
|
|
8
8
|
}
|
|
9
9
|
export declare class DButtonLink<VALUE = unknown, THEME extends DThemeButtonLink<VALUE> = DThemeButtonLink<VALUE>, OPTIONS extends DButtonLinkOptions<VALUE, THEME> = DButtonLinkOptions<VALUE, THEME>> extends DButtonBase<VALUE, THEME, OPTIONS> {
|
|
10
10
|
protected _link: DLink;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { DDialogSelectListOptions, DLayoutHorizontalOptions } from ".";
|
|
2
1
|
import { DBase } from "./d-base";
|
|
3
2
|
import { DDialogCommand, DDialogCommandEvents, DDialogCommandOptions, DThemeDialogCommand } from "./d-dialog-command";
|
|
4
|
-
import { DDialogSelectList } from "./d-dialog-select-list";
|
|
3
|
+
import { DDialogSelectList, DDialogSelectListOptions } from "./d-dialog-select-list";
|
|
5
4
|
import { DInputSearch, DInputSearchOptions } from "./d-input-search";
|
|
6
|
-
import { DLayoutHorizontal } from "./d-layout-horizontal";
|
|
5
|
+
import { DLayoutHorizontal, DLayoutHorizontalOptions } from "./d-layout-horizontal";
|
|
7
6
|
import { DLayoutVertical } from "./d-layout-vertical";
|
|
8
7
|
import { DListOptions } from "./d-list";
|
|
9
8
|
import { DNote, DNoteOptions } from "./d-note";
|
|
@@ -23,6 +22,7 @@ export interface DDialogSelectInputOpitons extends DInputSearchOptions {
|
|
|
23
22
|
export interface DDialogSelectSearch<VALUE> {
|
|
24
23
|
create(args: [string]): void;
|
|
25
24
|
on(event: "success", handler: (e: unknown, searchResults: VALUE[]) => void): void;
|
|
25
|
+
on(event: "fail", handler: () => void): void;
|
|
26
26
|
on(event: "change", handler: () => void): void;
|
|
27
27
|
isDone(): boolean;
|
|
28
28
|
getResult(): VALUE[] | null;
|
|
@@ -41,8 +41,9 @@ export interface DDialogSelectController<VALUE> {
|
|
|
41
41
|
* {@link DDialogSelect} note options.
|
|
42
42
|
*/
|
|
43
43
|
export interface DDialogSelectNoteOptions {
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
error?: DNoteOptions | null;
|
|
45
|
+
noItemsFound?: DNoteOptions | null;
|
|
46
|
+
searching?: DNoteOptions | null;
|
|
46
47
|
}
|
|
47
48
|
export declare type DDialogSelectItemToLabel<VALUE> = (result: VALUE, caller: any) => string;
|
|
48
49
|
export declare type DDialogSelectItemIsEqual<VALUE> = (a: VALUE, b: VALUE, caller: any) => boolean;
|
|
@@ -71,8 +72,6 @@ export interface DDialogSelectOptions<VALUE, THEME extends DThemeDialogSelect<VA
|
|
|
71
72
|
* {@link DDialogSelect} theme.
|
|
72
73
|
*/
|
|
73
74
|
export interface DThemeDialogSelect<VALUE = unknown> extends DThemeDialogCommand {
|
|
74
|
-
getNoteNoItemsText(): string;
|
|
75
|
-
getNoteSearchingText(): string;
|
|
76
75
|
getInputMarginVertical(): number;
|
|
77
76
|
getInputMarginHorizontal(): number;
|
|
78
77
|
}
|
|
@@ -81,8 +80,9 @@ export declare class DDialogSelect<VALUE = unknown, THEME extends DThemeDialogSe
|
|
|
81
80
|
protected _input: DInputSearch;
|
|
82
81
|
protected _list: DDialogSelectList<VALUE>;
|
|
83
82
|
protected _search: DDialogSelectSearch<VALUE>;
|
|
84
|
-
protected
|
|
85
|
-
protected
|
|
83
|
+
protected _noteError?: DNote | null;
|
|
84
|
+
protected _noteNoItemsFound?: DNote | null;
|
|
85
|
+
protected _noteSearching?: DNote | null;
|
|
86
86
|
protected onInit(layout: DLayoutVertical, options?: OPTIONS): void;
|
|
87
87
|
protected newInput(theme: THEME, options?: OPTIONS): DInputSearch;
|
|
88
88
|
protected toInputOptions(theme: THEME, options?: OPTIONS): DInputSearchOptions;
|
|
@@ -91,11 +91,10 @@ export declare class DDialogSelect<VALUE = unknown, THEME extends DThemeDialogSe
|
|
|
91
91
|
protected toInputMargin(theme: THEME, options?: OPTIONS): DDialogSelectInputMargin;
|
|
92
92
|
protected toListOptions(theme: THEME, options?: OPTIONS): DDialogSelectListOptions<VALUE>;
|
|
93
93
|
protected newList(theme: THEME, options?: OPTIONS): DDialogSelectList<VALUE>;
|
|
94
|
-
protected toNoteOptions(parent: DBase,
|
|
95
|
-
protected
|
|
96
|
-
protected
|
|
97
|
-
protected
|
|
98
|
-
protected newNoteSearching(list: DDialogSelectList<VALUE>, theme: THEME, options?: OPTIONS): DNote;
|
|
94
|
+
protected toNoteOptions(parent: DBase, options?: DNoteOptions): DNoteOptions;
|
|
95
|
+
protected newNoteError(list: DDialogSelectList<VALUE>, options?: DDialogSelectNoteOptions): DNote | null | undefined;
|
|
96
|
+
protected newNoteNoItemsFound(list: DDialogSelectList<VALUE>, options?: DDialogSelectNoteOptions): DNote | null | undefined;
|
|
97
|
+
protected newNoteSearching(list: DDialogSelectList<VALUE>, options?: DDialogSelectNoteOptions): DNote | null | undefined;
|
|
99
98
|
protected toSearch(controller?: DDialogSelectController<VALUE>): DDialogSelectSearch<VALUE>;
|
|
100
99
|
get input(): DInputSearch;
|
|
101
100
|
get list(): DDialogSelectList<VALUE>;
|
|
@@ -6,8 +6,23 @@ export interface DItemUpdaterItem<VALUE> extends DBase {
|
|
|
6
6
|
unset(): void;
|
|
7
7
|
}
|
|
8
8
|
export declare type DItemUpdaterNewItem<DATA, ITEM> = (data: DATA) => ITEM;
|
|
9
|
+
export declare type DItemUpdaterInitItem<DATA, ITEM> = (item: ITEM, index: number, data: DATA) => ITEM;
|
|
10
|
+
/**
|
|
11
|
+
* Item updater options.
|
|
12
|
+
*/
|
|
9
13
|
export interface DItemUpdaterOptions<VALUE, DATA, ITEM> {
|
|
14
|
+
/**
|
|
15
|
+
* Called to create items.
|
|
16
|
+
*/
|
|
10
17
|
newItem?: DItemUpdaterNewItem<DATA, ITEM>;
|
|
18
|
+
/**
|
|
19
|
+
* Called to initialize items.
|
|
20
|
+
*/
|
|
21
|
+
initItem?: DItemUpdaterInitItem<DATA, ITEM>;
|
|
22
|
+
/**
|
|
23
|
+
* True to make stripe-colored items. Defaults to true.
|
|
24
|
+
*/
|
|
25
|
+
stripe?: boolean;
|
|
11
26
|
}
|
|
12
27
|
export interface DItemUpdaterDataSelection<VALUE> {
|
|
13
28
|
contains(value: VALUE): boolean;
|
|
@@ -38,9 +53,13 @@ export declare abstract class DItemUpdater<VALUE = unknown, DATA extends DItemUp
|
|
|
38
53
|
protected _content: DBase;
|
|
39
54
|
protected _container: DBase;
|
|
40
55
|
protected _newItem: DItemUpdaterNewItem<DATA, ITEM>;
|
|
56
|
+
protected _initItem: DItemUpdaterInitItem<DATA, ITEM>;
|
|
41
57
|
constructor(data: DATA, content: DBase, container: DBase, options?: OPTIONS);
|
|
42
58
|
protected toNewItem(options?: DItemUpdaterOptions<VALUE, DATA, ITEM>): DItemUpdaterNewItem<DATA, ITEM>;
|
|
43
59
|
protected abstract newItem(this: undefined, data: DATA): ITEM;
|
|
60
|
+
protected toInitItem(options?: DItemUpdaterOptions<VALUE, DATA, ITEM>): DItemUpdaterInitItem<DATA, ITEM>;
|
|
61
|
+
protected initItem(this: undefined, item: ITEM, index: number, data: DATA): ITEM;
|
|
62
|
+
protected initItemNoStriping(this: undefined, item: ITEM, index: number, data: DATA): ITEM;
|
|
44
63
|
get multiplicity(): number;
|
|
45
64
|
lock(): void;
|
|
46
65
|
unlock(callIfNeeded: boolean): void;
|
|
@@ -1,38 +1,48 @@
|
|
|
1
|
-
import { interaction } from "pixi.js";
|
|
1
|
+
import { DisplayObject, interaction, Texture } from "pixi.js";
|
|
2
2
|
import InteractionEvent = interaction.InteractionEvent;
|
|
3
3
|
import { DBase } from "./d-base";
|
|
4
4
|
import { DLinkMenu } from "./d-link-menu";
|
|
5
5
|
import { DLinkMenuItemId } from "./d-link-menu-item-id";
|
|
6
6
|
import { DLinkTarget } from "./d-link-target";
|
|
7
7
|
import { DMenu, DMenuOptions } from "./d-menu";
|
|
8
|
-
|
|
8
|
+
import { DBaseStateSet } from "./d-base-state-set";
|
|
9
|
+
export declare type DLinkUrlValue = string | null | undefined;
|
|
10
|
+
export declare type DLinkUrlMaker = () => DLinkUrlValue | Promise<DLinkUrlValue>;
|
|
11
|
+
export declare type DLinkTargetValue = DLinkTarget | null | undefined | keyof typeof DLinkTarget;
|
|
9
12
|
export declare type DLinkChecker = () => boolean | Promise<boolean>;
|
|
10
13
|
export interface DLinkOptions {
|
|
11
|
-
url?:
|
|
12
|
-
target?:
|
|
14
|
+
url?: DLinkUrlValue | DLinkUrlMaker;
|
|
15
|
+
target?: DLinkTargetValue;
|
|
13
16
|
checker?: DLinkChecker;
|
|
14
17
|
menu?: DMenuOptions<DLinkMenuItemId> | DMenu<DLinkMenuItemId>;
|
|
15
18
|
}
|
|
16
19
|
export interface DThemeLink {
|
|
17
|
-
|
|
20
|
+
getImageSource(state: DBaseStateSet): Texture | DisplayObject | null;
|
|
21
|
+
getMenuOptions(): DMenuOptions<DLinkMenuItemId>;
|
|
18
22
|
}
|
|
19
23
|
export declare class DLink {
|
|
20
24
|
protected static ANCHOR_ELEMENT?: HTMLAnchorElement;
|
|
21
|
-
protected
|
|
25
|
+
protected static MENU?: DLinkMenu;
|
|
26
|
+
protected _options?: DLinkOptions;
|
|
27
|
+
protected _url: DLinkUrlValue | DLinkUrlMaker;
|
|
22
28
|
protected _target: DLinkTarget;
|
|
23
29
|
protected _checker?: DLinkChecker;
|
|
24
|
-
protected _menu
|
|
25
|
-
protected _theme: DThemeLink;
|
|
30
|
+
protected _menu?: DLinkMenu;
|
|
26
31
|
protected _isEnabled: boolean;
|
|
27
|
-
constructor(
|
|
32
|
+
constructor(options?: DLinkOptions);
|
|
28
33
|
get enable(): boolean;
|
|
29
34
|
set enable(enable: boolean);
|
|
30
|
-
get url():
|
|
31
|
-
set url(url:
|
|
35
|
+
get url(): DLinkUrlValue | DLinkUrlMaker;
|
|
36
|
+
set url(url: DLinkUrlValue | DLinkUrlMaker);
|
|
32
37
|
get target(): DLinkTarget;
|
|
38
|
+
set target(target: DLinkTargetValue);
|
|
39
|
+
get checker(): DLinkChecker | undefined;
|
|
40
|
+
set checker(checker: DLinkChecker | undefined);
|
|
33
41
|
get menu(): DLinkMenu;
|
|
34
|
-
protected
|
|
42
|
+
protected newMenu(): DLinkMenu;
|
|
43
|
+
protected toStringifiedUrl(target: DLinkUrlValue | DLinkUrlMaker, onResolved: (url: string) => void): void;
|
|
35
44
|
protected toNormalizedUrl(url: string): string;
|
|
45
|
+
protected toNormalizedTarget(target: DLinkTargetValue): DLinkTarget;
|
|
36
46
|
/**
|
|
37
47
|
* Copys the URL to the clipboard.
|
|
38
48
|
*/
|
|
@@ -64,4 +74,5 @@ export declare class DLink {
|
|
|
64
74
|
*/
|
|
65
75
|
inNewWindow(e?: InteractionEvent | KeyboardEvent | MouseEvent | TouchEvent): boolean;
|
|
66
76
|
add(base: DBase, onSelect: (e: InteractionEvent) => void): void;
|
|
77
|
+
onClick(base: DBase, isSimulated: boolean): boolean;
|
|
67
78
|
}
|
|
@@ -76,14 +76,14 @@ export interface DListDataSelection<ITEM> extends utils.EventEmitter {
|
|
|
76
76
|
*/
|
|
77
77
|
clear(): void;
|
|
78
78
|
/**
|
|
79
|
-
* Clears all the
|
|
79
|
+
* Clears all the existing items and adds the given item.
|
|
80
80
|
*
|
|
81
81
|
* @param target an item to be added
|
|
82
82
|
* @returns true if the selection is changed
|
|
83
83
|
*/
|
|
84
84
|
clearAndAdd(target: ITEM): boolean;
|
|
85
85
|
/**
|
|
86
|
-
* Clears the
|
|
86
|
+
* Clears the existing items and add all the given items.
|
|
87
87
|
*
|
|
88
88
|
* @param targets items to be added
|
|
89
89
|
* @returns true if the selection is changed
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { DListItemAccessor, DListItemAccessorOptions, DListItemToId, DListItemToImage, DListItemToLabel, DListItemToTitle } from "./d-list-item-accessor";
|
|
1
|
+
import { DListItemAccessor, DListItemAccessorLink, DListItemAccessorOptions, DListItemToId, DListItemToImage, DListItemToLabel, DListItemToTitle } from "./d-list-item-accessor";
|
|
2
2
|
export declare class DListItemAccessorImpl<VALUE> implements DListItemAccessor<VALUE> {
|
|
3
3
|
toLabel: DListItemToLabel<VALUE>;
|
|
4
4
|
toTitle: DListItemToTitle<VALUE>;
|
|
5
5
|
toImage: DListItemToImage<VALUE>;
|
|
6
6
|
toId?: DListItemToId<VALUE>;
|
|
7
|
+
link?: DListItemAccessorLink<VALUE>;
|
|
7
8
|
constructor(options?: DListItemAccessorOptions<VALUE>);
|
|
9
|
+
protected toLink(options?: DListItemAccessorOptions<VALUE>): DListItemAccessorLink<VALUE> | undefined;
|
|
8
10
|
}
|
|
@@ -1,17 +1,32 @@
|
|
|
1
1
|
import { DisplayObject, Texture } from "pixi.js";
|
|
2
|
-
|
|
3
|
-
export declare type
|
|
4
|
-
export declare type
|
|
5
|
-
export declare type
|
|
2
|
+
import { DLinkTargetValue, DLinkUrlValue } from "./d-link";
|
|
3
|
+
export declare type DListItemToLabel<VALUE> = (value: VALUE) => string | undefined;
|
|
4
|
+
export declare type DListItemToTitle<VALUE> = (value: VALUE) => string | undefined;
|
|
5
|
+
export declare type DListItemToImage<VALUE> = (value: VALUE) => DisplayObject | Texture | null | undefined;
|
|
6
|
+
export declare type DListItemToId<VALUE> = (value: VALUE) => unknown;
|
|
7
|
+
export declare type DListItemToLinkUrl<VALUE> = (value: VALUE) => DLinkUrlValue | Promise<DLinkUrlValue>;
|
|
8
|
+
export declare type DListItemLinkChecker<VALUE> = (value: VALUE) => boolean | Promise<boolean>;
|
|
9
|
+
export interface DListItemAccessorLinkOptions<VALUE> {
|
|
10
|
+
toUrl?: DListItemToLinkUrl<VALUE>;
|
|
11
|
+
target?: DLinkTargetValue;
|
|
12
|
+
checker?: DListItemLinkChecker<VALUE>;
|
|
13
|
+
}
|
|
14
|
+
export interface DListItemAccessorLink<VALUE> {
|
|
15
|
+
toUrl: DListItemToLinkUrl<VALUE>;
|
|
16
|
+
target: DLinkTargetValue;
|
|
17
|
+
checker?: DListItemLinkChecker<VALUE>;
|
|
18
|
+
}
|
|
6
19
|
export interface DListItemAccessorOptions<VALUE> {
|
|
7
20
|
toLabel?: DListItemToLabel<VALUE>;
|
|
8
21
|
toTitle?: DListItemToTitle<VALUE>;
|
|
9
22
|
toImage?: DListItemToImage<VALUE>;
|
|
10
23
|
toId?: DListItemToId<VALUE>;
|
|
24
|
+
link?: DListItemAccessorLinkOptions<VALUE>;
|
|
11
25
|
}
|
|
12
26
|
export interface DListItemAccessor<VALUE> {
|
|
13
27
|
toLabel: DListItemToLabel<VALUE>;
|
|
14
28
|
toTitle: DListItemToTitle<VALUE>;
|
|
15
29
|
toImage: DListItemToImage<VALUE>;
|
|
16
30
|
toId?: DListItemToId<VALUE>;
|
|
31
|
+
link?: DListItemAccessorLink<VALUE>;
|
|
17
32
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DListItem, DListItemOptions, DThemeListItem } from "./d-list-item";
|
|
2
|
+
export interface DListItemAmbientOptions<VALUE = unknown, THEME extends DThemeListItemAmbient = DThemeListItemAmbient> extends DListItemOptions<VALUE, THEME> {
|
|
3
|
+
}
|
|
4
|
+
export interface DThemeListItemAmbient extends DThemeListItem {
|
|
5
|
+
}
|
|
6
|
+
export declare class DListItemAmbient<VALUE = unknown, THEME extends DThemeListItemAmbient = DThemeListItemAmbient, OPTIONS extends DListItemAmbientOptions<VALUE, THEME> = DListItemAmbientOptions<VALUE, THEME>> extends DListItem<VALUE, THEME, OPTIONS> {
|
|
7
|
+
protected getType(): string;
|
|
8
|
+
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { interaction } from "pixi.js";
|
|
2
2
|
import { DImageBase, DImageBaseEvents, DImageBaseOptions, DThemeImageBase } from "./d-image-base";
|
|
3
|
+
import { DLink, DLinkChecker, DLinkOptions, DLinkUrlMaker } from "./d-link";
|
|
3
4
|
import { DListData } from "./d-list-data";
|
|
5
|
+
import { DListItemAccessorLink, DListItemLinkChecker, DListItemToLinkUrl } from "./d-list-item-accessor";
|
|
4
6
|
import { DOnOptions } from "./d-on-options";
|
|
5
7
|
/**
|
|
6
8
|
* {@link DListItem} events.
|
|
@@ -40,9 +42,12 @@ export declare class DListItem<VALUE = unknown, THEME extends DThemeListItem = D
|
|
|
40
42
|
protected _data: DListData<VALUE>;
|
|
41
43
|
protected _value?: VALUE;
|
|
42
44
|
protected _index?: number;
|
|
45
|
+
protected _link?: DLink;
|
|
43
46
|
constructor(data: DListData<VALUE>, options?: OPTIONS);
|
|
44
|
-
protected
|
|
45
|
-
protected
|
|
47
|
+
protected initOnClick(data: DListData<VALUE>, options?: OPTIONS): void;
|
|
48
|
+
protected toLinkOptions(accessor: DListItemAccessorLink<VALUE>): DLinkOptions;
|
|
49
|
+
protected toLinkUrl(toUrl: DListItemToLinkUrl<VALUE>): DLinkUrlMaker;
|
|
50
|
+
protected toLinkChecker(checker?: DListItemLinkChecker<VALUE>): DLinkChecker | undefined;
|
|
46
51
|
get value(): VALUE | undefined;
|
|
47
52
|
get index(): number | undefined;
|
|
48
53
|
protected onSelect(e: interaction.InteractionEvent | KeyboardEvent | MouseEvent | TouchEvent | undefined, value: VALUE): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { interaction } from "pixi.js";
|
|
2
|
-
import { DLink, DLinkChecker, DLinkOptions, DLinkUrlMaker
|
|
2
|
+
import { DLink, DLinkChecker, DLinkOptions, DLinkUrlMaker } from "./d-link";
|
|
3
3
|
import { DLinkMenuItemId } from "./d-link-menu-item-id";
|
|
4
4
|
import { DLinkTarget } from "./d-link-target";
|
|
5
5
|
import { DMenu, DMenuOptions } from "./d-menu";
|
|
@@ -12,7 +12,7 @@ export interface DMenuItemLinkOptions<VALUE = unknown, THEME extends DThemeMenuI
|
|
|
12
12
|
checker?: DMenuItemLinkChecker;
|
|
13
13
|
menu?: DMenuOptions<DLinkMenuItemId> | DMenu<DLinkMenuItemId>;
|
|
14
14
|
}
|
|
15
|
-
export interface DThemeMenuItemLink extends DThemeMenuItemText
|
|
15
|
+
export interface DThemeMenuItemLink extends DThemeMenuItemText {
|
|
16
16
|
}
|
|
17
17
|
export declare class DMenuItemLink<VALUE = unknown, THEME extends DThemeMenuItemLink = DThemeMenuItemLink, OPTIONS extends DMenuItemLinkOptions<VALUE, THEME> = DMenuItemLinkOptions<VALUE, THEME>> extends DMenuItemText<VALUE, THEME, OPTIONS> {
|
|
18
18
|
protected _link: DLink;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DNote, DNoteOptions, DThemeNote } from "./d-note";
|
|
2
|
+
export interface DNoteErrorOptions<THEME extends DThemeNoteError = DThemeNoteError> extends DNoteOptions<THEME> {
|
|
3
|
+
}
|
|
4
|
+
export interface DThemeNoteError extends DThemeNote {
|
|
5
|
+
}
|
|
6
|
+
export declare class DNoteError<THEME extends DThemeNote = DThemeNote, OPTIONS extends DNoteOptions<THEME> = DNoteOptions<THEME>> extends DNote<THEME, OPTIONS> {
|
|
7
|
+
protected getType(): string;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DNote, DNoteOptions, DThemeNote } from "./d-note";
|
|
2
|
+
export interface DNoteNoItemsFoundOptions<THEME extends DThemeNoteNoItemsFound = DThemeNoteNoItemsFound> extends DNoteOptions<THEME> {
|
|
3
|
+
}
|
|
4
|
+
export interface DThemeNoteNoItemsFound extends DThemeNote {
|
|
5
|
+
}
|
|
6
|
+
export declare class DNoteNoItemsFound<THEME extends DThemeNote = DThemeNote, OPTIONS extends DNoteOptions<THEME> = DNoteOptions<THEME>> extends DNote<THEME, OPTIONS> {
|
|
7
|
+
protected getType(): string;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DNote, DNoteOptions, DThemeNote } from "./d-note";
|
|
2
|
+
export interface DNoteSearchingOptions<THEME extends DThemeNoteSearching = DThemeNoteSearching> extends DNoteOptions<THEME> {
|
|
3
|
+
}
|
|
4
|
+
export interface DThemeNoteSearching extends DThemeNote {
|
|
5
|
+
}
|
|
6
|
+
export declare class DNoteSearching<THEME extends DThemeNote = DThemeNote, OPTIONS extends DNoteOptions<THEME> = DNoteOptions<THEME>> extends DNote<THEME, OPTIONS> {
|
|
7
|
+
protected getType(): string;
|
|
8
|
+
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface DNoteOptions<
|
|
1
|
+
import { DImageBase, DImageBaseOptions, DThemeImageBase } from "./d-image-base";
|
|
2
|
+
export interface DNoteOptions<THEME extends DThemeNote = DThemeNote> extends DImageBaseOptions<string, THEME> {
|
|
3
3
|
}
|
|
4
|
-
export interface DThemeNote
|
|
4
|
+
export interface DThemeNote extends DThemeImageBase<string> {
|
|
5
5
|
}
|
|
6
|
-
export declare class DNote<
|
|
7
|
-
protected init(options?: OPTIONS): void;
|
|
6
|
+
export declare class DNote<THEME extends DThemeNote = DThemeNote, OPTIONS extends DNoteOptions<THEME> = DNoteOptions<THEME>> extends DImageBase<string, THEME, OPTIONS> {
|
|
8
7
|
protected getType(): string;
|
|
9
8
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { interaction } from "pixi.js";
|
|
2
2
|
import { DButtonBaseWhen } from "./d-button-base-when";
|
|
3
|
-
import { DLink, DLinkChecker, DLinkOptions, DLinkUrlMaker
|
|
3
|
+
import { DLink, DLinkChecker, DLinkOptions, DLinkUrlMaker } from "./d-link";
|
|
4
4
|
import { DLinkMenuItemId } from "./d-link-menu-item-id";
|
|
5
5
|
import { DLinkTarget } from "./d-link-target";
|
|
6
6
|
import { DMenu, DMenuOptions } from "./d-menu";
|
|
@@ -18,7 +18,7 @@ export interface DTableBodyCellLinkLinkOptions<ROW, VALUE> {
|
|
|
18
18
|
export interface DTableBodyCellLinkOptions<ROW, VALUE = unknown, THEME extends DThemeTableBodyCellLink<VALUE> = DThemeTableBodyCellLink<VALUE>> extends DTableBodyCellButtonOptions<ROW, VALUE, THEME> {
|
|
19
19
|
link?: DTableBodyCellLinkLinkOptions<ROW, VALUE>;
|
|
20
20
|
}
|
|
21
|
-
export interface DThemeTableBodyCellLink<VALUE = unknown> extends DThemeTableBodyCellButton<VALUE
|
|
21
|
+
export interface DThemeTableBodyCellLink<VALUE = unknown> extends DThemeTableBodyCellButton<VALUE> {
|
|
22
22
|
}
|
|
23
23
|
export declare const toLinkOptions: <ROW, VALUE>(cell: DTableBodyCell<ROW, VALUE | null>, options?: DTableBodyCellLinkLinkOptions<ROW, VALUE> | undefined) => DLinkOptions | undefined;
|
|
24
24
|
export declare const toUrl: <ROW, VALUE>(cell: DTableBodyCell<ROW, VALUE | null>, url?: string | DTableBodyCellLinkUrlMaker<ROW, VALUE> | undefined) => string | DLinkUrlMaker | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { interaction, Point } from "pixi.js";
|
|
2
2
|
import { DBasePaddingAdjustable } from "./d-base-padding-adjustable";
|
|
3
3
|
import { DButtonBaseWhen } from "./d-button-base-when";
|
|
4
|
-
import { DLink
|
|
4
|
+
import { DLink } from "./d-link";
|
|
5
5
|
import { DTableBodyCellButton, DTableBodyCellButtonOptions, DThemeTableBodyCellButton } from "./d-table-body-cell-button";
|
|
6
6
|
import { DTableBodyCellLinkLinkOptions } from "./d-table-body-cell-link";
|
|
7
7
|
import { DTableColumn } from "./d-table-column";
|
|
@@ -9,7 +9,7 @@ import { DTableBodyCellOnChange } from "./d-table-body-cell";
|
|
|
9
9
|
export interface DTableBodyCellTreeOptions<ROW, VALUE = unknown, THEME extends DThemeTableBodyCellTree<VALUE> = DThemeTableBodyCellTree<VALUE>> extends DTableBodyCellButtonOptions<ROW, VALUE, THEME> {
|
|
10
10
|
link?: DTableBodyCellLinkLinkOptions<ROW, VALUE>;
|
|
11
11
|
}
|
|
12
|
-
export interface DThemeTableBodyCellTree<VALUE = unknown> extends DThemeTableBodyCellButton<VALUE
|
|
12
|
+
export interface DThemeTableBodyCellTree<VALUE = unknown> extends DThemeTableBodyCellButton<VALUE> {
|
|
13
13
|
getLevelPadding(level: number): number;
|
|
14
14
|
}
|
|
15
15
|
export declare class DTableBodyCellTree<ROW, VALUE = unknown, THEME extends DThemeTableBodyCellTree<VALUE> = DThemeTableBodyCellTree<VALUE>, OPTIONS extends DTableBodyCellTreeOptions<ROW, VALUE, THEME> = DTableBodyCellTreeOptions<ROW, VALUE, THEME>> extends DTableBodyCellButton<ROW, VALUE, THEME, OPTIONS> {
|
|
@@ -295,6 +295,7 @@ export * from "./d-list-data-selection";
|
|
|
295
295
|
export * from "./d-list-data";
|
|
296
296
|
export * from "./d-list-item-accessor-impl";
|
|
297
297
|
export * from "./d-list-item-accessor";
|
|
298
|
+
export * from "./d-list-item-ambient";
|
|
298
299
|
export * from "./d-list-item-updater";
|
|
299
300
|
export * from "./d-list-item";
|
|
300
301
|
export * from "./d-list";
|
|
@@ -360,6 +361,9 @@ export * from "./d-menu-sided";
|
|
|
360
361
|
export * from "./d-menu-sideds";
|
|
361
362
|
export * from "./d-menu";
|
|
362
363
|
export * from "./d-menus";
|
|
364
|
+
export * from "./d-note-error";
|
|
365
|
+
export * from "./d-note-no-items-found";
|
|
366
|
+
export * from "./d-note-searching";
|
|
363
367
|
export * from "./d-note";
|
|
364
368
|
export * from "./d-notification";
|
|
365
369
|
export * from "./d-outline";
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { DThemeButtonLink } from "../../d-button-link";
|
|
2
|
-
import { DLinkMenuItemId } from "../../d-link-menu-item-id";
|
|
3
|
-
import { DMenuOptions } from "../../d-menu";
|
|
4
2
|
import { DThemeDarkButtonAmbient } from "./d-theme-dark-button-ambient";
|
|
5
3
|
export declare class DThemeDarkButtonLink<VALUE = unknown> extends DThemeDarkButtonAmbient<VALUE> implements DThemeButtonLink<VALUE> {
|
|
6
|
-
getLinkMenuOptions(): DMenuOptions<DLinkMenuItemId>;
|
|
7
4
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { DCoordinateSize } from "../../d-coordinate";
|
|
1
2
|
import { DThemeDialogSelect } from "../../d-dialog-select";
|
|
2
3
|
import { DThemeDarkDialogCommand } from "./d-theme-dark-dialog-command";
|
|
3
4
|
export declare class DThemeDarkDialogSelect<VALUE> extends DThemeDarkDialogCommand implements DThemeDialogSelect<VALUE> {
|
|
5
|
+
getWidth(): DCoordinateSize;
|
|
4
6
|
getOk(): string | null;
|
|
5
7
|
getCancel(): string | null;
|
|
6
|
-
getNoteNoItemsText(): string;
|
|
7
|
-
getNoteSearchingText(): string;
|
|
8
8
|
getInputMarginVertical(): number;
|
|
9
9
|
getInputMarginHorizontal(): number;
|
|
10
10
|
}
|
|
@@ -6,7 +6,6 @@ import { DThemeInputSearch } from "../../d-input-search";
|
|
|
6
6
|
import { DThemeDarkInputText } from "./d-theme-dark-input-text";
|
|
7
7
|
export declare class DThemeDarkInputSearch extends DThemeDarkInputText implements DThemeInputSearch {
|
|
8
8
|
getPaddingRight(): number;
|
|
9
|
-
getImageTintColor(state: DBaseStateSet): number;
|
|
10
9
|
getImageSource(state: DBaseStateSet): Texture | DisplayObject | null;
|
|
11
10
|
getImageAlignWith(): DAlignWith;
|
|
12
11
|
getImageAlignHorizontal(): DAlignHorizontal;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DisplayObject, Texture } from "pixi.js";
|
|
2
|
+
import { DBaseStateSet } from "../../d-base-state-set";
|
|
3
|
+
import { DThemeLink } from "../../d-link";
|
|
4
|
+
import { DLinkMenuItemId } from "../../d-link-menu-item-id";
|
|
5
|
+
import { DMenuOptions } from "../../d-menu";
|
|
6
|
+
export declare class DThemeDarkLink implements DThemeLink {
|
|
7
|
+
getImageSource(state: DBaseStateSet): Texture | DisplayObject | null;
|
|
8
|
+
getMenuOptions(): DMenuOptions<DLinkMenuItemId>;
|
|
9
|
+
protected getLabelOpenLink(): string;
|
|
10
|
+
protected getLabelOpenLinkInNewWindow(): string;
|
|
11
|
+
protected getLabelCopyLinkAddress(): string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DThemeListItemAmbient } from "../../d-list-item-ambient";
|
|
2
|
+
import { DThemeDarkListItem } from "./d-theme-dark-list-item";
|
|
3
|
+
import { DThemeDarkListItems } from "./d-theme-dark-list-items";
|
|
4
|
+
export declare class DThemeDarkListItemAmbient extends DThemeDarkListItem implements DThemeListItemAmbient {
|
|
5
|
+
protected newStyle(): DThemeDarkListItems;
|
|
6
|
+
}
|
|
@@ -2,14 +2,14 @@ import { DisplayObject, Texture } from "pixi.js";
|
|
|
2
2
|
import { DAlignHorizontal } from "../../d-align-horizontal";
|
|
3
3
|
import { DAlignWith } from "../../d-align-with";
|
|
4
4
|
import { DBaseStateSet } from "../../d-base-state-set";
|
|
5
|
-
import {
|
|
6
|
-
import { DMenuOptions } from "../../d-menu";
|
|
5
|
+
import { DThemeLink } from "../../d-link";
|
|
7
6
|
import { DThemeMenuItemLink } from "../../d-menu-item-link";
|
|
8
7
|
import { DThemeDarkMenuItemText } from "./d-theme-dark-menu-item-text";
|
|
9
8
|
export declare class DThemeDarkMenuItemLink extends DThemeDarkMenuItemText implements DThemeMenuItemLink {
|
|
9
|
+
protected _link: DThemeLink;
|
|
10
|
+
constructor();
|
|
10
11
|
getImageSource(state: DBaseStateSet): Texture | DisplayObject | null;
|
|
11
12
|
getImageTintAlpha(state: DBaseStateSet): number;
|
|
12
13
|
getImageAlignWith(): DAlignWith;
|
|
13
14
|
getImageAlignHorizontal(): DAlignHorizontal;
|
|
14
|
-
getLinkMenuOptions(): DMenuOptions<DLinkMenuItemId>;
|
|
15
15
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DisplayObject, Texture } from "pixi.js";
|
|
2
|
+
import { DBaseStateSet } from "../../d-base-state-set";
|
|
3
|
+
import { DStateAwareOrValueMightBe } from "../../d-state-aware";
|
|
4
|
+
import { DThemeDarkNote } from "./d-theme-dark-note";
|
|
5
|
+
export declare class DThemeDarkNoteError extends DThemeDarkNote {
|
|
6
|
+
newTextValue(): DStateAwareOrValueMightBe<string>;
|
|
7
|
+
getImageSource(state: DBaseStateSet): Texture | DisplayObject | null;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DisplayObject, Texture } from "pixi.js";
|
|
2
|
+
import { DBaseStateSet } from "../../d-base-state-set";
|
|
3
|
+
import { DStateAwareOrValueMightBe } from "../../d-state-aware";
|
|
4
|
+
import { DThemeDarkNote } from "./d-theme-dark-note";
|
|
5
|
+
export declare class DThemeDarkNoteNoItemsFound extends DThemeDarkNote {
|
|
6
|
+
newTextValue(): DStateAwareOrValueMightBe<string>;
|
|
7
|
+
getImageSource(state: DBaseStateSet): Texture | DisplayObject | null;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DisplayObject, Texture } from "pixi.js";
|
|
2
|
+
import { DBaseStateSet } from "../../d-base-state-set";
|
|
3
|
+
import { DStateAwareOrValueMightBe } from "../../d-state-aware";
|
|
4
|
+
import { DThemeDarkNote } from "./d-theme-dark-note";
|
|
5
|
+
export declare class DThemeDarkNoteSearching extends DThemeDarkNote {
|
|
6
|
+
newTextValue(): DStateAwareOrValueMightBe<string>;
|
|
7
|
+
getImageSource(state: DBaseStateSet): Texture | DisplayObject | null;
|
|
8
|
+
}
|
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
import { DAlignHorizontal } from "../../d-align-horizontal";
|
|
2
|
+
import { DAlignVertical } from "../../d-align-vertical";
|
|
3
|
+
import { DAlignWith } from "../../d-align-with";
|
|
2
4
|
import { DBaseInteractive } from "../../d-base-interactive";
|
|
5
|
+
import { DBaseStateSet } from "../../d-base-state-set";
|
|
3
6
|
import { DCoordinateSize } from "../../d-coordinate";
|
|
4
7
|
import { DThemeNote } from "../../d-note";
|
|
5
|
-
import {
|
|
6
|
-
export declare class DThemeDarkNote
|
|
8
|
+
import { DThemeDarkImageBase } from "./d-theme-dark-image-base";
|
|
9
|
+
export declare class DThemeDarkNote extends DThemeDarkImageBase<string> implements DThemeNote {
|
|
7
10
|
getWidth(): DCoordinateSize;
|
|
8
11
|
getHeight(): DCoordinateSize;
|
|
9
12
|
getTextAlignHorizontal(): DAlignHorizontal;
|
|
10
13
|
getInteractive(): DBaseInteractive;
|
|
14
|
+
getAlpha(): number;
|
|
15
|
+
getFontSize(): number;
|
|
16
|
+
getImageTintAlpha(state: DBaseStateSet): number;
|
|
17
|
+
getImageAlignWith(): DAlignWith;
|
|
18
|
+
getImageAlignHorizontal(): DAlignHorizontal;
|
|
19
|
+
getImageAlignVertical(): DAlignVertical;
|
|
11
20
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { DisplayObject, Texture } from "pixi.js";
|
|
2
2
|
import { DBaseStateSet } from "../../d-base-state-set";
|
|
3
|
-
import {
|
|
4
|
-
import { DMenuOptions } from "../../d-menu";
|
|
3
|
+
import { DThemeLink } from "../../d-link";
|
|
5
4
|
import { DThemeTableBodyCellLink } from "../../d-table-body-cell-link";
|
|
6
5
|
import { DThemeDarkTableBodyCellButton } from "./d-theme-dark-table-body-cell-button";
|
|
7
6
|
export declare class DThemeDarkTableBodyCellLink extends DThemeDarkTableBodyCellButton implements DThemeTableBodyCellLink {
|
|
7
|
+
protected _link: DThemeLink;
|
|
8
|
+
constructor();
|
|
8
9
|
getImageTintColor(state: DBaseStateSet): number | null;
|
|
9
10
|
getImageSource(state: DBaseStateSet): Texture | DisplayObject | null;
|
|
10
|
-
getLinkMenuOptions(): DMenuOptions<DLinkMenuItemId>;
|
|
11
11
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { DisplayObject, Texture } from "pixi.js";
|
|
2
2
|
import { DAlignWith } from "../../d-align-with";
|
|
3
3
|
import { DBaseStateSet } from "../../d-base-state-set";
|
|
4
|
-
import { DLinkMenuItemId } from "../../d-link-menu-item-id";
|
|
5
|
-
import { DMenuOptions } from "../../d-menu";
|
|
6
4
|
import { DThemeTableBodyCellTree } from "../../d-table-body-cell-tree";
|
|
7
5
|
import { DThemeDarkTableBodyCellButton } from "./d-theme-dark-table-body-cell-button";
|
|
8
6
|
export declare class DThemeDarkTableBodyCellTree extends DThemeDarkTableBodyCellButton implements DThemeTableBodyCellTree {
|
|
@@ -12,5 +10,4 @@ export declare class DThemeDarkTableBodyCellTree extends DThemeDarkTableBodyCell
|
|
|
12
10
|
getImageSource(state: DBaseStateSet): Texture | DisplayObject | null;
|
|
13
11
|
getImageTintColor(state: DBaseStateSet): number | null;
|
|
14
12
|
getImageTintAlpha(state: DBaseStateSet): number;
|
|
15
|
-
getLinkMenuOptions(): DMenuOptions<DLinkMenuItemId>;
|
|
16
13
|
}
|
|
@@ -64,6 +64,8 @@ export * from "./d-theme-dark-dialog-select-list";
|
|
|
64
64
|
export * from "./d-theme-dark-dialog-select-list-item";
|
|
65
65
|
export * from "./d-theme-dark-dialog-time";
|
|
66
66
|
export * from "./d-theme-dark-dropdown";
|
|
67
|
+
export * from "./d-theme-dark-expandable";
|
|
68
|
+
export * from "./d-theme-dark-expandable-header";
|
|
67
69
|
export * from "./d-theme-dark-font";
|
|
68
70
|
export * from "./d-theme-dark-html-element";
|
|
69
71
|
export * from "./d-theme-dark-image";
|
|
@@ -85,8 +87,8 @@ export * from "./d-theme-dark-layout-horizontal";
|
|
|
85
87
|
export * from "./d-theme-dark-layout-space";
|
|
86
88
|
export * from "./d-theme-dark-layout-vertical";
|
|
87
89
|
export * from "./d-theme-dark-layout";
|
|
88
|
-
export * from "./d-theme-dark-
|
|
89
|
-
export * from "./d-theme-dark-
|
|
90
|
+
export * from "./d-theme-dark-link";
|
|
91
|
+
export * from "./d-theme-dark-list-item-ambient";
|
|
90
92
|
export * from "./d-theme-dark-list-item";
|
|
91
93
|
export * from "./d-theme-dark-list-items";
|
|
92
94
|
export * from "./d-theme-dark-list";
|
|
@@ -125,6 +127,9 @@ export * from "./d-theme-dark-menu-sided-item-menu";
|
|
|
125
127
|
export * from "./d-theme-dark-menu-sided-item-separator";
|
|
126
128
|
export * from "./d-theme-dark-menu-sided-item-space";
|
|
127
129
|
export * from "./d-theme-dark-menu-sided-item-text";
|
|
130
|
+
export * from "./d-theme-dark-note-error";
|
|
131
|
+
export * from "./d-theme-dark-note-no-items-found";
|
|
132
|
+
export * from "./d-theme-dark-note-searching";
|
|
128
133
|
export * from "./d-theme-dark-note";
|
|
129
134
|
export * from "./d-theme-dark-pagination";
|
|
130
135
|
export * from "./d-theme-dark-pagination-navigation-button";
|