@rangertechnologies/ngnxt 2.1.101 → 2.1.102

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.
@@ -1,16 +1,10 @@
1
- import { OnInit, EventEmitter, ElementRef, SimpleChanges } from "@angular/core";
1
+ import { OnInit, EventEmitter, SimpleChanges } from "@angular/core";
2
2
  import { DataService } from '../../services/data.service';
3
- import { SalesforceService } from "../../services/salesforce.service";
4
- import { ActivatedRoute } from "@angular/router";
5
3
  import { ChangeWrapper } from "../../model/changeWrapper";
6
4
  import { I18nService } from "../../i18n.service";
7
- import { ChangeDetectorRef } from '@angular/core';
8
5
  import * as i0 from "@angular/core";
9
6
  export declare class SearchBoxComponent implements OnInit {
10
- private sfService;
11
- private cdr;
12
7
  private dataService;
13
- private route;
14
8
  i18nService: I18nService;
15
9
  placeHolderText: string;
16
10
  auto: any;
@@ -31,14 +25,17 @@ export declare class SearchBoxComponent implements OnInit {
31
25
  private el;
32
26
  private serv;
33
27
  private tkn;
34
- constructor(sfService: SalesforceService, cdr: ChangeDetectorRef, dataService: DataService, route: ActivatedRoute, el: ElementRef, i18nService: I18nService);
35
- private flattenObjectValues;
28
+ constructor(dataService: DataService, i18nService: I18nService);
36
29
  ngOnInit(): void;
37
30
  ngOnChanges(changes: SimpleChanges): void;
38
31
  private resetComponentState;
39
32
  clearList(): void;
40
33
  getSourceDataLocal(event: any): void;
41
34
  getSourceData: (keyword: string) => void;
35
+ private getNestedValue;
36
+ private getCombinedValuesFromColumns;
37
+ getValues(element: any, columns: any): any;
38
+ getKeys(obj: any): string[];
42
39
  clickItem(event: any): void;
43
40
  ngOnDestroy(): void;
44
41
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchBoxComponent, never>;
@@ -1,10 +1,11 @@
1
1
  export interface APIMeta {
2
+ defaultField: any;
2
3
  sourceQuestionId: string;
3
4
  valueField: string;
4
5
  labelField: string;
5
6
  endpoint: string;
6
7
  variable: string;
7
- field: string;
8
+ field: any;
8
9
  isDependentField: boolean;
9
10
  dependentValue: string;
10
11
  queryField: string;
@@ -8,10 +8,10 @@ export declare class ElementComponent {
8
8
  formContainer: ElementRef;
9
9
  bookletJSON: any;
10
10
  bookletId: any;
11
- dropdownOpen: boolean;
12
11
  field: any;
13
12
  formElements: any[];
14
13
  elements: any[];
14
+ bookId: string;
15
15
  constructor(formBuilderService: FormBuilderService);
16
16
  ngOnInit(): void;
17
17
  ngOnChanges(changes: SimpleChanges): void;
@@ -293,7 +293,7 @@ export declare class PropertiesComponent implements OnInit {
293
293
  key?: undefined;
294
294
  })[];
295
295
  };
296
- Numbers: {
296
+ Number: {
297
297
  elementProps: ({
298
298
  label: string;
299
299
  placeholder: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rangertechnologies/ngnxt",
3
- "version": "2.1.101",
3
+ "version": "2.1.102",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.13",
6
6
  "@angular/core": "^18.2.13"