@siemens/ix 0.0.0-pr-2297-20251204163058 → 0.0.0-pr-2300-20260107140403
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/READMEOSS.html +1 -1
- package/components/index.js +1 -1
- package/components/index.js.map +1 -1
- package/components/ix-action-card.js +8 -3
- package/components/ix-action-card.js.map +1 -1
- package/components/ix-application.js +1 -1
- package/components/ix-breadcrumb.js +1 -1
- package/components/ix-card-list.js +1 -1
- package/components/ix-card.js +1 -1
- package/components/ix-date-dropdown.js +1 -1
- package/components/ix-dropdown-button.js +8 -4
- package/components/ix-dropdown-button.js.map +1 -1
- package/components/ix-dropdown-item.js +1 -1
- package/components/ix-menu-avatar-item.js +1 -1
- package/components/ix-menu-avatar.js +2 -2
- package/components/ix-menu-category.js +1 -1
- package/components/ix-menu.js +21 -13
- package/components/ix-menu.js.map +1 -1
- package/components/ix-message-bar.js +1 -1
- package/components/ix-message-bar.js.map +1 -1
- package/components/ix-pagination.js +3 -3
- package/components/ix-pane-layout.js +2 -1
- package/components/ix-pane-layout.js.map +1 -1
- package/components/ix-push-card.js +8 -3
- package/components/ix-push-card.js.map +1 -1
- package/components/ix-select-item.js +1 -1
- package/components/ix-select.js +1 -1
- package/components/ix-toast-container.js +5 -4
- package/components/ix-toast-container.js.map +1 -1
- package/components/ix-toast.js +1 -1
- package/components/{p-Dy6xvLn4.js → p-BCLcSQh4.js} +3 -3
- package/components/{p-Dy6xvLn4.js.map → p-BCLcSQh4.js.map} +1 -1
- package/components/{p-BOQ00Fbs.js → p-Ce5NQ5Zo.js} +4 -4
- package/components/{p-BOQ00Fbs.js.map → p-Ce5NQ5Zo.js.map} +1 -1
- package/components/{p-BLeWaHpy.js → p-DYCKIBUp.js} +12 -6
- package/components/p-DYCKIBUp.js.map +1 -0
- package/components/{p-Bk0vKwmt.js → p-DmhyoH-k.js} +3 -3
- package/components/{p-Bk0vKwmt.js.map → p-DmhyoH-k.js.map} +1 -1
- package/components/{p-CsHYWHE6.js → p-G5i1Siog.js} +15 -5
- package/components/p-G5i1Siog.js.map +1 -0
- package/components/{p-hwPzPVf8.js → p-rFxiFp44.js} +12 -6
- package/components/p-rFxiFp44.js.map +1 -0
- package/components/{p-DlVaL0Yi.js → p-tpxSImkl.js} +9 -4
- package/components/p-tpxSImkl.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/ix-action-card.cjs.entry.js +5 -1
- package/dist/cjs/ix-action-card.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-application.cjs.entry.js +1 -1
- package/dist/cjs/ix-card.ix-card-content.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-card_2.cjs.entry.js +8 -3
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +7 -3
- package/dist/cjs/ix-dropdown-button.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-dropdown-item.cjs.entry.js +9 -3
- package/dist/cjs/ix-dropdown-item.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-menu.cjs.entry.js +20 -13
- package/dist/cjs/ix-menu.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
- package/dist/cjs/ix-message-bar.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-pane-layout.cjs.entry.js +2 -1
- package/dist/cjs/ix-pane-layout.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-push-card.cjs.entry.js +5 -1
- package/dist/cjs/ix-push-card.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-toast-container.cjs.entry.js +4 -3
- package/dist/cjs/ix-toast-container.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-toast.cjs.entry.js +6 -2
- package/dist/cjs/ix-toast.entry.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/siemens-ix.cjs.js +1 -1
- package/dist/cjs/{theme-switcher-76Td30il.js → theme-switcher-BCyZa6wG.js} +15 -5
- package/dist/cjs/theme-switcher-BCyZa6wG.js.map +1 -0
- package/dist/collection/components/action-card/action-card.js +25 -1
- package/dist/collection/components/action-card/action-card.js.map +1 -1
- package/dist/collection/components/card/card.css +49 -0
- package/dist/collection/components/card/card.js +27 -2
- package/dist/collection/components/card/card.js.map +1 -1
- package/dist/collection/components/dropdown-button/dropdown-button.js +8 -4
- package/dist/collection/components/dropdown-button/dropdown-button.js.map +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +10 -4
- package/dist/collection/components/dropdown-item/dropdown-item.js.map +1 -1
- package/dist/collection/components/menu/menu.js +21 -12
- package/dist/collection/components/menu/menu.js.map +1 -1
- package/dist/collection/components/message-bar/message-bar.css +0 -11
- package/dist/collection/components/pane-layout/pane-layout.js +2 -1
- package/dist/collection/components/pane-layout/pane-layout.js.map +1 -1
- package/dist/collection/components/push-card/push-card.js +25 -1
- package/dist/collection/components/push-card/push-card.js.map +1 -1
- package/dist/collection/components/toast/toast-container.js +4 -3
- package/dist/collection/components/toast/toast-container.js.map +1 -1
- package/dist/collection/components/toast/toast-utils.js.map +1 -1
- package/dist/collection/components/toast/toast.js +26 -2
- package/dist/collection/components/toast/toast.js.map +1 -1
- package/dist/collection/components/utils/theme-switcher.js +13 -3
- package/dist/collection/components/utils/theme-switcher.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/ix-action-card.entry.js +5 -1
- package/dist/esm/ix-action-card.entry.js.map +1 -1
- package/dist/esm/ix-application.entry.js +1 -1
- package/dist/esm/ix-card.ix-card-content.entry.js.map +1 -1
- package/dist/esm/ix-card_2.entry.js +8 -3
- package/dist/esm/ix-dropdown-button.entry.js +7 -3
- package/dist/esm/ix-dropdown-button.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-item.entry.js +9 -3
- package/dist/esm/ix-dropdown-item.entry.js.map +1 -1
- package/dist/esm/ix-menu.entry.js +20 -13
- package/dist/esm/ix-menu.entry.js.map +1 -1
- package/dist/esm/ix-message-bar.entry.js +1 -1
- package/dist/esm/ix-message-bar.entry.js.map +1 -1
- package/dist/esm/ix-pane-layout.entry.js +2 -1
- package/dist/esm/ix-pane-layout.entry.js.map +1 -1
- package/dist/esm/ix-push-card.entry.js +5 -1
- package/dist/esm/ix-push-card.entry.js.map +1 -1
- package/dist/esm/ix-toast-container.entry.js +4 -3
- package/dist/esm/ix-toast-container.entry.js.map +1 -1
- package/dist/esm/ix-toast.entry.js +6 -2
- package/dist/esm/ix-toast.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/siemens-ix.js +1 -1
- package/dist/esm/{theme-switcher-DRqJGlG2.js → theme-switcher-EbjilqRl.js} +15 -5
- package/dist/esm/theme-switcher-EbjilqRl.js.map +1 -0
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/index.esm.js.map +1 -1
- package/dist/siemens-ix/ix-action-card.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-card.ix-card-content.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-dropdown-button.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-dropdown-item.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-menu.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-message-bar.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-pane-layout.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-push-card.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-toast-container.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-toast.entry.esm.js.map +1 -1
- package/dist/siemens-ix/p-0063d077.entry.js +2 -0
- package/dist/siemens-ix/p-0063d077.entry.js.map +1 -0
- package/dist/siemens-ix/{p-6dc6eb63.entry.js → p-01e16377.entry.js} +2 -2
- package/dist/siemens-ix/{p-6dc6eb63.entry.js.map → p-01e16377.entry.js.map} +1 -1
- package/dist/siemens-ix/p-2e1bb4bf.entry.js +2 -0
- package/dist/siemens-ix/p-2e1bb4bf.entry.js.map +1 -0
- package/dist/siemens-ix/p-3c297dc0.entry.js +2 -0
- package/dist/siemens-ix/p-3c297dc0.entry.js.map +1 -0
- package/dist/siemens-ix/p-3ca8fd00.entry.js +2 -0
- package/dist/siemens-ix/p-3ca8fd00.entry.js.map +1 -0
- package/dist/siemens-ix/{p-367df024.entry.js → p-84178b22.entry.js} +2 -2
- package/dist/siemens-ix/p-84178b22.entry.js.map +1 -0
- package/dist/siemens-ix/p-944a39a6.entry.js +2 -0
- package/dist/siemens-ix/p-944a39a6.entry.js.map +1 -0
- package/dist/siemens-ix/{p-b76df1c7.entry.js → p-9f7d9525.entry.js} +2 -2
- package/dist/siemens-ix/p-9f7d9525.entry.js.map +1 -0
- package/dist/siemens-ix/p-G5i1Siog.js +2 -0
- package/dist/siemens-ix/p-G5i1Siog.js.map +1 -0
- package/dist/siemens-ix/{p-8f17f6ec.entry.js → p-ec9dc8d8.entry.js} +2 -2
- package/dist/siemens-ix/p-ec9dc8d8.entry.js.map +1 -0
- package/dist/siemens-ix/{p-35d6b656.entry.js → p-f5dd421a.entry.js} +2 -2
- package/dist/siemens-ix/{p-b8f4b001.entry.js → p-f5f9940c.entry.js} +2 -2
- package/dist/siemens-ix/p-f5f9940c.entry.js.map +1 -0
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/types/components/action-card/action-card.d.ts +4 -0
- package/dist/types/components/card/card.d.ts +4 -0
- package/dist/types/components/menu/menu.d.ts +1 -0
- package/dist/types/components/push-card/push-card.d.ts +4 -0
- package/dist/types/components/toast/toast-utils.d.ts +4 -0
- package/dist/types/components/toast/toast.d.ts +4 -0
- package/dist/types/components.d.ts +40 -0
- package/hydrate/index.js +88 -40
- package/hydrate/index.mjs +88 -40
- package/package.json +1 -1
- package/components/p-BLeWaHpy.js.map +0 -1
- package/components/p-CsHYWHE6.js.map +0 -1
- package/components/p-DlVaL0Yi.js.map +0 -1
- package/components/p-hwPzPVf8.js.map +0 -1
- package/dist/cjs/theme-switcher-76Td30il.js.map +0 -1
- package/dist/esm/theme-switcher-DRqJGlG2.js.map +0 -1
- package/dist/siemens-ix/p-0d621531.entry.js +0 -2
- package/dist/siemens-ix/p-0d621531.entry.js.map +0 -1
- package/dist/siemens-ix/p-2597a988.entry.js +0 -2
- package/dist/siemens-ix/p-2597a988.entry.js.map +0 -1
- package/dist/siemens-ix/p-33fcea65.entry.js +0 -2
- package/dist/siemens-ix/p-33fcea65.entry.js.map +0 -1
- package/dist/siemens-ix/p-367df024.entry.js.map +0 -1
- package/dist/siemens-ix/p-37bd983a.entry.js +0 -2
- package/dist/siemens-ix/p-37bd983a.entry.js.map +0 -1
- package/dist/siemens-ix/p-8f17f6ec.entry.js.map +0 -1
- package/dist/siemens-ix/p-CsHYWHE6.js +0 -2
- package/dist/siemens-ix/p-CsHYWHE6.js.map +0 -1
- package/dist/siemens-ix/p-b76df1c7.entry.js.map +0 -1
- package/dist/siemens-ix/p-b8f4b001.entry.js.map +0 -1
- package/dist/siemens-ix/p-c1160cf8.entry.js +0 -2
- package/dist/siemens-ix/p-c1160cf8.entry.js.map +0 -1
- /package/dist/siemens-ix/{p-35d6b656.entry.js.map → p-f5dd421a.entry.js.map} +0 -0
|
@@ -34,6 +34,7 @@ export declare class Menu {
|
|
|
34
34
|
* Toggle the expand state of the menu
|
|
35
35
|
*/
|
|
36
36
|
expand: boolean;
|
|
37
|
+
expandChanged(newExpand: boolean, oldExpand: boolean): void;
|
|
37
38
|
/**
|
|
38
39
|
* If set the menu will be expanded initially. This will only take effect at the breakpoint 'lg'.
|
|
39
40
|
*/
|
|
@@ -34,6 +34,10 @@ export interface ToastConfig {
|
|
|
34
34
|
* Color of the icon
|
|
35
35
|
*/
|
|
36
36
|
iconColor?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Allows to hide the icon in the toast
|
|
39
|
+
*/
|
|
40
|
+
hideIcon?: boolean;
|
|
37
41
|
}
|
|
38
42
|
export declare function getToastContainer(): HTMLIxToastContainerElement;
|
|
39
43
|
export declare function setToastPosition(position: ToastPosition): void;
|
|
@@ -25,6 +25,10 @@ export declare class Toast {
|
|
|
25
25
|
* Icon color of toast
|
|
26
26
|
*/
|
|
27
27
|
iconColor?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Allows to hide the icon in the toast.
|
|
30
|
+
*/
|
|
31
|
+
hideIcon: boolean;
|
|
28
32
|
/**
|
|
29
33
|
* ARIA label for the close icon button
|
|
30
34
|
* Will be set as aria-label on the nested HTML button element
|
|
@@ -126,6 +126,11 @@ export namespace Components {
|
|
|
126
126
|
* @default undefined
|
|
127
127
|
*/
|
|
128
128
|
"icon": string | undefined;
|
|
129
|
+
/**
|
|
130
|
+
* If true, disables hover and active styles and changes cursor to default
|
|
131
|
+
* @default false
|
|
132
|
+
*/
|
|
133
|
+
"passive": boolean;
|
|
129
134
|
/**
|
|
130
135
|
* Card selection
|
|
131
136
|
* @default false
|
|
@@ -425,6 +430,11 @@ export namespace Components {
|
|
|
425
430
|
"variant": ButtonVariant;
|
|
426
431
|
}
|
|
427
432
|
interface IxCard {
|
|
433
|
+
/**
|
|
434
|
+
* If true, disables hover and active styles and changes cursor to default
|
|
435
|
+
* @default false
|
|
436
|
+
*/
|
|
437
|
+
"passive": boolean;
|
|
428
438
|
/**
|
|
429
439
|
* Show card in selected state
|
|
430
440
|
* @default false
|
|
@@ -2882,6 +2892,11 @@ export namespace Components {
|
|
|
2882
2892
|
* Card KPI value
|
|
2883
2893
|
*/
|
|
2884
2894
|
"notification"?: string;
|
|
2895
|
+
/**
|
|
2896
|
+
* If true, disables hover and active styles and changes cursor to default
|
|
2897
|
+
* @default false
|
|
2898
|
+
*/
|
|
2899
|
+
"passive": boolean;
|
|
2885
2900
|
/**
|
|
2886
2901
|
* Card subheading
|
|
2887
2902
|
*/
|
|
@@ -3702,6 +3717,11 @@ export namespace Components {
|
|
|
3702
3717
|
* @default 5000
|
|
3703
3718
|
*/
|
|
3704
3719
|
"autoCloseDelay": number;
|
|
3720
|
+
/**
|
|
3721
|
+
* Allows to hide the icon in the toast.
|
|
3722
|
+
* @default false
|
|
3723
|
+
*/
|
|
3724
|
+
"hideIcon": boolean;
|
|
3705
3725
|
/**
|
|
3706
3726
|
* Icon of toast
|
|
3707
3727
|
*/
|
|
@@ -5895,6 +5915,11 @@ declare namespace LocalJSX {
|
|
|
5895
5915
|
* @default undefined
|
|
5896
5916
|
*/
|
|
5897
5917
|
"icon"?: string | undefined;
|
|
5918
|
+
/**
|
|
5919
|
+
* If true, disables hover and active styles and changes cursor to default
|
|
5920
|
+
* @default false
|
|
5921
|
+
*/
|
|
5922
|
+
"passive"?: boolean;
|
|
5898
5923
|
/**
|
|
5899
5924
|
* Card selection
|
|
5900
5925
|
* @default false
|
|
@@ -6190,6 +6215,11 @@ declare namespace LocalJSX {
|
|
|
6190
6215
|
"variant"?: ButtonVariant;
|
|
6191
6216
|
}
|
|
6192
6217
|
interface IxCard {
|
|
6218
|
+
/**
|
|
6219
|
+
* If true, disables hover and active styles and changes cursor to default
|
|
6220
|
+
* @default false
|
|
6221
|
+
*/
|
|
6222
|
+
"passive"?: boolean;
|
|
6193
6223
|
/**
|
|
6194
6224
|
* Show card in selected state
|
|
6195
6225
|
* @default false
|
|
@@ -8714,6 +8744,11 @@ declare namespace LocalJSX {
|
|
|
8714
8744
|
* Card KPI value
|
|
8715
8745
|
*/
|
|
8716
8746
|
"notification"?: string;
|
|
8747
|
+
/**
|
|
8748
|
+
* If true, disables hover and active styles and changes cursor to default
|
|
8749
|
+
* @default false
|
|
8750
|
+
*/
|
|
8751
|
+
"passive"?: boolean;
|
|
8717
8752
|
/**
|
|
8718
8753
|
* Card subheading
|
|
8719
8754
|
*/
|
|
@@ -9536,6 +9571,11 @@ declare namespace LocalJSX {
|
|
|
9536
9571
|
* @default 5000
|
|
9537
9572
|
*/
|
|
9538
9573
|
"autoCloseDelay"?: number;
|
|
9574
|
+
/**
|
|
9575
|
+
* Allows to hide the icon in the toast.
|
|
9576
|
+
* @default false
|
|
9577
|
+
*/
|
|
9578
|
+
"hideIcon"?: boolean;
|
|
9539
9579
|
/**
|
|
9540
9580
|
* Icon of toast
|
|
9541
9581
|
*/
|
package/hydrate/index.js
CHANGED
|
@@ -3850,9 +3850,15 @@ class ThemeSwitcher {
|
|
|
3850
3850
|
return target.getAttribute(dataIxColorSchema);
|
|
3851
3851
|
}
|
|
3852
3852
|
getCurrentTheme() {
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3853
|
+
const themeClass = Array.from(document.documentElement.classList).find((className) => this.isThemeClass(className));
|
|
3854
|
+
if (themeClass) {
|
|
3855
|
+
return themeClass;
|
|
3856
|
+
}
|
|
3857
|
+
const dataTheme = document.documentElement.getAttribute(dataIxTheme);
|
|
3858
|
+
const dataColorSchema = document.documentElement.getAttribute(dataIxColorSchema);
|
|
3859
|
+
const theme = dataTheme || 'classic';
|
|
3860
|
+
const variant = dataColorSchema || getCurrentSystemAppearance();
|
|
3861
|
+
return `theme-${theme}-${variant}`;
|
|
3856
3862
|
}
|
|
3857
3863
|
setVariant(variant = getCurrentSystemAppearance()) {
|
|
3858
3864
|
if (this.getDataColorSchema(document.documentElement)) {
|
|
@@ -3860,6 +3866,10 @@ class ThemeSwitcher {
|
|
|
3860
3866
|
return;
|
|
3861
3867
|
}
|
|
3862
3868
|
const currentTheme = this.getCurrentTheme();
|
|
3869
|
+
if (!currentTheme) {
|
|
3870
|
+
document.documentElement.setAttribute(dataIxColorSchema, variant);
|
|
3871
|
+
return;
|
|
3872
|
+
}
|
|
3863
3873
|
document.documentElement.classList.remove(currentTheme);
|
|
3864
3874
|
if (currentTheme.endsWith(this.suffixDark)) {
|
|
3865
3875
|
document.documentElement.classList.add(currentTheme.replace(/-dark$/g, `-${variant}`));
|
|
@@ -9079,7 +9089,7 @@ class Button {
|
|
|
9079
9089
|
}; }
|
|
9080
9090
|
}
|
|
9081
9091
|
|
|
9082
|
-
const cardCss = ":host{display:flex;position:relative;flex-direction:column;align-items:flex-start;align-self:flex-start;overflow:hidden;cursor:pointer;width:20rem;border:var(--theme-card--border-width) solid var(--ix-card-border-color, var(--theme-color-soft-bdr));border-radius:var(--theme-card--border-radius)}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .card-content{display:block;position:relative;flex-shrink:0;flex-grow:1;width:100%;height:calc(100% - 2rem);background-color:var(--ix-card-background, transparent);border-top-left-radius:var(--theme-card--border-radius);border-top-right-radius:var(--theme-card--border-radius);overflow:hidden}:host .card-content-wrapper{height:100%;width:100%;box-sizing:border-box}:host .card-footer{display:flex;position:relative;width:100%}:host(.card-outline){--ix-card-background:var(--theme-card-outline--background);--ix-card-border-color:var(--theme-card-outline--border-color);color:var(--theme-card-outline--color)}:host(.card-outline) ::slotted(ix-card-accordion){color:var(--theme-color-std-text)}:host(.card-filled){--ix-card-background:var(--theme-card-filled--background);--ix-card-border-color:var(--theme-card-filled--border-color);color:var(--theme-card-filled--color)}:host(.card-filled) ::slotted(ix-card-accordion){color:var(--theme-color-std-text)}:host(.card-alarm){--ix-card-background:var(--theme-card-alarm--background);--ix-card-border-color:var(--theme-card-alarm--border-color);color:var(--theme-card-alarm--color)}:host(.card-critical){--ix-card-background:var(--theme-card-critical--background);--ix-card-border-color:var(--theme-card-critical--border-color);color:var(--theme-card-critical--color)}:host(.card-warning){--ix-card-background:var(--theme-card-warning--background);--ix-card-border-color:var(--theme-card-warning--border-color);color:var(--theme-card-warning--color)}:host(.card-success){--ix-card-background:var(--theme-card-success--background);--ix-card-border-color:var(--theme-card-success--border-color);color:var(--theme-card-success--color)}:host(.card-info){--ix-card-background:var(--theme-card-info--background);--ix-card-border-color:var(--theme-card-info--border-color);color:var(--theme-card-info--color)}:host(.card-neutral){--ix-card-background:var(--theme-card-neutral--background);--ix-card-border-color:var(--theme-card-neutral--border-color);color:var(--theme-card-neutral--color)}:host(.card-primary){--ix-card-background:var(--theme-card-primary--background);--ix-card-border-color:var(--theme-card-primary--border-color);color:var(--theme-card-primary--color)}:host(:not(.card-insight,.card-outline)){--ix-card-border-color:transparent}:host(.card-outline:hover){--ix-card-border-color:var(--theme-card-outline--border-color--hover);--ix-card-background:var(--theme-card-outline--background--hover)}:host(.card-outline:active){--ix-card-border-color:var(--theme-card-outline--border-color--active);--ix-card-background:var(--theme-card-outline--background--active)}:host(.selected.card-outline){--ix-card-border-color:var(\n --theme-card-outline--border-color--selected\n );--ix-card-background:var(--theme-card-outline--background--selected)}:host(.card-filled:hover){--ix-card-border-color:var(--theme-card-filled--border-color--hover);--ix-card-background:var(--theme-card-filled--background--hover)}:host(.card-filled:active){--ix-card-border-color:var(--theme-card-filled--border-color--active);--ix-card-background:var(--theme-card-filled--background--active)}:host(.selected.card-filled){--ix-card-border-color:var(\n --theme-card-filled--border-color--selected\n );--ix-card-background:var(--theme-card-filled--background--selected)}:host(.card-alarm:hover){--ix-card-border-color:var(--theme-card-alarm--border-color--hover);--ix-card-background:var(--theme-card-alarm--background--hover)}:host(.card-alarm:active){--ix-card-border-color:var(--theme-card-alarm--border-color--active);--ix-card-background:var(--theme-card-alarm--background--active)}:host(.selected.card-alarm){--ix-card-border-color:var(\n --theme-card-alarm--border-color--selected\n );--ix-card-background:var(--theme-card-alarm--background--selected)}:host(.card-critical:hover){--ix-card-border-color:var(--theme-card-critical--border-color--hover);--ix-card-background:var(--theme-card-critical--background--hover)}:host(.card-critical:active){--ix-card-border-color:var(--theme-card-critical--border-color--active);--ix-card-background:var(--theme-card-critical--background--active)}:host(.selected.card-critical){--ix-card-border-color:var(\n --theme-card-critical--border-color--selected\n );--ix-card-background:var(--theme-card-critical--background--selected)}:host(.card-warning:hover){--ix-card-border-color:var(--theme-card-warning--border-color--hover);--ix-card-background:var(--theme-card-warning--background--hover)}:host(.card-warning:active){--ix-card-border-color:var(--theme-card-warning--border-color--active);--ix-card-background:var(--theme-card-warning--background--active)}:host(.selected.card-warning){--ix-card-border-color:var(\n --theme-card-warning--border-color--selected\n );--ix-card-background:var(--theme-card-warning--background--selected)}:host(.card-success:hover){--ix-card-border-color:var(--theme-card-success--border-color--hover);--ix-card-background:var(--theme-card-success--background--hover)}:host(.card-success:active){--ix-card-border-color:var(--theme-card-success--border-color--active);--ix-card-background:var(--theme-card-success--background--active)}:host(.selected.card-success){--ix-card-border-color:var(\n --theme-card-success--border-color--selected\n );--ix-card-background:var(--theme-card-success--background--selected)}:host(.card-info:hover){--ix-card-border-color:var(--theme-card-info--border-color--hover);--ix-card-background:var(--theme-card-info--background--hover)}:host(.card-info:active){--ix-card-border-color:var(--theme-card-info--border-color--active);--ix-card-background:var(--theme-card-info--background--active)}:host(.selected.card-info){--ix-card-border-color:var(\n --theme-card-info--border-color--selected\n );--ix-card-background:var(--theme-card-info--background--selected)}:host(.card-neutral:hover){--ix-card-border-color:var(--theme-card-neutral--border-color--hover);--ix-card-background:var(--theme-card-neutral--background--hover)}:host(.card-neutral:active){--ix-card-border-color:var(--theme-card-neutral--border-color--active);--ix-card-background:var(--theme-card-neutral--background--active)}:host(.selected.card-neutral){--ix-card-border-color:var(\n --theme-card-neutral--border-color--selected\n );--ix-card-background:var(--theme-card-neutral--background--selected)}:host(.card-primary:hover){--ix-card-border-color:var(--theme-card-primary--border-color--hover);--ix-card-background:var(--theme-card-primary--background--hover)}:host(.card-primary:active){--ix-card-border-color:var(--theme-card-primary--border-color--active);--ix-card-background:var(--theme-card-primary--background--active)}:host(.selected.card-primary){--ix-card-border-color:var(\n --theme-card-primary--border-color--selected\n );--ix-card-background:var(--theme-card-primary--background--selected)}";
|
|
9092
|
+
const cardCss = ":host{display:flex;position:relative;flex-direction:column;align-items:flex-start;align-self:flex-start;overflow:hidden;cursor:pointer;width:20rem;border:var(--theme-card--border-width) solid var(--ix-card-border-color, var(--theme-color-soft-bdr));border-radius:var(--theme-card--border-radius)}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .card-content{display:block;position:relative;flex-shrink:0;flex-grow:1;width:100%;height:calc(100% - 2rem);background-color:var(--ix-card-background, transparent);border-top-left-radius:var(--theme-card--border-radius);border-top-right-radius:var(--theme-card--border-radius);overflow:hidden}:host .card-content-wrapper{height:100%;width:100%;box-sizing:border-box}:host .card-footer{display:flex;position:relative;width:100%}:host(.card-outline){--ix-card-background:var(--theme-card-outline--background);--ix-card-border-color:var(--theme-card-outline--border-color);color:var(--theme-card-outline--color)}:host(.card-outline) ::slotted(ix-card-accordion){color:var(--theme-color-std-text)}:host(.card-filled){--ix-card-background:var(--theme-card-filled--background);--ix-card-border-color:var(--theme-card-filled--border-color);color:var(--theme-card-filled--color)}:host(.card-filled) ::slotted(ix-card-accordion){color:var(--theme-color-std-text)}:host(.card-alarm){--ix-card-background:var(--theme-card-alarm--background);--ix-card-border-color:var(--theme-card-alarm--border-color);color:var(--theme-card-alarm--color)}:host(.card-critical){--ix-card-background:var(--theme-card-critical--background);--ix-card-border-color:var(--theme-card-critical--border-color);color:var(--theme-card-critical--color)}:host(.card-warning){--ix-card-background:var(--theme-card-warning--background);--ix-card-border-color:var(--theme-card-warning--border-color);color:var(--theme-card-warning--color)}:host(.card-success){--ix-card-background:var(--theme-card-success--background);--ix-card-border-color:var(--theme-card-success--border-color);color:var(--theme-card-success--color)}:host(.card-info){--ix-card-background:var(--theme-card-info--background);--ix-card-border-color:var(--theme-card-info--border-color);color:var(--theme-card-info--color)}:host(.card-neutral){--ix-card-background:var(--theme-card-neutral--background);--ix-card-border-color:var(--theme-card-neutral--border-color);color:var(--theme-card-neutral--color)}:host(.card-primary){--ix-card-background:var(--theme-card-primary--background);--ix-card-border-color:var(--theme-card-primary--border-color);color:var(--theme-card-primary--color)}:host(:not(.card-insight,.card-outline)){--ix-card-border-color:transparent}:host(.card-outline:hover){--ix-card-border-color:var(--theme-card-outline--border-color--hover);--ix-card-background:var(--theme-card-outline--background--hover)}:host(.card-outline:active){--ix-card-border-color:var(--theme-card-outline--border-color--active);--ix-card-background:var(--theme-card-outline--background--active)}:host(.selected.card-outline){--ix-card-border-color:var(\n --theme-card-outline--border-color--selected\n );--ix-card-background:var(--theme-card-outline--background--selected)}:host(.card-filled:hover){--ix-card-border-color:var(--theme-card-filled--border-color--hover);--ix-card-background:var(--theme-card-filled--background--hover)}:host(.card-filled:active){--ix-card-border-color:var(--theme-card-filled--border-color--active);--ix-card-background:var(--theme-card-filled--background--active)}:host(.selected.card-filled){--ix-card-border-color:var(\n --theme-card-filled--border-color--selected\n );--ix-card-background:var(--theme-card-filled--background--selected)}:host(.card-alarm:hover){--ix-card-border-color:var(--theme-card-alarm--border-color--hover);--ix-card-background:var(--theme-card-alarm--background--hover)}:host(.card-alarm:active){--ix-card-border-color:var(--theme-card-alarm--border-color--active);--ix-card-background:var(--theme-card-alarm--background--active)}:host(.selected.card-alarm){--ix-card-border-color:var(\n --theme-card-alarm--border-color--selected\n );--ix-card-background:var(--theme-card-alarm--background--selected)}:host(.card-critical:hover){--ix-card-border-color:var(--theme-card-critical--border-color--hover);--ix-card-background:var(--theme-card-critical--background--hover)}:host(.card-critical:active){--ix-card-border-color:var(--theme-card-critical--border-color--active);--ix-card-background:var(--theme-card-critical--background--active)}:host(.selected.card-critical){--ix-card-border-color:var(\n --theme-card-critical--border-color--selected\n );--ix-card-background:var(--theme-card-critical--background--selected)}:host(.card-warning:hover){--ix-card-border-color:var(--theme-card-warning--border-color--hover);--ix-card-background:var(--theme-card-warning--background--hover)}:host(.card-warning:active){--ix-card-border-color:var(--theme-card-warning--border-color--active);--ix-card-background:var(--theme-card-warning--background--active)}:host(.selected.card-warning){--ix-card-border-color:var(\n --theme-card-warning--border-color--selected\n );--ix-card-background:var(--theme-card-warning--background--selected)}:host(.card-success:hover){--ix-card-border-color:var(--theme-card-success--border-color--hover);--ix-card-background:var(--theme-card-success--background--hover)}:host(.card-success:active){--ix-card-border-color:var(--theme-card-success--border-color--active);--ix-card-background:var(--theme-card-success--background--active)}:host(.selected.card-success){--ix-card-border-color:var(\n --theme-card-success--border-color--selected\n );--ix-card-background:var(--theme-card-success--background--selected)}:host(.card-info:hover){--ix-card-border-color:var(--theme-card-info--border-color--hover);--ix-card-background:var(--theme-card-info--background--hover)}:host(.card-info:active){--ix-card-border-color:var(--theme-card-info--border-color--active);--ix-card-background:var(--theme-card-info--background--active)}:host(.selected.card-info){--ix-card-border-color:var(\n --theme-card-info--border-color--selected\n );--ix-card-background:var(--theme-card-info--background--selected)}:host(.card-neutral:hover){--ix-card-border-color:var(--theme-card-neutral--border-color--hover);--ix-card-background:var(--theme-card-neutral--background--hover)}:host(.card-neutral:active){--ix-card-border-color:var(--theme-card-neutral--border-color--active);--ix-card-background:var(--theme-card-neutral--background--active)}:host(.selected.card-neutral){--ix-card-border-color:var(\n --theme-card-neutral--border-color--selected\n );--ix-card-background:var(--theme-card-neutral--background--selected)}:host(.card-primary:hover){--ix-card-border-color:var(--theme-card-primary--border-color--hover);--ix-card-background:var(--theme-card-primary--background--hover)}:host(.card-primary:active){--ix-card-border-color:var(--theme-card-primary--border-color--active);--ix-card-background:var(--theme-card-primary--background--active)}:host(.selected.card-primary){--ix-card-border-color:var(\n --theme-card-primary--border-color--selected\n );--ix-card-background:var(--theme-card-primary--background--selected)}:host(.passive){cursor:default}:host(.passive.card-outline){--ix-card-background:var(--theme-card-outline--background);--ix-card-border-color:var(--theme-card-outline--border-color)}:host(.passive.card-filled){--ix-card-background:var(--theme-card-filled--background);--ix-card-border-color:var(--theme-card-filled--border-color)}:host(.passive.card-alarm){--ix-card-background:var(--theme-card-alarm--background);--ix-card-border-color:var(--theme-card-alarm--border-color)}:host(.passive.card-critical){--ix-card-background:var(--theme-card-critical--background);--ix-card-border-color:var(--theme-card-critical--border-color)}:host(.passive.card-warning){--ix-card-background:var(--theme-card-warning--background);--ix-card-border-color:var(--theme-card-warning--border-color)}:host(.passive.card-success){--ix-card-background:var(--theme-card-success--background);--ix-card-border-color:var(--theme-card-success--border-color)}:host(.passive.card-info){--ix-card-background:var(--theme-card-info--background);--ix-card-border-color:var(--theme-card-info--border-color)}:host(.passive.card-neutral){--ix-card-background:var(--theme-card-neutral--background);--ix-card-border-color:var(--theme-card-neutral--border-color)}:host(.passive.card-primary){--ix-card-background:var(--theme-card-primary--background);--ix-card-border-color:var(--theme-card-primary--border-color)}";
|
|
9083
9093
|
|
|
9084
9094
|
class Card {
|
|
9085
9095
|
constructor(hostRef) {
|
|
@@ -9092,12 +9102,17 @@ class Card {
|
|
|
9092
9102
|
* Show card in selected state
|
|
9093
9103
|
*/
|
|
9094
9104
|
this.selected = false;
|
|
9105
|
+
/**
|
|
9106
|
+
* If true, disables hover and active styles and changes cursor to default
|
|
9107
|
+
*/
|
|
9108
|
+
this.passive = false;
|
|
9095
9109
|
}
|
|
9096
9110
|
render() {
|
|
9097
|
-
return (hAsync(Host, { key: '
|
|
9111
|
+
return (hAsync(Host, { key: '3eed87586aed1916f7c1e3c2323a46c794d046d9', class: {
|
|
9098
9112
|
selected: this.selected,
|
|
9099
9113
|
[`card-${this.variant}`]: true,
|
|
9100
|
-
|
|
9114
|
+
passive: this.passive,
|
|
9115
|
+
} }, hAsync("div", { key: '7ae77cffe48272d0acc8cbd0dc7286d0fc835d8d', class: "card-content" }, hAsync("slot", { key: 'ba07f9804dd1af6256ceb0cc972b2cc03a18f558' })), hAsync("div", { key: '72bc9064c1d09188d60e1b9516811a91435f53b4', class: "card-footer" }, hAsync("slot", { key: '7fbacfea4d8308e88b4db025567654a0a4ef0d96', name: "card-accordion" }))));
|
|
9101
9116
|
}
|
|
9102
9117
|
get hostElement() { return getElement(this); }
|
|
9103
9118
|
static get style() { return cardCss; }
|
|
@@ -9106,7 +9121,8 @@ class Card {
|
|
|
9106
9121
|
"$tagName$": "ix-card",
|
|
9107
9122
|
"$members$": {
|
|
9108
9123
|
"variant": [1],
|
|
9109
|
-
"selected": [4]
|
|
9124
|
+
"selected": [4],
|
|
9125
|
+
"passive": [4]
|
|
9110
9126
|
},
|
|
9111
9127
|
"$listeners$": undefined,
|
|
9112
9128
|
"$lazyBundleId$": "-",
|
|
@@ -22974,6 +22990,9 @@ class DropdownButton {
|
|
|
22974
22990
|
this.dropdownShow = false;
|
|
22975
22991
|
this.dropdownAnchor = makeRef();
|
|
22976
22992
|
this.onDropdownShowChanged = (event) => {
|
|
22993
|
+
if (this.disabled && event.detail) {
|
|
22994
|
+
return;
|
|
22995
|
+
}
|
|
22977
22996
|
this.dropdownShow = event.detail;
|
|
22978
22997
|
};
|
|
22979
22998
|
}
|
|
@@ -22986,11 +23005,11 @@ class DropdownButton {
|
|
|
22986
23005
|
} }));
|
|
22987
23006
|
}
|
|
22988
23007
|
render() {
|
|
22989
|
-
return (hAsync(Host, { key: '
|
|
23008
|
+
return (hAsync(Host, { key: '8e8bd476bd9a3dccfbd21fe10a10046f725d6e59', "aria-disabled": a11yBoolean(this.disabled), class: {
|
|
22990
23009
|
disabled: this.disabled,
|
|
22991
|
-
}, ref: this.dropdownAnchor }, hAsync("div", { key: '
|
|
23010
|
+
}, ref: this.dropdownAnchor }, hAsync("div", { key: '0fa67ef9f3f779316882f38b17099394f0e99e04', class: "dropdown-button" }, this.label ? (hAsync("ix-button", { variant: this.variant, disabled: this.disabled, alignment: "start", ariaLabel: this.ariaLabelDropdownButton, tabIndex: this.disabled ? -1 : 0 }, hAsync("div", { class: 'content' }, this.icon ? (hAsync("ix-icon", { name: this.icon, size: "24", class: 'dropdown-icon' })) : null, hAsync("div", { class: 'button-label' }, this.label), hAsync("ix-icon", { name: this.dropdownShow
|
|
22992
23011
|
? iconChevronUpSmall
|
|
22993
|
-
: iconChevronDownSmall, size: "24" })))) : (hAsync("div", null, hAsync("ix-icon-button", { icon: this.icon, variant: this.variant, disabled: this.disabled }), this.getTriangle()))), hAsync("ix-dropdown", { key: '
|
|
23012
|
+
: iconChevronDownSmall, size: "24" })))) : (hAsync("div", null, hAsync("ix-icon-button", { icon: this.icon, variant: this.variant, disabled: this.disabled, tabIndex: this.disabled ? -1 : 0 }), this.getTriangle()))), hAsync("ix-dropdown", { key: 'bf09de1c2af43bc3ea2085cf11c26e6fb56b694a', class: "dropdown", trigger: this.dropdownAnchor.waitForCurrent(), placement: this.placement, closeBehavior: this.closeBehavior, onShowChanged: this.onDropdownShowChanged }, hAsync("slot", { key: '89bf77cd9781f906d801ffb0c874028f3feef6de' }))));
|
|
22994
23013
|
}
|
|
22995
23014
|
get hostElement() { return getElement(this); }
|
|
22996
23015
|
static get style() { return dropdownButtonCss; }
|
|
@@ -22999,7 +23018,7 @@ class DropdownButton {
|
|
|
22999
23018
|
"$tagName$": "ix-dropdown-button",
|
|
23000
23019
|
"$members$": {
|
|
23001
23020
|
"variant": [1],
|
|
23002
|
-
"disabled": [
|
|
23021
|
+
"disabled": [516],
|
|
23003
23022
|
"label": [1],
|
|
23004
23023
|
"icon": [1],
|
|
23005
23024
|
"closeBehavior": [8, "close-behavior"],
|
|
@@ -23009,7 +23028,7 @@ class DropdownButton {
|
|
|
23009
23028
|
},
|
|
23010
23029
|
"$listeners$": undefined,
|
|
23011
23030
|
"$lazyBundleId$": "-",
|
|
23012
|
-
"$attrsToReflect$": []
|
|
23031
|
+
"$attrsToReflect$": [["disabled", "disabled"]]
|
|
23013
23032
|
}; }
|
|
23014
23033
|
}
|
|
23015
23034
|
|
|
@@ -23072,15 +23091,20 @@ class DropdownItem {
|
|
|
23072
23091
|
this.icon !== undefined);
|
|
23073
23092
|
}
|
|
23074
23093
|
render() {
|
|
23075
|
-
return (hAsync(Host, { key: '
|
|
23094
|
+
return (hAsync(Host, { key: '89d6023460273b60bf52f129e456e0d92e51c09d', class: {
|
|
23076
23095
|
hover: this.hover,
|
|
23077
23096
|
'icon-only': this.isIconOnly(),
|
|
23078
23097
|
disabled: this.disabled,
|
|
23079
23098
|
submenu: this.isSubMenu,
|
|
23080
|
-
}, role: "listitem" }, hAsync("button", { key: '
|
|
23099
|
+
}, role: "listitem" }, hAsync("button", { key: '32feebb5d24eb19af7b5081c4f771a489913180f', type: "button", tabIndex: this.disabled ? -1 : 0, class: {
|
|
23081
23100
|
'dropdown-item': true,
|
|
23082
23101
|
'no-checked-field': this.suppressChecked,
|
|
23083
|
-
|
|
23102
|
+
disabled: this.disabled,
|
|
23103
|
+
}, onClick: () => {
|
|
23104
|
+
if (!this.disabled) {
|
|
23105
|
+
this.emitItemClick();
|
|
23106
|
+
}
|
|
23107
|
+
}, "aria-label": this.ariaLabelButton, "aria-disabled": a11yBoolean(this.disabled), disabled: this.disabled }, !this.suppressChecked ? (hAsync("div", { class: "dropdown-item-checked" }, this.checked ? (hAsync("ix-icon", { class: "checkmark", name: iconSingleCheck, size: "16" })) : null)) : null, this.icon ? (hAsync("ix-icon", { class: "dropdown-item-icon", name: this.icon, "aria-label": this.ariaLabelIcon })) : null, hAsync("div", { key: 'dbc0b8352eb200eca806604da06e884bc398c5f0', class: "dropdown-item-text" }, this.label, hAsync("slot", { key: 'e9a0a489086d0990f613b9e44fbe16cd00a0794b' })), this.isSubMenu ? (hAsync("ix-icon", { name: iconChevronRightSmall, class: 'submenu-icon' })) : null)));
|
|
23084
23108
|
}
|
|
23085
23109
|
get hostElement() { return getElement(this); }
|
|
23086
23110
|
static get style() { return dropdownItemCss; }
|
|
@@ -23093,7 +23117,7 @@ class DropdownItem {
|
|
|
23093
23117
|
"ariaLabelIcon": [1, "aria-label-icon"],
|
|
23094
23118
|
"ariaLabelButton": [1, "aria-label-button"],
|
|
23095
23119
|
"hover": [4],
|
|
23096
|
-
"disabled": [
|
|
23120
|
+
"disabled": [516],
|
|
23097
23121
|
"checked": [4],
|
|
23098
23122
|
"isSubMenu": [4, "is-sub-menu"],
|
|
23099
23123
|
"suppressChecked": [4, "suppress-checked"],
|
|
@@ -23102,7 +23126,7 @@ class DropdownItem {
|
|
|
23102
23126
|
},
|
|
23103
23127
|
"$listeners$": undefined,
|
|
23104
23128
|
"$lazyBundleId$": "-",
|
|
23105
|
-
"$attrsToReflect$": []
|
|
23129
|
+
"$attrsToReflect$": [["disabled", "disabled"]]
|
|
23106
23130
|
}; }
|
|
23107
23131
|
}
|
|
23108
23132
|
|
|
@@ -24866,6 +24890,10 @@ class IxActionCard {
|
|
|
24866
24890
|
* Card selection
|
|
24867
24891
|
*/
|
|
24868
24892
|
this.selected = false;
|
|
24893
|
+
/**
|
|
24894
|
+
* If true, disables hover and active styles and changes cursor to default
|
|
24895
|
+
*/
|
|
24896
|
+
this.passive = false;
|
|
24869
24897
|
}
|
|
24870
24898
|
getSubheadingTextColor() {
|
|
24871
24899
|
return this.variant === 'outline' || this.variant === 'filled'
|
|
@@ -24876,7 +24904,7 @@ class IxActionCard {
|
|
|
24876
24904
|
const ariaLabelledBy = !this.ariaLabelCard && this.heading
|
|
24877
24905
|
? 'ix-action-card-heading'
|
|
24878
24906
|
: undefined;
|
|
24879
|
-
return (hAsync(Host, { key: '
|
|
24907
|
+
return (hAsync(Host, { key: '600ad1913e671fb47ec9da8f66e984bbde498fae' }, hAsync("ix-card", { key: '1a8168a17a643908126f841e9cdd6d0055a62399', selected: this.selected, variant: this.variant, passive: this.passive, class: 'pointer', "aria-label": this.ariaLabelCard, "aria-labelledby": ariaLabelledBy, role: ariaLabelledBy ? 'group' : undefined }, hAsync("ix-card-content", { key: 'c138b94b131af478fee65244f32b91cdf78b31df' }, this.icon ? (hAsync("ix-icon", { class: 'icon', name: this.icon, size: "32", "aria-label": this.ariaLabelIcon || getFallbackLabelFromIconName(this.icon) })) : null, hAsync("div", { key: 'eb0252c628c75709fddae387a3b4a7abbf7c3df0' }, this.heading ? (hAsync("ix-typography", { id: "ix-action-card-heading", "aria-hidden": a11yBoolean(!ariaLabelledBy), format: "h4" }, this.heading)) : null, this.subheading ? (hAsync("ix-typography", { format: "h5", "text-color": this.getSubheadingTextColor() }, this.subheading)) : null, hAsync("slot", { key: 'f47fd515fc5b8f22344dc83b808e527116238618' }))))));
|
|
24880
24908
|
}
|
|
24881
24909
|
static get style() { return actionCardCss; }
|
|
24882
24910
|
static get cmpMeta() { return {
|
|
@@ -24889,7 +24917,8 @@ class IxActionCard {
|
|
|
24889
24917
|
"heading": [1],
|
|
24890
24918
|
"subheading": [1],
|
|
24891
24919
|
"selected": [4],
|
|
24892
|
-
"ariaLabelCard": [1, "aria-label-card"]
|
|
24920
|
+
"ariaLabelCard": [1, "aria-label-card"],
|
|
24921
|
+
"passive": [4]
|
|
24893
24922
|
},
|
|
24894
24923
|
"$listeners$": undefined,
|
|
24895
24924
|
"$lazyBundleId$": "-",
|
|
@@ -25338,6 +25367,12 @@ class Menu {
|
|
|
25338
25367
|
((_b = (_a = elm.parentElement) === null || _a === void 0 ? void 0 : _a.parentElement) === null || _b === void 0 ? void 0 : _b.style.display) !== 'none');
|
|
25339
25368
|
};
|
|
25340
25369
|
}
|
|
25370
|
+
expandChanged(newExpand, oldExpand) {
|
|
25371
|
+
if (newExpand === oldExpand) {
|
|
25372
|
+
return;
|
|
25373
|
+
}
|
|
25374
|
+
this.toggleMenu(newExpand);
|
|
25375
|
+
}
|
|
25341
25376
|
pinnedChange(newPinned) {
|
|
25342
25377
|
this.setPinned(this.pinned);
|
|
25343
25378
|
if (newPinned) {
|
|
@@ -25682,47 +25717,48 @@ class Menu {
|
|
|
25682
25717
|
}
|
|
25683
25718
|
render() {
|
|
25684
25719
|
var _a, _b;
|
|
25685
|
-
return (hAsync(Host, { key: '
|
|
25720
|
+
return (hAsync(Host, { key: 'ea617374858acbf094cbf397be00f38023c6d09b', class: {
|
|
25686
25721
|
expanded: this.expand,
|
|
25687
25722
|
[`breakpoint-${this.breakpoint}`]: true,
|
|
25688
|
-
}, slot: "menu" }, hAsync("nav", { key: '
|
|
25723
|
+
}, slot: "menu" }, hAsync("nav", { key: '49709a839fd53bc53b4f0c100d38ef50a101532e', class: {
|
|
25689
25724
|
menu: true,
|
|
25690
25725
|
expanded: this.expand,
|
|
25691
|
-
} }, hAsync("div", { key: '
|
|
25692
|
-
((_a = this.applicationLayoutContext) === null || _a === void 0 ? void 0 : _a.appSwitchConfig) && (hAsync("ix-icon-button", { key: '
|
|
25726
|
+
} }, hAsync("div", { key: '5cca034b91fabda2f403b2471d9805c96cdadba5', class: "menu-buttons" }, this.breakpoint !== 'sm' && (hAsync("ix-menu-expand-icon", { key: '94d4ff9776c27b9da7d680cef6c346f0469257ba', breakpoint: this.breakpoint, expanded: this.expand, pinned: this.pinned, class: "menu-expand-icon", ixAriaLabel: this.i18nExpandSidebar, onClick: async () => this.toggleMenu(), "data-testid": "expand-collapse-menu" })), this.breakpoint === 'sm' &&
|
|
25727
|
+
((_a = this.applicationLayoutContext) === null || _a === void 0 ? void 0 : _a.appSwitchConfig) && (hAsync("ix-icon-button", { key: 'bb5026487bb57b272cc3c91124f3779959164bc1', onClick: () => {
|
|
25693
25728
|
this.showAppSwitch();
|
|
25694
|
-
}, icon: iconApps, variant: "subtle-tertiary" }))), hAsync("div", { key: '
|
|
25729
|
+
}, icon: iconApps, variant: "subtle-tertiary" }))), hAsync("div", { key: '2b4b5b3a0a29e09cfc8f70f79533995f5cd33c99', id: "menu-tabs", style: {
|
|
25695
25730
|
display: 'contents',
|
|
25696
|
-
}, onClick: (e) => this.onMenuItemsClick(e) }, hAsync("div", { key: '
|
|
25731
|
+
}, onClick: (e) => this.onMenuItemsClick(e) }, hAsync("div", { key: '293741c4d4e200853ca2dce4b8c666f5da0e34d5', class: "tabs-shadow-container" }, hAsync("div", { key: '86dd526ec2a8af64abdd6871cb2f759d7c97ee39', class: {
|
|
25697
25732
|
'tabs--shadow': true,
|
|
25698
25733
|
'tabs--shadow-top': true,
|
|
25699
25734
|
'tabs--shadow--show': this.itemsScrollShadowTop,
|
|
25700
|
-
} }), hAsync("div", { key: '
|
|
25735
|
+
} }), hAsync("div", { key: 'e2ba26766b80e0a6c262a2ce42a208f114cdfba6', class: {
|
|
25701
25736
|
tabs: true,
|
|
25702
25737
|
'show-scrollbar': this.expand,
|
|
25703
|
-
}, onScroll: () => this.handleOverflowIndicator() }, hAsync("div", { key: '
|
|
25738
|
+
}, onScroll: () => this.handleOverflowIndicator() }, hAsync("div", { key: 'bef31787f7c96dea8ed99cd90772e5e91e0d004f', class: "menu-avatar" }, hAsync("slot", { key: '688e681120bdb5d51aa8b0944d8894e3b0e9f0e0', name: "ix-menu-avatar" })), hAsync("slot", { key: '6de7b739e8bbeaece6394bf2eca1c0cfdeb9e0c7', name: "home" }), this.breakpoint !== 'sm' || !this.isHiddenFromViewport() ? (hAsync("slot", null)) : null), hAsync("div", { key: '3f5ef7c1085910d0f0af3fce5baf35bac5e5144e', class: {
|
|
25704
25739
|
'tabs--shadow': true,
|
|
25705
25740
|
'tabs--shadow-bottom': true,
|
|
25706
25741
|
'tabs--shadow--show': this.itemsScrollShadowBottom,
|
|
25707
|
-
} }))), hAsync("div", { key: '
|
|
25742
|
+
} }))), hAsync("div", { key: 'b4e9db32fce1c63a303f14145e07e528e50e562c', class: "bottom-tab-divider" }), this.settings ? (hAsync("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "settings", class: {
|
|
25708
25743
|
'internal-tab': true,
|
|
25709
25744
|
'bottom-tab': true,
|
|
25710
25745
|
active: this.showSettings,
|
|
25711
|
-
}, icon: iconCogwheel, onClick: async () => this.toggleSettings(!this.showSettings), label: this.i18nSettings })) : null, this.enableToggleTheme ? (hAsync("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "toggleTheme", onClick: () => themeSwitcher.toggleMode(), class: "internal-tab bottom-tab", icon: iconLightDark, label: this.i18nToggleTheme })) : null, hAsync("div", { key: '
|
|
25746
|
+
}, icon: iconCogwheel, onClick: async () => this.toggleSettings(!this.showSettings), label: this.i18nSettings })) : null, this.enableToggleTheme ? (hAsync("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "toggleTheme", onClick: () => themeSwitcher.toggleMode(), class: "internal-tab bottom-tab", icon: iconLightDark, label: this.i18nToggleTheme })) : null, hAsync("div", { key: '50b48bbaa282e632c32476d2d3590b969d9b67f4', onClick: (e) => this.onMenuItemsClick(e) }, hAsync("slot", { key: '64eead8c650d587783ad39d27429652da7f56962', name: "bottom" })), hAsync("div", { key: '22f7f7d3d7fae907636b474aeb3cdeedc38631f5', id: "popover-area" }), this.enableMapExpand || ((_b = this.applicationLayoutContext) === null || _b === void 0 ? void 0 : _b.sidebar) ? (hAsync("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "menu-collapse", onClick: () => this.sidebarToggle(), class: "internal-tab bottom-tab", icon: `${this.getCollapseIcon()}`, label: this.getCollapseText() })) : null, this.about ? (hAsync("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "aboutAndLegal", class: {
|
|
25712
25747
|
'internal-tab': true,
|
|
25713
25748
|
'bottom-tab': true,
|
|
25714
25749
|
active: this.showAbout,
|
|
25715
|
-
}, icon: iconInfo, onClick: async () => this.toggleAbout(!this.showAbout), label: this.i18nLegal })) : null), hAsync("div", { key: '
|
|
25750
|
+
}, icon: iconInfo, onClick: async () => this.toggleAbout(!this.showAbout), label: this.i18nLegal })) : null), hAsync("div", { key: 'dc67e6cddea726b1a6f692f66a268b3d50318d96', class: {
|
|
25716
25751
|
'menu-overlay': true,
|
|
25717
25752
|
visible: this.isOverlayVisible(),
|
|
25718
25753
|
expanded: this.expand,
|
|
25719
25754
|
}, onTransitionEnd: () => {
|
|
25720
25755
|
this.isTransitionDisabled = true;
|
|
25721
25756
|
this.checkTransition();
|
|
25722
|
-
} }, hAsync("div", { key: '
|
|
25757
|
+
} }, hAsync("div", { key: '5222ed73a531d9c59d24feb032ad7e9929f37e5f', class: 'menu-overlay-container' }, this.showSettings ? hAsync("slot", { name: "ix-menu-settings" }) : null), hAsync("div", { key: '1e91deb207ad24f81e5551a788d7e6e79900eb0d', class: 'menu-overlay-container' }, this.showAbout ? hAsync("slot", { name: "ix-menu-about" }) : null))));
|
|
25723
25758
|
}
|
|
25724
25759
|
get hostElement() { return getElement(this); }
|
|
25725
25760
|
static get watchers() { return {
|
|
25761
|
+
"expand": ["expandChanged"],
|
|
25726
25762
|
"pinned": ["pinnedChange"]
|
|
25727
25763
|
}; }
|
|
25728
25764
|
static get style() { return menuCss; }
|
|
@@ -26562,7 +26598,7 @@ class MenuSettingsItem {
|
|
|
26562
26598
|
}; }
|
|
26563
26599
|
}
|
|
26564
26600
|
|
|
26565
|
-
const messageBarCss = ":host{margin:0.5rem 0.5rem 0rem 0.5rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .message-container{display:flex;flex-direction:row;align-items:flex-start;flex-wrap:nowrap;justify-content:space-between;min-height:3.375rem;padding:calc(0.75rem - var(--theme-message-bar--border-thickness)) 0.75rem calc(0.75rem - var(--theme-message-bar--border-thickness)) 1rem;border-radius:var(--theme-message-bar--border-radius);background-color:var(--theme-messagebar--background)}:host .alarm{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-alarm)}:host .danger{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-alarm)}:host .critical{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-critical)}:host .warning{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-warning)}:host .success{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-success)}:host .info{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-info)}:host .neutral{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-neutral)}:host .primary{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-primary)}:host .message-content{flex-grow:1;align-self:center;min-height:1.25rem;padding:0 1rem;font-weight:normal;white-space:normal
|
|
26601
|
+
const messageBarCss = ":host{margin:0.5rem 0.5rem 0rem 0.5rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .message-container{display:flex;flex-direction:row;align-items:flex-start;flex-wrap:nowrap;justify-content:space-between;min-height:3.375rem;padding:calc(0.75rem - var(--theme-message-bar--border-thickness)) 0.75rem calc(0.75rem - var(--theme-message-bar--border-thickness)) 1rem;border-radius:var(--theme-message-bar--border-radius);background-color:var(--theme-messagebar--background)}:host .alarm{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-alarm)}:host .danger{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-alarm)}:host .critical{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-critical)}:host .warning{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-warning)}:host .success{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-success)}:host .info{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-info)}:host .neutral{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-neutral)}:host .primary{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-primary)}:host .message-content{flex-grow:1;align-self:center;min-height:1.25rem;padding:0 1rem;font-weight:normal;white-space:normal}:host ix-icon{margin-top:0.25rem}:host .message-bar-hidden{display:none}";
|
|
26566
26602
|
|
|
26567
26603
|
class MessageBar {
|
|
26568
26604
|
constructor(hostRef) {
|
|
@@ -28084,6 +28120,7 @@ class Panes {
|
|
|
28084
28120
|
this.isMobile = matchBreakpoint('sm');
|
|
28085
28121
|
applicationLayoutService.onChange.on(() => {
|
|
28086
28122
|
this.isMobile = matchBreakpoint('sm');
|
|
28123
|
+
this.configurePanes();
|
|
28087
28124
|
});
|
|
28088
28125
|
}
|
|
28089
28126
|
componentDidLoad() {
|
|
@@ -28269,7 +28306,7 @@ class Panes {
|
|
|
28269
28306
|
return pane ? pane.floating : false;
|
|
28270
28307
|
}
|
|
28271
28308
|
render() {
|
|
28272
|
-
return (hAsync(Host, { key: '
|
|
28309
|
+
return (hAsync(Host, { key: 'e325d469cf08970e85af16e34df3e25ea6fadacc' }, !this.isMobile ? (this.layout == 'full-vertical' ? (hAsync("div", { class: "side-panes-wrapper" }, hAsync("div", { class: {
|
|
28273
28310
|
row: true,
|
|
28274
28311
|
'padding-left': this.hasPadding('left'),
|
|
28275
28312
|
'padding-right': this.hasPadding('right'),
|
|
@@ -28605,10 +28642,14 @@ class PushCard {
|
|
|
28605
28642
|
* Expand the card
|
|
28606
28643
|
*/
|
|
28607
28644
|
this.expanded = false;
|
|
28645
|
+
/**
|
|
28646
|
+
* If true, disables hover and active styles and changes cursor to default
|
|
28647
|
+
*/
|
|
28648
|
+
this.passive = false;
|
|
28608
28649
|
}
|
|
28609
28650
|
render() {
|
|
28610
28651
|
var _a;
|
|
28611
|
-
return (hAsync(Host, { key: '
|
|
28652
|
+
return (hAsync(Host, { key: 'f91d2bc149d2358afb29d82de24a0fd4d36ff8da', class: `card-${this.variant}` }, hAsync("ix-card", { key: '22520048301a654e61139c8d6bd50788328861d9', variant: this.variant, passive: this.passive }, hAsync("ix-card-content", { key: 'ff4cdaa22e092861c98cf9af6554626c5d8b067f' }, hAsync("ix-card-title", { key: '63deacdf7535977fd8c7a4f42e45127231ee6475' }, this.icon ? (hAsync("ix-icon", { class: 'icon', name: this.icon, size: "32", "aria-label": this.ariaLabelIcon })) : null, hAsync("ix-typography", { key: '3a86dc49d3cf32c426c231865b1a2336ccad48bf', format: "display-xxl" }, (_a = this.notification) !== null && _a !== void 0 ? _a : 0), hAsync("slot", { key: '19fa42ddfbb9e1dce31842f5eab9ca9652b86701', name: "title-action" })), hAsync("ix-typography", { key: '28a8dd2f112f679f5352fd17bccb0e9996208d80', format: "h4" }, this.heading), hAsync("ix-typography", { key: '6b46c08124d639b71d8c11b8b3fb07c91950b5ed' }, this.subheading)), hAsync("ix-card-accordion", { key: '0812bbb4d460cd89d095aa1eff55e5c37ef52e36', collapse: !this.expanded, variant: this.variant }, hAsync("slot", { key: '2ac082345c8179a97520407d6bc91aac7a3b0a9b' })))));
|
|
28612
28653
|
}
|
|
28613
28654
|
static get style() { return pushCardCss; }
|
|
28614
28655
|
static get cmpMeta() { return {
|
|
@@ -28621,7 +28662,8 @@ class PushCard {
|
|
|
28621
28662
|
"heading": [1],
|
|
28622
28663
|
"subheading": [1],
|
|
28623
28664
|
"variant": [1],
|
|
28624
|
-
"expanded": [4]
|
|
28665
|
+
"expanded": [4],
|
|
28666
|
+
"passive": [4]
|
|
28625
28667
|
},
|
|
28626
28668
|
"$listeners$": undefined,
|
|
28627
28669
|
"$lazyBundleId$": "-",
|
|
@@ -31893,6 +31935,10 @@ class Toast {
|
|
|
31893
31935
|
* Autoclose behavior
|
|
31894
31936
|
*/
|
|
31895
31937
|
this.preventAutoClose = false;
|
|
31938
|
+
/**
|
|
31939
|
+
* Allows to hide the icon in the toast.
|
|
31940
|
+
*/
|
|
31941
|
+
this.hideIcon = false;
|
|
31896
31942
|
this.progress = 0;
|
|
31897
31943
|
this.touched = false;
|
|
31898
31944
|
this.paused = false;
|
|
@@ -31949,11 +31995,11 @@ class Toast {
|
|
|
31949
31995
|
animationPlayState: this.touched || this.paused ? 'paused' : 'running',
|
|
31950
31996
|
};
|
|
31951
31997
|
progressBarClass.push('toast-progress-bar--animated');
|
|
31952
|
-
return (hAsync(Host, { key: '
|
|
31998
|
+
return (hAsync(Host, { key: 'f2f95d77b28639b78e3fb0f82f471d8fba9b3a3d', class: "animate__animated animate__fadeIn" }, hAsync("div", { key: 'c32a7a677f5d7ca00c209355e5af9679ad28fc28', class: "toast-body", onPointerLeave: () => {
|
|
31953
31999
|
this.touched = false;
|
|
31954
32000
|
}, onPointerEnter: () => {
|
|
31955
32001
|
this.touched = true;
|
|
31956
|
-
} }, this.type || this.icon ? (hAsync("div", { class: "toast-icon" }, this.getIcon())) : null, hAsync("div", { key: '
|
|
32002
|
+
} }, (this.type || this.icon) && !this.hideIcon ? (hAsync("div", { class: "toast-icon" }, this.getIcon())) : null, hAsync("div", { key: '853a02c2cedea5b66aabc754699e6aeab69dbb9a', class: "toast-content" }, this.toastTitle ? (hAsync("ix-typography", { class: "toast-title", format: "h5" }, this.toastTitle)) : null, hAsync("div", { key: '35d881b3af41b2400a873ea2e45a0634eb81831f', class: "toast-message" }, hAsync("slot", { key: '9030ed64837f7ee0b4ffc8b9aa36d8553e3a97ae' })), hAsync("div", { key: 'fee8e7ca8620d01f8de665ad80293f44b71879ca', class: "toast-action" }, hAsync("slot", { key: '0b81d513c974da48e77cebc35806ab19f7bc9e6f', name: "action" }))), hAsync("div", { key: '59f3cf1722fc9203cb9602387115019258014c55', class: "toast-close" }, hAsync("ix-icon-button", { key: 'd6dceea9274e9266f9ac36c51546635e954ef963', icon: iconClose, iconColor: "color-soft-text", size: "24", variant: "tertiary", onClick: () => this.closeToast.emit(), "aria-label": this.ariaLabelCloseIconButton }))), !this.preventAutoClose && (hAsync("div", { key: '3530a6781c5f32d787ef1a1b38eb39f98ca26062', class: progressBarClass.join(' '), style: progressBarStyle, onAnimationEnd: () => {
|
|
31957
32003
|
this.close();
|
|
31958
32004
|
}, onTransitionEnd: () => {
|
|
31959
32005
|
if (this.progress === 0) {
|
|
@@ -31973,6 +32019,7 @@ class Toast {
|
|
|
31973
32019
|
"preventAutoClose": [4, "prevent-auto-close"],
|
|
31974
32020
|
"icon": [1],
|
|
31975
32021
|
"iconColor": [1, "icon-color"],
|
|
32022
|
+
"hideIcon": [4, "hide-icon"],
|
|
31976
32023
|
"ariaLabelCloseIconButton": [1, "aria-label-close-icon-button"],
|
|
31977
32024
|
"progress": [32],
|
|
31978
32025
|
"touched": [32],
|
|
@@ -32037,7 +32084,7 @@ class ToastContainer {
|
|
|
32037
32084
|
* @param config
|
|
32038
32085
|
*/
|
|
32039
32086
|
async showToast(config) {
|
|
32040
|
-
var _a, _b;
|
|
32087
|
+
var _a, _b, _c;
|
|
32041
32088
|
const toast = document.createElement('ix-toast');
|
|
32042
32089
|
const onClose = new TypedEvent();
|
|
32043
32090
|
function removeToast(result) {
|
|
@@ -32050,6 +32097,7 @@ class ToastContainer {
|
|
|
32050
32097
|
toast.autoCloseDelay = (_b = config.autoCloseDelay) !== null && _b !== void 0 ? _b : 5000;
|
|
32051
32098
|
toast.icon = config.icon;
|
|
32052
32099
|
toast.iconColor = config.iconColor;
|
|
32100
|
+
toast.hideIcon = (_c = config.hideIcon) !== null && _c !== void 0 ? _c : false;
|
|
32053
32101
|
toast.addEventListener('closeToast', (event) => {
|
|
32054
32102
|
const { detail } = event;
|
|
32055
32103
|
removeToast(detail);
|
|
@@ -32084,10 +32132,10 @@ class ToastContainer {
|
|
|
32084
32132
|
};
|
|
32085
32133
|
}
|
|
32086
32134
|
render() {
|
|
32087
|
-
return (hAsync(Host, { key: '
|
|
32135
|
+
return (hAsync(Host, { key: '11d339600495a1d923de9ee92abdb2b6248ed8b5', class: {
|
|
32088
32136
|
'toast-container--bottom-right': this.position === 'bottom-right',
|
|
32089
32137
|
'toast-container--top-right': this.position === 'top-right',
|
|
32090
|
-
} }, hAsync("slot", { key: '
|
|
32138
|
+
} }, hAsync("slot", { key: 'b942eb55489de1a132d4b7c481fa9b91ddb9657d' })));
|
|
32091
32139
|
}
|
|
32092
32140
|
static get watchers() { return {
|
|
32093
32141
|
"position": ["onPositionChange"]
|