@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.
@@ -1657,13 +1657,16 @@
1657
1657
  break;
1658
1658
  case exports.LanguageMode.Arabic_Language_only_is_visible:
1659
1659
  this.ShowArabicTextBox = true;
1660
+ this.options.MultiControlPlacementType = exports.ControlLayout.Vertical;
1660
1661
  break;
1661
1662
  case exports.LanguageMode.English_Language_only_is_visible:
1662
1663
  this.ShowEnglishTextBox = true;
1664
+ this.options.MultiControlPlacementType = exports.ControlLayout.Vertical;
1663
1665
  break;
1664
1666
  case exports.LanguageMode.Both_Languages_are_visible_but_only_current_language_is_required:
1665
1667
  this.ShowArabicTextBox = true;
1666
1668
  this.ShowEnglishTextBox = true;
1669
+ this.options.MultiControlPlacementType = this.globalSettings.MultiControlPlacementType;
1667
1670
  if (this.CurrentLanguage == 'ar') {
1668
1671
  if (this.options.IsRequired == true) {
1669
1672
  this.ArabicValidationRules.push(forms.Validators.required);
@@ -1680,6 +1683,7 @@
1680
1683
  case exports.LanguageMode.Both_Languages_but_only_Arabic_is_required:
1681
1684
  this.ShowArabicTextBox = true;
1682
1685
  this.ShowEnglishTextBox = true;
1686
+ this.options.MultiControlPlacementType = this.globalSettings.MultiControlPlacementType;
1683
1687
  if (this.options.IsRequired == true) {
1684
1688
  this.ArabicValidationRules.push(forms.Validators.required);
1685
1689
  this.IsShowAsteriskInArabic = true;
@@ -1688,12 +1692,14 @@
1688
1692
  case exports.LanguageMode.Both_Languages_but_only_English_is_required:
1689
1693
  this.ShowArabicTextBox = true;
1690
1694
  this.ShowEnglishTextBox = true;
1695
+ this.options.MultiControlPlacementType = this.globalSettings.MultiControlPlacementType;
1691
1696
  if (this.options.IsRequired == true) {
1692
1697
  this.EnglishValidationRules.push(forms.Validators.required);
1693
1698
  this.IsShowAsteriskInEnglish = true;
1694
1699
  }
1695
1700
  break;
1696
1701
  case exports.LanguageMode.Current_Language_only_is_visible_and_required:
1702
+ this.options.MultiControlPlacementType = exports.ControlLayout.Vertical;
1697
1703
  if (this.CurrentLanguage == 'ar') {
1698
1704
  this.ShowArabicTextBox = true;
1699
1705
  this.ShowEnglishTextBox = false;
@@ -2274,13 +2280,16 @@
2274
2280
  break;
2275
2281
  case exports.LanguageMode.Arabic_Language_only_is_visible:
2276
2282
  this.ShowArabicTextArea = true;
2283
+ this.options.MultiControlPlacementType = exports.ControlLayout.Vertical;
2277
2284
  break;
2278
2285
  case exports.LanguageMode.English_Language_only_is_visible:
2279
2286
  this.ShowEngishTextArea = true;
2287
+ this.options.MultiControlPlacementType = exports.ControlLayout.Vertical;
2280
2288
  break;
2281
2289
  case exports.LanguageMode.Both_Languages_are_visible_but_only_current_language_is_required:
2282
2290
  this.ShowArabicTextArea = true;
2283
2291
  this.ShowEngishTextArea = true;
2292
+ this.options.MultiControlPlacementType = this.globalSettings.MultiControlPlacementType;
2284
2293
  if (this.CurrentLanguage == 'ar') {
2285
2294
  if (this.options.IsRequired == true) {
2286
2295
  this.ArabicValidationRules.push(forms.Validators.required);
@@ -2297,6 +2306,7 @@
2297
2306
  case exports.LanguageMode.Both_Languages_but_only_Arabic_is_required:
2298
2307
  this.ShowArabicTextArea = true;
2299
2308
  this.ShowEngishTextArea = true;
2309
+ this.options.MultiControlPlacementType = this.globalSettings.MultiControlPlacementType;
2300
2310
  if (this.options.IsRequired == true) {
2301
2311
  this.ArabicValidationRules.push(forms.Validators.required);
2302
2312
  this.IsShowAsteriskInArabic = true;
@@ -2305,12 +2315,14 @@
2305
2315
  case exports.LanguageMode.Both_Languages_but_only_English_is_required:
2306
2316
  this.ShowArabicTextArea = true;
2307
2317
  this.ShowEngishTextArea = true;
2318
+ this.options.MultiControlPlacementType = this.globalSettings.MultiControlPlacementType;
2308
2319
  if (this.options.IsRequired == true) {
2309
2320
  this.EnglishValidationRules.push(forms.Validators.required);
2310
2321
  this.IsShowAsteriskInEnglish = true;
2311
2322
  }
2312
2323
  break;
2313
2324
  case exports.LanguageMode.Current_Language_only_is_visible_and_required:
2325
+ this.options.MultiControlPlacementType = exports.ControlLayout.Vertical;
2314
2326
  if (this.CurrentLanguage == 'ar') {
2315
2327
  this.ShowArabicTextArea = true;
2316
2328
  this.ShowEngishTextArea = false;