dash-button-web 0.0.23-beta.2 → 0.0.23-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
  2. package/dist/cjs/dash-button_4.cjs.entry.js +10842 -0
  3. package/dist/cjs/{index-BfwSK14n.js → index-DcvBej9f.js} +122 -4
  4. package/dist/cjs/loader.cjs.js +3 -3
  5. package/dist/cjs/web-compnont.cjs.js +3 -3
  6. package/dist/collection/collection-manifest.json +11 -3
  7. package/dist/collection/components/my-component/dash-button.js +50 -86
  8. package/dist/collection/services/config.js +3 -4
  9. package/dist/collection/services/menu.js +3 -4
  10. package/dist/components/dash-button.js +1 -1
  11. package/dist/components/index.js +1 -1
  12. package/dist/components/loading-component.js +1 -0
  13. package/dist/components/loading-component2.js +1 -0
  14. package/dist/components/notification-component.js +1 -0
  15. package/dist/components/notification-component2.js +1 -0
  16. package/dist/components/notification-table.js +1 -0
  17. package/dist/components/notification-table2.js +2 -0
  18. package/dist/esm/app-globals-DQuL1Twl.js +3 -0
  19. package/dist/esm/dash-button_4.entry.js +10837 -0
  20. package/dist/esm/{index-6_Ga3Eox.js → index-p0GxQx6x.js} +122 -4
  21. package/dist/esm/loader.js +4 -4
  22. package/dist/esm/web-compnont.js +4 -4
  23. package/dist/types/components/my-component/dash-button.d.ts +1 -1
  24. package/dist/web-compnont/p-a0a0ebc6.entry.js +3 -0
  25. package/dist/web-compnont/p-p0GxQx6x.js +3 -0
  26. package/dist/web-compnont/web-compnont.esm.js +1 -1
  27. package/package.json +1 -1
  28. package/dist/cjs/app-globals-cd54EKuF.js +0 -15
  29. package/dist/cjs/dash-button.cjs.entry.js +0 -4314
  30. package/dist/collection/assets/ice-notification-component/ice-notification-component.esm.js +0 -1
  31. package/dist/collection/assets/ice-notification-component/index.esm.js +0 -1
  32. package/dist/collection/assets/ice-notification-component/p-CYEcl3gx.js +0 -2
  33. package/dist/collection/assets/ice-notification-component/p-Cd2FMJAb.js +0 -1
  34. package/dist/collection/assets/ice-notification-component/p-cf3fb8a3.entry.js +0 -2
  35. package/dist/collection/global/app.js +0 -7
  36. package/dist/esm/app-globals-B2hgy9FG.js +0 -13
  37. package/dist/esm/dash-button.entry.js +0 -4312
  38. package/dist/types/global/app.d.ts +0 -2
  39. package/dist/web-compnont/assets/ice-notification-component/ice-notification-component.esm.js +0 -1
  40. package/dist/web-compnont/assets/ice-notification-component/index.esm.js +0 -1
  41. package/dist/web-compnont/assets/ice-notification-component/p-CYEcl3gx.js +0 -2
  42. package/dist/web-compnont/assets/ice-notification-component/p-Cd2FMJAb.js +0 -1
  43. package/dist/web-compnont/assets/ice-notification-component/p-DQuL1Twl.js +0 -1
  44. package/dist/web-compnont/assets/ice-notification-component/p-cf3fb8a3.entry.js +0 -2
  45. package/dist/web-compnont/p-6_Ga3Eox.js +0 -3
  46. package/dist/web-compnont/p-7de50cbc.entry.js +0 -1
  47. package/dist/web-compnont/p-DiU1T8CW.js +0 -1
  48. /package/dist/{collection/assets/ice-notification-component → web-compnont}/p-DQuL1Twl.js +0 -0
@@ -0,0 +1,3 @@
1
+ function t(t,e,n){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,e);if(o&&(!n||o.get))return o;t=Object.getPrototypeOf(t)}}var e,n=(e,n)=>{var o;Object.entries(null!=(o=n.o.t)?o:{}).map((([o,[l]])=>{if(31&l||32&l){const l=e[o],i=t(Object.getPrototypeOf(e),o,!0)||Object.getOwnPropertyDescriptor(e,o);i&&Object.defineProperty(e,o,{get(){return i.get.call(this)},set(t){i.set.call(this,t)},configurable:!0,enumerable:!0}),n.l.has(o)?e[o]=n.l.get(o):void 0!==l&&(e[o]=l)}}))},o=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},l=(t,e)=>{e&&(t.__stencil__getHostRef=()=>e,e.i=t,512&e.o.u&&n(t,e))},i=(t,e)=>e in t,s=(t,e)=>(0,console.error)(t,e),r=new Map,c=new Map,u=new Map,f="undefined"!=typeof window?window:{},a={u:0,p:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},d=t=>Promise.resolve(t),p=(()=>{try{return!!f.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),h=!!p&&(()=>!!f.document&&Object.getOwnPropertyDescriptor(f.document.adoptedStyleSheets,"length").writable)(),m=!1,v=[],b=[],y=()=>{var t;return(null==(t=f.document)?void 0:t.hidden)?j(g):a.raf(g)},w=(t,e)=>n=>{t.push(n),m||(m=!0,e&&4&a.u?j(g):y())},$=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){s(t)}t.length=0},g=()=>{$(v),$(b),(m=v.length>0)&&y()},j=t=>d().then(t),O=w(b,!0);function S(){const t=this.attachShadow({mode:"open"});void 0===e&&(e=null),e&&(h?t.adoptedStyleSheets.push(e):t.adoptedStyleSheets=[...t.adoptedStyleSheets,e])}function k(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var M,E=new WeakMap,C=t=>"sc-"+t.h,x=t=>"object"==(t=typeof t)||"function"===t,N=(t,e,...n)=>{let o=null,l=null,i=!1,r=!1;const c=[],u=e=>{for(let n=0;n<e.length;n++)if(o=e[n],Array.isArray(o))u(o);else if(null!=o&&"boolean"!=typeof o){if(i="function"!=typeof t&&!x(o))o+="";else if("function"!=typeof t&&void 0===o.u){s("Invalid vNode child");continue}i&&r?c[c.length-1].m+=o:c.push(i?L(null,o):o),r=i}};if(u(n),e){e.key&&(l=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}const f=L(t,null);return f.v=e,c.length>0&&(f.$=c),f.j=l,f},L=(t,e)=>({u:0,O:t,m:null!=e?e:null,S:null,$:null,v:null,j:null}),R={},T=t=>{if(!t)return;const e=Object.keys(t);if(0===e.length)return;let n=!1;for(const o of e){if(n)break;for(const e of t[o])if("string"==typeof e){n=!0;break}}if(!n)return t;const o={};for(const n of e)o[n]=t[n].map((t=>"string"==typeof t?{[t]:0}:t));return o},D=(t,e)=>null==t||x(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t,P=t=>{var e;return null==(e=o(t))?void 0:e.$hostElement$},A=(t,e)=>{const n=P(t);return{emit:t=>H(n,e,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},H=(t,e,n)=>{const o=a.ce(e,n);return t.dispatchEvent(o),o},U=(t,e,n,l,s,r)=>{if(n===l)return;let c=i(t,e),u=e.toLowerCase();if("class"===e){const e=t.classList,o=V(n);let i=V(l);e.remove(...o.filter((t=>t&&!i.includes(t)))),e.add(...i.filter((t=>t&&!o.includes(t))))}else if("style"===e){for(const e in n)l&&null!=l[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in l)n&&l[e]===n[e]||(e.includes("-")?t.style.setProperty(e,l[e]):t.style[e]=l[e])}else if("key"===e);else if("ref"===e)l&&nt(l,t);else if(c||"o"!==e[0]||"n"!==e[1]){if("a"===e[0]&&e.startsWith("attr:")){const n=e.slice(5);let i;{const e=o(t);if(e&&e.o&&e.o.t){const t=e.o.t[n];t&&t[1]&&(i=t[1])}}return i||(i=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==l||!1===l?!1===l&&""!==t.getAttribute(i)||t.removeAttribute(i):t.setAttribute(i,!0===l?"":l))}if("p"===e[0]&&e.startsWith("prop:")){const n=e.slice(5);try{t[n]=l}catch(t){}return}{const o=x(l);if((c||o&&null!==l)&&!s)try{if(t.tagName.includes("-"))t[e]!==l&&(t[e]=l);else{const o=null==l?"":l;"list"===e?c=!1:null!=n&&t[e]===o||("function"==typeof t.__lookupSetter__(e)?t[e]=o:t.setAttribute(e,o))}}catch(t){}null==l||!1===l?(!1!==l||""===t.getAttribute(e)||4&r&&!z(e))&&t.removeAttribute(e):(!c||4&r||s)&&!o&&1===t.nodeType&&t.setAttribute(e,l=!0===l?"":l)}}else if(e="-"===e[2]?e.slice(3):i(f,u)?u.slice(2):u[2]+e.slice(3),n||l){const o=e.endsWith(q);e=e.replace(B,""),n&&a.rel(t,e,n,o),l&&a.ael(t,e,l,o)}},W=new Set(["draggable","contenteditable","spellcheck"]),z=t=>W.has(t)||t.startsWith("aria-"),F=/\s/,V=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(F):[]),q="Capture",B=RegExp(q+"$"),G=(t,e,n)=>{const o=11===e.S.nodeType&&e.S.host?e.S.host:e.S,l=t&&t.v||{},i=e.v||{};for(const t of I(Object.keys(l)))t in i||U(o,t,l[t],void 0,n,e.u);for(const t of I(Object.keys(i)))U(o,t,l[t],i[t],n,e.u)};function I(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Y=!1,Z=[],_=[],J=(t,e,n)=>{const o=e.$[n];let l,i,s=0;if(null!=o.m)l=o.S=f.document.createTextNode(o.m);else{if(Y||(Y="svg"===o.O),!f.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=o.S=f.document.createElementNS(Y?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.O),Y&&"foreignObject"===o.O&&(Y=!1),G(null,o,Y),o.$){const e="template"===o.O?l.content:l;for(s=0;s<o.$.length;++s)i=J(t,o,s),i&&e.appendChild(i)}"svg"===o.O?Y=!1:"foreignObject"===l.tagName&&(Y=!0)}return l["s-hn"]=M,l},K=(t,e,n,o,l,i)=>{let s,r=t;for(r.shadowRoot&&r.tagName===M&&(r=r.shadowRoot),"template"===n.O&&(r=r.content);l<=i;++l)o[l]&&(s=J(null,n,l),s&&(o[l].S=s,ot(r,s,e)))},Q=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.S;et(e),t&&t.remove()}}},X=(t,e,n=!1)=>t.O===e.O&&(n?(n&&!t.j&&e.j&&(t.j=e.j),!0):t.j===e.j),tt=(t,e,n=!1)=>{const o=e.S=t.S,l=t.$,i=e.$,s=e.O,r=e.m;null==r?(G(t,e,Y="svg"===s||"foreignObject"!==s&&Y),null!==l&&null!==i?((t,e,n,o,l=!1)=>{let i,s,r=0,c=0,u=0,f=0,a=e.length-1,d=e[0],p=e[a],h=o.length-1,m=o[0],v=o[h];const b="template"===n.O?t.content:t;for(;r<=a&&c<=h;)if(null==d)d=e[++r];else if(null==p)p=e[--a];else if(null==m)m=o[++c];else if(null==v)v=o[--h];else if(X(d,m,l))tt(d,m,l),d=e[++r],m=o[++c];else if(X(p,v,l))tt(p,v,l),p=e[--a],v=o[--h];else if(X(d,v,l))tt(d,v,l),ot(b,d.S,p.S.nextSibling),d=e[++r],v=o[--h];else if(X(p,m,l))tt(p,m,l),ot(b,p.S,d.S),p=e[--a],m=o[++c];else{for(u=-1,f=r;f<=a;++f)if(e[f]&&null!==e[f].j&&e[f].j===m.j){u=f;break}u>=0?(s=e[u],s.O!==m.O?i=J(e&&e[c],n,c):(tt(s,m,l),e[u]=void 0,i=s.S),m=o[++c]):(i=J(e&&e[c],n,c),m=o[++c]),i&&ot(d.S.parentNode,i,d.S)}r>a?K(t,null==o[h+1]?null:o[h+1].S,n,o,c,h):c>h&&Q(e,r,a)})(o,l,e,i,n):null!==i?(null!==t.m&&(o.textContent=""),K(o,null,e,i,0,i.length-1)):!n&&null!==l&&Q(l,0,l.length-1),Y&&"svg"===s&&(Y=!1)):t.m!==r&&(o.data=r)},et=t=>{t.v&&t.v.ref&&Z.push((()=>t.v.ref(null))),t.$&&t.$.map(et)},nt=(t,e)=>{_.push((()=>t(e)))},ot=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),lt=(t,e)=>{if(e&&!t.k&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.k=()=>{e["s-p"].splice(n-1,1),o()})))}},it=(t,e)=>{if(t.u|=16,4&t.u)return void(t.u|=512);lt(t,t.M);const n=()=>st(t,e);if(!e)return O(n);queueMicrotask((()=>{n()}))},st=(t,e)=>{const n=t.$hostElement$,o=t.i;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return e?(t.C.length&&t.C.forEach((t=>t(n))),l=pt(o,"componentWillLoad",void 0,n)):l=pt(o,"componentWillUpdate",void 0,n),l=rt(l,(()=>pt(o,"componentWillRender",void 0,n))),rt(l,(()=>ut(t,o,e)))},rt=(t,e)=>ct(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),ct=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,ut=async(t,e,n)=>{var o;const l=t.$hostElement$,i=l["s-rc"];n&&(t=>{const e=t.o,n=t.$hostElement$,o=e.u,l=((t,e)=>{var n,o,l;const i=C(e),s=u.get(i);if(!f.document)return i;if(t=11===t.nodeType?t:f.document,s)if("string"==typeof s){let l,r=E.get(t=t.head||t);if(r||E.set(t,r=new Set),!r.has(i)){l=f.document.createElement("style"),l.textContent=s;const c=null!=(n=a.N)?n:k(f.document);if(null!=c&&l.setAttribute("nonce",c),!(1&e.u))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(l,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(p){const e=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(s),h?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.textContent=s+e.textContent:t.prepend(l)}else t.append(l);1&e.u&&t.insertBefore(l,null),4&e.u&&(l.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),r&&r.add(i)}}else{let e=E.get(t);if(e||E.set(t,e=new Set),!e.has(i)){const n=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let o;if(s.constructor===n.CSSStyleSheet)o=s;else{o=new n.CSSStyleSheet;for(let t=0;t<s.cssRules.length;t++)o.insertRule(s.cssRules[t].cssText,t)}h?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],e.add(i)}}return i})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(t);ft(t,e,l,n),i&&(i.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>at(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.u|=4,e.length=0)}},ft=(t,e,n,o)=>{try{e=e.render(),t.u&=-17,t.u|=2,((t,e,n=!1)=>{const o=t.$hostElement$,l=t.L||L(null,null),i=(t=>t&&t.O===R)(e)?e:N(null,null,e);if(M=o.tagName,n&&i.v)for(const t of Object.keys(i.v))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(i.v[t]=o[t]);i.O=null,i.u|=4,t.L=i,i.S=l.S=o.shadowRoot||o,tt(l,i,n),Z.forEach((t=>t())),Z.length=0,_.forEach((t=>t())),_.length=0})(t,e,o)}catch(e){s(e,t.$hostElement$)}return null},at=t=>{const e=t.$hostElement$,n=t.i,o=t.M;pt(n,"componentDidRender",void 0,e),64&t.u?pt(n,"componentDidUpdate",void 0,e):(t.u|=64,ht(e),pt(n,"componentDidLoad",void 0,e),t.R(e),o||dt()),t.k&&(t.k(),t.k=void 0),512&t.u&&j((()=>it(t,!1))),t.u&=-517},dt=()=>{j((()=>H(f,"appload",{detail:{namespace:"web-compnont"}})))},pt=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){s(t,o)}},ht=t=>t.classList.add("hydrated"),mt=(t,e,n,l)=>{const i=o(t);if(!i)return;if(!i)throw Error(`Couldn't find host element for "${l.h}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const r=i.$hostElement$,c=i.l.get(e),u=i.u,f=i.i;if(n=D(n,l.t[e][0]),!(8&u&&void 0!==c||n===c||Number.isNaN(c)&&Number.isNaN(n))){if(i.l.set(e,n),l.T){const t=l.T[e];t&&t.map((t=>{try{const[[o,l]]=Object.entries(t);(128&u||1&l)&&(f?f[o](n,c,e):i.C.push((()=>{i.i[o](n,c,e)})))}catch(t){s(t,r)}}))}if(2&u){if(f.componentShouldUpdate&&!1===f.componentShouldUpdate(n,c,e)&&!(16&u))return;16&u||it(i,!1)}}},vt=(e,n,l)=>{var i,s;const r=e.prototype;{e.watchers&&!n.T&&(n.T=T(e.watchers)),e.deserializers&&!n.D&&(n.D=e.deserializers),e.serializers&&!n.P&&(n.P=e.serializers);const c=Object.entries(null!=(i=n.t)?i:{});if(c.map((([e,[i]])=>{if(31&i||2&l&&32&i){const{get:s,set:c}=t(r,e)||{};s&&(n.t[e][0]|=2048),c&&(n.t[e][0]|=4096),(1&l||!s)&&Object.defineProperty(r,e,{get(){{if(!(2048&n.t[e][0]))return((t,e)=>o(this).l.get(e))(0,e);const t=o(this),l=t?t.i:r;if(!l)return;return l[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(r,e,{set(t){const s=o(this);if(s){if(c)return void 0===(32&i?this[e]:s.$hostElement$[e])&&s.l.get(e)&&(t=s.l.get(e)),c.call(this,D(t,i)),void mt(this,e,t=32&i?this[e]:s.$hostElement$[e],n);{if(!(1&l&&4096&n.t[e][0]))return mt(this,e,t,n),void(1&l&&!s.i&&s.C.push((()=>{4096&n.t[e][0]&&s.i[e]!==s.l.get(e)&&(s.i[e]=t)})));const o=D(t,i),r=t=>{const o=s.i[e];!s.l.get(e)&&o&&s.l.set(e,o),s.i[e]=t,mt(this,e,s.i[e],n)};s.i?r(o):(s.l.set(e,o),s.C.push((()=>{const t=s.l.get(e);s.i[e]!==t&&r(t)})))}}}})}})),1&l){const t=new Map;r.attributeChangedCallback=function(e,l,i){a.jmp((()=>{var s;const u=t.get(e),f=o(this);if(this.hasOwnProperty(u)&&(i=this[u],delete this[u]),r.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==i)return;if(null==u){const t=null==f?void 0:f.u;if(f&&t&&!(8&t)&&i!==l){const o=f.i,r=null==(s=n.T)?void 0:s[e];null==r||r.forEach((n=>{const[[s,r]]=Object.entries(n);null!=o[s]&&(128&t||1&r)&&o[s].call(o,i,l,e)}))}return}const a=c.find((([t])=>t===u)),d=4&(a?a[1][0]:0),p=d&&null===i&&void 0===this[u];d&&(i=null!==i&&"false"!==i);const h=Object.getOwnPropertyDescriptor(r,u);p||i==this[u]||h.get&&!h.set||(this[u]=i)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=n.T)?s:{}),...c.filter((([t,e])=>31&e[0])).map((([e,n])=>{const o=n[1]||e;return t.set(o,e),o}))]))}}return e},bt=async(t,e,n)=>{var o;let l;try{if(!(32&e.u)){if(e.u|=32,e.u&=-1025,n.A){const i=((t,e)=>{var n;const o=t.h.replace(/-/g,"_"),l=t.A;if(!l)return;const i=r.get(l);if(i)return i[o];const u=null!=(n=c.get(l))?n:0,f=[u>0?"s-retry="+u:"",""].filter(Boolean).join("&");
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
3
+ return import(`./${l}.entry.js${f?"?"+f:""}`).then((t=>(c.delete(l),r.set(l,t),t[o])),(t=>{c.set(l,u+1),s(t,e.$hostElement$)}))})(n,e);if(i&&"then"in i){const t=()=>{};l=await i,t()}else l=i;if(!l)throw e.u&=-33,e.H=(null!=(o=e.H)?o:0)+1,e.H<3&&(e.u|=1024),Error(`Constructor for "${n.h}#${e.U}" was not found`);l.isProxied||(n.T=T(l.watchers),n.P=l.serializers,n.D=l.deserializers,vt(l,n,2),l.isProxied=!0);const u=()=>{};e.u|=8;try{new l(e)}catch(e){s(e,t)}e.u&=-9,e.u|=128,u(),yt(e.i,t)}else l=t.constructor,customElements.whenDefined(t.localName).then((()=>e.u|=128));if(l&&l.style){let t;"string"==typeof l.style&&(t=l.style);const e=C(n);if(!u.has(e)){const o=()=>{};((t,e,n)=>{let o=u.get(t);p&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,u.set(t,o)})(e,t,!!(1&n.u)),o()}}}const i=e.M,f=()=>it(e,!0);i&&i["s-rc"]?i["s-rc"].push(f):f()}catch(n){s(n,t),e.k&&(e.k(),e.k=void 0),!e.R||1024&e.u||e.R(t)}},yt=(t,e)=>{pt(t,"connectedCallback",void 0,e)},wt=(t,e)=>{pt(t,"disconnectedCallback",void 0,e||t)},$t=(t,e={})=>{var n;if(!f.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const l=[],i=e.exclude||[],s=f.customElements,r=f.document.head,c=r.querySelector("meta[charset]"),u=f.document.createElement("style"),d=[];let p,h=!0;if(Object.assign(a,e),a.p=new URL(e.resourcesUrl||"./",f.document.baseURI).href,t.map((t=>{t[1].map((e=>{var n,r;const c={u:e[0],h:e[1],t:e[2],W:e[3]};c.t=e[2],c.T=T(e[4]),c.P=null!=(n=e[5])?n:{},c.D=null!=(r=e[6])?r:{};const u=c.h,f=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),((t,e)=>{const n={u:0,$hostElement$:t,o:e,l:new Map,F:new Map};n.V=new Promise((t=>n.R=t)),t["s-p"]=[],t["s-rc"]=[],n.C=[];const o=n;t.__stencil__getHostRef=()=>o})(t=this,c),1&c.u)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.h}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else S.call(t,c)}connectedCallback(){o(this)&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),p&&(clearTimeout(p),p=null),h?d.push(this):a.jmp((()=>(t=>{if(!(1&a.u)){const e=o(t);if(!e)return;const n=e.o,l=()=>{};if(1&e.u)(null==e?void 0:e.i)?yt(e.i,t):1024&e.u?setTimeout((()=>bt(t,e,n)),1e3):(null==e?void 0:e.V)&&e.V.then((()=>yt(e.i,t)));else{e.u|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){lt(e,e.M=n);break}}n.t&&Object.entries(n.t).map((([e,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];delete t[e],t[e]=n}})),bt(t,e,n)}l()}})(this))))}disconnectedCallback(){a.jmp((()=>(async t=>{if(!(1&a.u)){const e=o(t);(null==e?void 0:e.i)?wt(e.i,t):(null==e?void 0:e.V)&&e.V.then((()=>wt(e.i,t)))}E.has(t)&&E.delete(t),t.shadowRoot&&E.has(t.shadowRoot)&&E.delete(t.shadowRoot)})(this))),j((()=>{var t;const e=o(this);if(!e)return;const n=d.findIndex((t=>t===this));n>-1&&d.splice(n,1),(null==(t=null==e?void 0:e.L)?void 0:t.S)instanceof Node&&!e.L.S.isConnected&&delete e.L.S}))}componentOnReady(){var t;return null==(t=o(this))?void 0:t.V}};c.A=t[0],i.includes(u)||s.get(u)||(l.push(u),s.define(u,vt(f,c,1)))}))})),l.length>0&&(u.textContent+=l.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",u.innerHTML.length)){u.setAttribute("data-styles","");const t=null!=(n=a.N)?n:k(f.document);null!=t&&u.setAttribute("nonce",t),r.insertBefore(u,c?c.nextSibling:r.firstChild)}h=!1,d.length?d.map((t=>t.connectedCallback())):a.jmp((()=>p=setTimeout(dt,30)))},gt=t=>a.N=t;export{$t as b,A as c,P as g,N as h,d as p,l as r,gt as s}
@@ -1 +1 @@
1
- import{p as o,b as t}from"./p-6_Ga3Eox.js";export{s as setNonce}from"./p-6_Ga3Eox.js";import{g as i}from"./p-DiU1T8CW.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),o(i)})().then((async o=>(await i(),t([["p-7de50cbc",[[1,"dash-button",{showPostLoginText:[4,"show-post-login-text"],silentCheckSso:[4,"silent-check-sso"],redirectUri:[1,"redirect-uri"],authMethod:[1,"auth-method"],portalApiUrl:[1,"portal-api-url"],plmUrl:[1,"plm-url"],showUnauthorizedModal:[4,"show-unauthorized-modal"],primaryColor:[1,"primary-color"],accentColor:[1,"accent-color"],notificationPosition:[1,"notification-position"],keycloak:[32],isAuth:[32],givenUserName:[32],silentCheckSsoRedirectUri:[32],appList:[32],avatarSvg:[32],isLoading:[32],config:[32],localMenuLinks:[32],organizationUrl:[32],isRestricted:[32]}]]]],o))));
1
+ import{p as o,b as t}from"./p-p0GxQx6x.js";export{s as setNonce}from"./p-p0GxQx6x.js";import{g as i}from"./p-DQuL1Twl.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),o(i)})().then((async o=>(await i(),t([["p-a0a0ebc6",[[513,"dash-button",{showPostLoginText:[4,"show-post-login-text"],silentCheckSso:[4,"silent-check-sso"],redirectUri:[1,"redirect-uri"],authMethod:[1,"auth-method"],portalApiUrl:[1,"portal-api-url"],plmUrl:[1,"plm-url"],showUnauthorizedModal:[4,"show-unauthorized-modal"],primaryColor:[1,"primary-color"],accentColor:[1,"accent-color"],notificationPosition:[1,"notification-position"],keycloak:[32],isAuth:[32],givenUserName:[32],silentCheckSsoRedirectUri:[32],appList:[32],avatarSvg:[32],isLoading:[32],config:[32],localMenuLinks:[32],organizationUrl:[32],isRestricted:[32]}],[513,"notification-component",{owner:[1],applicationId:[1,"application-id"],maxRecords:[2,"max-records"],listUrl:[1,"list-url"],displayType:[1,"display-type"],notificationUrl:[1,"notification-url"],socketConnect:[4,"socket-connect"],socketUrl:[1,"socket-url"],showModal:[32]},null,{showModal:[{ownerChanged:0}]}],[513,"notification-table",{owner:[1],applicationId:[1,"application-id"],maxRecords:[2,"max-records"],listUrl:[1,"list-url"],displayType:[1,"display-type"],notificationUrl:[1,"notification-url"],socketConnect:[4,"socket-connect"],socketUrl:[1,"socket-url"],showTable:[32],loading:[32],newCount:[32],notificationList:[32],markingRead:[32],pageNumber:[32],totalRecords:[32],search:[32],searching:[32],showSearchBar:[32],categoryList:[32],statusList:[32]},null,{owner:[{ownerChanged:0}]}],[513,"loading-component",{show:[4],size:[1]}]]]],o))));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dash-button-web",
3
- "version": "0.0.23-beta.2",
3
+ "version": "0.0.23-beta.3",
4
4
  "description": "Dash button Component",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1,15 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-BfwSK14n.js');
4
-
5
- var app = async () => {
6
- if (typeof window !== 'undefined') {
7
- // Ensures asset paths map cleanly
8
- index.setAssetPath(window.location.origin + '/assets/ice-notification-component/');
9
- }
10
- };
11
-
12
- const appGlobalScript = app || (() => {});
13
- const globalScripts = appGlobalScript;
14
-
15
- exports.globalScripts = globalScripts;