@alixpartners/ui-components 2.5.0 → 2.5.1

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.
@@ -1,17 +1,19 @@
1
1
  import { jsxs as _, jsx as t } from "react/jsx-runtime";
2
- import { useId as vr, useRef as Lr, useState as J, useCallback as g, useMemo as A } from "react";
3
- import K from "../Button/Button.js";
4
- import { c as U } from "../../clsx-OuTLNxxd.js";
5
- import x from "../Icon/Icon.js";
6
- import '../../assets/DragAndDrop.css';const Cr = "DragAndDrop-module__disabled___h47do", br = "DragAndDrop-module__required___z3cHB", Or = "DragAndDrop-module__active___ZMuEx", d = {
2
+ import { useId as Cr, useRef as Or, useState as U, useCallback as g, useMemo as A } from "react";
3
+ import x from "../Button/Button.js";
4
+ import { c as rr } from "../../clsx-OuTLNxxd.js";
5
+ import er from "../Icon/Icon.js";
6
+ import '../../assets/DragAndDrop.css';const br = "DragAndDrop-module__disabled___h47do", Br = "DragAndDrop-module__required___z3cHB", Sr = "DragAndDrop-module__active___ZMuEx", wr = "DragAndDrop-module__error___zw69d", d = {
7
7
  "drag-and-drop-container": "DragAndDrop-module__drag-and-drop-container___WHqGh",
8
- disabled: Cr,
9
- required: br,
8
+ disabled: br,
9
+ required: Br,
10
10
  "drag-and-drop-space-text-message": "DragAndDrop-module__drag-and-drop-space-text-message___fL-Ac",
11
11
  "drag-and-drop-space-text-constraints": "DragAndDrop-module__drag-and-drop-space-text-constraints___YrL7J",
12
12
  "drag-and-drop-space": "DragAndDrop-module__drag-and-drop-space___09a0I",
13
- active: Or,
13
+ active: Sr,
14
+ error: wr,
14
15
  "drag-and-drop-space-text": "DragAndDrop-module__drag-and-drop-space-text___-8rqC",
16
+ "error-message": "DragAndDrop-module__error-message___om0Oy",
15
17
  "drag-and-drop-files-list": "DragAndDrop-module__drag-and-drop-files-list___7WNCk",
16
18
  "drag-and-drop-files-list-item": "DragAndDrop-module__drag-and-drop-files-list-item___vQO6M",
17
19
  "drag-and-drop-files-list-item-content": "DragAndDrop-module__drag-and-drop-files-list-item-content___lx7-M",
@@ -24,12 +26,13 @@ import '../../assets/DragAndDrop.css';const Cr = "DragAndDrop-module__disabled__
24
26
  "drag-and-drop-files-list-item-error": "DragAndDrop-module__drag-and-drop-files-list-item-error___yR0DY",
25
27
  "drag-and-drop-files-list-item-icon-error": "DragAndDrop-module__drag-and-drop-files-list-item-icon-error___17EE-",
26
28
  "drag-and-drop-files-list-item-icon-delete": "DragAndDrop-module__drag-and-drop-files-list-item-icon-delete___Z1l-B"
27
- }, Br = (u) => `File size is too large. Must be up to ${u}MB.`, Sr = (u) => `The file format is incorrect. Please make sure it is one of the extensions: ${u}.`;
28
- function Rr({
29
+ }, Er = (u) => `File size is too large. Must be up to ${u}MB.`, $r = (u) => `The file format is incorrect. Please make sure it is one of the extensions: ${u}.`;
30
+ function Pr({
29
31
  label: u,
30
- type: i = "single",
31
- disabled: q,
32
- required: rr,
32
+ type: o = "single",
33
+ disabled: y,
34
+ required: ar,
35
+ errorMessage: b,
33
36
  fileExtensionsAllowed: c,
34
37
  maxSize: p = Number.POSITIVE_INFINITY,
35
38
  maxFiles: l = Number.POSITIVE_INFINITY,
@@ -37,22 +40,22 @@ function Rr({
37
40
  onUpload: m,
38
41
  onRemoveFile: I,
39
42
  queueFiles: P,
40
- className: er,
43
+ className: nr,
41
44
  maxSizeErrorMessage: T,
42
45
  fileExtensionInvalidErrorMessage: v,
43
46
  texts: a,
44
- fileIcon: ar = "ap-icon-document",
45
- errorIcon: nr = "ap-icon-alert",
46
- deleteIcon: dr = "ap-icon-delete",
47
- browseButtonIcon: ir,
47
+ fileIcon: dr = "ap-icon-document",
48
+ errorIcon: or = "ap-icon-alert",
49
+ deleteIcon: ir = "ap-icon-delete",
50
+ browseButtonIcon: sr,
48
51
  renderFileItem: V,
49
- fileSizeFormatter: O,
50
- browseButtonProps: or,
51
- validator: B,
52
+ fileSizeFormatter: B,
53
+ browseButtonProps: tr,
54
+ validator: S,
52
55
  errors: L,
53
- ...sr
56
+ ...lr
54
57
  }) {
55
- const j = vr(), y = Lr(null), [C, Y] = J([]), [G, S] = J(!1), h = D !== void 0, M = c.join(", "), X = p ? `up to ${p}MB` : "", tr = c.map((r) => `.${r.replace(/^\./, "")}`).join(","), Z = g((r, e) => {
58
+ const j = Cr(), Y = Or(null), [C, G] = U([]), [X, w] = U(!1), h = D !== void 0, Z = c.join(", "), H = p ? `up to ${p}MB` : "", cr = c.map((r) => `.${r.replace(/^\./, "")}`).join(","), M = g((r, e) => {
56
59
  if (!r) return r || "";
57
60
  if (a != null && a.errors && e) {
58
61
  if (e === "SIZE_TOO_LARGE" && a.errors.sizeTooLarge)
@@ -61,51 +64,51 @@ function Rr({
61
64
  return typeof a.errors.invalidExtension == "function" ? a.errors.invalidExtension(c) : a.errors.invalidExtension;
62
65
  }
63
66
  return r;
64
- }, [a, p, c]), lr = g(() => a != null && a.browse ? typeof a.browse == "function" ? a.browse(i) : a.browse : i === "single" ? "Browse file" : "Browse files", [a, i]), cr = g(() => a != null && a.drag ? typeof a.drag == "function" ? a.drag(i) : a.drag : i === "single" ? "or drag your file" : "or drag multiple files", [a, i]), _r = g(() => a != null && a.constraints ? a.constraints({
67
+ }, [a, p, c]), _r = g(() => a != null && a.browse ? typeof a.browse == "function" ? a.browse(o) : a.browse : o === "single" ? "Browse file" : "Browse files", [a, o]), gr = g(() => a != null && a.drag ? typeof a.drag == "function" ? a.drag(o) : a.drag : o === "single" ? "or drag your file" : "or drag multiple files", [a, o]), pr = g(() => a != null && a.constraints ? a.constraints({
65
68
  extensions: c,
66
69
  maxSize: p,
67
- type: i
68
- }) : `${M} ${i === "single" ? "file" : "files"} ${X}`, [a, c, M, p, X, i]), gr = () => {
70
+ type: o
71
+ }) : `${Z} ${o === "single" ? "file" : "files"} ${H}`, [a, c, Z, p, H, o]), mr = () => {
69
72
  var r;
70
- N || (r = y.current) == null || r.click();
71
- }, $ = A(() => new Set(c.map((r) => r.toLowerCase().replace(/^\./, ""))), [c]), H = g((r, e) => {
72
- const s = e.maxSize ? e.maxSize * 1024 * 1024 : Number.POSITIVE_INFINITY, o = e.fileExtensionsAllowed.join(", "), f = (T == null ? void 0 : T.replace(/\{maxSize\}/g, String(e.maxSize))) ?? Br(e.maxSize), Nr = (v == null ? void 0 : v.replace(/\{fileExtensionsAllowed\}/g, o)) ?? Sr(o), Ar = r.size <= s, Q = r.name.toLowerCase(), Ir = Q.includes(".") ? Q.split(".").pop() ?? "" : "", Tr = $.size === 0 || $.has(Ir);
73
- return Ar ? Tr ? {
73
+ N || (r = Y.current) == null || r.click();
74
+ }, E = A(() => new Set(c.map((r) => r.toLowerCase().replace(/^\./, ""))), [c]), W = g((r, e) => {
75
+ const s = e.maxSize ? e.maxSize * 1024 * 1024 : Number.POSITIVE_INFINITY, i = e.fileExtensionsAllowed.join(", "), f = (T == null ? void 0 : T.replace(/\{maxSize\}/g, String(e.maxSize))) ?? Er(e.maxSize), Ir = (v == null ? void 0 : v.replace(/\{fileExtensionsAllowed\}/g, i)) ?? $r(i), Tr = r.size <= s, K = r.name.toLowerCase(), vr = K.includes(".") ? K.split(".").pop() ?? "" : "", Lr = E.size === 0 || E.has(vr);
76
+ return Tr ? Lr ? {
74
77
  file: r
75
78
  } : {
76
79
  file: r,
77
- error: Nr,
80
+ error: Ir,
78
81
  errorCode: "INVALID_EXTENSION"
79
82
  } : {
80
83
  file: r,
81
84
  error: f,
82
85
  errorCode: "SIZE_TOO_LARGE"
83
86
  };
84
- }, [$, T, v]), k = A(() => ({
87
+ }, [E, T, v]), $ = A(() => ({
85
88
  maxSize: p,
86
89
  fileExtensionsAllowed: c,
87
- type: i,
90
+ type: o,
88
91
  maxFiles: l
89
- }), [p, c, i, l]), b = g((r) => {
92
+ }), [p, c, o, l]), O = g((r) => {
90
93
  let e;
91
- B ? e = r.map((o) => B(o, k)) : e = r.map((o) => H(o, k));
92
- let s = e.map((o) => {
93
- const f = o.error ? Z(o.error, o.errorCode) : void 0;
94
+ S ? e = r.map((i) => S(i, $)) : e = r.map((i) => W(i, $));
95
+ let s = e.map((i) => {
96
+ const f = i.error ? M(i.error, i.errorCode) : void 0;
94
97
  return {
95
- file: o.file,
98
+ file: i.file,
96
99
  // Don't merge external errors here - that happens in files useMemo
97
100
  error: f
98
101
  };
99
102
  });
100
- return i === "single" && s.length > 1 ? s.slice(0, 1) : (l && l > 0 && s.length > l && (s = s.map((o, f) => f < l ? o : {
101
- ...o,
102
- error: o.error ?? `Maximum ${l} file${l === 1 ? "" : "s"} allowed.`
103
+ return o === "single" && s.length > 1 ? s.slice(0, 1) : (l && l > 0 && s.length > l && (s = s.map((i, f) => f < l ? i : {
104
+ ...i,
105
+ error: i.error ?? `Maximum ${l} file${l === 1 ? "" : "s"} allowed.`
103
106
  })), s);
104
- }, [i, l, B, k, Z, H]), n = A(() => {
107
+ }, [o, l, S, $, M, W]), n = A(() => {
105
108
  let r;
106
109
  if (h) {
107
110
  const e = Array.isArray(D) ? D : D ? [D] : [];
108
- r = b(e);
111
+ r = O(e);
109
112
  } else
110
113
  r = C;
111
114
  return r.map((e) => ({
@@ -113,71 +116,72 @@ function Rr({
113
116
  // Validator errors take precedence over external errors
114
117
  error: e.error ?? (L == null ? void 0 : L[e.file.name])
115
118
  }));
116
- }, [h, D, b, C, L]), pr = g((r) => O ? O(r) : (r / 1024).toFixed(2) + " KB", [O]), N = A(() => q || (n == null ? void 0 : n.length) >= l || i === "single" && (n == null ? void 0 : n.length) > 0, [q, n, l, i]), W = g((r) => {
117
- const e = b(r);
119
+ }, [h, D, O, C, L]), fr = g((r) => B ? B(r) : (r / 1024).toFixed(2) + " KB", [B]), N = A(() => y || (n == null ? void 0 : n.length) >= l || o === "single" && (n == null ? void 0 : n.length) > 0, [y, n, l, o]), F = !!b, Q = g((r) => {
120
+ const e = O(r);
118
121
  if (h)
119
122
  m == null || m(e);
120
123
  else {
121
124
  const s = P ? [...C, ...e] : e;
122
- Y(s), m == null || m(s);
125
+ G(s), m == null || m(s);
123
126
  }
124
- }, [b, h, P, C, m]), mr = (r) => {
127
+ }, [O, h, P, C, m]), ur = (r) => {
125
128
  if (!r.target.files) return;
126
129
  const e = Array.from(r.target.files);
127
- W(e), r.target.value = "";
128
- }, w = g((r) => {
130
+ Q(e), r.target.value = "";
131
+ }, k = g((r) => {
129
132
  if (!(n != null && n.length) || r < 0 || r >= n.length) return;
130
- const e = n[r], s = n.filter((o, f) => f !== r);
131
- h || Y(s), I == null || I(e.file, s);
132
- }, [h, n, I]), F = A(() => new Map(n.map((r, e) => [e, () => w(e)])), [n, w]), {
133
- onDragOver: E,
134
- onDragLeave: z,
135
- onDrop: R,
136
- ...fr
137
- } = sr, ur = (r) => {
138
- N || (r.preventDefault(), G || S(!0), E == null || E(r));
139
- }, Dr = (r) => {
140
- r.preventDefault(), S(!1), z == null || z(r);
141
- }, hr = (r) => {
133
+ const e = n[r], s = n.filter((i, f) => f !== r);
134
+ h || G(s), I == null || I(e.file, s);
135
+ }, [h, n, I]), J = A(() => new Map(n.map((r, e) => [e, () => k(e)])), [n, k]), {
136
+ onDragOver: z,
137
+ onDragLeave: R,
138
+ onDrop: q,
139
+ ...Dr
140
+ } = lr, hr = (r) => {
141
+ N || (r.preventDefault(), X || w(!0), z == null || z(r));
142
+ }, Nr = (r) => {
143
+ r.preventDefault(), w(!1), R == null || R(r);
144
+ }, Ar = (r) => {
142
145
  if (N) return;
143
146
  r.preventDefault();
144
147
  const e = Array.from(r.dataTransfer.files);
145
- W(e), r.dataTransfer.clearData(), S(!1), R == null || R(r);
148
+ Q(e), r.dataTransfer.clearData(), w(!1), q == null || q(r);
146
149
  };
147
- return /* @__PURE__ */ _("div", { className: U(d["drag-and-drop-container"], N && d.disabled, er), ...fr, children: [
150
+ return /* @__PURE__ */ _("div", { className: rr(d["drag-and-drop-container"], N && d.disabled, nr), ...Dr, children: [
148
151
  u && /* @__PURE__ */ _("label", { htmlFor: j, children: [
149
152
  u,
150
- rr && /* @__PURE__ */ t("span", { "aria-hidden": "true", className: d.required, children: "*" })
153
+ ar && /* @__PURE__ */ t("span", { "aria-hidden": "true", className: d.required, children: "*" })
151
154
  ] }),
152
- /* @__PURE__ */ _("div", { className: U(d["drag-and-drop-space"], G && d.active), onDragOver: ur, onDragLeave: Dr, onDrop: hr, children: [
153
- /* @__PURE__ */ t(K, { type: "secondary", variant: "default", size: "sm", ...or, disabled: N, onClick: gr, icon: ir, children: lr() }),
154
- /* @__PURE__ */ t("input", { id: j, ref: y, type: "file", style: {
155
+ /* @__PURE__ */ _("div", { className: rr(d["drag-and-drop-space"], X && d.active, F && d.error), onDragOver: hr, onDragLeave: Nr, onDrop: Ar, children: [
156
+ /* @__PURE__ */ t(x, { type: "secondary", variant: "default", size: "sm", ...tr, disabled: N, onClick: mr, icon: sr, children: _r() }),
157
+ /* @__PURE__ */ t("input", { id: j, ref: Y, type: "file", style: {
155
158
  display: "none"
156
- }, multiple: i === "multiple", accept: tr, onChange: mr }),
159
+ }, multiple: o === "multiple", accept: cr, onChange: ur }),
157
160
  /* @__PURE__ */ _("div", { className: d["drag-and-drop-space-text"], children: [
158
- /* @__PURE__ */ t("span", { className: d["drag-and-drop-space-text-message"], children: cr() }),
161
+ /* @__PURE__ */ t("span", { className: d["drag-and-drop-space-text-message"], children: gr() }),
159
162
  /* @__PURE__ */ _("span", { className: d["drag-and-drop-space-text-constraints"], children: [
160
163
  " ",
161
- _r()
164
+ pr()
162
165
  ] })
163
166
  ] })
164
167
  ] }),
165
- (n == null ? void 0 : n.length) > 0 && /* @__PURE__ */ t("ul", { className: d["drag-and-drop-files-list"], children: n == null ? void 0 : n.map((r, e) => V ? /* @__PURE__ */ t("li", { children: V(r, e, F.get(e) ?? (() => w(e))) }, e) : /* @__PURE__ */ t("li", { className: d["drag-and-drop-files-list-item"], children: /* @__PURE__ */ _("div", { className: d["drag-and-drop-files-list-item-content"], children: [
166
- /* @__PURE__ */ t("span", { className: d["drag-and-drop-files-list-item-icon-container"], children: /* @__PURE__ */ t(x, { icon: ar, className: d["drag-and-drop-files-list-item-icon"] }) }),
168
+ F && /* @__PURE__ */ t("span", { title: b, className: d["error-message"], children: b }),
169
+ (n == null ? void 0 : n.length) > 0 && /* @__PURE__ */ t("ul", { className: d["drag-and-drop-files-list"], children: n == null ? void 0 : n.map((r, e) => V ? /* @__PURE__ */ t("li", { children: V(r, e, J.get(e) ?? (() => k(e))) }, e) : /* @__PURE__ */ t("li", { className: d["drag-and-drop-files-list-item"], children: /* @__PURE__ */ _("div", { className: d["drag-and-drop-files-list-item-content"], children: [
170
+ /* @__PURE__ */ t("span", { className: d["drag-and-drop-files-list-item-icon-container"], children: /* @__PURE__ */ t(er, { icon: dr, className: d["drag-and-drop-files-list-item-icon"] }) }),
167
171
  /* @__PURE__ */ _("div", { className: d["drag-and-drop-files-list-item-content-data"], children: [
168
172
  /* @__PURE__ */ _("div", { className: d["drag-and-drop-files-list-item-text"], children: [
169
173
  /* @__PURE__ */ t("span", { className: d["drag-and-drop-files-list-item-name"], children: r.file.name }),
170
- /* @__PURE__ */ t("span", { className: d["drag-and-drop-files-list-item-size"], children: pr(r.file.size) }),
174
+ /* @__PURE__ */ t("span", { className: d["drag-and-drop-files-list-item-size"], children: fr(r.file.size) }),
171
175
  r.error && /* @__PURE__ */ _("span", { className: d["drag-and-drop-files-list-item-error"], children: [
172
- /* @__PURE__ */ t(x, { icon: nr, className: d["drag-and-drop-files-list-item-icon-error"] }),
176
+ /* @__PURE__ */ t(er, { icon: or, className: d["drag-and-drop-files-list-item-icon-error"] }),
173
177
  r.error
174
178
  ] })
175
179
  ] }),
176
- /* @__PURE__ */ t(K, { type: "tertiary", variant: "default", size: "sm", onClick: F.get(e), icon: dr, iconClassName: d["drag-and-drop-files-list-item-icon-delete"], "aria-label": `Remove ${r.file.name}` })
180
+ /* @__PURE__ */ t(x, { type: "tertiary", variant: "default", size: "sm", onClick: J.get(e), icon: ir, iconClassName: d["drag-and-drop-files-list-item-icon-delete"], "aria-label": `Remove ${r.file.name}` })
177
181
  ] })
178
182
  ] }) }, e)) })
179
183
  ] });
180
184
  }
181
185
  export {
182
- Rr as default
186
+ Pr as default
183
187
  };
@@ -7,7 +7,7 @@ import ne from "../Button/Button.js";
7
7
  import re from "../Ghost/Ghost.js";
8
8
  import Me from "../Search/Search.js";
9
9
  import Se from "../Tooltip/Tooltip.js";
10
- import { R as Ve, T as Re, P as Ee, C as Fe } from "../../index-C4ffg1vf.js";
10
+ import { R as Ve, T as Re, P as Ee, C as Fe } from "../../index-DZ4Gof57.js";
11
11
  import '../../assets/Dropdown.css';const We = "Dropdown-module__dropdownContainer___beNhQ", qe = "Dropdown-module__dropdownLabel___T9FmB", Je = "Dropdown-module__dropdownLabelDisabled___SLRmM", ze = "Dropdown-module__required___ChI1m", Ge = "Dropdown-module__dropdownWrapper___AUuWD", Be = "Dropdown-module__dropdownTrigger___Rue93", Ue = "Dropdown-module__dropdownTriggerDisabled___63wkd", je = "Dropdown-module__dropdownTriggerOpen___cbm8V", Pe = "Dropdown-module__placeholder___fWdch", Ye = "Dropdown-module__selectedOptionLabel___7Zdh3", $e = "Dropdown-module__dropdownSelectedItems___iXnpQ", Ze = "Dropdown-module__dropdownTriggerError___Uu02x", Qe = "Dropdown-module__dropdownContent___zLMhL", Ke = "Dropdown-module__dropdownActions___d55Fa", Xe = "Dropdown-module__dropdownArrow___dLbrb", He = "Dropdown-module__dropdownArrowOpen___Z4Nh1", eo = "Dropdown-module__dropdownMenu___toYcy", oo = "Dropdown-module__dropdownMenuToolbar___gFne0", no = "Dropdown-module__searchContainer___4kUvD", ro = "Dropdown-module__search___JmgDx", to = "Dropdown-module__optionsList___rk2hi", lo = "Dropdown-module__categoryGroup___Np2bP", so = "Dropdown-module__categoryDivider___Gh6F0", io = "Dropdown-module__categoryLabel___B9IDR", co = "Dropdown-module__optionItem___7pi10", ao = "Dropdown-module__optionItemDisabled___aepUD", po = "Dropdown-module__optionItemFocused___u2781", _o = "Dropdown-module__optionContent___nf1VC", uo = "Dropdown-module__optionLabel___sJerM", mo = "Dropdown-module__tickIcon___hYdCr", wo = "Dropdown-module__noOptions___8vmhM", fo = "Dropdown-module__helpers___s4ulA", ho = "Dropdown-module__helpText___YooJE", Do = "Dropdown-module__helpTextDisabled___Ct4qq", bo = "Dropdown-module__helpLink___-Zwpq", go = "Dropdown-module__helpLinkDisabled___r-opC", No = "Dropdown-module__errorMessage___3Mopi", vo = "Dropdown-module__selectAllContainer___Dlk3J", Lo = "Dropdown-module__actionButtons___-2nvr", o = {
12
12
  dropdownContainer: We,
13
13
  dropdownLabel: qe,
@@ -8,7 +8,7 @@ import { useState as y } from "react";
8
8
  import { u as re, R as oe, I as te, c as H, a as ie } from "../../index-DEphED6n.js";
9
9
  import { u as ue, P as z, d as se, c as R, b as le } from "../../index-DM51yNMI.js";
10
10
  import { u as K } from "../../index-7CBv-Jx6.js";
11
- import { R as ce, A as de, P as me, C as be, I as ve, c as pe, G as _e, L as fe, a as ge, b as he, d as Me, e as Ne, S as Ce, f as Re, g as Pe, h as we } from "../../index-D_3jWVyV.js";
11
+ import { R as ce, A as de, P as me, C as be, I as ve, c as pe, G as _e, L as fe, a as ge, b as he, d as Me, e as Ne, S as Ce, f as Re, g as Pe, h as we } from "../../index-DgdVwltD.js";
12
12
  import '../../assets/NavBar.css';var S = "Menubar", [L, xe, Se] = ie(S), [Y] = le(S, [
13
13
  Se,
14
14
  H
@@ -6,7 +6,7 @@ import { useRef as U, useState as I, useEffect as $ } from "react";
6
6
  import K from "../Icon/Icon.js";
7
7
  import "../Input/Input.js";
8
8
  import { u as j, P as H, c as v, a as F, b as V } from "../../index-DM51yNMI.js";
9
- import { R as X, A as q, P as J, C as Q, I as Y, c as C, G as Z, L as ee, a as oe, b as ne, d as te, e as re, S as ae, f as ie, g as de, h as pe } from "../../index-D_3jWVyV.js";
9
+ import { R as X, A as q, P as J, C as Q, I as Y, c as C, G as Z, L as ee, a as oe, b as ne, d as te, e as re, S as ae, f as ie, g as de, h as pe } from "../../index-DgdVwltD.js";
10
10
  import { u as y } from "../../index-7CBv-Jx6.js";
11
11
  import '../../assets/SplitButton.css';var D = "DropdownMenu", [se] = V(
12
12
  D,
@@ -5,7 +5,7 @@ import W from "../Icon/Icon.js";
5
5
  import Ie from "../Button/Button.js";
6
6
  import "../Input/Input.js";
7
7
  import Fe from "../Tooltip/Tooltip.js";
8
- import { R as ve, A as Te, P as Ne, C as Le } from "../../index-C4ffg1vf.js";
8
+ import { R as ve, A as Te, P as Ne, C as Le } from "../../index-DZ4Gof57.js";
9
9
  import '../../assets/TagsFields.css';const De = "TagsFields-module__dropdownContainer___GIsND", Ce = "TagsFields-module__dropdownLabel___AUP9W", ye = "TagsFields-module__dropdownLabelDisabled___hilvh", Oe = "TagsFields-module__required___Ybg21", ke = "TagsFields-module__dropdownWrapper___KxTZl", Re = "TagsFields-module__selectedItemsCreatable___Pnf8l", xe = "TagsFields-module__selectedItem___Tp6lp", Ae = "TagsFields-module__selectedItemLabel___SwoJL", Se = "TagsFields-module__removeButton___od0yh", We = "TagsFields-module__removeIcon___2WRCF", Ee = "TagsFields-module__singleSelectedCreatableItem___QwENt", Me = "TagsFields-module__singleSelectedCreatableItemRemoveButton___1PeN7", Ve = "TagsFields-module__dropdownActions___USb5V", Be = "TagsFields-module__dropdownArrow___JT9d3", Pe = "TagsFields-module__dropdownArrowOpen___jPfTk", je = "TagsFields-module__dropdownMenu___gPhtC", qe = "TagsFields-module__dropdownCreatableSearchContainer___mltcH", Ge = "TagsFields-module__disabled___1OfNF", ze = "TagsFields-module__dropdownCreatableError___R6oyD", Je = "TagsFields-module__creatableInput___qz9jI", Qe = "TagsFields-module__optionsList___qyawx", Ue = "TagsFields-module__categoryGroup___In039", Ye = "TagsFields-module__categoryDivider___eROv0", Ke = "TagsFields-module__categoryLabel___Cv2h5", He = "TagsFields-module__optionItem___UujFS", Xe = "TagsFields-module__optionItemDisabled___9gB8N", Ze = "TagsFields-module__optionItemFocused___4rsDt", $e = "TagsFields-module__optionContent___QSC9G", et = "TagsFields-module__optionLabel___N-fQ7", tt = "TagsFields-module__tickIcon___3uRY-", st = "TagsFields-module__noOptions___ugYj9", lt = "TagsFields-module__helpers___ab6f-", ot = "TagsFields-module__helpText___Qzdqh", dt = "TagsFields-module__helpTextDisabled___m-oFo", nt = "TagsFields-module__helpLink___JQDmR", at = "TagsFields-module__helpLinkDisabled___Nk1BX", rt = "TagsFields-module__errorMessage___b-ugf", t = {
10
10
  dropdownContainer: De,
11
11
  dropdownLabel: Ce,
@@ -6,7 +6,7 @@ import te from "../Icon/Icon.js";
6
6
  import { P as F, u as oe, d as G, c as C, b as re, h as ne } from "../../index-DM51yNMI.js";
7
7
  import { P as le, D as ie } from "../../index-DrR82jOT.js";
8
8
  import { u as se } from "../../index-7CBv-Jx6.js";
9
- import { R as ae, A as ce, a as ue, c as B, C as pe } from "../../index-C-3_YVJ1.js";
9
+ import { R as ae, A as ce, a as ue, c as B, C as pe } from "../../index-D34Qo5Qx.js";
10
10
  import { P as K } from "../../index-BymOxiM6.js";
11
11
  import '../../assets/Tooltip.css';var de = Object.freeze({
12
12
  // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss