@bnsights/bbsf-controls 1.0.94 → 1.0.96
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 +10 -1
- package/bnsights-bbsf-controls-1.0.96.tgz +0 -0
- package/bnsights-bbsf-controls.d.ts +1 -1
- package/bnsights-bbsf-controls.metadata.json +1 -1
- package/bundles/bnsights-bbsf-controls.umd.js +531 -417
- package/bundles/bnsights-bbsf-controls.umd.js.map +1 -1
- package/esm2015/bnsights-bbsf-controls.js +2 -2
- package/esm2015/lib/Shared/{components → Components}/ng-tag-input.js +1 -1
- package/esm2015/lib/Shared/Enums/InputType.js +2 -1
- package/esm2015/lib/Shared/Models/MultilingualControlOptionsBase.js +4 -2
- package/esm2015/lib/Shared/Models/RepeaterOptions.js +2 -1
- package/esm2015/lib/Shared/services/validationErrorMassage.service.js +123 -88
- package/esm2015/lib/controls/AutocompleteTextBox/AutocompleteTextBox.component.js +4 -2
- package/esm2015/lib/controls/CheckBox/CheckBox.component.js +2 -2
- package/esm2015/lib/controls/ConfirmationModal/ConfirmationModal.component.js +3 -3
- package/esm2015/lib/controls/DateTimePicker/DateTimePicker.component.js +5 -2
- package/esm2015/lib/controls/DropdownList/DropdownList.component.js +12 -2
- package/esm2015/lib/controls/FileUplaod/FileUplaod.component.js +2 -2
- package/esm2015/lib/controls/HtmlEditor/HtmlEditor.component.js +2 -2
- package/esm2015/lib/controls/ImageUpload/ImageUpload.component.js +2 -2
- package/esm2015/lib/controls/MapAutoComplete/MapAutoComplete.component.js +2 -2
- package/esm2015/lib/controls/MultiLingualHtmlEditor/MultiLingualHtmlEditor.component.js +2 -2
- package/esm2015/lib/controls/MultiLingualTextArea/MultiLingualTextArea.component.js +6 -2
- package/esm2015/lib/controls/MultiLingualTextBox/MultiLingualTextBox.component.js +6 -2
- package/esm2015/lib/controls/Phone/Phone.component.js +9 -7
- package/esm2015/lib/controls/ProfileImageUploader/ProfileImageUploader.component.js +2 -2
- package/esm2015/lib/controls/RadioButton/RadioButton.component.js +5 -2
- package/esm2015/lib/controls/Repeater/repeater/repeater.component.js +2 -2
- package/esm2015/lib/controls/TagsInput/TagsInput.component.js +8 -2
- package/esm2015/lib/controls/TextArea/TextArea.component.js +4 -2
- package/esm2015/lib/controls/TextBox/TextBox.component.js +78 -40
- package/esm2015/lib/controls/Toggleslide/toggleslide.component.js +5 -2
- package/esm2015/lib/controls/bbsf-controls.module.js +9 -8
- package/fesm2015/bnsights-bbsf-controls.js +527 -414
- package/fesm2015/bnsights-bbsf-controls.js.map +1 -1
- package/lib/Shared/Enums/InputType.d.ts +2 -1
- package/lib/Shared/Models/MultilingualControlOptionsBase.d.ts +11 -9
- package/lib/Shared/Models/RepeaterOptions.d.ts +1 -0
- package/lib/controls/ConfirmationModal/ConfirmationModal.component.d.ts +2 -2
- package/lib/controls/DateTimePicker/DateTimePicker.component.d.ts +1 -0
- package/lib/controls/DropdownList/DropdownList.component.d.ts +1 -0
- package/lib/controls/MultiLingualTextBox/MultiLingualTextBox.component.d.ts +1 -1
- package/lib/controls/Phone/Phone.component.d.ts +6 -6
- package/lib/controls/RadioButton/RadioButton.component.d.ts +1 -0
- package/lib/controls/TagsInput/TagsInput.component.d.ts +1 -0
- package/lib/controls/TextBox/TextBox.component.d.ts +3 -0
- package/lib/controls/Toggleslide/toggleslide.component.d.ts +1 -1
- package/package.json +1 -1
- package/src/lib/assets/sass/base.scss +7 -0
- package/bnsights-bbsf-controls-1.0.94.tgz +0 -0
- /package/esm2015/lib/Shared/{components → Components}/app-base-component.js +0 -0
- /package/lib/Shared/{components → Components}/app-base-component.d.ts +0 -0
- /package/lib/Shared/{components → Components}/ng-tag-input.d.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ControlLayout } from
|
|
2
|
-
import { LanguageMode } from
|
|
3
|
-
import { CustomValidation } from
|
|
4
|
-
import { EnglishArabicDTO } from
|
|
1
|
+
import { ControlLayout } from '../Enums/ControlLayout';
|
|
2
|
+
import { LanguageMode } from '../Enums/LanguageMode';
|
|
3
|
+
import { CustomValidation } from './CustomValidation';
|
|
4
|
+
import { EnglishArabicDTO } from './EnglishArabicDTO';
|
|
5
5
|
export declare class MultilingualControlOptionsBase {
|
|
6
6
|
/** Represent Name Of Form Control*/
|
|
7
7
|
Name: string;
|
|
@@ -44,11 +44,11 @@ export declare class MultilingualControlOptionsBase {
|
|
|
44
44
|
MaxLength: number;
|
|
45
45
|
MaxWordCount: number;
|
|
46
46
|
/**
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
47
|
+
* Display "*" beside the label
|
|
48
|
+
* if ForceAsterisk=true and IsRequired=True his display "*" ,
|
|
49
|
+
* if if ForceAsterisk=false and IsRequired=false this remove "*",
|
|
50
|
+
*if ForceAsterisk=false and IsRequired=True this display "*" ,
|
|
51
|
+
*/
|
|
52
52
|
ShowAsterisk: boolean;
|
|
53
53
|
/** Ability to set MultipleLanguageText required */
|
|
54
54
|
IsRequired: boolean;
|
|
@@ -72,4 +72,6 @@ export declare class MultilingualControlOptionsBase {
|
|
|
72
72
|
PatchPath: string;
|
|
73
73
|
/** Function which call to patch value */
|
|
74
74
|
PatchFunction: Function;
|
|
75
|
+
/** Sets an attribute readonly */
|
|
76
|
+
IsReadonly: boolean;
|
|
75
77
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { Router } from '@angular/router';
|
|
1
2
|
import { ElementRef, OnInit } from '@angular/core';
|
|
2
3
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
4
|
import { UtilityService } from '@bnsights/bbsf-utilities';
|
|
4
|
-
import { StyleConfirmationMode } from '../../../public-api';
|
|
5
5
|
import { ConfirmationModalOptions } from '../../Shared/Models/ConfirmationModalOptions';
|
|
6
6
|
import { SweetAlertIcon } from 'sweetalert2';
|
|
7
|
-
import {
|
|
7
|
+
import { StyleConfirmationMode } from '../../Shared/Enums/StyleConfirmationMode';
|
|
8
8
|
export declare class ConfirmationModalComponent implements OnInit {
|
|
9
9
|
utilityService: UtilityService;
|
|
10
10
|
private modalService;
|
|
@@ -34,6 +34,7 @@ export declare class DropdownListComponent implements OnInit {
|
|
|
34
34
|
resetError: () => void;
|
|
35
35
|
showGlobalError(): void;
|
|
36
36
|
getErrorValidation(ErrorList: any): string;
|
|
37
|
+
getSelectedItemValue(): any;
|
|
37
38
|
onItemSelect(): void;
|
|
38
39
|
Clear(): void;
|
|
39
40
|
onSelectAll(items: any): void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
2
|
import { FormGroup, AbstractControl, ControlContainer, FormGroupDirective } from '@angular/forms';
|
|
3
|
-
import { MultiLingualTextBoxOptions } from '../../Shared/Models/MultilingualTextBoxOptions';
|
|
4
3
|
import { ControlUtility } from '../../Shared/services/ControlUtility';
|
|
5
4
|
import { BBSFTranslateService, ControlValidationService, UtilityService } from '@bnsights/bbsf-utilities';
|
|
6
5
|
import { GlobalSettings } from '../../Shared/services/GlobalSettings.service';
|
|
6
|
+
import { MultiLingualTextBoxOptions } from '../../Shared/Models/MultilingualTextBoxOptions';
|
|
7
7
|
export declare class MultiLingualTextBoxComponent implements OnInit {
|
|
8
8
|
MultiLingualTextBoxFormControlHost: FormGroupDirective;
|
|
9
9
|
private controlContainer;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { ControlUtility } from '../../Shared/services/ControlUtility';
|
|
4
|
-
import { PhoneOptions } from '../../Shared/Models/PhoneOptions';
|
|
5
|
-
import { SearchCountryField, CountryISO } from 'ngx-intl-tel-input';
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ControlContainer, FormGroup, FormGroupDirective } from '@angular/forms';
|
|
6
3
|
import { ControlValidationService, UtilityService } from '@bnsights/bbsf-utilities';
|
|
7
|
-
import {
|
|
4
|
+
import { CountryISO, SearchCountryField } from 'ngx-intl-tel-input';
|
|
8
5
|
import { Country } from '../../Shared/Enums/Countries';
|
|
6
|
+
import { PhoneOptions } from '../../Shared/Models/PhoneOptions';
|
|
7
|
+
import { ControlUtility } from '../../Shared/services/ControlUtility';
|
|
8
|
+
import { GlobalSettings } from '../../Shared/services/GlobalSettings.service';
|
|
9
9
|
export declare class PhoneComponent implements OnInit {
|
|
10
10
|
private controlUtility;
|
|
11
11
|
private controlContainer;
|
|
@@ -25,6 +25,7 @@ export declare class RadioButtonComponent implements OnInit {
|
|
|
25
25
|
showGlobalError(): void;
|
|
26
26
|
getErrorValidation(ErrorList: any): string;
|
|
27
27
|
onValueChanged(): void;
|
|
28
|
+
getSelectedItemValue(value: any): string;
|
|
28
29
|
RemoveRequiredValidation: () => void;
|
|
29
30
|
AddRequiredValidation: () => void;
|
|
30
31
|
RemoveCustomValidation: (CustomValidation: any) => void;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
2
|
import { FormGroup, AbstractControl, ControlContainer, FormGroupDirective } from '@angular/forms';
|
|
3
3
|
import { TextBoxOptions } from '../../Shared/Models/TextBoxOptions';
|
|
4
|
+
import { InputType } from '../../Shared/Enums/InputType';
|
|
4
5
|
import { ControlUtility } from '../../Shared/services/ControlUtility';
|
|
5
6
|
import { ControlValidationService, UtilityService } from '@bnsights/bbsf-utilities';
|
|
6
7
|
import { GlobalSettings } from '../../Shared/services/GlobalSettings.service';
|
|
@@ -16,11 +17,13 @@ export declare class TextboxComponent implements OnInit {
|
|
|
16
17
|
group: FormGroup;
|
|
17
18
|
options: TextBoxOptions;
|
|
18
19
|
OnChange: EventEmitter<any>;
|
|
20
|
+
inputType: typeof InputType;
|
|
19
21
|
TextBoxFormControl: AbstractControl;
|
|
20
22
|
MaskPattern: string;
|
|
21
23
|
WordCount: number;
|
|
22
24
|
WordCountArray: number;
|
|
23
25
|
EmailValidationKey: string;
|
|
26
|
+
URLValidationKey: string;
|
|
24
27
|
PasswordComplexityHasNumber: string;
|
|
25
28
|
ArabicLetterOnly: string;
|
|
26
29
|
EnglishLetterOnly: string;
|
|
@@ -9,7 +9,7 @@ export declare class ToggleslideComponent implements OnInit {
|
|
|
9
9
|
private controlContainer;
|
|
10
10
|
ToggleslideControlHost: FormGroupDirective;
|
|
11
11
|
TextControlHost: FormGroupDirective;
|
|
12
|
-
|
|
12
|
+
UtilityService: UtilityService;
|
|
13
13
|
private controlValidationService;
|
|
14
14
|
private globalSettings;
|
|
15
15
|
static controlContainerstatic: any;
|
package/package.json
CHANGED
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|