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