gnui 1.1.1 → 1.1.2

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 +5 -4
  2. package/dist/js/gnui.js +5 -4
  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
@@ -13714,9 +13714,10 @@ function commaNum(num) {
13714
13714
  }
13715
13715
  const JsonPath = jsonpath;
13716
13716
  function interpolateURL(url, source) {
13717
- let _tmp = Object.assign({}, source);
13717
+ let _source = Object.assign({}, source);
13718
13718
  let dmustach = new RegExp(/\{{([^{}]*)}}/gm);
13719
13719
  let result = url.replace(dmustach, (match, offset, string) => {
13720
+ let _tmp = Object.assign({}, _source);
13720
13721
  let _fields = match.replace(/\{{|\}}/gm, '');
13721
13722
  if (startsWith(_fields, '$') && isObject(source.root)) {
13722
13723
  _tmp = JsonPath.query(_tmp.root, _fields);
@@ -17376,7 +17377,7 @@ const apexOptions = [
17376
17377
  'xaxis',
17377
17378
  'yaxis'
17378
17379
  ];
17379
- // 기본 설정
17380
+ // 기본 설정 - overwrite 가능
17380
17381
  const chartDefault = {
17381
17382
  chart: {
17382
17383
  toolbar: {
@@ -17384,7 +17385,7 @@ const chartDefault = {
17384
17385
  }
17385
17386
  }
17386
17387
  };
17387
- // 타입별 추가 설정
17388
+ // 타입별 추가 설정 - overwrite 불가
17388
17389
  const typesDefault = {
17389
17390
  line: {
17390
17391
  chart: {
@@ -17590,7 +17591,7 @@ class Chart extends GNCoreInstance {
17590
17591
  chartOptions[key] = value;
17591
17592
  }
17592
17593
  });
17593
- const newOptions = merge(merge(chartOptions, typesDefault[this.$options.type] || {}), chartDefault);
17594
+ const newOptions = merge(chartDefault, merge(chartOptions, typesDefault[this.$options.type] || {}));
17594
17595
  if (!newOptions.theme) {
17595
17596
  newOptions.theme = {
17596
17597
  palette: 'palette4'
package/dist/js/gnui.js CHANGED
@@ -13780,9 +13780,10 @@
13780
13780
  }
13781
13781
  var JsonPath = jsonpath;
13782
13782
  function interpolateURL(url, source) {
13783
- var _tmp = __assign({}, source);
13783
+ var _source = __assign({}, source);
13784
13784
  var dmustach = new RegExp(/\{{([^{}]*)}}/gm);
13785
13785
  var result = url.replace(dmustach, function (match, offset, string) {
13786
+ var _tmp = __assign({}, _source);
13786
13787
  var _fields = match.replace(/\{{|\}}/gm, '');
13787
13788
  if (startsWith(_fields, '$') && isObject(source.root)) {
13788
13789
  _tmp = JsonPath.query(_tmp.root, _fields);
@@ -17559,7 +17560,7 @@
17559
17560
  'xaxis',
17560
17561
  'yaxis'
17561
17562
  ];
17562
- // 기본 설정
17563
+ // 기본 설정 - overwrite 가능
17563
17564
  var chartDefault = {
17564
17565
  chart: {
17565
17566
  toolbar: {
@@ -17567,7 +17568,7 @@
17567
17568
  }
17568
17569
  }
17569
17570
  };
17570
- // 타입별 추가 설정
17571
+ // 타입별 추가 설정 - overwrite 불가
17571
17572
  var typesDefault = {
17572
17573
  line: {
17573
17574
  chart: {
@@ -17776,7 +17777,7 @@
17776
17777
  chartOptions[key] = value;
17777
17778
  }
17778
17779
  });
17779
- var newOptions = merge(merge(chartOptions, typesDefault[this.$options.type] || {}), chartDefault);
17780
+ var newOptions = merge(chartDefault, merge(chartOptions, typesDefault[this.$options.type] || {}));
17780
17781
  if (!newOptions.theme) {
17781
17782
  newOptions.theme = {
17782
17783
  palette: 'palette4'