Changelog - 4.x.x Releases
4.8.2 (12/08/2020)
Features
common
SDKBACK-270: Added External Authentication Service used to request a Google Access Token.
4.8.1 (10/08/2020)
Changes
http
4.8.0 (23/07/2020)
Breaking changes
dependencies
FRM-1329: Added
"dompurify": "2.0.12"dependency
Features
common > notification
FRM-1329: Notifications can now have HTML
common
FRM-1289: Added
ensureTrailingSlashtoinitAppSettings
Changes
Bug Fixes
navigation
FRM-1349: Fix “No provider for MatSnackBar” error
components > tab-group
FRM-1335: Subroutes can now be used and will work properly
common > notification
FRM-1290: Fixed an issue where notification messages would be duplicated when multiple tabs were open
Other
4.7.1 (07/07/2020)
Bug Fixes
components > tree-table
FRM-1326: Fixed a bug where columns wouldn’t resize correctly when
fitColumns = false
4.7.0 (06/07/2020)
Breaking changes
components > tree-table
FRM-1324: Removed group funcitonality
Features
components > tree-table
FRM-1320: Added
'single'selection modeFRM-1321: Added a new way to define column sizes with
columnSizing,fitColumns,minColSizeanddefaultColSizepropertiesFRM-1322: Added column resizing
FRM-1324: Updated visual styles to be more in line with
<vs-grid>, addedisLoadingproperty, added “no results” message
Bug Fixes
components > filter
FRM-1325: Fixed a bug where
filterOptions.getItemswould have undefined params when using default values
4.6.0 (29/06/2020)
Features
components > grid
FRM-1241: Added option to clear selection upon filtering when selection mode is set to
'checkbox'
components > datepicker
FRM-1226: You can now type in the time field in the datepicker overlay
components > tree-table
FRM-1275: Added filter features from grid (caching requires setting
cacheIdproperty)FRM-1276: Added column sorting (caching requires setting
cacheIdproperty)FRM-1277: Added
typeproperty to columnsDefault styling/formatting columns can be used as well as custom ones can be created by declaring a
vsTemplateinside the Tree Table'boolean','currency','currency-precision','date','date-time'and'number'have default filter settings that can be overridden if neccessary
FRM-1277: Added
translateproperty to columnsFRM-1278: Added actions column to tree-table
FRM-1279: Added the ability to reorder columns
FRM-1280: Added
childrenandexpandedproperties toVsTreeTableNodeFRM-1280: Added
data-tt-*attributes to many parts of the component to make testing easierFRM-1280: Added
rowDatavariable to custom templates
Bug Fixes
components > filter
components > grid
Breaking Changes
components > grid ➡ components > filter, common
FRM-1275: Filter imports have been moved from
@viasoft/components/gridto@viasoft/components/filterand@viasoft/common
4.5.1 (04/06/2020)
Bug Fixes
4.5.0 (02/06/2020)
Features
components/grid - FRM-1207
Revamped filter UI
Added option to customize available and default operators for each column, including custom ones
Improved filter accessibility, highlighting columns with applied filters as well as the filter “toggle”
Removed the Material Datepicker dependency, meaning you should no longer need to provide a
DateAdapterAdded “selection” mode
Lets you provide the user with a list of options, letting them select one or more items to filter by
See
filterOptionsproperties in each column for more info
components/grid - FRM-1238
Added
filterOptions.useFieldto column settingsAllows you to override which field will be used when filtering the column (not affected by
filterFieldFormat)
components/datepicker - FRM-1255
You can now type in the Datepicker field
If value is invalid, the field will be cleared
Date selecion overlay is shown only when clicking the icon
Selecting a date will close it, but selecting a time won’t
Re-added
readonlyproperty
components/dialog - FRM-1261
vs-dialogcan now be used inside regular Angular Material dialogs
other - FRM-1258
Angular Material dialogs now have a minimum width
Changes
components/grid - FRM-1237
Changed default tag color in
VsGridTagColumn
Breaking Changes
components/grid - FRM-1207
Removed
vs-data-grid, please usevs-gridexclusively from now onGrid import changed from
@viasoft/components/gridsto@viasoft/components/gridRenamed
IVsGridCelltoVsGridCell
components/textarea - FRM-1254
Removed mask functionality
This also fixes a bug where the textarea prevented the user from pressing the
UPkey
components/layout - FRM-1197
Added
vs-layout:Read more about it here.
Use
fillattribute to makevs-layoutfill 100% heightUsage:
<vs-layout fill> ... </vs-layout>
components/form - FRM-1197
Added
vs-form:Independent from
vs-layoutDumb component used to provide
group-xfunctionality previously found invs-form-group;Using a
vs-forminside avs-layoutwith thesolidattribute provides roughly the same functionality as avs-form-groupused to.
nestedattribute can be added to nested components to force margin removal when it can’t be done automaticallyUsage:
<vs-form> <form> <element nested></element> </form> </vs-form>
components/card - FRM-1197
Removed
VsCardModuleand its contents, meaningvs-card,vs-panel,vs-modal,vs-form-groupandvs-modal-searchno longer exist. Please usevs-layoutexclusively from now on.
components/data-card - FRM-1197
Removed
VsDataCardModuleand its contents.
components/dialog - FRM-1197
Refactored dialog to use
vs-layoutinternally, providing much better layout consistency inside dialogs;Removed unused
isLoadingattribute.
components/select-modal-legacy - FRM-1197
Refactored modal to use
vs-layoutinternally.
components/select-modal - FRM-1197
Refactored modal to use
vs-layoutinternally.
Bug Fixes
4.4.1 (14/05/2020)
Changes
common/grid - FRM-1237
Changed default tag color in
VsGridTagColumn
Bug Fixes
common/validators - FRM-1236
Fixed CnpjOrCpf validator, allowing empty value
4.4.0 (08/05/2020)
Breaking Changes
Features
components/grid - FRM-1196
VsGridOptions.filterFieldFormatwill now apply to sorting as well
components/grid - FRM-1208
Added
VsGridTagColumnThis column accepts data in the following formats:
string: will be displayed as a simple tag with default background and text colors{ text: string, color?: string, textColor?: string }: allows you to pick a background color (color) as long as it’s a valid HTML Hex color or CSS named color, and the text color (textColor), defaulting to black or white based on the background colorArrayof any type listed above, or a mix of them
Further information and guides will be available in the docs in the future.
Changes
navigation - FRM-987
Fixed active route showing up on many items or no items at all.
Added
detectParameters: booleanproperty toIItemMenuOptions.When
true, “active” item will be determined on a closest-match basis, meaning the route/page?abc=123will be matched to an item with the path/page.When
false, “active” item will be determined by checking if the current route is identical to the item’s path.
Bug Fixes
components/grid - FRM-820
Fixed 9-digit number formatting on phone columns.
components/kanban - FRM-996
Fixed filter being “stuck” after one search.
common/initAppSettings - FRM-1203
Fixed request for app appsettings when cdnUrl is provided.
components/input - FRM-1177
Fixed a bug where clicking on an icon suffix/prefix would cause an error to be thrown.