coer-elements 2.0.49 → 2.0.51

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.
Files changed (33) hide show
  1. package/components/lib/coer-datebox/coer-datebox.component.d.ts +30 -14
  2. package/components/lib/coer-dropdown/coer-dropdown.component.d.ts +6 -5
  3. package/components/lib/coer-modal/coer-modal.component.d.ts +2 -1
  4. package/components/lib/coer-numberbox/coer-numberbox.component.d.ts +5 -6
  5. package/components/lib/coer-secretbox/coer-secretbox.component.d.ts +16 -5
  6. package/components/lib/coer-selectbox/coer-selectbox.component.d.ts +15 -4
  7. package/components/lib/coer-textbox/coer-textbox.component.d.ts +3 -3
  8. package/extensions/lib/string.extension.d.ts +2 -0
  9. package/fesm2022/coer-elements-components.mjs +343 -169
  10. package/fesm2022/coer-elements-components.mjs.map +1 -1
  11. package/fesm2022/coer-elements-extensions.mjs +3 -0
  12. package/fesm2022/coer-elements-extensions.mjs.map +1 -1
  13. package/fesm2022/coer-elements-pages.mjs +5 -5
  14. package/fesm2022/coer-elements-pages.mjs.map +1 -1
  15. package/fesm2022/coer-elements-signals.mjs +3 -1
  16. package/fesm2022/coer-elements-signals.mjs.map +1 -1
  17. package/fesm2022/coer-elements-tools.mjs +7 -2
  18. package/fesm2022/coer-elements-tools.mjs.map +1 -1
  19. package/fesm2022/coer-elements.mjs +2 -1
  20. package/fesm2022/coer-elements.mjs.map +1 -1
  21. package/index.d.ts +1 -1
  22. package/package.json +1 -1
  23. package/signals/lib/component-content.signal.d.ts +1 -0
  24. package/signals/public-api.d.ts +1 -0
  25. package/styles/coer-elements.css +1 -1
  26. package/styles/components.scss +305 -15
  27. package/styles/cursors.scss +3 -2
  28. package/styles/displays.scss +2 -1
  29. package/styles/icons/icons-regular.scss +1 -0
  30. package/styles/icons/icons.scss +1 -0
  31. package/styles/width-height.scss +1 -0
  32. package/svg/regular/magnifying-glass.svg +4 -0
  33. package/tools/lib/strings.tools.d.ts +2 -0
@@ -2,30 +2,36 @@
2
2
  @use "../components/lib/coer-accordion/coer-accordion.component.scss";
3
3
  @use "../components/lib/coer-button/coer-button.component.scss";
4
4
  @use "../components/lib/coer-checkbox/coer-checkbox.component.scss";
5
- @use "../components/lib/coer-datebox/coer-datebox.component.scss";
6
5
  @use "../components/lib/coer-grid/coer-grid.component.scss";
7
6
  @use "../components/lib/coer-list/coer-list.component.scss";
8
- @use "../components/lib/coer-modal/coer-modal.component.scss";
9
- @use "../components/lib/coer-numberbox/coer-numberbox.component.scss";
10
- @use "../components/lib/coer-page-title/coer-page-title.component.scss";
11
- @use "../components/lib/coer-dropdown/coer-dropdown.component.scss";
12
- @use "../components/lib/coer-selectbox/coer-selectbox.component.scss";
7
+ @use "../components/lib/coer-modal/coer-modal.component.scss";
8
+ @use "../components/lib/coer-page-title/coer-page-title.component.scss";
13
9
  @use "../components/lib/coer-sidenav/coer-sidenav.component.scss";
14
10
  @use "../components/lib/coer-sidenav/coer-menu-option/coer-menu-option.component.scss";
15
11
  @use "../components/lib/coer-sidenav/coer-tree-accordion/coer-tree-accordion.component.scss";
16
12
  @use "../components/lib/coer-sidenav/coer-toolbar/coer-toolbar.component.scss";
17
13
  @use "../components/lib/coer-switch/coer-switch.component.scss";
18
- @use "../components/lib/coer-tab/coer-tab.component.scss";
19
- @use "../components/lib/coer-textarea/coer-textarea.component.scss";
20
- @use "../components/lib/coer-textbox/coer-textbox.component.scss";
14
+ @use "../components/lib/coer-tab/coer-tab.component.scss";
21
15
  @use "../tools/lib/coer-alert/coer-alert.component.scss";
22
-
16
+ @use "../components/lib/coer-textarea/coer-textarea.component.scss";
23
17
 
24
18
  input[type="file"] {
25
19
  display: none !important;
20
+ }
21
+
22
+
23
+ .caret-none {
24
+ caret-color: transparent !important;
26
25
  }
27
26
 
28
27
 
28
+ .loading {
29
+ cursor: wait !important;
30
+ background-color: color-mix(in srgb, var(--gray), var(--white) 50%) !important;
31
+ animation: __KeyOpacity50 0.8s ease-in-out infinite alternate both !important;
32
+ }
33
+
34
+
29
35
  .readonly {
30
36
  cursor: default !important;
31
37
  background-color: color-mix(in srgb, var(--gray), var(--white) 70%) !important;
@@ -33,8 +39,292 @@ input[type="file"] {
33
39
  }
34
40
 
35
41
 
36
- .loading {
37
- cursor: wait !important;
38
- background-color: color-mix(in srgb, var(--gray), var(--white) 50%) !important;
39
- animation: __KeyOpacity50 0.8s ease-in-out infinite alternate both !important;
40
- }
42
+ //Form Field Components
43
+ div.coer-form-field-component {
44
+ display: contents !important;
45
+
46
+ div.coer-form-field-content {
47
+ position: relative !important;
48
+ align-items: center !important;
49
+ display: flex;
50
+
51
+ mat-form-field {
52
+ div.mat-mdc-text-field-wrapper.mdc-text-field {
53
+ background-color: var(--inputs-inner) !important;
54
+ border-top-left-radius: inherit !important;
55
+ border-top-right-radius: inherit !important;
56
+
57
+ div.mat-mdc-form-field-flex {
58
+ height: 40px;
59
+
60
+ div.mat-mdc-form-field-infix {
61
+ width: 100% !important;
62
+ padding: 0px !important;
63
+ height: 40px;
64
+ min-height: 40px;
65
+
66
+ label {
67
+ overflow: visible !important;
68
+ position: absolute !important;
69
+ top: 20px !important;
70
+ }
71
+
72
+ label.mdc-floating-label--float-above mat-label {
73
+ color: var(--primary-inner) !important;
74
+ font-weight: bold !important;
75
+ position: relative !important;
76
+ left: -10px !important;
77
+ top: 2px !important;
78
+ }
79
+
80
+ input, textarea {
81
+ font-weight: normal !important;
82
+ font-size: 17px !important;
83
+ color: var(--inputs-text-inner) !important;
84
+ }
85
+ }
86
+
87
+ .mat-mdc-form-field-icon-suffix {
88
+ .mat-datepicker-toggle-active * {
89
+ color: var(--primary-inner) !important;
90
+ }
91
+
92
+ button {
93
+ .mat-mdc-button-touch-target,
94
+ .mat-ripple.mat-mdc-button-ripple,
95
+ .mat-mdc-button-persistent-ripple.mdc-icon-button__ripple {
96
+ width: 0px !important;
97
+ height: 0px !important;
98
+ }
99
+ }
100
+ }
101
+ }
102
+
103
+ div.mdc-line-ripple.actived-component::before {
104
+ border: 1px solid var(--primary-inner) !important;
105
+ }
106
+ }
107
+
108
+ div.mdc-line-ripple.mdc-line-ripple--active,
109
+ div.mdc-line-ripple.mdc-line-ripple--active::before,
110
+ div.mdc-line-ripple.mdc-line-ripple--active::after {
111
+ border-bottom-color: var(--primary-inner) !important;
112
+ }
113
+
114
+ div.mat-mdc-form-field-subscript-wrapper.mat-mdc-form-field-bottom-align {
115
+ height: 0px !important;
116
+ }
117
+
118
+ span.icon-container {
119
+ position: absolute !important;
120
+ top: 1px !important;
121
+ right: 0px !important;
122
+ z-index: 5 !important;
123
+ width: 0px !important;
124
+ height: 40px !important;
125
+ display: flex !important;
126
+ align-items: center !important;
127
+ justify-content: center !important;
128
+ gap: 5px !important;
129
+
130
+ span {
131
+ display: flex !important;
132
+ align-items: center !important;
133
+ }
134
+
135
+ i {
136
+ font-size: 20px !important;
137
+ color: color-mix(in srgb, var(--inputs-icons-inner), var(--white) 60%) !important;
138
+ }
139
+
140
+ i:not(.icon-circle-check):hover,
141
+ i:not(.icon-circle-exclamation):hover {
142
+ color: color-mix(in srgb, var(--inputs-icons-inner), var(--white) 40%) !important;
143
+ }
144
+
145
+ i.icon-circle-check.icon-fill {
146
+ color: var(--green) !important;
147
+ }
148
+
149
+ i.icon-circle-exclamation.icon-fill {
150
+ color: var(--red) !important;
151
+ }
152
+ }
153
+ }
154
+
155
+ //Readonly
156
+ mat-form-field.readonly {
157
+ border-top-left-radius: 4px !important;
158
+ border-top-right-radius: 4px !important;
159
+
160
+ div.mat-mdc-text-field-wrapper.mdc-text-field {
161
+ background-color: inherit !important;
162
+ }
163
+ }
164
+
165
+
166
+ //Loading
167
+ div.loading, div.invisible {
168
+ height: 40px !important;
169
+ padding: 0px 16px !important;
170
+ display: flex !important;
171
+ align-items: center !important;
172
+ }
173
+
174
+
175
+ //External Button
176
+ div.external-button-container-left,
177
+ div.external-button-container-right {
178
+ width: 40px !important;
179
+ height: 40px !important;
180
+ display: flex !important;
181
+ align-items: center !important;
182
+ justify-content: center !important;
183
+ background-color: color-mix(in srgb, var(--inputs-inner), var(--black) 15%) !important;
184
+ }
185
+
186
+ div.external-button-container-left { border-top-left-radius: 4px !important }
187
+ div.external-button-container-right { border-top-right-radius: 4px !important }
188
+
189
+ //Dropdown
190
+ div.dropdown-options {
191
+ position: absolute !important;
192
+ top: 40px !important;
193
+ left: 0px !important;
194
+ right: 0px !important;
195
+ border: 1px solid var(--inputs-inner) !important;
196
+ border-top: none !important;
197
+ border-radius: 0px 0px 10px 10px !important;
198
+ padding: 0px !important;
199
+ overflow-y: auto !important;
200
+ z-index: 101 !important;
201
+
202
+ ul {
203
+ background-color: var(--containers-inner) !important;
204
+ overflow: auto !important;
205
+ max-height: 205px !important;
206
+
207
+
208
+ li {
209
+ padding: 0px 10px !important;
210
+ cursor: pointer !important;
211
+
212
+ div {
213
+ gap: 10px !important;
214
+ display: flex !important;
215
+ align-items: center !important;
216
+ height: 40px !important;
217
+ color: var(--black) !important;
218
+ border-bottom: 1px ridge lightgray !important;
219
+
220
+ span {
221
+ display: flex !important;
222
+ align-items: center !important;
223
+ }
224
+
225
+ .dropdown-menu-icon-container {
226
+ width: 16px !important;
227
+ min-width: 16px !important;
228
+ max-width: 16px !important;
229
+ justify-self: center !important;
230
+ }
231
+ }
232
+ }
233
+
234
+ li:last-child div {
235
+ border-bottom: none !important;
236
+ }
237
+
238
+ li::marker {
239
+ content: "" !important;
240
+ display: none !important;
241
+ }
242
+
243
+ li:not(.dropdown-item-focus):hover,
244
+ li:not(.dropdown-item-focus) > div:hover {
245
+ background-color: color-mix(in srgb, var(--inputs-items-inner), var(--white) 95%) !important;
246
+ }
247
+
248
+ li.dropdown-item-focus,
249
+ li.dropdown-item-focus > div {
250
+ background-color: color-mix(in srgb, var(--inputs-items-inner), var(--white) 65%) !important;
251
+ }
252
+ }
253
+ }
254
+ }
255
+
256
+ //Footer
257
+ footer {
258
+ padding-top: 2px;
259
+ text-align: right;
260
+ font-size: 10px;
261
+ color: var(--gray);
262
+ }
263
+ }
264
+
265
+
266
+ //Inner Grid
267
+ coer-grid table tbody tr td {
268
+ mat-form-field {
269
+ div.mat-mdc-text-field-wrapper.mdc-text-field {
270
+ background-color: transparent !important;
271
+ padding-left: 9px !important;
272
+ padding-right: 9px !important;
273
+
274
+ div.mdc-line-ripple,
275
+ div.mdc-line-ripple::before,
276
+ div.mdc-line-ripple::after,
277
+ div.mdc-line-ripple.actived-component::before {
278
+ border-color: transparent !important;
279
+ }
280
+
281
+ div.mat-mdc-form-field-flex {
282
+ height: 28px !important;
283
+
284
+ div.mat-mdc-form-field-infix {
285
+ height: 28px !important;
286
+
287
+ input {
288
+ margin-top: 3px !important;
289
+ font-size: 14px !important;
290
+ }
291
+ }
292
+ }
293
+ }
294
+
295
+ span.icon-container {
296
+ transform: translate(-5px, -6px) !important;
297
+ }
298
+ }
299
+ }
300
+
301
+
302
+ //DatePicker
303
+ .cdk-overlay-container {
304
+ width: 0px !important;
305
+ height: 0px !important;
306
+
307
+ .cdk-overlay-backdrop {
308
+ position: relative !important;
309
+ }
310
+
311
+ .cdk-overlay-connected-position-bounding-box {
312
+ width: 0px !important;
313
+ height: 0px !important;
314
+
315
+ .cdk-overlay-pane.mat-datepicker-popup {
316
+ .mat-datepicker-content {
317
+ .mat-datepicker-content-container {
318
+ background-color: white !important;
319
+ border: 1px solid lightgray !important;
320
+ }
321
+ }
322
+ }
323
+ }
324
+ }
325
+
326
+
327
+ coer-dropdown,
328
+ coer-selectbox {
329
+ display: contents !important;
330
+ }
@@ -4,10 +4,11 @@
4
4
  'pointer' : pointer,
5
5
  'wait' : wait,
6
6
  'grab' : grab,
7
- 'grabbing' : grabbing
7
+ 'grabbing' : grabbing,
8
+ 'text' : text
8
9
  ) {
9
10
  .#{$breakpoint}cursor-#{$key} {
10
- cursor: $value !important;
11
+ cursor: $value !important;
11
12
  }
12
13
  }
13
14
  }
@@ -5,7 +5,8 @@
5
5
  'block' : block,
6
6
  'inline': inline,
7
7
  'inline-block': inline-block,
8
- 'inline-flex' : inline-flex
8
+ 'inline-flex' : inline-flex,
9
+ 'contents': contents
9
10
  ) {
10
11
  .#{$breakpoint}display-#{$key} {
11
12
  display: $value !important;
@@ -39,6 +39,7 @@ $icons: (
39
39
  'images',
40
40
  'input-text',
41
41
  'j',
42
+ 'magnifying-glass',
42
43
  'monitor',
43
44
  'p',
44
45
  'pin-geo',
@@ -12,6 +12,7 @@
12
12
  mask-position: center !important;
13
13
  display: inline-block !important;
14
14
  background-color: currentColor !important;
15
+ position: inherit;
15
16
  }
16
17
 
17
18
 
@@ -1,5 +1,6 @@
1
1
  @mixin width-content($breakpoint) {
2
2
  @each $key, $value in (
3
+ 'inherit' : inherit,
3
4
  'fit-content': fit-content,
4
5
  'min-content': min-content,
5
6
  'max-content': max-content,
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
2
+ <!-- COER System -->
3
+ <path d="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"/>
4
+ </svg>
@@ -16,6 +16,8 @@ export declare class Strings {
16
16
  static RemoveSpecialCharacters(value: string | number | null | undefined): string;
17
17
  /** Only Alphanumeric */
18
18
  static OnlyAlphanumeric(value: string | number | null | undefined): string;
19
+ /** Only Alphanumeric */
20
+ static OnlyNumbers(value: string | number | null | undefined): string;
19
21
  /** Validates if both strings are equal */
20
22
  static Equals(value: string | number | null | undefined, value2: string | number | null | undefined, sensitive?: boolean): boolean;
21
23
  }