ngx-techlify-core 18.20.0 → 18.22.0

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.
@@ -3,6 +3,11 @@ import { MatDialog } from '@angular/material/dialog';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class AuditLogForModelComponent implements OnInit {
5
5
  private dialog;
6
+ /**
7
+ * Display only icon with mat icon button.
8
+ * @deprecated 18.5.0 Make icon view default in all dependency views
9
+ */
10
+ isIconView: boolean;
6
11
  modelType: string;
7
12
  modelId: any;
8
13
  logView: 'recent' | 'all';
@@ -11,5 +16,5 @@ export declare class AuditLogForModelComponent implements OnInit {
11
16
  getLogView(): void;
12
17
  getLogsView(): void;
13
18
  static ɵfac: i0.ɵɵFactoryDeclaration<AuditLogForModelComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<AuditLogForModelComponent, "app-audit-log-for-model", never, { "modelType": { "alias": "modelType"; "required": false; }; "modelId": { "alias": "modelId"; "required": false; }; "logView": { "alias": "logView"; "required": false; }; }, {}, never, never, false, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<AuditLogForModelComponent, "app-audit-log-for-model", never, { "isIconView": { "alias": "isIconView"; "required": false; }; "modelType": { "alias": "modelType"; "required": false; }; "modelId": { "alias": "modelId"; "required": false; }; "logView": { "alias": "logView"; "required": false; }; }, {}, never, never, false, never>;
15
20
  }
@@ -18,6 +18,14 @@ export declare abstract class TechlifyListingControllerInterface {
18
18
  lastPage: number;
19
19
  isWorking: boolean;
20
20
  filterForm: any;
21
+ /**
22
+ * Child classes can override this.
23
+ * If left undefined/empty, falls back to environment.appTitle
24
+ */
25
+ protected get pageTitle(): string | undefined;
26
+ private titleService;
27
+ private environmentService;
28
+ constructor();
21
29
  /**
22
30
  * Function that listens for any changes in the form group to apply the filters
23
31
  */
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class EnvironmentService {
3
+ private environment;
4
+ init(environment: any): void;
5
+ get(): any;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<EnvironmentService, never>;
7
+ static ɵprov: i0.ɵɵInjectableDeclaration<EnvironmentService>;
8
+ }
@@ -19,3 +19,4 @@ export * from './techlify-config.model';
19
19
  export * from './token.interceptor';
20
20
  export * from './dataManager.service';
21
21
  export * from './filter.service';
22
+ export * from './environment.service';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-techlify-core",
3
- "version": "18.20.0",
3
+ "version": "18.22.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=18",
6
6
  "@angular/core": ">=18",
@@ -0,0 +1 @@
1
+ @import './style.scss';
@@ -0,0 +1,42 @@
1
+ //Icon Styling
2
+ .icon-md {
3
+ height: 24px !important;
4
+ width: 24px !important;
5
+ font-size: 24px !important;
6
+ margin: 0 1px;
7
+ }
8
+
9
+ .icon-sm {
10
+ height: 20px !important;
11
+ width: 20px !important;
12
+ font-size: 20px !important;
13
+ }
14
+
15
+ .icon-xs {
16
+ height: 16px !important;
17
+ width: 16px !important;
18
+ font-size: 16px !important;
19
+ }
20
+
21
+ //Filters Styling
22
+ .fl-md {
23
+ width: 200px !important;
24
+
25
+ .mat-mdc-form-field {
26
+ width: 100% !important;
27
+ }
28
+ }
29
+
30
+ .fl-sm {
31
+ width: 150px !important;
32
+
33
+ .mat-mdc-form-field {
34
+ width: 100% !important;
35
+ }
36
+ }
37
+
38
+ //Button Styling
39
+ .mat-btn-md {
40
+ height: 25px !important;
41
+ padding: 0 8px !important;
42
+ }