@bnsights/bbsf-controls 1.0.92 → 1.0.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/bnsights-bbsf-controls-1.0.94.tgz +0 -0
- package/bnsights-bbsf-controls.metadata.json +1 -1
- package/bundles/bnsights-bbsf-controls.umd.js +6 -5
- package/bundles/bnsights-bbsf-controls.umd.js.map +1 -1
- package/esm2015/lib/Shared/Models/PhoneOptions.js +3 -1
- package/esm2015/lib/Shared/Models/TextAreaOptions.js +1 -7
- package/esm2015/lib/controls/FileUplaod/FileUplaod.component.js +3 -1
- package/esm2015/lib/controls/Phone/Phone.component.js +2 -2
- package/fesm2015/bnsights-bbsf-controls.js +5 -6
- package/fesm2015/bnsights-bbsf-controls.js.map +1 -1
- package/lib/Shared/Models/PhoneOptions.d.ts +1 -0
- package/package.json +1 -1
- package/bnsights-bbsf-controls-1.0.92.tgz +0 -0
|
@@ -1348,6 +1348,7 @@
|
|
|
1348
1348
|
_this.multipleFileUploadModel.RemovedFiles = [];
|
|
1349
1349
|
}
|
|
1350
1350
|
}
|
|
1351
|
+
_this.multipleFileUploadModel.CorrelationID_GUID = _this.options.Value.CorrelationID_GUID;
|
|
1351
1352
|
_this.fileUploadFormControl.setValue(_this.multipleFileUploadModel);
|
|
1352
1353
|
_this.group
|
|
1353
1354
|
.get(_this.options.Name)
|
|
@@ -1422,6 +1423,7 @@
|
|
|
1422
1423
|
this.fileUploadFormControl.markAsTouched();
|
|
1423
1424
|
this.fileUploadFormControl.invalid;
|
|
1424
1425
|
}
|
|
1426
|
+
this.multipleFileUploadModel.CorrelationID_GUID = this.options.Value.CorrelationID_GUID;
|
|
1425
1427
|
this.fileUploadFormControl.setValue(this.multipleFileUploadModel);
|
|
1426
1428
|
this.group.get(this.options.Name).setValue(this.multipleFileUploadModel);
|
|
1427
1429
|
//Use this line to enable two way binding.
|
|
@@ -2926,7 +2928,7 @@
|
|
|
2926
2928
|
PhoneComponent.decorators = [
|
|
2927
2929
|
{ type: i0.Component, args: [{
|
|
2928
2930
|
selector: 'BBSF-Phone',
|
|
2929
|
-
template: "\r\n<div class=\"form-group bbsf-control bbsf-phone\" [formGroup]=\"group\">\r\n <div [ngClass]=\"(options.ViewType==1)?'bbsf-vertical':'bbsf-horizontal'\">\r\n <!--label-->\r\n <label *ngIf=\"!options.HideLabel\" class=\"bbsf-label
|
|
2931
|
+
template: "\r\n<div class=\"form-group bbsf-control bbsf-phone\" [formGroup]=\"group\">\r\n <div [ngClass]=\"(options.ViewType==1)?'bbsf-vertical':'bbsf-horizontal'\">\r\n <!--label-->\r\n <label *ngIf=\"!options.HideLabel\" class=\"bbsf-label\r\n {{options.LabelExtraClasses}}\">\r\n {{options.LabelValue}}\r\n <!--Asterisk-->\r\n <span\r\n *ngIf=\"(options.ShowAsterisk&&options.IsRequired)||(options.IsRequired)\"\r\n class=\"text-danger\">*</span>\r\n </label>\r\n <!--input-->\r\n <div class=\"bbsf-input-container\">\r\n <!--input-->\r\n <ngx-intl-tel-input dir=\"{{options.ForceDirection==2?'rtl':'ltr'}}\"\r\n [cssClass]=\"options.ExtraClasses\"\r\n [preferredCountries]=\"options.PreferredCountries\"\r\n [onlyCountries]=\"options.OnlyCountries\"\r\n [enableAutoCountrySelect]=\"true\"\r\n [enablePlaceholder]=\"options.EnablePlaceholder\"\r\n [searchCountryFlag]=\"options.AllowSearch\"\r\n [searchCountryField]=\"[SearchCountryField.Iso2,\r\n SearchCountryField.Name]\"\r\n [selectFirstCountry]=\"options.SelectFirstCountry\"\r\n [selectedCountryISO]=\"getSelectedCountry(options.SelectedCountryISO)\"\r\n [separateDialCode]=\"separateDialCode\"\r\n maxlength=\"15\" [(ngModel)]=\"options.Value\"\r\n [phoneValidation]=\"options.PhoneValidation\" [id]=\"options.Name\"\r\n name=\"{{options.Name}}\" formControlName=\"{{options.Name}}\"\r\n (change)=\"onValueChanged()\"\r\n [class.is-invalid]=\"PhoneFormControl.invalid &&\r\n PhoneFormControl.touched\" aria-invalid=\"true\"\r\n class=\"form-control\">\r\n </ngx-intl-tel-input>\r\n </div>\r\n </div>\r\n <div class=\"subtext-container\">\r\n <!-- LabelDescription-->\r\n <div class=\"bbsf-control-desc\" *ngIf=\"options.LabelDescription!=null\">{{options.LabelDescription}}</div>\r\n <!-- requiredText-->\r\n <div class=\"bbsf-validation\" *ngIf=\"(PhoneFormControl.invalid &&\r\n PhoneFormControl.touched)\">\r\n {{getErrorValidation(PhoneFormControl.errors|keyvalue)}}\r\n </div>\r\n </div>\r\n <div *ngIf=\"(group.valid&&group.dirty&&group.touched\r\n )||(group.untouched&&group.invalid&&group.dirty) \">{{resetError()}}</div>\r\n</div>\r\n"
|
|
2930
2932
|
},] }
|
|
2931
2933
|
];
|
|
2932
2934
|
PhoneComponent.ctorParameters = function () { return [
|
|
@@ -6834,6 +6836,8 @@
|
|
|
6834
6836
|
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
6835
6837
|
/**Set List Of Countries As Preferred Countries*/
|
|
6836
6838
|
_this.PreferredCountries = [];
|
|
6839
|
+
// **Set List Of Countries to show it in dropdown list and ignore another countries */
|
|
6840
|
+
_this.OnlyCountries = [];
|
|
6837
6841
|
_this.ForceDirection = exports.ForceDirection.English;
|
|
6838
6842
|
return _this;
|
|
6839
6843
|
}
|
|
@@ -6849,10 +6853,7 @@
|
|
|
6849
6853
|
var TextAreaOptions = /** @class */ (function (_super) {
|
|
6850
6854
|
__extends(TextAreaOptions, _super);
|
|
6851
6855
|
function TextAreaOptions() {
|
|
6852
|
-
|
|
6853
|
-
/** to set Direction of TextArea if TextArea is Arabic or English */
|
|
6854
|
-
_this.ForceDirection = exports.ForceDirection.English;
|
|
6855
|
-
return _this;
|
|
6856
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
6856
6857
|
}
|
|
6857
6858
|
return TextAreaOptions;
|
|
6858
6859
|
}(ControlOptionsBase));
|