@deviceinsight/ng-ui-basic-components 7.0.0 → 7.1.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.
package/dist/index.js CHANGED
@@ -5,8 +5,8 @@ import g from "classnames";
5
5
  import { withTranslation as M, Trans as k, useTranslation as Y } from "react-i18next";
6
6
  import G from "react-dom";
7
7
  import J from "react-draggable";
8
- import { useFloating as Q, offset as ee, shift as te, size as ne, arrow as ie, autoUpdate as L, useClick as se, useHover as ae, safePolygon as oe, useFocus as re, useDismiss as ce, useInteractions as le, FloatingPortal as de } from "@floating-ui/react";
9
- class qe extends w.Component {
8
+ import { useFloating as Q, offset as ee, flip as te, shift as ne, size as ie, arrow as se, autoUpdate as L, useClick as ae, useHover as oe, safePolygon as re, useFocus as ce, useDismiss as le, useInteractions as de, FloatingPortal as ue } from "@floating-ui/react";
9
+ class Xe extends w.Component {
10
10
  state = {
11
11
  currentPageIndex: -1
12
12
  };
@@ -36,7 +36,7 @@ class qe extends w.Component {
36
36
  ) });
37
37
  }
38
38
  }
39
- class Xe extends w.PureComponent {
39
+ class Ye extends w.PureComponent {
40
40
  render() {
41
41
  const { badge: e, children: n, isOpen: i, info1: s, itemClasses: o, title: r, titleTooltip: c, toggle: l, tools: u, ...h } = this.props, d = ["item"];
42
42
  return o && d.push(o), i && d.push("open"), /* @__PURE__ */ m("div", { className: d.join(" "), children: [
@@ -63,7 +63,7 @@ class Xe extends w.PureComponent {
63
63
  ] });
64
64
  }
65
65
  }
66
- function ue({
66
+ function he({
67
67
  children: t,
68
68
  title: e,
69
69
  type: n,
@@ -97,22 +97,22 @@ function ue({
97
97
  }
98
98
  );
99
99
  }
100
- const x = M()(ue), he = ({ children: t, dividing: e, className: n, style: i }) => /* @__PURE__ */ a("div", { style: i, className: `di button-row ${e ? "dividing" : ""} ${n || ""}`, children: t });
101
- he.defaultProps = {
100
+ const x = M()(he), pe = ({ children: t, dividing: e, className: n, style: i }) => /* @__PURE__ */ a("div", { style: i, className: `di button-row ${e ? "dividing" : ""} ${n || ""}`, children: t });
101
+ pe.defaultProps = {
102
102
  dividing: !1
103
103
  };
104
- const pe = (t) => !!t.touches, me = (t, e) => {
104
+ const me = (t) => !!t.touches, fe = (t, e) => {
105
105
  const n = t.getBoundingClientRect();
106
106
  let i, s;
107
- return pe(e) ? (i = e.touches[0].pageX, s = e.touches[0].pageY) : (i = e.pageX, s = e.pageY), n.left <= i && n.right >= i && n.top <= s && n.bottom >= s;
108
- }, fe = (t, e) => {
107
+ return me(e) ? (i = e.touches[0].pageX, s = e.touches[0].pageY) : (i = e.pageX, s = e.pageY), n.left <= i && n.right >= i && n.top <= s && n.bottom >= s;
108
+ }, ge = (t, e) => {
109
109
  const n = V(e);
110
110
  N(() => {
111
111
  n.current = e;
112
112
  }, [e]), N(() => {
113
113
  const i = (s) => {
114
114
  t.filter((r) => r != null).every(
115
- (r) => r !== s.target && !r.contains(s.target) && !me(r, s)
115
+ (r) => r !== s.target && !r.contains(s.target) && !fe(r, s)
116
116
  ) && n.current(s);
117
117
  };
118
118
  return document.addEventListener("mousedown", i, !0), document.addEventListener("touchstart", i, !0), () => {
@@ -120,11 +120,11 @@ const pe = (t) => !!t.touches, me = (t, e) => {
120
120
  };
121
121
  }, [t]);
122
122
  };
123
- function ge({ className: t, width: e, header: n, content: i, footer: s, onOutsideClick: o }) {
123
+ function ve({ className: t, width: e, header: n, content: i, footer: s, onOutsideClick: o }) {
124
124
  const r = V(null), [c, l] = y(null);
125
125
  return N(() => {
126
126
  l(r.current);
127
- }, []), fe([c], () => {
127
+ }, []), ge([c], () => {
128
128
  o && o();
129
129
  }), /* @__PURE__ */ a(J, { handle: ".modal-header", nodeRef: r, children: /* @__PURE__ */ m(
130
130
  "div",
@@ -142,7 +142,7 @@ function ge({ className: t, width: e, header: n, content: i, footer: s, onOutsid
142
142
  }
143
143
  ) });
144
144
  }
145
- class ve extends T.Component {
145
+ class we extends T.Component {
146
146
  static defaultProps = {
147
147
  width: "60%"
148
148
  };
@@ -170,17 +170,17 @@ class ve extends T.Component {
170
170
  };
171
171
  render() {
172
172
  return this.container ? G.createPortal(
173
- /* @__PURE__ */ a("div", { className: this.state.className, onMouseDown: this.props.onMouseDown, children: /* @__PURE__ */ a(ge, { ...this.props }) }),
173
+ /* @__PURE__ */ a("div", { className: this.state.className, onMouseDown: this.props.onMouseDown, children: /* @__PURE__ */ a(ve, { ...this.props }) }),
174
174
  this.container
175
175
  ) : null;
176
176
  }
177
177
  }
178
- class Ye extends T.PureComponent {
178
+ class Ge extends T.PureComponent {
179
179
  render() {
180
180
  return /* @__PURE__ */ a("div", { id: "modal-root" });
181
181
  }
182
182
  }
183
- class we extends T.Component {
183
+ class ye extends T.Component {
184
184
  static defaultProps = {
185
185
  size: 56,
186
186
  center: !1
@@ -201,7 +201,7 @@ class we extends T.Component {
201
201
  }), /* @__PURE__ */ a("div", { className: "di spinner", style: s, ...i });
202
202
  }
203
203
  }
204
- class Ge extends T.Component {
204
+ class Je extends T.Component {
205
205
  static defaultProps = {
206
206
  size: 56
207
207
  };
@@ -213,14 +213,14 @@ class Ge extends T.Component {
213
213
  {
214
214
  className: `di spinner-container ${e ? "visible" : ""}`,
215
215
  "data-testid": this.props["data-testid"],
216
- children: /* @__PURE__ */ a(we, { size: n, center: !0 })
216
+ children: /* @__PURE__ */ a(ye, { size: n, center: !0 })
217
217
  }
218
218
  ),
219
219
  i
220
220
  ] });
221
221
  }
222
222
  }
223
- const ye = (t, e) => {
223
+ const xe = (t, e) => {
224
224
  switch (t) {
225
225
  case "checkbox":
226
226
  case "radio":
@@ -230,7 +230,7 @@ const ye = (t, e) => {
230
230
  default:
231
231
  throw Error(`type not support: ${t}`);
232
232
  }
233
- }, xe = (t, e) => {
233
+ }, be = (t, e) => {
234
234
  switch (t) {
235
235
  case "checkbox":
236
236
  return "box";
@@ -241,7 +241,7 @@ const ye = (t, e) => {
241
241
  default:
242
242
  throw Error(`type not support: ${t}`);
243
243
  }
244
- }, be = ({
244
+ }, Ce = ({
245
245
  type: t = "checkbox",
246
246
  value: e,
247
247
  onChange: n,
@@ -264,7 +264,7 @@ const ye = (t, e) => {
264
264
  "label",
265
265
  {
266
266
  title: d,
267
- className: ye(t, r),
267
+ className: xe(t, r),
268
268
  "data-testid": u["wrapper-data-testid"],
269
269
  children: [
270
270
  /* @__PURE__ */ a(
@@ -280,7 +280,7 @@ const ye = (t, e) => {
280
280
  /* @__PURE__ */ a(
281
281
  "div",
282
282
  {
283
- className: xe(t, r),
283
+ className: be(t, r),
284
284
  style: h,
285
285
  "data-testid": u["innerdiv-data-testid"]
286
286
  }
@@ -289,7 +289,7 @@ const ye = (t, e) => {
289
289
  ]
290
290
  }
291
291
  );
292
- }, Je = M()(be);
292
+ }, Qe = M()(Ce);
293
293
  function P(t) {
294
294
  const e = typeof t == "object" && typeof t.id == "string" && typeof t.defaultValue == "string";
295
295
  return e && console.warn(
@@ -299,7 +299,7 @@ function P(t) {
299
299
  function C(t) {
300
300
  return P(t) ? /* @__PURE__ */ a(k, { i18nKey: t.id, children: t.defaultValue }) : t;
301
301
  }
302
- function Ce({
302
+ function Ne({
303
303
  title: t,
304
304
  message: e,
305
305
  onAccept: n,
@@ -309,7 +309,7 @@ function Ce({
309
309
  acceptButtonStyle: r = "primary"
310
310
  }) {
311
311
  return /* @__PURE__ */ a(
312
- ve,
312
+ we,
313
313
  {
314
314
  header: C(t),
315
315
  content: C(e),
@@ -332,7 +332,7 @@ function Ce({
332
332
  const Z = q({
333
333
  confirm: () => Promise.reject(new Error("ConfirmProvider is missing!"))
334
334
  });
335
- function Ne({ children: t }) {
335
+ function ke({ children: t }) {
336
336
  const [e, n] = y(!1), [i, s] = y({
337
337
  title: "",
338
338
  message: "",
@@ -356,19 +356,19 @@ function Ne({ children: t }) {
356
356
  }
357
357
  return /* @__PURE__ */ m(Z.Provider, { value: { confirm: o }, children: [
358
358
  t,
359
- e && /* @__PURE__ */ a(Ce, { ...i })
359
+ e && /* @__PURE__ */ a(Ne, { ...i })
360
360
  ] });
361
361
  }
362
- function ke() {
362
+ function Ae() {
363
363
  const t = X(Z);
364
364
  if (!t)
365
365
  throw new Error("ConfirmProvider is missing");
366
366
  const { confirm: e } = t;
367
367
  return e;
368
368
  }
369
- function Qe(t) {
369
+ function et(t) {
370
370
  function e(n) {
371
- const i = ke(), { t: s } = Y();
371
+ const i = Ae(), { t: s } = Y();
372
372
  function o(c) {
373
373
  return P(c) ? s(c.id, { defaultValue: c.defaultValue }) : c;
374
374
  }
@@ -389,39 +389,39 @@ function Qe(t) {
389
389
  return /* @__PURE__ */ a(t, { ...n, confirm: r });
390
390
  }
391
391
  return function(i) {
392
- return /* @__PURE__ */ a(Ne, { children: /* @__PURE__ */ a(e, { ...i }) });
392
+ return /* @__PURE__ */ a(ke, { children: /* @__PURE__ */ a(e, { ...i }) });
393
393
  };
394
394
  }
395
- const Ae = "data:image/svg+xml,%3csvg%20id='icon-add_24_sga'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3cpolygon%20id='plus'%20points='20%2010%2014%2010%2014%204%2010%204%2010%2010%204%2010%204%2014%2010%2014%2010%2020%2014%2020%2014%2014%2020%2014%2020%2010'/%3e%3c/svg%3e", Te = "data:image/svg+xml,%3csvg%20id='icon-cross_24_sga'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3cpolygon%20id='icon-cross_24'%20points='20%206.28%2017.87%204%2012%209.78%206.13%204%204%206.28%209.78%2011.97%204%2017.66%206.13%2019.93%2012%2014.15%2017.87%2019.93%2020%2017.66%2014.22%2011.97%2020%206.28'/%3e%3c/svg%3e", Pe = "data:image/svg+xml,%3csvg%20id='icon-edit-24_sga'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3cg%20id='stift'%3e%3cpath%20d='M7.35,12.65a.5.5,0,0,0,0,.7l3.3,3.3a.5.5,0,0,0,.7,0l8.3-8.3A1.4,1.4,0,0,0,20,7.5v-1a1.4,1.4,0,0,0-.35-.85l-1.3-1.3A1.4,1.4,0,0,0,17.5,4h-1a1.4,1.4,0,0,0-.85.35Z'/%3e%3c/g%3e%3cpath%20d='M5.9,14.49c.06-.27.26-.33.45-.14l3.3,3.3c.19.19.13.39-.14.45l-4,.8a.3.3,0,0,1-.39-.39Z'/%3e%3c/svg%3e", Ve = "data:image/svg+xml,%3csvg%20id='icon-gear-24_sga'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3cg%20id='icon-gear-24_sga-2'%20data-name='icon-gear-24_sga'%3e%3cpath%20d='M22.82,14.06A1.25,1.25,0,0,0,24,13,7.66,7.66,0,0,0,24,12,7.66,7.66,0,0,0,24,11a1.25,1.25,0,0,0-1.13-1l-1.09,0A1.49,1.49,0,0,1,20.44,9c-.15-.47-.44-2-.07-2.37l.74-.81a1.16,1.16,0,0,0,0-1.5L19.7,2.87a1.16,1.16,0,0,0-1.5,0l-.81.74a1.5,1.5,0,0,1-1.54.27c-.44-.23-1.72-1.08-1.74-1.63l0-1.09A1.25,1.25,0,0,0,13,.05a7.66,7.66,0,0,0-1,0,7.66,7.66,0,0,0-1,.05,1.25,1.25,0,0,0-1,1.13l0,1.09A1.52,1.52,0,0,1,9,3.56c-.47.15-2,.44-2.37.07L5.8,2.89a1.16,1.16,0,0,0-1.5,0L2.86,4.3a1.18,1.18,0,0,0,0,1.5l.74.81A1.5,1.5,0,0,1,3.9,8.15c-.23.44-1.08,1.72-1.63,1.74l-1.09,0A1.25,1.25,0,0,0,.05,11a7.66,7.66,0,0,0,0,1,7.66,7.66,0,0,0,.05,1,1.25,1.25,0,0,0,1.13,1l1.09,0A1.47,1.47,0,0,1,3.55,15c.16.48.45,2,.08,2.37l-.74.81a1.16,1.16,0,0,0,0,1.5L4.3,21.13a1.16,1.16,0,0,0,1.5,0l.81-.74a1.5,1.5,0,0,1,1.54-.27c.44.23,1.72,1.08,1.75,1.63l0,1.09A1.25,1.25,0,0,0,11,24,7.66,7.66,0,0,0,12,24,7.66,7.66,0,0,0,13,24a1.25,1.25,0,0,0,1-1.13l0-1.09A1.49,1.49,0,0,1,15,20.44c.47-.15,2-.44,2.37-.07l.81.74a1.16,1.16,0,0,0,1.5,0l1.43-1.43a1.16,1.16,0,0,0,0-1.5l-.74-.81a1.5,1.5,0,0,1-.27-1.54c.23-.44,1.08-1.72,1.63-1.74ZM12,15.5A3.5,3.5,0,1,1,15.5,12,3.5,3.5,0,0,1,12,15.5Z'/%3e%3c/g%3e%3c/svg%3e", Me = "data:image/svg+xml,%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3cg%3e%3cpath%20d='M22.1,4.91a3,3,0,0,0-3-3H6.44a2.4,2.4,0,0,1,1.34-.4h12.6A2.12,2.12,0,0,1,22.5,3.62V17.26a1.42,1.42,0,0,1-.4,1Z'/%3e%3cpath%20d='M20.38,1H7.78A3,3,0,0,0,5.26,2.4H19.09A2.51,2.51,0,0,1,21.6,4.91V19.12A1.94,1.94,0,0,0,23,17.26V3.62A2.62,2.62,0,0,0,20.38,1Z'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M4,21.5A1.5,1.5,0,0,1,2.5,20V5.8A1.5,1.5,0,0,1,4,4.3H18.2a1.5,1.5,0,0,1,1.5,1.5V20a1.5,1.5,0,0,1-1.5,1.5ZM9.5,18a.5.5,0,0,0,.5.5h2a.5.5,0,0,0,.5-.5V14.5H16a.5.5,0,0,0,.5-.5V12a.5.5,0,0,0-.5-.5H12.5V8a.5.5,0,0,0-.5-.5H10a.5.5,0,0,0-.5.5v3.5H6a.5.5,0,0,0-.5.5v2a.5.5,0,0,0,.5.5H9.5Z'/%3e%3cpath%20d='M18.2,4.8a1,1,0,0,1,1,1V20a1,1,0,0,1-1,1H4a1,1,0,0,1-1-1V5.8a1,1,0,0,1,1-1H18.2M9,11H6a1,1,0,0,0-1,1v2a1,1,0,0,0,1,1H9v3a1,1,0,0,0,1,1h2a1,1,0,0,0,1-1V15h3a1,1,0,0,0,1-1V12a1,1,0,0,0-1-1H13V8a1,1,0,0,0-1-1H10A1,1,0,0,0,9,8v3m9.2-7.2H4a2,2,0,0,0-2,2V20a2,2,0,0,0,2,2H18.2a2,2,0,0,0,2-2V5.8a2,2,0,0,0-2-2ZM6,14V12h4V8h2v4h4v2H12v4H10V14Z'/%3e%3c/g%3e%3c/svg%3e", Ee = "data:image/svg+xml,%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3e%3cpolygon%20points='7.92%2012%202.84%207%2013%207%207.92%2012'/%3e%3crect%20x='5'%20y='2'%20width='6'%20height='5'/%3e%3crect%20x='2'%20y='14'%20width='12'%20height='1'/%3e%3c/svg%3e", Be = "data:image/svg+xml,%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20fill:%20%23fff;%20}%20%3c/style%3e%3c/defs%3e%3cg%3e%3ccircle%20class='cls-1'%20cx='5.5'%20cy='5.5'%20r='4.5'/%3e%3cpath%20d='M5.5,2A3.5,3.5,0,1,1,2,5.5,3.5,3.5,0,0,1,5.5,2m0-1A4.5,4.5,0,1,0,10,5.5,4.49,4.49,0,0,0,5.5,1Z'/%3e%3c/g%3e%3crect%20x='6.79'%20y='10.04'%20width='7.74'%20height='2.16'%20transform='translate(10.98%20-4.28)%20rotate(45)'/%3e%3c/svg%3e", He = "data:image/svg+xml,%3csvg%20data-name='icon_key'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2027.02%2027'%3e%3cpath%20d='M35.07,16.5a8.52,8.52,0,0,0-7.69,12L17.2,38.8a2.46,2.46,0,0,0,0,3.46,2.41,2.41,0,0,0,3.42,0l1.69-1.7,2.91,2.94L31,37.63l-2.92-3,2.44-2.46a8.31,8.31,0,0,0,4.51,1.33,8.53,8.53,0,0,0,0-17Zm0,3.91A4.62,4.62,0,1,1,30.5,25,4.6,4.6,0,0,1,35.07,20.41Z'%20transform='translate(-16.49%20-16.5)'/%3e%3c/svg%3e", Le = "data:image/svg+xml,%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3cg%20id='Pfeilende'%3e%3cpath%20d='M24,10H15l9-8.93Z'/%3e%3c/g%3e%3cpath%20d='M18.45,18.78A9.33,9.33,0,0,1,2.62,14.86,9.8,9.8,0,0,1,8.89,2.69,9.42,9.42,0,0,1,20.72,9.14H23A11.72,11.72,0,0,0,11.68,0,11.74,11.74,0,0,0,.34,9.14,12,12,0,0,0,8.89,23.65a11.43,11.43,0,0,0,11.16-3.31Z'/%3e%3c/svg%3e", _e = "data:image/svg+xml,%3csvg%20data-name='icon_fullscreen_sga'%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%3e%3cpolygon%20id='ecke'%20points='2%2014%202%2010%200%2010%200%2016%206%2016%206%2014%202%2014'/%3e%3cpolygon%20id='ecke-2'%20data-name='ecke'%20points='2%202%206%202%206%200%200%200%200%206%202%206%202%202'/%3e%3cpolygon%20id='ecke-3'%20data-name='ecke'%20points='14%2014%2010%2014%2010%2016%2016%2016%2016%2010%2014%2010%2014%2014'/%3e%3cpolygon%20id='ecke-4'%20data-name='ecke'%20points='10%200%2010%202%2014%202%2014%206%2016%206%2016%200%2010%200'/%3e%3c/svg%3e", $e = "data:image/svg+xml,%3csvg%20id='Icon_help'%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20id='icon_help-2'%20data-name='icon_help'%20d='M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm1,16H11V15h2Zm1.7-6.26a4.85,4.85,0,0,1-.49.81l-1,1.37a1.36,1.36,0,0,0-.18.34,1,1,0,0,0-.07.38L13,14H11l.1-.49a2,2,0,0,1,.13-.77,3.18,3.18,0,0,1,.4-.69l1-1.33a3.21,3.21,0,0,0,.29-.46,1.19,1.19,0,0,0,.11-.47,1.17,1.17,0,0,0-.3-.82,1.07,1.07,0,0,0-.83-.33A1,1,0,0,0,11.1,9a1.25,1.25,0,0,0-.28.83H9a2.94,2.94,0,0,1,.23-1.17,2.45,2.45,0,0,1,.63-.88,2.9,2.9,0,0,1,.93-.55A3.13,3.13,0,0,1,11.94,7a3.31,3.31,0,0,1,1.13.19,2.82,2.82,0,0,1,.94.54,2.62,2.62,0,0,1,.65.88A3,3,0,0,1,14.9,9.8,2.16,2.16,0,0,1,14.7,10.74Z'%20style='opacity:%200.2'/%3e%3c/svg%3e", Re = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='icon_star_16'%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%3e%3cpath%20id='star'%20d='M8,0l2.45,4.97,5.55,.76-4.04,3.83,.99,5.44-4.94-2.61-4.94,2.61,.99-5.44L0,5.73l5.55-.76L8,0Z'/%3e%3c/svg%3e";
396
- function Ze(t) {
395
+ const Te = "data:image/svg+xml,%3csvg%20id='icon-add_24_sga'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3cpolygon%20id='plus'%20points='20%2010%2014%2010%2014%204%2010%204%2010%2010%204%2010%204%2014%2010%2014%2010%2020%2014%2020%2014%2014%2020%2014%2020%2010'/%3e%3c/svg%3e", Pe = "data:image/svg+xml,%3csvg%20id='icon-cross_24_sga'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3cpolygon%20id='icon-cross_24'%20points='20%206.28%2017.87%204%2012%209.78%206.13%204%204%206.28%209.78%2011.97%204%2017.66%206.13%2019.93%2012%2014.15%2017.87%2019.93%2020%2017.66%2014.22%2011.97%2020%206.28'/%3e%3c/svg%3e", Ve = "data:image/svg+xml,%3csvg%20id='icon-edit-24_sga'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3cg%20id='stift'%3e%3cpath%20d='M7.35,12.65a.5.5,0,0,0,0,.7l3.3,3.3a.5.5,0,0,0,.7,0l8.3-8.3A1.4,1.4,0,0,0,20,7.5v-1a1.4,1.4,0,0,0-.35-.85l-1.3-1.3A1.4,1.4,0,0,0,17.5,4h-1a1.4,1.4,0,0,0-.85.35Z'/%3e%3c/g%3e%3cpath%20d='M5.9,14.49c.06-.27.26-.33.45-.14l3.3,3.3c.19.19.13.39-.14.45l-4,.8a.3.3,0,0,1-.39-.39Z'/%3e%3c/svg%3e", Me = "data:image/svg+xml,%3csvg%20id='icon-gear-24_sga'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3cg%20id='icon-gear-24_sga-2'%20data-name='icon-gear-24_sga'%3e%3cpath%20d='M22.82,14.06A1.25,1.25,0,0,0,24,13,7.66,7.66,0,0,0,24,12,7.66,7.66,0,0,0,24,11a1.25,1.25,0,0,0-1.13-1l-1.09,0A1.49,1.49,0,0,1,20.44,9c-.15-.47-.44-2-.07-2.37l.74-.81a1.16,1.16,0,0,0,0-1.5L19.7,2.87a1.16,1.16,0,0,0-1.5,0l-.81.74a1.5,1.5,0,0,1-1.54.27c-.44-.23-1.72-1.08-1.74-1.63l0-1.09A1.25,1.25,0,0,0,13,.05a7.66,7.66,0,0,0-1,0,7.66,7.66,0,0,0-1,.05,1.25,1.25,0,0,0-1,1.13l0,1.09A1.52,1.52,0,0,1,9,3.56c-.47.15-2,.44-2.37.07L5.8,2.89a1.16,1.16,0,0,0-1.5,0L2.86,4.3a1.18,1.18,0,0,0,0,1.5l.74.81A1.5,1.5,0,0,1,3.9,8.15c-.23.44-1.08,1.72-1.63,1.74l-1.09,0A1.25,1.25,0,0,0,.05,11a7.66,7.66,0,0,0,0,1,7.66,7.66,0,0,0,.05,1,1.25,1.25,0,0,0,1.13,1l1.09,0A1.47,1.47,0,0,1,3.55,15c.16.48.45,2,.08,2.37l-.74.81a1.16,1.16,0,0,0,0,1.5L4.3,21.13a1.16,1.16,0,0,0,1.5,0l.81-.74a1.5,1.5,0,0,1,1.54-.27c.44.23,1.72,1.08,1.75,1.63l0,1.09A1.25,1.25,0,0,0,11,24,7.66,7.66,0,0,0,12,24,7.66,7.66,0,0,0,13,24a1.25,1.25,0,0,0,1-1.13l0-1.09A1.49,1.49,0,0,1,15,20.44c.47-.15,2-.44,2.37-.07l.81.74a1.16,1.16,0,0,0,1.5,0l1.43-1.43a1.16,1.16,0,0,0,0-1.5l-.74-.81a1.5,1.5,0,0,1-.27-1.54c.23-.44,1.08-1.72,1.63-1.74ZM12,15.5A3.5,3.5,0,1,1,15.5,12,3.5,3.5,0,0,1,12,15.5Z'/%3e%3c/g%3e%3c/svg%3e", Ee = "data:image/svg+xml,%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3cg%3e%3cpath%20d='M22.1,4.91a3,3,0,0,0-3-3H6.44a2.4,2.4,0,0,1,1.34-.4h12.6A2.12,2.12,0,0,1,22.5,3.62V17.26a1.42,1.42,0,0,1-.4,1Z'/%3e%3cpath%20d='M20.38,1H7.78A3,3,0,0,0,5.26,2.4H19.09A2.51,2.51,0,0,1,21.6,4.91V19.12A1.94,1.94,0,0,0,23,17.26V3.62A2.62,2.62,0,0,0,20.38,1Z'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M4,21.5A1.5,1.5,0,0,1,2.5,20V5.8A1.5,1.5,0,0,1,4,4.3H18.2a1.5,1.5,0,0,1,1.5,1.5V20a1.5,1.5,0,0,1-1.5,1.5ZM9.5,18a.5.5,0,0,0,.5.5h2a.5.5,0,0,0,.5-.5V14.5H16a.5.5,0,0,0,.5-.5V12a.5.5,0,0,0-.5-.5H12.5V8a.5.5,0,0,0-.5-.5H10a.5.5,0,0,0-.5.5v3.5H6a.5.5,0,0,0-.5.5v2a.5.5,0,0,0,.5.5H9.5Z'/%3e%3cpath%20d='M18.2,4.8a1,1,0,0,1,1,1V20a1,1,0,0,1-1,1H4a1,1,0,0,1-1-1V5.8a1,1,0,0,1,1-1H18.2M9,11H6a1,1,0,0,0-1,1v2a1,1,0,0,0,1,1H9v3a1,1,0,0,0,1,1h2a1,1,0,0,0,1-1V15h3a1,1,0,0,0,1-1V12a1,1,0,0,0-1-1H13V8a1,1,0,0,0-1-1H10A1,1,0,0,0,9,8v3m9.2-7.2H4a2,2,0,0,0-2,2V20a2,2,0,0,0,2,2H18.2a2,2,0,0,0,2-2V5.8a2,2,0,0,0-2-2ZM6,14V12h4V8h2v4h4v2H12v4H10V14Z'/%3e%3c/g%3e%3c/svg%3e", Be = "data:image/svg+xml,%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3e%3cpolygon%20points='7.92%2012%202.84%207%2013%207%207.92%2012'/%3e%3crect%20x='5'%20y='2'%20width='6'%20height='5'/%3e%3crect%20x='2'%20y='14'%20width='12'%20height='1'/%3e%3c/svg%3e", He = "data:image/svg+xml,%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20fill:%20%23fff;%20}%20%3c/style%3e%3c/defs%3e%3cg%3e%3ccircle%20class='cls-1'%20cx='5.5'%20cy='5.5'%20r='4.5'/%3e%3cpath%20d='M5.5,2A3.5,3.5,0,1,1,2,5.5,3.5,3.5,0,0,1,5.5,2m0-1A4.5,4.5,0,1,0,10,5.5,4.49,4.49,0,0,0,5.5,1Z'/%3e%3c/g%3e%3crect%20x='6.79'%20y='10.04'%20width='7.74'%20height='2.16'%20transform='translate(10.98%20-4.28)%20rotate(45)'/%3e%3c/svg%3e", Le = "data:image/svg+xml,%3csvg%20data-name='icon_key'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2027.02%2027'%3e%3cpath%20d='M35.07,16.5a8.52,8.52,0,0,0-7.69,12L17.2,38.8a2.46,2.46,0,0,0,0,3.46,2.41,2.41,0,0,0,3.42,0l1.69-1.7,2.91,2.94L31,37.63l-2.92-3,2.44-2.46a8.31,8.31,0,0,0,4.51,1.33,8.53,8.53,0,0,0,0-17Zm0,3.91A4.62,4.62,0,1,1,30.5,25,4.6,4.6,0,0,1,35.07,20.41Z'%20transform='translate(-16.49%20-16.5)'/%3e%3c/svg%3e", _e = "data:image/svg+xml,%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3cg%20id='Pfeilende'%3e%3cpath%20d='M24,10H15l9-8.93Z'/%3e%3c/g%3e%3cpath%20d='M18.45,18.78A9.33,9.33,0,0,1,2.62,14.86,9.8,9.8,0,0,1,8.89,2.69,9.42,9.42,0,0,1,20.72,9.14H23A11.72,11.72,0,0,0,11.68,0,11.74,11.74,0,0,0,.34,9.14,12,12,0,0,0,8.89,23.65a11.43,11.43,0,0,0,11.16-3.31Z'/%3e%3c/svg%3e", $e = "data:image/svg+xml,%3csvg%20data-name='icon_fullscreen_sga'%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%3e%3cpolygon%20id='ecke'%20points='2%2014%202%2010%200%2010%200%2016%206%2016%206%2014%202%2014'/%3e%3cpolygon%20id='ecke-2'%20data-name='ecke'%20points='2%202%206%202%206%200%200%200%200%206%202%206%202%202'/%3e%3cpolygon%20id='ecke-3'%20data-name='ecke'%20points='14%2014%2010%2014%2010%2016%2016%2016%2016%2010%2014%2010%2014%2014'/%3e%3cpolygon%20id='ecke-4'%20data-name='ecke'%20points='10%200%2010%202%2014%202%2014%206%2016%206%2016%200%2010%200'/%3e%3c/svg%3e", Re = "data:image/svg+xml,%3csvg%20id='Icon_help'%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20id='icon_help-2'%20data-name='icon_help'%20d='M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm1,16H11V15h2Zm1.7-6.26a4.85,4.85,0,0,1-.49.81l-1,1.37a1.36,1.36,0,0,0-.18.34,1,1,0,0,0-.07.38L13,14H11l.1-.49a2,2,0,0,1,.13-.77,3.18,3.18,0,0,1,.4-.69l1-1.33a3.21,3.21,0,0,0,.29-.46,1.19,1.19,0,0,0,.11-.47,1.17,1.17,0,0,0-.3-.82,1.07,1.07,0,0,0-.83-.33A1,1,0,0,0,11.1,9a1.25,1.25,0,0,0-.28.83H9a2.94,2.94,0,0,1,.23-1.17,2.45,2.45,0,0,1,.63-.88,2.9,2.9,0,0,1,.93-.55A3.13,3.13,0,0,1,11.94,7a3.31,3.31,0,0,1,1.13.19,2.82,2.82,0,0,1,.94.54,2.62,2.62,0,0,1,.65.88A3,3,0,0,1,14.9,9.8,2.16,2.16,0,0,1,14.7,10.74Z'%20style='opacity:%200.2'/%3e%3c/svg%3e", Ze = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='icon_star_16'%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%3e%3cpath%20id='star'%20d='M8,0l2.45,4.97,5.55,.76-4.04,3.83,.99,5.44-4.94-2.61-4.94,2.61,.99-5.44L0,5.73l5.55-.76L8,0Z'/%3e%3c/svg%3e";
396
+ function Ie(t) {
397
397
  const { add: e, del: n, edit: i, config: s, duplicate: o, search: r, download: c, sync: l, fullscreen: u, iconKey: h, documentation: d, star: p } = t;
398
398
  if (e)
399
- return Ae;
400
- if (n)
401
399
  return Te;
402
- if (i)
400
+ if (n)
403
401
  return Pe;
404
- if (s)
402
+ if (i)
405
403
  return Ve;
406
- if (o)
404
+ if (s)
407
405
  return Me;
406
+ if (o)
407
+ return Ee;
408
408
  if (r)
409
- return Be;
409
+ return He;
410
410
  if (c)
411
- return Ee;
411
+ return Be;
412
412
  if (l)
413
- return Le;
414
- if (u)
415
413
  return _e;
414
+ if (u)
415
+ return $e;
416
416
  if (h)
417
- return He;
417
+ return Le;
418
418
  if (d)
419
- return $e;
420
- if (p)
421
419
  return Re;
420
+ if (p)
421
+ return Ze;
422
422
  throw Error("getSrc: no icon type specified");
423
423
  }
424
- function Ie(t) {
424
+ function Se(t) {
425
425
  const { add: e, del: n, edit: i, config: s, duplicate: o, search: r, download: c, sync: l, fullscreen: u, iconKey: h, documentation: d, star: p } = t;
426
426
  if (e)
427
427
  return "icon add";
@@ -451,9 +451,9 @@ function Ie(t) {
451
451
  }
452
452
  function A(t) {
453
453
  let e;
454
- return t.large ? e = { width: 24, height: 24 } : e = { width: 16, height: 16 }, t.inverted && (e = { ...e, filter: "invert(1)" }), /* @__PURE__ */ a("img", { src: Ze(t), className: `di icon ${t.className || ""}`, alt: Ie(t), style: e });
454
+ return t.large ? e = { width: 24, height: 24 } : e = { width: 16, height: 16 }, t.inverted && (e = { ...e, filter: "invert(1)" }), /* @__PURE__ */ a("img", { src: Ie(t), className: `di icon ${t.className || ""}`, alt: Se(t), style: e });
455
455
  }
456
- function et({
456
+ function tt({
457
457
  text: t,
458
458
  small: e = !1,
459
459
  large: n = !1,
@@ -503,13 +503,14 @@ function I({
503
503
  mainAxis: 12
504
504
  }),
505
505
  te(),
506
- ne({
506
+ ne(),
507
+ ie({
507
508
  apply({ availableHeight: B, availableWidth: j, elements: H }) {
508
509
  const z = `${Math.max(0, j - _)}px`, U = `${Math.max(0, B - _)}px`;
509
510
  H.floating.style.maxWidth = z, H.floating.style.maxHeight = U;
510
511
  }
511
512
  }),
512
- ie({
513
+ se({
513
514
  element: h
514
515
  })
515
516
  ]
@@ -518,10 +519,10 @@ function I({
518
519
  if (o && r && d.reference && d.floating)
519
520
  return L(d.reference, d.floating, p);
520
521
  }, [d.floating, d.reference, r, p, o]);
521
- const S = se(b, { enabled: !n && e.includes("click") }), D = ae(b, {
522
+ const S = ae(b, { enabled: !n && e.includes("click") }), D = oe(b, {
522
523
  enabled: !n && e.includes("hover"),
523
- handleClose: oe()
524
- }), K = re(b, { enabled: !n && e.includes("focus") }), F = ce(b), { getReferenceProps: O, getFloatingProps: W } = le([S, D, K, F]);
524
+ handleClose: re()
525
+ }), K = ce(b, { enabled: !n && e.includes("focus") }), F = le(b), { getReferenceProps: O, getFloatingProps: W } = de([S, D, K, F]);
525
526
  return /* @__PURE__ */ m(R, { children: [
526
527
  /* @__PURE__ */ a(
527
528
  "span",
@@ -533,7 +534,7 @@ function I({
533
534
  children: i
534
535
  }
535
536
  ),
536
- (r || o) && /* @__PURE__ */ a(de, { children: /* @__PURE__ */ a(
537
+ (r || o) && /* @__PURE__ */ a(ue, { children: /* @__PURE__ */ a(
537
538
  "div",
538
539
  {
539
540
  className: g("di popup-wrapper", { hidden: o && !r }),
@@ -555,7 +556,7 @@ function I({
555
556
  ) })
556
557
  ] });
557
558
  }
558
- function Se({ content: t, inverted: e, children: n, disabled: i, style: s, direction: o, className: r }) {
559
+ function De({ content: t, inverted: e, children: n, disabled: i, style: s, direction: o, className: r }) {
559
560
  const [c, l] = y(!1);
560
561
  return /* @__PURE__ */ a(
561
562
  I,
@@ -571,7 +572,7 @@ function Se({ content: t, inverted: e, children: n, disabled: i, style: s, direc
571
572
  }
572
573
  );
573
574
  }
574
- function tt({ content: t, children: e, className: n, direction: i, disabled: s }) {
575
+ function nt({ content: t, children: e, className: n, direction: i, disabled: s }) {
575
576
  const [o, r] = y(!1);
576
577
  return /* @__PURE__ */ a(
577
578
  I,
@@ -587,7 +588,7 @@ function tt({ content: t, children: e, className: n, direction: i, disabled: s }
587
588
  }
588
589
  );
589
590
  }
590
- class nt extends w.Component {
591
+ class it extends w.Component {
591
592
  state = {
592
593
  currentTab: this.props.pages.length ? this.props.pages[0].name : null
593
594
  };
@@ -609,7 +610,7 @@ class nt extends w.Component {
609
610
  const { pages: e, disabled: n } = this.props;
610
611
  return /* @__PURE__ */ m("div", { children: [
611
612
  /* @__PURE__ */ a("div", { className: "di tabs", children: e.map(
612
- ({ name: i, renderHeading: s, tabDescription: o }) => o ? /* @__PURE__ */ a(Se, { inverted: !0, content: o, className: "bubble-tab-description", children: /* @__PURE__ */ a(
613
+ ({ name: i, renderHeading: s, tabDescription: o }) => o ? /* @__PURE__ */ a(De, { inverted: !0, content: o, className: "bubble-tab-description", children: /* @__PURE__ */ a(
613
614
  "button",
614
615
  {
615
616
  "data-testid": "tab-button",
@@ -647,7 +648,7 @@ const $ = ({
647
648
  children: /* @__PURE__ */ a(A, { del: !0 })
648
649
  }
649
650
  );
650
- class De extends w.Component {
651
+ class Ke extends w.Component {
651
652
  state = {
652
653
  query: this.props.initialValue || ""
653
654
  };
@@ -700,26 +701,26 @@ class De extends w.Component {
700
701
  ] });
701
702
  }
702
703
  }
703
- const it = M()(De);
704
+ const st = M()(Ke);
704
705
  export {
705
- qe as Accordion,
706
- Xe as AccordionItem,
707
- Se as Bubble,
706
+ Xe as Accordion,
707
+ Ye as AccordionItem,
708
+ De as Bubble,
708
709
  x as Button,
709
- he as ButtonRow,
710
- Je as Checkbox,
711
- Ne as ConfirmProvider,
710
+ pe as ButtonRow,
711
+ Qe as Checkbox,
712
+ ke as ConfirmProvider,
712
713
  A as Icon,
713
- et as Label,
714
- ve as Modal,
715
- Ye as ModalContainer,
714
+ tt as Label,
715
+ we as Modal,
716
+ Ge as ModalContainer,
716
717
  I as Popup,
717
- it as SearchBox,
718
- we as Spinner,
719
- Ge as SpinnerContainer,
720
- nt as Tabs,
721
- tt as Tooltip,
722
- ke as useConfirm,
723
- Qe as withConfirm
718
+ st as SearchBox,
719
+ ye as Spinner,
720
+ Je as SpinnerContainer,
721
+ it as Tabs,
722
+ nt as Tooltip,
723
+ Ae as useConfirm,
724
+ et as withConfirm
724
725
  };
725
726
  //# sourceMappingURL=index.js.map