@rangertechnologies/ngnxt 2.1.343 → 2.1.345

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.
@@ -168,7 +168,7 @@ export declare class NxtDatatable {
168
168
  ngOnChanges(changes: SimpleChanges): void;
169
169
  ngOnInit(): void;
170
170
  ngAfterViewInit(): void;
171
- autoDistributeExtraTableWidth(): void;
171
+ autoDistributeExtraTableWidth(from?: any): void;
172
172
  onResizeStart(event: MouseEvent): void;
173
173
  private onResizeMove;
174
174
  private applyWidthToColumn;
@@ -39,6 +39,7 @@ export declare class NxtFileUpload implements OnInit, OnChanges {
39
39
  viewEdit: boolean;
40
40
  originalValue: any;
41
41
  isLoading: boolean;
42
+ fileCache: {};
42
43
  constructor(cdRef: ChangeDetectorRef, SharedService: SharedService, dataService: DataService, sanitizer: DomSanitizer);
43
44
  ngOnInit(): void;
44
45
  ngOnChanges(simpleChanges: SimpleChanges): void;
@@ -0,0 +1,85 @@
1
+ import { ElementRef, EventEmitter, OnDestroy, OnInit, SimpleChanges, ChangeDetectorRef } from '@angular/core';
2
+ import { Subscription } from 'rxjs';
3
+ import { ChangeService } from '../../services/change/change.service';
4
+ import { CountryService } from '../../services/country/country.service';
5
+ import { DataService } from '../../services/data/data.service';
6
+ import { StorageService } from '../../services/storage/storage.service';
7
+ import { TranslationService } from '../../services/translation/translation.service';
8
+ import * as i0 from "@angular/core";
9
+ export declare class NxtMultiSelect implements OnInit, OnDestroy {
10
+ private countryService;
11
+ private translationService;
12
+ private changeService;
13
+ private dataService;
14
+ private storageService;
15
+ private cdr;
16
+ options: any[];
17
+ placeholder: string;
18
+ apiMeta: any;
19
+ selectedValue: any;
20
+ progressBar: boolean;
21
+ readOnly: boolean;
22
+ error: any;
23
+ fromShengel: boolean;
24
+ question: any;
25
+ mode: 'view' | 'edit' | 'print';
26
+ from: any;
27
+ padding: any;
28
+ onlyView: boolean;
29
+ labelFont: any;
30
+ label: any;
31
+ labelColor: any;
32
+ inputTextColor: any;
33
+ labelSize: any;
34
+ inputValueSize: any;
35
+ labelWeight: any;
36
+ inputWeight: any;
37
+ showLabel: boolean;
38
+ inputBorder: any;
39
+ inputBgColor: any;
40
+ inputIconLeftSrc: any;
41
+ inputId: string;
42
+ valueChange: EventEmitter<any>;
43
+ multiSelectWrapper: ElementRef;
44
+ searchInput: ElementRef<HTMLInputElement>;
45
+ subscription: Subscription;
46
+ showOptions: boolean;
47
+ isLoading: boolean;
48
+ noDataFound: boolean;
49
+ searchText: string;
50
+ filteredOptions: any[];
51
+ selectedValues: any[];
52
+ constructor(countryService: CountryService, translationService: TranslationService, changeService: ChangeService, dataService: DataService, storageService: StorageService, cdr: ChangeDetectorRef);
53
+ ngOnInit(): void;
54
+ ngOnChanges(changes: SimpleChanges): void;
55
+ ngOnDestroy(): void;
56
+ getOptions(): void;
57
+ toggle(event?: Event): void;
58
+ openOptions(): void;
59
+ toggleOption(option: any, event?: Event): void;
60
+ removeSelected(selected: any, event?: Event): void;
61
+ clearSelection(event?: Event): void;
62
+ toggleSelectAll(event?: Event): void;
63
+ inputValue(value: string): void;
64
+ filterOptions(searchValue: any): void;
65
+ emitSelection(): void;
66
+ get selectedItems(): any[];
67
+ get selectedLabels(): string;
68
+ get orderedOptions(): any[];
69
+ get hasPartialVisibleSelection(): boolean;
70
+ get showSelectedDivider(): boolean;
71
+ areAllVisibleSelected(): boolean;
72
+ isLastSelectedOption(index: number): boolean;
73
+ isSelected(option: any): boolean;
74
+ getOptionLabel(option: any): string;
75
+ getSelectionDisplay(selected: any): string;
76
+ getOptionValue(option: any): any;
77
+ onDocumentClick(event: MouseEvent): void;
78
+ private normalizeSelectedValues;
79
+ private getChangeField;
80
+ private getComparableValue;
81
+ private findOptionByValue;
82
+ private focusSearchInput;
83
+ static ɵfac: i0.ɵɵFactoryDeclaration<NxtMultiSelect, never>;
84
+ static ɵcmp: i0.ɵɵComponentDeclaration<NxtMultiSelect, "nxt-multi-select", never, { "options": { "alias": "options"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "apiMeta": { "alias": "apiMeta"; "required": false; }; "selectedValue": { "alias": "selectedValue"; "required": false; }; "progressBar": { "alias": "progressBar"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "error": { "alias": "error"; "required": false; }; "fromShengel": { "alias": "fromShengel"; "required": false; }; "question": { "alias": "question"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "from": { "alias": "from"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "onlyView": { "alias": "onlyView"; "required": false; }; "labelFont": { "alias": "labelFont"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelColor": { "alias": "labelColor"; "required": false; }; "inputTextColor": { "alias": "inputTextColor"; "required": false; }; "labelSize": { "alias": "labelSize"; "required": false; }; "inputValueSize": { "alias": "inputValueSize"; "required": false; }; "labelWeight": { "alias": "labelWeight"; "required": false; }; "inputWeight": { "alias": "inputWeight"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "inputBorder": { "alias": "inputBorder"; "required": false; }; "inputBgColor": { "alias": "inputBgColor"; "required": false; }; "inputIconLeftSrc": { "alias": "inputIconLeftSrc"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
85
+ }
@@ -7,16 +7,17 @@ import * as i4 from "./components/datatable/datatable.component";
7
7
  import * as i5 from "./components/search-box/search-box.component";
8
8
  import * as i6 from "./components/list-view-filter/list-view-filter.component";
9
9
  import * as i7 from "./components/nxt-input/nxt-input.component";
10
- import * as i8 from "./pages/questionnaire/questionnaire.component";
11
- import * as i9 from "./pages/booklet/booklet.component";
12
- import * as i10 from "./pages/questionbook/questionbook.component";
13
- import * as i11 from "./components/button/nxt-button.component";
14
- import * as i12 from "./components/icon-selector/icon-selector.component";
15
- import * as i13 from "./pages/pdfDesigner/pdf-designer/pdf-designer.component";
16
- import * as i14 from "./pages/builder/form/form.component";
10
+ import * as i8 from "./components/nxt-multi-select/nxt-multi-select.component";
11
+ import * as i9 from "./pages/questionnaire/questionnaire.component";
12
+ import * as i10 from "./pages/booklet/booklet.component";
13
+ import * as i11 from "./pages/questionbook/questionbook.component";
14
+ import * as i12 from "./components/button/nxt-button.component";
15
+ import * as i13 from "./components/icon-selector/icon-selector.component";
16
+ import * as i14 from "./pages/pdfDesigner/pdf-designer/pdf-designer.component";
17
+ import * as i15 from "./pages/builder/form/form.component";
17
18
  export declare function initializeApp(translationService: TranslationService): () => Promise<void>;
18
19
  export declare class NxtAppModule {
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<NxtAppModule, never>;
20
- static ɵmod: i0.ɵɵNgModuleDeclaration<NxtAppModule, [typeof i1.NxtAppComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.NxtDatatable, typeof i5.NxtSearchBox, typeof i6.ListViewFilterComponent, typeof i7.NxtInput, typeof i8.QuestionnaireComponent, typeof i9.BookletComponent, typeof i10.QuestionbookComponent, typeof i11.NxtButtonComponent, typeof i12.IconSelectorComponent, typeof i13.PdfDesignerComponent, typeof i14.FormComponent], [typeof i1.NxtAppComponent, typeof i8.QuestionnaireComponent, typeof i9.BookletComponent, typeof i4.NxtDatatable, typeof i5.NxtSearchBox, typeof i6.ListViewFilterComponent, typeof i7.NxtInput, typeof i11.NxtButtonComponent, typeof i12.IconSelectorComponent, typeof i13.PdfDesignerComponent]>;
21
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NxtAppModule, [typeof i1.NxtAppComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.NxtDatatable, typeof i5.NxtSearchBox, typeof i6.ListViewFilterComponent, typeof i7.NxtInput, typeof i8.NxtMultiSelect, typeof i9.QuestionnaireComponent, typeof i10.BookletComponent, typeof i11.QuestionbookComponent, typeof i12.NxtButtonComponent, typeof i13.IconSelectorComponent, typeof i14.PdfDesignerComponent, typeof i15.FormComponent], [typeof i1.NxtAppComponent, typeof i9.QuestionnaireComponent, typeof i10.BookletComponent, typeof i4.NxtDatatable, typeof i5.NxtSearchBox, typeof i6.ListViewFilterComponent, typeof i7.NxtInput, typeof i8.NxtMultiSelect, typeof i12.NxtButtonComponent, typeof i13.IconSelectorComponent, typeof i14.PdfDesignerComponent]>;
21
22
  static ɵinj: i0.ɵɵInjectorDeclaration<NxtAppModule>;
22
23
  }
@@ -304,6 +304,11 @@ export declare class PropertiesComponent implements OnInit {
304
304
  fieldProps: any[];
305
305
  appearance: any[];
306
306
  };
307
+ MultiSelect: {
308
+ elementProps: any[];
309
+ fieldProps: any[];
310
+ appearance: any[];
311
+ };
307
312
  Radio: {
308
313
  elementProps: any[];
309
314
  fieldProps: any[];
@@ -26,6 +26,7 @@ export declare class QuestionbookComponent implements OnInit, AfterViewInit {
26
26
  bgColor: any;
27
27
  margin: any;
28
28
  onlyView: boolean;
29
+ bookStyle: any;
29
30
  handleDropDown: EventEmitter<any>;
30
31
  handleQuestion: EventEmitter<any>;
31
32
  singleFieldChangeEmit: EventEmitter<any>;
@@ -35,7 +36,6 @@ export declare class QuestionbookComponent implements OnInit, AfterViewInit {
35
36
  private destroy$;
36
37
  qbRef: any;
37
38
  style: any;
38
- bookStyle: any;
39
39
  subscription: Subscription;
40
40
  isImageEdit: boolean;
41
41
  selectedImageElement: any;
@@ -106,5 +106,5 @@ export declare class QuestionbookComponent implements OnInit, AfterViewInit {
106
106
  closeModal(): void;
107
107
  ngOnDestroy(): void;
108
108
  static ɵfac: i0.ɵɵFactoryDeclaration<QuestionbookComponent, never>;
109
- static ɵcmp: i0.ɵɵComponentDeclaration<QuestionbookComponent, "lib-questionbook", never, { "qbItem": { "alias": "qbItem"; "required": false; }; "questionItem": { "alias": "questionItem"; "required": false; }; "questions": { "alias": "questions"; "required": false; }; "errorFieldId": { "alias": "errorFieldId"; "required": false; }; "labelValue": { "alias": "labelValue"; "required": false; }; "token": { "alias": "token"; "required": false; }; "isEdit": { "alias": "isEdit"; "required": false; }; "dropDownData": { "alias": "dropDownData"; "required": false; }; "dataBind": { "alias": "dataBind"; "required": false; }; "allIcons": { "alias": "allIcons"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; "cdnIconURL": { "alias": "cdnIconURL"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "languageCode": { "alias": "languageCode"; "required": false; }; "from": { "alias": "from"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "onlyView": { "alias": "onlyView"; "required": false; }; }, { "handleDropDown": "handleDropDown"; "handleQuestion": "handleQuestion"; "singleFieldChangeEmit": "singleFieldChangeEmit"; "hadleDropDownDependent": "hadleDropDownDependent"; "handleCalendarDate": "handleCalendarDate"; "handleCalendarEvent": "handleCalendarEvent"; }, never, never, true, never>;
109
+ static ɵcmp: i0.ɵɵComponentDeclaration<QuestionbookComponent, "lib-questionbook", never, { "qbItem": { "alias": "qbItem"; "required": false; }; "questionItem": { "alias": "questionItem"; "required": false; }; "questions": { "alias": "questions"; "required": false; }; "errorFieldId": { "alias": "errorFieldId"; "required": false; }; "labelValue": { "alias": "labelValue"; "required": false; }; "token": { "alias": "token"; "required": false; }; "isEdit": { "alias": "isEdit"; "required": false; }; "dropDownData": { "alias": "dropDownData"; "required": false; }; "dataBind": { "alias": "dataBind"; "required": false; }; "allIcons": { "alias": "allIcons"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; "cdnIconURL": { "alias": "cdnIconURL"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "languageCode": { "alias": "languageCode"; "required": false; }; "from": { "alias": "from"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "onlyView": { "alias": "onlyView"; "required": false; }; "bookStyle": { "alias": "bookStyle"; "required": false; }; }, { "handleDropDown": "handleDropDown"; "handleQuestion": "handleQuestion"; "singleFieldChangeEmit": "singleFieldChangeEmit"; "hadleDropDownDependent": "hadleDropDownDependent"; "handleCalendarDate": "handleCalendarDate"; "handleCalendarEvent": "handleCalendarEvent"; }, never, never, true, never>;
110
110
  }
@@ -38,6 +38,7 @@ export declare class QuestionnaireComponent implements OnInit {
38
38
  radioFlag: boolean;
39
39
  dataFlag: boolean;
40
40
  dropdownFlag: boolean;
41
+ multiSelectFlag: boolean;
41
42
  checkboxFlag: boolean;
42
43
  textFlag: boolean;
43
44
  taFlag: boolean;
@@ -55,7 +56,7 @@ export declare class QuestionnaireComponent implements OnInit {
55
56
  isButtonDisabled: boolean;
56
57
  optionValues: any[];
57
58
  subQuestions: any[];
58
- inpValue: string;
59
+ inpValue: any;
59
60
  answerMap: Map<any, any>;
60
61
  dateMap: Map<any, any>;
61
62
  selectedhourMap: Map<any, any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rangertechnologies/ngnxt",
3
- "version": "2.1.343",
3
+ "version": "2.1.345",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.14",
6
6
  "@angular/core": "^19.2.14"
package/public-api.d.ts CHANGED
@@ -10,6 +10,7 @@ export * from './lib/components/button/nxt-button.component';
10
10
  export * from './lib/pages/pdfDesigner/pdf-designer/pdf-designer.component';
11
11
  export * from './lib/components/nxt-input/nxt-input.component';
12
12
  export * from './lib/components/nxt-dropdown/nxt-dropdown.component';
13
+ export * from './lib/components/nxt-multi-select/nxt-multi-select.component';
13
14
  export * from './lib/components/file-upload/file-upload.component';
14
15
  export * from './lib/components/list-view-filter/list-view-filter.component';
15
16
  export * from './lib/components/search-box/search-box.component';