@apipass/inputs 0.2.16 → 1.0.1
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/ace-editor/component.d.ts +52 -52
- package/ace-editor/directive.d.ts +39 -39
- package/assets/css/colors.scss +34 -34
- package/assets/css/fonts.scss +24 -24
- package/assets/css/inputs.scss +245 -197
- package/assets/css/pt_sans.scss +143 -143
- package/assets/css/spacing.scss +28 -28
- package/assets/css/texts.scss +18 -18
- package/custom-select/custom-select-item.d.ts +5 -5
- package/custom-select/custom-select.component.d.ts +51 -51
- package/debounce-model-directive/debouceInput.directive.d.ts +14 -14
- package/{esm2015/ace-editor/component.js → esm2020/ace-editor/component.mjs} +199 -204
- package/{esm2015/ace-editor/directive.js → esm2020/ace-editor/directive.mjs} +150 -150
- package/{esm2015/apipass-inputs.js → esm2020/apipass-inputs.mjs} +4 -4
- package/{esm2015/custom-select/custom-select-item.js → esm2020/custom-select/custom-select-item.mjs} +7 -7
- package/esm2020/custom-select/custom-select.component.mjs +204 -0
- package/esm2020/debounce-model-directive/debouceInput.directive.mjs +31 -0
- package/esm2020/field/field.component.mjs +51 -0
- package/esm2020/input-avatar/input-avatar.component.mjs +92 -0
- package/esm2020/input-boolean/input-boolean.component.mjs +56 -0
- package/esm2020/input-file/input-file.component.mjs +82 -0
- package/esm2020/input-number/input-number.component.mjs +62 -0
- package/esm2020/input-password/input-password.component.mjs +96 -0
- package/esm2020/input-text/input-text.component.mjs +62 -0
- package/esm2020/inputs.module.mjs +149 -0
- package/{esm2015/public-api.js → esm2020/public-api.mjs} +17 -17
- package/{esm2015/select-box/mat-select-infinite-scroll.directive.js → esm2020/select-box/mat-select-infinite-scroll.directive.mjs} +86 -86
- package/esm2020/select-box/select-box.component.mjs +220 -0
- package/esm2020/select-enum/select-enum.component.mjs +48 -0
- package/esm2020/select-interpolation/select-interpolation.component.mjs +169 -0
- package/{esm2015/value-acessor-base.js → esm2020/value-acessor-base.mjs} +31 -31
- package/fesm2015/apipass-inputs.mjs +1704 -0
- package/fesm2015/apipass-inputs.mjs.map +1 -0
- package/fesm2020/apipass-inputs.mjs +1697 -0
- package/fesm2020/apipass-inputs.mjs.map +1 -0
- package/field/field.component.d.ts +15 -15
- package/{apipass-inputs.d.ts → index.d.ts} +5 -5
- package/input-avatar/input-avatar.component.d.ts +29 -29
- package/input-boolean/input-boolean.component.d.ts +15 -15
- package/input-file/input-file.component.d.ts +31 -31
- package/input-number/input-number.component.d.ts +17 -17
- package/input-password/input-password.component.d.ts +29 -29
- package/input-text/input-text.component.d.ts +17 -17
- package/inputs.module.d.ts +36 -36
- package/package.json +38 -29
- package/public-api.d.ts +16 -16
- package/select-box/mat-select-infinite-scroll.directive.d.ts +26 -26
- package/select-box/select-box.component.d.ts +57 -57
- package/select-enum/select-enum.component.d.ts +12 -12
- package/select-interpolation/select-interpolation.component.d.ts +44 -44
- package/value-acessor-base.d.ts +13 -13
- package/assets/css/buttons.scss +0 -118
- package/bundles/apipass-inputs.umd.js +0 -3060
- package/bundles/apipass-inputs.umd.js.map +0 -1
- package/bundles/apipass-inputs.umd.min.js +0 -16
- package/bundles/apipass-inputs.umd.min.js.map +0 -1
- package/esm2015/custom-select/custom-select.component.js +0 -310
- package/esm2015/debounce-model-directive/debouceInput.directive.js +0 -31
- package/esm2015/field/field.component.js +0 -92
- package/esm2015/input-avatar/input-avatar.component.js +0 -167
- package/esm2015/input-boolean/input-boolean.component.js +0 -77
- package/esm2015/input-file/input-file.component.js +0 -133
- package/esm2015/input-number/input-number.component.js +0 -118
- package/esm2015/input-password/input-password.component.js +0 -159
- package/esm2015/input-text/input-text.component.js +0 -118
- package/esm2015/inputs.module.js +0 -155
- package/esm2015/select-box/select-box.component.js +0 -367
- package/esm2015/select-enum/select-enum.component.js +0 -95
- package/esm2015/select-interpolation/select-interpolation.component.js +0 -248
- package/fesm2015/apipass-inputs.js +0 -2434
- package/fesm2015/apipass-inputs.js.map +0 -1
package/assets/css/inputs.scss
CHANGED
|
@@ -1,197 +1,245 @@
|
|
|
1
|
-
@import "colors";
|
|
2
|
-
@import "fonts";
|
|
3
|
-
@import "spacing";
|
|
4
|
-
|
|
5
|
-
/* Default Inputs */
|
|
6
|
-
.mat-
|
|
7
|
-
display: none;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.mat-form-field-appearance-fill .
|
|
11
|
-
display: flex!important;
|
|
12
|
-
align-items: center!important;
|
|
13
|
-
border: 1px solid var(--color-inputs-border) !important;
|
|
14
|
-
background: var(--color-inputs-background) !important;
|
|
15
|
-
border-radius: 6px !important;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.mat-form-field-infix {
|
|
19
|
-
padding: 0 !important;
|
|
20
|
-
display: flex!important;
|
|
21
|
-
align-items: center!important;
|
|
22
|
-
border-top: none!important;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.mat-select-arrow-wrapper {
|
|
26
|
-
display: flex!important;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.mat-icon-button {
|
|
30
|
-
width: auto!important;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.no-border {
|
|
34
|
-
.
|
|
35
|
-
border: none !important;
|
|
36
|
-
input {
|
|
37
|
-
padding: 1px;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.mat-form-field-label-wrapper {
|
|
43
|
-
top: -10px;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.mat-form-field-should-float .mat-form-field-label-wrapper {
|
|
47
|
-
font-size: $base-font-size;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.placeholder-primary {
|
|
51
|
-
.mat-form-field-label-wrapper {
|
|
52
|
-
color: var(--color-primary) !important;
|
|
53
|
-
label {
|
|
54
|
-
color: var(--color-primary) !important;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
::ng-deep .mat-form-field-placeholder, .mat-form-field-placeholder {
|
|
58
|
-
color: var(--color-primary) !important;
|
|
59
|
-
}
|
|
60
|
-
::ng-deep .mat-focused .mat-form-field-placeholder, .mat-focused .mat-form-field-placeholder {
|
|
61
|
-
color: var(--color-primary) !important;
|
|
62
|
-
}
|
|
63
|
-
input {
|
|
64
|
-
::-webkit-input-placeholder { /* Edge */
|
|
65
|
-
color: var(--color-primary) !important;
|
|
66
|
-
}
|
|
67
|
-
:-ms-input-placeholder { /* Internet Explorer 10-11 */
|
|
68
|
-
color: var(--color-primary) !important;
|
|
69
|
-
}
|
|
70
|
-
::placeholder {
|
|
71
|
-
color: var(--color-primary) !important;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.placeholder-bold {
|
|
77
|
-
.mat-form-field-label-wrapper {
|
|
78
|
-
font-weight: bold !important;
|
|
79
|
-
label {
|
|
80
|
-
font-weight: bold !important;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
::ng-deep .mat-form-field-placeholder, .mat-form-field-placeholder {
|
|
84
|
-
font-weight: bold !important;
|
|
85
|
-
}
|
|
86
|
-
::ng-deep .mat-focused .mat-form-field-placeholder, .mat-focused .mat-form-field-placeholder {
|
|
87
|
-
font-weight: bold !important;
|
|
88
|
-
}
|
|
89
|
-
input {
|
|
90
|
-
::-webkit-input-placeholder { /* Edge */
|
|
91
|
-
font-weight: bold !important;
|
|
92
|
-
}
|
|
93
|
-
:-ms-input-placeholder { /* Internet Explorer 10-11 */
|
|
94
|
-
font-weight: bold !important;
|
|
95
|
-
}
|
|
96
|
-
::placeholder {
|
|
97
|
-
font-weight: bold !important;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
/* Inputs */
|
|
103
|
-
.apipass-input-text {
|
|
104
|
-
width: 100%;
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
.
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
.apipass-
|
|
171
|
-
width: 100%;
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
}
|
|
197
|
-
|
|
1
|
+
@import "colors";
|
|
2
|
+
@import "fonts";
|
|
3
|
+
@import "spacing";
|
|
4
|
+
|
|
5
|
+
/* Default Inputs */
|
|
6
|
+
.mat-mdc-form-field-subscript-wrapper {
|
|
7
|
+
display: none;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.mat-form-field-appearance-fill .mdc-text-field {
|
|
11
|
+
display: flex!important;
|
|
12
|
+
align-items: center!important;
|
|
13
|
+
border: 1px solid var(--color-inputs-border) !important;
|
|
14
|
+
background: var(--color-inputs-background) !important;
|
|
15
|
+
border-radius: 6px !important;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.mat-form-field-infix {
|
|
19
|
+
padding: 0 !important;
|
|
20
|
+
display: flex!important;
|
|
21
|
+
align-items: center!important;
|
|
22
|
+
border-top: none!important;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.mat-select-arrow-wrapper {
|
|
26
|
+
display: flex!important;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.mat-icon-button {
|
|
30
|
+
width: auto!important;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.no-border {
|
|
34
|
+
.mdc-text-field {
|
|
35
|
+
border: none !important;
|
|
36
|
+
input {
|
|
37
|
+
padding: 1px;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.mat-form-field-label-wrapper {
|
|
43
|
+
top: -10px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.mat-form-field-should-float .mat-form-field-label-wrapper {
|
|
47
|
+
font-size: $base-font-size;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.placeholder-primary {
|
|
51
|
+
.mat-form-field-label-wrapper {
|
|
52
|
+
color: var(--color-primary) !important;
|
|
53
|
+
label {
|
|
54
|
+
color: var(--color-primary) !important;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
::ng-deep .mat-form-field-placeholder, .mat-form-field-placeholder {
|
|
58
|
+
color: var(--color-primary) !important;
|
|
59
|
+
}
|
|
60
|
+
::ng-deep .mat-focused .mat-form-field-placeholder, .mat-focused .mat-form-field-placeholder {
|
|
61
|
+
color: var(--color-primary) !important;
|
|
62
|
+
}
|
|
63
|
+
input {
|
|
64
|
+
::-webkit-input-placeholder { /* Edge */
|
|
65
|
+
color: var(--color-primary) !important;
|
|
66
|
+
}
|
|
67
|
+
:-ms-input-placeholder { /* Internet Explorer 10-11 */
|
|
68
|
+
color: var(--color-primary) !important;
|
|
69
|
+
}
|
|
70
|
+
::placeholder {
|
|
71
|
+
color: var(--color-primary) !important;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.placeholder-bold {
|
|
77
|
+
.mat-form-field-label-wrapper {
|
|
78
|
+
font-weight: bold !important;
|
|
79
|
+
label {
|
|
80
|
+
font-weight: bold !important;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
::ng-deep .mat-form-field-placeholder, .mat-form-field-placeholder {
|
|
84
|
+
font-weight: bold !important;
|
|
85
|
+
}
|
|
86
|
+
::ng-deep .mat-focused .mat-form-field-placeholder, .mat-focused .mat-form-field-placeholder {
|
|
87
|
+
font-weight: bold !important;
|
|
88
|
+
}
|
|
89
|
+
input {
|
|
90
|
+
::-webkit-input-placeholder { /* Edge */
|
|
91
|
+
font-weight: bold !important;
|
|
92
|
+
}
|
|
93
|
+
:-ms-input-placeholder { /* Internet Explorer 10-11 */
|
|
94
|
+
font-weight: bold !important;
|
|
95
|
+
}
|
|
96
|
+
::placeholder {
|
|
97
|
+
font-weight: bold !important;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* Inputs */
|
|
103
|
+
.apipass-input-text {
|
|
104
|
+
width: 100%;
|
|
105
|
+
height: 51px;
|
|
106
|
+
&.search-input-item {
|
|
107
|
+
height: 40px !important;
|
|
108
|
+
.search-input-item {
|
|
109
|
+
margin-top: 5px;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
.mat-mdc-form-field-flex {
|
|
113
|
+
padding: 0!important;
|
|
114
|
+
height: auto;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.apipass-input-text,
|
|
119
|
+
.apipass-search-input-text,
|
|
120
|
+
.custom-select-component,
|
|
121
|
+
.apipass-select,
|
|
122
|
+
.apipass-date-filter {
|
|
123
|
+
|
|
124
|
+
.mdc-line-ripple:before {
|
|
125
|
+
border-bottom-color: transparent !important;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.mdc-line-ripple:after {
|
|
129
|
+
border-bottom-color: var(--color-primary-active);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label {
|
|
133
|
+
color: var(--color-primary-active);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.mat-mdc-form-field-infix {
|
|
137
|
+
padding-top: 12px !important;
|
|
138
|
+
padding-bottom: 0 !important;
|
|
139
|
+
font-size: $base-font-size !important;
|
|
140
|
+
}
|
|
141
|
+
.mat-icon-button {
|
|
142
|
+
width: auto!important;
|
|
143
|
+
height: auto!important;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&.label-input {
|
|
147
|
+
.mat-form-field-label-wrapper {
|
|
148
|
+
padding-top: 0;
|
|
149
|
+
top: auto !important;
|
|
150
|
+
}
|
|
151
|
+
input {
|
|
152
|
+
padding-top: 10px !important;
|
|
153
|
+
padding-bottom: 5px !important;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
&.mat-form-field-should-float {
|
|
157
|
+
.mat-form-field-label-wrapper {
|
|
158
|
+
padding-top: 0 !important;
|
|
159
|
+
margin-top: -10px !important;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.mat-mdc-form-field-focus-overlay {
|
|
164
|
+
opacity: 0 !important;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
.apipass-search-input-text {
|
|
171
|
+
width: 100%;
|
|
172
|
+
|
|
173
|
+
&.small-text {
|
|
174
|
+
font-size: $base-font-size - 2px;
|
|
175
|
+
}
|
|
176
|
+
.mat-mdc-form-field-flex {
|
|
177
|
+
padding: 0!important;
|
|
178
|
+
height: auto;
|
|
179
|
+
border-top: none !important;
|
|
180
|
+
border-left: none !important;
|
|
181
|
+
border-right: none !important;
|
|
182
|
+
border-radius: 0 !important;
|
|
183
|
+
}
|
|
184
|
+
.search-icon {
|
|
185
|
+
margin-top: -5px !important;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.custom-select-component {
|
|
191
|
+
width: 100%;
|
|
192
|
+
height: 51px;
|
|
193
|
+
.mat-mdc-form-field-flex {
|
|
194
|
+
padding: 0 !important;
|
|
195
|
+
height: auto;
|
|
196
|
+
}
|
|
197
|
+
.mat-mdc-form-field-infix {
|
|
198
|
+
padding-top: 0 !important;
|
|
199
|
+
padding-bottom: 0 !important;
|
|
200
|
+
font-size: 14px !important;
|
|
201
|
+
width: 100%;
|
|
202
|
+
display: flex;
|
|
203
|
+
align-items: center;
|
|
204
|
+
justify-content: center;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
mat-form-field {
|
|
208
|
+
height: 20px !important;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.apipass-select {
|
|
213
|
+
width: 100%;
|
|
214
|
+
.mat-mdc-form-field-flex {
|
|
215
|
+
padding: 0!important;
|
|
216
|
+
height: auto;
|
|
217
|
+
}
|
|
218
|
+
&.label-input {
|
|
219
|
+
.mat-form-field-infix {
|
|
220
|
+
padding-top: 7px !important;
|
|
221
|
+
padding-bottom: 7px !important;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.apipass-date-filter {
|
|
227
|
+
width: 100%;
|
|
228
|
+
.mat-mdc-form-field-flex {
|
|
229
|
+
padding: 0!important;
|
|
230
|
+
height: auto;
|
|
231
|
+
}
|
|
232
|
+
.mat-form-field-suffix {
|
|
233
|
+
span {
|
|
234
|
+
cursor: pointer;
|
|
235
|
+
color: #777;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
.mat-mdc-form-field-infix {
|
|
239
|
+
padding-top: 12px !important;
|
|
240
|
+
padding-bottom: 0 !important;
|
|
241
|
+
height: 51px !important;
|
|
242
|
+
max-height: 51px !important;
|
|
243
|
+
min-height: 51px !important;
|
|
244
|
+
}
|
|
245
|
+
}
|