@planeasyinc/le-angular 0.0.22 → 0.0.24

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/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export { LeContainerComponent } from './lib/components/container/container.component';
2
- export { CONFIG_TOKEN } from './lib/tokens/config.token';
2
+ export { LE_CONFIG_TOKEN, CONFIG_TOKEN } from './lib/tokens/config.token';
3
+ export { LE_REQUEST_CONTEXT_TOKEN } from './lib/tokens/http-context.token';
3
4
  export { provideConfig } from './lib/providers/provideConfig';
4
5
  export { LEAuthInterceptor } from './lib/interceptors/le-auth.interceptor';
5
6
  export { LeToastService } from './lib/services/le-toast.service';
@@ -1,6 +1,6 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class LeIconComponent {
3
- name: import("@angular/core").InputSignal<"close" | "arrow-down" | "sort" | "chevron" | "info">;
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
+ }
@@ -1,6 +1,6 @@
1
- import { LeNode } from '@planeasyinc/le-core';
2
- import { Observable } from 'rxjs';
3
1
  import { HttpResponse } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { LeNode } from '@planeasyinc/le-core';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class LEDataService {
6
6
  private apiService;
@@ -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;
@@ -1,2 +1,3 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- export declare const CONFIG_TOKEN: InjectionToken<import("../types/le-config").LeConfig>;
2
+ declare const CONFIG_TOKEN: InjectionToken<import("../types/le-config").LeConfig>;
3
+ export { CONFIG_TOKEN, CONFIG_TOKEN as LE_CONFIG_TOKEN };
@@ -1,2 +1,2 @@
1
1
  import { HttpContextToken } from '@angular/common/http';
2
- export declare const IS_LIBRARY_REQUEST: HttpContextToken<boolean>;
2
+ export declare const LE_REQUEST_CONTEXT_TOKEN: HttpContextToken<boolean>;
@@ -0,0 +1,5 @@
1
+ export interface ActionResponse {
2
+ details: Record<string, string>;
3
+ message: string;
4
+ success: boolean;
5
+ }
@@ -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 populatePopupControlsWithResponse;
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
  }
@@ -996,11 +996,10 @@ $sort-icon-size: 6px;
996
996
  ========================== */
997
997
  .block-view {
998
998
  display: grid;
999
- grid-template-columns: 1fr 1fr 1fr;
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.22",
3
+ "version": "0.0.24",
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.4",
41
- "@planeasyinc/fe-core": "0.1.26",
42
- "@planeasyinc/fe-adapters-old": "0.1.15",
43
- "@planeasyinc/fe-adapters-sections": "0.1.14",
44
- "@planeasyinc/fe-angular": "0.1.43"
40
+ "@planeasyinc/fe-core": "0.1.27",
41
+ "@planeasyinc/le-core": "0.0.5",
42
+ "@planeasyinc/fe-adapters-sections": "0.1.15",
43
+ "@planeasyinc/fe-adapters-old": "0.1.17",
44
+ "@planeasyinc/fe-angular": "0.1.44"
45
45
  },
46
46
  "scripts": {
47
47
  "lint": "eslint src",