@bnsights/bbsf-controls 1.0.24 → 1.0.27
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/bnsights-bbsf-controls-1.0.27.tgz +0 -0
- package/bnsights-bbsf-controls.d.ts +0 -23
- package/bnsights-bbsf-controls.metadata.json +1 -1
- package/bundles/bnsights-bbsf-controls.umd.js +1145 -220
- package/bundles/bnsights-bbsf-controls.umd.js.map +1 -1
- package/esm2015/bnsights-bbsf-controls.js +1 -24
- package/esm2015/lib/Shared/Directives/template-name.directive.js +18 -0
- package/esm2015/lib/Shared/Enums/Enums.js +45 -0
- package/esm2015/lib/Shared/Models/RepeaterField.js +3 -0
- package/esm2015/lib/Shared/Models/RepeaterOptions.js +10 -0
- package/esm2015/lib/Shared/services/render-component-service.service.js +19 -0
- package/esm2015/lib/controls/DropdownList/DropdownList.component.js +2 -2
- package/esm2015/lib/controls/ImageUpload/ImageUpload.component.js +6 -3
- package/esm2015/lib/controls/Paging/Paging.component.js +2 -2
- package/esm2015/lib/controls/Repeater/repeater/repeater.component.js +112 -0
- package/esm2015/lib/controls/Repeater/repeater-field-builder/repeater-field-builder.component.js +704 -0
- package/esm2015/lib/controls/Repeater/repeater-item-field/repeater-item-field.component.js +20 -0
- package/esm2015/lib/controls/TextBox/TextBox.component.js +1 -1
- package/esm2015/lib/controls/bbsf-controls.module.js +17 -10
- package/esm2015/public-api.js +32 -23
- package/fesm2015/bnsights-bbsf-controls.js +1087 -186
- package/fesm2015/bnsights-bbsf-controls.js.map +1 -1
- package/lib/Shared/Directives/template-name.directive.d.ts +6 -0
- package/lib/Shared/Enums/Enums.d.ts +40 -0
- package/lib/Shared/Models/RepeaterField.d.ts +5 -0
- package/lib/Shared/Models/RepeaterOptions.d.ts +13 -0
- package/lib/Shared/services/render-component-service.service.d.ts +7 -0
- package/lib/controls/Repeater/repeater/repeater.component.d.ts +25 -0
- package/lib/controls/Repeater/repeater-field-builder/repeater-field-builder.component.d.ts +17 -0
- package/lib/controls/Repeater/repeater-item-field/repeater-item-field.component.d.ts +8 -0
- package/package.json +1 -1
- package/public-api.d.ts +31 -0
- package/bnsights-bbsf-controls-1.0.24.tgz +0 -0
|
@@ -2256,7 +2256,7 @@
|
|
|
2256
2256
|
{ type: i0.Component, args: [{
|
|
2257
2257
|
// tslint:disable-next-line: component-selector
|
|
2258
2258
|
selector: 'BBSF-DropdownList',
|
|
2259
|
-
template: "<div class=\"b-control b-dropdown-list\">\r\n <div class=\"form-group row validate is-invalid\" [formGroup]=\"group\">\r\n <label class=\"b-label col-form-label col-sm-12 \" [ngClass]=\"(options.ViewType==1)?'col-md-12':'col-md-3'\"\r\n [hidden]=\"options.HideLabel\">\r\n {{options.LabelValue}}\r\n <span *ngIf=\"(options.ShowAsterisk&&options.IsRequired)||(options.IsRequired)\" class=\"text-danger Required-text\"\r\n aria-required=\"true\">*</span>\r\n </label>\r\n\r\n <div class=\"col-sm-12\" [ngClass]=\"(options.ViewType==1)?'':'col-md-9'\">\r\n <ng-select *ngIf=\"options.DisableBootstrapSelect==false\" dir=\"{{options.ForceDirection==2?'rtl':''}}\"\r\n [bindValue]=\"options.ItemTempletkey\" [bindLabel]=\"options.ItemTempletvalue\" [items]=\"options.DataSource\"\r\n [notFoundText]=\"'No data found.'\" [maxSelectedItems]=\"options.LimitSelection\"\r\n [searchable]=\"options.AllowSearchFilter\" [multiple]=\"!options.SingleSelection\" [readonly]=\"options.IsDisabled\"\r\n [
|
|
2259
|
+
template: "<div class=\"b-control b-dropdown-list\">\r\n <div class=\"form-group row validate is-invalid\" [formGroup]=\"group\">\r\n <label class=\"b-label col-form-label col-sm-12 \" [ngClass]=\"(options.ViewType==1)?'col-md-12':'col-md-3'\"\r\n [hidden]=\"options.HideLabel\">\r\n {{options.LabelValue}}\r\n <span *ngIf=\"(options.ShowAsterisk&&options.IsRequired)||(options.IsRequired)\" class=\"text-danger Required-text\"\r\n aria-required=\"true\">*</span>\r\n </label>\r\n\r\n <div class=\"col-sm-12\" [ngClass]=\"(options.ViewType==1)?'':'col-md-9'\">\r\n <ng-select *ngIf=\"options.DisableBootstrapSelect==false\" dir=\"{{options.ForceDirection==2?'rtl':''}}\"\r\n [bindValue]=\"options.ItemTempletkey\" [bindLabel]=\"options.ItemTempletvalue\" [items]=\"options.DataSource\"\r\n [notFoundText]=\"'No data found.'\" [maxSelectedItems]=\"options.LimitSelection\"\r\n [searchable]=\"options.AllowSearchFilter\" [multiple]=\"!options.SingleSelection\" [readonly]=\"options.IsDisabled\"\r\n [clearable]=\"true\" placeholder=\"{{options.Placeholder}}\" id=\"{{options.Name}}\"\r\n [selectableGroup]=\"true\" [selectableGroupAsModel]=\"false\" formControlName=\"{{options.Name}}\"\r\n [(ngModel)]=\"options.SelectedItems\" (change)=\"onItemSelect($event[options.ItemTempletkey])\" (clear)=\"Clear()\"\r\n [class.is-invalid]=\"DropdownListFormControl.invalid && DropdownListFormControl.touched\"\r\n [closeOnSelect]=\"options.SingleSelection ? true : false\">\r\n\r\n <ng-template *ngIf=\"options.ShowCheckbox\" ng-option-tmp let-item=\"item\" let-item$=\"item$\" let-index=\"index\">\r\n <div class=\"ks-cboxtags\">\r\n <input id=\"item-{{index}}\" type=\"checkbox\" [ngModelOptions]=\"{standalone: true}\" [ngModel]=\"item$.selected\"\r\n class=\" \" /> <label class=\"ng-option-label mb-0\" id={{item.key}}>{{item.value}}</label>\r\n </div>\r\n </ng-template>\r\n\r\n <ng-template *ngIf=\"!options.ShowCheckbox\" ng-option-tmp let-item=\"item\" let-item$=\"item$\" let-index=\"index\">\r\n <label class=\"ng-option-label mb-0\" id={{item.key}}>{{item.value}}</label>\r\n </ng-template>\r\n\r\n </ng-select>\r\n\r\n <select *ngIf=\"options.DisableBootstrapSelect\" class=\"form-control bnsights-control\"\r\n dir=\"{{options.ForceDirection==2?'rtl':''}}\" (change)=\"onItemSelect($event.target.value)\"\r\n [disabled]=\"options.IsDisabled\" formControlName=\"{{options.Name}}\">\r\n <option value=\"\" disabled>--select--</option>\r\n <option *ngFor=\"let item of options.DataSource\" value=\"{{item.key}}\" [ngValue]=\"item.key\">\r\n {{item.value}}\r\n </option>\r\n </select>\r\n\r\n <div class=\"text-danger Required-text\"\r\n *ngIf=\"(DropdownListFormControl.invalid && DropdownListFormControl.touched)\">\r\n {{getErrorValidation(DropdownListFormControl.errors|keyvalue)}}\r\n </div>\r\n\r\n <div class=\"d-flex justify-content-between align-items-center\">\r\n <div class=\"control-desc\">{{options.LabelDescription}}</div>\r\n </div>\r\n\r\n <!-- <div *ngIf=\"DropdownListFormControl.valid\">{{resetError()}}</div> -->\r\n <div *ngIf=\"(group.valid&&group.dirty&&group.touched )||(group.untouched&&group.invalid&&group.dirty) \">\r\n {{resetError()}}</div>\r\n\r\n\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
2260
2260
|
styles: [".cuppa-dropdown{background-color:#fff}.arrow-up,.arrow-down{border-left:none!important;border-right:none!important}.dropdown-list{padding-top:0!important}.c-token{background-color:#6495ed}.pure-checkbox .selected-item{background-color:#6495ed;color:#fff}\n"]
|
|
2261
2261
|
},] }
|
|
2262
2262
|
];
|
|
@@ -3167,7 +3167,7 @@
|
|
|
3167
3167
|
this.FileLikeObject = new ng2FileUpload.FileLikeObject({
|
|
3168
3168
|
name: element.FileName,
|
|
3169
3169
|
size: element.FileSizeInMB * 1000 * 1000,
|
|
3170
|
-
type: element.FileType
|
|
3170
|
+
type: element.FileType,
|
|
3171
3171
|
});
|
|
3172
3172
|
this.uploader.addToQueue([this.FileLikeObject]);
|
|
3173
3173
|
}
|
|
@@ -3191,6 +3191,8 @@
|
|
|
3191
3191
|
}
|
|
3192
3192
|
this.group.addControl(this.options.Name, new forms.FormControl(''));
|
|
3193
3193
|
this.ImageUploadFormControl = this.group.controls[this.options.Name]; // new FormControl('',validationRules);
|
|
3194
|
+
if (this.options.Value != null)
|
|
3195
|
+
this.group.get(this.options.Name).setValue(this.options.Value);
|
|
3194
3196
|
if (this.options.LabelKey != null && this.options.LabelKey != "")
|
|
3195
3197
|
this.options.LabelValue = this.UtilityService.getResourceValue(this.options.LabelKey);
|
|
3196
3198
|
if (this.options.CustomValidation.length > 0) {
|
|
@@ -3343,6 +3345,7 @@
|
|
|
3343
3345
|
FileType: _this.EventFile.type,
|
|
3344
3346
|
FileBase64: reader.result.toString().split(',')[1],
|
|
3345
3347
|
FileSizeInMB: ((BlobFile.size / 1000) / 1000),
|
|
3348
|
+
NameWithExtension: _this.EventFile.name
|
|
3346
3349
|
};
|
|
3347
3350
|
BlobFile.name = _this.EventFile.name;
|
|
3348
3351
|
FilesArray.push(FileObject);
|
|
@@ -3370,7 +3373,7 @@
|
|
|
3370
3373
|
ImageUploaderComponent.decorators = [
|
|
3371
3374
|
{ type: i0.Component, args: [{
|
|
3372
3375
|
selector: 'BBSF-ImageUpload',
|
|
3373
|
-
template: "<div class=\"b-control b-image-upload\">\r\n <div class=\"form-group row validate is-invalid\" [formGroup]=\"group\">\r\n <label class=\"b-label col-form-label col-sm-12 \" [ngClass]=\"(options.ViewType==1)?'col-md-12':'col-md-3'\" [hidden]=\"options.HideLabel\">\r\n {{options.LabelValue}}\r\n <span *ngIf=\"(options.ShowAsterisk&&options.IsRequired)||(options.IsRequired)\" class=\"text-danger Required-text\" aria-required=\"true\">*</span>\r\n\r\n <ejs-tooltip id=\"tooltip\" content='{{ValidationMessage}}' tipPointerPosition='Middle'>\r\n <i class=\"fa fa-info-circle\" data-plugin=\"tooltip\" data-html=\"true\">\r\n </i>\r\n </ejs-tooltip>\r\n </label>\r\n\r\n <div class=\"col-sm-12\" [ngClass]=\"(options.ViewType==1)?'':'col-md-9'\">\r\n\r\n <div *ngIf=\"options.AllowDropZone\" style=\"max-width:200px !important; max-height: 200px !important;\" class=\"d-inline-flex h-auto w-auto overflow-hidden m-0 {{options.ExtraClasses}}\" ngx-dropzone [disabled]=\"options.IsDisabled\" [accept]=\"AcceptedType\" [multiple]=\"options.IsMultiple\"\r\n (change)=\"onFileChange($event)\" aria-describedby=\"email-error\" aria-invalid=\"true\" ngDefaultControl formControlName=\"{{options.Name}}\" [maxFileSize]=\"options.FileMaxSizeInMB\"\r\n id=\"{{options.Name}}\" [class.is-invalid]=\"ImageUploadFormControl.invalid && ImageUploadFormControl.touched\">\r\n <ngx-dropzone-label class=\"h-100 m-0\" style=\"max-width: 200px !important;\">\r\n <div class=\"h-100\">\r\n <img [src]=\"ImageSource\" class=\"h-100 w-100\" />\r\n </div>\r\n </ngx-dropzone-label>\r\n\r\n\r\n <ngx-dropzone-image-preview style=\"max-width:200px !important; max-height: 200px !important;\" *ngFor=\"let f of files\" [file]=\"f\" [removable]=\"true\" (removed)=\"removeFromControlValue(f)\"\r\n ngProjectAs=\"ngx-dropzone-preview\" class=\"b-img-preview w-100 h-100 m-0\">\r\n </ngx-dropzone-image-preview>\r\n </div>\r\n\r\n <div class=\"ImageUploadClassSelector\" *ngIf=\"!options.AllowDropZone\" >\r\n <ngx-dropzone-label class=\"h-100 m-0\" *ngIf=\"files.length==0\" >\r\n <div style=\"max-width:200px !important; max-height: 200px !important;\" class=\"h-100 file-fake-input\" #element (click)=\"showImageUploader(element)\">\r\n <img [src]=\"ImageSource\" class=\"h-100 w-100\" />\r\n </div
|
|
3376
|
+
template: "<div class=\"b-control b-image-upload\">\r\n <div class=\"form-group row validate is-invalid\" [formGroup]=\"group\">\r\n <label class=\"b-label col-form-label col-sm-12 \" [ngClass]=\"(options.ViewType==1)?'col-md-12':'col-md-3'\" [hidden]=\"options.HideLabel\">\r\n {{options.LabelValue}}\r\n <span *ngIf=\"(options.ShowAsterisk&&options.IsRequired)||(options.IsRequired)\" class=\"text-danger Required-text\" aria-required=\"true\">*</span>\r\n\r\n <ejs-tooltip id=\"tooltip\" content='{{ValidationMessage}}' tipPointerPosition='Middle'>\r\n <i class=\"fa fa-info-circle\" data-plugin=\"tooltip\" data-html=\"true\">\r\n </i>\r\n </ejs-tooltip>\r\n </label>\r\n\r\n <div class=\"col-sm-12\" [ngClass]=\"(options.ViewType==1)?'':'col-md-9'\">\r\n\r\n <div *ngIf=\"options.AllowDropZone\" style=\"max-width:200px !important; max-height: 200px !important;\" class=\"d-inline-flex h-auto w-auto overflow-hidden m-0 {{options.ExtraClasses}}\" ngx-dropzone [disabled]=\"options.IsDisabled\" [accept]=\"AcceptedType\" [multiple]=\"options.IsMultiple\"\r\n (change)=\"onFileChange($event)\" aria-describedby=\"email-error\" aria-invalid=\"true\" ngDefaultControl formControlName=\"{{options.Name}}\" [maxFileSize]=\"options.FileMaxSizeInMB\"\r\n id=\"{{options.Name}}\" [class.is-invalid]=\"ImageUploadFormControl.invalid && ImageUploadFormControl.touched\">\r\n <ngx-dropzone-label class=\"h-100 m-0\" style=\"max-width: 200px !important;\">\r\n <div class=\"h-100\">\r\n <img [src]=\"ImageSource\" class=\"h-100 w-100\" />\r\n </div>\r\n </ngx-dropzone-label>\r\n\r\n\r\n <ngx-dropzone-image-preview style=\"max-width:200px !important; max-height: 200px !important;\" *ngFor=\"let f of files\" [file]=\"f\" [removable]=\"true\" (removed)=\"removeFromControlValue(f)\"\r\n ngProjectAs=\"ngx-dropzone-preview\" class=\"b-img-preview w-100 h-100 m-0\">\r\n </ngx-dropzone-image-preview>\r\n </div>\r\n\r\n <div class=\"ImageUploadClassSelector\" *ngIf=\"!options.AllowDropZone\" >\r\n <ngx-dropzone-label class=\"h-100 m-0\" *ngIf=\"files.length==0\" >\r\n <div style=\"max-width:200px !important; max-height: 200px !important;\" class=\"h-100 file-fake-input\" #element (click)=\"showImageUploader(element)\">\r\n <img [src]=\"ImageSource\" class=\"h-100 w-100\" />\r\n </div>\r\n </ngx-dropzone-label>\r\n\r\n <div style=\"border: none !important; max-width:200px !important; max-height: 200px !important;\" class=\" fileSelector customImageUploadPlacment d-inline-flex h-auto w-auto overflow-hidden m-0 {{options.ExtraClasses}}\" ngx-dropzone [disabled]=\"options.IsDisabled\" [accept]=\"AcceptedType\" [multiple]=\"options.IsMultiple\"\r\n (change)=\"onFileChange($event)\" aria-describedby=\"email-error\" aria-invalid=\"true\" ngDefaultControl formControlName=\"{{options.Name}}\" [maxFileSize]=\"options.FileMaxSizeInMB\"\r\n id=\"{{options.Name}}\" [class.is-invalid]=\"ImageUploadFormControl.invalid && ImageUploadFormControl.touched\">\r\n \r\n\r\n\r\n <ngx-dropzone-image-preview style=\"max-width:200px !important; max-height: 200px !important;\" *ngFor=\"let f of files\" [file]=\"f\" [removable]=\"true\" (removed)=\"removeFromControlValue(f)\"\r\n ngProjectAs=\"ngx-dropzone-preview\" class=\"b-img-preview w-100 h-100 m-0\">\r\n </ngx-dropzone-image-preview>\r\n </div>\r\n </div>\r\n\r\n\r\n <div id=\"mdlSample\" class=\"modal fade\" role=\"dialog\" style=\"z-index: 11 !important ;\"\r\n [ngStyle]=\"{'display': mdlSampleIsOpen ? 'block' : 'none', 'opacity': 1}\">\r\n <div class=\"modal-dialog modal-lg\">\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <h4 class=\"modal-title\">\r\n Crop Image\r\n </h4>\r\n </div>\r\n <div class=\"modal-body py-5\">\r\n <div *ngIf=\"imageUrl\">\r\n <angular-cropper #angularCropper [cropperOptions]=\"config\" [imageUrl]=\"imageUrl\">\r\n </angular-cropper>\r\n <img [src]=\"imgwUrl\" />\r\n </div>\r\n <div style=\"text-align:center;\">\r\n <div class=\"btn-group\">\r\n <button type=\"button\" (click)=\"zoomImage(0.1)\" class=\"btn btn-default\" data-method=\"zoom\" data-option=\"0.1\" title=\"Zoom In\">\r\n <span class=\"docs-tooltip\" data-toggle=\"tooltip\" title=\"\" data-original-title=\"cropper.zoom(0.1)\">\r\n <span class=\"fa fa-search-plus\"></span>\r\n </span>\r\n </button>\r\n <button type=\"button\" (click)=\"zoomImage(-0.1)\" class=\"btn btn-default\" data-method=\"zoom\" data-option=\"-0.1\" title=\"Zoom Out\">\r\n <span class=\"docs-tooltip\" data-toggle=\"tooltip\" title=\"\" data-original-title=\"cropper.zoom(-0.1)\">\r\n <span class=\"fa fa-search-minus\"></span>\r\n </span>\r\n </button>\r\n </div>\r\n <div class=\"btn-group\">\r\n <button type=\"button\" (click)=\"moveImage(-10,0)\" class=\"btn btn-default\" data-method=\"move\" data-option=\"-10\" data-second-option=\"0\" title=\"Move Left\">\r\n <span class=\"docs-tooltip\" data-toggle=\"tooltip\" title=\"\" data-original-title=\"cropper.move(-10, 0)\" aria-describedby=\"tooltip631939\">\r\n <span class=\"fa fa-arrow-left\"></span>\r\n </span>\r\n </button>\r\n <button type=\"button\" (click)=\"moveImage(10,0)\" class=\"btn btn-default\" data-method=\"move\" data-option=\"10\" data-second-option=\"0\" title=\"Move Right\">\r\n <span class=\"docs-tooltip\" data-toggle=\"tooltip\" title=\"\" data-original-title=\"cropper.move(10, 0)\">\r\n <span class=\"fa fa-arrow-right\"></span>\r\n </span>\r\n </button>\r\n <button type=\"button\" (click)=\"moveImage(0,-10)\" class=\"btn btn-default\" data-method=\"move\" data-option=\"0\" data-second-option=\"-10\" title=\"Move Up\">\r\n <span class=\"docs-tooltip\" data-toggle=\"tooltip\" title=\"\" data-original-title=\"cropper.move(0, -10)\">\r\n <span class=\"fa fa-arrow-up\"></span>\r\n </span>\r\n </button>\r\n <button type=\"button\" (click)=\"moveImage(0,10)\" class=\"btn btn-default\" data-method=\"move\" data-option=\"0\" data-second-option=\"10\" title=\"Move Down\">\r\n <span class=\"docs-tooltip\" data-toggle=\"tooltip\" title=\"\" data-original-title=\"cropper.move(0, 10)\">\r\n <span class=\"fa fa-arrow-down\"></span>\r\n </span>\r\n </button>\r\n </div>\r\n <div class=\"btn-group\">\r\n <button type=\"button\" (click)=\"rotateImage(-45)\" class=\"btn btn-default\" data-method=\"rotate\" data-option=\"-45\" title=\"Rotate Left\">\r\n <span class=\"docs-tooltip\" data-toggle=\"tooltip\" title=\"\" data-original-title=\"cropper.rotate(-45)\" aria-describedby=\"tooltip236044\">\r\n <span class=\"fa fa-undo-alt\"></span>\r\n </span>\r\n </button>\r\n <button type=\"button\" (click)=\"rotateImage(45)\" class=\"btn btn-default\" data-method=\"rotate\" data-option=\"45\" title=\"Rotate Right\">\r\n <span class=\"docs-tooltip\" data-toggle=\"tooltip\" title=\"\" data-original-title=\"cropper.rotate(45)\">\r\n <span class=\"fa fa-redo-alt\"></span>\r\n </span>\r\n </button>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n <div class=\"modal-footer\" align=\"right\">\r\n <button type=\"button\" id=\"btnClose\" class=\"btn btn-default\" (click)=\"openModal(false)\">\r\n <i class=\"fa fa-times fa-fw\"></i> Cancel\r\n </button>\r\n <button type=\"button\" (click)=\"cropImage()\" id=\"btnOK\" class=\"btn btn-success\">\r\n <i class=\"fa fa-check fa-fw\"></i>\r\n Crop\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"text-danger Required-text\"\r\n *ngIf=\"(ImageUploadFormControl.invalid && ImageUploadFormControl.touched)\">\r\n {{getErrorValidation(ImageUploadFormControl.errors|keyvalue)}}\r\n </div>\r\n\r\n <div class=\"d-flex justify-content-between align-items-center\">\r\n <div class=\"control-desc text-dark\">{{options.LabelDescription}}</div>\r\n </div>\r\n\r\n <div *ngIf=\"(group.valid&&group.dirty&&group.touched )||(group.untouched&&group.invalid&&group.dirty) \">{{resetError()}}</div>\r\n\r\n </div>\r\n\r\n </div>\r\n</div>\r\n",
|
|
3374
3377
|
styles: [".e-tip-content{background-color:#afafaf;color:#fff;padding-left:10px;padding-right:10px;padding-top:2px}.my-drop-zone{border:dotted 3px lightgray}.nv-file-over{border:dotted 3px red}.another-file-over-class{border:dotted 3px green}html,body{height:100%}.modal{display:none;position:fixed;z-index:1;padding-top:100px;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:#000;background-color:#0006}.modal-content{position:relative;background-color:#fefefe;margin:auto;padding:0;border:1px solid #888;width:80%;box-shadow:0 4px 8px #0003,0 6px 20px #00000030;-webkit-animation-name:animatetop;-webkit-animation-duration:.4s;animation-name:animatetop;animation-duration:.4s}@keyframes animatetop{0%{top:-300px;opacity:0}to{top:0;opacity:1}}.close{color:#fff;float:right;font-size:28px;font-weight:bold}.ImageUploadClassSelector img{cursor:pointer}.d-inline-flex.h-auto.m-0.overflow-hidden.w-auto.ng-untouched.ng-pristine.ng-valid{border-radius:40px;border-color:#c7c7c7}\n"]
|
|
3375
3378
|
},] }
|
|
3376
3379
|
];
|
|
@@ -4442,7 +4445,7 @@
|
|
|
4442
4445
|
PagingComponent.decorators = [
|
|
4443
4446
|
{ type: i0.Component, args: [{
|
|
4444
4447
|
selector: 'BBSF-Paging',
|
|
4445
|
-
template: "<div class=\"b-control b-paging\" *ngIf=\"(result.length > 0)\">\r\n <div class=\"d-flex justify-content-between align-items-center\" *ngIf=\"!options.IsLoadMoreControl\">\r\n <div class=\"b-pagination\">\r\n <jw-pagination [items]=\"items\" *ngIf=\"!((Pages==1)&&options.HidePaginationWhenPageSizeEqualOne)\"\r\n (changePage)=\"onChangePage($event)\" [pageSize]=\"options.PageSize\" [ShowFirstAndLast]=\"options.ShowFirstAndLast\"\r\n [initialPage]=\"1\" [maxPages]=\"10\"></jw-pagination>\r\n </div>\r\n <div class=\"b-pages d-flex\" *ngIf=\"!((Pages==1)&&options.HidePaginationWhenPageSizeEqualOne)\" >\r\n <select (change)=\"changePageSize($event)\" *ngIf=\"options.ShowPageSizeOption\">\r\n <option>10</option>\r\n <option>20</option>\r\n <option>50</option>\r\n <option>100</option>\r\n <option>200</option>\r\n </select>\r\n <div class=\"b-items ml-3\">\r\n <strong>{{totalRow}}</strong> {{utilityService.getResourceValue(\"ItemsIn\")}} <strong> {{Pages}}</strong> {{utilityService.getResourceValue(\"Pages\")}}\r\n </div>\r\n </div>\r\n </div>\r\n \r\n <div class=\"row\" style=\"align-self:center; align-items: center; text-align: center;\" *ngIf=\"options.IsLoadMoreControl\">\r\n <div class=\"search-results\" infinite-scroll [infiniteScrollDistance]=\"ScrollDistance\"\r\n [infiniteScrollUpDistance]=\"ScrollUpDistance\" [infiniteScrollThrottle]=\"Throttle\" (scrolled)=\"options.IsInfiniteScroll==true?onScrollDown():null\"\r\n [scrollWindow]=\"options.ScrollWindow\" [infiniteScrollContainer]=\"options.InfiniteScrollContainer\">\r\n </div>\r\n <button class=\"btn btn-
|
|
4448
|
+
template: "<div class=\"b-control b-paging\" *ngIf=\"(result.length > 0)\">\r\n <div class=\"d-flex justify-content-between align-items-center\" *ngIf=\"!options.IsLoadMoreControl\">\r\n <div class=\"b-pagination\">\r\n <jw-pagination [items]=\"items\" *ngIf=\"!((Pages==1)&&options.HidePaginationWhenPageSizeEqualOne)\"\r\n (changePage)=\"onChangePage($event)\" [pageSize]=\"options.PageSize\" [ShowFirstAndLast]=\"options.ShowFirstAndLast\"\r\n [initialPage]=\"1\" [maxPages]=\"10\"></jw-pagination>\r\n </div>\r\n <div class=\"b-pages d-flex\" *ngIf=\"!((Pages==1)&&options.HidePaginationWhenPageSizeEqualOne)\" >\r\n <select (change)=\"changePageSize($event)\" *ngIf=\"options.ShowPageSizeOption\">\r\n <option>10</option>\r\n <option>20</option>\r\n <option>50</option>\r\n <option>100</option>\r\n <option>200</option>\r\n </select>\r\n <div class=\"b-items ml-3\">\r\n <strong>{{totalRow}}</strong> {{utilityService.getResourceValue(\"ItemsIn\")}} <strong> {{Pages}}</strong> {{utilityService.getResourceValue(\"Pages\")}}\r\n </div>\r\n </div>\r\n </div>\r\n \r\n <div class=\"row\" style=\"align-self:center; align-items: center; text-align: center;\" *ngIf=\"options.IsLoadMoreControl\">\r\n <div class=\"search-results\" infinite-scroll [infiniteScrollDistance]=\"ScrollDistance\"\r\n [infiniteScrollUpDistance]=\"ScrollUpDistance\" [infiniteScrollThrottle]=\"Throttle\" (scrolled)=\"options.IsInfiniteScroll==true?onScrollDown():null\"\r\n [scrollWindow]=\"options.ScrollWindow\" [infiniteScrollContainer]=\"options.InfiniteScrollContainer\">\r\n </div>\r\n <button class=\"btn btn-info\" (click)=\"onScrollDown()\" *ngIf=\"!(result.length==totalRow)\">{{utilityService.getResourceValue(\"LoadMore\")}}</button>\r\n </div>\r\n</div>\r\n",
|
|
4446
4449
|
styles: [".ngx-pager-container{text-align:center;padding:25px 0 0}.ngx-pager-container li{display:inline-block;margin:0 4px}.ngx-pager-container li a{display:block;width:26px;height:26px;border:1px solid #707070;text-align:center;color:#3e4e59;font-size:14px;line-height:24px;border-radius:5px;text-decoration:none}.ngx-pager-container li a:hover{color:#fff;background:#0a0e03}.ngx-pager-container li.invisible{display:none}.ngx-pager-container li.active{background:#0a0e03;border-radius:5px}.ngx-pager-container li.active a{border:none;color:#fff}\n"]
|
|
4447
4450
|
},] }
|
|
4448
4451
|
];
|
|
@@ -5609,6 +5612,1086 @@
|
|
|
5609
5612
|
confirmationModal: [{ type: i0.ViewChild, args: ['confirmationModal', { static: false },] }]
|
|
5610
5613
|
};
|
|
5611
5614
|
|
|
5615
|
+
var NgTemplateNameDirective = /** @class */ (function () {
|
|
5616
|
+
function NgTemplateNameDirective(template) {
|
|
5617
|
+
this.template = template;
|
|
5618
|
+
}
|
|
5619
|
+
return NgTemplateNameDirective;
|
|
5620
|
+
}());
|
|
5621
|
+
NgTemplateNameDirective.decorators = [
|
|
5622
|
+
{ type: i0.Directive, args: [{
|
|
5623
|
+
selector: 'ng-template[name]'
|
|
5624
|
+
},] }
|
|
5625
|
+
];
|
|
5626
|
+
NgTemplateNameDirective.ctorParameters = function () { return [
|
|
5627
|
+
{ type: i0.TemplateRef }
|
|
5628
|
+
]; };
|
|
5629
|
+
NgTemplateNameDirective.propDecorators = {
|
|
5630
|
+
name: [{ type: i0.Input }]
|
|
5631
|
+
};
|
|
5632
|
+
|
|
5633
|
+
var RepeaterComponent = /** @class */ (function () {
|
|
5634
|
+
function RepeaterComponent() {
|
|
5635
|
+
this.templateRefs = [];
|
|
5636
|
+
this.items = [];
|
|
5637
|
+
this.repeaterContext = { index: 0, delete: null, elements: null };
|
|
5638
|
+
}
|
|
5639
|
+
RepeaterComponent.prototype.ngOnInit = function () {
|
|
5640
|
+
var _this = this;
|
|
5641
|
+
this.currentTemplate = this.initialTemplate;
|
|
5642
|
+
this.repeaterGroup = new forms.FormGroup({});
|
|
5643
|
+
this.group.addControl(this.options.Name, this.repeaterGroup);
|
|
5644
|
+
this.group.get(this.options.Name).setValue(this.options.RepeaterValue);
|
|
5645
|
+
for (var index = 0; index < this.options.MinRequiredItems; index++) {
|
|
5646
|
+
this.items.push(index);
|
|
5647
|
+
}
|
|
5648
|
+
this.repeaterGroup.valueChanges.subscribe(function (res) {
|
|
5649
|
+
var _a, _b;
|
|
5650
|
+
var result = [];
|
|
5651
|
+
var rowNumber = [];
|
|
5652
|
+
var addItems = [];
|
|
5653
|
+
for (var key in _this.repeaterGroup.controls) {
|
|
5654
|
+
if (Object.prototype.hasOwnProperty.call(_this.repeaterGroup.controls, key)) {
|
|
5655
|
+
var keySplitArr = key.split('.');
|
|
5656
|
+
var item = (_a = {},
|
|
5657
|
+
_a[keySplitArr[1]] = (_b = {}, _b[keySplitArr[0]] = _this.group.controls[_this.options.Name].value[key], _b),
|
|
5658
|
+
_a);
|
|
5659
|
+
addItems.push(item);
|
|
5660
|
+
if (!rowNumber.includes(keySplitArr[1]))
|
|
5661
|
+
rowNumber.push(keySplitArr[1]);
|
|
5662
|
+
}
|
|
5663
|
+
}
|
|
5664
|
+
var _loop_1 = function (index) {
|
|
5665
|
+
var row = rowNumber[index];
|
|
5666
|
+
var addObject = {};
|
|
5667
|
+
var filteredElements = addItems.filter(function (item) { return item[row]; });
|
|
5668
|
+
for (var index_1 = 0; index_1 < filteredElements.length; index_1++) {
|
|
5669
|
+
var filteredElement = filteredElements[index_1];
|
|
5670
|
+
for (var key in filteredElement) {
|
|
5671
|
+
if (Object.prototype.hasOwnProperty.call(filteredElement, key)) {
|
|
5672
|
+
var element = filteredElement[key];
|
|
5673
|
+
for (var key_1 in element) {
|
|
5674
|
+
if (Object.prototype.hasOwnProperty.call(element, key_1)) {
|
|
5675
|
+
var value = element[key_1];
|
|
5676
|
+
addObject[key_1] = value;
|
|
5677
|
+
}
|
|
5678
|
+
}
|
|
5679
|
+
}
|
|
5680
|
+
}
|
|
5681
|
+
}
|
|
5682
|
+
result.push(addObject);
|
|
5683
|
+
};
|
|
5684
|
+
for (var index = 0; index < rowNumber.length; index++) {
|
|
5685
|
+
_loop_1(index);
|
|
5686
|
+
}
|
|
5687
|
+
_this.options.RepeaterValue = result;
|
|
5688
|
+
});
|
|
5689
|
+
};
|
|
5690
|
+
RepeaterComponent.prototype.deleteItem = function (Index) {
|
|
5691
|
+
var _a;
|
|
5692
|
+
if (this.items.length == this.options.MinRequiredItems && this.options.IsRequired)
|
|
5693
|
+
return;
|
|
5694
|
+
var deletedControls = [];
|
|
5695
|
+
var controlNames = this.options.RepeaterStructure.map(function (e) { return e.ControlOptions.Name; });
|
|
5696
|
+
for (var key in this.repeaterGroup.controls) {
|
|
5697
|
+
if (Object.prototype.hasOwnProperty.call(this.repeaterGroup.controls, key)) {
|
|
5698
|
+
for (var index = 0; index < controlNames.length; index++) {
|
|
5699
|
+
var element = controlNames[index];
|
|
5700
|
+
var keySplitArr = key.split('.');
|
|
5701
|
+
if (keySplitArr[0] + keySplitArr[1] == "" + element + Index) {
|
|
5702
|
+
var element_1 = this.repeaterGroup.controls[key];
|
|
5703
|
+
deletedControls.push((_a = {}, _a[key] = element_1, _a));
|
|
5704
|
+
}
|
|
5705
|
+
}
|
|
5706
|
+
}
|
|
5707
|
+
}
|
|
5708
|
+
for (var index = 0; index < deletedControls.length; index++) {
|
|
5709
|
+
var element = deletedControls[index];
|
|
5710
|
+
for (var key in element) {
|
|
5711
|
+
if (Object.prototype.hasOwnProperty.call(element, key)) {
|
|
5712
|
+
this.repeaterGroup.removeControl(key);
|
|
5713
|
+
}
|
|
5714
|
+
}
|
|
5715
|
+
}
|
|
5716
|
+
var item = this.items[Index];
|
|
5717
|
+
this.items = this.items.filter(function (res) { return res != item; });
|
|
5718
|
+
};
|
|
5719
|
+
RepeaterComponent.prototype.AddItem = function () {
|
|
5720
|
+
this.items.push(this.items.length + 1);
|
|
5721
|
+
};
|
|
5722
|
+
RepeaterComponent.prototype.ngAfterViewInit = function () {
|
|
5723
|
+
var templateRefs = this._templates["_results"].map(function (item) { return item["template"]; });
|
|
5724
|
+
this.templateRefs = templateRefs;
|
|
5725
|
+
this.repeaterContext.elements = this.templateRefs;
|
|
5726
|
+
this.repeaterContext.delete = this.delete;
|
|
5727
|
+
};
|
|
5728
|
+
RepeaterComponent.prototype.setCurrentIndex = function (i) {
|
|
5729
|
+
this.repeaterContext.index = i;
|
|
5730
|
+
};
|
|
5731
|
+
return RepeaterComponent;
|
|
5732
|
+
}());
|
|
5733
|
+
RepeaterComponent.decorators = [
|
|
5734
|
+
{ type: i0.Component, args: [{
|
|
5735
|
+
selector: 'BBSF-repeater',
|
|
5736
|
+
template: "<div *ngFor='let item of items ; index as i'>\r\n {{setCurrentIndex(i)}}\r\n <ng-container *ngTemplateOutlet=\"currentTemplate; context: repeaterContext\">\r\n </ng-container>\r\n\r\n</div>\r\n\r\n<div>\r\n <ng-container *ngTemplateOutlet=\"add\">\r\n </ng-container>\r\n</div>\r\n\r\n<ng-template *ngFor=\"let RepeaterField of options.RepeaterStructure ; index as i\" name=\"R{{i}}\" \r\n let-Index=\"itemIndex\" let-control=\"controlIndex\">\r\n <repeater-field-builder *ngIf=\"RepeaterField\" [RepeaterField]=\"RepeaterField\" [itemNumber]=\"Index\" [controlNumber]=\"control\"\r\n [group]=\"repeaterGroup\"></repeater-field-builder>\r\n</ng-template>\r\n\r\n<ng-template #delete let-item=\"itemIndex\">\r\n <button class=\"{{options.DeleteButtonExtraClasses}}\" type=\"button\" (click)=\"deleteItem(item)\"\r\n [disabled]=\"items.length ==options.MinRequiredItems&&options.IsRequired\"> <span [innerHTML]=\"options.DeleteButtonText\"></span></button>\r\n</ng-template>\r\n\r\n<ng-template #add>\r\n <button class=\"{{options.AddButtonExtraClasses}}\" type=\"button\"\r\n (click)=\"AddItem()\"><span [innerHTML]=\"options.AddButtonText\"></span></button>\r\n</ng-template>\r\n\r\n\r\n\r\n\r\n\r\n<!-- <ng-template adHost></ng-template> -->",
|
|
5737
|
+
styles: [""]
|
|
5738
|
+
},] }
|
|
5739
|
+
];
|
|
5740
|
+
RepeaterComponent.ctorParameters = function () { return []; };
|
|
5741
|
+
RepeaterComponent.propDecorators = {
|
|
5742
|
+
group: [{ type: i0.Input }],
|
|
5743
|
+
options: [{ type: i0.Input }],
|
|
5744
|
+
initialTemplate: [{ type: i0.Input }],
|
|
5745
|
+
_templates: [{ type: i0.ViewChildren, args: [NgTemplateNameDirective,] }],
|
|
5746
|
+
delete: [{ type: i0.ViewChild, args: ['delete', { static: false },] }]
|
|
5747
|
+
};
|
|
5748
|
+
|
|
5749
|
+
exports.PermissionSets = void 0;
|
|
5750
|
+
(function (PermissionSets) {
|
|
5751
|
+
PermissionSets[PermissionSets["Admin"] = 1] = "Admin";
|
|
5752
|
+
PermissionSets[PermissionSets["BusinessAdmin"] = 2] = "BusinessAdmin";
|
|
5753
|
+
PermissionSets[PermissionSets["Customer"] = 3] = "Customer";
|
|
5754
|
+
})(exports.PermissionSets || (exports.PermissionSets = {}));
|
|
5755
|
+
exports.PropertyLocation = void 0;
|
|
5756
|
+
(function (PropertyLocation) {
|
|
5757
|
+
PropertyLocation[PropertyLocation["InternalIdeas"] = 53001] = "InternalIdeas";
|
|
5758
|
+
PropertyLocation[PropertyLocation["EvaluationRequest"] = 53002] = "EvaluationRequest";
|
|
5759
|
+
PropertyLocation[PropertyLocation["IMOBusiness"] = 53003] = "IMOBusiness";
|
|
5760
|
+
PropertyLocation[PropertyLocation["PublicIdeas"] = 53004] = "PublicIdeas";
|
|
5761
|
+
})(exports.PropertyLocation || (exports.PropertyLocation = {}));
|
|
5762
|
+
exports.LanguageType = void 0;
|
|
5763
|
+
(function (LanguageType) {
|
|
5764
|
+
LanguageType[LanguageType["English"] = 54001] = "English";
|
|
5765
|
+
LanguageType[LanguageType["Arabic"] = 54002] = "Arabic";
|
|
5766
|
+
LanguageType[LanguageType["Any"] = 54003] = "Any";
|
|
5767
|
+
})(exports.LanguageType || (exports.LanguageType = {}));
|
|
5768
|
+
exports.DataType = void 0;
|
|
5769
|
+
(function (DataType) {
|
|
5770
|
+
DataType[DataType["Text"] = 52001] = "Text";
|
|
5771
|
+
DataType[DataType["Email"] = 52002] = "Email";
|
|
5772
|
+
DataType[DataType["Number"] = 52005] = "Number";
|
|
5773
|
+
DataType[DataType["Name"] = 52003] = "Name";
|
|
5774
|
+
DataType[DataType["Mobile"] = 52004] = "Mobile";
|
|
5775
|
+
DataType[DataType["MultilineText"] = 52006] = "MultilineText";
|
|
5776
|
+
DataType[DataType["HTML"] = 52007] = "HTML";
|
|
5777
|
+
DataType[DataType["Image"] = 52010] = "Image";
|
|
5778
|
+
DataType[DataType["File"] = 52011] = "File";
|
|
5779
|
+
DataType[DataType["MultiFile"] = 52012] = "MultiFile";
|
|
5780
|
+
DataType[DataType["Boolean"] = 52013] = "Boolean";
|
|
5781
|
+
DataType[DataType["Date"] = 52014] = "Date";
|
|
5782
|
+
DataType[DataType["DateTime"] = 52015] = "DateTime";
|
|
5783
|
+
DataType[DataType["Time"] = 52016] = "Time";
|
|
5784
|
+
DataType[DataType["Location"] = 52017] = "Location";
|
|
5785
|
+
DataType[DataType["SingleSelect"] = 52008] = "SingleSelect";
|
|
5786
|
+
DataType[DataType["MulipleSelect"] = 52009] = "MulipleSelect";
|
|
5787
|
+
DataType[DataType["Goal"] = 52018] = "Goal";
|
|
5788
|
+
DataType[DataType["Challenge"] = 52019] = "Challenge";
|
|
5789
|
+
DataType[DataType["CoverPhoto"] = 52020] = "CoverPhoto";
|
|
5790
|
+
DataType[DataType["InnovationLab"] = 52021] = "InnovationLab";
|
|
5791
|
+
DataType[DataType["Country"] = 52022] = "Country";
|
|
5792
|
+
})(exports.DataType || (exports.DataType = {}));
|
|
5793
|
+
|
|
5794
|
+
exports.ForceDirection = void 0;
|
|
5795
|
+
(function (ForceDirection) {
|
|
5796
|
+
ForceDirection[ForceDirection["English"] = 1] = "English";
|
|
5797
|
+
ForceDirection[ForceDirection["Arabic"] = 2] = "Arabic";
|
|
5798
|
+
})(exports.ForceDirection || (exports.ForceDirection = {}));
|
|
5799
|
+
|
|
5800
|
+
var DatePickerOptions = /** @class */ (function () {
|
|
5801
|
+
function DatePickerOptions() {
|
|
5802
|
+
/** to set type of view if DatePicker is Vertical or Horizontal */
|
|
5803
|
+
this.ViewType = exports.ControlLayout.Vertical;
|
|
5804
|
+
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
5805
|
+
*/
|
|
5806
|
+
this.CustomValidation = [];
|
|
5807
|
+
/**To set First Day Of Week to DatePicker */
|
|
5808
|
+
this.FirstDayOfWeek = 1;
|
|
5809
|
+
/**To set PickerType to DatePicker is Calendar or Timer Or Both */
|
|
5810
|
+
this.PickerType = exports.PickerType.Calendar;
|
|
5811
|
+
/**To set StartView to DatePicker is Year or Month Or Multi-Year */
|
|
5812
|
+
this.StartView = exports.StartView.Month;
|
|
5813
|
+
/**To set SelectMode to DatePicker is Single or Range */
|
|
5814
|
+
this.SelectMode = exports.SelectMode.Single;
|
|
5815
|
+
this.ForceDirection = exports.ForceDirection.English;
|
|
5816
|
+
}
|
|
5817
|
+
return DatePickerOptions;
|
|
5818
|
+
}());
|
|
5819
|
+
|
|
5820
|
+
var DropdownOptions = /** @class */ (function () {
|
|
5821
|
+
function DropdownOptions() {
|
|
5822
|
+
/** Disable Bootstrap DropdownList */
|
|
5823
|
+
this.DisableBootstrapSelect = false;
|
|
5824
|
+
/** to set type of view if DropdownList is Vertical or Horizontal */
|
|
5825
|
+
this.ViewType = null;
|
|
5826
|
+
/** To Set Custom Validation*/
|
|
5827
|
+
this.CustomValidation = [];
|
|
5828
|
+
/** Set key for item in DropdownList */
|
|
5829
|
+
this.ItemTempletkey = "key";
|
|
5830
|
+
/** Set value for item in DropdownList */
|
|
5831
|
+
this.ItemTempletvalue = "value";
|
|
5832
|
+
this.ForceDirection = exports.ForceDirection.English;
|
|
5833
|
+
}
|
|
5834
|
+
return DropdownOptions;
|
|
5835
|
+
}());
|
|
5836
|
+
|
|
5837
|
+
var FileUploadOptions = /** @class */ (function () {
|
|
5838
|
+
function FileUploadOptions() {
|
|
5839
|
+
/** Ability to set FileInput required */
|
|
5840
|
+
this.IsMultipleFile = false;
|
|
5841
|
+
/** Sets boolean Value to Show IsDropZone Or Not */
|
|
5842
|
+
this.IsDropZone = false;
|
|
5843
|
+
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
5844
|
+
*/
|
|
5845
|
+
this.CustomValidation = [];
|
|
5846
|
+
/** to set type of view if textbox is Vertical or Horizontal */
|
|
5847
|
+
this.ViewType = null;
|
|
5848
|
+
}
|
|
5849
|
+
return FileUploadOptions;
|
|
5850
|
+
}());
|
|
5851
|
+
|
|
5852
|
+
var HtmlEditorOptions = /** @class */ (function () {
|
|
5853
|
+
function HtmlEditorOptions() {
|
|
5854
|
+
/** to set type of view if textbox is Vertical or Horizontal */
|
|
5855
|
+
this.ViewType = null;
|
|
5856
|
+
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
5857
|
+
*/
|
|
5858
|
+
this.CustomValidation = [];
|
|
5859
|
+
/** to set Direction of HtmlEditor if HtmlEditor is Arabic or English */
|
|
5860
|
+
this.ForceDirection = exports.ForceDirection.English;
|
|
5861
|
+
/** Set Height For */
|
|
5862
|
+
this.Height = 150;
|
|
5863
|
+
}
|
|
5864
|
+
return HtmlEditorOptions;
|
|
5865
|
+
}());
|
|
5866
|
+
|
|
5867
|
+
exports.ImageType = void 0;
|
|
5868
|
+
(function (ImageType) {
|
|
5869
|
+
ImageType["ImageTypes"] = "image/png,image/bmp,image/jpeg";
|
|
5870
|
+
ImageType["PNG"] = "image/png";
|
|
5871
|
+
ImageType["JPG"] = "image/jpeg";
|
|
5872
|
+
ImageType["JPEG"] = "image/jpeg";
|
|
5873
|
+
ImageType["SVG"] = "image/svg+xml";
|
|
5874
|
+
ImageType["None"] = "";
|
|
5875
|
+
})(exports.ImageType || (exports.ImageType = {}));
|
|
5876
|
+
|
|
5877
|
+
var ImageUploadOptions = /** @class */ (function () {
|
|
5878
|
+
function ImageUploadOptions() {
|
|
5879
|
+
/** Allow to Upload Multiple File */
|
|
5880
|
+
this.IsMultiple = false;
|
|
5881
|
+
/** Allow to Use Drop Zone */
|
|
5882
|
+
this.AllowDropZone = false;
|
|
5883
|
+
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
5884
|
+
*/
|
|
5885
|
+
this.CustomValidation = [];
|
|
5886
|
+
/** to set type of view if FileInput is Vertical or Horizontal */
|
|
5887
|
+
this.ViewType = null;
|
|
5888
|
+
/** Set List of Custom Attribute to FileInput */
|
|
5889
|
+
this.FileUploadAcceptsTypes = [exports.ImageType.ImageTypes];
|
|
5890
|
+
}
|
|
5891
|
+
return ImageUploadOptions;
|
|
5892
|
+
}());
|
|
5893
|
+
|
|
5894
|
+
var MapAutoCompleteOptions = /** @class */ (function () {
|
|
5895
|
+
function MapAutoCompleteOptions() {
|
|
5896
|
+
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
5897
|
+
*/
|
|
5898
|
+
this.CustomValidation = [];
|
|
5899
|
+
/** to set type of view if MapAutoComplete is Vertical or Horizontal */
|
|
5900
|
+
this.ViewType = null;
|
|
5901
|
+
}
|
|
5902
|
+
return MapAutoCompleteOptions;
|
|
5903
|
+
}());
|
|
5904
|
+
|
|
5905
|
+
var PhoneOptions = /** @class */ (function () {
|
|
5906
|
+
function PhoneOptions() {
|
|
5907
|
+
/**
|
|
5908
|
+
* Represent Css classes to Phonebox
|
|
5909
|
+
*/
|
|
5910
|
+
this.ExtraClasses = "form-control bnsights-control";
|
|
5911
|
+
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
5912
|
+
*/
|
|
5913
|
+
this.CustomValidation = [];
|
|
5914
|
+
/**Set List Of Countries As Preferred Countries*/
|
|
5915
|
+
this.PreferredCountries = [];
|
|
5916
|
+
/** to set type of view if Phonebox is Vertical or Horizontal */
|
|
5917
|
+
this.ViewType = null;
|
|
5918
|
+
this.ForceDirection = exports.ForceDirection.English;
|
|
5919
|
+
}
|
|
5920
|
+
return PhoneOptions;
|
|
5921
|
+
}());
|
|
5922
|
+
|
|
5923
|
+
var RangeNumber = /** @class */ (function () {
|
|
5924
|
+
function RangeNumber() {
|
|
5925
|
+
}
|
|
5926
|
+
return RangeNumber;
|
|
5927
|
+
}());
|
|
5928
|
+
|
|
5929
|
+
var TextAreaOptions = /** @class */ (function () {
|
|
5930
|
+
function TextAreaOptions() {
|
|
5931
|
+
/** to set type of view if TextArea is Vertical or Horizontal */
|
|
5932
|
+
this.ViewType = null;
|
|
5933
|
+
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
5934
|
+
*/
|
|
5935
|
+
this.CustomValidation = [];
|
|
5936
|
+
/** to set Direction of TextArea if TextArea is Arabic or English */
|
|
5937
|
+
this.ForceDirection = exports.ForceDirection.English;
|
|
5938
|
+
}
|
|
5939
|
+
return TextAreaOptions;
|
|
5940
|
+
}());
|
|
5941
|
+
|
|
5942
|
+
exports.IconPosition = void 0;
|
|
5943
|
+
(function (IconPosition) {
|
|
5944
|
+
IconPosition[IconPosition["left"] = 1] = "left";
|
|
5945
|
+
IconPosition[IconPosition["right"] = 2] = "right";
|
|
5946
|
+
})(exports.IconPosition || (exports.IconPosition = {}));
|
|
5947
|
+
|
|
5948
|
+
var TextBoxOptions = /** @class */ (function () {
|
|
5949
|
+
function TextBoxOptions() {
|
|
5950
|
+
/** set Range Number to Textbox with type number with From-Value and To-value*/
|
|
5951
|
+
this.NumberRange = new RangeNumber();
|
|
5952
|
+
/**Prevent AutoComplete of textbox*/
|
|
5953
|
+
this.AutoComplete = "off";
|
|
5954
|
+
/** to set type of view if textbox is Vertical or Horizontal */
|
|
5955
|
+
this.ViewType = null;
|
|
5956
|
+
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
5957
|
+
*/
|
|
5958
|
+
this.CustomValidation = [];
|
|
5959
|
+
/** to set Direction of textbox if textbox is Arabic or English */
|
|
5960
|
+
this.ForceDirection = null;
|
|
5961
|
+
/** Set Type of TextBox ("text","password","email","number") */
|
|
5962
|
+
this.Type = exports.InputType.Text;
|
|
5963
|
+
this.IconPosition = exports.IconPosition.left;
|
|
5964
|
+
this.NoMargin = false;
|
|
5965
|
+
this.ValidationRules = [];
|
|
5966
|
+
}
|
|
5967
|
+
return TextBoxOptions;
|
|
5968
|
+
}());
|
|
5969
|
+
|
|
5970
|
+
var ToggleSlideOptions = /** @class */ (function () {
|
|
5971
|
+
function ToggleSlideOptions() {
|
|
5972
|
+
this.ViewType = null;
|
|
5973
|
+
this.ForceDirection = exports.ForceDirection.English;
|
|
5974
|
+
}
|
|
5975
|
+
return ToggleSlideOptions;
|
|
5976
|
+
}());
|
|
5977
|
+
|
|
5978
|
+
var RenderComponentService = /** @class */ (function () {
|
|
5979
|
+
function RenderComponentService(componentFactoryResolver) {
|
|
5980
|
+
this.componentFactoryResolver = componentFactoryResolver;
|
|
5981
|
+
}
|
|
5982
|
+
RenderComponentService.prototype.renderDynamicComponent = function (viewContainerRef, component, group, options) {
|
|
5983
|
+
var factory = this.componentFactoryResolver.resolveComponentFactory(component);
|
|
5984
|
+
var componentRef = viewContainerRef.createComponent(factory);
|
|
5985
|
+
componentRef.instance.group = group;
|
|
5986
|
+
componentRef.instance.options = options;
|
|
5987
|
+
};
|
|
5988
|
+
return RenderComponentService;
|
|
5989
|
+
}());
|
|
5990
|
+
RenderComponentService.decorators = [
|
|
5991
|
+
{ type: i0.Injectable }
|
|
5992
|
+
];
|
|
5993
|
+
RenderComponentService.ctorParameters = function () { return [
|
|
5994
|
+
{ type: i0.ComponentFactoryResolver }
|
|
5995
|
+
]; };
|
|
5996
|
+
|
|
5997
|
+
var RepeaterFieldBuilderComponent = /** @class */ (function () {
|
|
5998
|
+
function RepeaterFieldBuilderComponent(renderComponentService, TextControlHost) {
|
|
5999
|
+
this.renderComponentService = renderComponentService;
|
|
6000
|
+
this.TextControlHost = TextControlHost;
|
|
6001
|
+
}
|
|
6002
|
+
RepeaterFieldBuilderComponent.prototype.ngOnInit = function () {
|
|
6003
|
+
};
|
|
6004
|
+
RepeaterFieldBuilderComponent.prototype.ngAfterViewInit = function () {
|
|
6005
|
+
var _this = this;
|
|
6006
|
+
setTimeout(function () {
|
|
6007
|
+
_this.Item.clear();
|
|
6008
|
+
switch (_this.RepeaterField.ControlType) {
|
|
6009
|
+
///TextBox
|
|
6010
|
+
case exports.DataType.Text:
|
|
6011
|
+
var Text = new TextBoxOptions();
|
|
6012
|
+
Text.Name = _this.RepeaterField.ControlOptions.Name + "." + _this.itemNumber.toString() + "." + _this.controlNumber.toString();
|
|
6013
|
+
Text.HideLabel = _this.RepeaterField.ControlOptions.HideLabel;
|
|
6014
|
+
Text.LabelKey = _this.RepeaterField.ControlOptions.LabelKey;
|
|
6015
|
+
Text.IsRequired = _this.RepeaterField.ControlOptions.IsRequired;
|
|
6016
|
+
Text.ViewType = _this.RepeaterField.ControlOptions.ViewType;
|
|
6017
|
+
Text.LabelDescription = _this.RepeaterField.ControlOptions.LabelDescription ? _this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6018
|
+
Text.Type = exports.InputType.Text;
|
|
6019
|
+
if (_this.RepeaterField.ControlOptions.maxLength)
|
|
6020
|
+
Text.MaxLength = _this.RepeaterField.ControlOptions.maxLength;
|
|
6021
|
+
if (_this.RepeaterField.ControlOptions.minLength)
|
|
6022
|
+
Text.MinLength = _this.RepeaterField.ControlOptions.minLength;
|
|
6023
|
+
_this.renderComponentService.renderDynamicComponent(_this.Item, TextboxComponent, _this.group, Text);
|
|
6024
|
+
break;
|
|
6025
|
+
case exports.DataType.Name:
|
|
6026
|
+
var Name = new TextBoxOptions();
|
|
6027
|
+
Name.Name = _this.RepeaterField.ControlOptions.Name + "." + _this.itemNumber.toString() + "." + _this.controlNumber.toString();
|
|
6028
|
+
Name.HideLabel = _this.RepeaterField.ControlOptions.HideLabel;
|
|
6029
|
+
Name.LabelKey = _this.RepeaterField.ControlOptions.LabelKey;
|
|
6030
|
+
Name.IsRequired = _this.RepeaterField.ControlOptions.IsRequired;
|
|
6031
|
+
Name.ViewType = _this.RepeaterField.ControlOptions.ViewType;
|
|
6032
|
+
Name.LabelDescription = _this.RepeaterField.ControlOptions.LabelDescription ? _this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6033
|
+
if (_this.RepeaterField.ControlOptions.maxLength)
|
|
6034
|
+
Name.MaxLength = _this.RepeaterField.ControlOptions.maxLength;
|
|
6035
|
+
if (_this.RepeaterField.ControlOptions.minLength)
|
|
6036
|
+
Name.MinLength = _this.RepeaterField.ControlOptions.minLength;
|
|
6037
|
+
Name.Type = exports.InputType.Text;
|
|
6038
|
+
_this.renderComponentService.renderDynamicComponent(_this.Item, TextboxComponent, _this.group, Name);
|
|
6039
|
+
break;
|
|
6040
|
+
case exports.DataType.Email:
|
|
6041
|
+
var Email = new TextBoxOptions();
|
|
6042
|
+
Email.Name = _this.RepeaterField.ControlOptions.Name + "." + _this.itemNumber.toString() + "." + _this.controlNumber.toString();
|
|
6043
|
+
Email.HideLabel = _this.RepeaterField.ControlOptions.HideLabel;
|
|
6044
|
+
Email.LabelKey = _this.RepeaterField.ControlOptions.LabelKey;
|
|
6045
|
+
Email.IsRequired = _this.RepeaterField.ControlOptions.IsRequired;
|
|
6046
|
+
Email.ViewType = _this.RepeaterField.ControlOptions.ViewType;
|
|
6047
|
+
Email.LabelDescription = _this.RepeaterField.ControlOptions.LabelDescription ? _this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6048
|
+
Email.Type = exports.InputType.Email;
|
|
6049
|
+
_this.renderComponentService.renderDynamicComponent(_this.Item, TextboxComponent, _this.group, Email);
|
|
6050
|
+
break;
|
|
6051
|
+
case exports.DataType.Number:
|
|
6052
|
+
var Number = new TextBoxOptions();
|
|
6053
|
+
Number.Name = _this.RepeaterField.ControlOptions.Name + "." + _this.itemNumber.toString() + "." + _this.controlNumber.toString();
|
|
6054
|
+
Number.HideLabel = _this.RepeaterField.ControlOptions.HideLabel;
|
|
6055
|
+
Number.LabelKey = _this.RepeaterField.ControlOptions.LabelKey;
|
|
6056
|
+
Number.IsRequired = _this.RepeaterField.ControlOptions.IsRequired;
|
|
6057
|
+
Number.ViewType = _this.RepeaterField.ControlOptions.ViewType;
|
|
6058
|
+
Number.LabelDescription = _this.RepeaterField.ControlOptions.LabelDescription ? _this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6059
|
+
Number.Type = exports.InputType.Number;
|
|
6060
|
+
var rangeNumber = new RangeNumber();
|
|
6061
|
+
rangeNumber.To = _this.RepeaterField.ControlOptions.maxLength;
|
|
6062
|
+
rangeNumber.From = _this.RepeaterField.ControlOptions.minLength;
|
|
6063
|
+
Number.NumberRange = rangeNumber;
|
|
6064
|
+
_this.renderComponentService.renderDynamicComponent(_this.Item, TextboxComponent, _this.group, Number);
|
|
6065
|
+
break;
|
|
6066
|
+
///DateTime
|
|
6067
|
+
case exports.DataType.Date:
|
|
6068
|
+
var Date = new DatePickerOptions();
|
|
6069
|
+
Date.Name = _this.RepeaterField.ControlOptions.Name + "." + _this.itemNumber.toString() + "." + _this.controlNumber.toString();
|
|
6070
|
+
Date.HideLabel = _this.RepeaterField.ControlOptions.HideLabel;
|
|
6071
|
+
Date.LabelKey = _this.RepeaterField.ControlOptions.LabelKey;
|
|
6072
|
+
Date.IsRequired = _this.RepeaterField.ControlOptions.IsRequired;
|
|
6073
|
+
Date.ViewType = _this.RepeaterField.ControlOptions.ViewType;
|
|
6074
|
+
Date.LabelDescription = _this.RepeaterField.ControlOptions.LabelDescription ? _this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6075
|
+
Date.PickerType = exports.PickerType.Calendar;
|
|
6076
|
+
Date.SelectMode = exports.SelectMode.Single;
|
|
6077
|
+
Date.StartView = exports.StartView.Month;
|
|
6078
|
+
_this.renderComponentService.renderDynamicComponent(_this.Item, DateInputComponent, _this.group, Date);
|
|
6079
|
+
break;
|
|
6080
|
+
case exports.DataType.DateTime:
|
|
6081
|
+
var DateTime = new DatePickerOptions();
|
|
6082
|
+
DateTime.Name = _this.RepeaterField.ControlOptions.Name + "." + _this.itemNumber.toString() + "." + _this.controlNumber.toString();
|
|
6083
|
+
DateTime.HideLabel = _this.RepeaterField.ControlOptions.HideLabel;
|
|
6084
|
+
DateTime.LabelKey = _this.RepeaterField.ControlOptions.LabelKey;
|
|
6085
|
+
DateTime.IsRequired = _this.RepeaterField.ControlOptions.IsRequired;
|
|
6086
|
+
DateTime.ViewType = _this.RepeaterField.ControlOptions.ViewType;
|
|
6087
|
+
DateTime.LabelDescription = _this.RepeaterField.ControlOptions.LabelDescription ? _this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6088
|
+
DateTime.PickerType = exports.PickerType.Both;
|
|
6089
|
+
DateTime.SelectMode = exports.SelectMode.Single;
|
|
6090
|
+
DateTime.StartView = exports.StartView.Month;
|
|
6091
|
+
_this.renderComponentService.renderDynamicComponent(_this.Item, DateInputComponent, _this.group, DateTime);
|
|
6092
|
+
break;
|
|
6093
|
+
case exports.DataType.Time:
|
|
6094
|
+
var Time = new DatePickerOptions();
|
|
6095
|
+
Time.Name = _this.RepeaterField.ControlOptions.Name + "." + _this.itemNumber.toString() + "." + _this.controlNumber.toString();
|
|
6096
|
+
Time.HideLabel = _this.RepeaterField.ControlOptions.HideLabel;
|
|
6097
|
+
Time.LabelKey = _this.RepeaterField.ControlOptions.LabelKey;
|
|
6098
|
+
Time.IsRequired = _this.RepeaterField.ControlOptions.IsRequired;
|
|
6099
|
+
Time.ViewType = _this.RepeaterField.ControlOptions.ViewType;
|
|
6100
|
+
Time.LabelDescription = _this.RepeaterField.ControlOptions.LabelDescription ? _this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6101
|
+
Time.PickerType = exports.PickerType.Timer;
|
|
6102
|
+
Time.SelectMode = exports.SelectMode.Single;
|
|
6103
|
+
Time.StartView = exports.StartView.Month;
|
|
6104
|
+
_this.renderComponentService.renderDynamicComponent(_this.Item, DateInputComponent, _this.group, Time);
|
|
6105
|
+
break;
|
|
6106
|
+
//Dropdown
|
|
6107
|
+
case exports.DataType.SingleSelect:
|
|
6108
|
+
var SingleSelect = new DropdownOptions();
|
|
6109
|
+
SingleSelect.Name = _this.RepeaterField.ControlOptions.Name + "." + _this.itemNumber.toString() + "." + _this.controlNumber.toString();
|
|
6110
|
+
SingleSelect.HideLabel = _this.RepeaterField.ControlOptions.HideLabel;
|
|
6111
|
+
SingleSelect.LabelKey = _this.RepeaterField.ControlOptions.LabelKey;
|
|
6112
|
+
SingleSelect.IsRequired = _this.RepeaterField.ControlOptions.IsRequired;
|
|
6113
|
+
SingleSelect.ViewType = _this.RepeaterField.ControlOptions.ViewType;
|
|
6114
|
+
SingleSelect.LabelDescription = _this.RepeaterField.ControlOptions.LabelDescription ? _this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6115
|
+
SingleSelect.DataSource = _this.RepeaterField.ControlOptions.dataSource;
|
|
6116
|
+
SingleSelect.SingleSelection = true;
|
|
6117
|
+
SingleSelect.ShowCheckbox = false;
|
|
6118
|
+
SingleSelect.AllowSearchFilter = _this.RepeaterField.ControlOptions.hasSearch;
|
|
6119
|
+
_this.renderComponentService.renderDynamicComponent(_this.Item, DropdownListComponent, _this.group, SingleSelect);
|
|
6120
|
+
break;
|
|
6121
|
+
case exports.DataType.MulipleSelect:
|
|
6122
|
+
var MulipleSelect = new DropdownOptions();
|
|
6123
|
+
MulipleSelect.Name = _this.RepeaterField.ControlOptions.Name + "." + _this.itemNumber.toString() + "." + _this.controlNumber.toString();
|
|
6124
|
+
MulipleSelect.HideLabel = _this.RepeaterField.ControlOptions.HideLabel;
|
|
6125
|
+
MulipleSelect.LabelKey = _this.RepeaterField.ControlOptions.LabelKey;
|
|
6126
|
+
MulipleSelect.IsRequired = _this.RepeaterField.ControlOptions.IsRequired;
|
|
6127
|
+
MulipleSelect.ViewType = _this.RepeaterField.ControlOptions.ViewType;
|
|
6128
|
+
MulipleSelect.LabelDescription = _this.RepeaterField.ControlOptions.LabelDescription ? _this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6129
|
+
MulipleSelect.DataSource = _this.RepeaterField.ControlOptions.dataSource;
|
|
6130
|
+
MulipleSelect.SingleSelection = false;
|
|
6131
|
+
MulipleSelect.ShowCheckbox = false;
|
|
6132
|
+
MulipleSelect.AllowSearchFilter = _this.RepeaterField.ControlOptions.hasSearch;
|
|
6133
|
+
_this.renderComponentService.renderDynamicComponent(_this.Item, DropdownListComponent, _this.group, MulipleSelect);
|
|
6134
|
+
break;
|
|
6135
|
+
case exports.DataType.Goal:
|
|
6136
|
+
var Goal = new DropdownOptions();
|
|
6137
|
+
Goal.Name = _this.RepeaterField.ControlOptions.Name + "." + _this.itemNumber.toString() + "." + _this.controlNumber.toString();
|
|
6138
|
+
Goal.HideLabel = _this.RepeaterField.ControlOptions.HideLabel;
|
|
6139
|
+
Goal.LabelKey = _this.RepeaterField.ControlOptions.LabelKey;
|
|
6140
|
+
Goal.IsRequired = _this.RepeaterField.ControlOptions.IsRequired;
|
|
6141
|
+
Goal.ViewType = _this.RepeaterField.ControlOptions.ViewType;
|
|
6142
|
+
Goal.LabelDescription = _this.RepeaterField.ControlOptions.LabelDescription ? _this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6143
|
+
Goal.DataSource = _this.RepeaterField.ControlOptions.dataSource;
|
|
6144
|
+
Goal.SingleSelection = !_this.RepeaterField.ControlOptions.isMultiple;
|
|
6145
|
+
Goal.ShowCheckbox = false;
|
|
6146
|
+
Goal.AllowSearchFilter = _this.RepeaterField.ControlOptions.hasSearch;
|
|
6147
|
+
_this.renderComponentService.renderDynamicComponent(_this.Item, DropdownListComponent, _this.group, Goal);
|
|
6148
|
+
break;
|
|
6149
|
+
case exports.DataType.Challenge:
|
|
6150
|
+
var Challenge = new DropdownOptions();
|
|
6151
|
+
Challenge.Name = _this.RepeaterField.ControlOptions.Name + "." + _this.itemNumber.toString() + "." + _this.controlNumber.toString();
|
|
6152
|
+
Challenge.HideLabel = _this.RepeaterField.ControlOptions.HideLabel;
|
|
6153
|
+
Challenge.LabelKey = _this.RepeaterField.ControlOptions.LabelKey;
|
|
6154
|
+
Challenge.IsRequired = _this.RepeaterField.ControlOptions.IsRequired;
|
|
6155
|
+
Challenge.ViewType = _this.RepeaterField.ControlOptions.ViewType;
|
|
6156
|
+
Challenge.LabelDescription = _this.RepeaterField.ControlOptions.LabelDescription ? _this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6157
|
+
Challenge.DataSource = _this.RepeaterField.ControlOptions.dataSource;
|
|
6158
|
+
Challenge.DataSource = _this.RepeaterField.ControlOptions.dataSource;
|
|
6159
|
+
Challenge.SingleSelection = !_this.RepeaterField.ControlOptions.isMultiple;
|
|
6160
|
+
Challenge.ShowCheckbox = false;
|
|
6161
|
+
Challenge.AllowSearchFilter = _this.RepeaterField.ControlOptions.hasSearch;
|
|
6162
|
+
_this.renderComponentService.renderDynamicComponent(_this.Item, DropdownListComponent, _this.group, Challenge);
|
|
6163
|
+
break;
|
|
6164
|
+
case exports.DataType.InnovationLab:
|
|
6165
|
+
var InnovationLab = new DropdownOptions();
|
|
6166
|
+
InnovationLab.Name = _this.RepeaterField.ControlOptions.Name + "." + _this.itemNumber.toString() + "." + _this.controlNumber.toString();
|
|
6167
|
+
InnovationLab.HideLabel = _this.RepeaterField.ControlOptions.HideLabel;
|
|
6168
|
+
InnovationLab.LabelKey = _this.RepeaterField.ControlOptions.LabelKey;
|
|
6169
|
+
InnovationLab.IsRequired = _this.RepeaterField.ControlOptions.IsRequired;
|
|
6170
|
+
InnovationLab.ViewType = _this.RepeaterField.ControlOptions.ViewType;
|
|
6171
|
+
InnovationLab.LabelDescription = _this.RepeaterField.ControlOptions.LabelDescription ? _this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6172
|
+
InnovationLab.DataSource = _this.RepeaterField.ControlOptions.dataSource;
|
|
6173
|
+
InnovationLab.SingleSelection = !_this.RepeaterField.ControlOptions.isMultiple;
|
|
6174
|
+
InnovationLab.ShowCheckbox = false;
|
|
6175
|
+
InnovationLab.AllowSearchFilter = _this.RepeaterField.ControlOptions.hasSearch;
|
|
6176
|
+
_this.renderComponentService.renderDynamicComponent(_this.Item, DropdownListComponent, _this.group, InnovationLab);
|
|
6177
|
+
break;
|
|
6178
|
+
case exports.DataType.Country:
|
|
6179
|
+
var Country = new DropdownOptions();
|
|
6180
|
+
Country.Name = _this.RepeaterField.ControlOptions.Name + "." + _this.itemNumber.toString() + "." + _this.controlNumber.toString();
|
|
6181
|
+
Country.HideLabel = _this.RepeaterField.ControlOptions.HideLabel;
|
|
6182
|
+
Country.LabelKey = _this.RepeaterField.ControlOptions.LabelKey;
|
|
6183
|
+
Country.IsRequired = _this.RepeaterField.ControlOptions.IsRequired;
|
|
6184
|
+
Country.ViewType = _this.RepeaterField.ControlOptions.ViewType;
|
|
6185
|
+
Country.LabelDescription = _this.RepeaterField.ControlOptions.LabelDescription ? _this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6186
|
+
Country.DataSource = _this.RepeaterField.ControlOptions.dataSource;
|
|
6187
|
+
Country.SingleSelection = !_this.RepeaterField.ControlOptions.isMultiple;
|
|
6188
|
+
Country.ShowCheckbox = false;
|
|
6189
|
+
Country.AllowSearchFilter = _this.RepeaterField.ControlOptions.hasSearch;
|
|
6190
|
+
_this.renderComponentService.renderDynamicComponent(_this.Item, DropdownListComponent, _this.group, Country);
|
|
6191
|
+
break;
|
|
6192
|
+
//FileUpload
|
|
6193
|
+
case exports.DataType.File:
|
|
6194
|
+
var File = new FileUploadOptions();
|
|
6195
|
+
File.Name = _this.RepeaterField.ControlOptions.Name + "." + _this.itemNumber.toString() + "." + _this.controlNumber.toString();
|
|
6196
|
+
File.HideLabel = _this.RepeaterField.ControlOptions.HideLabel;
|
|
6197
|
+
File.LabelKey = _this.RepeaterField.ControlOptions.LabelKey;
|
|
6198
|
+
File.IsRequired = _this.RepeaterField.ControlOptions.IsRequired;
|
|
6199
|
+
File.ViewType = _this.RepeaterField.ControlOptions.ViewType;
|
|
6200
|
+
File.LabelDescription = _this.RepeaterField.ControlOptions.LabelDescription ? _this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6201
|
+
File.FileMaxSizeInMB = _this.RepeaterField.ControlOptions.maxFileSizeInMB;
|
|
6202
|
+
_this.renderComponentService.renderDynamicComponent(_this.Item, FileUploadComponent, _this.group, File);
|
|
6203
|
+
break;
|
|
6204
|
+
case exports.DataType.MultiFile:
|
|
6205
|
+
var MultiFile = new FileUploadOptions();
|
|
6206
|
+
File.Name = _this.RepeaterField.ControlOptions.Name + "." + _this.itemNumber.toString() + "." + _this.controlNumber.toString();
|
|
6207
|
+
File.HideLabel = _this.RepeaterField.ControlOptions.HideLabel;
|
|
6208
|
+
File.LabelKey = _this.RepeaterField.ControlOptions.LabelKey;
|
|
6209
|
+
File.IsRequired = _this.RepeaterField.ControlOptions.IsRequired;
|
|
6210
|
+
File.ViewType = _this.RepeaterField.ControlOptions.ViewType;
|
|
6211
|
+
File.LabelDescription = _this.RepeaterField.ControlOptions.LabelDescription ? _this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6212
|
+
MultiFile.MaxSizeForAllFilesInMB = _this.RepeaterField.ControlOptions.maxFileSizeInMB;
|
|
6213
|
+
MultiFile.MaxNoOfFiles = _this.RepeaterField.ControlOptions.maxFileCount;
|
|
6214
|
+
MultiFile.IsMultipleFile = true;
|
|
6215
|
+
_this.renderComponentService.renderDynamicComponent(_this.Item, FileUploadComponent, _this.group, MultiFile);
|
|
6216
|
+
break;
|
|
6217
|
+
//ImageUpload
|
|
6218
|
+
case exports.DataType.Image:
|
|
6219
|
+
var Image = new ImageUploadOptions();
|
|
6220
|
+
Image.Name = _this.RepeaterField.ControlOptions.Name + "." + _this.itemNumber.toString() + "." + _this.controlNumber.toString();
|
|
6221
|
+
Image.HideLabel = _this.RepeaterField.ControlOptions.HideLabel;
|
|
6222
|
+
Image.LabelKey = _this.RepeaterField.ControlOptions.LabelKey;
|
|
6223
|
+
Image.IsRequired = _this.RepeaterField.ControlOptions.IsRequired;
|
|
6224
|
+
Image.ViewType = _this.RepeaterField.ControlOptions.ViewType;
|
|
6225
|
+
Image.LabelDescription = _this.RepeaterField.ControlOptions.LabelDescription ? _this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6226
|
+
if (_this.RepeaterField.ControlOptions.maxFileSizeInMB)
|
|
6227
|
+
Image.FileMaxSizeInMB = _this.RepeaterField.ControlOptions.maxFileSizeInMB;
|
|
6228
|
+
_this.renderComponentService.renderDynamicComponent(_this.Item, ImageUploaderComponent, _this.group, Image);
|
|
6229
|
+
break;
|
|
6230
|
+
case exports.DataType.CoverPhoto:
|
|
6231
|
+
var CoverPhoto = new ImageUploadOptions();
|
|
6232
|
+
CoverPhoto.Name = _this.RepeaterField.ControlOptions.Name + "." + _this.itemNumber.toString() + "." + _this.controlNumber.toString();
|
|
6233
|
+
CoverPhoto.HideLabel = _this.RepeaterField.ControlOptions.HideLabel;
|
|
6234
|
+
CoverPhoto.LabelKey = _this.RepeaterField.ControlOptions.LabelKey;
|
|
6235
|
+
CoverPhoto.IsRequired = _this.RepeaterField.ControlOptions.IsRequired;
|
|
6236
|
+
CoverPhoto.ViewType = _this.RepeaterField.ControlOptions.ViewType;
|
|
6237
|
+
CoverPhoto.LabelDescription = _this.RepeaterField.ControlOptions.LabelDescription ? _this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6238
|
+
if (_this.RepeaterField.ControlOptions.maxFileSizeInMB)
|
|
6239
|
+
CoverPhoto.FileMaxSizeInMB = _this.RepeaterField.ControlOptions.maxFileSizeInMB;
|
|
6240
|
+
_this.renderComponentService.renderDynamicComponent(_this.Item, ImageUploaderComponent, _this.group, CoverPhoto);
|
|
6241
|
+
break;
|
|
6242
|
+
//Mobile
|
|
6243
|
+
case exports.DataType.Mobile:
|
|
6244
|
+
var Mobile = new PhoneOptions();
|
|
6245
|
+
Mobile.Name = _this.RepeaterField.ControlOptions.Name + "." + _this.itemNumber.toString() + "." + _this.controlNumber.toString();
|
|
6246
|
+
Mobile.HideLabel = _this.RepeaterField.ControlOptions.HideLabel;
|
|
6247
|
+
Mobile.LabelKey = _this.RepeaterField.ControlOptions.LabelKey;
|
|
6248
|
+
Mobile.IsRequired = _this.RepeaterField.ControlOptions.IsRequired;
|
|
6249
|
+
Mobile.ViewType = _this.RepeaterField.ControlOptions.ViewType;
|
|
6250
|
+
Mobile.LabelDescription = _this.RepeaterField.ControlOptions.LabelDescription ? _this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6251
|
+
Mobile.AllowSearch = true;
|
|
6252
|
+
Mobile.PhoneValidation = true;
|
|
6253
|
+
Mobile.SelectFirstCountry = true;
|
|
6254
|
+
Mobile.EnablePlaceholder = true;
|
|
6255
|
+
_this.renderComponentService.renderDynamicComponent(_this.Item, PhoneComponent, _this.group, Mobile);
|
|
6256
|
+
break;
|
|
6257
|
+
//MultilineText
|
|
6258
|
+
case exports.DataType.MultilineText:
|
|
6259
|
+
var MultilineText = new TextAreaOptions();
|
|
6260
|
+
MultilineText.Name = _this.RepeaterField.ControlOptions.Name + "." + _this.itemNumber.toString() + "." + _this.controlNumber.toString();
|
|
6261
|
+
MultilineText.HideLabel = _this.RepeaterField.ControlOptions.HideLabel;
|
|
6262
|
+
MultilineText.LabelKey = _this.RepeaterField.ControlOptions.LabelKey;
|
|
6263
|
+
MultilineText.IsRequired = _this.RepeaterField.ControlOptions.IsRequired;
|
|
6264
|
+
MultilineText.ViewType = _this.RepeaterField.ControlOptions.ViewType;
|
|
6265
|
+
MultilineText.LabelDescription = _this.RepeaterField.ControlOptions.LabelDescription ? _this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6266
|
+
if (_this.RepeaterField.ControlOptions.maxLength)
|
|
6267
|
+
MultilineText.MaxLength = _this.RepeaterField.ControlOptions.maxLength;
|
|
6268
|
+
if (_this.RepeaterField.ControlOptions.minLength)
|
|
6269
|
+
MultilineText.MinLength = _this.RepeaterField.ControlOptions.minLength;
|
|
6270
|
+
MultilineText.Rows = _this.RepeaterField.ControlOptions.rows;
|
|
6271
|
+
MultilineText.ForceDirection = _this.RepeaterField.ControlOptions.ForceDirection;
|
|
6272
|
+
_this.renderComponentService.renderDynamicComponent(_this.Item, TextAreaComponent, _this.group, MultilineText);
|
|
6273
|
+
break;
|
|
6274
|
+
//HTML
|
|
6275
|
+
case exports.DataType.HTML:
|
|
6276
|
+
var HTML = new HtmlEditorOptions();
|
|
6277
|
+
HTML.Name = _this.RepeaterField.ControlOptions.Name + "." + _this.itemNumber.toString() + "." + _this.controlNumber.toString();
|
|
6278
|
+
HTML.HideLabel = _this.RepeaterField.ControlOptions.HideLabel;
|
|
6279
|
+
HTML.LabelKey = _this.RepeaterField.ControlOptions.LabelKey;
|
|
6280
|
+
HTML.IsRequired = _this.RepeaterField.ControlOptions.IsRequired;
|
|
6281
|
+
HTML.ViewType = _this.RepeaterField.ControlOptions.ViewType;
|
|
6282
|
+
HTML.LabelDescription = _this.RepeaterField.ControlOptions.LabelDescription ? _this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6283
|
+
if (_this.RepeaterField.ControlOptions.maxLength)
|
|
6284
|
+
HTML.MaxLength = _this.RepeaterField.ControlOptions.maxLength;
|
|
6285
|
+
if (_this.RepeaterField.ControlOptions.minLength)
|
|
6286
|
+
HTML.MinLength = _this.RepeaterField.ControlOptions.minLength;
|
|
6287
|
+
HTML.Height = _this.RepeaterField.ControlOptions.rows;
|
|
6288
|
+
HTML.ForceDirection = _this.RepeaterField.ControlOptions.ForceDirection;
|
|
6289
|
+
_this.renderComponentService.renderDynamicComponent(_this.Item, HtmlEditorComponent, _this.group, HTML);
|
|
6290
|
+
break;
|
|
6291
|
+
//Boolean
|
|
6292
|
+
case exports.DataType.Boolean:
|
|
6293
|
+
var Boolean = new ToggleSlideOptions();
|
|
6294
|
+
Boolean.Name = _this.RepeaterField.ControlOptions.Name + "." + _this.itemNumber.toString() + "." + _this.controlNumber.toString();
|
|
6295
|
+
Boolean.HideLabel = _this.RepeaterField.ControlOptions.HideLabel;
|
|
6296
|
+
Boolean.LabelKey = _this.RepeaterField.ControlOptions.LabelKey;
|
|
6297
|
+
Boolean.ViewType = _this.RepeaterField.ControlOptions.ViewType;
|
|
6298
|
+
Boolean.LabelDescription = _this.RepeaterField.ControlOptions.LabelDescription ? _this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6299
|
+
_this.renderComponentService.renderDynamicComponent(_this.Item, ToggleslideComponent, _this.group, Boolean);
|
|
6300
|
+
break;
|
|
6301
|
+
//Location
|
|
6302
|
+
case exports.DataType.Location:
|
|
6303
|
+
var Location = new MapAutoCompleteOptions();
|
|
6304
|
+
Location.Name = _this.RepeaterField.ControlOptions.Name + "." + _this.itemNumber.toString() + "." + _this.controlNumber.toString();
|
|
6305
|
+
Location.HideLabel = _this.RepeaterField.ControlOptions.HideLabel;
|
|
6306
|
+
Location.LabelKey = _this.RepeaterField.ControlOptions.LabelKey;
|
|
6307
|
+
Location.IsRequired = _this.RepeaterField.ControlOptions.IsRequired;
|
|
6308
|
+
Location.ViewType = _this.RepeaterField.ControlOptions.ViewType;
|
|
6309
|
+
Location.LabelDescription = _this.RepeaterField.ControlOptions.LabelDescription ? _this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6310
|
+
_this.renderComponentService.renderDynamicComponent(_this.Item, MapAutoCompleteComponent, _this.group, Location);
|
|
6311
|
+
break;
|
|
6312
|
+
default:
|
|
6313
|
+
break;
|
|
6314
|
+
}
|
|
6315
|
+
}, 0);
|
|
6316
|
+
};
|
|
6317
|
+
RepeaterFieldBuilderComponent.prototype.ngOnChanges = function (changes) {
|
|
6318
|
+
if (changes.itemNumber.previousValue) {
|
|
6319
|
+
var name = this.RepeaterField.ControlOptions.Name + "." + changes.itemNumber.previousValue.toString() + "." + this.controlNumber.toString();
|
|
6320
|
+
var value = this.group.controls[name].value;
|
|
6321
|
+
this.Item.clear();
|
|
6322
|
+
this.group.removeControl(name);
|
|
6323
|
+
switch (this.RepeaterField.ControlType) {
|
|
6324
|
+
///TextBox
|
|
6325
|
+
case exports.DataType.Text:
|
|
6326
|
+
var Text = new TextBoxOptions();
|
|
6327
|
+
Text.Name = this.RepeaterField.ControlOptions.Name + "." + changes.itemNumber.currentValue + "." + this.controlNumber.toString();
|
|
6328
|
+
Text.HideLabel = this.RepeaterField.ControlOptions.HideLabel;
|
|
6329
|
+
Text.LabelKey = this.RepeaterField.ControlOptions.LabelKey;
|
|
6330
|
+
Text.IsRequired = this.RepeaterField.ControlOptions.IsRequired;
|
|
6331
|
+
Text.ViewType = this.RepeaterField.ControlOptions.ViewType;
|
|
6332
|
+
Text.LabelDescription = this.RepeaterField.ControlOptions.LabelDescription ? this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6333
|
+
Text.Type = exports.InputType.Text;
|
|
6334
|
+
if (this.RepeaterField.ControlOptions.maxLength)
|
|
6335
|
+
Text.MaxLength = this.RepeaterField.ControlOptions.maxLength;
|
|
6336
|
+
if (this.RepeaterField.ControlOptions.minLength)
|
|
6337
|
+
Text.MinLength = this.RepeaterField.ControlOptions.minLength;
|
|
6338
|
+
Text.Value = value;
|
|
6339
|
+
this.renderComponentService.renderDynamicComponent(this.Item, TextboxComponent, this.group, Text);
|
|
6340
|
+
break;
|
|
6341
|
+
case exports.DataType.Name:
|
|
6342
|
+
var Name = new TextBoxOptions();
|
|
6343
|
+
Name.Name = this.RepeaterField.ControlOptions.Name + "." + changes.itemNumber.currentValue + "." + this.controlNumber.toString();
|
|
6344
|
+
Name.HideLabel = this.RepeaterField.ControlOptions.HideLabel;
|
|
6345
|
+
Name.LabelKey = this.RepeaterField.ControlOptions.LabelKey;
|
|
6346
|
+
Name.IsRequired = this.RepeaterField.ControlOptions.IsRequired;
|
|
6347
|
+
Name.ViewType = this.RepeaterField.ControlOptions.ViewType;
|
|
6348
|
+
Name.LabelDescription = this.RepeaterField.ControlOptions.LabelDescription ? this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6349
|
+
if (this.RepeaterField.ControlOptions.maxLength)
|
|
6350
|
+
Name.MaxLength = this.RepeaterField.ControlOptions.maxLength;
|
|
6351
|
+
if (this.RepeaterField.ControlOptions.minLength)
|
|
6352
|
+
Name.MinLength = this.RepeaterField.ControlOptions.minLength;
|
|
6353
|
+
Name.Type = exports.InputType.Text;
|
|
6354
|
+
Name.Value = value;
|
|
6355
|
+
this.renderComponentService.renderDynamicComponent(this.Item, TextboxComponent, this.group, Name);
|
|
6356
|
+
break;
|
|
6357
|
+
case exports.DataType.Email:
|
|
6358
|
+
var Email = new TextBoxOptions();
|
|
6359
|
+
Email.Name = this.RepeaterField.ControlOptions.Name + "." + changes.itemNumber.currentValue + "." + this.controlNumber.toString();
|
|
6360
|
+
Email.HideLabel = this.RepeaterField.ControlOptions.HideLabel;
|
|
6361
|
+
Email.LabelKey = this.RepeaterField.ControlOptions.LabelKey;
|
|
6362
|
+
Email.IsRequired = this.RepeaterField.ControlOptions.IsRequired;
|
|
6363
|
+
Email.ViewType = this.RepeaterField.ControlOptions.ViewType;
|
|
6364
|
+
Email.LabelDescription = this.RepeaterField.ControlOptions.LabelDescription ? this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6365
|
+
Email.Type = exports.InputType.Email;
|
|
6366
|
+
Email.Value = value;
|
|
6367
|
+
this.renderComponentService.renderDynamicComponent(this.Item, TextboxComponent, this.group, Email);
|
|
6368
|
+
break;
|
|
6369
|
+
case exports.DataType.Number:
|
|
6370
|
+
var Number = new TextBoxOptions();
|
|
6371
|
+
Number.Name = this.RepeaterField.ControlOptions.Name + "." + changes.itemNumber.currentValue + "." + this.controlNumber.toString();
|
|
6372
|
+
Number.HideLabel = this.RepeaterField.ControlOptions.HideLabel;
|
|
6373
|
+
Number.LabelKey = this.RepeaterField.ControlOptions.LabelKey;
|
|
6374
|
+
Number.IsRequired = this.RepeaterField.ControlOptions.IsRequired;
|
|
6375
|
+
Number.ViewType = this.RepeaterField.ControlOptions.ViewType;
|
|
6376
|
+
Number.LabelDescription = this.RepeaterField.ControlOptions.LabelDescription ? this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6377
|
+
Number.Type = exports.InputType.Number;
|
|
6378
|
+
var rangeNumber = new RangeNumber();
|
|
6379
|
+
rangeNumber.To = this.RepeaterField.ControlOptions.maxLength;
|
|
6380
|
+
rangeNumber.From = this.RepeaterField.ControlOptions.minLength;
|
|
6381
|
+
Number.NumberRange = rangeNumber;
|
|
6382
|
+
Number.Value = value;
|
|
6383
|
+
this.renderComponentService.renderDynamicComponent(this.Item, TextboxComponent, this.group, Number);
|
|
6384
|
+
break;
|
|
6385
|
+
///DateTime
|
|
6386
|
+
case exports.DataType.Date:
|
|
6387
|
+
var Date = new DatePickerOptions();
|
|
6388
|
+
Date.Name = this.RepeaterField.ControlOptions.Name + "." + changes.itemNumber.currentValue + "." + this.controlNumber.toString();
|
|
6389
|
+
Date.HideLabel = this.RepeaterField.ControlOptions.HideLabel;
|
|
6390
|
+
Date.LabelKey = this.RepeaterField.ControlOptions.LabelKey;
|
|
6391
|
+
Date.IsRequired = this.RepeaterField.ControlOptions.IsRequired;
|
|
6392
|
+
Date.ViewType = this.RepeaterField.ControlOptions.ViewType;
|
|
6393
|
+
Date.LabelDescription = this.RepeaterField.ControlOptions.LabelDescription ? this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6394
|
+
Date.PickerType = exports.PickerType.Calendar;
|
|
6395
|
+
Date.SelectMode = exports.SelectMode.Single;
|
|
6396
|
+
Date.StartView = exports.StartView.Month;
|
|
6397
|
+
Date.Value = value;
|
|
6398
|
+
this.renderComponentService.renderDynamicComponent(this.Item, DateInputComponent, this.group, Date);
|
|
6399
|
+
break;
|
|
6400
|
+
case exports.DataType.DateTime:
|
|
6401
|
+
var DateTime = new DatePickerOptions();
|
|
6402
|
+
DateTime.Name = this.RepeaterField.ControlOptions.Name + "." + changes.itemNumber.currentValue + "." + this.controlNumber.toString();
|
|
6403
|
+
DateTime.HideLabel = this.RepeaterField.ControlOptions.HideLabel;
|
|
6404
|
+
DateTime.LabelKey = this.RepeaterField.ControlOptions.LabelKey;
|
|
6405
|
+
DateTime.IsRequired = this.RepeaterField.ControlOptions.IsRequired;
|
|
6406
|
+
DateTime.ViewType = this.RepeaterField.ControlOptions.ViewType;
|
|
6407
|
+
DateTime.LabelDescription = this.RepeaterField.ControlOptions.LabelDescription ? this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6408
|
+
DateTime.PickerType = exports.PickerType.Both;
|
|
6409
|
+
DateTime.SelectMode = exports.SelectMode.Single;
|
|
6410
|
+
DateTime.StartView = exports.StartView.Month;
|
|
6411
|
+
DateTime.Value = value;
|
|
6412
|
+
this.renderComponentService.renderDynamicComponent(this.Item, DateInputComponent, this.group, DateTime);
|
|
6413
|
+
break;
|
|
6414
|
+
case exports.DataType.Time:
|
|
6415
|
+
var Time = new DatePickerOptions();
|
|
6416
|
+
Time.Name = this.RepeaterField.ControlOptions.Name + "." + changes.itemNumber.currentValue + "." + this.controlNumber.toString();
|
|
6417
|
+
Time.HideLabel = this.RepeaterField.ControlOptions.HideLabel;
|
|
6418
|
+
Time.LabelKey = this.RepeaterField.ControlOptions.LabelKey;
|
|
6419
|
+
Time.IsRequired = this.RepeaterField.ControlOptions.IsRequired;
|
|
6420
|
+
Time.ViewType = this.RepeaterField.ControlOptions.ViewType;
|
|
6421
|
+
Time.LabelDescription = this.RepeaterField.ControlOptions.LabelDescription ? this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6422
|
+
Time.PickerType = exports.PickerType.Timer;
|
|
6423
|
+
Time.SelectMode = exports.SelectMode.Single;
|
|
6424
|
+
Time.StartView = exports.StartView.Month;
|
|
6425
|
+
Time.Value = value;
|
|
6426
|
+
this.renderComponentService.renderDynamicComponent(this.Item, DateInputComponent, this.group, Time);
|
|
6427
|
+
break;
|
|
6428
|
+
//Dropdown
|
|
6429
|
+
case exports.DataType.SingleSelect:
|
|
6430
|
+
var SingleSelect = new DropdownOptions();
|
|
6431
|
+
SingleSelect.Name = this.RepeaterField.ControlOptions.Name + "." + changes.itemNumber.currentValue + "." + this.controlNumber.toString();
|
|
6432
|
+
SingleSelect.HideLabel = this.RepeaterField.ControlOptions.HideLabel;
|
|
6433
|
+
SingleSelect.LabelKey = this.RepeaterField.ControlOptions.LabelKey;
|
|
6434
|
+
SingleSelect.IsRequired = this.RepeaterField.ControlOptions.IsRequired;
|
|
6435
|
+
SingleSelect.ViewType = this.RepeaterField.ControlOptions.ViewType;
|
|
6436
|
+
SingleSelect.LabelDescription = this.RepeaterField.ControlOptions.LabelDescription ? this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6437
|
+
SingleSelect.DataSource = this.RepeaterField.ControlOptions.dataSource;
|
|
6438
|
+
SingleSelect.SingleSelection = true;
|
|
6439
|
+
SingleSelect.ShowCheckbox = false;
|
|
6440
|
+
SingleSelect.AllowSearchFilter = this.RepeaterField.ControlOptions.hasSearch;
|
|
6441
|
+
SingleSelect.SelectedItems = value;
|
|
6442
|
+
this.renderComponentService.renderDynamicComponent(this.Item, DropdownListComponent, this.group, SingleSelect);
|
|
6443
|
+
break;
|
|
6444
|
+
case exports.DataType.MulipleSelect:
|
|
6445
|
+
var MulipleSelect = new DropdownOptions();
|
|
6446
|
+
MulipleSelect.Name = this.RepeaterField.ControlOptions.Name + "." + changes.itemNumber.currentValue + "." + this.controlNumber.toString();
|
|
6447
|
+
MulipleSelect.HideLabel = this.RepeaterField.ControlOptions.HideLabel;
|
|
6448
|
+
MulipleSelect.LabelKey = this.RepeaterField.ControlOptions.LabelKey;
|
|
6449
|
+
MulipleSelect.IsRequired = this.RepeaterField.ControlOptions.IsRequired;
|
|
6450
|
+
MulipleSelect.ViewType = this.RepeaterField.ControlOptions.ViewType;
|
|
6451
|
+
MulipleSelect.LabelDescription = this.RepeaterField.ControlOptions.LabelDescription ? this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6452
|
+
MulipleSelect.DataSource = this.RepeaterField.ControlOptions.dataSource;
|
|
6453
|
+
MulipleSelect.SingleSelection = false;
|
|
6454
|
+
MulipleSelect.ShowCheckbox = false;
|
|
6455
|
+
MulipleSelect.AllowSearchFilter = this.RepeaterField.ControlOptions.hasSearch;
|
|
6456
|
+
MulipleSelect.SelectedItems = value;
|
|
6457
|
+
this.renderComponentService.renderDynamicComponent(this.Item, DropdownListComponent, this.group, MulipleSelect);
|
|
6458
|
+
break;
|
|
6459
|
+
case exports.DataType.Goal:
|
|
6460
|
+
var Goal = new DropdownOptions();
|
|
6461
|
+
Goal.Name = this.RepeaterField.ControlOptions.Name + "." + changes.itemNumber.currentValue + "." + this.controlNumber.toString();
|
|
6462
|
+
Goal.HideLabel = this.RepeaterField.ControlOptions.HideLabel;
|
|
6463
|
+
Goal.LabelKey = this.RepeaterField.ControlOptions.LabelKey;
|
|
6464
|
+
Goal.IsRequired = this.RepeaterField.ControlOptions.IsRequired;
|
|
6465
|
+
Goal.ViewType = this.RepeaterField.ControlOptions.ViewType;
|
|
6466
|
+
Goal.LabelDescription = this.RepeaterField.ControlOptions.LabelDescription ? this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6467
|
+
Goal.DataSource = this.RepeaterField.ControlOptions.dataSource;
|
|
6468
|
+
Goal.SingleSelection = !this.RepeaterField.ControlOptions.isMultiple;
|
|
6469
|
+
Goal.ShowCheckbox = false;
|
|
6470
|
+
Goal.AllowSearchFilter = this.RepeaterField.ControlOptions.hasSearch;
|
|
6471
|
+
Goal.SelectedItems = value;
|
|
6472
|
+
this.renderComponentService.renderDynamicComponent(this.Item, DropdownListComponent, this.group, Goal);
|
|
6473
|
+
break;
|
|
6474
|
+
case exports.DataType.Challenge:
|
|
6475
|
+
var Challenge = new DropdownOptions();
|
|
6476
|
+
Challenge.Name = this.RepeaterField.ControlOptions.Name + "." + changes.itemNumber.currentValue + "." + this.controlNumber.toString();
|
|
6477
|
+
Challenge.HideLabel = this.RepeaterField.ControlOptions.HideLabel;
|
|
6478
|
+
Challenge.LabelKey = this.RepeaterField.ControlOptions.LabelKey;
|
|
6479
|
+
Challenge.IsRequired = this.RepeaterField.ControlOptions.IsRequired;
|
|
6480
|
+
Challenge.ViewType = this.RepeaterField.ControlOptions.ViewType;
|
|
6481
|
+
Challenge.LabelDescription = this.RepeaterField.ControlOptions.LabelDescription ? this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6482
|
+
Challenge.DataSource = this.RepeaterField.ControlOptions.dataSource;
|
|
6483
|
+
Challenge.DataSource = this.RepeaterField.ControlOptions.dataSource;
|
|
6484
|
+
Challenge.SingleSelection = !this.RepeaterField.ControlOptions.isMultiple;
|
|
6485
|
+
Challenge.ShowCheckbox = false;
|
|
6486
|
+
Challenge.AllowSearchFilter = this.RepeaterField.ControlOptions.hasSearch;
|
|
6487
|
+
Challenge.SelectedItems = value;
|
|
6488
|
+
this.renderComponentService.renderDynamicComponent(this.Item, DropdownListComponent, this.group, Challenge);
|
|
6489
|
+
break;
|
|
6490
|
+
case exports.DataType.InnovationLab:
|
|
6491
|
+
var InnovationLab = new DropdownOptions();
|
|
6492
|
+
InnovationLab.Name = this.RepeaterField.ControlOptions.Name + "." + changes.itemNumber.currentValue + "." + this.controlNumber.toString();
|
|
6493
|
+
InnovationLab.HideLabel = this.RepeaterField.ControlOptions.HideLabel;
|
|
6494
|
+
InnovationLab.LabelKey = this.RepeaterField.ControlOptions.LabelKey;
|
|
6495
|
+
InnovationLab.IsRequired = this.RepeaterField.ControlOptions.IsRequired;
|
|
6496
|
+
InnovationLab.ViewType = this.RepeaterField.ControlOptions.ViewType;
|
|
6497
|
+
InnovationLab.LabelDescription = this.RepeaterField.ControlOptions.LabelDescription ? this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6498
|
+
InnovationLab.DataSource = this.RepeaterField.ControlOptions.dataSource;
|
|
6499
|
+
InnovationLab.SingleSelection = !this.RepeaterField.ControlOptions.isMultiple;
|
|
6500
|
+
InnovationLab.ShowCheckbox = false;
|
|
6501
|
+
InnovationLab.AllowSearchFilter = this.RepeaterField.ControlOptions.hasSearch;
|
|
6502
|
+
InnovationLab.SelectedItems = value;
|
|
6503
|
+
this.renderComponentService.renderDynamicComponent(this.Item, DropdownListComponent, this.group, InnovationLab);
|
|
6504
|
+
break;
|
|
6505
|
+
case exports.DataType.Country:
|
|
6506
|
+
var Country = new DropdownOptions();
|
|
6507
|
+
Country.Name = this.RepeaterField.ControlOptions.Name + "." + changes.itemNumber.currentValue + "." + this.controlNumber.toString();
|
|
6508
|
+
Country.HideLabel = this.RepeaterField.ControlOptions.HideLabel;
|
|
6509
|
+
Country.LabelKey = this.RepeaterField.ControlOptions.LabelKey;
|
|
6510
|
+
Country.IsRequired = this.RepeaterField.ControlOptions.IsRequired;
|
|
6511
|
+
Country.ViewType = this.RepeaterField.ControlOptions.ViewType;
|
|
6512
|
+
Country.LabelDescription = this.RepeaterField.ControlOptions.LabelDescription ? this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6513
|
+
Country.DataSource = this.RepeaterField.ControlOptions.dataSource;
|
|
6514
|
+
Country.SingleSelection = !this.RepeaterField.ControlOptions.isMultiple;
|
|
6515
|
+
Country.ShowCheckbox = false;
|
|
6516
|
+
Country.AllowSearchFilter = this.RepeaterField.ControlOptions.hasSearch;
|
|
6517
|
+
Country.SelectedItems = value;
|
|
6518
|
+
this.renderComponentService.renderDynamicComponent(this.Item, DropdownListComponent, this.group, Country);
|
|
6519
|
+
break;
|
|
6520
|
+
//FileUpload
|
|
6521
|
+
case exports.DataType.File:
|
|
6522
|
+
var File = new FileUploadOptions();
|
|
6523
|
+
File.Name = this.RepeaterField.ControlOptions.Name + "." + changes.itemNumber.currentValue + "." + this.controlNumber.toString();
|
|
6524
|
+
File.HideLabel = this.RepeaterField.ControlOptions.HideLabel;
|
|
6525
|
+
File.LabelKey = this.RepeaterField.ControlOptions.LabelKey;
|
|
6526
|
+
File.IsRequired = this.RepeaterField.ControlOptions.IsRequired;
|
|
6527
|
+
File.ViewType = this.RepeaterField.ControlOptions.ViewType;
|
|
6528
|
+
File.LabelDescription = this.RepeaterField.ControlOptions.LabelDescription ? this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6529
|
+
File.FileMaxSizeInMB = this.RepeaterField.ControlOptions.maxFileSizeInMB;
|
|
6530
|
+
File.Value = value;
|
|
6531
|
+
this.renderComponentService.renderDynamicComponent(this.Item, FileUploadComponent, this.group, File);
|
|
6532
|
+
break;
|
|
6533
|
+
case exports.DataType.MultiFile:
|
|
6534
|
+
var MultiFile = new FileUploadOptions();
|
|
6535
|
+
File.Name = this.RepeaterField.ControlOptions.Name + "." + changes.itemNumber.currentValue + "." + this.controlNumber.toString();
|
|
6536
|
+
File.HideLabel = this.RepeaterField.ControlOptions.HideLabel;
|
|
6537
|
+
File.LabelKey = this.RepeaterField.ControlOptions.LabelKey;
|
|
6538
|
+
File.IsRequired = this.RepeaterField.ControlOptions.IsRequired;
|
|
6539
|
+
File.ViewType = this.RepeaterField.ControlOptions.ViewType;
|
|
6540
|
+
File.LabelDescription = this.RepeaterField.ControlOptions.LabelDescription ? this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6541
|
+
MultiFile.MaxSizeForAllFilesInMB = this.RepeaterField.ControlOptions.maxFileSizeInMB;
|
|
6542
|
+
MultiFile.MaxNoOfFiles = this.RepeaterField.ControlOptions.maxFileCount;
|
|
6543
|
+
MultiFile.IsMultipleFile = true;
|
|
6544
|
+
MultiFile.Value = value;
|
|
6545
|
+
this.renderComponentService.renderDynamicComponent(this.Item, FileUploadComponent, this.group, MultiFile);
|
|
6546
|
+
break;
|
|
6547
|
+
//ImageUpload
|
|
6548
|
+
case exports.DataType.Image:
|
|
6549
|
+
var Image = new ImageUploadOptions();
|
|
6550
|
+
Image.Name = this.RepeaterField.ControlOptions.Name + "." + changes.itemNumber.currentValue + "." + this.controlNumber.toString();
|
|
6551
|
+
Image.HideLabel = this.RepeaterField.ControlOptions.HideLabel;
|
|
6552
|
+
Image.LabelKey = this.RepeaterField.ControlOptions.LabelKey;
|
|
6553
|
+
Image.IsRequired = this.RepeaterField.ControlOptions.IsRequired;
|
|
6554
|
+
Image.ViewType = this.RepeaterField.ControlOptions.ViewType;
|
|
6555
|
+
Image.LabelDescription = this.RepeaterField.ControlOptions.LabelDescription ? this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6556
|
+
if (this.RepeaterField.ControlOptions.maxFileSizeInMB)
|
|
6557
|
+
Image.FileMaxSizeInMB = this.RepeaterField.ControlOptions.maxFileSizeInMB;
|
|
6558
|
+
Image.Value = value;
|
|
6559
|
+
this.renderComponentService.renderDynamicComponent(this.Item, ImageUploaderComponent, this.group, Image);
|
|
6560
|
+
break;
|
|
6561
|
+
case exports.DataType.CoverPhoto:
|
|
6562
|
+
var CoverPhoto = new ImageUploadOptions();
|
|
6563
|
+
CoverPhoto.Name = this.RepeaterField.ControlOptions.Name + "." + changes.itemNumber.currentValue + "." + this.controlNumber.toString();
|
|
6564
|
+
CoverPhoto.HideLabel = this.RepeaterField.ControlOptions.HideLabel;
|
|
6565
|
+
CoverPhoto.LabelKey = this.RepeaterField.ControlOptions.LabelKey;
|
|
6566
|
+
CoverPhoto.IsRequired = this.RepeaterField.ControlOptions.IsRequired;
|
|
6567
|
+
CoverPhoto.ViewType = this.RepeaterField.ControlOptions.ViewType;
|
|
6568
|
+
CoverPhoto.LabelDescription = this.RepeaterField.ControlOptions.LabelDescription ? this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6569
|
+
if (this.RepeaterField.ControlOptions.maxFileSizeInMB)
|
|
6570
|
+
CoverPhoto.FileMaxSizeInMB = this.RepeaterField.ControlOptions.maxFileSizeInMB;
|
|
6571
|
+
CoverPhoto.Value = value;
|
|
6572
|
+
this.renderComponentService.renderDynamicComponent(this.Item, ImageUploaderComponent, this.group, CoverPhoto);
|
|
6573
|
+
break;
|
|
6574
|
+
//Mobile
|
|
6575
|
+
case exports.DataType.Mobile:
|
|
6576
|
+
var Mobile = new PhoneOptions();
|
|
6577
|
+
Mobile.Name = this.RepeaterField.ControlOptions.Name + "." + changes.itemNumber.currentValue + "." + this.controlNumber.toString();
|
|
6578
|
+
Mobile.HideLabel = this.RepeaterField.ControlOptions.HideLabel;
|
|
6579
|
+
Mobile.LabelKey = this.RepeaterField.ControlOptions.LabelKey;
|
|
6580
|
+
Mobile.IsRequired = this.RepeaterField.ControlOptions.IsRequired;
|
|
6581
|
+
Mobile.ViewType = this.RepeaterField.ControlOptions.ViewType;
|
|
6582
|
+
Mobile.LabelDescription = this.RepeaterField.ControlOptions.LabelDescription ? this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6583
|
+
Mobile.AllowSearch = true;
|
|
6584
|
+
Mobile.PhoneValidation = true;
|
|
6585
|
+
Mobile.SelectFirstCountry = true;
|
|
6586
|
+
Mobile.EnablePlaceholder = true;
|
|
6587
|
+
Mobile.Value = value;
|
|
6588
|
+
this.renderComponentService.renderDynamicComponent(this.Item, PhoneComponent, this.group, Mobile);
|
|
6589
|
+
break;
|
|
6590
|
+
//MultilineText
|
|
6591
|
+
case exports.DataType.MultilineText:
|
|
6592
|
+
var MultilineText = new TextAreaOptions();
|
|
6593
|
+
MultilineText.Name = this.RepeaterField.ControlOptions.Name + "." + changes.itemNumber.currentValue + "." + this.controlNumber.toString();
|
|
6594
|
+
MultilineText.HideLabel = this.RepeaterField.ControlOptions.HideLabel;
|
|
6595
|
+
MultilineText.LabelKey = this.RepeaterField.ControlOptions.LabelKey;
|
|
6596
|
+
MultilineText.IsRequired = this.RepeaterField.ControlOptions.IsRequired;
|
|
6597
|
+
MultilineText.ViewType = this.RepeaterField.ControlOptions.ViewType;
|
|
6598
|
+
MultilineText.LabelDescription = this.RepeaterField.ControlOptions.LabelDescription ? this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6599
|
+
if (this.RepeaterField.ControlOptions.maxLength)
|
|
6600
|
+
MultilineText.MaxLength = this.RepeaterField.ControlOptions.maxLength;
|
|
6601
|
+
if (this.RepeaterField.ControlOptions.minLength)
|
|
6602
|
+
MultilineText.MinLength = this.RepeaterField.ControlOptions.minLength;
|
|
6603
|
+
MultilineText.Rows = this.RepeaterField.ControlOptions.rows;
|
|
6604
|
+
MultilineText.ForceDirection = this.RepeaterField.ControlOptions.ForceDirection;
|
|
6605
|
+
MultilineText.Value = value;
|
|
6606
|
+
this.renderComponentService.renderDynamicComponent(this.Item, TextAreaComponent, this.group, MultilineText);
|
|
6607
|
+
break;
|
|
6608
|
+
//HTML
|
|
6609
|
+
case exports.DataType.HTML:
|
|
6610
|
+
var HTML = new HtmlEditorOptions();
|
|
6611
|
+
HTML.Name = this.RepeaterField.ControlOptions.Name + "." + changes.itemNumber.currentValue + "." + this.controlNumber.toString();
|
|
6612
|
+
HTML.HideLabel = this.RepeaterField.ControlOptions.HideLabel;
|
|
6613
|
+
HTML.LabelKey = this.RepeaterField.ControlOptions.LabelKey;
|
|
6614
|
+
HTML.IsRequired = this.RepeaterField.ControlOptions.IsRequired;
|
|
6615
|
+
HTML.ViewType = this.RepeaterField.ControlOptions.ViewType;
|
|
6616
|
+
HTML.LabelDescription = this.RepeaterField.ControlOptions.LabelDescription ? this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6617
|
+
if (this.RepeaterField.ControlOptions.maxLength)
|
|
6618
|
+
HTML.MaxLength = this.RepeaterField.ControlOptions.maxLength;
|
|
6619
|
+
if (this.RepeaterField.ControlOptions.minLength)
|
|
6620
|
+
HTML.MinLength = this.RepeaterField.ControlOptions.minLength;
|
|
6621
|
+
HTML.Height = this.RepeaterField.ControlOptions.rows;
|
|
6622
|
+
HTML.ForceDirection = this.RepeaterField.ControlOptions.ForceDirection;
|
|
6623
|
+
HTML.Value = value;
|
|
6624
|
+
this.renderComponentService.renderDynamicComponent(this.Item, HtmlEditorComponent, this.group, HTML);
|
|
6625
|
+
break;
|
|
6626
|
+
//Boolean
|
|
6627
|
+
case exports.DataType.Boolean:
|
|
6628
|
+
var Boolean = new ToggleSlideOptions();
|
|
6629
|
+
Boolean.Name = this.RepeaterField.ControlOptions.Name + "." + changes.itemNumber.currentValue + "." + this.controlNumber.toString();
|
|
6630
|
+
Boolean.HideLabel = this.RepeaterField.ControlOptions.HideLabel;
|
|
6631
|
+
Boolean.LabelKey = this.RepeaterField.ControlOptions.LabelKey;
|
|
6632
|
+
Boolean.ViewType = this.RepeaterField.ControlOptions.ViewType;
|
|
6633
|
+
Boolean.LabelDescription = this.RepeaterField.ControlOptions.LabelDescription ? this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6634
|
+
Boolean.Value = value;
|
|
6635
|
+
this.renderComponentService.renderDynamicComponent(this.Item, ToggleslideComponent, this.group, Boolean);
|
|
6636
|
+
break;
|
|
6637
|
+
//Location
|
|
6638
|
+
case exports.DataType.Location:
|
|
6639
|
+
var Location = new MapAutoCompleteOptions();
|
|
6640
|
+
Location.Name = this.RepeaterField.ControlOptions.Name + "." + changes.itemNumber.currentValue + "." + this.controlNumber.toString();
|
|
6641
|
+
Location.HideLabel = this.RepeaterField.ControlOptions.HideLabel;
|
|
6642
|
+
Location.LabelKey = this.RepeaterField.ControlOptions.LabelKey;
|
|
6643
|
+
Location.IsRequired = this.RepeaterField.ControlOptions.IsRequired;
|
|
6644
|
+
Location.ViewType = this.RepeaterField.ControlOptions.ViewType;
|
|
6645
|
+
Location.LabelDescription = this.RepeaterField.ControlOptions.LabelDescription ? this.RepeaterField.ControlOptions.LabelDescription : "";
|
|
6646
|
+
Location.Value = value;
|
|
6647
|
+
this.renderComponentService.renderDynamicComponent(this.Item, MapAutoCompleteComponent, this.group, Location);
|
|
6648
|
+
break;
|
|
6649
|
+
default:
|
|
6650
|
+
break;
|
|
6651
|
+
}
|
|
6652
|
+
}
|
|
6653
|
+
};
|
|
6654
|
+
return RepeaterFieldBuilderComponent;
|
|
6655
|
+
}());
|
|
6656
|
+
RepeaterFieldBuilderComponent.decorators = [
|
|
6657
|
+
{ type: i0.Component, args: [{
|
|
6658
|
+
selector: 'repeater-field-builder',
|
|
6659
|
+
template: "<ng-container #Item></ng-container>\r\n"
|
|
6660
|
+
},] }
|
|
6661
|
+
];
|
|
6662
|
+
RepeaterFieldBuilderComponent.ctorParameters = function () { return [
|
|
6663
|
+
{ type: RenderComponentService },
|
|
6664
|
+
{ type: forms.FormGroupDirective }
|
|
6665
|
+
]; };
|
|
6666
|
+
RepeaterFieldBuilderComponent.propDecorators = {
|
|
6667
|
+
Item: [{ type: i0.ViewChild, args: ["Item", { read: i0.ViewContainerRef },] }],
|
|
6668
|
+
group: [{ type: i0.Input }],
|
|
6669
|
+
itemNumber: [{ type: i0.Input }],
|
|
6670
|
+
controlNumber: [{ type: i0.Input }],
|
|
6671
|
+
RepeaterField: [{ type: i0.Input }]
|
|
6672
|
+
};
|
|
6673
|
+
|
|
6674
|
+
var RepeaterItemFieldComponent = /** @class */ (function () {
|
|
6675
|
+
function RepeaterItemFieldComponent() {
|
|
6676
|
+
}
|
|
6677
|
+
RepeaterItemFieldComponent.prototype.ngOnInit = function () {
|
|
6678
|
+
};
|
|
6679
|
+
return RepeaterItemFieldComponent;
|
|
6680
|
+
}());
|
|
6681
|
+
RepeaterItemFieldComponent.decorators = [
|
|
6682
|
+
{ type: i0.Component, args: [{
|
|
6683
|
+
selector: 'repeater-item-field',
|
|
6684
|
+
template: "<ng-container *ngFor=\"let template of templates ; index as i\">\r\n <ng-container *ngIf=\"i==filedIndex\" [ngTemplateOutlet]=\"template\" [ngTemplateOutletContext] ={itemIndex:itemIndex,controlIndex:i}></ng-container>\r\n </ng-container>",
|
|
6685
|
+
styles: [""]
|
|
6686
|
+
},] }
|
|
6687
|
+
];
|
|
6688
|
+
RepeaterItemFieldComponent.ctorParameters = function () { return []; };
|
|
6689
|
+
RepeaterItemFieldComponent.propDecorators = {
|
|
6690
|
+
templates: [{ type: i0.Input }],
|
|
6691
|
+
filedIndex: [{ type: i0.Input }],
|
|
6692
|
+
itemIndex: [{ type: i0.Input }]
|
|
6693
|
+
};
|
|
6694
|
+
|
|
5612
6695
|
var options;
|
|
5613
6696
|
exports.AppInjector = void 0;
|
|
5614
6697
|
angular.FullCalendarModule.registerPlugins([
|
|
@@ -5652,7 +6735,11 @@
|
|
|
5652
6735
|
JwPaginationComponent,
|
|
5653
6736
|
RadioButtonComponent,
|
|
5654
6737
|
FormComponent,
|
|
5655
|
-
ConfirmationModalComponent
|
|
6738
|
+
ConfirmationModalComponent,
|
|
6739
|
+
RepeaterComponent,
|
|
6740
|
+
RepeaterFieldBuilderComponent,
|
|
6741
|
+
NgTemplateNameDirective,
|
|
6742
|
+
RepeaterItemFieldComponent,
|
|
5656
6743
|
],
|
|
5657
6744
|
imports: [
|
|
5658
6745
|
common.CommonModule,
|
|
@@ -5707,17 +6794,12 @@
|
|
|
5707
6794
|
ErrorMassageValidation,
|
|
5708
6795
|
ControlUtility,
|
|
5709
6796
|
OnPagingFiltersChangeService,
|
|
5710
|
-
// EnvironmentService,
|
|
5711
|
-
// AuthService,
|
|
5712
|
-
// RequestHandlerService,
|
|
5713
|
-
// UtilityService,
|
|
5714
6797
|
core$1.TranslateService,
|
|
5715
|
-
// BBSFTranslateService,
|
|
5716
|
-
// ControlValidationService,
|
|
5717
6798
|
forms.FormGroupDirective,
|
|
5718
6799
|
ngBootstrap.NgbModal,
|
|
5719
6800
|
ngBootstrap.NgbActiveModal,
|
|
5720
6801
|
common.DatePipe,
|
|
6802
|
+
RenderComponentService,
|
|
5721
6803
|
{ provide: ngPickDatetime.OWL_DATE_TIME_LOCALE, useValue: ɵ0 },
|
|
5722
6804
|
],
|
|
5723
6805
|
schemas: [
|
|
@@ -5736,7 +6818,6 @@
|
|
|
5736
6818
|
ToggleslideComponent,
|
|
5737
6819
|
HtmlEditorComponent,
|
|
5738
6820
|
MultiLingualHtmlEditorComponent,
|
|
5739
|
-
FileUploadComponent,
|
|
5740
6821
|
ImageUploaderComponent,
|
|
5741
6822
|
ProfileImageUploaderComponent,
|
|
5742
6823
|
CalendarComponent,
|
|
@@ -5748,7 +6829,11 @@
|
|
|
5748
6829
|
RadioButtonComponent,
|
|
5749
6830
|
FormComponent,
|
|
5750
6831
|
PagingComponent,
|
|
5751
|
-
ConfirmationModalComponent
|
|
6832
|
+
ConfirmationModalComponent,
|
|
6833
|
+
RepeaterComponent,
|
|
6834
|
+
RepeaterFieldBuilderComponent,
|
|
6835
|
+
NgTemplateNameDirective,
|
|
6836
|
+
RepeaterItemFieldComponent,
|
|
5752
6837
|
]
|
|
5753
6838
|
},] }
|
|
5754
6839
|
];
|
|
@@ -5789,81 +6874,6 @@
|
|
|
5789
6874
|
return CustomValidator;
|
|
5790
6875
|
}());
|
|
5791
6876
|
|
|
5792
|
-
exports.ForceDirection = void 0;
|
|
5793
|
-
(function (ForceDirection) {
|
|
5794
|
-
ForceDirection[ForceDirection["English"] = 1] = "English";
|
|
5795
|
-
ForceDirection[ForceDirection["Arabic"] = 2] = "Arabic";
|
|
5796
|
-
})(exports.ForceDirection || (exports.ForceDirection = {}));
|
|
5797
|
-
|
|
5798
|
-
var DatePickerOptions = /** @class */ (function () {
|
|
5799
|
-
function DatePickerOptions() {
|
|
5800
|
-
/** to set type of view if DatePicker is Vertical or Horizontal */
|
|
5801
|
-
this.ViewType = exports.ControlLayout.Vertical;
|
|
5802
|
-
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
5803
|
-
*/
|
|
5804
|
-
this.CustomValidation = [];
|
|
5805
|
-
/**To set First Day Of Week to DatePicker */
|
|
5806
|
-
this.FirstDayOfWeek = 1;
|
|
5807
|
-
/**To set PickerType to DatePicker is Calendar or Timer Or Both */
|
|
5808
|
-
this.PickerType = exports.PickerType.Calendar;
|
|
5809
|
-
/**To set StartView to DatePicker is Year or Month Or Multi-Year */
|
|
5810
|
-
this.StartView = exports.StartView.Month;
|
|
5811
|
-
/**To set SelectMode to DatePicker is Single or Range */
|
|
5812
|
-
this.SelectMode = exports.SelectMode.Single;
|
|
5813
|
-
this.ForceDirection = exports.ForceDirection.English;
|
|
5814
|
-
}
|
|
5815
|
-
return DatePickerOptions;
|
|
5816
|
-
}());
|
|
5817
|
-
|
|
5818
|
-
var RangeNumber = /** @class */ (function () {
|
|
5819
|
-
function RangeNumber() {
|
|
5820
|
-
}
|
|
5821
|
-
return RangeNumber;
|
|
5822
|
-
}());
|
|
5823
|
-
|
|
5824
|
-
exports.IconPosition = void 0;
|
|
5825
|
-
(function (IconPosition) {
|
|
5826
|
-
IconPosition[IconPosition["left"] = 1] = "left";
|
|
5827
|
-
IconPosition[IconPosition["right"] = 2] = "right";
|
|
5828
|
-
})(exports.IconPosition || (exports.IconPosition = {}));
|
|
5829
|
-
|
|
5830
|
-
var TextBoxOptions = /** @class */ (function () {
|
|
5831
|
-
function TextBoxOptions() {
|
|
5832
|
-
/** set Range Number to Textbox with type number with From-Value and To-value*/
|
|
5833
|
-
this.NumberRange = new RangeNumber();
|
|
5834
|
-
/**Prevent AutoComplete of textbox*/
|
|
5835
|
-
this.AutoComplete = "off";
|
|
5836
|
-
/** to set type of view if textbox is Vertical or Horizontal */
|
|
5837
|
-
this.ViewType = null;
|
|
5838
|
-
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
5839
|
-
*/
|
|
5840
|
-
this.CustomValidation = [];
|
|
5841
|
-
/** to set Direction of textbox if textbox is Arabic or English */
|
|
5842
|
-
this.ForceDirection = null;
|
|
5843
|
-
/** Set Type of TextBox ("text","password","email","number") */
|
|
5844
|
-
this.Type = exports.InputType.Text;
|
|
5845
|
-
this.IconPosition = exports.IconPosition.left;
|
|
5846
|
-
this.NoMargin = false;
|
|
5847
|
-
this.ValidationRules = [];
|
|
5848
|
-
}
|
|
5849
|
-
return TextBoxOptions;
|
|
5850
|
-
}());
|
|
5851
|
-
|
|
5852
|
-
var FileUploadOptions = /** @class */ (function () {
|
|
5853
|
-
function FileUploadOptions() {
|
|
5854
|
-
/** Ability to set FileInput required */
|
|
5855
|
-
this.IsMultipleFile = false;
|
|
5856
|
-
/** Sets boolean Value to Show IsDropZone Or Not */
|
|
5857
|
-
this.IsDropZone = false;
|
|
5858
|
-
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
5859
|
-
*/
|
|
5860
|
-
this.CustomValidation = [];
|
|
5861
|
-
/** to set type of view if textbox is Vertical or Horizontal */
|
|
5862
|
-
this.ViewType = null;
|
|
5863
|
-
}
|
|
5864
|
-
return FileUploadOptions;
|
|
5865
|
-
}());
|
|
5866
|
-
|
|
5867
6877
|
var MultiLingualTextBoxOptions = /** @class */ (function () {
|
|
5868
6878
|
function MultiLingualTextBoxOptions() {
|
|
5869
6879
|
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
@@ -5889,19 +6899,6 @@
|
|
|
5889
6899
|
return Attribute;
|
|
5890
6900
|
}());
|
|
5891
6901
|
|
|
5892
|
-
var TextAreaOptions = /** @class */ (function () {
|
|
5893
|
-
function TextAreaOptions() {
|
|
5894
|
-
/** to set type of view if TextArea is Vertical or Horizontal */
|
|
5895
|
-
this.ViewType = null;
|
|
5896
|
-
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
5897
|
-
*/
|
|
5898
|
-
this.CustomValidation = [];
|
|
5899
|
-
/** to set Direction of TextArea if TextArea is Arabic or English */
|
|
5900
|
-
this.ForceDirection = exports.ForceDirection.English;
|
|
5901
|
-
}
|
|
5902
|
-
return TextAreaOptions;
|
|
5903
|
-
}());
|
|
5904
|
-
|
|
5905
6902
|
var MultiLingualTextAreaOptions = /** @class */ (function () {
|
|
5906
6903
|
function MultiLingualTextAreaOptions() {
|
|
5907
6904
|
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
@@ -5937,64 +6934,6 @@
|
|
|
5937
6934
|
return DropdownListItem;
|
|
5938
6935
|
}());
|
|
5939
6936
|
|
|
5940
|
-
var DropdownOptions = /** @class */ (function () {
|
|
5941
|
-
function DropdownOptions() {
|
|
5942
|
-
/** Disable Bootstrap DropdownList */
|
|
5943
|
-
this.DisableBootstrapSelect = false;
|
|
5944
|
-
/** to set type of view if DropdownList is Vertical or Horizontal */
|
|
5945
|
-
this.ViewType = null;
|
|
5946
|
-
/** To Set Custom Validation*/
|
|
5947
|
-
this.CustomValidation = [];
|
|
5948
|
-
/** Set key for item in DropdownList */
|
|
5949
|
-
this.ItemTempletkey = "key";
|
|
5950
|
-
/** Set value for item in DropdownList */
|
|
5951
|
-
this.ItemTempletvalue = "value";
|
|
5952
|
-
this.ForceDirection = exports.ForceDirection.English;
|
|
5953
|
-
}
|
|
5954
|
-
return DropdownOptions;
|
|
5955
|
-
}());
|
|
5956
|
-
|
|
5957
|
-
var PhoneOptions = /** @class */ (function () {
|
|
5958
|
-
function PhoneOptions() {
|
|
5959
|
-
/**
|
|
5960
|
-
* Represent Css classes to Phonebox
|
|
5961
|
-
*/
|
|
5962
|
-
this.ExtraClasses = "form-control bnsights-control";
|
|
5963
|
-
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
5964
|
-
*/
|
|
5965
|
-
this.CustomValidation = [];
|
|
5966
|
-
/**Set List Of Countries As Preferred Countries*/
|
|
5967
|
-
this.PreferredCountries = [];
|
|
5968
|
-
/** to set type of view if Phonebox is Vertical or Horizontal */
|
|
5969
|
-
this.ViewType = null;
|
|
5970
|
-
this.ForceDirection = exports.ForceDirection.English;
|
|
5971
|
-
}
|
|
5972
|
-
return PhoneOptions;
|
|
5973
|
-
}());
|
|
5974
|
-
|
|
5975
|
-
var ToggleSlideOptions = /** @class */ (function () {
|
|
5976
|
-
function ToggleSlideOptions() {
|
|
5977
|
-
this.ViewType = null;
|
|
5978
|
-
this.ForceDirection = exports.ForceDirection.English;
|
|
5979
|
-
}
|
|
5980
|
-
return ToggleSlideOptions;
|
|
5981
|
-
}());
|
|
5982
|
-
|
|
5983
|
-
var HtmlEditorOptions = /** @class */ (function () {
|
|
5984
|
-
function HtmlEditorOptions() {
|
|
5985
|
-
/** to set type of view if textbox is Vertical or Horizontal */
|
|
5986
|
-
this.ViewType = null;
|
|
5987
|
-
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
5988
|
-
*/
|
|
5989
|
-
this.CustomValidation = [];
|
|
5990
|
-
/** to set Direction of HtmlEditor if HtmlEditor is Arabic or English */
|
|
5991
|
-
this.ForceDirection = exports.ForceDirection.English;
|
|
5992
|
-
/** Set Height For */
|
|
5993
|
-
this.Height = 150;
|
|
5994
|
-
}
|
|
5995
|
-
return HtmlEditorOptions;
|
|
5996
|
-
}());
|
|
5997
|
-
|
|
5998
6937
|
var MultiLingualHtmlEditorOptions = /** @class */ (function () {
|
|
5999
6938
|
function MultiLingualHtmlEditorOptions() {
|
|
6000
6939
|
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
@@ -6012,33 +6951,6 @@
|
|
|
6012
6951
|
return MultiLingualHtmlEditorOptions;
|
|
6013
6952
|
}());
|
|
6014
6953
|
|
|
6015
|
-
exports.ImageType = void 0;
|
|
6016
|
-
(function (ImageType) {
|
|
6017
|
-
ImageType["ImageTypes"] = "image/png,image/bmp,image/jpeg";
|
|
6018
|
-
ImageType["PNG"] = "image/png";
|
|
6019
|
-
ImageType["JPG"] = "image/jpeg";
|
|
6020
|
-
ImageType["JPEG"] = "image/jpeg";
|
|
6021
|
-
ImageType["SVG"] = "image/svg+xml";
|
|
6022
|
-
ImageType["None"] = "";
|
|
6023
|
-
})(exports.ImageType || (exports.ImageType = {}));
|
|
6024
|
-
|
|
6025
|
-
var ImageUploadOptions = /** @class */ (function () {
|
|
6026
|
-
function ImageUploadOptions() {
|
|
6027
|
-
/** Allow to Upload Multiple File */
|
|
6028
|
-
this.IsMultiple = false;
|
|
6029
|
-
/** Allow to Use Drop Zone */
|
|
6030
|
-
this.AllowDropZone = false;
|
|
6031
|
-
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
6032
|
-
*/
|
|
6033
|
-
this.CustomValidation = [];
|
|
6034
|
-
/** to set type of view if FileInput is Vertical or Horizontal */
|
|
6035
|
-
this.ViewType = null;
|
|
6036
|
-
/** Set List of Custom Attribute to FileInput */
|
|
6037
|
-
this.FileUploadAcceptsTypes = [exports.ImageType.ImageTypes];
|
|
6038
|
-
}
|
|
6039
|
-
return ImageUploadOptions;
|
|
6040
|
-
}());
|
|
6041
|
-
|
|
6042
6954
|
var ProfileImageUploadOptions = /** @class */ (function () {
|
|
6043
6955
|
function ProfileImageUploadOptions() {
|
|
6044
6956
|
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
@@ -6108,17 +7020,6 @@
|
|
|
6108
7020
|
return CalendarEventDTO;
|
|
6109
7021
|
}());
|
|
6110
7022
|
|
|
6111
|
-
var MapAutoCompleteOptions = /** @class */ (function () {
|
|
6112
|
-
function MapAutoCompleteOptions() {
|
|
6113
|
-
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
6114
|
-
*/
|
|
6115
|
-
this.CustomValidation = [];
|
|
6116
|
-
/** to set type of view if MapAutoComplete is Vertical or Horizontal */
|
|
6117
|
-
this.ViewType = null;
|
|
6118
|
-
}
|
|
6119
|
-
return MapAutoCompleteOptions;
|
|
6120
|
-
}());
|
|
6121
|
-
|
|
6122
7023
|
var AutocompleteOptions = /** @class */ (function () {
|
|
6123
7024
|
function AutocompleteOptions() {
|
|
6124
7025
|
/**
|
|
@@ -6329,6 +7230,23 @@
|
|
|
6329
7230
|
return ConfirmationModalOptions;
|
|
6330
7231
|
}());
|
|
6331
7232
|
|
|
7233
|
+
var RepeaterField = /** @class */ (function () {
|
|
7234
|
+
function RepeaterField() {
|
|
7235
|
+
}
|
|
7236
|
+
return RepeaterField;
|
|
7237
|
+
}());
|
|
7238
|
+
|
|
7239
|
+
var RepeaterOptions = /** @class */ (function () {
|
|
7240
|
+
function RepeaterOptions() {
|
|
7241
|
+
this.MinRequiredItems = 1;
|
|
7242
|
+
this.AddButtonText = "Add";
|
|
7243
|
+
this.DeleteButtonText = "Delete";
|
|
7244
|
+
this.RepeaterValue = [];
|
|
7245
|
+
this.RepeaterStructure = [];
|
|
7246
|
+
}
|
|
7247
|
+
return RepeaterOptions;
|
|
7248
|
+
}());
|
|
7249
|
+
|
|
6332
7250
|
exports.MenuListType = void 0;
|
|
6333
7251
|
(function (MenuListType) {
|
|
6334
7252
|
MenuListType[MenuListType["AdminType"] = 1] = "AdminType";
|
|
@@ -6655,76 +7573,83 @@
|
|
|
6655
7573
|
exports.Attribute = Attribute;
|
|
6656
7574
|
exports.AutocompleteDTO = AutocompleteDTO;
|
|
6657
7575
|
exports.AutocompleteOptions = AutocompleteOptions;
|
|
7576
|
+
exports.AutocompleteTextBoxComponent = AutocompleteTextBoxComponent;
|
|
6658
7577
|
exports.BBSFControlsModule = BBSFControlsModule;
|
|
7578
|
+
exports.CalendarComponent = CalendarComponent;
|
|
6659
7579
|
exports.CalendarEventDTO = CalendarEventDTO;
|
|
6660
7580
|
exports.CalendarOptions = CalendarOptions;
|
|
6661
7581
|
exports.CancelDTO = CancelDTO;
|
|
7582
|
+
exports.CheckBoxComponent = CheckBoxComponent;
|
|
6662
7583
|
exports.CheckBoxOptions = CheckBoxOptions;
|
|
7584
|
+
exports.ConfirmationModalComponent = ConfirmationModalComponent;
|
|
6663
7585
|
exports.ConfirmationModalOptions = ConfirmationModalOptions;
|
|
6664
7586
|
exports.ControlUtility = ControlUtility;
|
|
6665
7587
|
exports.CustomValidation = CustomValidation;
|
|
6666
7588
|
exports.CustomValidator = CustomValidator;
|
|
7589
|
+
exports.DateInputComponent = DateInputComponent;
|
|
6667
7590
|
exports.DatePickerOptions = DatePickerOptions;
|
|
7591
|
+
exports.DropdownListComponent = DropdownListComponent;
|
|
6668
7592
|
exports.DropdownListItem = DropdownListItem;
|
|
6669
7593
|
exports.DropdownOptions = DropdownOptions;
|
|
6670
7594
|
exports.EditPersonalImage = EditPersonalImage;
|
|
6671
7595
|
exports.EnglishArabicDTO = EnglishArabicDTO;
|
|
6672
7596
|
exports.ErrorMassageValidation = ErrorMassageValidation;
|
|
7597
|
+
exports.FileUploadComponent = FileUploadComponent;
|
|
6673
7598
|
exports.FileUploadModel = FileUploadModel;
|
|
6674
7599
|
exports.FileUploadOptions = FileUploadOptions;
|
|
6675
7600
|
exports.FilterItem = FilterItem;
|
|
7601
|
+
exports.FormComponent = FormComponent;
|
|
6676
7602
|
exports.FormOptions = FormOptions;
|
|
6677
7603
|
exports.GlobalSettings = GlobalSettings;
|
|
7604
|
+
exports.HtmlEditorComponent = HtmlEditorComponent;
|
|
6678
7605
|
exports.HtmlEditorOptions = HtmlEditorOptions;
|
|
6679
7606
|
exports.ImageUploadOptions = ImageUploadOptions;
|
|
7607
|
+
exports.ImageUploaderComponent = ImageUploaderComponent;
|
|
7608
|
+
exports.JwPaginationComponent = JwPaginationComponent;
|
|
7609
|
+
exports.MapAutoCompleteComponent = MapAutoCompleteComponent;
|
|
6680
7610
|
exports.MapAutoCompleteOptions = MapAutoCompleteOptions;
|
|
6681
7611
|
exports.MapAutocompleteDTO = MapAutocompleteDTO;
|
|
7612
|
+
exports.MultiLingualHtmlEditorComponent = MultiLingualHtmlEditorComponent;
|
|
6682
7613
|
exports.MultiLingualHtmlEditorOptions = MultiLingualHtmlEditorOptions;
|
|
7614
|
+
exports.MultiLingualTextAreaComponent = MultiLingualTextAreaComponent;
|
|
6683
7615
|
exports.MultiLingualTextAreaOptions = MultiLingualTextAreaOptions;
|
|
7616
|
+
exports.MultiLingualTextBoxComponent = MultiLingualTextBoxComponent;
|
|
6684
7617
|
exports.MultiLingualTextBoxOptions = MultiLingualTextBoxOptions;
|
|
6685
7618
|
exports.MultipleFileUploadModel = MultipleFileUploadModel;
|
|
7619
|
+
exports.NgTemplateNameDirective = NgTemplateNameDirective;
|
|
6686
7620
|
exports.OnPagingFiltersChangeService = OnPagingFiltersChangeService;
|
|
7621
|
+
exports.PagingComponent = PagingComponent;
|
|
6687
7622
|
exports.PagingDTO = PagingDTO;
|
|
6688
7623
|
exports.PagingOptions = PagingOptions;
|
|
7624
|
+
exports.PhoneComponent = PhoneComponent;
|
|
6689
7625
|
exports.PhoneOptions = PhoneOptions;
|
|
6690
7626
|
exports.ProfileImageUploadOptions = ProfileImageUploadOptions;
|
|
7627
|
+
exports.ProfileImageUploaderComponent = ProfileImageUploaderComponent;
|
|
6691
7628
|
exports.ProfilePictureDTO = ProfilePictureDTO;
|
|
7629
|
+
exports.RadioButtonComponent = RadioButtonComponent;
|
|
6692
7630
|
exports.RadioButtonItem = RadioButtonItem;
|
|
6693
7631
|
exports.RadioButtonOptions = RadioButtonOptions;
|
|
6694
7632
|
exports.RangeNumber = RangeNumber;
|
|
7633
|
+
exports.RenderComponentService = RenderComponentService;
|
|
7634
|
+
exports.RepeaterComponent = RepeaterComponent;
|
|
7635
|
+
exports.RepeaterField = RepeaterField;
|
|
7636
|
+
exports.RepeaterFieldBuilderComponent = RepeaterFieldBuilderComponent;
|
|
7637
|
+
exports.RepeaterItemFieldComponent = RepeaterItemFieldComponent;
|
|
7638
|
+
exports.RepeaterOptions = RepeaterOptions;
|
|
6695
7639
|
exports.SaveDTO = SaveDTO;
|
|
7640
|
+
exports.TagsInputComponent = TagsInputComponent;
|
|
6696
7641
|
exports.TagsInputDTO = TagsInputDTO;
|
|
6697
7642
|
exports.TagsInputOptions = TagsInputOptions;
|
|
7643
|
+
exports.TextAreaComponent = TextAreaComponent;
|
|
6698
7644
|
exports.TextAreaOptions = TextAreaOptions;
|
|
6699
7645
|
exports.TextBoxOptions = TextBoxOptions;
|
|
7646
|
+
exports.TextboxComponent = TextboxComponent;
|
|
6700
7647
|
exports.ToggleSlideOptions = ToggleSlideOptions;
|
|
7648
|
+
exports.ToggleslideComponent = ToggleslideComponent;
|
|
6701
7649
|
exports.UploadPersonalImage = UploadPersonalImage;
|
|
6702
7650
|
exports.environment = environment;
|
|
6703
7651
|
exports.options = options;
|
|
6704
7652
|
exports["ɵ0"] = ɵ0;
|
|
6705
|
-
exports["ɵa"] = DateInputComponent;
|
|
6706
|
-
exports["ɵb"] = FileUploadComponent;
|
|
6707
|
-
exports["ɵc"] = MultiLingualTextBoxComponent;
|
|
6708
|
-
exports["ɵd"] = TextboxComponent;
|
|
6709
|
-
exports["ɵe"] = TextAreaComponent;
|
|
6710
|
-
exports["ɵf"] = MultiLingualTextAreaComponent;
|
|
6711
|
-
exports["ɵg"] = CheckBoxComponent;
|
|
6712
|
-
exports["ɵh"] = DropdownListComponent;
|
|
6713
|
-
exports["ɵi"] = PhoneComponent;
|
|
6714
|
-
exports["ɵj"] = ToggleslideComponent;
|
|
6715
|
-
exports["ɵk"] = HtmlEditorComponent;
|
|
6716
|
-
exports["ɵl"] = MultiLingualHtmlEditorComponent;
|
|
6717
|
-
exports["ɵm"] = ImageUploaderComponent;
|
|
6718
|
-
exports["ɵn"] = ProfileImageUploaderComponent;
|
|
6719
|
-
exports["ɵo"] = CalendarComponent;
|
|
6720
|
-
exports["ɵp"] = MapAutoCompleteComponent;
|
|
6721
|
-
exports["ɵq"] = AutocompleteTextBoxComponent;
|
|
6722
|
-
exports["ɵr"] = TagsInputComponent;
|
|
6723
|
-
exports["ɵs"] = PagingComponent;
|
|
6724
|
-
exports["ɵt"] = JwPaginationComponent;
|
|
6725
|
-
exports["ɵu"] = RadioButtonComponent;
|
|
6726
|
-
exports["ɵv"] = FormComponent;
|
|
6727
|
-
exports["ɵw"] = ConfirmationModalComponent;
|
|
6728
7653
|
|
|
6729
7654
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6730
7655
|
|