npm.io
3.1.1 • Published 3h ago

@computec/uicore

Licence
Copyright (c) CompuTec S.A.2023
Version
3.1.1
Deps
0
Size
70 kB
Vulns
0
Weekly
0

UI5 Library core

Core AppEngine libraries to by used by plugins

Requirements

Installation / Setup

npm i

Usage

For plugin to work in AppEngine please extend from computec.appengine.uicore.UIComponent. For routing use either computec.appengine.uicore.plugin.m.PluginRouter or computec.appengine.uicore.plugin.f.PluginRouter.

Consuming the types (plugin authors)

@computec/uicore is published as TypeScript declarations only — the implementation is provided by AppEngine at runtime, so plugins do not bundle it. Map the module namespace to the declaration folder in your plugin tsconfig.json:

"paths": {
    "computec/appengine/uicore/*": [
        "./node_modules/@computec/uicore/types/computec/appengine/uicore/*"
    ]
}

As of 3.1.0 the package ships TypeScript declarations only (runtime is unchanged). Update the path target from .../src/... to .../types/....