@devgateway/dvz-ui-react 1.5.0 → 1.5.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.
- package/dist/cjs/common.css +1 -1
- package/dist/cjs/embeddable/new-time-line/index.js +1 -1
- package/dist/cjs/embeddable/new-time-line/timeline.js +1 -1
- package/dist/cjs/embeddable/posts-filters-reset-button/index.js +1 -1
- package/dist/cjs/embeddable/postscarousel/index.js +1 -1
- package/dist/cjs/embeddable/time-line/desktop.js +1 -1
- package/dist/cjs/embeddable/time-line/mobile.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/esm/common.css +1 -1
- package/dist/esm/embeddable/new-time-line/index.js +8 -9
- package/dist/esm/embeddable/new-time-line/timeline.js +2 -3
- package/dist/esm/embeddable/posts-filters-reset-button/index.js +1 -1
- package/dist/esm/embeddable/postscarousel/index.js +11 -12
- package/dist/esm/embeddable/time-line/desktop.js +2 -3
- package/dist/esm/embeddable/time-line/mobile.js +118 -120
- package/dist/esm/index.js +69 -25
- package/dist/types/dvz-ui/src/embeddable/time-line/mobile.d.ts +1 -2
- package/dist/types/dvz-ui/src/index.d.ts +3 -0
- package/package.json +6 -4
- package/dist/cjs/_virtual/_commonjsHelpers.js +0 -1
- package/dist/cjs/_virtual/_nodeUtil.js +0 -1
- package/dist/cjs/_virtual/isBuffer.js +0 -1
- package/dist/cjs/_virtual/isEqual.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_DataView.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Hash.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_ListCache.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Map.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_MapCache.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Promise.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Set.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_SetCache.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Stack.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Uint8Array.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_WeakMap.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayFilter.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayLikeKeys.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayPush.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arraySome.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assocIndexOf.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetAllKeys.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsArguments.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsEqual.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsEqualDeep.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsTypedArray.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseKeys.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTimes.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUnary.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cacheHas.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_coreJsData.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalArrays.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalByTag.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalObjects.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getAllKeys.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMapData.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getNative.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getSymbols.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getTag.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getValue.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashClear.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashDelete.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashGet.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashHas.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashSet.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIndex.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKeyable.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isMasked.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isPrototype.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheClear.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheDelete.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheGet.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheHas.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheSet.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheClear.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheDelete.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheGet.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheHas.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheSet.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapToArray.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeCreate.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeKeys.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nodeUtil.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overArg.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheAdd.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheHas.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setToArray.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackClear.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackDelete.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackGet.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackHas.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackSet.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toSource.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/eq.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArguments.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isBuffer.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEqual.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isFunction.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isLength.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isTypedArray.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/keys.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubArray.js +0 -1
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubFalse.js +0 -1
- package/dist/cjs/node_modules/.pnpm/pure-react-carousel@1.32.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/pure-react-carousel/dist/react-carousel.es.css +0 -1
- package/dist/esm/_virtual/_commonjsHelpers.js +0 -8
- package/dist/esm/_virtual/_nodeUtil.js +0 -4
- package/dist/esm/_virtual/isBuffer.js +0 -4
- package/dist/esm/_virtual/isEqual.js +0 -7
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_DataView.js +0 -12
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Hash.js +0 -22
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_ListCache.js +0 -22
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Map.js +0 -12
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_MapCache.js +0 -22
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Promise.js +0 -12
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Set.js +0 -12
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_SetCache.js +0 -18
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Stack.js +0 -20
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js +0 -11
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Uint8Array.js +0 -11
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_WeakMap.js +0 -12
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayFilter.js +0 -16
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayLikeKeys.js +0 -26
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayPush.js +0 -14
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arraySome.js +0 -15
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assocIndexOf.js +0 -17
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetAllKeys.js +0 -16
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js +0 -16
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsArguments.js +0 -15
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsEqual.js +0 -15
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsEqualDeep.js +0 -38
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js +0 -22
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsTypedArray.js +0 -17
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseKeys.js +0 -20
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTimes.js +0 -14
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUnary.js +0 -14
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cacheHas.js +0 -12
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_coreJsData.js +0 -11
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalArrays.js +0 -46
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalByTag.js +0 -51
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalObjects.js +0 -42
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js +0 -11
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getAllKeys.js +0 -16
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMapData.js +0 -15
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getNative.js +0 -16
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js +0 -21
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getSymbols.js +0 -16
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getTag.js +0 -33
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getValue.js +0 -12
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashClear.js +0 -14
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashDelete.js +0 -13
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashGet.js +0 -19
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashHas.js +0 -15
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashSet.js +0 -15
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIndex.js +0 -14
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKeyable.js +0 -13
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isMasked.js +0 -17
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isPrototype.js +0 -14
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheClear.js +0 -12
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheDelete.js +0 -18
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheGet.js +0 -15
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheHas.js +0 -14
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheSet.js +0 -15
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheClear.js +0 -20
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheDelete.js +0 -15
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheGet.js +0 -14
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheHas.js +0 -14
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheSet.js +0 -15
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapToArray.js +0 -15
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeCreate.js +0 -11
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeKeys.js +0 -11
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nodeUtil.js +0 -19
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js +0 -13
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overArg.js +0 -14
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js +0 -11
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheAdd.js +0 -13
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheHas.js +0 -12
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setToArray.js +0 -15
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackClear.js +0 -14
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackDelete.js +0 -13
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackGet.js +0 -12
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackHas.js +0 -12
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackSet.js +0 -23
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toSource.js +0 -23
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/eq.js +0 -12
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArguments.js +0 -16
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.js +0 -10
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js +0 -15
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isBuffer.js +0 -14
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEqual.js +0 -14
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isFunction.js +0 -18
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isLength.js +0 -13
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js +0 -13
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js +0 -12
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isTypedArray.js +0 -13
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/keys.js +0 -16
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubArray.js +0 -12
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubFalse.js +0 -12
- package/dist/esm/node_modules/.pnpm/pure-react-carousel@1.32.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/pure-react-carousel/dist/react-carousel.es.css +0 -1
package/dist/cjs/common.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@import"https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700;900&display=swap";@import"https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap";@import"https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&display=swap"
|
|
1
|
+
@import"https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700;900&display=swap";@import"https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap";@import"https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&display=swap";.buttonBack___1mlaL,.buttonFirst___2rhFr,.buttonLast___2yuh0,.buttonNext___2mOCa,.buttonNext___3Lm3s,.dot___3c3SI{cursor:pointer}.image___xtQGH{display:block;width:100%;height:100%}.spinner___27VUp{position:absolute;top:calc(50% - 15px);left:calc(50% - 15px);width:30px;height:30px;animation-name:spin___S3UuE;animation-duration:1s;animation-timing-function:linear;animation-iteration-count:infinite;border:4px solid #a9a9a9;border-top-color:#000;border-radius:30px}@keyframes spin___S3UuE{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.container___2O72F{position:relative;overflow:hidden;height:100%;width:100%}.overlay___IV4qY{position:absolute;top:0;left:0;bottom:0;right:0;opacity:0;cursor:zoom-in;transition:opacity .3s,transform .3s}.hover___MYy31,.loading___1pvNI,.zoom___3kqYk{opacity:1}.imageLoadingSpinnerContainer___3UIPD{position:absolute;top:0;right:0;bottom:0;left:0;background-color:#f4f4f4}.slide___3-Nqo{position:relative;display:block;box-sizing:border-box;height:0;margin:0;list-style-type:none}.slide___3-Nqo:focus{outline:none!important}.slideHorizontal___1NzNV{float:left}[dir=rtl] .slideHorizontal___1NzNV{direction:rtl;transform:scaleX(-1)}.slideInner___2mfX9{position:absolute;top:0;left:0;width:100%;height:100%}.focusRing___1airF{position:absolute;top:5px;right:5px;bottom:5px;left:5px;pointer-events:none;outline-width:5px;outline-style:solid;outline-color:Highlight}@media (-webkit-min-device-pixel-ratio:0){.focusRing___1airF{outline-style:auto;outline-color:-webkit-focus-ring-color}}.horizontalSlider___281Ls{position:relative;overflow:hidden}.horizontalSlider___281Ls:not(.touchDisabled___2qs4y){touch-action:pan-y pinch-zoom}[dir=rtl] .horizontalSlider___281Ls{direction:ltr;transform:scaleX(-1)}.horizontalSliderTray___1L-0W{overflow:hidden;width:100%}.verticalSlider___34ZFD{position:relative;overflow:hidden}.verticalSliderTray___267D8{overflow:hidden}.verticalTray___12Key{float:left}.verticalSlideTrayWrap___2nO7o{overflow:hidden}.sliderTray___-vHFQ{display:block;list-style:none;padding:0;margin:0}.sliderAnimation___300FY{transition:transform .5s;transition-timing-function:cubic-bezier(.645,.045,.355,1);will-change:transform}.masterSpinnerContainer___1Z6hB{position:absolute;top:0;right:0;bottom:0;left:0;background-color:#f4f4f4}:root{--header-height: 90px;--footer-height: 227px !important}html{font-size:18px!important}body{height:100%;padding:0;margin:0;font-family:Open Sans,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#000;background-color:transparent!important;font-size:18px!important}a{outline:0;border:none;box-shadow:none;-moz-outline-style:none}a:hover,a:focus{outline:0;border:none;box-shadow:none;-moz-outline-style:none}.edit-post-visual-editor .tabacoo-wrap,#root .tabacoo-wrap{border-bottom:1px solid #e0e0e0}.edit-post-visual-editor .tabacoo-wrap .wp-block-column:nth-child(1),#root .tabacoo-wrap .wp-block-column:nth-child(1){padding-right:15px;border-right:1px solid #e0e0e0;margin-right:20px}.edit-post-visual-editor .tabacoo-wrap .wp-block-column li,#root .tabacoo-wrap .wp-block-column li{list-style-type:none;color:#333;margin-top:10px;position:relative}.edit-post-visual-editor .tabacoo-wrap .wp-block-column li:before,#root .tabacoo-wrap .wp-block-column li:before{content:"";position:absolute;left:-27px;top:5px;width:15px;height:15px;border-radius:100px;background:#5baf95}.edit-post-visual-editor .tabacoo-wrap .wp-block-column li strong,#root .tabacoo-wrap .wp-block-column li strong{font-size:22px;margin-bottom:5px;display:block;color:#5baf95}.edit-post-visual-editor iframe,#root iframe{margin:0;padding:0}.edit-post-visual-editor code,#root code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.edit-post-visual-editor .ui,#root .ui{font-family:Open Sans,sans-serif}.edit-post-visual-editor .ui.container.narrow,#root .ui.container.narrow{max-width:1080px}.edit-post-visual-editor .ui.container.fluid.desktop,#root .ui.container.fluid.desktop{max-width:1366px!important}.edit-post-visual-editor .ui.primary.button,#root .ui.primary.button{background-color:#5089a6}.edit-post-visual-editor .ui.secondary.button,#root .ui.secondary.button{background-color:#5baf95}h1.type{font-size:1rem;padding:0;margin:0;color:#5089a6;font-family:Open Sans,sans-serif}.ui.container.editing{margin:0!important;padding:5px!important}.ui.container.editing .ui.container{width:100%!important;margin-left:0!important;margin-right:0!important}.map-tooltip-light{font-size:1em;color:#1e1e1e;border-radius:5px;background-color:#f7f7f7!important;min-width:220px}.map-tooltip-light .tooltip-content{padding:5px}.map-tooltip-light .tooltip-content hr{margin:3px -5px;border-bottom:none}.map-tooltip-light .tooltip-content b{color:unset}.map-tooltip-light .header{padding:5px;border-bottom:1px solid #DDD}.map-tooltip-light .value{color:#1e1e1e;font-weight:700;margin-left:5px}.map-tooltip-light .footer{padding:5px}.map-tooltip-light .footer .confidence{font-weight:700;color:#1e1e1e}.map-tooltip-light .footer hr{margin:3px -5px}.map-tooltip-light .footer b{color:#1e1e1e}.map-tooltip-dark{font-size:1em;color:#fff;border-radius:5px;background-color:#5c5c5c!important;min-width:220px}.map-tooltip-dark .tooltip-content{padding:5px}.map-tooltip-dark .tooltip-content hr{margin:3px -5px;border-bottom:none}.map-tooltip-dark .header{padding:5px;border-bottom:1px solid #DDD}.map-tooltip-dark .value{color:#fff;font-weight:700;margin-left:5px}.map-tooltip-dark .footer{padding:5px}.map-tooltip-dark .footer .confidence{font-weight:700;color:#fff}.map-tooltip-dark .footer hr{margin:3px -5px;border-bottom:none}.map-tooltip-dark .footer b{color:#fff}.ui.container.filter .menu{z-index:1600}.d3MapTooltip{font-family:Roboto;font-size:13px;border-radius:5%;background-color:#3c434a;padding:5px;opacity:.9;color:#fff;min-width:200px;border:1px solid #000}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),c=require("@devgateway/wp-react-lib"),z=require("../connected-templates/PostIntro.js")
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),c=require("@devgateway/wp-react-lib"),z=require("../connected-templates/PostIntro.js"),I=require("react"),u=require("semantic-ui-react"),h=require("pure-react-carousel"),O=require("./timeline.js"),U=r=>{let a=0;const{posts:i,height:o,interval:s,autoSwitch:n,currentSlide:l}=r;return e.jsx(h.CarouselProvider,{currentSlide:l,interval:s,isPlaying:n,totalSlides:i.length,children:e.jsx(h.Slider,{style:{height:`${o}px`},tag:"ul",children:i.map(d=>e.jsx(h.Slide,{index:a++,tag:"li",children:e.jsx(z.default,{post:d,fluid:!0})}))})})},W=r=>{const{"data-type":a,"data-taxonomy":i,"data-categories":o,"data-count":s,"data-height":n,"data-line-color":l="#000","data-config":d="{}","data-position":x="middle","data-line-width":S="1","data-margin-left":f=50,"data-margin-top":j=25,"data-margin-right":C=50,"data-margin-bottom":P=25,"data-font-size":q=14,"data-title-width":y=100,"data-subtitle-width":R=50,editing:g,parent:w,unique:b}=r,[m,v]=I.useState([0]),p=t=>g?t:decodeURIComponent(t),N=t=>JSON.parse(p(t)),_={marginLeft:f,marginTop:j,marginRight:C,marginBottom:P,lineWidth:S,height:150,position:x,lineColor:p(l),config:JSON.parse(decodeURIComponent(d)),fontSize:q,titleWidth:y,subtitleWidth:R};return e.jsx(u.Container,{style:{height:`${n}px`},className:"viz new-time-line ",fluid:!0,children:e.jsxs(c.PostProvider,{type:a,taxonomy:i,categories:N(o),store:"carousel_"+w+"_"+b,page:1,perPage:s,children:[e.jsx(u.Container,{className:"carousel-section",children:e.jsx(c.PostConsumer,{children:e.jsx(U,{currentSlide:m,height:n-250,interval:5,autoSwitch:!1})})}),e.jsx(u.Container,{className:"time-line-section",children:e.jsx(c.PostConsumer,{children:e.jsx(O.default,{currentSlide:m,onSelectSlide:t=>{v(t)},..._})})})]})})};exports.default=W;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const _=require("react/jsx-runtime")
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const _=require("react/jsx-runtime"),p=require("react"),Q=require("d3");function U(n){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const a in n)if(a!=="default"){const m=Object.getOwnPropertyDescriptor(n,a);Object.defineProperty(s,a,m.get?m:{enumerable:!0,get:()=>n[a]})}}return s.default=n,Object.freeze(s)}const o=U(Q),V=({posts:n,position:s,lineWidth:a,meta:m,locale:Z,lineColor:S,height:d,config:l,marginLeft:T,marginTop:$,marginRight:D,marginBottom:P,fontSize:y,titleWidth:k,subtitleWidth:O,onSelectSlide:z,currentSlide:q})=>{const h=p.useRef(),[tt,I]=p.useState(!1),[et,N]=p.useState(null),R=r=>l[r].position,j=r=>l[r].connectorLineHeight,X=r=>l[r].subtitleOffset,E=r=>l[r].titleOffset,b=r=>l[r].circleColor,H=r=>l[r].lineColor,A=r=>l[r].titleColor,G=r=>l[r].labelColor,W=r=>l[r].size,Y=r=>l[r].readMoreLabel;return p.useEffect(()=>{const r={top:$,right:D,bottom:P,left:T};let f=d/2;s=="middle"&&(f=d/2),s=="top"&&(f=r.top),s=="bottom"&&(f=d-r.bottom);const C=h.current.clientWidth,B=d,i=o.scaleLinear().domain([0,n.length-1]).range([r.left,C-r.right]),L=o.line(),F=[[i(0),0],[i(n.length-1),0]],J=L(F),g=o.select(h.current);g.attr("width",C).attr("height",B);const K=e=>{z(e)};g.node().parentNode;const v=(e,t)=>{const u=[o.event.pageX+30,o.event.pageY-30],M=600;o.event.pageX+M+30>window.innerWidth&&(u[0]=o.event.pageX-M-30),I(!0),N({data:e,index:t,position:u}),o.selectAll("#circle"+t).style("stroke",b(t)).style("fill","#fff"),o.selectAll("#label"+t).style("font-weight","bold")},x=(e,t)=>{o.selectAll("#circle"+t).style("stroke","none").style("fill",b(t)),o.selectAll("#label"+t).style("font-weight","normal")},c=g.append("g");c.attr("transform",`translate(0,${f})`),c.append("path").attr("d",J).attr("stroke-width",a).attr("stroke",S),c.selectAll(".tick").data(n).enter().append("path").attr("d",(e,t)=>L([[i(t),0],[i(t),R(t)==="top"?j(t)*-1:j(t)]])).attr("stroke-width",a).attr("stroke",(e,t)=>H(t)).on("mouseover",function(e,t){}),c.selectAll(".label").data(n).enter().append("foreignObject").attr("id",(e,t)=>"label"+t).attr("x",function(e,t){return i(t)-O/2}).attr("width",O).attr("height","50px").attr("overflow","visible").style("opacity",1).attr("y",(e,t)=>X(t)).append("xhtml:div").style("color",(e,t)=>G(t)).style("font-size",parseInt(y)-2+"px").style("line-height","100%").style("text-align","center").html((e,t)=>e.meta_fields.subtitle).on("mouseover",(e,t)=>{v(e,t)}).on("mouseout",(e,t)=>{x(e,t)}),c.selectAll(".title").data(n).enter().append("foreignObject").attr("x",function(e,t){return i(t)-k/2}).attr("width",k).attr("height","50px").attr("overflow","visible").style("opacity",1).attr("y",(e,t)=>E(t)).append("xhtml:div").style("font-size",parseInt(y)+1+"px").style("color",(e,t)=>A(t)).style("font-weight",e=>"bold").style("line-height","100%").style("text-align","center").html((e,t)=>{const w=Y(t);let u=e.title.rendered;return w&&(u+=`<br><a href="${e.link}" target="_blank" style="font-size:${parseInt(y)-3}px;color:${A(t)}">${w}</a>`),u}).on("mouseover",(e,t)=>{v(e,t)}).on("mouseout",(e,t)=>{x(e,t)}),c.selectAll(".circle").data(n).enter().append("circle").attr("class",(e,t)=>t==q?"active":"normal").attr("cx",(e,t)=>i(t)).attr("cy",0).attr("id",(e,t)=>"circle"+t).attr("r",(e,t)=>W(t)).style("stroke-width",3).style("fill",(e,t)=>b(t)).on("mouseover",function(e,t){v(e,t)}).on("mouseout",function(e,t){x(e,t)}).on("click",function(e,t){K(t)})},[]),_.jsx("div",{className:"line",children:_.jsx("svg",{height:d,width:"100%",ref:h})})};exports.default=V;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),d=require("react"),i=require("react-redux"),l=require("semantic-ui-react"),p=require("
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),d=require("react"),i=require("react-redux"),l=require("semantic-ui-react"),p=require("lodash.isequal"),m=o=>{const{"data-group":s,"data-reset-label":u="Reset All Filters"}=o,c=i.useDispatch(),r=i.useSelector(a=>a.getIn(["data","posts",s])),e=i.useSelector(a=>a.getIn(["data","posts","initialFilters",s])),n=d.useMemo(()=>r&&e?!p(r,e):!1,[r,e]);return t.jsxs(l.Container,{fluid:!0,className:`data-filters-reset ignore ${n?"":"disabled"}`,onClick:()=>{c({type:"SET_INITIAL_POSTS_FILTER",group:s,...e,reset:!0})},children:[t.jsx("span",{children:u}),t.jsx("span",{children:t.jsx(l.Icon,{disabled:!n,name:"undo alternate",className:"custom-undo-icon"})})]})};exports.default=m;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),u=require("@devgateway/wp-react-lib")
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),u=require("@devgateway/wp-react-lib"),p=require("semantic-ui-react"),r=require("pure-react-carousel"),x=s=>{let o=0;const{posts:t,height:i,interval:l,autoSwitch:a}=s;return e.jsxs(r.CarouselProvider,{interval:l,isPlaying:a,totalSlides:t.length,naturalSlideHeight:i,children:[e.jsx(r.Slider,{style:{height:`${i}px`},trayTag:"ul",children:t.map(n=>e.jsx(r.Slide,{index:o++,tag:"li",children:e.jsx(u.PostIntro,{post:n,fluid:!0})}))}),e.jsx(r.DotGroup,{})]})},j=s=>{const{"data-type":o,"data-taxonomy":t,"data-categories":i,"data-items":l,"data-height":a,"data-auto-switch":n="false","data-interval":c=1e4,editing:d,parent:h,unique:g}=s;return e.jsx(p.Container,{style:{height:`${a}px`},className:`viz post carousel ${d?"editing":""}`,fluid:!0,children:e.jsx(u.PostProvider,{type:o,taxonomy:t,categories:i,store:"carousel_"+h+"_"+g,page:1,perPage:l,children:e.jsx(u.PostConsumer,{children:e.jsx(x,{height:a,interval:c,autoSwitch:n=="true"})})})})};exports.default=j;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const p=require("react/jsx-runtime"),rt=require("@devgateway/wp-react-lib"),yt=require("../connected-templates/PostIntro.js")
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const p=require("react/jsx-runtime"),rt=require("@devgateway/wp-react-lib"),yt=require("../connected-templates/PostIntro.js"),I=require("react"),st=require("semantic-ui-react"),vt=require("d3");function xt(s){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const a in s)if(a!=="default"){const f=Object.getOwnPropertyDescriptor(s,a);Object.defineProperty(i,a,f.get?f:{enumerable:!0,get:()=>s[a]})}}return i.default=s,Object.freeze(i)}const d=xt(vt),Ot={visibility:"visible",position:"relative",height:"auto",width:"auto"},Ct={position:"absolute",overflow:"hidden",display:"none"},S=0,Pt=s=>{const{posts:i,position:a,lineWidth:f,meta:J,locale:R,lineColor:z,height:g,config:l,marginLeft:A,marginTop:H,marginRight:W,marginBottom:_,fontSize:C,titleWidth:T,titleHeight:q,subtitleWidth:L,subtitleHeight:E,enableTitlePopup:y,enableCirclePopup:h,enableDefaultPopup:k,closePopupOnMouseOut:m,unique:P}=s,w=I.useRef(),[V,u]=I.useState(!1),[v,x]=I.useState(null),N=e=>l[e].position,K=e=>l[e].connectorLineHeight,at=e=>l[e].subtitleOffset,ct=e=>l[e].titleOffset,$=e=>{var n;return(n=l[e])==null?void 0:n.circleColor},Q=e=>l[e].lineColor,X=e=>l[e].titleColor,ut=e=>l[e].labelColor,dt=e=>l[e].tooltipFontColor||"#fff",pt=e=>l[e].size,ft=e=>l[e].readMoreLabel,j=e=>"circle"+P+e,Y=e=>"title"+P+e,M=e=>{d.selectAll("#"+j(e)).style("stroke","none").style("fill",$(e)),d.selectAll("#label"+e).style("font-weight","normal")},Z=e=>{M(S),d.selectAll("#"+j(e)).style("stroke",$(e)).style("fill","#fff"),d.selectAll("#label"+e).style("font-weight","bold")};return I.useEffect(()=>{const e={top:H,right:W,bottom:_,left:A};let n=g/2;a=="middle"&&(n=g/2),a=="top"&&(n=e.top),a=="bottom"&&(n=g-e.bottom);const c={};i.forEach((o,t)=>{c[o.id]=t});const tt=w.current.clientWidth,gt=g,b=d.scaleLinear().domain([0,i.length-1]).range([e.left,tt-e.right]),et=d.line(),ht=[[b(0),0],[b(i.length-1),0]],mt=et(ht),B=d.select(w.current);B.attr("width",tt).attr("height",gt),B.node().parentNode;const ot=(o,t,r)=>{let U=[0,0];if(o){const F=o.target.getBoundingClientRect(),nt=o.target.closest(".time").getBoundingClientRect(),G=F.left-nt.left,bt=F.top-nt.top;U=[G+30,bt+50];const lt=600;F.left+G+lt+30>window.innerWidth&&(U[0]=G-lt*.6)}u(!0),x({data:t,index:r,position:U}),Z(r)},it=(o,t,r)=>{M(r)},O=B.append("g");if(O.attr("transform",`translate(0,${n})`),O.append("path").attr("d",mt).attr("stroke-width",f).attr("stroke",z),O.selectAll(".tick").data(i).enter().append("path").attr("d",(o,t)=>et([[b(t),0],[b(t),N(t)==="top"?K(t)*-1:K(t)]])).attr("stroke-width",f).attr("stroke",(o,t)=>Q(t)).on("mouseover",function(o,t,r){}),O.selectAll(".circle").data(i).enter().append("circle").attr("id",(o,t)=>j(t)).attr("cx",(o,t)=>b(t)).attr("cy",0).attr("id",(o,t)=>j(t)).attr("r",(o,t)=>pt(t)).style("stroke-width",3).style("cursor",h?"pointer":"default").style("fill",(o,t)=>$(t)).on("mouseover",function(o,t){h&&ot(o,t,c[t.id])}).on("mouseout",function(o,t,r){h&&(it(o,t,c[t.id]),m&&(u(!1),x(null)))}),O.selectAll(".label").data(i).enter().append("foreignObject").attr("id",(o,t)=>"label"+t).attr("x",function(o,t){return b(t)-L/2}).attr("width",L).attr("height",E).attr("overflow","visible").style("opacity",1).attr("y",(o,t)=>at(t)).append("xhtml:div").style("color",(o,t)=>ut(t)).style("font-size",parseInt(C)-2+"px").style("line-height","100%").style("text-align","center").html((o,t)=>o.meta_fields.subtitle).on("mouseover",(o,t,r)=>{}).on("mouseout",(o,t,r)=>{}).classed("subtitle-class",!0),O.selectAll(".title").data(i).enter().append("foreignObject").attr("x",function(o,t){return b(t)-T/2}).attr("width",T).attr("height",q).attr("overflow","visible").style("opacity",1).attr("y",(o,t)=>ct(t)).append("xhtml:div").attr("id",(o,t)=>Y(t)).style("font-size",parseInt(C)+1+"px").style("color",(o,t)=>X(t)).style("font-weight",o=>"bold").style("line-height","100%").style("text-align","center").style("cursor",y?"pointer":"default").style("overflow-wrap","break-word").html((o,t)=>{const r=ft(t);let D=o.title.rendered;return r&&(D+=`<br><span style="font-size:${parseInt(C)-3}px;color:${X(t)}">${r}</span>`),D}).on("mouseover",(o,t,r)=>{y&&ot(o,t,c[t.id])}).on("mouseout",(o,t,r,D)=>{y&&(it(o,t,c[t.id]),m&&(u(!1),x(null)))}),k){let o=!1;h&&(o=!0,d.select("#"+j(S)).dispatch("mouseover")),!o&&y&&d.select("#"+Y(S)).dispatch("mouseover")}},[]),p.jsxs("div",{className:"time line",onMouseLeave:e=>{e.target.getAttribute("class")!=="ui fluid container excerpt"&&(u(!1),x(null),M(S))},onMouseEnter:e=>{m&&(u(!1),x(null),M(S))},style:{position:"relative"},children:[i.map((e,n)=>{const c=v&&v.index==n;return p.jsx("div",{className:"tooltip",onMouseOver:()=>Z(n),onMouseOut:()=>{M(n)},style:{left:c?v.position[0]:0,top:c?v.position[1]:0,position:"absolute",pointerEvents:m?"none":"all"},children:c&&p.jsx("div",{className:"tooltip",style:{backgroundColor:Q(n),color:dt(n)},children:p.jsx(yt.default,{post:e,as:st.Container,style:c?Ot:Ct},e.slug)})})}),p.jsx("svg",{height:g,width:"100%",ref:w})]})},wt=s=>{const{"data-type":i,"data-taxonomy":a,"data-categories":f,"data-items":J,"data-height":R,"data-line-color":z="#000","data-config":g="{}","data-position":l="middle","data-line-width":A="1","data-margin-left":H=50,"data-margin-top":W=25,"data-margin-right":_=50,"data-margin-bottom":C=25,"data-font-size":T=14,"data-title-width":q=100,"data-title-height":L=50,"data-subtitle-width":E=50,"data-subtitle-height":y=20,"data-enable-title-popup":h="false","data-enable-circle-popup":k="true","data-enable-default-popup":m="false","data-close-popup-on-mouse-out":P="false",editing:w,parent:V,unique:u}=s,v=s.intl.locale,N={unique:u||Math.random().toString(36).substring(2,9),marginLeft:H,marginTop:W,marginRight:_,marginBottom:C,lineWidth:A,height:R,position:l,lineColor:decodeURIComponent(z),config:JSON.parse(decodeURIComponent(g)),fontSize:T,titleWidth:q,titleHeight:L,subtitleWidth:E,subtitleHeight:y,enableTitlePopup:h==!0||h=="true",enableCirclePopup:k==!0||k=="true",enableDefaultPopup:m==!0||m=="true",closePopupOnMouseOut:P==!0||P=="true"};return p.jsx(st.Container,{style:{height:`${R}px`},className:`viz time line ${w?"editing":""}`,fluid:!0,children:p.jsx(rt.PostProvider,{locale:v,type:i,taxonomy:a,categories:f,store:"carousel_"+V+"_"+u,page:1,perPage:J,children:p.jsx(rt.PostConsumer,{children:p.jsx(Pt,{...N})})})})};exports.default=wt;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("react/jsx-runtime"),nt=require("@devgateway/wp-react-lib"),gt=require("../connected-templates/PostIntro.js"),R=require("semantic-ui-react"),mt=require("d3"),bt=require("../../lib/hooks/window-dimensions.js"),yt=require("../../lib/hooks/screen-orientation.js");function xt(r){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const d in r)if(d!=="default"){const h=Object.getOwnPropertyDescriptor(r,d);Object.defineProperty(n,d,h.get?h:{enumerable:!0,get:()=>r[d]})}}return n.default=r,Object.freeze(n)}const f=xt(mt),Ct={visibility:"visible",position:"relative",height:"auto",width:"auto"},wt=0,vt=r=>{let{posts:n,lineWidth:d,lineColor:h,config:u,marginLeft:F,marginTop:z,marginRight:U,marginBottom:L,fontSize:C,subtitleWidth:E,subtitleHeight:w,enableTitlePopup:$,enableCirclePopup:j,enableDefaultPopup:G,closePopupOnMouseOut:J,unique:g}=r;E=250;const v=useRef(),S=useRef(),[D,b]=useState(!1),[M,k]=useState(0),[W,N]=useState(null),{orientation:y}=yt.useScreenOrientation(),{width:V,deviceType:m,height:T}=bt.useWindowDimensionsAndDevice({getDeviceType:!0,getHeight:!0}),q=useCallback(t=>`circle${g}${t}`,[g]),st=useCallback(t=>`title${g}${t}`,[g]),at=t=>{var i;return((i=u[t])==null?void 0:i.size)||10},rt=({content:t,isOpen:i,style:l})=>{const x=s=>(s=s.replace(/<ul(.*?)>/g,'<ul class="has-white-color has-text-color has-standard-14-font-size" style="list-style-type:disc !important; list-style: initial !important; padding-left:20px; color:#fefefe;">'),s=s.replace(/<a(.*?)>/g,'<a$1 style="color:#fefefe;">'),s);return a.jsxs(R.Modal,{open:i,onClose:()=>b(!1),size:"fullscreen",closeIcon:!0,centered:!0,style:{maxHeight:"80vh",overflowY:"auto",padding:"0.5rem",...l},children:[a.jsx(R.Modal.Header,{style:{...l,borderBottom:"none"}}),a.jsx(R.Modal.Content,{className:"styled-list-content",style:{...l},dangerouslySetInnerHTML:{__html:x(t.props.children.props.post.content.rendered)}})]},`${t.props.children.key}modal`)},X=t=>{var i;return(i=u[t])==null?void 0:i.circleColor},Y=t=>u[t].titleColor,K=t=>u[t].lineColor,Q=t=>u[t].tooltipFontColor||"#fff",ct=t=>u[t].readMoreLabel,Z=useCallback((t,i)=>{t.preventDefault();const l=260,x=50;let s=[0,0];if(t){const P=t.target.getBoundingClientRect(),H=t.target.closest(".time").getBoundingClientRect(),c=P.left-H.left,O=P.top+H.top;s=[c+l,O+x];const I=400;P.left+c+I+l>window.innerWidth&&(s[0]=c-I*.6)}b(!0),N({data:i,id:i.id,position:s}),pt(i.id)},[]),dt=()=>{b(!1)},ut=t=>{f.selectAll(`#${q(t)}`).style("stroke","none").style("fill",X(t)),f.selectAll(`#label${t}`).style("font-weight","normal")},pt=t=>{ut(wt),f.selectAll(`#${q(t)}`).style("stroke",X(t)).style("fill","#fff"),f.selectAll(`#label${t}`).style("font-weight","bold")};return useLayoutEffect(()=>{var it;const t={top:z,bottom:L},i=v.current.clientWidth,l=S.current.clientWidth;l>0&&k(l);const x=T,s={mobile:"75",tablet:"150",midTablet:"150",laptop:"150"},P={mobile:"250",tablet:"350",midTablet:"350",laptop:"400"},H={mobile:20,tablet:30,midTablet:30,laptop:40},c=f.scaleLinear().domain([0,n.length-1]).range([t.top,x-t.bottom]),O=f.select(v.current);O.selectAll("*").remove(),O.attr("width",i).attr("height",x);const I=f.line(),ft=[[0,c(0)],[0,c(n.length-1)]],ht=I(ft);let tt=`translate(${s[m]},0)`;((it=process.env.REACT_APP_THEME)==null?void 0:it.startsWith("cd"))&&(tt=`translate(${s[m]},20)`);const _=O.append("g").attr("transform",tt);h="#E4E5EA",d=6,_.append("path").attr("d",ht).attr("stroke-width",d).attr("stroke",h).attr("class","timeline-path"),_.selectAll(".circle").data(n).enter().append("circle").attr("id",(o,e)=>q(e)).attr("cx",0).attr("class","timeline-circle").attr("cy",(o,e)=>c(e)).attr("r",(o,e)=>at(e)).style("fill",(o,e)=>{var p;return((p=u[e])==null?void 0:p.circleColor)||"#000"}).style("cursor",j?"pointer":"default").on("click",(o,e)=>{o.preventDefault(),j&&Z(o,e)}),_.selectAll(".title").data(n).enter().append("foreignObject").attr("x",H[m]).attr("y",(o,e)=>c(e)-Number.parseInt(w)/2).attr("width",Number.parseInt(P[m])).attr("height",Number.parseInt(w)).attr("class","timeline-title").append("xhtml:div").attr("id",(o,e)=>st(e)).style("font-size",`${Number.parseInt(C)+1}px`).style("color",(o,e)=>Y(e)).style("font-weight","bold").style("line-height","1.2rem").style("text-align","left").style("cursor",$?"pointer":"default").style("overflow","hidden").style("display","-webkit-box").style("-webkit-line-clamp","2").style("-webkit-box-orient","vertical").style("text-overflow","ellipsis").style("overflow-wrap","break-word").html((o,e)=>{const p=ct(e);let A=o.title.rendered;return p&&(A+=`<br><span style="font-size:${Number.parseInt(C)-3}px;color:${Y(e)};text-decoration:underline;text-underline-offset:3px">${p}</span>`),A}).each(function(o,e){const p=f.select(this.parentNode);setTimeout(()=>{const A=this.getBoundingClientRect(),lt=Math.min(A.height,Number.parseInt(w)*2);p.attr("height",lt),p.attr("y",c(e)-lt/2)},0)}).on("click",(o,e,p)=>{o.preventDefault(),$&&Z(o,e)});const et=+C+1,ot=60,B=et*.9;_.selectAll(".year-fo").data(n).enter().append("foreignObject").attr("class","year-fo").attr("x",-70).attr("y",(o,e)=>c(e)-B/2).attr("width",ot).attr("height",B).append("xhtml:div").style("display","flex").style("align-items","center").style("justify-content","flex-end").style("width",`${ot}px`).style("height",`${B}px`).style("font-size",`${et}px`).style("line-height","1em").style("font-weight","400").style("color","#4C4D50").html(o=>o.meta_fields.subtitle)},[m,y,T]),a.jsxs("div",{className:"time line",style:{position:"relative"},ref:S,children:[n.filter(t=>W&&W.id===t.id).map(t=>{const i=t.slug||"unknown-slug",l=n.indexOf(t);return a.jsx(rt,{isOpen:D,content:a.jsx("div",{style:{backgroundColor:K(l),color:Q(l)},children:a.jsx(gt.default,{post:t,style:Ct},i)}),closeTooltip:dt,style:{backgroundColor:K(l),color:Q(l)}},`${i}_modal`)}),a.jsx("svg",{height:T,width:M,ref:v,style:{overflow:"visible"}})]},g+m+y)},Tt=r=>{const{"data-type":n,"data-taxonomy":d,"data-categories":h,"data-items":u,"data-height":F,"data-line-color":z="#000","data-config":U="{}","data-position":L="middle","data-line-width":C="1","data-margin-left":E=50,"data-margin-top":w=25,"data-margin-right":$=50,"data-margin-bottom":j=25,"data-font-size":G=14,"data-title-width":J=100,"data-title-height":g=50,"data-subtitle-width":v=250,"data-subtitle-height":S=60,"data-enable-title-popup":D="false","data-enable-circle-popup":b="true","data-enable-default-popup":M="false","data-close-popup-on-mouse-out":k="false",editing:W,parent:N,unique:y}=r,V=r.intl.locale,T={unique:y||Math.random().toString(36).substring(2,9),marginLeft:E,marginTop:w,marginRight:$,marginBottom:j,lineWidth:C,height:F,position:L,lineColor:decodeURIComponent(z),config:JSON.parse(decodeURIComponent(U)),fontSize:G,titleWidth:J,titleHeight:g,subtitleWidth:v,subtitleHeight:S,enableTitlePopup:D==!0||D=="true",enableCirclePopup:b==!0||b=="true",enableDefaultPopup:M==!0||M=="true",closePopupOnMouseOut:k==!0||k=="true"};return a.jsx(R.Container,{style:{height:"auto"},className:`viz time line ${W?"editing":""} mobile`,fluid:!0,children:a.jsx(nt.PostProvider,{locale:V,type:n,taxonomy:d,categories:h,store:`carousel_${N}_${y}`,page:1,perPage:u,children:a.jsx(nt.PostConsumer,{children:a.jsx(vt,{...T})})})})};exports.default=Tt;
|
package/dist/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./embeddable/index.js"),n=require("./tracker/withGoogleAnalytics.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./embeddable/index.js"),o=require("./conf/index.js"),n=require("./layout/ResponsiveContainer.js"),i=require("./layout/ScrollTop.js"),a=require("./layout/containers/PreviewPageContainer.js"),u=require("./layout/containers/PreviewTypeContainer.js"),s=require("./layout/containers/SlugContainer.js"),c=require("./layout/containers/SlugPostContainer.js"),l=require("./layout/Customizer.js"),d=require("./layout/Layout.js"),q=require("./layout/PreviewComponent.js"),p=require("./layout/Favicon.js"),C=require("./layout/SSRFavicon.js"),f=require("./layout/Loading.js"),S=require("./layout/CustomSemanticSearch.js"),g=require("./layout/Header.js"),m=require("./layout/SearchControl.js"),P=require("./layout/LangSwitcher.js"),v=require("./layout/Footer.js"),T=require("./layout/ClassicHeader.js"),h=require("./layout/FlexWrapDetector.js"),w=require("./layout/FloatingMenuHeader.js"),R=require("./tracker/withGoogleAnalytics.js"),F=require("./redux/store.js"),t=require("./redux/hooks.js"),r=require("./lib/react-intl-redux/index.js"),y=require("./lib/redux-immutable/index.js"),I=require("./translations/en.json.js"),A=require("./translations/fr.json.js"),O=require("./translations/af.json.js"),x=require("./countries.js"),D=require("./lib/react-intl-redux/providers/Provider.js"),H=require("./lib/react-intl-redux/providers/IntlProvider.js");exports.components=e.components;exports.customizer=e.customizer;exports.getComponentByNameIgnoreCase=e.getComponentByNameIgnoreCase;exports.reducers=e.reducers;exports.Config=o.Config;exports.ResponsiveContainer=n.default;exports.ScrollToTop=i.default;exports.PreviewPageContainer=a.default;exports.PreviewTypeContainer=u.default;exports.SlugContainer=s.default;exports.SlugPostContainer=c.default;exports.CustomizerWrapper=l.CustomizerWrapper;exports.RootLayout=d.default;exports.PreviewComponent=q.default;exports.Favicon=p.default;exports.SSRFavicon=C.default;exports.Loading=f.default;exports.CustomSemanticSearch=S.default;exports.Header=g.default;exports.SearchControl=m.default;exports.LangSwitcher=P.default;exports.Footer=v.default;exports.ClassicHeader=T.default;exports.FlexWrapDetector=h.default;exports.FloatingMenuHeader=w.default;exports.withTracker=R.withTracker;exports.store=F.store;exports.useAppDispatch=t.useAppDispatch;exports.useAppSelector=t.useAppSelector;exports.UPDATE=r.UPDATE;exports.initialState=r.initialState;exports.intlReducer=r.intlReducer;exports.updateIntl=r.updateIntl;exports.combineReducers=y.combineReducers;exports.englishTranslations=I;exports.frenchTranslations=A;exports.afrikaansTranslations=O;exports.COUNTRY_OPTIONS=x.COUNTRY_OPTIONS;exports.Provider=D.default;exports.IntlProvider=H.default;
|
package/dist/esm/common.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@import"https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700;900&display=swap";@import"https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap";@import"https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&display=swap"
|
|
1
|
+
@import"https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700;900&display=swap";@import"https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap";@import"https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&display=swap";.buttonBack___1mlaL,.buttonFirst___2rhFr,.buttonLast___2yuh0,.buttonNext___2mOCa,.buttonNext___3Lm3s,.dot___3c3SI{cursor:pointer}.image___xtQGH{display:block;width:100%;height:100%}.spinner___27VUp{position:absolute;top:calc(50% - 15px);left:calc(50% - 15px);width:30px;height:30px;animation-name:spin___S3UuE;animation-duration:1s;animation-timing-function:linear;animation-iteration-count:infinite;border:4px solid #a9a9a9;border-top-color:#000;border-radius:30px}@keyframes spin___S3UuE{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.container___2O72F{position:relative;overflow:hidden;height:100%;width:100%}.overlay___IV4qY{position:absolute;top:0;left:0;bottom:0;right:0;opacity:0;cursor:zoom-in;transition:opacity .3s,transform .3s}.hover___MYy31,.loading___1pvNI,.zoom___3kqYk{opacity:1}.imageLoadingSpinnerContainer___3UIPD{position:absolute;top:0;right:0;bottom:0;left:0;background-color:#f4f4f4}.slide___3-Nqo{position:relative;display:block;box-sizing:border-box;height:0;margin:0;list-style-type:none}.slide___3-Nqo:focus{outline:none!important}.slideHorizontal___1NzNV{float:left}[dir=rtl] .slideHorizontal___1NzNV{direction:rtl;transform:scaleX(-1)}.slideInner___2mfX9{position:absolute;top:0;left:0;width:100%;height:100%}.focusRing___1airF{position:absolute;top:5px;right:5px;bottom:5px;left:5px;pointer-events:none;outline-width:5px;outline-style:solid;outline-color:Highlight}@media (-webkit-min-device-pixel-ratio:0){.focusRing___1airF{outline-style:auto;outline-color:-webkit-focus-ring-color}}.horizontalSlider___281Ls{position:relative;overflow:hidden}.horizontalSlider___281Ls:not(.touchDisabled___2qs4y){touch-action:pan-y pinch-zoom}[dir=rtl] .horizontalSlider___281Ls{direction:ltr;transform:scaleX(-1)}.horizontalSliderTray___1L-0W{overflow:hidden;width:100%}.verticalSlider___34ZFD{position:relative;overflow:hidden}.verticalSliderTray___267D8{overflow:hidden}.verticalTray___12Key{float:left}.verticalSlideTrayWrap___2nO7o{overflow:hidden}.sliderTray___-vHFQ{display:block;list-style:none;padding:0;margin:0}.sliderAnimation___300FY{transition:transform .5s;transition-timing-function:cubic-bezier(.645,.045,.355,1);will-change:transform}.masterSpinnerContainer___1Z6hB{position:absolute;top:0;right:0;bottom:0;left:0;background-color:#f4f4f4}:root{--header-height: 90px;--footer-height: 227px !important}html{font-size:18px!important}body{height:100%;padding:0;margin:0;font-family:Open Sans,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#000;background-color:transparent!important;font-size:18px!important}a{outline:0;border:none;box-shadow:none;-moz-outline-style:none}a:hover,a:focus{outline:0;border:none;box-shadow:none;-moz-outline-style:none}.edit-post-visual-editor .tabacoo-wrap,#root .tabacoo-wrap{border-bottom:1px solid #e0e0e0}.edit-post-visual-editor .tabacoo-wrap .wp-block-column:nth-child(1),#root .tabacoo-wrap .wp-block-column:nth-child(1){padding-right:15px;border-right:1px solid #e0e0e0;margin-right:20px}.edit-post-visual-editor .tabacoo-wrap .wp-block-column li,#root .tabacoo-wrap .wp-block-column li{list-style-type:none;color:#333;margin-top:10px;position:relative}.edit-post-visual-editor .tabacoo-wrap .wp-block-column li:before,#root .tabacoo-wrap .wp-block-column li:before{content:"";position:absolute;left:-27px;top:5px;width:15px;height:15px;border-radius:100px;background:#5baf95}.edit-post-visual-editor .tabacoo-wrap .wp-block-column li strong,#root .tabacoo-wrap .wp-block-column li strong{font-size:22px;margin-bottom:5px;display:block;color:#5baf95}.edit-post-visual-editor iframe,#root iframe{margin:0;padding:0}.edit-post-visual-editor code,#root code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.edit-post-visual-editor .ui,#root .ui{font-family:Open Sans,sans-serif}.edit-post-visual-editor .ui.container.narrow,#root .ui.container.narrow{max-width:1080px}.edit-post-visual-editor .ui.container.fluid.desktop,#root .ui.container.fluid.desktop{max-width:1366px!important}.edit-post-visual-editor .ui.primary.button,#root .ui.primary.button{background-color:#5089a6}.edit-post-visual-editor .ui.secondary.button,#root .ui.secondary.button{background-color:#5baf95}h1.type{font-size:1rem;padding:0;margin:0;color:#5089a6;font-family:Open Sans,sans-serif}.ui.container.editing{margin:0!important;padding:5px!important}.ui.container.editing .ui.container{width:100%!important;margin-left:0!important;margin-right:0!important}.map-tooltip-light{font-size:1em;color:#1e1e1e;border-radius:5px;background-color:#f7f7f7!important;min-width:220px}.map-tooltip-light .tooltip-content{padding:5px}.map-tooltip-light .tooltip-content hr{margin:3px -5px;border-bottom:none}.map-tooltip-light .tooltip-content b{color:unset}.map-tooltip-light .header{padding:5px;border-bottom:1px solid #DDD}.map-tooltip-light .value{color:#1e1e1e;font-weight:700;margin-left:5px}.map-tooltip-light .footer{padding:5px}.map-tooltip-light .footer .confidence{font-weight:700;color:#1e1e1e}.map-tooltip-light .footer hr{margin:3px -5px}.map-tooltip-light .footer b{color:#1e1e1e}.map-tooltip-dark{font-size:1em;color:#fff;border-radius:5px;background-color:#5c5c5c!important;min-width:220px}.map-tooltip-dark .tooltip-content{padding:5px}.map-tooltip-dark .tooltip-content hr{margin:3px -5px;border-bottom:none}.map-tooltip-dark .header{padding:5px;border-bottom:1px solid #DDD}.map-tooltip-dark .value{color:#fff;font-weight:700;margin-left:5px}.map-tooltip-dark .footer{padding:5px}.map-tooltip-dark .footer .confidence{font-weight:700;color:#fff}.map-tooltip-dark .footer hr{margin:3px -5px;border-bottom:none}.map-tooltip-dark .footer b{color:#fff}.ui.container.filter .menu{z-index:1600}.d3MapTooltip{font-family:Roboto;font-size:13px;border-radius:5%;background-color:#3c434a;padding:5px;opacity:.9;color:#fff;min-width:200px;border:1px solid #000}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { jsx as t, jsxs as W } from "react/jsx-runtime";
|
|
2
2
|
import { PostProvider as $, PostConsumer as p } from "@devgateway/wp-react-lib";
|
|
3
3
|
import j from "../connected-templates/PostIntro.js";
|
|
4
|
-
/* empty css */
|
|
5
4
|
import { useState as J } from "react";
|
|
6
|
-
import { Container as
|
|
5
|
+
import { Container as c } from "semantic-ui-react";
|
|
7
6
|
import { CarouselProvider as L, Slider as O, Slide as T } from "pure-react-carousel";
|
|
8
7
|
import U from "./timeline.js";
|
|
9
8
|
const _ = (r) => {
|
|
@@ -19,7 +18,7 @@ const _ = (r) => {
|
|
|
19
18
|
children: /* @__PURE__ */ t(O, { style: { height: `${n}px` }, tag: "ul", children: i.map((s) => /* @__PURE__ */ t(T, { index: a++, tag: "li", children: /* @__PURE__ */ t(j, { post: s, fluid: !0 }) })) })
|
|
20
19
|
}
|
|
21
20
|
);
|
|
22
|
-
},
|
|
21
|
+
}, G = (r) => {
|
|
23
22
|
const {
|
|
24
23
|
"data-type": a,
|
|
25
24
|
"data-taxonomy": i,
|
|
@@ -37,10 +36,10 @@ const _ = (r) => {
|
|
|
37
36
|
"data-font-size": y = 14,
|
|
38
37
|
"data-title-width": w = 100,
|
|
39
38
|
"data-subtitle-width": N = 50,
|
|
40
|
-
editing:
|
|
39
|
+
editing: m,
|
|
41
40
|
parent: v,
|
|
42
41
|
unique: b
|
|
43
|
-
} = r, [h, z] = J([0]), g = (e) =>
|
|
42
|
+
} = r, [h, z] = J([0]), g = (e) => m ? e : decodeURIComponent(e), I = (e) => JSON.parse(g(e)), R = {
|
|
44
43
|
marginLeft: S,
|
|
45
44
|
marginTop: C,
|
|
46
45
|
marginRight: x,
|
|
@@ -55,7 +54,7 @@ const _ = (r) => {
|
|
|
55
54
|
subtitleWidth: N
|
|
56
55
|
};
|
|
57
56
|
return /* @__PURE__ */ t(
|
|
58
|
-
|
|
57
|
+
c,
|
|
59
58
|
{
|
|
60
59
|
style: { height: `${o}px` },
|
|
61
60
|
className: "viz new-time-line ",
|
|
@@ -70,8 +69,8 @@ const _ = (r) => {
|
|
|
70
69
|
page: 1,
|
|
71
70
|
perPage: d,
|
|
72
71
|
children: [
|
|
73
|
-
/* @__PURE__ */ t(
|
|
74
|
-
/* @__PURE__ */ t(
|
|
72
|
+
/* @__PURE__ */ t(c, { className: "carousel-section", children: /* @__PURE__ */ t(p, { children: /* @__PURE__ */ t(_, { currentSlide: h, height: o - 250, interval: 5, autoSwitch: !1 }) }) }),
|
|
73
|
+
/* @__PURE__ */ t(c, { className: "time-line-section", children: /* @__PURE__ */ t(p, { children: /* @__PURE__ */ t(U, { currentSlide: h, onSelectSlide: (e) => {
|
|
75
74
|
z(e);
|
|
76
75
|
}, ...R }) }) })
|
|
77
76
|
]
|
|
@@ -81,5 +80,5 @@ const _ = (r) => {
|
|
|
81
80
|
);
|
|
82
81
|
};
|
|
83
82
|
export {
|
|
84
|
-
|
|
83
|
+
G as default
|
|
85
84
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { jsx as $ } from "react/jsx-runtime";
|
|
2
|
-
/* empty css */
|
|
3
2
|
import { useRef as K, useState as M, useEffect as Q } from "react";
|
|
4
3
|
import * as o from "d3";
|
|
5
|
-
const
|
|
4
|
+
const ot = ({
|
|
6
5
|
posts: s,
|
|
7
6
|
position: u,
|
|
8
7
|
lineWidth: v,
|
|
@@ -65,5 +64,5 @@ const lt = ({
|
|
|
65
64
|
}, []), /* @__PURE__ */ $("div", { className: "line", children: /* @__PURE__ */ $("svg", { height: i, width: "100%", ref: p }) });
|
|
66
65
|
};
|
|
67
66
|
export {
|
|
68
|
-
|
|
67
|
+
ot as default
|
|
69
68
|
};
|
|
@@ -2,7 +2,7 @@ import { jsxs as d, jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import p from "react";
|
|
3
3
|
import { useDispatch as u, useSelector as i } from "react-redux";
|
|
4
4
|
import { Container as m, Icon as f } from "semantic-ui-react";
|
|
5
|
-
import I from "
|
|
5
|
+
import I from "lodash.isequal";
|
|
6
6
|
const S = (l) => {
|
|
7
7
|
const {
|
|
8
8
|
"data-group": t,
|
|
@@ -1,53 +1,52 @@
|
|
|
1
1
|
import { jsx as t, jsxs as c } from "react/jsx-runtime";
|
|
2
2
|
import { PostProvider as p, PostConsumer as g, PostIntro as m } from "@devgateway/wp-react-lib";
|
|
3
|
-
/* empty css */
|
|
4
3
|
import { Container as f } from "semantic-ui-react";
|
|
5
4
|
import { CarouselProvider as x, Slider as y, Slide as P, DotGroup as S } from "pure-react-carousel";
|
|
6
5
|
const v = (r) => {
|
|
7
6
|
let o = 0;
|
|
8
|
-
const { posts: e, height:
|
|
7
|
+
const { posts: e, height: a, interval: s, autoSwitch: i } = r;
|
|
9
8
|
return (
|
|
10
9
|
// @ts-ignore
|
|
11
10
|
/* @__PURE__ */ c(
|
|
12
11
|
x,
|
|
13
12
|
{
|
|
14
13
|
interval: s,
|
|
15
|
-
isPlaying:
|
|
14
|
+
isPlaying: i,
|
|
16
15
|
totalSlides: e.length,
|
|
17
|
-
naturalSlideHeight:
|
|
16
|
+
naturalSlideHeight: a,
|
|
18
17
|
children: [
|
|
19
|
-
/* @__PURE__ */ t(y, { style: { height: `${
|
|
18
|
+
/* @__PURE__ */ t(y, { style: { height: `${a}px` }, trayTag: "ul", children: e.map((l) => /* @__PURE__ */ t(P, { index: o++, tag: "li", children: /* @__PURE__ */ t(m, { post: l, fluid: !0 }) })) }),
|
|
20
19
|
/* @__PURE__ */ t(S, {})
|
|
21
20
|
]
|
|
22
21
|
}
|
|
23
22
|
)
|
|
24
23
|
);
|
|
25
|
-
},
|
|
24
|
+
}, _ = (r) => {
|
|
26
25
|
const {
|
|
27
26
|
"data-type": o,
|
|
28
27
|
"data-taxonomy": e,
|
|
29
|
-
"data-categories":
|
|
28
|
+
"data-categories": a,
|
|
30
29
|
"data-items": s,
|
|
31
|
-
"data-height":
|
|
30
|
+
"data-height": i,
|
|
32
31
|
"data-auto-switch": l = "false",
|
|
33
32
|
"data-interval": n = 1e4,
|
|
34
33
|
editing: d,
|
|
35
34
|
parent: u,
|
|
36
35
|
unique: h
|
|
37
36
|
} = r;
|
|
38
|
-
return /* @__PURE__ */ t(f, { style: { height: `${
|
|
37
|
+
return /* @__PURE__ */ t(f, { style: { height: `${i}px` }, className: `viz post carousel ${d ? "editing" : ""}`, fluid: !0, children: /* @__PURE__ */ t(
|
|
39
38
|
p,
|
|
40
39
|
{
|
|
41
40
|
type: o,
|
|
42
41
|
taxonomy: e,
|
|
43
|
-
categories:
|
|
42
|
+
categories: a,
|
|
44
43
|
store: "carousel_" + u + "_" + h,
|
|
45
44
|
page: 1,
|
|
46
45
|
perPage: s,
|
|
47
|
-
children: /* @__PURE__ */ t(g, { children: /* @__PURE__ */ t(v, { height:
|
|
46
|
+
children: /* @__PURE__ */ t(g, { children: /* @__PURE__ */ t(v, { height: i, interval: n, autoSwitch: l == "true" }) })
|
|
48
47
|
}
|
|
49
48
|
) });
|
|
50
49
|
};
|
|
51
50
|
export {
|
|
52
|
-
|
|
51
|
+
_ as default
|
|
53
52
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsx as d, jsxs as bt } from "react/jsx-runtime";
|
|
2
2
|
import { PostProvider as yt, PostConsumer as vt } from "@devgateway/wp-react-lib";
|
|
3
3
|
import Ct from "../connected-templates/PostIntro.js";
|
|
4
|
-
/* empty css */
|
|
5
4
|
import { useRef as xt, useState as nt, useEffect as Ot } from "react";
|
|
6
5
|
import { Container as rt } from "semantic-ui-react";
|
|
7
6
|
import * as c from "d3";
|
|
@@ -166,7 +165,7 @@ const wt = {
|
|
|
166
165
|
]
|
|
167
166
|
}
|
|
168
167
|
);
|
|
169
|
-
},
|
|
168
|
+
}, Ht = (T) => {
|
|
170
169
|
const {
|
|
171
170
|
"data-type": r,
|
|
172
171
|
"data-taxonomy": v,
|
|
@@ -237,5 +236,5 @@ const wt = {
|
|
|
237
236
|
);
|
|
238
237
|
};
|
|
239
238
|
export {
|
|
240
|
-
|
|
239
|
+
Ht as default
|
|
241
240
|
};
|