lib-portal-angular 0.0.43 → 0.0.45

Sign up to get free protection for your applications and to get access to all the features.
@@ -48,5 +48,5 @@ export declare class ButtonComponent implements OnInit {
48
48
  private calculateDynamicStyles;
49
49
  hasPermission(): boolean;
50
50
  static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "sim-app-button", never, { "type": { "alias": "type"; "required": false; }; "label": { "alias": "label"; "required": false; }; "btnClass": { "alias": "btnClass"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "form": { "alias": "form"; "required": false; }; "formaction": { "alias": "formaction"; "required": false; }; "formenctype": { "alias": "formenctype"; "required": false; }; "formmethod": { "alias": "formmethod"; "required": false; }; "formnovalidate": { "alias": "formnovalidate"; "required": false; }; "formtarget": { "alias": "formtarget"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "marginTop": { "alias": "marginTop"; "required": false; }; "marginBottom": { "alias": "marginBottom"; "required": false; }; "marginLeft": { "alias": "marginLeft"; "required": false; }; "marginRight": { "alias": "marginRight"; "required": false; }; "permissions": { "alias": "permissions"; "required": false; }; }, { "clickEvent": "clickEvent"; }, never, never, false, never>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "argenta-custom-button", never, { "type": { "alias": "type"; "required": false; }; "label": { "alias": "label"; "required": false; }; "btnClass": { "alias": "btnClass"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "form": { "alias": "form"; "required": false; }; "formaction": { "alias": "formaction"; "required": false; }; "formenctype": { "alias": "formenctype"; "required": false; }; "formmethod": { "alias": "formmethod"; "required": false; }; "formnovalidate": { "alias": "formnovalidate"; "required": false; }; "formtarget": { "alias": "formtarget"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "marginTop": { "alias": "marginTop"; "required": false; }; "marginBottom": { "alias": "marginBottom"; "required": false; }; "marginLeft": { "alias": "marginLeft"; "required": false; }; "marginRight": { "alias": "marginRight"; "required": false; }; "permissions": { "alias": "permissions"; "required": false; }; }, { "clickEvent": "clickEvent"; }, never, never, false, never>;
52
52
  }
@@ -20,8 +20,9 @@ import * as i18 from "./search-input/search-input.component";
20
20
  import * as i19 from "@angular/common";
21
21
  import * as i20 from "@angular/forms";
22
22
  import * as i21 from "@ng-select/ng-select";
23
+ import * as i22 from "../icons/lucide-icons.module";
23
24
  export declare class ComponentsModule {
24
25
  static ɵfac: i0.ɵɵFactoryDeclaration<ComponentsModule, never>;
25
- static ɵmod: i0.ɵɵNgModuleDeclaration<ComponentsModule, [typeof i1.ButtonComponent, typeof i2.CardComponent, typeof i3.FormComponent, typeof i4.InputComponent, typeof i5.CheckboxComponent, typeof i6.TextareaComponent, typeof i7.SelectComponent, typeof i8.RadioComponent, typeof i9.MultiSelectComponent, typeof i10.DataTableComponent, typeof i11.CodeHighlightComponent, typeof i12.BadgeComponent, typeof i13.AlertComponent, typeof i14.ConfirmationComponent, typeof i15.AutofocusDirective, typeof i16.CustomPaginationComponent, typeof i17.TreeNodeComponent, typeof i18.SearchInputComponent], [typeof i19.CommonModule, typeof i20.FormsModule, typeof i20.ReactiveFormsModule, typeof i21.NgSelectModule], [typeof i1.ButtonComponent, typeof i2.CardComponent, typeof i3.FormComponent, typeof i4.InputComponent, typeof i5.CheckboxComponent, typeof i6.TextareaComponent, typeof i7.SelectComponent, typeof i8.RadioComponent, typeof i9.MultiSelectComponent, typeof i20.FormsModule, typeof i20.ReactiveFormsModule, typeof i21.NgSelectModule, typeof i10.DataTableComponent, typeof i11.CodeHighlightComponent, typeof i12.BadgeComponent, typeof i13.AlertComponent, typeof i14.ConfirmationComponent, typeof i16.CustomPaginationComponent, typeof i17.TreeNodeComponent, typeof i18.SearchInputComponent]>;
26
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ComponentsModule, [typeof i1.ButtonComponent, typeof i2.CardComponent, typeof i3.FormComponent, typeof i4.InputComponent, typeof i5.CheckboxComponent, typeof i6.TextareaComponent, typeof i7.SelectComponent, typeof i8.RadioComponent, typeof i9.MultiSelectComponent, typeof i10.DataTableComponent, typeof i11.CodeHighlightComponent, typeof i12.BadgeComponent, typeof i13.AlertComponent, typeof i14.ConfirmationComponent, typeof i15.AutofocusDirective, typeof i16.CustomPaginationComponent, typeof i17.TreeNodeComponent, typeof i18.SearchInputComponent], [typeof i19.CommonModule, typeof i20.FormsModule, typeof i20.ReactiveFormsModule, typeof i21.NgSelectModule, typeof i22.LucideIconsModule], [typeof i1.ButtonComponent, typeof i2.CardComponent, typeof i3.FormComponent, typeof i4.InputComponent, typeof i5.CheckboxComponent, typeof i6.TextareaComponent, typeof i7.SelectComponent, typeof i8.RadioComponent, typeof i9.MultiSelectComponent, typeof i20.FormsModule, typeof i20.ReactiveFormsModule, typeof i21.NgSelectModule, typeof i10.DataTableComponent, typeof i11.CodeHighlightComponent, typeof i12.BadgeComponent, typeof i13.AlertComponent, typeof i14.ConfirmationComponent, typeof i16.CustomPaginationComponent, typeof i17.TreeNodeComponent, typeof i18.SearchInputComponent, typeof i22.LucideIconsModule]>;
26
27
  static ɵinj: i0.ɵɵInjectorDeclaration<ComponentsModule>;
27
28
  }
@@ -4,16 +4,16 @@ export declare class CustomPaginationComponent implements OnDestroy {
4
4
  totalItems: number;
5
5
  itemsPerPage: number;
6
6
  currentPage: number;
7
- maxSize: number;
8
7
  pageText: string;
9
8
  ofText: string;
10
9
  showPageInfo: boolean;
11
10
  pageChange: EventEmitter<number>;
11
+ maxSize: number;
12
12
  private destroy$;
13
13
  get totalPages(): number;
14
14
  changePage(page: number): void;
15
15
  get pages(): number[];
16
16
  ngOnDestroy(): void;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<CustomPaginationComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<CustomPaginationComponent, "custom-pagination", never, { "totalItems": { "alias": "totalItems"; "required": false; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "maxSize": { "alias": "maxSize"; "required": false; }; "pageText": { "alias": "pageText"; "required": false; }; "ofText": { "alias": "ofText"; "required": false; }; "showPageInfo": { "alias": "showPageInfo"; "required": false; }; }, { "pageChange": "pageChange"; }, never, never, false, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<CustomPaginationComponent, "custom-pagination", never, { "totalItems": { "alias": "totalItems"; "required": false; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "pageText": { "alias": "pageText"; "required": false; }; "ofText": { "alias": "ofText"; "required": false; }; "showPageInfo": { "alias": "showPageInfo"; "required": false; }; }, { "pageChange": "pageChange"; }, never, never, false, never>;
19
19
  }
@@ -1,6 +1,7 @@
1
1
  import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
2
3
  import * as i0 from "@angular/core";
3
- export declare class SearchInputComponent implements OnInit, OnDestroy {
4
+ export declare class SearchInputComponent implements OnInit, OnDestroy, ControlValueAccessor {
4
5
  id: string;
5
6
  label: string;
6
7
  type: string;
@@ -39,6 +40,12 @@ export declare class SearchInputComponent implements OnInit, OnDestroy {
39
40
  fontSize: string;
40
41
  lineHeight: string;
41
42
  };
43
+ onChangeFn: (value: string) => void;
44
+ onTouchedFn: () => void;
45
+ writeValue(value: string): void;
46
+ registerOnChange(fn: (value: string) => void): void;
47
+ registerOnTouched(fn: () => void): void;
48
+ setDisabledState(isDisabled: boolean): void;
42
49
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchInputComponent, never>;
43
- static ɵcmp: i0.ɵɵComponentDeclaration<SearchInputComponent, "sim-search-input", never, { "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "required": { "alias": "required"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; }, { "search": "search"; "inputChange": "inputChange"; "change": "change"; "focus": "focus"; "blur": "blur"; "keyup": "keyup"; "keydown": "keydown"; "keypress": "keypress"; }, never, never, false, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchInputComponent, "argenta-search-input", never, { "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "required": { "alias": "required"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; }, { "search": "search"; "inputChange": "inputChange"; "change": "change"; "focus": "focus"; "blur": "blur"; "keyup": "keyup"; "keydown": "keydown"; "keypress": "keypress"; }, never, never, false, never>;
44
51
  }
@@ -1,5 +1,6 @@
1
1
  import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
+ import { ButtonClasses } from '../../enum/ButtonClassesEnum';
3
4
  import { AuthService } from '../../service/auth-service.service';
4
5
  import { RefreshService } from '../../service/refresh-service.service';
5
6
  import { IDataIndexPaginate, IPaginateResult } from './data-paginate.service';
@@ -13,18 +14,11 @@ export declare class DataTableComponent implements OnInit, OnChanges, OnDestroy
13
14
  prop: string;
14
15
  }[];
15
16
  hiddenColumns: string[];
16
- itemsPerPageOptions: number[];
17
17
  defaultItemsPerPage: number;
18
18
  itemsPerPageLabel: string;
19
- marginTop: number;
20
- marginBottom: number;
21
- marginLeft: number;
22
- marginRight: number;
23
19
  showActionColumn: boolean;
24
20
  actionColumnLabel: string;
25
21
  totalItems: number;
26
- tableFontColor: string;
27
- tableFontSize: string;
28
22
  fetchDataFunction: (params: IDataIndexPaginate) => Observable<IPaginateResult<any>>;
29
23
  editPermissions: string[];
30
24
  deletePermissions: string[];
@@ -39,6 +33,8 @@ export declare class DataTableComponent implements OnInit, OnChanges, OnDestroy
39
33
  onEditTable: EventEmitter<any>;
40
34
  onDeleteTable: EventEmitter<any>;
41
35
  onViewTable: EventEmitter<any>;
36
+ newProfile: EventEmitter<void>;
37
+ itemsPerPageOptions: number[];
42
38
  currentPage: number;
43
39
  sortColumn: string;
44
40
  sortDirection: 'asc' | 'desc';
@@ -46,6 +42,7 @@ export declare class DataTableComponent implements OnInit, OnChanges, OnDestroy
46
42
  isLoading: boolean;
47
43
  private destroy$;
48
44
  private isInitialized;
45
+ ButtonClasses: typeof ButtonClasses;
49
46
  labelStyle: {
50
47
  'font-family': string;
51
48
  'font-size': string;
@@ -63,6 +60,8 @@ export declare class DataTableComponent implements OnInit, OnChanges, OnDestroy
63
60
  handleAction(action: string, item: any, index: number): void;
64
61
  hasPermission(requiredPermissions: string[]): boolean;
65
62
  isColumnHidden(columnProp: string): boolean;
63
+ onSearch(searchText: string): void;
64
+ onNewProfile(): void;
66
65
  static ɵfac: i0.ɵɵFactoryDeclaration<DataTableComponent, never>;
67
- static ɵcmp: i0.ɵɵComponentDeclaration<DataTableComponent, "sim-data-table", never, { "columns": { "alias": "columns"; "required": false; }; "hiddenColumns": { "alias": "hiddenColumns"; "required": false; }; "itemsPerPageOptions": { "alias": "itemsPerPageOptions"; "required": false; }; "defaultItemsPerPage": { "alias": "defaultItemsPerPage"; "required": false; }; "itemsPerPageLabel": { "alias": "itemsPerPageLabel"; "required": false; }; "marginTop": { "alias": "marginTop"; "required": false; }; "marginBottom": { "alias": "marginBottom"; "required": false; }; "marginLeft": { "alias": "marginLeft"; "required": false; }; "marginRight": { "alias": "marginRight"; "required": false; }; "showActionColumn": { "alias": "showActionColumn"; "required": false; }; "actionColumnLabel": { "alias": "actionColumnLabel"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "tableFontColor": { "alias": "tableFontColor"; "required": false; }; "tableFontSize": { "alias": "tableFontSize"; "required": false; }; "fetchDataFunction": { "alias": "fetchDataFunction"; "required": false; }; "editPermissions": { "alias": "editPermissions"; "required": false; }; "deletePermissions": { "alias": "deletePermissions"; "required": false; }; "viewPermissions": { "alias": "viewPermissions"; "required": false; }; "showPageInfo": { "alias": "showPageInfo"; "required": false; }; "pageText": { "alias": "pageText"; "required": false; }; "ofText": { "alias": "ofText"; "required": false; }; "filterDescription": { "alias": "filterDescription"; "required": false; }; }, { "sortChange": "sortChange"; "pageChange": "pageChange"; "itemsPerPageChange": "itemsPerPageChange"; "onEditTable": "onEditTable"; "onDeleteTable": "onDeleteTable"; "onViewTable": "onViewTable"; }, never, never, false, never>;
66
+ static ɵcmp: i0.ɵɵComponentDeclaration<DataTableComponent, "argenta-list-data-table", never, { "columns": { "alias": "columns"; "required": false; }; "hiddenColumns": { "alias": "hiddenColumns"; "required": false; }; "defaultItemsPerPage": { "alias": "defaultItemsPerPage"; "required": false; }; "itemsPerPageLabel": { "alias": "itemsPerPageLabel"; "required": false; }; "showActionColumn": { "alias": "showActionColumn"; "required": false; }; "actionColumnLabel": { "alias": "actionColumnLabel"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "fetchDataFunction": { "alias": "fetchDataFunction"; "required": false; }; "editPermissions": { "alias": "editPermissions"; "required": false; }; "deletePermissions": { "alias": "deletePermissions"; "required": false; }; "viewPermissions": { "alias": "viewPermissions"; "required": false; }; "showPageInfo": { "alias": "showPageInfo"; "required": false; }; "pageText": { "alias": "pageText"; "required": false; }; "ofText": { "alias": "ofText"; "required": false; }; "filterDescription": { "alias": "filterDescription"; "required": false; }; }, { "sortChange": "sortChange"; "pageChange": "pageChange"; "itemsPerPageChange": "itemsPerPageChange"; "onEditTable": "onEditTable"; "onDeleteTable": "onDeleteTable"; "onViewTable": "onViewTable"; "newProfile": "newProfile"; }, never, never, false, never>;
68
67
  }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "lucide-angular";
3
+ export declare class LucideIconsModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<LucideIconsModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LucideIconsModule, never, [typeof i1.LucideAngularModule], [typeof i1.LucideAngularModule]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<LucideIconsModule>;
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lib-portal-angular",
3
- "version": "0.0.43",
3
+ "version": "0.0.45",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.2.0",
6
6
  "@angular/core": "^16.2.0"
package/public-api.d.ts CHANGED
@@ -18,6 +18,7 @@ export * from './lib/components/tree-node/tree-node.component';
18
18
  export * from './lib/enum/ButtonClassesEnum';
19
19
  export * from './lib/components/components.module';
20
20
  export * from './lib/lib-portal-angular.module';
21
+ export * from './lib/icons/lucide-icons.module';
21
22
  export * from './lib/components/alert/notification.service';
22
23
  export * from './lib/components/confirmation/confirmation.service';
23
24
  export * from './lib/components/tables/data-paginate.service';