Private ReadonlycardPrivate ReadonlyloggerPrivate ReadonlynamespacePrivate ReadonlysalesforceCompiles a FlexCard definition into LWC files and returns the component name and compiled resources.
Initializes the LWC generator using namespace and runtime settings derived from internal services and the provided options, determines the component name (either from options.lwcName or derived from the card), and invokes the generator to produce LWC files for the card. Only generated files whose filepath contains a '/' are returned as compiled resources.
The FlexCardDefinition to compile.
Optionaloptions: FlexCardCompileOptionsOptional compilation settings:
A promise that resolves to an object with:
Compile and package an OmniScript into a deployable Metadata package
Definition of the FlexCard to compile
Optionaloptions: FlexCardCompileOptionsOptions to control the compilation and bundling
Compile an OmniScript into a deployable Salesforce Tooling record
Definition of the FlexCard to compile
Optionaloptions: FlexCardCompileOptionsOptions to control the compilation
PrivategetPrivategetGenerated the LWC component name from the OmniScript definition
Definition of the FlexCard for which to generate the name
PrivateinitializePrivateload
Compiler that transforms activated OmniScripts into LWC components that can easily be deployed or written to the disk.