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