@bnsights/bbsf-controls 1.0.63 → 1.0.65
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 +11 -0
- package/bnsights-bbsf-controls-1.0.65.tgz +0 -0
- package/bnsights-bbsf-controls.metadata.json +1 -1
- package/bundles/bnsights-bbsf-controls.umd.js +234 -24
- package/bundles/bnsights-bbsf-controls.umd.js.map +1 -1
- package/esm2015/lib/Shared/Models/CaptchaStyle.js +3 -0
- package/esm2015/lib/Shared/Models/ConfirmationModalOptions.js +5 -1
- package/esm2015/lib/Shared/Models/ControlOptionsBase.js +1 -1
- package/esm2015/lib/Shared/Models/MultilingualControlOptionsBase.js +1 -1
- package/esm2015/lib/Shared/Models/Recaptcha.js +6 -0
- package/esm2015/lib/Shared/Models/RecaptchaOptions.js +22 -0
- 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 +4 -2
- package/esm2015/lib/controls/DropdownList/DropdownList.component.js +2 -2
- package/esm2015/lib/controls/FileUplaod/FileUplaod.component.js +9 -3
- package/esm2015/lib/controls/HtmlEditor/HtmlEditor.component.js +4 -2
- package/esm2015/lib/controls/ImageUpload/ImageUpload.component.js +10 -4
- package/esm2015/lib/controls/MapAutoComplete/MapAutoComplete.component.js +7 -2
- package/esm2015/lib/controls/MultiLingualHtmlEditor/MultiLingualHtmlEditor.component.js +4 -2
- package/esm2015/lib/controls/MultiLingualTextArea/MultiLingualTextArea.component.js +4 -2
- package/esm2015/lib/controls/MultiLingualTextBox/MultiLingualTextBox.component.js +4 -2
- package/esm2015/lib/controls/Phone/Phone.component.js +2 -2
- package/esm2015/lib/controls/ProfileImageUploader/ProfileImageUploader.component.js +6 -2
- package/esm2015/lib/controls/RadioButton/RadioButton.component.js +4 -2
- package/esm2015/lib/controls/Recaptcha/Recaptcha.component.js +131 -0
- package/esm2015/lib/controls/TagsInput/TagsInput.component.js +3 -2
- package/esm2015/lib/controls/TextArea/TextArea.component.js +2 -2
- package/esm2015/lib/controls/TextBox/TextBox.component.js +2 -2
- package/esm2015/lib/controls/Toggleslide/toggleslide.component.js +2 -1
- package/esm2015/lib/controls/bbsf-controls.module.js +6 -3
- package/esm2015/public-api.js +4 -1
- package/fesm2015/bnsights-bbsf-controls.js +221 -25
- package/fesm2015/bnsights-bbsf-controls.js.map +1 -1
- package/lib/Shared/Models/CaptchaStyle.d.ts +7 -0
- package/lib/Shared/Models/ConfirmationModalOptions.d.ts +2 -0
- package/lib/Shared/Models/ControlOptionsBase.d.ts +2 -0
- package/lib/Shared/Models/MultilingualControlOptionsBase.d.ts +2 -0
- package/lib/Shared/Models/Recaptcha.d.ts +6 -0
- package/lib/Shared/Models/RecaptchaOptions.d.ts +18 -0
- package/lib/controls/Recaptcha/Recaptcha.component.d.ts +37 -0
- package/package.json +1 -1
- package/public-api.d.ts +3 -0
- package/bnsights-bbsf-controls-1.0.63.tgz +0 -0
|
@@ -6,6 +6,8 @@ export declare class ControlOptionsBase {
|
|
|
6
6
|
Name: string;
|
|
7
7
|
/** Represent classes to Control that allow us to select the Control by jquery or javascript */
|
|
8
8
|
ExtraClasses: string;
|
|
9
|
+
/** Represent classes to label that allow us to select the Control by jquery or javascript */
|
|
10
|
+
LabelExtraClasses: string;
|
|
9
11
|
/** Represent value of the label*/
|
|
10
12
|
LabelValue: string;
|
|
11
13
|
/** Represent Key of the label*/
|
|
@@ -27,6 +27,8 @@ export declare class MultilingualControlOptionsBase {
|
|
|
27
27
|
ArabicPlaceholder: string;
|
|
28
28
|
/**Represent EnglishPlaceholder Of Form Control*/
|
|
29
29
|
EnglishPlaceholder: string;
|
|
30
|
+
/** Represent classes to label that allow us to select the Control by jquery or javascript */
|
|
31
|
+
LabelExtraClasses: string;
|
|
30
32
|
/**Represent classes to Arabic textbox that allow us to select the MultipleLanguageText by jquery or javascript */
|
|
31
33
|
ExtraClasses_AR: string;
|
|
32
34
|
/**Represent classes to English textbox that allow us to select the MultipleLanguageText by jquery or javascript */
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ForceDirection } from '../Enums/ForceDirection';
|
|
2
|
+
import { ControlOptionsBase } from './ControlOptionsBase';
|
|
3
|
+
import { RecaptchaModel } from './Recaptcha';
|
|
4
|
+
export declare class RecaptchaOptions extends ControlOptionsBase {
|
|
5
|
+
/**To set value to Control */
|
|
6
|
+
Value: RecaptchaModel;
|
|
7
|
+
ForceDirection: ForceDirection;
|
|
8
|
+
/**Prevent AutoComplete of control default value is "on" available values "on" and "off"*/
|
|
9
|
+
AutoComplete: string;
|
|
10
|
+
NoMargin: boolean;
|
|
11
|
+
/**the url of a remote server that supports jsonp calls */
|
|
12
|
+
ActionURL: string;
|
|
13
|
+
BackgroundColorPrimary: string;
|
|
14
|
+
BackgroundColorSecondary: string;
|
|
15
|
+
TextColorPrimary: string;
|
|
16
|
+
TextColorSecondary: string;
|
|
17
|
+
FontSize: number;
|
|
18
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormGroup, AbstractControl, FormGroupDirective } from '@angular/forms';
|
|
3
|
+
import { ControlUtility } from '../../Shared/services/ControlUtility';
|
|
4
|
+
import { ControlValidationService, RequestHandlerService, UtilityService } from '@bnsights/bbsf-utilities';
|
|
5
|
+
import { GlobalSettings } from '../../Shared/services/GlobalSettings.service';
|
|
6
|
+
import { RecaptchaOptions } from '../../Shared/Models/RecaptchaOptions';
|
|
7
|
+
import { RecaptchaModel } from '../../Shared/Models/Recaptcha';
|
|
8
|
+
export declare class RecaptchaComponent implements OnInit {
|
|
9
|
+
private controlUtility;
|
|
10
|
+
private requestHandlerService;
|
|
11
|
+
recaptchaControlHost: FormGroupDirective;
|
|
12
|
+
UtilityService: UtilityService;
|
|
13
|
+
private controlValidationService;
|
|
14
|
+
private globalSettings;
|
|
15
|
+
markAllAsTouched: boolean;
|
|
16
|
+
constructor(controlUtility: ControlUtility, requestHandlerService: RequestHandlerService, recaptchaControlHost: FormGroupDirective, UtilityService: UtilityService, controlValidationService: ControlValidationService, globalSettings: GlobalSettings);
|
|
17
|
+
group: FormGroup;
|
|
18
|
+
options: RecaptchaOptions;
|
|
19
|
+
OnChange: EventEmitter<any>;
|
|
20
|
+
ReCaptchaFormControl: AbstractControl;
|
|
21
|
+
validationRules: any[];
|
|
22
|
+
validationRulesAsync: any[];
|
|
23
|
+
image: string;
|
|
24
|
+
recaptchaModel: RecaptchaModel;
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
loadImage(): void;
|
|
27
|
+
ngAfterViewInit(): void;
|
|
28
|
+
resetError: () => void;
|
|
29
|
+
showGlobalError(): void;
|
|
30
|
+
getErrorValidation(ErrorList: any): string;
|
|
31
|
+
onTextChange(valueText: any): void;
|
|
32
|
+
RemoveRequiredValidation: () => void;
|
|
33
|
+
AddRequiredValidation: () => void;
|
|
34
|
+
RemoveCustomValidation: (CustomValidation: any) => void;
|
|
35
|
+
AddCustomValidation: (CustomValidation: any) => void;
|
|
36
|
+
IsValid: () => void;
|
|
37
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export * from './lib/controls/Repeater/repeater/repeater.component';
|
|
|
26
26
|
export * from './lib/controls/Repeater/repeater-table/repeater-table.component';
|
|
27
27
|
export * from './lib/controls/Repeater/repeater-field-builder/repeater-field-builder.component';
|
|
28
28
|
export * from './lib/controls/Repeater/repeater-item-field/repeater-item-field.component';
|
|
29
|
+
export * from './lib/controls/Recaptcha/Recaptcha.component';
|
|
29
30
|
export * from './lib/Shared/services/validationErrorMassage.service';
|
|
30
31
|
export * from './lib/Shared/services/ControlUtility';
|
|
31
32
|
export * from './lib/Shared/services/OnPagingFiltersChange.service';
|
|
@@ -34,6 +35,8 @@ export * from './lib/Shared/services/GlobalSettings.service';
|
|
|
34
35
|
export * from './lib/Shared/services/render-component-service.service';
|
|
35
36
|
export * from './lib/Shared/default_intl';
|
|
36
37
|
export * from './lib/Shared/Models/ControlOptionsBase';
|
|
38
|
+
export * from './lib/Shared/Models/ReCaptchaOptions';
|
|
39
|
+
export * from './lib/Shared/Models/Recaptcha';
|
|
37
40
|
export * from './lib/Shared/Models/MultilingualControlOptionsBase';
|
|
38
41
|
export * from './lib/Shared/Models/CustomValidation';
|
|
39
42
|
export * from './lib/Shared/Models/datePickerOptions';
|
|
Binary file
|