@rangertechnologies/ngnxt 2.1.78 → 2.1.80
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/README.md +27 -30
- package/esm2022/lib/ar.i18n.mjs +29 -29
- package/esm2022/lib/components/custom-button/custom-button.component.mjs +39 -39
- package/esm2022/lib/components/custom-calendar/custom-calendar.component.mjs +366 -366
- package/esm2022/lib/components/custom-date/custom-date.component.mjs +47 -47
- package/esm2022/lib/components/custom-date-picker/custom-date-picker.component.mjs +48 -48
- package/esm2022/lib/components/custom-dropdown/custom-dropdown.component.mjs +219 -219
- package/esm2022/lib/components/custom-image/custom-image.component.mjs +34 -34
- package/esm2022/lib/components/custom-input/custom-input.component.mjs +93 -93
- package/esm2022/lib/components/custom-label/custom-label.component.mjs +21 -21
- package/esm2022/lib/components/custom-model/custom-model.component.mjs +48 -48
- package/esm2022/lib/components/custom-radio/custom-radio.component.mjs +115 -115
- package/esm2022/lib/components/custom-rich-text/custom-rich-text.component.mjs +156 -0
- package/esm2022/lib/components/custom-table/custom-table.component.mjs +169 -169
- package/esm2022/lib/components/custom-text-area/custom-text-area.component.mjs +65 -65
- package/esm2022/lib/components/custom-time/custom-time.component.mjs +61 -61
- package/esm2022/lib/components/dependent-table/dependent-table.component.mjs +42 -42
- package/esm2022/lib/components/dropdown-with-flag/dropdown-with-flag.component.mjs +39 -39
- package/esm2022/lib/components/file-upload/file-upload.component.mjs +233 -233
- package/esm2022/lib/components/file-view/file-view.component.mjs +46 -46
- package/esm2022/lib/components/loader/loader.component.mjs +23 -23
- package/esm2022/lib/components/pick-location/pick-location.component.mjs +188 -188
- package/esm2022/lib/components/search-box/search-box.component.mjs +130 -130
- package/esm2022/lib/components/table-appendix/table-appendix.component.mjs +123 -123
- package/esm2022/lib/directives/componenthost/componenthost.directive.mjs +19 -19
- package/esm2022/lib/en.i18n.mjs +29 -29
- package/esm2022/lib/i18n-config.service.mjs +4 -4
- package/esm2022/lib/i18n.component.mjs +47 -47
- package/esm2022/lib/i18n.module.mjs +38 -38
- package/esm2022/lib/i18n.pipe.mjs +25 -25
- package/esm2022/lib/i18n.service.mjs +56 -56
- package/esm2022/lib/interfaces/actionMeta.mjs +2 -2
- package/esm2022/lib/interfaces/apimeta.mjs +2 -2
- package/esm2022/lib/interfaces/dependencyMeta.mjs +2 -2
- package/esm2022/lib/model/bookletWrapper.mjs +9 -9
- package/esm2022/lib/model/changeWrapper.mjs +11 -11
- package/esm2022/lib/model/errorWrapper.mjs +6 -6
- package/esm2022/lib/model/tableWrapper.mjs +20 -20
- package/esm2022/lib/nxt-app.component.mjs +22 -22
- package/esm2022/lib/nxt-app.module.mjs +364 -352
- package/esm2022/lib/nxt-app.service.mjs +14 -14
- package/esm2022/lib/pages/booklet/booklet.component.mjs +540 -541
- package/esm2022/lib/pages/questionbook/questionbook.component.mjs +428 -407
- package/esm2022/lib/pages/questionnaire/questionnaire.component.mjs +2387 -2373
- package/esm2022/lib/pages/summary-page/summary-page.component.mjs +76 -76
- package/esm2022/lib/pipe/get-value.pipe.mjs +50 -50
- package/esm2022/lib/sample.mjs +3715 -3431
- package/esm2022/lib/services/change.service.mjs +53 -53
- package/esm2022/lib/services/data.service.mjs +80 -80
- package/esm2022/lib/services/salesforce.service.mjs +46 -46
- package/esm2022/lib/services/shared.service.mjs +100 -100
- package/esm2022/lib/services/storage.service.mjs +44 -44
- package/esm2022/lib/tam.i18n.mjs +29 -29
- package/esm2022/lib/wrapper.mjs +175 -175
- package/esm2022/public-api.mjs +15 -15
- package/esm2022/rangertechnologies-ngnxt.mjs +4 -4
- package/fesm2022/rangertechnologies-ngnxt.mjs +10306 -9830
- package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/ar.i18n.d.ts +24 -24
- package/lib/components/custom-button/custom-button.component.d.ts +16 -16
- package/lib/components/custom-calendar/custom-calendar.component.d.ts +65 -65
- package/lib/components/custom-date/custom-date.component.d.ts +18 -18
- package/lib/components/custom-date-picker/custom-date-picker.component.d.ts +19 -19
- package/lib/components/custom-dropdown/custom-dropdown.component.d.ts +39 -39
- package/lib/components/custom-image/custom-image.component.d.ts +13 -13
- package/lib/components/custom-input/custom-input.component.d.ts +31 -31
- package/lib/components/custom-label/custom-label.component.d.ts +10 -10
- package/lib/components/custom-model/custom-model.component.d.ts +19 -19
- package/lib/components/custom-radio/custom-radio.component.d.ts +33 -33
- package/lib/components/custom-rich-text/custom-rich-text.component.d.ts +29 -0
- package/lib/components/custom-table/custom-table.component.d.ts +43 -43
- package/lib/components/custom-text-area/custom-text-area.component.d.ts +22 -22
- package/lib/components/custom-time/custom-time.component.d.ts +18 -18
- package/lib/components/dependent-table/dependent-table.component.d.ts +15 -15
- package/lib/components/dropdown-with-flag/dropdown-with-flag.component.d.ts +16 -16
- package/lib/components/file-upload/file-upload.component.d.ts +42 -42
- package/lib/components/file-view/file-view.component.d.ts +16 -16
- package/lib/components/loader/loader.component.d.ts +11 -11
- package/lib/components/pick-location/pick-location.component.d.ts +42 -42
- package/lib/components/search-box/search-box.component.d.ts +40 -40
- package/lib/components/table-appendix/table-appendix.component.d.ts +30 -30
- package/lib/directives/componenthost/componenthost.directive.d.ts +8 -8
- package/lib/en.i18n.d.ts +24 -24
- package/lib/i18n-config.service.d.ts +2 -2
- package/lib/i18n.component.d.ts +11 -11
- package/lib/i18n.module.d.ts +9 -9
- package/lib/i18n.pipe.d.ts +10 -10
- package/lib/i18n.service.d.ts +14 -14
- package/lib/interfaces/actionMeta.d.ts +5 -5
- package/lib/interfaces/apimeta.d.ts +14 -14
- package/lib/interfaces/dependencyMeta.d.ts +8 -8
- package/lib/model/bookletWrapper.d.ts +5 -5
- package/lib/model/changeWrapper.d.ts +10 -10
- package/lib/model/errorWrapper.d.ts +5 -5
- package/lib/model/tableWrapper.d.ts +18 -18
- package/lib/nxt-app.component.d.ts +8 -8
- package/lib/nxt-app.module.d.ts +47 -46
- package/lib/nxt-app.service.d.ts +6 -6
- package/lib/pages/booklet/booklet.component.d.ts +68 -68
- package/lib/pages/questionbook/questionbook.component.d.ts +66 -66
- package/lib/pages/questionnaire/questionnaire.component.d.ts +220 -218
- package/lib/pages/summary-page/summary-page.component.d.ts +20 -20
- package/lib/pipe/get-value.pipe.d.ts +7 -7
- package/lib/sample.d.ts +11 -10
- package/lib/services/change.service.d.ts +22 -22
- package/lib/services/data.service.d.ts +13 -13
- package/lib/services/salesforce.service.d.ts +11 -11
- package/lib/services/shared.service.d.ts +15 -15
- package/lib/services/storage.service.d.ts +13 -13
- package/lib/tam.i18n.d.ts +24 -24
- package/lib/wrapper.d.ts +203 -203
- package/package.json +3 -3
- package/public-api.d.ts +10 -10
- package/rangertechnologies-ngnxt-2.1.80.tgz +0 -0
- package/rangertechnologies-ngnxt-2.1.78.tgz +0 -0
package/README.md
CHANGED
|
@@ -1,30 +1,27 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
npm i @rangertechnologies/ngnxt
|
|
4
|
-
|
|
5
|
-
If the installation is giving you an error try with npm i @rangertechnologies/ngnxt —force
|
|
6
|
-
|
|
7
|
-
Once the installation is successful, To check go to package.json file and search for @ranger you will get to see the below line with the latest version
|
|
8
|
-
|
|
9
|
-
"@rangertechnologies/ngnxt": "version_number",
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
nxtFormHandler
|
|
29
|
-
|
|
30
|
-
For more information, you can visit http://docs.rangernxt.com.s3-website-us-east-1.amazonaws.com/
|
|
1
|
+
# ngNXT
|
|
2
|
+
## Installation
|
|
3
|
+
`npm i @rangertechnologies/ngnxt --save`
|
|
4
|
+
|
|
5
|
+
If the installation is giving you an error try with npm i @rangertechnologies/ngnxt —force
|
|
6
|
+
|
|
7
|
+
Once the installation is successful, To check go to package.json file and search for @ranger you will get to see the below line with the latest version
|
|
8
|
+
|
|
9
|
+
"@rangertechnologies/ngnxt": "version_number",
|
|
10
|
+
|
|
11
|
+
## Usage Instructions
|
|
12
|
+
* Module Import
|
|
13
|
+
Import NxtAppModule in the ts component where you are going to use NxtApp. To import,
|
|
14
|
+
|
|
15
|
+
`import { NxtAppModule } from '@rangertechnologies/ngnxt';`
|
|
16
|
+
|
|
17
|
+
Add NxtAppModule under imports: [NxtAppModule]
|
|
18
|
+
|
|
19
|
+
* HTML Element
|
|
20
|
+
`<lib-booklet [bookletJSON]="nxtJSON" (handleBookletActionEvent)="nxtFormHandler($event)" ></lib-booklet>`
|
|
21
|
+
|
|
22
|
+
The values/actions you need to take care of
|
|
23
|
+
- nxtJSON
|
|
24
|
+
- nxtFormHandler
|
|
25
|
+
|
|
26
|
+
## Documentation
|
|
27
|
+
For more information, you can visit https://docs.rangernxt.com
|
package/esm2022/lib/ar.i18n.mjs
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
const arI18n = {
|
|
2
|
-
required: "مطلوب",
|
|
3
|
-
addMore: "أضف المزيد",
|
|
4
|
-
select: "يختار",
|
|
5
|
-
attachment: "مرفق",
|
|
6
|
-
chooseFiles: "اختر الملفات",
|
|
7
|
-
uploadFile: "رفع ملف",
|
|
8
|
-
thisFieldIsRequired: "هذه الخانة مطلوبه.",
|
|
9
|
-
pickYourLocation: "اختر موقعك",
|
|
10
|
-
// firstName: "الاسم الأول",
|
|
11
|
-
// lastName: "اسم العائلة",
|
|
12
|
-
// division: "قسم",
|
|
13
|
-
// numberPlate: "لوحة الأرقام",
|
|
14
|
-
calibrated: "معايرة",
|
|
15
|
-
enterValue: "أدخل القيمة",
|
|
16
|
-
details: "تفاصيل",
|
|
17
|
-
pleaseMakeChoice: "يرجى الاختيار",
|
|
18
|
-
attach: "يربط",
|
|
19
|
-
add: "يضيف",
|
|
20
|
-
zeroOfZero: "0 من 0",
|
|
21
|
-
selectDate: "حدد تاريخ",
|
|
22
|
-
toBuyTicket: "لشراء تذكرة",
|
|
23
|
-
pickLocation: "اختر الموقع",
|
|
24
|
-
enterLocation: "إدخال الدولة",
|
|
25
|
-
searchNearestLocation: "البحث عن أقرب موقع",
|
|
26
|
-
currentTheme: "rtl",
|
|
27
|
-
};
|
|
28
|
-
export default arI18n;
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
const arI18n = {
|
|
2
|
+
required: "مطلوب",
|
|
3
|
+
addMore: "أضف المزيد",
|
|
4
|
+
select: "يختار",
|
|
5
|
+
attachment: "مرفق",
|
|
6
|
+
chooseFiles: "اختر الملفات",
|
|
7
|
+
uploadFile: "رفع ملف",
|
|
8
|
+
thisFieldIsRequired: "هذه الخانة مطلوبه.",
|
|
9
|
+
pickYourLocation: "اختر موقعك",
|
|
10
|
+
// firstName: "الاسم الأول",
|
|
11
|
+
// lastName: "اسم العائلة",
|
|
12
|
+
// division: "قسم",
|
|
13
|
+
// numberPlate: "لوحة الأرقام",
|
|
14
|
+
calibrated: "معايرة",
|
|
15
|
+
enterValue: "أدخل القيمة",
|
|
16
|
+
details: "تفاصيل", // HA 20FEB24 PTW details to Details
|
|
17
|
+
pleaseMakeChoice: "يرجى الاختيار",
|
|
18
|
+
attach: "يربط",
|
|
19
|
+
add: "يضيف",
|
|
20
|
+
zeroOfZero: "0 من 0",
|
|
21
|
+
selectDate: "حدد تاريخ",
|
|
22
|
+
toBuyTicket: "لشراء تذكرة",
|
|
23
|
+
pickLocation: "اختر الموقع",
|
|
24
|
+
enterLocation: "إدخال الدولة",
|
|
25
|
+
searchNearestLocation: "البحث عن أقرب موقع",
|
|
26
|
+
currentTheme: "rtl",
|
|
27
|
+
};
|
|
28
|
+
export default arI18n;
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXIuaTE4bi5qcyIsInNvdXJjZVJ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IixcbiAgICBlbnRlckxvY2F0aW9uOiBcItil2K/Yrtin2YQg2KfZhNiv2YjZhNipXCIsXG4gICAgc2VhcmNoTmVhcmVzdExvY2F0aW9uOiBcItin2YTYqNit2Ksg2LnZhiDYo9mC2LHYqCDZhdmI2YLYuVwiLFxuICAgIGN1cnJlbnRUaGVtZTogXCJydGxcIixcbn1cblxuZXhwb3J0IGRlZmF1bHQgYXJJMThuOyJdfQ==
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class CustomButtonComponent {
|
|
4
|
-
// 08NOV23 - button input and outpts
|
|
5
|
-
height;
|
|
6
|
-
width;
|
|
7
|
-
textColor = '#fff';
|
|
8
|
-
buttonText;
|
|
9
|
-
value;
|
|
10
|
-
backgroundColor = '#007bff'; // Default background color
|
|
11
|
-
buttonValue = new EventEmitter();
|
|
12
|
-
constructor() { }
|
|
13
|
-
ngOnInit() {
|
|
14
|
-
}
|
|
15
|
-
handleClick(event) {
|
|
16
|
-
this.buttonValue.emit(event);
|
|
17
|
-
}
|
|
18
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
19
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
20
|
-
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
22
|
-
type: Component,
|
|
23
|
-
args: [{ selector: 'app-custom-button', template: "\
|
|
24
|
-
}], ctorParameters:
|
|
25
|
-
type: Input
|
|
26
|
-
}], width: [{
|
|
27
|
-
type: Input
|
|
28
|
-
}], textColor: [{
|
|
29
|
-
type: Input
|
|
30
|
-
}], buttonText: [{
|
|
31
|
-
type: Input
|
|
32
|
-
}], value: [{
|
|
33
|
-
type: Input
|
|
34
|
-
}], backgroundColor: [{
|
|
35
|
-
type: Input
|
|
36
|
-
}], buttonValue: [{
|
|
37
|
-
type: Output
|
|
38
|
-
}] } });
|
|
39
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class CustomButtonComponent {
|
|
4
|
+
// 08NOV23 - button input and outpts
|
|
5
|
+
height;
|
|
6
|
+
width;
|
|
7
|
+
textColor = '#fff';
|
|
8
|
+
buttonText;
|
|
9
|
+
value;
|
|
10
|
+
backgroundColor = '#007bff'; // Default background color
|
|
11
|
+
buttonValue = new EventEmitter();
|
|
12
|
+
constructor() { }
|
|
13
|
+
ngOnInit() {
|
|
14
|
+
}
|
|
15
|
+
handleClick(event) {
|
|
16
|
+
this.buttonValue.emit(event);
|
|
17
|
+
}
|
|
18
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CustomButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: CustomButtonComponent, selector: "app-custom-button", inputs: { height: "height", width: "width", textColor: "textColor", buttonText: "buttonText", value: "value", backgroundColor: "backgroundColor" }, outputs: { buttonValue: "buttonValue" }, ngImport: i0, template: "\n<!-- 08NOV23 - button html added-->\n<button \n[style.height]=\"height\" \n[style.color]=\"textColor\"\n[style.background-color]=\"backgroundColor\"\n[style.width]=\"width\" class=\"custom-button\"\n[value] =\"value\"\n(click)=\"handleClick(value)\"\n >{{ buttonText }}</button>\n", styles: [".custom-button{border:none;cursor:pointer;border-radius:5px;font-size:16px;font-size:14px}.custom-button:hover{background-color:#0056b3}\n"] });
|
|
20
|
+
}
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CustomButtonComponent, decorators: [{
|
|
22
|
+
type: Component,
|
|
23
|
+
args: [{ selector: 'app-custom-button', template: "\n<!-- 08NOV23 - button html added-->\n<button \n[style.height]=\"height\" \n[style.color]=\"textColor\"\n[style.background-color]=\"backgroundColor\"\n[style.width]=\"width\" class=\"custom-button\"\n[value] =\"value\"\n(click)=\"handleClick(value)\"\n >{{ buttonText }}</button>\n", styles: [".custom-button{border:none;cursor:pointer;border-radius:5px;font-size:16px;font-size:14px}.custom-button:hover{background-color:#0056b3}\n"] }]
|
|
24
|
+
}], ctorParameters: () => [], propDecorators: { height: [{
|
|
25
|
+
type: Input
|
|
26
|
+
}], width: [{
|
|
27
|
+
type: Input
|
|
28
|
+
}], textColor: [{
|
|
29
|
+
type: Input
|
|
30
|
+
}], buttonText: [{
|
|
31
|
+
type: Input
|
|
32
|
+
}], value: [{
|
|
33
|
+
type: Input
|
|
34
|
+
}], backgroundColor: [{
|
|
35
|
+
type: Input
|
|
36
|
+
}], buttonValue: [{
|
|
37
|
+
type: Output
|
|
38
|
+
}] } });
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tLWJ1dHRvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9ueHQtYXBwL3NyYy9saWIvY29tcG9uZW50cy9jdXN0b20tYnV0dG9uL2N1c3RvbS1idXR0b24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnh0LWFwcC9zcmMvbGliL2NvbXBvbmVudHMvY3VzdG9tLWJ1dHRvbi9jdXN0b20tYnV0dG9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBVSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBTy9FLE1BQU0sT0FBTyxxQkFBcUI7SUFDaEMscUNBQXF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