@rangertechnologies/ngnxt 2.1.251 → 2.1.252
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 +2 -2
- package/esm2022/lib/components/button/nxt-button.component.mjs +4 -4
- package/esm2022/lib/components/custom-calendar/custom-calendar.component.mjs +5 -8
- package/esm2022/lib/components/custom-dropdown/custom-dropdown.component.mjs +7 -8
- package/esm2022/lib/components/custom-model/custom-model.component.mjs +3 -5
- package/esm2022/lib/components/custom-radio/custom-radio.component.mjs +3 -3
- package/esm2022/lib/components/datatable/datatable.component.mjs +8 -7
- package/esm2022/lib/components/file-upload/file-upload.component.mjs +9 -9
- package/esm2022/lib/components/icon-selector/icon-selector.component.mjs +3 -4
- package/esm2022/lib/components/list-view-filter/list-view-filter.component.mjs +9 -9
- package/esm2022/lib/components/nxt-input/nxt-input.component.mjs +12 -24
- package/esm2022/lib/components/pagination/pagination.component.mjs +3 -3
- package/esm2022/lib/components/pick-location/pick-location.component.mjs +4 -5
- package/esm2022/lib/components/search-box/search-box.component.mjs +8 -10
- package/esm2022/lib/interfaces/apimeta.mjs +2 -0
- package/esm2022/lib/nxt-app.module.mjs +4 -4
- package/esm2022/lib/pages/booklet/booklet.component.mjs +56 -28
- package/esm2022/lib/pages/builder/element/element.component.mjs +10 -65
- package/esm2022/lib/pages/builder/form/form.component.mjs +3 -6
- package/esm2022/lib/pages/builder/properties/properties.component.mjs +78 -182
- package/esm2022/lib/pages/builder/templates/templates.component.mjs +4 -5
- package/esm2022/lib/pages/pdfDesigner/pdf-designer/pdf-designer.component.mjs +4 -5
- package/esm2022/lib/pages/pdfDesigner/pdf-properties/pdf-properties.component.mjs +45 -42
- package/esm2022/lib/pages/questionbook/questionbook.component.mjs +31 -12
- package/esm2022/lib/pages/questionnaire/questionnaire.component.mjs +8 -12
- package/esm2022/lib/pipe/custom-translate.pipe.mjs +10 -16
- package/esm2022/lib/services/change.service.mjs +46 -0
- package/esm2022/lib/services/country.service.mjs +135 -0
- package/esm2022/lib/services/data.service.mjs +100 -0
- package/esm2022/lib/services/form-builder.service.mjs +402 -0
- package/esm2022/lib/services/pdf-designer.service.mjs +398 -0
- package/esm2022/lib/services/salesforce.service.mjs +41 -0
- package/esm2022/lib/services/shared.service.mjs +100 -0
- package/esm2022/lib/services/storage.service.mjs +59 -0
- package/esm2022/lib/services/template.service.mjs +351 -0
- package/esm2022/lib/services/translation.service.mjs +61 -0
- package/esm2022/public-api.mjs +2 -2
- package/fesm2022/rangertechnologies-ngnxt.mjs +933 -1201
- package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
- package/lib/components/button/nxt-button.component.d.ts +1 -1
- package/lib/components/custom-calendar/custom-calendar.component.d.ts +1 -1
- package/lib/components/custom-dropdown/custom-dropdown.component.d.ts +2 -2
- package/lib/components/custom-radio/custom-radio.component.d.ts +2 -2
- package/lib/components/datatable/datatable.component.d.ts +3 -3
- package/lib/components/file-upload/file-upload.component.d.ts +2 -2
- package/lib/components/image-cropper/component/image-cropper.component.d.ts +1 -1
- package/lib/components/nxt-input/nxt-input.component.d.ts +2 -2
- package/lib/components/search-box/search-box.component.d.ts +4 -4
- package/lib/interfaces/apimeta.d.ts +15 -0
- package/lib/nxt-app.module.d.ts +1 -1
- package/lib/pages/booklet/booklet.component.d.ts +9 -9
- package/lib/pages/builder/element/element.component.d.ts +4 -10
- package/lib/pages/builder/form/form.component.d.ts +1 -2
- package/lib/pages/builder/properties/properties.component.d.ts +6 -33
- package/lib/pages/builder/templates/templates.component.d.ts +1 -1
- package/lib/pages/pdfDesigner/pdf-designer/pdf-designer.component.d.ts +1 -1
- package/lib/pages/pdfDesigner/pdf-properties/pdf-properties.component.d.ts +2 -19
- package/lib/pages/questionbook/questionbook.component.d.ts +8 -6
- package/lib/pages/questionnaire/questionnaire.component.d.ts +5 -6
- package/lib/pipe/custom-translate.pipe.d.ts +3 -2
- package/lib/services/{form-builder/form-builder.service.d.ts → form-builder.service.d.ts} +1 -2
- package/lib/services/{pdf-designer/pdf-designer.service.d.ts → pdf-designer.service.d.ts} +1 -1
- package/lib/services/{storage/storage.service.d.ts → storage.service.d.ts} +2 -2
- package/lib/services/{translation/translation.service.d.ts → translation.service.d.ts} +1 -12
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
- package/rangertechnologies-ngnxt-2.1.252.tgz +0 -0
- package/esm2022/lib/services/change/change.service.mjs +0 -46
- package/esm2022/lib/services/country/country.service.mjs +0 -135
- package/esm2022/lib/services/data/data.service.mjs +0 -100
- package/esm2022/lib/services/form-builder/form-builder.service.mjs +0 -485
- package/esm2022/lib/services/pdf-designer/pdf-designer.service.mjs +0 -398
- package/esm2022/lib/services/salesforce/salesforce.service.mjs +0 -41
- package/esm2022/lib/services/shared/shared.service.mjs +0 -100
- package/esm2022/lib/services/storage/storage.service.mjs +0 -59
- package/esm2022/lib/services/template/template.service.mjs +0 -351
- package/esm2022/lib/services/translation/translation.service.mjs +0 -121
- package/rangertechnologies-ngnxt-2.1.251.tgz +0 -0
- /package/lib/services/{change/change.service.d.ts → change.service.d.ts} +0 -0
- /package/lib/services/{country/country.service.d.ts → country.service.d.ts} +0 -0
- /package/lib/services/{data/data.service.d.ts → data.service.d.ts} +0 -0
- /package/lib/services/{salesforce/salesforce.service.d.ts → salesforce.service.d.ts} +0 -0
- /package/lib/services/{shared/shared.service.d.ts → shared.service.d.ts} +0 -0
- /package/lib/services/{template/template.service.d.ts → template.service.d.ts} +0 -0
|
@@ -10,7 +10,6 @@ export class FormComponent {
|
|
|
10
10
|
// bookletId: string = '123'; // Replace with your actual booklet ID
|
|
11
11
|
bookletJSON;
|
|
12
12
|
bookletId;
|
|
13
|
-
langOption;
|
|
14
13
|
formButtonHandler = new EventEmitter();
|
|
15
14
|
templateSaveHandler = new EventEmitter();
|
|
16
15
|
// Input data for app-properties
|
|
@@ -29,20 +28,18 @@ export class FormComponent {
|
|
|
29
28
|
this.templateSaveHandler.emit(event);
|
|
30
29
|
}
|
|
31
30
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
32
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FormComponent, isStandalone: true, selector: "app-form-builder", inputs: { bookletJSON: "bookletJSON", bookletId: "bookletId"
|
|
31
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FormComponent, isStandalone: true, selector: "app-form-builder", inputs: { bookletJSON: "bookletJSON", bookletId: "bookletId" }, outputs: { formButtonHandler: "formButtonHandler", templateSaveHandler: "templateSaveHandler" }, ngImport: i0, template: "<!-- AP-29JAN25 -->\n<div class=\"form-container \">\n <!-- app-element Component -->\n <!--AP-08APR25 Passes a boolean to indicate if a template is selected -->\n <app-element \n [bookletJSON]=\"bookletJSON\" \n [bookletId]=\"bookletId\"\n (templateMode)=\"onTemplateModeChange($event)\">\n </app-element>\n <!-- app-properties Component -->\n <!-- AP-08APR25 Emits an event when the template mode -->\n <app-properties \n (formButtonHandler)=\"formButtonHandlerClick($event)\"\n (templateSaveHandler)=\"saveTemplate($event)\"\n [templateSelected]=\"isTemplateSelected\">\n </app-properties>\n \n ", styles: [".form-container{display:flex;flex-wrap:wrap;border:10px solid #86A8CD}app-element{width:75%}app-properties{border-left:10px solid #86A8CD;width:25%}:host ::ng-deep .questiondiv1{padding-left:0!important;padding-right:0!important}:host ::ng-deep .form-group.content-box{padding-bottom:0!important}\n"], dependencies: [{ kind: "component", type: PropertiesComponent, selector: "app-properties", inputs: ["templateSelected", "selectedElementType"], outputs: ["formButtonHandler", "templateSaveHandler"] }, { kind: "ngmodule", type: CommonModule }, { kind: "component", type: ElementComponent, selector: "app-element", inputs: ["bookletJSON", "bookletId"], outputs: ["templateMode"] }] });
|
|
33
32
|
}
|
|
34
33
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormComponent, decorators: [{
|
|
35
34
|
type: Component,
|
|
36
|
-
args: [{ selector: 'app-form-builder', standalone: true, imports: [PropertiesComponent, CommonModule, ElementComponent], template: "<!-- AP-29JAN25 -->\n<div class=\"form-container \">\n <!-- app-element Component -->\n <!--AP-08APR25 Passes a boolean to indicate if a template is selected -->\n <app-element \n [
|
|
35
|
+
args: [{ selector: 'app-form-builder', standalone: true, imports: [PropertiesComponent, CommonModule, ElementComponent], template: "<!-- AP-29JAN25 -->\n<div class=\"form-container \">\n <!-- app-element Component -->\n <!--AP-08APR25 Passes a boolean to indicate if a template is selected -->\n <app-element \n [bookletJSON]=\"bookletJSON\" \n [bookletId]=\"bookletId\"\n (templateMode)=\"onTemplateModeChange($event)\">\n </app-element>\n <!-- app-properties Component -->\n <!-- AP-08APR25 Emits an event when the template mode -->\n <app-properties \n (formButtonHandler)=\"formButtonHandlerClick($event)\"\n (templateSaveHandler)=\"saveTemplate($event)\"\n [templateSelected]=\"isTemplateSelected\">\n </app-properties>\n \n ", styles: [".form-container{display:flex;flex-wrap:wrap;border:10px solid #86A8CD}app-element{width:75%}app-properties{border-left:10px solid #86A8CD;width:25%}:host ::ng-deep .questiondiv1{padding-left:0!important;padding-right:0!important}:host ::ng-deep .form-group.content-box{padding-bottom:0!important}\n"] }]
|
|
37
36
|
}], propDecorators: { bookletJSON: [{
|
|
38
37
|
type: Input
|
|
39
38
|
}], bookletId: [{
|
|
40
39
|
type: Input
|
|
41
|
-
}], langOption: [{
|
|
42
|
-
type: Input
|
|
43
40
|
}], formButtonHandler: [{
|
|
44
41
|
type: Output
|
|
45
42
|
}], templateSaveHandler: [{
|
|
46
43
|
type: Output
|
|
47
44
|
}] } });
|
|
48
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290I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