dash-button-web 0.0.20 → 0.0.21
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.
- package/dist/cjs/dash-button.cjs.entry.js +33 -51
- package/dist/cjs/dash-button.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/web-compnont.cjs.js +1 -1
- package/dist/collection/components/my-component/dash-button.css +136 -1
- package/dist/collection/components/my-component/dash-button.js +34 -69
- package/dist/collection/components/my-component/dash-button.js.map +1 -1
- package/dist/components/dash-button.js +35 -53
- package/dist/components/dash-button.js.map +1 -1
- package/dist/esm/dash-button.entry.js +33 -51
- package/dist/esm/dash-button.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/web-compnont.js +1 -1
- package/dist/types/components/my-component/dash-button.d.ts +2 -2
- package/dist/types/components.d.ts +0 -2
- package/dist/web-compnont/{p-94d91144.entry.js → p-fc02a292.entry.js} +3 -3
- package/dist/web-compnont/p-fc02a292.entry.js.map +1 -0
- package/dist/web-compnont/web-compnont.esm.js +1 -1
- package/dist/web-compnont/web-compnont.esm.js.map +1 -1
- package/package.json +1 -1
- package/readme.md +3 -0
- package/dist/web-compnont/p-94d91144.entry.js.map +0 -1
package/dist/esm/loader.js
CHANGED
|
@@ -3,7 +3,7 @@ export { s as setNonce } from './index-e3df5eaf.js';
|
|
|
3
3
|
|
|
4
4
|
const defineCustomElements = (win, options) => {
|
|
5
5
|
if (typeof window === 'undefined') return undefined;
|
|
6
|
-
return bootstrapLazy([["dash-button",[[1,"dash-button",{"showPostLoginText":[4,"show-post-login-text"],"silentCheckSso":[4,"silent-check-sso"],"redirectUri":[1,"redirect-uri"],"authMethod":[1,"auth-method"],"
|
|
6
|
+
return bootstrapLazy([["dash-button",[[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]}]]]], options);
|
|
7
7
|
};
|
|
8
8
|
|
|
9
9
|
export { defineCustomElements };
|
package/dist/esm/web-compnont.js
CHANGED
|
@@ -14,7 +14,7 @@ const patchBrowser = () => {
|
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
patchBrowser().then(options => {
|
|
17
|
-
return bootstrapLazy([["dash-button",[[1,"dash-button",{"showPostLoginText":[4,"show-post-login-text"],"silentCheckSso":[4,"silent-check-sso"],"redirectUri":[1,"redirect-uri"],"authMethod":[1,"auth-method"],"
|
|
17
|
+
return bootstrapLazy([["dash-button",[[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]}]]]], options);
|
|
18
18
|
});
|
|
19
19
|
|
|
20
20
|
//# sourceMappingURL=web-compnont.js.map
|
|
@@ -6,7 +6,6 @@ export declare class DashButtonComponent {
|
|
|
6
6
|
silentCheckSso: boolean;
|
|
7
7
|
redirectUri: string;
|
|
8
8
|
authMethod: string;
|
|
9
|
-
appId: string;
|
|
10
9
|
portalApiUrl: string;
|
|
11
10
|
plmUrl: string;
|
|
12
11
|
showUnauthorizedModal: boolean;
|
|
@@ -22,10 +21,11 @@ export declare class DashButtonComponent {
|
|
|
22
21
|
config: AppConfig;
|
|
23
22
|
localMenuLinks: MenuLink[];
|
|
24
23
|
organizationUrl: any;
|
|
24
|
+
isRestricted: boolean;
|
|
25
25
|
componentWillLoad(): Promise<void>;
|
|
26
26
|
initKeycloak(): Promise<void>;
|
|
27
27
|
loadOrganizationUrlAndLinks(): Promise<void>;
|
|
28
|
-
|
|
28
|
+
validateAppAccessByUrl(): void;
|
|
29
29
|
login(): void;
|
|
30
30
|
logout(): void;
|
|
31
31
|
showModal(): void;
|
|
@@ -8,7 +8,6 @@ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
|
8
8
|
export namespace Components {
|
|
9
9
|
interface DashButton {
|
|
10
10
|
"accentColor": string;
|
|
11
|
-
"appId": string;
|
|
12
11
|
"authMethod": string;
|
|
13
12
|
"plmUrl": string;
|
|
14
13
|
"portalApiUrl": string;
|
|
@@ -33,7 +32,6 @@ declare global {
|
|
|
33
32
|
declare namespace LocalJSX {
|
|
34
33
|
interface DashButton {
|
|
35
34
|
"accentColor"?: string;
|
|
36
|
-
"appId"?: string;
|
|
37
35
|
"authMethod"?: string;
|
|
38
36
|
"plmUrl"?: string;
|
|
39
37
|
"portalApiUrl"?: string;
|