@allakando/allakando-web-ui
Version:
Allakando's web component library
3 lines (2 loc) • 1.1 kB
JavaScript
import{a}from"./chunk-FJPRWHXQ-ae58696e.js";const{global:o}=__STORYBOOK_MODULE_GLOBAL__,{start:i}=__STORYBOOK_MODULE_PREVIEW_API__;var{window:_}=o;_.STORYBOOK_ENV="web-components";var t=i(a);t.forceReRender;t.clientApi.raw;function l(e){if(!e)return!1;if(typeof e=="string")return!0;throw new Error('Provided component needs to be a string. e.g. component: "my-element"')}function u(e){if(!e)return!1;if(e.tags&&Array.isArray(e.tags)||e.modules&&Array.isArray(e.modules))return!0;throw new Error(`You need to setup valid meta data in your config.js via setCustomElements().
See the readme of addon-docs for web components for more details.`)}function c(e){o.__STORYBOOK_CUSTOM_ELEMENTS__=e}function E(){return o.__STORYBOOK_CUSTOM_ELEMENTS__||o.__STORYBOOK_CUSTOM_ELEMENTS_MANIFEST__}var{window:s,EventSource:d}=o,r;typeof module<"u"&&((r=module==null?void 0:module.hot)!=null&&r.decline)&&(module.hot.decline(),new d("__webpack_hmr").addEventListener("message",function(e){try{let{action:n}=JSON.parse(e.data);n==="built"&&s.location.reload()}catch{}}));export{u as a,E as g,l as i,c as s};