@rangertechnologies/ngnxt 2.1.243 → 2.1.244

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 (37) hide show
  1. package/esm2022/environments/version.mjs +2 -2
  2. package/esm2022/lib/components/button/nxt-button.component.mjs +4 -4
  3. package/esm2022/lib/components/custom-dropdown/custom-dropdown.component.mjs +1 -1
  4. package/esm2022/lib/components/datatable/datatable.component.mjs +16 -28
  5. package/esm2022/lib/components/file-upload/file-upload.component.mjs +5 -5
  6. package/esm2022/lib/components/list-view-filter/list-view-filter.component.mjs +12 -12
  7. package/esm2022/lib/components/nxt-input/nxt-input.component.mjs +8 -8
  8. package/esm2022/lib/components/pagination/pagination.component.mjs +4 -4
  9. package/esm2022/lib/components/pick-location/pick-location.component.mjs +1 -1
  10. package/esm2022/lib/components/search-box/search-box.component.mjs +1 -1
  11. package/esm2022/lib/pages/pdfDesigner/pdf-designer/pdf-designer.component.mjs +1 -1
  12. package/esm2022/lib/pages/questionbook/questionbook.component.mjs +4 -4
  13. package/esm2022/lib/pages/questionnaire/questionnaire.component.mjs +2 -2
  14. package/esm2022/lib/pipe/custom-translate.pipe.mjs +6 -6
  15. package/esm2022/lib/pipe/get-value.pipe.mjs +5 -5
  16. package/esm2022/lib/pipe/search-filter/search-filter.pipe.mjs +5 -5
  17. package/fesm2022/rangertechnologies-ngnxt.mjs +6198 -6316
  18. package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
  19. package/lib/components/file-upload/file-upload.component.d.ts +3 -3
  20. package/lib/components/list-view-filter/list-view-filter.component.d.ts +3 -3
  21. package/lib/components/nxt-input/nxt-input.component.d.ts +3 -3
  22. package/lib/pipe/custom-translate.pipe.d.ts +3 -3
  23. package/lib/pipe/get-value.pipe.d.ts +3 -3
  24. package/lib/pipe/search-filter/search-filter.pipe.d.ts +3 -3
  25. package/package.json +1 -1
  26. package/rangertechnologies-ngnxt-2.1.244.tgz +0 -0
  27. package/esm2022/lib/pipe/date/date.pipe.mjs +0 -28
  28. package/esm2022/lib/pipe/editColumnCheck/edit-column-check.pipe.mjs +0 -28
  29. package/esm2022/lib/pipe/editColumnDropdown/edit-column-dropdown.pipe.mjs +0 -20
  30. package/esm2022/lib/pipe/editColumnType/edit-column-type.pipe.mjs +0 -20
  31. package/esm2022/lib/pipe/time/time.pipe.mjs +0 -26
  32. package/lib/pipe/date/date.pipe.d.ts +0 -7
  33. package/lib/pipe/editColumnCheck/edit-column-check.pipe.d.ts +0 -7
  34. package/lib/pipe/editColumnDropdown/edit-column-dropdown.pipe.d.ts +0 -7
  35. package/lib/pipe/editColumnType/edit-column-type.pipe.d.ts +0 -7
  36. package/lib/pipe/time/time.pipe.d.ts +0 -7
  37. package/rangertechnologies-ngnxt-2.1.243.tgz +0 -0
@@ -4,7 +4,7 @@ import { SharedService } from '../../services/shared.service';
4
4
  import { DataService } from '../../services/data.service';
5
5
  import { DomSanitizer } from '@angular/platform-browser';
6
6
  import * as i0 from "@angular/core";
7
- export declare class FileUploadComponent implements OnInit, OnChanges {
7
+ export declare class NxtFileUploadComponent implements OnInit, OnChanges {
8
8
  private SharedService;
9
9
  private dataService;
10
10
  private sanitizer;
@@ -52,6 +52,6 @@ export declare class FileUploadComponent implements OnInit, OnChanges {
52
52
  viewEditClick(ques: any): void;
53
53
  saveChanges(): void;
54
54
  discardChanges(): void;
55
- static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
56
- static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "app-file-upload", never, { "allFiles": { "alias": "allFiles"; "required": false; }; "limitFileUploading": { "alias": "limitFileUploading"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "isShowNoFileIcon": { "alias": "isShowNoFileIcon"; "required": false; }; "question": { "alias": "question"; "required": false; }; "error": { "alias": "error"; "required": false; }; "from": { "alias": "from"; "required": false; }; }, { "selectedFileData": "selectedFileData"; "deletedFileData": "deletedFileData"; }, never, never, true, never>;
55
+ static ɵfac: i0.ɵɵFactoryDeclaration<NxtFileUploadComponent, never>;
56
+ static ɵcmp: i0.ɵɵComponentDeclaration<NxtFileUploadComponent, "app-file-upload", never, { "allFiles": { "alias": "allFiles"; "required": false; }; "limitFileUploading": { "alias": "limitFileUploading"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "isShowNoFileIcon": { "alias": "isShowNoFileIcon"; "required": false; }; "question": { "alias": "question"; "required": false; }; "error": { "alias": "error"; "required": false; }; "from": { "alias": "from"; "required": false; }; }, { "selectedFileData": "selectedFileData"; "deletedFileData": "deletedFileData"; }, never, never, true, never>;
57
57
  }
@@ -1,6 +1,6 @@
1
1
  import { OnInit, EventEmitter, SimpleChanges } from '@angular/core';
2
2
  import { FormBuilder, FormGroup, FormArray } from '@angular/forms';
3
- import { CustomTranslatePipe } from '../../pipe/custom-translate.pipe';
3
+ import { NxtCustomTranslatePipe } from '../../pipe/custom-translate.pipe';
4
4
  import * as i0 from "@angular/core";
5
5
  interface ListView {
6
6
  filterName: string;
@@ -23,7 +23,7 @@ interface ListViewColumn {
23
23
  }
24
24
  export declare class ListViewFilterComponent implements OnInit {
25
25
  private fb;
26
- private customTranslate;
26
+ private nxtCustomTranslate;
27
27
  listViews: ListView[];
28
28
  tableFilterArray: any;
29
29
  selectedView: string;
@@ -51,7 +51,7 @@ export declare class ListViewFilterComponent implements OnInit {
51
51
  label: string;
52
52
  value: string;
53
53
  }[];
54
- constructor(fb: FormBuilder, customTranslate: CustomTranslatePipe);
54
+ constructor(fb: FormBuilder, nxtCustomTranslate: NxtCustomTranslatePipe);
55
55
  ngOnInit(): void;
56
56
  ngOnChanges(changes: SimpleChanges): void;
57
57
  get conditions(): FormArray;
@@ -68,7 +68,7 @@ export declare class NxtInput implements AfterViewInit {
68
68
  toggleEmit: EventEmitter<any>;
69
69
  nativeInputRef: EventEmitter<ElementRef<any>>;
70
70
  removeValueEmit: EventEmitter<any>;
71
- inputClicked: EventEmitter<Event>;
71
+ hyperlinkEmit: EventEmitter<Event>;
72
72
  inputEls: QueryList<ElementRef<HTMLInputElement>>;
73
73
  dateTimePicker: any;
74
74
  datePicker: any;
@@ -159,7 +159,7 @@ export declare class NxtInput implements AfterViewInit {
159
159
  discardChanges: (event?: CustomEvent) => void;
160
160
  openDatePicker(type: string): void;
161
161
  removeValue(): void;
162
- onInputClick(event: Event): void;
162
+ onClickHyperlink(event: Event): void;
163
163
  static ɵfac: i0.ɵɵFactoryDeclaration<NxtInput, never>;
164
- static ɵcmp: i0.ɵɵComponentDeclaration<NxtInput, "nxt-input", never, { "label": { "alias": "label"; "required": false; }; "labelFont": { "alias": "labelFont"; "required": false; }; "labelWeight": { "alias": "labelWeight"; "required": false; }; "inputWeight": { "alias": "inputWeight"; "required": false; }; "labelSize": { "alias": "labelSize"; "required": false; }; "inputValueSize": { "alias": "inputValueSize"; "required": false; }; "labelColor": { "alias": "labelColor"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "svgHeight": { "alias": "svgHeight"; "required": false; }; "svgWidth": { "alias": "svgWidth"; "required": false; }; "type": { "alias": "type"; "required": false; }; "inputIconRightSrc": { "alias": "inputIconRightSrc"; "required": false; }; "inputIconLeftSrc": { "alias": "inputIconLeftSrc"; "required": false; }; "required": { "alias": "required"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "errorMessages": { "alias": "errorMessages"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "inputBgColor": { "alias": "inputBgColor"; "required": false; }; "inputBorder": { "alias": "inputBorder"; "required": false; }; "placeholderColor": { "alias": "placeholderColor"; "required": false; }; "placeholderFont": { "alias": "placeholderFont"; "required": false; }; "placeholderWeight": { "alias": "placeholderWeight"; "required": false; }; "placeholderSize": { "alias": "placeholderSize"; "required": false; }; "inputTextColor": { "alias": "inputTextColor"; "required": false; }; "inputHeight": { "alias": "inputHeight"; "required": false; }; "inputWidth": { "alias": "inputWidth"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "inputBorderSize": { "alias": "inputBorderSize"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "confPassVal": { "alias": "confPassVal"; "required": false; }; "confPass": { "alias": "confPass"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "value": { "alias": "value"; "required": false; }; "question": { "alias": "question"; "required": false; }; "showSuggestion": { "alias": "showSuggestion"; "required": false; }; "ariaOwns": { "alias": "ariaOwns"; "required": false; }; "ariaHasPopup": { "alias": "ariaHasPopup"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "options": { "alias": "options"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "from": { "alias": "from"; "required": false; }; "hyperLink": { "alias": "hyperLink"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "valueChange": "valueChange"; "inputValue": "inputValue"; "onBlur": "onBlur"; "onFocus": "onFocus"; "toggleEmit": "toggleEmit"; "nativeInputRef": "nativeInputRef"; "removeValueEmit": "removeValueEmit"; "inputClicked": "inputClicked"; }, never, never, true, never>;
164
+ static ɵcmp: i0.ɵɵComponentDeclaration<NxtInput, "nxt-input", never, { "label": { "alias": "label"; "required": false; }; "labelFont": { "alias": "labelFont"; "required": false; }; "labelWeight": { "alias": "labelWeight"; "required": false; }; "inputWeight": { "alias": "inputWeight"; "required": false; }; "labelSize": { "alias": "labelSize"; "required": false; }; "inputValueSize": { "alias": "inputValueSize"; "required": false; }; "labelColor": { "alias": "labelColor"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "svgHeight": { "alias": "svgHeight"; "required": false; }; "svgWidth": { "alias": "svgWidth"; "required": false; }; "type": { "alias": "type"; "required": false; }; "inputIconRightSrc": { "alias": "inputIconRightSrc"; "required": false; }; "inputIconLeftSrc": { "alias": "inputIconLeftSrc"; "required": false; }; "required": { "alias": "required"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "errorMessages": { "alias": "errorMessages"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "inputBgColor": { "alias": "inputBgColor"; "required": false; }; "inputBorder": { "alias": "inputBorder"; "required": false; }; "placeholderColor": { "alias": "placeholderColor"; "required": false; }; "placeholderFont": { "alias": "placeholderFont"; "required": false; }; "placeholderWeight": { "alias": "placeholderWeight"; "required": false; }; "placeholderSize": { "alias": "placeholderSize"; "required": false; }; "inputTextColor": { "alias": "inputTextColor"; "required": false; }; "inputHeight": { "alias": "inputHeight"; "required": false; }; "inputWidth": { "alias": "inputWidth"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "inputBorderSize": { "alias": "inputBorderSize"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "confPassVal": { "alias": "confPassVal"; "required": false; }; "confPass": { "alias": "confPass"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "value": { "alias": "value"; "required": false; }; "question": { "alias": "question"; "required": false; }; "showSuggestion": { "alias": "showSuggestion"; "required": false; }; "ariaOwns": { "alias": "ariaOwns"; "required": false; }; "ariaHasPopup": { "alias": "ariaHasPopup"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "options": { "alias": "options"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "from": { "alias": "from"; "required": false; }; "hyperLink": { "alias": "hyperLink"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "valueChange": "valueChange"; "inputValue": "inputValue"; "onBlur": "onBlur"; "onFocus": "onFocus"; "toggleEmit": "toggleEmit"; "nativeInputRef": "nativeInputRef"; "removeValueEmit": "removeValueEmit"; "hyperlinkEmit": "hyperlinkEmit"; }, never, never, true, never>;
165
165
  }
@@ -1,10 +1,10 @@
1
1
  import { PipeTransform } from '@angular/core';
2
2
  import { TranslationService } from '../services/translation.service';
3
3
  import * as i0 from "@angular/core";
4
- export declare class CustomTranslatePipe implements PipeTransform {
4
+ export declare class NxtCustomTranslatePipe implements PipeTransform {
5
5
  private translationService;
6
6
  constructor(translationService: TranslationService);
7
7
  transform(key: string, fallback: string): string;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<CustomTranslatePipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<CustomTranslatePipe, "customTranslate", true>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<NxtCustomTranslatePipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<NxtCustomTranslatePipe, "nxtCustomTranslate", true>;
10
10
  }
@@ -1,7 +1,7 @@
1
1
  import { PipeTransform } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
- export declare class GetValuePipe implements PipeTransform {
3
+ export declare class NxtGetValuePipe implements PipeTransform {
4
4
  transform(element: any, column: any): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<GetValuePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<GetValuePipe, "getValue", true>;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<NxtGetValuePipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<NxtGetValuePipe, "getValue", true>;
7
7
  }
@@ -1,8 +1,8 @@
1
1
  import { PipeTransform } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
- export declare class SearchFilterPipe implements PipeTransform {
3
+ export declare class NxtSearchFilterPipe implements PipeTransform {
4
4
  transform(items: any[], searchText: string, ele?: any): any[];
5
5
  private searchItems;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<SearchFilterPipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<SearchFilterPipe, "searchFilter", true>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<NxtSearchFilterPipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<NxtSearchFilterPipe, "searchFilter", true>;
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rangertechnologies/ngnxt",
3
- "version": "2.1.243",
3
+ "version": "2.1.244",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.13",
6
6
  "@angular/core": "^18.2.13"
@@ -1,28 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class DatePipe {
4
- transform(value, format = 'MMM d, yyyy') {
5
- const date = new Date(value);
6
- // Check if the input is a valid date
7
- if (isNaN(date.getTime())) {
8
- return value; // Return the original value if invalid
9
- }
10
- // Format the valid date and return it
11
- return new Intl.DateTimeFormat('en-US', {
12
- month: 'short',
13
- day: '2-digit',
14
- year: 'numeric'
15
- }).format(date);
16
- }
17
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
18
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DatePipe, isStandalone: true, name: "date", pure: false });
19
- }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DatePipe, decorators: [{
21
- type: Pipe,
22
- args: [{
23
- name: 'date',
24
- standalone: true,
25
- pure: false
26
- }]
27
- }] });
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnh0LWFwcC9zcmMvbGliL3BpcGUvZGF0ZS9kYXRlLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7O0FBT3BELE1BQU0sT0FBTyxRQUFRO0lBQ25CLFNBQVMsQ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sgaWYgdGhlIGlucHV0IGlzIGEgdmFsaWQgZGF0ZVxuICAgIGlmIChpc05hTihkYXRlLmdldFRpbWUoKSkpIHtcbiAgICAgIHJldHVybiB2YWx1ZTsgLy8gUmV0dXJuIHRoZSBvcmlnaW5hbCB2YWx1ZSBpZiBpbnZhbGlkXG4gICAgfVxuXG4gICAgLy8gRm9ybWF0IHRoZSB2YWxpZCBkYXRlIGFuZCByZXR1cm4gaXRcbiAgICByZXR1cm4gbmV3IEludGwuRGF0ZVRpbWVGb3JtYXQoJ2VuLVVTJywge1xuICAgICAgbW9udGg6ICdzaG9ydCcsXG4gICAgICBkYXk6ICcyLWRpZ2l0JyxcbiAgICAgIHllYXI6ICdudW1lcmljJ1xuICAgIH0pLmZvcm1hdChkYXRlKTtcbiAgfVxufVxuIl19
@@ -1,28 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class EditColumnCheckPipe {
4
- // SK10APR24 condition to check the edit column
5
- transform(arg, element, editCol) {
6
- var returnVal = "";
7
- if (editCol.length > 0) {
8
- if (typeof editCol[0] === 'string') {
9
- if (editCol.includes(element))
10
- returnVal = "string";
11
- }
12
- else if (typeof editCol[0] === 'object') {
13
- returnVal = (editCol.filter((col) => col.name === element)).length > 0 ? "object" : "";
14
- }
15
- }
16
- return returnVal;
17
- }
18
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EditColumnCheckPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
19
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: EditColumnCheckPipe, isStandalone: true, name: "editColumnCheck" });
20
- }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EditColumnCheckPipe, decorators: [{
22
- type: Pipe,
23
- args: [{
24
- name: 'editColumnCheck',
25
- standalone: true
26
- }]
27
- }] });
28
- //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19
@@ -1,20 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class EditColumnDropdownPipe {
4
- // SK10APR24 to check the data type of table value is dropdown
5
- transform(arg, element, editCol) {
6
- var returnVal;
7
- returnVal = (editCol.filter((col) => col.name === element));
8
- return returnVal[0].values;
9
- }
10
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EditColumnDropdownPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
11
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: EditColumnDropdownPipe, isStandalone: true, name: "editColumnDropdown" });
12
- }
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EditColumnDropdownPipe, decorators: [{
14
- type: Pipe,
15
- args: [{
16
- name: 'editColumnDropdown',
17
- standalone: true
18
- }]
19
- }] });
20
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWRpdC1jb2x1bW4tZHJvcGRvd24ucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL254dC1hcHAvc3JjL2xpYi9waXBlL2VkaXRDb2x1bW5Ecm9wZG93bi9lZGl0LWNvbHVtbi1kcm9wZG93bi5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQWlCLE1BQU0sZUFBZSxDQUFDOztBQU1wRCxNQUFNLE9BQU8sc0JBQXNCO0lBRWpDLDhEQUE4RDtJQUM5RCxTQUFTLENBQUMsR0FBTyxFQUFFLE9BQVksRUFBRSxPQUFZO1FBQzNDLElBQUksU0FBYyxDQUFFO1FBQ3BCLFNBQVMsR0FBRyxDQUFDLE9BQU8sQ0FBQyxNQUFNLENBQUMsQ0FBQyxHQUFPLEVBQUMsRUFBRSxDQUFBLEdBQUcsQ0FBQyxJQUFJLEtBQUssT0FBTyxDQUFDLENBQUMsQ0FBQztRQUM5RCxPQUFPLFNBQVMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxNQUFNLENBQUM7SUFDN0IsQ0FBQzt3R0FQVSxzQkFBc0I7c0dBQXRCLHNCQUFzQjs7NEZBQXRCLHNCQUFzQjtrQkFKbEMsSUFBSTttQkFBQztvQkFDSixJQUFJLEVBQUUsb0JBQW9CO29CQUMxQixVQUFVLEVBQUUsSUFBSTtpQkFDakIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBQaXBlLCBQaXBlVHJhbnNmb3JtIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBQaXBlKHtcbiAgbmFtZTogJ2VkaXRDb2x1bW5Ecm9wZG93bicsXG4gIHN0YW5kYWxvbmU6IHRydWVcbn0pXG5leHBvcnQgY2xhc3MgRWRpdENvbHVtbkRyb3Bkb3duUGlwZSBpbXBsZW1lbnRzIFBpcGVUcmFuc2Zvcm0ge1xuXG4gIC8vIFNLMTBBUFIyNCB0byBjaGVjayB0aGUgZGF0YSB0eXBlIG9mIHRhYmxlIHZhbHVlIGlzIGRyb3Bkb3duXG4gIHRyYW5zZm9ybShhcmc6YW55LCBlbGVtZW50OiBhbnksIGVkaXRDb2w6IGFueSk6IGFueSB7XG4gICAgdmFyIHJldHVyblZhbCA6YW55IDtcbiAgICByZXR1cm5WYWwgPSAoZWRpdENvbC5maWx0ZXIoKGNvbDphbnkpPT5jb2wubmFtZSA9PT0gZWxlbWVudCkpO1xuICAgIHJldHVybiByZXR1cm5WYWxbMF0udmFsdWVzO1xuICB9XG5cbn1cbiJdfQ==
@@ -1,20 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class EditColumnTypePipe {
4
- // SK10APR24 to check the type of edit column in table
5
- transform(arg, element, editCol) {
6
- var returnVal;
7
- returnVal = (editCol.filter((col) => col.name === element));
8
- return returnVal[0].type;
9
- }
10
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EditColumnTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
11
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: EditColumnTypePipe, isStandalone: true, name: "editColumnType" });
12
- }
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EditColumnTypePipe, decorators: [{
14
- type: Pipe,
15
- args: [{
16
- name: 'editColumnType',
17
- standalone: true
18
- }]
19
- }] });
20
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWRpdC1jb2x1bW4tdHlwZS5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnh0LWFwcC9zcmMvbGliL3BpcGUvZWRpdENvbHVtblR5cGUvZWRpdC1jb2x1bW4tdHlwZS5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQWlCLE1BQU0sZUFBZSxDQUFDOztBQU1wRCxNQUFNLE9BQU8sa0JBQWtCO0lBQy9CLHNEQUFzRDtJQUN0RCxTQUFTLENBQUMsR0FBTyxFQUFFLE9BQVksRUFBRSxPQUFZO1FBQzNDLElBQUksU0FBYyxDQUFFO1FBQ3BCLFNBQVMsR0FBRyxDQUFDLE9BQU8sQ0FBQyxNQUFNLENBQUMsQ0FBQyxHQUFPLEVBQUMsRUFBRSxDQUFBLEdBQUcsQ0FBQyxJQUFJLEtBQUssT0FBTyxDQUFDLENBQUMsQ0FBQztRQUM5RCxPQUFPLFNBQVMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUM7SUFDM0IsQ0FBQzt3R0FOWSxrQkFBa0I7c0dBQWxCLGtCQUFrQjs7NEZBQWxCLGtCQUFrQjtrQkFKOUIsSUFBSTttQkFBQztvQkFDSixJQUFJLEVBQUUsZ0JBQWdCO29CQUN0QixVQUFVLEVBQUUsSUFBSTtpQkFDakIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBQaXBlLCBQaXBlVHJhbnNmb3JtIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBQaXBlKHtcbiAgbmFtZTogJ2VkaXRDb2x1bW5UeXBlJyxcbiAgc3RhbmRhbG9uZTogdHJ1ZVxufSlcbmV4cG9ydCBjbGFzcyBFZGl0Q29sdW1uVHlwZVBpcGUgaW1wbGVtZW50cyBQaXBlVHJhbnNmb3JtIHtcbi8vIFNLMTBBUFIyNCB0byBjaGVjayB0aGUgdHlwZSBvZiBlZGl0IGNvbHVtbiBpbiB0YWJsZVxudHJhbnNmb3JtKGFyZzphbnksIGVsZW1lbnQ6IGFueSwgZWRpdENvbDogYW55KTogYW55IHtcbiAgdmFyIHJldHVyblZhbCA6YW55IDtcbiAgcmV0dXJuVmFsID0gKGVkaXRDb2wuZmlsdGVyKChjb2w6YW55KT0+Y29sLm5hbWUgPT09IGVsZW1lbnQpKTtcbiAgcmV0dXJuIHJldHVyblZhbFswXS50eXBlOyBcbn1cbn1cbiJdfQ==
@@ -1,26 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class TimePipe {
4
- transform(value, timeFormat = 'HH:mm') {
5
- const date = new Date(value);
6
- // Check if the input is a valid time
7
- if (isNaN(date.getTime())) {
8
- return value; // Return the original value if invalid
9
- }
10
- // Extract hours and minutes from the valid time
11
- const hours = date.getHours().toString().padStart(2, '0');
12
- const minutes = date.getMinutes().toString().padStart(2, '0');
13
- return `${hours}:${minutes}`; // Return the formatted time
14
- }
15
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
16
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: TimePipe, isStandalone: true, name: "time", pure: false });
17
- }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TimePipe, decorators: [{
19
- type: Pipe,
20
- args: [{
21
- name: 'time',
22
- standalone: true,
23
- pure: false
24
- }]
25
- }] });
26
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZS5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnh0LWFwcC9zcmMvbGliL3BpcGUvdGltZS90aW1lLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7O0FBT3BELE1BQU0sT0FBTyxRQUFRO0lBRW5CLFNBQVMsQ0FBQyxLQUFVLEVBQUUsYUFBcUIsT0FBTztRQUNoRCxNQUFNLElBQUksR0FBRyxJQUFJLElBQUksQ0FBQyxLQUFLLENBQUMsQ0FBQztRQUU3QixxQ0FBcUM7UUFDckMsSUFBSSxLQUFLLENBQUMsSUFBSSxDQUFDLE9BQU8sRUFBRSxDQUFDLEVBQUUsQ0FBQztZQUMxQixPQUFPLEtBQUssQ0FBQyxDQUFDLHVDQUF1QztRQUN2RCxDQUFDO1FBRUQsZ0RBQWdEO1FBQ2hELE1BQU0sS0FBSyxHQUFHLElBQUksQ0FBQyxRQUFRLEVBQUUsQ0FBQyxRQUFRLEVBQUUsQ0FBQyxRQUFRLENBQUMsQ0FBQyxFQUFFLEdBQUcsQ0FBQyxDQUFDO1FBQzFELE1BQU0sT0FBTyxHQUFHLElBQUksQ0FBQyxVQUFVLEVBQUUsQ0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AnKTtcbiAgICBjb25zdCBtaW51dGVzID0gZGF0ZS5nZXRNaW51dGVzKCkudG9TdHJpbmcoKS5wYWRTdGFydCgyLCAnMCcpO1xuICAgIHJldHVybiBgJHtob3Vyc306JHttaW51dGVzfWA7IC8vIFJldHVybiB0aGUgZm9ybWF0dGVkIHRpbWVcbiAgfVxufSJdfQ==
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class DatePipe implements PipeTransform {
4
- transform(value: any, format?: string): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<DatePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<DatePipe, "date", true>;
7
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class EditColumnCheckPipe implements PipeTransform {
4
- transform(arg: any, element: any, editCol: any): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<EditColumnCheckPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<EditColumnCheckPipe, "editColumnCheck", true>;
7
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class EditColumnDropdownPipe implements PipeTransform {
4
- transform(arg: any, element: any, editCol: any): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<EditColumnDropdownPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<EditColumnDropdownPipe, "editColumnDropdown", true>;
7
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class EditColumnTypePipe implements PipeTransform {
4
- transform(arg: any, element: any, editCol: any): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<EditColumnTypePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<EditColumnTypePipe, "editColumnType", true>;
7
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TimePipe implements PipeTransform {
4
- transform(value: any, timeFormat?: string): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<TimePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<TimePipe, "time", true>;
7
- }