@planeasyinc/le-angular 0.0.22 → 0.0.23
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 +99 -16
- package/dist/fesm2022/planeasyinc-le-angular.mjs.map +1 -1
- package/dist/lib/icons/le-icon.component.d.ts +1 -1
- package/dist/lib/services/le-actions.service.d.ts +15 -0
- package/dist/lib/services/le-toast.service.d.ts +1 -0
- package/dist/lib/types/le-action.d.ts +5 -0
- package/dist/lib/views/form-view/form-view.component.d.ts +4 -1
- package/dist/styles/styles.scss +3 -4
- package/package.json +6 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class LeIconComponent {
|
|
3
|
-
name: import("@angular/core").InputSignal<"
|
|
3
|
+
name: import("@angular/core").InputSignal<"sort" | "close" | "info" | "arrow-down" | "chevron">;
|
|
4
4
|
size: import("@angular/core").InputSignal<string | number>;
|
|
5
5
|
icon: import("@angular/core").Signal<{
|
|
6
6
|
size: number;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FeControlAction } from '@planeasyinc/fe-core';
|
|
2
|
+
import { ActionResponse } from '../types/le-action';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LeActionsService {
|
|
5
|
+
private _queue;
|
|
6
|
+
private _data;
|
|
7
|
+
get hasActions(): boolean;
|
|
8
|
+
setActions(actions: FeControlAction[], data: ActionResponse | null): void;
|
|
9
|
+
getActions(): {
|
|
10
|
+
actions: FeControlAction[];
|
|
11
|
+
data: ActionResponse | null;
|
|
12
|
+
};
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LeActionsService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LeActionsService>;
|
|
15
|
+
}
|
|
@@ -12,6 +12,7 @@ export declare class LeToastService {
|
|
|
12
12
|
private overlay;
|
|
13
13
|
private _toasts;
|
|
14
14
|
readonly toasts: import("@angular/core").Signal<LeToast[]>;
|
|
15
|
+
readonly hasToasts: import("@angular/core").Signal<boolean>;
|
|
15
16
|
readonly action$: Subject<FeControlAction>;
|
|
16
17
|
constructor();
|
|
17
18
|
notify(toast: LeToast): void;
|
|
@@ -7,6 +7,7 @@ export declare class FormViewComponent {
|
|
|
7
7
|
private attachmentService;
|
|
8
8
|
private viewportScroller;
|
|
9
9
|
private toastService;
|
|
10
|
+
private actionsService;
|
|
10
11
|
private _isLoading;
|
|
11
12
|
private _form;
|
|
12
13
|
private _sections;
|
|
@@ -36,7 +37,9 @@ export declare class FormViewComponent {
|
|
|
36
37
|
private mapUpdateFormActionToFormNode;
|
|
37
38
|
private mapUpdateTableActionToTableNode;
|
|
38
39
|
private processActionList;
|
|
39
|
-
private
|
|
40
|
+
private checkDelayedActions;
|
|
41
|
+
private normalizeControls;
|
|
42
|
+
private populatePopupControlsWithResponseData;
|
|
40
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormViewComponent, never>;
|
|
41
44
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormViewComponent, "form-view", never, { "node": { "alias": "node"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; }, { "event": "event"; }, never, never, true, never>;
|
|
42
45
|
}
|
package/dist/styles/styles.scss
CHANGED
|
@@ -996,11 +996,10 @@ $sort-icon-size: 6px;
|
|
|
996
996
|
========================== */
|
|
997
997
|
.block-view {
|
|
998
998
|
display: grid;
|
|
999
|
-
grid-template-columns:
|
|
1000
|
-
|
|
1001
|
-
.block-view-item {
|
|
1002
|
-
padding-bottom: 1rem;
|
|
999
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
1000
|
+
gap: 1rem;
|
|
1003
1001
|
}
|
|
1002
|
+
.block-view-item {}
|
|
1004
1003
|
.block-view-label {
|
|
1005
1004
|
padding-bottom: 1rem;
|
|
1006
1005
|
font-weight: bold;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@planeasyinc/le-angular",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"private": false,
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -37,11 +37,11 @@
|
|
|
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.
|
|
41
|
-
"@planeasyinc/fe-
|
|
42
|
-
"@planeasyinc/fe-adapters-old": "0.1.
|
|
43
|
-
"@planeasyinc/fe-
|
|
44
|
-
"@planeasyinc/fe-angular": "0.1.
|
|
40
|
+
"@planeasyinc/le-core": "0.0.5",
|
|
41
|
+
"@planeasyinc/fe-adapters-sections": "0.1.15",
|
|
42
|
+
"@planeasyinc/fe-adapters-old": "0.1.17",
|
|
43
|
+
"@planeasyinc/fe-core": "0.1.27",
|
|
44
|
+
"@planeasyinc/fe-angular": "0.1.44"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"lint": "eslint src",
|