@bnsights/bbsf-controls 1.0.59 → 1.0.60
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 +4 -0
- package/bnsights-bbsf-controls-1.0.60.tgz +0 -0
- package/bnsights-bbsf-controls.metadata.json +1 -1
- package/bundles/bnsights-bbsf-controls.umd.js +12 -0
- package/bundles/bnsights-bbsf-controls.umd.js.map +1 -1
- package/esm2015/lib/controls/MultiLingualTextArea/MultiLingualTextArea.component.js +8 -1
- package/esm2015/lib/controls/MultiLingualTextBox/MultiLingualTextBox.component.js +8 -1
- package/fesm2015/bnsights-bbsf-controls.js +12 -0
- package/fesm2015/bnsights-bbsf-controls.js.map +1 -1
- package/package.json +1 -1
- package/bnsights-bbsf-controls-1.0.58.tgz +0 -0
- package/bnsights-bbsf-controls-1.0.59.tgz +0 -0
|
@@ -1313,13 +1313,16 @@ class MultiLingualTextBoxComponent {
|
|
|
1313
1313
|
break;
|
|
1314
1314
|
case LanguageMode.Arabic_Language_only_is_visible:
|
|
1315
1315
|
this.ShowArabicTextBox = true;
|
|
1316
|
+
this.options.MultiControlPlacementType = ControlLayout.Vertical;
|
|
1316
1317
|
break;
|
|
1317
1318
|
case LanguageMode.English_Language_only_is_visible:
|
|
1318
1319
|
this.ShowEnglishTextBox = true;
|
|
1320
|
+
this.options.MultiControlPlacementType = ControlLayout.Vertical;
|
|
1319
1321
|
break;
|
|
1320
1322
|
case LanguageMode.Both_Languages_are_visible_but_only_current_language_is_required:
|
|
1321
1323
|
this.ShowArabicTextBox = true;
|
|
1322
1324
|
this.ShowEnglishTextBox = true;
|
|
1325
|
+
this.options.MultiControlPlacementType = this.globalSettings.MultiControlPlacementType;
|
|
1323
1326
|
if (this.CurrentLanguage == 'ar') {
|
|
1324
1327
|
if (this.options.IsRequired == true) {
|
|
1325
1328
|
this.ArabicValidationRules.push(Validators.required);
|
|
@@ -1336,6 +1339,7 @@ class MultiLingualTextBoxComponent {
|
|
|
1336
1339
|
case LanguageMode.Both_Languages_but_only_Arabic_is_required:
|
|
1337
1340
|
this.ShowArabicTextBox = true;
|
|
1338
1341
|
this.ShowEnglishTextBox = true;
|
|
1342
|
+
this.options.MultiControlPlacementType = this.globalSettings.MultiControlPlacementType;
|
|
1339
1343
|
if (this.options.IsRequired == true) {
|
|
1340
1344
|
this.ArabicValidationRules.push(Validators.required);
|
|
1341
1345
|
this.IsShowAsteriskInArabic = true;
|
|
@@ -1344,12 +1348,14 @@ class MultiLingualTextBoxComponent {
|
|
|
1344
1348
|
case LanguageMode.Both_Languages_but_only_English_is_required:
|
|
1345
1349
|
this.ShowArabicTextBox = true;
|
|
1346
1350
|
this.ShowEnglishTextBox = true;
|
|
1351
|
+
this.options.MultiControlPlacementType = this.globalSettings.MultiControlPlacementType;
|
|
1347
1352
|
if (this.options.IsRequired == true) {
|
|
1348
1353
|
this.EnglishValidationRules.push(Validators.required);
|
|
1349
1354
|
this.IsShowAsteriskInEnglish = true;
|
|
1350
1355
|
}
|
|
1351
1356
|
break;
|
|
1352
1357
|
case LanguageMode.Current_Language_only_is_visible_and_required:
|
|
1358
|
+
this.options.MultiControlPlacementType = ControlLayout.Vertical;
|
|
1353
1359
|
if (this.CurrentLanguage == 'ar') {
|
|
1354
1360
|
this.ShowArabicTextBox = true;
|
|
1355
1361
|
this.ShowEnglishTextBox = false;
|
|
@@ -1914,13 +1920,16 @@ class MultiLingualTextAreaComponent {
|
|
|
1914
1920
|
break;
|
|
1915
1921
|
case LanguageMode.Arabic_Language_only_is_visible:
|
|
1916
1922
|
this.ShowArabicTextArea = true;
|
|
1923
|
+
this.options.MultiControlPlacementType = ControlLayout.Vertical;
|
|
1917
1924
|
break;
|
|
1918
1925
|
case LanguageMode.English_Language_only_is_visible:
|
|
1919
1926
|
this.ShowEngishTextArea = true;
|
|
1927
|
+
this.options.MultiControlPlacementType = ControlLayout.Vertical;
|
|
1920
1928
|
break;
|
|
1921
1929
|
case LanguageMode.Both_Languages_are_visible_but_only_current_language_is_required:
|
|
1922
1930
|
this.ShowArabicTextArea = true;
|
|
1923
1931
|
this.ShowEngishTextArea = true;
|
|
1932
|
+
this.options.MultiControlPlacementType = this.globalSettings.MultiControlPlacementType;
|
|
1924
1933
|
if (this.CurrentLanguage == 'ar') {
|
|
1925
1934
|
if (this.options.IsRequired == true) {
|
|
1926
1935
|
this.ArabicValidationRules.push(Validators.required);
|
|
@@ -1937,6 +1946,7 @@ class MultiLingualTextAreaComponent {
|
|
|
1937
1946
|
case LanguageMode.Both_Languages_but_only_Arabic_is_required:
|
|
1938
1947
|
this.ShowArabicTextArea = true;
|
|
1939
1948
|
this.ShowEngishTextArea = true;
|
|
1949
|
+
this.options.MultiControlPlacementType = this.globalSettings.MultiControlPlacementType;
|
|
1940
1950
|
if (this.options.IsRequired == true) {
|
|
1941
1951
|
this.ArabicValidationRules.push(Validators.required);
|
|
1942
1952
|
this.IsShowAsteriskInArabic = true;
|
|
@@ -1945,12 +1955,14 @@ class MultiLingualTextAreaComponent {
|
|
|
1945
1955
|
case LanguageMode.Both_Languages_but_only_English_is_required:
|
|
1946
1956
|
this.ShowArabicTextArea = true;
|
|
1947
1957
|
this.ShowEngishTextArea = true;
|
|
1958
|
+
this.options.MultiControlPlacementType = this.globalSettings.MultiControlPlacementType;
|
|
1948
1959
|
if (this.options.IsRequired == true) {
|
|
1949
1960
|
this.EnglishValidationRules.push(Validators.required);
|
|
1950
1961
|
this.IsShowAsteriskInEnglish = true;
|
|
1951
1962
|
}
|
|
1952
1963
|
break;
|
|
1953
1964
|
case LanguageMode.Current_Language_only_is_visible_and_required:
|
|
1965
|
+
this.options.MultiControlPlacementType = ControlLayout.Vertical;
|
|
1954
1966
|
if (this.CurrentLanguage == 'ar') {
|
|
1955
1967
|
this.ShowArabicTextArea = true;
|
|
1956
1968
|
this.ShowEngishTextArea = false;
|