gnui 1.1.2 → 1.1.5

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 (60) hide show
  1. package/dist/js/gnui.esm.js +19 -10
  2. package/dist/js/gnui.js +19 -10
  3. package/dist/js/gnui.min.js +1 -1
  4. package/package.json +1 -1
  5. package/styleguide/category/COLOR/index.html +1 -1
  6. package/styleguide/category/COMPONENT/Alert(js)/index.html +1 -1
  7. package/styleguide/category/COMPONENT/Bignumber/index.html +1 -1
  8. package/styleguide/category/COMPONENT/Breadcrumb/index.html +1 -1
  9. package/styleguide/category/COMPONENT/Calendar(js)/index.html +1 -1
  10. package/styleguide/category/COMPONENT/Card/index.html +1 -1
  11. package/styleguide/category/COMPONENT/Chart(js)/index.html +1 -1
  12. package/styleguide/category/COMPONENT/Datagrid(js)/index.html +1 -1
  13. package/styleguide/category/COMPONENT/Growl(js)/index.html +1 -1
  14. package/styleguide/category/COMPONENT/JsonView(js)/index.html +1 -1
  15. package/styleguide/category/COMPONENT/Message(js)/index.html +1 -1
  16. package/styleguide/category/COMPONENT/Modal(js)/index.html +1 -1
  17. package/styleguide/category/COMPONENT/Pagination/index.html +1 -1
  18. package/styleguide/category/COMPONENT/Panel/index.html +1 -1
  19. package/styleguide/category/COMPONENT/Progressbar(js)/index.html +1 -1
  20. package/styleguide/category/COMPONENT/Tab(js)/index.html +1 -1
  21. package/styleguide/category/COMPONENT/Tagcloud(js)/index.html +1 -1
  22. package/styleguide/category/COMPONENT/Time(js)/index.html +1 -1
  23. package/styleguide/category/COMPONENT/Tooltip(js)/index.html +1 -1
  24. package/styleguide/category/COMPONENT/Tree(js)/index.html +1 -1
  25. package/styleguide/category/CONTROLS/Button(js)/index.html +1 -1
  26. package/styleguide/category/CONTROLS/Checkbox/index.html +1 -1
  27. package/styleguide/category/CONTROLS/Colorpicker(js)/index.html +1 -1
  28. package/styleguide/category/CONTROLS/Datepicker(js)/index.html +1 -1
  29. package/styleguide/category/CONTROLS/Dropdown(js)/index.html +1 -1
  30. package/styleguide/category/CONTROLS/File/index.html +1 -1
  31. package/styleguide/category/CONTROLS/Form/Control/index.html +1 -1
  32. package/styleguide/category/CONTROLS/Form/Field/index.html +1 -1
  33. package/styleguide/category/CONTROLS/Form/Plain/index.html +1 -1
  34. package/styleguide/category/CONTROLS/Input/index.html +1 -1
  35. package/styleguide/category/CONTROLS/MenuButton(js)/index.html +1 -1
  36. package/styleguide/category/CONTROLS/MultiText(js)/index.html +1 -1
  37. package/styleguide/category/CONTROLS/Picklist(js)/index.html +1 -1
  38. package/styleguide/category/CONTROLS/Radio/index.html +1 -1
  39. package/styleguide/category/CONTROLS/Select/index.html +1 -1
  40. package/styleguide/category/CONTROLS/SelectButton(js)/index.html +1 -1
  41. package/styleguide/category/CONTROLS/Slider/index.html +1 -1
  42. package/styleguide/category/CONTROLS/Switch(js)/index.html +1 -1
  43. package/styleguide/category/CONTROLS/SyntaxInput(js)/index.html +1 -1
  44. package/styleguide/category/CONTROLS/Textarea/index.html +1 -1
  45. package/styleguide/category/ELEMENTS/Box/index.html +1 -1
  46. package/styleguide/category/ELEMENTS/Icon/index.html +1 -1
  47. package/styleguide/category/ELEMENTS/Image/index.html +1 -1
  48. package/styleguide/category/ELEMENTS/List/index.html +1 -1
  49. package/styleguide/category/ELEMENTS/Table/index.html +1 -1
  50. package/styleguide/category/ELEMENTS/Tag/index.html +1 -1
  51. package/styleguide/category/ELEMENTS/Title/index.html +1 -1
  52. package/styleguide/category/LAYOUT/Container/index.html +1 -1
  53. package/styleguide/category/LAYOUT/Grid/index.html +1 -1
  54. package/styleguide/category/LAYOUT/Splitter(js)/index.html +1 -1
  55. package/styleguide/category/UTILITY/index.html +1 -1
  56. package/styleguide/category/Utils/index.html +1 -1
  57. package/styleguide/color.html +1 -1
  58. package/styleguide/index.html +1 -1
  59. package/styleguide/tag/javascript/index.html +1 -1
  60. package/styleguide/tag/v.0.1.0/index.html +1 -1
@@ -17377,14 +17377,6 @@ const apexOptions = [
17377
17377
  'xaxis',
17378
17378
  'yaxis'
17379
17379
  ];
17380
- // 기본 설정 - overwrite 가능
17381
- const chartDefault = {
17382
- chart: {
17383
- toolbar: {
17384
- show: false
17385
- }
17386
- }
17387
- };
17388
17380
  // 타입별 추가 설정 - overwrite 불가
17389
17381
  const typesDefault = {
17390
17382
  line: {
@@ -17562,6 +17554,21 @@ class Chart extends GNCoreInstance {
17562
17554
  this.$options.chart.destroy();
17563
17555
  },
17564
17556
  };
17557
+ // 기본 설정
17558
+ this.chartDefault = {
17559
+ chart: {
17560
+ toolbar: {
17561
+ show: false,
17562
+ tools: {
17563
+ download: false,
17564
+ zoomin: false,
17565
+ zoomout: false,
17566
+ pan: false,
17567
+ reset: false
17568
+ }
17569
+ }
17570
+ }
17571
+ };
17565
17572
  this.$init(this, options);
17566
17573
  }
17567
17574
  template(config) {
@@ -17591,7 +17598,7 @@ class Chart extends GNCoreInstance {
17591
17598
  chartOptions[key] = value;
17592
17599
  }
17593
17600
  });
17594
- const newOptions = merge(chartDefault, merge(chartOptions, typesDefault[this.$options.type] || {}));
17601
+ const newOptions = merge(this.chartDefault, merge(chartOptions, typesDefault[this.$options.type] || {}));
17595
17602
  if (!newOptions.theme) {
17596
17603
  newOptions.theme = {
17597
17604
  palette: 'palette4'
@@ -18572,6 +18579,7 @@ class Modal extends GNCoreInstance {
18572
18579
  css(modal, 'left', getPositionX(modal, false));
18573
18580
  css(modal, 'top', getPositionY(modal, false));
18574
18581
  }
18582
+ this.$event(this, 'onOpen');
18575
18583
  },
18576
18584
  toggle: () => {
18577
18585
  toggleClass(this.$el, 'is-minimized');
@@ -18597,7 +18605,8 @@ class Modal extends GNCoreInstance {
18597
18605
  };
18598
18606
  this.events = {
18599
18607
  'onClose': true,
18600
- 'onConfirm': true
18608
+ 'onConfirm': true,
18609
+ 'onOpen': true
18601
18610
  };
18602
18611
  this.methods = {
18603
18612
  close() {
package/dist/js/gnui.js CHANGED
@@ -17560,14 +17560,6 @@
17560
17560
  'xaxis',
17561
17561
  'yaxis'
17562
17562
  ];
17563
- // 기본 설정 - overwrite 가능
17564
- var chartDefault = {
17565
- chart: {
17566
- toolbar: {
17567
- show: false
17568
- }
17569
- }
17570
- };
17571
17563
  // 타입별 추가 설정 - overwrite 불가
17572
17564
  var typesDefault = {
17573
17565
  line: {
@@ -17747,6 +17739,21 @@
17747
17739
  this.$options.chart.destroy();
17748
17740
  },
17749
17741
  };
17742
+ // 기본 설정
17743
+ _this.chartDefault = {
17744
+ chart: {
17745
+ toolbar: {
17746
+ show: false,
17747
+ tools: {
17748
+ download: false,
17749
+ zoomin: false,
17750
+ zoomout: false,
17751
+ pan: false,
17752
+ reset: false
17753
+ }
17754
+ }
17755
+ }
17756
+ };
17750
17757
  _this.$init(_this, options);
17751
17758
  return _this;
17752
17759
  }
@@ -17777,7 +17784,7 @@
17777
17784
  chartOptions[key] = value;
17778
17785
  }
17779
17786
  });
17780
- var newOptions = merge(chartDefault, merge(chartOptions, typesDefault[this.$options.type] || {}));
17787
+ var newOptions = merge(this.chartDefault, merge(chartOptions, typesDefault[this.$options.type] || {}));
17781
17788
  if (!newOptions.theme) {
17782
17789
  newOptions.theme = {
17783
17790
  palette: 'palette4'
@@ -18790,6 +18797,7 @@
18790
18797
  css(modal, 'left', getPositionX(modal, false));
18791
18798
  css(modal, 'top', getPositionY(modal, false));
18792
18799
  }
18800
+ _this.$event(_this, 'onOpen');
18793
18801
  },
18794
18802
  toggle: function () {
18795
18803
  toggleClass(_this.$el, 'is-minimized');
@@ -18815,7 +18823,8 @@
18815
18823
  };
18816
18824
  _this.events = {
18817
18825
  'onClose': true,
18818
- 'onConfirm': true
18826
+ 'onConfirm': true,
18827
+ 'onOpen': true
18819
18828
  };
18820
18829
  _this.methods = {
18821
18830
  close: function () {