@siemens/ix-react 2.6.1 → 3.0.0-alpha.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 (32) hide show
  1. package/package.json +31 -31
  2. package/dist/index.esm.js +0 -737
  3. package/dist/index.js +0 -855
  4. package/dist/types/components.d.ts +0 -104
  5. package/dist/types/context/application-context.d.ts +0 -7
  6. package/dist/types/context/context.d.ts +0 -5
  7. package/dist/types/context.d.ts +0 -1
  8. package/dist/types/delegate.d.ts +0 -14
  9. package/dist/types/index.d.ts +0 -7
  10. package/dist/types/internal-components.d.ts +0 -1
  11. package/dist/types/ix-icon.d.ts +0 -3
  12. package/dist/types/modal/index.d.ts +0 -7
  13. package/dist/types/modal/modal.d.ts +0 -9
  14. package/dist/types/modal/portal.d.ts +0 -6
  15. package/dist/types/react-component-lib/createComponent.d.ts +0 -10
  16. package/dist/types/react-component-lib/createOverlayComponent.d.ts +0 -21
  17. package/dist/types/react-component-lib/index.d.ts +0 -2
  18. package/dist/types/react-component-lib/interfaces.d.ts +0 -29
  19. package/dist/types/react-component-lib/utils/attachProps.d.ts +0 -16
  20. package/dist/types/react-component-lib/utils/case.d.ts +0 -2
  21. package/dist/types/react-component-lib/utils/dev.d.ts +0 -2
  22. package/dist/types/react-component-lib/utils/index.d.ts +0 -10
  23. package/dist/types/tests/toast/toast.d.ts +0 -3
  24. package/dist/types/tests/toast/toast.spec.d.ts +0 -1
  25. package/dist/types/tests/undefined-error/undefined-error.d.ts +0 -3
  26. package/dist/types/tests/undefined-error/undefined-error.spec.d.ts +0 -1
  27. package/dist/types/tests/validation-tooltip-null-error/validation-tooltip-null-error.d.ts +0 -3
  28. package/dist/types/tests/validation-tooltip-null-error/validation-tooltip-null-error.spec.d.ts +0 -1
  29. package/dist/types/toast/index.d.ts +0 -1
  30. package/dist/types/toast/toast.d.ts +0 -6
  31. package/dist/types/tree/index.d.ts +0 -1
  32. package/dist/types/tree/tree.d.ts +0 -7
package/dist/index.esm.js DELETED
@@ -1,737 +0,0 @@
1
- import React, { createElement, useState, useRef, useEffect, useLayoutEffect, useImperativeHandle, useCallback } from 'react';
2
- import ReactDOM from 'react-dom';
3
- import { defineCustomElement } from '@siemens/ix/components/ix-action-card.js';
4
- import { defineCustomElement as defineCustomElement$1 } from '@siemens/ix/components/ix-application.js';
5
- import { defineCustomElement as defineCustomElement$2 } from '@siemens/ix/components/ix-application-header.js';
6
- import { defineCustomElement as defineCustomElement$3 } from '@siemens/ix/components/ix-avatar.js';
7
- import { defineCustomElement as defineCustomElement$4 } from '@siemens/ix/components/ix-basic-navigation.js';
8
- import { defineCustomElement as defineCustomElement$5 } from '@siemens/ix/components/ix-blind.js';
9
- import { defineCustomElement as defineCustomElement$6 } from '@siemens/ix/components/ix-breadcrumb.js';
10
- import { defineCustomElement as defineCustomElement$7 } from '@siemens/ix/components/ix-breadcrumb-item.js';
11
- import { defineCustomElement as defineCustomElement$8 } from '@siemens/ix/components/ix-button.js';
12
- import { defineCustomElement as defineCustomElement$9 } from '@siemens/ix/components/ix-card.js';
13
- import { defineCustomElement as defineCustomElement$a } from '@siemens/ix/components/ix-card-accordion.js';
14
- import { defineCustomElement as defineCustomElement$b } from '@siemens/ix/components/ix-card-content.js';
15
- import { defineCustomElement as defineCustomElement$c } from '@siemens/ix/components/ix-card-list.js';
16
- import { defineCustomElement as defineCustomElement$d } from '@siemens/ix/components/ix-card-title.js';
17
- import { defineCustomElement as defineCustomElement$e } from '@siemens/ix/components/ix-category-filter.js';
18
- import { defineCustomElement as defineCustomElement$f } from '@siemens/ix/components/ix-checkbox.js';
19
- import { defineCustomElement as defineCustomElement$g } from '@siemens/ix/components/ix-checkbox-group.js';
20
- import { defineCustomElement as defineCustomElement$h } from '@siemens/ix/components/ix-chip.js';
21
- import { defineCustomElement as defineCustomElement$i } from '@siemens/ix/components/ix-col.js';
22
- import { defineCustomElement as defineCustomElement$j } from '@siemens/ix/components/ix-content.js';
23
- import { defineCustomElement as defineCustomElement$k } from '@siemens/ix/components/ix-content-header.js';
24
- import { defineCustomElement as defineCustomElement$l } from '@siemens/ix/components/ix-custom-field.js';
25
- import { defineCustomElement as defineCustomElement$m } from '@siemens/ix/components/ix-date-dropdown.js';
26
- import { defineCustomElement as defineCustomElement$n } from '@siemens/ix/components/ix-date-input.js';
27
- import { defineCustomElement as defineCustomElement$o } from '@siemens/ix/components/ix-date-picker.js';
28
- import { defineCustomElement as defineCustomElement$p } from '@siemens/ix/components/ix-datetime-picker.js';
29
- import { defineCustomElement as defineCustomElement$q } from '@siemens/ix/components/ix-divider.js';
30
- import { defineCustomElement as defineCustomElement$r } from '@siemens/ix/components/ix-drawer.js';
31
- import { defineCustomElement as defineCustomElement$s } from '@siemens/ix/components/ix-dropdown.js';
32
- import { defineCustomElement as defineCustomElement$t } from '@siemens/ix/components/ix-dropdown-button.js';
33
- import { defineCustomElement as defineCustomElement$u } from '@siemens/ix/components/ix-dropdown-header.js';
34
- import { defineCustomElement as defineCustomElement$v } from '@siemens/ix/components/ix-dropdown-item.js';
35
- import { defineCustomElement as defineCustomElement$w } from '@siemens/ix/components/ix-dropdown-quick-actions.js';
36
- import { defineCustomElement as defineCustomElement$x } from '@siemens/ix/components/ix-empty-state.js';
37
- import { defineCustomElement as defineCustomElement$y } from '@siemens/ix/components/ix-event-list.js';
38
- import { defineCustomElement as defineCustomElement$z } from '@siemens/ix/components/ix-event-list-item.js';
39
- import { defineCustomElement as defineCustomElement$A } from '@siemens/ix/components/ix-expanding-search.js';
40
- import { defineCustomElement as defineCustomElement$B } from '@siemens/ix/components/ix-field-label.js';
41
- import { defineCustomElement as defineCustomElement$C } from '@siemens/ix/components/ix-filter-chip.js';
42
- import { defineCustomElement as defineCustomElement$D } from '@siemens/ix/components/ix-flip-tile.js';
43
- import { defineCustomElement as defineCustomElement$E } from '@siemens/ix/components/ix-flip-tile-content.js';
44
- import { defineCustomElement as defineCustomElement$F } from '@siemens/ix/components/ix-group.js';
45
- import { defineCustomElement as defineCustomElement$G } from '@siemens/ix/components/ix-group-context-menu.js';
46
- import { defineCustomElement as defineCustomElement$H } from '@siemens/ix/components/ix-group-item.js';
47
- import { defineCustomElement as defineCustomElement$I } from '@siemens/ix/components/ix-helper-text.js';
48
- import { defineCustomElement as defineCustomElement$J } from '@siemens/ix/components/ix-icon-button.js';
49
- import { defineCustomElement as defineCustomElement$K } from '@siemens/ix/components/ix-icon-toggle-button.js';
50
- import { defineCustomElement as defineCustomElement$L } from '@siemens/ix/components/ix-input.js';
51
- import { defineCustomElement as defineCustomElement$M } from '@siemens/ix/components/ix-input-group.js';
52
- import { defineCustomElement as defineCustomElement$N } from '@siemens/ix/components/ix-key-value.js';
53
- import { defineCustomElement as defineCustomElement$O } from '@siemens/ix/components/ix-key-value-list.js';
54
- import { defineCustomElement as defineCustomElement$P } from '@siemens/ix/components/ix-kpi.js';
55
- import { defineCustomElement as defineCustomElement$Q } from '@siemens/ix/components/ix-layout-auto.js';
56
- import { defineCustomElement as defineCustomElement$R } from '@siemens/ix/components/ix-layout-grid.js';
57
- import { defineCustomElement as defineCustomElement$S } from '@siemens/ix/components/ix-link-button.js';
58
- import { defineCustomElement as defineCustomElement$T } from '@siemens/ix/components/ix-map-navigation.js';
59
- import { defineCustomElement as defineCustomElement$U } from '@siemens/ix/components/ix-map-navigation-overlay.js';
60
- import { defineCustomElement as defineCustomElement$V } from '@siemens/ix/components/ix-menu.js';
61
- import { defineCustomElement as defineCustomElement$W } from '@siemens/ix/components/ix-menu-about.js';
62
- import { defineCustomElement as defineCustomElement$X } from '@siemens/ix/components/ix-menu-about-item.js';
63
- import { defineCustomElement as defineCustomElement$Y } from '@siemens/ix/components/ix-menu-about-news.js';
64
- import { defineCustomElement as defineCustomElement$Z } from '@siemens/ix/components/ix-menu-avatar.js';
65
- import { defineCustomElement as defineCustomElement$_ } from '@siemens/ix/components/ix-menu-avatar-item.js';
66
- import { defineCustomElement as defineCustomElement$$ } from '@siemens/ix/components/ix-menu-category.js';
67
- import { defineCustomElement as defineCustomElement$10 } from '@siemens/ix/components/ix-menu-item.js';
68
- import { defineCustomElement as defineCustomElement$11 } from '@siemens/ix/components/ix-menu-settings.js';
69
- import { defineCustomElement as defineCustomElement$12 } from '@siemens/ix/components/ix-menu-settings-item.js';
70
- import { defineCustomElement as defineCustomElement$13 } from '@siemens/ix/components/ix-message-bar.js';
71
- import { defineCustomElement as defineCustomElement$14 } from '@siemens/ix/components/ix-modal.js';
72
- import { defineCustomElement as defineCustomElement$15 } from '@siemens/ix/components/ix-modal-content.js';
73
- import { defineCustomElement as defineCustomElement$16 } from '@siemens/ix/components/ix-modal-footer.js';
74
- import { defineCustomElement as defineCustomElement$17 } from '@siemens/ix/components/ix-modal-header.js';
75
- import { defineCustomElement as defineCustomElement$18 } from '@siemens/ix/components/ix-number-input.js';
76
- import { defineCustomElement as defineCustomElement$19 } from '@siemens/ix/components/ix-pagination.js';
77
- import { defineCustomElement as defineCustomElement$1a } from '@siemens/ix/components/ix-pane.js';
78
- import { defineCustomElement as defineCustomElement$1b } from '@siemens/ix/components/ix-pane-layout.js';
79
- import { defineCustomElement as defineCustomElement$1c } from '@siemens/ix/components/ix-pill.js';
80
- import { defineCustomElement as defineCustomElement$1d } from '@siemens/ix/components/ix-push-card.js';
81
- import { defineCustomElement as defineCustomElement$1e } from '@siemens/ix/components/ix-radio.js';
82
- import { defineCustomElement as defineCustomElement$1f } from '@siemens/ix/components/ix-radio-group.js';
83
- import { defineCustomElement as defineCustomElement$1g } from '@siemens/ix/components/ix-row.js';
84
- import { defineCustomElement as defineCustomElement$1h } from '@siemens/ix/components/ix-select.js';
85
- import { defineCustomElement as defineCustomElement$1i } from '@siemens/ix/components/ix-select-item.js';
86
- import { defineCustomElement as defineCustomElement$1j } from '@siemens/ix/components/ix-slider.js';
87
- import { defineCustomElement as defineCustomElement$1k } from '@siemens/ix/components/ix-spinner.js';
88
- import { defineCustomElement as defineCustomElement$1l } from '@siemens/ix/components/ix-split-button.js';
89
- import { defineCustomElement as defineCustomElement$1m } from '@siemens/ix/components/ix-split-button-item.js';
90
- import { defineCustomElement as defineCustomElement$1n } from '@siemens/ix/components/ix-tab-item.js';
91
- import { defineCustomElement as defineCustomElement$1o } from '@siemens/ix/components/ix-tabs.js';
92
- import { defineCustomElement as defineCustomElement$1p } from '@siemens/ix/components/ix-textarea.js';
93
- import { defineCustomElement as defineCustomElement$1q } from '@siemens/ix/components/ix-tile.js';
94
- import { defineCustomElement as defineCustomElement$1r } from '@siemens/ix/components/ix-time-picker.js';
95
- import { defineCustomElement as defineCustomElement$1s } from '@siemens/ix/components/ix-toast.js';
96
- import { defineCustomElement as defineCustomElement$1t } from '@siemens/ix/components/ix-toast-container.js';
97
- import { defineCustomElement as defineCustomElement$1u } from '@siemens/ix/components/ix-toggle.js';
98
- import { defineCustomElement as defineCustomElement$1v } from '@siemens/ix/components/ix-toggle-button.js';
99
- import { defineCustomElement as defineCustomElement$1w } from '@siemens/ix/components/ix-tooltip.js';
100
- import { defineCustomElement as defineCustomElement$1x } from '@siemens/ix/components/ix-typography.js';
101
- import { defineCustomElement as defineCustomElement$1y } from '@siemens/ix/components/ix-upload.js';
102
- import { defineCustomElement as defineCustomElement$1z } from '@siemens/ix/components/ix-validation-tooltip.js';
103
- import { defineCustomElement as defineCustomElement$1A } from '@siemens/ix/components/ix-workflow-step.js';
104
- import { defineCustomElement as defineCustomElement$1B } from '@siemens/ix/components/ix-workflow-steps.js';
105
- import { registerFrameworkDelegate, showModal as showModal$1, toast } from '@siemens/ix';
106
- import ReactDOMClient from 'react-dom/client';
107
- import { defineCustomElement as defineCustomElement$1D } from '@siemens/ix/components/ix-application-sidebar.js';
108
- import { defineCustomElement as defineCustomElement$1C } from '@siemens/ix/components/ix-application-switch-modal.js';
109
- import { defineCustomElement as defineCustomElement$1F } from '@siemens/ix/components/ix-menu-expand-icon.js';
110
- import { defineCustomElement as defineCustomElement$1E } from '@siemens/ix/components/ix-date-time-card.js';
111
- import { defineCustomElement as defineCustomElement$1G } from '@siemens/ix/components/ix-modal-loading.js';
112
- import { defineCustomElement as defineCustomElement$1H } from '@siemens/ix-icons/dist/components/ix-icon';
113
- import { defineCustomElement as defineCustomElement$1I } from '@siemens/ix/components/ix-tree.js';
114
-
115
- /******************************************************************************
116
- Copyright (c) Microsoft Corporation.
117
-
118
- Permission to use, copy, modify, and/or distribute this software for any
119
- purpose with or without fee is hereby granted.
120
-
121
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
122
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
123
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
124
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
125
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
126
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
127
- PERFORMANCE OF THIS SOFTWARE.
128
- ***************************************************************************** */
129
-
130
- function __rest(s, e) {
131
- var t = {};
132
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
133
- t[p] = s[p];
134
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
135
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
136
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
137
- t[p[i]] = s[p[i]];
138
- }
139
- return t;
140
- }
141
-
142
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
143
- var e = new Error(message);
144
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
145
- };
146
-
147
- const dashToPascalCase = (str) => str
148
- .toLowerCase()
149
- .split('-')
150
- .map((segment) => segment.charAt(0).toUpperCase() + segment.slice(1))
151
- .join('');
152
- const camelToDashCase = (str) => str.replace(/([A-Z])/g, (m) => `-${m[0].toLowerCase()}`);
153
-
154
- const attachProps = (node, newProps, oldProps = {}) => {
155
- // some test frameworks don't render DOM elements, so we test here to make sure we are dealing with DOM first
156
- if (node instanceof Element) {
157
- // add any classes in className to the class list
158
- const className = getClassName(node.classList, newProps, oldProps);
159
- node.className = className;
160
- Object.keys(newProps).forEach((name) => {
161
- if (name === 'children' ||
162
- name === 'style' ||
163
- name === 'ref' ||
164
- name === 'class' ||
165
- name === 'className' ||
166
- name === 'forwardedRef') {
167
- return;
168
- }
169
- if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {
170
- const eventName = name.substring(2);
171
- const eventNameLc = eventName[0].toLowerCase() + eventName.substring(1);
172
- if (!isCoveredByReact(eventNameLc)) {
173
- syncEvent(node, eventNameLc, newProps[name]);
174
- }
175
- }
176
- else {
177
- node[name] = newProps[name];
178
- const propType = typeof newProps[name];
179
- if (propType === 'string') {
180
- node.setAttribute(camelToDashCase(name), newProps[name]);
181
- }
182
- }
183
- });
184
- }
185
- };
186
- const getClassName = (classList, newProps, oldProps) => {
187
- const newClassProp = newProps.className || newProps.class;
188
- const oldClassProp = oldProps.className || oldProps.class;
189
- // map the classes to Maps for performance
190
- const currentClasses = arrayToMap(classList);
191
- const incomingPropClasses = arrayToMap(newClassProp ? newClassProp.split(' ') : []);
192
- const oldPropClasses = arrayToMap(oldClassProp ? oldClassProp.split(' ') : []);
193
- const finalClassNames = [];
194
- // loop through each of the current classes on the component
195
- // to see if it should be a part of the classNames added
196
- currentClasses.forEach((currentClass) => {
197
- if (incomingPropClasses.has(currentClass)) {
198
- // add it as its already included in classnames coming in from newProps
199
- finalClassNames.push(currentClass);
200
- incomingPropClasses.delete(currentClass);
201
- }
202
- else if (!oldPropClasses.has(currentClass)) {
203
- // add it as it has NOT been removed by user
204
- finalClassNames.push(currentClass);
205
- }
206
- });
207
- incomingPropClasses.forEach((s) => finalClassNames.push(s));
208
- return finalClassNames.join(' ');
209
- };
210
- /**
211
- * Transforms a React event name to a browser event name.
212
- */
213
- const transformReactEventName = (eventNameSuffix) => {
214
- switch (eventNameSuffix) {
215
- case 'doubleclick':
216
- return 'dblclick';
217
- }
218
- return eventNameSuffix;
219
- };
220
- /**
221
- * Checks if an event is supported in the current execution environment.
222
- * @license Modernizr 3.0.0pre (Custom Build) | MIT
223
- */
224
- const isCoveredByReact = (eventNameSuffix) => {
225
- if (typeof document === 'undefined') {
226
- return true;
227
- }
228
- else {
229
- const eventName = 'on' + transformReactEventName(eventNameSuffix);
230
- let isSupported = eventName in document;
231
- if (!isSupported) {
232
- const element = document.createElement('div');
233
- element.setAttribute(eventName, 'return;');
234
- isSupported = typeof element[eventName] === 'function';
235
- }
236
- return isSupported;
237
- }
238
- };
239
- const syncEvent = (node, eventName, newEventHandler) => {
240
- const eventStore = node.__events || (node.__events = {});
241
- const oldEventHandler = eventStore[eventName];
242
- // Remove old listener so they don't double up.
243
- if (oldEventHandler) {
244
- node.removeEventListener(eventName, oldEventHandler);
245
- }
246
- // Bind new listener.
247
- node.addEventListener(eventName, (eventStore[eventName] = function handler(e) {
248
- if (newEventHandler) {
249
- newEventHandler.call(this, e);
250
- }
251
- }));
252
- };
253
- const arrayToMap = (arr) => {
254
- const map = new Map();
255
- arr.forEach((s) => map.set(s, s));
256
- return map;
257
- };
258
-
259
- const setRef = (ref, value) => {
260
- if (typeof ref === 'function') {
261
- ref(value);
262
- }
263
- else if (ref != null) {
264
- // Cast as a MutableRef so we can assign current
265
- ref.current = value;
266
- }
267
- };
268
- const mergeRefs = (...refs) => {
269
- return (value) => {
270
- refs.forEach((ref) => {
271
- setRef(ref, value);
272
- });
273
- };
274
- };
275
- const createForwardRef = (ReactComponent, displayName) => {
276
- const forwardRef = (props, ref) => {
277
- return React.createElement(ReactComponent, Object.assign({}, props, { forwardedRef: ref }));
278
- };
279
- forwardRef.displayName = displayName;
280
- return React.forwardRef(forwardRef);
281
- };
282
-
283
- const createReactComponent = (tagName, ReactComponentContext, manipulatePropsFunction, defineCustomElement) => {
284
- if (defineCustomElement !== undefined) {
285
- defineCustomElement();
286
- }
287
- const displayName = dashToPascalCase(tagName);
288
- const ReactComponent = class extends React.Component {
289
- constructor(props) {
290
- super(props);
291
- this.setComponentElRef = (element) => {
292
- this.componentEl = element;
293
- };
294
- }
295
- componentDidMount() {
296
- this.componentDidUpdate(this.props);
297
- }
298
- componentDidUpdate(prevProps) {
299
- attachProps(this.componentEl, this.props, prevProps);
300
- }
301
- render() {
302
- const _a = this.props, { children, forwardedRef, style, className, ref } = _a, cProps = __rest(_a, ["children", "forwardedRef", "style", "className", "ref"]);
303
- let propsToPass = Object.keys(cProps).reduce((acc, name) => {
304
- const value = cProps[name];
305
- if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {
306
- const eventName = name.substring(2).toLowerCase();
307
- if (typeof document !== 'undefined' && isCoveredByReact(eventName)) {
308
- acc[name] = value;
309
- }
310
- }
311
- else {
312
- // we should only render strings, booleans, and numbers as attrs in html.
313
- // objects, functions, arrays etc get synced via properties on mount.
314
- const type = typeof value;
315
- if (type === 'string' || type === 'boolean' || type === 'number') {
316
- acc[camelToDashCase(name)] = value;
317
- }
318
- }
319
- return acc;
320
- }, {});
321
- if (manipulatePropsFunction) {
322
- propsToPass = manipulatePropsFunction(this.props, propsToPass);
323
- }
324
- const newProps = Object.assign(Object.assign({}, propsToPass), { ref: mergeRefs(forwardedRef, this.setComponentElRef), style });
325
- /**
326
- * We use createElement here instead of
327
- * React.createElement to work around a
328
- * bug in Vite (https://github.com/vitejs/vite/issues/6104).
329
- * React.createElement causes all elements to be rendered
330
- * as <tagname> instead of the actual Web Component.
331
- */
332
- return createElement(tagName, newProps, children);
333
- }
334
- static get displayName() {
335
- return displayName;
336
- }
337
- };
338
- // If context was passed to createReactComponent then conditionally add it to the Component Class
339
- if (ReactComponentContext) {
340
- ReactComponent.contextType = ReactComponentContext;
341
- }
342
- return createForwardRef(ReactComponent, displayName);
343
- };
344
-
345
- /* eslint-disable */
346
- const IxActionCard = /*@__PURE__*/ createReactComponent('ix-action-card', undefined, undefined, defineCustomElement);
347
- const IxApplication = /*@__PURE__*/ createReactComponent('ix-application', undefined, undefined, defineCustomElement$1);
348
- const IxApplicationHeader = /*@__PURE__*/ createReactComponent('ix-application-header', undefined, undefined, defineCustomElement$2);
349
- const IxAvatar = /*@__PURE__*/ createReactComponent('ix-avatar', undefined, undefined, defineCustomElement$3);
350
- const IxBasicNavigation = /*@__PURE__*/ createReactComponent('ix-basic-navigation', undefined, undefined, defineCustomElement$4);
351
- const IxBlind = /*@__PURE__*/ createReactComponent('ix-blind', undefined, undefined, defineCustomElement$5);
352
- const IxBreadcrumb = /*@__PURE__*/ createReactComponent('ix-breadcrumb', undefined, undefined, defineCustomElement$6);
353
- const IxBreadcrumbItem = /*@__PURE__*/ createReactComponent('ix-breadcrumb-item', undefined, undefined, defineCustomElement$7);
354
- const IxButton = /*@__PURE__*/ createReactComponent('ix-button', undefined, undefined, defineCustomElement$8);
355
- const IxCard = /*@__PURE__*/ createReactComponent('ix-card', undefined, undefined, defineCustomElement$9);
356
- const IxCardAccordion = /*@__PURE__*/ createReactComponent('ix-card-accordion', undefined, undefined, defineCustomElement$a);
357
- const IxCardContent = /*@__PURE__*/ createReactComponent('ix-card-content', undefined, undefined, defineCustomElement$b);
358
- const IxCardList = /*@__PURE__*/ createReactComponent('ix-card-list', undefined, undefined, defineCustomElement$c);
359
- const IxCardTitle = /*@__PURE__*/ createReactComponent('ix-card-title', undefined, undefined, defineCustomElement$d);
360
- const IxCategoryFilter = /*@__PURE__*/ createReactComponent('ix-category-filter', undefined, undefined, defineCustomElement$e);
361
- const IxCheckbox = /*@__PURE__*/ createReactComponent('ix-checkbox', undefined, undefined, defineCustomElement$f);
362
- const IxCheckboxGroup = /*@__PURE__*/ createReactComponent('ix-checkbox-group', undefined, undefined, defineCustomElement$g);
363
- const IxChip = /*@__PURE__*/ createReactComponent('ix-chip', undefined, undefined, defineCustomElement$h);
364
- const IxCol = /*@__PURE__*/ createReactComponent('ix-col', undefined, undefined, defineCustomElement$i);
365
- const IxContent = /*@__PURE__*/ createReactComponent('ix-content', undefined, undefined, defineCustomElement$j);
366
- const IxContentHeader = /*@__PURE__*/ createReactComponent('ix-content-header', undefined, undefined, defineCustomElement$k);
367
- const IxCustomField = /*@__PURE__*/ createReactComponent('ix-custom-field', undefined, undefined, defineCustomElement$l);
368
- const IxDateDropdown = /*@__PURE__*/ createReactComponent('ix-date-dropdown', undefined, undefined, defineCustomElement$m);
369
- const IxDateInput = /*@__PURE__*/ createReactComponent('ix-date-input', undefined, undefined, defineCustomElement$n);
370
- const IxDatePicker = /*@__PURE__*/ createReactComponent('ix-date-picker', undefined, undefined, defineCustomElement$o);
371
- const IxDatetimePicker = /*@__PURE__*/ createReactComponent('ix-datetime-picker', undefined, undefined, defineCustomElement$p);
372
- const IxDivider = /*@__PURE__*/ createReactComponent('ix-divider', undefined, undefined, defineCustomElement$q);
373
- const IxDrawer = /*@__PURE__*/ createReactComponent('ix-drawer', undefined, undefined, defineCustomElement$r);
374
- const IxDropdown = /*@__PURE__*/ createReactComponent('ix-dropdown', undefined, undefined, defineCustomElement$s);
375
- const IxDropdownButton = /*@__PURE__*/ createReactComponent('ix-dropdown-button', undefined, undefined, defineCustomElement$t);
376
- const IxDropdownHeader = /*@__PURE__*/ createReactComponent('ix-dropdown-header', undefined, undefined, defineCustomElement$u);
377
- const IxDropdownItem = /*@__PURE__*/ createReactComponent('ix-dropdown-item', undefined, undefined, defineCustomElement$v);
378
- const IxDropdownQuickActions = /*@__PURE__*/ createReactComponent('ix-dropdown-quick-actions', undefined, undefined, defineCustomElement$w);
379
- const IxEmptyState = /*@__PURE__*/ createReactComponent('ix-empty-state', undefined, undefined, defineCustomElement$x);
380
- const IxEventList = /*@__PURE__*/ createReactComponent('ix-event-list', undefined, undefined, defineCustomElement$y);
381
- const IxEventListItem = /*@__PURE__*/ createReactComponent('ix-event-list-item', undefined, undefined, defineCustomElement$z);
382
- const IxExpandingSearch = /*@__PURE__*/ createReactComponent('ix-expanding-search', undefined, undefined, defineCustomElement$A);
383
- const IxFieldLabel = /*@__PURE__*/ createReactComponent('ix-field-label', undefined, undefined, defineCustomElement$B);
384
- const IxFilterChip = /*@__PURE__*/ createReactComponent('ix-filter-chip', undefined, undefined, defineCustomElement$C);
385
- const IxFlipTile = /*@__PURE__*/ createReactComponent('ix-flip-tile', undefined, undefined, defineCustomElement$D);
386
- const IxFlipTileContent = /*@__PURE__*/ createReactComponent('ix-flip-tile-content', undefined, undefined, defineCustomElement$E);
387
- const IxGroup = /*@__PURE__*/ createReactComponent('ix-group', undefined, undefined, defineCustomElement$F);
388
- const IxGroupContextMenu = /*@__PURE__*/ createReactComponent('ix-group-context-menu', undefined, undefined, defineCustomElement$G);
389
- const IxGroupItem = /*@__PURE__*/ createReactComponent('ix-group-item', undefined, undefined, defineCustomElement$H);
390
- const IxHelperText = /*@__PURE__*/ createReactComponent('ix-helper-text', undefined, undefined, defineCustomElement$I);
391
- const IxIconButton = /*@__PURE__*/ createReactComponent('ix-icon-button', undefined, undefined, defineCustomElement$J);
392
- const IxIconToggleButton = /*@__PURE__*/ createReactComponent('ix-icon-toggle-button', undefined, undefined, defineCustomElement$K);
393
- const IxInput = /*@__PURE__*/ createReactComponent('ix-input', undefined, undefined, defineCustomElement$L);
394
- const IxInputGroup = /*@__PURE__*/ createReactComponent('ix-input-group', undefined, undefined, defineCustomElement$M);
395
- const IxKeyValue = /*@__PURE__*/ createReactComponent('ix-key-value', undefined, undefined, defineCustomElement$N);
396
- const IxKeyValueList = /*@__PURE__*/ createReactComponent('ix-key-value-list', undefined, undefined, defineCustomElement$O);
397
- const IxKpi = /*@__PURE__*/ createReactComponent('ix-kpi', undefined, undefined, defineCustomElement$P);
398
- const IxLayoutAuto = /*@__PURE__*/ createReactComponent('ix-layout-auto', undefined, undefined, defineCustomElement$Q);
399
- const IxLayoutGrid = /*@__PURE__*/ createReactComponent('ix-layout-grid', undefined, undefined, defineCustomElement$R);
400
- const IxLinkButton = /*@__PURE__*/ createReactComponent('ix-link-button', undefined, undefined, defineCustomElement$S);
401
- const IxMapNavigation = /*@__PURE__*/ createReactComponent('ix-map-navigation', undefined, undefined, defineCustomElement$T);
402
- const IxMapNavigationOverlay = /*@__PURE__*/ createReactComponent('ix-map-navigation-overlay', undefined, undefined, defineCustomElement$U);
403
- const IxMenu = /*@__PURE__*/ createReactComponent('ix-menu', undefined, undefined, defineCustomElement$V);
404
- const IxMenuAbout = /*@__PURE__*/ createReactComponent('ix-menu-about', undefined, undefined, defineCustomElement$W);
405
- const IxMenuAboutItem = /*@__PURE__*/ createReactComponent('ix-menu-about-item', undefined, undefined, defineCustomElement$X);
406
- const IxMenuAboutNews = /*@__PURE__*/ createReactComponent('ix-menu-about-news', undefined, undefined, defineCustomElement$Y);
407
- const IxMenuAvatar = /*@__PURE__*/ createReactComponent('ix-menu-avatar', undefined, undefined, defineCustomElement$Z);
408
- const IxMenuAvatarItem = /*@__PURE__*/ createReactComponent('ix-menu-avatar-item', undefined, undefined, defineCustomElement$_);
409
- const IxMenuCategory = /*@__PURE__*/ createReactComponent('ix-menu-category', undefined, undefined, defineCustomElement$$);
410
- const IxMenuItem = /*@__PURE__*/ createReactComponent('ix-menu-item', undefined, undefined, defineCustomElement$10);
411
- const IxMenuSettings = /*@__PURE__*/ createReactComponent('ix-menu-settings', undefined, undefined, defineCustomElement$11);
412
- const IxMenuSettingsItem = /*@__PURE__*/ createReactComponent('ix-menu-settings-item', undefined, undefined, defineCustomElement$12);
413
- const IxMessageBar = /*@__PURE__*/ createReactComponent('ix-message-bar', undefined, undefined, defineCustomElement$13);
414
- const IxModal = /*@__PURE__*/ createReactComponent('ix-modal', undefined, undefined, defineCustomElement$14);
415
- const IxModalContent = /*@__PURE__*/ createReactComponent('ix-modal-content', undefined, undefined, defineCustomElement$15);
416
- const IxModalFooter = /*@__PURE__*/ createReactComponent('ix-modal-footer', undefined, undefined, defineCustomElement$16);
417
- const IxModalHeader = /*@__PURE__*/ createReactComponent('ix-modal-header', undefined, undefined, defineCustomElement$17);
418
- const IxNumberInput = /*@__PURE__*/ createReactComponent('ix-number-input', undefined, undefined, defineCustomElement$18);
419
- const IxPagination = /*@__PURE__*/ createReactComponent('ix-pagination', undefined, undefined, defineCustomElement$19);
420
- const IxPane = /*@__PURE__*/ createReactComponent('ix-pane', undefined, undefined, defineCustomElement$1a);
421
- const IxPaneLayout = /*@__PURE__*/ createReactComponent('ix-pane-layout', undefined, undefined, defineCustomElement$1b);
422
- const IxPill = /*@__PURE__*/ createReactComponent('ix-pill', undefined, undefined, defineCustomElement$1c);
423
- const IxPushCard = /*@__PURE__*/ createReactComponent('ix-push-card', undefined, undefined, defineCustomElement$1d);
424
- const IxRadio = /*@__PURE__*/ createReactComponent('ix-radio', undefined, undefined, defineCustomElement$1e);
425
- const IxRadioGroup = /*@__PURE__*/ createReactComponent('ix-radio-group', undefined, undefined, defineCustomElement$1f);
426
- const IxRow = /*@__PURE__*/ createReactComponent('ix-row', undefined, undefined, defineCustomElement$1g);
427
- const IxSelect = /*@__PURE__*/ createReactComponent('ix-select', undefined, undefined, defineCustomElement$1h);
428
- const IxSelectItem = /*@__PURE__*/ createReactComponent('ix-select-item', undefined, undefined, defineCustomElement$1i);
429
- const IxSlider = /*@__PURE__*/ createReactComponent('ix-slider', undefined, undefined, defineCustomElement$1j);
430
- const IxSpinner = /*@__PURE__*/ createReactComponent('ix-spinner', undefined, undefined, defineCustomElement$1k);
431
- const IxSplitButton = /*@__PURE__*/ createReactComponent('ix-split-button', undefined, undefined, defineCustomElement$1l);
432
- const IxSplitButtonItem = /*@__PURE__*/ createReactComponent('ix-split-button-item', undefined, undefined, defineCustomElement$1m);
433
- const IxTabItem = /*@__PURE__*/ createReactComponent('ix-tab-item', undefined, undefined, defineCustomElement$1n);
434
- const IxTabs = /*@__PURE__*/ createReactComponent('ix-tabs', undefined, undefined, defineCustomElement$1o);
435
- const IxTextarea = /*@__PURE__*/ createReactComponent('ix-textarea', undefined, undefined, defineCustomElement$1p);
436
- const IxTile = /*@__PURE__*/ createReactComponent('ix-tile', undefined, undefined, defineCustomElement$1q);
437
- const IxTimePicker = /*@__PURE__*/ createReactComponent('ix-time-picker', undefined, undefined, defineCustomElement$1r);
438
- const IxToast = /*@__PURE__*/ createReactComponent('ix-toast', undefined, undefined, defineCustomElement$1s);
439
- const IxToastContainer = /*@__PURE__*/ createReactComponent('ix-toast-container', undefined, undefined, defineCustomElement$1t);
440
- const IxToggle = /*@__PURE__*/ createReactComponent('ix-toggle', undefined, undefined, defineCustomElement$1u);
441
- const IxToggleButton = /*@__PURE__*/ createReactComponent('ix-toggle-button', undefined, undefined, defineCustomElement$1v);
442
- const IxTooltip = /*@__PURE__*/ createReactComponent('ix-tooltip', undefined, undefined, defineCustomElement$1w);
443
- const IxTypography = /*@__PURE__*/ createReactComponent('ix-typography', undefined, undefined, defineCustomElement$1x);
444
- const IxUpload = /*@__PURE__*/ createReactComponent('ix-upload', undefined, undefined, defineCustomElement$1y);
445
- const IxValidationTooltip = /*@__PURE__*/ createReactComponent('ix-validation-tooltip', undefined, undefined, defineCustomElement$1z);
446
- const IxWorkflowStep = /*@__PURE__*/ createReactComponent('ix-workflow-step', undefined, undefined, defineCustomElement$1A);
447
- const IxWorkflowSteps = /*@__PURE__*/ createReactComponent('ix-workflow-steps', undefined, undefined, defineCustomElement$1B);
448
-
449
- /*
450
- * SPDX-FileCopyrightText: 2024 Siemens AG
451
- *
452
- * SPDX-License-Identifier: MIT
453
- *
454
- * This source code is licensed under the MIT license found in the
455
- * LICENSE file in the root directory of this source tree.
456
- */
457
- let viewInstance = 0;
458
- function createViewInstance() {
459
- return `ix-react-view-${viewInstance++}`;
460
- }
461
- const mountedRootNodes = {};
462
- async function fallbackRootDom(id, view) {
463
- return new Promise((resolve) => {
464
- const rootElement = document.createElement('DIV');
465
- rootElement.id = id;
466
- rootElement.style.display = 'contents';
467
- document.body.appendChild(rootElement);
468
- const root = ReactDOMClient.createRoot(rootElement);
469
- root.render(view);
470
- mountedRootNodes[id] = root;
471
- setTimeout(() => {
472
- const viewElement = rootElement.children[0];
473
- resolve(viewElement);
474
- });
475
- });
476
- }
477
- async function fallbackRemoveViewFromRootDom(view) {
478
- const parent = view.parentElement;
479
- const id = parent.id;
480
- if (id in mountedRootNodes) {
481
- mountedRootNodes[id].unmount();
482
- delete mountedRootNodes[id];
483
- parent.remove();
484
- }
485
- }
486
- class ReactFrameworkDelegate {
487
- constructor() {
488
- this.isUsingReactPortal = false;
489
- this.portalInitPromise = new Promise((resolve) => (this.resolvePortalInitPromise = resolve));
490
- }
491
- async attachView(view) {
492
- const id = createViewInstance();
493
- if (!this.isUsingReactPortal) {
494
- return fallbackRootDom(id, view);
495
- }
496
- await this.isPortalReady();
497
- if (this.attachViewToPortal) {
498
- const refElement = await this.attachViewToPortal(id, view);
499
- return refElement;
500
- }
501
- console.error('Portal could not be initialized');
502
- }
503
- async removeView(view) {
504
- if (!this.removeViewFromPortal) {
505
- return fallbackRemoveViewFromRootDom(view);
506
- }
507
- const parent = view.parentElement;
508
- const id = parent.getAttribute('data-portal-id');
509
- this.removeViewFromPortal(id);
510
- }
511
- portalReady() {
512
- var _a;
513
- (_a = this.resolvePortalInitPromise) === null || _a === void 0 ? void 0 : _a.call(this);
514
- }
515
- async isPortalReady() {
516
- return this.portalInitPromise;
517
- }
518
- }
519
- const reactFrameworkDelegate = new ReactFrameworkDelegate();
520
- registerFrameworkDelegate(reactFrameworkDelegate);
521
-
522
- /*
523
- * SPDX-FileCopyrightText: 2024 Siemens AG
524
- *
525
- * SPDX-License-Identifier: MIT
526
- *
527
- * This source code is licensed under the MIT license found in the
528
- * LICENSE file in the root directory of this source tree.
529
- */
530
- const PORTAL_ID = 'ix-portal';
531
- const IxOverlay = (props) => {
532
- const [portalRef, setPortalRef] = useState(null);
533
- const resolveElementRef = useRef({});
534
- const viewRefs = useRef({});
535
- const [views, setViews] = useState({});
536
- useEffect(() => {
537
- const addOverlay = (id, view) => {
538
- const _views = Object.assign({}, viewRefs.current);
539
- _views[id] = view;
540
- setViews(_views);
541
- viewRefs.current = _views;
542
- };
543
- const removeOverlay = (id) => {
544
- const _views = Object.assign({}, viewRefs.current);
545
- delete _views[id];
546
- setViews(_views);
547
- viewRefs.current = _views;
548
- };
549
- props.delegate.attachViewToPortal = async (id, view) => {
550
- addOverlay(id, view);
551
- return new Promise((resolve) => {
552
- const r = Object.assign({}, resolveElementRef.current);
553
- r[id] = resolve;
554
- resolveElementRef.current = r;
555
- });
556
- };
557
- props.delegate.removeViewFromPortal = async (id) => {
558
- removeOverlay(id);
559
- };
560
- props.delegate.portalReady();
561
- }, []);
562
- useLayoutEffect(() => {
563
- const portalRef = document.querySelector(`#${PORTAL_ID}`);
564
- if (portalRef) {
565
- setPortalRef(portalRef);
566
- }
567
- }, []);
568
- useLayoutEffect(() => {
569
- Object.keys(views).forEach((key) => {
570
- const resolveQueue = Object.assign({}, resolveElementRef.current);
571
- const element = document.querySelector(`[data-portal-id="${key}"]`);
572
- if (element && element.children.length === 1 && resolveQueue[key]) {
573
- const view = element.children[0];
574
- resolveQueue[key](view);
575
- }
576
- });
577
- }, [views]);
578
- if (!portalRef) {
579
- return null;
580
- }
581
- return (React.createElement(React.Fragment, null, Object.keys(views).map((key) => {
582
- const RenderView = views[key];
583
- return ReactDOM.createPortal(React.createElement("div", { "data-portal-id": key, style: { display: 'contents ' } }, RenderView), portalRef, key);
584
- })));
585
- };
586
-
587
- /*
588
- * SPDX-FileCopyrightText: 2024 Siemens AG
589
- *
590
- * SPDX-License-Identifier: MIT
591
- *
592
- * This source code is licensed under the MIT license found in the
593
- * LICENSE file in the root directory of this source tree.
594
- */
595
- const IxContext = React.createContext(null);
596
-
597
- /*
598
- * SPDX-FileCopyrightText: 2024 Siemens AG
599
- *
600
- * SPDX-License-Identifier: MIT
601
- *
602
- * This source code is licensed under the MIT license found in the
603
- * LICENSE file in the root directory of this source tree.
604
- */
605
- class IxApplicationContext extends React.Component {
606
- constructor(props) {
607
- super(props);
608
- this.delegate = reactFrameworkDelegate;
609
- this.delegate.isUsingReactPortal = true;
610
- }
611
- render() {
612
- return (React.createElement(IxContext.Provider, { value: {
613
- delegate: this.delegate,
614
- } },
615
- this.props.children,
616
- React.createElement(IxOverlay, { delegate: this.delegate }),
617
- React.createElement("div", { id: PORTAL_ID })));
618
- }
619
- }
620
-
621
- /*
622
- * SPDX-FileCopyrightText: 2024 Siemens AG
623
- *
624
- * SPDX-License-Identifier: MIT
625
- *
626
- * This source code is licensed under the MIT license found in the
627
- * LICENSE file in the root directory of this source tree.
628
- */
629
- defineCustomElement$1C();
630
- defineCustomElement$1D();
631
- defineCustomElement$1E();
632
- defineCustomElement$1F();
633
- defineCustomElement$1G();
634
-
635
- // eslint-disable-next-line no-inline-comments
636
- const IxIcon = /*@__PURE__*/ createReactComponent('ix-icon', undefined, undefined);
637
- // Predefine `ix-icon` to be sure its loaded before its used inside the util functions
638
- defineCustomElement$1H();
639
-
640
- /*
641
- * SPDX-FileCopyrightText: 2024 Siemens AG
642
- *
643
- * SPDX-License-Identifier: MIT
644
- *
645
- * This source code is licensed under the MIT license found in the
646
- * LICENSE file in the root directory of this source tree.
647
- */
648
- const Modal = React.forwardRef((props, ref) => {
649
- const wrapperRef = useRef(null);
650
- useImperativeHandle(ref, () => ({
651
- close(result) {
652
- var _a;
653
- (_a = wrapperRef.current) === null || _a === void 0 ? void 0 : _a.closeModal(result);
654
- },
655
- dismiss(result) {
656
- var _a;
657
- (_a = wrapperRef.current) === null || _a === void 0 ? void 0 : _a.dismissModal(result);
658
- },
659
- modalElement: null,
660
- }));
661
- return React.createElement(IxModal, { ref: wrapperRef }, props.children);
662
- });
663
-
664
- /*
665
- * SPDX-FileCopyrightText: 2024 Siemens AG
666
- *
667
- * SPDX-License-Identifier: MIT
668
- *
669
- * This source code is licensed under the MIT license found in the
670
- * LICENSE file in the root directory of this source tree.
671
- */
672
- async function showModal(config) {
673
- return showModal$1(config);
674
- }
675
-
676
- /*
677
- * SPDX-FileCopyrightText: 2024 Siemens AG
678
- *
679
- * SPDX-License-Identifier: MIT
680
- *
681
- * This source code is licensed under the MIT license found in the
682
- * LICENSE file in the root directory of this source tree.
683
- */
684
- async function showToast(config) {
685
- // Define custom element, otherwise dynamic creation of toast container will fail
686
- defineCustomElement$1s();
687
- defineCustomElement$1t();
688
- if (typeof config.message === 'string') {
689
- const toastInstance = await toast(config);
690
- return toastInstance;
691
- }
692
- const node = config.message;
693
- const toastContainer = document.createElement('DIV');
694
- const root = ReactDOMClient.createRoot(toastContainer);
695
- root.render(node);
696
- const toastInstance = await toast(Object.assign(Object.assign({}, config), { message: toastContainer }));
697
- toastInstance.onClose.once(() => {
698
- root.unmount();
699
- });
700
- return toastInstance;
701
- }
702
-
703
- /* eslint-disable @typescript-eslint/no-explicit-any */
704
- // eslint-disable-next-line no-inline-comments
705
- const InternalIxTree = /*@__PURE__*/ createReactComponent('ix-tree', undefined, undefined, defineCustomElement$1I);
706
- const IxTree = (props) => {
707
- const cachedRootNodes = useRef(new Map());
708
- const renderItem = useCallback((_, data, __, context, update) => {
709
- const treeItem = document.createElement('ix-tree-item');
710
- treeItem.hasChildren = data.hasChildren;
711
- treeItem.context = context[data.id];
712
- update((itemData, context) => {
713
- treeItem.context = context[itemData.id];
714
- treeItem.hasChildren = itemData.hasChildren;
715
- });
716
- const container = document.createElement('DIV');
717
- const rootNode = ReactDOMClient.createRoot(container);
718
- if (props.renderItem) {
719
- rootNode.render(props.renderItem(data.data));
720
- }
721
- treeItem.appendChild(container);
722
- cachedRootNodes.current.set(treeItem, rootNode);
723
- return treeItem;
724
- }, []);
725
- return (React.createElement(InternalIxTree, Object.assign({}, props, { renderItem: props.renderItem ? renderItem : undefined, onNodeRemoved: (removed) => {
726
- const { detail } = removed;
727
- detail.forEach((removedItemElement) => {
728
- var _a;
729
- if (cachedRootNodes.current.has(removedItemElement)) {
730
- (_a = cachedRootNodes.current.get(removedItemElement)) === null || _a === void 0 ? void 0 : _a.unmount();
731
- cachedRootNodes.current.delete(removedItemElement);
732
- }
733
- });
734
- } })));
735
- };
736
-
737
- export { InternalIxTree, IxActionCard, IxApplication, IxApplicationContext, IxApplicationHeader, IxAvatar, IxBasicNavigation, IxBlind, IxBreadcrumb, IxBreadcrumbItem, IxButton, IxCard, IxCardAccordion, IxCardContent, IxCardList, IxCardTitle, IxCategoryFilter, IxCheckbox, IxCheckboxGroup, IxChip, IxCol, IxContent, IxContentHeader, IxCustomField, IxDateDropdown, IxDateInput, IxDatePicker, IxDatetimePicker, IxDivider, IxDrawer, IxDropdown, IxDropdownButton, IxDropdownHeader, IxDropdownItem, IxDropdownQuickActions, IxEmptyState, IxEventList, IxEventListItem, IxExpandingSearch, IxFieldLabel, IxFilterChip, IxFlipTile, IxFlipTileContent, IxGroup, IxGroupContextMenu, IxGroupItem, IxHelperText, IxIcon, IxIconButton, IxIconToggleButton, IxInput, IxInputGroup, IxKeyValue, IxKeyValueList, IxKpi, IxLayoutAuto, IxLayoutGrid, IxLinkButton, IxMapNavigation, IxMapNavigationOverlay, IxMenu, IxMenuAbout, IxMenuAboutItem, IxMenuAboutNews, IxMenuAvatar, IxMenuAvatarItem, IxMenuCategory, IxMenuItem, IxMenuSettings, IxMenuSettingsItem, IxMessageBar, IxModal, IxModalContent, IxModalFooter, IxModalHeader, IxNumberInput, IxPagination, IxPane, IxPaneLayout, IxPill, IxPushCard, IxRadio, IxRadioGroup, IxRow, IxSelect, IxSelectItem, IxSlider, IxSpinner, IxSplitButton, IxSplitButtonItem, IxTabItem, IxTabs, IxTextarea, IxTile, IxTimePicker, IxToast, IxToastContainer, IxToggle, IxToggleButton, IxTooltip, IxTree, IxTypography, IxUpload, IxValidationTooltip, IxWorkflowStep, IxWorkflowSteps, Modal, showModal, showToast };