UNPKG

@seniorsistemas/tecnologia-webcomponents

Version:

A webcomponents library for Senior Sistemas - Suite BPM products.

1 lines 2.56 kB
import{p as plt,w as win,d as doc,N as NAMESPACE,a as promiseResolve,b as bootstrapLazy}from"./index-5dbac1cf.js";var getDynamicImportFunction=function(t){return"__sc_import_"+t.replace(/\s|-/g,"_")};var patchBrowser=function(){{plt.$cssShim$=win.__cssshim}var t=Array.from(doc.querySelectorAll("script")).find((function(t){return new RegExp("/"+NAMESPACE+"(\\.esm)?\\.js($|\\?|#)").test(t.src)||t.getAttribute("data-stencil-namespace")===NAMESPACE}));var e=t["data-opts"]||{};if("onbeforeload"in t&&!history.scrollRestoration){return{then:function(){}}}{e.resourcesUrl=new URL(".",new URL(t.getAttribute("data-resources-url")||t.src,win.location.href)).href;{patchDynamicImport(e.resourcesUrl,t)}if(!win.customElements){return import("./dom-bd0bf1dc.js").then((function(){return e}))}}return promiseResolve(e)};var patchDynamicImport=function(t,e){var o=getDynamicImportFunction(NAMESPACE);try{win[o]=new Function("w","return import(w);//"+Math.random())}catch(r){var n=new Map;win[o]=function(r){var i=new URL(r,t).href;var a=n.get(i);if(!a){var s=doc.createElement("script");s.type="module";s.crossOrigin=e.crossOrigin;s.src=URL.createObjectURL(new Blob(["import * as m from '"+i+"'; window."+o+".m = m;"],{type:"application/javascript"}));a=new Promise((function(t){s.onload=function(){t(win[o].m);s.remove()}}));n.set(i,a);doc.head.appendChild(s)}return a}}};patchBrowser().then((function(t){return bootstrapLazy([["tec-bottom-bar_6",[[1,"tec-bottom-bar",{theme:[513],text:[1],buttonPosition:[1,"button-position"],useAnimation:[4,"use-animation"]}],[1,"tec-button",{theme:[513],buttonId:[513,"buttonid"],label:[1025],status:[1025],mode:[1025],color:[1025],size:[1025],disabled:[1028],fullWidth:[516,"full-width"],onlyIcon:[4,"onlyicon"],iconMode:[1,"iconmode"],icon:[1],loading:[1540]}],[1,"tec-code-input",{theme:[513],initialValue:[1025,"initial-value"],placeholder:[513],disabled:[516],responsive:[516],autofocus:[516],type:[513],length:[514],useMargin:[4,"use-margin"],case:[1],value:[32],clear:[64]}],[1,"tec-modal",{theme:[513],opened:[1028],modalTitle:[1025,"modal-title"],showCloseIcon:[4,"show-close-icon"],dismissOnBackdrop:[4,"dismiss-on-backdrop"],size:[1025],fullWidth:[1028,"full-width"],closeOnEscape:[4,"close-on-escape"],blockBodyScroll:[4,"block-body-scroll"],responsive:[4],footerAlign:[1,"footer-align"],openedAuxiliary:[32]}],[1,"tec-product-header",{theme:[513],titleProduct:[1,"title-product"],titleCursorPointer:[4,"title-cursor-pointer"],sticky:[1540]}],[1,"tec-status-badge",{badgeText:[1025,"badge-text"],status:[1025]}]]]],t)}));