@rangertechnologies/ngnxt 2.2.5 → 2.2.6
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/package.json
CHANGED
|
Binary file
|
|
@@ -1294,6 +1294,16 @@ declare class QuestionnaireComponent implements OnInit {
|
|
|
1294
1294
|
static ɵcmp: i0.ɵɵComponentDeclaration<QuestionnaireComponent, "lib-questionnaire", never, { "qbId": { "alias": "qbId"; "required": false; }; "insuranceStartDate": { "alias": "insuranceStartDate"; "required": false; }; "serv": { "alias": "serv"; "required": false; }; "tkn": { "alias": "tkn"; "required": false; }; "api": { "alias": "api"; "required": false; }; "isEdit": { "alias": "isEdit"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; }, { "handleEvent": "handleEvent"; "handlePage": "handlePage"; "handleQuestion": "handleQuestion"; "handleBook": "handleBook"; "handleSubmit": "handleSubmit"; }, never, never, true, never>;
|
|
1295
1295
|
}
|
|
1296
1296
|
|
|
1297
|
+
type RuleType = 'calculation' | 'enablement' | 'filter' | 'validation' | 'visibility';
|
|
1298
|
+
interface RuleMeta {
|
|
1299
|
+
id?: string;
|
|
1300
|
+
expression?: string;
|
|
1301
|
+
type?: RuleType;
|
|
1302
|
+
order?: number;
|
|
1303
|
+
message?: string;
|
|
1304
|
+
targetField?: string;
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1297
1307
|
interface ActionMeta {
|
|
1298
1308
|
alignment?: string;
|
|
1299
1309
|
name?: string;
|
|
@@ -1307,6 +1317,17 @@ interface ActionMeta {
|
|
|
1307
1317
|
type?: any;
|
|
1308
1318
|
btnIconLeftSrc?: any;
|
|
1309
1319
|
isImageSvg?: any;
|
|
1320
|
+
enableConfirm?: boolean;
|
|
1321
|
+
visibilityRule?: string;
|
|
1322
|
+
rules?: RuleMeta[];
|
|
1323
|
+
positionPercent?: number;
|
|
1324
|
+
textColor?: string;
|
|
1325
|
+
bgColor?: string;
|
|
1326
|
+
borderColor?: string;
|
|
1327
|
+
endpoint?: string;
|
|
1328
|
+
method?: string;
|
|
1329
|
+
actionData?: any;
|
|
1330
|
+
updateParentData?: boolean;
|
|
1310
1331
|
[key: string]: any;
|
|
1311
1332
|
}
|
|
1312
1333
|
|
|
@@ -1507,7 +1528,7 @@ declare class BookletComponent implements OnInit, AfterViewInit {
|
|
|
1507
1528
|
constructor(dataService: DataService, changeService: ChangeService, http: HttpClient, translationService: TranslationService, ngZone: NgZone, cdr: ChangeDetectorRef);
|
|
1508
1529
|
ngOnInit(): void;
|
|
1509
1530
|
ngOnChanges(simplechanges: SimpleChanges): void;
|
|
1510
|
-
upgradeActions(actionString: string):
|
|
1531
|
+
upgradeActions(actionString: string): ActionMeta[];
|
|
1511
1532
|
private triggerProcessBooklet;
|
|
1512
1533
|
processBooklet(from?: any): Promise<void>;
|
|
1513
1534
|
getRefQbData(refqbid: string): Observable<any>;
|
|
@@ -1622,7 +1643,7 @@ declare class IconSelectorComponent {
|
|
|
1622
1643
|
}
|
|
1623
1644
|
|
|
1624
1645
|
interface FormElement {
|
|
1625
|
-
action
|
|
1646
|
+
action?: ActionMeta | any;
|
|
1626
1647
|
id: any;
|
|
1627
1648
|
type: string;
|
|
1628
1649
|
name: any;
|
|
@@ -1693,7 +1714,7 @@ declare class FormBuilderService {
|
|
|
1693
1714
|
intializeBook(book: any): void;
|
|
1694
1715
|
getRefQbData(refqbid: string): Observable<any>;
|
|
1695
1716
|
addElementWithId(): string;
|
|
1696
|
-
updateQuestionBookActionButtons(button:
|
|
1717
|
+
updateQuestionBookActionButtons(button: ActionMeta, action: 'add' | 'remove' | string): void;
|
|
1697
1718
|
newBook(): void;
|
|
1698
1719
|
clearElements(): void;
|
|
1699
1720
|
getElementComponent(): ElementComponent | null;
|
|
Binary file
|