@module-federation/enhanced 0.0.7 → 0.0.9

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.
Files changed (171) hide show
  1. package/README.md +164 -6
  2. package/dist/package.json +9 -4
  3. package/dist/src/declarations/plugins/container/AsyncDependenciesBlock.d.ts +57 -0
  4. package/dist/src/declarations/plugins/container/ContainerPlugin.d.ts +187 -0
  5. package/dist/src/declarations/plugins/container/ContainerReferencePlugin.d.ts +80 -0
  6. package/dist/src/declarations/plugins/container/Dependency.d.ts +285 -0
  7. package/dist/src/declarations/plugins/container/Module.d.ts +138 -0
  8. package/dist/src/declarations/plugins/container/ModuleFactory.d.ts +33 -0
  9. package/dist/src/declarations/plugins/container/ModuleFederationPlugin.d.ts +320 -0
  10. package/dist/src/declarations/plugins/container/ObjectDeserializerContext.d.ts +4 -0
  11. package/dist/src/declarations/plugins/container/StaticExportsDependency.d.ts +28 -0
  12. package/dist/src/declarations/plugins/container/Template.d.ts +198 -0
  13. package/dist/src/declarations/plugins/container/WebpackError.d.ts +32 -0
  14. package/dist/src/declarations/plugins/container/WebpackOptions.d.ts +140 -0
  15. package/dist/src/declarations/plugins/sharing/ConsumeSharedPlugin.d.ts +74 -0
  16. package/dist/src/declarations/plugins/sharing/ProvideSharedPlugin.d.ts +67 -0
  17. package/dist/src/declarations/plugins/sharing/SharePlugin.d.ts +78 -0
  18. package/dist/src/index.d.ts +12 -9
  19. package/dist/src/index.js +19 -14
  20. package/dist/src/index.js.map +1 -1
  21. package/dist/src/lib/container/AsyncBoundaryPlugin.d.ts +1 -1
  22. package/dist/src/lib/container/AsyncBoundaryPlugin.js +3 -2
  23. package/dist/src/lib/container/AsyncBoundaryPlugin.js.map +1 -1
  24. package/dist/src/lib/container/ContainerEntryDependency.d.ts +22 -18
  25. package/dist/src/lib/container/ContainerEntryDependency.js +3 -1
  26. package/dist/src/lib/container/ContainerEntryDependency.js.map +1 -1
  27. package/dist/src/lib/container/ContainerEntryModule.d.ts +70 -80
  28. package/dist/src/lib/container/ContainerEntryModule.js +32 -12
  29. package/dist/src/lib/container/ContainerEntryModule.js.map +1 -1
  30. package/dist/src/lib/container/ContainerEntryModuleFactory.d.ts +14 -10
  31. package/dist/src/lib/container/ContainerEntryModuleFactory.js +2 -2
  32. package/dist/src/lib/container/ContainerEntryModuleFactory.js.map +1 -1
  33. package/dist/src/lib/container/ContainerExposedDependency.d.ts +18 -25
  34. package/dist/src/lib/container/ContainerPlugin.d.ts +32 -9
  35. package/dist/src/lib/container/ContainerPlugin.js +110 -10
  36. package/dist/src/lib/container/ContainerPlugin.js.map +1 -1
  37. package/dist/src/lib/container/ContainerReferencePlugin.d.ts +27 -12
  38. package/dist/src/lib/container/ContainerReferencePlugin.js +5 -3
  39. package/dist/src/lib/container/ContainerReferencePlugin.js.map +1 -1
  40. package/dist/src/lib/container/FallbackDependency.d.ts +14 -20
  41. package/dist/src/lib/container/FallbackItemDependency.d.ts +3 -10
  42. package/dist/src/lib/container/FallbackModule.d.ts +52 -70
  43. package/dist/src/lib/container/FallbackModule.js +2 -2
  44. package/dist/src/lib/container/FallbackModule.js.map +1 -1
  45. package/dist/src/lib/container/FallbackModuleFactory.d.ts +10 -10
  46. package/dist/src/lib/container/HoistContainerReferencesPlugin.d.ts +3 -4
  47. package/dist/src/lib/container/HoistContainerReferencesPlugin.js +33 -50
  48. package/dist/src/lib/container/HoistContainerReferencesPlugin.js.map +1 -1
  49. package/dist/src/lib/container/ModuleFederationPlugin.d.ts +21 -14
  50. package/dist/src/lib/container/ModuleFederationPlugin.js +19 -10
  51. package/dist/src/lib/container/ModuleFederationPlugin.js.map +1 -1
  52. package/dist/src/lib/container/ModuleFederationPluginTypes.d.ts +271 -0
  53. package/dist/src/lib/container/ModuleFederationPluginTypes.js +8 -0
  54. package/dist/src/lib/container/ModuleFederationPluginTypes.js.map +1 -0
  55. package/dist/src/lib/container/RemoteModule.d.ts +88 -73
  56. package/dist/src/lib/container/RemoteModule.js +2 -2
  57. package/dist/src/lib/container/RemoteModule.js.map +1 -1
  58. package/dist/src/lib/container/RemoteRuntimeModule.d.ts +10 -7
  59. package/dist/src/lib/container/RemoteRuntimeModule.js +44 -46
  60. package/dist/src/lib/container/RemoteRuntimeModule.js.map +1 -1
  61. package/dist/src/lib/container/RemoteToExternalDependency.d.ts +3 -9
  62. package/dist/src/lib/container/constant.d.ts +3 -0
  63. package/dist/src/lib/container/constant.js +12 -0
  64. package/dist/src/lib/container/constant.js.map +1 -0
  65. package/dist/src/lib/container/options.d.ts +12 -4
  66. package/dist/src/lib/container/runtime/FederationRuntimeModule.d.ts +13 -0
  67. package/dist/src/lib/container/runtime/FederationRuntimeModule.js +27 -0
  68. package/dist/src/lib/container/runtime/FederationRuntimeModule.js.map +1 -0
  69. package/dist/src/lib/container/runtime/FederationRuntimePlugin.d.ts +17 -0
  70. package/dist/src/lib/container/runtime/FederationRuntimePlugin.js +199 -0
  71. package/dist/src/lib/container/runtime/FederationRuntimePlugin.js.map +1 -0
  72. package/dist/src/lib/container/runtime/getFederationGlobal.d.ts +5 -0
  73. package/dist/src/lib/container/runtime/getFederationGlobal.js +24 -0
  74. package/dist/src/lib/container/runtime/getFederationGlobal.js.map +1 -0
  75. package/dist/src/lib/container/runtime/utils.d.ts +15 -0
  76. package/dist/src/lib/container/runtime/utils.js +79 -0
  77. package/dist/src/lib/container/runtime/utils.js.map +1 -0
  78. package/dist/src/lib/sharing/ConsumeSharedFallbackDependency.d.ts +3 -10
  79. package/dist/src/lib/sharing/ConsumeSharedModule.d.ts +97 -104
  80. package/dist/src/lib/sharing/ConsumeSharedModule.js +10 -5
  81. package/dist/src/lib/sharing/ConsumeSharedModule.js.map +1 -1
  82. package/dist/src/lib/sharing/ConsumeSharedPlugin.d.ts +28 -6
  83. package/dist/src/lib/sharing/ConsumeSharedPlugin.js +13 -6
  84. package/dist/src/lib/sharing/ConsumeSharedPlugin.js.map +1 -1
  85. package/dist/src/lib/sharing/ConsumeSharedRuntimeModule.d.ts +29 -11
  86. package/dist/src/lib/sharing/ConsumeSharedRuntimeModule.js +26 -166
  87. package/dist/src/lib/sharing/ConsumeSharedRuntimeModule.js.map +1 -1
  88. package/dist/src/lib/sharing/ProvideForSharedDependency.d.ts +3 -11
  89. package/dist/src/lib/sharing/ProvideSharedDependency.d.ts +35 -31
  90. package/dist/src/lib/sharing/ProvideSharedDependency.js +11 -2
  91. package/dist/src/lib/sharing/ProvideSharedDependency.js.map +1 -1
  92. package/dist/src/lib/sharing/ProvideSharedModule.d.ts +65 -77
  93. package/dist/src/lib/sharing/ProvideSharedModule.js +31 -8
  94. package/dist/src/lib/sharing/ProvideSharedModule.js.map +1 -1
  95. package/dist/src/lib/sharing/ProvideSharedModuleFactory.d.ts +17 -10
  96. package/dist/src/lib/sharing/ProvideSharedModuleFactory.js +1 -1
  97. package/dist/src/lib/sharing/ProvideSharedModuleFactory.js.map +1 -1
  98. package/dist/src/lib/sharing/ProvideSharedPlugin.d.ts +37 -24
  99. package/dist/src/lib/sharing/ProvideSharedPlugin.js +12 -2
  100. package/dist/src/lib/sharing/ProvideSharedPlugin.js.map +1 -1
  101. package/dist/src/lib/sharing/SharePlugin.d.ts +39 -13
  102. package/dist/src/lib/sharing/SharePlugin.js +3 -0
  103. package/dist/src/lib/sharing/SharePlugin.js.map +1 -1
  104. package/dist/src/lib/sharing/ShareRuntimeModule.d.ts +12 -7
  105. package/dist/src/lib/sharing/ShareRuntimeModule.js +24 -51
  106. package/dist/src/lib/sharing/ShareRuntimeModule.js.map +1 -1
  107. package/dist/src/lib/sharing/resolveMatchedConfigs.d.ts +12 -8
  108. package/dist/src/lib/sharing/utils.d.ts +21 -17
  109. package/dist/src/lib/sharing/utils.js +17 -2
  110. package/dist/src/lib/sharing/utils.js.map +1 -1
  111. package/dist/src/schemas/container/ContainerPlugin.check.d.ts +7 -0
  112. package/dist/src/schemas/container/ContainerPlugin.check.js +2297 -0
  113. package/dist/src/schemas/container/ContainerPlugin.check.js.map +1 -0
  114. package/dist/src/schemas/container/ContainerPlugin.d.ts +268 -0
  115. package/dist/src/schemas/container/ContainerPlugin.js +306 -0
  116. package/dist/src/schemas/container/ContainerPlugin.js.map +1 -0
  117. package/dist/src/schemas/container/ContainerReferencePlugin.check.d.ts +7 -0
  118. package/dist/src/schemas/container/ContainerReferencePlugin.check.js +939 -0
  119. package/dist/src/schemas/container/ContainerReferencePlugin.check.js.map +1 -0
  120. package/dist/src/schemas/container/ContainerReferencePlugin.d.ts +87 -0
  121. package/dist/src/schemas/container/ContainerReferencePlugin.js +132 -0
  122. package/dist/src/schemas/container/ContainerReferencePlugin.js.map +1 -0
  123. package/dist/src/schemas/container/ModuleFederationPlugin.check.d.ts +9 -7
  124. package/dist/src/schemas/container/ModuleFederationPlugin.check.js +3653 -1341
  125. package/dist/src/schemas/container/ModuleFederationPlugin.check.js.map +1 -1
  126. package/dist/src/schemas/container/ModuleFederationPlugin.d.ts +13 -4
  127. package/dist/src/schemas/container/ModuleFederationPlugin.js +13 -4
  128. package/dist/src/schemas/container/ModuleFederationPlugin.js.map +1 -1
  129. package/dist/src/schemas/sharing/ProviderSharedPlugin.check.d.ts +7 -0
  130. package/dist/src/schemas/sharing/ProviderSharedPlugin.check.js +434 -0
  131. package/dist/src/schemas/sharing/ProviderSharedPlugin.check.js.map +1 -0
  132. package/dist/src/schemas/sharing/ProviderSharedPlugin.d.ts +104 -0
  133. package/dist/src/schemas/sharing/ProviderSharedPlugin.js +119 -0
  134. package/dist/src/schemas/sharing/ProviderSharedPlugin.js.map +1 -0
  135. package/dist/src/types/runtime.d.ts +7 -0
  136. package/dist/src/types/runtime.js +3 -0
  137. package/dist/src/types/runtime.js.map +1 -0
  138. package/dist/src/wrapper/AsyncBoundaryPlugin.d.ts +8 -0
  139. package/dist/src/wrapper/AsyncBoundaryPlugin.js +19 -0
  140. package/dist/src/wrapper/AsyncBoundaryPlugin.js.map +1 -0
  141. package/dist/src/wrapper/ConsumeSharedPlugin.d.ts +8 -0
  142. package/dist/src/wrapper/ConsumeSharedPlugin.js +19 -0
  143. package/dist/src/wrapper/ConsumeSharedPlugin.js.map +1 -0
  144. package/dist/src/wrapper/ContainerPlugin.d.ts +8 -0
  145. package/dist/src/wrapper/ContainerPlugin.js +19 -0
  146. package/dist/src/wrapper/ContainerPlugin.js.map +1 -0
  147. package/dist/src/wrapper/ContainerReferencePlugin.d.ts +8 -0
  148. package/dist/src/wrapper/ContainerReferencePlugin.js +19 -0
  149. package/dist/src/wrapper/ContainerReferencePlugin.js.map +1 -0
  150. package/dist/src/wrapper/FederationRuntimePlugin.d.ts +9 -0
  151. package/dist/src/wrapper/FederationRuntimePlugin.js +22 -0
  152. package/dist/src/wrapper/FederationRuntimePlugin.js.map +1 -0
  153. package/dist/src/wrapper/HoistContainerReferencesPlugin.d.ts +6 -0
  154. package/dist/src/wrapper/HoistContainerReferencesPlugin.js +18 -0
  155. package/dist/src/wrapper/HoistContainerReferencesPlugin.js.map +1 -0
  156. package/dist/src/wrapper/ModuleFederationPlugin.d.ts +8 -0
  157. package/dist/src/wrapper/ModuleFederationPlugin.js +24 -0
  158. package/dist/src/wrapper/ModuleFederationPlugin.js.map +1 -0
  159. package/dist/src/wrapper/ProvideSharedPlugin.d.ts +8 -0
  160. package/dist/src/wrapper/ProvideSharedPlugin.js +19 -0
  161. package/dist/src/wrapper/ProvideSharedPlugin.js.map +1 -0
  162. package/dist/src/wrapper/SharePlugin.d.ts +8 -0
  163. package/dist/src/wrapper/SharePlugin.js +19 -0
  164. package/dist/src/wrapper/SharePlugin.js.map +1 -0
  165. package/package.json +7 -3
  166. package/dist/src/runtime/ModuleInfoRuntimeModule.d.ts +0 -17
  167. package/dist/src/runtime/ModuleInfoRuntimeModule.js +0 -80
  168. package/dist/src/runtime/ModuleInfoRuntimeModule.js.map +0 -1
  169. package/dist/src/runtime/ModuleInfoRuntimePlugin.d.ts +0 -5
  170. package/dist/src/runtime/ModuleInfoRuntimePlugin.js +0 -24
  171. package/dist/src/runtime/ModuleInfoRuntimePlugin.js.map +0 -1
@@ -0,0 +1,140 @@
1
+ export interface WebpackOptionsNormalized {
2
+ /**
3
+ * Set the value of `require.amd` and `define.amd`. Or disable AMD support.
4
+ */
5
+ amd?: Amd;
6
+ /**
7
+ * Report the first error as a hard error instead of tolerating it.
8
+ */
9
+ bail?: Bail;
10
+ /**
11
+ * Cache generated modules and chunks to improve performance for multiple incremental builds.
12
+ */
13
+ cache: CacheOptionsNormalized;
14
+ /**
15
+ * The base directory (absolute path!) for resolving the `entry` option. If `output.pathinfo` is set, the included pathinfo is shortened to this directory.
16
+ */
17
+ context?: Context;
18
+ /**
19
+ * References to other configurations to depend on.
20
+ */
21
+ dependencies?: Dependencies;
22
+ /**
23
+ * Options for the webpack-dev-server.
24
+ */
25
+ devServer?: DevServer;
26
+ /**
27
+ * A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map).
28
+ */
29
+ devtool?: DevTool;
30
+ /**
31
+ * The entry point(s) of the compilation.
32
+ */
33
+ entry: EntryNormalized;
34
+ /**
35
+ * Enables/Disables experiments (experimental features with relax SemVer compatibility).
36
+ */
37
+ experiments: ExperimentsNormalized;
38
+ /**
39
+ * Specify dependencies that shouldn't be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.
40
+ */
41
+ externals: Externals;
42
+ /**
43
+ * Enable presets of externals for specific targets.
44
+ */
45
+ externalsPresets: ExternalsPresets;
46
+ /**
47
+ * Specifies the default type of externals ('amd*', 'umd*', 'system' and 'jsonp' depend on output.libraryTarget set to the same value).
48
+ */
49
+ externalsType?: ExternalsType;
50
+ /**
51
+ * Ignore specific warnings.
52
+ */
53
+ ignoreWarnings?: IgnoreWarningsNormalized;
54
+ /**
55
+ * Options for infrastructure level logging.
56
+ */
57
+ infrastructureLogging: InfrastructureLogging;
58
+ /**
59
+ * Custom values available in the loader context.
60
+ */
61
+ loader?: Loader;
62
+ /**
63
+ * Enable production optimizations or development hints.
64
+ */
65
+ mode?: Mode;
66
+ /**
67
+ * Options affecting the normal modules (`NormalModuleFactory`).
68
+ */
69
+ module: ModuleOptionsNormalized;
70
+ /**
71
+ * Name of the configuration. Used when loading multiple configurations.
72
+ */
73
+ name?: Name;
74
+ /**
75
+ * Include polyfills or mocks for various node stuff.
76
+ */
77
+ node: Node;
78
+ /**
79
+ * Enables/Disables integrated optimizations.
80
+ */
81
+ optimization: Optimization;
82
+ /**
83
+ * Normalized options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.
84
+ */
85
+ output: OutputNormalized;
86
+ /**
87
+ * The number of parallel processed modules in the compilation.
88
+ */
89
+ parallelism?: Parallelism;
90
+ /**
91
+ * Configuration for web performance recommendations.
92
+ */
93
+ performance?: Performance;
94
+ /**
95
+ * Add additional plugins to the compiler.
96
+ */
97
+ plugins: Plugins;
98
+ /**
99
+ * Capture timing information for each module.
100
+ */
101
+ profile?: Profile;
102
+ /**
103
+ * Store compiler state to a json file.
104
+ */
105
+ recordsInputPath?: RecordsInputPath;
106
+ /**
107
+ * Load compiler state from a json file.
108
+ */
109
+ recordsOutputPath?: RecordsOutputPath;
110
+ /**
111
+ * Options for the resolver.
112
+ */
113
+ resolve: Resolve;
114
+ /**
115
+ * Options for the resolver when resolving loaders.
116
+ */
117
+ resolveLoader: ResolveLoader;
118
+ /**
119
+ * Options affecting how file system snapshots are created and validated.
120
+ */
121
+ snapshot: SnapshotOptions;
122
+ /**
123
+ * Stats options object or preset name.
124
+ */
125
+ stats: StatsValue;
126
+ /**
127
+ * Environment to build for. An array of environments to build for all of them when possible.
128
+ */
129
+ target?: Target;
130
+ /**
131
+ * Enter watch mode, which rebuilds on file change.
132
+ */
133
+ watch?: Watch;
134
+ /**
135
+ * Options for the watcher.
136
+ */
137
+ watchOptions: WatchOptions;
138
+ }
139
+
140
+ export type WebpackOptions = WebpackOptionsNormalized;
@@ -0,0 +1,74 @@
1
+ /*
2
+ * This file was automatically generated.
3
+ * DO NOT MODIFY BY HAND.
4
+ * Run `yarn special-lint-fix` to update
5
+ */
6
+
7
+ /**
8
+ * Modules that should be consumed from share scope. When provided, property names are used to match requested modules in this compilation.
9
+ */
10
+ export type Consumes = (ConsumesItem | ConsumesObject)[] | ConsumesObject;
11
+ /**
12
+ * A module that should be consumed from share scope.
13
+ */
14
+ export type ConsumesItem = string;
15
+
16
+ /**
17
+ * Options for consuming shared modules.
18
+ */
19
+ export interface ConsumeSharedPluginOptions {
20
+ /**
21
+ * Modules that should be consumed from share scope. When provided, property names are used to match requested modules in this compilation.
22
+ */
23
+ consumes: Consumes;
24
+ /**
25
+ * Share scope name used for all consumed modules (defaults to 'default').
26
+ */
27
+ shareScope?: string;
28
+ }
29
+ /**
30
+ * Modules that should be consumed from share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.
31
+ */
32
+ export interface ConsumesObject {
33
+ /**
34
+ * Modules that should be consumed from share scope.
35
+ */
36
+ [k: string]: ConsumesConfig | ConsumesItem;
37
+ }
38
+ /**
39
+ * Advanced configuration for modules that should be consumed from share scope.
40
+ */
41
+ export interface ConsumesConfig {
42
+ /**
43
+ * Include the fallback module directly instead behind an async request. This allows to use fallback module in initial load too. All possible shared modules need to be eager too.
44
+ */
45
+ eager?: boolean;
46
+ /**
47
+ * Fallback module if no shared module is found in share scope. Defaults to the property name.
48
+ */
49
+ import?: false | ConsumesItem;
50
+ /**
51
+ * Package name to determine required version from description file. This is only needed when package name can't be automatically determined from request.
52
+ */
53
+ packageName?: string;
54
+ /**
55
+ * Version requirement from module in share scope.
56
+ */
57
+ requiredVersion?: false | string;
58
+ /**
59
+ * Module is looked up under this key from the share scope.
60
+ */
61
+ shareKey?: string;
62
+ /**
63
+ * Share scope name.
64
+ */
65
+ shareScope?: string;
66
+ /**
67
+ * Allow only a single version of the shared module in share scope (disabled by default).
68
+ */
69
+ singleton?: boolean;
70
+ /**
71
+ * Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).
72
+ */
73
+ strictVersion?: boolean;
74
+ }
@@ -0,0 +1,67 @@
1
+ /*
2
+ * This file was automatically generated.
3
+ * DO NOT MODIFY BY HAND.
4
+ * Run `yarn special-lint-fix` to update
5
+ */
6
+
7
+ /**
8
+ * Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.
9
+ */
10
+ export type Provides = (ProvidesItem | ProvidesObject)[] | ProvidesObject;
11
+ /**
12
+ * Request to a module that should be provided as shared module to the share scope (will be resolved when relative).
13
+ */
14
+ export type ProvidesItem = string;
15
+
16
+ export interface ProvideSharedPluginOptions {
17
+ /**
18
+ * Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.
19
+ */
20
+ provides: Provides;
21
+ /**
22
+ * Share scope name used for all provided modules (defaults to 'default').
23
+ */
24
+ shareScope?: string;
25
+ }
26
+ /**
27
+ * Modules that should be provided as shared modules to the share scope. Property names are used as share keys.
28
+ */
29
+ export interface ProvidesObject {
30
+ /**
31
+ * Modules that should be provided as shared modules to the share scope.
32
+ */
33
+ [k: string]: ProvidesConfig | ProvidesItem;
34
+ }
35
+ /**
36
+ * Advanced configuration for modules that should be provided as shared modules to the share scope.
37
+ */
38
+ export interface ProvidesConfig {
39
+ /**
40
+ * Include the provided module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.
41
+ */
42
+ eager?: boolean;
43
+ /**
44
+ * Key in the share scope under which the shared modules should be stored.
45
+ */
46
+ shareKey?: string;
47
+ /**
48
+ * Share scope name.
49
+ */
50
+ shareScope?: string;
51
+ /**
52
+ * Version of the provided module. Will replace lower matching versions, but not higher.
53
+ */
54
+ version?: false | string;
55
+ /**
56
+ * Version requirement from module in share scope.
57
+ */
58
+ requiredVersion?: false | string;
59
+ /**
60
+ * Allow only a single version of the shared module in share scope (disabled by default).
61
+ */
62
+ singleton?: boolean;
63
+ /**
64
+ * Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).
65
+ */
66
+ strictVersion?: boolean;
67
+ }
@@ -0,0 +1,78 @@
1
+ /*
2
+ * This file was automatically generated.
3
+ * DO NOT MODIFY BY HAND.
4
+ * Run `yarn special-lint-fix` to update
5
+ */
6
+
7
+ /**
8
+ * Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.
9
+ */
10
+ export type Shared = (SharedItem | SharedObject)[] | SharedObject;
11
+ /**
12
+ * A module that should be shared in the share scope.
13
+ */
14
+ export type SharedItem = string;
15
+
16
+ /**
17
+ * Options for shared modules.
18
+ */
19
+ export interface SharePluginOptions {
20
+ /**
21
+ * Share scope name used for all shared modules (defaults to 'default').
22
+ */
23
+ shareScope?: string;
24
+ /**
25
+ * Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.
26
+ */
27
+ shared: Shared;
28
+ }
29
+ /**
30
+ * Modules that should be shared in the share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.
31
+ */
32
+ export interface SharedObject {
33
+ /**
34
+ * Modules that should be shared in the share scope.
35
+ */
36
+ [k: string]: SharedConfig | SharedItem;
37
+ }
38
+ /**
39
+ * Advanced configuration for modules that should be shared in the share scope.
40
+ */
41
+ export interface SharedConfig {
42
+ /**
43
+ * Include the provided and fallback module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.
44
+ */
45
+ eager?: boolean;
46
+ /**
47
+ * Provided module that should be provided to share scope. Also acts as fallback module if no shared module is found in share scope or version isn't valid. Defaults to the property name.
48
+ */
49
+ import?: false | SharedItem;
50
+ /**
51
+ * Package name to determine required version from description file. This is only needed when package name can't be automatically determined from request.
52
+ */
53
+ packageName?: string;
54
+ /**
55
+ * Version requirement from module in share scope.
56
+ */
57
+ requiredVersion?: false | string;
58
+ /**
59
+ * Module is looked up under this key from the share scope.
60
+ */
61
+ shareKey?: string;
62
+ /**
63
+ * Share scope name.
64
+ */
65
+ shareScope?: string;
66
+ /**
67
+ * Allow only a single version of the shared module in share scope (disabled by default).
68
+ */
69
+ singleton?: boolean;
70
+ /**
71
+ * Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).
72
+ */
73
+ strictVersion?: boolean;
74
+ /**
75
+ * Version of the provided module. Will replace lower matching versions, but not higher.
76
+ */
77
+ version?: false | string;
78
+ }
@@ -1,11 +1,14 @@
1
- export { ModuleInfoRuntimeModule } from './runtime/ModuleInfoRuntimeModule';
2
- export { ModuleInfoRuntimePlugin } from './runtime/ModuleInfoRuntimePlugin';
3
- export { default as ModuleFederationPlugin } from './lib/container/ModuleFederationPlugin';
4
- export { default as ContainerReferencePlugin } from './lib/container/ContainerReferencePlugin';
5
- export { default as SharePlugin } from './lib/sharing/SharePlugin';
6
- export { default as ContainerPlugin } from './lib/container/ContainerPlugin';
7
- export { default as ContainerEntryModule } from './lib/container/ContainerEntryModule';
8
- export { default as AsyncBoundaryPlugin } from './lib/container/AsyncBoundaryPlugin';
1
+ export { default as ModuleFederationPlugin } from './wrapper/ModuleFederationPlugin';
2
+ export { default as ContainerReferencePlugin } from './wrapper/ContainerReferencePlugin';
3
+ export { default as SharePlugin } from './wrapper/SharePlugin';
4
+ export { default as ContainerPlugin } from './wrapper/ContainerPlugin';
5
+ export { default as ConsumeSharedPlugin } from './wrapper/ConsumeSharedPlugin';
6
+ export { default as ProvideSharedPlugin } from './wrapper/ProvideSharedPlugin';
7
+ export { default as FederationRuntimePlugin } from './wrapper/FederationRuntimePlugin';
8
+ export { default as AsyncBoundaryPlugin } from './wrapper/AsyncBoundaryPlugin';
9
+ export { default as HoistContainerReferencesPlugin } from './wrapper/HoistContainerReferencesPlugin';
9
10
  export { isRequiredVersion, normalizeVersion, getDescriptionFile, getRequiredVersionFromDescriptionFile, } from './lib/sharing/utils';
10
11
  export { parseOptions } from './lib/container/options';
11
- export { default as HoistContainerReferencesPlugin } from './lib/container/HoistContainerReferencesPlugin';
12
+ export declare const container: {
13
+ readonly ContainerEntryModule: any;
14
+ };
package/dist/src/index.js CHANGED
@@ -3,23 +3,25 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.HoistContainerReferencesPlugin = exports.parseOptions = exports.getRequiredVersionFromDescriptionFile = exports.getDescriptionFile = exports.normalizeVersion = exports.isRequiredVersion = exports.AsyncBoundaryPlugin = exports.ContainerEntryModule = exports.ContainerPlugin = exports.SharePlugin = exports.ContainerReferencePlugin = exports.ModuleFederationPlugin = exports.ModuleInfoRuntimePlugin = exports.ModuleInfoRuntimeModule = void 0;
7
- var ModuleInfoRuntimeModule_1 = require("./runtime/ModuleInfoRuntimeModule");
8
- Object.defineProperty(exports, "ModuleInfoRuntimeModule", { enumerable: true, get: function () { return ModuleInfoRuntimeModule_1.ModuleInfoRuntimeModule; } });
9
- var ModuleInfoRuntimePlugin_1 = require("./runtime/ModuleInfoRuntimePlugin");
10
- Object.defineProperty(exports, "ModuleInfoRuntimePlugin", { enumerable: true, get: function () { return ModuleInfoRuntimePlugin_1.ModuleInfoRuntimePlugin; } });
11
- var ModuleFederationPlugin_1 = require("./lib/container/ModuleFederationPlugin");
6
+ exports.container = exports.parseOptions = exports.getRequiredVersionFromDescriptionFile = exports.getDescriptionFile = exports.normalizeVersion = exports.isRequiredVersion = exports.HoistContainerReferencesPlugin = exports.AsyncBoundaryPlugin = exports.FederationRuntimePlugin = exports.ProvideSharedPlugin = exports.ConsumeSharedPlugin = exports.ContainerPlugin = exports.SharePlugin = exports.ContainerReferencePlugin = exports.ModuleFederationPlugin = void 0;
7
+ var ModuleFederationPlugin_1 = require("./wrapper/ModuleFederationPlugin");
12
8
  Object.defineProperty(exports, "ModuleFederationPlugin", { enumerable: true, get: function () { return __importDefault(ModuleFederationPlugin_1).default; } });
13
- var ContainerReferencePlugin_1 = require("./lib/container/ContainerReferencePlugin");
9
+ var ContainerReferencePlugin_1 = require("./wrapper/ContainerReferencePlugin");
14
10
  Object.defineProperty(exports, "ContainerReferencePlugin", { enumerable: true, get: function () { return __importDefault(ContainerReferencePlugin_1).default; } });
15
- var SharePlugin_1 = require("./lib/sharing/SharePlugin");
11
+ var SharePlugin_1 = require("./wrapper/SharePlugin");
16
12
  Object.defineProperty(exports, "SharePlugin", { enumerable: true, get: function () { return __importDefault(SharePlugin_1).default; } });
17
- var ContainerPlugin_1 = require("./lib/container/ContainerPlugin");
13
+ var ContainerPlugin_1 = require("./wrapper/ContainerPlugin");
18
14
  Object.defineProperty(exports, "ContainerPlugin", { enumerable: true, get: function () { return __importDefault(ContainerPlugin_1).default; } });
19
- var ContainerEntryModule_1 = require("./lib/container/ContainerEntryModule");
20
- Object.defineProperty(exports, "ContainerEntryModule", { enumerable: true, get: function () { return __importDefault(ContainerEntryModule_1).default; } });
21
- var AsyncBoundaryPlugin_1 = require("./lib/container/AsyncBoundaryPlugin");
15
+ var ConsumeSharedPlugin_1 = require("./wrapper/ConsumeSharedPlugin");
16
+ Object.defineProperty(exports, "ConsumeSharedPlugin", { enumerable: true, get: function () { return __importDefault(ConsumeSharedPlugin_1).default; } });
17
+ var ProvideSharedPlugin_1 = require("./wrapper/ProvideSharedPlugin");
18
+ Object.defineProperty(exports, "ProvideSharedPlugin", { enumerable: true, get: function () { return __importDefault(ProvideSharedPlugin_1).default; } });
19
+ var FederationRuntimePlugin_1 = require("./wrapper/FederationRuntimePlugin");
20
+ Object.defineProperty(exports, "FederationRuntimePlugin", { enumerable: true, get: function () { return __importDefault(FederationRuntimePlugin_1).default; } });
21
+ var AsyncBoundaryPlugin_1 = require("./wrapper/AsyncBoundaryPlugin");
22
22
  Object.defineProperty(exports, "AsyncBoundaryPlugin", { enumerable: true, get: function () { return __importDefault(AsyncBoundaryPlugin_1).default; } });
23
+ var HoistContainerReferencesPlugin_1 = require("./wrapper/HoistContainerReferencesPlugin");
24
+ Object.defineProperty(exports, "HoistContainerReferencesPlugin", { enumerable: true, get: function () { return __importDefault(HoistContainerReferencesPlugin_1).default; } });
23
25
  var utils_1 = require("./lib/sharing/utils");
24
26
  Object.defineProperty(exports, "isRequiredVersion", { enumerable: true, get: function () { return utils_1.isRequiredVersion; } });
25
27
  Object.defineProperty(exports, "normalizeVersion", { enumerable: true, get: function () { return utils_1.normalizeVersion; } });
@@ -27,6 +29,9 @@ Object.defineProperty(exports, "getDescriptionFile", { enumerable: true, get: fu
27
29
  Object.defineProperty(exports, "getRequiredVersionFromDescriptionFile", { enumerable: true, get: function () { return utils_1.getRequiredVersionFromDescriptionFile; } });
28
30
  var options_1 = require("./lib/container/options");
29
31
  Object.defineProperty(exports, "parseOptions", { enumerable: true, get: function () { return options_1.parseOptions; } });
30
- var HoistContainerReferencesPlugin_1 = require("./lib/container/HoistContainerReferencesPlugin");
31
- Object.defineProperty(exports, "HoistContainerReferencesPlugin", { enumerable: true, get: function () { return __importDefault(HoistContainerReferencesPlugin_1).default; } });
32
+ exports.container = {
33
+ get ContainerEntryModule() {
34
+ return require('./lib/container/ContainerEntryModule').default;
35
+ },
36
+ };
32
37
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,6EAA4E;AAAnE,kIAAA,uBAAuB,OAAA;AAChC,6EAA4E;AAAnE,kIAAA,uBAAuB,OAAA;AAChC,iFAA2F;AAAlF,iJAAA,OAAO,OAA0B;AAC1C,qFAA+F;AAAtF,qJAAA,OAAO,OAA4B;AAC5C,yDAAmE;AAA1D,2HAAA,OAAO,OAAe;AAC/B,mEAA6E;AAApE,mIAAA,OAAO,OAAmB;AACnC,6EAAuF;AAA9E,6IAAA,OAAO,OAAwB;AACxC,2EAAqF;AAA5E,2IAAA,OAAO,OAAuB;AAEvC,6CAK6B;AAJ3B,0GAAA,iBAAiB,OAAA;AACjB,yGAAA,gBAAgB,OAAA;AAChB,2GAAA,kBAAkB,OAAA;AAClB,8HAAA,qCAAqC,OAAA;AAEvC,mDAAuD;AAA9C,uGAAA,YAAY,OAAA;AACrB,iGAA2G;AAAlG,iKAAA,OAAO,OAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,2EAAqF;AAA5E,iJAAA,OAAO,OAA0B;AAC1C,+EAAyF;AAAhF,qJAAA,OAAO,OAA4B;AAC5C,qDAA+D;AAAtD,2HAAA,OAAO,OAAe;AAC/B,6DAAuE;AAA9D,mIAAA,OAAO,OAAmB;AACnC,qEAA+E;AAAtE,2IAAA,OAAO,OAAuB;AACvC,qEAA+E;AAAtE,2IAAA,OAAO,OAAuB;AAEvC,6EAAuF;AAA9E,mJAAA,OAAO,OAA2B;AAC3C,qEAA+E;AAAtE,2IAAA,OAAO,OAAuB;AACvC,2FAAqG;AAA5F,iKAAA,OAAO,OAAkC;AAElD,6CAK6B;AAJ3B,0GAAA,iBAAiB,OAAA;AACjB,yGAAA,gBAAgB,OAAA;AAChB,2GAAA,kBAAkB,OAAA;AAClB,8HAAA,qCAAqC,OAAA;AAEvC,mDAAuD;AAA9C,uGAAA,YAAY,OAAA;AAER,QAAA,SAAS,GAAG;IACvB,IAAI,oBAAoB;QACtB,OAAO,OAAO,CAAC,sCAAsC,CAAC,CAAC,OAAO,CAAC;IACjE,CAAC;CACF,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { Compiler, Chunk, Module } from 'webpack';
2
- interface Options {
2
+ export interface Options {
3
3
  eager?: RegExp | ((module: Module) => boolean);
4
4
  excludeChunk?: (chunk: Chunk) => boolean;
5
5
  }
@@ -51,9 +51,10 @@ class AsyncEntryStartupPlugin {
51
51
  const hasRemoteModules = compilation.chunkGraph.getChunkModulesIterableBySourceType(upperContext.chunk, 'remote');
52
52
  const consumeShares = compilation.chunkGraph.getChunkModulesIterableBySourceType(upperContext.chunk, 'consume-shared');
53
53
  const entryOptions = upperContext.chunk.getEntryOptions();
54
+ const initialChunks = Array.from(upperContext.chunk.getAllInitialChunks()).map((chunk) => chunk.id);
54
55
  const chunksToRef = entryOptions?.dependOn
55
- ? [...entryOptions.dependOn, upperContext.chunk.id]
56
- : [upperContext.chunk.id];
56
+ ? [...entryOptions.dependOn, ...initialChunks]
57
+ : [...initialChunks];
57
58
  remotes = this._getRemotes(compiler.webpack.RuntimeGlobals, requirements, Boolean(hasRemoteModules), chunksToRef, remotes);
58
59
  shared = this._getShared(compiler.webpack.RuntimeGlobals, requirements, Boolean(consumeShares), chunksToRef, shared);
59
60
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AsyncBoundaryPlugin.js","sourceRoot":"","sources":["../../../../src/lib/container/AsyncBoundaryPlugin.ts"],"names":[],"mappings":";;AAAA,0FAAqF;AAYrF,MAAM,WAAW,GAAG,OAAO,CACzB,IAAA,6CAAoB,EAAC,8BAA8B,CAAC,CACJ,CAAC;AAoBnD,MAAM,uBAAuB;IAI3B,YAAY,OAAiB;QAFrB,mBAAc,GAAG,IAAI,GAAG,EAAsC,CAAC;QAGrE,IAAI,CAAC,QAAQ,GAAG,OAAO,IAAI,EAAE,CAAC;IAChC,CAAC;IAED,KAAK,CAAC,QAAkB;QACtB,QAAQ,CAAC,KAAK,CAAC,eAAe,CAAC,GAAG,CAChC,yBAAyB,EACzB,CAAC,WAAwB,EAAE,EAAE;YAC3B,IAAI,CAAC,qBAAqB,CAAC,WAAW,CAAC,CAAC;YACxC,IAAI,CAAC,oBAAoB,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;QACnD,CAAC,CACF,CAAC;IACJ,CAAC;IAEO,qBAAqB,CAAC,WAAwB;QACpD,WAAW,CAAC,KAAK,CAAC,iBAAiB,CAAC,GAAG,CAAC,yBAAyB,EAAE,GAAG,EAA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IAEO,kBAAkB,CACxB,QAAkB,EAClB,mBAA6B,EAC7B,MAAc,EACd,OAAe,EACf,MAAsB;QAEtB,MAAM,EAAE,QAAQ,EAAE,GAAG,QAAQ,CAAC,OAAO,CAAC;QACtC,IACE,QAAQ,CAAC,OAAO,EAAE,WAAW,EAAE,aAAa;YAC5C,QAAQ,CAAC,OAAO,EAAE,WAAW,EAAE,YAAY,EAC3C,CAAC;YACD,OAAO,QAAQ,CAAC,QAAQ,CAAC;gBACvB,wBAAwB;gBACxB,QAAQ,CAAC,QAAQ,CAAC,mBAAmB,CAAC;gBACtC,MAAM;gBACN,OAAO;gBACP,iCAAiC;gBACjC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC;aAC5C,CAAC,CAAC;QACL,CAAC;QACD,OAAO,QAAQ,CAAC,QAAQ,CAAC;YACvB,wBAAwB;YACxB,QAAQ,CAAC,QAAQ,CAAC,mBAAmB,CAAC;YACtC,MAAM;YACN,OAAO;YACP,uEAAuE;YACvE,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC;YAC3C,QAAQ,CAAC,MAAM,CAAC,4BAA4B,CAAC;YAC7C,KAAK;SACN,CAAC,CAAC;IACL,CAAC;CACF;AAED,kBAAe,uBAAuB,CAAC"}
@@ -1,20 +1,24 @@
1
- import { ExposeOptions } from './ContainerEntryModule';
2
- declare const Dependency: typeof import("webpack").Dependency;
1
+ export = ContainerEntryDependency;
2
+ /** @typedef {import("./ContainerEntryModule").ExposeOptions} ExposeOptions */
3
3
  declare class ContainerEntryDependency extends Dependency {
4
- name: string;
5
- exposes: [string, ExposeOptions][];
6
- shareScope: string;
7
- /**
8
- * @param {string} name entry name
9
- * @param {[string, ExposeOptions][]} exposes list of exposed modules
10
- * @param {string} shareScope name of the share scope
11
- */
12
- constructor(name: string, exposes: [string, ExposeOptions][], shareScope: string);
13
- /**
14
- * @returns {string | null} an identifier to merge equal requests
15
- */
16
- getResourceIdentifier(): string | null;
17
- get type(): string;
18
- get category(): string;
4
+ /**
5
+ * @param {string} name entry name
6
+ * @param {[string, ExposeOptions][]} exposes list of exposed modules
7
+ * @param {string} shareScope name of the share scope
8
+ * @param {string[]} runtimePlugins Runtime plugin file paths or package name.
9
+ */
10
+ constructor(
11
+ name: string,
12
+ exposes: [string, ExposeOptions][],
13
+ shareScope: string,
14
+ runtimePlugins: string[],
15
+ );
16
+ name: string;
17
+ exposes: [string, import('./ContainerEntryModule').ExposeOptions][];
18
+ shareScope: string;
19
+ runtimePlugins: string[];
19
20
  }
20
- export default ContainerEntryDependency;
21
+ declare namespace ContainerEntryDependency {
22
+ export { ExposeOptions };
23
+ }
24
+ type ExposeOptions = import('./ContainerEntryModule').ExposeOptions;
@@ -12,12 +12,14 @@ class ContainerEntryDependency extends Dependency {
12
12
  * @param {string} name entry name
13
13
  * @param {[string, ExposeOptions][]} exposes list of exposed modules
14
14
  * @param {string} shareScope name of the share scope
15
+ * @param {string[]} injectRuntimeEntry the path of injectRuntime file.
15
16
  */
16
- constructor(name, exposes, shareScope) {
17
+ constructor(name, exposes, shareScope, injectRuntimeEntry) {
17
18
  super();
18
19
  this.name = name;
19
20
  this.exposes = exposes;
20
21
  this.shareScope = shareScope;
22
+ this.injectRuntimeEntry = injectRuntimeEntry;
21
23
  }
22
24
  /**
23
25
  * @returns {string | null} an identifier to merge equal requests
@@ -1 +1 @@
1
- {"version":3,"file":"ContainerEntryDependency.js","sourceRoot":"","sources":["../../../../src/lib/container/ContainerEntryDependency.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,0FAAqF;AAErF,MAAM,gBAAgB,GAAG,OAAO,CAC9B,IAAA,6CAAoB,EAAC,mCAAmC,CAAC,CAC1D,CAAC;AACF,MAAM,EAAE,UAAU,EAAE,GAAG,OAAO,CAC5B,IAAA,6CAAoB,EAAC,SAAS,CAAC,CACJ,CAAC;AAE9B,MAAM,wBAAyB,SAAQ,UAAU;IAK/C;;;;OAIG;IACH,YACE,IAAY,EACZ,OAAkC,EAClC,UAAkB;QAElB,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IAED;;OAEG;IACM,qBAAqB;QAC5B,OAAO,mBAAmB,IAAI,CAAC,IAAI,EAAE,CAAC;IACxC,CAAC;IAED,IAAa,IAAI;QACf,OAAO,iBAAiB,CAAC;IAC3B,CAAC;IAED,IAAa,QAAQ;QACnB,OAAO,KAAK,CAAC;IACf,CAAC;CACF;AAED,gBAAgB,CACd,wBAAwB,EACxB,iDAAiD,CAClD,CAAC;AAEF,kBAAe,wBAAwB,CAAC"}
1
+ {"version":3,"file":"ContainerEntryDependency.js","sourceRoot":"","sources":["../../../../src/lib/container/ContainerEntryDependency.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,0FAAqF;AAErF,MAAM,gBAAgB,GAAG,OAAO,CAC9B,IAAA,6CAAoB,EAAC,mCAAmC,CAAC,CAC1D,CAAC;AACF,MAAM,EAAE,UAAU,EAAE,GAAG,OAAO,CAC5B,IAAA,6CAAoB,EAAC,SAAS,CAAC,CACJ,CAAC;AAE9B,MAAM,wBAAyB,SAAQ,UAAU;IAM/C;;;;;OAKG;IACH,YACE,IAAY,EACZ,OAAkC,EAClC,UAAkB,EAClB,kBAA0B;QAE1B,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;IAC/C,CAAC;IAED;;OAEG;IACM,qBAAqB;QAC5B,OAAO,mBAAmB,IAAI,CAAC,IAAI,EAAE,CAAC;IACxC,CAAC;IAED,IAAa,IAAI;QACf,OAAO,iBAAiB,CAAC;IAC3B,CAAC;IAED,IAAa,QAAQ;QACnB,OAAO,KAAK,CAAC;IACf,CAAC;CACF;AAED,gBAAgB,CACd,wBAAwB,EACxB,iDAAiD,CAClD,CAAC;AAEF,kBAAe,wBAAwB,CAAC"}