@siemens/ix 1.1.1 → 1.2.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/dist/cjs/index-40761405.js +178 -1
  2. package/dist/cjs/index.cjs.js +3 -3
  3. package/dist/cjs/ix-animated-tab_2.cjs.entry.js +1 -1
  4. package/dist/cjs/ix-category-filter.cjs.entry.js +1 -1
  5. package/dist/cjs/ix-date-picker_2.cjs.entry.js +1 -1
  6. package/dist/cjs/ix-drawer.cjs.entry.js +3 -1
  7. package/dist/cjs/ix-event-list_2.cjs.entry.js +1 -1
  8. package/dist/cjs/ix-icon.cjs.entry.js +4 -4
  9. package/dist/cjs/ix-map-navigation_2.cjs.entry.js +1 -1
  10. package/dist/cjs/ix-menu_9.cjs.entry.js +2 -2
  11. package/dist/cjs/ix-modal_2.cjs.entry.js +2 -2
  12. package/dist/cjs/ix-tab-item.cjs.entry.js +12 -2
  13. package/dist/cjs/ix-tabs.cjs.entry.js +2 -2
  14. package/dist/cjs/ix-toast_2.cjs.entry.js +2 -2
  15. package/dist/cjs/{modal-42934387.js → modal-2112fb71.js} +1 -1
  16. package/dist/cjs/{rwd.util-482d41d4.js → rwd.util-2326824e.js} +2 -2
  17. package/dist/cjs/{typed-event-8f5a32a2.js → typed-event-5030cc6a.js} +3 -3
  18. package/dist/collection/components/blind/blind.js +1 -1
  19. package/dist/collection/components/breadcrumb/breadcrumb.js +1 -1
  20. package/dist/collection/components/chip/chip.js +1 -1
  21. package/dist/collection/components/date-picker/date-picker.js +1 -1
  22. package/dist/collection/components/drawer/drawer.js +4 -2
  23. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  24. package/dist/collection/components/expanding-search/expanding-search.js +1 -1
  25. package/dist/collection/components/filter-chip/filter-chip.js +1 -1
  26. package/dist/collection/components/group/group.js +1 -1
  27. package/dist/collection/components/group-item/group-item.js +1 -1
  28. package/dist/collection/components/icon/icon.js +4 -4
  29. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +1 -1
  30. package/dist/collection/components/menu-avatar/menu-avatar.css +1 -1
  31. package/dist/collection/components/menu-avatar/menu-avatar.js +1 -1
  32. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
  33. package/dist/collection/components/message-bar/message-bar.js +1 -1
  34. package/dist/collection/components/select-item/select-item.js +1 -1
  35. package/dist/collection/components/split-button-item/split-button-item.js +1 -1
  36. package/dist/collection/components/tab-item/tab-item.js +12 -2
  37. package/dist/collection/components/tabs/tabs.js +2 -2
  38. package/dist/collection/components/toast/toast.js +2 -2
  39. package/dist/collection/components/tree/tree.js +1 -1
  40. package/dist/collection/components/utils/rwd.util.js +2 -2
  41. package/dist/collection/components/utils/typed-event.js +3 -3
  42. package/dist/collection/components/workflow-step/workflow-step.js +1 -1
  43. package/dist/components/date-picker.js +1 -1
  44. package/dist/components/icon.js +4 -4
  45. package/dist/components/ix-drawer.js +3 -1
  46. package/dist/components/ix-menu-avatar.js +1 -1
  47. package/dist/components/map-navigation-overlay.js +1 -1
  48. package/dist/components/rwd.util.js +2 -2
  49. package/dist/components/tab-item.js +12 -2
  50. package/dist/components/tabs.js +2 -2
  51. package/dist/components/toast.js +1 -1
  52. package/dist/components/typed-event.js +3 -3
  53. package/dist/esm/index-b22287de.js +178 -1
  54. package/dist/esm/index.js +3 -3
  55. package/dist/esm/ix-animated-tab_2.entry.js +1 -1
  56. package/dist/esm/ix-category-filter.entry.js +1 -1
  57. package/dist/esm/ix-date-picker_2.entry.js +1 -1
  58. package/dist/esm/ix-drawer.entry.js +3 -1
  59. package/dist/esm/ix-event-list_2.entry.js +1 -1
  60. package/dist/esm/ix-icon.entry.js +4 -4
  61. package/dist/esm/ix-map-navigation_2.entry.js +1 -1
  62. package/dist/esm/ix-menu_9.entry.js +2 -2
  63. package/dist/esm/ix-modal_2.entry.js +2 -2
  64. package/dist/esm/ix-tab-item.entry.js +12 -2
  65. package/dist/esm/ix-tabs.entry.js +2 -2
  66. package/dist/esm/ix-toast_2.entry.js +2 -2
  67. package/dist/esm/{modal-f1e45879.js → modal-309a156f.js} +1 -1
  68. package/dist/esm/{rwd.util-33a69d24.js → rwd.util-4a61a4b8.js} +2 -2
  69. package/dist/esm/{typed-event-dd6c83dd.js → typed-event-ab58c27e.js} +3 -3
  70. package/dist/siemens-ix/index.esm.js +1 -1
  71. package/dist/siemens-ix/{p-003b58b3.js → p-2f07c86a.js} +1 -1
  72. package/dist/siemens-ix/{p-8c5948e2.entry.js → p-41e42413.entry.js} +1 -1
  73. package/dist/siemens-ix/{p-6f625f0e.js → p-4944ad0b.js} +0 -0
  74. package/dist/siemens-ix/{p-a4ed41f9.entry.js → p-6e8a38c4.entry.js} +1 -1
  75. package/dist/siemens-ix/p-74e15a57.entry.js +1 -0
  76. package/dist/siemens-ix/{p-fca4a226.entry.js → p-8ee057c1.entry.js} +1 -1
  77. package/dist/siemens-ix/{p-9cc43bf2.entry.js → p-abd3b0f8.entry.js} +1 -1
  78. package/dist/siemens-ix/{p-0a85cdff.entry.js → p-b50dc630.entry.js} +1 -1
  79. package/dist/siemens-ix/{p-0bf04780.js → p-c8cc3bb3.js} +0 -0
  80. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  81. package/package.json +2 -2
  82. package/dist/siemens-ix/p-0419f23d.entry.js +0 -1
@@ -6,7 +6,7 @@
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- import { h } from '@stencil/core';
9
+ import { h, } from '@stencil/core';
10
10
  export class SplitButtonItem {
11
11
  constructor() {
12
12
  this.icon = undefined;
@@ -27,7 +27,7 @@ export class TabItem {
27
27
  stretched: props.layout === 'stretched',
28
28
  bottom: props.placement === 'bottom',
29
29
  top: props.placement === 'top',
30
- circle: props.circle
30
+ circle: props.circle,
31
31
  };
32
32
  }
33
33
  render() {
@@ -39,7 +39,17 @@ export class TabItem {
39
39
  layout: this.layout,
40
40
  placement: this.placement,
41
41
  circle: this.rounded,
42
- }), tabIndex: 0 }, h("div", { class: { circle: this.rounded, text: !this.rounded, selected: this.selected, disabled: this.disabled } }, h("slot", null)), h("div", { class: { counter: true, selected: this.selected, hidden: !(this.rounded && this.counter !== undefined), disabled: this.disabled } }, this.counter)));
42
+ }), tabIndex: 0 }, h("div", { class: {
43
+ circle: this.rounded,
44
+ text: !this.rounded,
45
+ selected: this.selected,
46
+ disabled: this.disabled,
47
+ } }, h("slot", null)), h("div", { class: {
48
+ counter: true,
49
+ selected: this.selected,
50
+ hidden: !(this.rounded && this.counter !== undefined),
51
+ disabled: this.disabled,
52
+ } }, this.counter)));
43
53
  }
44
54
  static get is() { return "ix-tab-item"; }
45
55
  static get originalStyleUrls() {
@@ -86,7 +86,7 @@ export class Tabs {
86
86
  amount = amount > 0 ? 0 : amount < maxScrollWidth ? maxScrollWidth : amount;
87
87
  const styles = [
88
88
  `transform: translateX(${amount}px);`,
89
- click ? `transition: all ease-in-out 400ms;` : '',
89
+ click ? 'transition: all ease-in-out 400ms;' : '',
90
90
  ].join('');
91
91
  tabWrapper.setAttribute('style', styles);
92
92
  if (click)
@@ -114,7 +114,7 @@ export class Tabs {
114
114
  if (!this.showArrows())
115
115
  return;
116
116
  if (event.button > 0)
117
- return; // ignore right click
117
+ return;
118
118
  this.clickAction.timeout =
119
119
  this.clickAction.timeout === null
120
120
  ? setTimeout(() => (this.clickAction.isClick = false), 300)
@@ -6,7 +6,7 @@
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- import { h, Host } from '@stencil/core';
9
+ import { h, Host, } from '@stencil/core';
10
10
  export class Toast {
11
11
  constructor() {
12
12
  this.type = 'info';
@@ -47,7 +47,7 @@ export class Toast {
47
47
  render() {
48
48
  let progressBarElement;
49
49
  let progressBarStyle = {};
50
- const progressBarClass = [`toast-progress-bar`];
50
+ const progressBarClass = ['toast-progress-bar'];
51
51
  if (!this.touched) {
52
52
  progressBarStyle = {
53
53
  animationDuration: `${this.autoCloseDelay}ms`,
@@ -6,7 +6,7 @@
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- import { h, Host } from '@stencil/core';
9
+ import { h, Host, } from '@stencil/core';
10
10
  import Hyperlist from 'hyperlist';
11
11
  import { renderDefaultItem } from '../tree-item/default-tree-item';
12
12
  export class Tree {
@@ -21,9 +21,9 @@ export const convertToAbbreviationString = (num) => {
21
21
  { unit: 't', value: Math.pow(10, 12) },
22
22
  { unit: 'B', value: Math.pow(10, 9) },
23
23
  { unit: 'M', value: Math.pow(10, 6) },
24
- { unit: 'K', value: Math.pow(10, 3) }, // 1000
24
+ { unit: 'K', value: Math.pow(10, 3) },
25
25
  ];
26
- units.some(pow => {
26
+ units.some((pow) => {
27
27
  let formattedNum = Math.abs(num);
28
28
  if (formattedNum >= pow.value) {
29
29
  formattedNum /= pow.value;
@@ -27,16 +27,16 @@ export class TypedEvent {
27
27
  };
28
28
  this.emit = (event) => {
29
29
  /** Update any general listeners */
30
- this.listeners.forEach(listener => listener(event));
30
+ this.listeners.forEach((listener) => listener(event));
31
31
  /** Clear the `once` queue */
32
32
  if (this.listenersOncer.length > 0) {
33
33
  const toCall = this.listenersOncer;
34
34
  this.listenersOncer = [];
35
- toCall.forEach(listener => listener(event));
35
+ toCall.forEach((listener) => listener(event));
36
36
  }
37
37
  };
38
38
  this.pipe = (te) => {
39
- return this.on(e => te.emit(e));
39
+ return this.on((e) => te.emit(e));
40
40
  };
41
41
  }
42
42
  }
@@ -9,7 +9,7 @@
9
9
  /*
10
10
  * COPYRIGHT (c) Siemens AG 2018-2022 ALL RIGHTS RESERVED.
11
11
  */
12
- import { h, Host, Fragment, } from '@stencil/core';
12
+ import { Fragment, h, Host, } from '@stencil/core';
13
13
  export class WorkflowStep {
14
14
  constructor() {
15
15
  this.vertical = false;
@@ -113,7 +113,7 @@ const DatePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
113
113
  weekdays = days.reduce((result, item, index) => {
114
114
  const weekIndex = Math.floor(index / this.daysInWeek);
115
115
  if (!result[weekIndex])
116
- result[weekIndex] = []; // start a new chunk
116
+ result[weekIndex] = [];
117
117
  result[weekIndex].push(item);
118
118
  return result;
119
119
  }, []);
@@ -14,10 +14,10 @@ const Icon = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
14
14
  return (h(Host, { style: {
15
15
  color: this.color ? `var(--theme-${this.color})` : 'inherit',
16
16
  }, class: {
17
- [`size-12`]: this.size === '12',
18
- [`size-16`]: this.size === '16',
19
- [`size-24`]: this.size === '24',
20
- [`size-32`]: this.size === '32',
17
+ ['size-12']: this.size === '12',
18
+ ['size-16']: this.size === '16',
19
+ ['size-24']: this.size === '24',
20
+ ['size-32']: this.size === '32',
21
21
  } }, h("i", { class: {
22
22
  glyph: true,
23
23
  [`glyph-${this.name}`]: true,
@@ -53,7 +53,9 @@ const Drawer = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
53
53
  const target = evt.target;
54
54
  const closestElement = target.closest('#div-container');
55
55
  const btn = target.closest('#drawer-btn');
56
- if (evt.target.type !== "button" && closestElement !== this.divElement && target !== btn) {
56
+ if (evt.target.type !== 'button' &&
57
+ closestElement !== this.divElement &&
58
+ target !== btn) {
57
59
  this.show = false;
58
60
  }
59
61
  }
@@ -5,7 +5,7 @@ import { d as defineCustomElement$4 } from './dropdown-item.js';
5
5
  import { d as defineCustomElement$3 } from './icon.js';
6
6
  import { d as defineCustomElement$2 } from './menu-avatar-item.js';
7
7
 
8
- const menuAvatarCss = ".sc-ix-menu-avatar-h{display:block;position:relative;margin-bottom:0.5rem}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar{display:flex;align-items:center;height:2.5rem;max-height:2.5rem;padding-left:0.25rem;margin-left:0.75rem;margin-right:0.75rem;transition:0.15s;border-radius:1.25rem}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar>svg.sc-ix-menu-avatar{height:2rem;width:2rem;min-height:2rem;min-width:2rem}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar #avatar-path-background.sc-ix-menu-avatar{fill:var(--theme-avatar--background)}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar #avatar-path-person.sc-ix-menu-avatar{fill:var(--theme-avatar--person)}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar .avatar-name.sc-ix-menu-avatar{display:flex;flex-direction:column;overflow:hidden;white-space:nowrap;margin-left:1rem;line-height:1.14}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar .avatar-name.sc-ix-menu-avatar .text-default-single.sc-ix-menu-avatar{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar:not(.disabled):not(:disabled):hover{background-color:var(--theme-avatar-btn--background--hover);color:var(--theme-avatar-btn--color--hover)}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar:not(.disabled):not(:disabled):active{background-color:var(--theme-avatar-btn--background--active);color:var(--theme-avatar-btn--color--active)}";
8
+ const menuAvatarCss = ".sc-ix-menu-avatar-h{display:block;position:relative;margin-bottom:0.5rem}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar{display:flex;align-items:center;height:2.5rem;max-height:2.5rem;padding-left:0.25rem;margin-left:0.75rem;margin-right:0.75rem;transition:0.15s;border-radius:1.25rem}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar>svg.sc-ix-menu-avatar{height:2rem;width:2rem;min-height:2rem;min-width:2rem}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar #avatar-path-background.sc-ix-menu-avatar{fill:var(--theme-avatar--background)}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar #avatar-path-person.sc-ix-menu-avatar{fill:var(--theme-color-4)}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar .avatar-name.sc-ix-menu-avatar{display:flex;flex-direction:column;overflow:hidden;white-space:nowrap;margin-left:1rem;line-height:1.14}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar .avatar-name.sc-ix-menu-avatar .text-default-single.sc-ix-menu-avatar{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar:not(.disabled):not(:disabled):hover{background-color:var(--theme-avatar-btn--background--hover);color:var(--theme-avatar-btn--color--hover)}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar:not(.disabled):not(:disabled):active{background-color:var(--theme-avatar-btn--background--active);color:var(--theme-avatar-btn--color--active)}";
9
9
 
10
10
  const MenuAvatar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
11
11
  constructor() {
@@ -24,7 +24,7 @@ const MapNavigationOverlay = /*@__PURE__*/ proxyCustomElement(class extends HTML
24
24
  easing: 'easeOutSine',
25
25
  begin: () => {
26
26
  this.hostElement.classList.remove('d-none');
27
- }
27
+ },
28
28
  });
29
29
  }
30
30
  closeOverlay() {
@@ -21,9 +21,9 @@ const convertToAbbreviationString = (num) => {
21
21
  { unit: 't', value: Math.pow(10, 12) },
22
22
  { unit: 'B', value: Math.pow(10, 9) },
23
23
  { unit: 'M', value: Math.pow(10, 6) },
24
- { unit: 'K', value: Math.pow(10, 3) }, // 1000
24
+ { unit: 'K', value: Math.pow(10, 3) },
25
25
  ];
26
- units.some(pow => {
26
+ units.some((pow) => {
27
27
  let formattedNum = Math.abs(num);
28
28
  if (formattedNum >= pow.value) {
29
29
  formattedNum /= pow.value;
@@ -24,7 +24,7 @@ const TabItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
24
24
  stretched: props.layout === 'stretched',
25
25
  bottom: props.placement === 'bottom',
26
26
  top: props.placement === 'top',
27
- circle: props.circle
27
+ circle: props.circle,
28
28
  };
29
29
  }
30
30
  render() {
@@ -36,7 +36,17 @@ const TabItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
36
36
  layout: this.layout,
37
37
  placement: this.placement,
38
38
  circle: this.rounded,
39
- }), tabIndex: 0 }, h("div", { class: { circle: this.rounded, text: !this.rounded, selected: this.selected, disabled: this.disabled } }, h("slot", null)), h("div", { class: { counter: true, selected: this.selected, hidden: !(this.rounded && this.counter !== undefined), disabled: this.disabled } }, this.counter)));
39
+ }), tabIndex: 0 }, h("div", { class: {
40
+ circle: this.rounded,
41
+ text: !this.rounded,
42
+ selected: this.selected,
43
+ disabled: this.disabled,
44
+ } }, h("slot", null)), h("div", { class: {
45
+ counter: true,
46
+ selected: this.selected,
47
+ hidden: !(this.rounded && this.counter !== undefined),
48
+ disabled: this.disabled,
49
+ } }, this.counter)));
40
50
  }
41
51
  static get style() { return tabItemCss; }
42
52
  }, [4, "ix-tab-item", {
@@ -83,7 +83,7 @@ const Tabs = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
83
83
  amount = amount > 0 ? 0 : amount < maxScrollWidth ? maxScrollWidth : amount;
84
84
  const styles = [
85
85
  `transform: translateX(${amount}px);`,
86
- click ? `transition: all ease-in-out 400ms;` : '',
86
+ click ? 'transition: all ease-in-out 400ms;' : '',
87
87
  ].join('');
88
88
  tabWrapper.setAttribute('style', styles);
89
89
  if (click)
@@ -111,7 +111,7 @@ const Tabs = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
111
111
  if (!this.showArrows())
112
112
  return;
113
113
  if (event.button > 0)
114
- return; // ignore right click
114
+ return;
115
115
  this.clickAction.timeout =
116
116
  this.clickAction.timeout === null
117
117
  ? setTimeout(() => (this.clickAction.isClick = false), 300)
@@ -47,7 +47,7 @@ const Toast = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
47
47
  render() {
48
48
  let progressBarElement;
49
49
  let progressBarStyle = {};
50
- const progressBarClass = [`toast-progress-bar`];
50
+ const progressBarClass = ['toast-progress-bar'];
51
51
  if (!this.touched) {
52
52
  progressBarStyle = {
53
53
  animationDuration: `${this.autoCloseDelay}ms`,
@@ -27,16 +27,16 @@ class TypedEvent {
27
27
  };
28
28
  this.emit = (event) => {
29
29
  /** Update any general listeners */
30
- this.listeners.forEach(listener => listener(event));
30
+ this.listeners.forEach((listener) => listener(event));
31
31
  /** Clear the `once` queue */
32
32
  if (this.listenersOncer.length > 0) {
33
33
  const toCall = this.listenersOncer;
34
34
  this.listenersOncer = [];
35
- toCall.forEach(listener => listener(event));
35
+ toCall.forEach((listener) => listener(event));
36
36
  }
37
37
  };
38
38
  this.pipe = (te) => {
39
- return this.on(e => te.emit(e));
39
+ return this.on((e) => te.emit(e));
40
40
  };
41
41
  }
42
42
  }
@@ -1930,7 +1930,184 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1930
1930
  if (module) {
1931
1931
  return module[exportName];
1932
1932
  }
1933
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
1933
+
1934
+ if (!hmrVersionId || !BUILD.hotModuleReplacement) {
1935
+ const processMod = importedModule => {
1936
+ cmpModules.set(bundleId, importedModule);
1937
+ return importedModule[exportName];
1938
+ }
1939
+ switch(bundleId) {
1940
+
1941
+ case 'ix-application-header':
1942
+ return import(
1943
+ /* webpackMode: "lazy" */
1944
+ './ix-application-header.entry.js').then(processMod, consoleError);
1945
+ case 'ix-basic-navigation':
1946
+ return import(
1947
+ /* webpackMode: "lazy" */
1948
+ './ix-basic-navigation.entry.js').then(processMod, consoleError);
1949
+ case 'ix-blind':
1950
+ return import(
1951
+ /* webpackMode: "lazy" */
1952
+ './ix-blind.entry.js').then(processMod, consoleError);
1953
+ case 'ix-button':
1954
+ return import(
1955
+ /* webpackMode: "lazy" */
1956
+ './ix-button.entry.js').then(processMod, consoleError);
1957
+ case 'ix-category-filter':
1958
+ return import(
1959
+ /* webpackMode: "lazy" */
1960
+ './ix-category-filter.entry.js').then(processMod, consoleError);
1961
+ case 'ix-chip':
1962
+ return import(
1963
+ /* webpackMode: "lazy" */
1964
+ './ix-chip.entry.js').then(processMod, consoleError);
1965
+ case 'ix-counter-pill':
1966
+ return import(
1967
+ /* webpackMode: "lazy" */
1968
+ './ix-counter-pill.entry.js').then(processMod, consoleError);
1969
+ case 'ix-drawer':
1970
+ return import(
1971
+ /* webpackMode: "lazy" */
1972
+ './ix-drawer.entry.js').then(processMod, consoleError);
1973
+ case 'ix-expanding-search':
1974
+ return import(
1975
+ /* webpackMode: "lazy" */
1976
+ './ix-expanding-search.entry.js').then(processMod, consoleError);
1977
+ case 'ix-filter-chip':
1978
+ return import(
1979
+ /* webpackMode: "lazy" */
1980
+ './ix-filter-chip.entry.js').then(processMod, consoleError);
1981
+ case 'ix-icon':
1982
+ return import(
1983
+ /* webpackMode: "lazy" */
1984
+ './ix-icon.entry.js').then(processMod, consoleError);
1985
+ case 'ix-icon-button':
1986
+ return import(
1987
+ /* webpackMode: "lazy" */
1988
+ './ix-icon-button.entry.js').then(processMod, consoleError);
1989
+ case 'ix-input-group':
1990
+ return import(
1991
+ /* webpackMode: "lazy" */
1992
+ './ix-input-group.entry.js').then(processMod, consoleError);
1993
+ case 'ix-message-bar':
1994
+ return import(
1995
+ /* webpackMode: "lazy" */
1996
+ './ix-message-bar.entry.js').then(processMod, consoleError);
1997
+ case 'ix-pill':
1998
+ return import(
1999
+ /* webpackMode: "lazy" */
2000
+ './ix-pill.entry.js').then(processMod, consoleError);
2001
+ case 'ix-spinner':
2002
+ return import(
2003
+ /* webpackMode: "lazy" */
2004
+ './ix-spinner.entry.js').then(processMod, consoleError);
2005
+ case 'ix-tile':
2006
+ return import(
2007
+ /* webpackMode: "lazy" */
2008
+ './ix-tile.entry.js').then(processMod, consoleError);
2009
+ case 'ix-toggle':
2010
+ return import(
2011
+ /* webpackMode: "lazy" */
2012
+ './ix-toggle.entry.js').then(processMod, consoleError);
2013
+ case 'ix-upload':
2014
+ return import(
2015
+ /* webpackMode: "lazy" */
2016
+ './ix-upload.entry.js').then(processMod, consoleError);
2017
+ case 'ix-animated-tab_2':
2018
+ return import(
2019
+ /* webpackMode: "lazy" */
2020
+ './ix-animated-tab_2.entry.js').then(processMod, consoleError);
2021
+ case 'ix-breadcrumb_2':
2022
+ return import(
2023
+ /* webpackMode: "lazy" */
2024
+ './ix-breadcrumb_2.entry.js').then(processMod, consoleError);
2025
+ case 'ix-dropdown_2':
2026
+ return import(
2027
+ /* webpackMode: "lazy" */
2028
+ './ix-dropdown_2.entry.js').then(processMod, consoleError);
2029
+ case 'ix-event-list_2':
2030
+ return import(
2031
+ /* webpackMode: "lazy" */
2032
+ './ix-event-list_2.entry.js').then(processMod, consoleError);
2033
+ case 'ix-flip-tile_2':
2034
+ return import(
2035
+ /* webpackMode: "lazy" */
2036
+ './ix-flip-tile_2.entry.js').then(processMod, consoleError);
2037
+ case 'ix-map-navigation_2':
2038
+ return import(
2039
+ /* webpackMode: "lazy" */
2040
+ './ix-map-navigation_2.entry.js').then(processMod, consoleError);
2041
+ case 'ix-modal_2':
2042
+ return import(
2043
+ /* webpackMode: "lazy" */
2044
+ './ix-modal_2.entry.js').then(processMod, consoleError);
2045
+ case 'ix-select_2':
2046
+ return import(
2047
+ /* webpackMode: "lazy" */
2048
+ './ix-select_2.entry.js').then(processMod, consoleError);
2049
+ case 'ix-split-button_2':
2050
+ return import(
2051
+ /* webpackMode: "lazy" */
2052
+ './ix-split-button_2.entry.js').then(processMod, consoleError);
2053
+ case 'ix-toast_2':
2054
+ return import(
2055
+ /* webpackMode: "lazy" */
2056
+ './ix-toast_2.entry.js').then(processMod, consoleError);
2057
+ case 'ix-tree_2':
2058
+ return import(
2059
+ /* webpackMode: "lazy" */
2060
+ './ix-tree_2.entry.js').then(processMod, consoleError);
2061
+ case 'ix-workflow-step_2':
2062
+ return import(
2063
+ /* webpackMode: "lazy" */
2064
+ './ix-workflow-step_2.entry.js').then(processMod, consoleError);
2065
+ case 'ix-group_3':
2066
+ return import(
2067
+ /* webpackMode: "lazy" */
2068
+ './ix-group_3.entry.js').then(processMod, consoleError);
2069
+ case 'ix-menu_9':
2070
+ return import(
2071
+ /* webpackMode: "lazy" */
2072
+ './ix-menu_9.entry.js').then(processMod, consoleError);
2073
+ case 'ix-datetime-picker':
2074
+ return import(
2075
+ /* webpackMode: "lazy" */
2076
+ './ix-datetime-picker.entry.js').then(processMod, consoleError);
2077
+ case 'ix-kpi':
2078
+ return import(
2079
+ /* webpackMode: "lazy" */
2080
+ './ix-kpi.entry.js').then(processMod, consoleError);
2081
+ case 'ix-modal-example':
2082
+ return import(
2083
+ /* webpackMode: "lazy" */
2084
+ './ix-modal-example.entry.js').then(processMod, consoleError);
2085
+ case 'ix-validation-tooltip':
2086
+ return import(
2087
+ /* webpackMode: "lazy" */
2088
+ './ix-validation-tooltip.entry.js').then(processMod, consoleError);
2089
+ case 'my-component':
2090
+ return import(
2091
+ /* webpackMode: "lazy" */
2092
+ './my-component.entry.js').then(processMod, consoleError);
2093
+ case 'ix-date-picker_2':
2094
+ return import(
2095
+ /* webpackMode: "lazy" */
2096
+ './ix-date-picker_2.entry.js').then(processMod, consoleError);
2097
+ case 'ix-tab-item':
2098
+ return import(
2099
+ /* webpackMode: "lazy" */
2100
+ './ix-tab-item.entry.js').then(processMod, consoleError);
2101
+ case 'ix-tabs':
2102
+ return import(
2103
+ /* webpackMode: "lazy" */
2104
+ './ix-tabs.entry.js').then(processMod, consoleError);
2105
+ case 'ix-date-time-card':
2106
+ return import(
2107
+ /* webpackMode: "lazy" */
2108
+ './ix-date-time-card.entry.js').then(processMod, consoleError);
2109
+ }
2110
+ }
1934
2111
  return import(
1935
2112
  /* @vite-ignore */
1936
2113
  /* webpackInclude: /\.entry\.js$/ */
package/dist/esm/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  export { I as InputState, L as LogicalFilterOperator } from './logical-filter-operator-1bf83315.js';
2
2
  export { F as FlipTileState } from './flip-tile-state-28a1f8ce.js';
3
- export { a as Modal, M as ModalContainer } from './modal-f1e45879.js';
4
- export { c as convertToAbbreviationString, a as convertToRemString } from './rwd.util-33a69d24.js';
3
+ export { a as Modal, M as ModalContainer } from './modal-309a156f.js';
4
+ export { c as convertToAbbreviationString, a as convertToRemString } from './rwd.util-4a61a4b8.js';
5
5
  export { c as closeModal, d as dismissModal, m as modal } from './modal-utils-ec39c1bc.js';
6
6
  export { r as renderDefaultItem } from './default-tree-item-638c435a.js';
7
7
  export { U as UploadFileState } from './upload-file-state-631bb8a2.js';
8
8
  import './index-b22287de.js';
9
- import './typed-event-dd6c83dd.js';
9
+ import './typed-event-ab58c27e.js';
10
10
  import './anime.es-185e9087.js';
11
11
  import './animation-b667a4c4.js';
12
12
 
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h, H as Host, c as createEvent, g as getElement } from './index-b22287de.js';
2
2
  import { a as anime } from './anime.es-185e9087.js';
3
3
  import { A as Animation } from './animation-b667a4c4.js';
4
- import { c as convertToAbbreviationString } from './rwd.util-33a69d24.js';
4
+ import { c as convertToAbbreviationString } from './rwd.util-4a61a4b8.js';
5
5
 
6
6
  const animatedTabCss = ".sc-ix-animated-tab-h{display:block;height:100%;width:100%;position:absolute}";
7
7
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b22287de.js';
2
- import { a as convertToRemString } from './rwd.util-33a69d24.js';
2
+ import { a as convertToRemString } from './rwd.util-4a61a4b8.js';
3
3
  import { L as LogicalFilterOperator, I as InputState } from './logical-filter-operator-1bf83315.js';
4
4
 
5
5
  const categoryFilterCss = ".sc-ix-category-filter-h{display:block;position:relative}.sc-ix-category-filter-h .focus.sc-ix-category-filter{border-color:var(--theme-color-primary);box-shadow:0 0 0.25rem 0 var(--theme-color-primary) !important}.sc-ix-category-filter-h .btn-close.sc-ix-category-filter{position:absolute;top:0.25rem;right:0.25rem;min-width:1.5rem;width:1.5rem;height:1.5rem}.sc-ix-category-filter-h .input-container.sc-ix-category-filter{display:flex;height:100%;max-height:3.75rem;padding:1px 1.5rem 1px 2rem}.sc-ix-category-filter-h .input-container.no-icon.sc-ix-category-filter{padding-left:0.25rem}.sc-ix-category-filter-h .token-container.sc-ix-category-filter{flex-grow:1;overflow:hidden}.sc-ix-category-filter-h .text-input.sc-ix-category-filter{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);background:transparent;flex-grow:1;height:1.75rem}.sc-ix-category-filter-h .text-input.sc-ix-category-filter,.sc-ix-category-filter-h .text-input.sc-ix-category-filter:hover,.sc-ix-category-filter-h .text-input.sc-ix-category-filter:focus-visible{border:none;outline:none}.sc-ix-category-filter-h .text-input.hide-placeholder.sc-ix-category-filter::-moz-placeholder{opacity:0}.sc-ix-category-filter-h .text-input.hide-placeholder.sc-ix-category-filter::placeholder{opacity:0}.sc-ix-category-filter-h .list-unstyled.sc-ix-category-filter{display:flex;flex-wrap:wrap;list-style:none;padding:0;margin:0;overflow-y:auto}.sc-ix-category-filter-h ix-icon.sc-ix-category-filter{position:absolute;top:0.5rem;left:0.5rem}.sc-ix-category-filter-h ix-filter-chip.sc-ix-category-filter{margin-right:0.5rem}.sc-ix-category-filter-h .category-preview.sc-ix-category-filter{display:flex;align-items:center;height:1.5rem;background-color:var(--theme-bg-3);border-top-left-radius:1rem;border-bottom-left-radius:1rem;padding:0.5rem;margin:2px 0}.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter{box-shadow:var(--theme-box-shadow-level-1);background:var(--theme-color-1);position:absolute;top:2rem;overflow-y:auto;min-width:10rem;border:var(--theme-std-bdr-1);border-radius:0.25rem;padding:0.5rem;z-index:1}.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter .category-item.sc-ix-category-filter,.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter .category-item-header.sc-ix-category-filter{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.143em;color:var(--theme-color-std-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:2rem;padding:0.5rem}.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter .category-item-header.sc-ix-category-filter{color:var(--theme-color-soft-text)}.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter .category-item-id.sc-ix-category-filter{border-top-left-radius:1rem;border-bottom-left-radius:1rem}.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter .category-item-value.sc-ix-category-filter{border-top-right-radius:1rem;border-bottom-right-radius:1rem}.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter .category-item.sc-ix-category-filter{cursor:pointer}.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter .category-item.sc-ix-category-filter:focus{background-color:var(--theme-generic-bg-active);outline:none}.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter .plain-text-suggestion.sc-ix-category-filter{border-radius:1rem}.sc-ix-category-filter-h ul.sc-ix-category-filter{height:100%}.sc-ix-category-filter-h ul.sc-ix-category-filter>li.sc-ix-category-filter,.sc-ix-category-filter-h input.sc-ix-category-filter{padding-top:2px;padding-bottom:2px}";
@@ -8688,7 +8688,7 @@ const DatePicker = class {
8688
8688
  weekdays = days.reduce((result, item, index) => {
8689
8689
  const weekIndex = Math.floor(index / this.daysInWeek);
8690
8690
  if (!result[weekIndex])
8691
- result[weekIndex] = []; // start a new chunk
8691
+ result[weekIndex] = [];
8692
8692
  result[weekIndex].push(item);
8693
8693
  return result;
8694
8694
  }, []);
@@ -50,7 +50,9 @@ const Drawer = class {
50
50
  const target = evt.target;
51
51
  const closestElement = target.closest('#div-container');
52
52
  const btn = target.closest('#drawer-btn');
53
- if (evt.target.type !== "button" && closestElement !== this.divElement && target !== btn) {
53
+ if (evt.target.type !== 'button' &&
54
+ closestElement !== this.divElement &&
55
+ target !== btn) {
54
56
  this.show = false;
55
57
  }
56
58
  }
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-b22287de.js';
2
2
  import { c as createMutationObserver } from './mutation-observer-379959bb.js';
3
- import { a as convertToRemString } from './rwd.util-33a69d24.js';
3
+ import { a as convertToRemString } from './rwd.util-4a61a4b8.js';
4
4
 
5
5
  const eventListCss = ".sc-ix-event-list-h{display:block;position:relative}ul.sc-ix-event-list{list-style:none;padding:0;margin-bottom:0}.sc-ix-event-list-s>.sc-ix-event-list-h:not(.item-size-s) .ix-event-list-item,.sc-ix-event-list-h:not(.item-size-l) .ix-event-list-item.sc-ix-event-list{display:none}.sc-ix-event-list-h.chevron .sc-ix-event-list-s .ix-event-list-item .chevron-icon{display:initial}.item-size-l .sc-ix-event-list-s .ix-event-list-item{height:6.5rem;max-height:6.5rem}.item-size-l .sc-ix-event-list-s .ix-event-list-item .event-content{height:6.5rem;max-height:6.5rem;white-space:normal}.compact .sc-ix-event-list-s .ix-event-list-item{margin-bottom:0px;border-radius:0px}.compact .sc-ix-event-list-s .ix-event-list-item .indicator{border-top-left-radius:0px;border-bottom-left-radius:0px}.compact .sc-ix-event-list-s .ix-event-list-item .event-list-item-container{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.compact.sc-ix-event-list .compact.sc-ix-event-list:not(:last-child) .event-list-item-container.sc-ix-event-list{border-bottom:none}";
6
6
 
@@ -13,10 +13,10 @@ const Icon = class {
13
13
  return (h(Host, { style: {
14
14
  color: this.color ? `var(--theme-${this.color})` : 'inherit',
15
15
  }, class: {
16
- [`size-12`]: this.size === '12',
17
- [`size-16`]: this.size === '16',
18
- [`size-24`]: this.size === '24',
19
- [`size-32`]: this.size === '32',
16
+ ['size-12']: this.size === '12',
17
+ ['size-16']: this.size === '16',
18
+ ['size-24']: this.size === '24',
19
+ ['size-32']: this.size === '32',
20
20
  } }, h("i", { class: {
21
21
  glyph: true,
22
22
  [`glyph-${this.name}`]: true,
@@ -160,7 +160,7 @@ const MapNavigationOverlay = class {
160
160
  easing: 'easeOutSine',
161
161
  begin: () => {
162
162
  this.hostElement.classList.remove('d-none');
163
- }
163
+ },
164
164
  });
165
165
  }
166
166
  closeOverlay() {
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, f as forceUpdate } from './index-b22287de.js';
2
- import { a as convertToRemString } from './rwd.util-33a69d24.js';
2
+ import { a as convertToRemString } from './rwd.util-4a61a4b8.js';
3
3
 
4
4
  /*
5
5
  * SPDX-FileCopyrightText: 2022 Siemens AG
@@ -666,7 +666,7 @@ const MenuAboutNews = class {
666
666
  };
667
667
  MenuAboutNews.style = menuAboutNewsCss;
668
668
 
669
- const menuAvatarCss = ".sc-ix-menu-avatar-h{display:block;position:relative;margin-bottom:0.5rem}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar{display:flex;align-items:center;height:2.5rem;max-height:2.5rem;padding-left:0.25rem;margin-left:0.75rem;margin-right:0.75rem;transition:0.15s;border-radius:1.25rem}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar>svg.sc-ix-menu-avatar{height:2rem;width:2rem;min-height:2rem;min-width:2rem}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar #avatar-path-background.sc-ix-menu-avatar{fill:var(--theme-avatar--background)}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar #avatar-path-person.sc-ix-menu-avatar{fill:var(--theme-avatar--person)}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar .avatar-name.sc-ix-menu-avatar{display:flex;flex-direction:column;overflow:hidden;white-space:nowrap;margin-left:1rem;line-height:1.14}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar .avatar-name.sc-ix-menu-avatar .text-default-single.sc-ix-menu-avatar{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar:not(.disabled):not(:disabled):hover{background-color:var(--theme-avatar-btn--background--hover);color:var(--theme-avatar-btn--color--hover)}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar:not(.disabled):not(:disabled):active{background-color:var(--theme-avatar-btn--background--active);color:var(--theme-avatar-btn--color--active)}";
669
+ const menuAvatarCss = ".sc-ix-menu-avatar-h{display:block;position:relative;margin-bottom:0.5rem}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar{display:flex;align-items:center;height:2.5rem;max-height:2.5rem;padding-left:0.25rem;margin-left:0.75rem;margin-right:0.75rem;transition:0.15s;border-radius:1.25rem}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar>svg.sc-ix-menu-avatar{height:2rem;width:2rem;min-height:2rem;min-width:2rem}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar #avatar-path-background.sc-ix-menu-avatar{fill:var(--theme-avatar--background)}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar #avatar-path-person.sc-ix-menu-avatar{fill:var(--theme-color-4)}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar .avatar-name.sc-ix-menu-avatar{display:flex;flex-direction:column;overflow:hidden;white-space:nowrap;margin-left:1rem;line-height:1.14}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar .avatar-name.sc-ix-menu-avatar .text-default-single.sc-ix-menu-avatar{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar:not(.disabled):not(:disabled):hover{background-color:var(--theme-avatar-btn--background--hover);color:var(--theme-avatar-btn--color--hover)}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-menu-avatar-h .avatar.sc-ix-menu-avatar:not(.disabled):not(:disabled):active{background-color:var(--theme-avatar-btn--background--active);color:var(--theme-avatar-btn--color--active)}";
670
670
 
671
671
  const MenuAvatar = class {
672
672
  constructor(hostRef) {
@@ -1,5 +1,5 @@
1
- export { a as ix_modal, M as ix_modal_container } from './modal-f1e45879.js';
1
+ export { a as ix_modal, M as ix_modal_container } from './modal-309a156f.js';
2
2
  import './index-b22287de.js';
3
- import './typed-event-dd6c83dd.js';
3
+ import './typed-event-ab58c27e.js';
4
4
  import './anime.es-185e9087.js';
5
5
  import './animation-b667a4c4.js';
@@ -23,7 +23,7 @@ const TabItem = class {
23
23
  stretched: props.layout === 'stretched',
24
24
  bottom: props.placement === 'bottom',
25
25
  top: props.placement === 'top',
26
- circle: props.circle
26
+ circle: props.circle,
27
27
  };
28
28
  }
29
29
  render() {
@@ -35,7 +35,17 @@ const TabItem = class {
35
35
  layout: this.layout,
36
36
  placement: this.placement,
37
37
  circle: this.rounded,
38
- }), tabIndex: 0 }, h("div", { class: { circle: this.rounded, text: !this.rounded, selected: this.selected, disabled: this.disabled } }, h("slot", null)), h("div", { class: { counter: true, selected: this.selected, hidden: !(this.rounded && this.counter !== undefined), disabled: this.disabled } }, this.counter)));
38
+ }), tabIndex: 0 }, h("div", { class: {
39
+ circle: this.rounded,
40
+ text: !this.rounded,
41
+ selected: this.selected,
42
+ disabled: this.disabled,
43
+ } }, h("slot", null)), h("div", { class: {
44
+ counter: true,
45
+ selected: this.selected,
46
+ hidden: !(this.rounded && this.counter !== undefined),
47
+ disabled: this.disabled,
48
+ } }, this.counter)));
39
49
  }
40
50
  };
41
51
  TabItem.style = tabItemCss;