CHANGELOG
[1.5.20] - 2025-07-18
Fixed
- Fixed partial date format on
bk-form-wizardcomponent
[1.5.19] - 2025-07-04
Fixed
- Fixed enum arrays in form wizard
[1.5.18] - 2025-06-06
Added
- added prop interpolation with HTTP response values in
bk-notificationscomponent.
Fixed
- Fixed
bk-tablecolumns when Chrome version is 136 or above.
[1.5.17] - 2025-05-07
Fixed
- added prop
validateFormto custom footer button under theactionssection for validating a form.
[1.5.16] - 2025-03-03
Removed
- Removed the escaping of
&char ineditorandhtml-editor.
[1.5.15] - 2025-01-31
Fixed
- fixed escaping of char
&ineditorandhtml-editorformat.
[1.5.14] - 2025-01-10
- added format for dates and time in
isPartialFormatmode
[1.5.13] - 2024-12-16
Added
- added
methodproperty inbk-import-modalto choose the HTTP method for the import request
[1.5.12] - 2024-12-16
Fixed
- fixed
bk-expanded-filters+read from url
[1.5.11] - 2024-11-29
Fixed
- fixed
bk-tablevisualization when insidebk-layout-swap
[1.5.10] - 2024-11-15
Fixed
- fixed query for writable views' lookup
- fixed typo in italian label on export/import delimiter option
Added
- by specifing
format: dateorformat: timeand adding the flagisPartialFormatto true informOptionsit is possible to use dates and time as simple string and not ISO format.
[1.5.9] - 2024-10-18
Added
groupto components properties
Fixed
- added new key
$dateNowin handlebars to retrieve current date time in ISO format
[1.5.8] - 2024-10-02
Fixed
- fixed csv export option of column names as field IDs of labels
[1.5.7] - 2024-09-20
Fixed
- fixed validation for integer types in input form fields in bk-form-modal component
- fixed filter by special characters in bk-expanded-filters
- fixed conversion of boolean fields in csv export
[1.5.6] - 2024-07-12
Added
- added default export for web components package
- enriched manifests
Fixed
- fixed validation error on array object fields in accordion
- fixed date picker error on array object fields in accordion form
- fixed flag allowNavigation to navigate array of objects
[1.5.5] - 2024-06-28
Fixed
- fixed
bk-tablefit parent on resize - fixed half hidden tooltip in editor
- fixed error for required array of dates in forms
[1.5.4] - 2024-06-13
Added
- added custom events for bk-dynamic-form-modal and bk-dynamic-form-drawer
[1.5.3] - 2024-06-03
Fixed
- fixed logout redirect
- fixed broken link in readonly file fields
[1.5.2] - 2024-05-16
Fixed
- fixed duplicated options in bk-export-modal
- fixed undefined value in bk-card for boolean type
[1.5.1] - 2024-05-03
Added
- added the possibility to choose the date format and the time zone in
bk-export-modalandbk-exportcan now be used withbk-export-modal - added
fitParentContainerproperty tobk-tableto make the table as height as the parent container
Fixed
- fixed link url generation with special characters
[1.5.0] - 2024-03-22
Added
- added the possibility to search between menu items in
bk-layoutand changed the collapse button. - added
useEstimateCountproperty tobk-crud-clientandusePagesCountproperty tobk-pagination
Fixes
- improved behavior of
bk-crud-clientandbk-paginationwhenkeepPageCountis true. - fixed files preview in
bk-file-client
[1.4.17] - 2024-03-08
Added
- added the new format
html-editorin dataschema for typestring. Whenhtml-editorformat is set, the form components show an editor to write html and see a readonly preview of it.
[1.4.16] - 2024-02-15
Fixes
bk-expanded-filterssupportslookupDepsoption
[1.4.15] - 2024-02-07
Fixes
- dynamic values may include new line characters
- bk-expanded-filters allows to customize date picker locale
[1.4.14] - 2024-01-28
Added
- components allow to specify custom texts with
customLocaleproperty bk-dynamic-iframecomponent is availablebk-footerhas propertyloadingOnStart, controlling whether or not the component is initially in loading state
Fixes
bk-dropdowncorrectly displays icon specified iniconId- Fixed lookup deps query in
bk-crud-lookup-client: spaces inserted by the user in the input field are kept in query - Fixed text-areas borders
[1.4.13] - 2024-01-17
Added
bk-export-modalcomponent allows to specify whether to use field ids or field labels as column names in the exported filebk-crud-clientcomponent allows to specify additional sorting property to be appended to_ssearch parameter- client components allow to specify rerouting rules for HTTP requests
[1.4.12] - 2024-01-10
Fixes
bk-calendarallows to open appointments details in "week" and "day" views
[1.4.11] - 2023-12-22
Added
geopointFormatoption is available in data-schemaformOptionsto configure geopoint fields interpretation by Form components ([latitude, longitude]vs[longitude, latitude])
[1.4.10] - 2023-12-11
Added
- Form components provide specific field for plain string arrays and string arrays with enum
- Label localization fallbacks to english if browser language is not supported
bk-tablerenders empty cell for undefined boolean fields- added
userMenuTriggerproperty tobk-layout
Fixes
bk-wizard-formcorrectly submits data that include file fields in nested objectsbk-form-wizardcomponent correctly allows custom title inside stepper- Action buttons in Dynamic Form components correctly perform event actions
bk-layoutcomponent correctly allows to scroll through menu items inleftMenumode- Form components correctly localizes read-only enum fields
bk-form-wizardcomponent holds value updates after failing validationbk-form-cardandbk-dynamic-form-cardcomponents correctly process file fields in initial valuesbk-form-cardcomponents correctly enables submit button on data update
[1.4.9] - 2023-11-23
Fixes
- Form components do not break on relative links
[1.4.8] - 2023-11-22
Fixes
- Form components correctly use monaco editor component to render object / array fields
bk-form-wizardcomponent correctly handles consecutive steps with same fieldsbk-form-wizardcomponent correctly holds values of hidden fields
[1.4.7] - 2023-11-10
Added
bk-crud-clientemitscount-dataanddisplay-dataevents separately, as soon as needed data is fetched from the backend
[1.4.6] - 2023-11-07
Fixes
bk-paginationcomponent handles case of element count being equal to 0
[1.4.5] - 2023-11-02
Added
- form components text editor allow raw HTML mode
[1.4.4] - 2023-10-20
Added
- Added table visualization for array properties in manifests
Fixes
gflag is not included in lookup searches- styling fixes in
bk-layoutcomponentleftMenumode
[1.4.3] - 2023-10-12
Added
- Crud lookup client component provides access to url-mask facilities
[1.4.2] - 2023-10-06
Fixes
- Added boolean type to
filters.valueinbk-tabsmanifest - Added
oneOfGuardto child elements of categories and groups inbk-layoutmanifest - Added schema for
defaultproperty of dataSchema manifest - Calendar component sets style correctly on first render
Added
- Form components allow to edit fields of format
geopoint
[1.4.1] - 2023-09-22
Added
- Component
bk-calendarsupports dynamic configuration inadditionalCreatePayload - Component
bk-calendarhasurlMaskproperty to retrieve data from URL - Component
bk-layoutsupports new layout modalityleftMenu - Form components support month/year navigation and selection in date fields
Fixes
- Title of footer buttons in
bk-galleryare localized - File upload action propagates returned object in hooks
- Copy action supports dynamic configurations via handlebars
- Component
bk-form-wizarddoes not reset in accordion mode on fields changes
[1.4.0] - 2023-08-28
Fixed
bk-layoutshows the user menu whenusercontext is defined (when fetch request to api is successful). This fix will show an empty usernameif not providedbk-layoutmanifestuserInfoUrlwas missing the mock fetch implementationbk-layoutmanifestuserInfoUrl.userPropertiesMappingfixed key overwrite
Added
- Support for
CRUD Serviceimport functionality is available through componentsbk-import-modalandbk-crud-client - Support for
CRUD Servicewritable views is available in components. Standard lookup fields handling is now deprecated. - New components
bk-dynamic-form-modal,bk-dynamic-form-drawer,bk-dynamic-form-card,bk-form-wizardare available. These extend the functionalities ofbk-form-modal,bk-form-drawer,bk-form-card, which are now deprecated.
[1.3.18] - 2023-07-24
Fixed
phosphoricons render tags such asrectorcirclevia@micro-lc/iconic@1.3.1(<https://github.com/micro-lc/micro-lc/pull/796>)
[1.3.17] - 2023-07-14
Fixed
bk-layouticon style back to micro-lc v1 look and feelbk-layoutsupportsphosphoricons via@micro-lc/iconic@1.3.0
[1.3.16] - 2023-06-30
Added
bk-file-picker-modalallows to visualize and select files that have already been uploaded (requiresFiles Serviceversion 2.7.0 or higher)
Fixed
bk-buttoncallback context is responsive to url updatesbk-expanded-filterswith filters parsed from URL correctly perform reset
[1.3.15] - 2023-06-19
Added
- Manifest of component
bk-expanded-filtersincludes propertyreadFromUrl - Manifest of component
bk-file-picker-modalis available
[1.3.14] - 2023-06-15
Added
bk-expanded-filtersoptionally performs bootstrap, applying filters read from URL- new component
bk-file-picker-modalis available, analogous tobk-file-picker-drawer - file fields support
dataSchemaanditemsproperties, allowing to specify meta-data. Form components interact withbk-file-picker-drawerandbk-file-picker-modalto edit files with metadata.
Fixed
nginx:1.24.0-alpinevulnerability fixes in.docker/Dockerfile- Nested objects/arrays are correctly updated when editing form is spawned through
customActionsproperty ofbk-table disbaleOnActionproperty ofbk-buttoncorrectly interacts withbk-file-client
[1.3.13] - 2023-06-01
Fixed
- fixed bug on
selectedParentsproperty ofbk-buttonwhen used insidebk-layout-container - fixed bug on
selectedParentsproperty ofbk-buttonnot correctly updating bk-table, form components,bk-breadcrumbssupportitemskeyword in data-schema for arrays of objects fields
Added
- query parameters of http calls are url-encoded
- new event
http-deleteis listened to bybk-crud-client, allowing to send DELETE requests toCRUD Service bk-tableallows to highlight rows that match mongo-like queries through propertyhighlightedRows
[1.3.12] - 2023-05-19
Fixed
bk-layoutsetslogowhenuserInfoUrlis not specified
[1.3.11] - 2023-05-18
Added
errorevents carry response in payload, if present- item menu in
bk-layoutcan display extra data next to labels using propertybadge enumproperty ofdata-schemasupport array of objects withid,labelkeys, enabling to specify a i18n label for enum values- actions fo type
file-uploadsupportacceptattribute, restricting accepted files bk-cardallows to place footer buttons horizontally through keybuttonsLayoutincardSchema.footerbk-layoutsupports logo source being retrieved from user informationbk-antd-theme-managersupports retrieving theming information from endpoint
Fixed
bk-confirmation-modalinjectsheadersandcredentialsinto dynamically mounted buttonsbk-buttons with action of typehttpcorrectly implementloadingOnActionanddisableOnActionlogic- actions of type
copystop event propagation by default
[1.3.10] - 2023-05-04
Added
- added property
selectedParentstobk-buttonto access the history of previous navigated parents
Fixed
- form components correctly localize default values of date fields
[1.3.9] - 2023-04-26
Added
reflectToUrlproperty allows to control whetherbk-crud-clientreflects its state to the URL with awindow.history.pushStatebk-layout-swapperforms a layout change listening tolayout/changeevent. The payload of the event is the layout rendered by the component (bundled separately)
Fixed
- form components correctly resolve lookups in initial values from
add-newevent payload
[1.3.8] - 2023-04-07
Fixed
bk-cardcomponent appliesvisualizationOptionsto nested objectsbk-search-barandbk-breadcrumbcorrectly update their nesting state on layout change insidebk-layout-container
Added
- new component
bk-file-picker-modal.bk-file-picker-modalandbk-file-picker-drawercomponents allows to attach meta-data to files. - form components allows upload files using to open
bk-file-picker-modal/bk-file-picker-drawercomponent
[1.3.7] - 2023-03-23
Added
- added component
bk-antd-theme-managerand its manifest - added component
bk-loading-animationand its manifest (optional) - added manifest to
bk-layout bk-loading-animationmoved to its own bundle at/dist/bk-loading-animation.esm.js- http components (eg,
bk-crud-client) has propertycredentials, which specifies credentials of http calls
Fixed
- files are downloaded with correct name
[1.3.6] - 2023-03-09
Added
urlMaskproperties ofbk-buttonandbk-url-parametersallow separate masks forpathnameandsearchfields of current URL- actions of type
httpsupport methodsPATCHandPUT
Fixed
headersproperty is forwarded frombk-layout-containerinto its contentbk-layoutadds injected headers in http-calls- locales are correctly loaded on first plugin render
- actions of type
file-uploadcall error event if http-call fails - actions of type
hrefcorrectly resolve dynamic configurations - using
bk-layout-containerdoes not trigger extra http calls - fields are correctly put on focus on
bk-form-modalwizard mode - form components do not discard "_STATE_" field on data creation
bk-search-barkeeps state on layout change
[1.3.5] - 2023-02-23
Added
- new component
bk-dropdownis available bk-form-modalwithextraEndpointproperty injects atriggeredBykey equal tobk-form-modal-extra-endpointintosuccess/erroreventsbk-simple-listsupportsheightproperty, setting max-height of the list body- new Handlebars helper
nFormatallows to format fields of typenumberand formatcurrency, specifying number of decimal places, decimal separator, group separator - new component
bk-notification-centeris available bk-filters-managercomponent allows persistent filters
Fixed
bk-expanded-filterssupports internationalized labels- output of fields with format
editordo not use customquillclasses in form components. Refer to this issue for further details
[1.3.4] - 2023-02-09
Added
- fields in form can have a description in a tooltip
- new web component for auto refresh:
bk-auto-refresh bk-url-parameterssupport wildcards inurlMask, which can be ignored with propertyexcludeWildcards- new component
bk-atlas-dashboardis available bk-cardcomponent supports dynamic footer and buttons usingtemplate-configMappairbk-cardusesvisualizationOptionsin dataschemabk-buttonsupportsAction-sdk thorugh propertyaction.clickConfigis now deprecated and will be removed in future releases, please refer to documentation for migration instructions
Fixed
bk-form-cardresolves lookups in initial values- lookups are correctly resolved
bk-filter-drawerinitial values - Form components correctly support
editorHeightproperty in readonly mode - Tables inside form components render date fields correctly accordingly to
dateOptions.displayFormatin nested data-schema bk-gallerycomponent does not render menu icon if emptybk-simple-listheader style is aligned withbk-cardandbk-form-card
[1.3.3] - 2023-01-26
Fixed
bk-exportcomponent emits success / error eventsdate/date-time/timefields are formatted in filter names accordingly todateOptions.displayFormatin data-schema- table column minWidth is more fitted to the column title
- fields of format "editor" can be edited
- lookups are correctly resolved in filter names
[1.3.2] - 2023-01-18
Added
bk-filter-managerhas a new filter operator for dates:notBetween- components support array of dates
- filters on fields having
filtersOptions.hiddenset to true can be edited through events -bk-calendarworks after settingfiltersOptions.hiddento true forstartDate,endDatefields
Fixed
$todaykeyword in filters works correctly with every operator- hour in date filters works correctly
- improved style of
bk-gallerycomponent
[1.3.1] - 2023-01-10
Added
bk-simple-listresolves lookupsbk-form-cardcan have a custom card header
[1.3.0] - 2022-23-12
Added
- new component
bk-galleryis available
[1.2.3] - 2022-22-12
Added
bk-crud-clientcan be configured to stay on current page after successful CRUD operationbk-calendarallows to specify the name of default date filters
Fixed
- Form components support internationalized strings for file picker fields
[1.2.2] - 2022-21-12
Fixed
- Form and Calendar components support internationalized labels
[1.2.1] - 2022-16-12
Added
- new component
bk-layoutis available, allowing plugins layout customization
Fixed
bk-tabssupportbetweenoperator with complex date filters- lookups in forms are correctly resolved with long running queries
- default values integrate with initial values in
add-newpayload - buttons in
bk-confirmation-modaldo not hold state from previous re-renders
[1.2.0] - 2022-11-17
Added
- file download with POST requests
- configurable height of object/array editor in
bk-filter-drawer,bk-form-drawer,bk-form-modalandbk-form-card bk-tablecustom actions can be configured on a per-nested-level basisbk-file-clientforwardsuseOriginalNamequery parameter tofiles-service(needsfiles-service2.6.4+)- number fields support
date-time,date,timeformats sortOptionis supported inlookupOptions, controlling_sparameter when fetching lookups
Fixed
bk-cardwith default role doesn't show border- nested objects are shown in
bk-tablecomponent without need to includebk-paginationin page - when the same date is used in a
betweenfilter inbk-expanded-filterscomponent, the correct filter is created - fixed infinite loading caused by non-existing file in download-file event
bk-tablecorrectly performspushStateandreplaceStatewhenbrowseOnRowSelectproperty hasnavigationTypeset to "push" or "replace"
[1.1.2] - 2022-11-02
Fixed
bk-tablecorrectly indexes rows ifprimaryKeyproperty is not defined (fixes rendering errors with nested objects)- drawers follow Ant standard styling
Added
bk-buttonenables bulk actions- new component
bk-expanded-filter bk-tableaccepts nested object path as data source
[1.1.1] - 2022-10-19
Fixed
bk-form-drawerandbk-form-modalshowreadOnlydates with correct format, specified indateOptions- components keep loading until lookups aren't solved
- skip parameter (
_sk) is reset when fetching data (unless query was triggered by pagination update) bk-filter-drawerfilters of typedatework correctlybk-layout-containersupports disabling its render root as shadow dom. Useful to embedbk-calendar.
Added
- enable
urlMaskinbk-tablecustomActions.
[1.1.0] - 2022-10-05
Fixed
bk-form-drawersends events created bydataCustomActionswith the correct payload- regex operators are escaped in search queries
bk-form-drawerfields don't enable save button whenlookupDepsprop is used- file fields are correctly updated inside nested fields
bk-form-modalwith setextraEndpointcorrectly opens wizard mode- search queries are correctly performed for number fields
- fixed filter drawer bugs: exists operator, monaco editor
Added
- added the possibility to block a column in
bk-form-table ignoreCasefield is available infiltersOptions, controlling whether equality filters should be evaluated ignoring case- custom button icon in nested tables
- complex date manipulation on
bk-tabsfilters
BREAKING CHANGES
-
docker image serving back-kit components moved to:
nexus.mia-platform.eu/back-kit/bk-web-components:{{BACK-KIT-VERSION}}. How to fix:- retrieve back-kit component from
nexus.mia-platform.eu/back-kit/bk-web-components:1.1.0
- retrieve back-kit component from
-
component
bk-calendarusesaddFilterevent to handle data filtering. How to fix:- make sure
bk-filters-manageris included in the page:
...
{
"type": "element",
"tag": "bk-filters-manager"
}
... - make sure
-
bk-modalis nowbk-old-modal. How to fix:- replace
bk-modalwithbk-old-modalin configurations
- replace
-
bk-draweris nowbk-old-drawer. How to fix:- replace
bk-drawerwithbk-old-drawerin configurations
- replace
[1.0.11] - 2022-10-05
Fixed
bk-form-drawersends events created bydataCustomActionswith the correct payloadbk-form-modalwith setextraEndpointcorrectly opens wizard mode
Added
ignoreCasefield is available infiltersOptions, controlling whether equality filters should be evaluated ignoring case
[1.0.10] - 2022-09-21
Fixed
- fixed bug format currency
- readonly object and array fields are correctly displayed in forms
[1.0.9] - 2022-09-14
Fixed
- fixed export-modal bug on columns selection
- fixed ampersand visualization bug on table cells
- equal and not equal filters of properties with format "date" will not take in consideration the whole day
Added
- new React component
BulkActions - new components
bk-bulk-deleteandbk-bulk-actions - added support to
existsoperator in filters
[1.0.8] - 2022-09-07
Fixed
bk-pdf-vieweropens underbk-form-modal- when a time/date/date-time field is marked as readOnly, it doesn't display the correct date format in the form
bk-buttondoes not emit events after plugin is changed
Added
- confirmation dialog on form submit:
bk-form-drawer,bk-form-modal - property
showArrayPopoverinbk-tableallows displaying a popover on hovering array cells containing the elements of the array
[1.0.7] - 2022-08-03
Fixed
bk-filters-managerdoes not display filters with properties havingfiltersOptions.hiddenequals to true- Fixed trailing comma bug in
bk-crud-clientwhile adding MongoDB query filters in "$and" clauses
Added
- danger colors can be controlled by global CSS variables
bk-tableallows resizable columns using propertyresizableColumns- title and content of confirmation modals of
bk-tablerow actions can now use the content of the row via Handlebars bk-file-pickercan be used to update fields of typearrayand formatfile- new components
bk-export-clientandbk-export-modal - Added
Export Servicefrontend client to perform collection exports - fields with type
numbersupportcurrencyformat
[1.0.6] - 2022-07-20
Fixed
- fixed border-radius issue on select component in multiselect mode
- fixed support to filters added at bootstrap time
Added
- box-shadow color can be controlled by global CSS variables
- new React component
MultipleFileCell bk-tablehas custom visualization for array of filesbk-tableallows to specifydownloadorviewmode in propnavigationRowActions- added
appendTrailingSlashproperty onbk-crud-client - Update Files Service interface on
bk-file-clientallowing for download with actual filename in Content-Disposition header field bk-formandbk-file-managersupport file array
[1.0.5] - 2022-07-06
Fixed
bk-tabledoes not render empty action columnbk-form-modalcorrectly solves lookups in wizard mode
Added
bk-carddisplay main content in a css grid structurebk-modalreduced top css rule to center the container- actions are evenly spaced in actions column in
bk-table - http client supports PUT method
bk-filter-drawerandbk-filters-managermigrated to lit components.bk-crud-lookup-clientsolves nested lookupsbk-paginationresets pageNumber when count and current page are inconsistentbk-crud-clientpatch response can also be a 204 no-contentbk-filters-managersupports hidden static filters
[1.0.4] - 2022-06-23
Fixed
bk-crud-clientfixed support to projections in GET / and GET /count methods
Added
- new react hook
useDynamicElementfor creating components dynamically - new react components
StepperandAccordion - react components
Formsupportsaccordionvisualization bk-tablesupportsdangerinrowActionsandnavigationRowActionsbk-button/bk-generic-buttonsupports http delete asclickConfigbk-notificationsapi fixbk-crud-lookup-clientsupports recursive lookup resolution when properly hinted by theDataSchemabk-form-modalsupports wizard visualization
[1.0.3] - 2022-06-08
Added
bk-cardsupports date with configurable formattingbk-formsupports map visualization for object/array fields having format "geopoint"bk-file-clientis implemented in litbk-file-manageris implemented in litbk-file-picker-draweris implemented in litbk-form-cardis implemented in litbk-buttonbk-generic-buttonsupportfile-downloadtypebk-cardsupportsEventBusin sub-components props +bk-buttonstyle fixes ontypelinkbk-buttonsupportsdangerprop
[1.0.2] - 2022-05-25
Added
-
navigationTypecan be specified inbk-tablein propbrowseOnRowSelect, specifying the desired navigation method. -
bk-form-modalandbk-form-drawerare implemented in lit -
bk-cardfooter accepts dynamic configurations with handlebars notation -
it is allowed to search numbers
-
nested objects visualization supports file upload/download
-
bk-tablehas custom visualization for array of files -
bk-tableallows to specifydownloadorviewmode in propnavigationRowActions
[1.0.1] - 2022-05-12
Added
Tableaccepts (template, configMap) pairs in custom components properties.TableacceptsonCellClickBuilder, buildingonClickcallback for cells.- property
customActionsinbk-tableaccepts (template,configMap) pairs for values depending on table row. bk-tableacceptsopenFileInViewerRegex, determining which file cells are clickable, opening the file inside the native viewer of the browser.- support to subsets of operators in
bk-filter-drawer+ support tostringenum fields. - new
bk-layout-containercomponent allows to render multiple configurations within the same plugin. bk-tabsmigrated to lit components.bk-tabscan pipe custom events to theEventBus.- date filters now support key
$todayas value, indicating the current date
[1.0.0] - 2022-04-22
Added
- added new component
Chip - building custom component inside
Tablehandles undefined context in handlebars PaginationsupportsbuttonsOnlymodality, only displaying previous button, next button and page size menu- property
allowNavigationinbk-form-card,bk-form-drawerandbk-form-modalaccepts values true, false, 'show-editor' bk-buttonaccepts propertynavigationStrategywhich allows to disable/hide the button in navigation- key
showInViewerinformOptionsinside the data-schema and keyshowInViewerindownloadFile's meta allow to display supported files (PDFs) inside the browser, while propertyshowPdfInBrowserinbk-file-clientis no longer needed - added new component
bk-chip bk-crud-clientcan retrievehttpresponses and append the content to thesuccessevent payloadbk-state-adapterallows carrying some state to another plugin + new documentation onplugin navigation- if a negative page total count is received,
bk-paginationonly displays previous button, next button and page-size menu, omitting current page, page total and skip all buttons
[0.10.7] - 2022-04-08
BREAKING CHANGES
lookupQueriesrequire a new keypropertyTypethat specifies the type of thepropertyfield that is queried if this is notstring. How to fix: add a new keypropertyTypein each filter insidelookupQueries, with the type of the queried property.
Added
- added new property
computeOptionKeytoFormandTablethat allows to compute the key to use when retrieving options forlookups andmultilookups Tablesupports custom components in the actions columnlookups andmulti-lookups fields are resolved when navigating nested objects/arrays inbk-table,bk-form-drawerandbk-form-modalbk-tablesupports custom components in the actions column via the propcustomActionslookupQueriesnow support queries based on fields that are not included as properties in thedata-schema. KeypropertyTypeadded tolookupQueries, indicating the type of the property being filteredbk-tabssupports handlebars in filters with array valuebk-crud-lookup-clientsupportsextraLookupKeys, which specifies extra fields to retrieve data from CRUD collectionsbk-paginationis now a lit component
[0.10.6] - 2022-04-01
BREAKING CHANGES
crud-clientinteracts withwindow.historyusingreplaceStateinstead ofpushStateallowing plugin navigation. (very low impact)
Added
- It is now possible to specify the hiddenLabel visualization option in dataschema properties to hide the table column name.
- It is now possible to specify the sortable visualization option in dataschema properties to enable/disable the table column sort.
- Moved search-bar logic to web components
objectvisualization templatebk-crud-lookup-clientnow supports searchLookups event, searching lookups against a text valuebk-crud-clientnow supports search queries on lookups- removed
bk-search-barcomponent bk-file-clientcan be configured to request in-browser PDF visualization instead of requesting downloadbk-pdf-viewercomponent allows to visualize PDF files in-browser- added new
bk-search-barcomponent that allows text search - Add new web component
bk-dynamic-title - Add new web component
bk-list - Add new web component
bk-url-parameters
[0.10.5] - 2022-03-17
Added
- Added new component
Generic Button - Added
betweenfilter - Dynamic href are resolved for link add-ons.
- Added new components
NavigationBackArrowandBreadcrumbs - It is now possible to specify dynamic links for href in link addons.
- It is now possible to navigate and edit nested objects.
dataSchemasupports typeobjectformatlocalized-textand renders the object according with the browser language- It is now possible to specify a
betweenoperator for date fields in filters. - Form card component
bk-form-card - Subtitle for
form-modalandform-drawer nativeDownloadonbk-exportenables native browser file download aliasing the export service- Add new web component
bk-generic-button- it handles configurable onCLick action. bk-dynamic-titlecomponent- Add new web component
bk-navigation-nack-arrowandbk-breadcrumbsto handle nested objects navigation.
[0.10.4] - 2022-02-21
Fixed
- Avoid FontAwesome's CSS collision
Added
- fetchOptions for dependent fields is run on on-blur event
[0.10.3] - 2022-01-28
Fixed
- when
nullobject reaches a table it is correctly printed as an italic placeholder string
Added
TableandFormnow receive already resolved lookup dataFormreceives options and fetchOptions properties for dependent lookup and multilookup fields- Options for lookup fields are now fetched live as the user is typing, instead of being retrieved all at once
- If key is turned on --> duplicate keeps the state. If state is passed as not undefined, creating drags it along as well
- Unresolved lookups can be set to display a custom error message on
bk-table,bk-form-drawerandbk-form-modal - It is now possible to specify dependencies between lookup and multilookup fields specifying
lookupDepsinsidelookupOptionsin the dataSchema. - It is now possible to specify
lookupAddTrailingSlashinlookupOptionswhich controls whether or not a trailing/is added to the url when the lookup data is queried. Defaults totrue.
[0.10.2] - 2022-01-14
Fixed
- It is now possible to paste content in
Editorwithout scrolling back to the top
Added
Formallows to visualizeobjects andarrays either as table or MonacoEditor, when attached to modal viewerallowObjectAsTableproperty/attribute added tobk-form-modalbk-add-new-buttonnow accepts an initialValues prop that gets forwarded to theadd-newevent.
[0.10.1] - 2021-12-17
Fixed
- Issue-38 definitive delete sends
__STATE__to CRUD jointly with delete by id request
[0.10.0] - 2021-12-10
Fixed
filterFormnow correctly supports live search in lookup fields- readonly form drawer doesn't overwrite configurations/data-schema
- Query builder now starts off from a fresh query every time and creates it with the current query object, any other query parameter will be removed
bk-tabsnow expects every tab to have also akeyproperty in tab objects, objects with nokeyproperty are deprecated, this is to keep consistency with links exchanged between users with different ACL rulesbk-form-drawernow correctly passes language to its inner componentsbk-filter-formnow correctly supports live search in lookup fields
BREAKING CHANGES
- Tabs props now expect
defaultActiveKeyasstringinstead ofdefaultActiveIndex,tabshas to be provided as aRecord<string, Tab>instead of an array of tabs using-drawerevent is nowusing-form-container
Added
- Created new Editor component
- Created new format
editorfor the form - Created modal as form container
- save is enabled on form drawer if entries are not touched and relative config is enabled
readOnlyanddisabledproperties can be configured separately onform-drawerinsertorupdateopening mode- Created bk-form-modal component
[0.9.0] - 2021-11-08
Changed
formnow correctly validatesfileInputrequiredprop- date, lookup, file, and form addon properties are now automatically excluded from queries generated by free-text search
- drawer confirmation modal before close is configurable from prop
requireConfirm - drawer actions is configurable for each action from prop
closeOnClick
BREAKING CHANGES
- Table maxLines has no default value
Added
- Table fill parent size if no maxLines has been specified
[0.8.1] - 2021-10-26
Fixed
bk-file-managernow correctly sendscreate-dataevent after uploading following acreate-data-with-file
Added
tablenow supportsdefaultSortedPropanddefaultSortOrderprops to mark a column as already sorted when generating headersbk-tablenow supportsinitialSortPropertyandinitialSortDirectionprops to provide a bootstrap sorting order to table
[0.8.0] - 2021-10-22
Fixed
bk-form-drawershould not overwrite default locales when merging user config
Changed
- Data are now refreshed after an HTTP POST triggered by a table row action
Added
- Form now supports file input fields
bk-form-drawercan now accept areadonlyOnViewprop, when true, will use a readonly form to represent the selected databk-form-drawernow communicates with file manager to handle multiple file upload linked to a record while creating/updating a record
[0.7.0] - 2021-10-07
BREAKING CHANGES
bk-file-picker-drawer,bk-form-drawer, andbk-filter-drawerlocale labels are now lowercase
Added
- When creating a new event,
bk-calendarcan now pass a configurable payload alongside withstartDateandendDate - When creating a new event,
bk-calendarcan now pass a configurable payload alongside withstartDateandendDate
[0.6.0] - 2021-09-29
Changed
- Changed calendar component props interfaces
Added
- Components use
headerscustom prop to inject headers on http clients
[0.5.0] - 2021-09-23
Fixed
- Lookup queries must involve only fields declared within the
dataSchama - Href links are limited to current page domain. no external ref allowed
emailtext field validation did occur twice
Added
- Drawer component now can render custom data actions in the header
- Confirmation ConfirmationModal component
bk-form-drawerawaits a success/error on their transaction before to close. On error it stays open- Custom actions are available on
bk-form-drawercomponent - Added
bk-confirm-modalConfirmation ConfirmationModal component - Custom actions now can trigger the
bk-confirm-modalby specifyingrequireConfirmand customize the messages in the modal if provided in the object bk-form-drawerusesbk-confirm-modalto ask confirmation before closing if fields are touched
[0.4.0] - 2021-09-16
Fixed
- Filters on array properties that are not multilookup are now supported
bk-filter-drawerwill now wait for lookup data if there is at least one lookup property in the data schema
BREAKING CHANGES
bk-notificationcomponent props were modified. Three props are now available:successEventMap,errorEventMapandcustomEventMapevent mapscrud-clientandcrud-lookup-clientchanged prop name fromschematodataSchema- Naming convention moved to
bk-component-name even forclientsandfile-picker-drawer
Added
- Documentation automation
- Filters marked as hidden are not written in the URL
[0.3.0] - 2021-09-09
BREAKING CHANGES
- Form links now have to be declared in the
propertiesproperty of the data schema. PropertyformLinksis no longer supported. - Form titles and subtitles now have to be declared in the
propertiesproperty of the data schema. Propertiestitle,subtitleandsubtitlePositionofdata-schema'sFormOptionsare no longer supported.
Added
- Properties can be hidden from FiltersForm with property
filtersOptions.hiddenin data schema. - Table
rowActionssupportdownload-fileevent when a file is available in row - Table
browseOnSelectRowsupports browsing away by clicking the row - Add-new-button
browseOnButtonClicksupports browsing away by clicking the button - Form web-components now support custom localized labels
[0.2.0] - 2021-09-03
[0.2.0-alpha.6] - 2021-09-02
Fixed
- Tabs now support values with
|in them - Patch now works on $set $unset
[0.2.0-alpha.5] - 2021-09-02
Fixed
__STATE__property has been removed from query parameters_qand moved to_st. Conflicting__STATE__changes are defaulted in favour of the selected tab__STATE__filter- Fixed filters on lookup-client
Added
- Tabs support
currentUseron queries
[0.2.0-alpha.4] - 2021-08-30
Fixed
- Table lookup and multilookup resolve
- Monaco now correctly load in prod build
- Required complex objects now properly validate
Changed
- The only supported format both in input and output is now only ISO8601 in every component using dates
- Only changed values are sent to patch
- Edited form output formatting for Dates
Added
- File picker now handle the download of a previously uploaded file
- On update data,
nullfields are used for the$unset - From file drawer is now possible to download the previously uploaded file
- From file drawer is now possible to delete the previously uploaded file
[0.2.0-alpha.3] - 2021-08-23
Fixed
- Fixed date input formatting when format was date-time, time
- Live search in form lookup and multilookup field is now applied to label instead of value
- Fixed multiple lookup on same datasource
- Fixed scroll on top of the drawer when is visible
- Fixed filter duplication reload when there was a filter configured in DataSchema
- Fixed date input formatting when format was date-time, time
- Fixed multiple lookup on same datasource
- Standardized locale for drawer web components
- Aligned test general behavior for eventBus and subscription
Changed
- Dependencies upgrade
- Removed matchMedia mock
- Jest default testEnvironment = 'jsdom'
- Font awesome icons as peer dependency
- Removed peerDependencies from devDependencies
- Reordered scripts
- Now form accept a React.Ref object
- Dependencies upgrade
- Removed testSetup
- At boot, the table loading spinner is activated
BREAKING CHANGES
- The entry point for bk-web-components is now exposed under
/{DOCKER_IMAGE_VERSION}/bk-web-components.esm.jspath
Added
- React Table component supports cell visualization on type:
objectand format:file - Added filter support to array types
- Added support to includeSome/includeAll/includeExactly operators in array filters
- Form localization
- Form links target property is now configurable
- Support for readonly properties in form
- File picker component
- Inserted
lookupQueriesinlookupOptions - More efficient components behavior thanks to
useMemoanduseCallback - CrudQueryConverter now supports includeSome/includeAll/includeExactly array operators in filter queries
- Added delete support on file-client
- Added
file-mangerweb-component - it handles transactions betweenfile-clientandcrud-clienton collections having a property with formatfile - Support for multiple queries in
andin Tabs component. - File picker with drawer component
- Inserted
filtersprop incrud-lookup-client - The sort property in the url are managed by the table
[0.2.0-alpha.2] - 2021-08-05
Fixed
- Fix read only in date inputs.
- Aligned CRUD client format (string) with Calendar events format (date).
Added
- Support to string formats
date-timeandtimein form.