@ynput/ayon-frontend-shared 0.3.16 → 0.3.18
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/DetailsPanel.cjs.js +1 -1
- package/dist/DetailsPanel.es.js +31 -30
- package/dist/DetailsPanel.es.js.map +1 -1
- package/dist/Slicer.cjs.js +1 -1
- package/dist/Slicer.es.js +19 -11
- package/dist/Slicer.es.js.map +1 -1
- package/dist/Views.cjs.js +1 -1
- package/dist/Views.cjs.js.map +1 -1
- package/dist/Views.es.js +36 -41
- package/dist/Views.es.js.map +1 -1
- package/dist/_virtual/ConsumeSharedPlugin.cjs.js +2 -0
- package/dist/_virtual/ConsumeSharedPlugin.cjs.js.map +1 -0
- package/dist/_virtual/ConsumeSharedPlugin.es.js +5 -0
- package/dist/_virtual/ConsumeSharedPlugin.es.js.map +1 -0
- package/dist/_virtual/ContainerPlugin.cjs.js +2 -0
- package/dist/_virtual/ContainerPlugin.cjs.js.map +1 -0
- package/dist/_virtual/ContainerPlugin.es.js +5 -0
- package/dist/_virtual/ContainerPlugin.es.js.map +1 -0
- package/dist/_virtual/ContainerReferencePlugin.cjs.js +2 -0
- package/dist/_virtual/ContainerReferencePlugin.cjs.js.map +1 -0
- package/dist/_virtual/ContainerReferencePlugin.es.js +5 -0
- package/dist/_virtual/ContainerReferencePlugin.es.js.map +1 -0
- package/dist/_virtual/ModuleFederationPlugin.cjs.js +2 -0
- package/dist/_virtual/ModuleFederationPlugin.cjs.js.map +1 -0
- package/dist/_virtual/ModuleFederationPlugin.es.js +5 -0
- package/dist/_virtual/ModuleFederationPlugin.es.js.map +1 -0
- package/dist/_virtual/ProvideSharedPlugin.cjs.js +2 -0
- package/dist/_virtual/ProvideSharedPlugin.cjs.js.map +1 -0
- package/dist/_virtual/ProvideSharedPlugin.es.js +5 -0
- package/dist/_virtual/ProvideSharedPlugin.es.js.map +1 -0
- package/dist/_virtual/{index.cjs.cjs3.js → SharePlugin.cjs.js} +1 -1
- package/dist/_virtual/SharePlugin.cjs.js.map +1 -0
- package/dist/_virtual/SharePlugin.es.js +5 -0
- package/dist/_virtual/SharePlugin.es.js.map +1 -0
- package/dist/_virtual/SnapshotHandler.cjs.js +2 -0
- package/dist/_virtual/SnapshotHandler.cjs.js.map +1 -0
- package/dist/_virtual/SnapshotHandler.es.js +5 -0
- package/dist/_virtual/SnapshotHandler.es.js.map +1 -0
- package/dist/_virtual/{index.cjs.cjs.js → asyncHook.cjs.js} +1 -1
- package/dist/_virtual/asyncHook.cjs.js.map +1 -0
- package/dist/_virtual/asyncHook.es.js +5 -0
- package/dist/_virtual/asyncHook.es.js.map +1 -0
- package/dist/_virtual/asyncWaterfallHooks.cjs.js +2 -0
- package/dist/_virtual/asyncWaterfallHooks.cjs.js.map +1 -0
- package/dist/_virtual/asyncWaterfallHooks.es.js +5 -0
- package/dist/_virtual/asyncWaterfallHooks.es.js.map +1 -0
- package/dist/_virtual/{utils.cjs.cjs.js → browser.cjs.js} +1 -1
- package/dist/_virtual/browser.cjs.js.map +1 -0
- package/dist/_virtual/browser.es.js +5 -0
- package/dist/_virtual/browser.es.js.map +1 -0
- package/dist/_virtual/{index.cjs.cjs2.js → compare.cjs.js} +1 -1
- package/dist/_virtual/compare.cjs.js.map +1 -0
- package/dist/_virtual/compare.es.js +5 -0
- package/dist/_virtual/compare.es.js.map +1 -0
- package/dist/_virtual/constant.cjs.js +2 -0
- package/dist/_virtual/constant.cjs.js.map +1 -0
- package/dist/_virtual/constant.cjs2.js +2 -0
- package/dist/_virtual/constant.cjs2.js.map +1 -0
- package/dist/_virtual/constant.es.js +5 -0
- package/dist/_virtual/constant.es.js.map +1 -0
- package/dist/_virtual/constant.es2.js +5 -0
- package/dist/_virtual/constant.es2.js.map +1 -0
- package/dist/_virtual/constants.cjs2.js +2 -0
- package/dist/_virtual/constants.cjs2.js.map +1 -0
- package/dist/_virtual/constants.es2.js +5 -0
- package/dist/_virtual/constants.es2.js.map +1 -0
- package/dist/_virtual/{index.cjs.cjs4.js → context.cjs.js} +1 -1
- package/dist/_virtual/context.cjs.js.map +1 -0
- package/dist/_virtual/context.es.js +5 -0
- package/dist/_virtual/context.es.js.map +1 -0
- package/dist/_virtual/core.cjs.js +2 -0
- package/dist/_virtual/core.cjs.js.map +1 -0
- package/dist/_virtual/core.es.js +5 -0
- package/dist/_virtual/core.es.js.map +1 -0
- package/dist/_virtual/createModuleFederationConfig.cjs.js +2 -0
- package/dist/_virtual/createModuleFederationConfig.cjs.js.map +1 -0
- package/dist/_virtual/createModuleFederationConfig.es.js +5 -0
- package/dist/_virtual/createModuleFederationConfig.es.js.map +1 -0
- package/dist/_virtual/desc.cjs.js +2 -0
- package/dist/_virtual/desc.cjs.js.map +1 -0
- package/dist/_virtual/{index.cjs.es.js → desc.es.js} +1 -1
- package/dist/_virtual/desc.es.js.map +1 -0
- package/dist/_virtual/dom.cjs.js +2 -0
- package/dist/_virtual/dom.cjs.js.map +1 -0
- package/dist/_virtual/dom.es.js +5 -0
- package/dist/_virtual/dom.es.js.map +1 -0
- package/dist/_virtual/env.cjs.js +2 -0
- package/dist/_virtual/env.cjs.js.map +1 -0
- package/dist/_virtual/env.cjs2.js +2 -0
- package/dist/_virtual/env.cjs2.js.map +1 -0
- package/dist/_virtual/env.es.js +5 -0
- package/dist/_virtual/env.es.js.map +1 -0
- package/dist/_virtual/env.es2.js +5 -0
- package/dist/_virtual/env.es2.js.map +1 -0
- package/dist/_virtual/error-codes.cjs.js +2 -0
- package/dist/_virtual/error-codes.cjs.js.map +1 -0
- package/dist/_virtual/error-codes.es.js +5 -0
- package/dist/_virtual/error-codes.es.js.map +1 -0
- package/dist/_virtual/generate-preload-assets.cjs.js +2 -0
- package/dist/_virtual/generate-preload-assets.cjs.js.map +1 -0
- package/dist/_virtual/generate-preload-assets.es.js +5 -0
- package/dist/_virtual/generate-preload-assets.es.js.map +1 -0
- package/dist/_virtual/generateSnapshotFromManifest.cjs.js +2 -0
- package/dist/_virtual/generateSnapshotFromManifest.cjs.js.map +1 -0
- package/dist/_virtual/generateSnapshotFromManifest.es.js +5 -0
- package/dist/_virtual/generateSnapshotFromManifest.es.js.map +1 -0
- package/dist/_virtual/getShortErrorMsg.cjs.js +2 -0
- package/dist/_virtual/getShortErrorMsg.cjs.js.map +1 -0
- package/dist/_virtual/getShortErrorMsg.es.js +5 -0
- package/dist/_virtual/getShortErrorMsg.es.js.map +1 -0
- package/dist/_virtual/global.cjs.js +2 -0
- package/dist/_virtual/global.cjs.js.map +1 -0
- package/dist/_virtual/global.es.js +5 -0
- package/dist/_virtual/global.es.js.map +1 -0
- package/dist/_virtual/helpers.cjs.js +2 -0
- package/dist/_virtual/helpers.cjs.js.map +1 -0
- package/dist/_virtual/helpers.es.js +5 -0
- package/dist/_virtual/helpers.es.js.map +1 -0
- package/dist/_virtual/index.cjs.js +1 -1
- package/dist/_virtual/index.cjs10.js +1 -1
- package/dist/_virtual/index.cjs11.js +1 -1
- package/dist/_virtual/index.cjs12.js +1 -1
- package/dist/_virtual/index.cjs13.js +2 -0
- package/dist/_virtual/index.cjs13.js.map +1 -0
- package/dist/_virtual/index.cjs14.js +2 -0
- package/dist/_virtual/index.cjs14.js.map +1 -0
- package/dist/_virtual/index.cjs15.js +2 -0
- package/dist/_virtual/index.cjs15.js.map +1 -0
- package/dist/_virtual/index.cjs16.js +2 -0
- package/dist/_virtual/index.cjs16.js.map +1 -0
- package/dist/_virtual/index.cjs17.js +2 -0
- package/dist/_virtual/index.cjs17.js.map +1 -0
- package/dist/_virtual/index.cjs18.js +2 -0
- package/dist/_virtual/index.cjs18.js.map +1 -0
- package/dist/_virtual/index.cjs19.js +2 -0
- package/dist/_virtual/index.cjs19.js.map +1 -0
- package/dist/_virtual/index.cjs2.js +1 -1
- package/dist/_virtual/index.cjs20.js +2 -0
- package/dist/_virtual/index.cjs20.js.map +1 -0
- package/dist/_virtual/index.cjs21.js +2 -0
- package/dist/_virtual/index.cjs21.js.map +1 -0
- package/dist/_virtual/index.cjs22.js +2 -0
- package/dist/_virtual/index.cjs22.js.map +1 -0
- package/dist/_virtual/index.cjs23.js +2 -0
- package/dist/_virtual/index.cjs23.js.map +1 -0
- package/dist/_virtual/index.cjs24.js +2 -0
- package/dist/_virtual/index.cjs24.js.map +1 -0
- package/dist/_virtual/index.cjs3.js +1 -1
- package/dist/_virtual/index.cjs4.js +1 -1
- package/dist/_virtual/index.cjs5.js +1 -1
- package/dist/_virtual/index.cjs7.js +1 -1
- package/dist/_virtual/index.cjs8.js +1 -1
- package/dist/_virtual/index.cjs9.js +1 -1
- package/dist/_virtual/index.es.js +4 -5
- package/dist/_virtual/index.es10.js +2 -5
- package/dist/_virtual/index.es10.js.map +1 -1
- package/dist/_virtual/index.es11.js +2 -5
- package/dist/_virtual/index.es11.js.map +1 -1
- package/dist/_virtual/index.es12.js +2 -5
- package/dist/_virtual/index.es12.js.map +1 -1
- package/dist/_virtual/index.es13.js +5 -0
- package/dist/_virtual/index.es13.js.map +1 -0
- package/dist/_virtual/index.es14.js +8 -0
- package/dist/_virtual/index.es14.js.map +1 -0
- package/dist/_virtual/index.es15.js +5 -0
- package/dist/_virtual/index.es15.js.map +1 -0
- package/dist/_virtual/{utils.cjs.es.js → index.es16.js} +1 -1
- package/dist/_virtual/index.es16.js.map +1 -0
- package/dist/_virtual/index.es17.js +5 -0
- package/dist/_virtual/index.es17.js.map +1 -0
- package/dist/_virtual/index.es18.js +5 -0
- package/dist/_virtual/index.es18.js.map +1 -0
- package/dist/_virtual/index.es19.js +5 -0
- package/dist/_virtual/index.es19.js.map +1 -0
- package/dist/_virtual/index.es2.js +6 -2
- package/dist/_virtual/index.es2.js.map +1 -1
- package/dist/_virtual/index.es20.js +5 -0
- package/dist/_virtual/index.es20.js.map +1 -0
- package/dist/_virtual/index.es21.js +5 -0
- package/dist/_virtual/index.es21.js.map +1 -0
- package/dist/_virtual/index.es22.js +8 -0
- package/dist/_virtual/index.es22.js.map +1 -0
- package/dist/_virtual/index.es23.js +8 -0
- package/dist/_virtual/index.es23.js.map +1 -0
- package/dist/_virtual/index.es24.js +8 -0
- package/dist/_virtual/index.es24.js.map +1 -0
- package/dist/_virtual/index.es3.js +2 -5
- package/dist/_virtual/index.es3.js.map +1 -1
- package/dist/_virtual/index.es4.js +5 -2
- package/dist/_virtual/index.es4.js.map +1 -1
- package/dist/_virtual/index.es5.js +2 -5
- package/dist/_virtual/index.es5.js.map +1 -1
- package/dist/_virtual/index.es6.js +2 -2
- package/dist/_virtual/index.es7.js +2 -2
- package/dist/_virtual/index.es8.js +2 -5
- package/dist/_virtual/index.es8.js.map +1 -1
- package/dist/_virtual/index.es9.js +2 -2
- package/dist/_virtual/load.cjs.js +2 -0
- package/dist/_virtual/load.cjs.js.map +1 -0
- package/dist/_virtual/load.es.js +5 -0
- package/dist/_virtual/load.es.js.map +1 -0
- package/dist/_virtual/logger.cjs.js +2 -0
- package/dist/_virtual/logger.cjs.js.map +1 -0
- package/dist/_virtual/logger.cjs2.js +2 -0
- package/dist/_virtual/logger.cjs2.js.map +1 -0
- package/dist/_virtual/logger.es.js +5 -0
- package/dist/_virtual/logger.es.js.map +1 -0
- package/dist/_virtual/logger.es2.js +5 -0
- package/dist/_virtual/logger.es2.js.map +1 -0
- package/dist/_virtual/manifest.cjs.js +2 -0
- package/dist/_virtual/manifest.cjs.js.map +1 -0
- package/dist/_virtual/manifest.es.js +5 -0
- package/dist/_virtual/manifest.es.js.map +1 -0
- package/dist/_virtual/node.cjs.js +2 -0
- package/dist/_virtual/node.cjs.js.map +1 -0
- package/dist/_virtual/node.es.js +5 -0
- package/dist/_virtual/node.es.js.map +1 -0
- package/dist/_virtual/normalizeOptions.cjs.js +2 -0
- package/dist/_virtual/normalizeOptions.cjs.js.map +1 -0
- package/dist/_virtual/normalizeOptions.es.js +5 -0
- package/dist/_virtual/normalizeOptions.es.js.map +1 -0
- package/dist/_virtual/parser.cjs.js +2 -0
- package/dist/_virtual/parser.cjs.js.map +1 -0
- package/dist/_virtual/parser.es.js +5 -0
- package/dist/_virtual/parser.es.js.map +1 -0
- package/dist/_virtual/plugin.cjs.js +2 -0
- package/dist/_virtual/plugin.cjs.js.map +1 -0
- package/dist/_virtual/plugin.es.js +5 -0
- package/dist/_virtual/plugin.es.js.map +1 -0
- package/dist/_virtual/pluginSystem.cjs.js +2 -0
- package/dist/_virtual/pluginSystem.cjs.js.map +1 -0
- package/dist/_virtual/pluginSystem.es.js +5 -0
- package/dist/_virtual/pluginSystem.es.js.map +1 -0
- package/dist/_virtual/preload.cjs.js +2 -0
- package/dist/_virtual/preload.cjs.js.map +1 -0
- package/dist/_virtual/preload.es.js +5 -0
- package/dist/_virtual/preload.es.js.map +1 -0
- package/dist/_virtual/runtime.cjs3.js +2 -0
- package/dist/_virtual/runtime.cjs3.js.map +1 -0
- package/dist/_virtual/runtime.cjs4.js +2 -0
- package/dist/_virtual/runtime.cjs4.js.map +1 -0
- package/dist/_virtual/runtime.cjs5.js +2 -0
- package/dist/_virtual/runtime.cjs5.js.map +1 -0
- package/dist/_virtual/runtime.es3.js +5 -0
- package/dist/_virtual/runtime.es3.js.map +1 -0
- package/dist/_virtual/runtime.es4.js +5 -0
- package/dist/_virtual/runtime.es4.js.map +1 -0
- package/dist/_virtual/runtime.es5.js +5 -0
- package/dist/_virtual/runtime.es5.js.map +1 -0
- package/dist/_virtual/share.cjs.js +2 -0
- package/dist/_virtual/share.cjs.js.map +1 -0
- package/dist/_virtual/share.es.js +5 -0
- package/dist/_virtual/share.es.js.map +1 -0
- package/dist/_virtual/syncHook.cjs.js +2 -0
- package/dist/_virtual/syncHook.cjs.js.map +1 -0
- package/dist/_virtual/syncHook.es.js +5 -0
- package/dist/_virtual/syncHook.es.js.map +1 -0
- package/dist/_virtual/syncWaterfallHook.cjs.js +2 -0
- package/dist/_virtual/syncWaterfallHook.cjs.js.map +1 -0
- package/dist/_virtual/syncWaterfallHook.es.js +5 -0
- package/dist/_virtual/syncWaterfallHook.es.js.map +1 -0
- package/dist/_virtual/tool.cjs.js +2 -0
- package/dist/_virtual/tool.cjs.js.map +1 -0
- package/dist/_virtual/tool.es.js +5 -0
- package/dist/_virtual/tool.es.js.map +1 -0
- package/dist/_virtual/utils.cjs.js +2 -0
- package/dist/_virtual/utils.cjs.js.map +1 -0
- package/dist/_virtual/utils.cjs2.js +2 -0
- package/dist/_virtual/utils.cjs2.js.map +1 -0
- package/dist/_virtual/utils.cjs3.js +2 -0
- package/dist/_virtual/utils.cjs3.js.map +1 -0
- package/dist/_virtual/utils.es.js +5 -0
- package/dist/_virtual/utils.es.js.map +1 -0
- package/dist/_virtual/utils.es2.js +5 -0
- package/dist/_virtual/utils.es2.js.map +1 -0
- package/dist/_virtual/utils.es3.js +5 -0
- package/dist/_virtual/utils.es3.js.map +1 -0
- package/dist/api.cjs.js +1 -1
- package/dist/api.es.js +388 -385
- package/dist/api.es.js.map +1 -1
- package/dist/context.cjs.js +1 -1
- package/dist/context.es.js +5 -5
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +18 -17
- package/dist/index.es.js.map +1 -1
- package/dist/node_modules/@reduxjs/toolkit/dist/query/rtk-query.modern.es.js +10 -10
- package/dist/node_modules/graphql-request/build/legacy/helpers/runRequest.es.js +1 -1
- package/dist/node_modules/match-sorter/dist/match-sorter.esm.cjs.js +1 -1
- package/dist/node_modules/match-sorter/dist/match-sorter.esm.es.js +1 -1
- package/dist/node_modules/parse-numeric-range/index.cjs.js +1 -1
- package/dist/node_modules/parse-numeric-range/index.cjs.js.map +1 -1
- package/dist/node_modules/parse-numeric-range/index.es.js +1 -1
- package/dist/node_modules/react-use-websocket/dist/index.cjs.js +1 -1
- package/dist/node_modules/react-use-websocket/dist/index.es.js +1 -1
- package/dist/node_modules/rehype/node_modules/unified/lib/index.cjs.js +1 -1
- package/dist/node_modules/rehype/node_modules/unified/lib/index.es.js +2 -2
- package/dist/node_modules/rehype/node_modules/vfile/lib/index.cjs.js +1 -1
- package/dist/node_modules/rehype/node_modules/vfile/lib/index.es.js +1 -1
- package/dist/node_modules/rehype-parse/lib/index.cjs.js +1 -1
- package/dist/node_modules/rehype-parse/lib/index.es.js +1 -1
- package/dist/node_modules/rehype-prism-plus/dist/index.es.cjs.js +1 -1
- package/dist/node_modules/rehype-prism-plus/dist/index.es.cjs.js.map +1 -1
- package/dist/node_modules/rehype-prism-plus/dist/index.es.es.js +1 -1
- package/dist/node_modules/remove-accents/index.cjs.js +1 -1
- package/dist/node_modules/remove-accents/index.es.js +1 -1
- package/dist/shared/node_modules/@module-federation/enhanced/dist/src/runtime.cjs.js +1 -1
- package/dist/shared/node_modules/@module-federation/enhanced/dist/src/runtime.cjs.js.map +1 -1
- package/dist/shared/node_modules/@module-federation/enhanced/dist/src/runtime.es.js +17 -19
- package/dist/shared/node_modules/@module-federation/enhanced/dist/src/runtime.es.js.map +1 -1
- package/dist/shared/node_modules/@module-federation/error-codes/dist/browser.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/error-codes/dist/browser.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/error-codes/dist/browser.es.js +17 -0
- package/dist/shared/node_modules/@module-federation/error-codes/dist/browser.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/error-codes/dist/desc.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/error-codes/dist/desc.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/error-codes/dist/desc.es.js +33 -0
- package/dist/shared/node_modules/@module-federation/error-codes/dist/desc.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/error-codes/dist/error-codes.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/error-codes/dist/error-codes.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/error-codes/dist/error-codes.es.js +12 -0
- package/dist/shared/node_modules/@module-federation/error-codes/dist/error-codes.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/error-codes/dist/getShortErrorMsg.cjs.js +4 -0
- package/dist/shared/node_modules/@module-federation/error-codes/dist/getShortErrorMsg.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/error-codes/dist/getShortErrorMsg.es.js +17 -0
- package/dist/shared/node_modules/@module-federation/error-codes/dist/getShortErrorMsg.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/error-codes/dist/index.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/error-codes/dist/index.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/error-codes/dist/index.es.js +16 -0
- package/dist/shared/node_modules/@module-federation/error-codes/dist/index.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime/dist/index.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime/dist/index.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime/dist/index.es.js +80 -0
- package/dist/shared/node_modules/@module-federation/runtime/dist/index.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime/dist/utils.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime/dist/utils.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime/dist/utils.es.js +20 -0
- package/dist/shared/node_modules/@module-federation/runtime/dist/utils.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/_virtual/_rolldown/runtime.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/_virtual/_rolldown/runtime.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/_virtual/_rolldown/runtime.es.js +20 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/_virtual/_rolldown/runtime.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/constant.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/constant.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/constant.es.js +12 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/constant.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/core.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/core.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/core.es.js +138 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/core.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/global.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/global.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/global.es.js +110 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/global.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/helpers.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/helpers.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/helpers.es.js +50 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/helpers.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/index.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/index.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/index.es.js +45 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/index.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/module/index.cjs.js +3 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/module/index.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/module/index.es.js +113 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/module/index.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/plugins/generate-preload-assets.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/plugins/generate-preload-assets.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/plugins/generate-preload-assets.es.js +148 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/plugins/generate-preload-assets.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/plugins/snapshot/SnapshotHandler.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/plugins/snapshot/SnapshotHandler.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/plugins/snapshot/SnapshotHandler.es.js +165 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/plugins/snapshot/SnapshotHandler.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/plugins/snapshot/index.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/plugins/snapshot/index.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/plugins/snapshot/index.es.js +64 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/plugins/snapshot/index.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/remote/index.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/remote/index.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/remote/index.es.js +253 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/remote/index.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/shared/index.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/shared/index.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/shared/index.es.js +250 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/shared/index.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/type/index.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/type/index.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/type/index.es.js +18 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/type/index.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/context.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/context.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/context.es.js +46 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/context.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/env.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/env.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/env.es.js +14 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/env.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/asyncHook.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/asyncHook.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/asyncHook.es.js +25 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/asyncHook.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/asyncWaterfallHooks.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/asyncWaterfallHooks.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/asyncWaterfallHooks.es.js +40 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/asyncWaterfallHooks.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/index.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/index.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/index.es.js +14 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/index.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/pluginSystem.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/pluginSystem.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/pluginSystem.es.js +36 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/pluginSystem.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/syncHook.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/syncHook.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/syncHook.es.js +37 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/syncHook.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/syncWaterfallHook.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/syncWaterfallHook.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/syncWaterfallHook.es.js +41 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/syncWaterfallHook.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/index.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/index.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/index.es.js +16 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/index.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/load.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/load.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/load.es.js +166 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/load.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/logger.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/logger.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/logger.es.js +28 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/logger.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/manifest.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/manifest.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/manifest.es.js +51 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/manifest.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/plugin.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/plugin.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/plugin.es.js +30 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/plugin.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/preload.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/preload.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/preload.es.js +145 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/preload.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/semver/compare.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/semver/compare.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/semver/compare.es.js +51 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/semver/compare.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/semver/constants.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/semver/constants.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/semver/constants.es.js +12 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/semver/constants.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/semver/index.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/semver/index.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/semver/index.es.js +71 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/semver/index.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/semver/parser.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/semver/parser.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/semver/parser.es.js +44 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/semver/parser.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/semver/utils.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/semver/utils.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/semver/utils.es.js +29 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/semver/utils.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/share.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/share.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/share.es.js +218 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/share.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/tool.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/tool.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/tool.es.js +69 -0
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/tool.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-tools/dist/runtime.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/runtime-tools/dist/runtime.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/runtime-tools/dist/runtime.es.js +20 -0
- package/dist/shared/node_modules/@module-federation/runtime-tools/dist/runtime.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/_virtual/_rolldown/runtime.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/_virtual/_rolldown/runtime.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/_virtual/_rolldown/runtime.es.js +20 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/_virtual/_rolldown/runtime.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/constant.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/constant.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/constant.es.js +36 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/constant.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/createModuleFederationConfig.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/createModuleFederationConfig.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/createModuleFederationConfig.es.js +12 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/createModuleFederationConfig.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/dom.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/dom.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/dom.es.js +135 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/dom.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/env.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/env.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/env.es.js +33 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/env.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/generateSnapshotFromManifest.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/generateSnapshotFromManifest.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/generateSnapshotFromManifest.es.js +108 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/generateSnapshotFromManifest.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/index.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/index.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/index.es.js +58 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/index.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/logger.cjs.js +5 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/logger.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/logger.es.js +127 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/logger.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/node.cjs.js +3 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/node.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/node.es.js +97 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/node.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/normalizeOptions.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/normalizeOptions.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/normalizeOptions.es.js +23 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/normalizeOptions.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/types/plugins/ConsumeSharedPlugin.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/types/plugins/ConsumeSharedPlugin.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/types/plugins/ConsumeSharedPlugin.es.js +18 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/types/plugins/ConsumeSharedPlugin.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/types/plugins/ContainerPlugin.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/types/plugins/ContainerPlugin.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/types/plugins/ContainerPlugin.es.js +18 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/types/plugins/ContainerPlugin.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/types/plugins/ContainerReferencePlugin.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/types/plugins/ContainerReferencePlugin.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/types/plugins/ContainerReferencePlugin.es.js +18 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/types/plugins/ContainerReferencePlugin.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/types/plugins/ModuleFederationPlugin.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/types/plugins/ModuleFederationPlugin.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/types/plugins/ModuleFederationPlugin.es.js +18 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/types/plugins/ModuleFederationPlugin.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/types/plugins/ProvideSharedPlugin.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/types/plugins/ProvideSharedPlugin.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/types/plugins/ProvideSharedPlugin.es.js +18 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/types/plugins/ProvideSharedPlugin.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/types/plugins/SharePlugin.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/types/plugins/SharePlugin.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/types/plugins/SharePlugin.es.js +18 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/types/plugins/SharePlugin.es.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/utils.cjs.js +2 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/utils.cjs.js.map +1 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/utils.es.js +83 -0
- package/dist/shared/node_modules/@module-federation/sdk/dist/utils.es.js.map +1 -0
- package/dist/shared/node_modules/prop-types/index.cjs.js +1 -1
- package/dist/shared/node_modules/prop-types/index.cjs.js.map +1 -1
- package/dist/shared/node_modules/prop-types/index.es.js +1 -1
- package/dist/shared/node_modules/react-is/index.cjs.js +1 -1
- package/dist/shared/node_modules/react-is/index.cjs.js.map +1 -1
- package/dist/shared/node_modules/react-is/index.es.js +1 -1
- package/dist/shared/node_modules/react-transition-group/esm/CSSTransition.cjs.js +1 -1
- package/dist/shared/node_modules/react-transition-group/esm/CSSTransition.cjs.js.map +1 -1
- package/dist/shared/node_modules/react-transition-group/esm/CSSTransition.es.js +1 -1
- package/dist/shared/node_modules/react-transition-group/esm/Transition.cjs.js +1 -1
- package/dist/shared/node_modules/react-transition-group/esm/Transition.cjs.js.map +1 -1
- package/dist/shared/node_modules/react-transition-group/esm/Transition.es.js +1 -1
- package/dist/shared/node_modules/react-transition-group/esm/utils/PropTypes.cjs.js +1 -1
- package/dist/shared/node_modules/react-transition-group/esm/utils/PropTypes.cjs.js.map +1 -1
- package/dist/shared/node_modules/react-transition-group/esm/utils/PropTypes.es.js +1 -1
- package/dist/shared/src/api/generated/access.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/access.es.js.map +1 -1
- package/dist/shared/src/api/generated/graphql.cjs.js +47 -21
- package/dist/shared/src/api/generated/graphql.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/graphql.es.js +103 -73
- package/dist/shared/src/api/generated/graphql.es.js.map +1 -1
- package/dist/shared/src/api/generated/users.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/users.es.js.map +1 -1
- package/dist/shared/src/api/queries/entities/patchDetailsPanel.cjs.js +1 -1
- package/dist/shared/src/api/queries/entities/patchDetailsPanel.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/entities/patchDetailsPanel.es.js +3 -2
- package/dist/shared/src/api/queries/entities/patchDetailsPanel.es.js.map +1 -1
- package/dist/shared/src/api/queries/entities/transformDetailsPanelData.cjs.js +1 -1
- package/dist/shared/src/api/queries/entities/transformDetailsPanelData.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/entities/transformDetailsPanelData.es.js +4 -3
- package/dist/shared/src/api/queries/entities/transformDetailsPanelData.es.js.map +1 -1
- package/dist/shared/src/api/queries/entityLists/resolveEntityParents.cjs.js +2 -0
- package/dist/shared/src/api/queries/entityLists/resolveEntityParents.cjs.js.map +1 -0
- package/dist/shared/src/api/queries/entityLists/resolveEntityParents.es.js +85 -0
- package/dist/shared/src/api/queries/entityLists/resolveEntityParents.es.js.map +1 -0
- package/dist/shared/src/api/queries/overview/getOverview.cjs.js +1 -1
- package/dist/shared/src/api/queries/overview/getOverview.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/overview/getOverview.es.js +137 -136
- package/dist/shared/src/api/queries/overview/getOverview.es.js.map +1 -1
- package/dist/shared/src/api/queries/overview/updateOverview.cjs.js +1 -1
- package/dist/shared/src/api/queries/overview/updateOverview.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/overview/updateOverview.es.js +7 -6
- package/dist/shared/src/api/queries/overview/updateOverview.es.js.map +1 -1
- package/dist/shared/src/api/queries/products/getFolderProducts.cjs.js +2 -0
- package/dist/shared/src/api/queries/products/getFolderProducts.cjs.js.map +1 -0
- package/dist/shared/src/api/queries/products/getFolderProducts.es.js +68 -0
- package/dist/shared/src/api/queries/products/getFolderProducts.es.js.map +1 -0
- package/dist/shared/src/api/queries/users/getUsers.cjs.js +5 -5
- package/dist/shared/src/api/queries/users/getUsers.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/users/getUsers.es.js +19 -19
- package/dist/shared/src/api/queries/users/getUsers.es.js.map +1 -1
- package/dist/shared/src/components/DetailsDialog/DetailsDialog.cjs.js +13 -1
- package/dist/shared/src/components/DetailsDialog/DetailsDialog.cjs.js.map +1 -1
- package/dist/shared/src/components/DetailsDialog/DetailsDialog.es.js +73 -25
- package/dist/shared/src/components/DetailsDialog/DetailsDialog.es.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.cjs.js +1 -1
- package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.cjs.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.es.js +3 -2
- package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.es.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.cjs.js +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.cjs.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.es.js +3 -2
- package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.es.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.styles.cjs.js +7 -10
- package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.styles.cjs.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.styles.es.js +7 -10
- package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.styles.es.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/DetailsPanelDetails.cjs.js +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/DetailsPanelDetails.cjs.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/DetailsPanelDetails.es.js +3 -2
- package/dist/shared/src/components/DetailsPanelDetails/DetailsPanelDetails.es.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.cjs.js +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.cjs.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.es.js +3 -2
- package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.es.js.map +1 -1
- package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.cjs.js +1 -1
- package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.cjs.js.map +1 -1
- package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.es.js +35 -34
- package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.es.js.map +1 -1
- package/dist/shared/src/components/FeaturedVersionOrder/FeaturedVersionOrder.cjs.js +5 -5
- package/dist/shared/src/components/FeaturedVersionOrder/FeaturedVersionOrder.cjs.js.map +1 -1
- package/dist/shared/src/components/FeaturedVersionOrder/FeaturedVersionOrder.es.js +17 -18
- package/dist/shared/src/components/Feedback/FeedbackContext.cjs.js +1 -1
- package/dist/shared/src/components/Feedback/FeedbackContext.cjs.js.map +1 -1
- package/dist/shared/src/components/Feedback/FeedbackContext.es.js +5 -4
- package/dist/shared/src/components/Feedback/FeedbackContext.es.js.map +1 -1
- package/dist/shared/src/components/LinksManager/AddNewLinks.cjs.js +1 -1
- package/dist/shared/src/components/LinksManager/AddNewLinks.cjs.js.map +1 -1
- package/dist/shared/src/components/LinksManager/AddNewLinks.es.js +17 -16
- package/dist/shared/src/components/LinksManager/AddNewLinks.es.js.map +1 -1
- package/dist/shared/src/components/LinksManager/CellEditingDialog.cjs.js +2 -2
- package/dist/shared/src/components/LinksManager/CellEditingDialog.cjs.js.map +1 -1
- package/dist/shared/src/components/LinksManager/CellEditingDialog.es.js +69 -61
- package/dist/shared/src/components/LinksManager/CellEditingDialog.es.js.map +1 -1
- package/dist/shared/src/components/LinksManager/LinkManagerItem.cjs.js +1 -1
- package/dist/shared/src/components/LinksManager/LinkManagerItem.cjs.js.map +1 -1
- package/dist/shared/src/components/LinksManager/LinkManagerItem.es.js +72 -36
- package/dist/shared/src/components/LinksManager/LinkManagerItem.es.js.map +1 -1
- package/dist/shared/src/components/LinksManager/LinksManager.cjs.js +1 -1
- package/dist/shared/src/components/LinksManager/LinksManager.cjs.js.map +1 -1
- package/dist/shared/src/components/LinksManager/LinksManager.es.js +120 -89
- package/dist/shared/src/components/LinksManager/LinksManager.es.js.map +1 -1
- package/dist/shared/src/components/LinksManager/LinksManager.styled.cjs.js +52 -12
- package/dist/shared/src/components/LinksManager/LinksManager.styled.cjs.js.map +1 -1
- package/dist/shared/src/components/LinksManager/LinksManager.styled.es.js +63 -21
- package/dist/shared/src/components/LinksManager/LinksManager.styled.es.js.map +1 -1
- package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.cjs.js +1 -1
- package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.cjs.js.map +1 -1
- package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.es.js +18 -17
- package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.es.js.map +1 -1
- package/dist/shared/src/components/LinksManager/utils/groupLinks.cjs.js +2 -0
- package/dist/shared/src/components/LinksManager/utils/groupLinks.cjs.js.map +1 -0
- package/dist/shared/src/components/LinksManager/utils/groupLinks.es.js +18 -0
- package/dist/shared/src/components/LinksManager/utils/groupLinks.es.js.map +1 -0
- package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.cjs.js +1 -1
- package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.cjs.js.map +1 -1
- package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.es.js +3 -2
- package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.es.js.map +1 -1
- package/dist/shared/src/components/Powerpack/PowerpackDialog.cjs.js +1 -1
- package/dist/shared/src/components/Powerpack/PowerpackDialog.cjs.js.map +1 -1
- package/dist/shared/src/components/Powerpack/PowerpackDialog.es.js +11 -10
- package/dist/shared/src/components/Powerpack/PowerpackDialog.es.js.map +1 -1
- package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.cjs.js +1 -1
- package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.cjs.js.map +1 -1
- package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js +18 -17
- package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js.map +1 -1
- package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.cjs.js +1 -1
- package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.cjs.js.map +1 -1
- package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.es.js +11 -10
- package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.es.js.map +1 -1
- package/dist/shared/src/components/QuillListStyles/QuillListStyles.cjs.js +5 -0
- package/dist/shared/src/components/QuillListStyles/QuillListStyles.cjs.js.map +1 -1
- package/dist/shared/src/components/QuillListStyles/QuillListStyles.es.js +5 -0
- package/dist/shared/src/components/QuillListStyles/QuillListStyles.es.js.map +1 -1
- package/dist/shared/src/components/RemotePage/ProjectPageRemote.cjs.js +1 -1
- package/dist/shared/src/components/RemotePage/ProjectPageRemote.cjs.js.map +1 -1
- package/dist/shared/src/components/RemotePage/ProjectPageRemote.es.js +74 -69
- package/dist/shared/src/components/RemotePage/ProjectPageRemote.es.js.map +1 -1
- package/dist/shared/src/components/RemotePage/RemotePageWrapper.cjs.js +1 -1
- package/dist/shared/src/components/RemotePage/RemotePageWrapper.cjs.js.map +1 -1
- package/dist/shared/src/components/RemotePage/RemotePageWrapper.es.js +18 -17
- package/dist/shared/src/components/RemotePage/RemotePageWrapper.es.js.map +1 -1
- package/dist/shared/src/components/RenameForm/RenameForm.cjs.js +1 -1
- package/dist/shared/src/components/RenameForm/RenameForm.cjs.js.map +1 -1
- package/dist/shared/src/components/RenameForm/RenameForm.es.js +19 -18
- package/dist/shared/src/components/RenameForm/RenameForm.es.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.cjs.js +1 -1
- package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.cjs.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.es.js +3 -2
- package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.es.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesList.cjs.js +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesList.cjs.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesList.es.js +142 -134
- package/dist/shared/src/components/ReviewablesList/ReviewablesList.es.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.cjs.js +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.cjs.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.es.js +93 -87
- package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.es.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.cjs.js +1 -1
- package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.cjs.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.es.js +11 -10
- package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.es.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.cjs.js +1 -1
- package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.cjs.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.es.js +3 -2
- package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.es.js.map +1 -1
- package/dist/shared/src/components/ReviewablesSelector/ReviewablesSelector.cjs.js +1 -1
- package/dist/shared/src/components/ReviewablesSelector/ReviewablesSelector.cjs.js.map +1 -1
- package/dist/shared/src/components/ReviewablesSelector/ReviewablesSelector.es.js +12 -11
- package/dist/shared/src/components/ReviewablesSelector/ReviewablesSelector.es.js.map +1 -1
- package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.cjs.js +1 -1
- package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.cjs.js.map +1 -1
- package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.es.js +134 -137
- package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.es.js.map +1 -1
- package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.cjs.js +1 -1
- package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.cjs.js.map +1 -1
- package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js +11 -10
- package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js.map +1 -1
- package/dist/shared/src/components/SortingSetting/SortingSetting.cjs.js +1 -1
- package/dist/shared/src/components/SortingSetting/SortingSetting.cjs.js.map +1 -1
- package/dist/shared/src/components/SortingSetting/SortingSetting.es.js +6 -7
- package/dist/shared/src/components/StyledLink/StyledLink.cjs.js +2 -2
- package/dist/shared/src/components/StyledLink/StyledLink.cjs.js.map +1 -1
- package/dist/shared/src/components/StyledLink/StyledLink.es.js +1 -2
- package/dist/shared/src/components/SubtasksManager/SubtasksManagerWrapper.cjs.js +1 -1
- package/dist/shared/src/components/SubtasksManager/SubtasksManagerWrapper.cjs.js.map +1 -1
- package/dist/shared/src/components/SubtasksManager/SubtasksManagerWrapper.es.js +3 -2
- package/dist/shared/src/components/SubtasksManager/SubtasksManagerWrapper.es.js.map +1 -1
- package/dist/shared/src/components/VersionUploader/components/UploadVersionDialog.cjs.js +2 -2
- package/dist/shared/src/components/VersionUploader/components/UploadVersionDialog.cjs.js.map +1 -1
- package/dist/shared/src/components/VersionUploader/components/UploadVersionDialog.es.js +25 -25
- package/dist/shared/src/components/VersionUploader/components/UploadVersionDialog.es.js.map +1 -1
- package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.cjs.js +26 -11
- package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.cjs.js.map +1 -1
- package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.es.js +199 -140
- package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.es.js.map +1 -1
- package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.cjs.js +1 -1
- package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.cjs.js.map +1 -1
- package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.es.js +185 -140
- package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.es.js.map +1 -1
- package/dist/shared/src/components/Watchers/Watchers.cjs.js +1 -1
- package/dist/shared/src/components/Watchers/Watchers.cjs.js.map +1 -1
- package/dist/shared/src/components/Watchers/Watchers.es.js +3 -2
- package/dist/shared/src/components/Watchers/Watchers.es.js.map +1 -1
- package/dist/shared/src/containers/Actions/ActionConfigDialog.cjs.js +1 -1
- package/dist/shared/src/containers/Actions/ActionConfigDialog.cjs.js.map +1 -1
- package/dist/shared/src/containers/Actions/ActionConfigDialog.es.js +11 -10
- package/dist/shared/src/containers/Actions/ActionConfigDialog.es.js.map +1 -1
- package/dist/shared/src/containers/Actions/Actions.cjs.js +1 -1
- package/dist/shared/src/containers/Actions/Actions.cjs.js.map +1 -1
- package/dist/shared/src/containers/Actions/Actions.es.js +3 -2
- package/dist/shared/src/containers/Actions/Actions.es.js.map +1 -1
- package/dist/shared/src/containers/Actions/InteractiveActionDialog.cjs.js +1 -1
- package/dist/shared/src/containers/Actions/InteractiveActionDialog.cjs.js.map +1 -1
- package/dist/shared/src/containers/Actions/InteractiveActionDialog.es.js +11 -10
- package/dist/shared/src/containers/Actions/InteractiveActionDialog.es.js.map +1 -1
- package/dist/shared/src/containers/ContextMenu/useCreateContextMenu.cjs.js +1 -1
- package/dist/shared/src/containers/ContextMenu/useCreateContextMenu.cjs.js.map +1 -1
- package/dist/shared/src/containers/ContextMenu/useCreateContextMenu.es.js +0 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js +23 -22
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/components/DetailsPanelFiles/DetailsPanelFiles.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/components/DetailsPanelFiles/DetailsPanelFiles.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/components/DetailsPanelFiles/DetailsPanelFiles.es.js +11 -10
- package/dist/shared/src/containers/DetailsPanel/components/DetailsPanelFiles/DetailsPanelFiles.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/components/DetailsPanelFloating/DetailsPanelFloating.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/components/DetailsPanelFloating/DetailsPanelFloating.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/components/DetailsPanelFloating/DetailsPanelFloating.es.js +14 -14
- package/dist/shared/src/containers/DetailsPanel/components/DetailsPanelFloating/DetailsPanelFloating.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/components/DetailsPanelHeader/DetailsPanelHeader.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/components/DetailsPanelHeader/DetailsPanelHeader.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/components/DetailsPanelHeader/DetailsPanelHeader.es.js +15 -14
- package/dist/shared/src/containers/DetailsPanel/components/DetailsPanelHeader/DetailsPanelHeader.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/components/DetailsPanelSlideOut/DetailsPanelSlideOut.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/components/DetailsPanelSlideOut/DetailsPanelSlideOut.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/components/DetailsPanelSlideOut/DetailsPanelSlideOut.es.js +3 -2
- package/dist/shared/src/containers/DetailsPanel/components/DetailsPanelSlideOut/DetailsPanelSlideOut.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/components/TabHeaderAndFilters/TabHeaderAndFilters.styled.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/components/TabHeaderAndFilters/TabHeaderAndFilters.styled.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/components/TabHeaderAndFilters/TabHeaderAndFilters.styled.es.js +27 -26
- package/dist/shared/src/containers/DetailsPanel/components/TabHeaderAndFilters/TabHeaderAndFilters.styled.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/containers/DetailsPanelSubtasks.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/containers/DetailsPanelSubtasks.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/containers/DetailsPanelSubtasks.es.js +11 -10
- package/dist/shared/src/containers/DetailsPanel/containers/DetailsPanelSubtasks.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/containers/FeedContextWrapper.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/containers/FeedContextWrapper.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/containers/FeedContextWrapper.es.js +11 -10
- package/dist/shared/src/containers/DetailsPanel/containers/FeedContextWrapper.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/containers/FeedWrapper.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/containers/FeedWrapper.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/containers/FeedWrapper.es.js +3 -2
- package/dist/shared/src/containers/DetailsPanel/containers/FeedWrapper.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.es.js +3 -2
- package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.es.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.cjs.js +2 -2
- package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.cjs.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.es.js +60 -47
- package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.es.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.cjs.js +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.cjs.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.es.js +11 -6
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.es.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.cjs.js +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.cjs.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.es.js +11 -6
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.es.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.cjs.js +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.cjs.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.es.js +11 -6
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.es.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.cjs.js +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.cjs.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.es.js +3 -2
- package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.es.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/hooks/usePreserveChildSelectionByName.cjs.js +2 -0
- package/dist/shared/src/containers/EntityPickerDialog/hooks/usePreserveChildSelectionByName.cjs.js.map +1 -0
- package/dist/shared/src/containers/EntityPickerDialog/hooks/usePreserveChildSelectionByName.es.js +70 -0
- package/dist/shared/src/containers/EntityPickerDialog/hooks/usePreserveChildSelectionByName.es.js.map +1 -0
- package/dist/shared/src/containers/Feed/Feed.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/Feed.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/Feed.es.js +248 -151
- package/dist/shared/src/containers/Feed/Feed.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityCategorySelect/CategoryDropdownItem.es.js +3 -3
- package/dist/shared/src/containers/Feed/components/ActivityCheckbox/ActivityCheckbox.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityCheckbox/ActivityCheckbox.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityCheckbox/ActivityCheckbox.es.js +11 -10
- package/dist/shared/src/containers/Feed/components/ActivityCheckbox/ActivityCheckbox.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.es.js +9 -8
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.styled.cjs.js +1 -0
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.styled.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.styled.es.js +1 -0
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.styled.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityCommentMenu.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityCommentMenu.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityCommentMenu.es.js +12 -11
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityCommentMenu.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityStatus/ActivityStatus.es.js +3 -3
- package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.es.js +11 -10
- package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/CommentInput/InputMarkdownConvert.cjs.js +4 -4
- package/dist/shared/src/containers/Feed/components/CommentInput/InputMarkdownConvert.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/CommentInput/InputMarkdownConvert.es.js +31 -32
- package/dist/shared/src/containers/Feed/components/CommentInput/InputMarkdownConvert.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/CommentInput/quillToMarkdown.cjs.js +11 -7
- package/dist/shared/src/containers/Feed/components/CommentInput/quillToMarkdown.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/CommentInput/quillToMarkdown.es.js +60 -42
- package/dist/shared/src/containers/Feed/components/CommentInput/quillToMarkdown.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/FilesGrid/FilesGrid.styled.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/components/FilesGrid/FilesGrid.styled.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/FilesGrid/FilesGrid.styled.es.js +3 -3
- package/dist/shared/src/containers/Feed/components/FilesGrid/FilesGrid.styled.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.es.js +11 -10
- package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/context/FeedContext.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/context/FeedContext.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/context/FeedContext.es.js +6 -5
- package/dist/shared/src/containers/Feed/context/FeedContext.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.es.js +3 -2
- package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/hooks/useTableKeyboardNavigation.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/hooks/useTableKeyboardNavigation.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/hooks/useTableKeyboardNavigation.es.js +6 -7
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js +34 -32
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.styled.cjs.js +14 -5
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.styled.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.styled.es.js +11 -2
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.styled.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js +12 -11
- package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/ColumnDndProvider.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/ColumnDndProvider.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/ColumnDndProvider.es.js +18 -17
- package/dist/shared/src/containers/ProjectTreeTable/components/ColumnDndProvider.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.es.js +9 -8
- package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.es.js +11 -10
- package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingContext.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingContext.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.es.js +92 -83
- package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ClipboardContext.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ClipboardContext.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ClipboardContext.es.js +5 -4
- package/dist/shared/src/containers/ProjectTreeTable/context/ClipboardContext.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.es.js +5 -4
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/SelectedRowsProvider.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/SelectedRowsProvider.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/SelectedRowsProvider.es.js +16 -16
- package/dist/shared/src/containers/ProjectTreeTable/context/SelectedRowsProvider.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.es.js +9 -9
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.es.js +30 -25
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.es.js +9 -8
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.es.js +11 -10
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.es.js +11 -10
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.es.js +9 -8
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.es.js +206 -186
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.es.js +9 -8
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGroupBySettings.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGroupBySettings.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGroupBySettings.es.js +9 -8
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGroupBySettings.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.es.js +11 -10
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.es.js +18 -17
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.es.js +16 -15
- package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.es.js +9 -8
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useSelectedFolders.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useSelectedFolders.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useSelectedFolders.es.js +13 -10
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useSelectedFolders.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useSortBySettings.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useSortBySettings.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useSortBySettings.es.js +9 -8
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useSortBySettings.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.es.js +20 -19
- package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/utils/clientFilterToQueryFilter.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/utils/clientFilterToQueryFilter.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/utils/clientFilterToQueryFilter.es.js +1 -2
- package/dist/shared/src/containers/ProjectTreeTable/utils/queryFilterToClientFilter.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/utils/queryFilterToClientFilter.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/utils/queryFilterToClientFilter.es.js +4 -5
- package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.cjs.js +7 -2
- package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.es.js +143 -120
- package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.es.js +63 -54
- package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.es.js +9 -8
- package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/SubtasksWidget.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/SubtasksWidget.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/SubtasksWidget.es.js +11 -10
- package/dist/shared/src/containers/ProjectTreeTable/widgets/SubtasksWidget.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/TextContentWidget.cjs.js +43 -0
- package/dist/shared/src/containers/ProjectTreeTable/widgets/TextContentWidget.cjs.js.map +1 -0
- package/dist/shared/src/containers/ProjectTreeTable/widgets/TextContentWidget.es.js +412 -0
- package/dist/shared/src/containers/ProjectTreeTable/widgets/TextContentWidget.es.js.map +1 -0
- package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidget.cjs.js +34 -5
- package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidget.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidget.es.js +238 -89
- package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidget.es.js.map +1 -1
- package/dist/shared/src/containers/RepresentationsList/RepresentationsList.cjs.js +1 -1
- package/dist/shared/src/containers/RepresentationsList/RepresentationsList.cjs.js.map +1 -1
- package/dist/shared/src/containers/RepresentationsList/RepresentationsList.es.js +29 -32
- package/dist/shared/src/containers/RepresentationsList/RepresentationsList.es.js.map +1 -1
- package/dist/shared/src/containers/SimpleTable/SimpleTable.cjs.js +1 -1
- package/dist/shared/src/containers/SimpleTable/SimpleTable.cjs.js.map +1 -1
- package/dist/shared/src/containers/SimpleTable/SimpleTable.es.js +11 -6
- package/dist/shared/src/containers/SimpleTable/SimpleTable.es.js.map +1 -1
- package/dist/shared/src/containers/SimpleTable/context/SimpleTableContext.cjs.js +1 -1
- package/dist/shared/src/containers/SimpleTable/context/SimpleTableContext.cjs.js.map +1 -1
- package/dist/shared/src/containers/SimpleTable/context/SimpleTableContext.es.js +3 -4
- package/dist/shared/src/containers/Slicer/components/Slicer.cjs.js +6 -1
- package/dist/shared/src/containers/Slicer/components/Slicer.cjs.js.map +1 -1
- package/dist/shared/src/containers/Slicer/components/Slicer.es.js +64 -56
- package/dist/shared/src/containers/Slicer/components/Slicer.es.js.map +1 -1
- package/dist/shared/src/containers/Slicer/components/SlicerSearch.cjs.js +1 -1
- package/dist/shared/src/containers/Slicer/components/SlicerSearch.cjs.js.map +1 -1
- package/dist/shared/src/containers/Slicer/components/SlicerSearch.es.js +11 -5
- package/dist/shared/src/containers/Slicer/components/SlicerSearch.es.js.map +1 -1
- package/dist/shared/src/containers/Slicer/context/SlicerContext.cjs.js +1 -1
- package/dist/shared/src/containers/Slicer/context/SlicerContext.cjs.js.map +1 -1
- package/dist/shared/src/containers/Slicer/context/SlicerContext.es.js +52 -47
- package/dist/shared/src/containers/Slicer/context/SlicerContext.es.js.map +1 -1
- package/dist/shared/src/containers/Slicer/hooks/useEntityListsSlice.cjs.js +2 -0
- package/dist/shared/src/containers/Slicer/hooks/useEntityListsSlice.cjs.js.map +1 -0
- package/dist/shared/src/containers/Slicer/hooks/useEntityListsSlice.es.js +246 -0
- package/dist/shared/src/containers/Slicer/hooks/useEntityListsSlice.es.js.map +1 -0
- package/dist/shared/src/containers/Slicer/hooks/useSelectedEntityIds.cjs.js +2 -0
- package/dist/shared/src/containers/Slicer/hooks/useSelectedEntityIds.cjs.js.map +1 -0
- package/dist/shared/src/containers/Slicer/hooks/useSelectedEntityIds.es.js +340 -0
- package/dist/shared/src/containers/Slicer/hooks/useSelectedEntityIds.es.js.map +1 -0
- package/dist/shared/src/containers/Slicer/hooks/useSlicerViewSync.cjs.js +2 -0
- package/dist/shared/src/containers/Slicer/hooks/useSlicerViewSync.cjs.js.map +1 -0
- package/dist/shared/src/containers/Slicer/hooks/useSlicerViewSync.es.js +154 -0
- package/dist/shared/src/containers/Slicer/hooks/useSlicerViewSync.es.js.map +1 -0
- package/dist/shared/src/containers/Slicer/hooks/useTableDataBySlice.cjs.js +1 -1
- package/dist/shared/src/containers/Slicer/hooks/useTableDataBySlice.cjs.js.map +1 -1
- package/dist/shared/src/containers/Slicer/hooks/useTableDataBySlice.es.js +98 -86
- package/dist/shared/src/containers/Slicer/hooks/useTableDataBySlice.es.js.map +1 -1
- package/dist/shared/src/containers/Slicer/hooks/useUsersTable.cjs.js +1 -1
- package/dist/shared/src/containers/Slicer/hooks/useUsersTable.cjs.js.map +1 -1
- package/dist/shared/src/containers/Slicer/hooks/useUsersTable.es.js +3 -2
- package/dist/shared/src/containers/Slicer/hooks/useUsersTable.es.js.map +1 -1
- package/dist/shared/src/containers/Slicer/util/createFilterFromSlicer.cjs.js +1 -1
- package/dist/shared/src/containers/Slicer/util/createFilterFromSlicer.cjs.js.map +1 -1
- package/dist/shared/src/containers/Slicer/util/createFilterFromSlicer.es.js +7 -6
- package/dist/shared/src/containers/Slicer/util/createFilterFromSlicer.es.js.map +1 -1
- package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewFormDialogFallback.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewFormDialogFallback.es.js.map +1 -1
- package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.cjs.js +1 -1
- package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.es.js +3 -2
- package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.es.js.map +1 -1
- package/dist/shared/src/containers/Views/ViewsMenuContainer/BaseViewsTags.cjs.js +1 -1
- package/dist/shared/src/containers/Views/ViewsMenuContainer/BaseViewsTags.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/ViewsMenuContainer/BaseViewsTags.es.js +19 -18
- package/dist/shared/src/containers/Views/ViewsMenuContainer/BaseViewsTags.es.js.map +1 -1
- package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.cjs.js +2 -2
- package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.es.js +24 -23
- package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.es.js.map +1 -1
- package/dist/shared/src/containers/Views/context/ViewsContext.cjs.js +1 -1
- package/dist/shared/src/containers/Views/context/ViewsContext.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/context/ViewsContext.es.js +84 -88
- package/dist/shared/src/containers/Views/context/ViewsContext.es.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/pages/useOverviewViewSettings.cjs.js +1 -1
- package/dist/shared/src/containers/Views/hooks/pages/useOverviewViewSettings.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/pages/useOverviewViewSettings.es.js +42 -32
- package/dist/shared/src/containers/Views/hooks/pages/useOverviewViewSettings.es.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/pages/useTaskProgressViewSettings.cjs.js +1 -1
- package/dist/shared/src/containers/Views/hooks/pages/useTaskProgressViewSettings.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/pages/useTaskProgressViewSettings.es.js +28 -18
- package/dist/shared/src/containers/Views/hooks/pages/useTaskProgressViewSettings.es.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/useBaseViewMutations.cjs.js +1 -1
- package/dist/shared/src/containers/Views/hooks/useBaseViewMutations.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/useBaseViewMutations.es.js +4 -3
- package/dist/shared/src/containers/Views/hooks/useBaseViewMutations.es.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.cjs.js +1 -1
- package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.es.js +58 -54
- package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.es.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.cjs.js +1 -1
- package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.es.js +23 -144
- package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.es.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/useSelectedView.cjs.js +1 -1
- package/dist/shared/src/containers/Views/hooks/useSelectedView.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/useSelectedView.es.js +3 -2
- package/dist/shared/src/containers/Views/hooks/useSelectedView.es.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/useViewSettingsChanged.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/useViewSettingsChanged.es.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/useViewsMutations.cjs.js +1 -1
- package/dist/shared/src/containers/Views/hooks/useViewsMutations.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/useViewsMutations.es.js +19 -18
- package/dist/shared/src/containers/Views/hooks/useViewsMutations.es.js.map +1 -1
- package/dist/shared/src/containers/Views/types.cjs.js +2 -0
- package/dist/shared/src/containers/Views/types.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/types.es.js +15 -0
- package/dist/shared/src/containers/Views/types.es.js.map +1 -0
- package/dist/shared/src/containers/Views/utils/getCustomViewsFallback.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/utils/getCustomViewsFallback.es.js.map +1 -1
- package/dist/shared/src/containers/Views/utils/isViewStudioScope.cjs.js +2 -0
- package/dist/shared/src/containers/Views/utils/isViewStudioScope.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/utils/isViewStudioScope.es.js +5 -0
- package/dist/shared/src/containers/Views/utils/isViewStudioScope.es.js.map +1 -0
- package/dist/shared/src/containers/Views/utils/portalUtils.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/utils/portalUtils.es.js.map +1 -1
- package/dist/shared/src/containers/Views/utils/viewUpdateHelper.cjs.js +1 -1
- package/dist/shared/src/containers/Views/utils/viewUpdateHelper.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/utils/viewUpdateHelper.es.js +3 -2
- package/dist/shared/src/containers/Views/utils/viewUpdateHelper.es.js.map +1 -1
- package/dist/shared/src/context/AddonProjectContext.cjs.js +1 -1
- package/dist/shared/src/context/AddonProjectContext.cjs.js.map +1 -1
- package/dist/shared/src/context/AddonProjectContext.es.js +5 -4
- package/dist/shared/src/context/AddonProjectContext.es.js.map +1 -1
- package/dist/shared/src/context/DetailsPanelContext.cjs.js +1 -1
- package/dist/shared/src/context/DetailsPanelContext.cjs.js.map +1 -1
- package/dist/shared/src/context/DetailsPanelContext.es.js +79 -79
- package/dist/shared/src/context/DetailsPanelContext.es.js.map +1 -1
- package/dist/shared/src/context/GlobalContext.cjs.js +1 -1
- package/dist/shared/src/context/GlobalContext.cjs.js.map +1 -1
- package/dist/shared/src/context/GlobalContext.es.js +5 -4
- package/dist/shared/src/context/GlobalContext.es.js.map +1 -1
- package/dist/shared/src/context/PowerpackContext.cjs.js +1 -1
- package/dist/shared/src/context/PowerpackContext.cjs.js.map +1 -1
- package/dist/shared/src/context/PowerpackContext.es.js +7 -6
- package/dist/shared/src/context/PowerpackContext.es.js.map +1 -1
- package/dist/shared/src/context/ProjectContext.cjs.js +1 -1
- package/dist/shared/src/context/ProjectContext.cjs.js.map +1 -1
- package/dist/shared/src/context/ProjectContext.es.js +5 -4
- package/dist/shared/src/context/ProjectContext.es.js.map +1 -1
- package/dist/shared/src/context/ProjectFoldersContext.cjs.js +1 -1
- package/dist/shared/src/context/ProjectFoldersContext.cjs.js.map +1 -1
- package/dist/shared/src/context/ProjectFoldersContext.es.js +5 -4
- package/dist/shared/src/context/ProjectFoldersContext.es.js.map +1 -1
- package/dist/shared/src/context/RemoteModulesContext.cjs.js +1 -1
- package/dist/shared/src/context/RemoteModulesContext.cjs.js.map +1 -1
- package/dist/shared/src/context/RemoteModulesContext.es.js +5 -4
- package/dist/shared/src/context/RemoteModulesContext.es.js.map +1 -1
- package/dist/shared/src/context/SubtasksModulesContext.cjs.js +1 -1
- package/dist/shared/src/context/SubtasksModulesContext.cjs.js.map +1 -1
- package/dist/shared/src/context/SubtasksModulesContext.es.js +5 -4
- package/dist/shared/src/context/SubtasksModulesContext.es.js.map +1 -1
- package/dist/shared/src/context/UriContext.cjs.js +1 -1
- package/dist/shared/src/context/UriContext.cjs.js.map +1 -1
- package/dist/shared/src/context/UriContext.es.js +6 -5
- package/dist/shared/src/context/UriContext.es.js.map +1 -1
- package/dist/shared/src/context/WebsocketContext.cjs.js +1 -1
- package/dist/shared/src/context/WebsocketContext.cjs.js.map +1 -1
- package/dist/shared/src/context/WebsocketContext.es.js +12 -11
- package/dist/shared/src/context/WebsocketContext.es.js.map +1 -1
- package/dist/shared/src/hooks/useActionTriggers.cjs.js +1 -1
- package/dist/shared/src/hooks/useActionTriggers.cjs.js.map +1 -1
- package/dist/shared/src/hooks/useActionTriggers.es.js +3 -2
- package/dist/shared/src/hooks/useActionTriggers.es.js.map +1 -1
- package/dist/shared/src/hooks/useEntityUpdate.cjs.js +1 -1
- package/dist/shared/src/hooks/useEntityUpdate.cjs.js.map +1 -1
- package/dist/shared/src/hooks/useEntityUpdate.es.js +3 -2
- package/dist/shared/src/hooks/useEntityUpdate.es.js.map +1 -1
- package/dist/shared/src/hooks/useGetEntityGroups.cjs.js +1 -1
- package/dist/shared/src/hooks/useGetEntityGroups.cjs.js.map +1 -1
- package/dist/shared/src/hooks/useGetEntityGroups.es.js +3 -2
- package/dist/shared/src/hooks/useGetEntityGroups.es.js.map +1 -1
- package/dist/shared/src/hooks/useGroupByRemoteModules.cjs.js +1 -1
- package/dist/shared/src/hooks/useGroupByRemoteModules.cjs.js.map +1 -1
- package/dist/shared/src/hooks/useGroupByRemoteModules.es.js +3 -2
- package/dist/shared/src/hooks/useGroupByRemoteModules.es.js.map +1 -1
- package/dist/shared/src/hooks/useScopedStatuses.cjs.js +1 -1
- package/dist/shared/src/hooks/useScopedStatuses.cjs.js.map +1 -1
- package/dist/shared/src/hooks/useScopedStatuses.es.js +5 -4
- package/dist/shared/src/hooks/useScopedStatuses.es.js.map +1 -1
- package/dist/shared/src/hooks/useScopedTypes.cjs.js +1 -1
- package/dist/shared/src/hooks/useScopedTypes.cjs.js.map +1 -1
- package/dist/shared/src/hooks/useScopedTypes.es.js +3 -2
- package/dist/shared/src/hooks/useScopedTypes.es.js.map +1 -1
- package/dist/shared/src/hooks/useUserProjectConfig.cjs.js +1 -1
- package/dist/shared/src/hooks/useUserProjectConfig.cjs.js.map +1 -1
- package/dist/shared/src/hooks/useUserProjectConfig.es.js +3 -2
- package/dist/shared/src/hooks/useUserProjectConfig.es.js.map +1 -1
- package/dist/shared/src/util/checkName.cjs.js +1 -1
- package/dist/shared/src/util/checkName.cjs.js.map +1 -1
- package/dist/shared/src/util/checkName.es.js +0 -1
- package/dist/shared/src/util/versionUploadHelpers.cjs.js +1 -1
- package/dist/shared/src/util/versionUploadHelpers.cjs.js.map +1 -1
- package/dist/shared/src/util/versionUploadHelpers.es.js +1 -1
- package/dist/shared/src/util/versionUploadHelpers.es.js.map +1 -1
- package/dist/types/api/generated/access.d.ts +6 -0
- package/dist/types/api/generated/graphql.d.ts +47 -4
- package/dist/types/api/generated/users.d.ts +6 -1
- package/dist/types/api/queries/activities/getActivities.d.ts +4 -0
- package/dist/types/api/queries/activities/updateActivities.d.ts +8 -0
- package/dist/types/api/queries/entities/getEntity.d.ts +4 -0
- package/dist/types/api/queries/entities/getEntityPanel.d.ts +4 -0
- package/dist/types/api/queries/entities/updateEntity.d.ts +4 -0
- package/dist/types/api/queries/entityLists/getLists.d.ts +4 -0
- package/dist/types/api/queries/entityLists/resolveEntityParents.d.ts +19 -0
- package/dist/types/api/queries/overview/getOverview.d.ts +5 -0
- package/dist/types/api/queries/products/getFolderProducts.d.ts +248 -0
- package/dist/types/api/queries/products/index.d.ts +1 -0
- package/dist/types/api/queries/userDashboard/getUserDashboard.d.ts +4 -0
- package/dist/types/api/queries/users/getUsers.d.ts +4 -0
- package/dist/types/api/queries/versions/getVersionsProducts.d.ts +8 -0
- package/dist/types/components/LinksManager/CellEditingDialog.d.ts +2 -0
- package/dist/types/components/LinksManager/LinkManagerItem.d.ts +2 -0
- package/dist/types/components/LinksManager/LinksManager.styled.d.ts +6 -0
- package/dist/types/components/LinksManager/utils/groupLinks.d.ts +14 -0
- package/dist/types/components/ReviewablesList/ReviewablesUpload.d.ts +1 -0
- package/dist/types/components/VersionUploader/context/VersionUploadContext.d.ts +4 -0
- package/dist/types/containers/EntityPickerDialog/hooks/useGetEntityPickerData.d.ts +1 -1
- package/dist/types/containers/EntityPickerDialog/hooks/usePreserveChildSelectionByName.d.ts +11 -0
- package/dist/types/containers/ProjectTreeTable/context/CellEditingContext.d.ts +2 -0
- package/dist/types/containers/ProjectTreeTable/hooks/useFetchOverviewData.d.ts +2 -1
- package/dist/types/containers/ProjectTreeTable/hooks/useSelectedFolders.d.ts +2 -1
- package/dist/types/containers/ProjectTreeTable/types/table.d.ts +1 -0
- package/dist/types/containers/ProjectTreeTable/widgets/TextContentWidget.d.ts +17 -0
- package/dist/types/containers/ProjectTreeTable/widgets/TextWidget.d.ts +6 -0
- package/dist/types/containers/Slicer/context/SlicerContext.d.ts +3 -0
- package/dist/types/containers/Slicer/hooks/index.d.ts +3 -0
- package/dist/types/containers/Slicer/hooks/useEntityListsSlice.d.ts +7 -0
- package/dist/types/containers/Slicer/hooks/useSelectedEntityIds.d.ts +12 -0
- package/dist/types/containers/Slicer/hooks/useSlicerViewSync.d.ts +12 -0
- package/dist/types/containers/Slicer/types.d.ts +1 -1
- package/dist/types/containers/Views/ViewsDialogContainer/ViewFormDialogFallback.d.ts +2 -1
- package/dist/types/containers/Views/ViewsMenuContainer/ViewsMenuContainer.d.ts +2 -2
- package/dist/types/containers/Views/context/ViewsContext.d.ts +3 -2
- package/dist/types/containers/Views/hooks/pages/useOverviewViewSettings.d.ts +2 -0
- package/dist/types/containers/Views/hooks/pages/useTaskProgressViewSettings.d.ts +2 -0
- package/dist/types/containers/Views/hooks/useBaseViewMutations.d.ts +1 -1
- package/dist/types/containers/Views/hooks/useBuildViewMenuItems.d.ts +2 -3
- package/dist/types/containers/Views/hooks/useSaveViewFromCurrent.d.ts +2 -1
- package/dist/types/containers/Views/hooks/useViewSettingsChanged.d.ts +1 -1
- package/dist/types/containers/Views/index.d.ts +1 -7
- package/dist/types/containers/Views/types.d.ts +10 -0
- package/dist/types/containers/Views/utils/isViewStudioScope.d.ts +2 -0
- package/dist/types/containers/Views/utils/portalUtils.d.ts +1 -1
- package/package.json +3 -3
- package/dist/_virtual/index.cjs.cjs.js.map +0 -1
- package/dist/_virtual/index.cjs.cjs2.js.map +0 -1
- package/dist/_virtual/index.cjs.cjs3.js.map +0 -1
- package/dist/_virtual/index.cjs.cjs4.js.map +0 -1
- package/dist/_virtual/index.cjs.es.js.map +0 -1
- package/dist/_virtual/index.cjs.es2.js +0 -5
- package/dist/_virtual/index.cjs.es2.js.map +0 -1
- package/dist/_virtual/index.cjs.es3.js +0 -5
- package/dist/_virtual/index.cjs.es3.js.map +0 -1
- package/dist/_virtual/index.cjs.es4.js +0 -5
- package/dist/_virtual/index.cjs.es4.js.map +0 -1
- package/dist/_virtual/runtime.cjs.cjs.js +0 -2
- package/dist/_virtual/runtime.cjs.cjs.js.map +0 -1
- package/dist/_virtual/runtime.cjs.es.js +0 -5
- package/dist/_virtual/runtime.cjs.es.js.map +0 -1
- package/dist/_virtual/utils.cjs.cjs.js.map +0 -1
- package/dist/_virtual/utils.cjs.es.js.map +0 -1
- package/dist/shared/node_modules/@module-federation/error-codes/dist/index.cjs.cjs.js +0 -4
- package/dist/shared/node_modules/@module-federation/error-codes/dist/index.cjs.cjs.js.map +0 -1
- package/dist/shared/node_modules/@module-federation/error-codes/dist/index.cjs.es.js +0 -36
- package/dist/shared/node_modules/@module-federation/error-codes/dist/index.cjs.es.js.map +0 -1
- package/dist/shared/node_modules/@module-federation/runtime/dist/index.cjs.cjs.js +0 -2
- package/dist/shared/node_modules/@module-federation/runtime/dist/index.cjs.cjs.js.map +0 -1
- package/dist/shared/node_modules/@module-federation/runtime/dist/index.cjs.es.js +0 -48
- package/dist/shared/node_modules/@module-federation/runtime/dist/index.cjs.es.js.map +0 -1
- package/dist/shared/node_modules/@module-federation/runtime/dist/utils.cjs.cjs.js +0 -2
- package/dist/shared/node_modules/@module-federation/runtime/dist/utils.cjs.cjs.js.map +0 -1
- package/dist/shared/node_modules/@module-federation/runtime/dist/utils.cjs.es.js +0 -23
- package/dist/shared/node_modules/@module-federation/runtime/dist/utils.cjs.es.js.map +0 -1
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/index.cjs.cjs.js +0 -3
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/index.cjs.cjs.js.map +0 -1
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/index.cjs.es.js +0 -1921
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/index.cjs.es.js.map +0 -1
- package/dist/shared/node_modules/@module-federation/runtime-tools/dist/runtime.cjs.cjs.js +0 -2
- package/dist/shared/node_modules/@module-federation/runtime-tools/dist/runtime.cjs.cjs.js.map +0 -1
- package/dist/shared/node_modules/@module-federation/runtime-tools/dist/runtime.cjs.es.js +0 -18
- package/dist/shared/node_modules/@module-federation/runtime-tools/dist/runtime.cjs.es.js.map +0 -1
- package/dist/shared/node_modules/@module-federation/sdk/dist/index.cjs.cjs.js +0 -6
- package/dist/shared/node_modules/@module-federation/sdk/dist/index.cjs.cjs.js.map +0 -1
- package/dist/shared/node_modules/@module-federation/sdk/dist/index.cjs.es.js +0 -562
- package/dist/shared/node_modules/@module-federation/sdk/dist/index.cjs.es.js.map +0 -1
|
@@ -1,1921 +0,0 @@
|
|
|
1
|
-
import { __exports as b } from "../../../../../_virtual/index.cjs.es2.js";
|
|
2
|
-
import { __require as hn } from "../../sdk/dist/index.cjs.es.js";
|
|
3
|
-
import { __require as dn } from "../../error-codes/dist/index.cjs.es.js";
|
|
4
|
-
var at;
|
|
5
|
-
function Rn() {
|
|
6
|
-
if (at) return b;
|
|
7
|
-
at = 1;
|
|
8
|
-
var g = /* @__PURE__ */ hn(), S = /* @__PURE__ */ dn();
|
|
9
|
-
const B = "[ Federation Runtime ]", le = g.createLogger(B);
|
|
10
|
-
function N(t, e) {
|
|
11
|
-
t || k(e);
|
|
12
|
-
}
|
|
13
|
-
function k(t) {
|
|
14
|
-
throw t instanceof Error ? (t.message.startsWith(B) || (t.message = `${B}: ${t.message}`), t) : new Error(`${B}: ${t}`);
|
|
15
|
-
}
|
|
16
|
-
function j(t) {
|
|
17
|
-
t instanceof Error && (t.message.startsWith(B) || (t.message = `${B}: ${t.message}`)), le.warn(t);
|
|
18
|
-
}
|
|
19
|
-
function we(t, e) {
|
|
20
|
-
return t.findIndex((n) => n === e) === -1 && t.push(e), t;
|
|
21
|
-
}
|
|
22
|
-
function K(t) {
|
|
23
|
-
return "version" in t && t.version ? `${t.name}:${t.version}` : "entry" in t && t.entry ? `${t.name}:${t.entry}` : `${t.name}`;
|
|
24
|
-
}
|
|
25
|
-
function fe(t) {
|
|
26
|
-
return typeof t.entry < "u";
|
|
27
|
-
}
|
|
28
|
-
function Ae(t) {
|
|
29
|
-
return !t.entry.includes(".json");
|
|
30
|
-
}
|
|
31
|
-
async function ct(t, e) {
|
|
32
|
-
try {
|
|
33
|
-
return await t();
|
|
34
|
-
} catch (n) {
|
|
35
|
-
!e && j(n);
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
function ue(t) {
|
|
40
|
-
return t && typeof t == "object";
|
|
41
|
-
}
|
|
42
|
-
const lt = Object.prototype.toString;
|
|
43
|
-
function ft(t) {
|
|
44
|
-
return lt.call(t) === "[object Object]";
|
|
45
|
-
}
|
|
46
|
-
function ut(t, e) {
|
|
47
|
-
const n = /^(https?:)?\/\//i, r = t.replace(n, "").replace(/\/$/, ""), s = e.replace(n, "").replace(/\/$/, "");
|
|
48
|
-
return r === s;
|
|
49
|
-
}
|
|
50
|
-
function Te(t) {
|
|
51
|
-
return Array.isArray(t) ? t : [t];
|
|
52
|
-
}
|
|
53
|
-
function Me(t) {
|
|
54
|
-
const e = {
|
|
55
|
-
url: "",
|
|
56
|
-
type: "global",
|
|
57
|
-
globalName: ""
|
|
58
|
-
};
|
|
59
|
-
return g.isBrowserEnv() || g.isReactNativeEnv() ? "remoteEntry" in t ? {
|
|
60
|
-
url: t.remoteEntry,
|
|
61
|
-
type: t.remoteEntryType,
|
|
62
|
-
globalName: t.globalName
|
|
63
|
-
} : e : "ssrRemoteEntry" in t ? {
|
|
64
|
-
url: t.ssrRemoteEntry || e.url,
|
|
65
|
-
type: t.ssrRemoteEntryType || e.type,
|
|
66
|
-
globalName: t.globalName
|
|
67
|
-
} : e;
|
|
68
|
-
}
|
|
69
|
-
const ht = (t, e) => {
|
|
70
|
-
let n;
|
|
71
|
-
return t.endsWith("/") ? n = t.slice(0, -1) : n = t, e.startsWith(".") && (e = e.slice(1)), n = n + e, n;
|
|
72
|
-
}, R = typeof globalThis == "object" ? globalThis : window, T = (() => {
|
|
73
|
-
try {
|
|
74
|
-
return document.defaultView;
|
|
75
|
-
} catch {
|
|
76
|
-
return R;
|
|
77
|
-
}
|
|
78
|
-
})(), V = T;
|
|
79
|
-
function ne(t, e, n) {
|
|
80
|
-
Object.defineProperty(t, e, {
|
|
81
|
-
value: n,
|
|
82
|
-
configurable: !1,
|
|
83
|
-
writable: !0
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
function re(t, e) {
|
|
87
|
-
return Object.hasOwnProperty.call(t, e);
|
|
88
|
-
}
|
|
89
|
-
re(R, "__GLOBAL_LOADING_REMOTE_ENTRY__") || ne(R, "__GLOBAL_LOADING_REMOTE_ENTRY__", {});
|
|
90
|
-
const C = R.__GLOBAL_LOADING_REMOTE_ENTRY__;
|
|
91
|
-
function ve(t) {
|
|
92
|
-
re(t, "__VMOK__") && !re(t, "__FEDERATION__") && ne(t, "__FEDERATION__", t.__VMOK__), re(t, "__FEDERATION__") || (ne(t, "__FEDERATION__", {
|
|
93
|
-
__GLOBAL_PLUGIN__: [],
|
|
94
|
-
__INSTANCES__: [],
|
|
95
|
-
moduleInfo: {},
|
|
96
|
-
__SHARE__: {},
|
|
97
|
-
__MANIFEST_LOADING__: {},
|
|
98
|
-
__PRELOADED_MAP__: /* @__PURE__ */ new Map()
|
|
99
|
-
}), ne(t, "__VMOK__", t.__FEDERATION__)), t.__FEDERATION__.__GLOBAL_PLUGIN__ ??= [], t.__FEDERATION__.__INSTANCES__ ??= [], t.__FEDERATION__.moduleInfo ??= {}, t.__FEDERATION__.__SHARE__ ??= {}, t.__FEDERATION__.__MANIFEST_LOADING__ ??= {}, t.__FEDERATION__.__PRELOADED_MAP__ ??= /* @__PURE__ */ new Map();
|
|
100
|
-
}
|
|
101
|
-
ve(R), ve(T);
|
|
102
|
-
function Le() {
|
|
103
|
-
R.__FEDERATION__.__GLOBAL_PLUGIN__ = [], R.__FEDERATION__.__INSTANCES__ = [], R.__FEDERATION__.moduleInfo = {}, R.__FEDERATION__.__SHARE__ = {}, R.__FEDERATION__.__MANIFEST_LOADING__ = {}, Object.keys(C).forEach((t) => {
|
|
104
|
-
delete C[t];
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
function Pe(t) {
|
|
108
|
-
R.__FEDERATION__.__INSTANCES__.push(t);
|
|
109
|
-
}
|
|
110
|
-
function ke() {
|
|
111
|
-
return R.__FEDERATION__.__DEBUG_CONSTRUCTOR__;
|
|
112
|
-
}
|
|
113
|
-
function Fe(t, e = g.isDebugMode()) {
|
|
114
|
-
e && (R.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = t, R.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.21.6");
|
|
115
|
-
}
|
|
116
|
-
function G(t, e) {
|
|
117
|
-
if (typeof e == "string") {
|
|
118
|
-
if (t[e])
|
|
119
|
-
return {
|
|
120
|
-
value: t[e],
|
|
121
|
-
key: e
|
|
122
|
-
};
|
|
123
|
-
{
|
|
124
|
-
const r = Object.keys(t);
|
|
125
|
-
for (const s of r) {
|
|
126
|
-
const [i, o] = s.split(":"), a = `${i}:${e}`, c = t[a];
|
|
127
|
-
if (c)
|
|
128
|
-
return {
|
|
129
|
-
value: c,
|
|
130
|
-
key: a
|
|
131
|
-
};
|
|
132
|
-
}
|
|
133
|
-
return {
|
|
134
|
-
value: void 0,
|
|
135
|
-
key: e
|
|
136
|
-
};
|
|
137
|
-
}
|
|
138
|
-
} else
|
|
139
|
-
throw new Error("key must be string");
|
|
140
|
-
}
|
|
141
|
-
const se = () => T.__FEDERATION__.moduleInfo, De = (t, e) => {
|
|
142
|
-
const n = K(t), r = G(e, n).value;
|
|
143
|
-
if (r && !r.version && "version" in t && t.version && (r.version = t.version), r)
|
|
144
|
-
return r;
|
|
145
|
-
if ("version" in t && t.version) {
|
|
146
|
-
const { version: s, ...i } = t, o = K(i), a = G(T.__FEDERATION__.moduleInfo, o).value;
|
|
147
|
-
if (a?.version === s)
|
|
148
|
-
return a;
|
|
149
|
-
}
|
|
150
|
-
}, z = (t) => De(t, T.__FEDERATION__.moduleInfo), he = (t, e) => {
|
|
151
|
-
const n = K(t);
|
|
152
|
-
return T.__FEDERATION__.moduleInfo[n] = e, T.__FEDERATION__.moduleInfo;
|
|
153
|
-
}, de = (t) => (T.__FEDERATION__.moduleInfo = {
|
|
154
|
-
...T.__FEDERATION__.moduleInfo,
|
|
155
|
-
...t
|
|
156
|
-
}, () => {
|
|
157
|
-
const e = Object.keys(t);
|
|
158
|
-
for (const n of e)
|
|
159
|
-
delete T.__FEDERATION__.moduleInfo[n];
|
|
160
|
-
}), oe = (t, e) => {
|
|
161
|
-
const n = e || `__FEDERATION_${t}:custom__`, r = R[n];
|
|
162
|
-
return {
|
|
163
|
-
remoteEntryKey: n,
|
|
164
|
-
entryExports: r
|
|
165
|
-
};
|
|
166
|
-
}, He = (t) => {
|
|
167
|
-
const { __GLOBAL_PLUGIN__: e } = T.__FEDERATION__;
|
|
168
|
-
t.forEach((n) => {
|
|
169
|
-
e.findIndex((r) => r.name === n.name) === -1 ? e.push(n) : j(`The plugin ${n.name} has been registered.`);
|
|
170
|
-
});
|
|
171
|
-
}, Ce = () => T.__FEDERATION__.__GLOBAL_PLUGIN__, Ge = (t) => R.__FEDERATION__.__PRELOADED_MAP__.get(t), xe = (t) => R.__FEDERATION__.__PRELOADED_MAP__.set(t, !0), J = "default", Ve = "global", Be = "[0-9A-Za-z-]+", pe = `(?:\\+(${Be}(?:\\.${Be})*))`, X = "0|[1-9]\\d*", ie = "[0-9]+", We = "\\d*[a-zA-Z-][a-zA-Z0-9-]*", Ue = `(?:${ie}|${We})`, dt = `(?:-?(${Ue}(?:\\.${Ue})*))`, qe = `(?:${X}|${We})`, je = `(?:-(${qe}(?:\\.${qe})*))`, me = `${X}|x|X|\\*`, W = `[v=\\s]*(${me})(?:\\.(${me})(?:\\.(${me})(?:${je})?${pe}?)?)?`, pt = `^\\s*(${W})\\s+-\\s+(${W})\\s*$`, mt = `[v=\\s]*${`(${ie})\\.(${ie})\\.(${ie})`}${dt}?${pe}?`, ye = "((?:<|>)?=?)", yt = `(\\s*)${ye}\\s*(${mt}|${W})`, Ke = "(?:~>?)", _t = `(\\s*)${Ke}\\s+`, ze = "(?:\\^)", Et = `(\\s*)${ze}\\s+`, gt = "(<|>)?=?\\s*\\*", St = `^${ze}${W}$`, bt = `v?${`(${X})\\.(${X})\\.(${X})`}${je}?${pe}?`, Rt = `^${Ke}${W}$`, It = `^${ye}\\s*${W}$`, $t = `^${ye}\\s*(${bt})$|^$`, Ot = "^\\s*>=\\s*0.0.0\\s*$";
|
|
172
|
-
function F(t) {
|
|
173
|
-
return new RegExp(t);
|
|
174
|
-
}
|
|
175
|
-
function w(t) {
|
|
176
|
-
return !t || t.toLowerCase() === "x" || t === "*";
|
|
177
|
-
}
|
|
178
|
-
function Je(...t) {
|
|
179
|
-
return (e) => t.reduce((n, r) => r(n), e);
|
|
180
|
-
}
|
|
181
|
-
function Xe(t) {
|
|
182
|
-
return t.match(F($t));
|
|
183
|
-
}
|
|
184
|
-
function Ye(t, e, n, r) {
|
|
185
|
-
const s = `${t}.${e}.${n}`;
|
|
186
|
-
return r ? `${s}-${r}` : s;
|
|
187
|
-
}
|
|
188
|
-
function Nt(t) {
|
|
189
|
-
return t.replace(F(pt), (e, n, r, s, i, o, a, c, l, u, h, f) => (w(r) ? n = "" : w(s) ? n = `>=${r}.0.0` : w(i) ? n = `>=${r}.${s}.0` : n = `>=${n}`, w(l) ? c = "" : w(u) ? c = `<${Number(l) + 1}.0.0-0` : w(h) ? c = `<${l}.${Number(u) + 1}.0-0` : f ? c = `<=${l}.${u}.${h}-${f}` : c = `<=${c}`, `${n} ${c}`.trim()));
|
|
190
|
-
}
|
|
191
|
-
function wt(t) {
|
|
192
|
-
return t.replace(F(yt), "$1$2$3");
|
|
193
|
-
}
|
|
194
|
-
function At(t) {
|
|
195
|
-
return t.replace(F(_t), "$1~");
|
|
196
|
-
}
|
|
197
|
-
function Tt(t) {
|
|
198
|
-
return t.replace(F(Et), "$1^");
|
|
199
|
-
}
|
|
200
|
-
function Mt(t) {
|
|
201
|
-
return t.trim().split(/\s+/).map((e) => e.replace(F(St), (n, r, s, i, o) => w(r) ? "" : w(s) ? `>=${r}.0.0 <${Number(r) + 1}.0.0-0` : w(i) ? r === "0" ? `>=${r}.${s}.0 <${r}.${Number(s) + 1}.0-0` : `>=${r}.${s}.0 <${Number(r) + 1}.0.0-0` : o ? r === "0" ? s === "0" ? `>=${r}.${s}.${i}-${o} <${r}.${s}.${Number(i) + 1}-0` : `>=${r}.${s}.${i}-${o} <${r}.${Number(s) + 1}.0-0` : `>=${r}.${s}.${i}-${o} <${Number(r) + 1}.0.0-0` : r === "0" ? s === "0" ? `>=${r}.${s}.${i} <${r}.${s}.${Number(i) + 1}-0` : `>=${r}.${s}.${i} <${r}.${Number(s) + 1}.0-0` : `>=${r}.${s}.${i} <${Number(r) + 1}.0.0-0`)).join(" ");
|
|
202
|
-
}
|
|
203
|
-
function vt(t) {
|
|
204
|
-
return t.trim().split(/\s+/).map((e) => e.replace(F(Rt), (n, r, s, i, o) => w(r) ? "" : w(s) ? `>=${r}.0.0 <${Number(r) + 1}.0.0-0` : w(i) ? `>=${r}.${s}.0 <${r}.${Number(s) + 1}.0-0` : o ? `>=${r}.${s}.${i}-${o} <${r}.${Number(s) + 1}.0-0` : `>=${r}.${s}.${i} <${r}.${Number(s) + 1}.0-0`)).join(" ");
|
|
205
|
-
}
|
|
206
|
-
function Lt(t) {
|
|
207
|
-
return t.split(/\s+/).map((e) => e.trim().replace(F(It), (n, r, s, i, o, a) => {
|
|
208
|
-
const c = w(s), l = c || w(i), u = l || w(o);
|
|
209
|
-
return r === "=" && u && (r = ""), a = "", c ? r === ">" || r === "<" ? "<0.0.0-0" : "*" : r && u ? (l && (i = 0), o = 0, r === ">" ? (r = ">=", l ? (s = Number(s) + 1, i = 0, o = 0) : (i = Number(i) + 1, o = 0)) : r === "<=" && (r = "<", l ? s = Number(s) + 1 : i = Number(i) + 1), r === "<" && (a = "-0"), `${r + s}.${i}.${o}${a}`) : l ? `>=${s}.0.0${a} <${Number(s) + 1}.0.0-0` : u ? `>=${s}.${i}.0${a} <${s}.${Number(i) + 1}.0-0` : n;
|
|
210
|
-
})).join(" ");
|
|
211
|
-
}
|
|
212
|
-
function Pt(t) {
|
|
213
|
-
return t.trim().replace(F(gt), "");
|
|
214
|
-
}
|
|
215
|
-
function kt(t) {
|
|
216
|
-
return t.trim().replace(F(Ot), "");
|
|
217
|
-
}
|
|
218
|
-
function ae(t, e) {
|
|
219
|
-
return t = Number(t) || t, e = Number(e) || e, t > e ? 1 : t === e ? 0 : -1;
|
|
220
|
-
}
|
|
221
|
-
function Ft(t, e) {
|
|
222
|
-
const { preRelease: n } = t, { preRelease: r } = e;
|
|
223
|
-
if (n === void 0 && r)
|
|
224
|
-
return 1;
|
|
225
|
-
if (n && r === void 0)
|
|
226
|
-
return -1;
|
|
227
|
-
if (n === void 0 && r === void 0)
|
|
228
|
-
return 0;
|
|
229
|
-
for (let s = 0, i = n.length; s <= i; s++) {
|
|
230
|
-
const o = n[s], a = r[s];
|
|
231
|
-
if (o !== a)
|
|
232
|
-
return o === void 0 && a === void 0 ? 0 : o ? a ? ae(o, a) : -1 : 1;
|
|
233
|
-
}
|
|
234
|
-
return 0;
|
|
235
|
-
}
|
|
236
|
-
function ce(t, e) {
|
|
237
|
-
return ae(t.major, e.major) || ae(t.minor, e.minor) || ae(t.patch, e.patch) || Ft(t, e);
|
|
238
|
-
}
|
|
239
|
-
function _e(t, e) {
|
|
240
|
-
return t.version === e.version;
|
|
241
|
-
}
|
|
242
|
-
function Dt(t, e) {
|
|
243
|
-
switch (t.operator) {
|
|
244
|
-
case "":
|
|
245
|
-
case "=":
|
|
246
|
-
return _e(t, e);
|
|
247
|
-
case ">":
|
|
248
|
-
return ce(t, e) < 0;
|
|
249
|
-
case ">=":
|
|
250
|
-
return _e(t, e) || ce(t, e) < 0;
|
|
251
|
-
case "<":
|
|
252
|
-
return ce(t, e) > 0;
|
|
253
|
-
case "<=":
|
|
254
|
-
return _e(t, e) || ce(t, e) > 0;
|
|
255
|
-
case void 0:
|
|
256
|
-
return !0;
|
|
257
|
-
default:
|
|
258
|
-
return !1;
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
function Ht(t) {
|
|
262
|
-
return Je(
|
|
263
|
-
// handle caret
|
|
264
|
-
// ^ --> * (any, kinda silly)
|
|
265
|
-
// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0-0
|
|
266
|
-
// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0-0
|
|
267
|
-
// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0
|
|
268
|
-
// ^1.2.3 --> >=1.2.3 <2.0.0-0
|
|
269
|
-
// ^1.2.0 --> >=1.2.0 <2.0.0-0
|
|
270
|
-
Mt,
|
|
271
|
-
// handle tilde
|
|
272
|
-
// ~, ~> --> * (any, kinda silly)
|
|
273
|
-
// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0-0
|
|
274
|
-
// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0-0
|
|
275
|
-
// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0
|
|
276
|
-
// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0
|
|
277
|
-
// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0
|
|
278
|
-
vt,
|
|
279
|
-
Lt,
|
|
280
|
-
Pt
|
|
281
|
-
)(t);
|
|
282
|
-
}
|
|
283
|
-
function Ct(t) {
|
|
284
|
-
return Je(
|
|
285
|
-
// handle hyphenRange
|
|
286
|
-
// `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`
|
|
287
|
-
Nt,
|
|
288
|
-
// handle trim comparator
|
|
289
|
-
// `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`
|
|
290
|
-
wt,
|
|
291
|
-
// handle trim tilde
|
|
292
|
-
// `~ 1.2.3` => `~1.2.3`
|
|
293
|
-
At,
|
|
294
|
-
// handle trim caret
|
|
295
|
-
// `^ 1.2.3` => `^1.2.3`
|
|
296
|
-
Tt
|
|
297
|
-
)(t.trim()).split(/\s+/).join(" ");
|
|
298
|
-
}
|
|
299
|
-
function Y(t, e) {
|
|
300
|
-
if (!t)
|
|
301
|
-
return !1;
|
|
302
|
-
const n = Xe(t);
|
|
303
|
-
if (!n)
|
|
304
|
-
return !1;
|
|
305
|
-
const [, r, , s, i, o, a] = n, c = {
|
|
306
|
-
operator: r,
|
|
307
|
-
version: Ye(s, i, o, a),
|
|
308
|
-
// exclude build atom
|
|
309
|
-
major: s,
|
|
310
|
-
minor: i,
|
|
311
|
-
patch: o,
|
|
312
|
-
preRelease: a?.split(".")
|
|
313
|
-
}, l = e.split("||");
|
|
314
|
-
for (const u of l) {
|
|
315
|
-
const h = u.trim();
|
|
316
|
-
if (!h || h === "*" || h === "x")
|
|
317
|
-
return !0;
|
|
318
|
-
try {
|
|
319
|
-
const f = Ct(h);
|
|
320
|
-
if (!f.trim())
|
|
321
|
-
return !0;
|
|
322
|
-
const p = f.split(" ").map((d) => Ht(d)).join(" ");
|
|
323
|
-
if (!p.trim())
|
|
324
|
-
return !0;
|
|
325
|
-
const m = p.split(/\s+/).map((d) => kt(d)).filter(Boolean);
|
|
326
|
-
if (m.length === 0)
|
|
327
|
-
continue;
|
|
328
|
-
let y = !0;
|
|
329
|
-
for (const d of m) {
|
|
330
|
-
const _ = Xe(d);
|
|
331
|
-
if (!_) {
|
|
332
|
-
y = !1;
|
|
333
|
-
break;
|
|
334
|
-
}
|
|
335
|
-
const [, I, , E, $, A, H] = _, O = {
|
|
336
|
-
operator: I,
|
|
337
|
-
version: Ye(E, $, A, H),
|
|
338
|
-
major: E,
|
|
339
|
-
minor: $,
|
|
340
|
-
patch: A,
|
|
341
|
-
preRelease: H?.split(".")
|
|
342
|
-
};
|
|
343
|
-
if (!Dt(O, c)) {
|
|
344
|
-
y = !1;
|
|
345
|
-
break;
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
if (y)
|
|
349
|
-
return !0;
|
|
350
|
-
} catch (f) {
|
|
351
|
-
console.error(`[semver] Error processing range part "${h}":`, f);
|
|
352
|
-
continue;
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
return !1;
|
|
356
|
-
}
|
|
357
|
-
function Gt(t, e, n, r) {
|
|
358
|
-
let s;
|
|
359
|
-
return "get" in t ? s = t.get : "lib" in t ? s = () => Promise.resolve(t.lib) : s = () => Promise.resolve(() => {
|
|
360
|
-
throw new Error(`Can not get shared '${n}'!`);
|
|
361
|
-
}), {
|
|
362
|
-
deps: [],
|
|
363
|
-
useIn: [],
|
|
364
|
-
from: e,
|
|
365
|
-
loading: null,
|
|
366
|
-
...t,
|
|
367
|
-
shareConfig: {
|
|
368
|
-
requiredVersion: `^${t.version}`,
|
|
369
|
-
singleton: !1,
|
|
370
|
-
eager: !1,
|
|
371
|
-
strictVersion: !1,
|
|
372
|
-
...t.shareConfig
|
|
373
|
-
},
|
|
374
|
-
get: s,
|
|
375
|
-
loaded: t?.loaded || "lib" in t ? !0 : void 0,
|
|
376
|
-
version: t.version ?? "0",
|
|
377
|
-
scope: Array.isArray(t.scope) ? t.scope : [t.scope ?? "default"],
|
|
378
|
-
strategy: (t.strategy ?? r) || "version-first"
|
|
379
|
-
};
|
|
380
|
-
}
|
|
381
|
-
function Ze(t, e) {
|
|
382
|
-
const n = e.shared || {}, r = e.name, s = Object.keys(n).reduce((o, a) => {
|
|
383
|
-
const c = Te(n[a]);
|
|
384
|
-
return o[a] = o[a] || [], c.forEach((l) => {
|
|
385
|
-
o[a].push(Gt(l, r, a, e.shareStrategy));
|
|
386
|
-
}), o;
|
|
387
|
-
}, {}), i = {
|
|
388
|
-
...t.shared
|
|
389
|
-
};
|
|
390
|
-
return Object.keys(s).forEach((o) => {
|
|
391
|
-
i[o] ? s[o].forEach((a) => {
|
|
392
|
-
i[o].find((l) => l.version === a.version) || i[o].push(a);
|
|
393
|
-
}) : i[o] = s[o];
|
|
394
|
-
}), { shared: i, shareInfos: s };
|
|
395
|
-
}
|
|
396
|
-
function Z(t, e) {
|
|
397
|
-
const n = (r) => {
|
|
398
|
-
if (!Number.isNaN(Number(r))) {
|
|
399
|
-
const i = r.split(".");
|
|
400
|
-
let o = r;
|
|
401
|
-
for (let a = 0; a < 3 - i.length; a++)
|
|
402
|
-
o += ".0";
|
|
403
|
-
return o;
|
|
404
|
-
}
|
|
405
|
-
return r;
|
|
406
|
-
};
|
|
407
|
-
return !!Y(n(t), `<=${n(e)}`);
|
|
408
|
-
}
|
|
409
|
-
const Ee = (t, e) => {
|
|
410
|
-
const n = e || function(r, s) {
|
|
411
|
-
return Z(r, s);
|
|
412
|
-
};
|
|
413
|
-
return Object.keys(t).reduce((r, s) => !r || n(r, s) || r === "0" ? s : r, 0);
|
|
414
|
-
}, ge = (t) => !!t.loaded || typeof t.lib == "function", xt = (t) => !!t.loading;
|
|
415
|
-
function Vt(t, e, n) {
|
|
416
|
-
const r = t[e][n], s = function(i, o) {
|
|
417
|
-
return !ge(r[i]) && Z(i, o);
|
|
418
|
-
};
|
|
419
|
-
return Ee(t[e][n], s);
|
|
420
|
-
}
|
|
421
|
-
function Bt(t, e, n) {
|
|
422
|
-
const r = t[e][n], s = function(i, o) {
|
|
423
|
-
const a = (c) => ge(c) || xt(c);
|
|
424
|
-
return a(r[o]) ? a(r[i]) ? !!Z(i, o) : !0 : a(r[i]) ? !1 : Z(i, o);
|
|
425
|
-
};
|
|
426
|
-
return Ee(t[e][n], s);
|
|
427
|
-
}
|
|
428
|
-
function Wt(t) {
|
|
429
|
-
return t === "loaded-first" ? Bt : Vt;
|
|
430
|
-
}
|
|
431
|
-
function U(t, e, n, r) {
|
|
432
|
-
if (!t)
|
|
433
|
-
return;
|
|
434
|
-
const { shareConfig: s, scope: i = J, strategy: o } = n, a = Array.isArray(i) ? i : [i];
|
|
435
|
-
for (const c of a)
|
|
436
|
-
if (s && t[c] && t[c][e]) {
|
|
437
|
-
const { requiredVersion: l } = s, h = Wt(o)(t, c, e), f = () => {
|
|
438
|
-
if (s.singleton) {
|
|
439
|
-
if (typeof l == "string" && !Y(h, l)) {
|
|
440
|
-
const y = `Version ${h} from ${h && t[c][e][h].from} of shared singleton module ${e} does not satisfy the requirement of ${n.from} which needs ${l})`;
|
|
441
|
-
s.strictVersion ? k(y) : j(y);
|
|
442
|
-
}
|
|
443
|
-
return t[c][e][h];
|
|
444
|
-
} else {
|
|
445
|
-
if (l === !1 || l === "*" || Y(h, l))
|
|
446
|
-
return t[c][e][h];
|
|
447
|
-
for (const [y, d] of Object.entries(t[c][e]))
|
|
448
|
-
if (Y(y, l))
|
|
449
|
-
return d;
|
|
450
|
-
}
|
|
451
|
-
}, p = {
|
|
452
|
-
shareScopeMap: t,
|
|
453
|
-
scope: c,
|
|
454
|
-
pkgName: e,
|
|
455
|
-
version: h,
|
|
456
|
-
GlobalFederation: V.__FEDERATION__,
|
|
457
|
-
resolver: f
|
|
458
|
-
};
|
|
459
|
-
return (r.emit(p) || p).resolver();
|
|
460
|
-
}
|
|
461
|
-
}
|
|
462
|
-
function Se() {
|
|
463
|
-
return V.__FEDERATION__.__SHARE__;
|
|
464
|
-
}
|
|
465
|
-
function Qe(t) {
|
|
466
|
-
const { pkgName: e, extraOptions: n, shareInfos: r } = t, s = (o) => {
|
|
467
|
-
if (!o)
|
|
468
|
-
return;
|
|
469
|
-
const a = {};
|
|
470
|
-
o.forEach((u) => {
|
|
471
|
-
a[u.version] = u;
|
|
472
|
-
});
|
|
473
|
-
const l = Ee(a, function(u, h) {
|
|
474
|
-
return !ge(a[u]) && Z(u, h);
|
|
475
|
-
});
|
|
476
|
-
return a[l];
|
|
477
|
-
}, i = n?.resolver ?? s;
|
|
478
|
-
return Object.assign({}, i(r[e]), n?.customShareInfo);
|
|
479
|
-
}
|
|
480
|
-
function Ut() {
|
|
481
|
-
return typeof FEDERATION_BUILD_IDENTIFIER < "u" ? (
|
|
482
|
-
//@ts-ignore
|
|
483
|
-
FEDERATION_BUILD_IDENTIFIER
|
|
484
|
-
) : "";
|
|
485
|
-
}
|
|
486
|
-
function be(t, e) {
|
|
487
|
-
for (const n of t) {
|
|
488
|
-
const r = e.startsWith(n.name);
|
|
489
|
-
let s = e.replace(n.name, "");
|
|
490
|
-
if (r) {
|
|
491
|
-
if (s.startsWith("/")) {
|
|
492
|
-
const a = n.name;
|
|
493
|
-
return s = `.${s}`, {
|
|
494
|
-
pkgNameOrAlias: a,
|
|
495
|
-
expose: s,
|
|
496
|
-
remote: n
|
|
497
|
-
};
|
|
498
|
-
} else if (s === "")
|
|
499
|
-
return {
|
|
500
|
-
pkgNameOrAlias: n.name,
|
|
501
|
-
expose: ".",
|
|
502
|
-
remote: n
|
|
503
|
-
};
|
|
504
|
-
}
|
|
505
|
-
const i = n.alias && e.startsWith(n.alias);
|
|
506
|
-
let o = n.alias && e.replace(n.alias, "");
|
|
507
|
-
if (n.alias && i) {
|
|
508
|
-
if (o && o.startsWith("/")) {
|
|
509
|
-
const a = n.alias;
|
|
510
|
-
return o = `.${o}`, {
|
|
511
|
-
pkgNameOrAlias: a,
|
|
512
|
-
expose: o,
|
|
513
|
-
remote: n
|
|
514
|
-
};
|
|
515
|
-
} else if (o === "")
|
|
516
|
-
return {
|
|
517
|
-
pkgNameOrAlias: n.alias,
|
|
518
|
-
expose: ".",
|
|
519
|
-
remote: n
|
|
520
|
-
};
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
function qt(t, e) {
|
|
525
|
-
for (const n of t)
|
|
526
|
-
if (e === n.name || n.alias && e === n.alias)
|
|
527
|
-
return n;
|
|
528
|
-
}
|
|
529
|
-
function jt(t, e) {
|
|
530
|
-
const n = Ce(), r = [
|
|
531
|
-
e.hooks,
|
|
532
|
-
e.remoteHandler.hooks,
|
|
533
|
-
e.sharedHandler.hooks,
|
|
534
|
-
e.snapshotHandler.hooks,
|
|
535
|
-
e.loaderHook,
|
|
536
|
-
e.bridgeHook
|
|
537
|
-
];
|
|
538
|
-
return n.length > 0 && n.forEach((s) => {
|
|
539
|
-
t?.find((i) => i.name !== s.name) && t.push(s);
|
|
540
|
-
}), t && t.length > 0 && t.forEach((s) => {
|
|
541
|
-
r.forEach((i) => {
|
|
542
|
-
i.applyPlugin(s, e);
|
|
543
|
-
});
|
|
544
|
-
}), t;
|
|
545
|
-
}
|
|
546
|
-
const et = ".then(callbacks[0]).catch(callbacks[1])";
|
|
547
|
-
async function Kt({ entry: t, remoteEntryExports: e }) {
|
|
548
|
-
return new Promise((n, r) => {
|
|
549
|
-
try {
|
|
550
|
-
e ? n(e) : typeof FEDERATION_ALLOW_NEW_FUNCTION < "u" ? new Function("callbacks", `import("${t}")${et}`)([
|
|
551
|
-
n,
|
|
552
|
-
r
|
|
553
|
-
]) : import(
|
|
554
|
-
/* webpackIgnore: true */
|
|
555
|
-
/* @vite-ignore */
|
|
556
|
-
t
|
|
557
|
-
).then(n).catch(r);
|
|
558
|
-
} catch (s) {
|
|
559
|
-
r(s);
|
|
560
|
-
}
|
|
561
|
-
});
|
|
562
|
-
}
|
|
563
|
-
async function zt({ entry: t, remoteEntryExports: e }) {
|
|
564
|
-
return new Promise((n, r) => {
|
|
565
|
-
try {
|
|
566
|
-
e ? n(e) : typeof __system_context__ > "u" ? System.import(t).then(n).catch(r) : new Function("callbacks", `System.import("${t}")${et}`)([n, r]);
|
|
567
|
-
} catch (s) {
|
|
568
|
-
r(s);
|
|
569
|
-
}
|
|
570
|
-
});
|
|
571
|
-
}
|
|
572
|
-
function tt(t, e, n) {
|
|
573
|
-
const { remoteEntryKey: r, entryExports: s } = oe(t, e);
|
|
574
|
-
return N(s, S.getShortErrorMsg(S.RUNTIME_001, S.runtimeDescMap, {
|
|
575
|
-
remoteName: t,
|
|
576
|
-
remoteEntryUrl: n,
|
|
577
|
-
remoteEntryKey: r
|
|
578
|
-
})), s;
|
|
579
|
-
}
|
|
580
|
-
async function Jt({ name: t, globalName: e, entry: n, loaderHook: r, getEntryUrl: s }) {
|
|
581
|
-
const { entryExports: i } = oe(t, e);
|
|
582
|
-
if (i)
|
|
583
|
-
return i;
|
|
584
|
-
const o = s ? s(n) : n;
|
|
585
|
-
return g.loadScript(o, {
|
|
586
|
-
attrs: {},
|
|
587
|
-
createScriptHook: (a, c) => {
|
|
588
|
-
const l = r.lifecycle.createScript.emit({ url: a, attrs: c });
|
|
589
|
-
if (l && (l instanceof HTMLScriptElement || "script" in l || "timeout" in l))
|
|
590
|
-
return l;
|
|
591
|
-
}
|
|
592
|
-
}).then(() => tt(t, e, n)).catch((a) => {
|
|
593
|
-
throw N(void 0, S.getShortErrorMsg(S.RUNTIME_008, S.runtimeDescMap, {
|
|
594
|
-
remoteName: t,
|
|
595
|
-
resourceUrl: n
|
|
596
|
-
})), a;
|
|
597
|
-
});
|
|
598
|
-
}
|
|
599
|
-
async function Xt({ remoteInfo: t, remoteEntryExports: e, loaderHook: n, getEntryUrl: r }) {
|
|
600
|
-
const { entry: s, entryGlobalName: i, name: o, type: a } = t;
|
|
601
|
-
switch (a) {
|
|
602
|
-
case "esm":
|
|
603
|
-
case "module":
|
|
604
|
-
return Kt({ entry: s, remoteEntryExports: e });
|
|
605
|
-
case "system":
|
|
606
|
-
return zt({ entry: s, remoteEntryExports: e });
|
|
607
|
-
default:
|
|
608
|
-
return Jt({
|
|
609
|
-
entry: s,
|
|
610
|
-
globalName: i,
|
|
611
|
-
name: o,
|
|
612
|
-
loaderHook: n,
|
|
613
|
-
getEntryUrl: r
|
|
614
|
-
});
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
async function Yt({ remoteInfo: t, loaderHook: e }) {
|
|
618
|
-
const { entry: n, entryGlobalName: r, name: s, type: i } = t, { entryExports: o } = oe(s, r);
|
|
619
|
-
return o || g.loadScriptNode(n, {
|
|
620
|
-
attrs: { name: s, globalName: r, type: i },
|
|
621
|
-
loaderHook: {
|
|
622
|
-
createScriptHook: (a, c = {}) => {
|
|
623
|
-
const l = e.lifecycle.createScript.emit({ url: a, attrs: c });
|
|
624
|
-
if (l && "url" in l)
|
|
625
|
-
return l;
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
}).then(() => tt(s, r, n)).catch((a) => {
|
|
629
|
-
throw a;
|
|
630
|
-
});
|
|
631
|
-
}
|
|
632
|
-
function Re(t) {
|
|
633
|
-
const { entry: e, name: n } = t;
|
|
634
|
-
return g.composeKeyWithSeparator(n, e);
|
|
635
|
-
}
|
|
636
|
-
async function Q(t) {
|
|
637
|
-
const { origin: e, remoteEntryExports: n, remoteInfo: r, getEntryUrl: s, _inErrorHandling: i = !1 } = t, o = Re(r);
|
|
638
|
-
if (n)
|
|
639
|
-
return n;
|
|
640
|
-
if (!C[o]) {
|
|
641
|
-
const a = e.remoteHandler.hooks.lifecycle.loadEntry, c = e.loaderHook;
|
|
642
|
-
C[o] = a.emit({
|
|
643
|
-
loaderHook: c,
|
|
644
|
-
remoteInfo: r,
|
|
645
|
-
remoteEntryExports: n
|
|
646
|
-
}).then((l) => l || ((typeof ENV_TARGET < "u" ? ENV_TARGET === "web" : g.isBrowserEnv()) ? Xt({
|
|
647
|
-
remoteInfo: r,
|
|
648
|
-
remoteEntryExports: n,
|
|
649
|
-
loaderHook: c,
|
|
650
|
-
getEntryUrl: s
|
|
651
|
-
}) : Yt({ remoteInfo: r, loaderHook: c }))).catch(async (l) => {
|
|
652
|
-
const u = Re(r);
|
|
653
|
-
if (l instanceof Error && l.message.includes(S.RUNTIME_008) && !i) {
|
|
654
|
-
const f = (m) => Q({ ...m, _inErrorHandling: !0 }), p = await e.loaderHook.lifecycle.loadEntryError.emit({
|
|
655
|
-
getRemoteEntry: f,
|
|
656
|
-
origin: e,
|
|
657
|
-
remoteInfo: r,
|
|
658
|
-
remoteEntryExports: n,
|
|
659
|
-
globalLoading: C,
|
|
660
|
-
uniqueKey: u
|
|
661
|
-
});
|
|
662
|
-
if (p)
|
|
663
|
-
return p;
|
|
664
|
-
}
|
|
665
|
-
throw l;
|
|
666
|
-
});
|
|
667
|
-
}
|
|
668
|
-
return C[o];
|
|
669
|
-
}
|
|
670
|
-
function ee(t) {
|
|
671
|
-
return {
|
|
672
|
-
...t,
|
|
673
|
-
entry: "entry" in t ? t.entry : "",
|
|
674
|
-
type: t.type || Ve,
|
|
675
|
-
entryGlobalName: t.entryGlobalName || t.name,
|
|
676
|
-
shareScope: t.shareScope || J
|
|
677
|
-
};
|
|
678
|
-
}
|
|
679
|
-
function nt(t) {
|
|
680
|
-
return {
|
|
681
|
-
resourceCategory: "sync",
|
|
682
|
-
share: !0,
|
|
683
|
-
depsRemote: !0,
|
|
684
|
-
prefetchInterface: !1,
|
|
685
|
-
...t
|
|
686
|
-
};
|
|
687
|
-
}
|
|
688
|
-
function Zt(t, e) {
|
|
689
|
-
return e.map((n) => {
|
|
690
|
-
const r = qt(t, n.nameOrAlias);
|
|
691
|
-
return N(r, `Unable to preload ${n.nameOrAlias} as it is not included in ${!r && g.safeToString({
|
|
692
|
-
remoteInfo: r,
|
|
693
|
-
remotes: t
|
|
694
|
-
})}`), {
|
|
695
|
-
remote: r,
|
|
696
|
-
preloadConfig: nt(n)
|
|
697
|
-
};
|
|
698
|
-
});
|
|
699
|
-
}
|
|
700
|
-
function Qt(t) {
|
|
701
|
-
return t ? t.map((e) => e === "." ? e : e.startsWith("./") ? e.replace("./", "") : e) : [];
|
|
702
|
-
}
|
|
703
|
-
function Ie(t, e, n, r = !0) {
|
|
704
|
-
const { cssAssets: s, jsAssetsWithoutEntry: i, entryAssets: o } = n;
|
|
705
|
-
if (e.options.inBrowser) {
|
|
706
|
-
if (o.forEach((a) => {
|
|
707
|
-
const { moduleInfo: c } = a, l = e.moduleCache.get(t.name);
|
|
708
|
-
Q(l ? {
|
|
709
|
-
origin: e,
|
|
710
|
-
remoteInfo: c,
|
|
711
|
-
remoteEntryExports: l.remoteEntryExports
|
|
712
|
-
} : {
|
|
713
|
-
origin: e,
|
|
714
|
-
remoteInfo: c,
|
|
715
|
-
remoteEntryExports: void 0
|
|
716
|
-
});
|
|
717
|
-
}), r) {
|
|
718
|
-
const a = {
|
|
719
|
-
rel: "preload",
|
|
720
|
-
as: "style"
|
|
721
|
-
};
|
|
722
|
-
s.forEach((c) => {
|
|
723
|
-
const { link: l, needAttach: u } = g.createLink({
|
|
724
|
-
url: c,
|
|
725
|
-
cb: () => {
|
|
726
|
-
},
|
|
727
|
-
attrs: a,
|
|
728
|
-
createLinkHook: (h, f) => {
|
|
729
|
-
const p = e.loaderHook.lifecycle.createLink.emit({
|
|
730
|
-
url: h,
|
|
731
|
-
attrs: f
|
|
732
|
-
});
|
|
733
|
-
if (p instanceof HTMLLinkElement)
|
|
734
|
-
return p;
|
|
735
|
-
}
|
|
736
|
-
});
|
|
737
|
-
u && document.head.appendChild(l);
|
|
738
|
-
});
|
|
739
|
-
} else {
|
|
740
|
-
const a = {
|
|
741
|
-
rel: "stylesheet",
|
|
742
|
-
type: "text/css"
|
|
743
|
-
};
|
|
744
|
-
s.forEach((c) => {
|
|
745
|
-
const { link: l, needAttach: u } = g.createLink({
|
|
746
|
-
url: c,
|
|
747
|
-
cb: () => {
|
|
748
|
-
},
|
|
749
|
-
attrs: a,
|
|
750
|
-
createLinkHook: (h, f) => {
|
|
751
|
-
const p = e.loaderHook.lifecycle.createLink.emit({
|
|
752
|
-
url: h,
|
|
753
|
-
attrs: f
|
|
754
|
-
});
|
|
755
|
-
if (p instanceof HTMLLinkElement)
|
|
756
|
-
return p;
|
|
757
|
-
},
|
|
758
|
-
needDeleteLink: !1
|
|
759
|
-
});
|
|
760
|
-
u && document.head.appendChild(l);
|
|
761
|
-
});
|
|
762
|
-
}
|
|
763
|
-
if (r) {
|
|
764
|
-
const a = {
|
|
765
|
-
rel: "preload",
|
|
766
|
-
as: "script"
|
|
767
|
-
};
|
|
768
|
-
i.forEach((c) => {
|
|
769
|
-
const { link: l, needAttach: u } = g.createLink({
|
|
770
|
-
url: c,
|
|
771
|
-
cb: () => {
|
|
772
|
-
},
|
|
773
|
-
attrs: a,
|
|
774
|
-
createLinkHook: (h, f) => {
|
|
775
|
-
const p = e.loaderHook.lifecycle.createLink.emit({
|
|
776
|
-
url: h,
|
|
777
|
-
attrs: f
|
|
778
|
-
});
|
|
779
|
-
if (p instanceof HTMLLinkElement)
|
|
780
|
-
return p;
|
|
781
|
-
}
|
|
782
|
-
});
|
|
783
|
-
u && document.head.appendChild(l);
|
|
784
|
-
});
|
|
785
|
-
} else {
|
|
786
|
-
const a = {
|
|
787
|
-
fetchpriority: "high",
|
|
788
|
-
type: t?.type === "module" ? "module" : "text/javascript"
|
|
789
|
-
};
|
|
790
|
-
i.forEach((c) => {
|
|
791
|
-
const { script: l, needAttach: u } = g.createScript({
|
|
792
|
-
url: c,
|
|
793
|
-
cb: () => {
|
|
794
|
-
},
|
|
795
|
-
attrs: a,
|
|
796
|
-
createScriptHook: (h, f) => {
|
|
797
|
-
const p = e.loaderHook.lifecycle.createScript.emit({
|
|
798
|
-
url: h,
|
|
799
|
-
attrs: f
|
|
800
|
-
});
|
|
801
|
-
if (p instanceof HTMLScriptElement)
|
|
802
|
-
return p;
|
|
803
|
-
},
|
|
804
|
-
needDeleteScript: !0
|
|
805
|
-
});
|
|
806
|
-
u && document.head.appendChild(l);
|
|
807
|
-
});
|
|
808
|
-
}
|
|
809
|
-
}
|
|
810
|
-
}
|
|
811
|
-
var en = {
|
|
812
|
-
global: {
|
|
813
|
-
Global: V,
|
|
814
|
-
nativeGlobal: T,
|
|
815
|
-
resetFederationGlobalInfo: Le,
|
|
816
|
-
setGlobalFederationInstance: Pe,
|
|
817
|
-
getGlobalFederationConstructor: ke,
|
|
818
|
-
setGlobalFederationConstructor: Fe,
|
|
819
|
-
getInfoWithoutType: G,
|
|
820
|
-
getGlobalSnapshot: se,
|
|
821
|
-
getTargetSnapshotInfoByModuleInfo: De,
|
|
822
|
-
getGlobalSnapshotInfoByModuleInfo: z,
|
|
823
|
-
setGlobalSnapshotInfoByModuleInfo: he,
|
|
824
|
-
addGlobalSnapshot: de,
|
|
825
|
-
getRemoteEntryExports: oe,
|
|
826
|
-
registerGlobalPlugins: He,
|
|
827
|
-
getGlobalHostPlugins: Ce,
|
|
828
|
-
getPreloaded: Ge,
|
|
829
|
-
setPreloaded: xe
|
|
830
|
-
},
|
|
831
|
-
share: {
|
|
832
|
-
getRegisteredShare: U,
|
|
833
|
-
getGlobalShareScope: Se
|
|
834
|
-
},
|
|
835
|
-
utils: {
|
|
836
|
-
matchRemoteWithNameAndExpose: be,
|
|
837
|
-
preloadAssets: Ie,
|
|
838
|
-
getRemoteInfo: ee
|
|
839
|
-
}
|
|
840
|
-
};
|
|
841
|
-
class $e {
|
|
842
|
-
constructor({ remoteInfo: e, host: n }) {
|
|
843
|
-
this.inited = !1, this.lib = void 0, this.remoteInfo = e, this.host = n;
|
|
844
|
-
}
|
|
845
|
-
async getEntry() {
|
|
846
|
-
if (this.remoteEntryExports)
|
|
847
|
-
return this.remoteEntryExports;
|
|
848
|
-
let e;
|
|
849
|
-
return e = await Q({
|
|
850
|
-
origin: this.host,
|
|
851
|
-
remoteInfo: this.remoteInfo,
|
|
852
|
-
remoteEntryExports: this.remoteEntryExports
|
|
853
|
-
}), N(e, `remoteEntryExports is undefined
|
|
854
|
-
${g.safeToString(this.remoteInfo)}`), this.remoteEntryExports = e, this.remoteEntryExports;
|
|
855
|
-
}
|
|
856
|
-
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
|
857
|
-
async get(e, n, r, s) {
|
|
858
|
-
const { loadFactory: i = !0 } = r || { loadFactory: !0 }, o = await this.getEntry();
|
|
859
|
-
if (!this.inited) {
|
|
860
|
-
const h = this.host.shareScopeMap, f = Array.isArray(this.remoteInfo.shareScope) ? this.remoteInfo.shareScope : [this.remoteInfo.shareScope];
|
|
861
|
-
f.length || f.push("default"), f.forEach((_) => {
|
|
862
|
-
h[_] || (h[_] = {});
|
|
863
|
-
});
|
|
864
|
-
const p = h[f[0]], m = [], y = {
|
|
865
|
-
version: this.remoteInfo.version || "",
|
|
866
|
-
shareScopeKeys: Array.isArray(this.remoteInfo.shareScope) ? f : this.remoteInfo.shareScope || "default"
|
|
867
|
-
};
|
|
868
|
-
Object.defineProperty(y, "shareScopeMap", {
|
|
869
|
-
value: h,
|
|
870
|
-
// remoteEntryInitOptions will be traversed and assigned during container init, ,so this attribute is not allowed to be traversed
|
|
871
|
-
enumerable: !1
|
|
872
|
-
});
|
|
873
|
-
const d = await this.host.hooks.lifecycle.beforeInitContainer.emit({
|
|
874
|
-
shareScope: p,
|
|
875
|
-
// @ts-ignore shareScopeMap will be set by Object.defineProperty
|
|
876
|
-
remoteEntryInitOptions: y,
|
|
877
|
-
initScope: m,
|
|
878
|
-
remoteInfo: this.remoteInfo,
|
|
879
|
-
origin: this.host
|
|
880
|
-
});
|
|
881
|
-
typeof o?.init > "u" && k(S.getShortErrorMsg(S.RUNTIME_002, S.runtimeDescMap, {
|
|
882
|
-
hostName: this.host.name,
|
|
883
|
-
remoteName: this.remoteInfo.name,
|
|
884
|
-
remoteEntryUrl: this.remoteInfo.entry,
|
|
885
|
-
remoteEntryKey: this.remoteInfo.entryGlobalName
|
|
886
|
-
})), await o.init(d.shareScope, d.initScope, d.remoteEntryInitOptions), await this.host.hooks.lifecycle.initContainer.emit({
|
|
887
|
-
...d,
|
|
888
|
-
id: e,
|
|
889
|
-
remoteSnapshot: s,
|
|
890
|
-
remoteEntryExports: o
|
|
891
|
-
});
|
|
892
|
-
}
|
|
893
|
-
this.lib = o, this.inited = !0;
|
|
894
|
-
let a;
|
|
895
|
-
a = await this.host.loaderHook.lifecycle.getModuleFactory.emit({
|
|
896
|
-
remoteEntryExports: o,
|
|
897
|
-
expose: n,
|
|
898
|
-
moduleInfo: this.remoteInfo
|
|
899
|
-
}), a || (a = await o.get(n)), N(a, `${K(this.remoteInfo)} remote don't export ${n}.`);
|
|
900
|
-
const c = ht(this.remoteInfo.name, n), l = this.wraperFactory(a, c);
|
|
901
|
-
return i ? await l() : l;
|
|
902
|
-
}
|
|
903
|
-
wraperFactory(e, n) {
|
|
904
|
-
function r(s, i) {
|
|
905
|
-
s && typeof s == "object" && Object.isExtensible(s) && !Object.getOwnPropertyDescriptor(s, Symbol.for("mf_module_id")) && Object.defineProperty(s, Symbol.for("mf_module_id"), {
|
|
906
|
-
value: i,
|
|
907
|
-
enumerable: !1
|
|
908
|
-
});
|
|
909
|
-
}
|
|
910
|
-
return e instanceof Promise ? async () => {
|
|
911
|
-
const s = await e();
|
|
912
|
-
return r(s, n), s;
|
|
913
|
-
} : () => {
|
|
914
|
-
const s = e();
|
|
915
|
-
return r(s, n), s;
|
|
916
|
-
};
|
|
917
|
-
}
|
|
918
|
-
}
|
|
919
|
-
class M {
|
|
920
|
-
constructor(e) {
|
|
921
|
-
this.type = "", this.listeners = /* @__PURE__ */ new Set(), e && (this.type = e);
|
|
922
|
-
}
|
|
923
|
-
on(e) {
|
|
924
|
-
typeof e == "function" && this.listeners.add(e);
|
|
925
|
-
}
|
|
926
|
-
once(e) {
|
|
927
|
-
const n = this;
|
|
928
|
-
this.on(function r(...s) {
|
|
929
|
-
return n.remove(r), e.apply(null, s);
|
|
930
|
-
});
|
|
931
|
-
}
|
|
932
|
-
emit(...e) {
|
|
933
|
-
let n;
|
|
934
|
-
return this.listeners.size > 0 && this.listeners.forEach((r) => {
|
|
935
|
-
n = r(...e);
|
|
936
|
-
}), n;
|
|
937
|
-
}
|
|
938
|
-
remove(e) {
|
|
939
|
-
this.listeners.delete(e);
|
|
940
|
-
}
|
|
941
|
-
removeAll() {
|
|
942
|
-
this.listeners.clear();
|
|
943
|
-
}
|
|
944
|
-
}
|
|
945
|
-
class L extends M {
|
|
946
|
-
emit(...e) {
|
|
947
|
-
let n;
|
|
948
|
-
const r = Array.from(this.listeners);
|
|
949
|
-
if (r.length > 0) {
|
|
950
|
-
let s = 0;
|
|
951
|
-
const i = (o) => o === !1 ? !1 : s < r.length ? Promise.resolve(r[s++].apply(null, e)).then(i) : o;
|
|
952
|
-
n = i();
|
|
953
|
-
}
|
|
954
|
-
return Promise.resolve(n);
|
|
955
|
-
}
|
|
956
|
-
}
|
|
957
|
-
function rt(t, e) {
|
|
958
|
-
if (!ue(e))
|
|
959
|
-
return !1;
|
|
960
|
-
if (t !== e) {
|
|
961
|
-
for (const n in t)
|
|
962
|
-
if (!(n in e))
|
|
963
|
-
return !1;
|
|
964
|
-
}
|
|
965
|
-
return !0;
|
|
966
|
-
}
|
|
967
|
-
class te extends M {
|
|
968
|
-
constructor(e) {
|
|
969
|
-
super(), this.onerror = k, this.type = e;
|
|
970
|
-
}
|
|
971
|
-
emit(e) {
|
|
972
|
-
ue(e) || k(`The data for the "${this.type}" hook should be an object.`);
|
|
973
|
-
for (const n of this.listeners)
|
|
974
|
-
try {
|
|
975
|
-
const r = n(e);
|
|
976
|
-
if (rt(e, r))
|
|
977
|
-
e = r;
|
|
978
|
-
else {
|
|
979
|
-
this.onerror(`A plugin returned an unacceptable value for the "${this.type}" type.`);
|
|
980
|
-
break;
|
|
981
|
-
}
|
|
982
|
-
} catch (r) {
|
|
983
|
-
j(r), this.onerror(r);
|
|
984
|
-
}
|
|
985
|
-
return e;
|
|
986
|
-
}
|
|
987
|
-
}
|
|
988
|
-
class x extends M {
|
|
989
|
-
constructor(e) {
|
|
990
|
-
super(), this.onerror = k, this.type = e;
|
|
991
|
-
}
|
|
992
|
-
emit(e) {
|
|
993
|
-
ue(e) || k(`The response data for the "${this.type}" hook must be an object.`);
|
|
994
|
-
const n = Array.from(this.listeners);
|
|
995
|
-
if (n.length > 0) {
|
|
996
|
-
let r = 0;
|
|
997
|
-
const s = (o) => (j(o), this.onerror(o), e), i = (o) => {
|
|
998
|
-
if (rt(e, o)) {
|
|
999
|
-
if (e = o, r < n.length)
|
|
1000
|
-
try {
|
|
1001
|
-
return Promise.resolve(n[r++](e)).then(i, s);
|
|
1002
|
-
} catch (a) {
|
|
1003
|
-
return s(a);
|
|
1004
|
-
}
|
|
1005
|
-
} else
|
|
1006
|
-
this.onerror(`A plugin returned an incorrect value for the "${this.type}" type.`);
|
|
1007
|
-
return e;
|
|
1008
|
-
};
|
|
1009
|
-
return Promise.resolve(i(e));
|
|
1010
|
-
}
|
|
1011
|
-
return Promise.resolve(e);
|
|
1012
|
-
}
|
|
1013
|
-
}
|
|
1014
|
-
class q {
|
|
1015
|
-
constructor(e) {
|
|
1016
|
-
this.registerPlugins = {}, this.lifecycle = e, this.lifecycleKeys = Object.keys(e);
|
|
1017
|
-
}
|
|
1018
|
-
applyPlugin(e, n) {
|
|
1019
|
-
N(ft(e), "Plugin configuration is invalid.");
|
|
1020
|
-
const r = e.name;
|
|
1021
|
-
N(r, "A name must be provided by the plugin."), this.registerPlugins[r] || (this.registerPlugins[r] = e, e.apply?.(n), Object.keys(this.lifecycle).forEach((s) => {
|
|
1022
|
-
const i = e[s];
|
|
1023
|
-
i && this.lifecycle[s].on(i);
|
|
1024
|
-
}));
|
|
1025
|
-
}
|
|
1026
|
-
removePlugin(e) {
|
|
1027
|
-
N(e, "A name is required.");
|
|
1028
|
-
const n = this.registerPlugins[e];
|
|
1029
|
-
N(n, `The plugin "${e}" is not registered.`), Object.keys(n).forEach((r) => {
|
|
1030
|
-
r !== "name" && this.lifecycle[r].remove(n[r]);
|
|
1031
|
-
});
|
|
1032
|
-
}
|
|
1033
|
-
}
|
|
1034
|
-
function st(t, e) {
|
|
1035
|
-
const n = Me(e);
|
|
1036
|
-
n.url || k(`The attribute remoteEntry of ${t.name} must not be undefined.`);
|
|
1037
|
-
let r = g.getResourceUrl(e, n.url);
|
|
1038
|
-
!g.isBrowserEnv() && !r.startsWith("http") && (r = `https:${r}`), t.type = n.type, t.entryGlobalName = n.globalName, t.entry = r, t.version = e.version, t.buildVersion = e.buildVersion;
|
|
1039
|
-
}
|
|
1040
|
-
function tn() {
|
|
1041
|
-
return {
|
|
1042
|
-
name: "snapshot-plugin",
|
|
1043
|
-
async afterResolve(t) {
|
|
1044
|
-
const { remote: e, pkgNameOrAlias: n, expose: r, origin: s, remoteInfo: i, id: o } = t;
|
|
1045
|
-
if (!fe(e) || !Ae(e)) {
|
|
1046
|
-
const { remoteSnapshot: a, globalSnapshot: c } = await s.snapshotHandler.loadRemoteSnapshotInfo({
|
|
1047
|
-
moduleInfo: e,
|
|
1048
|
-
id: o
|
|
1049
|
-
});
|
|
1050
|
-
st(i, a);
|
|
1051
|
-
const l = {
|
|
1052
|
-
remote: e,
|
|
1053
|
-
preloadConfig: {
|
|
1054
|
-
nameOrAlias: n,
|
|
1055
|
-
exposes: [r],
|
|
1056
|
-
resourceCategory: "sync",
|
|
1057
|
-
share: !1,
|
|
1058
|
-
depsRemote: !1
|
|
1059
|
-
}
|
|
1060
|
-
}, u = await s.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({
|
|
1061
|
-
origin: s,
|
|
1062
|
-
preloadOptions: l,
|
|
1063
|
-
remoteInfo: i,
|
|
1064
|
-
remote: e,
|
|
1065
|
-
remoteSnapshot: a,
|
|
1066
|
-
globalSnapshot: c
|
|
1067
|
-
});
|
|
1068
|
-
return u && Ie(i, s, u, !1), {
|
|
1069
|
-
...t,
|
|
1070
|
-
remoteSnapshot: a
|
|
1071
|
-
};
|
|
1072
|
-
}
|
|
1073
|
-
return t;
|
|
1074
|
-
}
|
|
1075
|
-
};
|
|
1076
|
-
}
|
|
1077
|
-
function nn(t) {
|
|
1078
|
-
const e = t.split(":");
|
|
1079
|
-
return e.length === 1 ? {
|
|
1080
|
-
name: e[0],
|
|
1081
|
-
version: void 0
|
|
1082
|
-
} : e.length === 2 ? {
|
|
1083
|
-
name: e[0],
|
|
1084
|
-
version: e[1]
|
|
1085
|
-
} : {
|
|
1086
|
-
name: e[1],
|
|
1087
|
-
version: e[2]
|
|
1088
|
-
};
|
|
1089
|
-
}
|
|
1090
|
-
function ot(t, e, n, r, s = {}, i) {
|
|
1091
|
-
const o = K(e), { value: a } = G(t, o), c = i || a;
|
|
1092
|
-
if (c && !g.isManifestProvider(c) && (n(c, e, r), c.remotesInfo)) {
|
|
1093
|
-
const l = Object.keys(c.remotesInfo);
|
|
1094
|
-
for (const u of l) {
|
|
1095
|
-
if (s[u])
|
|
1096
|
-
continue;
|
|
1097
|
-
s[u] = !0;
|
|
1098
|
-
const h = nn(u), f = c.remotesInfo[u];
|
|
1099
|
-
ot(t, {
|
|
1100
|
-
name: h.name,
|
|
1101
|
-
version: f.matchedVersion
|
|
1102
|
-
}, n, !1, s, void 0);
|
|
1103
|
-
}
|
|
1104
|
-
}
|
|
1105
|
-
}
|
|
1106
|
-
const Oe = (t, e) => document.querySelector(`${t}[${t === "link" ? "href" : "src"}="${e}"]`);
|
|
1107
|
-
function rn(t, e, n, r, s) {
|
|
1108
|
-
const i = [], o = [], a = [], c = /* @__PURE__ */ new Set(), l = /* @__PURE__ */ new Set(), { options: u } = t, { preloadConfig: h } = e, { depsRemote: f } = h;
|
|
1109
|
-
if (ot(r, n, (d, _, I) => {
|
|
1110
|
-
let E;
|
|
1111
|
-
if (I)
|
|
1112
|
-
E = h;
|
|
1113
|
-
else if (Array.isArray(f)) {
|
|
1114
|
-
const P = f.find((v) => v.nameOrAlias === _.name || v.nameOrAlias === _.alias);
|
|
1115
|
-
if (!P)
|
|
1116
|
-
return;
|
|
1117
|
-
E = nt(P);
|
|
1118
|
-
} else if (f === !0)
|
|
1119
|
-
E = h;
|
|
1120
|
-
else
|
|
1121
|
-
return;
|
|
1122
|
-
const $ = g.getResourceUrl(d, Me(d).url);
|
|
1123
|
-
$ && a.push({
|
|
1124
|
-
name: _.name,
|
|
1125
|
-
moduleInfo: {
|
|
1126
|
-
name: _.name,
|
|
1127
|
-
entry: $,
|
|
1128
|
-
type: "remoteEntryType" in d ? d.remoteEntryType : "global",
|
|
1129
|
-
entryGlobalName: "globalName" in d ? d.globalName : _.name,
|
|
1130
|
-
shareScope: "",
|
|
1131
|
-
version: "version" in d ? d.version : void 0
|
|
1132
|
-
},
|
|
1133
|
-
url: $
|
|
1134
|
-
});
|
|
1135
|
-
let A = "modules" in d ? d.modules : [];
|
|
1136
|
-
const H = Qt(E.exposes);
|
|
1137
|
-
H.length && "modules" in d && (A = d?.modules?.reduce((P, v) => (H?.indexOf(v.moduleName) !== -1 && P.push(v), P), []));
|
|
1138
|
-
function O(P) {
|
|
1139
|
-
const v = P.map((D) => g.getResourceUrl(d, D));
|
|
1140
|
-
return E.filter ? v.filter(E.filter) : v;
|
|
1141
|
-
}
|
|
1142
|
-
if (A) {
|
|
1143
|
-
const P = A.length;
|
|
1144
|
-
for (let v = 0; v < P; v++) {
|
|
1145
|
-
const D = A[v], Ne = `${_.name}/${D.moduleName}`;
|
|
1146
|
-
t.remoteHandler.hooks.lifecycle.handlePreloadModule.emit({
|
|
1147
|
-
id: D.moduleName === "." ? _.name : Ne,
|
|
1148
|
-
name: _.name,
|
|
1149
|
-
remoteSnapshot: d,
|
|
1150
|
-
preloadConfig: E,
|
|
1151
|
-
remote: _,
|
|
1152
|
-
origin: t
|
|
1153
|
-
}), !Ge(Ne) && (E.resourceCategory === "all" ? (i.push(...O(D.assets.css.async)), i.push(...O(D.assets.css.sync)), o.push(...O(D.assets.js.async)), o.push(...O(D.assets.js.sync))) : (E.resourceCategory = "sync") && (i.push(...O(D.assets.css.sync)), o.push(...O(D.assets.js.sync))), xe(Ne));
|
|
1154
|
-
}
|
|
1155
|
-
}
|
|
1156
|
-
}, !0, {}, s), s.shared && s.shared.length > 0) {
|
|
1157
|
-
const d = (_, I) => {
|
|
1158
|
-
const E = U(t.shareScopeMap, I.sharedName, _, t.sharedHandler.hooks.lifecycle.resolveShare);
|
|
1159
|
-
E && typeof E.lib == "function" && (I.assets.js.sync.forEach(($) => {
|
|
1160
|
-
c.add($);
|
|
1161
|
-
}), I.assets.css.sync.forEach(($) => {
|
|
1162
|
-
l.add($);
|
|
1163
|
-
}));
|
|
1164
|
-
};
|
|
1165
|
-
s.shared.forEach((_) => {
|
|
1166
|
-
const I = u.shared?.[_.sharedName];
|
|
1167
|
-
if (!I)
|
|
1168
|
-
return;
|
|
1169
|
-
const E = _.version ? I.find((A) => A.version === _.version) : I;
|
|
1170
|
-
if (!E)
|
|
1171
|
-
return;
|
|
1172
|
-
Te(E).forEach((A) => {
|
|
1173
|
-
d(A, _);
|
|
1174
|
-
});
|
|
1175
|
-
});
|
|
1176
|
-
}
|
|
1177
|
-
const m = o.filter((d) => !c.has(d) && !Oe("script", d));
|
|
1178
|
-
return {
|
|
1179
|
-
cssAssets: i.filter((d) => !l.has(d) && !Oe("link", d)),
|
|
1180
|
-
jsAssetsWithoutEntry: m,
|
|
1181
|
-
entryAssets: a.filter((d) => !Oe("script", d.url))
|
|
1182
|
-
};
|
|
1183
|
-
}
|
|
1184
|
-
const sn = function() {
|
|
1185
|
-
return {
|
|
1186
|
-
name: "generate-preload-assets-plugin",
|
|
1187
|
-
async generatePreloadAssets(t) {
|
|
1188
|
-
const { origin: e, preloadOptions: n, remoteInfo: r, remote: s, globalSnapshot: i, remoteSnapshot: o } = t;
|
|
1189
|
-
return g.isBrowserEnv() ? fe(s) && Ae(s) ? {
|
|
1190
|
-
cssAssets: [],
|
|
1191
|
-
jsAssetsWithoutEntry: [],
|
|
1192
|
-
entryAssets: [
|
|
1193
|
-
{
|
|
1194
|
-
name: s.name,
|
|
1195
|
-
url: s.entry,
|
|
1196
|
-
moduleInfo: {
|
|
1197
|
-
name: r.name,
|
|
1198
|
-
entry: s.entry,
|
|
1199
|
-
type: r.type || "global",
|
|
1200
|
-
entryGlobalName: "",
|
|
1201
|
-
shareScope: ""
|
|
1202
|
-
}
|
|
1203
|
-
}
|
|
1204
|
-
]
|
|
1205
|
-
} : (st(r, o), rn(e, n, r, i, o)) : {
|
|
1206
|
-
cssAssets: [],
|
|
1207
|
-
jsAssetsWithoutEntry: [],
|
|
1208
|
-
entryAssets: []
|
|
1209
|
-
};
|
|
1210
|
-
}
|
|
1211
|
-
};
|
|
1212
|
-
};
|
|
1213
|
-
function it(t, e) {
|
|
1214
|
-
const n = z({
|
|
1215
|
-
name: e.name,
|
|
1216
|
-
version: e.options.version
|
|
1217
|
-
}), r = n && "remotesInfo" in n && n.remotesInfo && G(n.remotesInfo, t.name).value;
|
|
1218
|
-
return r && r.matchedVersion ? {
|
|
1219
|
-
hostGlobalSnapshot: n,
|
|
1220
|
-
globalSnapshot: se(),
|
|
1221
|
-
remoteSnapshot: z({
|
|
1222
|
-
name: t.name,
|
|
1223
|
-
version: r.matchedVersion
|
|
1224
|
-
})
|
|
1225
|
-
} : {
|
|
1226
|
-
hostGlobalSnapshot: void 0,
|
|
1227
|
-
globalSnapshot: se(),
|
|
1228
|
-
remoteSnapshot: z({
|
|
1229
|
-
name: t.name,
|
|
1230
|
-
version: "version" in t ? t.version : void 0
|
|
1231
|
-
})
|
|
1232
|
-
};
|
|
1233
|
-
}
|
|
1234
|
-
class on {
|
|
1235
|
-
constructor(e) {
|
|
1236
|
-
this.loadingHostSnapshot = null, this.manifestCache = /* @__PURE__ */ new Map(), this.hooks = new q({
|
|
1237
|
-
beforeLoadRemoteSnapshot: new L("beforeLoadRemoteSnapshot"),
|
|
1238
|
-
loadSnapshot: new x("loadGlobalSnapshot"),
|
|
1239
|
-
loadRemoteSnapshot: new x("loadRemoteSnapshot"),
|
|
1240
|
-
afterLoadSnapshot: new x("afterLoadSnapshot")
|
|
1241
|
-
}), this.manifestLoading = V.__FEDERATION__.__MANIFEST_LOADING__, this.HostInstance = e, this.loaderHook = e.loaderHook;
|
|
1242
|
-
}
|
|
1243
|
-
// eslint-disable-next-line max-lines-per-function
|
|
1244
|
-
async loadRemoteSnapshotInfo({ moduleInfo: e, id: n, expose: r }) {
|
|
1245
|
-
const { options: s } = this.HostInstance;
|
|
1246
|
-
await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({
|
|
1247
|
-
options: s,
|
|
1248
|
-
moduleInfo: e
|
|
1249
|
-
});
|
|
1250
|
-
let i = z({
|
|
1251
|
-
name: this.HostInstance.options.name,
|
|
1252
|
-
version: this.HostInstance.options.version
|
|
1253
|
-
});
|
|
1254
|
-
i || (i = {
|
|
1255
|
-
version: this.HostInstance.options.version || "",
|
|
1256
|
-
remoteEntry: "",
|
|
1257
|
-
remotesInfo: {}
|
|
1258
|
-
}, de({
|
|
1259
|
-
[this.HostInstance.options.name]: i
|
|
1260
|
-
})), i && "remotesInfo" in i && !G(i.remotesInfo, e.name).value && ("version" in e || "entry" in e) && (i.remotesInfo = {
|
|
1261
|
-
...i?.remotesInfo,
|
|
1262
|
-
[e.name]: {
|
|
1263
|
-
matchedVersion: "version" in e ? e.version : e.entry
|
|
1264
|
-
}
|
|
1265
|
-
});
|
|
1266
|
-
const { hostGlobalSnapshot: o, remoteSnapshot: a, globalSnapshot: c } = this.getGlobalRemoteInfo(e), { remoteSnapshot: l, globalSnapshot: u } = await this.hooks.lifecycle.loadSnapshot.emit({
|
|
1267
|
-
options: s,
|
|
1268
|
-
moduleInfo: e,
|
|
1269
|
-
hostGlobalSnapshot: o,
|
|
1270
|
-
remoteSnapshot: a,
|
|
1271
|
-
globalSnapshot: c
|
|
1272
|
-
});
|
|
1273
|
-
let h, f;
|
|
1274
|
-
if (l)
|
|
1275
|
-
if (g.isManifestProvider(l)) {
|
|
1276
|
-
const p = g.isBrowserEnv() ? l.remoteEntry : l.ssrRemoteEntry || l.remoteEntry || "", m = await this.getManifestJson(p, e, {}), y = he({
|
|
1277
|
-
...e,
|
|
1278
|
-
// The global remote may be overridden
|
|
1279
|
-
// Therefore, set the snapshot key to the global address of the actual request
|
|
1280
|
-
entry: p
|
|
1281
|
-
}, m);
|
|
1282
|
-
h = m, f = y;
|
|
1283
|
-
} else {
|
|
1284
|
-
const { remoteSnapshot: p } = await this.hooks.lifecycle.loadRemoteSnapshot.emit({
|
|
1285
|
-
options: this.HostInstance.options,
|
|
1286
|
-
moduleInfo: e,
|
|
1287
|
-
remoteSnapshot: l,
|
|
1288
|
-
from: "global"
|
|
1289
|
-
});
|
|
1290
|
-
h = p, f = u;
|
|
1291
|
-
}
|
|
1292
|
-
else if (fe(e)) {
|
|
1293
|
-
const p = await this.getManifestJson(e.entry, e, {}), m = he(e, p), { remoteSnapshot: y } = await this.hooks.lifecycle.loadRemoteSnapshot.emit({
|
|
1294
|
-
options: this.HostInstance.options,
|
|
1295
|
-
moduleInfo: e,
|
|
1296
|
-
remoteSnapshot: p,
|
|
1297
|
-
from: "global"
|
|
1298
|
-
});
|
|
1299
|
-
h = y, f = m;
|
|
1300
|
-
} else
|
|
1301
|
-
k(S.getShortErrorMsg(S.RUNTIME_007, S.runtimeDescMap, {
|
|
1302
|
-
hostName: e.name,
|
|
1303
|
-
hostVersion: e.version,
|
|
1304
|
-
globalSnapshot: JSON.stringify(u)
|
|
1305
|
-
}));
|
|
1306
|
-
return await this.hooks.lifecycle.afterLoadSnapshot.emit({
|
|
1307
|
-
id: n,
|
|
1308
|
-
host: this.HostInstance,
|
|
1309
|
-
options: s,
|
|
1310
|
-
moduleInfo: e,
|
|
1311
|
-
remoteSnapshot: h
|
|
1312
|
-
}), {
|
|
1313
|
-
remoteSnapshot: h,
|
|
1314
|
-
globalSnapshot: f
|
|
1315
|
-
};
|
|
1316
|
-
}
|
|
1317
|
-
getGlobalRemoteInfo(e) {
|
|
1318
|
-
return it(e, this.HostInstance);
|
|
1319
|
-
}
|
|
1320
|
-
async getManifestJson(e, n, r) {
|
|
1321
|
-
const s = async () => {
|
|
1322
|
-
let o = this.manifestCache.get(e);
|
|
1323
|
-
if (o)
|
|
1324
|
-
return o;
|
|
1325
|
-
try {
|
|
1326
|
-
let a = await this.loaderHook.lifecycle.fetch.emit(e, {});
|
|
1327
|
-
(!a || !(a instanceof Response)) && (a = await fetch(e, {})), o = await a.json();
|
|
1328
|
-
} catch (a) {
|
|
1329
|
-
o = await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({
|
|
1330
|
-
id: e,
|
|
1331
|
-
error: a,
|
|
1332
|
-
from: "runtime",
|
|
1333
|
-
lifecycle: "afterResolve",
|
|
1334
|
-
origin: this.HostInstance
|
|
1335
|
-
}), o || (delete this.manifestLoading[e], k(S.getShortErrorMsg(S.RUNTIME_003, S.runtimeDescMap, {
|
|
1336
|
-
manifestUrl: e,
|
|
1337
|
-
moduleName: n.name,
|
|
1338
|
-
hostName: this.HostInstance.options.name
|
|
1339
|
-
}, `${a}`)));
|
|
1340
|
-
}
|
|
1341
|
-
return N(o.metaData && o.exposes && o.shared, `${e} is not a federation manifest`), this.manifestCache.set(e, o), o;
|
|
1342
|
-
}, i = async () => {
|
|
1343
|
-
const o = await s(), a = g.generateSnapshotFromManifest(o, {
|
|
1344
|
-
version: e
|
|
1345
|
-
}), { remoteSnapshot: c } = await this.hooks.lifecycle.loadRemoteSnapshot.emit({
|
|
1346
|
-
options: this.HostInstance.options,
|
|
1347
|
-
moduleInfo: n,
|
|
1348
|
-
manifestJson: o,
|
|
1349
|
-
remoteSnapshot: a,
|
|
1350
|
-
manifestUrl: e,
|
|
1351
|
-
from: "manifest"
|
|
1352
|
-
});
|
|
1353
|
-
return c;
|
|
1354
|
-
};
|
|
1355
|
-
return this.manifestLoading[e] || (this.manifestLoading[e] = i().then((o) => o)), this.manifestLoading[e];
|
|
1356
|
-
}
|
|
1357
|
-
}
|
|
1358
|
-
class an {
|
|
1359
|
-
constructor(e) {
|
|
1360
|
-
this.hooks = new q({
|
|
1361
|
-
afterResolve: new x("afterResolve"),
|
|
1362
|
-
beforeLoadShare: new x("beforeLoadShare"),
|
|
1363
|
-
// not used yet
|
|
1364
|
-
loadShare: new L(),
|
|
1365
|
-
resolveShare: new te("resolveShare"),
|
|
1366
|
-
// maybe will change, temporarily for internal use only
|
|
1367
|
-
initContainerShareScopeMap: new te("initContainerShareScopeMap")
|
|
1368
|
-
}), this.host = e, this.shareScopeMap = {}, this.initTokens = {}, this._setGlobalShareScopeMap(e.options);
|
|
1369
|
-
}
|
|
1370
|
-
// register shared in shareScopeMap
|
|
1371
|
-
registerShared(e, n) {
|
|
1372
|
-
const { shareInfos: r, shared: s } = Ze(e, n);
|
|
1373
|
-
return Object.keys(r).forEach((o) => {
|
|
1374
|
-
r[o].forEach((c) => {
|
|
1375
|
-
c.scope.forEach((l) => {
|
|
1376
|
-
this.shareScopeMap[l]?.[o] || this.setShared({
|
|
1377
|
-
pkgName: o,
|
|
1378
|
-
lib: c.lib,
|
|
1379
|
-
get: c.get,
|
|
1380
|
-
loaded: c.loaded || !!c.lib,
|
|
1381
|
-
shared: c,
|
|
1382
|
-
from: n.name
|
|
1383
|
-
});
|
|
1384
|
-
});
|
|
1385
|
-
});
|
|
1386
|
-
}), {
|
|
1387
|
-
shareInfos: r,
|
|
1388
|
-
shared: s
|
|
1389
|
-
};
|
|
1390
|
-
}
|
|
1391
|
-
async loadShare(e, n) {
|
|
1392
|
-
const { host: r } = this, s = Qe({
|
|
1393
|
-
pkgName: e,
|
|
1394
|
-
extraOptions: n,
|
|
1395
|
-
shareInfos: r.options.shared
|
|
1396
|
-
});
|
|
1397
|
-
s?.scope && await Promise.all(s.scope.map(async (l) => {
|
|
1398
|
-
await Promise.all(this.initializeSharing(l, {
|
|
1399
|
-
strategy: s.strategy
|
|
1400
|
-
}));
|
|
1401
|
-
}));
|
|
1402
|
-
const i = await this.hooks.lifecycle.beforeLoadShare.emit({
|
|
1403
|
-
pkgName: e,
|
|
1404
|
-
shareInfo: s,
|
|
1405
|
-
shared: r.options.shared,
|
|
1406
|
-
origin: r
|
|
1407
|
-
}), { shareInfo: o } = i;
|
|
1408
|
-
N(o, `Cannot find ${e} Share in the ${r.options.name}. Please ensure that the ${e} Share parameters have been injected`);
|
|
1409
|
-
const a = U(this.shareScopeMap, e, o, this.hooks.lifecycle.resolveShare), c = (l) => {
|
|
1410
|
-
l.useIn || (l.useIn = []), we(l.useIn, r.options.name);
|
|
1411
|
-
};
|
|
1412
|
-
if (a && a.lib)
|
|
1413
|
-
return c(a), a.lib;
|
|
1414
|
-
if (a && a.loading && !a.loaded) {
|
|
1415
|
-
const l = await a.loading;
|
|
1416
|
-
return a.loaded = !0, a.lib || (a.lib = l), c(a), l;
|
|
1417
|
-
} else if (a) {
|
|
1418
|
-
const u = (async () => {
|
|
1419
|
-
const h = await a.get();
|
|
1420
|
-
return c(a), a.loaded = !0, a.lib = h, h;
|
|
1421
|
-
})();
|
|
1422
|
-
return this.setShared({
|
|
1423
|
-
pkgName: e,
|
|
1424
|
-
loaded: !1,
|
|
1425
|
-
shared: a,
|
|
1426
|
-
from: r.options.name,
|
|
1427
|
-
lib: null,
|
|
1428
|
-
loading: u
|
|
1429
|
-
}), u;
|
|
1430
|
-
} else {
|
|
1431
|
-
if (n?.customShareInfo)
|
|
1432
|
-
return !1;
|
|
1433
|
-
const u = (async () => {
|
|
1434
|
-
const h = await o.get();
|
|
1435
|
-
o.lib = h, o.loaded = !0, c(o);
|
|
1436
|
-
const f = U(this.shareScopeMap, e, o, this.hooks.lifecycle.resolveShare);
|
|
1437
|
-
return f && (f.lib = h, f.loaded = !0, f.from = o.from), h;
|
|
1438
|
-
})();
|
|
1439
|
-
return this.setShared({
|
|
1440
|
-
pkgName: e,
|
|
1441
|
-
loaded: !1,
|
|
1442
|
-
shared: o,
|
|
1443
|
-
from: r.options.name,
|
|
1444
|
-
lib: null,
|
|
1445
|
-
loading: u
|
|
1446
|
-
}), u;
|
|
1447
|
-
}
|
|
1448
|
-
}
|
|
1449
|
-
/**
|
|
1450
|
-
* This function initializes the sharing sequence (executed only once per share scope).
|
|
1451
|
-
* It accepts one argument, the name of the share scope.
|
|
1452
|
-
* If the share scope does not exist, it creates one.
|
|
1453
|
-
*/
|
|
1454
|
-
// eslint-disable-next-line @typescript-eslint/member-ordering
|
|
1455
|
-
initializeSharing(e = J, n) {
|
|
1456
|
-
const { host: r } = this, s = n?.from, i = n?.strategy;
|
|
1457
|
-
let o = n?.initScope;
|
|
1458
|
-
const a = [];
|
|
1459
|
-
if (s !== "build") {
|
|
1460
|
-
const { initTokens: m } = this;
|
|
1461
|
-
o || (o = []);
|
|
1462
|
-
let y = m[e];
|
|
1463
|
-
if (y || (y = m[e] = { from: this.host.name }), o.indexOf(y) >= 0)
|
|
1464
|
-
return a;
|
|
1465
|
-
o.push(y);
|
|
1466
|
-
}
|
|
1467
|
-
const c = this.shareScopeMap, l = r.options.name;
|
|
1468
|
-
c[e] || (c[e] = {});
|
|
1469
|
-
const u = c[e], h = (m, y) => {
|
|
1470
|
-
const { version: d, eager: _ } = y;
|
|
1471
|
-
u[m] = u[m] || {};
|
|
1472
|
-
const I = u[m], E = I[d], $ = !!(E && (E.eager || E.shareConfig?.eager));
|
|
1473
|
-
(!E || E.strategy !== "loaded-first" && !E.loaded && (!_ != !$ ? _ : l > E.from)) && (I[d] = y);
|
|
1474
|
-
}, f = (m) => m && m.init && m.init(c[e], o), p = async (m) => {
|
|
1475
|
-
const { module: y } = await r.remoteHandler.getRemoteModuleAndOptions({
|
|
1476
|
-
id: m
|
|
1477
|
-
});
|
|
1478
|
-
if (y.getEntry) {
|
|
1479
|
-
let d;
|
|
1480
|
-
try {
|
|
1481
|
-
d = await y.getEntry();
|
|
1482
|
-
} catch (_) {
|
|
1483
|
-
d = await r.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({
|
|
1484
|
-
id: m,
|
|
1485
|
-
error: _,
|
|
1486
|
-
from: "runtime",
|
|
1487
|
-
lifecycle: "beforeLoadShare",
|
|
1488
|
-
origin: r
|
|
1489
|
-
});
|
|
1490
|
-
}
|
|
1491
|
-
y.inited || (await f(d), y.inited = !0);
|
|
1492
|
-
}
|
|
1493
|
-
};
|
|
1494
|
-
return Object.keys(r.options.shared).forEach((m) => {
|
|
1495
|
-
r.options.shared[m].forEach((d) => {
|
|
1496
|
-
d.scope.includes(e) && h(m, d);
|
|
1497
|
-
});
|
|
1498
|
-
}), (r.options.shareStrategy === "version-first" || i === "version-first") && r.options.remotes.forEach((m) => {
|
|
1499
|
-
m.shareScope === e && a.push(p(m.name));
|
|
1500
|
-
}), a;
|
|
1501
|
-
}
|
|
1502
|
-
// The lib function will only be available if the shared set by eager or runtime init is set or the shared is successfully loaded.
|
|
1503
|
-
// 1. If the loaded shared already exists globally, then it will be reused
|
|
1504
|
-
// 2. If lib exists in local shared, it will be used directly
|
|
1505
|
-
// 3. If the local get returns something other than Promise, then it will be used directly
|
|
1506
|
-
loadShareSync(e, n) {
|
|
1507
|
-
const { host: r } = this, s = Qe({
|
|
1508
|
-
pkgName: e,
|
|
1509
|
-
extraOptions: n,
|
|
1510
|
-
shareInfos: r.options.shared
|
|
1511
|
-
});
|
|
1512
|
-
s?.scope && s.scope.forEach((a) => {
|
|
1513
|
-
this.initializeSharing(a, { strategy: s.strategy });
|
|
1514
|
-
});
|
|
1515
|
-
const i = U(this.shareScopeMap, e, s, this.hooks.lifecycle.resolveShare), o = (a) => {
|
|
1516
|
-
a.useIn || (a.useIn = []), we(a.useIn, r.options.name);
|
|
1517
|
-
};
|
|
1518
|
-
if (i) {
|
|
1519
|
-
if (typeof i.lib == "function")
|
|
1520
|
-
return o(i), i.loaded || (i.loaded = !0, i.from === r.options.name && (s.loaded = !0)), i.lib;
|
|
1521
|
-
if (typeof i.get == "function") {
|
|
1522
|
-
const a = i.get();
|
|
1523
|
-
if (!(a instanceof Promise))
|
|
1524
|
-
return o(i), this.setShared({
|
|
1525
|
-
pkgName: e,
|
|
1526
|
-
loaded: !0,
|
|
1527
|
-
from: r.options.name,
|
|
1528
|
-
lib: a,
|
|
1529
|
-
shared: i
|
|
1530
|
-
}), a;
|
|
1531
|
-
}
|
|
1532
|
-
}
|
|
1533
|
-
if (s.lib)
|
|
1534
|
-
return s.loaded || (s.loaded = !0), s.lib;
|
|
1535
|
-
if (s.get) {
|
|
1536
|
-
const a = s.get();
|
|
1537
|
-
if (a instanceof Promise) {
|
|
1538
|
-
const c = n?.from === "build" ? S.RUNTIME_005 : S.RUNTIME_006;
|
|
1539
|
-
throw new Error(S.getShortErrorMsg(c, S.runtimeDescMap, {
|
|
1540
|
-
hostName: r.options.name,
|
|
1541
|
-
sharedPkgName: e
|
|
1542
|
-
}));
|
|
1543
|
-
}
|
|
1544
|
-
return s.lib = a, this.setShared({
|
|
1545
|
-
pkgName: e,
|
|
1546
|
-
loaded: !0,
|
|
1547
|
-
from: r.options.name,
|
|
1548
|
-
lib: s.lib,
|
|
1549
|
-
shared: s
|
|
1550
|
-
}), s.lib;
|
|
1551
|
-
}
|
|
1552
|
-
throw new Error(S.getShortErrorMsg(S.RUNTIME_006, S.runtimeDescMap, {
|
|
1553
|
-
hostName: r.options.name,
|
|
1554
|
-
sharedPkgName: e
|
|
1555
|
-
}));
|
|
1556
|
-
}
|
|
1557
|
-
initShareScopeMap(e, n, r = {}) {
|
|
1558
|
-
const { host: s } = this;
|
|
1559
|
-
this.shareScopeMap[e] = n, this.hooks.lifecycle.initContainerShareScopeMap.emit({
|
|
1560
|
-
shareScope: n,
|
|
1561
|
-
options: s.options,
|
|
1562
|
-
origin: s,
|
|
1563
|
-
scopeName: e,
|
|
1564
|
-
hostShareScopeMap: r.hostShareScopeMap
|
|
1565
|
-
});
|
|
1566
|
-
}
|
|
1567
|
-
setShared({ pkgName: e, shared: n, from: r, lib: s, loading: i, loaded: o, get: a }) {
|
|
1568
|
-
const { version: c, scope: l = "default", ...u } = n;
|
|
1569
|
-
(Array.isArray(l) ? l : [l]).forEach((f) => {
|
|
1570
|
-
if (this.shareScopeMap[f] || (this.shareScopeMap[f] = {}), this.shareScopeMap[f][e] || (this.shareScopeMap[f][e] = {}), !this.shareScopeMap[f][e][c]) {
|
|
1571
|
-
this.shareScopeMap[f][e][c] = {
|
|
1572
|
-
version: c,
|
|
1573
|
-
scope: [f],
|
|
1574
|
-
...u,
|
|
1575
|
-
lib: s,
|
|
1576
|
-
loaded: o,
|
|
1577
|
-
loading: i
|
|
1578
|
-
}, a && (this.shareScopeMap[f][e][c].get = a);
|
|
1579
|
-
return;
|
|
1580
|
-
}
|
|
1581
|
-
const p = this.shareScopeMap[f][e][c];
|
|
1582
|
-
i && !p.loading && (p.loading = i), o && !p.loaded && (p.loaded = o), r && p.from !== r && (p.from = r);
|
|
1583
|
-
});
|
|
1584
|
-
}
|
|
1585
|
-
_setGlobalShareScopeMap(e) {
|
|
1586
|
-
const n = Se(), r = e.id || e.name;
|
|
1587
|
-
r && !n[r] && (n[r] = this.shareScopeMap);
|
|
1588
|
-
}
|
|
1589
|
-
}
|
|
1590
|
-
class cn {
|
|
1591
|
-
constructor(e) {
|
|
1592
|
-
this.hooks = new q({
|
|
1593
|
-
beforeRegisterRemote: new te("beforeRegisterRemote"),
|
|
1594
|
-
registerRemote: new te("registerRemote"),
|
|
1595
|
-
beforeRequest: new x("beforeRequest"),
|
|
1596
|
-
onLoad: new L("onLoad"),
|
|
1597
|
-
handlePreloadModule: new M("handlePreloadModule"),
|
|
1598
|
-
errorLoadRemote: new L("errorLoadRemote"),
|
|
1599
|
-
beforePreloadRemote: new L("beforePreloadRemote"),
|
|
1600
|
-
generatePreloadAssets: new L("generatePreloadAssets"),
|
|
1601
|
-
// not used yet
|
|
1602
|
-
afterPreloadRemote: new L(),
|
|
1603
|
-
loadEntry: new L()
|
|
1604
|
-
}), this.host = e, this.idToRemoteMap = {};
|
|
1605
|
-
}
|
|
1606
|
-
formatAndRegisterRemote(e, n) {
|
|
1607
|
-
return (n.remotes || []).reduce((s, i) => (this.registerRemote(i, s, { force: !1 }), s), e.remotes);
|
|
1608
|
-
}
|
|
1609
|
-
setIdToRemoteMap(e, n) {
|
|
1610
|
-
const { remote: r, expose: s } = n, { name: i, alias: o } = r;
|
|
1611
|
-
if (this.idToRemoteMap[e] = { name: r.name, expose: s }, o && e.startsWith(i)) {
|
|
1612
|
-
const a = e.replace(i, o);
|
|
1613
|
-
this.idToRemoteMap[a] = { name: r.name, expose: s };
|
|
1614
|
-
return;
|
|
1615
|
-
}
|
|
1616
|
-
if (o && e.startsWith(o)) {
|
|
1617
|
-
const a = e.replace(o, i);
|
|
1618
|
-
this.idToRemoteMap[a] = { name: r.name, expose: s };
|
|
1619
|
-
}
|
|
1620
|
-
}
|
|
1621
|
-
// eslint-disable-next-line max-lines-per-function
|
|
1622
|
-
// eslint-disable-next-line @typescript-eslint/member-ordering
|
|
1623
|
-
async loadRemote(e, n) {
|
|
1624
|
-
const { host: r } = this;
|
|
1625
|
-
try {
|
|
1626
|
-
const { loadFactory: s = !0 } = n || {
|
|
1627
|
-
loadFactory: !0
|
|
1628
|
-
}, { module: i, moduleOptions: o, remoteMatchInfo: a } = await this.getRemoteModuleAndOptions({
|
|
1629
|
-
id: e
|
|
1630
|
-
}), { pkgNameOrAlias: c, remote: l, expose: u, id: h, remoteSnapshot: f } = a, p = await i.get(h, u, n, f), m = await this.hooks.lifecycle.onLoad.emit({
|
|
1631
|
-
id: h,
|
|
1632
|
-
pkgNameOrAlias: c,
|
|
1633
|
-
expose: u,
|
|
1634
|
-
exposeModule: s ? p : void 0,
|
|
1635
|
-
exposeModuleFactory: s ? void 0 : p,
|
|
1636
|
-
remote: l,
|
|
1637
|
-
options: o,
|
|
1638
|
-
moduleInstance: i,
|
|
1639
|
-
origin: r
|
|
1640
|
-
});
|
|
1641
|
-
return this.setIdToRemoteMap(e, a), typeof m == "function" ? m : p;
|
|
1642
|
-
} catch (s) {
|
|
1643
|
-
const { from: i = "runtime" } = n || { from: "runtime" }, o = await this.hooks.lifecycle.errorLoadRemote.emit({
|
|
1644
|
-
id: e,
|
|
1645
|
-
error: s,
|
|
1646
|
-
from: i,
|
|
1647
|
-
lifecycle: "onLoad",
|
|
1648
|
-
origin: r
|
|
1649
|
-
});
|
|
1650
|
-
if (!o)
|
|
1651
|
-
throw s;
|
|
1652
|
-
return o;
|
|
1653
|
-
}
|
|
1654
|
-
}
|
|
1655
|
-
// eslint-disable-next-line @typescript-eslint/member-ordering
|
|
1656
|
-
async preloadRemote(e) {
|
|
1657
|
-
const { host: n } = this;
|
|
1658
|
-
await this.hooks.lifecycle.beforePreloadRemote.emit({
|
|
1659
|
-
preloadOps: e,
|
|
1660
|
-
options: n.options,
|
|
1661
|
-
origin: n
|
|
1662
|
-
});
|
|
1663
|
-
const r = Zt(n.options.remotes, e);
|
|
1664
|
-
await Promise.all(r.map(async (s) => {
|
|
1665
|
-
const { remote: i } = s, o = ee(i), { globalSnapshot: a, remoteSnapshot: c } = await n.snapshotHandler.loadRemoteSnapshotInfo({
|
|
1666
|
-
moduleInfo: i
|
|
1667
|
-
}), l = await this.hooks.lifecycle.generatePreloadAssets.emit({
|
|
1668
|
-
origin: n,
|
|
1669
|
-
preloadOptions: s,
|
|
1670
|
-
remote: i,
|
|
1671
|
-
remoteInfo: o,
|
|
1672
|
-
globalSnapshot: a,
|
|
1673
|
-
remoteSnapshot: c
|
|
1674
|
-
});
|
|
1675
|
-
l && Ie(o, n, l);
|
|
1676
|
-
}));
|
|
1677
|
-
}
|
|
1678
|
-
registerRemotes(e, n) {
|
|
1679
|
-
const { host: r } = this;
|
|
1680
|
-
e.forEach((s) => {
|
|
1681
|
-
this.registerRemote(s, r.options.remotes, {
|
|
1682
|
-
force: n?.force
|
|
1683
|
-
});
|
|
1684
|
-
});
|
|
1685
|
-
}
|
|
1686
|
-
async getRemoteModuleAndOptions(e) {
|
|
1687
|
-
const { host: n } = this, { id: r } = e;
|
|
1688
|
-
let s;
|
|
1689
|
-
try {
|
|
1690
|
-
s = await this.hooks.lifecycle.beforeRequest.emit({
|
|
1691
|
-
id: r,
|
|
1692
|
-
options: n.options,
|
|
1693
|
-
origin: n
|
|
1694
|
-
});
|
|
1695
|
-
} catch (m) {
|
|
1696
|
-
if (s = await this.hooks.lifecycle.errorLoadRemote.emit({
|
|
1697
|
-
id: r,
|
|
1698
|
-
options: n.options,
|
|
1699
|
-
origin: n,
|
|
1700
|
-
from: "runtime",
|
|
1701
|
-
error: m,
|
|
1702
|
-
lifecycle: "beforeRequest"
|
|
1703
|
-
}), !s)
|
|
1704
|
-
throw m;
|
|
1705
|
-
}
|
|
1706
|
-
const { id: i } = s, o = be(n.options.remotes, i);
|
|
1707
|
-
N(o, S.getShortErrorMsg(S.RUNTIME_004, S.runtimeDescMap, {
|
|
1708
|
-
hostName: n.options.name,
|
|
1709
|
-
requestId: i
|
|
1710
|
-
}));
|
|
1711
|
-
const { remote: a } = o, c = ee(a), l = await n.sharedHandler.hooks.lifecycle.afterResolve.emit({
|
|
1712
|
-
id: i,
|
|
1713
|
-
...o,
|
|
1714
|
-
options: n.options,
|
|
1715
|
-
origin: n,
|
|
1716
|
-
remoteInfo: c
|
|
1717
|
-
}), { remote: u, expose: h } = l;
|
|
1718
|
-
N(u && h, `The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${i}.`);
|
|
1719
|
-
let f = n.moduleCache.get(u.name);
|
|
1720
|
-
const p = {
|
|
1721
|
-
host: n,
|
|
1722
|
-
remoteInfo: c
|
|
1723
|
-
};
|
|
1724
|
-
return f || (f = new $e(p), n.moduleCache.set(u.name, f)), {
|
|
1725
|
-
module: f,
|
|
1726
|
-
moduleOptions: p,
|
|
1727
|
-
remoteMatchInfo: l
|
|
1728
|
-
};
|
|
1729
|
-
}
|
|
1730
|
-
registerRemote(e, n, r) {
|
|
1731
|
-
const { host: s } = this, i = () => {
|
|
1732
|
-
if (e.alias) {
|
|
1733
|
-
const a = n.find((c) => e.alias && (c.name.startsWith(e.alias) || c.alias?.startsWith(e.alias)));
|
|
1734
|
-
N(!a, `The alias ${e.alias} of remote ${e.name} is not allowed to be the prefix of ${a && a.name} name or alias`);
|
|
1735
|
-
}
|
|
1736
|
-
"entry" in e && g.isBrowserEnv() && !e.entry.startsWith("http") && (e.entry = new URL(e.entry, window.location.origin).href), e.shareScope || (e.shareScope = J), e.type || (e.type = Ve);
|
|
1737
|
-
};
|
|
1738
|
-
this.hooks.lifecycle.beforeRegisterRemote.emit({ remote: e, origin: s });
|
|
1739
|
-
const o = n.find((a) => a.name === e.name);
|
|
1740
|
-
if (!o)
|
|
1741
|
-
i(), n.push(e), this.hooks.lifecycle.registerRemote.emit({ remote: e, origin: s });
|
|
1742
|
-
else {
|
|
1743
|
-
const a = [
|
|
1744
|
-
`The remote "${e.name}" is already registered.`,
|
|
1745
|
-
"Please note that overriding it may cause unexpected errors."
|
|
1746
|
-
];
|
|
1747
|
-
r?.force && (this.removeRemote(o), i(), n.push(e), this.hooks.lifecycle.registerRemote.emit({ remote: e, origin: s }), g.warn(a.join(" ")));
|
|
1748
|
-
}
|
|
1749
|
-
}
|
|
1750
|
-
removeRemote(e) {
|
|
1751
|
-
try {
|
|
1752
|
-
const { host: n } = this, { name: r } = e, s = n.options.remotes.findIndex((o) => o.name === r);
|
|
1753
|
-
s !== -1 && n.options.remotes.splice(s, 1);
|
|
1754
|
-
const i = n.moduleCache.get(e.name);
|
|
1755
|
-
if (i) {
|
|
1756
|
-
const o = i.remoteInfo, a = o.entryGlobalName;
|
|
1757
|
-
R[a] && (Object.getOwnPropertyDescriptor(R, a)?.configurable ? delete R[a] : R[a] = void 0);
|
|
1758
|
-
const c = Re(i.remoteInfo);
|
|
1759
|
-
C[c] && delete C[c], n.snapshotHandler.manifestCache.delete(o.entry);
|
|
1760
|
-
let l = o.buildVersion ? g.composeKeyWithSeparator(o.name, o.buildVersion) : o.name;
|
|
1761
|
-
const u = R.__FEDERATION__.__INSTANCES__.findIndex((f) => o.buildVersion ? f.options.id === l : f.name === l);
|
|
1762
|
-
if (u !== -1) {
|
|
1763
|
-
const f = R.__FEDERATION__.__INSTANCES__[u];
|
|
1764
|
-
l = f.options.id || l;
|
|
1765
|
-
const p = Se();
|
|
1766
|
-
let m = !0;
|
|
1767
|
-
const y = [];
|
|
1768
|
-
Object.keys(p).forEach((d) => {
|
|
1769
|
-
const _ = p[d];
|
|
1770
|
-
_ && Object.keys(_).forEach((I) => {
|
|
1771
|
-
const E = _[I];
|
|
1772
|
-
E && Object.keys(E).forEach(($) => {
|
|
1773
|
-
const A = E[$];
|
|
1774
|
-
A && Object.keys(A).forEach((H) => {
|
|
1775
|
-
const O = A[H];
|
|
1776
|
-
O && typeof O == "object" && O.from === o.name && (O.loaded || O.loading ? (O.useIn = O.useIn.filter((P) => P !== o.name), O.useIn.length ? m = !1 : y.push([
|
|
1777
|
-
d,
|
|
1778
|
-
I,
|
|
1779
|
-
$,
|
|
1780
|
-
H
|
|
1781
|
-
])) : y.push([
|
|
1782
|
-
d,
|
|
1783
|
-
I,
|
|
1784
|
-
$,
|
|
1785
|
-
H
|
|
1786
|
-
]));
|
|
1787
|
-
});
|
|
1788
|
-
});
|
|
1789
|
-
});
|
|
1790
|
-
}), m && (f.shareScopeMap = {}, delete p[l]), y.forEach(([d, _, I, E]) => {
|
|
1791
|
-
delete p[d]?.[_]?.[I]?.[E];
|
|
1792
|
-
}), R.__FEDERATION__.__INSTANCES__.splice(u, 1);
|
|
1793
|
-
}
|
|
1794
|
-
const { hostGlobalSnapshot: h } = it(e, n);
|
|
1795
|
-
if (h) {
|
|
1796
|
-
const f = h && "remotesInfo" in h && h.remotesInfo && G(h.remotesInfo, e.name).key;
|
|
1797
|
-
f && (delete h.remotesInfo[f], V.__FEDERATION__.__MANIFEST_LOADING__[f] && delete V.__FEDERATION__.__MANIFEST_LOADING__[f]);
|
|
1798
|
-
}
|
|
1799
|
-
n.moduleCache.delete(e.name);
|
|
1800
|
-
}
|
|
1801
|
-
} catch (n) {
|
|
1802
|
-
le.log("removeRemote fail: ", n);
|
|
1803
|
-
}
|
|
1804
|
-
}
|
|
1805
|
-
}
|
|
1806
|
-
const ln = typeof FEDERATION_OPTIMIZE_NO_SNAPSHOT_PLUGIN == "boolean" ? !FEDERATION_OPTIMIZE_NO_SNAPSHOT_PLUGIN : !0;
|
|
1807
|
-
class fn {
|
|
1808
|
-
constructor(e) {
|
|
1809
|
-
this.hooks = new q({
|
|
1810
|
-
beforeInit: new te("beforeInit"),
|
|
1811
|
-
init: new M(),
|
|
1812
|
-
// maybe will change, temporarily for internal use only
|
|
1813
|
-
beforeInitContainer: new x("beforeInitContainer"),
|
|
1814
|
-
// maybe will change, temporarily for internal use only
|
|
1815
|
-
initContainer: new x("initContainer")
|
|
1816
|
-
}), this.version = "0.21.6", this.moduleCache = /* @__PURE__ */ new Map(), this.loaderHook = new q({
|
|
1817
|
-
// FIXME: may not be suitable , not open to the public yet
|
|
1818
|
-
getModuleInfo: new M(),
|
|
1819
|
-
createScript: new M(),
|
|
1820
|
-
createLink: new M(),
|
|
1821
|
-
fetch: new L(),
|
|
1822
|
-
loadEntryError: new L(),
|
|
1823
|
-
getModuleFactory: new L()
|
|
1824
|
-
}), this.bridgeHook = new q({
|
|
1825
|
-
beforeBridgeRender: new M(),
|
|
1826
|
-
afterBridgeRender: new M(),
|
|
1827
|
-
beforeBridgeDestroy: new M(),
|
|
1828
|
-
afterBridgeDestroy: new M()
|
|
1829
|
-
});
|
|
1830
|
-
const n = ln ? [tn(), sn()] : [], r = {
|
|
1831
|
-
id: Ut(),
|
|
1832
|
-
name: e.name,
|
|
1833
|
-
plugins: n,
|
|
1834
|
-
remotes: [],
|
|
1835
|
-
shared: {},
|
|
1836
|
-
inBrowser: g.isBrowserEnv()
|
|
1837
|
-
};
|
|
1838
|
-
this.name = e.name, this.options = r, this.snapshotHandler = new on(this), this.sharedHandler = new an(this), this.remoteHandler = new cn(this), this.shareScopeMap = this.sharedHandler.shareScopeMap, this.registerPlugins([
|
|
1839
|
-
...r.plugins,
|
|
1840
|
-
...e.plugins || []
|
|
1841
|
-
]), this.options = this.formatOptions(r, e);
|
|
1842
|
-
}
|
|
1843
|
-
initOptions(e) {
|
|
1844
|
-
this.registerPlugins(e.plugins);
|
|
1845
|
-
const n = this.formatOptions(this.options, e);
|
|
1846
|
-
return this.options = n, n;
|
|
1847
|
-
}
|
|
1848
|
-
async loadShare(e, n) {
|
|
1849
|
-
return this.sharedHandler.loadShare(e, n);
|
|
1850
|
-
}
|
|
1851
|
-
// The lib function will only be available if the shared set by eager or runtime init is set or the shared is successfully loaded.
|
|
1852
|
-
// 1. If the loaded shared already exists globally, then it will be reused
|
|
1853
|
-
// 2. If lib exists in local shared, it will be used directly
|
|
1854
|
-
// 3. If the local get returns something other than Promise, then it will be used directly
|
|
1855
|
-
loadShareSync(e, n) {
|
|
1856
|
-
return this.sharedHandler.loadShareSync(e, n);
|
|
1857
|
-
}
|
|
1858
|
-
initializeSharing(e = J, n) {
|
|
1859
|
-
return this.sharedHandler.initializeSharing(e, n);
|
|
1860
|
-
}
|
|
1861
|
-
initRawContainer(e, n, r) {
|
|
1862
|
-
const s = ee({ name: e, entry: n }), i = new $e({ host: this, remoteInfo: s });
|
|
1863
|
-
return i.remoteEntryExports = r, this.moduleCache.set(e, i), i;
|
|
1864
|
-
}
|
|
1865
|
-
// eslint-disable-next-line max-lines-per-function
|
|
1866
|
-
// eslint-disable-next-line @typescript-eslint/member-ordering
|
|
1867
|
-
async loadRemote(e, n) {
|
|
1868
|
-
return this.remoteHandler.loadRemote(e, n);
|
|
1869
|
-
}
|
|
1870
|
-
// eslint-disable-next-line @typescript-eslint/member-ordering
|
|
1871
|
-
async preloadRemote(e) {
|
|
1872
|
-
return this.remoteHandler.preloadRemote(e);
|
|
1873
|
-
}
|
|
1874
|
-
initShareScopeMap(e, n, r = {}) {
|
|
1875
|
-
this.sharedHandler.initShareScopeMap(e, n, r);
|
|
1876
|
-
}
|
|
1877
|
-
formatOptions(e, n) {
|
|
1878
|
-
const { shared: r } = Ze(e, n), { userOptions: s, options: i } = this.hooks.lifecycle.beforeInit.emit({
|
|
1879
|
-
origin: this,
|
|
1880
|
-
userOptions: n,
|
|
1881
|
-
options: e,
|
|
1882
|
-
shareInfo: r
|
|
1883
|
-
}), o = this.remoteHandler.formatAndRegisterRemote(i, s), { shared: a } = this.sharedHandler.registerShared(i, s), c = [...i.plugins];
|
|
1884
|
-
s.plugins && s.plugins.forEach((u) => {
|
|
1885
|
-
c.includes(u) || c.push(u);
|
|
1886
|
-
});
|
|
1887
|
-
const l = {
|
|
1888
|
-
...e,
|
|
1889
|
-
...n,
|
|
1890
|
-
plugins: c,
|
|
1891
|
-
remotes: o,
|
|
1892
|
-
shared: a
|
|
1893
|
-
};
|
|
1894
|
-
return this.hooks.lifecycle.init.emit({
|
|
1895
|
-
origin: this,
|
|
1896
|
-
options: l
|
|
1897
|
-
}), l;
|
|
1898
|
-
}
|
|
1899
|
-
registerPlugins(e) {
|
|
1900
|
-
const n = jt(e, this);
|
|
1901
|
-
this.options.plugins = this.options.plugins.reduce((r, s) => (s && r && !r.find((i) => i.name === s.name) && r.push(s), r), n || []);
|
|
1902
|
-
}
|
|
1903
|
-
registerRemotes(e, n) {
|
|
1904
|
-
return this.remoteHandler.registerRemotes(e, n);
|
|
1905
|
-
}
|
|
1906
|
-
registerShared(e) {
|
|
1907
|
-
this.sharedHandler.registerShared(this.options, {
|
|
1908
|
-
...this.options,
|
|
1909
|
-
shared: e
|
|
1910
|
-
});
|
|
1911
|
-
}
|
|
1912
|
-
}
|
|
1913
|
-
var un = /* @__PURE__ */ Object.freeze({
|
|
1914
|
-
__proto__: null
|
|
1915
|
-
});
|
|
1916
|
-
return b.loadScript = g.loadScript, b.loadScriptNode = g.loadScriptNode, b.CurrentGlobal = R, b.Global = V, b.Module = $e, b.ModuleFederation = fn, b.addGlobalSnapshot = de, b.assert = N, b.getGlobalFederationConstructor = ke, b.getGlobalSnapshot = se, b.getInfoWithoutType = G, b.getRegisteredShare = U, b.getRemoteEntry = Q, b.getRemoteInfo = ee, b.helpers = en, b.isStaticResourcesEqual = ut, b.matchRemoteWithNameAndExpose = be, b.registerGlobalPlugins = He, b.resetFederationGlobalInfo = Le, b.safeWrapper = ct, b.satisfy = Y, b.setGlobalFederationConstructor = Fe, b.setGlobalFederationInstance = Pe, b.types = un, b;
|
|
1917
|
-
}
|
|
1918
|
-
export {
|
|
1919
|
-
Rn as __require
|
|
1920
|
-
};
|
|
1921
|
-
//# sourceMappingURL=index.cjs.es.js.map
|