@opengeoweb/theme 9.3.0 → 9.3.1

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 (2) hide show
  1. package/index.esm.js +14 -14
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -985,6 +985,20 @@ function _iterableToArrayLimit(r, l) {
985
985
  return a;
986
986
  }
987
987
  }
988
+ function _toPrimitive(t, r) {
989
+ if ("object" != typeof t || !t) return t;
990
+ var e = t[Symbol.toPrimitive];
991
+ if (void 0 !== e) {
992
+ var i = e.call(t, r || "default");
993
+ if ("object" != typeof i) return i;
994
+ throw new TypeError("@@toPrimitive must return a primitive value.");
995
+ }
996
+ return ("string" === r ? String : Number)(t);
997
+ }
998
+ function _toPropertyKey(t) {
999
+ var i = _toPrimitive(t, "string");
1000
+ return "symbol" == typeof i ? i : String(i);
1001
+ }
988
1002
  function _defineProperty(obj, key, value) {
989
1003
  key = _toPropertyKey(key);
990
1004
  if (key in obj) {
@@ -1021,20 +1035,6 @@ function _arrayLikeToArray(arr, len) {
1021
1035
  function _nonIterableRest() {
1022
1036
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1023
1037
  }
1024
- function _toPrimitive(input, hint) {
1025
- if (typeof input !== "object" || input === null) return input;
1026
- var prim = input[Symbol.toPrimitive];
1027
- if (prim !== undefined) {
1028
- var res = prim.call(input, hint || "default");
1029
- if (typeof res !== "object") return res;
1030
- throw new TypeError("@@toPrimitive must return a primitive value.");
1031
- }
1032
- return (hint === "string" ? String : Number)(input);
1033
- }
1034
- function _toPropertyKey(arg) {
1035
- var key = _toPrimitive(arg, "string");
1036
- return typeof key === "symbol" ? key : String(key);
1037
- }
1038
1038
 
1039
1039
  var BORDER_RADIUS = 3;
1040
1040
  var defaultButtonStyle = function defaultButtonStyle(button) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/theme",
3
- "version": "9.3.0",
3
+ "version": "9.3.1",
4
4
  "description": "GeoWeb Theme library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {