gnui 1.2.18 → 1.2.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/js/gnui.esm.js +12 -4
- package/dist/js/gnui.js +12 -4
- package/dist/js/gnui.min.js +1 -1
- package/package.json +1 -1
- package/styleguide/assets/js/gnui.js +12 -4
- package/styleguide/assets/js/gnui.min.js +1 -1
- package/styleguide/category/COLOR/index.html +1 -1
- package/styleguide/category/COMPONENT/Alert(js)/index.html +1 -1
- package/styleguide/category/COMPONENT/Bignumber/index.html +1 -1
- package/styleguide/category/COMPONENT/Breadcrumb/index.html +1 -1
- package/styleguide/category/COMPONENT/Calendar(js)/index.html +1 -1
- package/styleguide/category/COMPONENT/Card/index.html +1 -1
- package/styleguide/category/COMPONENT/Chart(js)/index.html +1 -1
- package/styleguide/category/COMPONENT/Datagrid(js)/index.html +1 -1
- package/styleguide/category/COMPONENT/Datalist(js)/index.html +1 -1
- package/styleguide/category/COMPONENT/Growl(js)/index.html +1 -1
- package/styleguide/category/COMPONENT/JsonView(js)/index.html +1 -1
- package/styleguide/category/COMPONENT/Loader(js)/index.html +1 -1
- package/styleguide/category/COMPONENT/MenuButton(js)/index.html +1 -1
- package/styleguide/category/COMPONENT/Message(js)/index.html +1 -1
- package/styleguide/category/COMPONENT/Modal(js)/index.html +1 -1
- package/styleguide/category/COMPONENT/Pagination(js)/index.html +1 -1
- package/styleguide/category/COMPONENT/Panel/index.html +1 -1
- package/styleguide/category/COMPONENT/Progressbar(js)/index.html +1 -1
- package/styleguide/category/COMPONENT/Tab(js)/index.html +1 -1
- package/styleguide/category/COMPONENT/Tagcloud(js)/index.html +1 -1
- package/styleguide/category/COMPONENT/Tooltip(js)/index.html +1 -1
- package/styleguide/category/COMPONENT/Tree(js)/index.html +1 -1
- package/styleguide/category/CONTROLS/Button(js)/index.html +1 -1
- package/styleguide/category/CONTROLS/Checkbox/index.html +1 -1
- package/styleguide/category/CONTROLS/Colorpicker(js)/index.html +1 -1
- package/styleguide/category/CONTROLS/Datepicker(js)/index.html +1 -1
- package/styleguide/category/CONTROLS/Dropdown(js)/index.html +1 -1
- package/styleguide/category/CONTROLS/File/index.html +1 -1
- package/styleguide/category/CONTROLS/Form/Control/index.html +1 -1
- package/styleguide/category/CONTROLS/Form/Field/index.html +1 -1
- package/styleguide/category/CONTROLS/Form/Plain/index.html +1 -1
- package/styleguide/category/CONTROLS/Input/index.html +1 -1
- package/styleguide/category/CONTROLS/MultiText(js)/index.html +1 -1
- package/styleguide/category/CONTROLS/Picklist(js)/index.html +1 -1
- package/styleguide/category/CONTROLS/Radio/index.html +1 -1
- package/styleguide/category/CONTROLS/Select/index.html +1 -1
- package/styleguide/category/CONTROLS/SelectButton(js)/index.html +1 -1
- package/styleguide/category/CONTROLS/Slider/index.html +1 -1
- package/styleguide/category/CONTROLS/SortableList(js)/index.html +1 -1
- package/styleguide/category/CONTROLS/Switch(js)/index.html +1 -1
- package/styleguide/category/CONTROLS/SyntaxInput(js)/index.html +1 -1
- package/styleguide/category/CONTROLS/Textarea/index.html +1 -1
- package/styleguide/category/CONTROLS/Time(js)/index.html +1 -1
- package/styleguide/category/ELEMENTS/Box/index.html +1 -1
- package/styleguide/category/ELEMENTS/Icon/index.html +1 -1
- package/styleguide/category/ELEMENTS/Image/index.html +1 -1
- package/styleguide/category/ELEMENTS/List/index.html +1 -1
- package/styleguide/category/ELEMENTS/Table/index.html +1 -1
- package/styleguide/category/ELEMENTS/Tag/index.html +1 -1
- package/styleguide/category/ELEMENTS/Title/index.html +1 -1
- package/styleguide/category/LAYOUT/Container/index.html +1 -1
- package/styleguide/category/LAYOUT/Grid/index.html +1 -1
- package/styleguide/category/LAYOUT/Splitter(js)/index.html +1 -1
- package/styleguide/category/UTILITY/index.html +1 -1
- package/styleguide/category/Utils/index.html +1 -1
- package/styleguide/color.html +1 -1
- package/styleguide/index.html +1 -1
- package/styleguide/tag/javascript/index.html +1 -1
- package/styleguide/tag/v.0.1.0/index.html +1 -1
package/dist/js/gnui.esm.js
CHANGED
|
@@ -17111,12 +17111,19 @@ class GNUIState {
|
|
|
17111
17111
|
if (isElement$2(rm) && attr(rm, 'data-gnui')) {
|
|
17112
17112
|
remove($('#' + attr(rm, 'data-gnui')));
|
|
17113
17113
|
}
|
|
17114
|
+
const childComponents = $$('[data-gn-uid]', rm);
|
|
17115
|
+
each(childComponents, (childComponent) => {
|
|
17116
|
+
if (isElement$2(childComponent)) {
|
|
17117
|
+
const findComponent = closerThis._getComponent($(childComponent));
|
|
17118
|
+
if (findComponent && findComponent._uid && findComponent.$el && findComponent.$name !== 'modal') {
|
|
17119
|
+
// $destroy 내부에서 removeAll과 _removeComponentByUid를 처리하므로 직접 호출만
|
|
17120
|
+
findComponent.$destroy(findComponent, false);
|
|
17121
|
+
}
|
|
17122
|
+
}
|
|
17123
|
+
});
|
|
17114
17124
|
const findComponent = closerThis._getComponent($(rm));
|
|
17115
17125
|
if (findComponent && findComponent._uid && !((_a = findComponent.$el) === null || _a === void 0 ? void 0 : _a.parentNode) && findComponent.$name !== 'modal') {
|
|
17116
|
-
|
|
17117
|
-
closerThis._removeComponent(rm);
|
|
17118
|
-
// event manager 에서 unbind
|
|
17119
|
-
GNCoreEventManager.getInstance().removeAll(findComponent._uid);
|
|
17126
|
+
findComponent.$destroy(findComponent, false);
|
|
17120
17127
|
}
|
|
17121
17128
|
});
|
|
17122
17129
|
}
|
|
@@ -17272,6 +17279,7 @@ class GNCoreInstance {
|
|
|
17272
17279
|
if (tmpRole) {
|
|
17273
17280
|
attr(this.$el, 'role', tmpRole);
|
|
17274
17281
|
}
|
|
17282
|
+
attr(this.$el, 'data-gn-uid', this._uid);
|
|
17275
17283
|
// inherit selector class
|
|
17276
17284
|
selector.className && addClass(this.$el, selector.className);
|
|
17277
17285
|
}
|
package/dist/js/gnui.js
CHANGED
|
@@ -17117,12 +17117,19 @@
|
|
|
17117
17117
|
if (isElement$2(rm) && attr(rm, 'data-gnui')) {
|
|
17118
17118
|
remove($('#' + attr(rm, 'data-gnui')));
|
|
17119
17119
|
}
|
|
17120
|
+
const childComponents = $$('[data-gn-uid]', rm);
|
|
17121
|
+
each(childComponents, (childComponent) => {
|
|
17122
|
+
if (isElement$2(childComponent)) {
|
|
17123
|
+
const findComponent = closerThis._getComponent($(childComponent));
|
|
17124
|
+
if (findComponent && findComponent._uid && findComponent.$el && findComponent.$name !== 'modal') {
|
|
17125
|
+
// $destroy 내부에서 removeAll과 _removeComponentByUid를 처리하므로 직접 호출만
|
|
17126
|
+
findComponent.$destroy(findComponent, false);
|
|
17127
|
+
}
|
|
17128
|
+
}
|
|
17129
|
+
});
|
|
17120
17130
|
const findComponent = closerThis._getComponent($(rm));
|
|
17121
17131
|
if (findComponent && findComponent._uid && !((_a = findComponent.$el) === null || _a === void 0 ? void 0 : _a.parentNode) && findComponent.$name !== 'modal') {
|
|
17122
|
-
|
|
17123
|
-
closerThis._removeComponent(rm);
|
|
17124
|
-
// event manager 에서 unbind
|
|
17125
|
-
GNCoreEventManager.getInstance().removeAll(findComponent._uid);
|
|
17132
|
+
findComponent.$destroy(findComponent, false);
|
|
17126
17133
|
}
|
|
17127
17134
|
});
|
|
17128
17135
|
}
|
|
@@ -17278,6 +17285,7 @@
|
|
|
17278
17285
|
if (tmpRole) {
|
|
17279
17286
|
attr(this.$el, 'role', tmpRole);
|
|
17280
17287
|
}
|
|
17288
|
+
attr(this.$el, 'data-gn-uid', this._uid);
|
|
17281
17289
|
// inherit selector class
|
|
17282
17290
|
selector.className && addClass(this.$el, selector.className);
|
|
17283
17291
|
}
|