gnui 1.1.3 → 1.1.6

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 +18 -5
  2. package/dist/js/gnui.js +18 -5
  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
@@ -17554,15 +17554,22 @@ class Chart extends GNCoreInstance {
17554
17554
  this.$options.chart.destroy();
17555
17555
  },
17556
17556
  };
17557
- this.$init(this, options);
17558
17557
  // 기본 설정
17559
17558
  this.chartDefault = {
17560
17559
  chart: {
17561
17560
  toolbar: {
17562
- show: false
17561
+ show: false,
17562
+ tools: {
17563
+ download: false,
17564
+ zoomin: false,
17565
+ zoomout: false,
17566
+ pan: false,
17567
+ reset: false
17568
+ }
17563
17569
  }
17564
17570
  }
17565
17571
  };
17572
+ this.$init(this, options);
17566
17573
  }
17567
17574
  template(config) {
17568
17575
  const styles = {};
@@ -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');
@@ -18583,6 +18591,10 @@ class Modal extends GNCoreInstance {
18583
18591
  confirm: '확인',
18584
18592
  cancel: '취소'
18585
18593
  },
18594
+ sizeSets: {
18595
+ confirm: 'normal',
18596
+ cancel: 'normal'
18597
+ },
18586
18598
  contents: '',
18587
18599
  width: 400,
18588
18600
  hasClose: true,
@@ -18597,7 +18609,8 @@ class Modal extends GNCoreInstance {
18597
18609
  };
18598
18610
  this.events = {
18599
18611
  'onClose': true,
18600
- 'onConfirm': true
18612
+ 'onConfirm': true,
18613
+ 'onOpen': true
18601
18614
  };
18602
18615
  this.methods = {
18603
18616
  close() {
@@ -18640,8 +18653,8 @@ class Modal extends GNCoreInstance {
18640
18653
  createElement$1("div", { className: "modal-body-content", style: contStyles })),
18641
18654
  (config.hasConfirm || config.hasCancel) && /* 확인/취소 옵션 확인 */
18642
18655
  createElement$1("div", { className: "modal-footer has-text-center" },
18643
- config.hasConfirm && createElement$1("button", { type: "button", className: "gn-button", "on-click": this._hidden.confirm }, config.textSets.confirm),
18644
- config.hasCancel && createElement$1("button", { type: "button", className: "gn-button btnCloseModal is-cancel", "on-click": this._hidden.close }, config.textSets.cancel))));
18656
+ config.hasConfirm && createElement$1("button", { type: "button", className: "gn-button" + ` is-${config.sizeSets.confirm}`, "on-click": this._hidden.confirm }, config.textSets.confirm),
18657
+ config.hasCancel && createElement$1("button", { type: "button", className: "gn-button btnCloseModal is-cancel" + ` is-${config.sizeSets.cancel}`, "on-click": this._hidden.close }, config.textSets.cancel))));
18645
18658
  }
18646
18659
  $render(config) {
18647
18660
  if (config.contents) {
package/dist/js/gnui.js CHANGED
@@ -17739,15 +17739,22 @@
17739
17739
  this.$options.chart.destroy();
17740
17740
  },
17741
17741
  };
17742
- _this.$init(_this, options);
17743
17742
  // 기본 설정
17744
17743
  _this.chartDefault = {
17745
17744
  chart: {
17746
17745
  toolbar: {
17747
- show: false
17746
+ show: false,
17747
+ tools: {
17748
+ download: false,
17749
+ zoomin: false,
17750
+ zoomout: false,
17751
+ pan: false,
17752
+ reset: false
17753
+ }
17748
17754
  }
17749
17755
  }
17750
17756
  };
17757
+ _this.$init(_this, options);
17751
17758
  return _this;
17752
17759
  }
17753
17760
  Chart.prototype.template = function (config) {
@@ -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');
@@ -18801,6 +18809,10 @@
18801
18809
  confirm: '확인',
18802
18810
  cancel: '취소'
18803
18811
  },
18812
+ sizeSets: {
18813
+ confirm: 'normal',
18814
+ cancel: 'normal'
18815
+ },
18804
18816
  contents: '',
18805
18817
  width: 400,
18806
18818
  hasClose: true,
@@ -18815,7 +18827,8 @@
18815
18827
  };
18816
18828
  _this.events = {
18817
18829
  'onClose': true,
18818
- 'onConfirm': true
18830
+ 'onConfirm': true,
18831
+ 'onOpen': true
18819
18832
  };
18820
18833
  _this.methods = {
18821
18834
  close: function () {
@@ -18859,8 +18872,8 @@
18859
18872
  createElement$1("div", { className: "modal-body-content", style: contStyles })),
18860
18873
  (config.hasConfirm || config.hasCancel) && /* 확인/취소 옵션 확인 */
18861
18874
  createElement$1("div", { className: "modal-footer has-text-center" },
18862
- config.hasConfirm && createElement$1("button", { type: "button", className: "gn-button", "on-click": this._hidden.confirm }, config.textSets.confirm),
18863
- config.hasCancel && createElement$1("button", { type: "button", className: "gn-button btnCloseModal is-cancel", "on-click": this._hidden.close }, config.textSets.cancel))));
18875
+ config.hasConfirm && createElement$1("button", { type: "button", className: "gn-button" + (" is-" + config.sizeSets.confirm), "on-click": this._hidden.confirm }, config.textSets.confirm),
18876
+ config.hasCancel && createElement$1("button", { type: "button", className: "gn-button btnCloseModal is-cancel" + (" is-" + config.sizeSets.cancel), "on-click": this._hidden.close }, config.textSets.cancel))));
18864
18877
  };
18865
18878
  Modal.prototype.$render = function (config) {
18866
18879
  if (config.contents) {