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.
Files changed (65) hide show
  1. package/dist/js/gnui.esm.js +12 -4
  2. package/dist/js/gnui.js +12 -4
  3. package/dist/js/gnui.min.js +1 -1
  4. package/package.json +1 -1
  5. package/styleguide/assets/js/gnui.js +12 -4
  6. package/styleguide/assets/js/gnui.min.js +1 -1
  7. package/styleguide/category/COLOR/index.html +1 -1
  8. package/styleguide/category/COMPONENT/Alert(js)/index.html +1 -1
  9. package/styleguide/category/COMPONENT/Bignumber/index.html +1 -1
  10. package/styleguide/category/COMPONENT/Breadcrumb/index.html +1 -1
  11. package/styleguide/category/COMPONENT/Calendar(js)/index.html +1 -1
  12. package/styleguide/category/COMPONENT/Card/index.html +1 -1
  13. package/styleguide/category/COMPONENT/Chart(js)/index.html +1 -1
  14. package/styleguide/category/COMPONENT/Datagrid(js)/index.html +1 -1
  15. package/styleguide/category/COMPONENT/Datalist(js)/index.html +1 -1
  16. package/styleguide/category/COMPONENT/Growl(js)/index.html +1 -1
  17. package/styleguide/category/COMPONENT/JsonView(js)/index.html +1 -1
  18. package/styleguide/category/COMPONENT/Loader(js)/index.html +1 -1
  19. package/styleguide/category/COMPONENT/MenuButton(js)/index.html +1 -1
  20. package/styleguide/category/COMPONENT/Message(js)/index.html +1 -1
  21. package/styleguide/category/COMPONENT/Modal(js)/index.html +1 -1
  22. package/styleguide/category/COMPONENT/Pagination(js)/index.html +1 -1
  23. package/styleguide/category/COMPONENT/Panel/index.html +1 -1
  24. package/styleguide/category/COMPONENT/Progressbar(js)/index.html +1 -1
  25. package/styleguide/category/COMPONENT/Tab(js)/index.html +1 -1
  26. package/styleguide/category/COMPONENT/Tagcloud(js)/index.html +1 -1
  27. package/styleguide/category/COMPONENT/Tooltip(js)/index.html +1 -1
  28. package/styleguide/category/COMPONENT/Tree(js)/index.html +1 -1
  29. package/styleguide/category/CONTROLS/Button(js)/index.html +1 -1
  30. package/styleguide/category/CONTROLS/Checkbox/index.html +1 -1
  31. package/styleguide/category/CONTROLS/Colorpicker(js)/index.html +1 -1
  32. package/styleguide/category/CONTROLS/Datepicker(js)/index.html +1 -1
  33. package/styleguide/category/CONTROLS/Dropdown(js)/index.html +1 -1
  34. package/styleguide/category/CONTROLS/File/index.html +1 -1
  35. package/styleguide/category/CONTROLS/Form/Control/index.html +1 -1
  36. package/styleguide/category/CONTROLS/Form/Field/index.html +1 -1
  37. package/styleguide/category/CONTROLS/Form/Plain/index.html +1 -1
  38. package/styleguide/category/CONTROLS/Input/index.html +1 -1
  39. package/styleguide/category/CONTROLS/MultiText(js)/index.html +1 -1
  40. package/styleguide/category/CONTROLS/Picklist(js)/index.html +1 -1
  41. package/styleguide/category/CONTROLS/Radio/index.html +1 -1
  42. package/styleguide/category/CONTROLS/Select/index.html +1 -1
  43. package/styleguide/category/CONTROLS/SelectButton(js)/index.html +1 -1
  44. package/styleguide/category/CONTROLS/Slider/index.html +1 -1
  45. package/styleguide/category/CONTROLS/SortableList(js)/index.html +1 -1
  46. package/styleguide/category/CONTROLS/Switch(js)/index.html +1 -1
  47. package/styleguide/category/CONTROLS/SyntaxInput(js)/index.html +1 -1
  48. package/styleguide/category/CONTROLS/Textarea/index.html +1 -1
  49. package/styleguide/category/CONTROLS/Time(js)/index.html +1 -1
  50. package/styleguide/category/ELEMENTS/Box/index.html +1 -1
  51. package/styleguide/category/ELEMENTS/Icon/index.html +1 -1
  52. package/styleguide/category/ELEMENTS/Image/index.html +1 -1
  53. package/styleguide/category/ELEMENTS/List/index.html +1 -1
  54. package/styleguide/category/ELEMENTS/Table/index.html +1 -1
  55. package/styleguide/category/ELEMENTS/Tag/index.html +1 -1
  56. package/styleguide/category/ELEMENTS/Title/index.html +1 -1
  57. package/styleguide/category/LAYOUT/Container/index.html +1 -1
  58. package/styleguide/category/LAYOUT/Grid/index.html +1 -1
  59. package/styleguide/category/LAYOUT/Splitter(js)/index.html +1 -1
  60. package/styleguide/category/UTILITY/index.html +1 -1
  61. package/styleguide/category/Utils/index.html +1 -1
  62. package/styleguide/color.html +1 -1
  63. package/styleguide/index.html +1 -1
  64. package/styleguide/tag/javascript/index.html +1 -1
  65. package/styleguide/tag/v.0.1.0/index.html +1 -1
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.2.18",
7
+ "version": "1.2.19",
8
8
  "type": "module",
9
9
  "main": "dist/js/gnui.js",
10
10
  "types": "@types/gnui.d.ts",
@@ -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
- // state manager 에서 component 삭제
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
  }