@bnsights/bbsf-controls 1.0.8 → 1.0.9
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.metadata.json +1 -1
- package/bundles/bnsights-bbsf-controls.umd.js +226 -176
- package/bundles/bnsights-bbsf-controls.umd.js.map +1 -1
- package/esm2015/lib/Shared/Models/AutocompleteOptions.js +2 -3
- package/esm2015/lib/Shared/Models/ConfirmationModalOptions.js +2 -5
- package/esm2015/lib/Shared/Models/DropdownOptions.js +2 -3
- package/esm2015/lib/Shared/Models/FileUploadOptions.js +2 -3
- package/esm2015/lib/Shared/Models/HtmlEditorOptions.js +2 -3
- package/esm2015/lib/Shared/Models/ImageUploadOptions.js +2 -3
- package/esm2015/lib/Shared/Models/MapAutoCompleteOptions.js +2 -3
- package/esm2015/lib/Shared/Models/MultiLingualHtmlEditorOptions.js +3 -5
- package/esm2015/lib/Shared/Models/MultiLingualTextAreaOptions.js +4 -6
- package/esm2015/lib/Shared/Models/MultilingualTextBoxOptions.js +4 -6
- package/esm2015/lib/Shared/Models/PhoneOptions.js +2 -3
- package/esm2015/lib/Shared/Models/ProfileImageUploadOptions.js +2 -3
- package/esm2015/lib/Shared/Models/RadioButtonOptions.js +2 -3
- package/esm2015/lib/Shared/Models/TagsInputOptions.js +2 -3
- package/esm2015/lib/Shared/Models/TextAreaOptions.js +2 -3
- package/esm2015/lib/Shared/Models/TextBoxOptions.js +2 -3
- package/esm2015/lib/Shared/Models/ToggleslideOptions.js +2 -3
- package/esm2015/lib/Shared/services/GlobalSettings.service.js +20 -0
- package/esm2015/lib/controls/AutocompleteTextBox/AutocompleteTextBox.component.js +16 -9
- package/esm2015/lib/controls/ConfirmationModal/ConfirmationModal.component.js +3 -13
- package/esm2015/lib/controls/DropdownList/DropdownList.component.js +10 -7
- package/esm2015/lib/controls/FileUplaod/FileUplaod.component.js +9 -6
- package/esm2015/lib/controls/Form/Form.component.js +2 -1
- package/esm2015/lib/controls/HtmlEditor/HtmlEditor.component.js +9 -6
- package/esm2015/lib/controls/ImageUpload/ImageUpload.component.js +9 -9
- package/esm2015/lib/controls/MapAutoComplete/MapAutoComplete.component.js +8 -9
- package/esm2015/lib/controls/MultiLingualHtmlEditor/MultiLingualHtmlEditor.component.js +41 -30
- package/esm2015/lib/controls/MultiLingualTextArea/MultiLingualTextArea.component.js +13 -9
- package/esm2015/lib/controls/MultiLingualTextBox/MultiLingualTextBox.component.js +13 -7
- package/esm2015/lib/controls/Paging/Paging.component.js +6 -4
- package/esm2015/lib/controls/Phone/Phone.component.js +8 -6
- package/esm2015/lib/controls/ProfileImageUploader/ProfileImageUploader.component.js +8 -6
- package/esm2015/lib/controls/RadioButton/RadioButton.component.js +8 -3
- package/esm2015/lib/controls/TagsInput/TagsInput.component.js +16 -22
- package/esm2015/lib/controls/TextArea/TextArea.component.js +8 -6
- package/esm2015/lib/controls/TextBox/TextBox.component.js +8 -3
- package/esm2015/lib/controls/Toggleslide/toggleslide.component.js +8 -7
- package/esm2015/lib/controls/bbsf-controls.module.js +8 -8
- package/esm2015/public-api.js +2 -1
- package/fesm2015/bnsights-bbsf-controls.js +222 -175
- package/fesm2015/bnsights-bbsf-controls.js.map +1 -1
- package/lib/Shared/Models/ConfirmationModalOptions.d.ts +0 -1
- package/lib/Shared/services/GlobalSettings.service.d.ts +10 -0
- package/lib/controls/AutocompleteTextBox/AutocompleteTextBox.component.d.ts +5 -3
- package/lib/controls/ConfirmationModal/ConfirmationModal.component.d.ts +0 -1
- package/lib/controls/DropdownList/DropdownList.component.d.ts +4 -3
- package/lib/controls/FileUplaod/FileUplaod.component.d.ts +4 -3
- package/lib/controls/HtmlEditor/HtmlEditor.component.d.ts +4 -3
- package/lib/controls/ImageUpload/ImageUpload.component.d.ts +4 -5
- package/lib/controls/MapAutoComplete/MapAutoComplete.component.d.ts +3 -5
- package/lib/controls/MultiLingualHtmlEditor/MultiLingualHtmlEditor.component.d.ts +7 -6
- package/lib/controls/MultiLingualTextArea/MultiLingualTextArea.component.d.ts +4 -5
- package/lib/controls/MultiLingualTextBox/MultiLingualTextBox.component.d.ts +3 -3
- package/lib/controls/Paging/Paging.component.d.ts +3 -2
- package/lib/controls/Phone/Phone.component.d.ts +3 -3
- package/lib/controls/ProfileImageUploader/ProfileImageUploader.component.d.ts +3 -3
- package/lib/controls/RadioButton/RadioButton.component.d.ts +3 -1
- package/lib/controls/TagsInput/TagsInput.component.d.ts +5 -4
- package/lib/controls/TextArea/TextArea.component.d.ts +3 -3
- package/lib/controls/TextBox/TextBox.component.d.ts +3 -1
- package/lib/controls/Toggleslide/toggleslide.component.d.ts +3 -3
- package/package.json +2 -2
- package/public-api.d.ts +1 -0
- package/src/lib/assets/Style.css +15 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@fullcalendar/angular'), require('@fullcalendar/daygrid'), require('@fullcalendar/timegrid'), require('@fullcalendar/list'), require('@fullcalendar/interaction'), require('@angular/core'), require('ng-block-ui'), require('@angular/forms'), require('@angular/http'), require('@angular/router'), require('ngx-toastr'), require('ngx-permissions'), require('@angular/cdk/overlay'), require('@ngrx/store-devtools'), require('@angular/common'), require('ngx-intl-tel-input'), require('@bnsights/bbsf-utilities'), require('ngx-bootstrap/datepicker'), require('rxjs'), require('ng2-file-upload'), require('ng-pick-datetime'), require('ng-multiselect-dropdown'), require('angular2-multiselect-dropdown'), require('ngx-summernote'), require('ngx-mask'), require('@syncfusion/ej2-angular-popups'), require('ngx-dropzone'), require('angular-cropperjs'), require('ngx-image-cropper'), require('@ng-bootstrap/ng-bootstrap'), require('@ngx-translate/core'), require('@angular/common/http'), require('ngx-typeahead'), require('rxjs/operators'), require('ngx-tags-input'), require('@ng-select/ng-select'), require('ngx-infinite-scroll'), require('@
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@bnsights/bbsf-controls', ['exports', '@fullcalendar/angular', '@fullcalendar/daygrid', '@fullcalendar/timegrid', '@fullcalendar/list', '@fullcalendar/interaction', '@angular/core', 'ng-block-ui', '@angular/forms', '@angular/http', '@angular/router', 'ngx-toastr', 'ngx-permissions', '@angular/cdk/overlay', '@ngrx/store-devtools', '@angular/common', 'ngx-intl-tel-input', '@bnsights/bbsf-utilities', 'ngx-bootstrap/datepicker', 'rxjs', 'ng2-file-upload', 'ng-pick-datetime', 'ng-multiselect-dropdown', 'angular2-multiselect-dropdown', 'ngx-summernote', 'ngx-mask', '@syncfusion/ej2-angular-popups', 'ngx-dropzone', 'angular-cropperjs', 'ngx-image-cropper', '@ng-bootstrap/ng-bootstrap', '@ngx-translate/core', '@angular/common/http', 'ngx-typeahead', 'rxjs/operators', 'ngx-tags-input', '@ng-select/ng-select', 'ngx-infinite-scroll', '@
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.bnsights = global.bnsights || {}, global.bnsights["bbsf-controls"] = {}), global.angular, global.dayGridPlugin, global.timeGridPlugin, global.listPlugin, global.interactionPlugin, global.ng.core, global.ngBlockUi, global.ng.forms, global.ng.http, global.ng.router, global.ngxToastr, global.ngxPermissions, global.ng.cdk.overlay, global.storeDevtools, global.ng.common, global.ngxIntlTelInput, global.bbsfUtilities, global.datepicker, global.rxjs, global.ng2FileUpload, global.ngPickDatetime, global.ngMultiselectDropdown, global.angular2MultiselectDropdown, global.ngxSummernote, global.ngxMask, global.ej2AngularPopups, global.ngxDropzone, global.angularCropperjs, global.ngxImageCropper, global.ngBootstrap, global.core$1, global.ng.common.http, global.ngxTypeahead, global.rxjs.operators, global.ngxTagsInput, global.ngSelect, global.ngxInfiniteScroll, global.
|
|
5
|
-
})(this, (function (exports, angular, dayGridPlugin, timeGridPlugin, listPlugin, interactionPlugin, i0, ngBlockUi, forms, http, router, ngxToastr, ngxPermissions, overlay, storeDevtools, common, ngxIntlTelInput, bbsfUtilities, datepicker, rxjs, ng2FileUpload, ngPickDatetime, ngMultiselectDropdown, angular2MultiselectDropdown, ngxSummernote, ngxMask, ej2AngularPopups, ngxDropzone, angularCropperjs, ngxImageCropper, ngBootstrap, core$1, http$1, ngxTypeahead, operators, ngxTagsInput, ngSelect, ngxInfiniteScroll,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@fullcalendar/angular'), require('@fullcalendar/daygrid'), require('@fullcalendar/timegrid'), require('@fullcalendar/list'), require('@fullcalendar/interaction'), require('@angular/core'), require('ng-block-ui'), require('@angular/forms'), require('@angular/http'), require('@angular/router'), require('ngx-toastr'), require('ngx-permissions'), require('@angular/cdk/overlay'), require('@ngrx/store-devtools'), require('@angular/common'), require('ngx-intl-tel-input'), require('@bnsights/bbsf-utilities'), require('ngx-bootstrap/datepicker'), require('rxjs'), require('ng2-file-upload'), require('ng-pick-datetime'), require('ng-multiselect-dropdown'), require('angular2-multiselect-dropdown'), require('ngx-summernote'), require('ngx-mask'), require('@syncfusion/ej2-angular-popups'), require('ngx-dropzone'), require('angular-cropperjs'), require('ngx-image-cropper'), require('@ng-bootstrap/ng-bootstrap'), require('@ngx-translate/core'), require('@angular/common/http'), require('ngx-typeahead'), require('rxjs/operators'), require('ngx-tags-input'), require('@ng-select/ng-select'), require('ngx-infinite-scroll'), require('@agm/core'), require('@angular-material-extensions/google-maps-autocomplete'), require('@fullcalendar/core/locales/en-gb'), require('@fullcalendar/core/locales/ar'), require('ngx-bootstrap/typeahead'), require('@angular/material/slide-toggle'), require('@kolkov/angular-editor'), require('angular-ng-autocomplete'), require('ng-inline-svg')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@bnsights/bbsf-controls', ['exports', '@fullcalendar/angular', '@fullcalendar/daygrid', '@fullcalendar/timegrid', '@fullcalendar/list', '@fullcalendar/interaction', '@angular/core', 'ng-block-ui', '@angular/forms', '@angular/http', '@angular/router', 'ngx-toastr', 'ngx-permissions', '@angular/cdk/overlay', '@ngrx/store-devtools', '@angular/common', 'ngx-intl-tel-input', '@bnsights/bbsf-utilities', 'ngx-bootstrap/datepicker', 'rxjs', 'ng2-file-upload', 'ng-pick-datetime', 'ng-multiselect-dropdown', 'angular2-multiselect-dropdown', 'ngx-summernote', 'ngx-mask', '@syncfusion/ej2-angular-popups', 'ngx-dropzone', 'angular-cropperjs', 'ngx-image-cropper', '@ng-bootstrap/ng-bootstrap', '@ngx-translate/core', '@angular/common/http', 'ngx-typeahead', 'rxjs/operators', 'ngx-tags-input', '@ng-select/ng-select', 'ngx-infinite-scroll', '@agm/core', '@angular-material-extensions/google-maps-autocomplete', '@fullcalendar/core/locales/en-gb', '@fullcalendar/core/locales/ar', 'ngx-bootstrap/typeahead', '@angular/material/slide-toggle', '@kolkov/angular-editor', 'angular-ng-autocomplete', 'ng-inline-svg'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.bnsights = global.bnsights || {}, global.bnsights["bbsf-controls"] = {}), global.angular, global.dayGridPlugin, global.timeGridPlugin, global.listPlugin, global.interactionPlugin, global.ng.core, global.ngBlockUi, global.ng.forms, global.ng.http, global.ng.router, global.ngxToastr, global.ngxPermissions, global.ng.cdk.overlay, global.storeDevtools, global.ng.common, global.ngxIntlTelInput, global.bbsfUtilities, global.datepicker, global.rxjs, global.ng2FileUpload, global.ngPickDatetime, global.ngMultiselectDropdown, global.angular2MultiselectDropdown, global.ngxSummernote, global.ngxMask, global.ej2AngularPopups, global.ngxDropzone, global.angularCropperjs, global.ngxImageCropper, global.ngBootstrap, global.core$1, global.ng.common.http, global.ngxTypeahead, global.rxjs.operators, global.ngxTagsInput, global.ngSelect, global.ngxInfiniteScroll, global.core, global.googleMapsAutocomplete, global.enGbLocale, global.ArLocale, global.typeahead, global.ng.material.slideToggle, global.angularEditor, global.angularNgAutocomplete, global.ngInlineSvg));
|
|
5
|
+
})(this, (function (exports, angular, dayGridPlugin, timeGridPlugin, listPlugin, interactionPlugin, i0, ngBlockUi, forms, http, router, ngxToastr, ngxPermissions, overlay, storeDevtools, common, ngxIntlTelInput, bbsfUtilities, datepicker, rxjs, ng2FileUpload, ngPickDatetime, ngMultiselectDropdown, angular2MultiselectDropdown, ngxSummernote, ngxMask, ej2AngularPopups, ngxDropzone, angularCropperjs, ngxImageCropper, ngBootstrap, core$1, http$1, ngxTypeahead, operators, ngxTagsInput, ngSelect, ngxInfiniteScroll, core, googleMapsAutocomplete, enGbLocale, ArLocale, typeahead, slideToggle, angularEditor, angularNgAutocomplete, ngInlineSvg) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -469,15 +469,49 @@
|
|
|
469
469
|
return MultipleFileUploadModel;
|
|
470
470
|
}());
|
|
471
471
|
|
|
472
|
+
exports.ControlLayout = void 0;
|
|
473
|
+
(function (ControlLayout) {
|
|
474
|
+
ControlLayout[ControlLayout["Vertical"] = 1] = "Vertical";
|
|
475
|
+
ControlLayout[ControlLayout["Horizontal"] = 2] = "Horizontal";
|
|
476
|
+
})(exports.ControlLayout || (exports.ControlLayout = {}));
|
|
477
|
+
|
|
478
|
+
exports.LanguageMode = void 0;
|
|
479
|
+
(function (LanguageMode) {
|
|
480
|
+
LanguageMode[LanguageMode["Both_Languages_are_visible"] = 1] = "Both_Languages_are_visible";
|
|
481
|
+
LanguageMode[LanguageMode["English_Language_only_is_visible"] = 2] = "English_Language_only_is_visible";
|
|
482
|
+
LanguageMode[LanguageMode["Arabic_Language_only_is_visible"] = 3] = "Arabic_Language_only_is_visible";
|
|
483
|
+
LanguageMode[LanguageMode["Both_Languages_but_only_English_is_required"] = 4] = "Both_Languages_but_only_English_is_required";
|
|
484
|
+
LanguageMode[LanguageMode["Both_Languages_but_only_Arabic_is_required"] = 5] = "Both_Languages_but_only_Arabic_is_required";
|
|
485
|
+
LanguageMode[LanguageMode["Current_Language_only_is_visible_and_required"] = 6] = "Current_Language_only_is_visible_and_required";
|
|
486
|
+
LanguageMode[LanguageMode["Both_Languages_are_visible_but_only_current_language_is_required"] = 7] = "Both_Languages_are_visible_but_only_current_language_is_required";
|
|
487
|
+
})(exports.LanguageMode || (exports.LanguageMode = {}));
|
|
488
|
+
|
|
489
|
+
var GlobalSettings = /** @class */ (function () {
|
|
490
|
+
function GlobalSettings() {
|
|
491
|
+
/** to set type of view if MultilingualTextArea is Vertical or Horizontal */
|
|
492
|
+
this.ViewType = exports.ControlLayout.Vertical;
|
|
493
|
+
/*multi control placement type*/
|
|
494
|
+
this.MultiControlPlacementType = exports.ControlLayout.Horizontal;
|
|
495
|
+
/**To Set LanguageMode To MultipleLanguageText */
|
|
496
|
+
this.LanguageMode = exports.LanguageMode.Both_Languages_are_visible;
|
|
497
|
+
this.HideAstericsWhenRequired = false;
|
|
498
|
+
}
|
|
499
|
+
return GlobalSettings;
|
|
500
|
+
}());
|
|
501
|
+
GlobalSettings.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function GlobalSettings_Factory() { return new GlobalSettings(); }, token: GlobalSettings, providedIn: "root" });
|
|
502
|
+
GlobalSettings.decorators = [
|
|
503
|
+
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
504
|
+
];
|
|
505
|
+
|
|
472
506
|
var FileUploadComponent = /** @class */ (function () {
|
|
473
|
-
function FileUploadComponent(controlContainer, MultipleFileUplaodControlHost, controlUtility, UtilityService,
|
|
507
|
+
function FileUploadComponent(controlContainer, MultipleFileUplaodControlHost, controlUtility, UtilityService, controlValidationService, globalSettings) {
|
|
474
508
|
var _this = this;
|
|
475
509
|
this.controlContainer = controlContainer;
|
|
476
510
|
this.MultipleFileUplaodControlHost = MultipleFileUplaodControlHost;
|
|
477
511
|
this.controlUtility = controlUtility;
|
|
478
512
|
this.UtilityService = UtilityService;
|
|
479
|
-
this.translate = translate;
|
|
480
513
|
this.controlValidationService = controlValidationService;
|
|
514
|
+
this.globalSettings = globalSettings;
|
|
481
515
|
this.OnChange = new i0.EventEmitter();
|
|
482
516
|
this.ValidationMessage = "";
|
|
483
517
|
this.AcceptedType = "";
|
|
@@ -519,6 +553,8 @@
|
|
|
519
553
|
var _this = this;
|
|
520
554
|
this.fileUploadModel = new FileUploadModel();
|
|
521
555
|
this.multipleFileUploadModel = new MultipleFileUploadModel();
|
|
556
|
+
if (!this.options.ViewType)
|
|
557
|
+
this.options.ViewType = this.globalSettings.ViewType;
|
|
522
558
|
if (this.options.Value == null) {
|
|
523
559
|
if (this.options.IsMultipleFile == true) {
|
|
524
560
|
//this.options.Value=this.multipleFileUploadModel
|
|
@@ -781,8 +817,8 @@
|
|
|
781
817
|
{ type: forms.FormGroupDirective },
|
|
782
818
|
{ type: ControlUtility },
|
|
783
819
|
{ type: bbsfUtilities.UtilityService },
|
|
784
|
-
{ type: bbsfUtilities.
|
|
785
|
-
{ type:
|
|
820
|
+
{ type: bbsfUtilities.ControlValidationService },
|
|
821
|
+
{ type: GlobalSettings }
|
|
786
822
|
]; };
|
|
787
823
|
FileUploadComponent.propDecorators = {
|
|
788
824
|
fileInput: [{ type: i0.ViewChild, args: ['fileInput', { static: false },] }],
|
|
@@ -1115,27 +1151,16 @@
|
|
|
1115
1151
|
return EnglishArabicDTO;
|
|
1116
1152
|
}());
|
|
1117
1153
|
|
|
1118
|
-
exports.LanguageMode = void 0;
|
|
1119
|
-
(function (LanguageMode) {
|
|
1120
|
-
LanguageMode[LanguageMode["Both_Languages_are_visible"] = 1] = "Both_Languages_are_visible";
|
|
1121
|
-
LanguageMode[LanguageMode["English_Language_only_is_visible"] = 2] = "English_Language_only_is_visible";
|
|
1122
|
-
LanguageMode[LanguageMode["Arabic_Language_only_is_visible"] = 3] = "Arabic_Language_only_is_visible";
|
|
1123
|
-
LanguageMode[LanguageMode["Both_Languages_but_only_English_is_required"] = 4] = "Both_Languages_but_only_English_is_required";
|
|
1124
|
-
LanguageMode[LanguageMode["Both_Languages_but_only_Arabic_is_required"] = 5] = "Both_Languages_but_only_Arabic_is_required";
|
|
1125
|
-
LanguageMode[LanguageMode["Current_Language_only_is_visible_and_required"] = 6] = "Current_Language_only_is_visible_and_required";
|
|
1126
|
-
LanguageMode[LanguageMode["Both_Languages_are_visible_but_only_current_language_is_required"] = 7] = "Both_Languages_are_visible_but_only_current_language_is_required";
|
|
1127
|
-
})(exports.LanguageMode || (exports.LanguageMode = {}));
|
|
1128
|
-
|
|
1129
1154
|
var MultiLingualTextBoxComponent = /** @class */ (function () {
|
|
1130
|
-
function MultiLingualTextBoxComponent(
|
|
1155
|
+
function MultiLingualTextBoxComponent(MultiLingualTextBoxFormControlHost, controlContainer, controlUtility, UtilityService, translate, controlValidationService, globalSettings) {
|
|
1131
1156
|
var _this = this;
|
|
1132
|
-
this.ErrorHandler = ErrorHandler;
|
|
1133
1157
|
this.MultiLingualTextBoxFormControlHost = MultiLingualTextBoxFormControlHost;
|
|
1134
1158
|
this.controlContainer = controlContainer;
|
|
1135
1159
|
this.controlUtility = controlUtility;
|
|
1136
1160
|
this.UtilityService = UtilityService;
|
|
1137
1161
|
this.translate = translate;
|
|
1138
1162
|
this.controlValidationService = controlValidationService;
|
|
1163
|
+
this.globalSettings = globalSettings;
|
|
1139
1164
|
this.OnChange = new i0.EventEmitter();
|
|
1140
1165
|
this.ArabicWordCount = 0;
|
|
1141
1166
|
this.ArabicWordCountArray = 0;
|
|
@@ -1207,6 +1232,12 @@
|
|
|
1207
1232
|
this.EnglishFormControl = this.MultiLanguagegroup.controls["EnglishValue"]; // new FormControl('',validationRules);
|
|
1208
1233
|
this.group.addControl(this.options.Name, new forms.FormGroup(this.MultiLanguagegroup.controls));
|
|
1209
1234
|
this.getCustomErrorsMassages();
|
|
1235
|
+
if (!this.options.ViewType)
|
|
1236
|
+
this.options.ViewType = this.globalSettings.ViewType;
|
|
1237
|
+
if (!this.options.LanguageMode)
|
|
1238
|
+
this.options.LanguageMode = this.globalSettings.LanguageMode;
|
|
1239
|
+
if (!this.options.MultiControlPlacementType)
|
|
1240
|
+
this.options.MultiControlPlacementType = this.globalSettings.MultiControlPlacementType;
|
|
1210
1241
|
if (this.options.ArabicLabelKey != null && this.options.ArabicLabelKey != "")
|
|
1211
1242
|
this.options.ArabicLabelValue = this.UtilityService.getResourceValue(this.options.ArabicLabelKey);
|
|
1212
1243
|
if (this.options.EnglishLabelKey != null && this.options.EnglishLabelKey != "")
|
|
@@ -1438,18 +1469,18 @@
|
|
|
1438
1469
|
MultiLingualTextBoxComponent.decorators = [
|
|
1439
1470
|
{ type: i0.Component, args: [{
|
|
1440
1471
|
selector: 'BBSF-MultiLingualTextBox',
|
|
1441
|
-
template: "<div class=\"b-control b-multilangual-textbox\">\r\n <div class=\"form-group validate is-invalid\" [formGroup]=\"group\">\r\n\r\n <div class=\"form-group row\" [formGroup]=\"MultiLanguagegroup\">\r\n <div [ngClass]=\"(options.MultiControlPlacementType==1)?'col-md-12':'col-md-6'\">\r\n <div class=\"row\" *ngIf=\"ShowEnglishTextBox\">\r\n <label class=\"b-label col-form-label col-sm-12\"\r\n [ngClass]=\"(options.ViewType==1)?'col-md-9':'col-md-3'\" [hidden]=\"options.IsHideEnglishLabel\">\r\n {{(options.EnglishLabelValue!=null&&options.EnglishLabelValue!=\"\")?options.EnglishLabelValue:options.LabelValue}}\r\n <span *ngIf=\"(options.ShowAsterisk&&options.IsRequired)||(options.IsRequired)\"\r\n class=\"text-danger Required-text\" 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 <div class=\"input-group\">\r\n <div class=\"svg svg-icon-grey\" [ngClass]=\"(options.IconPositionEN==1)?'left':'right'\" *ngIf=\"options.Icon!=null\">\r\n <span [inlineSVG]=\"options.Icon\"></span>\r\n </div>\r\n <input class=\"form-control bnsights-control\"\r\n (focus)=\"showEnglishWordCount(true)\" (focusout)=\"showEnglishWordCount(false)\"\r\n maxlength=\"{{options.MaxLength}}\" minlength=\"{{options.MinLength}}\"\r\n aria-describedby=\"email-error\" aria-invalid=\"true\" formControlName=\"EnglishValue\"\r\n [hidden]=\"options.IsHideEnglishFields\"\r\n [class.is-invalid]=\"EnglishFormControl.invalid && EnglishFormControl.touched\"\r\n placeholder=\"{{options.EnglishPlaceholder}}\" (change)=\"trimControlValue('En')\"\r\n (keyup)=\"onTextChange()\"\r\n (keydown)=\"EnglishWordCountArray>options.MaxWordCount&&$event.keyCode !=8?$event.preventDefault():null\"\r\n #userinputEnglish>\r\n\r\n <div class=\"input-group-append\" [hidden]=\"options.IsHideEnglishFields\" *ngIf=\"options.EnableCopyToClipboard\">\r\n <span class=\"input-group-text\" (click)=\"copyInputMessage(userinputEnglish)\">\r\n <i class=\"fas fa-copy\"></i>\r\n </span>\r\n </div>\r\n <div class=\"text-muted font-weight-500 word-count\" *ngIf=\"options.MaxWordCount>0&&IsShowEnglishWordCount\">{{EnglishWordCount}}/{{options.MaxWordCount}} words</div>\r\n </div>\r\n\r\n <div class=\"text-danger Required-text\"\r\n *ngIf=\"(EnglishFormControl.invalid && EnglishFormControl.touched)\">\r\n {{getErrorValidation(EnglishFormControl.errors|keyvalue)}}\r\n </div>\r\n\r\n <div class=\"control-desc\" *ngIf=\"(options.LabelDescription!=null&&options.LabelDescription!='') ||(options.EnglishLabelDescription!=null&&options.EnglishLabelDescription!='')\">\r\n {{(options.EnglishLabelDescription!=null&&options.EnglishLabelDescription!=\"\")?options.EnglishLabelDescription:options.LabelDescription}}\r\n </div>\r\n \r\n\r\n <!-- <div *ngIf=\"EnglishFormControl.valid\">{{resetError()}}</div> -->\r\n <div *ngIf=\"group.valid\">{{resetError()}}</div>\r\n\r\n </div>\r\n </div>\r\n\r\n </div>\r\n\r\n <div [ngClass]=\"(options.MultiControlPlacementType==1)?'col-md-12':'col-md-6'\">\r\n\r\n <div class=\"row\" *ngIf=\"ShowArabicTextBox\">\r\n\r\n <label class=\"b-label col-form-label col-sm-12\"\r\n [ngClass]=\"(options.ViewType==1)?'col-md-12':'col-md-3'\" [hidden]=\"options.IsHideArabicLabel\">\r\n {{(options.ArabicLabelValue!=null&&options.ArabicLabelValue!=\"\")?options.ArabicLabelValue:options.LabelValue}}\r\n <span *ngIf=\"(options.ShowAsterisk&&options.IsRequired)||(options.IsRequired)\"\r\n class=\"text-danger Required-text\" aria-required=\"true\">*</span>\r\n\r\n </label>\r\n\r\n <div class=\" col-sm-12\" [ngClass]=\"(options.ViewType==1)?'':'col-md-9'\">\r\n <div class=\"input-group\">\r\n <div class=\"svg svg-icon-grey\" [ngClass]=\"(options.IconPositionEN==1)?'right':'left'\" *ngIf=\"options.Icon!=null\">\r\n <span [inlineSVG]=\"options.Icon\"></span>\r\n </div>\r\n <input class=\"form-control bnsights-control\" dir=\"rtl\"\r\n (focus)=\"showArabicWordCount(true)\" (focusout)=\"showArabicWordCount(false)\"\r\n [hidden]=\"options.IsHideArabicFields\" aria-describedby=\"email-error\" aria-invalid=\"true\"\r\n formControlName=\"ArabicValue\"\r\n maxlength=\"{{options.MaxLength}}\" minlength=\"{{options.MinLength}}\"\r\n [class.is-invalid]=\"ArabicFormControl.invalid && ArabicFormControl.touched\"\r\n placeholder=\"{{options.ArabicPlaceholder}}\" (keyup)=\"onTextChange()\"\r\n (keydown)=\"ArabicWordCountArray>options.MaxWordCount&&$event.keyCode !=8?$event.preventDefault():null\"\r\n (change)=\"trimControlValue('Ar')\" #userinputArabic>\r\n\r\n <div class=\"input-group-append\" [hidden]=\"options.IsHideArabicFields\" *ngIf=\"options.EnableCopyToClipboard\">\r\n <span class=\"input-group-text\" (click)=\"copyInputMessage(userinputArabic)\">\r\n <i class=\"fas fa-copy\"></i>\r\n </span>\r\n </div>\r\n <div class=\"text-muted font-weight-500 word-count\" *ngIf=\"options.MaxWordCount>0&&IsShowArabicWordCount\">{{ArabicWordCount}}/{{options.MaxWordCount}} Words</div>\r\n\r\n </div>\r\n\r\n <div class=\"text-danger Required-text\"\r\n *ngIf=\"(ArabicFormControl.invalid && ArabicFormControl.touched)\">\r\n {{getErrorValidation(ArabicFormControl.errors|keyvalue)}}\r\n </div>\r\n\r\n <div class=\"control-desc\" *ngIf=\"(options.LabelDescription!=null&&options.LabelDescription!='')||(options.ArabicLabelDescription!=null&&options.ArabicLabelDescription!='')\">\r\n {{(options.ArabicLabelDescription!=null&&options.ArabicLabelDescription!=\"\")?options.ArabicLabelDescription:options.LabelDescription}}\r\n </div>\r\n \r\n \r\n\r\n <!-- <div *ngIf=\"ArabicFormControl.valid\">{{resetError()}}</div> -->\r\n \r\n <div *ngIf=\"group.valid\">{{resetError()}}</div>\r\n\r\n </div>\r\n \r\n\r\n </div>\r\n\r\n </div>\r\n </div>\r\n\r\n </div>\r\n</div>\r\n",
|
|
1472
|
+
template: "<div class=\"b-control b-multilangual-textbox\">\r\n <div class=\"form-group validate is-invalid\" [formGroup]=\"group\">\r\n\r\n <div class=\"form-group row\" [formGroup]=\"MultiLanguagegroup\">\r\n <div [ngClass]=\"(options.MultiControlPlacementType==1)?'col-md-12':'col-md-6'\">\r\n <div class=\"row\" *ngIf=\"ShowEnglishTextBox\">\r\n <label class=\"b-label col-form-label col-sm-12\"\r\n [ngClass]=\"(options.ViewType==1)?'col-md-9':'col-md-3'\" [hidden]=\"options.IsHideEnglishLabel\">\r\n {{(options.EnglishLabelValue!=null&&options.EnglishLabelValue!=\"\")?options.EnglishLabelValue:options.LabelValue}}\r\n <span *ngIf=\"(options.ShowAsterisk&&options.IsRequired)||(options.IsRequired)\"\r\n class=\"text-danger Required-text\" 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 <div class=\"input-group align-items-center\">\r\n <div class=\"svg svg-icon-grey\" [ngClass]=\"(options.IconPositionEN==1)?'left':'right'\" *ngIf=\"options.Icon!=null\">\r\n <span [inlineSVG]=\"options.Icon\"></span>\r\n </div>\r\n <input class=\"form-control bnsights-control\"\r\n (focus)=\"showEnglishWordCount(true)\" (focusout)=\"showEnglishWordCount(false)\"\r\n maxlength=\"{{options.MaxLength}}\" minlength=\"{{options.MinLength}}\"\r\n aria-describedby=\"email-error\" aria-invalid=\"true\" formControlName=\"EnglishValue\"\r\n [hidden]=\"options.IsHideEnglishFields\"\r\n [class.is-invalid]=\"EnglishFormControl.invalid && EnglishFormControl.touched\"\r\n placeholder=\"{{options.EnglishPlaceholder}}\" (change)=\"trimControlValue('En')\"\r\n (keyup)=\"onTextChange()\"\r\n (keydown)=\"EnglishWordCountArray>options.MaxWordCount&&$event.keyCode !=8?$event.preventDefault():null\"\r\n #userinputEnglish>\r\n\r\n <div class=\"input-group-append\" [hidden]=\"options.IsHideEnglishFields\" *ngIf=\"options.EnableCopyToClipboard\">\r\n <span class=\"input-group-text\" (click)=\"copyInputMessage(userinputEnglish)\">\r\n <i class=\"fas fa-copy\"></i>\r\n </span>\r\n </div>\r\n <div class=\"text-muted font-weight-500 word-count\" *ngIf=\"options.MaxWordCount>0&&IsShowEnglishWordCount\">{{EnglishWordCount}}/{{options.MaxWordCount}} words</div>\r\n </div>\r\n\r\n <div class=\"text-danger Required-text\"\r\n *ngIf=\"(EnglishFormControl.invalid && EnglishFormControl.touched)\">\r\n {{getErrorValidation(EnglishFormControl.errors|keyvalue)}}\r\n </div>\r\n\r\n <div class=\"control-desc\" *ngIf=\"(options.LabelDescription!=null&&options.LabelDescription!='') ||(options.EnglishLabelDescription!=null&&options.EnglishLabelDescription!='')\">\r\n {{(options.EnglishLabelDescription!=null&&options.EnglishLabelDescription!=\"\")?options.EnglishLabelDescription:options.LabelDescription}}\r\n </div>\r\n \r\n\r\n <!-- <div *ngIf=\"EnglishFormControl.valid\">{{resetError()}}</div> -->\r\n <div *ngIf=\"group.valid\">{{resetError()}}</div>\r\n\r\n </div>\r\n </div>\r\n\r\n </div>\r\n\r\n <div [ngClass]=\"(options.MultiControlPlacementType==1)?'col-md-12':'col-md-6'\">\r\n\r\n <div class=\"row\" *ngIf=\"ShowArabicTextBox\">\r\n\r\n <label class=\"b-label col-form-label col-sm-12\"\r\n [ngClass]=\"(options.ViewType==1)?'col-md-12':'col-md-3'\" [hidden]=\"options.IsHideArabicLabel\">\r\n {{(options.ArabicLabelValue!=null&&options.ArabicLabelValue!=\"\")?options.ArabicLabelValue:options.LabelValue}}\r\n <span *ngIf=\"(options.ShowAsterisk&&options.IsRequired)||(options.IsRequired)\"\r\n class=\"text-danger Required-text\" aria-required=\"true\">*</span>\r\n\r\n </label>\r\n\r\n <div class=\" col-sm-12\" [ngClass]=\"(options.ViewType==1)?'':'col-md-9'\">\r\n <div class=\"input-group align-items-center\">\r\n <div class=\"svg svg-icon-grey\" [ngClass]=\"(options.IconPositionEN==1)?'right':'left'\" *ngIf=\"options.Icon!=null\">\r\n <span [inlineSVG]=\"options.Icon\"></span>\r\n </div>\r\n <input class=\"form-control bnsights-control\" dir=\"rtl\"\r\n (focus)=\"showArabicWordCount(true)\" (focusout)=\"showArabicWordCount(false)\"\r\n [hidden]=\"options.IsHideArabicFields\" aria-describedby=\"email-error\" aria-invalid=\"true\"\r\n formControlName=\"ArabicValue\"\r\n maxlength=\"{{options.MaxLength}}\" minlength=\"{{options.MinLength}}\"\r\n [class.is-invalid]=\"ArabicFormControl.invalid && ArabicFormControl.touched\"\r\n placeholder=\"{{options.ArabicPlaceholder}}\" (keyup)=\"onTextChange()\"\r\n (keydown)=\"ArabicWordCountArray>options.MaxWordCount&&$event.keyCode !=8?$event.preventDefault():null\"\r\n (change)=\"trimControlValue('Ar')\" #userinputArabic>\r\n\r\n <div class=\"input-group-append\" [hidden]=\"options.IsHideArabicFields\" *ngIf=\"options.EnableCopyToClipboard\">\r\n <span class=\"input-group-text\" (click)=\"copyInputMessage(userinputArabic)\">\r\n <i class=\"fas fa-copy\"></i>\r\n </span>\r\n </div>\r\n <div class=\"text-muted font-weight-500 word-count\" *ngIf=\"options.MaxWordCount>0&&IsShowArabicWordCount\">{{ArabicWordCount}}/{{options.MaxWordCount}} Words</div>\r\n\r\n </div>\r\n\r\n <div class=\"text-danger Required-text\"\r\n *ngIf=\"(ArabicFormControl.invalid && ArabicFormControl.touched)\">\r\n {{getErrorValidation(ArabicFormControl.errors|keyvalue)}}\r\n </div>\r\n\r\n <div class=\"control-desc\" *ngIf=\"(options.LabelDescription!=null&&options.LabelDescription!='')||(options.ArabicLabelDescription!=null&&options.ArabicLabelDescription!='')\">\r\n {{(options.ArabicLabelDescription!=null&&options.ArabicLabelDescription!=\"\")?options.ArabicLabelDescription:options.LabelDescription}}\r\n </div>\r\n \r\n \r\n\r\n <!-- <div *ngIf=\"ArabicFormControl.valid\">{{resetError()}}</div> -->\r\n \r\n <div *ngIf=\"group.valid\">{{resetError()}}</div>\r\n\r\n </div>\r\n \r\n\r\n </div>\r\n\r\n </div>\r\n </div>\r\n\r\n </div>\r\n</div>\r\n",
|
|
1442
1473
|
styles: [".example-form{min-width:150px;max-width:500px;width:100%}.example-full-width{width:100%}\n"]
|
|
1443
1474
|
},] }
|
|
1444
1475
|
];
|
|
1445
1476
|
MultiLingualTextBoxComponent.ctorParameters = function () { return [
|
|
1446
|
-
{ type: ErrorMassageValidation },
|
|
1447
1477
|
{ type: forms.FormGroupDirective },
|
|
1448
1478
|
{ type: forms.ControlContainer, decorators: [{ type: i0.Optional }] },
|
|
1449
1479
|
{ type: ControlUtility },
|
|
1450
1480
|
{ type: bbsfUtilities.UtilityService },
|
|
1451
1481
|
{ type: bbsfUtilities.BBSFTranslateService },
|
|
1452
|
-
{ type: bbsfUtilities.ControlValidationService }
|
|
1482
|
+
{ type: bbsfUtilities.ControlValidationService },
|
|
1483
|
+
{ type: GlobalSettings }
|
|
1453
1484
|
]; };
|
|
1454
1485
|
MultiLingualTextBoxComponent.propDecorators = {
|
|
1455
1486
|
group: [{ type: i0.Input }],
|
|
@@ -1458,14 +1489,14 @@
|
|
|
1458
1489
|
};
|
|
1459
1490
|
|
|
1460
1491
|
var TextAreaComponent = /** @class */ (function () {
|
|
1461
|
-
function TextAreaComponent(
|
|
1492
|
+
function TextAreaComponent(controlUtility, controlContainer, TextAreaControlHost, UtilityService, controlValidationService, globalSettings) {
|
|
1462
1493
|
var _this = this;
|
|
1463
|
-
this.ErrorHandler = ErrorHandler;
|
|
1464
1494
|
this.controlUtility = controlUtility;
|
|
1465
1495
|
this.controlContainer = controlContainer;
|
|
1466
1496
|
this.TextAreaControlHost = TextAreaControlHost;
|
|
1467
1497
|
this.UtilityService = UtilityService;
|
|
1468
1498
|
this.controlValidationService = controlValidationService;
|
|
1499
|
+
this.globalSettings = globalSettings;
|
|
1469
1500
|
this.OnChange = new i0.EventEmitter();
|
|
1470
1501
|
this.WordCount = 0;
|
|
1471
1502
|
this.WordCountArray = 0;
|
|
@@ -1503,6 +1534,8 @@
|
|
|
1503
1534
|
this.controlValidationService.isCreatedBefor = false;
|
|
1504
1535
|
this.group.addControl(this.options.Name, new forms.FormControl(''));
|
|
1505
1536
|
this.TextAreaFormControl = this.group.controls[this.options.Name]; // new FormControl('',validationRules);
|
|
1537
|
+
if (!this.options.ViewType)
|
|
1538
|
+
this.options.ViewType = this.globalSettings.ViewType;
|
|
1506
1539
|
if (this.options.LabelKey != null && this.options.LabelKey != "")
|
|
1507
1540
|
this.options.LabelValue = this.UtilityService.getResourceValue(this.options.LabelKey);
|
|
1508
1541
|
this.TextAreaFormControl.setValue(this.options.Value);
|
|
@@ -1590,12 +1623,12 @@
|
|
|
1590
1623
|
},] }
|
|
1591
1624
|
];
|
|
1592
1625
|
TextAreaComponent.ctorParameters = function () { return [
|
|
1593
|
-
{ type: ErrorMassageValidation },
|
|
1594
1626
|
{ type: ControlUtility },
|
|
1595
1627
|
{ type: forms.ControlContainer, decorators: [{ type: i0.Optional }] },
|
|
1596
1628
|
{ type: forms.FormGroupDirective },
|
|
1597
1629
|
{ type: bbsfUtilities.UtilityService },
|
|
1598
|
-
{ type: bbsfUtilities.ControlValidationService }
|
|
1630
|
+
{ type: bbsfUtilities.ControlValidationService },
|
|
1631
|
+
{ type: GlobalSettings }
|
|
1599
1632
|
]; };
|
|
1600
1633
|
TextAreaComponent.propDecorators = {
|
|
1601
1634
|
group: [{ type: i0.Input }],
|
|
@@ -1604,15 +1637,14 @@
|
|
|
1604
1637
|
};
|
|
1605
1638
|
|
|
1606
1639
|
var MultiLingualTextAreaComponent = /** @class */ (function () {
|
|
1607
|
-
function MultiLingualTextAreaComponent(
|
|
1640
|
+
function MultiLingualTextAreaComponent(MultiLingualTextAreaFormControlHost, controlContainer, controlUtility, UtilityService, controlValidationService, globalSettings) {
|
|
1608
1641
|
var _this = this;
|
|
1609
|
-
this.ErrorHandler = ErrorHandler;
|
|
1610
1642
|
this.MultiLingualTextAreaFormControlHost = MultiLingualTextAreaFormControlHost;
|
|
1611
1643
|
this.controlContainer = controlContainer;
|
|
1612
1644
|
this.controlUtility = controlUtility;
|
|
1613
1645
|
this.UtilityService = UtilityService;
|
|
1614
|
-
this.translate = translate;
|
|
1615
1646
|
this.controlValidationService = controlValidationService;
|
|
1647
|
+
this.globalSettings = globalSettings;
|
|
1616
1648
|
this.OnChange = new i0.EventEmitter();
|
|
1617
1649
|
this.ArabicWordCount = 0;
|
|
1618
1650
|
this.ArabicWordCountArray = 0;
|
|
@@ -1680,6 +1712,12 @@
|
|
|
1680
1712
|
// this.CurrentLanguage = event.lang
|
|
1681
1713
|
// this.showInputUsingLanguageMode();
|
|
1682
1714
|
// });
|
|
1715
|
+
if (!this.options.ViewType)
|
|
1716
|
+
this.options.ViewType = this.globalSettings.ViewType;
|
|
1717
|
+
if (!this.options.LanguageMode)
|
|
1718
|
+
this.options.LanguageMode = this.globalSettings.LanguageMode;
|
|
1719
|
+
if (!this.options.MultiControlPlacementType)
|
|
1720
|
+
this.options.MultiControlPlacementType = this.globalSettings.MultiControlPlacementType;
|
|
1683
1721
|
if (this.options.ArabicLabelKey != null && this.options.ArabicLabelKey != "")
|
|
1684
1722
|
this.options.ArabicLabelValue = this.UtilityService.getResourceValue(this.options.ArabicLabelKey);
|
|
1685
1723
|
if (this.options.EnglishLabelKey != null && this.options.EnglishLabelKey != "")
|
|
@@ -1918,13 +1956,12 @@
|
|
|
1918
1956
|
},] }
|
|
1919
1957
|
];
|
|
1920
1958
|
MultiLingualTextAreaComponent.ctorParameters = function () { return [
|
|
1921
|
-
{ type: ErrorMassageValidation },
|
|
1922
1959
|
{ type: forms.FormGroupDirective },
|
|
1923
1960
|
{ type: forms.ControlContainer, decorators: [{ type: i0.Optional }] },
|
|
1924
1961
|
{ type: ControlUtility },
|
|
1925
1962
|
{ type: bbsfUtilities.UtilityService },
|
|
1926
|
-
{ type: bbsfUtilities.
|
|
1927
|
-
{ type:
|
|
1963
|
+
{ type: bbsfUtilities.ControlValidationService },
|
|
1964
|
+
{ type: GlobalSettings }
|
|
1928
1965
|
]; };
|
|
1929
1966
|
MultiLingualTextAreaComponent.propDecorators = {
|
|
1930
1967
|
group: [{ type: i0.Input }],
|
|
@@ -2044,15 +2081,15 @@
|
|
|
2044
2081
|
|
|
2045
2082
|
var DropdownListComponent = /** @class */ (function () {
|
|
2046
2083
|
// tslint:disable-next-line: max-line-length
|
|
2047
|
-
function DropdownListComponent(onChangeService, controlUtility, controlContainer, DropdownListControlHost, UtilityService,
|
|
2084
|
+
function DropdownListComponent(onChangeService, controlUtility, controlContainer, DropdownListControlHost, UtilityService, controlValidationService, globalSettings) {
|
|
2048
2085
|
var _this = this;
|
|
2049
2086
|
this.onChangeService = onChangeService;
|
|
2050
2087
|
this.controlUtility = controlUtility;
|
|
2051
2088
|
this.controlContainer = controlContainer;
|
|
2052
2089
|
this.DropdownListControlHost = DropdownListControlHost;
|
|
2053
2090
|
this.UtilityService = UtilityService;
|
|
2054
|
-
this.translate = translate;
|
|
2055
2091
|
this.controlValidationService = controlValidationService;
|
|
2092
|
+
this.globalSettings = globalSettings;
|
|
2056
2093
|
this.dropdownSettings = {};
|
|
2057
2094
|
this.SelectedList = [];
|
|
2058
2095
|
this.OnChange = new i0.EventEmitter();
|
|
@@ -2115,6 +2152,8 @@
|
|
|
2115
2152
|
};
|
|
2116
2153
|
this.group.addControl(this.options.Name, new forms.FormControl(''));
|
|
2117
2154
|
this.DropdownListFormControl = this.group.controls[this.options.Name]; // new FormControl('',validationRules);
|
|
2155
|
+
if (!this.options.ViewType)
|
|
2156
|
+
this.options.ViewType = this.globalSettings.ViewType;
|
|
2118
2157
|
if (this.options.CustomValidation.length > 0) {
|
|
2119
2158
|
var Validations = this.options.CustomValidation;
|
|
2120
2159
|
for (var index = 0; index < Validations.length; index++) {
|
|
@@ -2192,7 +2231,7 @@
|
|
|
2192
2231
|
{ type: i0.Component, args: [{
|
|
2193
2232
|
// tslint:disable-next-line: component-selector
|
|
2194
2233
|
selector: 'BBSF-DropdownList',
|
|
2195
|
-
template: "<div class=\"b-control b-dropdown-list\">\r\n
|
|
2234
|
+
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 [searchable]=\"true\" [clearable]=\"true\" placeholder=\"{{options.Placeholder}}\" id=\"{{options.Name}}\"\r\n [selectableGroup]=\"true\" [selectableGroupAsModel]=\"false\" formControlName=\"{{options.Name}}\"\r\n [(ngModel)]=\"SelectedList\" (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>",
|
|
2196
2235
|
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"]
|
|
2197
2236
|
},] }
|
|
2198
2237
|
];
|
|
@@ -2202,8 +2241,8 @@
|
|
|
2202
2241
|
{ type: forms.ControlContainer, decorators: [{ type: i0.Optional }] },
|
|
2203
2242
|
{ type: forms.FormGroupDirective },
|
|
2204
2243
|
{ type: bbsfUtilities.UtilityService },
|
|
2205
|
-
{ type: bbsfUtilities.
|
|
2206
|
-
{ type:
|
|
2244
|
+
{ type: bbsfUtilities.ControlValidationService },
|
|
2245
|
+
{ type: GlobalSettings }
|
|
2207
2246
|
]; };
|
|
2208
2247
|
DropdownListComponent.propDecorators = {
|
|
2209
2248
|
group: [{ type: i0.Input }],
|
|
@@ -2214,14 +2253,14 @@
|
|
|
2214
2253
|
|
|
2215
2254
|
var PhoneComponent = /** @class */ (function () {
|
|
2216
2255
|
// tslint:disable-next-line: max-line-length
|
|
2217
|
-
function PhoneComponent(
|
|
2256
|
+
function PhoneComponent(controlUtility, controlContainer, PhoneControlHost, UtilityService, controlValidationService, globalSettings) {
|
|
2218
2257
|
var _this = this;
|
|
2219
|
-
this.ErrorHandler = ErrorHandler;
|
|
2220
2258
|
this.controlUtility = controlUtility;
|
|
2221
2259
|
this.controlContainer = controlContainer;
|
|
2222
2260
|
this.PhoneControlHost = PhoneControlHost;
|
|
2223
2261
|
this.UtilityService = UtilityService;
|
|
2224
2262
|
this.controlValidationService = controlValidationService;
|
|
2263
|
+
this.globalSettings = globalSettings;
|
|
2225
2264
|
this.OnChange = new i0.EventEmitter();
|
|
2226
2265
|
this.SearchCountryField = ngxIntlTelInput.SearchCountryField;
|
|
2227
2266
|
// TooltipLabel = TooltipLabel;
|
|
@@ -2259,6 +2298,8 @@
|
|
|
2259
2298
|
this.controlValidationService.isCreatedBefor = false;
|
|
2260
2299
|
this.group.addControl(this.options.Name, new forms.FormControl(''));
|
|
2261
2300
|
this.PhoneFormControl = this.group.controls[this.options.Name]; // new FormControl('',validationRules);
|
|
2301
|
+
if (!this.options.ViewType)
|
|
2302
|
+
this.options.ViewType = this.globalSettings.ViewType;
|
|
2262
2303
|
if (this.options.IsRequired) {
|
|
2263
2304
|
this.validationRules.push(forms.Validators.required);
|
|
2264
2305
|
}
|
|
@@ -2310,12 +2351,12 @@
|
|
|
2310
2351
|
},] }
|
|
2311
2352
|
];
|
|
2312
2353
|
PhoneComponent.ctorParameters = function () { return [
|
|
2313
|
-
{ type: ErrorMassageValidation },
|
|
2314
2354
|
{ type: ControlUtility },
|
|
2315
2355
|
{ type: forms.ControlContainer, decorators: [{ type: i0.Optional }] },
|
|
2316
2356
|
{ type: forms.FormGroupDirective },
|
|
2317
2357
|
{ type: bbsfUtilities.UtilityService },
|
|
2318
|
-
{ type: bbsfUtilities.ControlValidationService }
|
|
2358
|
+
{ type: bbsfUtilities.ControlValidationService },
|
|
2359
|
+
{ type: GlobalSettings }
|
|
2319
2360
|
]; };
|
|
2320
2361
|
PhoneComponent.propDecorators = {
|
|
2321
2362
|
group: [{ type: i0.Input }],
|
|
@@ -2325,24 +2366,25 @@
|
|
|
2325
2366
|
|
|
2326
2367
|
var ToggleslideComponent = /** @class */ (function () {
|
|
2327
2368
|
// tslint:disable-next-line: max-line-length
|
|
2328
|
-
function ToggleslideComponent(
|
|
2329
|
-
this.ErrorHandler = ErrorHandler;
|
|
2369
|
+
function ToggleslideComponent(controlUtility, controlContainer, ToggleslideControlHost, TextControlHost, UtilityService, controlValidationService, globalSettings) {
|
|
2330
2370
|
this.controlUtility = controlUtility;
|
|
2331
2371
|
this.controlContainer = controlContainer;
|
|
2332
2372
|
this.ToggleslideControlHost = ToggleslideControlHost;
|
|
2333
2373
|
this.TextControlHost = TextControlHost;
|
|
2334
2374
|
this.UtilityService = UtilityService;
|
|
2335
2375
|
this.controlValidationService = controlValidationService;
|
|
2376
|
+
this.globalSettings = globalSettings;
|
|
2336
2377
|
this.SlideValue = false;
|
|
2337
2378
|
ToggleslideComponent.controlContainerstatic = this.controlContainer;
|
|
2338
2379
|
}
|
|
2339
2380
|
ToggleslideComponent.prototype.ngOnInit = function () {
|
|
2340
|
-
;
|
|
2341
2381
|
this.group.addControl(this.options.Name, new forms.FormControl(''));
|
|
2342
2382
|
this.ToggleslideFormControl = this.group.controls[this.options.Name]; // new FormControl('',validationRules);
|
|
2343
2383
|
var validationRules = [];
|
|
2344
2384
|
var validationRulesasync = [];
|
|
2345
2385
|
this.SlideValue = this.options.Value == undefined ? false : this.options.Value;
|
|
2386
|
+
if (!this.options.ViewType)
|
|
2387
|
+
this.options.ViewType = this.globalSettings.ViewType;
|
|
2346
2388
|
if (this.options.IsDisabled) {
|
|
2347
2389
|
this.ToggleslideFormControl.disable();
|
|
2348
2390
|
}
|
|
@@ -2377,13 +2419,13 @@
|
|
|
2377
2419
|
},] }
|
|
2378
2420
|
];
|
|
2379
2421
|
ToggleslideComponent.ctorParameters = function () { return [
|
|
2380
|
-
{ type: ErrorMassageValidation },
|
|
2381
2422
|
{ type: ControlUtility },
|
|
2382
2423
|
{ type: forms.ControlContainer, decorators: [{ type: i0.Optional }] },
|
|
2383
2424
|
{ type: forms.FormGroupDirective },
|
|
2384
2425
|
{ type: forms.FormGroupDirective },
|
|
2385
2426
|
{ type: bbsfUtilities.UtilityService },
|
|
2386
|
-
{ type: bbsfUtilities.ControlValidationService }
|
|
2427
|
+
{ type: bbsfUtilities.ControlValidationService },
|
|
2428
|
+
{ type: GlobalSettings }
|
|
2387
2429
|
]; };
|
|
2388
2430
|
ToggleslideComponent.propDecorators = {
|
|
2389
2431
|
group: [{ type: i0.Input }],
|
|
@@ -2391,15 +2433,15 @@
|
|
|
2391
2433
|
};
|
|
2392
2434
|
|
|
2393
2435
|
var HtmlEditorComponent = /** @class */ (function () {
|
|
2394
|
-
function HtmlEditorComponent(zone, controlUtility, controlContainer, HtmlEditorControlHost, UtilityService,
|
|
2436
|
+
function HtmlEditorComponent(zone, controlUtility, controlContainer, HtmlEditorControlHost, UtilityService, controlValidationService, globalSettings) {
|
|
2395
2437
|
var _this = this;
|
|
2396
2438
|
this.zone = zone;
|
|
2397
2439
|
this.controlUtility = controlUtility;
|
|
2398
2440
|
this.controlContainer = controlContainer;
|
|
2399
2441
|
this.HtmlEditorControlHost = HtmlEditorControlHost;
|
|
2400
2442
|
this.UtilityService = UtilityService;
|
|
2401
|
-
this.translate = translate;
|
|
2402
2443
|
this.controlValidationService = controlValidationService;
|
|
2444
|
+
this.globalSettings = globalSettings;
|
|
2403
2445
|
this.OnChange = new i0.EventEmitter();
|
|
2404
2446
|
this.WordCount = 0;
|
|
2405
2447
|
this.WordCountArray = 0;
|
|
@@ -2517,6 +2559,8 @@
|
|
|
2517
2559
|
this.group.addControl(this.options.Name, new forms.FormControl(''));
|
|
2518
2560
|
this.HtmlEditorFormControl = this.group.controls[this.options.Name]; // new FormControl('',validationRules);
|
|
2519
2561
|
this.HtmlEditorFormControl.setValue(this.options.Value);
|
|
2562
|
+
if (!this.options.ViewType)
|
|
2563
|
+
this.options.ViewType = this.globalSettings.ViewType;
|
|
2520
2564
|
if (this.options.CustomValidation.length > 0) {
|
|
2521
2565
|
var Validations = this.options.CustomValidation;
|
|
2522
2566
|
for (var index = 0; index < Validations.length; index++) {
|
|
@@ -2582,8 +2626,8 @@
|
|
|
2582
2626
|
{ type: forms.ControlContainer, decorators: [{ type: i0.Optional }] },
|
|
2583
2627
|
{ type: forms.FormGroupDirective },
|
|
2584
2628
|
{ type: bbsfUtilities.UtilityService },
|
|
2585
|
-
{ type: bbsfUtilities.
|
|
2586
|
-
{ type:
|
|
2629
|
+
{ type: bbsfUtilities.ControlValidationService },
|
|
2630
|
+
{ type: GlobalSettings }
|
|
2587
2631
|
]; };
|
|
2588
2632
|
HtmlEditorComponent.propDecorators = {
|
|
2589
2633
|
group: [{ type: i0.Input }],
|
|
@@ -2592,15 +2636,14 @@
|
|
|
2592
2636
|
};
|
|
2593
2637
|
|
|
2594
2638
|
var MultiLingualHtmlEditorComponent = /** @class */ (function () {
|
|
2595
|
-
function MultiLingualHtmlEditorComponent(
|
|
2639
|
+
function MultiLingualHtmlEditorComponent(MultiLingualHtmlEditorFormControlHost, controlContainer, controlUtility, UtilityService, controlValidationService, globalSettings) {
|
|
2596
2640
|
var _this = this;
|
|
2597
|
-
this.ErrorHandler = ErrorHandler;
|
|
2598
2641
|
this.MultiLingualHtmlEditorFormControlHost = MultiLingualHtmlEditorFormControlHost;
|
|
2599
2642
|
this.controlContainer = controlContainer;
|
|
2600
2643
|
this.controlUtility = controlUtility;
|
|
2601
2644
|
this.UtilityService = UtilityService;
|
|
2602
|
-
this.translate = translate;
|
|
2603
2645
|
this.controlValidationService = controlValidationService;
|
|
2646
|
+
this.globalSettings = globalSettings;
|
|
2604
2647
|
this.OnChange = new i0.EventEmitter();
|
|
2605
2648
|
this.CurrentLanguage = "";
|
|
2606
2649
|
this.ArabicValidationRules = [];
|
|
@@ -2612,6 +2655,8 @@
|
|
|
2612
2655
|
this.validationRulesasync = [];
|
|
2613
2656
|
this.ArabicLetterOnly = "";
|
|
2614
2657
|
this.EnglishLetterOnly = "";
|
|
2658
|
+
this.englishValue = null;
|
|
2659
|
+
this.arabicValue = null;
|
|
2615
2660
|
this.resetError = function () {
|
|
2616
2661
|
_this.controlValidationService.RemoveGlobalError();
|
|
2617
2662
|
};
|
|
@@ -2654,6 +2699,10 @@
|
|
|
2654
2699
|
return __generator(this, function (_b) {
|
|
2655
2700
|
switch (_b.label) {
|
|
2656
2701
|
case 0:
|
|
2702
|
+
if (!this.options.ViewType)
|
|
2703
|
+
this.options.ViewType = this.globalSettings.ViewType;
|
|
2704
|
+
if (!this.options.LanguageMode)
|
|
2705
|
+
this.options.LanguageMode = this.globalSettings.LanguageMode;
|
|
2657
2706
|
this.editorEnglishConfig = {
|
|
2658
2707
|
editable: !this.options.IsDisabled,
|
|
2659
2708
|
spellcheck: true,
|
|
@@ -2844,30 +2893,37 @@
|
|
|
2844
2893
|
});
|
|
2845
2894
|
});
|
|
2846
2895
|
};
|
|
2847
|
-
MultiLingualHtmlEditorComponent.prototype.onTextChange = function () {
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
this.MultilingualHtmlEditorgroup.controls["ArabicHtmlEditorValue"].
|
|
2862
|
-
this.
|
|
2896
|
+
MultiLingualHtmlEditorComponent.prototype.onTextChange = function (type) {
|
|
2897
|
+
if (type == "en") {
|
|
2898
|
+
this.englishValue = this.MultilingualHtmlEditorgroup.controls["EnglishHtmlEditorValue"].value == null ? "" : this.MultilingualHtmlEditorgroup.controls["EnglishHtmlEditorValue"].value;
|
|
2899
|
+
if (this.englishValue)
|
|
2900
|
+
this.EnglishHtmlEditorFormControl.setValue(this.englishValue);
|
|
2901
|
+
var EngliswordCountArray = this.EnglishHtmlEditorFormControl.value.split(" ").length;
|
|
2902
|
+
if (EngliswordCountArray > 0) {
|
|
2903
|
+
if (EngliswordCountArray > this.options.MaxWordCount)
|
|
2904
|
+
this.MultilingualHtmlEditorgroup.controls["EnglishHtmlEditorValue"].setErrors({ MaxWordCountValidationKey: this.options.MaxWordCount });
|
|
2905
|
+
this.MultilingualHtmlEditorgroup.controls["EnglishHtmlEditorValue"].markAsTouched();
|
|
2906
|
+
this.MultilingualHtmlEditorgroup.controls["EnglishHtmlEditorValue"].invalid;
|
|
2907
|
+
}
|
|
2908
|
+
}
|
|
2909
|
+
if (type == "ar") {
|
|
2910
|
+
this.arabicValue = this.MultilingualHtmlEditorgroup.controls["ArabicHtmlEditorValue"].value == null ? "" : this.MultilingualHtmlEditorgroup.controls["ArabicHtmlEditorValue"].value;
|
|
2911
|
+
if (this.arabicValue)
|
|
2912
|
+
this.ArabicHtmlEditorFormControl.setValue(this.arabicValue);
|
|
2913
|
+
var ArabicwordCountArray = this.ArabicHtmlEditorFormControl.value.split(" ").length;
|
|
2914
|
+
if (ArabicwordCountArray > 0) {
|
|
2915
|
+
if (ArabicwordCountArray > this.options.MaxWordCount)
|
|
2916
|
+
this.MultilingualHtmlEditorgroup.controls["ArabicHtmlEditorValue"].setErrors({ MaxWordCountValidationKey: this.options.MaxWordCount });
|
|
2917
|
+
this.MultilingualHtmlEditorgroup.controls["ArabicHtmlEditorValue"].markAsTouched();
|
|
2918
|
+
this.MultilingualHtmlEditorgroup.controls["ArabicHtmlEditorValue"].invalid;
|
|
2919
|
+
}
|
|
2863
2920
|
}
|
|
2864
2921
|
var mulitLangModel = new EnglishArabicDTO();
|
|
2865
|
-
mulitLangModel.Arabic = arabicValue;
|
|
2866
|
-
mulitLangModel.English = englishValue;
|
|
2867
|
-
this.ArabicHtmlEditorFormControl.setValue(arabicValue);
|
|
2868
|
-
this.EnglishHtmlEditorFormControl.setValue(englishValue);
|
|
2922
|
+
mulitLangModel.Arabic = this.arabicValue;
|
|
2923
|
+
mulitLangModel.English = this.englishValue;
|
|
2869
2924
|
this.OnChange.emit(mulitLangModel);
|
|
2870
|
-
this.
|
|
2925
|
+
if (this.arabicValue && this.englishValue)
|
|
2926
|
+
this.group.get(this.options.Name).setValue(mulitLangModel);
|
|
2871
2927
|
};
|
|
2872
2928
|
MultiLingualHtmlEditorComponent.prototype.showGlobalError = function () {
|
|
2873
2929
|
this.controlUtility.showGlobalError();
|
|
@@ -2959,18 +3015,17 @@
|
|
|
2959
3015
|
MultiLingualHtmlEditorComponent.decorators = [
|
|
2960
3016
|
{ type: i0.Component, args: [{
|
|
2961
3017
|
selector: 'BBSF-MultiLingualHtmlEditor',
|
|
2962
|
-
template: "<div class=\"b-control b-multilangual-html-editor\">\r\n <div class=\"form-group validate is-invalid\" [formGroup]=\"group\">\r\n\r\n <div class=\"form-group row\" [formGroup]=\"MultilingualHtmlEditorgroup\">\r\n <div class=\"col-lg-6\">\r\n <div class=\"row\" *ngIf=\"ShowEnglishHtmlEditor\">\r\n <label class=\"b-label col-form-label col-sm-12 \" \r\n [ngClass]=\"(options.ViewType==1)?'col-md-9':'col-md-3'\"\r\n [hidden]=\"options.IsHideEnglishLabel\">\r\n {{(options.EnglishLabelValue!=null&&options.EnglishLabelValue!=\"\")?options.EnglishLabelValue:options.LabelValue+\"in English\"}}\r\n <span *ngIf=\"(options.ShowAsterisk&&options.IsRequired)||(options.IsRequired)\"\r\n class=\"text-danger Required-text\" 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 \r\n <angular-editor
|
|
3018
|
+
template: "<div class=\"b-control b-multilangual-html-editor\">\r\n <div class=\"form-group validate is-invalid\" [formGroup]=\"group\">\r\n\r\n <div class=\"form-group row\" [formGroup]=\"MultilingualHtmlEditorgroup\">\r\n <div class=\"col-lg-6\">\r\n <div class=\"row\" *ngIf=\"ShowEnglishHtmlEditor\">\r\n <label class=\"b-label col-form-label col-sm-12 \" \r\n [ngClass]=\"(options.ViewType==1)?'col-md-9':'col-md-3'\"\r\n [hidden]=\"options.IsHideEnglishLabel\">\r\n {{(options.EnglishLabelValue!=null&&options.EnglishLabelValue!=\"\")?options.EnglishLabelValue:options.LabelValue+\"in English\"}}\r\n <span *ngIf=\"(options.ShowAsterisk&&options.IsRequired)||(options.IsRequired)\"\r\n class=\"text-danger Required-text\" 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 \r\n <angular-editor class=\"form-control bnsights-control {{options.ExtraClasses_EN}} \" (change)=\"onTextChange('en')\" [class.is-invalid]=\"EnglishHtmlEditorFormControl.invalid && EnglishHtmlEditorFormControl.touched\"\r\n formControlName=\"EnglishHtmlEditorValue\" [config]=\"editorEnglishConfig\"></angular-editor>\r\n\r\n <div class=\"text-danger Required-text\"\r\n *ngIf=\"(EnglishHtmlEditorFormControl.invalid && EnglishHtmlEditorFormControl.touched)\">\r\n {{getErrorValidation(EnglishHtmlEditorFormControl.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\">\r\n {{(options.EnglishLabelDescription!=null&&options.EnglishLabelDescription!=\"\")?options.EnglishLabelDescription:options.LabelDescription}}\r\n </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 </div>\r\n </div>\r\n </div>\r\n <div class=\"col-lg-6\">\r\n <div class=\"row\" *ngIf=\"ShowArabicHtmlEditor\">\r\n\r\n <label class=\"b-label col-form-label col-sm-12 \"\r\n [ngClass]=\"(options.ViewType==1)?'col-md-12':'col-md-3'\"\r\n [hidden]=\"options.IsHideArabicLable\">\r\n {{(options.ArabicLabelValue!=null&&options.ArabicLabelValue!=\"\")?options.ArabicLabelValue:options.LabelValue+\"in Arabic\"}}\r\n <span *ngIf=\"(options.ShowAsterisk&&options.IsRequired)||(options.IsRequired)\"\r\n class=\"text-danger Required-text\" aria-required=\"true\">*</span>\r\n </label>\r\n <div class=\" col-sm-12\" [ngClass]=\"(options.ViewType==1)?'':'col-md-9'\">\r\n \r\n\r\n <angular-editor dir=\"rtl\" class=\"form-control bnsights-control {{options.ExtraClasses_AR}} \" (change)=\"onTextChange('ar')\" [class.is-invalid]=\"ArabicHtmlEditorFormControl.invalid && ArabicHtmlEditorFormControl.touched\"\r\n formControlName=\"ArabicHtmlEditorValue\" [config]=\"editorArabicConfig\"></angular-editor>\r\n\r\n <div class=\"text-danger Required-text\"\r\n *ngIf=\"(ArabicHtmlEditorFormControl.invalid && ArabicHtmlEditorFormControl.touched)\">\r\n {{getErrorValidation(ArabicHtmlEditorFormControl.errors|keyvalue)}}\r\n </div>\r\n\r\n \r\n\r\n <div class=\"d-flex justify-content-between align-items-center\">\r\n <div class=\"control-desc text-dark\">\r\n {{(options.ArabicLabelDescription!=null&&options.ArabicLabelDescription!=\"\")?options.ArabicLabelDescription:options.LabelDescription}}\r\n </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 </div>\r\n\r\n\r\n\r\n </div>\r\n </div>\r\n </div>\r\n\r\n\r\n\r\n </div>\r\n\r\n</div>\r\n",
|
|
2963
3019
|
styles: [".example-form{min-width:150px;max-width:500px;width:100%}.example-full-width{width:100%}\n"]
|
|
2964
3020
|
},] }
|
|
2965
3021
|
];
|
|
2966
3022
|
MultiLingualHtmlEditorComponent.ctorParameters = function () { return [
|
|
2967
|
-
{ type: ErrorMassageValidation },
|
|
2968
3023
|
{ type: forms.FormGroupDirective },
|
|
2969
3024
|
{ type: forms.ControlContainer, decorators: [{ type: i0.Optional }] },
|
|
2970
3025
|
{ type: ControlUtility },
|
|
2971
3026
|
{ type: bbsfUtilities.UtilityService },
|
|
2972
|
-
{ type: bbsfUtilities.
|
|
2973
|
-
{ type:
|
|
3027
|
+
{ type: bbsfUtilities.ControlValidationService },
|
|
3028
|
+
{ type: GlobalSettings }
|
|
2974
3029
|
]; };
|
|
2975
3030
|
MultiLingualHtmlEditorComponent.propDecorators = {
|
|
2976
3031
|
group: [{ type: i0.Input }],
|
|
@@ -2979,16 +3034,15 @@
|
|
|
2979
3034
|
};
|
|
2980
3035
|
|
|
2981
3036
|
var ImageUploaderComponent = /** @class */ (function () {
|
|
2982
|
-
function ImageUploaderComponent(zone,
|
|
3037
|
+
function ImageUploaderComponent(zone, controlUtility, controlContainer, ImageUplaoderControlHost, UtilityService, controlValidationService, globalSettings) {
|
|
2983
3038
|
var _this = this;
|
|
2984
3039
|
this.zone = zone;
|
|
2985
|
-
this.ErrorHandler = ErrorHandler;
|
|
2986
3040
|
this.controlUtility = controlUtility;
|
|
2987
3041
|
this.controlContainer = controlContainer;
|
|
2988
3042
|
this.ImageUplaoderControlHost = ImageUplaoderControlHost;
|
|
2989
3043
|
this.UtilityService = UtilityService;
|
|
2990
|
-
this.translate = translate;
|
|
2991
3044
|
this.controlValidationService = controlValidationService;
|
|
3045
|
+
this.globalSettings = globalSettings;
|
|
2992
3046
|
this.files = [];
|
|
2993
3047
|
this.ImageSource = "./src/assets/images/uploadimg.png";
|
|
2994
3048
|
this.OnChange = new i0.EventEmitter();
|
|
@@ -3036,6 +3090,8 @@
|
|
|
3036
3090
|
ImageUploaderComponent.prototype.ngOnInit = function () {
|
|
3037
3091
|
var _this = this;
|
|
3038
3092
|
this.controlValidationService.isCreatedBefor = false;
|
|
3093
|
+
if (!this.options.ViewType)
|
|
3094
|
+
this.options.ViewType = this.globalSettings.ViewType;
|
|
3039
3095
|
if (this.options.DefaultImageSrc != null && this.options.DefaultImageSrc != "")
|
|
3040
3096
|
this.ImageSource = this.options.DefaultImageSrc;
|
|
3041
3097
|
if (this.options.AllowImageCropper) {
|
|
@@ -3277,13 +3333,12 @@
|
|
|
3277
3333
|
];
|
|
3278
3334
|
ImageUploaderComponent.ctorParameters = function () { return [
|
|
3279
3335
|
{ type: i0.NgZone },
|
|
3280
|
-
{ type: ErrorMassageValidation },
|
|
3281
3336
|
{ type: ControlUtility },
|
|
3282
3337
|
{ type: forms.ControlContainer, decorators: [{ type: i0.Optional }] },
|
|
3283
3338
|
{ type: forms.FormGroupDirective },
|
|
3284
3339
|
{ type: bbsfUtilities.UtilityService },
|
|
3285
|
-
{ type: bbsfUtilities.
|
|
3286
|
-
{ type:
|
|
3340
|
+
{ type: bbsfUtilities.ControlValidationService },
|
|
3341
|
+
{ type: GlobalSettings }
|
|
3287
3342
|
]; };
|
|
3288
3343
|
ImageUploaderComponent.propDecorators = {
|
|
3289
3344
|
fileInput: [{ type: i0.ViewChild, args: ['fileInput', { static: false },] }],
|
|
@@ -3300,15 +3355,15 @@
|
|
|
3300
3355
|
}());
|
|
3301
3356
|
|
|
3302
3357
|
var ProfileImageUploaderComponent = /** @class */ (function () {
|
|
3303
|
-
function ProfileImageUploaderComponent(zone,
|
|
3358
|
+
function ProfileImageUploaderComponent(zone, controlUtility, controlContainer, ProfileImageUploaderControlHost, UtilityService, controlValidationService, globalSettings) {
|
|
3304
3359
|
var _this = this;
|
|
3305
3360
|
this.zone = zone;
|
|
3306
|
-
this.ErrorHandler = ErrorHandler;
|
|
3307
3361
|
this.controlUtility = controlUtility;
|
|
3308
3362
|
this.controlContainer = controlContainer;
|
|
3309
3363
|
this.ProfileImageUploaderControlHost = ProfileImageUploaderControlHost;
|
|
3310
3364
|
this.UtilityService = UtilityService;
|
|
3311
3365
|
this.controlValidationService = controlValidationService;
|
|
3366
|
+
this.globalSettings = globalSettings;
|
|
3312
3367
|
this.files = [];
|
|
3313
3368
|
this.ImageSource = "./src/assets/images/userimg.png";
|
|
3314
3369
|
this.OnChange = new i0.EventEmitter();
|
|
@@ -3357,6 +3412,8 @@
|
|
|
3357
3412
|
ProfileImageUploaderComponent.prototype.ngOnInit = function () {
|
|
3358
3413
|
var _this = this;
|
|
3359
3414
|
this.controlValidationService.isCreatedBefor = false;
|
|
3415
|
+
if (!this.options.ViewType)
|
|
3416
|
+
this.options.ViewType = this.globalSettings.ViewType;
|
|
3360
3417
|
if (this.options.DefaultImageSrc != null && this.options.DefaultImageSrc != "")
|
|
3361
3418
|
this.ImageSource = this.options.DefaultImageSrc;
|
|
3362
3419
|
this.config = {
|
|
@@ -3619,12 +3676,12 @@
|
|
|
3619
3676
|
];
|
|
3620
3677
|
ProfileImageUploaderComponent.ctorParameters = function () { return [
|
|
3621
3678
|
{ type: i0.NgZone },
|
|
3622
|
-
{ type: ErrorMassageValidation },
|
|
3623
3679
|
{ type: ControlUtility },
|
|
3624
3680
|
{ type: forms.ControlContainer, decorators: [{ type: i0.Optional }] },
|
|
3625
3681
|
{ type: forms.FormGroupDirective },
|
|
3626
3682
|
{ type: bbsfUtilities.UtilityService },
|
|
3627
|
-
{ type: bbsfUtilities.ControlValidationService }
|
|
3683
|
+
{ type: bbsfUtilities.ControlValidationService },
|
|
3684
|
+
{ type: GlobalSettings }
|
|
3628
3685
|
]; };
|
|
3629
3686
|
ProfileImageUploaderComponent.propDecorators = {
|
|
3630
3687
|
fileInput: [{ type: i0.ViewChild, args: ['fileInput', { static: false },] }],
|
|
@@ -3644,16 +3701,17 @@
|
|
|
3644
3701
|
|
|
3645
3702
|
var AutocompleteTextBoxComponent = /** @class */ (function () {
|
|
3646
3703
|
// tslint:disable-next-line: max-line-length
|
|
3647
|
-
function AutocompleteTextBoxComponent(http, ErrorHandler, controlUtility, controlContainer, AutocompleteTextBoxControlHost, UtilityService,
|
|
3704
|
+
function AutocompleteTextBoxComponent(http, ErrorHandler, requestHandlerService, controlUtility, controlContainer, AutocompleteTextBoxControlHost, UtilityService, controlValidationService, globalSettings) {
|
|
3648
3705
|
var _this = this;
|
|
3649
3706
|
this.http = http;
|
|
3650
3707
|
this.ErrorHandler = ErrorHandler;
|
|
3708
|
+
this.requestHandlerService = requestHandlerService;
|
|
3651
3709
|
this.controlUtility = controlUtility;
|
|
3652
3710
|
this.controlContainer = controlContainer;
|
|
3653
3711
|
this.AutocompleteTextBoxControlHost = AutocompleteTextBoxControlHost;
|
|
3654
3712
|
this.UtilityService = UtilityService;
|
|
3655
|
-
this.translate = translate;
|
|
3656
3713
|
this.controlValidationService = controlValidationService;
|
|
3714
|
+
this.globalSettings = globalSettings;
|
|
3657
3715
|
this.OnChange = new i0.EventEmitter();
|
|
3658
3716
|
this.keyword = 'value';
|
|
3659
3717
|
this.Search = '';
|
|
@@ -3728,6 +3786,8 @@
|
|
|
3728
3786
|
this.controlValidationService.isCreatedBefor = false;
|
|
3729
3787
|
this.group.addControl(this.options.Name, new forms.FormControl(''));
|
|
3730
3788
|
this.AutocompleteTextBoxControl = this.group.controls[this.options.Name]; // new FormControl('',validationRules);
|
|
3789
|
+
if (!this.options.ViewType)
|
|
3790
|
+
this.options.ViewType = this.globalSettings.ViewType;
|
|
3731
3791
|
if (this.options.LabelKey != null && this.options.LabelKey != "")
|
|
3732
3792
|
this.options.LabelValue = this.UtilityService.getResourceValue(this.options.LabelKey);
|
|
3733
3793
|
// this.AutocompleteTextBoxControl.setValue(this.options.Value);
|
|
@@ -3770,10 +3830,12 @@
|
|
|
3770
3830
|
if (query) {
|
|
3771
3831
|
var params = new http$1.HttpParams();
|
|
3772
3832
|
params = params.append(_this.options.QueryParam, query);
|
|
3833
|
+
var requestOptionsModel = new bbsfUtilities.RequestOptionsModel();
|
|
3834
|
+
requestOptionsModel.disableBlockUI = true;
|
|
3835
|
+
requestOptionsModel.disableSuccessNotification = true;
|
|
3773
3836
|
// using github public api to get users by name
|
|
3774
|
-
return _this.
|
|
3775
|
-
|
|
3776
|
-
}).pipe(operators.map(function (data) { return data || []; }), operators.tap(function () { return rxjs.noop; }, function (err) {
|
|
3837
|
+
return _this.requestHandlerService.get(_this.options.ActionURL, params, requestOptionsModel)
|
|
3838
|
+
.pipe(operators.map(function (data) { return data || []; }), operators.tap(function () { return rxjs.noop; }, function (err) {
|
|
3777
3839
|
// in case of http error
|
|
3778
3840
|
_this.errorMessage = err && err.message || 'Something goes wrong';
|
|
3779
3841
|
}));
|
|
@@ -3867,12 +3929,13 @@
|
|
|
3867
3929
|
AutocompleteTextBoxComponent.ctorParameters = function () { return [
|
|
3868
3930
|
{ type: http$1.HttpClient },
|
|
3869
3931
|
{ type: ErrorMassageValidation },
|
|
3932
|
+
{ type: bbsfUtilities.RequestHandlerService },
|
|
3870
3933
|
{ type: ControlUtility },
|
|
3871
3934
|
{ type: forms.ControlContainer, decorators: [{ type: i0.Optional }] },
|
|
3872
3935
|
{ type: forms.FormGroupDirective },
|
|
3873
3936
|
{ type: bbsfUtilities.UtilityService },
|
|
3874
|
-
{ type: bbsfUtilities.
|
|
3875
|
-
{ type:
|
|
3937
|
+
{ type: bbsfUtilities.ControlValidationService },
|
|
3938
|
+
{ type: GlobalSettings }
|
|
3876
3939
|
]; };
|
|
3877
3940
|
AutocompleteTextBoxComponent.propDecorators = {
|
|
3878
3941
|
group: [{ type: i0.Input }],
|
|
@@ -3882,15 +3945,16 @@
|
|
|
3882
3945
|
|
|
3883
3946
|
var TagsInputComponent = /** @class */ (function () {
|
|
3884
3947
|
// tslint:disable-next-line: max-line-length
|
|
3885
|
-
function TagsInputComponent(http,
|
|
3948
|
+
function TagsInputComponent(http, controlUtility, requestHandlerService, controlContainer, TagsInputControlHost, UtilityService, controlValidationService, globalSettings) {
|
|
3886
3949
|
var _this = this;
|
|
3887
3950
|
this.http = http;
|
|
3888
|
-
this.ErrorHandler = ErrorHandler;
|
|
3889
3951
|
this.controlUtility = controlUtility;
|
|
3952
|
+
this.requestHandlerService = requestHandlerService;
|
|
3890
3953
|
this.controlContainer = controlContainer;
|
|
3891
3954
|
this.TagsInputControlHost = TagsInputControlHost;
|
|
3892
3955
|
this.UtilityService = UtilityService;
|
|
3893
3956
|
this.controlValidationService = controlValidationService;
|
|
3957
|
+
this.globalSettings = globalSettings;
|
|
3894
3958
|
this.OnChange = new i0.EventEmitter();
|
|
3895
3959
|
// TagInputControl: AbstractControl;
|
|
3896
3960
|
this.SelectedId = [];
|
|
@@ -3957,6 +4021,8 @@
|
|
|
3957
4021
|
this.TagsFormGroup.addControl("tags", new forms.FormControl(''));
|
|
3958
4022
|
this.TagsFormControl = this.TagsFormGroup.controls["tags"]; // new FormControl('',validationRules);
|
|
3959
4023
|
this.group.addControl(this.options.Name, this.TagsFormControl);
|
|
4024
|
+
if (!this.options.ViewType)
|
|
4025
|
+
this.options.ViewType = this.globalSettings.ViewType;
|
|
3960
4026
|
if (this.options.LabelKey != null && this.options.LabelKey != "")
|
|
3961
4027
|
this.options.LabelValue = this.UtilityService.getResourceValue(this.options.LabelKey);
|
|
3962
4028
|
// this.group.addControl(this.options.Name, new FormControl(''));
|
|
@@ -4014,21 +4080,11 @@
|
|
|
4014
4080
|
this.controlUtility.CopyInputMessage(inputElement);
|
|
4015
4081
|
};
|
|
4016
4082
|
TagsInputComponent.prototype.searchFunctionFactory = function (Text) {
|
|
4017
|
-
var httpOptions = this.options.ValidationToken != null && this.options.ValidationToken != "" ?
|
|
4018
|
-
{
|
|
4019
|
-
headers: new http$1.HttpHeaders({
|
|
4020
|
-
'Content-Type': 'application/json',
|
|
4021
|
-
'Authorization': this.options.ValidationToken
|
|
4022
|
-
})
|
|
4023
|
-
}
|
|
4024
|
-
:
|
|
4025
|
-
{
|
|
4026
|
-
headers: new http$1.HttpHeaders({
|
|
4027
|
-
'Content-Type': 'application/json',
|
|
4028
|
-
})
|
|
4029
|
-
};
|
|
4030
4083
|
var Url = this.options.ActionURL + "?" + this.options.QueryParamName + "=" + Text + "&" + this.options.SelectedItemsParamName + "=" + this.SelectedId;
|
|
4031
|
-
var
|
|
4084
|
+
var requestOptionsModel = new bbsfUtilities.RequestOptionsModel();
|
|
4085
|
+
requestOptionsModel.disableBlockUI = true;
|
|
4086
|
+
requestOptionsModel.disableSuccessNotification = true;
|
|
4087
|
+
var Model = this.requestHandlerService.get(Url, null, requestOptionsModel);
|
|
4032
4088
|
return Model;
|
|
4033
4089
|
};
|
|
4034
4090
|
TagsInputComponent.prototype.AddTag = function (event, key) {
|
|
@@ -4080,12 +4136,13 @@
|
|
|
4080
4136
|
];
|
|
4081
4137
|
TagsInputComponent.ctorParameters = function () { return [
|
|
4082
4138
|
{ type: http$1.HttpClient },
|
|
4083
|
-
{ type: ErrorMassageValidation },
|
|
4084
4139
|
{ type: ControlUtility },
|
|
4140
|
+
{ type: bbsfUtilities.RequestHandlerService },
|
|
4085
4141
|
{ type: forms.ControlContainer, decorators: [{ type: i0.Optional }] },
|
|
4086
4142
|
{ type: forms.FormGroupDirective },
|
|
4087
4143
|
{ type: bbsfUtilities.UtilityService },
|
|
4088
|
-
{ type: bbsfUtilities.ControlValidationService }
|
|
4144
|
+
{ type: bbsfUtilities.ControlValidationService },
|
|
4145
|
+
{ type: GlobalSettings }
|
|
4089
4146
|
]; };
|
|
4090
4147
|
TagsInputComponent.propDecorators = {
|
|
4091
4148
|
group: [{ type: i0.Input }],
|
|
@@ -4120,8 +4177,9 @@
|
|
|
4120
4177
|
|
|
4121
4178
|
// tslint:disable-next-line: no-conflicting-lifecycle
|
|
4122
4179
|
var PagingComponent = /** @class */ (function () {
|
|
4123
|
-
function PagingComponent(http, router, onChangeService, requestHandlerService) {
|
|
4180
|
+
function PagingComponent(utilityService, http, router, onChangeService, requestHandlerService) {
|
|
4124
4181
|
var _this = this;
|
|
4182
|
+
this.utilityService = utilityService;
|
|
4125
4183
|
this.http = http;
|
|
4126
4184
|
this.router = router;
|
|
4127
4185
|
this.onChangeService = onChangeService;
|
|
@@ -4316,11 +4374,12 @@
|
|
|
4316
4374
|
PagingComponent.decorators = [
|
|
4317
4375
|
{ type: i0.Component, args: [{
|
|
4318
4376
|
selector: 'BBSF-Paging',
|
|
4319
|
-
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>
|
|
4377
|
+
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-primary\" (click)=\"onScrollDown()\" *ngIf=\"!(result.length==totalRow)\"> Load More </button>\r\n </div>\r\n</div>\r\n",
|
|
4320
4378
|
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"]
|
|
4321
4379
|
},] }
|
|
4322
4380
|
];
|
|
4323
4381
|
PagingComponent.ctorParameters = function () { return [
|
|
4382
|
+
{ type: bbsfUtilities.UtilityService },
|
|
4324
4383
|
{ type: http$1.HttpClient },
|
|
4325
4384
|
{ type: router.Router },
|
|
4326
4385
|
{ type: OnPagingFiltersChangeService },
|
|
@@ -4443,13 +4502,14 @@
|
|
|
4443
4502
|
|
|
4444
4503
|
var RadioButtonComponent = /** @class */ (function () {
|
|
4445
4504
|
// tslint:disable-next-line: max-line-length
|
|
4446
|
-
function RadioButtonComponent(controlUtility, controlContainer, RadioButtonControlHost, UtilityService, controlValidationService) {
|
|
4505
|
+
function RadioButtonComponent(controlUtility, controlContainer, RadioButtonControlHost, UtilityService, controlValidationService, globalSettings) {
|
|
4447
4506
|
var _this = this;
|
|
4448
4507
|
this.controlUtility = controlUtility;
|
|
4449
4508
|
this.controlContainer = controlContainer;
|
|
4450
4509
|
this.RadioButtonControlHost = RadioButtonControlHost;
|
|
4451
4510
|
this.UtilityService = UtilityService;
|
|
4452
4511
|
this.controlValidationService = controlValidationService;
|
|
4512
|
+
this.globalSettings = globalSettings;
|
|
4453
4513
|
this.OnChange = new i0.EventEmitter();
|
|
4454
4514
|
this.markAllAsTouched = false;
|
|
4455
4515
|
this.validationRules = [];
|
|
@@ -4483,6 +4543,8 @@
|
|
|
4483
4543
|
var _this = this;
|
|
4484
4544
|
this.group.addControl(this.options.Name, new forms.FormControl(''));
|
|
4485
4545
|
this.RadioButtonFormControl = this.group.controls[this.options.Name]; // new FormControl('',validationRules);
|
|
4546
|
+
if (!this.options.ViewType)
|
|
4547
|
+
this.options.ViewType = this.globalSettings.ViewType;
|
|
4486
4548
|
if (this.options.IsRequired) {
|
|
4487
4549
|
this.validationRules.push(forms.Validators.required);
|
|
4488
4550
|
}
|
|
@@ -4530,7 +4592,8 @@
|
|
|
4530
4592
|
{ type: forms.ControlContainer, decorators: [{ type: i0.Optional }] },
|
|
4531
4593
|
{ type: forms.FormGroupDirective },
|
|
4532
4594
|
{ type: bbsfUtilities.UtilityService },
|
|
4533
|
-
{ type: bbsfUtilities.ControlValidationService }
|
|
4595
|
+
{ type: bbsfUtilities.ControlValidationService },
|
|
4596
|
+
{ type: GlobalSettings }
|
|
4534
4597
|
]; };
|
|
4535
4598
|
RadioButtonComponent.propDecorators = {
|
|
4536
4599
|
group: [{ type: i0.Input }],
|
|
@@ -4540,13 +4603,14 @@
|
|
|
4540
4603
|
|
|
4541
4604
|
var TextboxComponent = /** @class */ (function () {
|
|
4542
4605
|
// tslint:disable-next-line: max-line-length
|
|
4543
|
-
function TextboxComponent(controlUtility, controlContainer, TextControlHost, UtilityService, controlValidationService) {
|
|
4606
|
+
function TextboxComponent(controlUtility, controlContainer, TextControlHost, UtilityService, controlValidationService, globalSettings) {
|
|
4544
4607
|
var _this = this;
|
|
4545
4608
|
this.controlUtility = controlUtility;
|
|
4546
4609
|
this.controlContainer = controlContainer;
|
|
4547
4610
|
this.TextControlHost = TextControlHost;
|
|
4548
4611
|
this.UtilityService = UtilityService;
|
|
4549
4612
|
this.controlValidationService = controlValidationService;
|
|
4613
|
+
this.globalSettings = globalSettings;
|
|
4550
4614
|
this.OnChange = new i0.EventEmitter();
|
|
4551
4615
|
this.WordCount = 0;
|
|
4552
4616
|
this.WordCountArray = 0;
|
|
@@ -4596,6 +4660,8 @@
|
|
|
4596
4660
|
TextboxComponent.prototype.ngOnInit = function () {
|
|
4597
4661
|
var _this = this;
|
|
4598
4662
|
this.controlValidationService.isCreatedBefor = false;
|
|
4663
|
+
if (!this.options.ViewType)
|
|
4664
|
+
this.options.ViewType = this.globalSettings.ViewType;
|
|
4599
4665
|
if (this.options.MaskPattern != null && this.options.MaskPattern != "") {
|
|
4600
4666
|
this.MaskPattern = this.options.MaskPattern;
|
|
4601
4667
|
this.options.Placeholder = this.MaskPattern;
|
|
@@ -4745,7 +4811,8 @@
|
|
|
4745
4811
|
{ type: forms.ControlContainer, decorators: [{ type: i0.Optional }] },
|
|
4746
4812
|
{ type: forms.FormGroupDirective },
|
|
4747
4813
|
{ type: bbsfUtilities.UtilityService },
|
|
4748
|
-
{ type: bbsfUtilities.ControlValidationService }
|
|
4814
|
+
{ type: bbsfUtilities.ControlValidationService },
|
|
4815
|
+
{ type: GlobalSettings }
|
|
4749
4816
|
]; };
|
|
4750
4817
|
TextboxComponent.propDecorators = {
|
|
4751
4818
|
group: [{ type: i0.Input }],
|
|
@@ -4760,18 +4827,17 @@
|
|
|
4760
4827
|
}());
|
|
4761
4828
|
|
|
4762
4829
|
var MapAutoCompleteComponent = /** @class */ (function () {
|
|
4763
|
-
function MapAutoCompleteComponent(mapsAPILoader, ngZone,
|
|
4830
|
+
function MapAutoCompleteComponent(mapsAPILoader, ngZone, controlUtility, controlContainer, MapAutoCompleteControlHost, UtilityService, translate, controlValidationService, globalSettings) {
|
|
4764
4831
|
var _this = this;
|
|
4765
4832
|
this.mapsAPILoader = mapsAPILoader;
|
|
4766
4833
|
this.ngZone = ngZone;
|
|
4767
|
-
this.titleService = titleService;
|
|
4768
|
-
this.ErrorHandler = ErrorHandler;
|
|
4769
4834
|
this.controlUtility = controlUtility;
|
|
4770
4835
|
this.controlContainer = controlContainer;
|
|
4771
4836
|
this.MapAutoCompleteControlHost = MapAutoCompleteControlHost;
|
|
4772
4837
|
this.UtilityService = UtilityService;
|
|
4773
4838
|
this.translate = translate;
|
|
4774
4839
|
this.controlValidationService = controlValidationService;
|
|
4840
|
+
this.globalSettings = globalSettings;
|
|
4775
4841
|
this.OnChange = new i0.EventEmitter();
|
|
4776
4842
|
this.MapAutoCompleteModel = new MapAutocompleteDTO();
|
|
4777
4843
|
this.CurrentLanguage = "";
|
|
@@ -4948,6 +5014,8 @@
|
|
|
4948
5014
|
});
|
|
4949
5015
|
this.group.addControl(this.options.Name, new forms.FormControl(''));
|
|
4950
5016
|
this.MapAutoCompleteFormControl = this.group.controls[this.options.Name]; // new FormControl('',validationRules);
|
|
5017
|
+
if (!this.options.ViewType)
|
|
5018
|
+
this.options.ViewType = this.globalSettings.ViewType;
|
|
4951
5019
|
if (this.options.IsRequired) {
|
|
4952
5020
|
this.validationRules.push(forms.Validators.required);
|
|
4953
5021
|
}
|
|
@@ -5027,14 +5095,13 @@
|
|
|
5027
5095
|
MapAutoCompleteComponent.ctorParameters = function () { return [
|
|
5028
5096
|
{ type: core.MapsAPILoader },
|
|
5029
5097
|
{ type: i0.NgZone },
|
|
5030
|
-
{ type: platformBrowser.Title },
|
|
5031
|
-
{ type: ErrorMassageValidation },
|
|
5032
5098
|
{ type: ControlUtility },
|
|
5033
5099
|
{ type: forms.ControlContainer, decorators: [{ type: i0.Optional }] },
|
|
5034
5100
|
{ type: forms.FormGroupDirective },
|
|
5035
5101
|
{ type: bbsfUtilities.UtilityService },
|
|
5036
5102
|
{ type: bbsfUtilities.BBSFTranslateService },
|
|
5037
|
-
{ type: bbsfUtilities.ControlValidationService }
|
|
5103
|
+
{ type: bbsfUtilities.ControlValidationService },
|
|
5104
|
+
{ type: GlobalSettings }
|
|
5038
5105
|
]; };
|
|
5039
5106
|
MapAutoCompleteComponent.propDecorators = {
|
|
5040
5107
|
group: [{ type: i0.Input }],
|
|
@@ -5241,6 +5308,7 @@
|
|
|
5241
5308
|
};
|
|
5242
5309
|
FormComponent.prototype.submit = function () {
|
|
5243
5310
|
var _this = this;
|
|
5311
|
+
this.options.FormGroup.markAllAsTouched();
|
|
5244
5312
|
if (this.options.FormGroup.invalid)
|
|
5245
5313
|
return;
|
|
5246
5314
|
else {
|
|
@@ -5319,27 +5387,17 @@
|
|
|
5319
5387
|
this.styleSuccess = exports.StyleConfirmationMode.Success;
|
|
5320
5388
|
}
|
|
5321
5389
|
ConfirmationModalComponent.prototype.ngOnInit = function () {
|
|
5322
|
-
console.log("options on initialize");
|
|
5323
|
-
console.log(this.options);
|
|
5324
|
-
//check for options text values
|
|
5325
|
-
this.setTextValues();
|
|
5326
|
-
};
|
|
5327
|
-
ConfirmationModalComponent.prototype.ngAfterViewInit = function () {
|
|
5328
|
-
if (this.options.AutoShowModal)
|
|
5329
|
-
this.showModal();
|
|
5330
5390
|
};
|
|
5331
5391
|
//Method used to show confirmation modal
|
|
5332
5392
|
ConfirmationModalComponent.prototype.showModal = function () {
|
|
5333
5393
|
this.utilityService.startBlockUI();
|
|
5394
|
+
//check for options text values
|
|
5395
|
+
this.setTextValues();
|
|
5334
5396
|
//open modal
|
|
5335
5397
|
this.modalService.open(this.confirmationModal);
|
|
5336
5398
|
this.utilityService.stopBlockUI();
|
|
5337
|
-
console.log("options after modal opened");
|
|
5338
|
-
console.log(this.options);
|
|
5339
5399
|
};
|
|
5340
5400
|
ConfirmationModalComponent.prototype.setTextValues = function () {
|
|
5341
|
-
console.log("options in first showmodal");
|
|
5342
|
-
console.log(this.options);
|
|
5343
5401
|
if (!this.options.ConfirmationHeader)
|
|
5344
5402
|
this.options.ConfirmationHeader = this.utilityService.getResourceValue("DeleteConfirmation");
|
|
5345
5403
|
if (!this.options.ConfirmationBody)
|
|
@@ -5506,13 +5564,13 @@
|
|
|
5506
5564
|
ErrorMassageValidation,
|
|
5507
5565
|
ControlUtility,
|
|
5508
5566
|
OnPagingFiltersChangeService,
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
|
|
5512
|
-
|
|
5567
|
+
// EnvironmentService,
|
|
5568
|
+
// AuthService,
|
|
5569
|
+
// RequestHandlerService,
|
|
5570
|
+
// UtilityService,
|
|
5513
5571
|
core$1.TranslateService,
|
|
5514
|
-
|
|
5515
|
-
|
|
5572
|
+
// BBSFTranslateService,
|
|
5573
|
+
// ControlValidationService,
|
|
5516
5574
|
forms.FormGroupDirective,
|
|
5517
5575
|
ngBootstrap.NgbModal,
|
|
5518
5576
|
ngBootstrap.NgbActiveModal
|
|
@@ -5586,12 +5644,6 @@
|
|
|
5586
5644
|
return CustomValidator;
|
|
5587
5645
|
}());
|
|
5588
5646
|
|
|
5589
|
-
exports.ControlLayout = void 0;
|
|
5590
|
-
(function (ControlLayout) {
|
|
5591
|
-
ControlLayout[ControlLayout["Vertical"] = 1] = "Vertical";
|
|
5592
|
-
ControlLayout[ControlLayout["Horizontal"] = 2] = "Horizontal";
|
|
5593
|
-
})(exports.ControlLayout || (exports.ControlLayout = {}));
|
|
5594
|
-
|
|
5595
5647
|
exports.ForceDirection = void 0;
|
|
5596
5648
|
(function (ForceDirection) {
|
|
5597
5649
|
ForceDirection[ForceDirection["English"] = 1] = "English";
|
|
@@ -5637,7 +5689,7 @@
|
|
|
5637
5689
|
/**Prevent AutoComplete of textbox*/
|
|
5638
5690
|
this.AutoComplete = "off";
|
|
5639
5691
|
/** to set type of view if textbox is Vertical or Horizontal */
|
|
5640
|
-
this.ViewType =
|
|
5692
|
+
this.ViewType = null;
|
|
5641
5693
|
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
5642
5694
|
*/
|
|
5643
5695
|
this.CustomValidation = [];
|
|
@@ -5659,7 +5711,7 @@
|
|
|
5659
5711
|
*/
|
|
5660
5712
|
this.CustomValidation = [];
|
|
5661
5713
|
/** to set type of view if textbox is Vertical or Horizontal */
|
|
5662
|
-
this.ViewType =
|
|
5714
|
+
this.ViewType = null;
|
|
5663
5715
|
}
|
|
5664
5716
|
return FileUploadOptions;
|
|
5665
5717
|
}());
|
|
@@ -5672,13 +5724,13 @@
|
|
|
5672
5724
|
/**To Set Value To MultipleLanguageText with Object From Type "EnglishArabicDTO" */
|
|
5673
5725
|
this.Value = new EnglishArabicDTO();
|
|
5674
5726
|
/** to set type of view if textbox is Vertical or Horizontal */
|
|
5675
|
-
this.ViewType =
|
|
5727
|
+
this.ViewType = null;
|
|
5676
5728
|
/**To Set LanguageMode To MultipleLanguageText */
|
|
5677
|
-
this.LanguageMode =
|
|
5729
|
+
this.LanguageMode = null;
|
|
5678
5730
|
this.IconPositionEN = exports.IconPosition.left;
|
|
5679
5731
|
this.IconPositionAR = exports.IconPosition.right;
|
|
5680
5732
|
/*multi control placement type*/
|
|
5681
|
-
this.MultiControlPlacementType =
|
|
5733
|
+
this.MultiControlPlacementType = null;
|
|
5682
5734
|
}
|
|
5683
5735
|
return MultiLingualTextBoxOptions;
|
|
5684
5736
|
}());
|
|
@@ -5692,7 +5744,7 @@
|
|
|
5692
5744
|
var TextAreaOptions = /** @class */ (function () {
|
|
5693
5745
|
function TextAreaOptions() {
|
|
5694
5746
|
/** to set type of view if TextArea is Vertical or Horizontal */
|
|
5695
|
-
this.ViewType =
|
|
5747
|
+
this.ViewType = null;
|
|
5696
5748
|
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
5697
5749
|
*/
|
|
5698
5750
|
this.CustomValidation = [];
|
|
@@ -5710,11 +5762,11 @@
|
|
|
5710
5762
|
/**To Set Value To MultipleLanguageText with Object From Type "EnglishArabicDTO" */
|
|
5711
5763
|
this.Value = new EnglishArabicDTO();
|
|
5712
5764
|
/** to set type of view if MultilingualTextArea is Vertical or Horizontal */
|
|
5713
|
-
this.ViewType =
|
|
5765
|
+
this.ViewType = null;
|
|
5714
5766
|
/**To Set LanguageMode To MultipleLanguageText */
|
|
5715
|
-
this.LanguageMode =
|
|
5767
|
+
this.LanguageMode = null;
|
|
5716
5768
|
/*multi control placement type*/
|
|
5717
|
-
this.MultiControlPlacementType =
|
|
5769
|
+
this.MultiControlPlacementType = null;
|
|
5718
5770
|
}
|
|
5719
5771
|
return MultiLingualTextAreaOptions;
|
|
5720
5772
|
}());
|
|
@@ -5742,7 +5794,7 @@
|
|
|
5742
5794
|
/** Disable Bootstrap DropdownList */
|
|
5743
5795
|
this.DisableBootstrapSelect = false;
|
|
5744
5796
|
/** to set type of view if DropdownList is Vertical or Horizontal */
|
|
5745
|
-
this.ViewType =
|
|
5797
|
+
this.ViewType = null;
|
|
5746
5798
|
/** To Set Custom Validation*/
|
|
5747
5799
|
this.CustomValidation = [];
|
|
5748
5800
|
/** Set key for item in DropdownList */
|
|
@@ -5762,7 +5814,7 @@
|
|
|
5762
5814
|
/**Set List Of Countries As Preferred Countries*/
|
|
5763
5815
|
this.PreferredCountries = [];
|
|
5764
5816
|
/** to set type of view if Phonebox is Vertical or Horizontal */
|
|
5765
|
-
this.ViewType =
|
|
5817
|
+
this.ViewType = null;
|
|
5766
5818
|
this.ForceDirection = exports.ForceDirection.English;
|
|
5767
5819
|
}
|
|
5768
5820
|
return PhoneOptions;
|
|
@@ -5770,7 +5822,7 @@
|
|
|
5770
5822
|
|
|
5771
5823
|
var ToggleSlideOptions = /** @class */ (function () {
|
|
5772
5824
|
function ToggleSlideOptions() {
|
|
5773
|
-
this.ViewType =
|
|
5825
|
+
this.ViewType = null;
|
|
5774
5826
|
this.ForceDirection = exports.ForceDirection.English;
|
|
5775
5827
|
}
|
|
5776
5828
|
return ToggleSlideOptions;
|
|
@@ -5779,7 +5831,7 @@
|
|
|
5779
5831
|
var HtmlEditorOptions = /** @class */ (function () {
|
|
5780
5832
|
function HtmlEditorOptions() {
|
|
5781
5833
|
/** to set type of view if textbox is Vertical or Horizontal */
|
|
5782
|
-
this.ViewType =
|
|
5834
|
+
this.ViewType = null;
|
|
5783
5835
|
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
5784
5836
|
*/
|
|
5785
5837
|
this.CustomValidation = [];
|
|
@@ -5799,11 +5851,11 @@
|
|
|
5799
5851
|
/**To Set Value To MultipleLanguageText with Object From Type "EnglishArabicDTO" */
|
|
5800
5852
|
this.Value = new EnglishArabicDTO();
|
|
5801
5853
|
/** to set type of view if MultipleLanguageText is Vertical or Horizontal */
|
|
5802
|
-
this.ViewType =
|
|
5854
|
+
this.ViewType = null;
|
|
5803
5855
|
/** Set Height For */
|
|
5804
5856
|
this.Height = 150;
|
|
5805
5857
|
/**To Set LanguageMode To MultipleLanguageText */
|
|
5806
|
-
this.LanguageMode =
|
|
5858
|
+
this.LanguageMode = null;
|
|
5807
5859
|
}
|
|
5808
5860
|
return MultiLingualHtmlEditorOptions;
|
|
5809
5861
|
}());
|
|
@@ -5828,7 +5880,7 @@
|
|
|
5828
5880
|
*/
|
|
5829
5881
|
this.CustomValidation = [];
|
|
5830
5882
|
/** to set type of view if FileInput is Vertical or Horizontal */
|
|
5831
|
-
this.ViewType =
|
|
5883
|
+
this.ViewType = null;
|
|
5832
5884
|
/** Set List of Custom Attribute to FileInput */
|
|
5833
5885
|
this.FileUploadAcceptsTypes = [exports.ImageType.ImageTypes];
|
|
5834
5886
|
}
|
|
@@ -5842,7 +5894,7 @@
|
|
|
5842
5894
|
this.AllowDropZone = false;
|
|
5843
5895
|
this.CustomValidation = [];
|
|
5844
5896
|
/** to set type of view if FileInput is Vertical or Horizontal */
|
|
5845
|
-
this.ViewType =
|
|
5897
|
+
this.ViewType = null;
|
|
5846
5898
|
/** Set List of Custom Attribute to FileInput */
|
|
5847
5899
|
this.ImageUploadAcceptsTypes = [exports.ImageType.ImageTypes];
|
|
5848
5900
|
}
|
|
@@ -5910,7 +5962,7 @@
|
|
|
5910
5962
|
*/
|
|
5911
5963
|
this.CustomValidation = [];
|
|
5912
5964
|
/** to set type of view if MapAutoComplete is Vertical or Horizontal */
|
|
5913
|
-
this.ViewType =
|
|
5965
|
+
this.ViewType = null;
|
|
5914
5966
|
}
|
|
5915
5967
|
return MapAutoCompleteOptions;
|
|
5916
5968
|
}());
|
|
@@ -5926,7 +5978,7 @@
|
|
|
5926
5978
|
/** set Range Number to Textbox with type number with From-Value and To-value*/
|
|
5927
5979
|
this.NumberRange = new RangeNumber();
|
|
5928
5980
|
/** to set type of view if textbox is Vertical or Horizontal */
|
|
5929
|
-
this.ViewType =
|
|
5981
|
+
this.ViewType = null;
|
|
5930
5982
|
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
5931
5983
|
*/
|
|
5932
5984
|
this.CustomValidation = [];
|
|
@@ -5953,7 +6005,7 @@
|
|
|
5953
6005
|
/**To set value to tagsinput */
|
|
5954
6006
|
this.Value = null;
|
|
5955
6007
|
/** to set type of view if tagsinput is Vertical or Horizontal */
|
|
5956
|
-
this.ViewType =
|
|
6008
|
+
this.ViewType = null;
|
|
5957
6009
|
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
5958
6010
|
*/
|
|
5959
6011
|
this.CustomValidation = [];
|
|
@@ -6046,7 +6098,7 @@
|
|
|
6046
6098
|
|
|
6047
6099
|
var RadioButtonOptions = /** @class */ (function () {
|
|
6048
6100
|
function RadioButtonOptions() {
|
|
6049
|
-
this.ViewType =
|
|
6101
|
+
this.ViewType = null;
|
|
6050
6102
|
/** Allow to Pass Object With Body of Function which represent CustomValidation and massage for error massage
|
|
6051
6103
|
*/
|
|
6052
6104
|
this.CustomValidation = [];
|
|
@@ -6110,7 +6162,7 @@
|
|
|
6110
6162
|
//Represents refrence to paging control that needs to be updated after success
|
|
6111
6163
|
this.PagingReference = null;
|
|
6112
6164
|
//Represents paging action excutes after submission (Reinitialize/Update)
|
|
6113
|
-
this.PagingActionMode = exports.PagingActionMode.
|
|
6165
|
+
this.PagingActionMode = exports.PagingActionMode.Reinitialize;
|
|
6114
6166
|
//Represents function that excutes after submission error
|
|
6115
6167
|
this.OnErrorHandler = null;
|
|
6116
6168
|
//Represents function that excutes after submission success
|
|
@@ -6121,9 +6173,6 @@
|
|
|
6121
6173
|
this.DisableSuccessNotification = false;
|
|
6122
6174
|
//If ="true" disable notification after submission error
|
|
6123
6175
|
this.DisableErrorNotification = false;
|
|
6124
|
-
//If ="true" modal open automatically after options initialization
|
|
6125
|
-
//If="false" should call function showModal()
|
|
6126
|
-
this.AutoShowModal = true;
|
|
6127
6176
|
}
|
|
6128
6177
|
return ConfirmationModalOptions;
|
|
6129
6178
|
}());
|
|
@@ -6473,6 +6522,7 @@
|
|
|
6473
6522
|
exports.FileUploadOptions = FileUploadOptions;
|
|
6474
6523
|
exports.FilterItem = FilterItem;
|
|
6475
6524
|
exports.FormOptions = FormOptions;
|
|
6525
|
+
exports.GlobalSettings = GlobalSettings;
|
|
6476
6526
|
exports.HtmlEditorOptions = HtmlEditorOptions;
|
|
6477
6527
|
exports.ImageUploadOptions = ImageUploadOptions;
|
|
6478
6528
|
exports.MapAutoCompleteOptions = MapAutoCompleteOptions;
|