@planeasyinc/le-angular 0.0.4 → 0.0.6
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/fesm2022/planeasyinc-le-angular.mjs +103 -10
- package/dist/fesm2022/planeasyinc-le-angular.mjs.map +1 -1
- package/dist/lib/templates/reference.template.d.ts +11 -2
- package/dist/lib/views/form-view/form-view.component.d.ts +2 -0
- package/dist/lib/views/table-view/table-view-cell.directive.d.ts +4 -1
- package/dist/lib/views/table-view/table-view.component.d.ts +2 -1
- package/package.json +4 -3
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class ReferenceTemplate {
|
|
3
|
-
data: import("@angular/core").InputSignal<
|
|
3
|
+
data: import("@angular/core").InputSignal<any>;
|
|
4
|
+
attribute: import("@angular/core").InputSignal<any>;
|
|
5
|
+
metadata: import("@angular/core").InputSignal<any>;
|
|
6
|
+
reference: import("@angular/core").Signal<{
|
|
7
|
+
text: string;
|
|
8
|
+
href?: string;
|
|
9
|
+
}>;
|
|
10
|
+
onClick(event: Event): void;
|
|
11
|
+
private generateText;
|
|
12
|
+
private generateLink;
|
|
4
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReferenceTemplate, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ReferenceTemplate, "ng-component", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ReferenceTemplate, "ng-component", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "attribute": { "alias": "attribute"; "required": true; "isSignal": true; }; "metadata": { "alias": "metadata"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6
15
|
}
|
|
@@ -12,6 +12,7 @@ export declare class FormViewComponent {
|
|
|
12
12
|
private _sections;
|
|
13
13
|
private _topLevelControls;
|
|
14
14
|
private _engine;
|
|
15
|
+
private _cancelRequest$;
|
|
15
16
|
private _actionHandlers;
|
|
16
17
|
node: import("@angular/core").InputSignal<LeFormNode>;
|
|
17
18
|
readonly isLoading: import("@angular/core").Signal<boolean>;
|
|
@@ -27,6 +28,7 @@ export declare class FormViewComponent {
|
|
|
27
28
|
private sortSections;
|
|
28
29
|
private getFormData;
|
|
29
30
|
private mapUpdateFormActionToFormNode;
|
|
31
|
+
private mapUpdateTableActionToTableNode;
|
|
30
32
|
private processActionList;
|
|
31
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormViewComponent, never>;
|
|
32
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormViewComponent, "form-view", never, { "node": { "alias": "node"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
+
import { ColumnModel } from './table-view.component';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class TableViewCellDirective {
|
|
3
4
|
private vcr;
|
|
4
5
|
private componentRef?;
|
|
5
6
|
readonly type: import("@angular/core").InputSignal<string>;
|
|
6
7
|
readonly data: import("@angular/core").InputSignal<unknown>;
|
|
8
|
+
readonly column: import("@angular/core").InputSignal<ColumnModel>;
|
|
9
|
+
readonly metadata: import("@angular/core").InputSignal<any>;
|
|
7
10
|
constructor();
|
|
8
11
|
private setEffects;
|
|
9
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableViewCellDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableViewCellDirective, "[tableViewCell]", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableViewCellDirective, "[tableViewCell]", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": true; "isSignal": true; }; "column": { "alias": "column"; "required": false; "isSignal": true; }; "metadata": { "alias": "metadata"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
11
14
|
}
|
|
@@ -3,7 +3,7 @@ import { TableDataSource } from './table-data-sourse';
|
|
|
3
3
|
import { PageChange } from './table-view.types';
|
|
4
4
|
import { ColumnFilterModel } from '../../services/le-filters.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
interface ColumnModel {
|
|
6
|
+
export interface ColumnModel {
|
|
7
7
|
type: string;
|
|
8
8
|
key: string;
|
|
9
9
|
label: string;
|
|
@@ -43,6 +43,7 @@ export declare class TableViewComponent {
|
|
|
43
43
|
readonly hasRowClickAction: import("@angular/core").Signal<boolean>;
|
|
44
44
|
readonly filters: import("@angular/core").Signal<ColumnFilterModel[]>;
|
|
45
45
|
constructor();
|
|
46
|
+
ngOnDestroy(): void;
|
|
46
47
|
onPageChange(pageChange: PageChange): void;
|
|
47
48
|
onSortClick(event: Event, column: ColumnModel): void;
|
|
48
49
|
onFiltersClick(event: Event): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@planeasyinc/le-angular",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@angular/animations": ">=17.0.0 <20.0.0",
|
|
24
24
|
"@angular/forms": ">=17.0.0 <20.0.0",
|
|
25
25
|
"rxjs": ">=7.0.0",
|
|
26
|
-
"@planeasyinc/le-core": "^0.0
|
|
26
|
+
"@planeasyinc/le-core": "^0.0",
|
|
27
27
|
"@planeasyinc/fe-adapters-old": "^0.1",
|
|
28
28
|
"@planeasyinc/fe-adapters-sections": "^0.1",
|
|
29
29
|
"@planeasyinc/fe-core": "^0.1",
|
|
@@ -37,7 +37,8 @@
|
|
|
37
37
|
"ng-packagr": "^19.0.0",
|
|
38
38
|
"typescript": "5.6.3",
|
|
39
39
|
"@types/web": "0.0.347",
|
|
40
|
-
"@planeasyinc/le-core": "0.0.
|
|
40
|
+
"@planeasyinc/le-core": "0.0.2",
|
|
41
|
+
"@planeasyinc/fe-core": "0.1.21"
|
|
41
42
|
},
|
|
42
43
|
"scripts": {
|
|
43
44
|
"lint": "eslint src",
|