ngx-vector-components 4.11.2 → 4.12.0

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 (159) hide show
  1. package/CHANGELOG.md +487 -481
  2. package/README.md +35 -35
  3. package/assets/icons/chevron_down_icon.svg +3 -3
  4. package/assets/icons/home_menu_icon.svg +3 -3
  5. package/assets/icons/logout_icon.svg +9 -9
  6. package/assets/icons/menu_footer_icon.svg +3 -3
  7. package/assets/icons/menu_hamburguer_icon.svg +3 -3
  8. package/assets/icons/terms_of_use_icon.svg +9 -9
  9. package/assets/icons/vector_admin_icon.svg +4 -4
  10. package/assets/icons/vector_fintech_icon.svg +3 -3
  11. package/assets/icons/vector_logtech_icon.svg +6 -6
  12. package/assets/icons/vector_marketplace_icon.svg +3 -3
  13. package/assets/images/bunge_logo.svg +23 -23
  14. package/assets/images/cofco_logo.svg +117 -117
  15. package/assets/images/emote_bad.svg +6 -6
  16. package/assets/images/emote_cool.svg +5 -5
  17. package/assets/images/emote_nice.svg +5 -5
  18. package/assets/images/success_sign.svg +4 -4
  19. package/assets/images/vector-logo-horizontal-inverse-color.svg +13 -13
  20. package/assets/images/vector_logo_horizontal.svg +13 -13
  21. package/assets/images/warn_sign.svg +4 -4
  22. package/assets/styles/_fonts.scss +114 -114
  23. package/assets/styles/_mixins.scss +7 -7
  24. package/assets/styles/_primeng-custom-theme.scss +963 -963
  25. package/assets/styles/_spinner.scss +35 -35
  26. package/assets/styles/_styles.scss +115 -115
  27. package/assets/styles/_variables.scss +27 -27
  28. package/esm2020/lib/components/badge/badge.component.mjs +3 -3
  29. package/esm2020/lib/components/badge/badge.module.mjs +1 -1
  30. package/esm2020/lib/components/badge/index.mjs +1 -1
  31. package/esm2020/lib/components/breadcrumb/breadcrumb.component.mjs +3 -3
  32. package/esm2020/lib/components/breadcrumb/breadcrumb.module.mjs +1 -1
  33. package/esm2020/lib/components/breadcrumb/index.mjs +1 -1
  34. package/esm2020/lib/components/crud-base/crud-base.component.mjs +1 -1
  35. package/esm2020/lib/components/crud-base/index.mjs +1 -1
  36. package/esm2020/lib/components/crud-footer/crud-footer.component.mjs +3 -3
  37. package/esm2020/lib/components/crud-footer/crud-footer.module.mjs +1 -1
  38. package/esm2020/lib/components/crud-footer/index.mjs +1 -1
  39. package/esm2020/lib/components/crud-header/crud-header.component.mjs +3 -3
  40. package/esm2020/lib/components/crud-header/crud-header.module.mjs +1 -1
  41. package/esm2020/lib/components/crud-header/index.mjs +1 -1
  42. package/esm2020/lib/components/crud-history/crud-history.component.mjs +3 -3
  43. package/esm2020/lib/components/crud-history/crud-history.module.mjs +1 -1
  44. package/esm2020/lib/components/crud-history/index.mjs +1 -1
  45. package/esm2020/lib/components/fields/button/button.component.mjs +3 -3
  46. package/esm2020/lib/components/fields/button/index.mjs +1 -1
  47. package/esm2020/lib/components/fields/calendar-field/calendar-field.component.mjs +3 -3
  48. package/esm2020/lib/components/fields/calendar-field/index.mjs +1 -1
  49. package/esm2020/lib/components/fields/checkbox-field/checkbox-field.component.mjs +9 -3
  50. package/esm2020/lib/components/fields/checkbox-field/index.mjs +1 -1
  51. package/esm2020/lib/components/fields/currency-field/currency-field.component.mjs +3 -3
  52. package/esm2020/lib/components/fields/currency-field/index.mjs +1 -1
  53. package/esm2020/lib/components/fields/data-table/data-table.component.mjs +3 -3
  54. package/esm2020/lib/components/fields/data-table/index.mjs +1 -1
  55. package/esm2020/lib/components/fields/dropdown-field/dropdown-field.component.mjs +3 -3
  56. package/esm2020/lib/components/fields/dropdown-field/index.mjs +1 -1
  57. package/esm2020/lib/components/fields/field-error-message/field-error-message.component.mjs +3 -3
  58. package/esm2020/lib/components/fields/field-error-message/index.mjs +1 -1
  59. package/esm2020/lib/components/fields/fields.module.mjs +1 -1
  60. package/esm2020/lib/components/fields/filters/filters.component.mjs +3 -3
  61. package/esm2020/lib/components/fields/filters/index.mjs +1 -1
  62. package/esm2020/lib/components/fields/index.mjs +1 -1
  63. package/esm2020/lib/components/fields/multiselect-field/index.mjs +1 -1
  64. package/esm2020/lib/components/fields/multiselect-field/multiselect-field.component.mjs +3 -3
  65. package/esm2020/lib/components/fields/percentage-field/index.mjs +1 -1
  66. package/esm2020/lib/components/fields/percentage-field/percentage-field.component.mjs +3 -3
  67. package/esm2020/lib/components/fields/radio-button-field/index.mjs +1 -1
  68. package/esm2020/lib/components/fields/radio-button-field/radio-button-field.component.mjs +3 -3
  69. package/esm2020/lib/components/fields/range-value/index.mjs +1 -1
  70. package/esm2020/lib/components/fields/range-value/range-value.component.mjs +3 -3
  71. package/esm2020/lib/components/fields/search-field/index.mjs +1 -1
  72. package/esm2020/lib/components/fields/search-field/search-field.component.mjs +3 -3
  73. package/esm2020/lib/components/fields/select-button-field/index.mjs +1 -1
  74. package/esm2020/lib/components/fields/select-button-field/select-button-field.component.mjs +3 -3
  75. package/esm2020/lib/components/fields/text-field/index.mjs +1 -1
  76. package/esm2020/lib/components/fields/text-field/text-field.component.mjs +3 -3
  77. package/esm2020/lib/components/fields/textarea-field/index.mjs +1 -1
  78. package/esm2020/lib/components/fields/textarea-field/textarea-field.component.mjs +3 -3
  79. package/esm2020/lib/components/generic-error-modal/generic-error-modal.component.mjs +3 -3
  80. package/esm2020/lib/components/generic-error-modal/generic-error-modal.module.mjs +1 -1
  81. package/esm2020/lib/components/generic-error-modal/index.mjs +1 -1
  82. package/esm2020/lib/components/generic-modal/generic-modal.component.mjs +6 -3
  83. package/esm2020/lib/components/generic-modal/generic-modal.module.mjs +1 -1
  84. package/esm2020/lib/components/generic-modal/index.mjs +1 -1
  85. package/esm2020/lib/components/index.mjs +1 -1
  86. package/esm2020/lib/components/menu/index.mjs +1 -1
  87. package/esm2020/lib/components/menu/menu.component.mjs +3 -3
  88. package/esm2020/lib/components/menu/menu.module.mjs +1 -1
  89. package/esm2020/lib/components/menu/sub-menus-list/sub-menus-list.component.mjs +3 -3
  90. package/esm2020/lib/components/panel/index.mjs +1 -1
  91. package/esm2020/lib/components/panel/panel.component.mjs +3 -3
  92. package/esm2020/lib/components/panel/panel.module.mjs +1 -1
  93. package/esm2020/lib/components/top-bar/index.mjs +1 -1
  94. package/esm2020/lib/components/top-bar/top-bar.component.mjs +3 -3
  95. package/esm2020/lib/components/top-bar/top-bar.module.mjs +1 -1
  96. package/esm2020/lib/guards/crud-list-has-items.guard.mjs +1 -1
  97. package/esm2020/lib/guards/get-token-by-guid.guard.mjs +1 -1
  98. package/esm2020/lib/guards/has-permission.guard.mjs +1 -1
  99. package/esm2020/lib/guards/index.mjs +1 -1
  100. package/esm2020/lib/guards/role.guard.mjs +1 -1
  101. package/esm2020/lib/guards/token-is-present.guard.mjs +1 -1
  102. package/esm2020/lib/interceptors/http-interceptor.mjs +1 -1
  103. package/esm2020/lib/interceptors/index.mjs +1 -1
  104. package/esm2020/lib/models/app-name.enum.mjs +1 -1
  105. package/esm2020/lib/models/boolean-type.enum.mjs +1 -1
  106. package/esm2020/lib/models/crud-history.model.mjs +1 -1
  107. package/esm2020/lib/models/crud-mode.enum.mjs +1 -1
  108. package/esm2020/lib/models/data-table.model.mjs +1 -1
  109. package/esm2020/lib/models/document-type.enum.mjs +1 -1
  110. package/esm2020/lib/models/filters.model.mjs +1 -1
  111. package/esm2020/lib/models/http-response.model.mjs +1 -1
  112. package/esm2020/lib/models/index.mjs +1 -1
  113. package/esm2020/lib/models/ip-info.enum.mjs +1 -1
  114. package/esm2020/lib/models/list-item.model.mjs +1 -1
  115. package/esm2020/lib/models/menu-item.model.mjs +1 -1
  116. package/esm2020/lib/models/message-status.enum.mjs +1 -1
  117. package/esm2020/lib/models/profile.model.mjs +1 -1
  118. package/esm2020/lib/models/role.enum.mjs +1 -1
  119. package/esm2020/lib/models/status.enum.mjs +1 -1
  120. package/esm2020/lib/models/view.enum.mjs +1 -1
  121. package/esm2020/lib/pipes/currency-brl.pipe.mjs +1 -1
  122. package/esm2020/lib/pipes/format-document.pipe.mjs +1 -1
  123. package/esm2020/lib/pipes/index.mjs +1 -1
  124. package/esm2020/lib/pipes/mask.pipe.mjs +1 -1
  125. package/esm2020/lib/pipes/not-hidden.pipe.mjs +1 -1
  126. package/esm2020/lib/pipes/only-active.pipe.mjs +1 -1
  127. package/esm2020/lib/pipes/pipes.module.mjs +1 -1
  128. package/esm2020/lib/pipes/remove-last-child.pipe.mjs +1 -1
  129. package/esm2020/lib/resolvers/get-entity-history.resolver.mjs +1 -1
  130. package/esm2020/lib/resolvers/get-selected-crud-item.resolver.mjs +1 -1
  131. package/esm2020/lib/resolvers/index.mjs +1 -1
  132. package/esm2020/lib/services/auth.service.mjs +1 -1
  133. package/esm2020/lib/services/base-dropdown.mjs +1 -1
  134. package/esm2020/lib/services/crud-base.service.mjs +1 -1
  135. package/esm2020/lib/services/enum.service.mjs +1 -1
  136. package/esm2020/lib/services/error-message.service.mjs +1 -1
  137. package/esm2020/lib/services/geolocation.service.mjs +1 -1
  138. package/esm2020/lib/services/index.mjs +1 -1
  139. package/esm2020/lib/services/loading.service.mjs +1 -1
  140. package/esm2020/lib/services/menu.service.mjs +1 -1
  141. package/esm2020/lib/services/modal.service.mjs +1 -1
  142. package/esm2020/lib/services/profile.service.mjs +1 -1
  143. package/esm2020/lib/services/storage.service.mjs +1 -1
  144. package/esm2020/lib/shared/shared.module.mjs +1 -1
  145. package/esm2020/lib/utils/file.util.mjs +1 -1
  146. package/esm2020/lib/utils/index.mjs +1 -1
  147. package/esm2020/lib/utils/mask.util.mjs +1 -1
  148. package/esm2020/lib/utils/object.util.mjs +1 -1
  149. package/esm2020/lib/utils/string.util.mjs +1 -1
  150. package/esm2020/lib/utils/validation.util.mjs +1 -1
  151. package/esm2020/lib/utils/window.util.mjs +1 -1
  152. package/esm2020/public-api.mjs +1 -1
  153. package/fesm2015/ngx-vector-components.mjs +63 -54
  154. package/fesm2015/ngx-vector-components.mjs.map +1 -1
  155. package/fesm2020/ngx-vector-components.mjs +63 -54
  156. package/fesm2020/ngx-vector-components.mjs.map +1 -1
  157. package/lib/components/fields/checkbox-field/checkbox-field.component.d.ts +4 -1
  158. package/lib/components/generic-modal/generic-modal.component.d.ts +2 -1
  159. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,481 +1,487 @@
1
- # Changelog
2
-
3
- ## [4.11.2] (16/07/2022)
4
-
5
- ### Bugfixes
6
-
7
- - Fixed `radio-button` to show invalid status color when touched.
8
-
9
- ## [4.11.1] (15/07/2022)
10
-
11
- ### Bugfixes
12
-
13
- - Fixed `getUserId` in `storageService` to get correctly user id.
14
-
15
- ## [4.11.0] (15/07/2022)
16
-
17
- ### Features
18
-
19
- - added `disabled` on `vector-range-field` to disabled field when insert true.
20
- - added `disabled` on `vector-currency-field` to disabled field when insert true.
21
-
22
- ## [4.10.5] (14/07/2022)
23
-
24
- ### Bugfixes
25
-
26
- - Fixed `doMaskString` on `MaskUtil` to safely return a empty `string` when receiving an empty input.
27
-
28
- ## [4.10.4] (13/07/2022)
29
-
30
- ### Bugfixes
31
-
32
- - Fixed excel and pdf display button in `vector-data-table`.
33
-
34
- ## [4.10.3] (13/07/2022)
35
-
36
- ### Bugfixes
37
-
38
- - Fixed sort column without actions in `vector-data-table`.
39
-
40
- ## [4.10.2] (10/07/2022)
41
-
42
- ### Bugfixes
43
-
44
- - Fixed arrow icon in(Sort column) `vector-data-table`
45
-
46
- ## [4.10.1] (10/07/2022)
47
-
48
- ### Bugfixes
49
-
50
- - Fixed autoStart `vector-data-table`
51
-
52
- ## [4.9.0] (10/07/2022)
53
-
54
- ### Features
55
-
56
- - Added `MASK` type to `TableColumn` enum and implemented it on `data-table`;
57
- - Added `FieldType` `DATE_RANGE` to `data-table` filters.
58
-
59
- ## [4.8.0] (09/07/2022)
60
-
61
- ### Features
62
-
63
- - Added `notSortable` property do `TableColumn` and implemented it on `data-table`.
64
-
65
- ## [4.7.1] (09/07/2022)
66
-
67
- ### BugFixes
68
-
69
- - Fixed `getById` on `getSugestionsOfDropDown`.
70
-
71
- ## [4.7.0] (08/07/2022)
72
-
73
- ### BugFixes
74
-
75
- - Added new Permissions in `profile.model.ts`.
76
-
77
- ### Features
78
-
79
- - Added `profileTypeItens` BehaviourSubject in `profile.serivice.ts`.
80
-
81
- ## [4.6.3] (08/07/2022)
82
-
83
- ### Bugfixes
84
-
85
- - fixed `menu-label` min-width to align correctly items.
86
-
87
- ## [4.6.2] (07/07/2022)
88
-
89
- ### Bugfixes
90
-
91
- - fixed `top-bar` to display vector user first name.
92
-
93
- ## [4.6.1] (05/07/2022)
94
-
95
- ### Bugfixes
96
-
97
- - `percentage field component` added minFractionDigits and maxFractionDigits properties to configure decimal values
98
-
99
- ## [4.6.0] (06/07/2022)
100
-
101
- ### Features
102
-
103
- - Added `goBackHidden` parameter to hidden goBackButton in `vector-crud-footer`.
104
-
105
- ## [4.5.1] (30/06/2022)
106
-
107
- ### Bugfixes
108
-
109
- - `menu` changed admin menu to show only fintech admin.
110
-
111
- ## [4.5.0] (29/06/2022)
112
-
113
- ### Features
114
-
115
- - `vector-filters` changed to read the url queryParams to set default values.
116
-
117
- ## [4.4.0] (28/06/2022)
118
-
119
- ### Features
120
-
121
- - Added `isExternalUrl` in `http-interceptor.ts`;
122
-
123
- ## [4.3.0] (27/06/2022)
124
-
125
- ### Features
126
-
127
- - Added `HttpDataResponse` in model `http-response.model.ts`;
128
-
129
- ## [4.2.1] (27/06/2022)
130
-
131
- ### Bug Fixes
132
-
133
- - Added `ADD_REGION` in model `profile.model.ts`;
134
- - Added `SHOW_REGION` in model `profile.model.ts`;
135
- - Added `EDIT_REGION` in model `profile.model.ts`;
136
-
137
- ## [4.2.0] (24/06/2022)
138
-
139
- ### Features
140
-
141
- - Added `CUSTOM_STYLES` in TableColumnType on `data-table-component`;
142
- - Added `textFieldClass` in TableColumn on `data-table-component`;
143
-
144
- ## [4.1.1] (23/06/2022)
145
-
146
- ### Bug Fixes
147
-
148
- - Fixed `FilterChangedEvent` external model to use in all project.
149
-
150
- ## [4.1.0] (23/06/2022)
151
-
152
- ### Features
153
-
154
- - Added `onFilterChanged` event on `filters` and `data-table`;
155
-
156
- ### Bug Fixes
157
-
158
- - Fixed `filters` to validate required fields before searching.
159
-
160
- ## [4.0.0] (21/06/2022)
161
-
162
- ### Breaking Changes
163
-
164
- - Added `getById` on `BaseDropdown` interface.
165
-
166
- ### Bug Fixes
167
-
168
- - Fixed `dropdown` behavior with and without `minLengthToService` set;
169
- - Fixed `dropdown` search on suggestions to ignore case;
170
- - Fixed `data-table` header z-index to keep below other fixed elements (e.g `vector-footer`);
171
- - Fixed `multiselect` to get the correct item property for value.
172
-
173
- ## [3.6.1] (15/06/2022)
174
-
175
- ### Bug Fixes
176
-
177
- - Changed overflow behavior of tabview to scroll.
178
- -
179
-
180
- ## [3.6.0] (14/06/2022)
181
-
182
- ### Features
183
-
184
- - Added selection to data-table component.
185
- - Added hasAction input, now can hide action column.
186
-
187
- ## [3.5.0] (09/06/2022)
188
-
189
- ### Features
190
-
191
- - Added `disabled` property on `ListItem`;
192
- - Added `onChange` event on `vector-multiselect-field`.
193
-
194
- ## [3.4.0] (26/05/2022)
195
-
196
- ### Features
197
-
198
- - Added `inputClassName` property to `vector-currency-field`;
199
-
200
- ### Bug Fixes
201
-
202
- - Fixed `vector-button` style property type;
203
-
204
- ## [3.3.1] (25/05/2022)
205
-
206
- ### Bug Fixes
207
-
208
- - Fixed `fullName` validation of `Utils`, changed invalid error message.
209
-
210
- ## [3.3.0] (24/05/2022)
211
-
212
- ### Features
213
-
214
- - Added min length to call the dropdown service query.
215
-
216
- ## [3.2.0] (24/05/2022)
217
-
218
- ### Features
219
-
220
- - Added the ability to add a button column to the `vector-data-table` component that calls a custom function.
221
- - Added the possibility to hide the actions column of the component `vector-data-table`.
222
-
223
- ## [3.1.1] (20/05/2022)
224
-
225
- ### Bug Fixes
226
-
227
- - Fixed `vector-button` to fill 100% of container.
228
- - Fixed `BOLETO_PATTERN` in `MaskUtils` for accept a digit more.
229
-
230
- ## [3.1.0] (19/05/2022)
231
-
232
- ### Features
233
-
234
- - added `isBankingField` input to `vector-currency-field`.
235
-
236
- ## [3.0.2] (19/05/2022)
237
-
238
- ### Bug Fixes
239
-
240
- - Fixed `vector-button` disable behavior.
241
-
242
- ## [3.0.1] (08/05/2022)
243
-
244
- ### Bug Fixes
245
-
246
- - Fixed peer dependency version.
247
-
248
- ## [3.0.0] (08/05/2022)
249
-
250
- ### Breaking Changes
251
-
252
- - Changed `mixins` to a separated `mixins.scss` file.
253
-
254
- ### Features
255
-
256
- - Added generic guard to check if crud list has items;
257
- - Added generic resolver to get the selected crud item from the list;
258
- - Added generic resolver to get the selected crud item history from the list;
259
- - Added `vector-badge` component;
260
- - Added `vector-crud-header` component;
261
- - Added `vector-select-button-field` component;
262
- - Added `formatDocument` pipe;
263
- - Added `VIRTUAL_CARRIER` view type;
264
- - Added styles input to `vector-button` to apply styles to the `<button>` tag;
265
- - Added dynamic filters to dropdown;
266
- - Breadcrumb now has clickable links to navigate to route fragments.
267
-
268
- ### Bug Fixes
269
-
270
- - Menu fixed to navigate to menu route even if it has children;
271
- - Changed `vector-data-table` appearence to match new design;
272
- - Fixed `vector-filters` to hide the search button when there is no visible filters;
273
- - Removed unnecessary `variables.scss` references throughout the project.
274
-
275
- ## [2.14.0] (05/05/2022)
276
-
277
- ### Features
278
-
279
- - TokenIsPresentGuard changed to support both storage and queryParams token.
280
-
281
- ### Bug Fixes
282
-
283
- - MenuComponent fixed to take priority on `frameUrl` to make sure `route` can still be used to build the breadcrumbs if needed;
284
- - Made some changes to the accordion styles.
285
-
286
- ## [2.13.1] (28/04/2022)
287
-
288
- ### Bug Fixes
289
-
290
- - Fix conflict merge with versions 2.12.0 with 2.13.0.
291
-
292
- ## [2.13.0] (27/04/2022)
293
-
294
- ### Features
295
-
296
- - Added input valueMovimented in vector-range-value component.
297
-
298
- ### Bug Fixes
299
-
300
- - Fix Sent API address for endpoint.
301
- - Fix export GeolocationService.
302
-
303
- ## [2.12.0] (26/04/2022)
304
-
305
- ### Features
306
-
307
- - MenuItem changed to accept both singular and array of permissions.
308
-
309
- ## [2.11.0] (20/04/2022)
310
-
311
- ### Features
312
-
313
- - Added currency-input rounded option.
314
-
315
- ### Bug Fixes
316
-
317
- - Fixed breadcrumb responsive layout;
318
- - Fixed radio-button responsive layout;
319
- - Changed menu backgroud to white;
320
- - Changed accordion styles.
321
-
322
- ## [2.10.0] (19/04/2022)
323
-
324
- ### Features
325
-
326
- - Added login info and geolocation to share: date, time, device info, ip, hostname, latitude, longitude, accuracy.
327
-
328
- ## [2.8.0] (08/04/2022)
329
-
330
- ### Features
331
-
332
- - Added containsLettersAndNumbers validation.
333
-
334
- ### Fix
335
-
336
- - Fix currency-field min and max value don't work.
337
-
338
- ## [2.7.1] (08/04/2022)
339
-
340
- ### Fix
341
-
342
- - Fix text-field don't limit to alpha numeric with alphanumeric true.
343
-
344
- ## [2.7.0] (04/04/2022)
345
-
346
- ### Features
347
-
348
- - Added alphaNumeric option to text-field.
349
-
350
- ### Bug Fixes
351
-
352
- - Fix top-bar to hidden notification if is fintech.
353
- - Fix top-bar changed label for change password.
354
- - Fix toggle menu when keydown escape.
355
-
356
- ## [2.6.0] (30/03/2022)
357
-
358
- ### Features
359
-
360
- - Added directive min and max for percentage-field.
361
- - Added notSequentialNumbers validator.
362
- - Added firstLetterIsUppercase validator.
363
-
364
- ### Bug Fixes
365
-
366
- - Fix menu service for don't delete father.
367
-
368
- ## [2.5.1] (24/03/2022)
369
-
370
- ### Bug Fixes
371
-
372
- - Fix input checkbox don't mark when click on label.
373
-
374
- ## [2.5.0] (21/03/2022)
375
-
376
- ### Features
377
-
378
- - Added menu notifications count
379
-
380
- ### Bug Fixes
381
-
382
- - Fixed gray colors variables names;
383
- - Fixed topbar to show Fintech menus only when is Fintech;
384
- - Fixed permissions request to save permissions on storage before using them.
385
- - Calendar-field "min" and "max" properties set optional.
386
-
387
- ## [2.4.0] (20/03/2022)
388
-
389
- ### Features
390
-
391
- - Added min and max validation functions to forms;
392
- - Added onlyActivePipe.
393
-
394
- ### Bug Fixes
395
-
396
- - Fixed menu service to hide parent menus when no children is left after filtering by permission;
397
- - Changed data-table scrollHeight from 350px to 300px to prevent unnecessary scrolling on viewport;
398
- - Added toast to unexpected errors from the API.
399
-
400
- ## [2.3.0] (18/03/2022)
401
-
402
- ### Features
403
-
404
- - Added vector-field-error-message for showing when field is invalid.
405
-
406
- ### Bug Fixes
407
-
408
- - Fix input calendar invalid showing incorrect;
409
- - Fix input dropdown invalid showing incorrect;
410
- - Fix Top-bar now show correct account information.
411
-
412
- ## [2.2.2] (17/03/2022)
413
-
414
- ### Feature
415
-
416
- - Added new default color for text in \_variables.scss.
417
- - Fix Portals items in menu showing incorrect.
418
-
419
- ## [2.2.1] (17/03/2022)
420
-
421
- ### Bug Fixes
422
-
423
- - Fix Portals items menu with switched color.
424
- - Added directive in vector-top-var(fintech, service);
425
- - Fix Menu showing without account information in fintech vector-top-bar;
426
-
427
- ## [2.2.0] (10/03/2022)
428
-
429
- ### Features
430
-
431
- - Added textarea field;
432
- - Added sessionStorage functions to StorageService;
433
- - Added IFrame opening option to menu items;
434
- - Added inversed colors vector logo.
435
-
436
- ### Bug Fixes
437
-
438
- - Fixed dropdown code comparision on filter to support any format;
439
- - Fixed data table auto load when using virtual pagination;
440
- - Fixed breadcrumb font-weight;
441
- - Fixed menu icon filter.
442
-
443
- ## [2.0.3] (01/03/2022)
444
-
445
- ### Bug Fixes
446
-
447
- - Fixed AuthService url to support multiple projects with different endpoint prefixes.
448
-
449
- ## [2.0.2] (01/03/2022)
450
-
451
- ### Bug Fixes
452
-
453
- - Fixed old variable
454
-
455
- ## [2.0.1] (01/03/2022)
456
-
457
- ### Bug Fixes
458
-
459
- - Fixed missing styles
460
-
461
- ## [2.0.0] (01/03/2022)
462
-
463
- ### Breaking Changes
464
-
465
- - CSS variables changed declaration form.
466
-
467
- ## [1.0.2] (01/03/2022)
468
-
469
- ### Bug Fixes
470
-
471
- - Changed text field filter to validate only when on "only text" mode.
472
-
473
- ## [1.0.1] (27/02/2022)
474
-
475
- ### Bug Fixes
476
-
477
- ### Features
478
-
479
- ### Breaking Changes
480
-
481
- - Library publishing
1
+ # Changelog
2
+
3
+ ## [4.12.0] (18/07/2022)
4
+
5
+ ### Features
6
+
7
+ - Added `multipleCheck` in `vector-checkbox-field` to add multiple options.
8
+ - Added `hiddenActions` in `generic-modal` to hidden actions, default: false.
9
+ ## [4.11.2] (16/07/2022)
10
+
11
+ ### Bugfixes
12
+
13
+ - Fixed `radio-button` to show invalid status color when touched.
14
+
15
+ ## [4.11.1] (15/07/2022)
16
+
17
+ ### Bugfixes
18
+
19
+ - Fixed `getUserId` in `storageService` to get correctly user id.
20
+
21
+ ## [4.11.0] (15/07/2022)
22
+
23
+ ### Features
24
+
25
+ - added `disabled` on `vector-range-field` to disabled field when insert true.
26
+ - added `disabled` on `vector-currency-field` to disabled field when insert true.
27
+
28
+ ## [4.10.5] (14/07/2022)
29
+
30
+ ### Bugfixes
31
+
32
+ - Fixed `doMaskString` on `MaskUtil` to safely return a empty `string` when receiving an empty input.
33
+
34
+ ## [4.10.4] (13/07/2022)
35
+
36
+ ### Bugfixes
37
+
38
+ - Fixed excel and pdf display button in `vector-data-table`.
39
+
40
+ ## [4.10.3] (13/07/2022)
41
+
42
+ ### Bugfixes
43
+
44
+ - Fixed sort column without actions in `vector-data-table`.
45
+
46
+ ## [4.10.2] (10/07/2022)
47
+
48
+ ### Bugfixes
49
+
50
+ - Fixed arrow icon in(Sort column) `vector-data-table`
51
+
52
+ ## [4.10.1] (10/07/2022)
53
+
54
+ ### Bugfixes
55
+
56
+ - Fixed autoStart `vector-data-table`
57
+
58
+ ## [4.9.0] (10/07/2022)
59
+
60
+ ### Features
61
+
62
+ - Added `MASK` type to `TableColumn` enum and implemented it on `data-table`;
63
+ - Added `FieldType` `DATE_RANGE` to `data-table` filters.
64
+
65
+ ## [4.8.0] (09/07/2022)
66
+
67
+ ### Features
68
+
69
+ - Added `notSortable` property do `TableColumn` and implemented it on `data-table`.
70
+
71
+ ## [4.7.1] (09/07/2022)
72
+
73
+ ### BugFixes
74
+
75
+ - Fixed `getById` on `getSugestionsOfDropDown`.
76
+
77
+ ## [4.7.0] (08/07/2022)
78
+
79
+ ### BugFixes
80
+
81
+ - Added new Permissions in `profile.model.ts`.
82
+
83
+ ### Features
84
+
85
+ - Added `profileTypeItens` BehaviourSubject in `profile.serivice.ts`.
86
+
87
+ ## [4.6.3] (08/07/2022)
88
+
89
+ ### Bugfixes
90
+
91
+ - fixed `menu-label` min-width to align correctly items.
92
+
93
+ ## [4.6.2] (07/07/2022)
94
+
95
+ ### Bugfixes
96
+
97
+ - fixed `top-bar` to display vector user first name.
98
+
99
+ ## [4.6.1] (05/07/2022)
100
+
101
+ ### Bugfixes
102
+
103
+ - `percentage field component` added minFractionDigits and maxFractionDigits properties to configure decimal values
104
+
105
+ ## [4.6.0] (06/07/2022)
106
+
107
+ ### Features
108
+
109
+ - Added `goBackHidden` parameter to hidden goBackButton in `vector-crud-footer`.
110
+
111
+ ## [4.5.1] (30/06/2022)
112
+
113
+ ### Bugfixes
114
+
115
+ - `menu` changed admin menu to show only fintech admin.
116
+
117
+ ## [4.5.0] (29/06/2022)
118
+
119
+ ### Features
120
+
121
+ - `vector-filters` changed to read the url queryParams to set default values.
122
+
123
+ ## [4.4.0] (28/06/2022)
124
+
125
+ ### Features
126
+
127
+ - Added `isExternalUrl` in `http-interceptor.ts`;
128
+
129
+ ## [4.3.0] (27/06/2022)
130
+
131
+ ### Features
132
+
133
+ - Added `HttpDataResponse` in model `http-response.model.ts`;
134
+
135
+ ## [4.2.1] (27/06/2022)
136
+
137
+ ### Bug Fixes
138
+
139
+ - Added `ADD_REGION` in model `profile.model.ts`;
140
+ - Added `SHOW_REGION` in model `profile.model.ts`;
141
+ - Added `EDIT_REGION` in model `profile.model.ts`;
142
+
143
+ ## [4.2.0] (24/06/2022)
144
+
145
+ ### Features
146
+
147
+ - Added `CUSTOM_STYLES` in TableColumnType on `data-table-component`;
148
+ - Added `textFieldClass` in TableColumn on `data-table-component`;
149
+
150
+ ## [4.1.1] (23/06/2022)
151
+
152
+ ### Bug Fixes
153
+
154
+ - Fixed `FilterChangedEvent` external model to use in all project.
155
+
156
+ ## [4.1.0] (23/06/2022)
157
+
158
+ ### Features
159
+
160
+ - Added `onFilterChanged` event on `filters` and `data-table`;
161
+
162
+ ### Bug Fixes
163
+
164
+ - Fixed `filters` to validate required fields before searching.
165
+
166
+ ## [4.0.0] (21/06/2022)
167
+
168
+ ### Breaking Changes
169
+
170
+ - Added `getById` on `BaseDropdown` interface.
171
+
172
+ ### Bug Fixes
173
+
174
+ - Fixed `dropdown` behavior with and without `minLengthToService` set;
175
+ - Fixed `dropdown` search on suggestions to ignore case;
176
+ - Fixed `data-table` header z-index to keep below other fixed elements (e.g `vector-footer`);
177
+ - Fixed `multiselect` to get the correct item property for value.
178
+
179
+ ## [3.6.1] (15/06/2022)
180
+
181
+ ### Bug Fixes
182
+
183
+ - Changed overflow behavior of tabview to scroll.
184
+ -
185
+
186
+ ## [3.6.0] (14/06/2022)
187
+
188
+ ### Features
189
+
190
+ - Added selection to data-table component.
191
+ - Added hasAction input, now can hide action column.
192
+
193
+ ## [3.5.0] (09/06/2022)
194
+
195
+ ### Features
196
+
197
+ - Added `disabled` property on `ListItem`;
198
+ - Added `onChange` event on `vector-multiselect-field`.
199
+
200
+ ## [3.4.0] (26/05/2022)
201
+
202
+ ### Features
203
+
204
+ - Added `inputClassName` property to `vector-currency-field`;
205
+
206
+ ### Bug Fixes
207
+
208
+ - Fixed `vector-button` style property type;
209
+
210
+ ## [3.3.1] (25/05/2022)
211
+
212
+ ### Bug Fixes
213
+
214
+ - Fixed `fullName` validation of `Utils`, changed invalid error message.
215
+
216
+ ## [3.3.0] (24/05/2022)
217
+
218
+ ### Features
219
+
220
+ - Added min length to call the dropdown service query.
221
+
222
+ ## [3.2.0] (24/05/2022)
223
+
224
+ ### Features
225
+
226
+ - Added the ability to add a button column to the `vector-data-table` component that calls a custom function.
227
+ - Added the possibility to hide the actions column of the component `vector-data-table`.
228
+
229
+ ## [3.1.1] (20/05/2022)
230
+
231
+ ### Bug Fixes
232
+
233
+ - Fixed `vector-button` to fill 100% of container.
234
+ - Fixed `BOLETO_PATTERN` in `MaskUtils` for accept a digit more.
235
+
236
+ ## [3.1.0] (19/05/2022)
237
+
238
+ ### Features
239
+
240
+ - added `isBankingField` input to `vector-currency-field`.
241
+
242
+ ## [3.0.2] (19/05/2022)
243
+
244
+ ### Bug Fixes
245
+
246
+ - Fixed `vector-button` disable behavior.
247
+
248
+ ## [3.0.1] (08/05/2022)
249
+
250
+ ### Bug Fixes
251
+
252
+ - Fixed peer dependency version.
253
+
254
+ ## [3.0.0] (08/05/2022)
255
+
256
+ ### Breaking Changes
257
+
258
+ - Changed `mixins` to a separated `mixins.scss` file.
259
+
260
+ ### Features
261
+
262
+ - Added generic guard to check if crud list has items;
263
+ - Added generic resolver to get the selected crud item from the list;
264
+ - Added generic resolver to get the selected crud item history from the list;
265
+ - Added `vector-badge` component;
266
+ - Added `vector-crud-header` component;
267
+ - Added `vector-select-button-field` component;
268
+ - Added `formatDocument` pipe;
269
+ - Added `VIRTUAL_CARRIER` view type;
270
+ - Added styles input to `vector-button` to apply styles to the `<button>` tag;
271
+ - Added dynamic filters to dropdown;
272
+ - Breadcrumb now has clickable links to navigate to route fragments.
273
+
274
+ ### Bug Fixes
275
+
276
+ - Menu fixed to navigate to menu route even if it has children;
277
+ - Changed `vector-data-table` appearence to match new design;
278
+ - Fixed `vector-filters` to hide the search button when there is no visible filters;
279
+ - Removed unnecessary `variables.scss` references throughout the project.
280
+
281
+ ## [2.14.0] (05/05/2022)
282
+
283
+ ### Features
284
+
285
+ - TokenIsPresentGuard changed to support both storage and queryParams token.
286
+
287
+ ### Bug Fixes
288
+
289
+ - MenuComponent fixed to take priority on `frameUrl` to make sure `route` can still be used to build the breadcrumbs if needed;
290
+ - Made some changes to the accordion styles.
291
+
292
+ ## [2.13.1] (28/04/2022)
293
+
294
+ ### Bug Fixes
295
+
296
+ - Fix conflict merge with versions 2.12.0 with 2.13.0.
297
+
298
+ ## [2.13.0] (27/04/2022)
299
+
300
+ ### Features
301
+
302
+ - Added input valueMovimented in vector-range-value component.
303
+
304
+ ### Bug Fixes
305
+
306
+ - Fix Sent API address for endpoint.
307
+ - Fix export GeolocationService.
308
+
309
+ ## [2.12.0] (26/04/2022)
310
+
311
+ ### Features
312
+
313
+ - MenuItem changed to accept both singular and array of permissions.
314
+
315
+ ## [2.11.0] (20/04/2022)
316
+
317
+ ### Features
318
+
319
+ - Added currency-input rounded option.
320
+
321
+ ### Bug Fixes
322
+
323
+ - Fixed breadcrumb responsive layout;
324
+ - Fixed radio-button responsive layout;
325
+ - Changed menu backgroud to white;
326
+ - Changed accordion styles.
327
+
328
+ ## [2.10.0] (19/04/2022)
329
+
330
+ ### Features
331
+
332
+ - Added login info and geolocation to share: date, time, device info, ip, hostname, latitude, longitude, accuracy.
333
+
334
+ ## [2.8.0] (08/04/2022)
335
+
336
+ ### Features
337
+
338
+ - Added containsLettersAndNumbers validation.
339
+
340
+ ### Fix
341
+
342
+ - Fix currency-field min and max value don't work.
343
+
344
+ ## [2.7.1] (08/04/2022)
345
+
346
+ ### Fix
347
+
348
+ - Fix text-field don't limit to alpha numeric with alphanumeric true.
349
+
350
+ ## [2.7.0] (04/04/2022)
351
+
352
+ ### Features
353
+
354
+ - Added alphaNumeric option to text-field.
355
+
356
+ ### Bug Fixes
357
+
358
+ - Fix top-bar to hidden notification if is fintech.
359
+ - Fix top-bar changed label for change password.
360
+ - Fix toggle menu when keydown escape.
361
+
362
+ ## [2.6.0] (30/03/2022)
363
+
364
+ ### Features
365
+
366
+ - Added directive min and max for percentage-field.
367
+ - Added notSequentialNumbers validator.
368
+ - Added firstLetterIsUppercase validator.
369
+
370
+ ### Bug Fixes
371
+
372
+ - Fix menu service for don't delete father.
373
+
374
+ ## [2.5.1] (24/03/2022)
375
+
376
+ ### Bug Fixes
377
+
378
+ - Fix input checkbox don't mark when click on label.
379
+
380
+ ## [2.5.0] (21/03/2022)
381
+
382
+ ### Features
383
+
384
+ - Added menu notifications count
385
+
386
+ ### Bug Fixes
387
+
388
+ - Fixed gray colors variables names;
389
+ - Fixed topbar to show Fintech menus only when is Fintech;
390
+ - Fixed permissions request to save permissions on storage before using them.
391
+ - Calendar-field "min" and "max" properties set optional.
392
+
393
+ ## [2.4.0] (20/03/2022)
394
+
395
+ ### Features
396
+
397
+ - Added min and max validation functions to forms;
398
+ - Added onlyActivePipe.
399
+
400
+ ### Bug Fixes
401
+
402
+ - Fixed menu service to hide parent menus when no children is left after filtering by permission;
403
+ - Changed data-table scrollHeight from 350px to 300px to prevent unnecessary scrolling on viewport;
404
+ - Added toast to unexpected errors from the API.
405
+
406
+ ## [2.3.0] (18/03/2022)
407
+
408
+ ### Features
409
+
410
+ - Added vector-field-error-message for showing when field is invalid.
411
+
412
+ ### Bug Fixes
413
+
414
+ - Fix input calendar invalid showing incorrect;
415
+ - Fix input dropdown invalid showing incorrect;
416
+ - Fix Top-bar now show correct account information.
417
+
418
+ ## [2.2.2] (17/03/2022)
419
+
420
+ ### Feature
421
+
422
+ - Added new default color for text in \_variables.scss.
423
+ - Fix Portals items in menu showing incorrect.
424
+
425
+ ## [2.2.1] (17/03/2022)
426
+
427
+ ### Bug Fixes
428
+
429
+ - Fix Portals items menu with switched color.
430
+ - Added directive in vector-top-var(fintech, service);
431
+ - Fix Menu showing without account information in fintech vector-top-bar;
432
+
433
+ ## [2.2.0] (10/03/2022)
434
+
435
+ ### Features
436
+
437
+ - Added textarea field;
438
+ - Added sessionStorage functions to StorageService;
439
+ - Added IFrame opening option to menu items;
440
+ - Added inversed colors vector logo.
441
+
442
+ ### Bug Fixes
443
+
444
+ - Fixed dropdown code comparision on filter to support any format;
445
+ - Fixed data table auto load when using virtual pagination;
446
+ - Fixed breadcrumb font-weight;
447
+ - Fixed menu icon filter.
448
+
449
+ ## [2.0.3] (01/03/2022)
450
+
451
+ ### Bug Fixes
452
+
453
+ - Fixed AuthService url to support multiple projects with different endpoint prefixes.
454
+
455
+ ## [2.0.2] (01/03/2022)
456
+
457
+ ### Bug Fixes
458
+
459
+ - Fixed old variable
460
+
461
+ ## [2.0.1] (01/03/2022)
462
+
463
+ ### Bug Fixes
464
+
465
+ - Fixed missing styles
466
+
467
+ ## [2.0.0] (01/03/2022)
468
+
469
+ ### Breaking Changes
470
+
471
+ - CSS variables changed declaration form.
472
+
473
+ ## [1.0.2] (01/03/2022)
474
+
475
+ ### Bug Fixes
476
+
477
+ - Changed text field filter to validate only when on "only text" mode.
478
+
479
+ ## [1.0.1] (27/02/2022)
480
+
481
+ ### Bug Fixes
482
+
483
+ ### Features
484
+
485
+ ### Breaking Changes
486
+
487
+ - Library publishing