@jkun/watermark
Version:
Stencil Component Starter
20 lines (16 loc) • 1.07 kB
JavaScript
;
const index = require('./index-e5b4f6a6.js');
/*
Stencil Client Patch Browser v2.20.0 | MIT Licensed | https://stenciljs.com
*/
const patchBrowser = () => {
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('ivy-watermark.cjs.js', document.baseURI).href));
const opts = {};
if (importMeta !== '') {
opts.resourcesUrl = new URL('.', importMeta).href;
}
return index.promiseResolve(opts);
};
patchBrowser().then(options => {
return index.bootstrapLazy([["ivy-watermark.cjs",[[1,"ivy-watermark",{"width":[1],"height":[1],"content":[1],"rotate":[1],"zIndex":[1,"z-index"],"fontSize":[1,"font-size"],"fontWeight":[1,"font-weight"],"fontStyle":[1,"font-style"],"fontColor":[1,"font-color"],"fontFamily":[1,"font-family"],"gapX":[1,"gap-x"],"gapY":[1,"gap-y"],"offsetY":[1,"offset-y"],"offsetX":[1,"offset-x"],"image":[32],"waterSrc":[32],"backgroundSize":[32],"watermarkIndex":[32]}]]]], options);
});