Skip to main content

@lcap/nasl-unified-frontend-generator

nasl-unified-frontend-generator package

Classes

ClassDescription
MicroFrontendPlugin微前端插件
NASLAppIRBuilderPlugin
PlacedFile已经被放置在文件系统中的文件
ProjectOrganizerPlugin
ReactPresetPlugin
StateActionIR
StateContextIR

Functions

FunctionDescription
assertNever(a)
assertNotEmptyString(s, msg)
assertNotNil(s, msg)
bindAttrToIR(b)
compileAsProject(app, frontend, config, container)
compileNASLToReactDist(app, frontend, config)
componentNameToRefName(name)
ensureArray(value)
ensureHasPrefix(target, prefix)
extractComponentNameFromElementRefName(name)
folderPathToString(folderTree)
getBasePath(app, config, ensureProtocol)
getRuntimeStr(s, callbackBag)
halt(msg)
hasExtension(filePath)
integrateMicroApp(frontend)
isComponentFromLib(c)
isNameAElementRef(name)
isNotNil(x)
jsonStringifyKeepUndefined(obj)
kebab2Pascal(s)
Logger(prefix)
logging(target)
logicToLogicIR(logic)
makeAndMountIframe()
makePlugin({ name, functions, })
neverImplemented(a)
normalizeStaticUrl(staticURL)
notImplemented(a)
paramToIR(param)
startsWithUpperCase(str)
styleStringToInlineObject(staticStyle)
todo()
translateNASLToReactApp(app, frontend, config, baseDir, container)
trueKebab2Camel(name)

Interfaces

InterfaceDescription
CommonAppConfig
IRBuilderIR构建器
MicroFrontendManager微前端管理器接口
NASLPluginNASL 插件
NASLTranspilerNASL转译器
PlatformConfig
ProjectOrganizer项目布局管理器
StateConsumer
StateManager
SyntaxNodePrinter

Variables

VariableDescription
ApiClientIdentifier
apiClientPlugin
axiosPlugin
codeFormatPlugin
DefaultComponentLibraryName
javaScriptCodeGenPlugin
jsxCodeGenPlugin
metadataPlugin
routesExtractionPlugin
ServiceMetaKind

Type Aliases

Type AliasDescription
BasePlatformConfig
BindAttributeIR绑定属性
BindDirectiveIR绑定指令
BindEventIR绑定事件
ComponentInstanceIR组件调用
ComponentIR组件声明
ComponentName
Dict
ElementRefName
Expr
ExprIR表达式
FinalizedStateContextIR
Folder
FolderPath
HasRuntimeSemantics
IdentifierNameResolver
IdentifierResolver
IdentifierString
InputFile
javaScriptCodeGenCallBackBag
JSXNode
LegacyMetaData
LocalIndividualStateIR
LocalLogicStateIR
LogicIR
NASLAppIR组件 IR
OrganizedFile
Package
ParamIR参数
PrettierOptions
ProjectStructureConfig项目结构配置
ReferencedComponent
ReferencedLibComponent
ResolvedAppIR
RouteIR
StateIR状态
TreeStateIR
TypeAnnotationIR