@memberjunction/react-runtime 5.37.0 → 5.39.0

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 (44) hide show
  1. package/.turbo/turbo-build.log +14 -14
  2. package/CHANGELOG.md +57 -0
  3. package/dist/324.runtime.umd.js +150 -134
  4. package/dist/compiler/component-compiler.d.ts +1 -1
  5. package/dist/compiler/component-compiler.d.ts.map +1 -1
  6. package/dist/compiler/component-compiler.js +17 -22
  7. package/dist/compiler/component-compiler.js.map +1 -1
  8. package/dist/compiler/index.d.ts +2 -2
  9. package/dist/compiler/index.js +2 -2
  10. package/dist/component-manager/component-manager.d.ts +4 -4
  11. package/dist/component-manager/index.d.ts +2 -2
  12. package/dist/component-manager/index.js +1 -1
  13. package/dist/component-manager/types.d.ts +1 -1
  14. package/dist/index.d.ts +28 -28
  15. package/dist/index.js +23 -23
  16. package/dist/registry/component-registry-service.d.ts +3 -3
  17. package/dist/registry/component-registry.d.ts +1 -1
  18. package/dist/registry/component-registry.js +1 -1
  19. package/dist/registry/component-resolver.d.ts +3 -3
  20. package/dist/registry/component-resolver.js +1 -1
  21. package/dist/registry/index.d.ts +4 -4
  22. package/dist/registry/index.js +3 -3
  23. package/dist/runtime/component-hierarchy.d.ts +3 -3
  24. package/dist/runtime/error-boundary.d.ts +1 -1
  25. package/dist/runtime/index.d.ts +5 -5
  26. package/dist/runtime/index.js +4 -4
  27. package/dist/runtime/prop-builder.d.ts +1 -1
  28. package/dist/runtime/react-root-manager.d.ts +1 -1
  29. package/dist/runtime/react-root-manager.js +1 -1
  30. package/dist/runtime.umd.js +5000 -3031
  31. package/dist/types/index.d.ts +3 -2
  32. package/dist/types/index.d.ts.map +1 -1
  33. package/dist/types/index.js +2 -2
  34. package/dist/types/index.js.map +1 -1
  35. package/dist/utilities/core-libraries.d.ts +1 -1
  36. package/dist/utilities/index.d.ts +9 -9
  37. package/dist/utilities/index.js +9 -9
  38. package/dist/utilities/library-dependency-resolver.d.ts +1 -1
  39. package/dist/utilities/library-loader.d.ts +3 -3
  40. package/dist/utilities/library-loader.js +4 -4
  41. package/dist/utilities/standard-libraries.d.ts +1 -1
  42. package/package.json +7 -7
  43. package/src/compiler/component-compiler.ts +15 -20
  44. package/src/types/index.ts +2 -0
@@ -1,7 +1,7 @@
1
- import { ComponentRegistry } from './component-registry';
1
+ import { ComponentRegistry } from './component-registry.js';
2
2
  import { ComponentSpec } from '@memberjunction/interactive-component-types';
3
- import { ComponentCompiler } from '../compiler';
4
- import { RuntimeContext } from '../types';
3
+ import { ComponentCompiler } from '../compiler/index.js';
4
+ import { RuntimeContext } from '../types/index.js';
5
5
  import { UserInfo } from '@memberjunction/core';
6
6
  export interface ResolvedComponents {
7
7
  [componentName: string]: any;
@@ -1,4 +1,4 @@
1
- import { ComponentRegistryService } from './component-registry-service';
1
+ import { ComponentRegistryService } from './component-registry-service.js';
2
2
  import { ComponentMetadataEngine } from '@memberjunction/core-entities';
3
3
  export class ComponentResolver {
4
4
  constructor(registry, compiler, runtimeContext, debug = false) {
@@ -1,6 +1,6 @@
1
- export { ComponentRegistry } from './component-registry';
2
- export { ComponentResolver, ResolvedComponents } from './component-resolver';
3
- export { ComponentRegistryService, IComponentRegistryClient } from './component-registry-service';
4
- export { RegistryProvider, RegistryComponentMetadata, RegistryComponentResponse, RegistrySearchFilters, ComponentDependencyInfo, DependencyTree } from './registry-provider';
1
+ export { ComponentRegistry } from './component-registry.js';
2
+ export { ComponentResolver, ResolvedComponents } from './component-resolver.js';
3
+ export { ComponentRegistryService, IComponentRegistryClient } from './component-registry-service.js';
4
+ export { RegistryProvider, RegistryComponentMetadata, RegistryComponentResponse, RegistrySearchFilters, ComponentDependencyInfo, DependencyTree } from './registry-provider.js';
5
5
  export { ComponentSpec } from '@memberjunction/interactive-component-types';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,5 @@
1
- export { ComponentRegistry } from './component-registry';
2
- export { ComponentResolver } from './component-resolver';
3
- export { ComponentRegistryService } from './component-registry-service';
1
+ export { ComponentRegistry } from './component-registry.js';
2
+ export { ComponentResolver } from './component-resolver.js';
3
+ export { ComponentRegistryService } from './component-registry-service.js';
4
4
  export { ComponentSpec } from '@memberjunction/interactive-component-types';
5
5
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
- import { RuntimeContext } from '../types';
2
- import { ComponentCompiler } from '../compiler';
3
- import { ComponentRegistry } from '../registry';
1
+ import { RuntimeContext } from '../types/index.js';
2
+ import { ComponentCompiler } from '../compiler/index.js';
3
+ import { ComponentRegistry } from '../registry/index.js';
4
4
  import { ComponentSpec, ComponentStyles } from '@memberjunction/interactive-component-types';
5
5
  import { UserInfo } from '@memberjunction/core';
6
6
  import { MJComponentLibraryEntity } from '@memberjunction/core-entities';
@@ -1,4 +1,4 @@
1
- import { ErrorBoundaryOptions, ComponentError } from '../types';
1
+ import { ErrorBoundaryOptions, ComponentError } from '../types/index.js';
2
2
  export declare function createErrorBoundary(React: any, options?: ErrorBoundaryOptions): any;
3
3
  export declare function withErrorBoundary(React: any, Component: any, options?: ErrorBoundaryOptions): any;
4
4
  export declare function formatComponentError(error: Error, componentName: string, phase: ComponentError['phase']): ComponentError;
@@ -1,6 +1,6 @@
1
- export { createErrorBoundary, withErrorBoundary, formatComponentError, createErrorLogger } from './error-boundary';
2
- export { buildComponentProps, normalizeCallbacks, normalizeStyles, validateComponentProps, mergeProps, createPropsTransformer, wrapCallbacksWithLogging, extractPropPaths, PropBuilderOptions } from './prop-builder';
3
- export { ComponentHierarchyRegistrar, registerComponentHierarchy, validateComponentSpec, flattenComponentHierarchy, countComponentsInHierarchy, HierarchyRegistrationResult, ComponentRegistrationError, HierarchyRegistrationOptions } from './component-hierarchy';
4
- export { ReactRootManager, reactRootManager, ManagedReactRoot } from './react-root-manager';
5
- export { RuntimeHook, RootHookContext } from './runtime-hooks';
1
+ export { createErrorBoundary, withErrorBoundary, formatComponentError, createErrorLogger } from './error-boundary.js';
2
+ export { buildComponentProps, normalizeCallbacks, normalizeStyles, validateComponentProps, mergeProps, createPropsTransformer, wrapCallbacksWithLogging, extractPropPaths, PropBuilderOptions } from './prop-builder.js';
3
+ export { ComponentHierarchyRegistrar, registerComponentHierarchy, validateComponentSpec, flattenComponentHierarchy, countComponentsInHierarchy, HierarchyRegistrationResult, ComponentRegistrationError, HierarchyRegistrationOptions } from './component-hierarchy.js';
4
+ export { ReactRootManager, reactRootManager, ManagedReactRoot } from './react-root-manager.js';
5
+ export { RuntimeHook, RootHookContext } from './runtime-hooks.js';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,5 @@
1
- export { createErrorBoundary, withErrorBoundary, formatComponentError, createErrorLogger } from './error-boundary';
2
- export { buildComponentProps, normalizeCallbacks, normalizeStyles, validateComponentProps, mergeProps, createPropsTransformer, wrapCallbacksWithLogging, extractPropPaths } from './prop-builder';
3
- export { ComponentHierarchyRegistrar, registerComponentHierarchy, validateComponentSpec, flattenComponentHierarchy, countComponentsInHierarchy } from './component-hierarchy';
4
- export { ReactRootManager, reactRootManager } from './react-root-manager';
1
+ export { createErrorBoundary, withErrorBoundary, formatComponentError, createErrorLogger } from './error-boundary.js';
2
+ export { buildComponentProps, normalizeCallbacks, normalizeStyles, validateComponentProps, mergeProps, createPropsTransformer, wrapCallbacksWithLogging, extractPropPaths } from './prop-builder.js';
3
+ export { ComponentHierarchyRegistrar, registerComponentHierarchy, validateComponentSpec, flattenComponentHierarchy, countComponentsInHierarchy } from './component-hierarchy.js';
4
+ export { ReactRootManager, reactRootManager } from './react-root-manager.js';
5
5
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
1
  import { ComponentStyles, ComponentCallbacks } from '@memberjunction/interactive-component-types';
2
- import { ComponentProps } from '../types';
2
+ import { ComponentProps } from '../types/index.js';
3
3
  export interface PropBuilderOptions {
4
4
  validate?: boolean;
5
5
  merge?: boolean;
@@ -1,4 +1,4 @@
1
- import { RuntimeHook } from './runtime-hooks';
1
+ import { RuntimeHook } from './runtime-hooks.js';
2
2
  export interface ManagedReactRoot {
3
3
  id: string;
4
4
  root: any;
@@ -1,4 +1,4 @@
1
- import { resourceManager } from '../utilities/resource-manager';
1
+ import { resourceManager } from '../utilities/resource-manager.js';
2
2
  export class ReactRootManager {
3
3
  constructor() {
4
4
  this.roots = new Map();