@rangertechnologies/ngnxt 2.1.14 → 2.1.16

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 (40) hide show
  1. package/esm2022/lib/components/custom-button/custom-button.component.mjs +4 -4
  2. package/esm2022/lib/components/custom-date/custom-date.component.mjs +4 -4
  3. package/esm2022/lib/components/custom-date-picker/custom-date-picker.component.mjs +4 -4
  4. package/esm2022/lib/components/custom-dropdown/custom-dropdown.component.mjs +4 -4
  5. package/esm2022/lib/components/custom-input/custom-input.component.mjs +4 -4
  6. package/esm2022/lib/components/custom-label/custom-label.component.mjs +4 -4
  7. package/esm2022/lib/components/custom-table/custom-table.component.mjs +115 -31
  8. package/esm2022/lib/components/custom-text-area/custom-text-area.component.mjs +4 -4
  9. package/esm2022/lib/components/custom-time/custom-time.component.mjs +4 -4
  10. package/esm2022/lib/components/dependent-table/dependent-table.component.mjs +4 -4
  11. package/esm2022/lib/components/dropdown-with-flag/dropdown-with-flag.component.mjs +5 -5
  12. package/esm2022/lib/components/file-upload/file-upload.component.mjs +12 -9
  13. package/esm2022/lib/components/file-view/file-view.component.mjs +5 -5
  14. package/esm2022/lib/components/pick-location/pick-location.component.mjs +4 -4
  15. package/esm2022/lib/components/search-box/search-box.component.mjs +25 -8
  16. package/esm2022/lib/components/table-appendix/table-appendix.component.mjs +5 -5
  17. package/esm2022/lib/i18n.component.mjs +4 -4
  18. package/esm2022/lib/i18n.module.mjs +5 -5
  19. package/esm2022/lib/i18n.pipe.mjs +4 -4
  20. package/esm2022/lib/i18n.service.mjs +4 -4
  21. package/esm2022/lib/nxt-app.component.mjs +4 -4
  22. package/esm2022/lib/nxt-app.module.mjs +5 -5
  23. package/esm2022/lib/nxt-app.service.mjs +4 -4
  24. package/esm2022/lib/pages/booklet/booklet.component.mjs +8 -6
  25. package/esm2022/lib/pages/questionbook/questionbook.component.mjs +5 -5
  26. package/esm2022/lib/pages/questionnaire/questionnaire.component.mjs +5 -5
  27. package/esm2022/lib/pages/summary-page/summary-page.component.mjs +4 -4
  28. package/esm2022/lib/services/change.service.mjs +4 -4
  29. package/esm2022/lib/services/data.service.mjs +4 -4
  30. package/esm2022/lib/services/salesforce.service.mjs +4 -4
  31. package/esm2022/lib/services/shared.service.mjs +4 -4
  32. package/esm2022/lib/services/storage.service.mjs +4 -4
  33. package/fesm2022/rangertechnologies-ngnxt.mjs +241 -137
  34. package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
  35. package/lib/components/custom-table/custom-table.component.d.ts +22 -3
  36. package/lib/components/file-upload/file-upload.component.d.ts +0 -1
  37. package/lib/components/search-box/search-box.component.d.ts +2 -0
  38. package/package.json +1 -1
  39. package/rangertechnologies-ngnxt-2.1.16.tgz +0 -0
  40. package/rangertechnologies-ngnxt-2.1.14.tgz +0 -0
@@ -1,24 +1,43 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { I18nService } from '../../i18n.service';
3
3
  import { TableWrapper } from '../../model/tableWrapper';
4
+ import { SalesforceService } from '../../services/salesforce.service';
4
5
  import { Question } from '../../wrapper';
6
+ import { DataService } from '../../services/data.service';
7
+ import { Subscription } from 'rxjs';
8
+ import { ChangeService } from '../../services/change.service';
5
9
  import * as i0 from "@angular/core";
6
10
  export declare class CustomTableComponent implements OnInit {
11
+ private changeService;
7
12
  i18nService: I18nService;
13
+ private sfService;
14
+ private dataService;
8
15
  question: Question;
9
16
  valueChange: EventEmitter<any>;
10
17
  tableInfo: TableWrapper;
11
18
  tableHeader: any[];
12
- tableData: any;
19
+ tableData: any[];
13
20
  addRowColSpan: number;
14
21
  tableSize: number;
15
- constructor(i18nService: I18nService);
22
+ objName: any;
23
+ filterLogic: any;
24
+ fieldMeta: string;
25
+ firStr: string;
26
+ searchBox: boolean;
27
+ apiMeta: string;
28
+ options: string[];
29
+ isDisabled: boolean;
30
+ subscription: Subscription;
31
+ labelField: string;
32
+ constructor(changeService: ChangeService, i18nService: I18nService, sfService: SalesforceService, dataService: DataService);
16
33
  ngOnInit(): void;
17
34
  addRow(): void;
18
35
  updateRadio(item: any, value: string): void;
19
36
  updateLabel(rowIndex: number, label: string, value: string): void;
37
+ deleteRow(rowIndex: number): void;
38
+ editRow(rowIndex: number): void;
20
39
  updateNumber(item: any, label: string, value: string): void;
21
40
  emitTableDataValue(updatedTableData: any[]): void;
22
41
  static ɵfac: i0.ɵɵFactoryDeclaration<CustomTableComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<CustomTableComponent, "app-custom-table", never, { "question": "question"; }, { "valueChange": "valueChange"; }, never, never, false>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<CustomTableComponent, "app-custom-table", never, { "question": "question"; "apiMeta": "apiMeta"; }, { "valueChange": "valueChange"; }, never, never, false>;
24
43
  }
@@ -17,7 +17,6 @@ export declare class FileUploadComponent implements OnInit, OnChanges {
17
17
  copyOfFileUploadingLimit: any;
18
18
  constructor(SharedService: SharedService, i18nService: I18nService);
19
19
  ngOnInit(): void;
20
- onFileUpload(event: any): void;
21
20
  ngOnChanges(simpleChanges: SimpleChanges): void;
22
21
  uploadMultipleFiles(event: any): void;
23
22
  deleteFile(currentFileIndex: any): void;
@@ -17,6 +17,7 @@ export declare class SearchBoxComponent implements OnInit {
17
17
  id: string;
18
18
  searchValueChange: EventEmitter<ChangeWrapper>;
19
19
  apiObj: any;
20
+ SearchItem: any;
20
21
  filterName: string;
21
22
  finalResults: any[];
22
23
  searchKeyWord: string;
@@ -28,6 +29,7 @@ export declare class SearchBoxComponent implements OnInit {
28
29
  private serv;
29
30
  private tkn;
30
31
  constructor(sfService: SalesforceService, dataService: DataService, route: ActivatedRoute, el: ElementRef, i18nService: I18nService);
32
+ z: any;
31
33
  ngOnInit(): void;
32
34
  clearList(): void;
33
35
  getSourceDataLocal(event: any): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rangertechnologies/ngnxt",
3
- "version": "2.1.14",
3
+ "version": "2.1.16",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.2.3",
6
6
  "@angular/core": "^14.2.3"
Binary file