dash-button-web 0.0.23 → 0.0.25

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 (79) hide show
  1. package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
  2. package/dist/cjs/dash-button_4.cjs.entry.js +11790 -0
  3. package/dist/cjs/index-CyJNVLIY.js +1623 -0
  4. package/dist/cjs/index.cjs.js +0 -2
  5. package/dist/cjs/loader.cjs.js +5 -7
  6. package/dist/cjs/web-compnont.cjs.js +15 -15
  7. package/dist/collection/collection-manifest.json +13 -3
  8. package/dist/collection/components/my-component/dash-button.css +282 -0
  9. package/dist/collection/components/my-component/dash-button.js +247 -78
  10. package/dist/collection/index.js +0 -1
  11. package/dist/collection/services/config.js +3 -5
  12. package/dist/collection/services/menu.js +4 -5
  13. package/dist/components/dash-button.js +1 -4266
  14. package/dist/components/index.d.ts +2 -0
  15. package/dist/components/index.js +1 -3
  16. package/dist/components/loading-component.js +1 -0
  17. package/dist/components/loading-component2.js +1 -0
  18. package/dist/components/notification-component.js +1 -0
  19. package/dist/components/notification-component2.js +1 -0
  20. package/dist/components/notification-table.js +1 -0
  21. package/dist/components/notification-table2.js +2 -0
  22. package/dist/esm/app-globals-DQuL1Twl.js +3 -0
  23. package/dist/esm/dash-button_4.entry.js +11785 -0
  24. package/dist/esm/index-NLvZO6-E.js +1615 -0
  25. package/dist/esm/index.js +0 -2
  26. package/dist/esm/loader.js +6 -6
  27. package/dist/esm/web-compnont.js +15 -14
  28. package/dist/types/components/my-component/dash-button.d.ts +27 -2
  29. package/dist/types/components.d.ts +84 -3
  30. package/dist/types/services/menu.d.ts +2 -0
  31. package/dist/types/stencil-public-runtime.d.ts +268 -70
  32. package/dist/web-compnont/index.esm.js +0 -2
  33. package/dist/web-compnont/p-DQuL1Twl.js +1 -0
  34. package/dist/web-compnont/p-NLvZO6-E.js +3 -0
  35. package/dist/web-compnont/p-ce35027b.entry.js +2 -0
  36. package/dist/web-compnont/web-compnont.esm.js +1 -2
  37. package/loader/cdn.js +1 -3
  38. package/loader/index.cjs.js +1 -3
  39. package/loader/index.d.ts +4 -1
  40. package/loader/index.es2017.js +1 -3
  41. package/loader/index.js +1 -3
  42. package/package.json +3 -2
  43. package/readme.md +18 -0
  44. package/dist/cjs/dash-button.cjs.entry.js +0 -4231
  45. package/dist/cjs/dash-button.cjs.entry.js.map +0 -1
  46. package/dist/cjs/index-87d4993d.js +0 -1793
  47. package/dist/cjs/index-87d4993d.js.map +0 -1
  48. package/dist/cjs/index.cjs.js.map +0 -1
  49. package/dist/cjs/loader.cjs.js.map +0 -1
  50. package/dist/cjs/web-compnont.cjs.js.map +0 -1
  51. package/dist/collection/components/my-component/dash-button.e2e.js +0 -26
  52. package/dist/collection/components/my-component/dash-button.e2e.js.map +0 -1
  53. package/dist/collection/components/my-component/dash-button.js.map +0 -1
  54. package/dist/collection/components/my-component/dash-button.spec.js +0 -35
  55. package/dist/collection/components/my-component/dash-button.spec.js.map +0 -1
  56. package/dist/collection/index.js.map +0 -1
  57. package/dist/collection/services/config.js.map +0 -1
  58. package/dist/collection/services/menu.js.map +0 -1
  59. package/dist/components/dash-button.js.map +0 -1
  60. package/dist/components/index.js.map +0 -1
  61. package/dist/esm/dash-button.entry.js +0 -4227
  62. package/dist/esm/dash-button.entry.js.map +0 -1
  63. package/dist/esm/index-e3df5eaf.js +0 -1766
  64. package/dist/esm/index-e3df5eaf.js.map +0 -1
  65. package/dist/esm/index.js.map +0 -1
  66. package/dist/esm/loader.js.map +0 -1
  67. package/dist/esm/polyfills/core-js.js +0 -11
  68. package/dist/esm/polyfills/dom.js +0 -79
  69. package/dist/esm/polyfills/es5-html-element.js +0 -1
  70. package/dist/esm/polyfills/index.js +0 -34
  71. package/dist/esm/polyfills/system.js +0 -6
  72. package/dist/esm/web-compnont.js.map +0 -1
  73. package/dist/web-compnont/index.esm.js.map +0 -1
  74. package/dist/web-compnont/p-2e8505f3.entry.js +0 -10
  75. package/dist/web-compnont/p-2e8505f3.entry.js.map +0 -1
  76. package/dist/web-compnont/p-c1ec12fe.js +0 -3
  77. package/dist/web-compnont/p-c1ec12fe.js.map +0 -1
  78. package/dist/web-compnont/web-compnont.esm.js.map +0 -1
  79. package/loader/package.json +0 -11
@@ -1,2 +1 @@
1
- import{p as o,b as e}from"./p-c1ec12fe.js";export{s as setNonce}from"./p-c1ec12fe.js";const t=()=>{const e=import.meta.url;const t={};if(e!==""){t.resourcesUrl=new URL(".",e).href}return o(t)};t().then((o=>e([["p-2e8505f3",[[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]}]]]],o)));
2
- //# sourceMappingURL=web-compnont.esm.js.map
1
+ import{p as o,b as t}from"./p-NLvZO6-E.js";export{s as setNonce}from"./p-NLvZO6-E.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-ce35027b",[[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],collapsedModuleSection:[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],loadingNew:[32],newCount:[32],notificationList:[32],markingRead:[32],pageNumber:[32],totalRecords:[32],notificationType:[32],search:[32],searching:[32],showSearchBar:[32],categoryList:[32],statusList:[32],timeoutId:[32],cancelRequest:[32],cancelCountRequest:[32]},null,{owner:[{ownerChanged:0}]}],[513,"loading-component",{show:[4],size:[1]}]]]],o))));
package/loader/cdn.js CHANGED
@@ -1,3 +1 @@
1
-
2
- module.exports = require('../dist/cjs/loader.cjs.js');
3
- module.exports.applyPolyfills = function() { return Promise.resolve() };
1
+ module.exports = require('../dist/cjs/loader.cjs.js');
@@ -1,3 +1 @@
1
-
2
- module.exports = require('../dist/cjs/loader.cjs.js');
3
- module.exports.applyPolyfills = function() { return Promise.resolve() };
1
+ module.exports = require('../dist/cjs/loader.cjs.js');
package/loader/index.d.ts CHANGED
@@ -8,7 +8,10 @@ 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): void;
11
+ export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): Promise<void>;
12
+ /**
13
+ * @deprecated
14
+ */
12
15
  export declare function applyPolyfills(): Promise<void>;
13
16
 
14
17
  /**
@@ -1,3 +1 @@
1
-
2
- export * from '../dist/esm/polyfills/index.js';
3
- export * from '../dist/esm/loader.js';
1
+ export * from '../dist/esm/loader.js';
package/loader/index.js CHANGED
@@ -1,4 +1,2 @@
1
-
2
1
  (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)}})();
3
- export * from '../dist/esm/polyfills/index.js';
4
- export * from '../dist/esm/loader.js';
2
+ export * from '../dist/esm/loader.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dash-button-web",
3
- "version": "0.0.23",
3
+ "version": "0.0.25",
4
4
  "description": "Dash button Component",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -26,7 +26,8 @@
26
26
  "generate": "stencil generate"
27
27
  },
28
28
  "dependencies": {
29
- "@stencil/core": "^4.7.0",
29
+ "@stencil/core": "^4.45.2",
30
+ "ice-notification-component": "^0.1.15",
30
31
  "jdenticon": "^3.3.0",
31
32
  "js-cookie": "^3.0.5",
32
33
  "keycloak-js": "^23.0.5"
package/readme.md CHANGED
@@ -154,6 +154,24 @@ After that, all you need to do is place the dash button in your preferred locati
154
154
  </dash-button>
155
155
  ```
156
156
 
157
+ ## Work with Secure Applications
158
+
159
+ Starting from v0.0.21, an application access permission validation workflow has been introduced.
160
+
161
+ With this update, users cannot proceed with restricted applications if they do not have the required permissions.
162
+
163
+ > Note: This validation is not applied to all available applications globally (for example: Portal, Marketplace, etc.).
164
+
165
+ #### Skipping the Security Check Warning
166
+
167
+ To add your application as a secure application, follow these steps:
168
+ 1. Go to the Portal Edit Profile Page
169
+ 2. Navigate to the Organization URL section
170
+ 3. Add your Organization Domain URL
171
+ 4. Save the changes
172
+
173
+ After completing these steps, you can continue accessing the application without receiving the warning.
174
+
157
175
  That's it, enjoy!
158
176
 
159
177
  ---