@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.
- package/README.md +97 -97
- package/dist/assets/Datepicker.css +1 -0
- package/dist/assets/DragAndDrop.css +1 -1
- package/dist/assets/FilePicker.css +1 -1
- package/dist/components/Creatable/Creatable.js +1 -1
- package/dist/components/Datepicker/Datepicker.d.ts +22 -0
- package/dist/components/Datepicker/Datepicker.js +228 -0
- package/dist/components/Datepicker/Datepicker.test.d.ts +1 -0
- package/dist/components/Datepicker/Datepicker.test.js +40 -0
- package/dist/components/DragAndDrop/DragAndDrop.d.ts +2 -1
- package/dist/components/DragAndDrop/DragAndDrop.js +80 -76
- package/dist/components/Dropdown/Dropdown.js +1 -1
- package/dist/components/NavBar/NavBar.js +1 -1
- package/dist/components/SplitButton/SplitButton.js +1 -1
- package/dist/components/TagsFields/TagsFields.js +1 -1
- package/dist/components/Tooltip/Tooltip.js +1 -1
- package/dist/{index-C-3_YVJ1.js → index-D34Qo5Qx.js} +478 -473
- package/dist/{index-C4ffg1vf.js → index-DZ4Gof57.js} +1 -1
- package/dist/{index-D_3jWVyV.js → index-DgdVwltD.js} +1 -1
- package/dist/main.d.ts +1 -0
- package/dist/main.js +51 -49
- package/dist/web.config +8 -8
- package/package.json +88 -88
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { jsxs as _, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { useId as
|
|
3
|
-
import
|
|
4
|
-
import { c as
|
|
5
|
-
import
|
|
6
|
-
import '../../assets/DragAndDrop.css';const
|
|
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:
|
|
9
|
-
required:
|
|
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:
|
|
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
|
-
},
|
|
28
|
-
function
|
|
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:
|
|
31
|
-
disabled:
|
|
32
|
-
required:
|
|
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:
|
|
43
|
+
className: nr,
|
|
41
44
|
maxSizeErrorMessage: T,
|
|
42
45
|
fileExtensionInvalidErrorMessage: v,
|
|
43
46
|
texts: a,
|
|
44
|
-
fileIcon:
|
|
45
|
-
errorIcon:
|
|
46
|
-
deleteIcon:
|
|
47
|
-
browseButtonIcon:
|
|
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:
|
|
50
|
-
browseButtonProps:
|
|
51
|
-
validator:
|
|
52
|
+
fileSizeFormatter: B,
|
|
53
|
+
browseButtonProps: tr,
|
|
54
|
+
validator: S,
|
|
52
55
|
errors: L,
|
|
53
|
-
...
|
|
56
|
+
...lr
|
|
54
57
|
}) {
|
|
55
|
-
const j =
|
|
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]),
|
|
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:
|
|
68
|
-
}) : `${
|
|
70
|
+
type: o
|
|
71
|
+
}) : `${Z} ${o === "single" ? "file" : "files"} ${H}`, [a, c, Z, p, H, o]), mr = () => {
|
|
69
72
|
var r;
|
|
70
|
-
N || (r =
|
|
71
|
-
},
|
|
72
|
-
const s = e.maxSize ? e.maxSize * 1024 * 1024 : Number.POSITIVE_INFINITY,
|
|
73
|
-
return
|
|
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:
|
|
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
|
-
}, [
|
|
87
|
+
}, [E, T, v]), $ = A(() => ({
|
|
85
88
|
maxSize: p,
|
|
86
89
|
fileExtensionsAllowed: c,
|
|
87
|
-
type:
|
|
90
|
+
type: o,
|
|
88
91
|
maxFiles: l
|
|
89
|
-
}), [p, c,
|
|
92
|
+
}), [p, c, o, l]), O = g((r) => {
|
|
90
93
|
let e;
|
|
91
|
-
|
|
92
|
-
let s = e.map((
|
|
93
|
-
const f =
|
|
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:
|
|
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
|
|
101
|
-
...
|
|
102
|
-
error:
|
|
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
|
-
}, [
|
|
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 =
|
|
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,
|
|
117
|
-
const e =
|
|
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
|
-
|
|
125
|
+
G(s), m == null || m(s);
|
|
123
126
|
}
|
|
124
|
-
}, [
|
|
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
|
-
|
|
128
|
-
},
|
|
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((
|
|
131
|
-
h ||
|
|
132
|
-
}, [h, n, I]),
|
|
133
|
-
onDragOver:
|
|
134
|
-
onDragLeave:
|
|
135
|
-
onDrop:
|
|
136
|
-
...
|
|
137
|
-
} =
|
|
138
|
-
N || (r.preventDefault(),
|
|
139
|
-
},
|
|
140
|
-
r.preventDefault(),
|
|
141
|
-
},
|
|
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
|
-
|
|
148
|
+
Q(e), r.dataTransfer.clearData(), w(!1), q == null || q(r);
|
|
146
149
|
};
|
|
147
|
-
return /* @__PURE__ */ _("div", { className:
|
|
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
|
-
|
|
153
|
+
ar && /* @__PURE__ */ t("span", { "aria-hidden": "true", className: d.required, children: "*" })
|
|
151
154
|
] }),
|
|
152
|
-
/* @__PURE__ */ _("div", { className:
|
|
153
|
-
/* @__PURE__ */ t(
|
|
154
|
-
/* @__PURE__ */ t("input", { id: j, ref:
|
|
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:
|
|
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:
|
|
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
|
-
|
|
164
|
+
pr()
|
|
162
165
|
] })
|
|
163
166
|
] })
|
|
164
167
|
] }),
|
|
165
|
-
|
|
166
|
-
|
|
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:
|
|
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(
|
|
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(
|
|
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
|
-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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
|