Socket
Socket
Sign inDemoInstall

@kong-ui-public/forms

Package Overview
Dependencies
66
Maintainers
1
Versions
464
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @kong-ui-public/forms

## Requirements


Version published
Weekly downloads
2.4K
decreased by-51.4%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

@kong-ui-public/forms

Requirements

  • vue must be initialized in the host application
  • @kong/kongponents must be available as a dependency in the host application and registered globally, along with the Kongponents style import. See here for instructions on installing Kongponents.
  • @kong-ui-public/i18n must be available as a dependency in the host application.

how to add shared form

Let's say you need introduce shared customization for 'PostFunction' plugin form. Here are the steps

  1. add PostFunction.vue into src/forms/

  2. modify finalSchema computable in PostFunction.vue the way you like it.

  3. add export for this component into src/forms/index.ts

  4. add mapping for model name -> component name into getSharedFormName function defined in src/index.ts

That's it - next time the version of @kong-ui-public/forms is used - your src/forms/PostFunction.vue will be presented when user selects Post Function plugin to install or edit.

FAQs

Last updated on 06 May 2024

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc