@bnsights/bbsf-controls 1.0.73 → 1.0.74
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/bnsights-bbsf-controls-1.0.74.tgz +0 -0
- package/bnsights-bbsf-controls.metadata.json +1 -1
- package/bundles/bnsights-bbsf-controls.umd.js +14 -23
- package/bundles/bnsights-bbsf-controls.umd.js.map +1 -1
- package/esm2015/lib/controls/AutocompleteTextBox/AutocompleteTextBox.component.js +2 -3
- package/esm2015/lib/controls/FileUplaod/FileUplaod.component.js +2 -3
- package/esm2015/lib/controls/HtmlEditor/HtmlEditor.component.js +2 -3
- package/esm2015/lib/controls/ImageUpload/ImageUpload.component.js +2 -2
- package/esm2015/lib/controls/MapAutoComplete/MapAutoComplete.component.js +2 -3
- package/esm2015/lib/controls/MultiLingualHtmlEditor/MultiLingualHtmlEditor.component.js +2 -3
- package/esm2015/lib/controls/MultiLingualTextArea/MultiLingualTextArea.component.js +2 -2
- package/esm2015/lib/controls/MultiLingualTextBox/MultiLingualTextBox.component.js +2 -2
- package/esm2015/lib/controls/Phone/Phone.component.js +2 -3
- package/esm2015/lib/controls/ProfileImageUploader/ProfileImageUploader.component.js +3 -4
- package/esm2015/lib/controls/RadioButton/RadioButton.component.js +2 -3
- package/esm2015/lib/controls/Recaptcha/Recaptcha.component.js +2 -2
- package/esm2015/lib/controls/Toggleslide/toggleslide.component.js +2 -3
- package/fesm2015/bnsights-bbsf-controls.js +14 -23
- package/fesm2015/bnsights-bbsf-controls.js.map +1 -1
- package/lib/controls/ProfileImageUploader/ProfileImageUploader.component.d.ts +1 -1
- package/package.json +1 -1
- package/src/lib/assets/Style-rtl.scss +1 -1
- package/src/lib/assets/Style.scss +18 -8
- package/src/lib/assets/images/user.svg +5 -0
- package/src/lib/assets/sass/autocomplete-textbox.scss +122 -0
- package/src/lib/assets/sass/base.scss +13 -0
- package/src/lib/assets/sass/file-upload.scss +34 -0
- package/src/lib/assets/sass/html-editor.scss +36 -0
- package/src/lib/assets/sass/image-upload.scss +40 -16
- package/src/lib/assets/sass/phone.scss +25 -0
- package/src/lib/assets/sass/radio-button.scss +49 -0
- package/bnsights-bbsf-controls-1.0.73.tgz +0 -0
|
@@ -12,7 +12,7 @@ export declare class ProfileImageUploaderComponent implements OnInit {
|
|
|
12
12
|
private controlUtility;
|
|
13
13
|
private controlContainer;
|
|
14
14
|
ProfileImageUploaderControlHost: FormGroupDirective;
|
|
15
|
-
|
|
15
|
+
UtilityService: UtilityService;
|
|
16
16
|
private controlValidationService;
|
|
17
17
|
private globalSettings;
|
|
18
18
|
static controlContainerstatic: any;
|
package/package.json
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
//angular material
|
|
2
|
+
@import '~@angular/material/prebuilt-themes/deeppurple-amber.css';
|
|
3
|
+
//fontawesome
|
|
4
|
+
@import "fontawesome/fontawesome.scss";
|
|
5
|
+
//toaster
|
|
6
|
+
@import'~ngx-toastr/toastr.css';
|
|
7
|
+
//date picker
|
|
8
|
+
@import'~ng-pick-datetime/assets/style/picker.min.css';
|
|
9
|
+
//phone
|
|
10
|
+
@import'~intl-tel-input/build/css/intlTelInput.css';
|
|
11
|
+
//custom
|
|
2
12
|
@import "sass/base.scss";
|
|
3
13
|
@import"sass/textarea.scss";
|
|
4
14
|
@import"sass/checkbox.scss";
|
|
@@ -8,11 +18,11 @@
|
|
|
8
18
|
@import"sass/paging.scss";
|
|
9
19
|
@import"sass/repeater.scss";
|
|
10
20
|
@import"sass/confirmation-modal.scss";
|
|
11
|
-
@import
|
|
21
|
+
@import"sass/datetime-picker.scss";
|
|
22
|
+
@import"sass/autocomplete-textbox.scss";
|
|
23
|
+
@import"sass/html-editor.scss";
|
|
24
|
+
@import"sass/phone.scss";
|
|
25
|
+
@import"sass/radio-button.scss";
|
|
26
|
+
@import"sass/file-upload.scss";
|
|
27
|
+
|
|
12
28
|
|
|
13
|
-
//fontawesome
|
|
14
|
-
@import "fontawesome/fontawesome.scss";
|
|
15
|
-
//toaster
|
|
16
|
-
@import'~ngx-toastr/toastr.css';
|
|
17
|
-
//date picker
|
|
18
|
-
@import'~ng-pick-datetime/assets/style/picker.min.css';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="900" height="900" viewBox="0 0 900 900" fill="none">
|
|
2
|
+
<rect width="900" height="900" fill="#F8FBFF"></rect>
|
|
3
|
+
<path d="M450.5 195C376.206 195 315.764 255.443 315.764 329.736C315.764 404.03 376.206 464.473 450.5 464.473C524.794 464.473 585.236 404.03 585.236 329.736C585.236 255.443 524.794 195 450.5 195Z" fill="#DCE5F1"></path>
|
|
4
|
+
<path d="M618.138 552.495C581.25 515.041 532.349 494.414 480.441 494.414H420.559C368.652 494.414 319.75 515.041 282.862 552.495C246.155 589.766 225.939 638.964 225.939 691.029C225.939 699.297 232.642 706 240.91 706H660.09C668.358 706 675.061 699.297 675.061 691.029C675.061 638.964 654.845 589.766 618.138 552.495Z" fill="#DCE5F1"></path>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
|
|
2
|
+
.form-group.bbsf-control.bbsf-autocomplete-textbox {
|
|
3
|
+
.bbsf-input-container {
|
|
4
|
+
.form-control {
|
|
5
|
+
padding: 0;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.ng-autocomplete {
|
|
9
|
+
width: auto;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.autocomplete-container {
|
|
13
|
+
box-shadow: unset;
|
|
14
|
+
height: inherit;
|
|
15
|
+
|
|
16
|
+
.complete-selected {
|
|
17
|
+
background-color: unset;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.is-hidden {
|
|
21
|
+
|
|
22
|
+
+ .is-visible {
|
|
23
|
+
box-shadow: none;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.suggestions-container.is-visible {
|
|
28
|
+
box-shadow: 0px 0px 11px 3px rgb(92 92 92 / 10%);
|
|
29
|
+
border-radius: $bbsf-rounded;
|
|
30
|
+
left: 0px;
|
|
31
|
+
background-color: white;
|
|
32
|
+
top: 44px;
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
ul {
|
|
36
|
+
li.item {
|
|
37
|
+
padding: 0.75rem 1.25rem;
|
|
38
|
+
margin-bottom: 0.1rem;
|
|
39
|
+
|
|
40
|
+
a {
|
|
41
|
+
padding: 0px;
|
|
42
|
+
font-size: 13px;
|
|
43
|
+
color: #484848;
|
|
44
|
+
font-weight: 500;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
div {
|
|
48
|
+
display: flex;
|
|
49
|
+
align-items: center;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&:hover {
|
|
53
|
+
background-color: #f6f6f6;
|
|
54
|
+
|
|
55
|
+
a {
|
|
56
|
+
color: $primary;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.x {
|
|
61
|
+
display: flex;
|
|
62
|
+
align-items: center;
|
|
63
|
+
justify-content: center;
|
|
64
|
+
|
|
65
|
+
i {
|
|
66
|
+
font-size: 12px;
|
|
67
|
+
font-weight: 600;
|
|
68
|
+
color: #f17676;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
img {
|
|
73
|
+
border-radius: 10px;
|
|
74
|
+
height: 35px;
|
|
75
|
+
width: 35px;
|
|
76
|
+
margin-right: 10px;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.heading {
|
|
83
|
+
color: #a0a0a0;
|
|
84
|
+
|
|
85
|
+
.x {
|
|
86
|
+
.material-icons {
|
|
87
|
+
color: #e1505e;
|
|
88
|
+
font-size: 14px;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.input-container {
|
|
95
|
+
height: inherit;
|
|
96
|
+
|
|
97
|
+
input {
|
|
98
|
+
padding: 0.75rem 1rem;
|
|
99
|
+
background-color: transparent;
|
|
100
|
+
border-radius: $bbsf-rounded;
|
|
101
|
+
height: inherit;
|
|
102
|
+
|
|
103
|
+
&:disabled {
|
|
104
|
+
background-color: #eee !important;
|
|
105
|
+
cursor: not-allowed;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.x {
|
|
110
|
+
display: flex;
|
|
111
|
+
align-items: center;
|
|
112
|
+
justify-content: center;
|
|
113
|
+
|
|
114
|
+
i {
|
|
115
|
+
font-size: 12px;
|
|
116
|
+
font-weight: 600;
|
|
117
|
+
color: #f17676;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -27,6 +27,10 @@
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
input:disabled {
|
|
31
|
+
cursor: not-allowed !important;
|
|
32
|
+
}
|
|
33
|
+
|
|
30
34
|
.form-control {
|
|
31
35
|
border-color: $light-gray;
|
|
32
36
|
padding: 0.75rem 1rem;
|
|
@@ -182,3 +186,12 @@
|
|
|
182
186
|
color: white;
|
|
183
187
|
}
|
|
184
188
|
}
|
|
189
|
+
//toggle
|
|
190
|
+
.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb {
|
|
191
|
+
background-color: $primary;
|
|
192
|
+
}
|
|
193
|
+
.mat-slide-toggle.mat-checked .mat-slide-toggle-bar {
|
|
194
|
+
background-color: #e3e3e3
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
.form-group.bbsf-control.bbsf-file-upload {
|
|
2
|
+
.uploaded-items {
|
|
3
|
+
.btn-group {
|
|
4
|
+
.btn-download-file {
|
|
5
|
+
background: #f7f7f7;
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
|
|
9
|
+
&:hover {
|
|
10
|
+
background: #ebebeb;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
svg {
|
|
14
|
+
color: #8f8f8f;
|
|
15
|
+
width: 18px;
|
|
16
|
+
height: 18px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.file-name {
|
|
20
|
+
font-size: 12px;
|
|
21
|
+
color: #4f4f4f;
|
|
22
|
+
font-weight: 600;
|
|
23
|
+
margin-left: 0.75rem;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.btn-danger {
|
|
29
|
+
display: flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
.form-group.bbsf-control.bbsf-htmleditor, .form-group.bbsf-control.bbsf-multilang-htmleditor {
|
|
3
|
+
.bbsf-input-container {
|
|
4
|
+
.angular-editor {
|
|
5
|
+
.angular-editor-toolbar {
|
|
6
|
+
background-color: #f3f3f3;
|
|
7
|
+
font-size: 12px;
|
|
8
|
+
border: 1px solid #e1e1e1;
|
|
9
|
+
padding: 15px 10px;
|
|
10
|
+
border-radius: 0.5rem;
|
|
11
|
+
|
|
12
|
+
.angular-editor-button {
|
|
13
|
+
border-radius: 0.2rem;
|
|
14
|
+
margin-right: 0.2rem;
|
|
15
|
+
|
|
16
|
+
.fa {
|
|
17
|
+
color: #545353;
|
|
18
|
+
font-size: 12px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.color-label.background {
|
|
22
|
+
background: #dcdcdc;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.angular-editor-wrapper {
|
|
28
|
+
.angular-editor-textarea {
|
|
29
|
+
border: 1px solid #dedede;
|
|
30
|
+
margin-top: 10px;
|
|
31
|
+
border-radius: 0.5rem;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
.bbsf-image-upload {
|
|
1
|
+
.form-group.bbsf-control.bbsf-image-upload, .form-group.bbsf-control.bbsf-file-upload, .form-group.bbsf-control.bbsf-profile-image-upload {
|
|
2
2
|
.bbsf-input-container {
|
|
3
|
-
&.ngx-dz-disabled {
|
|
4
|
-
cursor: not-allowed;
|
|
5
|
-
pointer-events: auto;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
3
|
height: 140px;
|
|
9
4
|
display: flex;
|
|
10
5
|
justify-content: center;
|
|
@@ -12,16 +7,9 @@
|
|
|
12
7
|
border-radius: $bbsf-rounded;
|
|
13
8
|
align-items: center;
|
|
14
9
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
align-items: center;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.bbsf-validation-msg {
|
|
22
|
-
margin-top: 0.3rem;
|
|
23
|
-
font-size: 12px;
|
|
24
|
-
font-weight: 500;
|
|
10
|
+
&.ngx-dz-disabled {
|
|
11
|
+
cursor: not-allowed;
|
|
12
|
+
pointer-events: auto;
|
|
25
13
|
}
|
|
26
14
|
|
|
27
15
|
.dropzone-preview {
|
|
@@ -35,6 +23,42 @@
|
|
|
35
23
|
}
|
|
36
24
|
}
|
|
37
25
|
|
|
26
|
+
.uploaded-items {
|
|
27
|
+
display: flex;
|
|
28
|
+
align-items: center;
|
|
29
|
+
flex-wrap: wrap;
|
|
30
|
+
|
|
31
|
+
.btn-group {
|
|
32
|
+
margin-top: 0.8rem;
|
|
33
|
+
margin-right: 0.4rem;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.btn-group:last-child {
|
|
37
|
+
margin:0rem;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.svg-and-validation {
|
|
42
|
+
display: flex;
|
|
43
|
+
flex-direction: column;
|
|
44
|
+
align-items: center;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.bbsf-validation-msg {
|
|
48
|
+
margin-top: 0.3rem;
|
|
49
|
+
font-size: 12px;
|
|
50
|
+
font-weight: 600;
|
|
51
|
+
color: #717386;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.profile-upload-img {
|
|
55
|
+
height: 120px;
|
|
56
|
+
width: 120px;
|
|
57
|
+
border-radius: $bbsf-rounded;
|
|
58
|
+
border: 1px dashed #c8c8c8;
|
|
59
|
+
padding: 5px;
|
|
60
|
+
}
|
|
61
|
+
|
|
38
62
|
.bbsf-cropper-modal {
|
|
39
63
|
&.modal {
|
|
40
64
|
left: 0;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
|
|
2
|
+
.form-group.bbsf-control.bbsf-phone {
|
|
3
|
+
.bbsf-input-container {
|
|
4
|
+
.form-control {
|
|
5
|
+
padding: 0px;
|
|
6
|
+
|
|
7
|
+
.iti.iti--allow-dropdown {
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 100%;
|
|
10
|
+
padding: 0.75rem 1rem;
|
|
11
|
+
|
|
12
|
+
input {
|
|
13
|
+
border: 0px;
|
|
14
|
+
width: 100%;
|
|
15
|
+
background: transparent;
|
|
16
|
+
padding-left: 35px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
input:focus-visible {
|
|
20
|
+
outline: none;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
|
|
2
|
+
.form-group.bbsf-control.bbsf-radio-button {
|
|
3
|
+
.bbsf-input-container {
|
|
4
|
+
.radio-container {
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
margin-bottom: 1rem;
|
|
8
|
+
|
|
9
|
+
input[type="radio"] {
|
|
10
|
+
-webkit-appearance: none;
|
|
11
|
+
appearance: none;
|
|
12
|
+
background-color: white;
|
|
13
|
+
margin: 0;
|
|
14
|
+
font: inherit;
|
|
15
|
+
width: 1.15em;
|
|
16
|
+
height: 1.15em;
|
|
17
|
+
border: 0.1rem solid #989898;
|
|
18
|
+
border-radius: 50%;
|
|
19
|
+
display: grid;
|
|
20
|
+
place-content: center;
|
|
21
|
+
margin-right: 0.5rem;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
input[type="radio"]::before {
|
|
25
|
+
content: "";
|
|
26
|
+
width: 0.65em;
|
|
27
|
+
height: 0.65em;
|
|
28
|
+
border-radius: 50%;
|
|
29
|
+
transform: scale(0);
|
|
30
|
+
transition: 120ms transform ease-in-out;
|
|
31
|
+
background-color: $primary;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
input[type="radio"]:checked::before {
|
|
35
|
+
transform: scale(1);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
input[type="radio"]:checked {
|
|
39
|
+
border: 0.1rem solid $primary;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.radio-input-label {
|
|
43
|
+
font-size: 14px;
|
|
44
|
+
font-weight: 600;
|
|
45
|
+
color: $label-color;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
Binary file
|