@assecosolutions/fox-icon
Advanced tools
Comparing version 2.0.2 to 2.0.3
409
index.esm.js
@@ -35,17 +35,17 @@ import { css, LitElement, html as html$2 } from 'lit'; | ||
var uncurryThis$9 = functionUncurryThis; | ||
var uncurryThis$b = functionUncurryThis; | ||
var toString$1 = uncurryThis$9({}.toString); | ||
var stringSlice$1 = uncurryThis$9(''.slice); | ||
var toString$3 = uncurryThis$b({}.toString); | ||
var stringSlice$2 = uncurryThis$b(''.slice); | ||
var classofRaw = function (it) { | ||
return stringSlice$1(toString$1(it), 8, -1); | ||
var classofRaw$2 = function (it) { | ||
return stringSlice$2(toString$3(it), 8, -1); | ||
}; | ||
var uncurryThis$8 = functionUncurryThis; | ||
var uncurryThis$a = functionUncurryThis; | ||
var fails$8 = fails$a; | ||
var classof = classofRaw; | ||
var classof$3 = classofRaw$2; | ||
var $Object$3 = Object; | ||
var split = uncurryThis$8(''.split); | ||
var $Object$4 = Object; | ||
var split = uncurryThis$a(''.split); | ||
@@ -56,6 +56,6 @@ // fallback for non-array-like ES3 and non-enumerable old V8 strings | ||
// eslint-disable-next-line no-prototype-builtins -- safe | ||
return !$Object$3('z').propertyIsEnumerable(0); | ||
return !$Object$4('z').propertyIsEnumerable(0); | ||
}) ? function (it) { | ||
return classof(it) === 'String' ? split(it, '') : $Object$3(it); | ||
} : $Object$3; | ||
return classof$3(it) === 'String' ? split(it, '') : $Object$4(it); | ||
} : $Object$4; | ||
@@ -70,8 +70,8 @@ // we can't use just `it == null` since of `document.all` special case | ||
var $TypeError$6 = TypeError; | ||
var $TypeError$7 = TypeError; | ||
// `RequireObjectCoercible` abstract operation | ||
// https://tc39.es/ecma262/#sec-requireobjectcoercible | ||
var requireObjectCoercible$2 = function (it) { | ||
if (isNullOrUndefined$1(it)) throw new $TypeError$6("Can't call method on " + it); | ||
var requireObjectCoercible$3 = function (it) { | ||
if (isNullOrUndefined$1(it)) throw new $TypeError$7("Can't call method on " + it); | ||
return it; | ||
@@ -82,6 +82,6 @@ }; | ||
var IndexedObject = indexedObject; | ||
var requireObjectCoercible$1 = requireObjectCoercible$2; | ||
var requireObjectCoercible$2 = requireObjectCoercible$3; | ||
var toIndexedObject$5 = function (it) { | ||
return IndexedObject(requireObjectCoercible$1(it)); | ||
return IndexedObject(requireObjectCoercible$2(it)); | ||
}; | ||
@@ -140,5 +140,5 @@ | ||
var requireObjectCoercible = requireObjectCoercible$2; | ||
var requireObjectCoercible$1 = requireObjectCoercible$3; | ||
var $Object$2 = Object; | ||
var $Object$3 = Object; | ||
@@ -148,9 +148,9 @@ // `ToObject` abstract operation | ||
var toObject$2 = function (argument) { | ||
return $Object$2(requireObjectCoercible(argument)); | ||
return $Object$3(requireObjectCoercible$1(argument)); | ||
}; | ||
var uncurryThis$7 = functionUncurryThis; | ||
var uncurryThis$9 = functionUncurryThis; | ||
var toObject$1 = toObject$2; | ||
var hasOwnProperty = uncurryThis$7({}.hasOwnProperty); | ||
var hasOwnProperty = uncurryThis$9({}.hasOwnProperty); | ||
@@ -164,10 +164,10 @@ // `HasOwnProperty` abstract operation | ||
var uncurryThis$6 = functionUncurryThis; | ||
var uncurryThis$8 = functionUncurryThis; | ||
var id = 0; | ||
var postfix = Math.random(); | ||
var toString = uncurryThis$6(1.0.toString); | ||
var toString$2 = uncurryThis$8(1.0.toString); | ||
var uid$2 = function (key) { | ||
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); | ||
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$2(++id + postfix, 36); | ||
}; | ||
@@ -210,3 +210,3 @@ | ||
var $String$4 = global$8.String; | ||
var $String$5 = global$8.String; | ||
@@ -220,3 +220,3 @@ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing | ||
// of course, fail. | ||
return !$String$4(symbol) || !(Object(symbol) instanceof Symbol) || | ||
return !$String$5(symbol) || !(Object(symbol) instanceof Symbol) || | ||
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances | ||
@@ -244,3 +244,3 @@ !Symbol.sham && V8_VERSION && V8_VERSION < 41; | ||
var wellKnownSymbol$6 = function (name) { | ||
var wellKnownSymbol$a = function (name) { | ||
if (!hasOwn$8(WellKnownSymbolsStore, name)) { | ||
@@ -259,3 +259,3 @@ WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$8(Symbol$1, name) | ||
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing | ||
var isCallable$d = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) { | ||
var isCallable$e = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) { | ||
return typeof argument == 'function' || argument === documentAll; | ||
@@ -266,17 +266,17 @@ } : function (argument) { | ||
var isCallable$c = isCallable$d; | ||
var isCallable$d = isCallable$e; | ||
var isObject$7 = function (it) { | ||
return typeof it == 'object' ? it !== null : isCallable$c(it); | ||
var isObject$8 = function (it) { | ||
return typeof it == 'object' ? it !== null : isCallable$d(it); | ||
}; | ||
var isObject$6 = isObject$7; | ||
var isObject$7 = isObject$8; | ||
var $String$3 = String; | ||
var $TypeError$5 = TypeError; | ||
var $String$4 = String; | ||
var $TypeError$6 = TypeError; | ||
// `Assert: Type(argument) is Object` | ||
var anObject$5 = function (argument) { | ||
if (isObject$6(argument)) return argument; | ||
throw new $TypeError$5($String$3(argument) + ' is not an object'); | ||
if (isObject$7(argument)) return argument; | ||
throw new $TypeError$6($String$4(argument) + ' is not an object'); | ||
}; | ||
@@ -310,7 +310,7 @@ | ||
var global$6 = global$c; | ||
var isObject$5 = isObject$7; | ||
var isObject$6 = isObject$8; | ||
var document$1 = global$6.document; | ||
// typeof document.createElement is 'object' in old IE | ||
var EXISTS$1 = isObject$5(document$1) && isObject$5(document$1.createElement); | ||
var EXISTS$1 = isObject$6(document$1) && isObject$6(document$1.createElement); | ||
@@ -342,6 +342,6 @@ var documentCreateElement$2 = function (it) { | ||
var global$5 = global$c; | ||
var isCallable$b = isCallable$d; | ||
var isCallable$c = isCallable$e; | ||
var aFunction = function (argument) { | ||
return isCallable$b(argument) ? argument : undefined; | ||
return isCallable$c(argument) ? argument : undefined; | ||
}; | ||
@@ -353,12 +353,12 @@ | ||
var uncurryThis$5 = functionUncurryThis; | ||
var uncurryThis$7 = functionUncurryThis; | ||
var objectIsPrototypeOf = uncurryThis$5({}.isPrototypeOf); | ||
var objectIsPrototypeOf = uncurryThis$7({}.isPrototypeOf); | ||
var getBuiltIn$2 = getBuiltIn$3; | ||
var isCallable$a = isCallable$d; | ||
var isCallable$b = isCallable$e; | ||
var isPrototypeOf = objectIsPrototypeOf; | ||
var USE_SYMBOL_AS_UID = useSymbolAsUid; | ||
var $Object$1 = Object; | ||
var $Object$2 = Object; | ||
@@ -369,10 +369,10 @@ var isSymbol$2 = USE_SYMBOL_AS_UID ? function (it) { | ||
var $Symbol = getBuiltIn$2('Symbol'); | ||
return isCallable$a($Symbol) && isPrototypeOf($Symbol.prototype, $Object$1(it)); | ||
return isCallable$b($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it)); | ||
}; | ||
var $String$2 = String; | ||
var $String$3 = String; | ||
var tryToString$1 = function (argument) { | ||
try { | ||
return $String$2(argument); | ||
return $String$3(argument); | ||
} catch (error) { | ||
@@ -383,11 +383,11 @@ return 'Object'; | ||
var isCallable$9 = isCallable$d; | ||
var isCallable$a = isCallable$e; | ||
var tryToString = tryToString$1; | ||
var $TypeError$4 = TypeError; | ||
var $TypeError$5 = TypeError; | ||
// `Assert: IsCallable(argument) is true` | ||
var aCallable$2 = function (argument) { | ||
if (isCallable$9(argument)) return argument; | ||
throw new $TypeError$4(tryToString(argument) + ' is not a function'); | ||
if (isCallable$a(argument)) return argument; | ||
throw new $TypeError$5(tryToString(argument) + ' is not a function'); | ||
}; | ||
@@ -406,6 +406,6 @@ | ||
var call$3 = functionCall; | ||
var isCallable$8 = isCallable$d; | ||
var isObject$4 = isObject$7; | ||
var isCallable$9 = isCallable$e; | ||
var isObject$5 = isObject$8; | ||
var $TypeError$3 = TypeError; | ||
var $TypeError$4 = TypeError; | ||
@@ -416,17 +416,17 @@ // `OrdinaryToPrimitive` abstract operation | ||
var fn, val; | ||
if (pref === 'string' && isCallable$8(fn = input.toString) && !isObject$4(val = call$3(fn, input))) return val; | ||
if (isCallable$8(fn = input.valueOf) && !isObject$4(val = call$3(fn, input))) return val; | ||
if (pref !== 'string' && isCallable$8(fn = input.toString) && !isObject$4(val = call$3(fn, input))) return val; | ||
throw new $TypeError$3("Can't convert object to primitive value"); | ||
if (pref === 'string' && isCallable$9(fn = input.toString) && !isObject$5(val = call$3(fn, input))) return val; | ||
if (isCallable$9(fn = input.valueOf) && !isObject$5(val = call$3(fn, input))) return val; | ||
if (pref !== 'string' && isCallable$9(fn = input.toString) && !isObject$5(val = call$3(fn, input))) return val; | ||
throw new $TypeError$4("Can't convert object to primitive value"); | ||
}; | ||
var call$2 = functionCall; | ||
var isObject$3 = isObject$7; | ||
var isObject$4 = isObject$8; | ||
var isSymbol$1 = isSymbol$2; | ||
var getMethod = getMethod$1; | ||
var ordinaryToPrimitive = ordinaryToPrimitive$1; | ||
var wellKnownSymbol$5 = wellKnownSymbol$6; | ||
var wellKnownSymbol$9 = wellKnownSymbol$a; | ||
var $TypeError$2 = TypeError; | ||
var TO_PRIMITIVE = wellKnownSymbol$5('toPrimitive'); | ||
var $TypeError$3 = TypeError; | ||
var TO_PRIMITIVE = wellKnownSymbol$9('toPrimitive'); | ||
@@ -436,3 +436,3 @@ // `ToPrimitive` abstract operation | ||
var toPrimitive$1 = function (input, pref) { | ||
if (!isObject$3(input) || isSymbol$1(input)) return input; | ||
if (!isObject$4(input) || isSymbol$1(input)) return input; | ||
var exoticToPrim = getMethod(input, TO_PRIMITIVE); | ||
@@ -443,4 +443,4 @@ var result; | ||
result = call$2(exoticToPrim, input, pref); | ||
if (!isObject$3(result) || isSymbol$1(result)) return result; | ||
throw new $TypeError$2("Can't convert object to primitive value"); | ||
if (!isObject$4(result) || isSymbol$1(result)) return result; | ||
throw new $TypeError$3("Can't convert object to primitive value"); | ||
} | ||
@@ -467,3 +467,3 @@ if (pref === undefined) pref = 'number'; | ||
var $TypeError$1 = TypeError; | ||
var $TypeError$2 = TypeError; | ||
// eslint-disable-next-line es/no-object-defineproperty -- safe | ||
@@ -501,3 +501,3 @@ var $defineProperty = Object.defineProperty; | ||
} catch (error) { /* empty */ } | ||
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$1('Accessors not supported'); | ||
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$2('Accessors not supported'); | ||
if ('value' in Attributes) O[P] = Attributes.value; | ||
@@ -531,3 +531,3 @@ return O; | ||
var max = Math.max; | ||
var min$1 = Math.min; | ||
var min$2 = Math.min; | ||
@@ -539,3 +539,3 @@ // Helper for a popular repeating case of the spec: | ||
var integer = toIntegerOrInfinity$1(index); | ||
return integer < 0 ? max(integer + length, 0) : min$1(integer, length); | ||
return integer < 0 ? max(integer + length, 0) : min$2(integer, length); | ||
}; | ||
@@ -545,12 +545,12 @@ | ||
var min = Math.min; | ||
var min$1 = Math.min; | ||
// `ToLength` abstract operation | ||
// https://tc39.es/ecma262/#sec-tolength | ||
var toLength$1 = function (argument) { | ||
var toLength$2 = function (argument) { | ||
var len = toIntegerOrInfinity(argument); | ||
return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 | ||
return len > 0 ? min$1(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 | ||
}; | ||
var toLength = toLength$1; | ||
var toLength$1 = toLength$2; | ||
@@ -560,3 +560,3 @@ // `LengthOfArrayLike` abstract operation | ||
var lengthOfArrayLike$1 = function (obj) { | ||
return toLength(obj.length); | ||
return toLength$1(obj.length); | ||
}; | ||
@@ -599,3 +599,3 @@ | ||
var uncurryThis$4 = functionUncurryThis; | ||
var uncurryThis$6 = functionUncurryThis; | ||
var hasOwn$7 = hasOwnProperty_1; | ||
@@ -606,3 +606,3 @@ var toIndexedObject$3 = toIndexedObject$5; | ||
var push = uncurryThis$4([].push); | ||
var push = uncurryThis$6([].push); | ||
@@ -761,7 +761,7 @@ var objectKeysInternal = function (object, names) { | ||
var wellKnownSymbol$4 = wellKnownSymbol$6; | ||
var wellKnownSymbol$8 = wellKnownSymbol$a; | ||
var create$1 = objectCreate; | ||
var defineProperty$3 = objectDefineProperty.f; | ||
var UNSCOPABLES = wellKnownSymbol$4('unscopables'); | ||
var UNSCOPABLES = wellKnownSymbol$8('unscopables'); | ||
var ArrayPrototype = Array.prototype; | ||
@@ -786,7 +786,7 @@ | ||
var global$4 = global$c; | ||
var isCallable$7 = isCallable$d; | ||
var isCallable$8 = isCallable$e; | ||
var WeakMap$1 = global$4.WeakMap; | ||
var weakMapBasicDetection = isCallable$7(WeakMap$1) && /native code/.test(String(WeakMap$1)); | ||
var weakMapBasicDetection = isCallable$8(WeakMap$1) && /native code/.test(String(WeakMap$1)); | ||
@@ -815,3 +815,3 @@ var createPropertyDescriptor$3 = function (bitmap, value) { | ||
var global$3 = global$c; | ||
var isObject$2 = isObject$7; | ||
var isObject$3 = isObject$8; | ||
var createNonEnumerableProperty$3 = createNonEnumerableProperty$4; | ||
@@ -835,3 +835,3 @@ var hasOwn$6 = hasOwnProperty_1; | ||
var state; | ||
if (!isObject$2(it) || (state = get(it)).type !== TYPE) { | ||
if (!isObject$3(it) || (state = get(it)).type !== TYPE) { | ||
throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required'); | ||
@@ -892,6 +892,6 @@ } return state; | ||
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe | ||
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor; | ||
var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor; | ||
// Nashorn ~ JDK8 bug | ||
var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1); | ||
var NASHORN_BUG = getOwnPropertyDescriptor$2 && !$propertyIsEnumerable.call({ 1: 2 }, 1); | ||
@@ -901,3 +901,3 @@ // `Object.prototype.propertyIsEnumerable` method implementation | ||
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) { | ||
var descriptor = getOwnPropertyDescriptor$1(this, V); | ||
var descriptor = getOwnPropertyDescriptor$2(this, V); | ||
return !!descriptor && descriptor.enumerable; | ||
@@ -949,10 +949,10 @@ } : $propertyIsEnumerable; | ||
var uncurryThis$3 = functionUncurryThis; | ||
var isCallable$6 = isCallable$d; | ||
var uncurryThis$5 = functionUncurryThis; | ||
var isCallable$7 = isCallable$e; | ||
var store = sharedStore; | ||
var functionToString = uncurryThis$3(Function.toString); | ||
var functionToString = uncurryThis$5(Function.toString); | ||
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper | ||
if (!isCallable$6(store.inspectSource)) { | ||
if (!isCallable$7(store.inspectSource)) { | ||
store.inspectSource = function (it) { | ||
@@ -965,5 +965,5 @@ return functionToString(it); | ||
var uncurryThis$2 = functionUncurryThis; | ||
var uncurryThis$4 = functionUncurryThis; | ||
var fails$3 = fails$a; | ||
var isCallable$5 = isCallable$d; | ||
var isCallable$6 = isCallable$e; | ||
var hasOwn$3 = hasOwnProperty_1; | ||
@@ -977,8 +977,8 @@ var DESCRIPTORS$1 = descriptors; | ||
var getInternalState$1 = InternalStateModule$1.get; | ||
var $String$1 = String; | ||
var $String$2 = String; | ||
// eslint-disable-next-line es/no-object-defineproperty -- safe | ||
var defineProperty$2 = Object.defineProperty; | ||
var stringSlice = uncurryThis$2(''.slice); | ||
var replace = uncurryThis$2(''.replace); | ||
var join = uncurryThis$2([].join); | ||
var stringSlice$1 = uncurryThis$4(''.slice); | ||
var replace = uncurryThis$4(''.replace); | ||
var join = uncurryThis$4([].join); | ||
@@ -992,4 +992,4 @@ var CONFIGURABLE_LENGTH = DESCRIPTORS$1 && !fails$3(function () { | ||
var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) { | ||
if (stringSlice($String$1(name), 0, 7) === 'Symbol(') { | ||
name = '[' + replace($String$1(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']'; | ||
if (stringSlice$1($String$2(name), 0, 7) === 'Symbol(') { | ||
name = '[' + replace($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']'; | ||
} | ||
@@ -1020,6 +1020,6 @@ if (options && options.getter) name = 'get ' + name; | ||
Function.prototype.toString = makeBuiltIn$1(function toString() { | ||
return isCallable$5(this) && getInternalState$1(this).source || inspectSource(this); | ||
return isCallable$6(this) && getInternalState$1(this).source || inspectSource(this); | ||
}, 'toString'); | ||
var isCallable$4 = isCallable$d; | ||
var isCallable$5 = isCallable$e; | ||
var definePropertyModule$1 = objectDefineProperty; | ||
@@ -1033,3 +1033,3 @@ var makeBuiltIn = makeBuiltIn$2.exports; | ||
var name = options.name !== undefined ? options.name : key; | ||
if (isCallable$4(value)) makeBuiltIn(value, name, options); | ||
if (isCallable$5(value)) makeBuiltIn(value, name, options); | ||
if (options.global) { | ||
@@ -1073,3 +1073,3 @@ if (simple) O[key] = value; | ||
var getBuiltIn = getBuiltIn$3; | ||
var uncurryThis$1 = functionUncurryThis; | ||
var uncurryThis$3 = functionUncurryThis; | ||
var getOwnPropertyNamesModule = objectGetOwnPropertyNames; | ||
@@ -1079,3 +1079,3 @@ var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols; | ||
var concat = uncurryThis$1([].concat); | ||
var concat = uncurryThis$3([].concat); | ||
@@ -1107,3 +1107,3 @@ // all object keys, includes non-enumerable and symbols | ||
var fails$2 = fails$a; | ||
var isCallable$3 = isCallable$d; | ||
var isCallable$4 = isCallable$e; | ||
@@ -1116,3 +1116,3 @@ var replacement = /#|\.prototype\./; | ||
: value === NATIVE ? false | ||
: isCallable$3(detection) ? fails$2(detection) | ||
: isCallable$4(detection) ? fails$2(detection) | ||
: !!detection; | ||
@@ -1132,3 +1132,3 @@ }; | ||
var global$2 = global$c; | ||
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f; | ||
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f; | ||
var createNonEnumerableProperty$2 = createNonEnumerableProperty$4; | ||
@@ -1170,3 +1170,3 @@ var defineBuiltIn$2 = defineBuiltIn$3; | ||
if (options.dontCallGetSet) { | ||
descriptor = getOwnPropertyDescriptor(target, key); | ||
descriptor = getOwnPropertyDescriptor$1(target, key); | ||
targetProperty = descriptor && descriptor.value; | ||
@@ -1198,3 +1198,3 @@ } else targetProperty = target[key]; | ||
var hasOwn$1 = hasOwnProperty_1; | ||
var isCallable$2 = isCallable$d; | ||
var isCallable$3 = isCallable$e; | ||
var toObject = toObject$2; | ||
@@ -1205,4 +1205,4 @@ var sharedKey = sharedKey$3; | ||
var IE_PROTO = sharedKey('IE_PROTO'); | ||
var $Object = Object; | ||
var ObjectPrototype = $Object.prototype; | ||
var $Object$1 = Object; | ||
var ObjectPrototype = $Object$1.prototype; | ||
@@ -1212,19 +1212,19 @@ // `Object.getPrototypeOf` method | ||
// eslint-disable-next-line es/no-object-getprototypeof -- safe | ||
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) { | ||
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) { | ||
var object = toObject(O); | ||
if (hasOwn$1(object, IE_PROTO)) return object[IE_PROTO]; | ||
var constructor = object.constructor; | ||
if (isCallable$2(constructor) && object instanceof constructor) { | ||
if (isCallable$3(constructor) && object instanceof constructor) { | ||
return constructor.prototype; | ||
} return object instanceof $Object ? ObjectPrototype : null; | ||
} return object instanceof $Object$1 ? ObjectPrototype : null; | ||
}; | ||
var fails = fails$a; | ||
var isCallable$1 = isCallable$d; | ||
var isObject$1 = isObject$7; | ||
var isCallable$2 = isCallable$e; | ||
var isObject$2 = isObject$8; | ||
var getPrototypeOf$1 = objectGetPrototypeOf; | ||
var defineBuiltIn$1 = defineBuiltIn$3; | ||
var wellKnownSymbol$3 = wellKnownSymbol$6; | ||
var wellKnownSymbol$7 = wellKnownSymbol$a; | ||
var ITERATOR$2 = wellKnownSymbol$3('iterator'); | ||
var ITERATOR$2 = wellKnownSymbol$7('iterator'); | ||
var BUGGY_SAFARI_ITERATORS$1 = false; | ||
@@ -1247,3 +1247,3 @@ | ||
var NEW_ITERATOR_PROTOTYPE = !isObject$1(IteratorPrototype$2) || fails(function () { | ||
var NEW_ITERATOR_PROTOTYPE = !isObject$2(IteratorPrototype$2) || fails(function () { | ||
var test = {}; | ||
@@ -1258,3 +1258,3 @@ // FF44- legacy iterators case | ||
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator | ||
if (!isCallable$1(IteratorPrototype$2[ITERATOR$2])) { | ||
if (!isCallable$2(IteratorPrototype$2[ITERATOR$2])) { | ||
defineBuiltIn$1(IteratorPrototype$2, ITERATOR$2, function () { | ||
@@ -1272,10 +1272,10 @@ return this; | ||
var hasOwn = hasOwnProperty_1; | ||
var wellKnownSymbol$2 = wellKnownSymbol$6; | ||
var wellKnownSymbol$6 = wellKnownSymbol$a; | ||
var TO_STRING_TAG = wellKnownSymbol$2('toStringTag'); | ||
var TO_STRING_TAG$2 = wellKnownSymbol$6('toStringTag'); | ||
var setToStringTag$3 = function (target, TAG, STATIC) { | ||
if (target && !STATIC) target = target.prototype; | ||
if (target && !hasOwn(target, TO_STRING_TAG)) { | ||
defineProperty$1(target, TO_STRING_TAG, { configurable: true, value: TAG }); | ||
if (target && !hasOwn(target, TO_STRING_TAG$2)) { | ||
defineProperty$1(target, TO_STRING_TAG$2, { configurable: true, value: TAG }); | ||
} | ||
@@ -1300,3 +1300,3 @@ }; | ||
var uncurryThis = functionUncurryThis; | ||
var uncurryThis$2 = functionUncurryThis; | ||
var aCallable = aCallable$2; | ||
@@ -1307,10 +1307,10 @@ | ||
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe | ||
return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method])); | ||
return uncurryThis$2(aCallable(Object.getOwnPropertyDescriptor(object, key)[method])); | ||
} catch (error) { /* empty */ } | ||
}; | ||
var isObject = isObject$7; | ||
var isObject$1 = isObject$8; | ||
var isPossiblePrototype$1 = function (argument) { | ||
return isObject(argument) || argument === null; | ||
return isObject$1(argument) || argument === null; | ||
}; | ||
@@ -1320,8 +1320,8 @@ | ||
var $String = String; | ||
var $TypeError = TypeError; | ||
var $String$1 = String; | ||
var $TypeError$1 = TypeError; | ||
var aPossiblePrototype$1 = function (argument) { | ||
if (isPossiblePrototype(argument)) return argument; | ||
throw new $TypeError("Can't set " + $String(argument) + ' as a prototype'); | ||
throw new $TypeError$1("Can't set " + $String$1(argument) + ' as a prototype'); | ||
}; | ||
@@ -1356,6 +1356,6 @@ | ||
var $ = _export; | ||
var $$1 = _export; | ||
var call = functionCall; | ||
var FunctionName = functionName; | ||
var isCallable = isCallable$d; | ||
var isCallable$1 = isCallable$e; | ||
var createIteratorConstructor = iteratorCreateConstructor; | ||
@@ -1367,3 +1367,3 @@ var getPrototypeOf = objectGetPrototypeOf; | ||
var defineBuiltIn = defineBuiltIn$3; | ||
var wellKnownSymbol$1 = wellKnownSymbol$6; | ||
var wellKnownSymbol$5 = wellKnownSymbol$a; | ||
var Iterators$1 = iterators; | ||
@@ -1376,3 +1376,3 @@ var IteratorsCore = iteratorsCore; | ||
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS; | ||
var ITERATOR$1 = wellKnownSymbol$1('iterator'); | ||
var ITERATOR$1 = wellKnownSymbol$5('iterator'); | ||
var KEYS = 'keys'; | ||
@@ -1417,3 +1417,3 @@ var VALUES = 'values'; | ||
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype); | ||
} else if (!isCallable(CurrentIteratorPrototype[ITERATOR$1])) { | ||
} else if (!isCallable$1(CurrentIteratorPrototype[ITERATOR$1])) { | ||
defineBuiltIn(CurrentIteratorPrototype, ITERATOR$1, returnThis); | ||
@@ -1448,3 +1448,3 @@ } | ||
} | ||
} else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); | ||
} else $$1({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); | ||
} | ||
@@ -1528,2 +1528,130 @@ | ||
var classofRaw$1 = classofRaw$2; | ||
var uncurryThis$1 = functionUncurryThis; | ||
var functionUncurryThisClause = function (fn) { | ||
// Nashorn bug: | ||
// https://github.com/zloirock/core-js/issues/1128 | ||
// https://github.com/zloirock/core-js/issues/1130 | ||
if (classofRaw$1(fn) === 'Function') return uncurryThis$1(fn); | ||
}; | ||
var wellKnownSymbol$4 = wellKnownSymbol$a; | ||
var TO_STRING_TAG$1 = wellKnownSymbol$4('toStringTag'); | ||
var test = {}; | ||
test[TO_STRING_TAG$1] = 'z'; | ||
var toStringTagSupport = String(test) === '[object z]'; | ||
var TO_STRING_TAG_SUPPORT = toStringTagSupport; | ||
var isCallable = isCallable$e; | ||
var classofRaw = classofRaw$2; | ||
var wellKnownSymbol$3 = wellKnownSymbol$a; | ||
var TO_STRING_TAG = wellKnownSymbol$3('toStringTag'); | ||
var $Object = Object; | ||
// ES3 wrong here | ||
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments'; | ||
// fallback for IE11 Script Access Denied error | ||
var tryGet = function (it, key) { | ||
try { | ||
return it[key]; | ||
} catch (error) { /* empty */ } | ||
}; | ||
// getting tag from ES6+ `Object.prototype.toString` | ||
var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { | ||
var O, tag, result; | ||
return it === undefined ? 'Undefined' : it === null ? 'Null' | ||
// @@toStringTag case | ||
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag | ||
// builtinTag case | ||
: CORRECT_ARGUMENTS ? classofRaw(O) | ||
// ES3 arguments fallback | ||
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result; | ||
}; | ||
var classof$1 = classof$2; | ||
var $String = String; | ||
var toString$1 = function (argument) { | ||
if (classof$1(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string'); | ||
return $String(argument); | ||
}; | ||
var isObject = isObject$8; | ||
var classof = classofRaw$2; | ||
var wellKnownSymbol$2 = wellKnownSymbol$a; | ||
var MATCH$1 = wellKnownSymbol$2('match'); | ||
// `IsRegExp` abstract operation | ||
// https://tc39.es/ecma262/#sec-isregexp | ||
var isRegexp = function (it) { | ||
var isRegExp; | ||
return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof(it) === 'RegExp'); | ||
}; | ||
var isRegExp = isRegexp; | ||
var $TypeError = TypeError; | ||
var notARegexp = function (it) { | ||
if (isRegExp(it)) { | ||
throw new $TypeError("The method doesn't accept regular expressions"); | ||
} return it; | ||
}; | ||
var wellKnownSymbol$1 = wellKnownSymbol$a; | ||
var MATCH = wellKnownSymbol$1('match'); | ||
var correctIsRegexpLogic = function (METHOD_NAME) { | ||
var regexp = /./; | ||
try { | ||
'/./'[METHOD_NAME](regexp); | ||
} catch (error1) { | ||
try { | ||
regexp[MATCH] = false; | ||
return '/./'[METHOD_NAME](regexp); | ||
} catch (error2) { /* empty */ } | ||
} return false; | ||
}; | ||
var $ = _export; | ||
var uncurryThis = functionUncurryThisClause; | ||
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f; | ||
var toLength = toLength$2; | ||
var toString = toString$1; | ||
var notARegExp = notARegexp; | ||
var requireObjectCoercible = requireObjectCoercible$3; | ||
var correctIsRegExpLogic = correctIsRegexpLogic; | ||
var stringSlice = uncurryThis(''.slice); | ||
var min = Math.min; | ||
var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith'); | ||
// https://github.com/zloirock/core-js/pull/702 | ||
var MDN_POLYFILL_BUG = !CORRECT_IS_REGEXP_LOGIC && !!function () { | ||
var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith'); | ||
return descriptor && !descriptor.writable; | ||
}(); | ||
// `String.prototype.startsWith` method | ||
// https://tc39.es/ecma262/#sec-string.prototype.startswith | ||
$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, { | ||
startsWith: function startsWith(searchString /* , position = 0 */) { | ||
var that = toString(requireObjectCoercible(this)); | ||
notARegExp(searchString); | ||
var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length)); | ||
var search = toString(searchString); | ||
return stringSlice(that, index, index + search.length) === search; | ||
} | ||
}); | ||
// iterable DOM collections | ||
@@ -1579,3 +1707,3 @@ // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods | ||
var setToStringTag = setToStringTag$3; | ||
var wellKnownSymbol = wellKnownSymbol$6; | ||
var wellKnownSymbol = wellKnownSymbol$a; | ||
@@ -1644,3 +1772,3 @@ var ITERATOR = wellKnownSymbol('iterator'); | ||
_t$1; | ||
const styles = css(_t$1 || (_t$1 = _$1`:host{font-family:"Material Icons Round","Material Icons" !important;font-weight:normal !important;font-style:normal !important;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}:host([primary]){color:var(--fox-icon-primary-color, var(--fox-primary-base-color))}:host([graphic]){background:var(--fox-icon-graphic-background-color);padding:4px;border-radius:4px}:host([graphic][primary]){--fox-icon-graphic-background-color: var(--fox-primary-base-color);color:var(--fox-icon-primary-color, white)}:host([graphic][neutral]){--fox-icon-graphic-background-color: var(--fox-neutral-base-color);color:var(--fox-icon-primary-color, white)}:host([small]){font-size:18px;transform:rotate(0.03deg)}:host([large]){font-size:36px}:host([x-large]){font-size:48px}`)); | ||
const styles = css(_t$1 || (_t$1 = _$1`:host{font-family:"Material Icons Round","Material Icons" !important;font-weight:normal !important;font-style:normal !important;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.fox-icon-font{font-family:"Fox Icon Font" !important}:host([primary]){color:var(--fox-icon-primary-color, var(--fox-primary-base-color))}:host([graphic]){background:var(--fox-icon-graphic-background-color);padding:4px;border-radius:4px}:host([graphic][primary]){--fox-icon-graphic-background-color: var(--fox-primary-base-color);color:var(--fox-icon-primary-color, white)}:host([graphic][neutral]){--fox-icon-graphic-background-color: var(--fox-neutral-base-color);color:var(--fox-icon-primary-color, white)}:host([small]){font-size:18px;transform:rotate(0.03deg)}:host([large]){font-size:36px}:host([x-large]){font-size:48px}`)); | ||
@@ -1675,3 +1803,6 @@ let _ = t => t, | ||
render() { | ||
return html$2(_t || (_t = _`<slot>${0}</slot>`), this.icon); | ||
const isFoxIcon = this.icon.startsWith('fox_'); | ||
return html$2(_t || (_t = _`<slot class="${0}" | ||
>${0}</slot | ||
>`), isFoxIcon ? 'fox-icon-font' : undefined, this.icon); | ||
} | ||
@@ -1678,0 +1809,0 @@ } |
{ | ||
"name": "@assecosolutions/fox-icon", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"public": true, | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65624
1531