UNPKG

@seniorsistemas/tecnologia-webcomponents

Version:

A webcomponents library for Senior Sistemas - Suite BPM products.

149 lines 6.88 kB
System.register([ "./index-7074ebb2.system.js", "./app-globals-497eb362.system.js" ], (function(e, t) { "use strict"; var o, n, r, i, s, a, c, l, u, m; return { setters: [ function(e) { o = e.B, n = e.c, r = e.p, i = e.w, s = e.H, a = e.d, c = e.N, l = e.a, u = e.b; }, function(e) { m = e.g; } ], execute: function() { /* Stencil Client Patch Browser v2.5.2 | MIT Licensed | https://stenciljs.com */ var patchDynamicImport = function(e, t) { var o = "__sc_import_" + c.replace(/\s|-/g, "_"); try { // test if this browser supports dynamic imports // There is a caching issue in V8, that breaks using import() in Function // By generating a random string, we can workaround it // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info i[o] = new Function("w", "return import(w);//" + Math.random()); } catch (r) { // this shim is specifically for browsers that do support "esm" imports // however, they do NOT support "dynamic" imports // basically this code is for old Edge, v18 and below var n = new Map; i[o] = function(r) { var s = new URL(r, e).href, c = n.get(s); if (!c) { var l = a.createElement("script"); l.type = "module", l.crossOrigin = t.crossOrigin, l.src = URL.createObjectURL(new Blob([ "import * as m from '" + s + "'; window." + o + ".m = m;" ], { type: "application/javascript" })), c = new Promise((function(e) { l.onload = function() { e(i[o].m), l.remove(); }; })), n.set(s, c), a.head.appendChild(l); } return c; }; } }, patchCloneNodeFix = function(e) { var t = e.cloneNode; e.cloneNode = function(e) { if ("TEMPLATE" === this.nodeName) return t.call(this, e); var o = t.call(this, !1), n = this.childNodes; if (e) for (var r = 0; r < n.length; r++) // Node.ATTRIBUTE_NODE === 2, and checking because IE11 2 !== n[r].nodeType && o.appendChild(n[r].cloneNode(!0)); return o; }; }; (function() { // NOTE!! This fn cannot use async/await! o.isDev && !o.isTesting && n("Running in development mode."), o.cssVarShim && ( // shim css vars r.$cssShim$ = i.__cssshim), o.cloneNodeFix && // opted-in to polyfill cloneNode() for slot polyfilled components patchCloneNodeFix(s.prototype), o.profile && !performance.mark && ( // not all browsers support performance.mark/measure (Safari 10) performance.mark = performance.measure = function() { /*noop*/}, performance.getEntriesByName = function() { return []; }); // @ts-ignore var e = o.scriptDataOpts || o.safari10 || o.dynamicImportShim ? Array.from(a.querySelectorAll("script")).find((function(e) { return new RegExp("/" + c + "(\\.esm)?\\.js($|\\?|#)").test(e.src) || e.getAttribute("data-stencil-namespace") === c; })) : null, u = t.meta.url, m = o.scriptDataOpts && e["data-opts"] || {}; if (o.safari10 && "onbeforeload" in e && !history.scrollRestoration /* IS_ESM_BUILD */) // Safari < v11 support: This IF is true if it's Safari below v11. // This fn cannot use async/await since Safari didn't support it until v11, // however, Safari 10 did support modules. Safari 10 also didn't support "nomodule", // so both the ESM file and nomodule file would get downloaded. Only Safari // has 'onbeforeload' in the script, and "history.scrollRestoration" was added // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue. // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds. return { then: function() { /* promise noop */} }; if (o.safari10 || "" === u) { if ((o.dynamicImportShim || o.safari10) && (m.resourcesUrl = new URL(".", new URL(e.getAttribute("data-resources-url") || e.src, i.location.href)).href, o.dynamicImportShim && patchDynamicImport(m.resourcesUrl, e), o.dynamicImportShim && !i.customElements)) // module support, but no custom elements support (Old Edge) // @ts-ignore return t.import(/* webpackChunkName: "polyfills-dom" */ "./dom-b9bfd241.system.js").then((function() { return m; })); } else m.resourcesUrl = new URL(".", u).href; return l(m); })().then((function(e) { return m(), u([ [ "tec-bottom-bar.system", [ [ 1, "tec-bottom-bar", { theme: [ 513 ], text: [ 1 ], buttonPosition: [ 1, "button-position" ], useAnimation: [ 4, "use-animation" ] } ] ] ], [ "tec-button.system", [ [ 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 ] } ] ] ], [ "tec-code-input.system", [ [ 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 ] } ] ] ], [ "tec-modal.system", [ [ 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 ] } ] ] ], [ "tec-product-header.system", [ [ 1, "tec-product-header", { theme: [ 513 ], titleProduct: [ 1, "title-product" ], titleCursorPointer: [ 4, "title-cursor-pointer" ], sticky: [ 1540 ] } ] ] ], [ "tec-status-badge.system", [ [ 1, "tec-status-badge", { badgeText: [ 1025, "badge-text" ], status: [ 1025 ] } ] ] ] ], e); })); } }; }));