@trudb/tru-common-lib 0.0.519 → 0.0.521
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/esm2020/lib/base-classes/tru-list-control-config-base.mjs +4 -0
- package/esm2020/public-api.mjs +4 -1
- package/fesm2015/trudb-tru-common-lib.mjs +5 -1
- package/fesm2015/trudb-tru-common-lib.mjs.map +1 -1
- package/fesm2020/trudb-tru-common-lib.mjs +5 -1
- package/fesm2020/trudb-tru-common-lib.mjs.map +1 -1
- package/lib/base-classes/tru-list-control-config-base.d.ts +20 -0
- package/package.json +1 -1
- package/public-api.d.ts +3 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Observable, Subject } from 'rxjs';
|
|
2
|
+
import { TruPropertyConfigBase } from './tru-property-config-base';
|
|
3
|
+
import { TruEntityBase } from './tru-entity-base';
|
|
4
|
+
import { TruChoice } from '../classes/tru-choice';
|
|
5
|
+
export declare abstract class TruListControlConfigBase<T> {
|
|
6
|
+
abstract label: string | undefined;
|
|
7
|
+
abstract propertyName: string | undefined;
|
|
8
|
+
abstract rootTable: string | undefined;
|
|
9
|
+
abstract propertyPath: string | undefined;
|
|
10
|
+
abstract rules(entity: any): {} | null;
|
|
11
|
+
abstract get property(): TruPropertyConfigBase;
|
|
12
|
+
abstract set entity(value: any);
|
|
13
|
+
abstract get $(): T;
|
|
14
|
+
abstract set $(value: T);
|
|
15
|
+
abstract onChange(): Subject<T>;
|
|
16
|
+
abstract change(value: T): void;
|
|
17
|
+
constructor();
|
|
18
|
+
protected hid?(entity: TruEntityBase): string | null | undefined;
|
|
19
|
+
protected choices?: () => Observable<TruChoice[]>;
|
|
20
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export * from './lib/base-classes/tru-edit-control-config-base';
|
|
|
5
5
|
export * from './lib/base-classes/tru-edit-parent-control-config-base';
|
|
6
6
|
export * from './lib/base-classes/tru-edit-pkey-control-config-base';
|
|
7
7
|
export * from './lib/base-classes/tru-entity-base';
|
|
8
|
+
export * from './lib/base-classes/tru-list-control-config-base';
|
|
8
9
|
export * from './lib/base-classes/tru-property-config-base';
|
|
9
10
|
export * from './lib/base-classes/tru-search-control-base';
|
|
10
11
|
export * from './lib/base-classes/tru-search-control-config-base';
|
|
@@ -86,6 +87,8 @@ export * from './lib/directives/breeze-validator/tru-breeze-validator';
|
|
|
86
87
|
export * from './lib/directives/breeze-validator/tru-breeze-validator-module';
|
|
87
88
|
export * from './lib/directives/search-panel-position-manager/tru-search-panel-position-manager';
|
|
88
89
|
export * from './lib/directives/search-panel-position-manager/tru-search-panel-position-manager-module';
|
|
90
|
+
export * from './lib/directives/select-panel/tru-mat-select-panel';
|
|
91
|
+
export * from './lib/directives/select-panel/tru-mat-select-panel-module';
|
|
89
92
|
export * from './lib/interfaces/tru-value';
|
|
90
93
|
export * from './lib/services/tru-app-environment';
|
|
91
94
|
export * from './lib/services/tru-breeze-context-factory';
|