@rangertechnologies/fusion-ui 0.1.3 → 0.1.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rangertechnologies/fusion-ui",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "author": "Mohamed Riyaz Y",
5
5
  "license": "ISC",
6
6
  "description": "Shared component library for Fusion platform and micro-frontends",
@@ -24,12 +24,12 @@
24
24
  "bootstrap": "^5.3.8",
25
25
  "file-saver": "^2.0.5",
26
26
  "lodash": "^4.18.1",
27
- "moment": "^2.30.1",
27
+ "moment": "^2.31.0",
28
28
  "moment-hijri": "^3.0.0",
29
29
  "ngx-device-detector": "^11.0.0",
30
30
  "ngx-quill": "^30.1.3",
31
31
  "number-to-words": "^1.2.5",
32
- "quill": "^2.0.3",
32
+ "quill": "2.0.2",
33
33
  "quill-image-resizor": "^2.1.1",
34
34
  "quill-mention": "^6.1.1",
35
35
  "quill-resize-module": "^2.1.3",
@@ -153,7 +153,7 @@ export declare class ConfigService {
153
153
  private config;
154
154
  private static runtimeConfig;
155
155
  private readonly defaultApiUrl;
156
- private readonly hostContractGlobal;
156
+ private static readonly hostContractGlobal;
157
157
  constructor(http: HttpClient);
158
158
  loadConfig(): Promise<any>;
159
159
  getConfig(key: any): any;
@@ -161,9 +161,11 @@ export declare class ConfigService {
161
161
  static getServiceConfig(key: any): any;
162
162
  getApiUrl(): string;
163
163
  static getApiUrl(): string | undefined;
164
+ getAppUrl(): string | undefined;
164
165
  static getAppUrl(): string | undefined;
165
166
  isSplitUserBootstrap(): boolean;
166
- private getHostContract;
167
+ static getHostContract(): HostContract | null;
168
+ getHostContract(): HostContract | null;
167
169
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfigService, never>;
168
170
  static ɵprov: i0.ɵɵInjectableDeclaration<any>;
169
171
  }
@@ -906,6 +908,29 @@ export declare class CommonScreenComponent implements OnInit {
906
908
  "sideScreenEmittedEvent": "sideScreenEmittedEvent";
907
909
  }, never, [".side-main-content"], true, never>;
908
910
  }
911
+ export declare class ApprovalScreenComponent {
912
+ private datePipe?;
913
+ constructor(datePipe?: DatePipe | undefined);
914
+ infoData: any;
915
+ hideFields: Array<any>;
916
+ approve: EventEmitter<any>;
917
+ sideScreenEmitted(): void;
918
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApprovalScreenComponent, [{
919
+ optional: true;
920
+ }]>;
921
+ static ɵcmp: i0.ɵɵComponentDeclaration<ApprovalScreenComponent, "app-approval-screen", never, {
922
+ "infoData": {
923
+ "alias": "infoData";
924
+ "required": false;
925
+ };
926
+ "hideFields": {
927
+ "alias": "hideFields";
928
+ "required": false;
929
+ };
930
+ }, {
931
+ "approve": "approve";
932
+ }, never, never, true, never>;
933
+ }
909
934
  export declare class LoaderService {
910
935
  private loadingStates;
911
936
  private loadingSubject;
@@ -1638,6 +1663,23 @@ export declare class TotalColumSumPipe implements PipeTransform {
1638
1663
  static ɵfac: i0.ɵɵFactoryDeclaration<TotalColumSumPipe, never>;
1639
1664
  static ɵpipe: i0.ɵɵPipeDeclaration<TotalColumSumPipe, "totalColumSum", true>;
1640
1665
  }
1666
+ export declare class PdfFontService {
1667
+ private fontLoadedPromise;
1668
+ /**
1669
+ * Safely configures pdfMake fonts and vfs.
1670
+ * Max 2 fallbacks: 1. window.vfs if already loaded -> 2. Empty vfs map
1671
+ */
1672
+ configurePdfMake(pdfMakeInstance: any): void;
1673
+ /**
1674
+ * Dynamically loads vfs-amiri.js when PDF export is needed.
1675
+ * Max 2 fallbacks:
1676
+ * Fallback 1: Dynamic script load of /assets/fonts/vfs-amiri.js
1677
+ * Fallback 2: Graceful degradation to default pdfMake fonts if script fails to load
1678
+ */
1679
+ ensureAmiriFont(pdfMakeInstance?: any): Promise<void>;
1680
+ static ɵfac: i0.ɵɵFactoryDeclaration<PdfFontService, never>;
1681
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
1682
+ }
1641
1683
  export declare class Constants {
1642
1684
  static SUCCESS_MESSAGE: string;
1643
1685
  static DELETE_SUCCESS_MESSAGE: string;