gnui 1.1.6 → 1.1.8

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 +10 -2
  2. package/dist/js/gnui.js +10 -2
  3. package/dist/js/gnui.min.js +1 -1
  4. package/dist/styles/default.css +2 -2
  5. package/dist/styles/gpi.css +2 -2
  6. package/dist/styles/insights.css +2 -2
  7. package/dist/styles/nac.css +2 -2
  8. package/dist/styles/zt-nac.css +2 -2
  9. package/package.json +1 -1
  10. package/styleguide/category/COLOR/index.html +1 -1
  11. package/styleguide/category/COMPONENT/Alert(js)/index.html +1 -1
  12. package/styleguide/category/COMPONENT/Bignumber/index.html +1 -1
  13. package/styleguide/category/COMPONENT/Breadcrumb/index.html +1 -1
  14. package/styleguide/category/COMPONENT/Calendar(js)/index.html +1 -1
  15. package/styleguide/category/COMPONENT/Card/index.html +1 -1
  16. package/styleguide/category/COMPONENT/Chart(js)/index.html +1 -1
  17. package/styleguide/category/COMPONENT/Datagrid(js)/index.html +1 -1
  18. package/styleguide/category/COMPONENT/Growl(js)/index.html +1 -1
  19. package/styleguide/category/COMPONENT/JsonView(js)/index.html +2 -2
  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/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/Time(js)/index.html +1 -1
  28. package/styleguide/category/COMPONENT/Tooltip(js)/index.html +1 -1
  29. package/styleguide/category/COMPONENT/Tree(js)/index.html +1 -1
  30. package/styleguide/category/CONTROLS/Button(js)/index.html +1 -1
  31. package/styleguide/category/CONTROLS/Checkbox/index.html +1 -1
  32. package/styleguide/category/CONTROLS/Colorpicker(js)/index.html +1 -1
  33. package/styleguide/category/CONTROLS/Datepicker(js)/index.html +1 -1
  34. package/styleguide/category/CONTROLS/Dropdown(js)/index.html +1 -1
  35. package/styleguide/category/CONTROLS/File/index.html +1 -1
  36. package/styleguide/category/CONTROLS/Form/Control/index.html +1 -1
  37. package/styleguide/category/CONTROLS/Form/Field/index.html +1 -1
  38. package/styleguide/category/CONTROLS/Form/Plain/index.html +1 -1
  39. package/styleguide/category/CONTROLS/Input/index.html +1 -1
  40. package/styleguide/category/CONTROLS/MenuButton(js)/index.html +1 -1
  41. package/styleguide/category/CONTROLS/MultiText(js)/index.html +1 -1
  42. package/styleguide/category/CONTROLS/Picklist(js)/index.html +1 -1
  43. package/styleguide/category/CONTROLS/Radio/index.html +1 -1
  44. package/styleguide/category/CONTROLS/Select/index.html +1 -1
  45. package/styleguide/category/CONTROLS/SelectButton(js)/index.html +1 -1
  46. package/styleguide/category/CONTROLS/Slider/index.html +1 -1
  47. package/styleguide/category/CONTROLS/Switch(js)/index.html +1 -1
  48. package/styleguide/category/CONTROLS/SyntaxInput(js)/index.html +1 -1
  49. package/styleguide/category/CONTROLS/Textarea/index.html +1 -1
  50. package/styleguide/category/ELEMENTS/Box/index.html +3 -3
  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 +2 -2
  63. package/styleguide/index.html +2 -2
  64. package/styleguide/tag/javascript/index.html +1 -1
  65. package/styleguide/tag/v.0.1.0/index.html +4 -4
@@ -13357,6 +13357,11 @@ function isMAC(macStr, sep = ':') {
13357
13357
  }
13358
13358
  return result;
13359
13359
  }
13360
+ function isNetworkAndBroadcastAddr(ipstr) {
13361
+ if (ipstr === "0.0.0.0" || ipstr === "255.255.255.255")
13362
+ return true;
13363
+ return false;
13364
+ }
13360
13365
  function isIpAddressPattern(ipPattern) {
13361
13366
  let result = true;
13362
13367
  if (!ipPattern) {
@@ -15041,6 +15046,7 @@ var utils = /*#__PURE__*/Object.freeze({
15041
15046
  isEqual: isEqual,
15042
15047
  normalizeMacFormat: normalizeMacFormat,
15043
15048
  isMAC: isMAC,
15049
+ isNetworkAndBroadcastAddr: isNetworkAndBroadcastAddr,
15044
15050
  isIpAddressPattern: isIpAddressPattern,
15045
15051
  isIpAddress: isIpAddress,
15046
15052
  startsWith: startsWith,
@@ -18809,9 +18815,11 @@ class JsonView extends GNCoreInstance {
18809
18815
  schema && schema.Required && schema.Required.includes(key) ? ' *' : '');
18810
18816
  },
18811
18817
  valueView: (data, schema, parent) => {
18818
+ let val = commaNum(data);
18812
18819
  return schema && schema.RefURL ?
18813
- createElement$1("a", { href: interpolateURL(schema.RefURL, { data, schema, parent, root: this.$options.data }), target: schema.Target ? schema.Target : '_self' }, this._hidden.value(data, schema)) :
18814
- this._hidden.value(data, schema);
18820
+ (val === '0' ? this._hidden.value(data, schema) :
18821
+ createElement$1("a", { href: interpolateURL(schema.RefURL, { data, schema, parent, root: this.$options.data }), target: schema.Target ? schema.Target : '_self' }, this._hidden.value(data, schema)))
18822
+ : this._hidden.value(data, schema);
18815
18823
  },
18816
18824
  value: (data, schema) => {
18817
18825
  let valueNode;
package/dist/js/gnui.js CHANGED
@@ -13412,6 +13412,11 @@
13412
13412
  }
13413
13413
  return result;
13414
13414
  }
13415
+ function isNetworkAndBroadcastAddr(ipstr) {
13416
+ if (ipstr === "0.0.0.0" || ipstr === "255.255.255.255")
13417
+ return true;
13418
+ return false;
13419
+ }
13415
13420
  function isIpAddressPattern(ipPattern) {
13416
13421
  var result = true;
13417
13422
  if (!ipPattern) {
@@ -15175,6 +15180,7 @@
15175
15180
  isEqual: isEqual,
15176
15181
  normalizeMacFormat: normalizeMacFormat,
15177
15182
  isMAC: isMAC,
15183
+ isNetworkAndBroadcastAddr: isNetworkAndBroadcastAddr,
15178
15184
  isIpAddressPattern: isIpAddressPattern,
15179
15185
  isIpAddress: isIpAddress,
15180
15186
  startsWith: startsWith,
@@ -19031,9 +19037,11 @@
19031
19037
  schema && schema.Required && schema.Required.includes(key) ? ' *' : '');
19032
19038
  },
19033
19039
  valueView: function (data, schema, parent) {
19040
+ var val = commaNum(data);
19034
19041
  return schema && schema.RefURL ?
19035
- createElement$1("a", { href: interpolateURL(schema.RefURL, { data: data, schema: schema, parent: parent, root: _this.$options.data }), target: schema.Target ? schema.Target : '_self' }, _this._hidden.value(data, schema)) :
19036
- _this._hidden.value(data, schema);
19042
+ (val === '0' ? _this._hidden.value(data, schema) :
19043
+ createElement$1("a", { href: interpolateURL(schema.RefURL, { data: data, schema: schema, parent: parent, root: _this.$options.data }), target: schema.Target ? schema.Target : '_self' }, _this._hidden.value(data, schema)))
19044
+ : _this._hidden.value(data, schema);
19037
19045
  },
19038
19046
  value: function (data, schema) {
19039
19047
  var valueNode;