@brggroup/share-lib 0.0.1

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.
Files changed (106) hide show
  1. package/README.md +63 -0
  2. package/brggroup-share-lib.d.ts.map +1 -0
  3. package/fesm2022/brggroup-share-lib.mjs +2951 -0
  4. package/fesm2022/brggroup-share-lib.mjs.map +1 -0
  5. package/index.d.ts +6 -0
  6. package/lib/a-translate-key.d.ts +43 -0
  7. package/lib/a-translate-key.d.ts.map +1 -0
  8. package/lib/app-global.d.ts +21 -0
  9. package/lib/app-global.d.ts.map +1 -0
  10. package/lib/app-storeage.d.ts +8 -0
  11. package/lib/app-storeage.d.ts.map +1 -0
  12. package/lib/auth/auth.guard.d.ts +11 -0
  13. package/lib/auth/auth.guard.d.ts.map +1 -0
  14. package/lib/auth/auth.interceptor.d.ts +3 -0
  15. package/lib/auth/auth.interceptor.d.ts.map +1 -0
  16. package/lib/auth/auth.service.d.ts +30 -0
  17. package/lib/auth/auth.service.d.ts.map +1 -0
  18. package/lib/auth/token.storage.d.ts +22 -0
  19. package/lib/auth/token.storage.d.ts.map +1 -0
  20. package/lib/auth/unsaved-changes.guard.d.ts +11 -0
  21. package/lib/auth/unsaved-changes.guard.d.ts.map +1 -0
  22. package/lib/components/base.component.d.ts +36 -0
  23. package/lib/components/base.component.d.ts.map +1 -0
  24. package/lib/components/base.guard-change.d.ts +13 -0
  25. package/lib/components/base.guard-change.d.ts.map +1 -0
  26. package/lib/components/base.overlay.component.d.ts +13 -0
  27. package/lib/components/base.overlay.component.d.ts.map +1 -0
  28. package/lib/components/box.d.ts +9 -0
  29. package/lib/components/box.d.ts.map +1 -0
  30. package/lib/components/breadcrumb/breadcrumb.d.ts +18 -0
  31. package/lib/components/breadcrumb/breadcrumb.d.ts.map +1 -0
  32. package/lib/components/dashboard-widget/animated/animated-digit.component.d.ts +16 -0
  33. package/lib/components/dashboard-widget/animated/animated-digit.component.d.ts.map +1 -0
  34. package/lib/components/dashboard-widget/bar-graph/bar-graph.component.d.ts +15 -0
  35. package/lib/components/dashboard-widget/bar-graph/bar-graph.component.d.ts.map +1 -0
  36. package/lib/components/dashboard-widget/dashcard/dashcard.component.d.ts +10 -0
  37. package/lib/components/dashboard-widget/dashcard/dashcard.component.d.ts.map +1 -0
  38. package/lib/components/dashboard-widget/doughnut-graph/doughnut-graph.component.d.ts +16 -0
  39. package/lib/components/dashboard-widget/doughnut-graph/doughnut-graph.component.d.ts.map +1 -0
  40. package/lib/components/dashboard-widget/line-graph/line-graph.component.d.ts +15 -0
  41. package/lib/components/dashboard-widget/line-graph/line-graph.component.d.ts.map +1 -0
  42. package/lib/components/extend-checkbox/extend-checkbox.d.ts +23 -0
  43. package/lib/components/extend-checkbox/extend-checkbox.d.ts.map +1 -0
  44. package/lib/components/extend-date-picker/extend-date-picker.d.ts +40 -0
  45. package/lib/components/extend-date-picker/extend-date-picker.d.ts.map +1 -0
  46. package/lib/components/extend-input/extend-input.d.ts +45 -0
  47. package/lib/components/extend-input/extend-input.d.ts.map +1 -0
  48. package/lib/components/extend-input-number/extend-input-number.d.ts +40 -0
  49. package/lib/components/extend-input-number/extend-input-number.d.ts.map +1 -0
  50. package/lib/components/extend-select/extend-select.d.ts +44 -0
  51. package/lib/components/extend-select/extend-select.d.ts.map +1 -0
  52. package/lib/components/extend-textarea/extend-textarea.d.ts +32 -0
  53. package/lib/components/extend-textarea/extend-textarea.d.ts.map +1 -0
  54. package/lib/components/height.d.ts +7 -0
  55. package/lib/components/height.d.ts.map +1 -0
  56. package/lib/components/no-permission/no-permission.d.ts +12 -0
  57. package/lib/components/no-permission/no-permission.d.ts.map +1 -0
  58. package/lib/components/pdf-viewer/pdf-viewer.d.ts +11 -0
  59. package/lib/components/pdf-viewer/pdf-viewer.d.ts.map +1 -0
  60. package/lib/components/spinner/spinner.d.ts +14 -0
  61. package/lib/components/spinner/spinner.d.ts.map +1 -0
  62. package/lib/components/width.d.ts +7 -0
  63. package/lib/components/width.d.ts.map +1 -0
  64. package/lib/directive/auto-focus.directive.d.ts +12 -0
  65. package/lib/directive/auto-focus.directive.d.ts.map +1 -0
  66. package/lib/directive/date-input-parser.directive.d.ts +21 -0
  67. package/lib/directive/date-input-parser.directive.d.ts.map +1 -0
  68. package/lib/directive/null-if-empty.directive.d.ts +12 -0
  69. package/lib/directive/null-if-empty.directive.d.ts.map +1 -0
  70. package/lib/directive/number-only.directive.d.ts +19 -0
  71. package/lib/directive/number-only.directive.d.ts.map +1 -0
  72. package/lib/directive/uppercase-each-word.directive.d.ts +21 -0
  73. package/lib/directive/uppercase-each-word.directive.d.ts.map +1 -0
  74. package/lib/directive/uppercase-first-letter.directive.d.ts +19 -0
  75. package/lib/directive/uppercase-first-letter.directive.d.ts.map +1 -0
  76. package/lib/directive/uppercase.directive.d.ts +19 -0
  77. package/lib/directive/uppercase.directive.d.ts.map +1 -0
  78. package/lib/helper/date.helper.d.ts +43 -0
  79. package/lib/helper/date.helper.d.ts.map +1 -0
  80. package/lib/helper/download.helper.d.ts +6 -0
  81. package/lib/helper/download.helper.d.ts.map +1 -0
  82. package/lib/helper/xlsx.helper.d.ts +4 -0
  83. package/lib/helper/xlsx.helper.d.ts.map +1 -0
  84. package/lib/model.d.ts +52 -0
  85. package/lib/model.d.ts.map +1 -0
  86. package/lib/pipe/limit-words.pipe.d.ts +8 -0
  87. package/lib/pipe/limit-words.pipe.d.ts.map +1 -0
  88. package/lib/services/api-service/common.service.d.ts +14 -0
  89. package/lib/services/api-service/common.service.d.ts.map +1 -0
  90. package/lib/services/api-service/http.service.d.ts +12 -0
  91. package/lib/services/api-service/http.service.d.ts.map +1 -0
  92. package/lib/services/custom-modal.service.d.ts +15 -0
  93. package/lib/services/custom-modal.service.d.ts.map +1 -0
  94. package/lib/services/loading.service.d.ts +16 -0
  95. package/lib/services/loading.service.d.ts.map +1 -0
  96. package/lib/services/noti.service.d.ts +16 -0
  97. package/lib/services/noti.service.d.ts.map +1 -0
  98. package/lib/services/router-monitor.service.d.ts +13 -0
  99. package/lib/services/router-monitor.service.d.ts.map +1 -0
  100. package/lib/services/theme.service.d.ts +8 -0
  101. package/lib/services/theme.service.d.ts.map +1 -0
  102. package/lib/services/vsc.service.d.ts +22 -0
  103. package/lib/services/vsc.service.d.ts.map +1 -0
  104. package/package.json +23 -0
  105. package/public-api.d.ts +48 -0
  106. package/public-api.d.ts.map +1 -0
@@ -0,0 +1,44 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { NzSelectSizeType } from 'ng-zorro-antd/select';
3
+ import { FormGroup } from '@angular/forms';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ExtendSelectComponent {
6
+ layOutType: 'horizontal' | 'vertical';
7
+ label: string;
8
+ placeHolder: string;
9
+ labelAlign: 'left' | 'right';
10
+ /**
11
+ * default = 8
12
+ */
13
+ labelSpan: number;
14
+ disabled: boolean;
15
+ required: boolean;
16
+ noBottom: boolean;
17
+ multiple: boolean;
18
+ showSelectAll: boolean;
19
+ maxTagCount: number;
20
+ inputWidth: string;
21
+ inputHeight: string;
22
+ borderBottomOnly: boolean;
23
+ /**
24
+ *
25
+ */
26
+ displayInline: boolean;
27
+ size: NzSelectSizeType;
28
+ lstItem: any[];
29
+ displayField: string;
30
+ displayFields: string[];
31
+ valueField: string;
32
+ formData: FormGroup;
33
+ controlName: string;
34
+ _ngModel: any;
35
+ _ngModelChange: EventEmitter<any>;
36
+ onFocus: EventEmitter<any>;
37
+ get cssHeight(): string | null;
38
+ ngOnInit(): void;
39
+ getDisplay(item: any): string;
40
+ onSelectChange(val: any): void;
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExtendSelectComponent, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<ExtendSelectComponent, "extend-select", never, { "layOutType": { "alias": "layOutType"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeHolder": { "alias": "placeHolder"; "required": false; }; "labelAlign": { "alias": "labelAlign"; "required": false; }; "labelSpan": { "alias": "labelSpan"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "noBottom": { "alias": "noBottom"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "showSelectAll": { "alias": "showSelectAll"; "required": false; }; "maxTagCount": { "alias": "maxTagCount"; "required": false; }; "inputWidth": { "alias": "inputWidth"; "required": false; }; "inputHeight": { "alias": "inputHeight"; "required": false; }; "borderBottomOnly": { "alias": "borderBottomOnly"; "required": false; }; "displayInline": { "alias": "displayInline"; "required": false; }; "size": { "alias": "size"; "required": false; }; "lstItem": { "alias": "lstItem"; "required": false; }; "displayField": { "alias": "displayField"; "required": false; }; "displayFields": { "alias": "displayFields"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "formData": { "alias": "formData"; "required": false; }; "controlName": { "alias": "controlName"; "required": false; }; "_ngModel": { "alias": "_ngModel"; "required": false; }; }, { "_ngModelChange": "_ngModelChange"; "onFocus": "onFocus"; }, never, never, true, never>;
43
+ }
44
+ //# sourceMappingURL=extend-select.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extend-select.d.ts","sourceRoot":"","sources":["../../../../../projects/share/src/lib/components/extend-select/extend-select.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAA8B,MAAM,eAAe,CAAC;AACpF,OAAO,EAAkB,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAE,SAAS,EAAuD,MAAM,gBAAgB,CAAC;;AAKhG,qBAWa,qBAAqB;IACvB,UAAU,EAAE,YAAY,GAAG,UAAU,CAAgB;IACrD,KAAK,SAAM;IACX,WAAW,SAAM;IACjB,UAAU,EAAE,MAAM,GAAG,OAAO,CAAU;IAE/C;;OAEG;IACM,SAAS,SAAK;IACd,QAAQ,UAAS;IACjB,QAAQ,UAAS;IACjB,QAAQ,UAAS;IACjB,QAAQ,UAAS;IACjB,aAAa,UAAS;IACtB,WAAW,SAAM;IAEjB,UAAU,SAAM;IAChB,WAAW,SAAM;IACjB,gBAAgB,UAAS;IAElC;;OAEG;IACM,aAAa,UAAS;IACtB,IAAI,EAAE,gBAAgB,CAAa;IAEnC,OAAO,EAAE,GAAG,EAAE,CAAM;IACpB,YAAY,EAAE,MAAM,CAAM;IAC1B,aAAa,EAAE,MAAM,EAAE,CAAM;IAC7B,UAAU,EAAE,MAAM,CAAM;IAExB,QAAQ,EAAG,SAAS,CAAC;IACrB,WAAW,EAAG,MAAM,CAAC;IAErB,QAAQ,EAAE,GAAG,CAAQ;IACpB,cAAc,oBAAsB;IAEpC,OAAO,oBAAsB;IAEvC,IACI,SAAS,kBAEZ;IAED,QAAQ,IAAI,IAAI;IAEhB,UAAU,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM;IAa7B,cAAc,CAAC,GAAG,EAAE,GAAG;yCA5DZ,qBAAqB;2CAArB,qBAAqB;CAqEjC"}
@@ -0,0 +1,32 @@
1
+ import { AfterViewInit, EventEmitter } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { NzSelectModeType } from 'ng-zorro-antd/select';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ExtendTextArea implements AfterViewInit {
6
+ layOutType: 'horizontal' | 'vertical';
7
+ label: string;
8
+ placeHolder: string;
9
+ labelAlign: 'left' | 'right';
10
+ labelSpan: number;
11
+ inputSpan: number;
12
+ disabled: boolean;
13
+ required: boolean;
14
+ noBottom: boolean;
15
+ selectModeType: NzSelectModeType;
16
+ inputClass: string;
17
+ minRows: number;
18
+ maxRows: number;
19
+ autoSize: boolean;
20
+ lstItem: any[];
21
+ displayField: string;
22
+ valueField: string;
23
+ formData: FormGroup;
24
+ controlName: string;
25
+ _ngModel: any;
26
+ _ngModelChange: EventEmitter<any>;
27
+ ngAfterViewInit(): void;
28
+ onChange(): void;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExtendTextArea, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<ExtendTextArea, "extend-textarea", never, { "layOutType": { "alias": "layOutType"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeHolder": { "alias": "placeHolder"; "required": false; }; "labelAlign": { "alias": "labelAlign"; "required": false; }; "labelSpan": { "alias": "labelSpan"; "required": false; }; "inputSpan": { "alias": "inputSpan"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "noBottom": { "alias": "noBottom"; "required": false; }; "selectModeType": { "alias": "selectModeType"; "required": false; }; "inputClass": { "alias": "inputClass"; "required": false; }; "minRows": { "alias": "minRows"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "autoSize": { "alias": "autoSize"; "required": false; }; "lstItem": { "alias": "lstItem"; "required": false; }; "displayField": { "alias": "displayField"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "formData": { "alias": "formData"; "required": false; }; "controlName": { "alias": "controlName"; "required": false; }; "_ngModel": { "alias": "_ngModel"; "required": false; }; }, { "_ngModelChange": "_ngModelChange"; }, never, never, true, never>;
31
+ }
32
+ //# sourceMappingURL=extend-textarea.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extend-textarea.d.ts","sourceRoot":"","sources":["../../../../../projects/share/src/lib/components/extend-textarea/extend-textarea.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAa,YAAY,EAAiB,MAAM,eAAe,CAAC;AACtF,OAAO,EAAE,SAAS,EAAoC,MAAM,gBAAgB,CAAC;AAK7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;;AAExD,qBAaa,cAAe,YAAW,aAAa;IACzC,UAAU,EAAE,YAAY,GAAG,UAAU,CAAgB;IACrD,KAAK,SAAM;IACX,WAAW,SAAM;IACjB,UAAU,EAAE,MAAM,GAAG,OAAO,CAAU;IACtC,SAAS,SAAK;IACd,SAAS,SAAM;IACf,QAAQ,UAAS;IACjB,QAAQ,UAAS;IACjB,QAAQ,UAAS;IACjB,cAAc,EAAE,gBAAgB,CAAa;IAC7C,UAAU,SAAM;IAEhB,OAAO,SAAK;IACZ,OAAO,SAAK;IACZ,QAAQ,UAAS;IAEjB,OAAO,EAAE,GAAG,EAAE,CAAM;IACpB,YAAY,EAAE,MAAM,CAAM;IAC1B,UAAU,EAAE,MAAM,CAAM;IAExB,QAAQ,EAAG,SAAS,CAAC;IACrB,WAAW,EAAG,MAAM,CAAC;IAErB,QAAQ,EAAE,GAAG,CAAQ;IACpB,cAAc,oBAAsB;IAE9C,eAAe,IAAI,IAAI;IAEvB,QAAQ;yCA7BG,cAAc;2CAAd,cAAc;CAgC1B"}
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class Height {
3
+ height: number;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<Height, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<Height, "height", never, { "height": { "alias": "height"; "required": false; }; }, {}, never, never, true, never>;
6
+ }
7
+ //# sourceMappingURL=height.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"height.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/components/height.ts"],"names":[],"mappings":";AAGA,qBAKa,MAAM;IACR,MAAM,EAAE,MAAM,CAAK;yCADjB,MAAM;2CAAN,MAAM;CAElB"}
@@ -0,0 +1,12 @@
1
+ import { Router } from '@angular/router';
2
+ import * as i0 from "@angular/core";
3
+ export declare class NoPermission {
4
+ private router;
5
+ deniedUrl: string | null;
6
+ message: string | null;
7
+ constructor(router: Router);
8
+ ngOnInit(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<NoPermission, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<NoPermission, "ng-component", never, {}, {}, never, never, true, never>;
11
+ }
12
+ //# sourceMappingURL=no-permission.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-permission.d.ts","sourceRoot":"","sources":["../../../../../projects/share/src/lib/components/no-permission/no-permission.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;;AAEzC,qBAUa,YAAY;IAIX,OAAO,CAAC,MAAM;IAH1B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAQ;IAChC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAQ;gBAEV,MAAM,EAAE,MAAM;IAElC,QAAQ,IAAI,IAAI;yCANL,YAAY;2CAAZ,YAAY;CAcxB"}
@@ -0,0 +1,11 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class PdfViewerComponent implements OnInit {
4
+ dataType: 'base64' | 'bytes' | null;
5
+ pdfData: any;
6
+ ngOnInit(): void;
7
+ print(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<PdfViewerComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<PdfViewerComponent, "pdf-viewer", never, { "dataType": { "alias": "dataType"; "required": false; }; "pdfData": { "alias": "pdfData"; "required": false; }; }, {}, never, never, true, never>;
10
+ }
11
+ //# sourceMappingURL=pdf-viewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pdf-viewer.d.ts","sourceRoot":"","sources":["../../../../../projects/share/src/lib/components/pdf-viewer/pdf-viewer.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,MAAM,EAAE,MAAM,eAAe,CAAC;;AAIjE,qBAKa,kBAAmB,YAAW,MAAM;IAGtC,QAAQ,EAAE,QAAQ,GAAG,OAAO,GAAG,IAAI,CAAQ;IAC3C,OAAO,EAAE,GAAG,CAAC;IAEtB,QAAQ,IAAI,IAAI;IAMhB,KAAK;yCAZM,kBAAkB;2CAAlB,kBAAkB;CAoC9B"}
@@ -0,0 +1,14 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { LoadingService } from '../../services/loading.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class GlobalSpinnerComponent implements OnInit, OnDestroy {
5
+ loadingService: LoadingService;
6
+ visible: boolean;
7
+ private sub;
8
+ constructor(loadingService: LoadingService);
9
+ ngOnInit(): void;
10
+ ngOnDestroy(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<GlobalSpinnerComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<GlobalSpinnerComponent, "app-global-spinner", never, {}, {}, never, never, true, never>;
13
+ }
14
+ //# sourceMappingURL=spinner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["../../../../../projects/share/src/lib/components/spinner/spinner.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAG7D,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;;AAGhE,qBAkCa,sBAAuB,YAAW,MAAM,EAAE,SAAS;IAI3C,cAAc,EAAE,cAAc;IAHjD,OAAO,UAAS;IAChB,OAAO,CAAC,GAAG,CAAgB;gBAER,cAAc,EAAE,cAAc;IAEjD,QAAQ;IAMR,WAAW;yCAZA,sBAAsB;2CAAtB,sBAAsB;CAelC"}
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class Width {
3
+ width: number;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<Width, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<Width, "width", never, { "width": { "alias": "width"; "required": false; }; }, {}, never, never, true, never>;
6
+ }
7
+ //# sourceMappingURL=width.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"width.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/components/width.ts"],"names":[],"mappings":";AAGA,qBAKa,KAAK;IACP,KAAK,EAAE,MAAM,CAAK;yCADhB,KAAK;2CAAL,KAAK;CAEjB"}
@@ -0,0 +1,12 @@
1
+ import { ElementRef, Renderer2, OnChanges, SimpleChanges } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AutoFocusDirective implements OnChanges {
4
+ private el;
5
+ private renderer;
6
+ appAutoFocus: boolean;
7
+ constructor(el: ElementRef, renderer: Renderer2);
8
+ ngOnChanges(changes: SimpleChanges): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutoFocusDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AutoFocusDirective, "[appAutoFocus]", never, { "appAutoFocus": { "alias": "appAutoFocus"; "required": false; }; }, {}, never, never, true, never>;
11
+ }
12
+ //# sourceMappingURL=auto-focus.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auto-focus.directive.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/directive/auto-focus.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAS,SAAS,EAAE,SAAS,EAAE,aAAa,EAAU,MAAM,eAAe,CAAC;;AAE1G,qBAGa,kBAAmB,YAAW,SAAS;IAItC,OAAO,CAAC,EAAE;IAAc,OAAO,CAAC,QAAQ;IAF3C,YAAY,EAAE,OAAO,CAAS;gBAEnB,EAAE,EAAE,UAAU,EAAU,QAAQ,EAAE,SAAS;IAE/D,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;yCAN9B,kBAAkB;2CAAlB,kBAAkB;CAW9B"}
@@ -0,0 +1,21 @@
1
+ import { AfterViewInit, ElementRef } from '@angular/core';
2
+ import { NgControl } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Dùng cho nz-date-picker
6
+ */
7
+ export declare class DateInputParserDirective implements AfterViewInit {
8
+ private el;
9
+ private ngControl;
10
+ format: string;
11
+ private inputElement;
12
+ private blurHandler;
13
+ constructor(el: ElementRef<HTMLElement>, ngControl: NgControl);
14
+ ngAfterViewInit(): void;
15
+ ngOnDestroy(): void;
16
+ onEnter(): void;
17
+ private tryParseAndSet;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateInputParserDirective, [null, { optional: true; self: true; }]>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DateInputParserDirective, "nz-date-picker", never, { "format": { "alias": "format"; "required": false; }; }, {}, never, never, true, never>;
20
+ }
21
+ //# sourceMappingURL=date-input-parser.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-input-parser.directive.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/directive/date-input-parser.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkC,aAAa,EAAE,UAAU,EAAkB,MAAM,eAAe,CAAC;AAC1G,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;;AAI3C;;GAEG;AACH,qBAGa,wBAAyB,YAAW,aAAa;IAM1D,OAAO,CAAC,EAAE;IACU,OAAO,CAAC,SAAS;IANtB,MAAM,SAAgB;IACvC,OAAO,CAAC,YAAY,CAAiC;IACrD,OAAO,CAAC,WAAW,CAAkC;gBAG3C,EAAE,EAAE,UAAU,CAAC,WAAW,CAAC,EACP,SAAS,EAAE,SAAS;IAGlD,eAAe;IAUf,WAAW;IAQX,OAAO;IAKP,OAAO,CAAC,cAAc;yCAjCX,wBAAwB;2CAAxB,wBAAwB;CA2CpC"}
@@ -0,0 +1,12 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { NgControl } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class NullIfEmptyDirective {
5
+ private el;
6
+ private ngControl;
7
+ constructor(el: ElementRef, ngControl: NgControl);
8
+ onInput(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<NullIfEmptyDirective, [null, { optional: true; }]>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NullIfEmptyDirective, "input", never, {}, {}, never, never, true, never>;
11
+ }
12
+ //# sourceMappingURL=null-if-empty.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"null-if-empty.directive.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/directive/null-if-empty.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAA0B,MAAM,eAAe,CAAC;AAC9E,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;;AAE3C,qBAGa,oBAAoB;IAE7B,OAAO,CAAC,EAAE;IACE,OAAO,CAAC,SAAS;gBADrB,EAAE,EAAE,UAAU,EACF,SAAS,EAAE,SAAS;IAI1C,OAAO;yCAPI,oBAAoB;2CAApB,oBAAoB;CAYhC"}
@@ -0,0 +1,19 @@
1
+ import { ElementRef, Renderer2 } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class NumberOnlyDirective implements ControlValueAccessor {
5
+ private el;
6
+ private renderer;
7
+ onChange: (value: any) => void;
8
+ onTouched: () => void;
9
+ constructor(el: ElementRef, renderer: Renderer2);
10
+ onInput(value: string): void;
11
+ writeValue(value: any): void;
12
+ registerOnChange(fn: any): void;
13
+ registerOnTouched(fn: any): void;
14
+ setDisabledState?(isDisabled: boolean): void;
15
+ private formatValue;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<NumberOnlyDirective, never>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NumberOnlyDirective, "[numberOnly]", never, {}, {}, never, never, true, never>;
18
+ }
19
+ //# sourceMappingURL=number-only.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"number-only.directive.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/directive/number-only.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAA4B,SAAS,EAAE,MAAM,eAAe,CAAC;AAC3F,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;;AAEzE,qBAUa,mBAAoB,YAAW,oBAAoB;IAK5D,OAAO,CAAC,EAAE;IACV,OAAO,CAAC,QAAQ;IALlB,QAAQ,UAAW,GAAG,UAAQ;IAC9B,SAAS,aAAY;gBAGX,EAAE,EAAE,UAAU,EACd,QAAQ,EAAE,SAAS;IAGmB,OAAO,CAAC,KAAK,EAAE,MAAM;IAQrE,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;IAK5B,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAI/B,iBAAiB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAIhC,gBAAgB,CAAC,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;IAI5C,OAAO,CAAC,WAAW;yCAlCR,mBAAmB;2CAAnB,mBAAmB;CAqC/B"}
@@ -0,0 +1,21 @@
1
+ import { ElementRef, Renderer2 } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class UpperCaseFirsLetterEachWordDirective implements ControlValueAccessor {
5
+ private el;
6
+ private renderer;
7
+ private inputElement;
8
+ constructor(el: ElementRef, renderer: Renderer2);
9
+ ngAfterViewInit(): void;
10
+ private pendingValue;
11
+ writeValue(value: any): void;
12
+ onChange: (_: any) => void;
13
+ onTouched: () => void;
14
+ registerOnChange(fn: any): void;
15
+ registerOnTouched(fn: any): void;
16
+ setDisabledState?(isDisabled: boolean): void;
17
+ private formatValue;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<UpperCaseFirsLetterEachWordDirective, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<UpperCaseFirsLetterEachWordDirective, "[uppercaseFirstLetterEachWord]", never, {}, {}, never, never, true, never>;
20
+ }
21
+ //# sourceMappingURL=uppercase-each-word.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uppercase-each-word.directive.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/directive/uppercase-each-word.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC7E,OAAO,EAAqB,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;;AAEzE,qBAUa,oCAAqC,YAAW,oBAAoB;IAI7E,OAAO,CAAC,EAAE;IACV,OAAO,CAAC,QAAQ;IAJlB,OAAO,CAAC,YAAY,CAAiC;gBAG3C,EAAE,EAAE,UAAU,EACd,QAAQ,EAAE,SAAS;IAG7B,eAAe;IAyBf,OAAO,CAAC,YAAY,CAAa;IAEjC,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;IAS5B,QAAQ,MAAO,GAAG,UAAQ;IAC1B,SAAS,aAAY;IACrB,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAG/B,iBAAiB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAIhC,gBAAgB,CAAC,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;IAM5C,OAAO,CAAC,WAAW;yCA3DR,oCAAoC;2CAApC,oCAAoC;CAiEhD"}
@@ -0,0 +1,19 @@
1
+ import { ElementRef, Renderer2 } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class UppercaseFirstLetterDirective implements ControlValueAccessor {
5
+ private el;
6
+ private renderer;
7
+ onChange: (value: any) => void;
8
+ onTouched: () => void;
9
+ constructor(el: ElementRef, renderer: Renderer2);
10
+ onInput(value: string): void;
11
+ writeValue(value: any): void;
12
+ registerOnChange(fn: any): void;
13
+ registerOnTouched(fn: any): void;
14
+ setDisabledState?(isDisabled: boolean): void;
15
+ private formatValue;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<UppercaseFirstLetterDirective, never>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<UppercaseFirstLetterDirective, "[uppercaseFirstLetter]", never, {}, {}, never, never, true, never>;
18
+ }
19
+ //# sourceMappingURL=uppercase-first-letter.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uppercase-first-letter.directive.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/directive/uppercase-first-letter.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAA4B,SAAS,EAAE,MAAM,eAAe,CAAC;AAC3F,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;;AAEzE,qBAUa,6BAA8B,YAAW,oBAAoB;IAKtE,OAAO,CAAC,EAAE;IACV,OAAO,CAAC,QAAQ;IALlB,QAAQ,UAAW,GAAG,UAAQ;IAC9B,SAAS,aAAY;gBAGX,EAAE,EAAE,UAAU,EACd,QAAQ,EAAE,SAAS;IAGmB,OAAO,CAAC,KAAK,EAAE,MAAM;IAQrE,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;IAK5B,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAI/B,iBAAiB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAIhC,gBAAgB,CAAC,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;IAI5C,OAAO,CAAC,WAAW;yCAlCR,6BAA6B;2CAA7B,6BAA6B;CAuCzC"}
@@ -0,0 +1,19 @@
1
+ import { ElementRef, Renderer2 } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class UppercaseDirective implements ControlValueAccessor {
5
+ private el;
6
+ private renderer;
7
+ onChange: (value: any) => void;
8
+ onTouched: () => void;
9
+ constructor(el: ElementRef, renderer: Renderer2);
10
+ onInput(value: string): void;
11
+ writeValue(value: any): void;
12
+ registerOnChange(fn: any): void;
13
+ registerOnTouched(fn: any): void;
14
+ setDisabledState?(isDisabled: boolean): void;
15
+ private formatValue;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<UppercaseDirective, never>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<UppercaseDirective, "[uppercase]", never, {}, {}, never, never, true, never>;
18
+ }
19
+ //# sourceMappingURL=uppercase.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uppercase.directive.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/directive/uppercase.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAA4B,SAAS,EAAE,MAAM,eAAe,CAAC;AAC3F,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;;AAEzE,qBAUa,kBAAmB,YAAW,oBAAoB;IAK3D,OAAO,CAAC,EAAE;IACV,OAAO,CAAC,QAAQ;IALlB,QAAQ,UAAW,GAAG,UAAQ;IAC9B,SAAS,aAAY;gBAGX,EAAE,EAAE,UAAU,EACd,QAAQ,EAAE,SAAS;IAGmB,OAAO,CAAC,KAAK,EAAE,MAAM;IAQrE,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;IAK5B,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAI/B,iBAAiB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAIhC,gBAAgB,CAAC,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;IAI5C,OAAO,CAAC,WAAW;yCAlCR,kBAAkB;2CAAlB,kBAAkB;CAqC9B"}
@@ -0,0 +1,43 @@
1
+ export declare class DateTimeHelper {
2
+ static lstDay: number[];
3
+ static lstMonth: number[];
4
+ private static fromYear;
5
+ private static toYear;
6
+ static lstYear: number[];
7
+ /**
8
+ * Lấy ngày giờ hiện tại dưới dạng chuỗi "YYYY-MM-DD HH:mm:ss"
9
+ * @return {string}
10
+ */
11
+ static now(): string;
12
+ /**
13
+ * Lấy ngày hôm nay dưới dạng chuỗi "YYYY-MM-DD HH:mm:ss"
14
+ * @return {string}
15
+ */
16
+ static today(): string;
17
+ /**
18
+ * Tạo ngày từ năm, tháng, ngày (có kiểm tra hợp lệ, không bị lệch múi giờ).
19
+ * @param {number} year Năm
20
+ * @param {number} month Tháng (1-12)
21
+ * @param {number} day Ngày (1-31)
22
+ * @param {boolean} isEndOfDay Nếu true, trả về 23:59:59, ngược lại 00:00:00
23
+ * @return {string | null} Chuỗi ngày định dạng "YYYY-MM-DD HH:mm:ss" hoặc null nếu ngày không hợp lệ
24
+ */
25
+ static createDate(year: number, month: number, day: number, isEndOfDay?: boolean): string | null;
26
+ /**
27
+ * Kiểm tra xem ngày có hợp lệ không.
28
+ * @param {number} year Năm
29
+ * @param {number} month Tháng (1-12)
30
+ * @param {number} day Ngày (1-31)
31
+ * @return {boolean} True nếu ngày hợp lệ, ngược lại False.
32
+ */
33
+ static isValidDate(year: number, month: number, day: number): boolean;
34
+ /**
35
+ * Hàm hỗ trợ: Định dạng số thành 2 chữ số (01, 02, ..., 09)
36
+ * @param {number} n The second number.
37
+ * @return {string} The sum of the two numbers.
38
+ */
39
+ private static pad;
40
+ static parser(dateStr: string): string | null;
41
+ private static formatNumberToDate;
42
+ }
43
+ //# sourceMappingURL=date.helper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date.helper.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/helper/date.helper.ts"],"names":[],"mappings":"AAAA,qBAAa,cAAc;IACzB,MAAM,CAAC,MAAM,WAA+C;IAC5D,MAAM,CAAC,QAAQ,WAA+C;IAE9D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAiC;IACxD,OAAO,CAAC,MAAM,CAAC,MAAM,CAA4B;IACjD,MAAM,CAAC,OAAO,WAGZ;IAEF;;;OAGG;IACH,MAAM,CAAC,GAAG,IAAI,MAAM;IAKpB;;;OAGG;IACH,MAAM,CAAC,KAAK,IAAI,MAAM;IAKtB;;;;;;;OAOG;IACH,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,UAAU,GAAE,OAAe,GAAG,MAAM,GAAG,IAAI;IAWvG;;;;;;OAMG;WACW,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO;IAQ5E;;;;OAIG;IACH,OAAO,CAAC,MAAM,CAAC,GAAG;WAIJ,MAAM,CAAC,OAAO,EAAE,MAAM;IAmCpC,OAAO,CAAC,MAAM,CAAC,kBAAkB;CA0BlC"}
@@ -0,0 +1,6 @@
1
+ export declare class DownloadHelper {
2
+ static downloadFileBlop(response: any): void;
3
+ static downloadFile(data: any, filename: string): void;
4
+ static downloadFileBase64(base64Data: string, fileName: string): void;
5
+ }
6
+ //# sourceMappingURL=download.helper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"download.helper.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/helper/download.helper.ts"],"names":[],"mappings":"AAAA,qBAAa,cAAc;WACX,gBAAgB,CAAC,QAAQ,EAAE,GAAG;WA8B9B,YAAY,CAAC,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM;WAgBxC,kBAAkB,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;CA+BtE"}
@@ -0,0 +1,4 @@
1
+ export declare class XLSXHelper {
2
+ static readExcelFileToObjects(file: File, columnCount?: number, readAllSheets?: boolean): Promise<any>;
3
+ }
4
+ //# sourceMappingURL=xlsx.helper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"xlsx.helper.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/helper/xlsx.helper.ts"],"names":[],"mappings":"AAEA,qBAAa,UAAU;WACP,sBAAsB,CAAC,IAAI,EAAE,IAAI,EAAE,WAAW,CAAC,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC;CAoF9G"}
package/lib/model.d.ts ADDED
@@ -0,0 +1,52 @@
1
+ export interface ApiEndpoint {
2
+ apiEndpoint: string;
3
+ versionCheck: string;
4
+ }
5
+ export interface RespondData {
6
+ IsSuccess: boolean;
7
+ ErrorMessage: string;
8
+ Data: any;
9
+ }
10
+ export interface ESPModel {
11
+ SPN: string;
12
+ Params?: any[];
13
+ }
14
+ export interface ExportExcelModel extends ESPModel {
15
+ FileCode?: string;
16
+ TemplateName?: string;
17
+ OpenXML?: boolean;
18
+ }
19
+ export declare class PagingModel {
20
+ PageIndex: number;
21
+ PageSize: number;
22
+ }
23
+ export declare class GridFilter extends PagingModel {
24
+ Keyword: string | null;
25
+ OrderOption: OrderOption | null;
26
+ }
27
+ export declare class OrderOption {
28
+ FieldName: string | null;
29
+ Direction: string | null;
30
+ }
31
+ export declare class PagingData<T = any> {
32
+ private TypeConstructor?;
33
+ LstHeader: TableHeader[];
34
+ LstItem: T[];
35
+ TotalCount: number;
36
+ constructor(obj?: any, TypeConstructor?: (new (data?: any) => T) | undefined);
37
+ }
38
+ export declare class TableHeader {
39
+ Code: string;
40
+ Name: string;
41
+ Class: string;
42
+ Type: string;
43
+ Width: string;
44
+ MinWidth: string;
45
+ }
46
+ export declare class CheckModel {
47
+ ConfirmMessage: string;
48
+ ConfirmContent: string;
49
+ ErrorMessage: string;
50
+ ErrorContent: string;
51
+ }
52
+ //# sourceMappingURL=model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../projects/share/src/lib/model.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,WAAW;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,GAAG,CAAC;CACX;AAED,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC;CAChB;AAED,MAAM,WAAW,gBAAiB,SAAQ,QAAQ;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,qBAAa,WAAW;IACtB,SAAS,EAAE,MAAM,CAAK;IACtB,QAAQ,EAAE,MAAM,CAAiC;CAClD;AAED,qBAAa,UAAW,SAAQ,WAAW;IACzC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC9B,WAAW,EAAE,WAAW,GAAG,IAAI,CAAQ;CACxC;AAED,qBAAa,WAAW;IACtB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAQ;IAChC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAQ;CACjC;AAED,qBAAa,UAAU,CAAC,CAAC,GAAG,GAAG;IAO3B,OAAO,CAAC,eAAe,CAAC;IAN1B,SAAS,EAAE,WAAW,EAAE,CAAM;IAC9B,OAAO,EAAE,CAAC,EAAE,CAAM;IAClB,UAAU,SAAK;gBAGb,GAAG,CAAC,EAAE,GAAG,EACD,eAAe,CAAC,GAAE,KAAK,IAAI,CAAC,EAAE,GAAG,KAAK,CAAC,aAAA;CAalD;AAED,qBAAa,WAAW;IACtB,IAAI,EAAE,MAAM,CAAM;IAClB,IAAI,EAAE,MAAM,CAAM;IAClB,KAAK,EAAE,MAAM,CAAM;IACnB,IAAI,EAAE,MAAM,CAAM;IAClB,KAAK,EAAE,MAAM,CAAM;IACnB,QAAQ,EAAE,MAAM,CAAM;CACvB;AAED,qBAAa,UAAU;IACrB,cAAc,EAAE,MAAM,CAAM;IAC5B,cAAc,EAAE,MAAM,CAAM;IAC5B,YAAY,EAAE,MAAM,CAAM;IAC1B,YAAY,EAAE,MAAM,CAAM;CAC3B"}
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class LimitWordsPipe implements PipeTransform {
4
+ transform(value: string, limit?: number): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<LimitWordsPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<LimitWordsPipe, "limitWords", true>;
7
+ }
8
+ //# sourceMappingURL=limit-words.pipe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"limit-words.pipe.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/pipe/limit-words.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,aAAa,EAAE,MAAM,eAAe,CAAC;;AAEpD,qBAGa,cAAe,YAAW,aAAa;IAClD,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,GAAE,MAAU,GAAG,MAAM;yCADxC,cAAc;uCAAd,cAAc;CAM1B"}
@@ -0,0 +1,14 @@
1
+ import { ESPModel, ExportExcelModel } from '../../model';
2
+ import { HTTPService } from './http.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare enum ENUM_ResponseType {
5
+ ARRAYBUFFER = "arraybuffer",
6
+ BLOB = "blob"
7
+ }
8
+ export declare class CommonService extends HTTPService {
9
+ ESP(obj: ESPModel): Promise<import("@brggroup/share-lib").RespondData>;
10
+ ExportExcel(data: ExportExcelModel): Promise<import("@angular/common/http").HttpResponse<Blob>>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommonService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<CommonService>;
13
+ }
14
+ //# sourceMappingURL=common.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.service.d.ts","sourceRoot":"","sources":["../../../../../projects/share/src/lib/services/api-service/common.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;;AAK7C,oBAAY,iBAAiB;IAC3B,WAAW,gBAAgB;IAC3B,IAAI,SAAS;CACd;AAED,qBACa,aAAc,SAAQ,WAAW;IAC5C,GAAG,CAAC,GAAG,EAAE,QAAQ;IAKjB,WAAW,CAAC,IAAI,EAAE,gBAAgB;yCANvB,aAAa;6CAAb,aAAa;CAczB"}
@@ -0,0 +1,12 @@
1
+ import { HttpClient, HttpParams } from '@angular/common/http';
2
+ import { RespondData } from '../../model';
3
+ export declare class HTTPService {
4
+ httpClient: HttpClient;
5
+ get(url: string, noLoadingMark?: boolean): Promise<RespondData>;
6
+ getParams(url: string, params: HttpParams, noLoadingMark?: boolean): Promise<RespondData>;
7
+ post(url: string, noLoadingMark?: boolean): Promise<RespondData>;
8
+ postParams(url: string, params: HttpParams, noLoadingMark?: boolean): Promise<RespondData>;
9
+ postData(url: string, body: any, noLoadingMark?: boolean): Promise<RespondData>;
10
+ postDataWithParams(url: string, body: any, params?: HttpParams, noLoadingMark?: boolean): Promise<RespondData>;
11
+ }
12
+ //# sourceMappingURL=http.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"http.service.d.ts","sourceRoot":"","sources":["../../../../../projects/share/src/lib/services/api-service/http.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAe,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAG3E,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,qBAAa,WAAW;IACtB,UAAU,aAAsB;IAEhC,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,WAAW,CAAC;IAW/D,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,WAAW,CAAC;IAYzF,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,WAAW,CAAC;IAWhE,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,WAAW,CAAC;IAY1F,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,WAAW,CAAC;IAW/E,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,CAAC,EAAE,UAAU,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,WAAW,CAAC;CAW/G"}
@@ -0,0 +1,15 @@
1
+ import { NzModalService, NzModalRef, ModalOptions } from 'ng-zorro-antd/modal';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CustomModalService {
4
+ private modal;
5
+ constructor(modal: NzModalService);
6
+ create<T, D = any>(options: ModalOptions<T, D>): NzModalRef<T, D>;
7
+ confirm(options: ModalOptions): NzModalRef;
8
+ info(options: ModalOptions): NzModalRef;
9
+ success(options: ModalOptions): NzModalRef;
10
+ warning(options: ModalOptions): NzModalRef;
11
+ error(options: ModalOptions): NzModalRef;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomModalService, never>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<CustomModalService>;
14
+ }
15
+ //# sourceMappingURL=custom-modal.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-modal.service.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/services/custom-modal.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;;AAE/E,qBACa,kBAAkB;IACjB,OAAO,CAAC,KAAK;gBAAL,KAAK,EAAE,cAAc;IAEzC,MAAM,CAAC,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,EAAE,CAAC,CAAC;IAsBjE,OAAO,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU;IAI1C,IAAI,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU;IAIvC,OAAO,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU;IAI1C,OAAO,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU;IAI1C,KAAK,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU;yCAzC7B,kBAAkB;6CAAlB,kBAAkB;CA4C9B"}
@@ -0,0 +1,16 @@
1
+ import { Observable } from 'rxjs';
2
+ import * as i0 from "@angular/core";
3
+ export declare class LoadingService {
4
+ private static loadingStack;
5
+ private loadingSubject;
6
+ private update;
7
+ loadingUp(): void;
8
+ loadingDown(): void;
9
+ /** Trả về observable loading có delay khi bật để tránh chớp nháy */
10
+ get loading$(): Observable<boolean>;
11
+ /** Nếu chỉ cần giá trị hiện tại boolean (ít dùng hơn) */
12
+ get isLoading(): boolean;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoadingService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<LoadingService>;
15
+ }
16
+ //# sourceMappingURL=loading.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loading.service.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/services/loading.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAmB,UAAU,EAAM,MAAM,MAAM,CAAC;;AAGvD,qBAGa,cAAc;IACzB,OAAO,CAAC,MAAM,CAAC,YAAY,CAAa;IACxC,OAAO,CAAC,cAAc,CAAuC;IAE7D,OAAO,CAAC,MAAM;IAKd,SAAS;IAKT,WAAW;IAKX,oEAAoE;IACpE,IAAI,QAAQ,IAAI,UAAU,CAAC,OAAO,CAAC,CASlC;IAED,yDAAyD;IACzD,IAAI,SAAS,IAAI,OAAO,CAEvB;yCAlCU,cAAc;6CAAd,cAAc;CAmC1B"}
@@ -0,0 +1,16 @@
1
+ import { NzNotificationService } from 'ng-zorro-antd/notification';
2
+ import { NzModalService } from 'ng-zorro-antd/modal';
3
+ import { TranslateService } from '@ngx-translate/core';
4
+ import * as i0 from "@angular/core";
5
+ export declare class NotiService {
6
+ modal: NzModalService;
7
+ notification: NzNotificationService;
8
+ translate: TranslateService;
9
+ success(title?: string, content?: string, showPopup?: boolean): Promise<void>;
10
+ warning(title: string, content?: string, showPopup?: boolean): Promise<void>;
11
+ error(title: string, content?: string, showPopup?: boolean): Promise<void>;
12
+ handleError(err: any): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotiService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<NotiService>;
15
+ }
16
+ //# sourceMappingURL=noti.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"noti.service.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/services/noti.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAc,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;;AAOvD,qBAGa,WAAW;IACtB,KAAK,iBAA0B;IAC/B,YAAY,wBAAiC;IAC7C,SAAS,mBAA4B;IAE/B,OAAO,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,OAAO,GAAE,MAAW,EAAE,SAAS,GAAE,OAAe,GAAG,OAAO,CAAC,IAAI,CAAC;IAiBxF,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,GAAE,MAAW,EAAE,SAAS,GAAE,OAAe,GAAG,OAAO,CAAC,IAAI,CAAC;IAiBvF,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,GAAE,MAAW,EAAE,SAAS,GAAE,OAAe,GAAG,OAAO,CAAC,IAAI,CAAC;IAiB3F,WAAW,CAAC,GAAG,EAAE,GAAG,GAAG,IAAI;yCAxDhB,WAAW;6CAAX,WAAW;CAkKvB"}
@@ -0,0 +1,13 @@
1
+ import { Router } from '@angular/router';
2
+ import { AuthService } from '../auth/auth.service';
3
+ import { NotiService } from './noti.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class RouteMonitorService {
6
+ private router;
7
+ private authService;
8
+ private notiService;
9
+ constructor(router: Router, authService: AuthService, notiService: NotiService);
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<RouteMonitorService, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<RouteMonitorService>;
12
+ }
13
+ //# sourceMappingURL=router-monitor.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"router-monitor.service.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/services/router-monitor.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAiB,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;;AAE7C,qBACa,mBAAmB;IAE5B,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,WAAW;gBAFX,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,WAAW;yCAJvB,mBAAmB;6CAAnB,mBAAmB;CA2B/B"}
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ThemeService {
3
+ setHighContrast(enabled: boolean): void;
4
+ isHighContrast(): boolean;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, never>;
6
+ static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
7
+ }
8
+ //# sourceMappingURL=theme.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.service.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/services/theme.service.ts"],"names":[],"mappings":";AAEA,qBACa,YAAY;IACvB,eAAe,CAAC,OAAO,EAAE,OAAO;IAKhC,cAAc,IAAI,OAAO;yCANd,YAAY;6CAAZ,YAAY;CASxB"}