Socket
Book a DemoInstallSign in
Socket

@eotl/ui-ordering

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eotl/ui-ordering

## Configuation

0.1.1
latest
npmnpm
Version published
Weekly downloads
1
Maintainers
0
Weekly downloads
 
Created
Source

UI Ordering

Configuation

<div id="app"></div>
<script>
    const ordering = {
        dispatchUrl: 'https://dispatch.eotl.supply',
        inventoryUrl: 'https://inventory.eotl.supply',
        coordinator: 'ecologistik',
        api: '/api/',
        lang: 'en',
        currency: '€',
        style: 'theme-white',
        iconPath: '/icons/',
        imagePath: '/items/theme/',
        layout: 'list',
        checkoutHeader: true,
        checkoutType: 'priced'
    }
</script>
<script type="text/javascript" src="js/libs.js"></script>
<script type="text/javascript" src="js/ui-ordering.js"></script>
<script type="text/javascript" src="js/app.js"></script>

coordinator

  • coordinator-id - an Open-Dispatch username or identityKey

api

  • http://open-inventory.server.com - a URL or path to the JSON of inventory

layout

  • list - shows list of items grouped by category (small # of items)
  • pages - shows category page then pages of items (large # of items)

Development

Install depedencies from NPM

yarn install

Build the CSS

yarn scss

Compile and hot-reload for development

yarn serve

Compile and minify for production

yarn build

Lint and fix files

yarn lint

See Configuration Reference for customization

FAQs

Package last updated on 16 Dec 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.