Releases: SerDIDG/MagpieUI
3.47.4: JS > Com.Toolbar: aria-labels for groups and buttons.
Changes:
- JS > Com.AbstractContainer: renamed 'params' to 'constructorParams'.
- JS > Com.FileReader: readValueType: base64 | binary | text | hex
- JS > Com.Toolbar: new item parameter: hidden. Added ability to hide / show groups, items and buttons.
- JS > Com.MultiInput: fixed set process, now old items will be deleted before adding new ones.
- JS > Com.MultiField: fixed issue with returning actual item object.
- JS > Com.TimeSelect: 24 / 12 hours format support.
- JS > Com.FileDropzone: disabled state.
- JS > Com.ImagePreviewContainer: set type = image.
- JS > Com.CodeHighlight: added set / get methods.
- JS > Com.Notifications: hide / show container dependent of messages count.
- JS > Com.Pagination: added responseCodeKey parameter.
- JS > Com.AbstractController: added appendView method.
- JS > Com.Calendar: rewrite day renderer.
- JS > Com.Gridlist: added setData method, rewrite type="url" cell.
- JS > Com.Calendar: added renderMonthOnRequest parameter.
- JS > Com.Geolocation: code refactoring.
JS > Com.AbstractFormField:
- Validation with options (silent, triggerEvents); support of disabled select options; placeholderAsterisk parameter.
- Added validation options.
JS > Com.Request:
- Removed formData parameter, use ajax: { 'paramsType' : 'form-data' } instead
- Response data filter fix.
JS > Com.Overlay:
- Bind events.
- Added class inner to the content.
JS > Com.Router:
- Rewrite route redirects.
- Improved route redirects
- Ability to assign a new location.
- Added prevent default ability to the links nodes.
- Cut search params from route url.
- Fixed routing with external routes.
JS > Com.Input:
- autoResize parameter for textarea.
- Added enter press behavior parameter.
- Added onIconClick event.
JS > Com.Check:
- Rewrite, added validations.
- Fixed custom value.
- Added noValue parameter.
- Added disabled state.
- Added options help bubbles.
JS > Com.Autocomplete:
- Added disabled parameter.
- Fixed class prototype.
JS > Com.Select:
- Fixed duplication of options with empty value.
- Added 'select' parameter to options list.
- Render option groups from data parameter.
- Added support of option styles, fixed group options collector.
JS > Com.FileInput:
- Added readValueType: base64 / binary; outputValueType for file or object
- Added showClearButton parameter.
- Added "accept" parameter to check file mime type.
JS > Com.ImageInput:
- Added disabled state.
- Added "accept" parameter to check file mime type.
JS > Com.Toolbar:
- Added additional positions.
- aria-labels for groups and buttons.
JS > Com.Form:
- Added one more errors message format.
- Removed formData parameter, use ajax: { 'paramsType' : 'form-data' } instead.
- New parameters: autoSend, sendEmptyForm, buttonsClasses, mergeData, sendOnChange.
- New field parameters: render, sendAlways, sendCallback, preventReset. Refactored get values process.
- New configuration parameters in set method.
- Added container parameter for form buttons.
- Added methods: getNodes, enable / disable, getFields.
- Added additional events.
- Enable / disable also changes states of the buttons.
JS > Com.Gridlist:
- Update links menu parameters.
- Added ability to divide the table header for better looking pagination - divideTableHeader.
- Renamed 'Com.Pagination' to 'paginationParams'. New parameters: renderEmptyMessage, renderEmptyTable, autoSend.
- New adaptive styles scheme.
- New parameter for hiding table header.
- Added onLoadSuccess event.
- Added responseCodeKey parameter.
- Support link properties for the icon field type.
JS > Com.ScrollPagination:
- Fixed finalize state when count = 0.
- Added check on array type before slice data from response.
JS > Com.Dialog
- Added parameters: closeOnEsc.
JS > Com.DialogContainer: - Support of button position (renderButtonsPositions).
JS > Com.Slider:
- Added rendering slider html structure via js.
- Slider controls type configuration.
JS > Com.Gallery:
- Added image types regexp.
- Item methods moved to Com.GalleryItem.
JS > Com.GalleryPopup: - Added item info parameter.
JS > Part.Autoresize:
- Rewrite.
JS > Common:
- Added: cm.hook, cm.arrayFilter, cm.objectFillVariables, cm.fillVariables, cm.setCSSVariable, cm.ajaxPromise, cm.isInstance, cm.fillDataMask, cm.formatNumber, cm.addLink.
- cm.ajax: 200, 201, 202, 204 as success states, fixed jsonp.
- Fixed cm.objectReplace wrong data type.
- Fixed multiple join conjunction in cm.obj2URI.
- cm.getMessages asterisk.
- Added new micro-format to the cm.getNodes.
- Added promise to the cm.loadScript.
- Improved inheritance of the language messages.
- Added .(dot) to the pattern in cm.fillVariables.
- LESS > Part Links: new variables.
- LESS > Part Columns: additional styles.
- LESS > Part Gridlist: styles structure changed.
- LESS > Part Gridlist: removed background in mobile version.
- LESS > Part Field: added flex label class.
- LESS > Part Field: added status classes.
- LESS > Part Toolbar: flex styles fix.
- LESS > Com.HelpBubbles: changed icon to the svg.
LESS > Common:
- New classes: cm__hidden, cm__list-horizontal--flex.
- img tag font styles.
- Added new tooltip animation.
Common: updated classes for new version of Animate.css.
3.39.0
LESS 4 strict mode.
JS > Com.Router: added route redirects, external links, access specific constructor / parameters
JS > Com.AbstractFormField: added constraints
JS > Com.AbstractFormField: position parameter for hint and error messages
JS > Com.Input: added constraints
JS > Com.Check: added checked / selected parameter to configuration of options list
JS > Com ImageInput: added support of video preview
JS > Com.FileInput: added showFilename parameter
JS > Com.Datepickder: fix 31 of February
JS > Common: cm.sort and cm.arraySort rewrited
JS > Common: cm.getOffsetRect, cm.hasPointerEvent, cm.copyToClipboard
JS > Common: fix multiple select in cm.getFDO
JS > Common: fix NaN values in cm.arrayToCSSValues
Less > Com.ImageInput: fixed scaling of empty image at full size
Less > Com.Dialog: theme-borderless
3.36.40
3.31.7
Adds:
JS > Common: added page size check interval; expand deep; parse and format date / datetime; ajax with sync/async and beacon; finder with childs; cm.isUndefined method; cm.setInputMaxLength; cm.arraySort and cm.setStrings.
JS > Com.AbstarctFormField: added options rendering, getRaw method; added base validation.
JS > Com.Router: added baseUrl support.
JS > Com.Pagination: lazy overlays.
JS > Com.FileInput: add autoOpen parameter.
JS > Com.Gallery: added fullscreen attribute.
JS > Com.ToggleBox: add methods to change content.
JS > Com.BoxTools: added negative numbers.
JS > Com.Spacer: height parameter.
JS > Com.Gridlist: added bulk actions; added rendering actions by provided data; custom actions groups; new methods.
JS > Com.CheckTrigger: component for form checkbox.
JS > Com.Overlay: lazy open.
JS > Com.InputTrigger.
JS > Com.TwoSideMultiSelect.
JS > Com.GridlistFilter.
JS > Com.Tabset2: new tabset component based on TabsetHelper.
JS > Com.Check / Com.Input: new generic components.
JS > Com.Form: Added asterisk.
JS > Codemirror: add lazy loading.
CSS > Part Image: status overlays.
CSS > Colors: middle tone key for all schemes.
CSS > Form: added colors to form hints.
CSS > added variables to change default google font.
Changes:
JS > Module Langs: refactoring, strings placed from class parameters to own object.
JS > Common: cm.parseDate changes; global lang strings.
JS > Com.AbstractController: binding class events; early binds for events.
JS > Com.AbstractInput: class and childs refactoring; added parameter to set hidden value; getRaw, reset methods; methods to work with raw value.
JS > Com.AbstractFormField: now can have request ajax data before render.
JS > Com.AbstractRange: refactoring, extends by AbstractInput.
JS > Com.Form: base validation, new generic components.
JS > Com.MultiFields: moved on new structure.
JS > Com.MultiInput: moved on multifield structure.
JS > Com.ScrollPagination: now can works with tokens.
JS > Com.Pagination: getCurrentAction.
JS > Com.Gridlist: data filter callback.
JS > Com.Router: pages with hash.
JS > Com.Form: process errors.
JS > Com.Autocomplete: fixed bug with fixed data list, fixed items scrolling.
JS > Com.Slider: stop on scroll.
JS > Com.Spacer: parse input value.
JS > Com.Datepicker: set value on blur.
JS > Com.DateSelect: field size parameters.
JS > Com.FileInput / Com.MultiFileInput: browse method.
JS > Com.Notifications: group notification messages.
JS > Com.Toolbar: hidden tabs.
JS > Com.Select: add hover title.
JS > Com.TagsInput: new design.
JS > Com.Tooltip: minWidth parameter.
JS > Com.TabsetHelper: supported select menu.
CSS > Com.ToggleBox: styles fix. CSS: renamed pt__box-flat —> .pt__box--flat.
CSS > Part Field: error statuses.
CSS > Part Overlay: css spinner.
CSS > Parts Menu: updates; variables.
Fixes:
JS > Common: fixed cross browser touch events; fixed touch events in dnd components; fixed type error in cm.objeccttPath; fixed assets loading baseUrl.
JS > Com.AbstarctController: fix redraw event trigger.
JS > Com.AbstractInput: fix getting input value; fix value setter.
JS > Com.AbstractFileManager: fix max params.
JS > Com.TabsetHelper: events fix, on hash change trigger, constructors.
JS > Com.Dialog: height resize fixes; fixed empty title.
JS > Com.FileUploader: fixed resize of file manager.
JS > Com.FileDropzone: default parameters fixes, show / hide methods.
JS > Com.Gridlist: fixed checked state. Updated docs.
JS > Com.Spacer: fixed redraw on edit event.
JS > Com.Columns: fixed redraw on edit event; fixed nested columns height.
JS > Com.Datepicker: fixed date clear in Chrome; fix zero state.
JS > Com.Overlay: fixed delay timeout; fixed overlay embedding.
JS > Com.Check: fix rendering html in placeholders; fixed multiple checkbox states
CSS > fixed infinity focus on TagsInput.
CSS > fixed TwoColumns Select in IE11.
CSS > fixed font import.
Removed:
JS > Com.FileUploader moved to Application library.
JS > ComCalendar moved to Application.