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