@siemens/ix 1.3.0 → 1.4.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 (219) hide show
  1. package/dist/cjs/{index-17eb8998.js → index-f4b8e6ee.js} +54 -1
  2. package/dist/cjs/index.cjs.js +2 -2
  3. package/dist/cjs/ix-animated-tab_2.cjs.entry.js +1 -1
  4. package/dist/cjs/ix-application-header.cjs.entry.js +2 -2
  5. package/dist/cjs/ix-basic-navigation.cjs.entry.js +1 -1
  6. package/dist/cjs/ix-blind.cjs.entry.js +2 -2
  7. package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +1 -1
  8. package/dist/cjs/ix-button.cjs.entry.js +1 -1
  9. package/dist/cjs/ix-category-filter.cjs.entry.js +85 -116
  10. package/dist/cjs/ix-chip.cjs.entry.js +1 -1
  11. package/dist/cjs/ix-counter-pill.cjs.entry.js +1 -1
  12. package/dist/cjs/ix-date-picker_2.cjs.entry.js +4 -4
  13. package/dist/cjs/ix-date-time-card.cjs.entry.js +1 -1
  14. package/dist/cjs/ix-datetime-picker.cjs.entry.js +1 -1
  15. package/dist/cjs/ix-drawer.cjs.entry.js +1 -1
  16. package/dist/cjs/ix-dropdown-button.cjs.entry.js +1 -1
  17. package/dist/cjs/ix-dropdown_2.cjs.entry.js +1 -1
  18. package/dist/cjs/ix-event-list_2.cjs.entry.js +2 -2
  19. package/dist/cjs/ix-expanding-search.cjs.entry.js +1 -1
  20. package/dist/cjs/ix-filter-chip.cjs.entry.js +1 -1
  21. package/dist/cjs/ix-flip-tile_2.cjs.entry.js +1 -1
  22. package/dist/cjs/ix-group-context-menu.cjs.entry.js +1 -1
  23. package/dist/cjs/ix-group_3.cjs.entry.js +1 -1
  24. package/dist/cjs/ix-icon-button.cjs.entry.js +1 -1
  25. package/dist/cjs/ix-icon.cjs.entry.js +1 -1
  26. package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
  27. package/dist/cjs/ix-kpi.cjs.entry.js +1 -1
  28. package/dist/cjs/ix-map-navigation_2.cjs.entry.js +2 -2
  29. package/dist/cjs/ix-menu_9.cjs.entry.js +3 -3
  30. package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
  31. package/dist/cjs/ix-modal-example.cjs.entry.js +1 -1
  32. package/dist/cjs/ix-modal_2.cjs.entry.js +2 -2
  33. package/dist/cjs/ix-pill.cjs.entry.js +1 -1
  34. package/dist/cjs/ix-select_2.cjs.entry.js +1 -1
  35. package/dist/cjs/ix-spinner.cjs.entry.js +1 -1
  36. package/dist/cjs/ix-split-button_2.cjs.entry.js +6 -4
  37. package/dist/cjs/ix-tab-item.cjs.entry.js +1 -1
  38. package/dist/cjs/ix-tabs.cjs.entry.js +1 -1
  39. package/dist/cjs/ix-tile.cjs.entry.js +1 -1
  40. package/dist/cjs/ix-toast_2.cjs.entry.js +1 -1
  41. package/dist/cjs/ix-toggle.cjs.entry.js +1 -1
  42. package/dist/cjs/ix-tree_2.cjs.entry.js +1 -1
  43. package/dist/cjs/ix-upload.cjs.entry.js +1 -1
  44. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +1 -1
  45. package/dist/cjs/ix-workflow-step_2.cjs.entry.js +1 -1
  46. package/dist/cjs/loader.cjs.js +2 -2
  47. package/dist/cjs/{modal-dda2f6be.js → modal-2d0f9191.js} +1 -1
  48. package/dist/cjs/my-component.cjs.entry.js +1 -1
  49. package/dist/cjs/siemens-ix.cjs.js +2 -2
  50. package/dist/collection/components/application-header/application-header.css +3 -1
  51. package/dist/collection/components/blind/blind.css +0 -1
  52. package/dist/collection/components/category-filter/category-filter.css +31 -44
  53. package/dist/collection/components/category-filter/category-filter.js +85 -131
  54. package/dist/collection/components/date-picker/date-picker.js +3 -3
  55. package/dist/collection/components/event-list-item/event-list-item.css +4 -0
  56. package/dist/collection/components/map-navigation/map-navigation.css +2 -1
  57. package/dist/collection/components/menu-about-news/menu-about-news.css +10 -14
  58. package/dist/collection/components/menu-about-news/menu-about-news.js +1 -1
  59. package/dist/collection/components/split-button/split-button.css +10 -1
  60. package/dist/collection/components/split-button/split-button.js +4 -2
  61. package/dist/components/application-header.js +1 -1
  62. package/dist/components/date-picker.js +3 -3
  63. package/dist/components/ix-blind.js +1 -1
  64. package/dist/components/ix-category-filter.js +94 -123
  65. package/dist/components/ix-event-list-item.js +1 -1
  66. package/dist/components/ix-map-navigation.js +1 -1
  67. package/dist/components/ix-menu-about-news.js +2 -2
  68. package/dist/components/ix-split-button.js +5 -3
  69. package/dist/esm/{index-6f4f3582.js → index-6b660a23.js} +54 -1
  70. package/dist/esm/index.js +2 -2
  71. package/dist/esm/ix-animated-tab_2.entry.js +1 -1
  72. package/dist/esm/ix-application-header.entry.js +2 -2
  73. package/dist/esm/ix-basic-navigation.entry.js +1 -1
  74. package/dist/esm/ix-blind.entry.js +2 -2
  75. package/dist/esm/ix-breadcrumb_2.entry.js +1 -1
  76. package/dist/esm/ix-button.entry.js +1 -1
  77. package/dist/esm/ix-category-filter.entry.js +85 -116
  78. package/dist/esm/ix-chip.entry.js +1 -1
  79. package/dist/esm/ix-counter-pill.entry.js +1 -1
  80. package/dist/esm/ix-date-picker_2.entry.js +4 -4
  81. package/dist/esm/ix-date-time-card.entry.js +1 -1
  82. package/dist/esm/ix-datetime-picker.entry.js +1 -1
  83. package/dist/esm/ix-drawer.entry.js +1 -1
  84. package/dist/esm/ix-dropdown-button.entry.js +1 -1
  85. package/dist/esm/ix-dropdown_2.entry.js +1 -1
  86. package/dist/esm/ix-event-list_2.entry.js +2 -2
  87. package/dist/esm/ix-expanding-search.entry.js +1 -1
  88. package/dist/esm/ix-filter-chip.entry.js +1 -1
  89. package/dist/esm/ix-flip-tile_2.entry.js +1 -1
  90. package/dist/esm/ix-group-context-menu.entry.js +1 -1
  91. package/dist/esm/ix-group_3.entry.js +1 -1
  92. package/dist/esm/ix-icon-button.entry.js +1 -1
  93. package/dist/esm/ix-icon.entry.js +1 -1
  94. package/dist/esm/ix-input-group.entry.js +1 -1
  95. package/dist/esm/ix-kpi.entry.js +1 -1
  96. package/dist/esm/ix-map-navigation_2.entry.js +2 -2
  97. package/dist/esm/ix-menu_9.entry.js +3 -3
  98. package/dist/esm/ix-message-bar.entry.js +1 -1
  99. package/dist/esm/ix-modal-example.entry.js +1 -1
  100. package/dist/esm/ix-modal_2.entry.js +2 -2
  101. package/dist/esm/ix-pill.entry.js +1 -1
  102. package/dist/esm/ix-select_2.entry.js +1 -1
  103. package/dist/esm/ix-spinner.entry.js +1 -1
  104. package/dist/esm/ix-split-button_2.entry.js +6 -4
  105. package/dist/esm/ix-tab-item.entry.js +1 -1
  106. package/dist/esm/ix-tabs.entry.js +1 -1
  107. package/dist/esm/ix-tile.entry.js +1 -1
  108. package/dist/esm/ix-toast_2.entry.js +1 -1
  109. package/dist/esm/ix-toggle.entry.js +1 -1
  110. package/dist/esm/ix-tree_2.entry.js +1 -1
  111. package/dist/esm/ix-upload.entry.js +1 -1
  112. package/dist/esm/ix-validation-tooltip.entry.js +1 -1
  113. package/dist/esm/ix-workflow-step_2.entry.js +1 -1
  114. package/dist/esm/loader.js +2 -2
  115. package/dist/esm/{modal-df0a62f2.js → modal-3618eb44.js} +1 -1
  116. package/dist/esm/my-component.entry.js +1 -1
  117. package/dist/esm/siemens-ix.js +2 -2
  118. package/dist/siemens-ix/index.esm.js +1 -1
  119. package/dist/siemens-ix/{p-4b170382.entry.js → p-082bbe13.entry.js} +1 -1
  120. package/dist/siemens-ix/{p-418e2d14.entry.js → p-098e22c3.entry.js} +1 -1
  121. package/dist/siemens-ix/{p-43616759.entry.js → p-0bc4408b.entry.js} +1 -1
  122. package/dist/siemens-ix/{p-7f842cdc.entry.js → p-0d619f3e.entry.js} +1 -1
  123. package/dist/siemens-ix/{p-2e24ae23.entry.js → p-10158414.entry.js} +1 -1
  124. package/dist/siemens-ix/{p-3663f989.entry.js → p-122cf38d.entry.js} +1 -1
  125. package/dist/siemens-ix/{p-e7621b0a.entry.js → p-1d48ce36.entry.js} +1 -1
  126. package/dist/siemens-ix/{p-2bd88760.entry.js → p-2c8e4dd1.entry.js} +1 -1
  127. package/dist/siemens-ix/{p-e2925222.entry.js → p-3624a41c.entry.js} +1 -1
  128. package/dist/siemens-ix/{p-218de283.entry.js → p-3c754d90.entry.js} +1 -1
  129. package/dist/siemens-ix/{p-ea333007.entry.js → p-3cc4df65.entry.js} +1 -1
  130. package/dist/siemens-ix/{p-4fcb5f2b.entry.js → p-404e81d2.entry.js} +1 -1
  131. package/dist/siemens-ix/p-4ac5d916.entry.js +1 -0
  132. package/dist/siemens-ix/{p-f7be9635.entry.js → p-50ed9d54.entry.js} +1 -1
  133. package/dist/siemens-ix/{p-23d79e3d.entry.js → p-55663fd5.entry.js} +1 -1
  134. package/dist/siemens-ix/{p-eb150313.entry.js → p-560cfce8.entry.js} +1 -1
  135. package/dist/siemens-ix/{p-18d02e6f.entry.js → p-5890faf9.entry.js} +1 -1
  136. package/dist/siemens-ix/{p-eed28e55.entry.js → p-60b90da6.entry.js} +1 -1
  137. package/dist/siemens-ix/p-66074788.js +2 -0
  138. package/dist/siemens-ix/{p-a5fa7ae5.entry.js → p-6637ae65.entry.js} +1 -1
  139. package/dist/siemens-ix/{p-33283dbf.entry.js → p-67cf5cd4.entry.js} +1 -1
  140. package/dist/siemens-ix/{p-c3e90c06.entry.js → p-6be65050.entry.js} +1 -1
  141. package/dist/siemens-ix/p-6df18451.entry.js +1 -0
  142. package/dist/siemens-ix/{p-8b4e4718.entry.js → p-70bd3dbf.entry.js} +1 -1
  143. package/dist/siemens-ix/{p-fecf0ade.entry.js → p-72cfbc1c.entry.js} +1 -1
  144. package/dist/siemens-ix/p-783ce87b.entry.js +1 -0
  145. package/dist/siemens-ix/{p-dec6114f.js → p-8c3bfc2f.js} +1 -1
  146. package/dist/siemens-ix/{p-d0bb8225.entry.js → p-8c53c142.entry.js} +1 -1
  147. package/dist/siemens-ix/{p-8a7141a6.entry.js → p-921da56a.entry.js} +1 -1
  148. package/dist/siemens-ix/{p-cc0f6f6b.entry.js → p-9299617f.entry.js} +1 -1
  149. package/dist/siemens-ix/{p-592f1ed3.entry.js → p-9c8c835c.entry.js} +1 -1
  150. package/dist/siemens-ix/{p-a88618e3.entry.js → p-a3a59238.entry.js} +1 -1
  151. package/dist/siemens-ix/{p-b3d00feb.entry.js → p-ab35eaee.entry.js} +1 -1
  152. package/dist/siemens-ix/{p-6fe3bb9c.entry.js → p-ae35c07f.entry.js} +1 -1
  153. package/dist/siemens-ix/{p-03d38416.entry.js → p-b46155b7.entry.js} +1 -1
  154. package/dist/siemens-ix/{p-b242bd39.entry.js → p-b7b753cc.entry.js} +1 -1
  155. package/dist/siemens-ix/{p-5631ae88.entry.js → p-b9a66b74.entry.js} +1 -1
  156. package/dist/siemens-ix/{p-9b5290d4.entry.js → p-c4568016.entry.js} +1 -1
  157. package/dist/siemens-ix/p-d7618223.entry.js +1 -0
  158. package/dist/siemens-ix/{p-67eb9d59.entry.js → p-e51a110f.entry.js} +1 -1
  159. package/dist/siemens-ix/p-e652328d.entry.js +1 -0
  160. package/dist/siemens-ix/{p-65e61684.entry.js → p-e82905f0.entry.js} +1 -1
  161. package/dist/siemens-ix/{p-a6f4cfc6.entry.js → p-f05b01a4.entry.js} +1 -1
  162. package/dist/siemens-ix/{p-ab7949ff.entry.js → p-f1a1e8ee.entry.js} +1 -1
  163. package/dist/siemens-ix/{p-72f851ae.entry.js → p-f3cde62f.entry.js} +1 -1
  164. package/dist/siemens-ix/{p-150d7a02.entry.js → p-fa262af7.entry.js} +1 -1
  165. package/dist/siemens-ix/siemens-ix.css +2045 -1789
  166. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  167. package/dist/types/components/category-filter/category-filter.d.ts +10 -15
  168. package/dist/types/components.d.ts +2 -2
  169. package/package.json +1 -1
  170. package/scss/components/_buttons.scss +1 -1
  171. package/scss/components/_checkboxes.scss +2 -2
  172. package/scss/components/_forms.scss +1 -1
  173. package/scss/components/_radiobuttons.scss +2 -2
  174. package/scss/components/_shadows.scss +12 -24
  175. package/scss/ix.scss +1 -2
  176. package/scss/theme/classic-dark/_border.scss +35 -0
  177. package/scss/theme/classic-dark/_borderRadius.scss +24 -0
  178. package/scss/theme/classic-dark/_borderWidth.scss +18 -0
  179. package/scss/theme/classic-dark/_boxShadow.scss +19 -0
  180. package/scss/theme/classic-dark/_color.scss +860 -0
  181. package/scss/theme/classic-dark/_fontFamilies.scss +8 -0
  182. package/scss/theme/classic-dark/_fontSizes.scss +13 -0
  183. package/scss/theme/classic-dark/_fontWeights.scss +9 -0
  184. package/scss/theme/classic-dark/_index.scss +16 -0
  185. package/scss/theme/classic-dark/_lineHeights.scss +18 -0
  186. package/scss/theme/classic-dark/_other.scss +16 -0
  187. package/scss/theme/classic-dark/_sizing.scss +16 -0
  188. package/scss/theme/classic-dark/_spacing.scss +9 -0
  189. package/scss/theme/classic-dark/_typography.scss +23 -0
  190. package/scss/theme/classic-light/_border.scss +35 -0
  191. package/scss/theme/classic-light/_borderRadius.scss +24 -0
  192. package/scss/theme/classic-light/_borderWidth.scss +18 -0
  193. package/scss/theme/classic-light/_boxShadow.scss +19 -0
  194. package/scss/theme/classic-light/_color.scss +860 -0
  195. package/scss/theme/classic-light/_fontFamilies.scss +8 -0
  196. package/scss/theme/classic-light/_fontSizes.scss +13 -0
  197. package/scss/theme/classic-light/_fontWeights.scss +9 -0
  198. package/scss/theme/classic-light/_index.scss +16 -0
  199. package/scss/theme/classic-light/_lineHeights.scss +18 -0
  200. package/scss/theme/classic-light/_other.scss +16 -0
  201. package/scss/theme/classic-light/_sizing.scss +16 -0
  202. package/scss/theme/classic-light/_spacing.scss +9 -0
  203. package/scss/theme/classic-light/_typography.scss +23 -0
  204. package/dist/siemens-ix/p-05c16b94.js +0 -2
  205. package/dist/siemens-ix/p-0e357d27.entry.js +0 -1
  206. package/dist/siemens-ix/p-2bc72119.entry.js +0 -1
  207. package/dist/siemens-ix/p-5bbe9943.entry.js +0 -1
  208. package/dist/siemens-ix/p-c993560f.entry.js +0 -1
  209. package/dist/siemens-ix/p-d20119c1.entry.js +0 -1
  210. package/scss/theme/_define-theme-colors.scss +0 -22
  211. package/scss/theme/_define-theme-variable.scss +0 -12
  212. package/scss/theme/_define-theme.scss +0 -36
  213. package/scss/theme/_static-colors.scss +0 -19
  214. package/scss/theme/classic-dark/_sizes.scss +0 -66
  215. package/scss/theme/classic-dark/_variables.scss +0 -827
  216. package/scss/theme/classic-dark/index.scss +0 -15
  217. package/scss/theme/classic-light/_sizes.scss +0 -66
  218. package/scss/theme/classic-light/_variables.scss +0 -829
  219. package/scss/theme/classic-light/index.scss +0 -15
@@ -85,6 +85,7 @@ const isComplexType = (o) => {
85
85
  // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
86
86
  const h = (nodeName, vnodeData, ...children) => {
87
87
  let child = null;
88
+ let key = null;
88
89
  let slotName = null;
89
90
  let simple = false;
90
91
  let lastSimple = false;
@@ -113,6 +114,10 @@ const h = (nodeName, vnodeData, ...children) => {
113
114
  };
114
115
  walk(children);
115
116
  if (vnodeData) {
117
+ // normalize class / classname attributes
118
+ if (vnodeData.key) {
119
+ key = vnodeData.key;
120
+ }
116
121
  if (vnodeData.name) {
117
122
  slotName = vnodeData.name;
118
123
  }
@@ -137,6 +142,9 @@ const h = (nodeName, vnodeData, ...children) => {
137
142
  if (vNodeChildren.length > 0) {
138
143
  vnode.$children$ = vNodeChildren;
139
144
  }
145
+ {
146
+ vnode.$key$ = key;
147
+ }
140
148
  {
141
149
  vnode.$name$ = slotName;
142
150
  }
@@ -153,6 +161,9 @@ const newVNode = (tag, text) => {
153
161
  {
154
162
  vnode.$attrs$ = null;
155
163
  }
164
+ {
165
+ vnode.$key$ = null;
166
+ }
156
167
  {
157
168
  vnode.$name$ = null;
158
169
  }
@@ -380,6 +391,8 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
380
391
  }
381
392
  }
382
393
  }
394
+ else if (memberName === 'key')
395
+ ;
383
396
  else if (memberName === 'ref') {
384
397
  // minifier will clean this up
385
398
  if (newValue) {
@@ -725,6 +738,8 @@ const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
725
738
  const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
726
739
  let oldStartIdx = 0;
727
740
  let newStartIdx = 0;
741
+ let idxInOld = 0;
742
+ let i = 0;
728
743
  let oldEndIdx = oldCh.length - 1;
729
744
  let oldStartVnode = oldCh[0];
730
745
  let oldEndVnode = oldCh[oldEndIdx];
@@ -732,6 +747,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
732
747
  let newStartVnode = newCh[0];
733
748
  let newEndVnode = newCh[newEndIdx];
734
749
  let node;
750
+ let elmToMove;
735
751
  while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
736
752
  if (oldStartVnode == null) {
737
753
  // VNode might have been moved left
@@ -833,7 +849,41 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
833
849
  newStartVnode = newCh[++newStartIdx];
834
850
  }
835
851
  else {
852
+ // Here we do some checks to match up old and new nodes based on the
853
+ // `$key$` attribute, which is set by putting a `key="my-key"` attribute
854
+ // in the JSX for a DOM element in the implementation of a Stencil
855
+ // component.
856
+ //
857
+ // First we check to see if there are any nodes in the array of old
858
+ // children which have the same key as the first node in the new
859
+ // children.
860
+ idxInOld = -1;
836
861
  {
862
+ for (i = oldStartIdx; i <= oldEndIdx; ++i) {
863
+ if (oldCh[i] && oldCh[i].$key$ !== null && oldCh[i].$key$ === newStartVnode.$key$) {
864
+ idxInOld = i;
865
+ break;
866
+ }
867
+ }
868
+ }
869
+ if (idxInOld >= 0) {
870
+ // We found a node in the old children which matches up with the first
871
+ // node in the new children! So let's deal with that
872
+ elmToMove = oldCh[idxInOld];
873
+ if (elmToMove.$tag$ !== newStartVnode.$tag$) {
874
+ // the tag doesn't match so we'll need a new DOM element
875
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld, parentElm);
876
+ }
877
+ else {
878
+ patch(elmToMove, newStartVnode);
879
+ // invalidate the matching old node so that we won't try to update it
880
+ // again later on
881
+ oldCh[idxInOld] = undefined;
882
+ node = elmToMove.$elm$;
883
+ }
884
+ newStartVnode = newCh[++newStartIdx];
885
+ }
886
+ else {
837
887
  // We either didn't find an element in the old children that matches
838
888
  // the key of the first new child OR the build is not using `key`
839
889
  // attributes at all. In either case we need to create a new element
@@ -884,7 +934,10 @@ const isSameVnode = (leftVNode, rightVNode) => {
884
934
  if (leftVNode.$tag$ === 'slot') {
885
935
  return leftVNode.$name$ === rightVNode.$name$;
886
936
  }
887
- return true;
937
+ // this will be set if components in the build have `key` attrs set on them
938
+ {
939
+ return leftVNode.$key$ === rightVNode.$key$;
940
+ }
888
941
  }
889
942
  return false;
890
943
  };
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const logicalFilterOperator = require('./logical-filter-operator-467e2faf.js');
6
6
  const flipTileState = require('./flip-tile-state-c95639e5.js');
7
- const modal = require('./modal-dda2f6be.js');
7
+ const modal = require('./modal-2d0f9191.js');
8
8
  const rwd_util = require('./rwd.util-2326824e.js');
9
9
  const modalUtils = require('./modal-utils-9ee0acda.js');
10
10
  const defaultTreeItem = require('./default-tree-item-4597cd84.js');
11
11
  const uploadFileState = require('./upload-file-state-923b2c65.js');
12
12
  const themeSwitcher = require('./theme-switcher-f91c8d8d.js');
13
- require('./index-17eb8998.js');
13
+ require('./index-f4b8e6ee.js');
14
14
  require('./typed-event-5030cc6a.js');
15
15
  require('./anime.es-8822f296.js');
16
16
  require('./animation-dfe01edc.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-17eb8998.js');
5
+ const index = require('./index-f4b8e6ee.js');
6
6
  const anime_es = require('./anime.es-8822f296.js');
7
7
  const animation = require('./animation-dfe01edc.js');
8
8
  const rwd_util = require('./rwd.util-2326824e.js');
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-17eb8998.js');
5
+ const index = require('./index-f4b8e6ee.js');
6
6
 
7
- const applicationHeaderCss = ":host{display:flex;align-items:center;position:relative;width:100%;height:2.75rem;padding-left:1rem;color:var(--theme-app-header-logo--color);background-color:var(--theme-app-header--background);border-bottom:var(--theme-app-header--border-width) solid var(--theme-app-header--border-color)}:host .name{margin-left:2.5rem;margin-right:2.5rem}:host .logo{display:inline-flex;align-items:center;position:relative;height:32px;overflow:hidden;line-height:0rem}";
7
+ const applicationHeaderCss = ":host{display:flex;align-items:center;position:relative;width:100%;height:2.75rem;padding-left:1rem;color:var(--theme-app-header--color);background-color:var(--theme-app-header--background);border-bottom:var(--theme-app-header--border-width) solid var(--theme-app-header--border-color)}:host .name{margin-left:2.5rem;margin-right:2.5rem;color:var(--theme-app-header--color)}:host .logo{display:inline-flex;align-items:center;position:relative;height:32px;overflow:hidden;line-height:0rem;color:var(--theme-app-header-logo--color)}";
8
8
 
9
9
  const ApplicationHeader = class {
10
10
  constructor(hostRef) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-17eb8998.js');
5
+ const index = require('./index-f4b8e6ee.js');
6
6
 
7
7
  const basicNavigationCss = ".sc-ix-basic-navigation-h{display:flex;position:relative;width:100%;height:100%;flex-direction:column}.sc-ix-basic-navigation-h ix-application-header.sc-ix-basic-navigation{z-index:calc(var(--theme-z-index-sticky) + 1)}.sc-ix-basic-navigation-h .content.sc-ix-basic-navigation{display:flex;height:calc(100% - 2.75rem);width:calc(100% - 4rem);position:relative;margin-left:4rem;overflow:auto}.hide-header.sc-ix-basic-navigation-h .content.sc-ix-basic-navigation{height:100%}";
8
8
 
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-17eb8998.js');
5
+ const index = require('./index-f4b8e6ee.js');
6
6
  const anime_es = require('./anime.es-8822f296.js');
7
7
 
8
- const blindCss = ".sc-ix-blind-h{display:flex;flex-direction:column;background-color:var(--theme-blind-base--background);border:solid var(--theme-blind--border-thickness) var(--theme-blind-base--border-color);border-radius:var(--theme-blind--border-radius);overflow:hidden}.sc-ix-blind-h .blind-header.sc-ix-blind{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;min-height:3rem;height:3rem;border:solid var(--theme-blind--border-thickness) transparent;border-radius:var(--theme-blind--border-radius) var(--theme-blind--border-radius) 0 0;padding-right:1rem;transition:border-radius 150ms;cursor:pointer;z-index:1;color:var(--theme-blind-header-closed--color);background-color:var(--theme-blind-header-closed--background)}.sc-ix-blind-h .blind-header.sc-ix-blind .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-closed--color);padding:0.25rem 0.5rem}.sc-ix-blind-h .blind-header.sc-ix-blind .blind-header-title.sc-ix-blind{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-ix-blind-h .blind-header.sc-ix-blind .blind-header-title.sc-ix-blind .blind-header-title-default.sc-ix-blind{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):hover{background-color:var(--theme-blind-header-open--background--hover)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):hover .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-open--color--hover)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):active{background-color:var(--theme-blind-header-open--background--active)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):active .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-open--color--active)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):focus-visible{border-color:var(--theme-focus--border-color)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind{border-radius:var(--theme-blind--border-radius)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):hover{background-color:var(--theme-blind-header-open--background--hover)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):hover .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-closed--color--hover)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):active{background-color:var(--theme-blind-header-open--background--active)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):active .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-closed--color--active)}.sc-ix-blind-h .blind-custom-header.sc-ix-blind{display:flex;align-items:center}.sc-ix-blind-h .blind-content.sc-ix-blind{display:block;padding:1rem;max-height:1;transition-property:padding;transition-duration:150ms;transition-timing-function:ease-in}.sc-ix-blind-h .blind-content.hide.sc-ix-blind{max-height:0;padding-top:0px;padding-bottom:0px}";
8
+ const blindCss = ".sc-ix-blind-h{display:flex;flex-direction:column;background-color:var(--theme-blind-base--background);border:solid var(--theme-blind--border-thickness) var(--theme-blind-base--border-color);border-radius:var(--theme-blind--border-radius);overflow:hidden}.sc-ix-blind-h .blind-header.sc-ix-blind{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;min-height:3rem;height:3rem;border:solid var(--theme-blind--border-thickness) transparent;border-radius:var(--theme-blind--border-radius) var(--theme-blind--border-radius) 0 0;padding-right:1rem;transition:border-radius 150ms;cursor:pointer;z-index:1;color:var(--theme-blind-header-closed--color);background-color:var(--theme-blind-header-closed--background)}.sc-ix-blind-h .blind-header.sc-ix-blind .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-closed--color);padding:0.25rem 0.5rem}.sc-ix-blind-h .blind-header.sc-ix-blind .blind-header-title.sc-ix-blind{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-ix-blind-h .blind-header.sc-ix-blind .blind-header-title.sc-ix-blind .blind-header-title-default.sc-ix-blind{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):hover{background-color:var(--theme-blind-header-open--background--hover)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):hover .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-open--color--hover)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):active{background-color:var(--theme-blind-header-open--background--active)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):active .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-open--color--active)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):focus-visible{border-color:var(--theme-focus--border-color)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind{border-radius:var(--theme-blind--border-radius)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):hover{background-color:var(--theme-blind-header-open--background--hover)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):hover .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-closed--color--hover)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):active{background-color:var(--theme-blind-header-open--background--active)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):active .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-closed--color--active)}.sc-ix-blind-h .blind-custom-header.sc-ix-blind{display:flex;align-items:center}.sc-ix-blind-h .blind-content.sc-ix-blind{display:block;padding:1rem;transition-property:padding;transition-duration:150ms;transition-timing-function:ease-in}.sc-ix-blind-h .blind-content.hide.sc-ix-blind{max-height:0;padding-top:0px;padding-bottom:0px}";
9
9
 
10
10
  const Blind = class {
11
11
  constructor(hostRef) { index.registerInstance(this, hostRef); this.collapsedChange = index.createEvent(this, "collapsedChange", 7); this.collapsed = false; this.label = undefined; }
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-17eb8998.js');
5
+ const index = require('./index-f4b8e6ee.js');
6
6
  const anime_es = require('./anime.es-8822f296.js');
7
7
  const mutationObserver = require('./mutation-observer-29bedada.js');
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-17eb8998.js');
5
+ const index = require('./index-f4b8e6ee.js');
6
6
  const baseButton = require('./base-button-6ef79cb6.js');
7
7
 
8
8
  const buttonCss = ".sc-ix-button-h{display:inline-block;height:2rem}.button-disabled.sc-ix-button-h{pointer-events:none}";
@@ -2,11 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-17eb8998.js');
6
- const rwd_util = require('./rwd.util-2326824e.js');
5
+ const index = require('./index-f4b8e6ee.js');
7
6
  const logicalFilterOperator = require('./logical-filter-operator-467e2faf.js');
8
7
 
9
- 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 .reset-button.sc-ix-category-filter{position:absolute;top:0.25rem;right:0.25rem}.sc-ix-category-filter-h .reset-button.hide-reset-button.sc-ix-category-filter{display:none}.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}";
8
+ 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 .reset-button.sc-ix-category-filter{position:absolute;top:0.25rem;right:0.25rem}.sc-ix-category-filter-h .reset-button.hide-reset-button.sc-ix-category-filter{display:none}.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 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}.sc-ix-category-filter-h ix-dropdown.sc-ix-category-filter{min-width:10rem !important}.sc-ix-category-filter-h ix-dropdown.sc-ix-category-filter .dropdown-item-container.sc-ix-category-filter{display:flex;flex-direction:column}.sc-ix-category-filter-h ix-dropdown.sc-ix-category-filter .dropdown-item-container.sc-ix-category-filter .dropdown-item.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:2.5rem;margin:0.25rem 0.5rem;padding-inline:0.5rem;border-radius:100rem;width:auto}.sc-ix-category-filter-h ix-dropdown.sc-ix-category-filter .dropdown-item-container.sc-ix-category-filter .category-item.sc-ix-category-filter{border-end-end-radius:0;border-start-end-radius:0}.sc-ix-category-filter-h ix-dropdown.sc-ix-category-filter .dropdown-item-container.sc-ix-category-filter .category-item-value.sc-ix-category-filter{border-start-start-radius:0;border-end-start-radius:0}.sc-ix-category-filter-h ix-dropdown.sc-ix-category-filter .btn-toggle-operator.sc-ix-category-filter{margin-inline:0.5rem}";
10
9
 
11
10
  const CategoryFilter = class {
12
11
  constructor(hostRef) {
@@ -14,17 +13,12 @@ const CategoryFilter = class {
14
13
  this.inputChanged = index.createEvent(this, "inputChanged", 7);
15
14
  this.filterChanged = index.createEvent(this, "filterChanged", 7);
16
15
  this.ID_CUSTOM_FILTER_VALUE = 'CW_CUSTOM_FILTER_VALUE';
17
- this.documentClickCallback = this.handleDocumentClick.bind(this);
16
+ this.textInput = undefined;
18
17
  this.hasFocus = undefined;
19
- this.showCategorySelection = undefined;
20
18
  this.categoryLogicalOperator = logicalFilterOperator.LogicalFilterOperator.EQUAL;
21
19
  this.inputValue = undefined;
22
20
  this.category = undefined;
23
21
  this.filterTokens = [];
24
- this.offsetDropdownX = undefined;
25
- this.offsetDropdownY = undefined;
26
- this.maxHeightDropdown = undefined;
27
- this.maxWidthDropdown = undefined;
28
22
  this.initialState = undefined;
29
23
  this.filterState = undefined;
30
24
  this.placeholder = undefined;
@@ -41,25 +35,13 @@ const CategoryFilter = class {
41
35
  watchFilterState(newValue) {
42
36
  this.setFilterState(newValue);
43
37
  }
44
- watchShowCategorySelection(newValue) {
45
- if (newValue) {
46
- document.addEventListener('click', this.documentClickCallback);
47
- }
48
- else {
49
- document.removeEventListener('click', this.documentClickCallback);
50
- }
51
- }
52
- setDropdownOffset() {
53
- const height = this.calculateDropdownHeight();
54
- this.maxHeightDropdown = rwd_util.convertToRemString(height);
55
- }
56
38
  componentDidLoad() {
57
39
  var _a, _b;
58
40
  if (this.initialState !== undefined) {
59
41
  this.setFilterState(this.initialState);
60
42
  }
61
43
  else if (this.filterState !== undefined) {
62
- this.setFilterState(this.filterState);
44
+ setTimeout(() => this.setFilterState(this.filterState));
63
45
  }
64
46
  (_a = this.hostElement) === null || _a === void 0 ? void 0 : _a.addEventListener('keydown', this.handleFormElementKeyDown.bind(this));
65
47
  (_b = this.formElement) === null || _b === void 0 ? void 0 : _b.addEventListener('submit', (e) => e.preventDefault());
@@ -67,7 +49,6 @@ const CategoryFilter = class {
67
49
  console.warn('Core UI category filter - unable to add event listeners to native input element');
68
50
  return;
69
51
  }
70
- this.textInput.addEventListener('click', () => (this.showCategorySelection = true));
71
52
  this.textInput.addEventListener('focusin', () => {
72
53
  this.hasFocus = true;
73
54
  });
@@ -76,7 +57,6 @@ const CategoryFilter = class {
76
57
  this.inputValue = this.textInput.value;
77
58
  const inputState = new logicalFilterOperator.InputState(this.inputValue, this.category);
78
59
  this.inputChanged.emit(inputState);
79
- this.showCategorySelection = true;
80
60
  });
81
61
  this.textInput.addEventListener('keydown', this.handleInputElementKeyDown.bind(this));
82
62
  }
@@ -90,27 +70,27 @@ const CategoryFilter = class {
90
70
  }
91
71
  this.emitFilterEvent();
92
72
  }
93
- handleDocumentClick(ev) {
94
- const target = ev.target;
95
- if (!this.hostElement.contains(target)) {
96
- this.closeDropdown();
97
- }
98
- }
99
73
  closeDropdown() {
100
- this.showCategorySelection = false;
101
- this.category = undefined;
74
+ this.hostElement.querySelector('ix-dropdown').show = false;
102
75
  }
103
76
  handleFormElementKeyDown(e) {
104
77
  switch (e.code) {
105
78
  case 'Enter':
106
79
  case 'NumpadEnter':
107
- if (this.category ||
108
- document.activeElement.classList.contains('plain-text-suggestion')) {
109
- const token = document.activeElement.getAttribute('data-id');
110
- this.addToken(token, this.category);
80
+ if (!document.activeElement.classList.contains('dropdown-item')) {
81
+ return;
82
+ }
83
+ const token = document.activeElement.getAttribute('data-id');
84
+ if (this.hasCategorySelection()) {
85
+ if (this.category) {
86
+ this.addToken(token, this.category);
87
+ }
88
+ else if (document.activeElement.classList.contains('category-item-id')) {
89
+ this.selectCategory(token);
90
+ }
111
91
  }
112
- else if (document.activeElement.classList.contains('category-item-id')) {
113
- this.selectCategory(document.activeElement.getAttribute('data-id'));
92
+ else {
93
+ this.addToken(token);
114
94
  }
115
95
  e.preventDefault();
116
96
  break;
@@ -204,6 +184,9 @@ const CategoryFilter = class {
204
184
  this.textInput.value = '';
205
185
  this.inputValue = '';
206
186
  this.categoryLogicalOperator = logicalFilterOperator.LogicalFilterOperator.EQUAL;
187
+ if (this.category) {
188
+ this.category = undefined;
189
+ }
207
190
  this.isScrollStateDirty = true;
208
191
  this.textInput.focus();
209
192
  if (emitEvent) {
@@ -224,43 +207,17 @@ const CategoryFilter = class {
224
207
  }
225
208
  return ids;
226
209
  }
227
- getCategoryLables() {
228
- return this.getCategoryIds().map((id) => this.categories[id].label);
229
- }
230
210
  selectCategory(category) {
231
211
  this.category = category;
232
212
  this.textInput.value = '';
233
213
  this.inputValue = '';
234
214
  this.textInput.focus();
235
215
  }
236
- openCategorySelection() {
237
- this.showCategorySelection = true;
238
- }
239
216
  resetFilter() {
240
217
  this.closeDropdown();
241
218
  this.filterTokens = [];
242
219
  this.emitFilterEvent();
243
220
  }
244
- calculateDropdownX() {
245
- var _a;
246
- if (!this.textInput) {
247
- return 0;
248
- }
249
- const xInput = this.textInput.getBoundingClientRect().x;
250
- const xFrom = (_a = this.formElement) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().x;
251
- return xInput - xFrom;
252
- }
253
- calculateDropdownY() {
254
- if (!this.textInput) {
255
- return 32;
256
- }
257
- return this.hostElement.getBoundingClientRect().height;
258
- }
259
- calculateDropdownHeight(top = 32) {
260
- const hostTop = this.hostElement.getBoundingClientRect().top;
261
- const offset = hostTop + top;
262
- return window.innerHeight - offset;
263
- }
264
221
  filterMultiples(value) {
265
222
  if (this.repeatCategories) {
266
223
  return true;
@@ -297,23 +254,68 @@ const CategoryFilter = class {
297
254
  const label = (_c = (_b = (_a = this.categories[value.id]) === null || _a === void 0 ? void 0 : _a.label) !== null && _b !== void 0 ? _b : this.nonSelectableCategories[value.id]) !== null && _c !== void 0 ? _c : value.id;
298
255
  return `${label} ${operatorString} ${value.value}`;
299
256
  }
300
- componentDidRender() {
301
- const newOffsetX = this.calculateDropdownX();
302
- const newOffsetY = this.calculateDropdownY();
303
- const newOffsetXRem = rwd_util.convertToRemString(newOffsetX);
304
- const newOffsetYRem = rwd_util.convertToRemString(newOffsetY);
305
- const maxWidthDropdown = this.hostElement.getBoundingClientRect().width - newOffsetX;
306
- const maxHeightDropdown = this.calculateDropdownHeight(newOffsetY);
307
- this.maxWidthDropdown = rwd_util.convertToRemString(maxWidthDropdown);
308
- this.maxHeightDropdown = rwd_util.convertToRemString(maxHeightDropdown);
309
- // This will throw a warning
310
- if (newOffsetXRem !== this.offsetDropdownX) {
311
- this.offsetDropdownX = newOffsetXRem;
257
+ getFilteredSuggestions() {
258
+ var _a, _b;
259
+ if (!((_a = this.suggestions) === null || _a === void 0 ? void 0 : _a.length)) {
260
+ return [];
261
+ }
262
+ return (_b = this.suggestions) === null || _b === void 0 ? void 0 : _b.filter((value) => this.filterByInput(value)).filter((value) => this.filterDuplicateTokens(value));
263
+ }
264
+ hasCategorySelection() {
265
+ return this.categories !== undefined;
266
+ }
267
+ displayDropdown() {
268
+ if (this.hasCategorySelection()) {
269
+ return true;
312
270
  }
313
- // This will throw a warning
314
- if (newOffsetYRem !== this.offsetDropdownY) {
315
- this.offsetDropdownY = newOffsetYRem;
271
+ if (this.suggestions !== undefined) {
272
+ return this.getFilteredSuggestions().length > 0;
273
+ }
274
+ return false;
275
+ }
276
+ renderPlainSuggestions() {
277
+ return (index.h("div", { class: "dropdown-item-container" }, this.getFilteredSuggestions().map((suggestion) => (index.h("button", { class: "dropdown-item", "data-id": suggestion, onClick: () => this.addToken(suggestion), key: suggestion, title: suggestion }, suggestion)))));
278
+ }
279
+ renderCategoryValues() {
280
+ var _a, _b;
281
+ return (index.h("div", { class: "dropdown-item-container" }, index.h("button", { class: "btn btn-invisible-secondary btn-icon btn-toggle-operator", onClick: () => this.toggleCategoryOperator(), tabindex: "-1" }, this.categoryLogicalOperator === logicalFilterOperator.LogicalFilterOperator.NOT_EQUAL
282
+ ? '='
283
+ : '!='), index.h("div", { class: "dropdown-header" }, (_a = this.categories[this.category]) === null || _a === void 0 ? void 0 : _a.label), (_b = this.categories[this.category]) === null || _b === void 0 ? void 0 :
284
+ _b.options.filter((value) => this.filterByInput(value)).filter((value) => this.filterDuplicateTokens(value)).map((id) => (index.h("button", { class: "dropdown-item category-item-value", "data-id": id, title: id, key: id, onClick: () => this.addToken(id, this.category) }, `${this.categoryLogicalOperator === logicalFilterOperator.LogicalFilterOperator.EQUAL
285
+ ? '='
286
+ : '!='} ${id}`)))));
287
+ }
288
+ renderDropdownContent() {
289
+ if (this.hasCategorySelection()) {
290
+ if (this.category) {
291
+ return this.renderCategoryValues();
292
+ }
293
+ else {
294
+ return this.renderCategorySelection();
295
+ }
316
296
  }
297
+ else
298
+ return this.renderPlainSuggestions();
299
+ }
300
+ renderCategorySelection() {
301
+ var _a;
302
+ return (index.h("div", { class: "dropdown-item-container" }, (_a = this.getCategoryIds()) === null || _a === void 0 ? void 0 : _a.filter((id) => this.filterByInput(this.categories[id].label)).filter((id) => this.filterMultiples(id)).map((id) => {
303
+ var _a;
304
+ return (index.h("button", { class: "dropdown-item category-item category-item-id", "data-id": id, title: this.categories[id].label, key: id, onClick: () => this.selectCategory(id), tabindex: "0" }, (_a = this.categories[id]) === null || _a === void 0 ? void 0 : _a.label));
305
+ })));
306
+ }
307
+ getDropdownHeader() {
308
+ if (this.categories) {
309
+ if (this.category) {
310
+ return null;
311
+ }
312
+ else {
313
+ return this.labelCategories;
314
+ }
315
+ }
316
+ return this.i18nPlainText;
317
+ }
318
+ componentDidRender() {
317
319
  if (this.isScrollStateDirty) {
318
320
  if (!this.tmpDisableScrollIntoView) {
319
321
  this.textInput.scrollIntoView();
@@ -328,13 +330,13 @@ const CategoryFilter = class {
328
330
  }, variant: "Secondary", ghost: true, oval: true, icon: "clear", size: "16", tabindex: "1" }));
329
331
  }
330
332
  render() {
331
- var _a, _b, _c, _d, _e, _f;
333
+ var _a;
332
334
  return (index.h(index.Host, null, index.h("form", { ref: (el) => (this.formElement = el) }, index.h("div", { class: {
333
335
  'form-control': true,
334
336
  'input-container': true,
335
337
  focus: this.hasFocus,
336
338
  'no-icon': this.hideIcon,
337
- } }, index.h("ix-icon", { class: { 'd-none': this.hideIcon }, name: this.icon, size: "16" }), index.h("div", { class: "token-container" }, index.h("ul", { class: "list-unstyled" }, this.filterTokens.map((value, index$1) => (index.h("li", { class: {
339
+ } }, index.h("ix-icon", { class: { 'd-none': this.hideIcon }, name: this.icon, size: "16" }), index.h("div", { class: "token-container" }, index.h("ul", { class: "list-unstyled" }, this.filterTokens.map((value, index$1) => (index.h("li", { key: value.toString(), class: {
338
340
  animate__animated: true,
339
341
  animate__fadein: true,
340
342
  } }, index.h("ix-filter-chip", { onCloseClick: () => this.removeToken(index$1) }, this.getFilterChipLabel(value))))), this.categories === undefined ? ('') : (index.h("li", { class: {
@@ -343,44 +345,11 @@ const CategoryFilter = class {
343
345
  } }, (_a = this.categories[this.category]) === null || _a === void 0 ? void 0 : _a.label)), index.h("input", { class: {
344
346
  'text-input': true,
345
347
  'hide-placeholder': this.category !== undefined,
346
- }, ref: (el) => (this.textInput = el), type: "text", placeholder: this.placeholder, onFocus: () => this.openCategorySelection() }))), this.getResetButton())), index.h("div", { class: {
347
- 'category-selection-container': true,
348
- 'd-none': !this.showCategorySelection && this.category === undefined,
349
- }, style: {
350
- left: this.offsetDropdownX,
351
- top: this.offsetDropdownY,
352
- 'max-width': this.maxWidthDropdown,
353
- 'max-height': this.maxHeightDropdown,
354
- } }, index.h("div", { class: {
355
- 'd-none': !this.showCategorySelection || this.category !== undefined,
356
- } }, index.h("div", { class: {
357
- 'category-item-header': true,
358
- 'd-none': this.getCategoryLables().filter((value) => this.filterByInput(value)).length === 0,
359
- } }, this.labelCategories), (_b = this.getCategoryIds()) === null || _b === void 0 ? void 0 :
360
- _b.filter((id) => this.filterByInput(this.categories[id].label)).filter((id) => this.filterMultiples(id)).map((id) => {
361
- var _a;
362
- return (index.h("div", { "data-id": id, title: id, class: "category-item category-item-id", onClick: () => this.selectCategory(id), tabindex: "0" }, (_a = this.categories[id]) === null || _a === void 0 ? void 0 : _a.label));
363
- })), index.h("div", { class: {
364
- 'd-none': this.category === undefined,
365
- } }, index.h("button", { class: "btn btn-invisible-secondary btn-icon", onClick: () => this.toggleCategoryOperator(), tabindex: "-1" }, this.categoryLogicalOperator === logicalFilterOperator.LogicalFilterOperator.NOT_EQUAL
366
- ? '='
367
- : '!='), this.categories === undefined ? ('') : (index.h("div", { class: "category-item-header" }, (_c = this.categories[this.category]) === null || _c === void 0 ? void 0 : _c.label)), this.categories === undefined
368
- ? ''
369
- : (_d = this.categories[this.category]) === null || _d === void 0 ? void 0 : _d.options.filter((value) => this.filterByInput(value)).filter((value) => this.filterDuplicateTokens(value)).map((id) => (index.h("div", { "data-id": id, title: id, class: "category-item category-item-value", onClick: () => this.addToken(id, this.category), tabindex: "0" }, `${this.categoryLogicalOperator ===
370
- logicalFilterOperator.LogicalFilterOperator.EQUAL
371
- ? '='
372
- : '!='} ${id}`)))), index.h("div", { class: {
373
- 'category-item-header': true,
374
- 'd-none': this.category !== undefined ||
375
- this.getCategoryIds().filter((value) => this.filterByInput(value)).length > 0,
376
- } }, this.i18nPlainText), index.h("div", { class: {
377
- 'd-none': !((_e = this.suggestions) === null || _e === void 0 ? void 0 : _e.length) || this.category !== undefined,
378
- } }, (_f = this.suggestions) === null || _f === void 0 ? void 0 : _f.filter((value) => this.filterByInput(value)).filter((value) => this.filterDuplicateTokens(value)).map((suggestion) => (index.h("div", { "data-id": suggestion, class: "category-item plain-text-suggestion", onClick: () => this.addToken(suggestion), tabindex: "0" }, suggestion)))))));
348
+ }, ref: (el) => (this.textInput = el), type: "text", placeholder: this.placeholder }))), this.getResetButton())), index.h("ix-dropdown", { closeBehavior: "outside", trigger: this.textInput, header: this.getDropdownHeader(), class: { 'd-none': !this.displayDropdown() } }, this.renderDropdownContent())));
379
349
  }
380
350
  get hostElement() { return index.getElement(this); }
381
351
  static get watchers() { return {
382
- "filterState": ["watchFilterState"],
383
- "showCategorySelection": ["watchShowCategorySelection"]
352
+ "filterState": ["watchFilterState"]
384
353
  }; }
385
354
  };
386
355
  CategoryFilter.style = categoryFilterCss;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-17eb8998.js');
5
+ const index = require('./index-f4b8e6ee.js');
6
6
 
7
7
  const chipCss = ".sc-ix-chip-h{display:inline-flex;width:-moz-fit-content;width:fit-content;position:relative;align-items:center;border-radius:100px;padding:0.5rem 0.75rem;height:2rem;max-height:2rem;cursor:pointer;margin-left:0.25rem}.sc-ix-chip-h .with-icon.sc-ix-chip{margin-right:0.25rem}.sc-ix-chip-h .hidden.sc-ix-chip{width:0px;margin-right:0px}.sc-ix-chip-h .close-button-container.sc-ix-chip{display:inline-flex;flex-grow:1;margin-left:0.75rem}.sc-ix-chip-h .close-button.sc-ix-chip{position:relative;width:1rem;height:1rem;min-width:unset;min-height:unset;margin-left:auto;margin-right:0}[variant=primary].sc-ix-chip-h{background-color:var(--theme-color-primary);color:var(--theme-chip-primary--color)}[variant=primary].sc-ix-chip-h .close-button.sc-ix-chip{color:var(--theme-chip-primary--color);pointer-events:auto}[variant=primary].sc-ix-chip-h:hover{background-color:var(--theme-chip-primary--background--hover)}[variant=primary].sc-ix-chip-h:active{background-color:var(--theme-chip-primary--background--active)}[variant=primary].sc-ix-chip-h:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}[variant=primary].outline.sc-ix-chip-h{color:var(--theme-chip-primary-outline--color);background-color:transparent;border:solid 1px var(--theme-chip-primary-outline--border-color)}[variant=primary].outline.sc-ix-chip-h .close-button.sc-ix-chip{color:var(--theme-chip-primary-outline--color)}[variant=primary].outline.sc-ix-chip-h:hover{background-color:var(--theme-chip-primary-outline--background--hover)}[variant=primary].outline.sc-ix-chip-h:active{background-color:var(--theme-chip-primary-outline--background--active)}[variant=alarm].sc-ix-chip-h{color:var(--theme-color-alarm--contrast)}[variant=alarm].sc-ix-chip-h:hover::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}[variant=alarm].active.sc-ix-chip-h::after,[variant=alarm].sc-ix-chip-h:active::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}[variant=alarm].sc-ix-chip-h:not(.outline){background-color:var(--theme-color-alarm)}[variant=alarm].sc-ix-chip-h:not(.outline) .close-button.sc-ix-chip{color:var(--theme-color-alarm--contrast)}[variant=alarm].sc-ix-chip-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=alarm].sc-ix-chip-h:not(.outline).active::after,[variant=alarm].sc-ix-chip-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=alarm].outline.sc-ix-chip-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-alarm)}[variant=alarm].outline.sc-ix-chip-h:hover::after{display:none}[variant=alarm].outline.sc-ix-chip-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=alarm].outline.active.sc-ix-chip-h::after,[variant=alarm].outline.sc-ix-chip-h:active::after{display:none}[variant=alarm].outline.active.sc-ix-chip-h,[variant=alarm].outline.sc-ix-chip-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=alarm].sc-ix-chip-h:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}[variant=critical].sc-ix-chip-h{color:var(--theme-color-critical--contrast)}[variant=critical].sc-ix-chip-h:hover::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}[variant=critical].active.sc-ix-chip-h::after,[variant=critical].sc-ix-chip-h:active::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}[variant=critical].sc-ix-chip-h:not(.outline){background-color:var(--theme-color-critical)}[variant=critical].sc-ix-chip-h:not(.outline) .close-button.sc-ix-chip{color:var(--theme-color-critical--contrast)}[variant=critical].sc-ix-chip-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=critical].sc-ix-chip-h:not(.outline).active::after,[variant=critical].sc-ix-chip-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=critical].outline.sc-ix-chip-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-critical)}[variant=critical].outline.sc-ix-chip-h:hover::after{display:none}[variant=critical].outline.sc-ix-chip-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=critical].outline.active.sc-ix-chip-h::after,[variant=critical].outline.sc-ix-chip-h:active::after{display:none}[variant=critical].outline.active.sc-ix-chip-h,[variant=critical].outline.sc-ix-chip-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=critical].sc-ix-chip-h:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}[variant=warning].sc-ix-chip-h{color:var(--theme-color-warning--contrast)}[variant=warning].sc-ix-chip-h:hover::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}[variant=warning].active.sc-ix-chip-h::after,[variant=warning].sc-ix-chip-h:active::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}[variant=warning].sc-ix-chip-h:not(.outline){background-color:var(--theme-color-warning)}[variant=warning].sc-ix-chip-h:not(.outline) .close-button.sc-ix-chip{color:var(--theme-color-warning--contrast)}[variant=warning].sc-ix-chip-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=warning].sc-ix-chip-h:not(.outline).active::after,[variant=warning].sc-ix-chip-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=warning].outline.sc-ix-chip-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-warning)}[variant=warning].outline.sc-ix-chip-h:hover::after{display:none}[variant=warning].outline.sc-ix-chip-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=warning].outline.active.sc-ix-chip-h::after,[variant=warning].outline.sc-ix-chip-h:active::after{display:none}[variant=warning].outline.active.sc-ix-chip-h,[variant=warning].outline.sc-ix-chip-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=warning].sc-ix-chip-h:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}[variant=info].sc-ix-chip-h{color:var(--theme-color-info--contrast)}[variant=info].sc-ix-chip-h:hover::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}[variant=info].active.sc-ix-chip-h::after,[variant=info].sc-ix-chip-h:active::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}[variant=info].sc-ix-chip-h:not(.outline){background-color:var(--theme-color-info)}[variant=info].sc-ix-chip-h:not(.outline) .close-button.sc-ix-chip{color:var(--theme-color-info--contrast)}[variant=info].sc-ix-chip-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=info].sc-ix-chip-h:not(.outline).active::after,[variant=info].sc-ix-chip-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=info].outline.sc-ix-chip-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-info)}[variant=info].outline.sc-ix-chip-h:hover::after{display:none}[variant=info].outline.sc-ix-chip-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=info].outline.active.sc-ix-chip-h::after,[variant=info].outline.sc-ix-chip-h:active::after{display:none}[variant=info].outline.active.sc-ix-chip-h,[variant=info].outline.sc-ix-chip-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=info].sc-ix-chip-h:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}[variant=neutral].sc-ix-chip-h{color:var(--theme-color-neutral--contrast)}[variant=neutral].sc-ix-chip-h:hover::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}[variant=neutral].active.sc-ix-chip-h::after,[variant=neutral].sc-ix-chip-h:active::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}[variant=neutral].sc-ix-chip-h:not(.outline){background-color:var(--theme-color-neutral)}[variant=neutral].sc-ix-chip-h:not(.outline) .close-button.sc-ix-chip{color:var(--theme-color-neutral--contrast)}[variant=neutral].sc-ix-chip-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=neutral].sc-ix-chip-h:not(.outline).active::after,[variant=neutral].sc-ix-chip-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=neutral].outline.sc-ix-chip-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-neutral)}[variant=neutral].outline.sc-ix-chip-h:hover::after{display:none}[variant=neutral].outline.sc-ix-chip-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=neutral].outline.active.sc-ix-chip-h::after,[variant=neutral].outline.sc-ix-chip-h:active::after{display:none}[variant=neutral].outline.active.sc-ix-chip-h,[variant=neutral].outline.sc-ix-chip-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=neutral].sc-ix-chip-h:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}[variant=success].sc-ix-chip-h{color:var(--theme-color-success--contrast)}[variant=success].sc-ix-chip-h:hover::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}[variant=success].active.sc-ix-chip-h::after,[variant=success].sc-ix-chip-h:active::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}[variant=success].sc-ix-chip-h:not(.outline){background-color:var(--theme-color-success)}[variant=success].sc-ix-chip-h:not(.outline) .close-button.sc-ix-chip{color:var(--theme-color-success--contrast)}[variant=success].sc-ix-chip-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=success].sc-ix-chip-h:not(.outline).active::after,[variant=success].sc-ix-chip-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=success].outline.sc-ix-chip-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-success)}[variant=success].outline.sc-ix-chip-h:hover::after{display:none}[variant=success].outline.sc-ix-chip-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=success].outline.active.sc-ix-chip-h::after,[variant=success].outline.sc-ix-chip-h:active::after{display:none}[variant=success].outline.active.sc-ix-chip-h,[variant=success].outline.sc-ix-chip-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=success].sc-ix-chip-h:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}[variant=custom].sc-ix-chip-h:hover::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, var(--theme-l-hover));left:0;border-radius:100px;pointer-events:none}[variant=custom].active.sc-ix-chip-h::after,[variant=custom].sc-ix-chip-h:active::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, var(--theme-l-active));left:0;border-radius:100px;pointer-events:none}[variant=custom].sc-ix-chip-h:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}[variant=custom].outline.sc-ix-chip-h{border:solid 1px transparent;background-color:transparent}[variant=custom].outline.sc-ix-chip-h:hover{background-color:rgba(0, 0, 0, var(--theme-l-hover))}[variant=custom].outline.sc-ix-chip-h:active{background-color:rgba(0, 0, 0, var(--theme-l-active))}.sc-ix-chip-h .slot-container.sc-ix-chip{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inactive.sc-ix-chip-h{pointer-events:none}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-17eb8998.js');
5
+ const index = require('./index-f4b8e6ee.js');
6
6
 
7
7
  const counterPillCss = ".sc-ix-counter-pill-h{display:inline-flex;width:-moz-fit-content;width:fit-content;position:relative;align-items:center;justify-content:center;border-radius:100px;padding:0px 6px;margin-left:0.25rem;min-width:1.5rem;height:1.25rem;min-height:1.25rem;max-height:1.25rem;cursor:auto}.sc-ix-counter-pill-h .with-icon.sc-ix-counter-pill{margin-right:0.25rem}.align-left.sc-ix-counter-pill-h{justify-content:flex-start}[variant=primary].sc-ix-counter-pill-h{background-color:var(--theme-color-primary);color:var(--theme-chip-primary--color)}[variant=primary].sc-ix-counter-pill-h .close-button.sc-ix-counter-pill{color:var(--theme-chip-primary--color);pointer-events:auto}[variant=primary].outline.sc-ix-counter-pill-h{color:var(--theme-chip-primary-outline--color);background-color:transparent;border:solid 1px var(--theme-chip-primary-outline--border-color)}[variant=primary].outline.sc-ix-counter-pill-h .close-button.sc-ix-counter-pill{color:var(--theme-chip-primary-outline--color)}[variant=alarm].sc-ix-counter-pill-h{color:var(--theme-color-alarm--contrast)}[variant=alarm].sc-ix-counter-pill-h:not(.outline){background-color:var(--theme-color-alarm)}[variant=alarm].sc-ix-counter-pill-h:not(.outline) .close-button.sc-ix-counter-pill{color:var(--theme-color-alarm--contrast)}[variant=alarm].sc-ix-counter-pill-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=alarm].sc-ix-counter-pill-h:not(.outline).active::after,[variant=alarm].sc-ix-counter-pill-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=alarm].outline.sc-ix-counter-pill-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-alarm)}[variant=alarm].outline.sc-ix-counter-pill-h:hover::after{display:none}[variant=alarm].outline.sc-ix-counter-pill-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=alarm].outline.active.sc-ix-counter-pill-h::after,[variant=alarm].outline.sc-ix-counter-pill-h:active::after{display:none}[variant=alarm].outline.active.sc-ix-counter-pill-h,[variant=alarm].outline.sc-ix-counter-pill-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=critical].sc-ix-counter-pill-h{color:var(--theme-color-critical--contrast)}[variant=critical].sc-ix-counter-pill-h:not(.outline){background-color:var(--theme-color-critical)}[variant=critical].sc-ix-counter-pill-h:not(.outline) .close-button.sc-ix-counter-pill{color:var(--theme-color-critical--contrast)}[variant=critical].sc-ix-counter-pill-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=critical].sc-ix-counter-pill-h:not(.outline).active::after,[variant=critical].sc-ix-counter-pill-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=critical].outline.sc-ix-counter-pill-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-critical)}[variant=critical].outline.sc-ix-counter-pill-h:hover::after{display:none}[variant=critical].outline.sc-ix-counter-pill-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=critical].outline.active.sc-ix-counter-pill-h::after,[variant=critical].outline.sc-ix-counter-pill-h:active::after{display:none}[variant=critical].outline.active.sc-ix-counter-pill-h,[variant=critical].outline.sc-ix-counter-pill-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=warning].sc-ix-counter-pill-h{color:var(--theme-color-warning--contrast)}[variant=warning].sc-ix-counter-pill-h:not(.outline){background-color:var(--theme-color-warning)}[variant=warning].sc-ix-counter-pill-h:not(.outline) .close-button.sc-ix-counter-pill{color:var(--theme-color-warning--contrast)}[variant=warning].sc-ix-counter-pill-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=warning].sc-ix-counter-pill-h:not(.outline).active::after,[variant=warning].sc-ix-counter-pill-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=warning].outline.sc-ix-counter-pill-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-warning)}[variant=warning].outline.sc-ix-counter-pill-h:hover::after{display:none}[variant=warning].outline.sc-ix-counter-pill-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=warning].outline.active.sc-ix-counter-pill-h::after,[variant=warning].outline.sc-ix-counter-pill-h:active::after{display:none}[variant=warning].outline.active.sc-ix-counter-pill-h,[variant=warning].outline.sc-ix-counter-pill-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=info].sc-ix-counter-pill-h{color:var(--theme-color-info--contrast)}[variant=info].sc-ix-counter-pill-h:not(.outline){background-color:var(--theme-color-info)}[variant=info].sc-ix-counter-pill-h:not(.outline) .close-button.sc-ix-counter-pill{color:var(--theme-color-info--contrast)}[variant=info].sc-ix-counter-pill-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=info].sc-ix-counter-pill-h:not(.outline).active::after,[variant=info].sc-ix-counter-pill-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=info].outline.sc-ix-counter-pill-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-info)}[variant=info].outline.sc-ix-counter-pill-h:hover::after{display:none}[variant=info].outline.sc-ix-counter-pill-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=info].outline.active.sc-ix-counter-pill-h::after,[variant=info].outline.sc-ix-counter-pill-h:active::after{display:none}[variant=info].outline.active.sc-ix-counter-pill-h,[variant=info].outline.sc-ix-counter-pill-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=neutral].sc-ix-counter-pill-h{color:var(--theme-color-neutral--contrast)}[variant=neutral].sc-ix-counter-pill-h:not(.outline){background-color:var(--theme-color-neutral)}[variant=neutral].sc-ix-counter-pill-h:not(.outline) .close-button.sc-ix-counter-pill{color:var(--theme-color-neutral--contrast)}[variant=neutral].sc-ix-counter-pill-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=neutral].sc-ix-counter-pill-h:not(.outline).active::after,[variant=neutral].sc-ix-counter-pill-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=neutral].outline.sc-ix-counter-pill-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-neutral)}[variant=neutral].outline.sc-ix-counter-pill-h:hover::after{display:none}[variant=neutral].outline.sc-ix-counter-pill-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=neutral].outline.active.sc-ix-counter-pill-h::after,[variant=neutral].outline.sc-ix-counter-pill-h:active::after{display:none}[variant=neutral].outline.active.sc-ix-counter-pill-h,[variant=neutral].outline.sc-ix-counter-pill-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=success].sc-ix-counter-pill-h{color:var(--theme-color-success--contrast)}[variant=success].sc-ix-counter-pill-h:not(.outline){background-color:var(--theme-color-success)}[variant=success].sc-ix-counter-pill-h:not(.outline) .close-button.sc-ix-counter-pill{color:var(--theme-color-success--contrast)}[variant=success].sc-ix-counter-pill-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=success].sc-ix-counter-pill-h:not(.outline).active::after,[variant=success].sc-ix-counter-pill-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=success].outline.sc-ix-counter-pill-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-success)}[variant=success].outline.sc-ix-counter-pill-h:hover::after{display:none}[variant=success].outline.sc-ix-counter-pill-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=success].outline.active.sc-ix-counter-pill-h::after,[variant=success].outline.sc-ix-counter-pill-h:active::after{display:none}[variant=success].outline.active.sc-ix-counter-pill-h,[variant=success].outline.sc-ix-counter-pill-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=custom].outline.sc-ix-counter-pill-h{border:solid 1px transparent;background-color:transparent}.sc-ix-counter-pill-h .slot.sc-ix-counter-pill{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-ix-counter-pill-h .hidden.sc-ix-counter-pill{width:0px;margin-right:0px}.sc-ix-counter-pill-h{min-height:1rem;max-height:1rem;height:1rem;font-size:0.75rem;padding:0 0.25rem;min-width:1rem;width:auto;padding:0 4px}.sc-ix-counter-pill-h .slot-container.sc-ix-counter-pill{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-17eb8998.js');
5
+ const index = require('./index-f4b8e6ee.js');
6
6
  const _commonjsHelpers = require('./_commonjsHelpers-1a0c346f.js');
7
7
 
8
8
  var luxon = _commonjsHelpers.createCommonjsModule(function (module, exports) {
@@ -8636,11 +8636,11 @@ const DatePicker = class {
8636
8636
  return luxon.DateTime.fromFormat(this.from, this.format).month;
8637
8637
  }
8638
8638
  onDone() {
8639
- var _a;
8639
+ var _a, _b;
8640
8640
  this.done.emit(this.getOutputFormat());
8641
8641
  this.dateSelect.emit({
8642
- from: this.start.toFormat(this.format),
8643
- to: (_a = this.end) === null || _a === void 0 ? void 0 : _a.toFormat(this.format),
8642
+ from: (_a = this.start) === null || _a === void 0 ? void 0 : _a.toFormat(this.format),
8643
+ to: (_b = this.end) === null || _b === void 0 ? void 0 : _b.toFormat(this.format),
8644
8644
  });
8645
8645
  }
8646
8646
  onDateChange() {