dash-button-web 0.0.23-beta.6 → 0.0.24

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 (77) hide show
  1. package/dist/cjs/dash-button.cjs.entry.js +4274 -0
  2. package/dist/cjs/dash-button.cjs.entry.js.map +1 -0
  3. package/dist/cjs/index-bc7ebbee.js +1817 -0
  4. package/dist/cjs/index-bc7ebbee.js.map +1 -0
  5. package/dist/cjs/index.cjs.js +2 -0
  6. package/dist/cjs/index.cjs.js.map +1 -0
  7. package/dist/cjs/loader.cjs.js +7 -5
  8. package/dist/cjs/loader.cjs.js.map +1 -0
  9. package/dist/cjs/web-compnont.cjs.js +15 -15
  10. package/dist/cjs/web-compnont.cjs.js.map +1 -0
  11. package/dist/collection/collection-manifest.json +3 -13
  12. package/dist/collection/components/my-component/dash-button.css +224 -0
  13. package/dist/collection/components/my-component/dash-button.e2e.js +26 -0
  14. package/dist/collection/components/my-component/dash-button.e2e.js.map +1 -0
  15. package/dist/collection/components/my-component/dash-button.js +117 -162
  16. package/dist/collection/components/my-component/dash-button.js.map +1 -0
  17. package/dist/collection/components/my-component/dash-button.spec.js +35 -0
  18. package/dist/collection/components/my-component/dash-button.spec.js.map +1 -0
  19. package/dist/collection/index.js +1 -0
  20. package/dist/collection/index.js.map +1 -0
  21. package/dist/collection/services/config.js +5 -3
  22. package/dist/collection/services/config.js.map +1 -0
  23. package/dist/collection/services/menu.js +5 -3
  24. package/dist/collection/services/menu.js.map +1 -0
  25. package/dist/components/dash-button.js +4310 -1
  26. package/dist/components/dash-button.js.map +1 -0
  27. package/dist/components/index.d.ts +0 -2
  28. package/dist/components/index.js +3 -1
  29. package/dist/components/index.js.map +1 -0
  30. package/dist/esm/dash-button.entry.js +4270 -0
  31. package/dist/esm/dash-button.entry.js.map +1 -0
  32. package/dist/esm/index-51aa24d3.js +1790 -0
  33. package/dist/esm/index-51aa24d3.js.map +1 -0
  34. package/dist/esm/index.js +2 -0
  35. package/dist/esm/index.js.map +1 -0
  36. package/dist/esm/loader.js +6 -6
  37. package/dist/esm/loader.js.map +1 -0
  38. package/dist/esm/polyfills/core-js.js +11 -0
  39. package/dist/esm/polyfills/dom.js +79 -0
  40. package/dist/esm/polyfills/es5-html-element.js +1 -0
  41. package/dist/esm/polyfills/index.js +34 -0
  42. package/dist/esm/polyfills/system.js +6 -0
  43. package/dist/esm/web-compnont.js +14 -15
  44. package/dist/esm/web-compnont.js.map +1 -0
  45. package/dist/types/components/my-component/dash-button.d.ts +17 -9
  46. package/dist/types/components.d.ts +2 -83
  47. package/dist/types/stencil-public-runtime.d.ts +70 -268
  48. package/dist/web-compnont/index.esm.js +2 -0
  49. package/dist/web-compnont/index.esm.js.map +1 -0
  50. package/dist/web-compnont/p-06623215.js +3 -0
  51. package/dist/web-compnont/p-06623215.js.map +1 -0
  52. package/dist/web-compnont/p-55f91c48.entry.js +10 -0
  53. package/dist/web-compnont/p-55f91c48.entry.js.map +1 -0
  54. package/dist/web-compnont/web-compnont.esm.js +2 -1
  55. package/dist/web-compnont/web-compnont.esm.js.map +1 -0
  56. package/loader/cdn.js +3 -1
  57. package/loader/index.cjs.js +3 -1
  58. package/loader/index.d.ts +1 -4
  59. package/loader/index.es2017.js +3 -1
  60. package/loader/index.js +3 -1
  61. package/loader/package.json +11 -0
  62. package/package.json +2 -3
  63. package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -5
  64. package/dist/cjs/dash-button_4.cjs.entry.js +0 -10867
  65. package/dist/cjs/index-DcvBej9f.js +0 -1625
  66. package/dist/components/loading-component.js +0 -1
  67. package/dist/components/loading-component2.js +0 -1
  68. package/dist/components/notification-component.js +0 -1
  69. package/dist/components/notification-component2.js +0 -1
  70. package/dist/components/notification-table.js +0 -1
  71. package/dist/components/notification-table2.js +0 -2
  72. package/dist/esm/app-globals-DQuL1Twl.js +0 -3
  73. package/dist/esm/dash-button_4.entry.js +0 -10862
  74. package/dist/esm/index-p0GxQx6x.js +0 -1617
  75. package/dist/web-compnont/p-99f4c836.entry.js +0 -3
  76. package/dist/web-compnont/p-DQuL1Twl.js +0 -1
  77. package/dist/web-compnont/p-p0GxQx6x.js +0 -3
@@ -1 +1,2 @@
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-99f4c836",[[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"],showNotification:[4,"show-notification"],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))));
1
+ import{p as o,b as t}from"./p-06623215.js";export{s as setNonce}from"./p-06623215.js";const e=()=>{const t=import.meta.url;const e={};if(t!==""){e.resourcesUrl=new URL(".",t).href}return o(e)};e().then((o=>t([["p-55f91c48",[[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"],keycloak:[32],isAuth:[32],givenUserName:[32],silentCheckSsoRedirectUri:[32],appList:[32],avatarSvg:[32],isLoading:[32],config:[32],localMenuLinks:[32],organizationUrl:[32],isRestricted:[32],collapsedModuleSection:[32]}]]]],o)));
2
+ //# sourceMappingURL=web-compnont.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","bootstrapLazy","showPostLoginText","silentCheckSso","redirectUri","authMethod","portalApiUrl","plmUrl","showUnauthorizedModal","primaryColor","accentColor","keycloak","isAuth","givenUserName","silentCheckSsoRedirectUri","appList","avatarSvg","isLoading","config","localMenuLinks","organizationUrl","isRestricted","collapsedModuleSection"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.12.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"sFAKA,MAAMA,EAAe,KAajB,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACnBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACrD,CACI,OAAOC,EAAeJ,EAAK,ECnB/BH,IAAeQ,MAAKC,GAEXC,EAAc,iCAA8B,CAAAC,kBAAS,2BAAAC,eAAA,uBAAAC,YAAA,mBAAAC,WAAA,kBAAAC,aAAA,qBAAAC,OAAA,cAAAC,sBAAA,8BAAAC,aAAA,oBAAAC,YAAA,mBAAAC,SAAA,KAAAC,OAAA,KAAAC,cAAA,KAAAC,0BAAA,KAAAC,QAAA,KAAAC,UAAA,KAAAC,UAAA,KAAAC,OAAA,KAAAC,eAAA,KAAAC,gBAAA,KAAAC,aAAA,KAAAC,uBAAA,UAAAtB"}
package/loader/cdn.js CHANGED
@@ -1 +1,3 @@
1
- module.exports = require('../dist/cjs/loader.cjs.js');
1
+
2
+ module.exports = require('../dist/cjs/loader.cjs.js');
3
+ module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -1 +1,3 @@
1
- module.exports = require('../dist/cjs/loader.cjs.js');
1
+
2
+ module.exports = require('../dist/cjs/loader.cjs.js');
3
+ module.exports.applyPolyfills = function() { return Promise.resolve() };
package/loader/index.d.ts CHANGED
@@ -8,10 +8,7 @@ export interface CustomElementsDefineOptions {
8
8
  ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
9
9
  rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
10
10
  }
11
- export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): Promise<void>;
12
- /**
13
- * @deprecated
14
- */
11
+ export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): void;
15
12
  export declare function applyPolyfills(): Promise<void>;
16
13
 
17
14
  /**
@@ -1 +1,3 @@
1
- export * from '../dist/esm/loader.js';
1
+
2
+ export * from '../dist/esm/polyfills/index.js';
3
+ export * from '../dist/esm/loader.js';
package/loader/index.js CHANGED
@@ -1,2 +1,4 @@
1
+
1
2
  (function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
2
- export * from '../dist/esm/loader.js';
3
+ export * from '../dist/esm/polyfills/index.js';
4
+ export * from '../dist/esm/loader.js';
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "web-compnont-loader",
3
+ "private": true,
4
+ "typings": "./index.d.ts",
5
+ "module": "./index.js",
6
+ "main": "./index.cjs.js",
7
+ "jsnext:main": "./index.es2017.js",
8
+ "es2015": "./index.es2017.js",
9
+ "es2017": "./index.es2017.js",
10
+ "unpkg": "./cdn.js"
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dash-button-web",
3
- "version": "0.0.23-beta.6",
3
+ "version": "0.0.24",
4
4
  "description": "Dash button Component",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -26,8 +26,7 @@
26
26
  "generate": "stencil generate"
27
27
  },
28
28
  "dependencies": {
29
- "@stencil/core": "^4.27.1",
30
- "ice-notification-component": "^0.1.13",
29
+ "@stencil/core": "^4.7.0",
31
30
  "jdenticon": "^3.3.0",
32
31
  "js-cookie": "^3.0.5",
33
32
  "keycloak-js": "^23.0.5"
@@ -1,5 +0,0 @@
1
- 'use strict';
2
-
3
- const globalScripts = () => {};
4
-
5
- exports.globalScripts = globalScripts;