@frui.ts/dataviews
Advanced tools
Changelog
0.16.2
ManualPromise
has observable State
propertyChangelog
0.16.1
CollectionCheck
that onValueChanged
is not called on change.Changelog
0.16.0
Added ManualPromise
, groupBy()
to @frui.ts/helpers.
Added hideValidationErrors()
to @frui.ts/validation.
Added ResponsiveTable
and DataList
controls to @frui.ts/dataviews.
OpenAPI generator refactored. Supports allOf
and oneOf
features.
OpenAPI generator supports Date conversion with date-fns. Use dates: "date-fns"
in the config file.
Input
in @frui.ts/bootstrap supports new props: as
and rows
.
Select
in @frui.ts/bootstrap supports new props: emptyText
.
ScreenBase.isInitialized
is now public.
Added ContinuousListViewModel
to @frui.ts/datascreens. It covers the case of 'endless' lists.
FilteredListViewModel
in @frui.ts/datascreens has new extension/customization points: cloneFilterForApply()
and createFilter()
.
BREAKING: Props of <View />
changed: fallbackMode: "message" | "children"
. In case "children"
is set, the children props of the <View />
component is rendered when no view is found. You can use "children"
instead of the original "empty"
.
BREAKING: getValue
and setValue
hooks accept target
and property
arguments instead of a single props
.
Binding types changed. You can use the third type parameter of IBindingProps<TTarget, TProperty, TValue>
to restrict the binding target value type.
IApiConnector
and FetchApiConnector
changes:
fetchFunction
, jsonSerializer
, and middleware
properties are now protected and thus available to inheriting classespostText
, postFormData
replaced by post
. The same goest for putText
, putFormData
, patchText
, patchFormData
, deleteText
, and deleteJson
.delete
now contains body
argument.RestRequestBuilder
changes:
postFormData
replaced by postData
, putFormData
replaced by putData
path(path: string)
for fluent URL buildingurl:string
property for reading current URLquery-string
package for creating query strings (you can use the queryStringOptions
property to customize the stringification process - see https://github.com/sindresorhus/query-string#stringifyobject-options)