@assecosolutions/fox-activity-list
Advanced tools
Comparing version 1.11.1-beta.1 to 1.11.1
276
index.js
@@ -10,2 +10,3 @@ import { FoxList, foxListItemStyles, FoxListItem } from '@assecosolutions/fox-list'; | ||
const name$1 = 'fox-activity-list'; | ||
if (!customElements.get(name$1)) { | ||
@@ -30,3 +31,3 @@ customElements.define(name$1, FoxActivityList); | ||
var functionBindNative = !fails$9(function () { | ||
// eslint-disable-next-line es/no-function-prototype-bind -- safe | ||
// eslint-disable-next-line es-x/no-function-prototype-bind -- safe | ||
var test = (function () { /* empty */ }).bind(); | ||
@@ -40,7 +41,10 @@ // eslint-disable-next-line no-prototype-builtins -- safe | ||
var FunctionPrototype$1 = Function.prototype; | ||
var bind = FunctionPrototype$1.bind; | ||
var call$5 = FunctionPrototype$1.call; | ||
var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$1.bind.bind(call$5, call$5); | ||
var uncurryThis$a = NATIVE_BIND$1 && bind.bind(call$5, call$5); | ||
var functionUncurryThis = NATIVE_BIND$1 ? uncurryThisWithBind : function (fn) { | ||
return function () { | ||
var functionUncurryThis = NATIVE_BIND$1 ? function (fn) { | ||
return fn && uncurryThis$a(fn); | ||
} : function (fn) { | ||
return fn && function () { | ||
return call$5.apply(fn, arguments); | ||
@@ -53,6 +57,6 @@ }; | ||
var toString$1 = uncurryThis$9({}.toString); | ||
var stringSlice$1 = uncurryThis$9(''.slice); | ||
var stringSlice = uncurryThis$9(''.slice); | ||
var classofRaw = function (it) { | ||
return stringSlice$1(toString$1(it), 8, -1); | ||
return stringSlice(toString$1(it), 8, -1); | ||
}; | ||
@@ -107,3 +111,3 @@ | ||
var global$b = | ||
// eslint-disable-next-line es/no-global-this -- safe | ||
// eslint-disable-next-line es-x/no-global-this -- safe | ||
check(typeof globalThis == 'object' && globalThis) || | ||
@@ -121,3 +125,3 @@ check(typeof window == 'object' && window) || | ||
// eslint-disable-next-line es/no-object-defineproperty -- safe | ||
// eslint-disable-next-line es-x/no-object-defineproperty -- safe | ||
var defineProperty$4 = Object.defineProperty; | ||
@@ -146,6 +150,6 @@ | ||
})('versions', []).push({ | ||
version: '3.28.0', | ||
version: '3.25.0', | ||
mode: 'global', | ||
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)', | ||
license: 'https://github.com/zloirock/core-js/blob/v3.28.0/LICENSE', | ||
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)', | ||
license: 'https://github.com/zloirock/core-js/blob/v3.25.0/LICENSE', | ||
source: 'https://github.com/zloirock/core-js' | ||
@@ -171,3 +175,3 @@ }); | ||
// https://tc39.es/ecma262/#sec-hasownproperty | ||
// eslint-disable-next-line es/no-object-hasown -- safe | ||
// eslint-disable-next-line es-x/no-object-hasown -- safe | ||
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) { | ||
@@ -187,9 +191,28 @@ return hasOwnProperty(toObject$1(it), key); | ||
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; | ||
// `IsCallable` abstract operation | ||
// https://tc39.es/ecma262/#sec-iscallable | ||
var isCallable$e = function (argument) { | ||
return typeof argument == 'function'; | ||
}; | ||
var global$8 = global$b; | ||
var isCallable$d = isCallable$e; | ||
var aFunction = function (argument) { | ||
return isCallable$d(argument) ? argument : undefined; | ||
}; | ||
var getBuiltIn$4 = function (namespace, method) { | ||
return arguments.length < 2 ? aFunction(global$8[namespace]) : global$8[namespace] && global$8[namespace][method]; | ||
}; | ||
var getBuiltIn$3 = getBuiltIn$4; | ||
var engineUserAgent = getBuiltIn$3('navigator', 'userAgent') || ''; | ||
var global$7 = global$b; | ||
var userAgent = engineUserAgent; | ||
var process = global$8.process; | ||
var Deno = global$8.Deno; | ||
var process = global$7.process; | ||
var Deno = global$7.Deno; | ||
var versions = process && process.versions || Deno && Deno.version; | ||
@@ -218,3 +241,3 @@ var v8 = versions && versions.v8; | ||
/* eslint-disable es/no-symbol -- required for testing */ | ||
/* eslint-disable es-x/no-symbol -- required for testing */ | ||
@@ -224,3 +247,3 @@ var V8_VERSION = engineV8Version; | ||
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing | ||
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing | ||
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$7(function () { | ||
@@ -235,3 +258,3 @@ var symbol = Symbol(); | ||
/* eslint-disable es/no-symbol -- required for testing */ | ||
/* eslint-disable es-x/no-symbol -- required for testing */ | ||
@@ -244,3 +267,3 @@ var NATIVE_SYMBOL$1 = symbolConstructorDetection; | ||
var global$7 = global$b; | ||
var global$6 = global$b; | ||
var shared$2 = shared$3.exports; | ||
@@ -252,46 +275,31 @@ var hasOwn$8 = hasOwnProperty_1; | ||
var Symbol$1 = global$7.Symbol; | ||
var WellKnownSymbolsStore = shared$2('wks'); | ||
var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1; | ||
var Symbol$1 = global$6.Symbol; | ||
var symbolFor = Symbol$1 && Symbol$1['for']; | ||
var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1; | ||
var wellKnownSymbol$6 = function (name) { | ||
if (!hasOwn$8(WellKnownSymbolsStore, name)) { | ||
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$8(Symbol$1, name) | ||
? Symbol$1[name] | ||
: createWellKnownSymbol('Symbol.' + name); | ||
if (!hasOwn$8(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) { | ||
var description = 'Symbol.' + name; | ||
if (NATIVE_SYMBOL && hasOwn$8(Symbol$1, name)) { | ||
WellKnownSymbolsStore[name] = Symbol$1[name]; | ||
} else if (USE_SYMBOL_AS_UID$1 && symbolFor) { | ||
WellKnownSymbolsStore[name] = symbolFor(description); | ||
} else { | ||
WellKnownSymbolsStore[name] = createWellKnownSymbol(description); | ||
} | ||
} return WellKnownSymbolsStore[name]; | ||
}; | ||
var documentAll$2 = typeof document == 'object' && document.all; | ||
var isCallable$c = isCallable$e; | ||
var documentAll = typeof document == 'object' && document.all; | ||
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot | ||
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing | ||
var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined; | ||
var SPECIAL_DOCUMENT_ALL = typeof documentAll == 'undefined' && documentAll !== undefined; | ||
var documentAll_1 = { | ||
all: documentAll$2, | ||
IS_HTMLDDA: IS_HTMLDDA | ||
}; | ||
var $documentAll$1 = documentAll_1; | ||
var documentAll$1 = $documentAll$1.all; | ||
// `IsCallable` abstract operation | ||
// https://tc39.es/ecma262/#sec-iscallable | ||
var isCallable$e = $documentAll$1.IS_HTMLDDA ? function (argument) { | ||
return typeof argument == 'function' || argument === documentAll$1; | ||
} : function (argument) { | ||
return typeof argument == 'function'; | ||
}; | ||
var isCallable$d = isCallable$e; | ||
var $documentAll = documentAll_1; | ||
var documentAll = $documentAll.all; | ||
var isObject$6 = $documentAll.IS_HTMLDDA ? function (it) { | ||
return typeof it == 'object' ? it !== null : isCallable$d(it) || it === documentAll; | ||
var isObject$6 = SPECIAL_DOCUMENT_ALL ? function (it) { | ||
return typeof it == 'object' ? it !== null : isCallable$c(it) || it === documentAll; | ||
} : function (it) { | ||
return typeof it == 'object' ? it !== null : isCallable$d(it); | ||
return typeof it == 'object' ? it !== null : isCallable$c(it); | ||
}; | ||
@@ -301,3 +309,3 @@ | ||
var $String$3 = String; | ||
var $String$2 = String; | ||
var $TypeError$5 = TypeError; | ||
@@ -308,3 +316,3 @@ | ||
if (isObject$5(argument)) return argument; | ||
throw $TypeError$5($String$3(argument) + ' is not an object'); | ||
throw $TypeError$5($String$2(argument) + ' is not an object'); | ||
}; | ||
@@ -318,3 +326,3 @@ | ||
var descriptors = !fails$6(function () { | ||
// eslint-disable-next-line es/no-object-defineproperty -- required for testing | ||
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing | ||
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; | ||
@@ -329,3 +337,3 @@ }); | ||
var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$5(function () { | ||
// eslint-disable-next-line es/no-object-defineproperty -- required for testing | ||
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing | ||
return Object.defineProperty(function () { /* empty */ }, 'prototype', { | ||
@@ -339,6 +347,6 @@ value: 42, | ||
var global$6 = global$b; | ||
var global$5 = global$b; | ||
var isObject$4 = isObject$6; | ||
var document$1 = global$6.document; | ||
var document$1 = global$5.document; | ||
// typeof document.createElement is 'object' in old IE | ||
@@ -357,3 +365,3 @@ var EXISTS$1 = isObject$4(document$1) && isObject$4(document$1.createElement); | ||
var ie8DomDefine = !DESCRIPTORS$7 && !fails$4(function () { | ||
// eslint-disable-next-line es/no-object-defineproperty -- required for testing | ||
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing | ||
return Object.defineProperty(createElement('div'), 'a', { | ||
@@ -372,13 +380,2 @@ get: function () { return 7; } | ||
var global$5 = global$b; | ||
var isCallable$c = isCallable$e; | ||
var aFunction = function (argument) { | ||
return isCallable$c(argument) ? argument : undefined; | ||
}; | ||
var getBuiltIn$3 = function (namespace, method) { | ||
return arguments.length < 2 ? aFunction(global$5[namespace]) : global$5[namespace] && global$5[namespace][method]; | ||
}; | ||
var uncurryThis$5 = functionUncurryThis; | ||
@@ -388,3 +385,3 @@ | ||
var getBuiltIn$2 = getBuiltIn$3; | ||
var getBuiltIn$2 = getBuiltIn$4; | ||
var isCallable$b = isCallable$e; | ||
@@ -403,7 +400,7 @@ var isPrototypeOf = objectIsPrototypeOf; | ||
var $String$2 = String; | ||
var $String$1 = String; | ||
var tryToString$1 = function (argument) { | ||
try { | ||
return $String$2(argument); | ||
return $String$1(argument); | ||
} catch (error) { | ||
@@ -420,3 +417,3 @@ return 'Object'; | ||
// `Assert: IsCallable(argument) is true` | ||
var aCallable$2 = function (argument) { | ||
var aCallable$1 = function (argument) { | ||
if (isCallable$a(argument)) return argument; | ||
@@ -426,3 +423,3 @@ throw $TypeError$4(tryToString(argument) + ' is not a function'); | ||
var aCallable$1 = aCallable$2; | ||
var aCallable = aCallable$1; | ||
var isNullOrUndefined = isNullOrUndefined$2; | ||
@@ -434,3 +431,3 @@ | ||
var func = V[P]; | ||
return isNullOrUndefined(func) ? undefined : aCallable$1(func); | ||
return isNullOrUndefined(func) ? undefined : aCallable(func); | ||
}; | ||
@@ -497,5 +494,5 @@ | ||
var $TypeError$1 = TypeError; | ||
// eslint-disable-next-line es/no-object-defineproperty -- safe | ||
// eslint-disable-next-line es-x/no-object-defineproperty -- safe | ||
var $defineProperty = Object.defineProperty; | ||
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe | ||
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe | ||
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor; | ||
@@ -540,3 +537,3 @@ var ENUMERABLE = 'enumerable'; | ||
// https://tc39.es/ecma262/#sec-math.trunc | ||
// eslint-disable-next-line es/no-math-trunc -- safe | ||
// eslint-disable-next-line es-x/no-math-trunc -- safe | ||
var mathTrunc = Math.trunc || function trunc(x) { | ||
@@ -660,3 +657,3 @@ var n = +x; | ||
// https://tc39.es/ecma262/#sec-object.keys | ||
// eslint-disable-next-line es/no-object-keys -- safe | ||
// eslint-disable-next-line es-x/no-object-keys -- safe | ||
var objectKeys$1 = Object.keys || function keys(O) { | ||
@@ -675,3 +672,3 @@ return internalObjectKeys$1(O, enumBugKeys$2); | ||
// https://tc39.es/ecma262/#sec-object.defineproperties | ||
// eslint-disable-next-line es/no-object-defineproperties -- safe | ||
// eslint-disable-next-line es-x/no-object-defineproperties -- safe | ||
objectDefineProperties.f = DESCRIPTORS$5 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { | ||
@@ -688,3 +685,3 @@ anObject$3(O); | ||
var getBuiltIn$1 = getBuiltIn$3; | ||
var getBuiltIn$1 = getBuiltIn$4; | ||
@@ -774,3 +771,3 @@ var html$1 = getBuiltIn$1('document', 'documentElement'); | ||
// https://tc39.es/ecma262/#sec-object.create | ||
// eslint-disable-next-line es/no-object-create -- safe | ||
// eslint-disable-next-line es-x/no-object-create -- safe | ||
var objectCreate = Object.create || function create(O, Properties) { | ||
@@ -840,2 +837,3 @@ var result; | ||
var global$3 = global$b; | ||
var uncurryThis$3 = functionUncurryThis; | ||
var isObject$1 = isObject$6; | ||
@@ -868,18 +866,16 @@ var createNonEnumerableProperty$3 = createNonEnumerableProperty$4; | ||
var store$1 = shared.state || (shared.state = new WeakMap()); | ||
/* eslint-disable no-self-assign -- prototype methods protection */ | ||
store$1.get = store$1.get; | ||
store$1.has = store$1.has; | ||
store$1.set = store$1.set; | ||
/* eslint-enable no-self-assign -- prototype methods protection */ | ||
var wmget = uncurryThis$3(store$1.get); | ||
var wmhas = uncurryThis$3(store$1.has); | ||
var wmset = uncurryThis$3(store$1.set); | ||
set = function (it, metadata) { | ||
if (store$1.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED); | ||
if (wmhas(store$1, it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED); | ||
metadata.facade = it; | ||
store$1.set(it, metadata); | ||
wmset(store$1, it, metadata); | ||
return metadata; | ||
}; | ||
get = function (it) { | ||
return store$1.get(it) || {}; | ||
return wmget(store$1, it) || {}; | ||
}; | ||
has = function (it) { | ||
return store$1.has(it); | ||
return wmhas(store$1, it); | ||
}; | ||
@@ -916,3 +912,3 @@ } else { | ||
var $propertyIsEnumerable = {}.propertyIsEnumerable; | ||
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe | ||
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe | ||
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor; | ||
@@ -939,3 +935,3 @@ | ||
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe | ||
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe | ||
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | ||
@@ -960,3 +956,3 @@ | ||
var FunctionPrototype = Function.prototype; | ||
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe | ||
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe | ||
var getDescriptor = DESCRIPTORS$2 && Object.getOwnPropertyDescriptor; | ||
@@ -975,7 +971,7 @@ | ||
var uncurryThis$3 = functionUncurryThis; | ||
var uncurryThis$2 = functionUncurryThis; | ||
var isCallable$7 = isCallable$e; | ||
var store = sharedStore; | ||
var functionToString = uncurryThis$3(Function.toString); | ||
var functionToString = uncurryThis$2(Function.toString); | ||
@@ -991,3 +987,2 @@ // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper | ||
var uncurryThis$2 = functionUncurryThis; | ||
var fails$3 = fails$a; | ||
@@ -1003,8 +998,4 @@ var isCallable$6 = isCallable$e; | ||
var getInternalState$1 = InternalStateModule$1.get; | ||
var $String$1 = String; | ||
// eslint-disable-next-line es/no-object-defineproperty -- safe | ||
// eslint-disable-next-line es-x/no-object-defineproperty -- safe | ||
var defineProperty$2 = Object.defineProperty; | ||
var stringSlice = uncurryThis$2(''.slice); | ||
var replace = uncurryThis$2(''.replace); | ||
var join = uncurryThis$2([].join); | ||
@@ -1018,4 +1009,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 (String(name).slice(0, 7) === 'Symbol(') { | ||
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']'; | ||
} | ||
@@ -1039,3 +1030,3 @@ if (options && options.getter) name = 'get ' + name; | ||
if (!hasOwn$3(state, 'source')) { | ||
state.source = join(TEMPLATE, typeof name == 'string' ? name : ''); | ||
state.source = TEMPLATE.join(typeof name == 'string' ? name : ''); | ||
} return value; | ||
@@ -1087,3 +1078,3 @@ }; | ||
// https://tc39.es/ecma262/#sec-object.getownpropertynames | ||
// eslint-disable-next-line es/no-object-getownpropertynames -- safe | ||
// eslint-disable-next-line es-x/no-object-getownpropertynames -- safe | ||
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { | ||
@@ -1095,6 +1086,6 @@ return internalObjectKeys(O, hiddenKeys); | ||
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe | ||
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe | ||
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols; | ||
var getBuiltIn = getBuiltIn$3; | ||
var getBuiltIn = getBuiltIn$4; | ||
var uncurryThis$1 = functionUncurryThis; | ||
@@ -1214,3 +1205,3 @@ var getOwnPropertyNamesModule = objectGetOwnPropertyNames; | ||
F.prototype.constructor = null; | ||
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing | ||
// eslint-disable-next-line es-x/no-object-getprototypeof -- required for testing | ||
return Object.getPrototypeOf(new F()) !== F.prototype; | ||
@@ -1231,3 +1222,3 @@ }); | ||
// https://tc39.es/ecma262/#sec-object.getprototypeof | ||
// eslint-disable-next-line es/no-object-getprototypeof -- safe | ||
// eslint-disable-next-line es-x/no-object-getprototypeof -- safe | ||
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) { | ||
@@ -1256,3 +1247,3 @@ var object = toObject(O); | ||
/* eslint-disable es/no-array-prototype-keys -- safe */ | ||
/* eslint-disable es-x/no-array-prototype-keys -- safe */ | ||
if ([].keys) { | ||
@@ -1318,12 +1309,2 @@ arrayIterator = [].keys(); | ||
var uncurryThis = functionUncurryThis; | ||
var aCallable = aCallable$2; | ||
var functionUncurryThisAccessor = function (object, key, method) { | ||
try { | ||
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe | ||
return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method])); | ||
} catch (error) { /* empty */ } | ||
}; | ||
var isCallable$1 = isCallable$e; | ||
@@ -1341,3 +1322,3 @@ | ||
var uncurryThisAccessor = functionUncurryThisAccessor; | ||
var uncurryThis = functionUncurryThis; | ||
var anObject = anObject$5; | ||
@@ -1349,3 +1330,3 @@ var aPossiblePrototype = aPossiblePrototype$1; | ||
// Works with __proto__ only. Old v8 can't work with null proto objects. | ||
// eslint-disable-next-line es/no-object-setprototypeof -- safe | ||
// eslint-disable-next-line es-x/no-object-setprototypeof -- safe | ||
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () { | ||
@@ -1356,3 +1337,4 @@ var CORRECT_SETTER = false; | ||
try { | ||
setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set'); | ||
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe | ||
setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set); | ||
setter(test, []); | ||
@@ -1467,8 +1449,2 @@ CORRECT_SETTER = test instanceof Array; | ||
// `CreateIterResultObject` abstract operation | ||
// https://tc39.es/ecma262/#sec-createiterresultobject | ||
var createIterResultObject$1 = function (value, done) { | ||
return { value: value, done: done }; | ||
}; | ||
var toIndexedObject = toIndexedObject$5; | ||
@@ -1480,3 +1456,2 @@ var addToUnscopables = addToUnscopables$1; | ||
var defineIterator = iteratorDefine; | ||
var createIterResultObject = createIterResultObject$1; | ||
var DESCRIPTORS = descriptors; | ||
@@ -1514,7 +1489,7 @@ | ||
state.target = undefined; | ||
return createIterResultObject(undefined, true); | ||
return { value: undefined, done: true }; | ||
} | ||
if (kind == 'keys') return createIterResultObject(index, false); | ||
if (kind == 'values') return createIterResultObject(target[index], false); | ||
return createIterResultObject([index, target[index]], false); | ||
if (kind == 'keys') return { value: index, done: false }; | ||
if (kind == 'values') return { value: target[index], done: false }; | ||
return { value: [index, target[index]], done: false }; | ||
}, 'values'); | ||
@@ -1647,3 +1622,3 @@ | ||
let _$1 = t => t, | ||
_t$1; | ||
_t$1; | ||
const styles = css(_t$1 || (_t$1 = _$1` | ||
@@ -1695,6 +1670,6 @@ .mdc-deprecated-list-item__text { | ||
let _ = t => t, | ||
_t, | ||
_t2, | ||
_t3, | ||
_t4; | ||
_t, | ||
_t2, | ||
_t3, | ||
_t4; | ||
class FoxActivityListItem extends FoxListItem { | ||
@@ -1709,2 +1684,3 @@ constructor() { | ||
} | ||
renderTwoline() { | ||
@@ -1714,5 +1690,7 @@ const classes = { | ||
}; | ||
if (this.hideMoreButton) { | ||
this.showMore = true; | ||
} | ||
return html$2(_t || (_t = _` | ||
@@ -1739,2 +1717,3 @@ <span class="mdc-deprecated-list-item__primary-text"> | ||
} | ||
renderMeta() { | ||
@@ -1763,2 +1742,3 @@ return html$2(_t3 || (_t3 = _` | ||
} | ||
openMenu() { | ||
@@ -1768,5 +1748,7 @@ this.foxMenu.show(); | ||
} | ||
toggleMore() { | ||
this.showMore = !this.showMore; | ||
} | ||
} | ||
@@ -1776,21 +1758,31 @@ /** | ||
*/ | ||
FoxActivityListItem.styles = [foxListItemStyles, styles]; | ||
__decorate([property({ | ||
type: Boolean | ||
}), __metadata("design:type", Object)], FoxActivityListItem.prototype, "hideMenu", void 0); | ||
__decorate([property({ | ||
type: Boolean | ||
}), __metadata("design:type", Object)], FoxActivityListItem.prototype, "hideMoreButton", void 0); | ||
__decorate([property({ | ||
type: String | ||
}), __metadata("design:type", Object)], FoxActivityListItem.prototype, "showMoreText", void 0); | ||
__decorate([property({ | ||
type: String | ||
}), __metadata("design:type", Object)], FoxActivityListItem.prototype, "showLessText", void 0); | ||
__decorate([property({ | ||
type: Boolean | ||
}), __metadata("design:type", Object)], FoxActivityListItem.prototype, "showMore", void 0); | ||
__decorate([query('fox-menu'), __metadata("design:type", FoxMenu)], FoxActivityListItem.prototype, "foxMenu", void 0); | ||
__decorate([query('#fox-menu-button'), __metadata("design:type", FoxIconButton)], FoxActivityListItem.prototype, "foxMenuButton", void 0); | ||
const name = 'fox-activity-list-item'; | ||
if (!customElements.get(name)) { | ||
@@ -1797,0 +1789,0 @@ customElements.define(name, FoxActivityListItem); |
{ | ||
"name": "@assecosolutions/fox-activity-list", | ||
"version": "1.11.1-beta.1", | ||
"version": "1.11.1", | ||
"public": true, | ||
@@ -18,7 +18,7 @@ "publishConfig": { | ||
"type": "module", | ||
"types": "./src/index.d.ts", | ||
"types": "./index.d.ts", | ||
"dependencies": { | ||
"@assecosolutions/fox-icon-button": "~1.11.1-beta.1", | ||
"@assecosolutions/fox-list": "~1.11.2-beta.1", | ||
"@assecosolutions/fox-menu": "~1.11.2-beta.1" | ||
"@assecosolutions/fox-menu": "~1.11.1", | ||
"@assecosolutions/fox-list": "~1.11.1", | ||
"@assecosolutions/fox-icon-button": "~1.11.1" | ||
}, | ||
@@ -25,0 +25,0 @@ "peerDependencies": { |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
63383
1507