@bnsights/bbsf-controls 1.0.109 → 1.0.111
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/{esm2020 → esm2022}/bnsights-bbsf-controls.mjs +4 -4
- package/esm2022/bnsights-test-test-controls.mjs +5 -0
- package/{esm2020 → esm2022}/lib/Shared/Components/app-base-component.mjs +226 -226
- package/{esm2020 → esm2022}/lib/Shared/Components/ng-tag-input.mjs +176 -176
- package/{esm2020 → esm2022}/lib/Shared/Directives/template-name.directive.mjs +18 -18
- package/{esm2020 → esm2022}/lib/Shared/Enums/CalendarView.mjs +7 -7
- package/{esm2020 → esm2022}/lib/Shared/Enums/ControlLayout.mjs +5 -5
- package/{esm2020 → esm2022}/lib/Shared/Enums/Countries.mjs +246 -246
- package/{esm2020 → esm2022}/lib/Shared/Enums/Enums.mjs +32 -32
- package/{esm2020 → esm2022}/lib/Shared/Enums/FileType.mjs +21 -21
- package/{esm2020 → esm2022}/lib/Shared/Enums/FilterType.mjs +10 -10
- package/{esm2020 → esm2022}/lib/Shared/Enums/FontSize.mjs +6 -6
- package/{esm2020 → esm2022}/lib/Shared/Enums/ForceDirection.mjs +5 -5
- package/{esm2020 → esm2022}/lib/Shared/Enums/IconPosition.mjs +5 -5
- package/{esm2020 → esm2022}/lib/Shared/Enums/ImageType.mjs +9 -9
- package/{esm2020 → esm2022}/lib/Shared/Enums/InputType.mjs +9 -9
- package/{esm2020 → esm2022}/lib/Shared/Enums/Insert.mjs +8 -8
- package/{esm2020 → esm2022}/lib/Shared/Enums/LanguageMode.mjs +10 -10
- package/{esm2020 → esm2022}/lib/Shared/Enums/LanguageValidation.mjs +5 -5
- package/{esm2020 → esm2022}/lib/Shared/Enums/Misc.mjs +6 -6
- package/{esm2020 → esm2022}/lib/Shared/Enums/PagingActionMode.mjs +5 -5
- package/{esm2020 → esm2022}/lib/Shared/Enums/Para.mjs +8 -8
- package/{esm2020 → esm2022}/lib/Shared/Enums/PickerType.mjs +6 -6
- package/{esm2020 → esm2022}/lib/Shared/Enums/SelectMode.mjs +5 -5
- package/{esm2020 → esm2022}/lib/Shared/Enums/StartView.mjs +6 -6
- package/{esm2020 → esm2022}/lib/Shared/Enums/Style.mjs +7 -7
- package/{esm2020 → esm2022}/lib/Shared/Enums/StyleConfirmationMode.mjs +6 -6
- package/{esm2020 → esm2022}/lib/Shared/Enums/TagInputView.mjs +6 -6
- package/esm2022/lib/Shared/Enums/map-enums.mjs +7 -0
- package/{esm2020 → esm2022}/lib/Shared/Enums/menu-list-enum.mjs +5 -5
- package/{esm2020 → esm2022}/lib/Shared/Models/Attribute.mjs +2 -2
- package/{esm2020 → esm2022}/lib/Shared/Models/AutocompleteDTO.mjs +7 -7
- package/{esm2020 → esm2022}/lib/Shared/Models/AutocompleteOptions.mjs +23 -23
- package/{esm2020 → esm2022}/lib/Shared/Models/CalendarEventDTO.mjs +2 -2
- package/{esm2020 → esm2022}/lib/Shared/Models/CalendarOptions.mjs +18 -18
- package/{esm2020 → esm2022}/lib/Shared/Models/CancelDTO.mjs +6 -6
- package/{esm2020 → esm2022}/lib/Shared/Models/CaptchaStyle.mjs +2 -2
- package/{esm2020 → esm2022}/lib/Shared/Models/CheckBoxOptions.mjs +10 -10
- package/{esm2020 → esm2022}/lib/Shared/Models/ConfirmationModalOptions.mjs +38 -38
- package/{esm2020 → esm2022}/lib/Shared/Models/ControlOptionsBase.mjs +12 -12
- package/{esm2020 → esm2022}/lib/Shared/Models/CustomValidation.mjs +13 -13
- package/{esm2020 → esm2022}/lib/Shared/Models/DropdownListItem.mjs +2 -2
- package/{esm2020 → esm2022}/lib/Shared/Models/DropdownOptions.mjs +15 -15
- package/{esm2020 → esm2022}/lib/Shared/Models/EditPersonalImage.mjs +6 -6
- package/{esm2020 → esm2022}/lib/Shared/Models/EnglishArabicDTO.mjs +10 -10
- package/{esm2020 → esm2022}/lib/Shared/Models/FileDTO.mjs +1 -1
- package/{esm2020 → esm2022}/lib/Shared/Models/FileUploadModel.mjs +2 -2
- package/{esm2020 → esm2022}/lib/Shared/Models/FileUploadOptions.mjs +10 -10
- package/{esm2020 → esm2022}/lib/Shared/Models/FilterItem.mjs +7 -7
- package/{esm2020 → esm2022}/lib/Shared/Models/FormOptions.mjs +27 -27
- package/{esm2020 → esm2022}/lib/Shared/Models/HtmlEditorOptions.mjs +11 -11
- package/{esm2020 → esm2022}/lib/Shared/Models/ImageUploadOptions.mjs +13 -13
- package/esm2022/lib/Shared/Models/MapAutoCompleteOptions.mjs +10 -0
- package/{esm2020 → esm2022}/lib/Shared/Models/MapAutocompleteDTO.mjs +5 -5
- package/{esm2020 → esm2022}/lib/Shared/Models/MultiLingualHtmlEditorOptions.mjs +8 -8
- package/{esm2020 → esm2022}/lib/Shared/Models/MultiLingualTextAreaOptions.mjs +8 -8
- package/{esm2020 → esm2022}/lib/Shared/Models/MultilingualControlOptionsBase.mjs +15 -15
- package/{esm2020 → esm2022}/lib/Shared/Models/MultilingualTextBoxOptions.mjs +13 -13
- package/{esm2020 → esm2022}/lib/Shared/Models/MultipleFileUploadModel.mjs +8 -8
- package/{esm2020 → esm2022}/lib/Shared/Models/PagingDTO.mjs +12 -12
- package/{esm2020 → esm2022}/lib/Shared/Models/PagingOptions.mjs +46 -46
- package/{esm2020 → esm2022}/lib/Shared/Models/PagingPayload.mjs +2 -2
- package/{esm2020 → esm2022}/lib/Shared/Models/PhoneOptions.mjs +12 -12
- package/{esm2020 → esm2022}/lib/Shared/Models/ProfileImageUploadOptions.mjs +10 -10
- package/{esm2020 → esm2022}/lib/Shared/Models/ProfilePictureDTO.mjs +2 -2
- package/{esm2020 → esm2022}/lib/Shared/Models/RadioButtonItem.mjs +2 -2
- package/{esm2020 → esm2022}/lib/Shared/Models/RadioButtonOptions.mjs +3 -3
- package/{esm2020 → esm2022}/lib/Shared/Models/RangeNumber.mjs +2 -2
- package/{esm2020 → esm2022}/lib/Shared/Models/Recaptcha.mjs +5 -5
- package/{esm2020 → esm2022}/lib/Shared/Models/RecaptchaOptions.mjs +21 -21
- package/{esm2020 → esm2022}/lib/Shared/Models/RepeaterField.mjs +2 -2
- package/{esm2020 → esm2022}/lib/Shared/Models/RepeaterOptions.mjs +12 -12
- package/{esm2020 → esm2022}/lib/Shared/Models/SaveDTO.mjs +6 -6
- package/{esm2020 → esm2022}/lib/Shared/Models/TagsInputDTO.mjs +2 -2
- package/{esm2020 → esm2022}/lib/Shared/Models/TagsInputOptions.mjs +40 -40
- package/{esm2020 → esm2022}/lib/Shared/Models/TextAreaOptions.mjs +3 -3
- package/{esm2020 → esm2022}/lib/Shared/Models/TextBoxOptions.mjs +22 -22
- package/{esm2020 → esm2022}/lib/Shared/Models/ToggleslideOptions.mjs +8 -8
- package/{esm2020 → esm2022}/lib/Shared/Models/UploadPersonalImage.mjs +6 -6
- package/{esm2020 → esm2022}/lib/Shared/Models/bread-crumb.mjs +7 -7
- package/{esm2020 → esm2022}/lib/Shared/Models/control-filter-Item.mjs +5 -5
- package/{esm2020 → esm2022}/lib/Shared/Models/datePickerOptions.mjs +22 -22
- package/{esm2020 → esm2022}/lib/Shared/Models/filter-options.mjs +8 -8
- package/{esm2020 → esm2022}/lib/Shared/Models/page-header-options.mjs +77 -77
- package/{esm2020 → esm2022}/lib/Shared/Pipes/bbsf-date-time.pipe.mjs +21 -21
- package/{esm2020 → esm2022}/lib/Shared/Pipes/bbsf-date.pipe.mjs +21 -21
- package/{esm2020 → esm2022}/lib/Shared/config/environment.mjs +11 -11
- package/{esm2020 → esm2022}/lib/Shared/default_intl.mjs +29 -29
- package/{esm2020 → esm2022}/lib/Shared/services/ControlUtility.mjs +162 -162
- package/{esm2020 → esm2022}/lib/Shared/services/GlobalSettings.service.mjs +30 -30
- package/esm2022/lib/Shared/services/OnPagingFiltersChange.service.mjs +24 -0
- package/{esm2020 → esm2022}/lib/Shared/services/render-component-service.service.mjs +30 -30
- package/esm2022/lib/Shared/services/validationErrorMassage.service.mjs +170 -0
- package/esm2022/lib/controls/AutocompleteTextBox/AutocompleteTextBox.component.mjs +262 -0
- package/esm2022/lib/controls/Calendar/Calendar.component.mjs +173 -0
- package/esm2022/lib/controls/CheckBox/CheckBox.component.mjs +117 -0
- package/{esm2020 → esm2022}/lib/controls/ConfirmationModal/ConfirmationModal.component.mjs +136 -136
- package/esm2022/lib/controls/DateTimePicker/DateTimePicker.component.mjs +223 -0
- package/esm2022/lib/controls/DropdownList/DropdownList.component.mjs +193 -0
- package/esm2022/lib/controls/FileUplaod/FileUplaod.component.mjs +447 -0
- package/{esm2020 → esm2022}/lib/controls/Form/Form.component.mjs +101 -101
- package/esm2022/lib/controls/HtmlEditor/HtmlEditor.component.mjs +226 -0
- package/esm2022/lib/controls/ImageUpload/ImageUpload.component.mjs +350 -0
- package/esm2022/lib/controls/MapAutoComplete/MapAutoComplete.component.mjs +404 -0
- package/esm2022/lib/controls/MultiLingualHtmlEditor/MultiLingualHtmlEditor.component.mjs +427 -0
- package/esm2022/lib/controls/MultiLingualTextArea/MultiLingualTextArea.component.mjs +429 -0
- package/esm2022/lib/controls/MultiLingualTextBox/MultiLingualTextBox.component.mjs +428 -0
- package/{esm2020 → esm2022}/lib/controls/Paging/JwPagination.component.mjs +121 -121
- package/{esm2020 → esm2022}/lib/controls/Paging/Paging.component.mjs +312 -312
- package/esm2022/lib/controls/Phone/Phone.component.mjs +129 -0
- package/esm2022/lib/controls/ProfileImageUploader/ProfileImageUploader.component.mjs +376 -0
- package/esm2022/lib/controls/RadioButton/RadioButton.component.mjs +109 -0
- package/{esm2020 → esm2022}/lib/controls/Recaptcha/Recaptcha.component.mjs +135 -135
- package/{esm2020 → esm2022}/lib/controls/Repeater/repeater/repeater.component.mjs +125 -125
- package/{esm2020 → esm2022}/lib/controls/Repeater/repeater-field-builder/repeater-field-builder.component.mjs +750 -750
- package/{esm2020 → esm2022}/lib/controls/Repeater/repeater-item-field/repeater-item-field.component.mjs +21 -21
- package/{esm2020 → esm2022}/lib/controls/Repeater/repeater-table/repeater-table.component.mjs +108 -108
- package/esm2022/lib/controls/TagsInput/TagsInput.component.mjs +277 -0
- package/esm2022/lib/controls/TextArea/TextArea.component.mjs +196 -0
- package/esm2022/lib/controls/TextBox/TextBox.component.mjs +306 -0
- package/esm2022/lib/controls/Toggleslide/toggleslide.component.mjs +90 -0
- package/esm2022/lib/controls/bbsf-controls.module.mjs +339 -0
- package/{esm2020 → esm2022}/lib/controls/page-header-component/page-header-component.component.mjs +37 -37
- package/{esm2020 → esm2022}/public-api.mjs +128 -130
- package/{fesm2020 → fesm2022}/bnsights-bbsf-controls.mjs +8802 -8736
- package/fesm2022/bnsights-bbsf-controls.mjs.map +1 -0
- package/{fesm2015/bnsights-bbsf-controls.mjs → fesm2022/bnsights-test-test-controls.mjs} +8803 -8798
- package/fesm2022/bnsights-test-test-controls.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/Shared/Components/app-base-component.d.ts +58 -58
- package/lib/Shared/Components/ng-tag-input.d.ts +50 -50
- package/lib/Shared/Directives/template-name.directive.d.ts +9 -9
- package/lib/Shared/Enums/CalendarView.d.ts +6 -6
- package/lib/Shared/Enums/ControlLayout.d.ts +4 -4
- package/lib/Shared/Enums/Countries.d.ts +245 -245
- package/lib/Shared/Enums/Enums.d.ts +30 -30
- package/lib/Shared/Enums/FileType.d.ts +20 -20
- package/lib/Shared/Enums/FilterType.d.ts +9 -9
- package/lib/Shared/Enums/FontSize.d.ts +5 -5
- package/lib/Shared/Enums/ForceDirection.d.ts +4 -4
- package/lib/Shared/Enums/IconPosition.d.ts +4 -4
- package/lib/Shared/Enums/ImageType.d.ts +8 -8
- package/lib/Shared/Enums/InputType.d.ts +8 -8
- package/lib/Shared/Enums/Insert.d.ts +7 -7
- package/lib/Shared/Enums/LanguageMode.d.ts +9 -9
- package/lib/Shared/Enums/LanguageValidation.d.ts +4 -4
- package/lib/Shared/Enums/Misc.d.ts +5 -5
- package/lib/Shared/Enums/PagingActionMode.d.ts +4 -4
- package/lib/Shared/Enums/Para.d.ts +7 -7
- package/lib/Shared/Enums/PickerType.d.ts +5 -5
- package/lib/Shared/Enums/SelectMode.d.ts +4 -4
- package/lib/Shared/Enums/StartView.d.ts +5 -5
- package/lib/Shared/Enums/Style.d.ts +6 -6
- package/lib/Shared/Enums/StyleConfirmationMode.d.ts +5 -5
- package/lib/Shared/Enums/TagInputView.d.ts +5 -5
- package/lib/Shared/Enums/map-enums.d.ts +5 -0
- package/lib/Shared/Enums/menu-list-enum.d.ts +4 -4
- package/lib/Shared/Models/Attribute.d.ts +4 -4
- package/lib/Shared/Models/AutocompleteDTO.d.ts +5 -5
- package/lib/Shared/Models/AutocompleteOptions.d.ts +40 -40
- package/lib/Shared/Models/CalendarEventDTO.d.ts +8 -8
- package/lib/Shared/Models/CalendarOptions.d.ts +23 -23
- package/lib/Shared/Models/CancelDTO.d.ts +5 -5
- package/lib/Shared/Models/CaptchaStyle.d.ts +7 -7
- package/lib/Shared/Models/CheckBoxOptions.d.ts +7 -7
- package/lib/Shared/Models/ConfirmationModalOptions.d.ts +21 -21
- package/lib/Shared/Models/ControlOptionsBase.d.ts +44 -44
- package/lib/Shared/Models/CustomValidation.d.ts +10 -10
- package/lib/Shared/Models/DropdownListItem.d.ts +4 -4
- package/lib/Shared/Models/DropdownOptions.d.ts +33 -33
- package/lib/Shared/Models/EditPersonalImage.d.ts +5 -5
- package/lib/Shared/Models/EnglishArabicDTO.d.ts +4 -4
- package/lib/Shared/Models/FileDTO.d.ts +19 -19
- package/lib/Shared/Models/FileUploadModel.d.ts +4 -4
- package/lib/Shared/Models/FileUploadOptions.d.ts +19 -19
- package/lib/Shared/Models/FilterItem.d.ts +13 -13
- package/lib/Shared/Models/FormOptions.d.ts +16 -16
- package/lib/Shared/Models/HtmlEditorOptions.d.ts +31 -31
- package/lib/Shared/Models/ImageUploadOptions.d.ts +23 -23
- package/lib/Shared/Models/MapAutoCompleteOptions.d.ts +8 -6
- package/lib/Shared/Models/MapAutocompleteDTO.d.ts +7 -7
- package/lib/Shared/Models/MultiLingualHtmlEditorOptions.d.ts +22 -22
- package/lib/Shared/Models/MultiLingualTextAreaOptions.d.ts +12 -12
- package/lib/Shared/Models/MultilingualControlOptionsBase.d.ts +77 -77
- package/lib/Shared/Models/MultilingualTextBoxOptions.d.ts +12 -12
- package/lib/Shared/Models/MultipleFileUploadModel.d.ts +7 -7
- package/lib/Shared/Models/PagingDTO.d.ts +11 -11
- package/lib/Shared/Models/PagingOptions.d.ts +56 -56
- package/lib/Shared/Models/PagingPayload.d.ts +5 -5
- package/lib/Shared/Models/PhoneOptions.d.ts +21 -21
- package/lib/Shared/Models/ProfileImageUploadOptions.d.ts +28 -28
- package/lib/Shared/Models/ProfilePictureDTO.d.ts +13 -13
- package/lib/Shared/Models/RadioButtonItem.d.ts +4 -4
- package/lib/Shared/Models/RadioButtonOptions.d.ts +8 -8
- package/lib/Shared/Models/RangeNumber.d.ts +4 -4
- package/lib/Shared/Models/Recaptcha.d.ts +6 -6
- package/lib/Shared/Models/RecaptchaOptions.d.ts +18 -18
- package/lib/Shared/Models/RepeaterField.d.ts +7 -7
- package/lib/Shared/Models/RepeaterOptions.d.ts +19 -19
- package/lib/Shared/Models/SaveDTO.d.ts +5 -5
- package/lib/Shared/Models/TagsInputDTO.d.ts +6 -6
- package/lib/Shared/Models/TagsInputOptions.d.ts +57 -57
- package/lib/Shared/Models/TextAreaOptions.d.ts +23 -23
- package/lib/Shared/Models/TextBoxOptions.d.ts +37 -37
- package/lib/Shared/Models/ToggleslideOptions.d.ts +9 -9
- package/lib/Shared/Models/UploadPersonalImage.d.ts +5 -5
- package/lib/Shared/Models/bread-crumb.d.ts +6 -6
- package/lib/Shared/Models/control-filter-Item.d.ts +6 -6
- package/lib/Shared/Models/datePickerOptions.d.ts +29 -29
- package/lib/Shared/Models/filter-options.d.ts +7 -7
- package/lib/Shared/Models/page-header-options.d.ts +71 -71
- package/lib/Shared/Pipes/bbsf-date-time.pipe.d.ts +10 -10
- package/lib/Shared/Pipes/bbsf-date.pipe.d.ts +10 -10
- package/lib/Shared/config/environment.d.ts +1 -1
- package/lib/Shared/default_intl.d.ts +21 -21
- package/lib/Shared/services/ControlUtility.d.ts +32 -32
- package/lib/Shared/services/GlobalSettings.service.d.ts +17 -17
- package/lib/Shared/services/OnPagingFiltersChange.service.d.ts +10 -10
- package/lib/Shared/services/render-component-service.service.d.ts +10 -10
- package/lib/Shared/services/validationErrorMassage.service.d.ts +14 -14
- package/lib/controls/AutocompleteTextBox/AutocompleteTextBox.component.d.ts +59 -59
- package/lib/controls/Calendar/Calendar.component.d.ts +42 -42
- package/lib/controls/CheckBox/CheckBox.component.d.ts +37 -37
- package/lib/controls/ConfirmationModal/ConfirmationModal.component.d.ts +29 -29
- package/lib/controls/DateTimePicker/DateTimePicker.component.d.ts +61 -61
- package/lib/controls/DropdownList/DropdownList.component.d.ts +55 -55
- package/lib/controls/FileUplaod/FileUplaod.component.d.ts +58 -58
- package/lib/controls/Form/Form.component.d.ts +28 -28
- package/lib/controls/HtmlEditor/HtmlEditor.component.d.ts +49 -49
- package/lib/controls/ImageUpload/ImageUpload.component.d.ts +70 -70
- package/lib/controls/MapAutoComplete/MapAutoComplete.component.d.ts +70 -54
- package/lib/controls/MultiLingualHtmlEditor/MultiLingualHtmlEditor.component.d.ts +65 -65
- package/lib/controls/MultiLingualTextArea/MultiLingualTextArea.component.d.ts +74 -74
- package/lib/controls/MultiLingualTextBox/MultiLingualTextBox.component.d.ts +73 -73
- package/lib/controls/Paging/JwPagination.component.d.ts +27 -27
- package/lib/controls/Paging/Paging.component.d.ts +57 -57
- package/lib/controls/Phone/Phone.component.d.ts +43 -43
- package/lib/controls/ProfileImageUploader/ProfileImageUploader.component.d.ts +69 -69
- package/lib/controls/RadioButton/RadioButton.component.d.ts +37 -37
- package/lib/controls/Recaptcha/Recaptcha.component.d.ts +41 -41
- package/lib/controls/Repeater/repeater/repeater.component.d.ts +29 -29
- package/lib/controls/Repeater/repeater-field-builder/repeater-field-builder.component.d.ts +23 -23
- package/lib/controls/Repeater/repeater-item-field/repeater-item-field.component.d.ts +11 -11
- package/lib/controls/Repeater/repeater-table/repeater-table.component.d.ts +19 -19
- package/lib/controls/TagsInput/TagsInput.component.d.ts +58 -58
- package/lib/controls/TextArea/TextArea.component.d.ts +51 -51
- package/lib/controls/TextBox/TextBox.component.d.ts +66 -66
- package/lib/controls/Toggleslide/toggleslide.component.d.ts +33 -33
- package/lib/controls/bbsf-controls.module.d.ts +70 -77
- package/lib/controls/page-header-component/page-header-component.component.d.ts +20 -20
- package/package.json +54 -63
- package/public-api.d.ts +118 -117
- package/src/lib/assets/Style-rtl.scss +46 -28
- package/src/lib/assets/Style.scss +4 -4
- package/src/lib/assets/images/marker-pin.svg +4 -0
- package/src/lib/assets/sass/base.scss +73 -21
- package/esm2020/lib/Shared/Models/MapAutoCompleteOptions.mjs +0 -4
- package/esm2020/lib/Shared/services/OnPagingFiltersChange.service.mjs +0 -24
- package/esm2020/lib/Shared/services/validationErrorMassage.service.mjs +0 -170
- package/esm2020/lib/controls/AutocompleteTextBox/AutocompleteTextBox.component.mjs +0 -262
- package/esm2020/lib/controls/Calendar/Calendar.component.mjs +0 -173
- package/esm2020/lib/controls/CheckBox/CheckBox.component.mjs +0 -117
- package/esm2020/lib/controls/DateTimePicker/DateTimePicker.component.mjs +0 -223
- package/esm2020/lib/controls/DropdownList/DropdownList.component.mjs +0 -194
- package/esm2020/lib/controls/FileUplaod/FileUplaod.component.mjs +0 -447
- package/esm2020/lib/controls/HtmlEditor/HtmlEditor.component.mjs +0 -226
- package/esm2020/lib/controls/ImageUpload/ImageUpload.component.mjs +0 -350
- package/esm2020/lib/controls/MapAutoComplete/MapAutoComplete.component.mjs +0 -325
- package/esm2020/lib/controls/MultiLingualHtmlEditor/MultiLingualHtmlEditor.component.mjs +0 -427
- package/esm2020/lib/controls/MultiLingualTextArea/MultiLingualTextArea.component.mjs +0 -429
- package/esm2020/lib/controls/MultiLingualTextBox/MultiLingualTextBox.component.mjs +0 -428
- package/esm2020/lib/controls/Phone/Phone.component.mjs +0 -129
- package/esm2020/lib/controls/ProfileImageUploader/ProfileImageUploader.component.mjs +0 -376
- package/esm2020/lib/controls/RadioButton/RadioButton.component.mjs +0 -109
- package/esm2020/lib/controls/TagsInput/TagsInput.component.mjs +0 -277
- package/esm2020/lib/controls/TextArea/TextArea.component.mjs +0 -196
- package/esm2020/lib/controls/TextBox/TextBox.component.mjs +0 -312
- package/esm2020/lib/controls/Toggleslide/toggleslide.component.mjs +0 -90
- package/esm2020/lib/controls/bbsf-controls.module.mjs +0 -361
- package/fesm2015/bnsights-bbsf-controls.mjs.map +0 -1
- package/fesm2020/bnsights-bbsf-controls.mjs.map +0 -1
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import { OnInit, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormGroup, AbstractControl, ControlContainer, FormGroupDirective } from '@angular/forms';
|
|
3
|
-
import { FileUploadOptions } from '../../Shared/Models/FileUploadOptions';
|
|
4
|
-
import { ControlUtility } from '../../Shared/services/ControlUtility';
|
|
5
|
-
import { FileUploader, FileLikeObject } from 'ng2-file-upload';
|
|
6
|
-
import { FileUploadModel } from '../../Shared/Models/FileUploadModel';
|
|
7
|
-
import { MultipleFileUploadModel } from '../../Shared/Models/MultipleFileUploadModel';
|
|
8
|
-
import { ControlValidationService, UtilityService } from '@bnsights/bbsf-utilities';
|
|
9
|
-
import { GlobalSettings } from '../../Shared/services/GlobalSettings.service';
|
|
10
|
-
import { FileDTO } from '../../Shared/Models/FileDTO';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class FileUploadComponent implements OnInit {
|
|
13
|
-
private controlContainer;
|
|
14
|
-
MultipleFileUplaodControlHost: FormGroupDirective;
|
|
15
|
-
private controlUtility;
|
|
16
|
-
UtilityService: UtilityService;
|
|
17
|
-
private controlValidationService;
|
|
18
|
-
private globalSettings;
|
|
19
|
-
static controlContainerstatic: any;
|
|
20
|
-
fileInput: ElementRef;
|
|
21
|
-
isSubmitted: boolean;
|
|
22
|
-
group: FormGroup;
|
|
23
|
-
options: FileUploadOptions;
|
|
24
|
-
OnChange: EventEmitter<any>;
|
|
25
|
-
fileUploadFormControl: AbstractControl;
|
|
26
|
-
ValidationMessage: string;
|
|
27
|
-
ValidationCountMessage: string;
|
|
28
|
-
uploader: FileUploader;
|
|
29
|
-
hasAnotherDropZoneOver: boolean;
|
|
30
|
-
AcceptedType: string;
|
|
31
|
-
AcceptedTypeArray: string[];
|
|
32
|
-
ToolTipTypeArray: string[];
|
|
33
|
-
FileLikeObject: FileLikeObject;
|
|
34
|
-
markAllAsTouched: boolean;
|
|
35
|
-
validationRules: any[];
|
|
36
|
-
validationRulesasync: any[];
|
|
37
|
-
fileUploadModel: FileUploadModel;
|
|
38
|
-
multipleFileUploadModel: MultipleFileUploadModel;
|
|
39
|
-
file: any;
|
|
40
|
-
deletedFiles: FileDTO[];
|
|
41
|
-
constructor(controlContainer: ControlContainer, MultipleFileUplaodControlHost: FormGroupDirective, controlUtility: ControlUtility, UtilityService: UtilityService, controlValidationService: ControlValidationService, globalSettings: GlobalSettings);
|
|
42
|
-
ngOnInit(): void;
|
|
43
|
-
ngAfterViewInit(): void;
|
|
44
|
-
resetError: () => void;
|
|
45
|
-
showGlobalError(): void;
|
|
46
|
-
getErrorValidation(ErrorList: any): string;
|
|
47
|
-
fileOverAnother(event: any): void;
|
|
48
|
-
isHideInput(): boolean;
|
|
49
|
-
onFileChange(): void;
|
|
50
|
-
removeFromControlValue(item: any): void;
|
|
51
|
-
RemoveRequiredValidation: () => void;
|
|
52
|
-
AddRequiredValidation: () => void;
|
|
53
|
-
RemoveCustomValidation: (CustomValidation: any) => void;
|
|
54
|
-
AddCustomValidation: (CustomValidation: any) => void;
|
|
55
|
-
IsValid: () => void;
|
|
56
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, [{ optional: true; }, null, null, null, null, null]>;
|
|
57
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "BBSF-FileUplaod", never, { "group": "group"; "options": "options"; }, { "OnChange": "OnChange"; }, never, never, false, never>;
|
|
58
|
-
}
|
|
1
|
+
import { OnInit, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormGroup, AbstractControl, ControlContainer, FormGroupDirective } from '@angular/forms';
|
|
3
|
+
import { FileUploadOptions } from '../../Shared/Models/FileUploadOptions';
|
|
4
|
+
import { ControlUtility } from '../../Shared/services/ControlUtility';
|
|
5
|
+
import { FileUploader, FileLikeObject } from 'ng2-file-upload';
|
|
6
|
+
import { FileUploadModel } from '../../Shared/Models/FileUploadModel';
|
|
7
|
+
import { MultipleFileUploadModel } from '../../Shared/Models/MultipleFileUploadModel';
|
|
8
|
+
import { ControlValidationService, UtilityService } from '@bnsights/bbsf-utilities';
|
|
9
|
+
import { GlobalSettings } from '../../Shared/services/GlobalSettings.service';
|
|
10
|
+
import { FileDTO } from '../../Shared/Models/FileDTO';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class FileUploadComponent implements OnInit {
|
|
13
|
+
private controlContainer;
|
|
14
|
+
MultipleFileUplaodControlHost: FormGroupDirective;
|
|
15
|
+
private controlUtility;
|
|
16
|
+
UtilityService: UtilityService;
|
|
17
|
+
private controlValidationService;
|
|
18
|
+
private globalSettings;
|
|
19
|
+
static controlContainerstatic: any;
|
|
20
|
+
fileInput: ElementRef;
|
|
21
|
+
isSubmitted: boolean;
|
|
22
|
+
group: FormGroup;
|
|
23
|
+
options: FileUploadOptions;
|
|
24
|
+
OnChange: EventEmitter<any>;
|
|
25
|
+
fileUploadFormControl: AbstractControl;
|
|
26
|
+
ValidationMessage: string;
|
|
27
|
+
ValidationCountMessage: string;
|
|
28
|
+
uploader: FileUploader;
|
|
29
|
+
hasAnotherDropZoneOver: boolean;
|
|
30
|
+
AcceptedType: string;
|
|
31
|
+
AcceptedTypeArray: string[];
|
|
32
|
+
ToolTipTypeArray: string[];
|
|
33
|
+
FileLikeObject: FileLikeObject;
|
|
34
|
+
markAllAsTouched: boolean;
|
|
35
|
+
validationRules: any[];
|
|
36
|
+
validationRulesasync: any[];
|
|
37
|
+
fileUploadModel: FileUploadModel;
|
|
38
|
+
multipleFileUploadModel: MultipleFileUploadModel;
|
|
39
|
+
file: any;
|
|
40
|
+
deletedFiles: FileDTO[];
|
|
41
|
+
constructor(controlContainer: ControlContainer, MultipleFileUplaodControlHost: FormGroupDirective, controlUtility: ControlUtility, UtilityService: UtilityService, controlValidationService: ControlValidationService, globalSettings: GlobalSettings);
|
|
42
|
+
ngOnInit(): void;
|
|
43
|
+
ngAfterViewInit(): void;
|
|
44
|
+
resetError: () => void;
|
|
45
|
+
showGlobalError(): void;
|
|
46
|
+
getErrorValidation(ErrorList: any): string;
|
|
47
|
+
fileOverAnother(event: any): void;
|
|
48
|
+
isHideInput(): boolean;
|
|
49
|
+
onFileChange(): void;
|
|
50
|
+
removeFromControlValue(item: any): void;
|
|
51
|
+
RemoveRequiredValidation: () => void;
|
|
52
|
+
AddRequiredValidation: () => void;
|
|
53
|
+
RemoveCustomValidation: (CustomValidation: any) => void;
|
|
54
|
+
AddCustomValidation: (CustomValidation: any) => void;
|
|
55
|
+
IsValid: () => void;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, [{ optional: true; }, null, null, null, null, null]>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "BBSF-FileUplaod", never, { "group": { "alias": "group"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "OnChange": "OnChange"; }, never, never, false, never>;
|
|
58
|
+
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { NgbActiveModal, NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
-
import { ControlValidationService, UtilityService } from '@bnsights/bbsf-utilities';
|
|
4
|
-
import { FormOptions } from '../../Shared/Models/FormOptions';
|
|
5
|
-
import { ControlUtility } from '../../Shared/services/ControlUtility';
|
|
6
|
-
import { Router } from '@angular/router';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class FormComponent implements OnInit {
|
|
9
|
-
private controlUtility;
|
|
10
|
-
private utilityService;
|
|
11
|
-
private controlValidationService;
|
|
12
|
-
private modalService;
|
|
13
|
-
private ngbActiveModal;
|
|
14
|
-
private router;
|
|
15
|
-
fromName: string;
|
|
16
|
-
isChange: boolean;
|
|
17
|
-
OnChange: EventEmitter<any>;
|
|
18
|
-
constructor(controlUtility: ControlUtility, utilityService: UtilityService, controlValidationService: ControlValidationService, modalService: NgbModal, ngbActiveModal: NgbActiveModal, router: Router);
|
|
19
|
-
options: FormOptions;
|
|
20
|
-
ngOnInit(): void;
|
|
21
|
-
ngAfterViewInit(): void;
|
|
22
|
-
submit(): void;
|
|
23
|
-
private handleError;
|
|
24
|
-
showGlobalError(): void;
|
|
25
|
-
randomString(length: any): string;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "BBSF-Form", never, { "options": "options"; }, { "OnChange": "OnChange"; }, never, ["*"], false, never>;
|
|
28
|
-
}
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { NgbActiveModal, NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import { ControlValidationService, UtilityService } from '@bnsights/bbsf-utilities';
|
|
4
|
+
import { FormOptions } from '../../Shared/Models/FormOptions';
|
|
5
|
+
import { ControlUtility } from '../../Shared/services/ControlUtility';
|
|
6
|
+
import { Router } from '@angular/router';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class FormComponent implements OnInit {
|
|
9
|
+
private controlUtility;
|
|
10
|
+
private utilityService;
|
|
11
|
+
private controlValidationService;
|
|
12
|
+
private modalService;
|
|
13
|
+
private ngbActiveModal;
|
|
14
|
+
private router;
|
|
15
|
+
fromName: string;
|
|
16
|
+
isChange: boolean;
|
|
17
|
+
OnChange: EventEmitter<any>;
|
|
18
|
+
constructor(controlUtility: ControlUtility, utilityService: UtilityService, controlValidationService: ControlValidationService, modalService: NgbModal, ngbActiveModal: NgbActiveModal, router: Router);
|
|
19
|
+
options: FormOptions;
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
ngAfterViewInit(): void;
|
|
22
|
+
submit(): void;
|
|
23
|
+
private handleError;
|
|
24
|
+
showGlobalError(): void;
|
|
25
|
+
randomString(length: any): string;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "BBSF-Form", never, { "options": { "alias": "options"; "required": false; }; }, { "OnChange": "OnChange"; }, never, ["*"], false, never>;
|
|
28
|
+
}
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { OnInit, NgZone, EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormGroup, AbstractControl, ControlContainer, FormGroupDirective } from '@angular/forms';
|
|
3
|
-
import { ControlUtility } from '../../Shared/services/ControlUtility';
|
|
4
|
-
import { HtmlEditorOptions } from '../../Shared/Models/HtmlEditorOptions';
|
|
5
|
-
import { AngularEditorConfig } from '@kolkov/angular-editor';
|
|
6
|
-
import { ControlValidationService, UtilityService } from '@bnsights/bbsf-utilities';
|
|
7
|
-
import { GlobalSettings } from '../../Shared/services/GlobalSettings.service';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class HtmlEditorComponent implements OnInit {
|
|
10
|
-
private zone;
|
|
11
|
-
private controlUtility;
|
|
12
|
-
private controlContainer;
|
|
13
|
-
HtmlEditorControlHost: FormGroupDirective;
|
|
14
|
-
private UtilityService;
|
|
15
|
-
private controlValidationService;
|
|
16
|
-
private globalSettings;
|
|
17
|
-
editorConfig: AngularEditorConfig;
|
|
18
|
-
static controlContainerstatic: any;
|
|
19
|
-
constructor(zone: NgZone, controlUtility: ControlUtility, controlContainer: ControlContainer, HtmlEditorControlHost: FormGroupDirective, UtilityService: UtilityService, controlValidationService: ControlValidationService, globalSettings: GlobalSettings);
|
|
20
|
-
group: FormGroup;
|
|
21
|
-
options: HtmlEditorOptions;
|
|
22
|
-
OnChange: EventEmitter<any>;
|
|
23
|
-
HtmlEditorFormControl: AbstractControl;
|
|
24
|
-
WordCount: number;
|
|
25
|
-
WordCountArray: number;
|
|
26
|
-
markAllAsTouched: boolean;
|
|
27
|
-
Config: any;
|
|
28
|
-
miscList: any;
|
|
29
|
-
styleList: any;
|
|
30
|
-
fontsizeList: any;
|
|
31
|
-
paraList: any;
|
|
32
|
-
insertList: any;
|
|
33
|
-
validationRules: any[];
|
|
34
|
-
validationRulesasync: any[];
|
|
35
|
-
textDir: any;
|
|
36
|
-
ngOnInit(): void;
|
|
37
|
-
ngAfterViewChecked(): void;
|
|
38
|
-
resetError: () => void;
|
|
39
|
-
showGlobalError(): void;
|
|
40
|
-
getErrorValidation(ErrorList: any): string;
|
|
41
|
-
onValueChanged(): void;
|
|
42
|
-
RemoveRequiredValidation: () => void;
|
|
43
|
-
AddRequiredValidation: () => void;
|
|
44
|
-
RemoveCustomValidation: (CustomValidation: any) => void;
|
|
45
|
-
AddCustomValidation: (CustomValidation: any) => void;
|
|
46
|
-
IsValid: () => void;
|
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HtmlEditorComponent, [null, null, { optional: true; }, null, null, null, null]>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HtmlEditorComponent, "BBSF-HtmlEditor", never, { "group": "group"; "options": "options"; }, { "OnChange": "OnChange"; }, never, never, false, never>;
|
|
49
|
-
}
|
|
1
|
+
import { OnInit, NgZone, EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormGroup, AbstractControl, ControlContainer, FormGroupDirective } from '@angular/forms';
|
|
3
|
+
import { ControlUtility } from '../../Shared/services/ControlUtility';
|
|
4
|
+
import { HtmlEditorOptions } from '../../Shared/Models/HtmlEditorOptions';
|
|
5
|
+
import { AngularEditorConfig } from '@kolkov/angular-editor';
|
|
6
|
+
import { ControlValidationService, UtilityService } from '@bnsights/bbsf-utilities';
|
|
7
|
+
import { GlobalSettings } from '../../Shared/services/GlobalSettings.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class HtmlEditorComponent implements OnInit {
|
|
10
|
+
private zone;
|
|
11
|
+
private controlUtility;
|
|
12
|
+
private controlContainer;
|
|
13
|
+
HtmlEditorControlHost: FormGroupDirective;
|
|
14
|
+
private UtilityService;
|
|
15
|
+
private controlValidationService;
|
|
16
|
+
private globalSettings;
|
|
17
|
+
editorConfig: AngularEditorConfig;
|
|
18
|
+
static controlContainerstatic: any;
|
|
19
|
+
constructor(zone: NgZone, controlUtility: ControlUtility, controlContainer: ControlContainer, HtmlEditorControlHost: FormGroupDirective, UtilityService: UtilityService, controlValidationService: ControlValidationService, globalSettings: GlobalSettings);
|
|
20
|
+
group: FormGroup;
|
|
21
|
+
options: HtmlEditorOptions;
|
|
22
|
+
OnChange: EventEmitter<any>;
|
|
23
|
+
HtmlEditorFormControl: AbstractControl;
|
|
24
|
+
WordCount: number;
|
|
25
|
+
WordCountArray: number;
|
|
26
|
+
markAllAsTouched: boolean;
|
|
27
|
+
Config: any;
|
|
28
|
+
miscList: any;
|
|
29
|
+
styleList: any;
|
|
30
|
+
fontsizeList: any;
|
|
31
|
+
paraList: any;
|
|
32
|
+
insertList: any;
|
|
33
|
+
validationRules: any[];
|
|
34
|
+
validationRulesasync: any[];
|
|
35
|
+
textDir: any;
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
ngAfterViewChecked(): void;
|
|
38
|
+
resetError: () => void;
|
|
39
|
+
showGlobalError(): void;
|
|
40
|
+
getErrorValidation(ErrorList: any): string;
|
|
41
|
+
onValueChanged(): void;
|
|
42
|
+
RemoveRequiredValidation: () => void;
|
|
43
|
+
AddRequiredValidation: () => void;
|
|
44
|
+
RemoveCustomValidation: (CustomValidation: any) => void;
|
|
45
|
+
AddCustomValidation: (CustomValidation: any) => void;
|
|
46
|
+
IsValid: () => void;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HtmlEditorComponent, [null, null, { optional: true; }, null, null, null, null]>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HtmlEditorComponent, "BBSF-HtmlEditor", never, { "group": { "alias": "group"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "OnChange": "OnChange"; }, never, never, false, never>;
|
|
49
|
+
}
|
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
import { OnInit, ElementRef, NgZone, EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormControl, FormGroup, AbstractControl, ControlContainer, FormGroupDirective } from '@angular/forms';
|
|
3
|
-
import { ControlUtility } from '../../Shared/services/ControlUtility';
|
|
4
|
-
import { FileUploader, FileLikeObject } from 'ng2-file-upload';
|
|
5
|
-
import { ImageUploadOptions } from '../../Shared/Models/ImageUploadOptions';
|
|
6
|
-
import { CropperComponent } from 'angular-cropperjs';
|
|
7
|
-
import { ControlValidationService, UtilityService } from '@bnsights/bbsf-utilities';
|
|
8
|
-
import { GlobalSettings } from '../../Shared/services/GlobalSettings.service';
|
|
9
|
-
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class ImageUploaderComponent implements OnInit {
|
|
12
|
-
private zone;
|
|
13
|
-
private controlUtility;
|
|
14
|
-
private controlContainer;
|
|
15
|
-
ImageUplaoderControlHost: FormGroupDirective;
|
|
16
|
-
UtilityService: UtilityService;
|
|
17
|
-
private controlValidationService;
|
|
18
|
-
private globalSettings;
|
|
19
|
-
private modalService;
|
|
20
|
-
static controlContainerstatic: any;
|
|
21
|
-
fileInput: ElementRef;
|
|
22
|
-
files: File[];
|
|
23
|
-
ImageSource: string;
|
|
24
|
-
isSubmitted: boolean;
|
|
25
|
-
group: FormGroup;
|
|
26
|
-
options: ImageUploadOptions;
|
|
27
|
-
OnChange: EventEmitter<any>;
|
|
28
|
-
ImageUploadFormControl: AbstractControl;
|
|
29
|
-
ValidationMessage: string;
|
|
30
|
-
uploader: FileUploader;
|
|
31
|
-
hasAnotherDropZoneOver: boolean;
|
|
32
|
-
AcceptedType: string;
|
|
33
|
-
AcceptedTypeArray: string[];
|
|
34
|
-
ToolTipTypeArray: string[];
|
|
35
|
-
FileLikeObject: FileLikeObject;
|
|
36
|
-
control: FormControl;
|
|
37
|
-
angularCropper: CropperComponent;
|
|
38
|
-
imgUrl: any;
|
|
39
|
-
config: any;
|
|
40
|
-
imageUrl: string;
|
|
41
|
-
imgwUrl: string;
|
|
42
|
-
EventFile: any;
|
|
43
|
-
mdlSampleIsOpen: boolean;
|
|
44
|
-
markAllAsTouched: boolean;
|
|
45
|
-
validationRules: any[];
|
|
46
|
-
validationRulesasync: any[];
|
|
47
|
-
maxFileSize: number;
|
|
48
|
-
constructor(zone: NgZone, controlUtility: ControlUtility, controlContainer: ControlContainer, ImageUplaoderControlHost: FormGroupDirective, UtilityService: UtilityService, controlValidationService: ControlValidationService, globalSettings: GlobalSettings, modalService: NgbModal);
|
|
49
|
-
ngOnInit(): void;
|
|
50
|
-
ngAfterViewInit(): void;
|
|
51
|
-
showImageUploader(element: HTMLElement): void;
|
|
52
|
-
resetError: () => void;
|
|
53
|
-
showGlobalError(): void;
|
|
54
|
-
getErrorValidation(ErrorList: any): string;
|
|
55
|
-
onFileChange(event: any): void;
|
|
56
|
-
removeFromControlValue(event: any): void;
|
|
57
|
-
cropImage(): void;
|
|
58
|
-
getBlobFile(blob: any): void;
|
|
59
|
-
rotateImage(degree: number): void;
|
|
60
|
-
moveImage(offsetX: number, offsetY: number): void;
|
|
61
|
-
zoomImage(ratio: number): void;
|
|
62
|
-
openModal(open: boolean): void;
|
|
63
|
-
RemoveRequiredValidation: () => void;
|
|
64
|
-
AddRequiredValidation: () => void;
|
|
65
|
-
RemoveCustomValidation: (CustomValidation: any) => void;
|
|
66
|
-
AddCustomValidation: (CustomValidation: any) => void;
|
|
67
|
-
IsValid: () => void;
|
|
68
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ImageUploaderComponent, [null, null, { optional: true; }, null, null, null, null, null]>;
|
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImageUploaderComponent, "BBSF-ImageUpload", never, { "group": "group"; "options": "options"; }, { "OnChange": "OnChange"; }, never, never, false, never>;
|
|
70
|
-
}
|
|
1
|
+
import { OnInit, ElementRef, NgZone, EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup, AbstractControl, ControlContainer, FormGroupDirective } from '@angular/forms';
|
|
3
|
+
import { ControlUtility } from '../../Shared/services/ControlUtility';
|
|
4
|
+
import { FileUploader, FileLikeObject } from 'ng2-file-upload';
|
|
5
|
+
import { ImageUploadOptions } from '../../Shared/Models/ImageUploadOptions';
|
|
6
|
+
import { CropperComponent } from 'angular-cropperjs';
|
|
7
|
+
import { ControlValidationService, UtilityService } from '@bnsights/bbsf-utilities';
|
|
8
|
+
import { GlobalSettings } from '../../Shared/services/GlobalSettings.service';
|
|
9
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class ImageUploaderComponent implements OnInit {
|
|
12
|
+
private zone;
|
|
13
|
+
private controlUtility;
|
|
14
|
+
private controlContainer;
|
|
15
|
+
ImageUplaoderControlHost: FormGroupDirective;
|
|
16
|
+
UtilityService: UtilityService;
|
|
17
|
+
private controlValidationService;
|
|
18
|
+
private globalSettings;
|
|
19
|
+
private modalService;
|
|
20
|
+
static controlContainerstatic: any;
|
|
21
|
+
fileInput: ElementRef;
|
|
22
|
+
files: File[];
|
|
23
|
+
ImageSource: string;
|
|
24
|
+
isSubmitted: boolean;
|
|
25
|
+
group: FormGroup;
|
|
26
|
+
options: ImageUploadOptions;
|
|
27
|
+
OnChange: EventEmitter<any>;
|
|
28
|
+
ImageUploadFormControl: AbstractControl;
|
|
29
|
+
ValidationMessage: string;
|
|
30
|
+
uploader: FileUploader;
|
|
31
|
+
hasAnotherDropZoneOver: boolean;
|
|
32
|
+
AcceptedType: string;
|
|
33
|
+
AcceptedTypeArray: string[];
|
|
34
|
+
ToolTipTypeArray: string[];
|
|
35
|
+
FileLikeObject: FileLikeObject;
|
|
36
|
+
control: FormControl;
|
|
37
|
+
angularCropper: CropperComponent;
|
|
38
|
+
imgUrl: any;
|
|
39
|
+
config: any;
|
|
40
|
+
imageUrl: string;
|
|
41
|
+
imgwUrl: string;
|
|
42
|
+
EventFile: any;
|
|
43
|
+
mdlSampleIsOpen: boolean;
|
|
44
|
+
markAllAsTouched: boolean;
|
|
45
|
+
validationRules: any[];
|
|
46
|
+
validationRulesasync: any[];
|
|
47
|
+
maxFileSize: number;
|
|
48
|
+
constructor(zone: NgZone, controlUtility: ControlUtility, controlContainer: ControlContainer, ImageUplaoderControlHost: FormGroupDirective, UtilityService: UtilityService, controlValidationService: ControlValidationService, globalSettings: GlobalSettings, modalService: NgbModal);
|
|
49
|
+
ngOnInit(): void;
|
|
50
|
+
ngAfterViewInit(): void;
|
|
51
|
+
showImageUploader(element: HTMLElement): void;
|
|
52
|
+
resetError: () => void;
|
|
53
|
+
showGlobalError(): void;
|
|
54
|
+
getErrorValidation(ErrorList: any): string;
|
|
55
|
+
onFileChange(event: any): void;
|
|
56
|
+
removeFromControlValue(event: any): void;
|
|
57
|
+
cropImage(): void;
|
|
58
|
+
getBlobFile(blob: any): void;
|
|
59
|
+
rotateImage(degree: number): void;
|
|
60
|
+
moveImage(offsetX: number, offsetY: number): void;
|
|
61
|
+
zoomImage(ratio: number): void;
|
|
62
|
+
openModal(open: boolean): void;
|
|
63
|
+
RemoveRequiredValidation: () => void;
|
|
64
|
+
AddRequiredValidation: () => void;
|
|
65
|
+
RemoveCustomValidation: (CustomValidation: any) => void;
|
|
66
|
+
AddCustomValidation: (CustomValidation: any) => void;
|
|
67
|
+
IsValid: () => void;
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageUploaderComponent, [null, null, { optional: true; }, null, null, null, null, null]>;
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageUploaderComponent, "BBSF-ImageUpload", never, { "group": { "alias": "group"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "OnChange": "OnChange"; }, never, never, false, never>;
|
|
70
|
+
}
|
|
@@ -1,54 +1,70 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
private ngZone;
|
|
14
|
-
private controlUtility;
|
|
15
|
-
private controlContainer;
|
|
16
|
-
|
|
17
|
-
private UtilityService;
|
|
18
|
-
private translate;
|
|
19
|
-
private controlValidationService;
|
|
20
|
-
private globalSettings;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
1
|
+
/// <reference types="google.maps" />
|
|
2
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import { OnInit, NgZone, ElementRef, EventEmitter } from '@angular/core';
|
|
4
|
+
import { ControlUtility } from '../../Shared/services/ControlUtility';
|
|
5
|
+
import { MapAutoCompleteOptions } from '../../Shared/Models/MapAutoCompleteOptions';
|
|
6
|
+
import { MapAutocompleteDTO } from '../../Shared/Models/MapAutocompleteDTO';
|
|
7
|
+
import { BBSFTranslateService, ControlValidationService, UtilityService } from '@bnsights/bbsf-utilities';
|
|
8
|
+
import { GlobalSettings } from '../../Shared/services/GlobalSettings.service';
|
|
9
|
+
import { AbstractControl, ControlContainer, FormGroup, FormGroupDirective } from '@angular/forms';
|
|
10
|
+
import { ScriptService } from 'ngx-script-loader';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class MapAutoCompleteComponent implements OnInit {
|
|
13
|
+
private ngZone;
|
|
14
|
+
private controlUtility;
|
|
15
|
+
private controlContainer;
|
|
16
|
+
mapAutoCompleteControlHost: FormGroupDirective;
|
|
17
|
+
private UtilityService;
|
|
18
|
+
private translate;
|
|
19
|
+
private controlValidationService;
|
|
20
|
+
private globalSettings;
|
|
21
|
+
private scriptService;
|
|
22
|
+
private modalService;
|
|
23
|
+
static controlContainerStatic: any;
|
|
24
|
+
constructor(ngZone: NgZone, controlUtility: ControlUtility, controlContainer: ControlContainer, mapAutoCompleteControlHost: FormGroupDirective, UtilityService: UtilityService, translate: BBSFTranslateService, controlValidationService: ControlValidationService, globalSettings: GlobalSettings, scriptService: ScriptService, modalService: NgbModal);
|
|
25
|
+
group: FormGroup;
|
|
26
|
+
options: MapAutoCompleteOptions;
|
|
27
|
+
OnChange: EventEmitter<any>;
|
|
28
|
+
mapAutoCompleteFormControl: AbstractControl;
|
|
29
|
+
mapAutoCompleteModel: MapAutocompleteDTO;
|
|
30
|
+
currentLanguage: string;
|
|
31
|
+
markAllAsTouched: boolean;
|
|
32
|
+
validationRules: any[];
|
|
33
|
+
validationRulesAsync: any[];
|
|
34
|
+
place: any;
|
|
35
|
+
showMap: boolean;
|
|
36
|
+
markerPosition: any;
|
|
37
|
+
mapCenter: google.maps.LatLngLiteral;
|
|
38
|
+
modalIsOpen: boolean;
|
|
39
|
+
searchElementRef: ElementRef;
|
|
40
|
+
advancedMapModal: any;
|
|
41
|
+
gMap: google.maps.Map;
|
|
42
|
+
markerOptions: google.maps.MarkerOptions;
|
|
43
|
+
selectedPin: any;
|
|
44
|
+
ngOnInit(): void;
|
|
45
|
+
ngAfterViewInit(): void;
|
|
46
|
+
resetError: () => void;
|
|
47
|
+
showGlobalError(): void;
|
|
48
|
+
getErrorValidation(ErrorList: any): string;
|
|
49
|
+
AutocompleteSelected(result: google.maps.places.PlaceResult): void;
|
|
50
|
+
LocationSelected(location: any): void;
|
|
51
|
+
GermanAddressMapped(result: any): void;
|
|
52
|
+
private initializeControlOptions;
|
|
53
|
+
private getPlaceAutocomplete;
|
|
54
|
+
mapScriptLoaded(): void;
|
|
55
|
+
translateValue(key: string): string;
|
|
56
|
+
onMapClick(event: google.maps.MapMouseEvent): Promise<void>;
|
|
57
|
+
addMarker(event: google.maps.MapMouseEvent): void;
|
|
58
|
+
openMapModal(): void;
|
|
59
|
+
closeMapModal(): void;
|
|
60
|
+
getCurrentLocation(): void;
|
|
61
|
+
addSearchBox(): Promise<void>;
|
|
62
|
+
submitSetLocation(): void;
|
|
63
|
+
RemoveRequiredValidation: () => void;
|
|
64
|
+
AddRequiredValidation: () => void;
|
|
65
|
+
RemoveCustomValidation: (CustomValidation: any) => void;
|
|
66
|
+
AddCustomValidation: (CustomValidation: any) => void;
|
|
67
|
+
IsValid: () => void;
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapAutoCompleteComponent, [null, null, { optional: true; }, null, null, null, null, null, null, null]>;
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MapAutoCompleteComponent, "BBSF-MapAutoComplete", never, { "group": { "alias": "group"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "OnChange": "OnChange"; }, never, never, false, never>;
|
|
70
|
+
}
|