@rangertechnologies/ngnxt 2.1.237 → 2.1.239
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.
- package/esm2022/environments/version.mjs +5 -5
- package/esm2022/lib/components/button/nxt-button.component.mjs +41 -7
- package/esm2022/lib/components/datatable/datatable.component.mjs +2 -2
- package/esm2022/lib/components/icon-selector/icon-selector.component.mjs +21 -9
- package/esm2022/lib/pages/questionbook/questionbook.component.mjs +2 -2
- package/fesm2022/rangertechnologies-ngnxt.mjs +89 -45
- package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
- package/lib/components/button/nxt-button.component.d.ts +8 -3
- package/lib/components/icon-selector/icon-selector.component.d.ts +6 -2
- package/package.json +1 -1
- package/rangertechnologies-ngnxt-2.1.239.tgz +0 -0
- package/rangertechnologies-ngnxt-2.1.237.tgz +0 -0
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { TranslationService } from '../../services/translation.service';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class NxtButtonComponent implements OnInit {
|
|
5
|
+
private cdRef;
|
|
6
|
+
private translationService;
|
|
4
7
|
private elementRef;
|
|
5
8
|
buttonValue: string;
|
|
6
9
|
buttonType: string;
|
|
@@ -23,11 +26,13 @@ export declare class NxtButtonComponent implements OnInit {
|
|
|
23
26
|
tabIndex: any;
|
|
24
27
|
buttonConfig: any;
|
|
25
28
|
mode: 'view' | 'edit' | 'print';
|
|
29
|
+
languageCode: any;
|
|
26
30
|
buttonClickEmit: EventEmitter<any>;
|
|
27
31
|
iconSrc: any;
|
|
28
32
|
isDropdownOpen: boolean;
|
|
29
|
-
constructor(elementRef: ElementRef);
|
|
33
|
+
constructor(cdRef: ChangeDetectorRef, translationService: TranslationService, elementRef: ElementRef);
|
|
30
34
|
ngOnInit(): void;
|
|
35
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
31
36
|
getButtonStyles(config: any): {
|
|
32
37
|
[key: string]: string;
|
|
33
38
|
};
|
|
@@ -35,5 +40,5 @@ export declare class NxtButtonComponent implements OnInit {
|
|
|
35
40
|
toggleDropdown(): void;
|
|
36
41
|
onClickOutside(event: MouseEvent): void;
|
|
37
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<NxtButtonComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NxtButtonComponent, "nxt-button", never, { "buttonValue": { "alias": "buttonValue"; "required": false; }; "buttonType": { "alias": "buttonType"; "required": false; }; "type": { "alias": "type"; "required": false; }; "buttonDisable": { "alias": "buttonDisable"; "required": false; }; "btnBgColor": { "alias": "btnBgColor"; "required": false; }; "btnBorder": { "alias": "btnBorder"; "required": false; }; "btnTextColor": { "alias": "btnTextColor"; "required": false; }; "btnHeight": { "alias": "btnHeight"; "required": false; }; "btnWidth": { "alias": "btnWidth"; "required": false; }; "btnIconLeftSrc": { "alias": "btnIconLeftSrc"; "required": false; }; "btnIconRightSrc": { "alias": "btnIconRightSrc"; "required": false; }; "btnHoverBgColor": { "alias": "btnHoverBgColor"; "required": false; }; "btnHoverTextColor": { "alias": "btnHoverTextColor"; "required": false; }; "btnId": { "alias": "btnId"; "required": false; }; "dataDismiss": { "alias": "dataDismiss"; "required": false; }; "buttonBorder": { "alias": "buttonBorder"; "required": false; }; "modalToTrigger": { "alias": "modalToTrigger"; "required": false; }; "isImageSvg": { "alias": "isImageSvg"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "buttonConfig": { "alias": "buttonConfig"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, { "buttonClickEmit": "buttonClickEmit"; }, never, never, true, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NxtButtonComponent, "nxt-button", never, { "buttonValue": { "alias": "buttonValue"; "required": false; }; "buttonType": { "alias": "buttonType"; "required": false; }; "type": { "alias": "type"; "required": false; }; "buttonDisable": { "alias": "buttonDisable"; "required": false; }; "btnBgColor": { "alias": "btnBgColor"; "required": false; }; "btnBorder": { "alias": "btnBorder"; "required": false; }; "btnTextColor": { "alias": "btnTextColor"; "required": false; }; "btnHeight": { "alias": "btnHeight"; "required": false; }; "btnWidth": { "alias": "btnWidth"; "required": false; }; "btnIconLeftSrc": { "alias": "btnIconLeftSrc"; "required": false; }; "btnIconRightSrc": { "alias": "btnIconRightSrc"; "required": false; }; "btnHoverBgColor": { "alias": "btnHoverBgColor"; "required": false; }; "btnHoverTextColor": { "alias": "btnHoverTextColor"; "required": false; }; "btnId": { "alias": "btnId"; "required": false; }; "dataDismiss": { "alias": "dataDismiss"; "required": false; }; "buttonBorder": { "alias": "buttonBorder"; "required": false; }; "modalToTrigger": { "alias": "modalToTrigger"; "required": false; }; "isImageSvg": { "alias": "isImageSvg"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "buttonConfig": { "alias": "buttonConfig"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "languageCode": { "alias": "languageCode"; "required": false; }; }, { "buttonClickEmit": "buttonClickEmit"; }, never, never, true, never>;
|
|
39
44
|
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class IconSelectorComponent {
|
|
5
|
+
private sanitizer;
|
|
4
6
|
allIcons: [];
|
|
5
7
|
themeColor: string;
|
|
6
8
|
height: string;
|
|
7
9
|
tooltipPosition: string;
|
|
8
|
-
selectedIcon:
|
|
10
|
+
selectedIcon: any;
|
|
9
11
|
cdnIconURL: string;
|
|
10
12
|
label: string;
|
|
11
13
|
labelFont: string;
|
|
@@ -22,10 +24,12 @@ export declare class IconSelectorComponent {
|
|
|
22
24
|
filteredIcons: any[];
|
|
23
25
|
searchQuery: string;
|
|
24
26
|
showDropdown: boolean;
|
|
27
|
+
constructor(sanitizer: DomSanitizer);
|
|
25
28
|
ngOnInit(): void;
|
|
26
29
|
filterIcons(): void;
|
|
27
|
-
selectIcon(icon:
|
|
30
|
+
selectIcon(icon: any): void;
|
|
28
31
|
toggleDropdown(): void;
|
|
32
|
+
getSVG(icon: any): import("@angular/platform-browser").SafeHtml;
|
|
29
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconSelectorComponent, never>;
|
|
30
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<IconSelectorComponent, "nxt-icon-selector", never, { "allIcons": { "alias": "allIcons"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; "height": { "alias": "height"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "selectedIcon": { "alias": "selectedIcon"; "required": false; }; "cdnIconURL": { "alias": "cdnIconURL"; "required": false; }; "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; }; "labelColor": { "alias": "labelColor"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "required": { "alias": "required"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "question": { "alias": "question"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "iconSelected": "iconSelected"; }, never, never, true, never>;
|
|
31
35
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|