@lcap/nasl-unified-frontend-generator 3.13.1-debug.6 → 3.13.1-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as _lcap_nasl_concepts from '@lcap/nasl-concepts';
2
2
  import { App, Frontend, BaseNode, LogicItemNode, FrontendVariable, MicroApp, TypeAnnotation, DefaultValue, Logic, BindAttribute, BindDirective, BindEvent, BusinessComponent, View, ViewElement, ValidationRule, LogicItem, Identifier, Return, Variable, Param, BindStyle } from '@lcap/nasl-concepts';
3
3
  import { Container } from 'inversify';
4
+ import { Component } from '@lcap/nasl-types';
4
5
  import * as breakpoint from '@lcap/nasl-breakpoint';
5
6
  import { format } from 'prettier/standalone';
6
7
  import pino from 'pino';
@@ -28,6 +29,10 @@ interface CommonAppConfig {
28
29
  * 插件用的配置项
29
30
  */
30
31
  extensionConfigMap?: ExtensionConfigMap;
32
+ allNodesAPI: {
33
+ [name: string]: Component.ComponentAPI;
34
+ };
35
+ needFrontendEventWrapper?: boolean;
31
36
  }
32
37
 
33
38
  declare function genMetaData(app: App, frontend: Frontend, config: any): {
@@ -163,6 +168,7 @@ type Package = {
163
168
  kind: 'standard' | 'extension';
164
169
  name: string;
165
170
  version: string;
171
+ hasCss?: boolean;
166
172
  };
167
173
  type IdentifierString = string & {
168
174
  readonly __tag?: unique symbol;
@@ -584,6 +590,7 @@ declare class NASLAppIRBuilderPlugin implements NASLDomain.IRBuilder {
584
590
  constructor(preProcessors?: NASLDomain.IRPreProcesser[] | undefined, postProcessors?: NASLDomain.IRPostProcesser[] | undefined);
585
591
  private selfBuildIR;
586
592
  buildIR(app: App, frontend: Frontend, config: CommonAppConfig): NASLAppIR;
593
+ private enchanceHackForAppPackageInfos;
587
594
  }
588
595
 
589
596
  type JSXNode = string;
@@ -602,7 +609,7 @@ type PrettierOptions = NonNullable<Parameters<typeof format>[1]>;
602
609
  declare const codeFormatPlugin: {
603
610
  name: string;
604
611
  functions: {
605
- format(str: string, options?: PrettierOptions): Promise<string>;
612
+ format(str: string, fileNameWithExt: string, options?: PrettierOptions): Promise<string>;
606
613
  };
607
614
  };
608
615
 
@@ -631,6 +638,7 @@ declare const routesExtractionPlugin: {
631
638
  functions: {
632
639
  extractRoute(components: ViewComponentIR[], routePrefix: string, options?: {
633
640
  lazy?: boolean;
641
+ frameworkKind?: 'react' | 'vue2' | 'vue3';
634
642
  }): {
635
643
  routes: RouteIR[];
636
644
  authResourcePaths: string[];
@@ -638,6 +646,16 @@ declare const routesExtractionPlugin: {
638
646
  };
639
647
  };
640
648
  };
649
+ declare class RoutesExtractionPlugin {
650
+ extractRoute(components: ViewComponentIR[], routePrefix: string, options?: {
651
+ lazy?: boolean;
652
+ }): {
653
+ routes: RouteIR[];
654
+ authResourcePaths: string[];
655
+ baseResourcePaths: string[];
656
+ };
657
+ static install(c: Container): Container;
658
+ }
641
659
 
642
660
  /**
643
661
  * 微前端插件
@@ -1134,6 +1152,12 @@ declare const reactComponentLibHackPlugin: {
1134
1152
 
1135
1153
  declare const ReactRouterDefaultViewFolderName = "__views__";
1136
1154
  declare const ReactRouterDefaultBizComponentsFolderName = "__bizComponents__";
1155
+ declare class NameMangler {
1156
+ dict: Map<string, number>;
1157
+ query(name: string): string;
1158
+ private inc;
1159
+ private initName;
1160
+ }
1137
1161
  declare const reactRouterPlugin: {
1138
1162
  name: string;
1139
1163
  functions: {
@@ -1289,6 +1313,7 @@ declare namespace GeneratorInfrastructureDomain {
1289
1313
  organize(config: {
1290
1314
  baseDir: string;
1291
1315
  project: Record<string, InputFile | InputFile[]>;
1316
+ importIRResolver?: ImportIRResolver;
1292
1317
  }): Promise<OrganizedFile[]>;
1293
1318
  }
1294
1319
  export { };
@@ -1432,18 +1457,18 @@ declare namespace JavaScriptDomain {
1432
1457
  interface FrontendBundlerConfig {
1433
1458
  compilerConfig: CompilerConfigOptions;
1434
1459
  /**
1435
- * 存储前端编译器动态配置参数
1436
- * @param config - 前端编译器动态配置参数
1437
- */
1460
+ * 存储前端编译器动态配置参数
1461
+ * @param config - 前端编译器动态配置参数
1462
+ */
1438
1463
  setCompilerConfig: (config: CompilerConfigOptions) => void;
1439
1464
  getCompilerConfig: () => CompilerConfigOptions;
1440
1465
  }
1441
1466
  interface FrontendPerformance {
1442
1467
  performanceOptions: PerformanceOptions;
1443
1468
  /**
1444
- * 设置前端优化选项
1445
- * @param options - 前端优化选项
1446
- */
1469
+ * 设置前端优化选项
1470
+ * @param options - 前端优化选项
1471
+ */
1447
1472
  setOptions: (options: PerformanceOptions) => void;
1448
1473
  }
1449
1474
  interface NpmPackageJSONManager {
@@ -1548,6 +1573,7 @@ type InputFile = ReactFileDescription;
1548
1573
  type ProjectStructureConfig = {
1549
1574
  baseDir: string;
1550
1575
  project: Record<string, InputFile | InputFile[]>;
1576
+ importIRResolver?: (i: ImportIR) => string;
1551
1577
  };
1552
1578
  /**
1553
1579
  * 已经被放置在文件系统中的文件
@@ -1596,9 +1622,9 @@ declare class VirtualProject {
1596
1622
  declare function compileAsProject(app: App, frontend: Frontend, config: CommonAppConfig, container?: Container): Promise<VirtualProject>;
1597
1623
  declare function compileNASLToReactDist(app: App, frontend: Frontend, config: CommonAppConfig): Promise<OrganizedFile[]>;
1598
1624
 
1599
- declare function makeDefaultContainer(): Container;
1625
+ declare function makeDefaultContainer(kind?: 'vue3' | 'react' | 'vue2'): Container;
1600
1626
 
1601
- declare function translateNASLToReactApp(
1627
+ declare function translateNASLToApp(
1602
1628
  /**
1603
1629
  * NASL对象
1604
1630
  */
@@ -1624,6 +1650,7 @@ declare const ServiceMetaKind: {
1624
1650
  ReactCodegen: symbol;
1625
1651
  CodeGenerationLifecycleHooks: symbol;
1626
1652
  FileSystemProvider: symbol;
1653
+ FrontendBundlerFileConfig: symbol;
1627
1654
  FrontendBundlerConfig: symbol;
1628
1655
  FrontendPerformance: symbol;
1629
1656
  NpmPackageJSONManager: symbol;
@@ -1653,4 +1680,4 @@ declare function makePlugin<Functions extends {}>({ name, functions, }: NASLPlug
1653
1680
  declare function deserializeAppWhileKeepTypeAnnotation(appJSON: object): App;
1654
1681
  declare function serializeAppWithKeepTypeAnnotation(app: App): any;
1655
1682
 
1656
- export { ApiClientIdentifier, type BaseComponentIR, type BasePlatformConfig, type BindAttributeIR, type BindDirectiveIR, type BindEventIR, type BizComponentIR, type CommonAppConfig, type ComponentIRToPathDict, type ComponentInstanceIR, type Dict, type Expr, type ExprIR, type ExtensionConfigMap, FileDescription, type FileFragment, FileSystemPlugin, type FinalizedStateContextIR, type FrontendDesc, type GeneralComponentIR, Generator, GeneratorInfrastructureDomain, type HasRuntimeSemantics, type IdentifierNameResolver, type IdentifierResolver, type IdentifierString, type ImportIR, type ImportIRResolver, type InputFile, type JSXNode, JavaScriptCodegenPlugin, JavaScriptDomain, type LegacyMetaData, LifeCycleHooksPlugin, type LocalIndividualStateIR, type LocalIndividualStateIRComponentRef, type LocalLogicStateIR, type LocalVariableStateIR, Logger, type LogicIR, MicroFrontendPlugin, type NASLAppIR, NASLAppIRBuilderPlugin, NASLDomain, type NASLPlugin, type OrganizedFile, type Package, type ParamIR, PlacedFile, type PlatformConfig, type PrettierOptions, ProjectOrganizerPlugin, type ProjectStructureConfig, ReactChildrenPropName, ReactCodegenPlugin, ReactFileDescription, ReactFragment, type ReactHook, ReactHookBuilder, ReactPresetPlugin, ReactRouterDefaultBizComponentsFolderName, ReactRouterDefaultViewFolderName, ReactSlotPlugin, ReactStateManagerMobxPlugin, ReactStateManagerVanillaPlugin, type ReferencedComponent, type ReferencedLibComponent, type ReferencedSubComponentIR, type RouteIR, ServiceMetaKind, StateActionIR, StateContextIR, type StateIR, type StateManager, type SubComponentIR, type SyntaxNodePrinter, type ToJSXOption, type TreeStateIR, type TypeAnnotationIR, type ViewComponentIR, VirtualProject, bindAttrToIR, bindEventToAction, bindViewElementEventToIR, codeFormatPlugin, compileAsProject, compileNASLToReactDist, defaultErrorMessageDict, deserializeAppWhileKeepTypeAnnotation, genMetaData, getComponentName, hasAfterAllFilesGeneratedKind, inferChangeEventNameFromAttrName, isLocalIndividualStateIRComponentRef, type javaScriptCodeGenCallBackBag, javaScriptCodeGenPlugin, jsxCodeGenPlugin, logicToLogicIR, makeDefaultContainer, makePlugin, metadataPlugin, paramToIR, reactComponentLibHackPlugin, reactRouterPlugin, routesExtractionPlugin, serializeAppWithKeepTypeAnnotation, styleStringToInlineObject, translateNASLToReactApp };
1683
+ export { ApiClientIdentifier, type BaseComponentIR, type BasePlatformConfig, type BindAttributeIR, type BindDirectiveIR, type BindEventIR, type BizComponentIR, type CommonAppConfig, type ComponentIRToPathDict, type ComponentInstanceIR, type Dict, type Expr, type ExprIR, type ExtensionConfigMap, FileDescription, type FileFragment, FileSystemPlugin, type FinalizedStateContextIR, type FrontendDesc, type GeneralComponentIR, Generator, GeneratorInfrastructureDomain, type HasRuntimeSemantics, type IdentifierNameResolver, type IdentifierResolver, type IdentifierString, type ImportIR, type ImportIRResolver, type InputFile, type JSXNode, JavaScriptCodegenPlugin, JavaScriptDomain, type LegacyMetaData, LifeCycleHooksPlugin, type LocalIndividualStateIR, type LocalIndividualStateIRComponentRef, type LocalLogicStateIR, type LocalVariableStateIR, Logger, type LogicIR, MicroFrontendPlugin, type NASLAppIR, NASLAppIRBuilderPlugin, NASLDomain, type NASLPlugin, NameMangler, type OrganizedFile, type Package, type ParamIR, PlacedFile, type PlatformConfig, type PrettierOptions, ProjectOrganizerPlugin, type ProjectStructureConfig, ReactChildrenPropName, ReactCodegenPlugin, ReactFileDescription, ReactFragment, type ReactHook, ReactHookBuilder, ReactPresetPlugin, ReactRouterDefaultBizComponentsFolderName, ReactRouterDefaultViewFolderName, ReactSlotPlugin, ReactStateManagerMobxPlugin, ReactStateManagerVanillaPlugin, type ReferencedComponent, type ReferencedLibComponent, type ReferencedSubComponentIR, type RouteIR, RoutesExtractionPlugin, ServiceMetaKind, StateActionIR, StateContextIR, type StateIR, type StateManager, type SubComponentIR, type SyntaxNodePrinter, type ToJSXOption, type TreeStateIR, type TypeAnnotationIR, type ViewComponentIR, VirtualProject, bindAttrToIR, bindEventToAction, bindViewElementEventToIR, codeFormatPlugin, compileAsProject, compileNASLToReactDist, defaultErrorMessageDict, deserializeAppWhileKeepTypeAnnotation, genMetaData, getComponentName, hasAfterAllFilesGeneratedKind, inferChangeEventNameFromAttrName, isLocalIndividualStateIRComponentRef, type javaScriptCodeGenCallBackBag, javaScriptCodeGenPlugin, jsxCodeGenPlugin, logicToLogicIR, makeDefaultContainer, makePlugin, metadataPlugin, paramToIR, reactComponentLibHackPlugin, reactRouterPlugin, routesExtractionPlugin, serializeAppWithKeepTypeAnnotation, styleStringToInlineObject, translateNASLToApp };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as _lcap_nasl_concepts from '@lcap/nasl-concepts';
2
2
  import { App, Frontend, BaseNode, LogicItemNode, FrontendVariable, MicroApp, TypeAnnotation, DefaultValue, Logic, BindAttribute, BindDirective, BindEvent, BusinessComponent, View, ViewElement, ValidationRule, LogicItem, Identifier, Return, Variable, Param, BindStyle } from '@lcap/nasl-concepts';
3
3
  import { Container } from 'inversify';
4
+ import { Component } from '@lcap/nasl-types';
4
5
  import * as breakpoint from '@lcap/nasl-breakpoint';
5
6
  import { format } from 'prettier/standalone';
6
7
  import pino from 'pino';
@@ -28,6 +29,10 @@ interface CommonAppConfig {
28
29
  * 插件用的配置项
29
30
  */
30
31
  extensionConfigMap?: ExtensionConfigMap;
32
+ allNodesAPI: {
33
+ [name: string]: Component.ComponentAPI;
34
+ };
35
+ needFrontendEventWrapper?: boolean;
31
36
  }
32
37
 
33
38
  declare function genMetaData(app: App, frontend: Frontend, config: any): {
@@ -163,6 +168,7 @@ type Package = {
163
168
  kind: 'standard' | 'extension';
164
169
  name: string;
165
170
  version: string;
171
+ hasCss?: boolean;
166
172
  };
167
173
  type IdentifierString = string & {
168
174
  readonly __tag?: unique symbol;
@@ -584,6 +590,7 @@ declare class NASLAppIRBuilderPlugin implements NASLDomain.IRBuilder {
584
590
  constructor(preProcessors?: NASLDomain.IRPreProcesser[] | undefined, postProcessors?: NASLDomain.IRPostProcesser[] | undefined);
585
591
  private selfBuildIR;
586
592
  buildIR(app: App, frontend: Frontend, config: CommonAppConfig): NASLAppIR;
593
+ private enchanceHackForAppPackageInfos;
587
594
  }
588
595
 
589
596
  type JSXNode = string;
@@ -602,7 +609,7 @@ type PrettierOptions = NonNullable<Parameters<typeof format>[1]>;
602
609
  declare const codeFormatPlugin: {
603
610
  name: string;
604
611
  functions: {
605
- format(str: string, options?: PrettierOptions): Promise<string>;
612
+ format(str: string, fileNameWithExt: string, options?: PrettierOptions): Promise<string>;
606
613
  };
607
614
  };
608
615
 
@@ -631,6 +638,7 @@ declare const routesExtractionPlugin: {
631
638
  functions: {
632
639
  extractRoute(components: ViewComponentIR[], routePrefix: string, options?: {
633
640
  lazy?: boolean;
641
+ frameworkKind?: 'react' | 'vue2' | 'vue3';
634
642
  }): {
635
643
  routes: RouteIR[];
636
644
  authResourcePaths: string[];
@@ -638,6 +646,16 @@ declare const routesExtractionPlugin: {
638
646
  };
639
647
  };
640
648
  };
649
+ declare class RoutesExtractionPlugin {
650
+ extractRoute(components: ViewComponentIR[], routePrefix: string, options?: {
651
+ lazy?: boolean;
652
+ }): {
653
+ routes: RouteIR[];
654
+ authResourcePaths: string[];
655
+ baseResourcePaths: string[];
656
+ };
657
+ static install(c: Container): Container;
658
+ }
641
659
 
642
660
  /**
643
661
  * 微前端插件
@@ -1134,6 +1152,12 @@ declare const reactComponentLibHackPlugin: {
1134
1152
 
1135
1153
  declare const ReactRouterDefaultViewFolderName = "__views__";
1136
1154
  declare const ReactRouterDefaultBizComponentsFolderName = "__bizComponents__";
1155
+ declare class NameMangler {
1156
+ dict: Map<string, number>;
1157
+ query(name: string): string;
1158
+ private inc;
1159
+ private initName;
1160
+ }
1137
1161
  declare const reactRouterPlugin: {
1138
1162
  name: string;
1139
1163
  functions: {
@@ -1289,6 +1313,7 @@ declare namespace GeneratorInfrastructureDomain {
1289
1313
  organize(config: {
1290
1314
  baseDir: string;
1291
1315
  project: Record<string, InputFile | InputFile[]>;
1316
+ importIRResolver?: ImportIRResolver;
1292
1317
  }): Promise<OrganizedFile[]>;
1293
1318
  }
1294
1319
  export { };
@@ -1432,18 +1457,18 @@ declare namespace JavaScriptDomain {
1432
1457
  interface FrontendBundlerConfig {
1433
1458
  compilerConfig: CompilerConfigOptions;
1434
1459
  /**
1435
- * 存储前端编译器动态配置参数
1436
- * @param config - 前端编译器动态配置参数
1437
- */
1460
+ * 存储前端编译器动态配置参数
1461
+ * @param config - 前端编译器动态配置参数
1462
+ */
1438
1463
  setCompilerConfig: (config: CompilerConfigOptions) => void;
1439
1464
  getCompilerConfig: () => CompilerConfigOptions;
1440
1465
  }
1441
1466
  interface FrontendPerformance {
1442
1467
  performanceOptions: PerformanceOptions;
1443
1468
  /**
1444
- * 设置前端优化选项
1445
- * @param options - 前端优化选项
1446
- */
1469
+ * 设置前端优化选项
1470
+ * @param options - 前端优化选项
1471
+ */
1447
1472
  setOptions: (options: PerformanceOptions) => void;
1448
1473
  }
1449
1474
  interface NpmPackageJSONManager {
@@ -1548,6 +1573,7 @@ type InputFile = ReactFileDescription;
1548
1573
  type ProjectStructureConfig = {
1549
1574
  baseDir: string;
1550
1575
  project: Record<string, InputFile | InputFile[]>;
1576
+ importIRResolver?: (i: ImportIR) => string;
1551
1577
  };
1552
1578
  /**
1553
1579
  * 已经被放置在文件系统中的文件
@@ -1596,9 +1622,9 @@ declare class VirtualProject {
1596
1622
  declare function compileAsProject(app: App, frontend: Frontend, config: CommonAppConfig, container?: Container): Promise<VirtualProject>;
1597
1623
  declare function compileNASLToReactDist(app: App, frontend: Frontend, config: CommonAppConfig): Promise<OrganizedFile[]>;
1598
1624
 
1599
- declare function makeDefaultContainer(): Container;
1625
+ declare function makeDefaultContainer(kind?: 'vue3' | 'react' | 'vue2'): Container;
1600
1626
 
1601
- declare function translateNASLToReactApp(
1627
+ declare function translateNASLToApp(
1602
1628
  /**
1603
1629
  * NASL对象
1604
1630
  */
@@ -1624,6 +1650,7 @@ declare const ServiceMetaKind: {
1624
1650
  ReactCodegen: symbol;
1625
1651
  CodeGenerationLifecycleHooks: symbol;
1626
1652
  FileSystemProvider: symbol;
1653
+ FrontendBundlerFileConfig: symbol;
1627
1654
  FrontendBundlerConfig: symbol;
1628
1655
  FrontendPerformance: symbol;
1629
1656
  NpmPackageJSONManager: symbol;
@@ -1653,4 +1680,4 @@ declare function makePlugin<Functions extends {}>({ name, functions, }: NASLPlug
1653
1680
  declare function deserializeAppWhileKeepTypeAnnotation(appJSON: object): App;
1654
1681
  declare function serializeAppWithKeepTypeAnnotation(app: App): any;
1655
1682
 
1656
- export { ApiClientIdentifier, type BaseComponentIR, type BasePlatformConfig, type BindAttributeIR, type BindDirectiveIR, type BindEventIR, type BizComponentIR, type CommonAppConfig, type ComponentIRToPathDict, type ComponentInstanceIR, type Dict, type Expr, type ExprIR, type ExtensionConfigMap, FileDescription, type FileFragment, FileSystemPlugin, type FinalizedStateContextIR, type FrontendDesc, type GeneralComponentIR, Generator, GeneratorInfrastructureDomain, type HasRuntimeSemantics, type IdentifierNameResolver, type IdentifierResolver, type IdentifierString, type ImportIR, type ImportIRResolver, type InputFile, type JSXNode, JavaScriptCodegenPlugin, JavaScriptDomain, type LegacyMetaData, LifeCycleHooksPlugin, type LocalIndividualStateIR, type LocalIndividualStateIRComponentRef, type LocalLogicStateIR, type LocalVariableStateIR, Logger, type LogicIR, MicroFrontendPlugin, type NASLAppIR, NASLAppIRBuilderPlugin, NASLDomain, type NASLPlugin, type OrganizedFile, type Package, type ParamIR, PlacedFile, type PlatformConfig, type PrettierOptions, ProjectOrganizerPlugin, type ProjectStructureConfig, ReactChildrenPropName, ReactCodegenPlugin, ReactFileDescription, ReactFragment, type ReactHook, ReactHookBuilder, ReactPresetPlugin, ReactRouterDefaultBizComponentsFolderName, ReactRouterDefaultViewFolderName, ReactSlotPlugin, ReactStateManagerMobxPlugin, ReactStateManagerVanillaPlugin, type ReferencedComponent, type ReferencedLibComponent, type ReferencedSubComponentIR, type RouteIR, ServiceMetaKind, StateActionIR, StateContextIR, type StateIR, type StateManager, type SubComponentIR, type SyntaxNodePrinter, type ToJSXOption, type TreeStateIR, type TypeAnnotationIR, type ViewComponentIR, VirtualProject, bindAttrToIR, bindEventToAction, bindViewElementEventToIR, codeFormatPlugin, compileAsProject, compileNASLToReactDist, defaultErrorMessageDict, deserializeAppWhileKeepTypeAnnotation, genMetaData, getComponentName, hasAfterAllFilesGeneratedKind, inferChangeEventNameFromAttrName, isLocalIndividualStateIRComponentRef, type javaScriptCodeGenCallBackBag, javaScriptCodeGenPlugin, jsxCodeGenPlugin, logicToLogicIR, makeDefaultContainer, makePlugin, metadataPlugin, paramToIR, reactComponentLibHackPlugin, reactRouterPlugin, routesExtractionPlugin, serializeAppWithKeepTypeAnnotation, styleStringToInlineObject, translateNASLToReactApp };
1683
+ export { ApiClientIdentifier, type BaseComponentIR, type BasePlatformConfig, type BindAttributeIR, type BindDirectiveIR, type BindEventIR, type BizComponentIR, type CommonAppConfig, type ComponentIRToPathDict, type ComponentInstanceIR, type Dict, type Expr, type ExprIR, type ExtensionConfigMap, FileDescription, type FileFragment, FileSystemPlugin, type FinalizedStateContextIR, type FrontendDesc, type GeneralComponentIR, Generator, GeneratorInfrastructureDomain, type HasRuntimeSemantics, type IdentifierNameResolver, type IdentifierResolver, type IdentifierString, type ImportIR, type ImportIRResolver, type InputFile, type JSXNode, JavaScriptCodegenPlugin, JavaScriptDomain, type LegacyMetaData, LifeCycleHooksPlugin, type LocalIndividualStateIR, type LocalIndividualStateIRComponentRef, type LocalLogicStateIR, type LocalVariableStateIR, Logger, type LogicIR, MicroFrontendPlugin, type NASLAppIR, NASLAppIRBuilderPlugin, NASLDomain, type NASLPlugin, NameMangler, type OrganizedFile, type Package, type ParamIR, PlacedFile, type PlatformConfig, type PrettierOptions, ProjectOrganizerPlugin, type ProjectStructureConfig, ReactChildrenPropName, ReactCodegenPlugin, ReactFileDescription, ReactFragment, type ReactHook, ReactHookBuilder, ReactPresetPlugin, ReactRouterDefaultBizComponentsFolderName, ReactRouterDefaultViewFolderName, ReactSlotPlugin, ReactStateManagerMobxPlugin, ReactStateManagerVanillaPlugin, type ReferencedComponent, type ReferencedLibComponent, type ReferencedSubComponentIR, type RouteIR, RoutesExtractionPlugin, ServiceMetaKind, StateActionIR, StateContextIR, type StateIR, type StateManager, type SubComponentIR, type SyntaxNodePrinter, type ToJSXOption, type TreeStateIR, type TypeAnnotationIR, type ViewComponentIR, VirtualProject, bindAttrToIR, bindEventToAction, bindViewElementEventToIR, codeFormatPlugin, compileAsProject, compileNASLToReactDist, defaultErrorMessageDict, deserializeAppWhileKeepTypeAnnotation, genMetaData, getComponentName, hasAfterAllFilesGeneratedKind, inferChangeEventNameFromAttrName, isLocalIndividualStateIRComponentRef, type javaScriptCodeGenCallBackBag, javaScriptCodeGenPlugin, jsxCodeGenPlugin, logicToLogicIR, makeDefaultContainer, makePlugin, metadataPlugin, paramToIR, reactComponentLibHackPlugin, reactRouterPlugin, routesExtractionPlugin, serializeAppWithKeepTypeAnnotation, styleStringToInlineObject, translateNASLToApp };