Added
1.10.5 2020-03-30
1.10.2 2020-03-09
UMasterDetailView
component. Same as UTableEntity but with details grid.
utils/clickOutside
additional listener to contextmenu
event
UDropdownItem
- Documentation
- Property
preventClose
- Possibility to nest one in another
UDropdown
UTableEntity
slots
toolbarDropdownExports
replace exports button in toolbar dropdown
contextMenuPrepend
prepend items in context menu
contextMenu
replace whole context menu
contextMenuEditRecord
replace action "edit" in context menu
contextMenuCopy
replace action "copy" in context menu
contextMenuDelete
replace action "delete" in context menu
contextMenuLink
replace "copy link" in context menu
contextMenuAudit
replace "audit" in context menu
contextMenuDetails
replace "detail records list" in context menu
contextMenuAppend
append items in context menu
Changed
1.10.5 2020-03-30
UToolbarButton
color info
replaced by secondary
according new hsl variables
1.10.3 2020-03-17
lookups/getEnumValue
in case code is null
or undefined
didn't try to get value from eGroup
UTableEntity
hide columns Json
and Document
by default in case columns
param is unset.
USelectEntity
hide columns Json
and Document
by default in table which opened on click action - Select from dictionary
1.10.2 2020-03-09
UTableEntity
, UToolbar
, UNavbar
and UNavbarUserButton
used UDropdown
as context
menu instead UContextMenu
UTable
- event contextmenu
is renamed to contextmenu-cell
and emitted with row
and column
parameters
lookups/getEnumValue
console.error is removed in case code is null
UTableEntity
all cell templates except type Document
are uses format
function instead
of vue templates. This allow to override cell template format
function in column definition.
As before any column can be overwritten by template
UFile
, document column template and document preview will add fake parameter _rc=documentRevision for getDocument
request to prevent unexpected caching by proxies in case content (together with revision) is changed by server
- renamed css classes:
- from
ub-toolbar
to u-toolbar
- from
ub-toolbar__button
to u-toolbar__button
- from
ub-navbar
to u-navbar
- BREAKING
UForm/processing
data is loaded before form mount.
If server returns undefined form will not mount
UTable
- event contextmenu
is renamed to contextmenu-cell
and emitted with row
and column
parameters
Deprecated
1.10.5 2020-03-30
- rgb css variables no more supports. Recommended migrate to hsl variables.
So that the old code doesn't break copy this css variables in project.
:root{
--bg: 55, 63, 81;
--bg-hover: 47, 53, 68;
--bg-grey: 245, 247, 250;
--primary: 66, 183, 115;
--secondary: 128, 170, 226;
--danger: 245, 108, 108;
--info: 96, 98, 102;
--info-light: 192, 196, 204;
--warning: 230, 162, 60;
--success: 103, 194, 58;
--text: 50, 59, 69;
--text-contrast: 255, 255, 255;
--scrollbar: 232, 232, 232;
--scrollbar-bg: 251, 251, 251;
--table-bg: 255, 255, 255;
--table-cell-fixed-bg: 253, 253, 253;
--table-cell-hover: 238, 242, 247;
--table-border: var(--bg-grey);
--table-border-hover: 231, 236, 243;
--table-text: 77, 79, 83;
--table-header-color: 125, 128, 135;
--table-selected-row: 245, 252, 248;
--table-selected-cell: 235, 248, 241;
--input-border: 173, 176, 184;
--input-placeholder: var(--bg);
1.10.2 2020-03-09
UTableEntity
props dateFormat
and dateTimeFormat
. format
function in column definition should
be used to change date format
Removed
1.10.2 2020-03-09
UContextMenu
use UDropdown
instead
UDropdown
prop width
. It will computed automatically
UDropdownItem
prop hideOnClick
. Hides on click by default. Can prevented by preventClose
prop
Fixed
1.10.4 2020-03-20
UInput
for Currency attribute will use 0.01 as step instead of 0.1.
This fix Firefox native validation for values with two digits after "."
UCodeMirror
error split of undefined
. Because codemirror must use JSON string instead value as object from props
USelectEntity
- set display value now emits on click outside instead blur input
1.10.3 2020-03-17
USelectEntity
: fetch displayed value on blur
event
1.10.2 2020-03-09
USelectMultiple
: fetch displayed values by valueAttribute
not by ID
only
- prevent
USelectEnum
to show invalid selected item caption in case enum with the same code exists in different eGroup.
Internally USelectEnum uses unclearable
Repository.where() parameter to prevent clearWhereList() to remove
filtering by eGroup
UTableEntity
custom column filter renderer. Shows filter for dataType which custom provided by attribute.dataType
in column definition
UTableEntity
show error window in case failed to load data
UCodeMirror
wrong position of help tooltip
UTableEntity
prevent keyboard actions - arrow Up, Down etc.
, edit
, delete
in case table is empty.
Form/processing
in case record ID is undefined in DB will show error window and did not open this form
1.10.1 2020-03-04
UTableEntity
error ... .dataType of undefined ...
in case used custom columns
Added
5.13.2 2020-03-09
- fake parameter _ rc=documentRevision into
getDocument
request for ubDocument
component
The reason is to prevent unexpected content caching by proxies in case content changed by the server.
Used by "caching servers" in multi-region UB deployment
Changed
5.13.5 2020-03-30
- rename i18n key
vseDeystviya
-> allActions
Fixed
5.13.5 2020-03-30
UBCommand.showForm
will accept instanceId
parameter in case it defined (prefer over instanceID
). This fix opening form from magic links
5.13.3 2020-03-17
- 'UBText.MultiLangForm' should set a lock on
BasePanel
when changing to avoid errors
(Entry with ID = XXXXXXXX for "my_entity" is not blocked) when the form is saved.
5.13.1 2020-03-04
- tinyMCE base URL should not ends with
/
(prevent URLs like //skins/*)
- Ukrainian No i18n - replace english i with Ukrainian
Added
5.2.3 2020-03-17
- ubConfig parser what replace environment variables placeholders now replace variables with empty values (
var=
) by empty strings
- in case environment variable is undefined ubConfig parser will output error message with variable name
Changed
5.2.1 2020-03-04
- FileBasedStoreLoader - fix ESLint errors (mostly let -> const)
Fixed
5.2.4 2020-03-20
SyncConnection.getDomainInfo
will reset a cached domain in case isExtended parameter is changed.
This fix a case like:
const dSimple = conn.getDomainInfo(); // get not extended domain
const dExtended = conn.getDomainInfo(true); // request for extended domain, but before this fix got non-extended cached instance
5.2.3 2020-03-17
- for UBBaseCombobox will enable only accessible actions after setReadOnly(true)/setReadOnly(false) calls.
Before this patch all actions become enabled
Added
5.4.5 2020-03-30
cdn_classifier
: added new attribute orderByAttr
for sorting classifiers items
Fixed
5.4.3 2020-03-17
- cdn_person, fixed EN word "sufix" to "suffix"
Added
5.2.2 2020-03-09
- 4th parameter of
CustomRepository.where()
can be either string for clause name or Object with optional properties
{clauseName: string, clearable: boolean}
. If clearable === false
then CustomRepository.clearWhereList()
will skip removing this where condition
5.2.1 2020-03-04
- LocalDataStore will exports
whereListToFunctions
method
Fixed
5.2.3 2020-03-17
Repository.fromUbql(original)
will deep clone original UBQL instead of referencing to it elements.
This prevent unexpected mutations of new Repository when original UBQL is mutated.
Fixed
5.3.3 2020-03-17
- cyclic dep check for org units - raised an exception, when pass parentID - the same as it was before
Fixed
5.5.3 2020-03-17
UBProxy.doRequest
clears existed orderList in case operation
parameter contains new orderList
. [UBDF-11145]
To prevent an error when a new column for sorting is added to the end of the sql command and sorting by them is skipped.
5.5.1 2020-03-04
- Ukrainian No i18n - replace english i with Ukrainian
Added
5.4.1 2020-03-04
- user-friendly exception in case UB server version < 5.18. 5.18.0 is a minimal version of server for this package version
Removed
5.4.1 2020-03-04
App.fileChecksum
App.folderChecksum
App.resolveStatic
are removed
- ubConfig sections
httpServer.headersPostprocessors
and httpServer.watchFileChanges
are removed
Added
5.5.1 2020-03-04
ubcli meta-tr
will transform entity level mapping to object (missed in prev. version)
ubcli meta-tr
will fix mapping dialect AnsiSql -> AnsiSQL (many such mistakes in old UB projects)
Fixed
5.5.1 2020-03-04
ubcli meta-tr
will show line and column in case of invalid meta file JSON
Changed
5.3.3 2020-03-17
- mail-queue.queueMail method: remove unnecessary
fieldList: ['ID']
in queue insertion
to prevent call of selectAfterInsert method since ID is not used