dash-button-web 0.0.24 → 0.0.26

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 (78) hide show
  1. package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
  2. package/dist/cjs/dash-button_4.cjs.entry.js +11825 -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 +58 -0
  9. package/dist/collection/components/my-component/dash-button.js +267 -88
  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 -4310
  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 +11820 -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 +12 -1
  29. package/dist/types/components.d.ts +86 -2
  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-9e0fb47e.entry.js +2 -0
  34. package/dist/web-compnont/p-DQuL1Twl.js +1 -0
  35. package/dist/web-compnont/p-NLvZO6-E.js +3 -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/dist/cjs/dash-button.cjs.entry.js +0 -4274
  44. package/dist/cjs/dash-button.cjs.entry.js.map +0 -1
  45. package/dist/cjs/index-bc7ebbee.js +0 -1817
  46. package/dist/cjs/index-bc7ebbee.js.map +0 -1
  47. package/dist/cjs/index.cjs.js.map +0 -1
  48. package/dist/cjs/loader.cjs.js.map +0 -1
  49. package/dist/cjs/web-compnont.cjs.js.map +0 -1
  50. package/dist/collection/components/my-component/dash-button.e2e.js +0 -26
  51. package/dist/collection/components/my-component/dash-button.e2e.js.map +0 -1
  52. package/dist/collection/components/my-component/dash-button.js.map +0 -1
  53. package/dist/collection/components/my-component/dash-button.spec.js +0 -35
  54. package/dist/collection/components/my-component/dash-button.spec.js.map +0 -1
  55. package/dist/collection/index.js.map +0 -1
  56. package/dist/collection/services/config.js.map +0 -1
  57. package/dist/collection/services/menu.js.map +0 -1
  58. package/dist/components/dash-button.js.map +0 -1
  59. package/dist/components/index.js.map +0 -1
  60. package/dist/esm/dash-button.entry.js +0 -4270
  61. package/dist/esm/dash-button.entry.js.map +0 -1
  62. package/dist/esm/index-51aa24d3.js +0 -1790
  63. package/dist/esm/index-51aa24d3.js.map +0 -1
  64. package/dist/esm/index.js.map +0 -1
  65. package/dist/esm/loader.js.map +0 -1
  66. package/dist/esm/polyfills/core-js.js +0 -11
  67. package/dist/esm/polyfills/dom.js +0 -79
  68. package/dist/esm/polyfills/es5-html-element.js +0 -1
  69. package/dist/esm/polyfills/index.js +0 -34
  70. package/dist/esm/polyfills/system.js +0 -6
  71. package/dist/esm/web-compnont.js.map +0 -1
  72. package/dist/web-compnont/index.esm.js.map +0 -1
  73. package/dist/web-compnont/p-06623215.js +0 -3
  74. package/dist/web-compnont/p-06623215.js.map +0 -1
  75. package/dist/web-compnont/p-55f91c48.entry.js +0 -10
  76. package/dist/web-compnont/p-55f91c48.entry.js.map +0 -1
  77. package/dist/web-compnont/web-compnont.esm.js.map +0 -1
  78. package/loader/package.json +0 -11
@@ -1,4 +1,2 @@
1
1
  'use strict';
2
2
 
3
-
4
- //# sourceMappingURL=index.cjs.js.map
@@ -1,15 +1,13 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
3
+ var index = require('./index-CyJNVLIY.js');
4
+ var appGlobals = require('./app-globals-V2Kpy_OQ.js');
4
5
 
5
- const index = require('./index-bc7ebbee.js');
6
-
7
- const defineCustomElements = (win, options) => {
6
+ const defineCustomElements = async (win, options) => {
8
7
  if (typeof window === 'undefined') return undefined;
9
- return index.bootstrapLazy([["dash-button.cjs",[[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]}]]]], options);
8
+ await appGlobals.globalScripts();
9
+ return index.bootstrapLazy([["dash-button_4.cjs",[[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"],"notificationDomain":[1,"notification-domain"],"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]}]]]], options);
10
10
  };
11
11
 
12
12
  exports.setNonce = index.setNonce;
13
13
  exports.defineCustomElements = defineCustomElements;
14
-
15
- //# sourceMappingURL=loader.cjs.js.map
@@ -1,25 +1,25 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-bc7ebbee.js');
3
+ var index = require('./index-CyJNVLIY.js');
4
+ var appGlobals = require('./app-globals-V2Kpy_OQ.js');
6
5
 
6
+ var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
7
7
  /*
8
- Stencil Client Patch Browser v4.12.0 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.45.2 | MIT Licensed | https://stenciljs.com
9
9
  */
10
- const patchBrowser = () => {
11
- const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('web-compnont.cjs.js', document.baseURI).href));
12
- const opts = {};
13
- if (importMeta !== '') {
14
- opts.resourcesUrl = new URL('.', importMeta).href;
15
- }
16
- return index.promiseResolve(opts);
10
+
11
+ var patchBrowser = () => {
12
+ const importMeta = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('web-compnont.cjs.js', document.baseURI).href));
13
+ const opts = {};
14
+ if (importMeta !== "") {
15
+ opts.resourcesUrl = new URL(".", importMeta).href;
16
+ }
17
+ return index.promiseResolve(opts);
17
18
  };
18
19
 
19
- patchBrowser().then(options => {
20
- return index.bootstrapLazy([["dash-button.cjs",[[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]}]]]], options);
20
+ patchBrowser().then(async (options) => {
21
+ await appGlobals.globalScripts();
22
+ return index.bootstrapLazy([["dash-button_4.cjs",[[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"],"notificationDomain":[1,"notification-domain"],"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]}]]]], options);
21
23
  });
22
24
 
23
25
  exports.setNonce = index.setNonce;
24
-
25
- //# sourceMappingURL=web-compnont.cjs.js.map
@@ -2,11 +2,21 @@
2
2
  "entries": [
3
3
  "components/my-component/dash-button.js"
4
4
  ],
5
+ "mixins": [],
5
6
  "compiler": {
6
7
  "name": "@stencil/core",
7
- "version": "4.12.0",
8
- "typescriptVersion": "5.3.3"
8
+ "version": "4.45.2",
9
+ "typescriptVersion": "5.8.3"
9
10
  },
10
- "collections": [],
11
+ "collections": [
12
+ {
13
+ "name": "ice-notification-component",
14
+ "tags": [
15
+ "loading-component",
16
+ "notification-component",
17
+ "notification-table"
18
+ ]
19
+ }
20
+ ],
11
21
  "bundles": []
12
22
  }
@@ -792,3 +792,61 @@ hr.solid {
792
792
  transform: translateX(-50%) translateY(0);
793
793
  }
794
794
 
795
+
796
+
797
+ /* */
798
+ .menu-section-header-actions {
799
+ display: flex;
800
+ align-items: center;
801
+ gap: 8px;
802
+ margin-left: auto;
803
+ flex-shrink: 0;
804
+ }
805
+
806
+ .menu-section-header-actions > a.local-module-shortcut {
807
+ display: inline-flex;
808
+ align-items: center;
809
+ justify-content: center;
810
+ box-sizing: border-box;
811
+ width: 36px;
812
+ min-width: 36px;
813
+ height: 36px;
814
+ padding: 0;
815
+ margin: 0;
816
+ border: 0;
817
+ border-radius: 50%;
818
+ background: #e0eeee;
819
+ color: #139694;
820
+ text-decoration: none;
821
+ flex-shrink: 0;
822
+ cursor: pointer;
823
+ }
824
+
825
+ .menu-section-header-actions .local-module-shortcut i {
826
+ display: inline-block;
827
+ font-size: 20px;
828
+ line-height: 1;
829
+ pointer-events: none;
830
+ }
831
+
832
+ .menu-section-header-actions > a.local-module-shortcut:hover {
833
+ background: #cce5e5;
834
+ }
835
+
836
+ .menu-section-header-actions > a.local-module-shortcut:focus-visible {
837
+ outline: 2px solid currentColor;
838
+ outline-offset: 2px;
839
+ }
840
+
841
+ .menu-section-header-actions > a.local-module-shortcut[aria-disabled="true"] {
842
+ opacity: 0.45;
843
+ cursor: not-allowed;
844
+ }
845
+
846
+ /* Local modules icon image */
847
+ .grid-view-link-image {
848
+ width: 32px;
849
+ height: 32px;
850
+ object-fit: contain;
851
+ display: block;
852
+ }