Class: Importer
frontend.Importer
Bundled node modules (Frontend dependencies) loading script
#
ImplementsRequired
<TCromwellNodeModules
>
#
Table of contents#
Constructors#
Properties#
Methods#
Constructors#
constructor• new Importer()
#
Defined insystem/core/frontend/src/helpers/importer.ts:36
#
Properties#
canShowInfo• canShowInfo: boolean
= false
#
Defined insystem/core/frontend/src/helpers/importer.ts:25
#
hasBeenExecuted• hasBeenExecuted: boolean
= false
#
Implementation ofRequired.hasBeenExecuted
#
Defined insystem/core/frontend/src/helpers/importer.ts:27
#
importStatuses• importStatuses: Object
= {}
#
Implementation ofRequired.importStatuses
#
Defined insystem/core/frontend/src/helpers/importer.ts:20
#
imports• imports: Object
= {}
#
Implementation ofRequired.imports
#
Defined insystem/core/frontend/src/helpers/importer.ts:21
#
moduleExternals• moduleExternals: Object
= {}
#
Implementation ofRequired.moduleExternals
#
Defined insystem/core/frontend/src/helpers/importer.ts:22
#
modules• modules: Record
<string
, any
>
#
Implementation ofRequired.modules
#
Defined insystem/core/frontend/src/helpers/importer.ts:24
#
prefix• prefix: string
#
Implementation ofRequired.prefix
#
Defined insystem/core/frontend/src/helpers/importer.ts:26
#
scriptStatuses• scriptStatuses: Object
= {}
#
Implementation ofRequired.scriptStatuses
#
Defined insystem/core/frontend/src/helpers/importer.ts:23
#
Methods#
importModuleâ–¸ importModule(moduleName
, namedExports?
): boolean
| Promise
<boolean
>
Import single module with its dependencies
#
ParametersName | Type |
---|---|
moduleName | any |
namedExports | string [] |
#
Returnsboolean
| Promise
<boolean
>
#
Implementation ofRequired.importModule
#
Defined insystem/core/frontend/src/helpers/importer.ts:87
#
importScriptExternalsâ–¸ importScriptExternals(metaInfo
): Promise
<boolean
>
#
ParametersName | Type |
---|---|
metaInfo | undefined | TScriptMetaInfo |
#
ReturnsPromise
<boolean
>
#
Implementation ofRequired.importScriptExternals
#
Defined insystem/core/frontend/src/helpers/importer.ts:387
#
setIsServerSideâ–¸ setIsServerSide(isServerSide
): any
#
ParametersName | Type |
---|---|
isServerSide | any |
#
Returnsany
#
Defined insystem/core/frontend/src/helpers/importer.ts:79
#
setPrefixâ–¸ setPrefix(prefix
): any
#
ParametersName | Type |
---|---|
prefix | any |
#
Returnsany
#
Implementation ofRequired.setPrefix
#
Defined insystem/core/frontend/src/helpers/importer.ts:77
#
setServerPublicDirâ–¸ setServerPublicDir(dir
): any
#
ParametersName | Type |
---|---|
dir | any |
#
Returnsany