@bnsights/bbsf-controls 1.0.110 → 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 +4 -0
- package/esm2022/bnsights-test-test-controls.mjs +5 -0
- package/esm2022/lib/Shared/Enums/map-enums.mjs +7 -0
- package/esm2022/lib/Shared/Models/MapAutoCompleteOptions.mjs +7 -1
- package/esm2022/lib/controls/MapAutoComplete/MapAutoComplete.component.mjs +317 -237
- package/esm2022/lib/controls/ProfileImageUploader/ProfileImageUploader.component.mjs +3 -3
- package/esm2022/lib/controls/bbsf-controls.module.mjs +12 -23
- package/esm2022/public-api.mjs +2 -4
- package/fesm2022/bnsights-bbsf-controls.mjs +366 -283
- package/fesm2022/bnsights-bbsf-controls.mjs.map +1 -1
- package/fesm2022/bnsights-test-test-controls.mjs +9164 -0
- package/fesm2022/bnsights-test-test-controls.mjs.map +1 -0
- package/lib/Shared/Enums/map-enums.d.ts +5 -0
- package/lib/Shared/Models/MapAutoCompleteOptions.d.ts +2 -0
- package/lib/controls/MapAutoComplete/MapAutoComplete.component.d.ts +35 -14
- package/lib/controls/bbsf-controls.module.d.ts +3 -1
- package/package.json +6 -2
- package/public-api.d.ts +1 -0
- package/src/lib/assets/Style-rtl.scss +46 -28
- package/src/lib/assets/images/marker-pin.svg +4 -0
- package/src/lib/assets/sass/base.scss +73 -21
|
@@ -1,49 +1,70 @@
|
|
|
1
|
+
/// <reference types="google.maps" />
|
|
2
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
1
3
|
import { OnInit, NgZone, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormGroup, AbstractControl, ControlContainer, FormGroupDirective } from '@angular/forms';
|
|
3
4
|
import { ControlUtility } from '../../Shared/services/ControlUtility';
|
|
4
5
|
import { MapAutoCompleteOptions } from '../../Shared/Models/MapAutoCompleteOptions';
|
|
5
6
|
import { MapAutocompleteDTO } from '../../Shared/Models/MapAutocompleteDTO';
|
|
6
7
|
import { BBSFTranslateService, ControlValidationService, UtilityService } from '@bnsights/bbsf-utilities';
|
|
7
8
|
import { GlobalSettings } from '../../Shared/services/GlobalSettings.service';
|
|
9
|
+
import { AbstractControl, ControlContainer, FormGroup, FormGroupDirective } from '@angular/forms';
|
|
10
|
+
import { ScriptService } from 'ngx-script-loader';
|
|
8
11
|
import * as i0 from "@angular/core";
|
|
9
12
|
export declare class MapAutoCompleteComponent implements OnInit {
|
|
10
13
|
private ngZone;
|
|
11
14
|
private controlUtility;
|
|
12
15
|
private controlContainer;
|
|
13
|
-
|
|
16
|
+
mapAutoCompleteControlHost: FormGroupDirective;
|
|
14
17
|
private UtilityService;
|
|
15
18
|
private translate;
|
|
16
19
|
private controlValidationService;
|
|
17
20
|
private globalSettings;
|
|
18
|
-
|
|
19
|
-
|
|
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);
|
|
20
25
|
group: FormGroup;
|
|
21
26
|
options: MapAutoCompleteOptions;
|
|
22
27
|
OnChange: EventEmitter<any>;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
onAutocompleteSelected: EventEmitter<any>;
|
|
27
|
-
onGermanAddressMapped: EventEmitter<any>;
|
|
28
|
-
onLocationSelected: EventEmitter<any>;
|
|
29
|
-
searchElementRef: ElementRef;
|
|
28
|
+
mapAutoCompleteFormControl: AbstractControl;
|
|
29
|
+
mapAutoCompleteModel: MapAutocompleteDTO;
|
|
30
|
+
currentLanguage: string;
|
|
30
31
|
markAllAsTouched: boolean;
|
|
31
32
|
validationRules: any[];
|
|
32
|
-
|
|
33
|
+
validationRulesAsync: any[];
|
|
33
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;
|
|
34
44
|
ngOnInit(): void;
|
|
35
45
|
ngAfterViewInit(): void;
|
|
36
46
|
resetError: () => void;
|
|
37
47
|
showGlobalError(): void;
|
|
38
48
|
getErrorValidation(ErrorList: any): string;
|
|
39
|
-
AutocompleteSelected(result:
|
|
49
|
+
AutocompleteSelected(result: google.maps.places.PlaceResult): void;
|
|
40
50
|
LocationSelected(location: any): void;
|
|
41
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;
|
|
42
63
|
RemoveRequiredValidation: () => void;
|
|
43
64
|
AddRequiredValidation: () => void;
|
|
44
65
|
RemoveCustomValidation: (CustomValidation: any) => void;
|
|
45
66
|
AddCustomValidation: (CustomValidation: any) => void;
|
|
46
67
|
IsValid: () => void;
|
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MapAutoCompleteComponent, [null, null, { optional: true; }, null, null, null, null, null]>;
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapAutoCompleteComponent, [null, null, { optional: true; }, null, null, null, null, null, null, null]>;
|
|
48
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>;
|
|
49
70
|
}
|
|
@@ -60,9 +60,11 @@ import * as i57 from "angular-ng-autocomplete";
|
|
|
60
60
|
import * as i58 from "@bnsights/bbsf-utilities";
|
|
61
61
|
import * as i59 from "ng-inline-svg-2";
|
|
62
62
|
import * as i60 from "@sweetalert2/ngx-sweetalert2";
|
|
63
|
+
import * as i61 from "ngx-script-loader";
|
|
64
|
+
import * as i62 from "@angular/google-maps";
|
|
63
65
|
export declare let options: Partial<IConfig> | (() => Partial<IConfig>);
|
|
64
66
|
export declare class BBSFControlsModule {
|
|
65
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<BBSFControlsModule, never>;
|
|
66
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BBSFControlsModule, [typeof i1.DateInputComponent, typeof i2.FileUploadComponent, typeof i3.MultiLingualTextBoxComponent, typeof i4.TextboxComponent, typeof i5.TextAreaComponent, typeof i6.MultiLingualTextAreaComponent, typeof i7.CheckBoxComponent, typeof i8.DropdownListComponent, typeof i9.PhoneComponent, typeof i10.ToggleslideComponent, typeof i11.HtmlEditorComponent, typeof i12.MultiLingualHtmlEditorComponent, typeof i13.ImageUploaderComponent, typeof i14.ProfileImageUploaderComponent, typeof i15.CalendarComponent, typeof i16.MapAutoCompleteComponent, typeof i17.AutocompleteTextBoxComponent, typeof i18.TagsInputComponent, typeof i19.PagingComponent, typeof i20.JwPaginationComponent, typeof i21.RadioButtonComponent, typeof i22.FormComponent, typeof i23.ConfirmationModalComponent, typeof i24.RepeaterComponent, typeof i25.RepeaterFieldBuilderComponent, typeof i26.NgTemplateNameDirective, typeof i27.RepeaterItemFieldComponent, typeof i28.RepeaterTableComponent, typeof i29.BBSFDateTimePipe, typeof i30.BBSFDatePipe, typeof i31.BTagsInputComponent, typeof i32.RecaptchaComponent, typeof i33.PageHeaderComponentComponent], [typeof i34.CommonModule, typeof i35.InfiniteScrollModule, typeof i36.NgSelectModule, typeof i37.FullCalendarModule, typeof i38.AngularCropperjsModule, typeof i39.NgbModule, typeof i40.NgxDropzoneModule, typeof i41.FileUploadModule, typeof i42.NgxMaskDirective, typeof i42.NgxMaskPipe, typeof i43.NgxSummernoteModule, typeof i44.MatSlideToggleModule, typeof i45.NgxIntlTelInputModule, typeof i46.OwlDateTimeModule, typeof i46.OwlNativeDateTimeModule, typeof i34.CommonModule, typeof i47.BlockUIModule, typeof i48.ReactiveFormsModule, typeof i49.RouterModule, typeof i50.ToastrModule, typeof i51.HttpClientModule, typeof i52.OverlayModule, typeof i53.StoreDevtoolsModule, typeof i48.FormsModule, typeof i54.BsDatepickerModule, typeof i55.TypeaheadModule, typeof i56.AngularEditorModule, typeof i57.AutocompleteLibModule, typeof i58.BBSFUtilitiesModule, typeof i59.InlineSVGModule, typeof i60.SweetAlert2Module], [typeof i1.DateInputComponent, typeof i2.FileUploadComponent, typeof i3.MultiLingualTextBoxComponent, typeof i4.TextboxComponent, typeof i5.TextAreaComponent, typeof i6.MultiLingualTextAreaComponent, typeof i7.CheckBoxComponent, typeof i8.DropdownListComponent, typeof i9.PhoneComponent, typeof i10.ToggleslideComponent, typeof i11.HtmlEditorComponent, typeof i12.MultiLingualHtmlEditorComponent, typeof i13.ImageUploaderComponent, typeof i14.ProfileImageUploaderComponent, typeof i15.CalendarComponent, typeof i16.MapAutoCompleteComponent, typeof i17.AutocompleteTextBoxComponent, typeof i18.TagsInputComponent, typeof i19.PagingComponent, typeof i20.JwPaginationComponent, typeof i21.RadioButtonComponent, typeof i22.FormComponent, typeof i19.PagingComponent, typeof i23.ConfirmationModalComponent, typeof i24.RepeaterComponent, typeof i25.RepeaterFieldBuilderComponent, typeof i26.NgTemplateNameDirective, typeof i27.RepeaterItemFieldComponent, typeof i28.RepeaterTableComponent, typeof i29.BBSFDateTimePipe, typeof i30.BBSFDatePipe, typeof i32.RecaptchaComponent, typeof i33.PageHeaderComponentComponent]>;
|
|
68
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BBSFControlsModule, [typeof i1.DateInputComponent, typeof i2.FileUploadComponent, typeof i3.MultiLingualTextBoxComponent, typeof i4.TextboxComponent, typeof i5.TextAreaComponent, typeof i6.MultiLingualTextAreaComponent, typeof i7.CheckBoxComponent, typeof i8.DropdownListComponent, typeof i9.PhoneComponent, typeof i10.ToggleslideComponent, typeof i11.HtmlEditorComponent, typeof i12.MultiLingualHtmlEditorComponent, typeof i13.ImageUploaderComponent, typeof i14.ProfileImageUploaderComponent, typeof i15.CalendarComponent, typeof i16.MapAutoCompleteComponent, typeof i17.AutocompleteTextBoxComponent, typeof i18.TagsInputComponent, typeof i19.PagingComponent, typeof i20.JwPaginationComponent, typeof i21.RadioButtonComponent, typeof i22.FormComponent, typeof i23.ConfirmationModalComponent, typeof i24.RepeaterComponent, typeof i25.RepeaterFieldBuilderComponent, typeof i26.NgTemplateNameDirective, typeof i27.RepeaterItemFieldComponent, typeof i28.RepeaterTableComponent, typeof i29.BBSFDateTimePipe, typeof i30.BBSFDatePipe, typeof i31.BTagsInputComponent, typeof i32.RecaptchaComponent, typeof i33.PageHeaderComponentComponent], [typeof i34.CommonModule, typeof i35.InfiniteScrollModule, typeof i36.NgSelectModule, typeof i37.FullCalendarModule, typeof i38.AngularCropperjsModule, typeof i39.NgbModule, typeof i40.NgxDropzoneModule, typeof i41.FileUploadModule, typeof i42.NgxMaskDirective, typeof i42.NgxMaskPipe, typeof i43.NgxSummernoteModule, typeof i44.MatSlideToggleModule, typeof i45.NgxIntlTelInputModule, typeof i46.OwlDateTimeModule, typeof i46.OwlNativeDateTimeModule, typeof i34.CommonModule, typeof i47.BlockUIModule, typeof i48.ReactiveFormsModule, typeof i49.RouterModule, typeof i50.ToastrModule, typeof i51.HttpClientModule, typeof i52.OverlayModule, typeof i53.StoreDevtoolsModule, typeof i48.FormsModule, typeof i54.BsDatepickerModule, typeof i55.TypeaheadModule, typeof i56.AngularEditorModule, typeof i57.AutocompleteLibModule, typeof i58.BBSFUtilitiesModule, typeof i59.InlineSVGModule, typeof i60.SweetAlert2Module, typeof i61.ScriptLoaderModule, typeof i62.GoogleMapsModule], [typeof i1.DateInputComponent, typeof i2.FileUploadComponent, typeof i3.MultiLingualTextBoxComponent, typeof i4.TextboxComponent, typeof i5.TextAreaComponent, typeof i6.MultiLingualTextAreaComponent, typeof i7.CheckBoxComponent, typeof i8.DropdownListComponent, typeof i9.PhoneComponent, typeof i10.ToggleslideComponent, typeof i11.HtmlEditorComponent, typeof i12.MultiLingualHtmlEditorComponent, typeof i13.ImageUploaderComponent, typeof i14.ProfileImageUploaderComponent, typeof i15.CalendarComponent, typeof i16.MapAutoCompleteComponent, typeof i17.AutocompleteTextBoxComponent, typeof i18.TagsInputComponent, typeof i19.PagingComponent, typeof i20.JwPaginationComponent, typeof i21.RadioButtonComponent, typeof i22.FormComponent, typeof i19.PagingComponent, typeof i23.ConfirmationModalComponent, typeof i24.RepeaterComponent, typeof i25.RepeaterFieldBuilderComponent, typeof i26.NgTemplateNameDirective, typeof i27.RepeaterItemFieldComponent, typeof i28.RepeaterTableComponent, typeof i29.BBSFDateTimePipe, typeof i30.BBSFDatePipe, typeof i32.RecaptchaComponent, typeof i33.PageHeaderComponentComponent]>;
|
|
67
69
|
static ɵinj: i0.ɵɵInjectorDeclaration<BBSFControlsModule>;
|
|
68
70
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bnsights/bbsf-controls",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.111",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/animations": "^17.0.5",
|
|
6
6
|
"@angular/cdk": "^17.0.2",
|
|
@@ -54,7 +54,11 @@
|
|
|
54
54
|
"@types/file-saver": "^2.0.7",
|
|
55
55
|
"@ngrx/store-devtools": "^17.0.1",
|
|
56
56
|
"ngx-bootstrap": "^11.0.2",
|
|
57
|
-
"tslib": "^2.6.2"
|
|
57
|
+
"tslib": "^2.6.2",
|
|
58
|
+
"@types/google.maps": "^3.54.10",
|
|
59
|
+
"@angular/google-maps": "^17.0.3",
|
|
60
|
+
"@googlemaps/js-api-loader": "1.16.2",
|
|
61
|
+
"ngx-script-loader": "^3.0.0"
|
|
58
62
|
},
|
|
59
63
|
"module": "fesm2022/bnsights-bbsf-controls.mjs",
|
|
60
64
|
"typings": "index.d.ts",
|
package/public-api.d.ts
CHANGED
|
@@ -17,12 +17,13 @@
|
|
|
17
17
|
padding-left: 40px;
|
|
18
18
|
padding-right: 1rem;
|
|
19
19
|
|
|
20
|
-
&[dir
|
|
20
|
+
&[dir="ltr"] {
|
|
21
21
|
padding-left: 1rem !important;
|
|
22
22
|
padding-right: 40px !important;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
+
|
|
26
27
|
/* input with icon*/
|
|
27
28
|
.bbsf-left-icon {
|
|
28
29
|
left: auto;
|
|
@@ -30,7 +31,7 @@
|
|
|
30
31
|
margin-left: 0 !important;
|
|
31
32
|
margin-right: 0.7rem;
|
|
32
33
|
|
|
33
|
-
+
|
|
34
|
+
+input {
|
|
34
35
|
padding-right: 2.7rem;
|
|
35
36
|
padding-left: 1rem !important;
|
|
36
37
|
}
|
|
@@ -43,11 +44,12 @@
|
|
|
43
44
|
margin-right: 0;
|
|
44
45
|
|
|
45
46
|
|
|
46
|
-
+
|
|
47
|
+
+input {
|
|
47
48
|
padding-right: 1rem !important;
|
|
48
49
|
padding-left: 2.7rem;
|
|
49
50
|
}
|
|
50
51
|
}
|
|
52
|
+
|
|
51
53
|
//copy to clipboard
|
|
52
54
|
.copy-clipboard {
|
|
53
55
|
left: 0px;
|
|
@@ -60,8 +62,8 @@
|
|
|
60
62
|
|
|
61
63
|
.form-control {
|
|
62
64
|
|
|
63
|
-
&[dir
|
|
64
|
-
|
|
65
|
+
&[dir="ltr"] {
|
|
66
|
+
+.copy-clipboard {
|
|
65
67
|
right: 0px !important;
|
|
66
68
|
left: auto !important;
|
|
67
69
|
border-top-right-radius: $bbsf-rounded;
|
|
@@ -74,24 +76,26 @@
|
|
|
74
76
|
&.is-invalid {
|
|
75
77
|
background-position: left calc(0.375em + 0.1875rem) center;
|
|
76
78
|
|
|
77
|
-
&[dir
|
|
79
|
+
&[dir="ltr"] {
|
|
78
80
|
background-position: left calc(0.375em + 0.3875rem) center;
|
|
79
|
-
}
|
|
80
81
|
}
|
|
81
82
|
}
|
|
82
83
|
}
|
|
83
84
|
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
//checkbox
|
|
88
|
+
.bbsf-checkbox {
|
|
89
|
+
.bbsf-input-container {
|
|
90
|
+
.label-subtext-container {
|
|
91
|
+
margin-top: -4px;
|
|
92
|
+
margin-right: 0.55rem;
|
|
93
|
+
margin-left: 0;
|
|
92
94
|
}
|
|
93
95
|
}
|
|
94
|
-
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
//dropdown
|
|
95
99
|
.bbsf-dropdown.form-group {
|
|
96
100
|
|
|
97
101
|
.bbsf-input-container {
|
|
@@ -104,7 +108,7 @@
|
|
|
104
108
|
.ng-select-container {
|
|
105
109
|
.ng-clear-wrapper {
|
|
106
110
|
margin-left: 30px;
|
|
107
|
-
margin-right:0px;
|
|
111
|
+
margin-right: 0px;
|
|
108
112
|
}
|
|
109
113
|
|
|
110
114
|
.ng-arrow-wrapper {
|
|
@@ -139,21 +143,35 @@
|
|
|
139
143
|
}
|
|
140
144
|
}
|
|
141
145
|
}
|
|
142
|
-
//tags input
|
|
143
|
-
.bbsf-control.form-group.bbsf-tags-input {
|
|
144
|
-
.user-initials {
|
|
145
|
-
margin-left: 10px;
|
|
146
|
-
margin-right: 0px;
|
|
147
|
-
}
|
|
148
146
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
147
|
+
//tags input
|
|
148
|
+
.bbsf-control.form-group.bbsf-tags-input {
|
|
149
|
+
.user-initials {
|
|
150
|
+
margin-left: 10px;
|
|
151
|
+
margin-right: 0px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.tags-input__tag-remove-btn {
|
|
155
|
+
margin-right: 3px;
|
|
156
|
+
margin-left: 0px;
|
|
153
157
|
}
|
|
158
|
+
}
|
|
159
|
+
|
|
154
160
|
//textbox type number arrows
|
|
155
161
|
input::-webkit-outer-spin-button,
|
|
156
162
|
input::-webkit-inner-spin-button {
|
|
157
163
|
margin-left: 30px;
|
|
158
|
-
margin-right:0px;
|
|
164
|
+
margin-right: 0px;
|
|
159
165
|
}
|
|
166
|
+
|
|
167
|
+
.btn-icon-o {
|
|
168
|
+
border-radius: 0.475rem 0 0 0.475rem;
|
|
169
|
+
|
|
170
|
+
&:hover {
|
|
171
|
+
border-radius: 0.475rem 0 0 0.475rem !important;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.form-control.input-icon-o {
|
|
176
|
+
border-radius: 0 0.475rem 0.475rem 0 !important;
|
|
177
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M12 13C13.6569 13 15 11.6569 15 10C15 8.34315 13.6569 7 12 7C10.3431 7 9 8.34315 9 10C9 11.6569 10.3431 13 12 13Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path d="M12 22C16 18 20 14.4183 20 10C20 5.58172 16.4183 2 12 2C7.58172 2 4 5.58172 4 10C4 14.4183 8 18 12 22Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
</svg>
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
.bbsf-multilang-form-group {
|
|
3
3
|
margin-bottom: 1.75rem;
|
|
4
4
|
}
|
|
5
|
+
|
|
5
6
|
.bbsf-control.form-group {
|
|
6
7
|
margin-bottom: 1.75rem;
|
|
7
8
|
|
|
@@ -17,10 +18,12 @@
|
|
|
17
18
|
position: relative;
|
|
18
19
|
|
|
19
20
|
&.p-40px {
|
|
20
|
-
|
|
21
|
+
|
|
22
|
+
input,
|
|
23
|
+
textarea {
|
|
21
24
|
padding-right: 40px;
|
|
22
25
|
|
|
23
|
-
&[dir
|
|
26
|
+
&[dir="rtl"] {
|
|
24
27
|
padding-left: 40px !important;
|
|
25
28
|
padding-right: 1rem !important;
|
|
26
29
|
}
|
|
@@ -46,13 +49,13 @@
|
|
|
46
49
|
&.is-invalid {
|
|
47
50
|
background-position: right calc(0.375em + 0.3875rem) center;
|
|
48
51
|
|
|
49
|
-
&[dir
|
|
52
|
+
&[dir="rtl"] {
|
|
50
53
|
background-position: left calc(0.375em + 0.3875rem) center;
|
|
51
54
|
}
|
|
52
55
|
}
|
|
53
56
|
|
|
54
|
-
&[dir
|
|
55
|
-
|
|
57
|
+
&[dir="rtl"] {
|
|
58
|
+
+.copy-clipboard {
|
|
56
59
|
left: 0px;
|
|
57
60
|
right: auto;
|
|
58
61
|
border-top-left-radius: $bbsf-rounded;
|
|
@@ -67,6 +70,7 @@
|
|
|
67
70
|
border-color: #d5d5d5;
|
|
68
71
|
box-shadow: none;
|
|
69
72
|
}
|
|
73
|
+
|
|
70
74
|
/* input with icon*/
|
|
71
75
|
.bbsf-icon {
|
|
72
76
|
z-index: 4;
|
|
@@ -87,7 +91,7 @@
|
|
|
87
91
|
left: 0px;
|
|
88
92
|
margin-left: 0.7rem !important;
|
|
89
93
|
|
|
90
|
-
+
|
|
94
|
+
+input {
|
|
91
95
|
padding-left: 2.7rem !important;
|
|
92
96
|
}
|
|
93
97
|
}
|
|
@@ -99,10 +103,11 @@
|
|
|
99
103
|
right: 0px;
|
|
100
104
|
margin-right: 0.7rem !important;
|
|
101
105
|
|
|
102
|
-
+
|
|
106
|
+
+input {
|
|
103
107
|
padding-right: 2.7rem !important;
|
|
104
108
|
}
|
|
105
109
|
}
|
|
110
|
+
|
|
106
111
|
//copy to clipboard
|
|
107
112
|
.copy-clipboard {
|
|
108
113
|
position: absolute;
|
|
@@ -117,7 +122,7 @@
|
|
|
117
122
|
height: 100%;
|
|
118
123
|
display: flex;
|
|
119
124
|
align-items: center;
|
|
120
|
-
cursor:pointer;
|
|
125
|
+
cursor: pointer;
|
|
121
126
|
|
|
122
127
|
i {
|
|
123
128
|
color: #8b8b8b;
|
|
@@ -128,6 +133,7 @@
|
|
|
128
133
|
}
|
|
129
134
|
}
|
|
130
135
|
}
|
|
136
|
+
|
|
131
137
|
/* horizontal form control*/
|
|
132
138
|
.bbsf-horizontal {
|
|
133
139
|
display: flex;
|
|
@@ -159,38 +165,48 @@
|
|
|
159
165
|
display: flex;
|
|
160
166
|
justify-content: space-between;
|
|
161
167
|
flex-wrap: wrap;
|
|
168
|
+
|
|
162
169
|
//validation
|
|
163
|
-
.bbsf-validation,
|
|
170
|
+
.bbsf-validation,
|
|
171
|
+
.bbsf-character-count,
|
|
172
|
+
.bbsf-word-count,
|
|
173
|
+
.bbsf-control-desc {
|
|
164
174
|
margin-top: 0.3rem;
|
|
165
175
|
font-size: 12px;
|
|
166
176
|
font-weight: 500;
|
|
167
177
|
}
|
|
168
178
|
|
|
169
|
-
.bbsf-validation,
|
|
179
|
+
.bbsf-validation,
|
|
180
|
+
.bbsf-character-count {
|
|
170
181
|
color: $danger;
|
|
171
182
|
}
|
|
183
|
+
|
|
172
184
|
//word count and description
|
|
173
|
-
.bbsf-word-count,
|
|
185
|
+
.bbsf-word-count,
|
|
186
|
+
.bbsf-control-desc {
|
|
174
187
|
color: $subtext-color;
|
|
175
188
|
}
|
|
176
189
|
}
|
|
177
190
|
}
|
|
178
|
-
//buttons
|
|
179
191
|
|
|
180
|
-
|
|
181
|
-
background: $primary;
|
|
182
|
-
color: white;
|
|
183
|
-
border: $primary;
|
|
192
|
+
//buttons
|
|
184
193
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
194
|
+
.btn-brand {
|
|
195
|
+
background: $primary;
|
|
196
|
+
color: white;
|
|
197
|
+
border: $primary;
|
|
198
|
+
|
|
199
|
+
&:hover {
|
|
200
|
+
background: #3781d2;
|
|
201
|
+
color: white;
|
|
189
202
|
}
|
|
190
|
-
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
//toggle
|
|
191
206
|
.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb {
|
|
192
207
|
background-color: $primary;
|
|
193
208
|
}
|
|
209
|
+
|
|
194
210
|
.mat-slide-toggle.mat-checked .mat-slide-toggle-bar {
|
|
195
211
|
background-color: #e3e3e3
|
|
196
212
|
}
|
|
@@ -208,3 +224,39 @@ input::-webkit-inner-spin-button {
|
|
|
208
224
|
color: #5E6278;
|
|
209
225
|
font-size: 1rem;
|
|
210
226
|
}
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
.google-map-container {
|
|
230
|
+
width: 100%;
|
|
231
|
+
height: 100%;
|
|
232
|
+
|
|
233
|
+
.map-container {
|
|
234
|
+
height: 500px;
|
|
235
|
+
width: 100%;
|
|
236
|
+
position: relative;
|
|
237
|
+
overflow: hidden;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.btn-icon-o {
|
|
242
|
+
padding: 8px;
|
|
243
|
+
background: #eeeeee;
|
|
244
|
+
box-shadow: none;
|
|
245
|
+
border-radius: 0 0.475rem 0.475rem 0;
|
|
246
|
+
|
|
247
|
+
&:hover {
|
|
248
|
+
border-radius: 0 0.475rem 0.475rem 0 !important;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.form-control.input-icon-o {
|
|
253
|
+
border-radius: 0.475rem 0 0 0.475rem !important;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.btn-check:checked+.btn-icon-o.btn-secondary:focus,
|
|
257
|
+
.btn-check:active+.btn-icon-o.btn-secondary:focus,
|
|
258
|
+
.btn-icon-o.btn-secondary:active:focus,
|
|
259
|
+
.btn-icon-o.btn-secondary.active:focus,
|
|
260
|
+
.show>.btn-icon-o.btn-secondary.dropdown-toggle:focus {
|
|
261
|
+
box-shadow: none;
|
|
262
|
+
}
|