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