Releases: bbalganjjm/natural_js
Releases · bbalganjjm/natural_js
Natural-JS 1.0.0 Release
Natural-JS 1.0.0 Release Note
jQuery has been upgraded from 1.12.4 to 3.7.1, ensuring better modern browser support.
Codebase refactored to leverage ES6 class syntax for better readability and maintainability.
Support for ES6’s module system has been added, enabling better modularity with import and export.
TypeScript type definitions have been added, providing better support for TypeScript users.
- Natural-CORE v1.0.0
- Natural-ARCHITECTURE v1.0.0
- Natural-DATA v1.0.0
- Natural-UI v1.0.0
- Natural-UI.Shell v1.0.0
- Natural-TEMPLATE v0.4.12;
- Natural-CODE v0.4.8
New Features
- Added 'Switch' Component
- N.comm.submit supports async / await
- All event handler functions support async
- Dark theme has been added.
natural.ui.css
has been reworked based on design tokens.- Colors are based on the color tokens of Material Design 3.
- You can easily change the component design through
tokens.css
.
Updates
- Component Styles:
- Updated styles for
N.button
. - Updated
N.datepicker
styles based onyearsPanelPosition
,monthsPanelPosition
, andmonthonly
options. - Updated styles for
scrollbars
. - Applied general style updates.
- Enhanced styles for
N.grid
background color and sortable icon. - Applied Material Design 3 color roles and updated button styles.
- Updated styles for
The changed design can be checked at here.
Bug Fixes
- Fixed issues with
N.string.trimToEmpty
where an empty string was returned when 0 was entered. - Resolved errors related to the column fixing function of
N.grid
.
Deprecated and Removed Features
- Deprecated features have been completely removed from the codebase.
- Removed
N.string.trim
. - Removed
customStyle
option related toN.button
. - Dropped support for Internet Explorer (IE).
- Removed Material Design-related features and hardcoded elements.
Miscellaneous
- Cleaned up unnecessary or garbage code.
- Made minor design adjustments, including resizing scroll buttons in
N.tab
.
This release marks the 1.0.0 version of Natural-JS, featuring significant updates to styling, functionality improvements, and bug fixes.
Full Changelog: v0.92.405...v1.0.0
v0.92.405
Natural-UI v0.42.246
- N.select : Changed the bind method to bind an empty("") value if the value is null.
Natural-CORE v0.18.29
- N.date.dateList : Fixed a bug where the date was returned as NaN in Internet Explorer browser.
Natural-TEMPLATE v0.1.11
- A bug where the error message was not displayed has been fixed.
natural.ui.css
- Changed the style of N.notify.
v0.92.403
The Natural-TEMPLATE package has been released. See the link below for more information.
Natural-UI v0.42.245
- N.tab : Fixed a bug where the tab scroll element's margin value was set incorrectly or an error occurred on mobile when the tab scroll option was true and there was no tab scroll related element("a" tag).
- N.alert : Fixed a bug that caused an error when specifying the context as a window object when creating an instance of N.alert directly with new.
- N.grid : A "pastiable" option for pasting cell data copied from Excel to the grid has been added.
- N.grid, N.list : The val method has been enhanced to change the values of rows that have not yet been created by scroll paging.
- N.grid, N.list : Added an error message about errors that occur when a row index that is not in the data is specified with the val method.
- N.datepicker : Fixed a bug where the calendar was not updated when the yearChangeInput option is false when yearsPanelPosition is set to true.
- N.datepicker : Added minDate and maxDate options.
- N.datepicker : Added holiday option.
Natural-CORE v0.18.28
- N.date.dateList : Fixed a bug where the date was returned as NaN in Internet Explorer.
Natural-UI.Shell v0.9.47
- Edited comments and error messages.
natural.ui.css
- Changed N.pagination, N.datepicker realted styles.
- Fixed font-size has been removed.
- Changed fixedcol option related styles of N.grid.
- Added scrollbar style on webkit based browsers.
- Changed detail view of more option style.
##natural.config.js
- Changed misc option related values of N.grid.
- Removed unnecessary setting values and edited a comment.
For more information on added and changed features, refer to the API manual(http://bbalganjjm.github.io/natural_js/)
v0.88.394
Natural-UI v0.38.238
- N.grid : Fixed a bug where columns were not merged correctly when the rowSpan option was declared.
- N.form, N.grid, N.list : Fixed a bug where the value of "value" property in checkbox element is changed to a single selection value(Y/N, 1/0, etc.) when the checkbox is clicked when there is more than one checkbox.
Natural-CORE v0.18.26
- N.event.getMaxDuration : Fixed a bug that caused an error if the specified element style did not have a "transition" attribute.
- N.date.dateList : Added "N.date.dateList" function.
natural.config.js
- Added N.context.attr("ui").list.message property and value.
- Added N.context.attr("ui.shell").notify.alwaysOnTop property and value.
For more information on added and changed features, refer to the API manual(http://bbalganjjm.github.io/natural_js/)
v0.87.390
Natural-UI v0.38.236
- N.form,N.list,N.grid : Fixed a bug where calling the validate function after selecting an empty value and then selecting the non-empty value did not change the underlying data from the select element with the "required" validation rule applied.
- N.form,N.list,N.grid : Changed the default value of the "addTop" option to true.
- N.grid, N.list : Improved performance of the "val" method.
- N.grid : Changed the filter panel to not recognize HTML to block XSS attacks.
- N.grid : Multilingual has been applied to the title of popups generated when additional options are applied.
- N.form.prototype.bindEvents.dataSync : Fixed a bug that didn't show the validation message when you first called the validate method.
- The same applies to N.grid and N.list using N.form.
- N.tab : Added a margin to the scroll button.
- N.tab : Fixed a bug where tab scroll buttons were displayed when tabs did not exceed the screen when the "tabScroll" option was enabled.
- N.tab : Fixed a bug that sometimes caused tabs to break in appearance when the "tabScroll" option was enabled.
- N.tab : Changed the feature to use the native scrolling when the tab scroll option is enabled in a browser with a zero scroll size(mobile, etc.).
- N.tab : Changed the logic that is processed when the tabScroll option is enabled.
- N.tab : The jQuery selector string has changed for performance.
- N.alert : Changed OK and Cancel buttons from "a" tag to "button" tag.
- N.alert : Changed start time so that the "onShow" event fires after the popup is fully displayed.
- N.alert, N.popup : The center position of the message dialog has been adjusted more precisely.
- N.alert, N.popup : Fixed a bug where the dialog would stick to the right side if the "width" option was not specified.
- N.alert, N.popup : Added ability to specify "width" and "height" options as function return values.
- N.alert, N.popup : Added onBeforeShow, onBeforeHide, onBeforeRemove options.
- N.popup : Added onShow, onHide, onRemove options.
- N.alert : Fixed a bug that when N.datepicker and N.validator are used together, if there is no value, a validation message is displayed and an error occurs.
- N.datepicker : Fixed a bug that caused Datepicker to be recreated even when moving the cursor from side to side in an input element.
- N.datepicker : Fixed bug where Datepicker did not close when ESC or TAB key was pressed.
- N.datepicker : Fixed a bug that caused the Datepicker to break when entering an incomplete date value.
- N.datepicker : Changed the feature so that when you select a date with the mouse, the focus of the input element is removed when you move the mouse out of the input element area.
Natural-DATA v0.10.72
- N.formatter.date : Fixed a bug that the date format was not removed when clicking the screen after the datepicker was displayed.
- N.formatter.phone : Changed a function so that phone numbers masked with an asterisk(*) can also be formatted.
Natural-CORE v0.17.24
- N.event.isNumberRelatedKeys : Fixed a bug where some key codes were handled incorrectly
- N.log, N.info, N.warn : Incorrect condition test corrected.
Natural-UI.Shell v0.9.47
- N.docs : Fixed a bug that caused scrolling in content to move to the top when the Tab was active.
- N.docs : The functionality has been changed so that when you click on a tab that is already displayed, the logic that displays the content does not run again.
natural.ui.css
- Fixed a bug that caused the table to crash intermittently when the N.grid's "fixedcol" option was applied.
- Changed styles related to N.grid's "filter" functionality.
- Changed styles related to N.grid's "more" functionality.
- Changed N.alert, N.tab, N.list, N.grid, N.notify, N.docs related styles.
For more information on added and changed features, refer to the API manual(http://bbalganjjm.github.io/natural_js/)
v0.87.345
Natural-UI v0.38.197
- Appended code to prevent memory leaks related to DOM elements.
- N.alert: Fixed a bug that caused the message dialog to be hidden when the show method was called again with an input message displayed.
- N.alert, N.popup : Added "saveMemory" option.
- N.alert, N.popup : Added "escClose" option.
- N.popup : Fixed a bug where jQuery.extend related errors occured when the opener option was specified.
- N.popup : Fixed a bug where if onOpen was caught by AOP, setting the closeMode option to "remove" and opening the popup would cause an error.
- N.popup : The logic flow was redefined and applied when setting the preload(true) and closeMode(remove) options together.
- N.popup : Added code to allow more memory resources to be reused when the closeMode option is "remove".
- N.tab : Fixed a bug where tabs were not selected when clicking the tab with the mouse and opening the previous tab with the "open" method.
- N.tab : The function has been changed so that idx information is returned correctly when the open function is called with no arguments, and the remaining information is returned as a string message value.
- If the "open" method was last executed after the "open (idx)" method was executed, the last tab information was being returned because the content had not yet been loaded.
- N.tab : If you have not yet loaded the tab content and you have called the "cont" method, prompted a warning message on the console.
- N.popup : Added "onLoad" event option.
- N.form, N.list, N.grid : Added a tpBind option that allows you to execute the events associated with a component before other events to prevent potential errors in the order of component initialization and event binding.
- N.form, N.list, N.grid : Reduced memory usage for checkbox and radio input elements in data binding.
- N.form : Splitted the event binding part of the bind function into functions of the Form.prototype.bindEvents object.
- N.form : Fixed the "data_changed__" class being added even if the "focusout" event occurs without changing the value of the input element when the column value is null.
- Empty spaces("") and null are treated as the same value when check whether the value has changed
- Applies to all components that use N.form.
- N.form : Added the feature to display a Warnning message without an error if the "id" attribute value is blank.
- N.form : Fixed a bug where the validate option was set to false and the select element was not validated when the validate method was called.
- N.grid and N.list components using N.form are also applied.
- N.grid : Fixed a bug where filtering list disappears when you click "Select All" in dataFilter.
- N.grid : Fixed a bug where the column resize function does not work properly when the height option is 0.
- N.grid : Fixed a bug where filter item name was broken when searching filter item in filter dialog.
- N.grid : Fixed a bug in the setTheadCellInfo function that the column id information was not entered in the first TH depending on the TH element placement of THEAD.
- N.grid : Fixed a bug where the first column of TBODY would not be merged according to the TH element placement of THEAD when row-merging by declaring data-rowspan = "true".
- N.grid : Fixed a bug where the filter function is not activated in the first column depending on the TH element placement of THEAD in the filter function.
- N.grid : Fixed bug where the table has a crash when the cell has a "hidden" attribute and binds empty data.
- N.grid : The left position of the last ".resize_bar__" element has been moved so that it does not exceed the table width.
- N.grid : Improved the accuracy of the "resizable" feature and eliminated the potential memory leak.
- N.grid, N.list : Changed the feature to execute the "rowHandler" and "rowHandlerBeforeBind" event handlers when calling the revert method.
- N.grid, N.list : Fixed a bug where scrolling paging does not work on the latest Android chrome engine based apps.
- N.ui.draggable.events : Fixed a bug where screen elements could not be selected when the function finished.
Natural-ARCHITECTURE v0.13.11
- N.comm : Changed the "submit" method to return Controller(N.cont) object to argument of callback function when html page is requested.
- N.comm.request : Fixed a bug where the parameter was not sent to the server if you specified the parameter directly in the "data" option.
- N.comm.request : Complemented the feature that can be send all types parameters(such as FormData) to server, in addition to object and string.
Natural-DATA v0.10.70
- N.formatter.date : Fixed a bug where date format would not be applied unless you opened the date picker dialog and clicked on the date element.
- N.formatter : Changed the "rrn", "ssn", "kbrn", "zipcode" and "phone" methods to detect and handle only numbers and asterisks(*).
- N.validator : Changed the "rrn", "frn", "frn_rrn", "kbrn", "kcn" and "time" methods to detect and handle only numbers and asterisks(*).
Natural-CORE v0.17.22
- N.tpBind : Changed the
$.bind method to the $ .on method and made all the functionality of the $ .on method available. - N.debug, N.log, N.info, N.warn : Changed the functionality to accurately show where the message originated.
Natural-UI.Shell v0.9.45
- N.notify : Fixed a bug where the position option does not apply in some status.
- N.docs : Improved accuracy of the onEntireLoad event.
- N.docs : Relocate "EntireLoad" related source code.
- N.docs : Added "createLoadIndicator, updateLoadIndicator, removeLoadIndicator, errorLoadIndicator" functions to the Documents(N.docs) class so that the loading indicator can be used externally.
- N.docs : Added "urlSync" option.
Natural-CODE v0.1.4
- A new package was born. I will announce the related content later.
Natural-TEMPLATE v0.0.7
- A new package was born. I will announce the related content later.
natural.ui.css
- ".entire_load_indicator" in N.docs related styles changed.
- N.tab related styles changed.
natural.config.js
- Message levels setting value(N.context.attr("core").consoleLogLevel) of N.debug, N.log, N.info, and N.warn methods have been removed.
For more information on added and changed features, refer to the API manual(http://bbalganjjm.github.io/natural_js/)
v0.86.278
Natural-UI v0.37.157
- N.datepicker : Fixed a bug that caused errors on the keyboard typing.
- N.datepicker : Added an option to apply globally(natural.config.js) only when the monthonly option is true.
- N.tree : Fixed a bug that all the trees in the page to work when calling the openAll, closeAll method.
- N.grid : The filter item name is wrapped in a span tag.
- N.grid : Fixed a bug that onBind event is called twice.
For more information on added and changed features, refer to the API manual(http://bbalganjjm.github.io/natural_js/)
v0.86.274
Updated compiler(Closure Compiler) version from v20170423 to v20181028.
Natural-UI v0.37.153
- Added features that specify the event options of a component and not to ignore the global event options of natural.config.js, to run component event options first, and to run global event options. Applies to all components.
- N.form : Replaced the logic that determines the text input in the bind, unbind and val methods with the N.element.isTextInput function in Natural-CORE.
- N.form : Binding speed has been improved by adding element cache functionality.
- N.form, N.grid, N.list : Added cache option.
- N.ui : Added utils package.
- N.ui.utils : Added wrapHandler function.
- N.ui.utils : Added isTextInput function.
- N.popup : Fixed a bug where the "maximum call stack size exceeded" error occurred when auto opener option was defined by AOP.
- N.popup : Opener auto-find feature(forced search?) has been removed.
- Natural-JS no longer uses the arguments.callee.caller object.
- N.tab : Added opener option.
- N.tab : Added cont method.
- N.form : Added onBeforeBindValue event option.
- N.form : Changed logic to call handler function of N.list and N.grid's rowHandlerBeforeBind option before bind in add function.
- N.grid, N.list : Fixed a bug where the value of the last argument (rowData) of the handler function of the rowHandlerBeforeBind option returned undefined when calling the add function.
- N.grid, N.list : Added the isFirstPage, isLastPage values to the handler function argument of the onBind event option.
- N.grid, N.list : Fix the select method to work even if the bound data is empty.
- N.grid : The filter function has been changed so that the filter dialog is not closed when a line is selected with the select method.
- N.grid : Fixed a bug where the onBind event handler would not fire when the fixedcol option was 0 and there was no data.
- N.tree : Added the "selected" option argument to the "data" method.
- N.tree : Added select method.
- N.select : Fixed a bug that caused errors when data was specified as a data option.
Natural-CORE v0.17.17
- N.gc : Unused logic related with the filter function of N.grid has been removed.
Natural-UI.Shell v0.9.39
- N.docs : Added logic to the hideTabContents function to correct the wrong entireLoadRequestCnt value.
natural.ui.css
- Fixed a bug where N.alert's style is partially ignored when N.alert is added to the contents of N.popup.
For more information on added and changed features, refer to the API manual(http://bbalganjjm.github.io/natural_js/)
v0.81.254
Natural-UI v0.32.135
- N.datepicker : Fixed bug where an error occurs if there is more than one sibling element in the N.datepicker input element.
- N.datepicker : Fixed bug where show method works abnormally.
- N.datepicker : Removed unusual source code related to shareEle option and removed the shareEle option.
- Changed to create a new options.contents element each time the show method is executed.
- N.datepicker : Removed the contents argument of the onHide event.
- N.alert : Changed alwaysOnTopCalcTarget option's default value.
- N.alert : A bug that pop-up scrolling did not work when windowScrollLock option was applied has been fixed.
- N.grid : Fixed a bug where the bottom border of tbody_wrap__ does not appear in IE.
- N.grid : Fix incorrect warnning message of select method.
- N.grid, N.list, N.tree : Improved memory usage and response time by reducing the number of events.
- N.grid, N.list : The select, check function has been changed to correctly select the event execution target.
- N.grid, N.list : Changed the onBind event don't firing when the bind method is called from the internal update method.
- N.grid, N.list : Fixed a bug where occasionally an error occurs when the onBind option is undefined.
- N.form : Fixed a bug where the "row_data_deleted__" class was incorrectly specified as "row_data_deleted" in the remove method.
- N.form : Changed the remove method to automatically execute the unbind method when the target line is a added line.
- N.pagination : Fixed a bug where calling currPageNavInfo did not return currPageNavInfo.
- N.alert, N.popup : A bug with the windowScrollLock option being reversed has been fixed.
Natural-DATA v0.10.56
- Formatter.date : The logic has been modified as the content argument of the onHide event is removed in N.datepicker.
Natural-UI.Shell v0.9.38
- N.notify : Changed alwaysOnTopCalcTarget option's default value.
- N.docs : Changed alwaysOnTopCalcTarget option's default value.
- N.docs : Fixed a bug that the menu list dialog box was covered when resizing the window.
- N.docs : Fixed a bug where the z-index of .entire_load_screen_block__ element increased infinitely.
- N.docs : Fixed a bug where the .entire_load_indicator__ element was occasionally hidden.
natural.ui.css
- Improved CSS animation performance.
- Fixed CSS bugs related to N.docs.
- Changed and added styles related to data change and selection in N.list, N.grid.
- Changed the background style of progress bars in N.docs.
- Changed N.tree's ul element margin.
For more information on added and changed features, refer to the API manual(http://bbalganjjm.github.io/natural_js/)
v0.80.225
Natural-CORE v0.17.16
- N.event.windowScrollLock : Changed the namespace of the internal function to "ui".
Natural-UI v0.31.106
- N.alert : onHide, onHideG, onRemove, onRemoveG events added.
- N.alert : Fixed a bug where a message dialog would break through the screen if it was an input message.
- N.popup : Changed window scrolling to block overlay and all popup types if windowScrollLock option is true.
- N.alert, N.popup : Fixed a bug where tabs in N.docs would break through the message dialog.
natural.ui.css
- Changed all components design.