@devgateway/dvz-ui-react 1.5.0 → 1.5.2
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/reducers/data-api.js +1 -1
- package/dist/cjs/embeddable/reducers/embeddable-api.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/cjs/layout/Layout.js +1 -1
- package/dist/cjs/styles.css +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/reducers/data-api.js +19 -19
- package/dist/esm/embeddable/reducers/embeddable-api.js +8 -7
- 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/esm/layout/Layout.js +25 -27
- package/dist/esm/styles.css +1 -1
- 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 +11 -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
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { Config as d } from "../../conf/index.js";
|
|
2
|
+
import { post as u } from "../../api/commons.js";
|
|
3
|
+
const o = process.env.VITE_REACT_APP_API_ROOT || d.REACT_APP_API_ROOT || "", A = (n) => {
|
|
4
|
+
const e = new FormData(), { files: s, organization: t, name: p, email: r, message: i, country: m, token: c } = n;
|
|
5
|
+
return s.forEach((a) => e.append("files", a, a.name)), e.append("organization", t), e.append("name", p), e.append("email", r), e.append("country", m), e.append("message", i), e.append("token", c), fetch((o || "") + "/api/utils/showCaseForm", {
|
|
5
6
|
mode: "cors",
|
|
6
7
|
method: "POST",
|
|
7
8
|
body: e
|
|
8
9
|
});
|
|
9
|
-
},
|
|
10
|
+
}, O = (n) => u((o || "") + "/api/utils/subscribe", n);
|
|
10
11
|
export {
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
A as sendShowCase,
|
|
13
|
+
O as subscribe
|
|
13
14
|
};
|
|
@@ -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
|
};
|
|
@@ -1,52 +1,50 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { PostProvider as
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
import { useRef as st, useState as F, useCallback as q, useLayoutEffect as wt } from "react";
|
|
6
|
-
import { Container as vt, Modal as G } from "semantic-ui-react";
|
|
1
|
+
import { jsx as r, jsxs as nt } from "react/jsx-runtime";
|
|
2
|
+
import { PostProvider as gt, PostConsumer as mt } from "@devgateway/wp-react-lib";
|
|
3
|
+
import yt from "../connected-templates/PostIntro.js";
|
|
4
|
+
import { Container as bt, Modal as F } from "semantic-ui-react";
|
|
7
5
|
import * as p from "d3";
|
|
8
|
-
import { useWindowDimensionsAndDevice as
|
|
9
|
-
import { useScreenOrientation as
|
|
10
|
-
const
|
|
6
|
+
import { useWindowDimensionsAndDevice as Ct } from "../../lib/hooks/window-dimensions.js";
|
|
7
|
+
import { useScreenOrientation as xt } from "../../lib/hooks/screen-orientation.js";
|
|
8
|
+
const wt = {
|
|
11
9
|
visibility: "visible",
|
|
12
10
|
position: "relative",
|
|
13
11
|
height: "auto",
|
|
14
12
|
width: "auto"
|
|
15
|
-
},
|
|
13
|
+
}, vt = 0, Tt = (T) => {
|
|
16
14
|
let {
|
|
17
15
|
posts: s,
|
|
18
16
|
lineWidth: P,
|
|
19
17
|
lineColor: $,
|
|
20
18
|
config: c,
|
|
21
|
-
marginLeft:
|
|
19
|
+
marginLeft: q,
|
|
22
20
|
marginTop: L,
|
|
23
|
-
marginRight:
|
|
21
|
+
marginRight: G,
|
|
24
22
|
marginBottom: N,
|
|
25
23
|
fontSize: y,
|
|
26
24
|
subtitleWidth: R,
|
|
27
25
|
subtitleHeight: b,
|
|
28
|
-
enableTitlePopup:
|
|
29
|
-
enableCirclePopup:
|
|
30
|
-
enableDefaultPopup:
|
|
31
|
-
closePopupOnMouseOut:
|
|
26
|
+
enableTitlePopup: k,
|
|
27
|
+
enableCirclePopup: D,
|
|
28
|
+
enableDefaultPopup: U,
|
|
29
|
+
closePopupOnMouseOut: J,
|
|
32
30
|
unique: u
|
|
33
31
|
} = T;
|
|
34
32
|
R = 250;
|
|
35
|
-
const
|
|
33
|
+
const C = useRef(), S = useRef(), [W, h] = useState(!1), [H, I] = useState(0), [O, _] = useState(null), { orientation: g } = xt(), { width: V, deviceType: f, height: x } = Ct({
|
|
36
34
|
getDeviceType: !0,
|
|
37
35
|
getHeight: !0
|
|
38
|
-
}), B =
|
|
39
|
-
var
|
|
40
|
-
return ((
|
|
41
|
-
},
|
|
36
|
+
}), B = useCallback((t) => `circle${u}${t}`, [u]), at = useCallback((t) => `title${u}${t}`, [u]), rt = (t) => {
|
|
37
|
+
var l;
|
|
38
|
+
return ((l = c[t]) == null ? void 0 : l.size) || 10;
|
|
39
|
+
}, st = ({ content: t, isOpen: l, style: i }) => {
|
|
42
40
|
const m = (n) => (n = n.replace(
|
|
43
41
|
/<ul(.*?)>/g,
|
|
44
42
|
'<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;">'
|
|
45
43
|
), n = n.replace(/<a(.*?)>/g, '<a$1 style="color:#fefefe;">'), n);
|
|
46
|
-
return /* @__PURE__ */
|
|
47
|
-
|
|
44
|
+
return /* @__PURE__ */ nt(
|
|
45
|
+
F,
|
|
48
46
|
{
|
|
49
|
-
open:
|
|
47
|
+
open: l,
|
|
50
48
|
onClose: () => h(!1),
|
|
51
49
|
size: "fullscreen",
|
|
52
50
|
closeIcon: !0,
|
|
@@ -55,15 +53,15 @@ const $t = {
|
|
|
55
53
|
maxHeight: "80vh",
|
|
56
54
|
overflowY: "auto",
|
|
57
55
|
padding: "0.5rem",
|
|
58
|
-
...
|
|
56
|
+
...i
|
|
59
57
|
},
|
|
60
58
|
children: [
|
|
61
|
-
/* @__PURE__ */
|
|
62
|
-
/* @__PURE__ */
|
|
63
|
-
|
|
59
|
+
/* @__PURE__ */ r(F.Header, { style: { ...i, borderBottom: "none" } }),
|
|
60
|
+
/* @__PURE__ */ r(
|
|
61
|
+
F.Content,
|
|
64
62
|
{
|
|
65
63
|
className: "styled-list-content",
|
|
66
|
-
style: { ...
|
|
64
|
+
style: { ...i },
|
|
67
65
|
dangerouslySetInnerHTML: {
|
|
68
66
|
__html: m(
|
|
69
67
|
t.props.children.props.post.content.rendered
|
|
@@ -75,35 +73,35 @@ const $t = {
|
|
|
75
73
|
},
|
|
76
74
|
`${t.props.children.key}modal`
|
|
77
75
|
);
|
|
78
|
-
},
|
|
79
|
-
var
|
|
80
|
-
return (
|
|
81
|
-
},
|
|
76
|
+
}, X = (t) => {
|
|
77
|
+
var l;
|
|
78
|
+
return (l = c[t]) == null ? void 0 : l.circleColor;
|
|
79
|
+
}, Y = (t) => c[t].titleColor, K = (t) => c[t].lineColor, Q = (t) => c[t].tooltipFontColor || "#fff", ct = (t) => c[t].readMoreLabel, Z = useCallback((t, l) => {
|
|
82
80
|
t.preventDefault();
|
|
83
|
-
const
|
|
81
|
+
const i = 260, m = 50;
|
|
84
82
|
let n = [0, 0];
|
|
85
83
|
if (t) {
|
|
86
|
-
const w = t.target.getBoundingClientRect(), A = t.target.closest(".time").getBoundingClientRect(),
|
|
87
|
-
n = [
|
|
84
|
+
const w = t.target.getBoundingClientRect(), A = t.target.closest(".time").getBoundingClientRect(), a = w.left - A.left, v = w.top + A.top;
|
|
85
|
+
n = [a + i, v + m];
|
|
88
86
|
const M = 400;
|
|
89
|
-
w.left +
|
|
87
|
+
w.left + a + M + i > window.innerWidth && (n[0] = a - M * 0.6);
|
|
90
88
|
}
|
|
91
|
-
h(!0), _({ data:
|
|
92
|
-
}, []),
|
|
89
|
+
h(!0), _({ data: l, id: l.id, position: n }), ut(l.id);
|
|
90
|
+
}, []), dt = () => {
|
|
93
91
|
h(!1);
|
|
94
|
-
},
|
|
95
|
-
p.selectAll(`#${B(t)}`).style("stroke", "none").style("fill",
|
|
96
|
-
},
|
|
97
|
-
|
|
92
|
+
}, pt = (t) => {
|
|
93
|
+
p.selectAll(`#${B(t)}`).style("stroke", "none").style("fill", X(t)), p.selectAll(`#label${t}`).style("font-weight", "normal");
|
|
94
|
+
}, ut = (t) => {
|
|
95
|
+
pt(vt), p.selectAll(`#${B(t)}`).style("stroke", X(t)).style("fill", "#fff"), p.selectAll(`#label${t}`).style("font-weight", "bold");
|
|
98
96
|
};
|
|
99
|
-
return
|
|
100
|
-
var
|
|
97
|
+
return useLayoutEffect(() => {
|
|
98
|
+
var lt;
|
|
101
99
|
const t = {
|
|
102
100
|
top: L,
|
|
103
101
|
bottom: N
|
|
104
|
-
},
|
|
105
|
-
|
|
106
|
-
const m =
|
|
102
|
+
}, l = C.current.clientWidth, i = S.current.clientWidth;
|
|
103
|
+
i > 0 && I(i);
|
|
104
|
+
const m = x, n = {
|
|
107
105
|
mobile: "75",
|
|
108
106
|
tablet: "150",
|
|
109
107
|
midTablet: "150",
|
|
@@ -118,154 +116,154 @@ const $t = {
|
|
|
118
116
|
tablet: 30,
|
|
119
117
|
midTablet: 30,
|
|
120
118
|
laptop: 40
|
|
121
|
-
},
|
|
122
|
-
v.selectAll("*").remove(), v.attr("width",
|
|
123
|
-
const M = p.line(),
|
|
124
|
-
[0,
|
|
125
|
-
[0,
|
|
126
|
-
],
|
|
127
|
-
let
|
|
128
|
-
((
|
|
129
|
-
const z = v.append("g").attr("transform",
|
|
130
|
-
$ = "#E4E5EA", P = 6, z.append("path").attr("d",
|
|
119
|
+
}, a = p.scaleLinear().domain([0, s.length - 1]).range([t.top, m - t.bottom]), v = p.select(C.current);
|
|
120
|
+
v.selectAll("*").remove(), v.attr("width", l).attr("height", m);
|
|
121
|
+
const M = p.line(), ft = [
|
|
122
|
+
[0, a(0)],
|
|
123
|
+
[0, a(s.length - 1)]
|
|
124
|
+
], ht = M(ft);
|
|
125
|
+
let tt = `translate(${n[f]},0)`;
|
|
126
|
+
((lt = process.env.REACT_APP_THEME) == null ? void 0 : lt.startsWith("cd")) && (tt = `translate(${n[f]},20)`);
|
|
127
|
+
const z = v.append("g").attr("transform", tt);
|
|
128
|
+
$ = "#E4E5EA", P = 6, z.append("path").attr("d", ht).attr("stroke-width", P).attr("stroke", $).attr("class", "timeline-path"), z.selectAll(".circle").data(s).enter().append("circle").attr("id", (o, e) => B(e)).attr("cx", 0).attr("class", "timeline-circle").attr("cy", (o, e) => a(e)).attr("r", (o, e) => rt(e)).style("fill", (o, e) => {
|
|
131
129
|
var d;
|
|
132
130
|
return ((d = c[e]) == null ? void 0 : d.circleColor) || "#000";
|
|
133
|
-
}).style("cursor",
|
|
134
|
-
o.preventDefault(),
|
|
135
|
-
}), z.selectAll(".title").data(s).enter().append("foreignObject").attr("x", A[f]).attr("y", (o, e) =>
|
|
136
|
-
const d =
|
|
131
|
+
}).style("cursor", D ? "pointer" : "default").on("click", (o, e) => {
|
|
132
|
+
o.preventDefault(), D && Z(o, e);
|
|
133
|
+
}), z.selectAll(".title").data(s).enter().append("foreignObject").attr("x", A[f]).attr("y", (o, e) => a(e) - Number.parseInt(b) / 2).attr("width", Number.parseInt(w[f])).attr("height", Number.parseInt(b)).attr("class", "timeline-title").append("xhtml:div").attr("id", (o, e) => at(e)).style("font-size", `${Number.parseInt(y) + 1}px`).style("color", (o, e) => Y(e)).style("font-weight", "bold").style("line-height", "1.2rem").style("text-align", "left").style("cursor", k ? "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) => {
|
|
134
|
+
const d = ct(e);
|
|
137
135
|
let E = o.title.rendered;
|
|
138
|
-
return d && (E += `<br><span style="font-size:${Number.parseInt(y) - 3}px;color:${
|
|
136
|
+
return d && (E += `<br><span style="font-size:${Number.parseInt(y) - 3}px;color:${Y(
|
|
139
137
|
e
|
|
140
138
|
)};text-decoration:underline;text-underline-offset:3px">${d}</span>`), E;
|
|
141
139
|
}).each(function(o, e) {
|
|
142
140
|
const d = p.select(this.parentNode);
|
|
143
141
|
setTimeout(() => {
|
|
144
|
-
const E = this.getBoundingClientRect(),
|
|
142
|
+
const E = this.getBoundingClientRect(), it = Math.min(
|
|
145
143
|
E.height,
|
|
146
144
|
Number.parseInt(b) * 2
|
|
147
145
|
);
|
|
148
|
-
d.attr("height",
|
|
146
|
+
d.attr("height", it), d.attr("y", a(e) - it / 2);
|
|
149
147
|
}, 0);
|
|
150
148
|
}).on("click", (o, e, d) => {
|
|
151
|
-
o.preventDefault(),
|
|
149
|
+
o.preventDefault(), k && Z(o, e);
|
|
152
150
|
});
|
|
153
|
-
const
|
|
154
|
-
z.selectAll(".year-fo").data(s).enter().append("foreignObject").attr("class", "year-fo").attr("x", -70).attr("y", (o, e) =>
|
|
155
|
-
}, [f, g,
|
|
151
|
+
const et = +y + 1, ot = 60, j = et * 0.9;
|
|
152
|
+
z.selectAll(".year-fo").data(s).enter().append("foreignObject").attr("class", "year-fo").attr("x", -70).attr("y", (o, e) => a(e) - j / 2).attr("width", ot).attr("height", j).append("xhtml:div").style("display", "flex").style("align-items", "center").style("justify-content", "flex-end").style("width", `${ot}px`).style("height", `${j}px`).style("font-size", `${et}px`).style("line-height", "1em").style("font-weight", "400").style("color", "#4C4D50").html((o) => o.meta_fields.subtitle);
|
|
153
|
+
}, [f, g, x]), /* @__PURE__ */ nt(
|
|
156
154
|
"div",
|
|
157
155
|
{
|
|
158
156
|
className: "time line",
|
|
159
157
|
style: { position: "relative" },
|
|
160
|
-
ref:
|
|
158
|
+
ref: S,
|
|
161
159
|
children: [
|
|
162
|
-
s.filter((t) =>
|
|
163
|
-
const
|
|
164
|
-
return /* @__PURE__ */
|
|
165
|
-
|
|
160
|
+
s.filter((t) => O && O.id === t.id).map((t) => {
|
|
161
|
+
const l = t.slug || "unknown-slug", i = s.indexOf(t);
|
|
162
|
+
return /* @__PURE__ */ r(
|
|
163
|
+
st,
|
|
166
164
|
{
|
|
167
|
-
isOpen:
|
|
168
|
-
content: /* @__PURE__ */
|
|
165
|
+
isOpen: W,
|
|
166
|
+
content: /* @__PURE__ */ r(
|
|
169
167
|
"div",
|
|
170
168
|
{
|
|
171
169
|
style: {
|
|
172
|
-
backgroundColor:
|
|
173
|
-
color:
|
|
170
|
+
backgroundColor: K(i),
|
|
171
|
+
color: Q(i)
|
|
174
172
|
},
|
|
175
|
-
children: /* @__PURE__ */
|
|
176
|
-
|
|
173
|
+
children: /* @__PURE__ */ r(
|
|
174
|
+
yt,
|
|
177
175
|
{
|
|
178
176
|
post: t,
|
|
179
|
-
style:
|
|
177
|
+
style: wt
|
|
180
178
|
},
|
|
181
|
-
|
|
179
|
+
l
|
|
182
180
|
)
|
|
183
181
|
}
|
|
184
182
|
),
|
|
185
|
-
closeTooltip:
|
|
183
|
+
closeTooltip: dt,
|
|
186
184
|
style: {
|
|
187
|
-
backgroundColor:
|
|
188
|
-
color:
|
|
185
|
+
backgroundColor: K(i),
|
|
186
|
+
color: Q(i)
|
|
189
187
|
}
|
|
190
188
|
},
|
|
191
|
-
`${
|
|
189
|
+
`${l}_modal`
|
|
192
190
|
);
|
|
193
191
|
}),
|
|
194
|
-
/* @__PURE__ */
|
|
192
|
+
/* @__PURE__ */ r("svg", { height: x, width: H, ref: C, style: { overflow: "visible" } })
|
|
195
193
|
]
|
|
196
194
|
},
|
|
197
195
|
u + f + g
|
|
198
196
|
);
|
|
199
|
-
},
|
|
197
|
+
}, It = (T) => {
|
|
200
198
|
const {
|
|
201
199
|
"data-type": s,
|
|
202
200
|
"data-taxonomy": P,
|
|
203
201
|
"data-categories": $,
|
|
204
202
|
"data-items": c,
|
|
205
|
-
"data-height":
|
|
203
|
+
"data-height": q,
|
|
206
204
|
"data-line-color": L = "#000",
|
|
207
|
-
"data-config":
|
|
205
|
+
"data-config": G = "{}",
|
|
208
206
|
"data-position": N = "middle",
|
|
209
207
|
"data-line-width": y = "1",
|
|
210
208
|
"data-margin-left": R = 50,
|
|
211
209
|
"data-margin-top": b = 25,
|
|
212
|
-
"data-margin-right":
|
|
213
|
-
"data-margin-bottom":
|
|
214
|
-
"data-font-size":
|
|
215
|
-
"data-title-width":
|
|
210
|
+
"data-margin-right": k = 50,
|
|
211
|
+
"data-margin-bottom": D = 25,
|
|
212
|
+
"data-font-size": U = 14,
|
|
213
|
+
"data-title-width": J = 100,
|
|
216
214
|
"data-title-height": u = 50,
|
|
217
|
-
"data-subtitle-width":
|
|
218
|
-
"data-subtitle-height":
|
|
219
|
-
"data-enable-title-popup":
|
|
215
|
+
"data-subtitle-width": C = 250,
|
|
216
|
+
"data-subtitle-height": S = 60,
|
|
217
|
+
"data-enable-title-popup": W = "false",
|
|
220
218
|
"data-enable-circle-popup": h = "true",
|
|
221
|
-
"data-enable-default-popup":
|
|
222
|
-
"data-close-popup-on-mouse-out":
|
|
223
|
-
editing:
|
|
219
|
+
"data-enable-default-popup": H = "false",
|
|
220
|
+
"data-close-popup-on-mouse-out": I = "false",
|
|
221
|
+
editing: O,
|
|
224
222
|
parent: _,
|
|
225
223
|
unique: g
|
|
226
|
-
} = T,
|
|
224
|
+
} = T, V = T.intl.locale, x = {
|
|
227
225
|
unique: g || Math.random().toString(36).substring(2, 9),
|
|
228
226
|
marginLeft: R,
|
|
229
227
|
marginTop: b,
|
|
230
|
-
marginRight:
|
|
231
|
-
marginBottom:
|
|
228
|
+
marginRight: k,
|
|
229
|
+
marginBottom: D,
|
|
232
230
|
lineWidth: y,
|
|
233
|
-
height:
|
|
231
|
+
height: q,
|
|
234
232
|
position: N,
|
|
235
233
|
lineColor: decodeURIComponent(L),
|
|
236
|
-
config: JSON.parse(decodeURIComponent(
|
|
237
|
-
fontSize:
|
|
238
|
-
titleWidth:
|
|
234
|
+
config: JSON.parse(decodeURIComponent(G)),
|
|
235
|
+
fontSize: U,
|
|
236
|
+
titleWidth: J,
|
|
239
237
|
titleHeight: u,
|
|
240
|
-
subtitleWidth:
|
|
241
|
-
subtitleHeight:
|
|
242
|
-
enableTitlePopup:
|
|
238
|
+
subtitleWidth: C,
|
|
239
|
+
subtitleHeight: S,
|
|
240
|
+
enableTitlePopup: W == !0 || W == "true",
|
|
243
241
|
enableCirclePopup: h == !0 || h == "true",
|
|
244
|
-
enableDefaultPopup:
|
|
245
|
-
closePopupOnMouseOut:
|
|
242
|
+
enableDefaultPopup: H == !0 || H == "true",
|
|
243
|
+
closePopupOnMouseOut: I == !0 || I == "true"
|
|
246
244
|
};
|
|
247
|
-
return /* @__PURE__ */
|
|
248
|
-
|
|
245
|
+
return /* @__PURE__ */ r(
|
|
246
|
+
bt,
|
|
249
247
|
{
|
|
250
248
|
style: { height: "auto" },
|
|
251
|
-
className: `viz time line ${
|
|
249
|
+
className: `viz time line ${O ? "editing" : ""} mobile`,
|
|
252
250
|
fluid: !0,
|
|
253
|
-
children: /* @__PURE__ */
|
|
254
|
-
|
|
251
|
+
children: /* @__PURE__ */ r(
|
|
252
|
+
gt,
|
|
255
253
|
{
|
|
256
|
-
locale:
|
|
254
|
+
locale: V,
|
|
257
255
|
type: s,
|
|
258
256
|
taxonomy: P,
|
|
259
257
|
categories: $,
|
|
260
258
|
store: `carousel_${_}_${g}`,
|
|
261
259
|
page: 1,
|
|
262
260
|
perPage: c,
|
|
263
|
-
children: /* @__PURE__ */
|
|
261
|
+
children: /* @__PURE__ */ r(mt, { children: /* @__PURE__ */ r(Tt, { ...x }) })
|
|
264
262
|
}
|
|
265
263
|
)
|
|
266
264
|
}
|
|
267
265
|
);
|
|
268
266
|
};
|
|
269
267
|
export {
|
|
270
|
-
|
|
268
|
+
It as default
|
|
271
269
|
};
|
package/dist/esm/index.js
CHANGED
|
@@ -1,31 +1,75 @@
|
|
|
1
|
-
import { components as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import
|
|
1
|
+
import { components as f, customizer as p, getComponentByNameIgnoreCase as s, reducers as m } from "./embeddable/index.js";
|
|
2
|
+
import { Config as l } from "./conf/index.js";
|
|
3
|
+
import { default as u } from "./layout/ResponsiveContainer.js";
|
|
4
|
+
import { default as d } from "./layout/ScrollTop.js";
|
|
5
|
+
import { default as C } from "./layout/containers/PreviewPageContainer.js";
|
|
6
|
+
import { default as g } from "./layout/containers/PreviewTypeContainer.js";
|
|
7
|
+
import { default as P } from "./layout/containers/SlugContainer.js";
|
|
8
|
+
import { default as h } from "./layout/containers/SlugPostContainer.js";
|
|
9
|
+
import { CustomizerWrapper as w } from "./layout/Customizer.js";
|
|
10
|
+
import { default as I } from "./layout/Layout.js";
|
|
11
|
+
import { default as A } from "./layout/PreviewComponent.js";
|
|
12
|
+
import { default as H } from "./layout/Favicon.js";
|
|
13
|
+
import { default as N } from "./layout/SSRFavicon.js";
|
|
14
|
+
import { default as k } from "./layout/Loading.js";
|
|
15
|
+
import { default as U } from "./layout/CustomSemanticSearch.js";
|
|
16
|
+
import { default as b } from "./layout/Header.js";
|
|
17
|
+
import { default as E } from "./layout/SearchControl.js";
|
|
18
|
+
import { default as Y } from "./layout/LangSwitcher.js";
|
|
19
|
+
import { default as j } from "./layout/Footer.js";
|
|
20
|
+
import { default as G } from "./layout/ClassicHeader.js";
|
|
21
|
+
import { default as K } from "./layout/FlexWrapDetector.js";
|
|
22
|
+
import { default as V } from "./layout/FloatingMenuHeader.js";
|
|
23
|
+
import { withTracker as Z } from "./tracker/withGoogleAnalytics.js";
|
|
24
|
+
import { store as ee } from "./redux/store.js";
|
|
25
|
+
import { useAppDispatch as oe, useAppSelector as te } from "./redux/hooks.js";
|
|
26
|
+
import { UPDATE as fe, initialState as pe, intlReducer as se, updateIntl as me } from "./lib/react-intl-redux/index.js";
|
|
27
|
+
import { combineReducers as le } from "./lib/redux-immutable/index.js";
|
|
28
|
+
import * as e from "./translations/en.json.js";
|
|
29
|
+
import * as r from "./translations/fr.json.js";
|
|
9
30
|
import * as o from "./translations/af.json.js";
|
|
10
|
-
import {
|
|
11
|
-
import { default as
|
|
31
|
+
import { COUNTRY_OPTIONS as ue } from "./countries.js";
|
|
32
|
+
import { default as de } from "./lib/react-intl-redux/providers/Provider.js";
|
|
33
|
+
import { default as Ce } from "./lib/react-intl-redux/providers/IntlProvider.js";
|
|
12
34
|
export {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
35
|
+
ue as COUNTRY_OPTIONS,
|
|
36
|
+
G as ClassicHeader,
|
|
37
|
+
l as Config,
|
|
38
|
+
U as CustomSemanticSearch,
|
|
39
|
+
w as CustomizerWrapper,
|
|
40
|
+
H as Favicon,
|
|
41
|
+
K as FlexWrapDetector,
|
|
42
|
+
V as FloatingMenuHeader,
|
|
43
|
+
j as Footer,
|
|
44
|
+
b as Header,
|
|
45
|
+
Ce as IntlProvider,
|
|
46
|
+
Y as LangSwitcher,
|
|
47
|
+
k as Loading,
|
|
48
|
+
A as PreviewComponent,
|
|
49
|
+
C as PreviewPageContainer,
|
|
50
|
+
g as PreviewTypeContainer,
|
|
51
|
+
de as Provider,
|
|
52
|
+
u as ResponsiveContainer,
|
|
53
|
+
I as RootLayout,
|
|
54
|
+
N as SSRFavicon,
|
|
55
|
+
d as ScrollToTop,
|
|
56
|
+
E as SearchControl,
|
|
57
|
+
P as SlugContainer,
|
|
58
|
+
h as SlugPostContainer,
|
|
59
|
+
fe as UPDATE,
|
|
16
60
|
o as afrikaansTranslations,
|
|
17
|
-
|
|
18
|
-
|
|
61
|
+
le as combineReducers,
|
|
62
|
+
f as components,
|
|
19
63
|
p as customizer,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
64
|
+
e as englishTranslations,
|
|
65
|
+
r as frenchTranslations,
|
|
66
|
+
s as getComponentByNameIgnoreCase,
|
|
67
|
+
pe as initialState,
|
|
68
|
+
se as intlReducer,
|
|
25
69
|
m as reducers,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
70
|
+
ee as store,
|
|
71
|
+
me as updateIntl,
|
|
72
|
+
oe as useAppDispatch,
|
|
73
|
+
te as useAppSelector,
|
|
74
|
+
Z as withTracker
|
|
31
75
|
};
|
|
@@ -1,49 +1,47 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as t, jsxs as f } from "react/jsx-runtime";
|
|
2
2
|
import { useState as u, useEffect as m } from "react";
|
|
3
|
-
import { useParams as d, useLocation as g, Navigate as
|
|
3
|
+
import { useParams as d, useLocation as g, Navigate as s, Outlet as h } from "react-router";
|
|
4
4
|
import { getComponentByNameIgnoreCase as v } from "../embeddable/index.js";
|
|
5
5
|
import { IntlProvider as C } from "react-intl";
|
|
6
|
-
import { AppContextProvider as w, SettingProvider as I, SettingsConsumer as
|
|
7
|
-
import { Provider as
|
|
6
|
+
import { AppContextProvider as w, SettingProvider as I, SettingsConsumer as E } from "@devgateway/wp-react-lib";
|
|
7
|
+
import { Provider as L } from "react-redux";
|
|
8
8
|
import "semantic-ui-react";
|
|
9
9
|
import "../utils/AppMedia.js";
|
|
10
10
|
import "./Footer.js";
|
|
11
11
|
import "./Header.js";
|
|
12
|
-
import { CustomizerWrapper as
|
|
13
|
-
import { Config as
|
|
14
|
-
import * as
|
|
15
|
-
import * as
|
|
16
|
-
import * as
|
|
17
|
-
import { updateIntl as
|
|
12
|
+
import { CustomizerWrapper as P } from "./Customizer.js";
|
|
13
|
+
import { Config as y } from "../conf/index.js";
|
|
14
|
+
import * as b from "../translations/en.json.js";
|
|
15
|
+
import * as x from "../translations/fr.json.js";
|
|
16
|
+
import * as N from "../translations/af.json.js";
|
|
17
|
+
import { updateIntl as O } from "../lib/react-intl-redux/index.js";
|
|
18
18
|
import "immutable";
|
|
19
|
-
import { store as
|
|
19
|
+
import { store as e } from "../redux/store.js";
|
|
20
20
|
import "./Favicon.js";
|
|
21
21
|
import "clsx";
|
|
22
22
|
import "../utils/semanticUtils.js";
|
|
23
23
|
import "./SearchControl.js";
|
|
24
24
|
import "./ClassicHeader.js";
|
|
25
25
|
import "./FloatingMenuHeader.js";
|
|
26
|
-
const
|
|
27
|
-
en:
|
|
28
|
-
fr:
|
|
29
|
-
am:
|
|
26
|
+
const r = {
|
|
27
|
+
en: b,
|
|
28
|
+
fr: x,
|
|
29
|
+
am: N
|
|
30
30
|
}, Y = () => {
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
return console.log("pathParams", JSON.stringify(i.lan)), m(() => {
|
|
35
|
-
p(!0), process.env.NODE_ENV === "development" && (console.log("----------.env-----------"), console.log(process.env), console.log("----------.env-----------")), typeof window < "u" && window.setTimeout(() => {
|
|
31
|
+
const a = d(), p = g(), i = y.DEFAULT_LOCALE, [j, l] = u(!1), o = a.lan, c = p.pathname;
|
|
32
|
+
return m(() => {
|
|
33
|
+
l(!0), process.env.NODE_ENV === "development" && (console.log("----------.env-----------"), console.log(process.env), console.log("----------.env-----------")), typeof window < "u" && window.setTimeout(() => {
|
|
36
34
|
if (window.location.hash) {
|
|
37
|
-
const
|
|
38
|
-
|
|
35
|
+
const n = document.getElementById(window.location.hash.substring(1));
|
|
36
|
+
n && n.scrollIntoView({ behavior: "auto", block: "start" });
|
|
39
37
|
}
|
|
40
38
|
}, 2e3);
|
|
41
39
|
}, []), m(() => {
|
|
42
|
-
|
|
43
|
-
}, [o]), o ? Object.keys(
|
|
44
|
-
/* @__PURE__ */
|
|
45
|
-
/* @__PURE__ */
|
|
46
|
-
] }) }) }) }, o) }) : /* @__PURE__ */
|
|
40
|
+
e.dispatch(O({ locale: o, formats: {}, messages: r[o ?? "en"] }));
|
|
41
|
+
}, [o]), o ? Object.keys(r).includes(o) ? /* @__PURE__ */ t(L, { store: e, children: /* @__PURE__ */ t(C, { locale: o, messages: r[o], children: /* @__PURE__ */ t(w, { getComponent: v, store: e, locale: o, children: /* @__PURE__ */ t(I, { locale: o, changeUUID: null, children: /* @__PURE__ */ f(E, { children: [
|
|
42
|
+
/* @__PURE__ */ t(P, {}),
|
|
43
|
+
/* @__PURE__ */ t(h, {})
|
|
44
|
+
] }) }) }) }, o) }) : /* @__PURE__ */ t(s, { to: `/${i}${c}`, replace: !0 }) : /* @__PURE__ */ t(s, { to: i, replace: !0 });
|
|
47
45
|
};
|
|
48
46
|
export {
|
|
49
47
|
Y as default
|