UNPKG

@sutton-signwriting/sgnw-components

Version:

a javascript package of web components for use with the SignWriting script.

28 lines (22 loc) 2.72 kB
/*! * The Sutton SignWriting Web Components */ 'use strict'; var index = require('./index-bYThyFO7.js'); var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null; /* Stencil Client Patch Browser v4.43.5 | MIT Licensed | https://stenciljs.com */ var patchBrowser = () => { const importMeta = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('sgnw-components.cjs.js', document.baseURI).href)); const opts = {}; if (importMeta !== "") { opts.resourcesUrl = new URL(".", importMeta).href; } return index.promiseResolve(opts); }; patchBrowser().then(async (options) => { await index.globalScripts(); return index.bootstrapLazy([["fsw-palette.cjs",[[2,"fsw-palette",{"orientation":[1],"size":[1],"alphabet":[1],"group":[1537],"base":[1537],"more":[1540],"lower":[1540],"palette":[32]},[[0,"paletteSymbolClick","paletteSymbolClickHandler"]],{"size":[{"parseSizeProp":0}],"group":[{"watchGroup":0}],"base":[{"watchBase":0}],"more":[{"watchMore":0}],"lower":[{"watchLower":0}]}]]],["fsw-vp.cjs",[[1,"fsw-vp",{"vp":[1537],"colorize":[1540],"sgnw":[32],"items":[32]},null,{"vp":[{"parseText":0}]}]]],["sgnw-palette.cjs",[[2,"sgnw-palette",{"orientation":[1],"size":[1],"alphabet":[1],"group":[1537],"base":[1537],"more":[1540],"lower":[1540],"palette":[32]},[[0,"paletteSymbolClick","paletteSymbolClickHandler"]],{"size":[{"parseSizeProp":0}],"group":[{"watchGroup":0}],"base":[{"watchBase":0}],"more":[{"watchMore":0}],"lower":[{"watchLower":0}]}]]],["sgnw-vp.cjs",[[1,"sgnw-vp",{"vp":[1537],"colorize":[1540],"sgnw":[32],"items":[32]},null,{"vp":[{"parseText":0}]}]]],["fsw-signbox.cjs",[[262,"fsw-signbox",null,[[8,"paletteSymbolDrop","paletteSymbolDropHandler"]]]]],["fsw-spatial.cjs",[[262,"fsw-spatial"]]],["sgnw-signbox.cjs",[[262,"sgnw-signbox",null,[[8,"paletteSymbolDrop","paletteSymbolDropHandler"]]]]],["fsw-button_2.cjs",[[2,"fsw-button",{"symbol":[1537],"sign":[1537],"svg":[1537],"sgnw":[32]}],[2,"fsw-palette-symbol",{"symbol":[1537],"sgnw":[32],"dragging":[32]}]]],["fsw-sign_2.cjs",[[257,"fsw-sign",{"sign":[1537],"styling":[1537],"sgnw":[32]}],[257,"fsw-symbol",{"symbol":[1537],"styling":[1537],"sgnw":[32]}]]],["sgnw-button_2.cjs",[[2,"sgnw-button",{"symbol":[1537],"sign":[1537],"svg":[1537],"sgnw":[32]}],[2,"sgnw-palette-symbol",{"symbol":[1537],"sgnw":[32],"dragging":[32]}]]],["sgnw-sign_2.cjs",[[257,"sgnw-sign",{"sign":[1537],"styling":[1537],"sgnw":[32]}],[257,"sgnw-symbol",{"symbol":[1537],"styling":[1537],"sgnw":[32]}]]]], options); }); exports.setNonce = index.setNonce;