intelica-library-ui 0.1.139 → 0.1.141

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.
@@ -1,4 +1,4 @@
1
- import { AfterContentInit, EventEmitter, OnChanges, QueryList } from "@angular/core";
1
+ import { AfterContentInit, EventEmitter, OnChanges, QueryList, TemplateRef } from "@angular/core";
2
2
  import { GlobalTermService } from "../../services/globalTerm.service";
3
3
  import { TreeColumnComponent, TreeColumnGroupComponent } from "./column.component";
4
4
  import { SortFieldModel } from "../table/model/sort.model";
@@ -16,6 +16,8 @@ export declare class TreeTableComponent<T> implements OnChanges, AfterContentIni
16
16
  scrollable: boolean;
17
17
  Columns: QueryList<TreeColumnComponent>;
18
18
  ColumnGroups: QueryList<TreeColumnGroupComponent>;
19
+ AdditionalTemplate?: TemplateRef<any>;
20
+ AdditionalCentralTemplate?: TemplateRef<any>;
19
21
  EmitSortEvent: EventEmitter<SortFieldModel[]>;
20
22
  ListDataFilter: T[];
21
23
  ColumnList: TreeColumnComponent[];
@@ -30,5 +32,5 @@ export declare class TreeTableComponent<T> implements OnChanges, AfterContentIni
30
32
  OnSort(field: string): void;
31
33
  SortPages(): void;
32
34
  static ɵfac: i0.ɵɵFactoryDeclaration<TreeTableComponent<any>, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<TreeTableComponent<any>, "intelica-tree-table", never, { "ComponentId": { "alias": "ComponentId"; "required": false; }; "ListData": { "alias": "ListData"; "required": false; }; "ClassName": { "alias": "ClassName"; "required": false; }; "groupRowsBy": { "alias": "groupRowsBy"; "required": false; }; "dataKey": { "alias": "dataKey"; "required": false; }; "DefaultSortField": { "alias": "DefaultSortField"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; }, { "EmitSortEvent": "EmitSortEvent"; }, ["Columns", "ColumnGroups"], never, true, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreeTableComponent<any>, "intelica-tree-table", never, { "ComponentId": { "alias": "ComponentId"; "required": false; }; "ListData": { "alias": "ListData"; "required": false; }; "ClassName": { "alias": "ClassName"; "required": false; }; "groupRowsBy": { "alias": "groupRowsBy"; "required": false; }; "dataKey": { "alias": "dataKey"; "required": false; }; "DefaultSortField": { "alias": "DefaultSortField"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; }, { "EmitSortEvent": "EmitSortEvent"; }, ["AdditionalTemplate", "AdditionalCentralTemplate", "Columns", "ColumnGroups"], never, true, never>;
34
36
  }
@@ -0,0 +1,5 @@
1
+ export interface ElementResponse {
2
+ pageElementID: string;
3
+ elementCode: string;
4
+ elementDescription: string;
5
+ }
@@ -0,0 +1,15 @@
1
+ import { Observable } from "rxjs";
2
+ import { ElementResponse } from "../dto/ElementResponse";
3
+ import * as i0 from "@angular/core";
4
+ export declare class ElementService {
5
+ Elements: ElementResponse[];
6
+ PageRoot: string;
7
+ private readonly pageElementService;
8
+ Initialize$(pageRootValue: string): Observable<void>;
9
+ /**
10
+ * Verify if page has available element by description
11
+ */
12
+ HasElement(description: string): boolean;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<ElementService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<ElementService>;
15
+ }
@@ -0,0 +1,10 @@
1
+ import { Observable } from "rxjs";
2
+ import { ElementResponse } from "../dto/ElementResponse";
3
+ import * as i0 from "@angular/core";
4
+ export declare class PageElementService {
5
+ private readonly _http;
6
+ private readonly _configService;
7
+ GetElements(pageRoot: string): Observable<ElementResponse[]>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageElementService, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<PageElementService>;
10
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelica-library-ui",
3
- "version": "0.1.139",
3
+ "version": "0.1.141",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.0",
6
6
  "@angular/core": "^19.2.0",
package/public-api.d.ts CHANGED
@@ -63,6 +63,7 @@ export * from "./lib/services/language.service";
63
63
  export * from "./lib/services/echart.service";
64
64
  export * from "./lib/services/profile.service";
65
65
  export * from "./lib/services/skeleton.service";
66
+ export * from "./lib/services/element.service";
66
67
  export * from "./lib/functions/compareByField";
67
68
  export * from "./lib/functions/encryptRSA";
68
69
  export * from "./lib/functions/inputValidation";