@zanichelli/albe-web-components 2.18.0 → 2.18.4
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/CHANGELOG.md +18 -0
- package/dist/cjs/{index-156c65fe.js → index-2e494cc2.js} +0 -12
- package/dist/cjs/{index-5c40f36c.js → index-66eb89b1.js} +36 -6
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{utils-2a89d30b.js → utils-2636e75b.js} +1 -1
- package/dist/cjs/web-components-library.cjs.js +2 -2
- package/dist/cjs/{contextual-menu_65.cjs.entry.js → z-alert_65.cjs.entry.js} +86 -90
- package/dist/cjs/z-app-header.cjs.entry.js +1 -1
- package/dist/cjs/z-candybar.cjs.entry.js +1 -1
- package/dist/cjs/z-cookiebar.cjs.entry.js +2 -2
- package/dist/cjs/z-header.cjs.entry.js +2 -2
- package/dist/cjs/z-heading.cjs.entry.js +1 -1
- package/dist/cjs/z-messages-pocket.cjs.entry.js +2 -2
- package/dist/cjs/z-modal-login.cjs.entry.js +3 -3
- package/dist/cjs/z-modal.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
- package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -2
- package/dist/cjs/z-otp.cjs.entry.js +2 -2
- package/dist/cjs/z-pocket-message.cjs.entry.js +1 -1
- package/dist/cjs/z-pocket_3.cjs.entry.js +3 -3
- package/dist/cjs/z-registro-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-slideshow.cjs.entry.js +3 -3
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +56 -0
- package/dist/cjs/z-toast-notification.cjs.entry.js +202 -0
- package/dist/collection/beans/index.js +36 -6
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/buttons/z-button/index.js +3 -3
- package/dist/collection/components/buttons/z-button/styles.css +33 -0
- package/dist/collection/components/list/z-list-element/index.js +2 -2
- package/dist/collection/components/list/z-toast-notification-list/index.js +97 -0
- package/dist/collection/components/list/z-toast-notification-list/styles.css +107 -0
- package/dist/collection/components/modal/z-modal-login/index.js +20 -3
- package/dist/collection/components/navigation/z-link/index.js +16 -16
- package/dist/collection/components/navigation/z-link/styles.css +10 -11
- package/dist/collection/components/navigation/z-user-dropdown/index.js +5 -7
- package/dist/collection/components/navigation/z-user-dropdown/styles.css +0 -6
- package/dist/collection/components/notification/z-toast-notification/index.js +402 -0
- package/dist/collection/components/notification/z-toast-notification/styles.css +247 -0
- package/dist/collection/components/{contextual-menu → z-contextual-menu}/index.js +9 -9
- package/dist/collection/components/{contextual-menu → z-contextual-menu}/styles.css +8 -14
- package/dist/collection/snowflakes/registro-table/z-registro-table-header/index.js +38 -15
- package/dist/collection/snowflakes/registro-table/z-registro-table-header/styles.css +0 -4
- package/dist/esm/{index-c46a98db.js → index-6eb9a735.js} +1 -12
- package/dist/esm/{index-967c7341.js → index-98ce8389.js} +37 -7
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{utils-a9ad5ffb.js → utils-c7b22832.js} +1 -1
- package/dist/esm/web-components-library.js +2 -2
- package/dist/esm/{contextual-menu_65.entry.js → z-alert_65.entry.js} +86 -90
- package/dist/esm/z-app-header.entry.js +1 -1
- package/dist/esm/z-candybar.entry.js +1 -1
- package/dist/esm/z-cookiebar.entry.js +2 -2
- package/dist/esm/z-header.entry.js +2 -2
- package/dist/esm/z-heading.entry.js +1 -1
- package/dist/esm/z-messages-pocket.entry.js +2 -2
- package/dist/esm/z-modal-login.entry.js +3 -3
- package/dist/esm/z-modal.entry.js +1 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
- package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +3 -3
- package/dist/esm/z-navigation-tab.entry.js +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +2 -2
- package/dist/esm/z-otp.entry.js +2 -2
- package/dist/esm/z-pocket-message.entry.js +1 -1
- package/dist/esm/z-pocket_3.entry.js +3 -3
- package/dist/esm/z-registro-table-footer.entry.js +1 -1
- package/dist/esm/z-slideshow.entry.js +3 -3
- package/dist/esm/z-toast-notification-list.entry.js +52 -0
- package/dist/esm/z-toast-notification.entry.js +198 -0
- package/dist/types/beans/index.d.ts +33 -2
- package/dist/types/components/buttons/z-button/index.d.ts +1 -1
- package/dist/types/components/list/z-list-element/index.d.ts +1 -1
- package/dist/types/components/list/z-toast-notification-list/index.d.ts +14 -0
- package/dist/types/components/modal/z-modal-login/index.d.ts +2 -0
- package/dist/types/components/navigation/z-link/index.d.ts +1 -2
- package/dist/types/components/navigation/z-user-dropdown/index.d.ts +1 -2
- package/dist/types/components/notification/z-toast-notification/index.d.ts +56 -0
- package/dist/types/components/{contextual-menu → z-contextual-menu}/index.d.ts +4 -4
- package/dist/types/components.d.ts +167 -39
- package/dist/types/snowflakes/registro-table/z-registro-table-header/index.d.ts +2 -2
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-2d372576.entry.js → p-01ebd1c9.entry.js} +1 -1
- package/dist/web-components-library/{p-81aca7f9.entry.js → p-12ce5608.entry.js} +1 -1
- package/dist/web-components-library/{p-57c3d9ff.entry.js → p-2137b1fb.entry.js} +1 -1
- package/dist/web-components-library/{p-74c1c6e0.entry.js → p-251558f4.entry.js} +1 -1
- package/dist/web-components-library/p-26e91915.entry.js +7 -0
- package/dist/web-components-library/{p-e51658e2.entry.js → p-2a5adef6.entry.js} +1 -1
- package/dist/web-components-library/{p-6375145b.entry.js → p-337ace81.entry.js} +1 -1
- package/dist/web-components-library/{p-1cab68e1.entry.js → p-3c9ec157.entry.js} +1 -1
- package/dist/web-components-library/{p-dc5b4723.entry.js → p-40aff614.entry.js} +1 -1
- package/dist/web-components-library/{p-673631bf.entry.js → p-4c255df1.entry.js} +1 -1
- package/dist/web-components-library/p-504ff914.entry.js +1 -0
- package/dist/web-components-library/{p-df7cbc7e.entry.js → p-590be9d2.entry.js} +1 -1
- package/dist/web-components-library/{p-f2689b14.js → p-818c7395.js} +1 -1
- package/dist/web-components-library/p-859f6438.js +1 -0
- package/dist/web-components-library/{p-e32ebd79.entry.js → p-8a7841df.entry.js} +1 -1
- package/dist/web-components-library/{p-640cf406.entry.js → p-8c800c8c.entry.js} +1 -1
- package/dist/web-components-library/{p-e45b780b.entry.js → p-9c17ebe5.entry.js} +1 -1
- package/dist/web-components-library/{p-d9f4bef7.entry.js → p-b11b6985.entry.js} +1 -1
- package/dist/web-components-library/{p-1f02b80f.entry.js → p-b4ceb308.entry.js} +1 -1
- package/dist/web-components-library/{p-e2d6c4ae.entry.js → p-ba896238.entry.js} +1 -1
- package/dist/web-components-library/{p-c007fb63.entry.js → p-d428fe35.entry.js} +1 -1
- package/dist/web-components-library/p-e34dbabe.js +1 -0
- package/dist/web-components-library/{p-195cfc7e.entry.js → p-e7cd27ec.entry.js} +1 -1
- package/dist/web-components-library/p-fd7a7565.entry.js +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +1 -1
- package/react/components.d.ts +3 -1
- package/react/components.js +5 -3
- package/react/components.js.map +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-2d372576.entry.js → p-01ebd1c9.entry.js} +1 -1
- package/www/build/{p-81aca7f9.entry.js → p-12ce5608.entry.js} +1 -1
- package/www/build/{p-57c3d9ff.entry.js → p-2137b1fb.entry.js} +1 -1
- package/www/build/{p-74c1c6e0.entry.js → p-251558f4.entry.js} +1 -1
- package/www/build/p-26e91915.entry.js +7 -0
- package/www/build/{p-e51658e2.entry.js → p-2a5adef6.entry.js} +1 -1
- package/www/build/{p-6375145b.entry.js → p-337ace81.entry.js} +1 -1
- package/www/build/{p-1cab68e1.entry.js → p-3c9ec157.entry.js} +1 -1
- package/www/build/{p-dc5b4723.entry.js → p-40aff614.entry.js} +1 -1
- package/www/build/{p-673631bf.entry.js → p-4c255df1.entry.js} +1 -1
- package/www/build/p-504ff914.entry.js +1 -0
- package/www/build/{p-df7cbc7e.entry.js → p-590be9d2.entry.js} +1 -1
- package/www/build/{p-f2689b14.js → p-818c7395.js} +1 -1
- package/www/build/p-859f6438.js +1 -0
- package/www/build/p-859fc437.js +1 -0
- package/www/build/{p-e32ebd79.entry.js → p-8a7841df.entry.js} +1 -1
- package/www/build/{p-640cf406.entry.js → p-8c800c8c.entry.js} +1 -1
- package/www/build/{p-e45b780b.entry.js → p-9c17ebe5.entry.js} +1 -1
- package/www/build/{p-d9f4bef7.entry.js → p-b11b6985.entry.js} +1 -1
- package/www/build/{p-1f02b80f.entry.js → p-b4ceb308.entry.js} +1 -1
- package/www/build/{p-e2d6c4ae.entry.js → p-ba896238.entry.js} +1 -1
- package/www/build/{p-c007fb63.entry.js → p-d428fe35.entry.js} +1 -1
- package/www/build/p-e34dbabe.js +1 -0
- package/www/build/p-e55724ae.css +1 -0
- package/www/build/{p-195cfc7e.entry.js → p-e7cd27ec.entry.js} +1 -1
- package/www/build/p-fd7a7565.entry.js +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +34 -28
- package/www/pages/notification.html +247 -0
- package/dist/web-components-library/p-0e91a877.js +0 -1
- package/dist/web-components-library/p-4dbf0b2e.entry.js +0 -7
- package/dist/web-components-library/p-e51276a9.js +0 -1
- package/www/build/p-0e91a877.js +0 -1
- package/www/build/p-4dbf0b2e.entry.js +0 -7
- package/www/build/p-a28aa39d.css +0 -1
- package/www/build/p-e51276a9.js +0 -1
- package/www/build/p-f0b45c9d.js +0 -1
|
@@ -12,7 +12,7 @@ export declare class ZButton {
|
|
|
12
12
|
disabled?: boolean;
|
|
13
13
|
/** HTML button type attribute. */
|
|
14
14
|
type?: HTMLButtonElement["type"];
|
|
15
|
-
/** Graphical variant: `primary`, `secondary`
|
|
15
|
+
/** Graphical variant: `primary`, `secondary`, `tertiary`, `dark-bg`. Defaults to `primary`. */
|
|
16
16
|
variant?: ButtonVariantBean;
|
|
17
17
|
/** `z-icon` name to use (optional). */
|
|
18
18
|
icon?: string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ToastNotificationPositionsTypes } from "../../../beans";
|
|
2
|
+
export declare class ZToastNotificationList {
|
|
3
|
+
hostElement: HTMLElement;
|
|
4
|
+
/**Set the position of toast notification list - top-left, top-centre, top-right, bottom-left, bottom-centre, bottom-right */
|
|
5
|
+
position: ToastNotificationPositionsTypes;
|
|
6
|
+
/**Set the entry position of new notification in the list */
|
|
7
|
+
newestontop?: boolean;
|
|
8
|
+
private notificationArray;
|
|
9
|
+
watchPropNewestontop(newValue: boolean): void;
|
|
10
|
+
componentWillLoad(): void;
|
|
11
|
+
handleNewestOnTop(): void;
|
|
12
|
+
slotChangeHandler: () => void;
|
|
13
|
+
render(): any;
|
|
14
|
+
}
|
|
@@ -10,6 +10,8 @@ import { InputStatusBean } from "../../../beans";
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class zModalLogin {
|
|
12
12
|
hostElement: HostElement;
|
|
13
|
+
/** Forgot Password Url */
|
|
14
|
+
forgotPasswordUrl: string;
|
|
13
15
|
/** Login modal title */
|
|
14
16
|
heading?: string;
|
|
15
17
|
/** Username/password input status */
|
|
@@ -36,7 +36,6 @@ export declare class ZLink {
|
|
|
36
36
|
componentWillRender(): void;
|
|
37
37
|
emitZLinkClick(e: MouseEvent, linkId: any): void;
|
|
38
38
|
emitZLinkInteraction(e: Event, linkId: string): void;
|
|
39
|
-
|
|
40
|
-
componentDidLoad(): void;
|
|
39
|
+
componentDidRender(): void;
|
|
41
40
|
render(): any;
|
|
42
41
|
}
|
|
@@ -23,14 +23,13 @@ export declare class ZUserDropdown {
|
|
|
23
23
|
/** Emitted on enter or user Button click, returns ismenuopen (bool) */
|
|
24
24
|
userButtonClick: EventEmitter;
|
|
25
25
|
emitUserButtonClick(): void;
|
|
26
|
-
/** Emitted on dropdown menu zlink click, returns
|
|
26
|
+
/** Emitted on dropdown menu zlink click, returns event */
|
|
27
27
|
dropdownMenuLinkClick: EventEmitter;
|
|
28
28
|
emitDropdownMenuLinkClick(e: CustomEvent): void;
|
|
29
29
|
handleResize(): void;
|
|
30
30
|
handleOrientationChange(): void;
|
|
31
31
|
handleClickOutside(e: MouseEvent): void;
|
|
32
32
|
handleToggle(): void;
|
|
33
|
-
handleDropdownLinkClick(e: any): void;
|
|
34
33
|
renderCaretIcon(): any;
|
|
35
34
|
renderGuestButton(): any;
|
|
36
35
|
renderLoggedButton(): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
import { ToastNotificationTransitionsEnum, ToastNotificationTransitionTypes, ToastNotificationTypes } from "../../../beans";
|
|
3
|
+
export declare class ZToastNotification {
|
|
4
|
+
hostElement: HTMLElement;
|
|
5
|
+
/** toast notification's title */
|
|
6
|
+
heading?: string;
|
|
7
|
+
/** toast notification's message */
|
|
8
|
+
message: string;
|
|
9
|
+
/** toggles closing button rendering */
|
|
10
|
+
closebutton: boolean;
|
|
11
|
+
/** toast notification closing timeout (ms) */
|
|
12
|
+
autoclose?: number;
|
|
13
|
+
/** toast notification autoclose can be paused */
|
|
14
|
+
pauseonfocusloss?: boolean;
|
|
15
|
+
/** toast notification type: dark, light, accent, error, success, warning*/
|
|
16
|
+
type?: ToastNotificationTypes;
|
|
17
|
+
/** toast notification can be draggable*/
|
|
18
|
+
isdraggable?: boolean;
|
|
19
|
+
/** toast notification draggable percentage*/
|
|
20
|
+
draggablepercentage?: number;
|
|
21
|
+
/** toast notification animation type: slide-in-left, slide-in-right, slide-in-down, slide-in-up*/
|
|
22
|
+
transition?: ToastNotificationTransitionTypes;
|
|
23
|
+
percentage: number;
|
|
24
|
+
isTextLong: boolean;
|
|
25
|
+
private container;
|
|
26
|
+
private toastText;
|
|
27
|
+
private sliderManager;
|
|
28
|
+
private elapsedTime;
|
|
29
|
+
private timeoutHandle;
|
|
30
|
+
private startTime;
|
|
31
|
+
private isMobile;
|
|
32
|
+
private isCloseEventCalled;
|
|
33
|
+
watchPropIsdraggable(newValue: boolean): void;
|
|
34
|
+
watchPropAutoclose(newValue: number): void;
|
|
35
|
+
watchPropPauseonfocusloss(newValue: boolean): void;
|
|
36
|
+
/** notification close event */
|
|
37
|
+
toastClose: EventEmitter;
|
|
38
|
+
emitToastClose(cssClass: string): void;
|
|
39
|
+
componentWillLoad(): void;
|
|
40
|
+
componentDidLoad(): void;
|
|
41
|
+
visibilityChangeEventHandler: () => void;
|
|
42
|
+
validateAutoclose(): void;
|
|
43
|
+
mapSlideOutClass(): ToastNotificationTransitionsEnum.slideOutLeft | ToastNotificationTransitionsEnum.slideOutRight | ToastNotificationTransitionsEnum.slideOutDown | ToastNotificationTransitionsEnum.slideOutUp;
|
|
44
|
+
calculateDraggedPercentage(e: any): number;
|
|
45
|
+
handleSlideOutDragAnimation(): void;
|
|
46
|
+
onFocus(): void;
|
|
47
|
+
onBlur(): void;
|
|
48
|
+
startClosingTimeout(time: number): void;
|
|
49
|
+
detectWrap(): boolean;
|
|
50
|
+
renderText(): any;
|
|
51
|
+
renderButton(): any;
|
|
52
|
+
renderCloseIcon(): any;
|
|
53
|
+
renderContainer(): any;
|
|
54
|
+
renderMobileContainer(): any;
|
|
55
|
+
render(): any;
|
|
56
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class ZContextualMenu {
|
|
3
3
|
/**
|
|
4
|
-
* elements of
|
|
4
|
+
* elements of ZContextualMenu
|
|
5
5
|
*/
|
|
6
6
|
elements?: string;
|
|
7
7
|
/**
|
|
8
|
-
* [optional] Sets text color of
|
|
8
|
+
* [optional] Sets text color of ZContextualMenu's content
|
|
9
9
|
*/
|
|
10
10
|
color?: string;
|
|
11
11
|
/** remove filter click event, returns filterid */
|
|
12
12
|
clickContextualMenu: EventEmitter;
|
|
13
13
|
private jsonElements;
|
|
14
|
-
|
|
14
|
+
componentWillRender(): void;
|
|
15
15
|
showIcon(): boolean;
|
|
16
16
|
render(): any;
|
|
17
17
|
}
|
|
@@ -6,20 +6,10 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { AlertTypes, LicenseTypeEnum, MenuItem as MenuItem1, TooltipPosition } from "./beans/index";
|
|
9
|
-
import { AvatarSize, ButtonSizeEnum, ButtonVariantBean, CardVariants, ComboItemBean, DictionaryData, DividerOrientation, DividerSize, ExpandableListButtonAlign, ExpandableListStyle, HeaderUserData, InputStatusBean, InputTypeBean, ListDividerType, ListSize, MenuItem, NotificationType, PocketStatus, PopoverBorderRadius, PopoverPosition, PopoverShadow, SelectItemBean, StatusTagStatus, TableHeaderSize, TabOrientationBean, TabSizeBean, ThemeVariant, ThemeVariantBean } from "./beans";
|
|
9
|
+
import { AvatarSize, ButtonSizeEnum, ButtonVariantBean, CardVariants, ComboItemBean, DictionaryData, DividerOrientation, DividerSize, ExpandableListButtonAlign, ExpandableListStyle, HeaderUserData, InputStatusBean, InputTypeBean, ListDividerType, ListSize, MenuItem, NotificationType, PocketStatus, PopoverBorderRadius, PopoverPosition, PopoverShadow, SelectItemBean, SortDirection, StatusTagStatus, TableHeaderSize, TabOrientationBean, TabSizeBean, ThemeVariant, ThemeVariantBean, ToastNotificationPositionsTypes, ToastNotificationTransitionTypes, ToastNotificationTypes } from "./beans";
|
|
10
10
|
import { ListItemBean } from "./beans/index.js";
|
|
11
11
|
import { ZTypographyLevels } from "./components/typography/z-typography/index";
|
|
12
12
|
export namespace Components {
|
|
13
|
-
interface ContextualMenu {
|
|
14
|
-
/**
|
|
15
|
-
* [optional] Sets text color of ContextualMenu's content
|
|
16
|
-
*/
|
|
17
|
-
"color"?: string;
|
|
18
|
-
/**
|
|
19
|
-
* elements of ContextualMenu
|
|
20
|
-
*/
|
|
21
|
-
"elements"?: string;
|
|
22
|
-
}
|
|
23
13
|
interface ZAlert {
|
|
24
14
|
/**
|
|
25
15
|
* alert variant type
|
|
@@ -130,7 +120,7 @@ export namespace Components {
|
|
|
130
120
|
*/
|
|
131
121
|
"type"?: HTMLButtonElement["type"];
|
|
132
122
|
/**
|
|
133
|
-
* Graphical variant: `primary`, `secondary`
|
|
123
|
+
* Graphical variant: `primary`, `secondary`, `tertiary`, `dark-bg`. Defaults to `primary`.
|
|
134
124
|
*/
|
|
135
125
|
"variant"?: ButtonVariantBean;
|
|
136
126
|
}
|
|
@@ -272,6 +262,16 @@ export namespace Components {
|
|
|
272
262
|
*/
|
|
273
263
|
"uncheckalltext"?: string;
|
|
274
264
|
}
|
|
265
|
+
interface ZContextualMenu {
|
|
266
|
+
/**
|
|
267
|
+
* [optional] Sets text color of ZContextualMenu's content
|
|
268
|
+
*/
|
|
269
|
+
"color"?: string;
|
|
270
|
+
/**
|
|
271
|
+
* elements of ZContextualMenu
|
|
272
|
+
*/
|
|
273
|
+
"elements"?: string;
|
|
274
|
+
}
|
|
275
275
|
interface ZCookiebar {
|
|
276
276
|
/**
|
|
277
277
|
* callback to handle ok button action (optional)
|
|
@@ -627,7 +627,7 @@ export namespace Components {
|
|
|
627
627
|
*/
|
|
628
628
|
"expandableStyle"?: ExpandableListStyle;
|
|
629
629
|
/**
|
|
630
|
-
* [optional] If is used in
|
|
630
|
+
* [optional] If is used in ZContextualMenu component
|
|
631
631
|
*/
|
|
632
632
|
"isContextualMenu"?: boolean;
|
|
633
633
|
"listElementId"?: number;
|
|
@@ -738,6 +738,10 @@ export namespace Components {
|
|
|
738
738
|
"modaltitle"?: string;
|
|
739
739
|
}
|
|
740
740
|
interface ZModalLogin {
|
|
741
|
+
/**
|
|
742
|
+
* Forgot Password Url
|
|
743
|
+
*/
|
|
744
|
+
"forgotPasswordUrl": string;
|
|
741
745
|
/**
|
|
742
746
|
* Login modal title
|
|
743
747
|
*/
|
|
@@ -1207,6 +1211,7 @@ export namespace Components {
|
|
|
1207
1211
|
* [Optional] Padding of the header
|
|
1208
1212
|
*/
|
|
1209
1213
|
"size"?: TableHeaderSize;
|
|
1214
|
+
"sortDirection": SortDirection;
|
|
1210
1215
|
/**
|
|
1211
1216
|
* [Optional] Make the header sortable
|
|
1212
1217
|
*/
|
|
@@ -1342,6 +1347,54 @@ export namespace Components {
|
|
|
1342
1347
|
*/
|
|
1343
1348
|
"pressed": boolean;
|
|
1344
1349
|
}
|
|
1350
|
+
interface ZToastNotification {
|
|
1351
|
+
/**
|
|
1352
|
+
* toast notification closing timeout (ms)
|
|
1353
|
+
*/
|
|
1354
|
+
"autoclose"?: number;
|
|
1355
|
+
/**
|
|
1356
|
+
* toggles closing button rendering
|
|
1357
|
+
*/
|
|
1358
|
+
"closebutton": boolean;
|
|
1359
|
+
/**
|
|
1360
|
+
* toast notification draggable percentage
|
|
1361
|
+
*/
|
|
1362
|
+
"draggablepercentage"?: number;
|
|
1363
|
+
/**
|
|
1364
|
+
* toast notification's title
|
|
1365
|
+
*/
|
|
1366
|
+
"heading"?: string;
|
|
1367
|
+
/**
|
|
1368
|
+
* toast notification can be draggable
|
|
1369
|
+
*/
|
|
1370
|
+
"isdraggable"?: boolean;
|
|
1371
|
+
/**
|
|
1372
|
+
* toast notification's message
|
|
1373
|
+
*/
|
|
1374
|
+
"message": string;
|
|
1375
|
+
/**
|
|
1376
|
+
* toast notification autoclose can be paused
|
|
1377
|
+
*/
|
|
1378
|
+
"pauseonfocusloss"?: boolean;
|
|
1379
|
+
/**
|
|
1380
|
+
* toast notification animation type: slide-in-left, slide-in-right, slide-in-down, slide-in-up
|
|
1381
|
+
*/
|
|
1382
|
+
"transition"?: ToastNotificationTransitionTypes;
|
|
1383
|
+
/**
|
|
1384
|
+
* toast notification type: dark, light, accent, error, success, warning
|
|
1385
|
+
*/
|
|
1386
|
+
"type"?: ToastNotificationTypes;
|
|
1387
|
+
}
|
|
1388
|
+
interface ZToastNotificationList {
|
|
1389
|
+
/**
|
|
1390
|
+
* Set the entry position of new notification in the list
|
|
1391
|
+
*/
|
|
1392
|
+
"newestontop"?: boolean;
|
|
1393
|
+
/**
|
|
1394
|
+
* Set the position of toast notification list - top-left, top-centre, top-right, bottom-left, bottom-centre, bottom-right
|
|
1395
|
+
*/
|
|
1396
|
+
"position": ToastNotificationPositionsTypes;
|
|
1397
|
+
}
|
|
1345
1398
|
interface ZToggleButton {
|
|
1346
1399
|
/**
|
|
1347
1400
|
* avoidclick status flag
|
|
@@ -1404,12 +1457,6 @@ export namespace Components {
|
|
|
1404
1457
|
}
|
|
1405
1458
|
}
|
|
1406
1459
|
declare global {
|
|
1407
|
-
interface HTMLContextualMenuElement extends Components.ContextualMenu, HTMLStencilElement {
|
|
1408
|
-
}
|
|
1409
|
-
var HTMLContextualMenuElement: {
|
|
1410
|
-
prototype: HTMLContextualMenuElement;
|
|
1411
|
-
new (): HTMLContextualMenuElement;
|
|
1412
|
-
};
|
|
1413
1460
|
interface HTMLZAlertElement extends Components.ZAlert, HTMLStencilElement {
|
|
1414
1461
|
}
|
|
1415
1462
|
var HTMLZAlertElement: {
|
|
@@ -1488,6 +1535,12 @@ declare global {
|
|
|
1488
1535
|
prototype: HTMLZComboboxElement;
|
|
1489
1536
|
new (): HTMLZComboboxElement;
|
|
1490
1537
|
};
|
|
1538
|
+
interface HTMLZContextualMenuElement extends Components.ZContextualMenu, HTMLStencilElement {
|
|
1539
|
+
}
|
|
1540
|
+
var HTMLZContextualMenuElement: {
|
|
1541
|
+
prototype: HTMLZContextualMenuElement;
|
|
1542
|
+
new (): HTMLZContextualMenuElement;
|
|
1543
|
+
};
|
|
1491
1544
|
interface HTMLZCookiebarElement extends Components.ZCookiebar, HTMLStencilElement {
|
|
1492
1545
|
}
|
|
1493
1546
|
var HTMLZCookiebarElement: {
|
|
@@ -1890,6 +1943,18 @@ declare global {
|
|
|
1890
1943
|
prototype: HTMLZStepperItemElement;
|
|
1891
1944
|
new (): HTMLZStepperItemElement;
|
|
1892
1945
|
};
|
|
1946
|
+
interface HTMLZToastNotificationElement extends Components.ZToastNotification, HTMLStencilElement {
|
|
1947
|
+
}
|
|
1948
|
+
var HTMLZToastNotificationElement: {
|
|
1949
|
+
prototype: HTMLZToastNotificationElement;
|
|
1950
|
+
new (): HTMLZToastNotificationElement;
|
|
1951
|
+
};
|
|
1952
|
+
interface HTMLZToastNotificationListElement extends Components.ZToastNotificationList, HTMLStencilElement {
|
|
1953
|
+
}
|
|
1954
|
+
var HTMLZToastNotificationListElement: {
|
|
1955
|
+
prototype: HTMLZToastNotificationListElement;
|
|
1956
|
+
new (): HTMLZToastNotificationListElement;
|
|
1957
|
+
};
|
|
1893
1958
|
interface HTMLZToggleButtonElement extends Components.ZToggleButton, HTMLStencilElement {
|
|
1894
1959
|
}
|
|
1895
1960
|
var HTMLZToggleButtonElement: {
|
|
@@ -1915,7 +1980,6 @@ declare global {
|
|
|
1915
1980
|
new (): HTMLZUserDropdownElement;
|
|
1916
1981
|
};
|
|
1917
1982
|
interface HTMLElementTagNameMap {
|
|
1918
|
-
"contextual-menu": HTMLContextualMenuElement;
|
|
1919
1983
|
"z-alert": HTMLZAlertElement;
|
|
1920
1984
|
"z-app-header": HTMLZAppHeaderElement;
|
|
1921
1985
|
"z-app-switcher": HTMLZAppSwitcherElement;
|
|
@@ -1929,6 +1993,7 @@ declare global {
|
|
|
1929
1993
|
"z-card": HTMLZCardElement;
|
|
1930
1994
|
"z-chip": HTMLZChipElement;
|
|
1931
1995
|
"z-combobox": HTMLZComboboxElement;
|
|
1996
|
+
"z-contextual-menu": HTMLZContextualMenuElement;
|
|
1932
1997
|
"z-cookiebar": HTMLZCookiebarElement;
|
|
1933
1998
|
"z-divider": HTMLZDividerElement;
|
|
1934
1999
|
"z-footer": HTMLZFooterElement;
|
|
@@ -1996,6 +2061,8 @@ declare global {
|
|
|
1996
2061
|
"z-status-tag": HTMLZStatusTagElement;
|
|
1997
2062
|
"z-stepper": HTMLZStepperElement;
|
|
1998
2063
|
"z-stepper-item": HTMLZStepperItemElement;
|
|
2064
|
+
"z-toast-notification": HTMLZToastNotificationElement;
|
|
2065
|
+
"z-toast-notification-list": HTMLZToastNotificationListElement;
|
|
1999
2066
|
"z-toggle-button": HTMLZToggleButtonElement;
|
|
2000
2067
|
"z-tooltip": HTMLZTooltipElement;
|
|
2001
2068
|
"z-typography": HTMLZTypographyElement;
|
|
@@ -2003,20 +2070,6 @@ declare global {
|
|
|
2003
2070
|
}
|
|
2004
2071
|
}
|
|
2005
2072
|
declare namespace LocalJSX {
|
|
2006
|
-
interface ContextualMenu {
|
|
2007
|
-
/**
|
|
2008
|
-
* [optional] Sets text color of ContextualMenu's content
|
|
2009
|
-
*/
|
|
2010
|
-
"color"?: string;
|
|
2011
|
-
/**
|
|
2012
|
-
* elements of ContextualMenu
|
|
2013
|
-
*/
|
|
2014
|
-
"elements"?: string;
|
|
2015
|
-
/**
|
|
2016
|
-
* remove filter click event, returns filterid
|
|
2017
|
-
*/
|
|
2018
|
-
"onClickContextualMenu"?: (event: CustomEvent<any>) => void;
|
|
2019
|
-
}
|
|
2020
2073
|
interface ZAlert {
|
|
2021
2074
|
/**
|
|
2022
2075
|
* alert variant type
|
|
@@ -2131,7 +2184,7 @@ declare namespace LocalJSX {
|
|
|
2131
2184
|
*/
|
|
2132
2185
|
"type"?: HTMLButtonElement["type"];
|
|
2133
2186
|
/**
|
|
2134
|
-
* Graphical variant: `primary`, `secondary`
|
|
2187
|
+
* Graphical variant: `primary`, `secondary`, `tertiary`, `dark-bg`. Defaults to `primary`.
|
|
2135
2188
|
*/
|
|
2136
2189
|
"variant"?: ButtonVariantBean;
|
|
2137
2190
|
}
|
|
@@ -2289,6 +2342,20 @@ declare namespace LocalJSX {
|
|
|
2289
2342
|
*/
|
|
2290
2343
|
"uncheckalltext"?: string;
|
|
2291
2344
|
}
|
|
2345
|
+
interface ZContextualMenu {
|
|
2346
|
+
/**
|
|
2347
|
+
* [optional] Sets text color of ZContextualMenu's content
|
|
2348
|
+
*/
|
|
2349
|
+
"color"?: string;
|
|
2350
|
+
/**
|
|
2351
|
+
* elements of ZContextualMenu
|
|
2352
|
+
*/
|
|
2353
|
+
"elements"?: string;
|
|
2354
|
+
/**
|
|
2355
|
+
* remove filter click event, returns filterid
|
|
2356
|
+
*/
|
|
2357
|
+
"onClickContextualMenu"?: (event: CustomEvent<any>) => void;
|
|
2358
|
+
}
|
|
2292
2359
|
interface ZCookiebar {
|
|
2293
2360
|
/**
|
|
2294
2361
|
* callback to handle ok button action (optional)
|
|
@@ -2664,7 +2731,7 @@ declare namespace LocalJSX {
|
|
|
2664
2731
|
*/
|
|
2665
2732
|
"expandableStyle"?: ExpandableListStyle;
|
|
2666
2733
|
/**
|
|
2667
|
-
* [optional] If is used in
|
|
2734
|
+
* [optional] If is used in ZContextualMenu component
|
|
2668
2735
|
*/
|
|
2669
2736
|
"isContextualMenu"?: boolean;
|
|
2670
2737
|
"listElementId"?: number;
|
|
@@ -2811,6 +2878,10 @@ declare namespace LocalJSX {
|
|
|
2811
2878
|
"onModalHeaderActive"?: (event: CustomEvent<any>) => void;
|
|
2812
2879
|
}
|
|
2813
2880
|
interface ZModalLogin {
|
|
2881
|
+
/**
|
|
2882
|
+
* Forgot Password Url
|
|
2883
|
+
*/
|
|
2884
|
+
"forgotPasswordUrl"?: string;
|
|
2814
2885
|
/**
|
|
2815
2886
|
* Login modal title
|
|
2816
2887
|
*/
|
|
@@ -3350,6 +3421,7 @@ declare namespace LocalJSX {
|
|
|
3350
3421
|
* [Optional] Padding of the header
|
|
3351
3422
|
*/
|
|
3352
3423
|
"size"?: TableHeaderSize;
|
|
3424
|
+
"sortDirection"?: SortDirection;
|
|
3353
3425
|
/**
|
|
3354
3426
|
* [Optional] Make the header sortable
|
|
3355
3427
|
*/
|
|
@@ -3478,6 +3550,58 @@ declare namespace LocalJSX {
|
|
|
3478
3550
|
*/
|
|
3479
3551
|
"pressed"?: boolean;
|
|
3480
3552
|
}
|
|
3553
|
+
interface ZToastNotification {
|
|
3554
|
+
/**
|
|
3555
|
+
* toast notification closing timeout (ms)
|
|
3556
|
+
*/
|
|
3557
|
+
"autoclose"?: number;
|
|
3558
|
+
/**
|
|
3559
|
+
* toggles closing button rendering
|
|
3560
|
+
*/
|
|
3561
|
+
"closebutton"?: boolean;
|
|
3562
|
+
/**
|
|
3563
|
+
* toast notification draggable percentage
|
|
3564
|
+
*/
|
|
3565
|
+
"draggablepercentage"?: number;
|
|
3566
|
+
/**
|
|
3567
|
+
* toast notification's title
|
|
3568
|
+
*/
|
|
3569
|
+
"heading"?: string;
|
|
3570
|
+
/**
|
|
3571
|
+
* toast notification can be draggable
|
|
3572
|
+
*/
|
|
3573
|
+
"isdraggable"?: boolean;
|
|
3574
|
+
/**
|
|
3575
|
+
* toast notification's message
|
|
3576
|
+
*/
|
|
3577
|
+
"message"?: string;
|
|
3578
|
+
/**
|
|
3579
|
+
* notification close event
|
|
3580
|
+
*/
|
|
3581
|
+
"onToastClose"?: (event: CustomEvent<any>) => void;
|
|
3582
|
+
/**
|
|
3583
|
+
* toast notification autoclose can be paused
|
|
3584
|
+
*/
|
|
3585
|
+
"pauseonfocusloss"?: boolean;
|
|
3586
|
+
/**
|
|
3587
|
+
* toast notification animation type: slide-in-left, slide-in-right, slide-in-down, slide-in-up
|
|
3588
|
+
*/
|
|
3589
|
+
"transition"?: ToastNotificationTransitionTypes;
|
|
3590
|
+
/**
|
|
3591
|
+
* toast notification type: dark, light, accent, error, success, warning
|
|
3592
|
+
*/
|
|
3593
|
+
"type"?: ToastNotificationTypes;
|
|
3594
|
+
}
|
|
3595
|
+
interface ZToastNotificationList {
|
|
3596
|
+
/**
|
|
3597
|
+
* Set the entry position of new notification in the list
|
|
3598
|
+
*/
|
|
3599
|
+
"newestontop"?: boolean;
|
|
3600
|
+
/**
|
|
3601
|
+
* Set the position of toast notification list - top-left, top-centre, top-right, bottom-left, bottom-centre, bottom-right
|
|
3602
|
+
*/
|
|
3603
|
+
"position"?: ToastNotificationPositionsTypes;
|
|
3604
|
+
}
|
|
3481
3605
|
interface ZToggleButton {
|
|
3482
3606
|
/**
|
|
3483
3607
|
* avoidclick status flag
|
|
@@ -3538,7 +3662,7 @@ declare namespace LocalJSX {
|
|
|
3538
3662
|
*/
|
|
3539
3663
|
"menucontent"?: string | MenuItem[];
|
|
3540
3664
|
/**
|
|
3541
|
-
* Emitted on dropdown menu zlink click, returns
|
|
3665
|
+
* Emitted on dropdown menu zlink click, returns event
|
|
3542
3666
|
*/
|
|
3543
3667
|
"onDropdownMenuLinkClick"?: (event: CustomEvent<any>) => void;
|
|
3544
3668
|
/**
|
|
@@ -3555,7 +3679,6 @@ declare namespace LocalJSX {
|
|
|
3555
3679
|
"userfullname"?: string;
|
|
3556
3680
|
}
|
|
3557
3681
|
interface IntrinsicElements {
|
|
3558
|
-
"contextual-menu": ContextualMenu;
|
|
3559
3682
|
"z-alert": ZAlert;
|
|
3560
3683
|
"z-app-header": ZAppHeader;
|
|
3561
3684
|
"z-app-switcher": ZAppSwitcher;
|
|
@@ -3569,6 +3692,7 @@ declare namespace LocalJSX {
|
|
|
3569
3692
|
"z-card": ZCard;
|
|
3570
3693
|
"z-chip": ZChip;
|
|
3571
3694
|
"z-combobox": ZCombobox;
|
|
3695
|
+
"z-contextual-menu": ZContextualMenu;
|
|
3572
3696
|
"z-cookiebar": ZCookiebar;
|
|
3573
3697
|
"z-divider": ZDivider;
|
|
3574
3698
|
"z-footer": ZFooter;
|
|
@@ -3636,6 +3760,8 @@ declare namespace LocalJSX {
|
|
|
3636
3760
|
"z-status-tag": ZStatusTag;
|
|
3637
3761
|
"z-stepper": ZStepper;
|
|
3638
3762
|
"z-stepper-item": ZStepperItem;
|
|
3763
|
+
"z-toast-notification": ZToastNotification;
|
|
3764
|
+
"z-toast-notification-list": ZToastNotificationList;
|
|
3639
3765
|
"z-toggle-button": ZToggleButton;
|
|
3640
3766
|
"z-tooltip": ZTooltip;
|
|
3641
3767
|
"z-typography": ZTypography;
|
|
@@ -3646,7 +3772,6 @@ export { LocalJSX as JSX };
|
|
|
3646
3772
|
declare module "@stencil/core" {
|
|
3647
3773
|
export namespace JSX {
|
|
3648
3774
|
interface IntrinsicElements {
|
|
3649
|
-
"contextual-menu": LocalJSX.ContextualMenu & JSXBase.HTMLAttributes<HTMLContextualMenuElement>;
|
|
3650
3775
|
"z-alert": LocalJSX.ZAlert & JSXBase.HTMLAttributes<HTMLZAlertElement>;
|
|
3651
3776
|
"z-app-header": LocalJSX.ZAppHeader & JSXBase.HTMLAttributes<HTMLZAppHeaderElement>;
|
|
3652
3777
|
"z-app-switcher": LocalJSX.ZAppSwitcher & JSXBase.HTMLAttributes<HTMLZAppSwitcherElement>;
|
|
@@ -3660,6 +3785,7 @@ declare module "@stencil/core" {
|
|
|
3660
3785
|
"z-card": LocalJSX.ZCard & JSXBase.HTMLAttributes<HTMLZCardElement>;
|
|
3661
3786
|
"z-chip": LocalJSX.ZChip & JSXBase.HTMLAttributes<HTMLZChipElement>;
|
|
3662
3787
|
"z-combobox": LocalJSX.ZCombobox & JSXBase.HTMLAttributes<HTMLZComboboxElement>;
|
|
3788
|
+
"z-contextual-menu": LocalJSX.ZContextualMenu & JSXBase.HTMLAttributes<HTMLZContextualMenuElement>;
|
|
3663
3789
|
"z-cookiebar": LocalJSX.ZCookiebar & JSXBase.HTMLAttributes<HTMLZCookiebarElement>;
|
|
3664
3790
|
"z-divider": LocalJSX.ZDivider & JSXBase.HTMLAttributes<HTMLZDividerElement>;
|
|
3665
3791
|
"z-footer": LocalJSX.ZFooter & JSXBase.HTMLAttributes<HTMLZFooterElement>;
|
|
@@ -3727,6 +3853,8 @@ declare module "@stencil/core" {
|
|
|
3727
3853
|
"z-status-tag": LocalJSX.ZStatusTag & JSXBase.HTMLAttributes<HTMLZStatusTagElement>;
|
|
3728
3854
|
"z-stepper": LocalJSX.ZStepper & JSXBase.HTMLAttributes<HTMLZStepperElement>;
|
|
3729
3855
|
"z-stepper-item": LocalJSX.ZStepperItem & JSXBase.HTMLAttributes<HTMLZStepperItemElement>;
|
|
3856
|
+
"z-toast-notification": LocalJSX.ZToastNotification & JSXBase.HTMLAttributes<HTMLZToastNotificationElement>;
|
|
3857
|
+
"z-toast-notification-list": LocalJSX.ZToastNotificationList & JSXBase.HTMLAttributes<HTMLZToastNotificationListElement>;
|
|
3730
3858
|
"z-toggle-button": LocalJSX.ZToggleButton & JSXBase.HTMLAttributes<HTMLZToggleButtonElement>;
|
|
3731
3859
|
"z-tooltip": LocalJSX.ZTooltip & JSXBase.HTMLAttributes<HTMLZTooltipElement>;
|
|
3732
3860
|
"z-typography": LocalJSX.ZTypography & JSXBase.HTMLAttributes<HTMLZTypographyElement>;
|