New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@opentext/forms-ui-runtime

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentext/forms-ui-runtime

Provides UI runtime components for OpenText™ Forms API

24.4.1
latest
npm
Version published
Maintainers
0
Created
Source

forms-ui-runtime

UI runtime components for OpenText™ Forms API

Contents

  • Install
  • Usage

Install

Run:

npm install @opentext/forms-ui-runtime

Usage

Consuming individual UI components

import { Ot2mcBaseElement, CheckBox } from '@opentext/forms-ui-runtime';

Consuming the components module in a VS Code extension

Add the following in the webpack.js, the following which will copy the components.js file in the dist folder.

  plugins: [
    new CopyWebpackPlugin({
      patterns: [{ from: require.resolve('@opentext/forms-ui-runtime/dist/components.js'), to: '' }]
    })
  ],

Now, components.js is available to be added in the VS Code webview.

    // Local path to script and css for the webview
    const componentsUri = webview.asWebviewUri(
      vscode.Uri.joinPath(this._context.extensionUri, 'dist', 'components.js')
    );

Consuming in UI Designer

Add the locale files to a root folder called locales.

And then add the following files to the root folder: components.js, designer-components.js and the runtime chunk runtime.js.

Keywords

OpenText Cloud Platform

FAQs

Package last updated on 28 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts