@umami/react-zen 0.164.0 → 0.165.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.css +115 -88
- package/dist/index.d.mts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +2999 -1443
- package/dist/index.mjs +1953 -397
- package/package.json +1 -1
- package/styles.css +115 -88
package/dist/index.mjs
CHANGED
|
@@ -161,7 +161,7 @@ var require_classnames = __commonJS({
|
|
|
161
161
|
(function() {
|
|
162
162
|
"use strict";
|
|
163
163
|
var hasOwn = {}.hasOwnProperty;
|
|
164
|
-
function
|
|
164
|
+
function classNames54() {
|
|
165
165
|
var classes = "";
|
|
166
166
|
for (var i = 0; i < arguments.length; i++) {
|
|
167
167
|
var arg = arguments[i];
|
|
@@ -179,7 +179,7 @@ var require_classnames = __commonJS({
|
|
|
179
179
|
return "";
|
|
180
180
|
}
|
|
181
181
|
if (Array.isArray(arg)) {
|
|
182
|
-
return
|
|
182
|
+
return classNames54.apply(null, arg);
|
|
183
183
|
}
|
|
184
184
|
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes("[native code]")) {
|
|
185
185
|
return arg.toString();
|
|
@@ -202,14 +202,14 @@ var require_classnames = __commonJS({
|
|
|
202
202
|
return value + newClass;
|
|
203
203
|
}
|
|
204
204
|
if (typeof module !== "undefined" && module.exports) {
|
|
205
|
-
|
|
206
|
-
module.exports =
|
|
205
|
+
classNames54.default = classNames54;
|
|
206
|
+
module.exports = classNames54;
|
|
207
207
|
} else if (typeof define === "function" && typeof define.amd === "object" && define.amd) {
|
|
208
208
|
define("classnames", [], function() {
|
|
209
|
-
return
|
|
209
|
+
return classNames54;
|
|
210
210
|
});
|
|
211
211
|
} else {
|
|
212
|
-
window.classNames =
|
|
212
|
+
window.classNames = classNames54;
|
|
213
213
|
}
|
|
214
214
|
})();
|
|
215
215
|
}
|
|
@@ -6766,6 +6766,54 @@ function $325a3faab7a68acd$export$a16aca283550c30d(options) {
|
|
|
6766
6766
|
return formatter;
|
|
6767
6767
|
}
|
|
6768
6768
|
|
|
6769
|
+
// node_modules/.pnpm/@react-aria+i18n@3.12.9_rea_86237fe3fc4d7bb4ebf84f50a25c6e77/node_modules/@react-aria/i18n/dist/useFilter.mjs
|
|
6770
|
+
import { useCallback as $21ck9$useCallback, useMemo as $21ck9$useMemo } from "react";
|
|
6771
|
+
function $bb77f239b46e8c72$export$3274cf84b703fff(options) {
|
|
6772
|
+
let collator = (0, $325a3faab7a68acd$export$a16aca283550c30d)({
|
|
6773
|
+
usage: "search",
|
|
6774
|
+
...options
|
|
6775
|
+
});
|
|
6776
|
+
let startsWith = (0, $21ck9$useCallback)((string, substring) => {
|
|
6777
|
+
if (substring.length === 0) return true;
|
|
6778
|
+
string = string.normalize("NFC");
|
|
6779
|
+
substring = substring.normalize("NFC");
|
|
6780
|
+
return collator.compare(string.slice(0, substring.length), substring) === 0;
|
|
6781
|
+
}, [
|
|
6782
|
+
collator
|
|
6783
|
+
]);
|
|
6784
|
+
let endsWith = (0, $21ck9$useCallback)((string, substring) => {
|
|
6785
|
+
if (substring.length === 0) return true;
|
|
6786
|
+
string = string.normalize("NFC");
|
|
6787
|
+
substring = substring.normalize("NFC");
|
|
6788
|
+
return collator.compare(string.slice(-substring.length), substring) === 0;
|
|
6789
|
+
}, [
|
|
6790
|
+
collator
|
|
6791
|
+
]);
|
|
6792
|
+
let contains = (0, $21ck9$useCallback)((string, substring) => {
|
|
6793
|
+
if (substring.length === 0) return true;
|
|
6794
|
+
string = string.normalize("NFC");
|
|
6795
|
+
substring = substring.normalize("NFC");
|
|
6796
|
+
let scan = 0;
|
|
6797
|
+
let sliceLen = substring.length;
|
|
6798
|
+
for (; scan + sliceLen <= string.length; scan++) {
|
|
6799
|
+
let slice = string.slice(scan, scan + sliceLen);
|
|
6800
|
+
if (collator.compare(substring, slice) === 0) return true;
|
|
6801
|
+
}
|
|
6802
|
+
return false;
|
|
6803
|
+
}, [
|
|
6804
|
+
collator
|
|
6805
|
+
]);
|
|
6806
|
+
return (0, $21ck9$useMemo)(() => ({
|
|
6807
|
+
startsWith,
|
|
6808
|
+
endsWith,
|
|
6809
|
+
contains
|
|
6810
|
+
}), [
|
|
6811
|
+
startsWith,
|
|
6812
|
+
endsWith,
|
|
6813
|
+
contains
|
|
6814
|
+
]);
|
|
6815
|
+
}
|
|
6816
|
+
|
|
6769
6817
|
// node_modules/.pnpm/@react-aria+breadcrumbs@3.5_c5b303ace02d8e23715cd0a3418cc612/node_modules/@react-aria/breadcrumbs/dist/useBreadcrumbs.mjs
|
|
6770
6818
|
function $parcel$interopDefault(a) {
|
|
6771
6819
|
return a && a.__esModule ? a.default : a;
|
|
@@ -9802,6 +9850,793 @@ function $2d73ec29415bd339$export$712718f7aec83d5(props, ref) {
|
|
|
9802
9850
|
};
|
|
9803
9851
|
}
|
|
9804
9852
|
|
|
9853
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/ar-AE.mjs
|
|
9854
|
+
var $02cb4c75c506befe$exports = {};
|
|
9855
|
+
$02cb4c75c506befe$exports = {
|
|
9856
|
+
"buttonLabel": `\u0639\u0631\u0636 \u0627\u0644\u0645\u0642\u062A\u0631\u062D\u0627\u062A`,
|
|
9857
|
+
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
9858
|
+
one: () => `${formatter.number(args.optionCount)} \u062E\u064A\u0627\u0631`,
|
|
9859
|
+
other: () => `${formatter.number(args.optionCount)} \u062E\u064A\u0627\u0631\u0627\u062A`
|
|
9860
|
+
})} \u0645\u062A\u0627\u062D\u0629.`,
|
|
9861
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
9862
|
+
true: () => `\u0627\u0644\u0645\u062C\u0645\u0648\u0639\u0629 \u0627\u0644\u0645\u062F\u062E\u0644\u0629 ${args.groupTitle}, \u0645\u0639 ${formatter.plural(args.groupCount, {
|
|
9863
|
+
one: () => `${formatter.number(args.groupCount)} \u062E\u064A\u0627\u0631`,
|
|
9864
|
+
other: () => `${formatter.number(args.groupCount)} \u062E\u064A\u0627\u0631\u0627\u062A`
|
|
9865
|
+
})}. `,
|
|
9866
|
+
other: ``
|
|
9867
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
9868
|
+
true: `, \u0645\u062D\u062F\u062F`,
|
|
9869
|
+
other: ``
|
|
9870
|
+
}, args.isSelected)}`,
|
|
9871
|
+
"listboxLabel": `\u0645\u0642\u062A\u0631\u062D\u0627\u062A`,
|
|
9872
|
+
"selectedAnnouncement": (args) => `${args.optionText}\u060C \u0645\u062D\u062F\u062F`
|
|
9873
|
+
};
|
|
9874
|
+
|
|
9875
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/bg-BG.mjs
|
|
9876
|
+
var $568b8163f1e56faf$exports = {};
|
|
9877
|
+
$568b8163f1e56faf$exports = {
|
|
9878
|
+
"buttonLabel": `\u041F\u043E\u043A\u0430\u0436\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F`,
|
|
9879
|
+
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
9880
|
+
one: () => `${formatter.number(args.optionCount)} \u043E\u043F\u0446\u0438\u044F`,
|
|
9881
|
+
other: () => `${formatter.number(args.optionCount)} \u043E\u043F\u0446\u0438\u0438`
|
|
9882
|
+
})} \u043D\u0430 \u0440\u0430\u0437\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435.`,
|
|
9883
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
9884
|
+
true: () => `\u0412\u044A\u0432\u0435\u0434\u0435\u043D\u0430 \u0433\u0440\u0443\u043F\u0430 ${args.groupTitle}, \u0441 ${formatter.plural(args.groupCount, {
|
|
9885
|
+
one: () => `${formatter.number(args.groupCount)} \u043E\u043F\u0446\u0438\u044F`,
|
|
9886
|
+
other: () => `${formatter.number(args.groupCount)} \u043E\u043F\u0446\u0438\u0438`
|
|
9887
|
+
})}. `,
|
|
9888
|
+
other: ``
|
|
9889
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
9890
|
+
true: `, \u0438\u0437\u0431\u0440\u0430\u043D\u0438`,
|
|
9891
|
+
other: ``
|
|
9892
|
+
}, args.isSelected)}`,
|
|
9893
|
+
"listboxLabel": `\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F`,
|
|
9894
|
+
"selectedAnnouncement": (args) => `${args.optionText}, \u0438\u0437\u0431\u0440\u0430\u043D\u0438`
|
|
9895
|
+
};
|
|
9896
|
+
|
|
9897
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/cs-CZ.mjs
|
|
9898
|
+
var $87581c0202d106b8$exports = {};
|
|
9899
|
+
$87581c0202d106b8$exports = {
|
|
9900
|
+
"buttonLabel": `Zobrazit doporu\u010Den\xED`,
|
|
9901
|
+
"countAnnouncement": (args, formatter) => `K dispozici ${formatter.plural(args.optionCount, {
|
|
9902
|
+
one: () => `je ${formatter.number(args.optionCount)} mo\u017Enost`,
|
|
9903
|
+
other: () => `jsou/je ${formatter.number(args.optionCount)} mo\u017Enosti/-\xED`
|
|
9904
|
+
})}.`,
|
|
9905
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
9906
|
+
true: () => `Zadan\xE1 skupina \u201E${args.groupTitle}\u201C ${formatter.plural(args.groupCount, {
|
|
9907
|
+
one: () => `s ${formatter.number(args.groupCount)} mo\u017Enost\xED`,
|
|
9908
|
+
other: () => `se ${formatter.number(args.groupCount)} mo\u017Enostmi`
|
|
9909
|
+
})}. `,
|
|
9910
|
+
other: ``
|
|
9911
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
9912
|
+
true: ` (vybr\xE1no)`,
|
|
9913
|
+
other: ``
|
|
9914
|
+
}, args.isSelected)}`,
|
|
9915
|
+
"listboxLabel": `N\xE1vrhy`,
|
|
9916
|
+
"selectedAnnouncement": (args) => `${args.optionText}, vybr\xE1no`
|
|
9917
|
+
};
|
|
9918
|
+
|
|
9919
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/da-DK.mjs
|
|
9920
|
+
var $a10a0369f5433ed1$exports = {};
|
|
9921
|
+
$a10a0369f5433ed1$exports = {
|
|
9922
|
+
"buttonLabel": `Vis forslag`,
|
|
9923
|
+
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
9924
|
+
one: () => `${formatter.number(args.optionCount)} mulighed tilg\xE6ngelig`,
|
|
9925
|
+
other: () => `${formatter.number(args.optionCount)} muligheder tilg\xE6ngelige`
|
|
9926
|
+
})}.`,
|
|
9927
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
9928
|
+
true: () => `Angivet gruppe ${args.groupTitle}, med ${formatter.plural(args.groupCount, {
|
|
9929
|
+
one: () => `${formatter.number(args.groupCount)} mulighed`,
|
|
9930
|
+
other: () => `${formatter.number(args.groupCount)} muligheder`
|
|
9931
|
+
})}. `,
|
|
9932
|
+
other: ``
|
|
9933
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
9934
|
+
true: `, valgt`,
|
|
9935
|
+
other: ``
|
|
9936
|
+
}, args.isSelected)}`,
|
|
9937
|
+
"listboxLabel": `Forslag`,
|
|
9938
|
+
"selectedAnnouncement": (args) => `${args.optionText}, valgt`
|
|
9939
|
+
};
|
|
9940
|
+
|
|
9941
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/de-DE.mjs
|
|
9942
|
+
var $bfd288727d5cb166$exports = {};
|
|
9943
|
+
$bfd288727d5cb166$exports = {
|
|
9944
|
+
"buttonLabel": `Empfehlungen anzeigen`,
|
|
9945
|
+
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
9946
|
+
one: () => `${formatter.number(args.optionCount)} Option`,
|
|
9947
|
+
other: () => `${formatter.number(args.optionCount)} Optionen`
|
|
9948
|
+
})} verf\xFCgbar.`,
|
|
9949
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
9950
|
+
true: () => `Eingetretene Gruppe ${args.groupTitle}, mit ${formatter.plural(args.groupCount, {
|
|
9951
|
+
one: () => `${formatter.number(args.groupCount)} Option`,
|
|
9952
|
+
other: () => `${formatter.number(args.groupCount)} Optionen`
|
|
9953
|
+
})}. `,
|
|
9954
|
+
other: ``
|
|
9955
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
9956
|
+
true: `, ausgew\xE4hlt`,
|
|
9957
|
+
other: ``
|
|
9958
|
+
}, args.isSelected)}`,
|
|
9959
|
+
"listboxLabel": `Empfehlungen`,
|
|
9960
|
+
"selectedAnnouncement": (args) => `${args.optionText}, ausgew\xE4hlt`
|
|
9961
|
+
};
|
|
9962
|
+
|
|
9963
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/el-GR.mjs
|
|
9964
|
+
var $ca177778f9a74e3c$exports = {};
|
|
9965
|
+
$ca177778f9a74e3c$exports = {
|
|
9966
|
+
"buttonLabel": `\u03A0\u03C1\u03BF\u03B2\u03BF\u03BB\u03AE \u03C0\u03C1\u03BF\u03C4\u03AC\u03C3\u03B5\u03C9\u03BD`,
|
|
9967
|
+
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
9968
|
+
one: () => `${formatter.number(args.optionCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE`,
|
|
9969
|
+
other: () => `${formatter.number(args.optionCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2 `
|
|
9970
|
+
})} \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03B5\u03C2.`,
|
|
9971
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
9972
|
+
true: () => `\u0395\u03B9\u03C3\u03B1\u03B3\u03BC\u03AD\u03BD\u03B7 \u03BF\u03BC\u03AC\u03B4\u03B1 ${args.groupTitle}, \u03BC\u03B5 ${formatter.plural(args.groupCount, {
|
|
9973
|
+
one: () => `${formatter.number(args.groupCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE`,
|
|
9974
|
+
other: () => `${formatter.number(args.groupCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2`
|
|
9975
|
+
})}. `,
|
|
9976
|
+
other: ``
|
|
9977
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
9978
|
+
true: `, \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03BF`,
|
|
9979
|
+
other: ``
|
|
9980
|
+
}, args.isSelected)}`,
|
|
9981
|
+
"listboxLabel": `\u03A0\u03C1\u03BF\u03C4\u03AC\u03C3\u03B5\u03B9\u03C2`,
|
|
9982
|
+
"selectedAnnouncement": (args) => `${args.optionText}, \u03B5\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B5`
|
|
9983
|
+
};
|
|
9984
|
+
|
|
9985
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/en-US.mjs
|
|
9986
|
+
var $9b5aa79ef84beb6c$exports = {};
|
|
9987
|
+
$9b5aa79ef84beb6c$exports = {
|
|
9988
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
9989
|
+
true: () => `Entered group ${args.groupTitle}, with ${formatter.plural(args.groupCount, {
|
|
9990
|
+
one: () => `${formatter.number(args.groupCount)} option`,
|
|
9991
|
+
other: () => `${formatter.number(args.groupCount)} options`
|
|
9992
|
+
})}. `,
|
|
9993
|
+
other: ``
|
|
9994
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
9995
|
+
true: `, selected`,
|
|
9996
|
+
other: ``
|
|
9997
|
+
}, args.isSelected)}`,
|
|
9998
|
+
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
9999
|
+
one: () => `${formatter.number(args.optionCount)} option`,
|
|
10000
|
+
other: () => `${formatter.number(args.optionCount)} options`
|
|
10001
|
+
})} available.`,
|
|
10002
|
+
"selectedAnnouncement": (args) => `${args.optionText}, selected`,
|
|
10003
|
+
"buttonLabel": `Show suggestions`,
|
|
10004
|
+
"listboxLabel": `Suggestions`
|
|
10005
|
+
};
|
|
10006
|
+
|
|
10007
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/es-ES.mjs
|
|
10008
|
+
var $57968e8209de2557$exports = {};
|
|
10009
|
+
$57968e8209de2557$exports = {
|
|
10010
|
+
"buttonLabel": `Mostrar sugerencias`,
|
|
10011
|
+
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
10012
|
+
one: () => `${formatter.number(args.optionCount)} opci\xF3n`,
|
|
10013
|
+
other: () => `${formatter.number(args.optionCount)} opciones`
|
|
10014
|
+
})} disponible(s).`,
|
|
10015
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10016
|
+
true: () => `Se ha unido al grupo ${args.groupTitle}, con ${formatter.plural(args.groupCount, {
|
|
10017
|
+
one: () => `${formatter.number(args.groupCount)} opci\xF3n`,
|
|
10018
|
+
other: () => `${formatter.number(args.groupCount)} opciones`
|
|
10019
|
+
})}. `,
|
|
10020
|
+
other: ``
|
|
10021
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10022
|
+
true: `, seleccionado`,
|
|
10023
|
+
other: ``
|
|
10024
|
+
}, args.isSelected)}`,
|
|
10025
|
+
"listboxLabel": `Sugerencias`,
|
|
10026
|
+
"selectedAnnouncement": (args) => `${args.optionText}, seleccionado`
|
|
10027
|
+
};
|
|
10028
|
+
|
|
10029
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/et-EE.mjs
|
|
10030
|
+
var $60690790bf4c1c6a$exports = {};
|
|
10031
|
+
$60690790bf4c1c6a$exports = {
|
|
10032
|
+
"buttonLabel": `Kuva soovitused`,
|
|
10033
|
+
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
10034
|
+
one: () => `${formatter.number(args.optionCount)} valik`,
|
|
10035
|
+
other: () => `${formatter.number(args.optionCount)} valikud`
|
|
10036
|
+
})} saadaval.`,
|
|
10037
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10038
|
+
true: () => `Sisestatud r\xFChm ${args.groupTitle}, valikuga ${formatter.plural(args.groupCount, {
|
|
10039
|
+
one: () => `${formatter.number(args.groupCount)} valik`,
|
|
10040
|
+
other: () => `${formatter.number(args.groupCount)} valikud`
|
|
10041
|
+
})}. `,
|
|
10042
|
+
other: ``
|
|
10043
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10044
|
+
true: `, valitud`,
|
|
10045
|
+
other: ``
|
|
10046
|
+
}, args.isSelected)}`,
|
|
10047
|
+
"listboxLabel": `Soovitused`,
|
|
10048
|
+
"selectedAnnouncement": (args) => `${args.optionText}, valitud`
|
|
10049
|
+
};
|
|
10050
|
+
|
|
10051
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/fi-FI.mjs
|
|
10052
|
+
var $1101246e8c7d9357$exports = {};
|
|
10053
|
+
$1101246e8c7d9357$exports = {
|
|
10054
|
+
"buttonLabel": `N\xE4yt\xE4 ehdotukset`,
|
|
10055
|
+
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
10056
|
+
one: () => `${formatter.number(args.optionCount)} vaihtoehto`,
|
|
10057
|
+
other: () => `${formatter.number(args.optionCount)} vaihtoehdot`
|
|
10058
|
+
})} saatavilla.`,
|
|
10059
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10060
|
+
true: () => `Mentiin ryhm\xE4\xE4n ${args.groupTitle}, ${formatter.plural(args.groupCount, {
|
|
10061
|
+
one: () => `${formatter.number(args.groupCount)} vaihtoehdon`,
|
|
10062
|
+
other: () => `${formatter.number(args.groupCount)} vaihtoehdon`
|
|
10063
|
+
})} kanssa.`,
|
|
10064
|
+
other: ``
|
|
10065
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10066
|
+
true: `, valittu`,
|
|
10067
|
+
other: ``
|
|
10068
|
+
}, args.isSelected)}`,
|
|
10069
|
+
"listboxLabel": `Ehdotukset`,
|
|
10070
|
+
"selectedAnnouncement": (args) => `${args.optionText}, valittu`
|
|
10071
|
+
};
|
|
10072
|
+
|
|
10073
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/fr-FR.mjs
|
|
10074
|
+
var $6404b5cb5b241730$exports = {};
|
|
10075
|
+
$6404b5cb5b241730$exports = {
|
|
10076
|
+
"buttonLabel": `Afficher les suggestions`,
|
|
10077
|
+
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
10078
|
+
one: () => `${formatter.number(args.optionCount)} option`,
|
|
10079
|
+
other: () => `${formatter.number(args.optionCount)} options`
|
|
10080
|
+
})} disponible(s).`,
|
|
10081
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10082
|
+
true: () => `Groupe ${args.groupTitle} rejoint, avec ${formatter.plural(args.groupCount, {
|
|
10083
|
+
one: () => `${formatter.number(args.groupCount)} option`,
|
|
10084
|
+
other: () => `${formatter.number(args.groupCount)} options`
|
|
10085
|
+
})}. `,
|
|
10086
|
+
other: ``
|
|
10087
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10088
|
+
true: `, s\xE9lectionn\xE9(s)`,
|
|
10089
|
+
other: ``
|
|
10090
|
+
}, args.isSelected)}`,
|
|
10091
|
+
"listboxLabel": `Suggestions`,
|
|
10092
|
+
"selectedAnnouncement": (args) => `${args.optionText}, s\xE9lectionn\xE9`
|
|
10093
|
+
};
|
|
10094
|
+
|
|
10095
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/he-IL.mjs
|
|
10096
|
+
var $dfeafa702e92e31f$exports = {};
|
|
10097
|
+
$dfeafa702e92e31f$exports = {
|
|
10098
|
+
"buttonLabel": `\u05D4\u05E6\u05D2 \u05D4\u05E6\u05E2\u05D5\u05EA`,
|
|
10099
|
+
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
10100
|
+
one: () => `\u05D0\u05E4\u05E9\u05E8\u05D5\u05EA ${formatter.number(args.optionCount)}`,
|
|
10101
|
+
other: () => `${formatter.number(args.optionCount)} \u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA`
|
|
10102
|
+
})} \u05D1\u05DE\u05E6\u05D1 \u05D6\u05DE\u05D9\u05DF.`,
|
|
10103
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10104
|
+
true: () => `\u05E0\u05DB\u05E0\u05E1 \u05DC\u05E7\u05D1\u05D5\u05E6\u05D4 ${args.groupTitle}, \u05E2\u05DD ${formatter.plural(args.groupCount, {
|
|
10105
|
+
one: () => `\u05D0\u05E4\u05E9\u05E8\u05D5\u05EA ${formatter.number(args.groupCount)}`,
|
|
10106
|
+
other: () => `${formatter.number(args.groupCount)} \u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA`
|
|
10107
|
+
})}. `,
|
|
10108
|
+
other: ``
|
|
10109
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10110
|
+
true: `, \u05E0\u05D1\u05D7\u05E8`,
|
|
10111
|
+
other: ``
|
|
10112
|
+
}, args.isSelected)}`,
|
|
10113
|
+
"listboxLabel": `\u05D4\u05E6\u05E2\u05D5\u05EA`,
|
|
10114
|
+
"selectedAnnouncement": (args) => `${args.optionText}, \u05E0\u05D1\u05D7\u05E8`
|
|
10115
|
+
};
|
|
10116
|
+
|
|
10117
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/hr-HR.mjs
|
|
10118
|
+
var $2d125e0b34676352$exports = {};
|
|
10119
|
+
$2d125e0b34676352$exports = {
|
|
10120
|
+
"buttonLabel": `Prika\u017Ei prijedloge`,
|
|
10121
|
+
"countAnnouncement": (args, formatter) => `Dostupno jo\u0161: ${formatter.plural(args.optionCount, {
|
|
10122
|
+
one: () => `${formatter.number(args.optionCount)} opcija`,
|
|
10123
|
+
other: () => `${formatter.number(args.optionCount)} opcije/a`
|
|
10124
|
+
})}.`,
|
|
10125
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10126
|
+
true: () => `Unesena skupina ${args.groupTitle}, s ${formatter.plural(args.groupCount, {
|
|
10127
|
+
one: () => `${formatter.number(args.groupCount)} opcijom`,
|
|
10128
|
+
other: () => `${formatter.number(args.groupCount)} opcije/a`
|
|
10129
|
+
})}. `,
|
|
10130
|
+
other: ``
|
|
10131
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10132
|
+
true: `, odabranih`,
|
|
10133
|
+
other: ``
|
|
10134
|
+
}, args.isSelected)}`,
|
|
10135
|
+
"listboxLabel": `Prijedlozi`,
|
|
10136
|
+
"selectedAnnouncement": (args) => `${args.optionText}, odabrano`
|
|
10137
|
+
};
|
|
10138
|
+
|
|
10139
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/hu-HU.mjs
|
|
10140
|
+
var $ea029611d7634059$exports = {};
|
|
10141
|
+
$ea029611d7634059$exports = {
|
|
10142
|
+
"buttonLabel": `Javaslatok megjelen\xEDt\xE9se`,
|
|
10143
|
+
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
10144
|
+
one: () => `${formatter.number(args.optionCount)} lehet\u0151s\xE9g`,
|
|
10145
|
+
other: () => `${formatter.number(args.optionCount)} lehet\u0151s\xE9g`
|
|
10146
|
+
})} \xE1ll rendelkez\xE9sre.`,
|
|
10147
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10148
|
+
true: () => `Bel\xE9pett a(z) ${args.groupTitle} csoportba, amely ${formatter.plural(args.groupCount, {
|
|
10149
|
+
one: () => `${formatter.number(args.groupCount)} lehet\u0151s\xE9get`,
|
|
10150
|
+
other: () => `${formatter.number(args.groupCount)} lehet\u0151s\xE9get`
|
|
10151
|
+
})} tartalmaz. `,
|
|
10152
|
+
other: ``
|
|
10153
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10154
|
+
true: `, kijel\xF6lve`,
|
|
10155
|
+
other: ``
|
|
10156
|
+
}, args.isSelected)}`,
|
|
10157
|
+
"listboxLabel": `Javaslatok`,
|
|
10158
|
+
"selectedAnnouncement": (args) => `${args.optionText}, kijel\xF6lve`
|
|
10159
|
+
};
|
|
10160
|
+
|
|
10161
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/it-IT.mjs
|
|
10162
|
+
var $77f075bb86ad7091$exports = {};
|
|
10163
|
+
$77f075bb86ad7091$exports = {
|
|
10164
|
+
"buttonLabel": `Mostra suggerimenti`,
|
|
10165
|
+
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
10166
|
+
one: () => `${formatter.number(args.optionCount)} opzione disponibile`,
|
|
10167
|
+
other: () => `${formatter.number(args.optionCount)} opzioni disponibili`
|
|
10168
|
+
})}.`,
|
|
10169
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10170
|
+
true: () => `Ingresso nel gruppo ${args.groupTitle}, con ${formatter.plural(args.groupCount, {
|
|
10171
|
+
one: () => `${formatter.number(args.groupCount)} opzione`,
|
|
10172
|
+
other: () => `${formatter.number(args.groupCount)} opzioni`
|
|
10173
|
+
})}. `,
|
|
10174
|
+
other: ``
|
|
10175
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10176
|
+
true: `, selezionato`,
|
|
10177
|
+
other: ``
|
|
10178
|
+
}, args.isSelected)}`,
|
|
10179
|
+
"listboxLabel": `Suggerimenti`,
|
|
10180
|
+
"selectedAnnouncement": (args) => `${args.optionText}, selezionato`
|
|
10181
|
+
};
|
|
10182
|
+
|
|
10183
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/ja-JP.mjs
|
|
10184
|
+
var $6e87462e84907983$exports = {};
|
|
10185
|
+
$6e87462e84907983$exports = {
|
|
10186
|
+
"buttonLabel": `\u5019\u88DC\u3092\u8868\u793A`,
|
|
10187
|
+
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
10188
|
+
one: () => `${formatter.number(args.optionCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`,
|
|
10189
|
+
other: () => `${formatter.number(args.optionCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`
|
|
10190
|
+
})}\u3092\u5229\u7528\u3067\u304D\u307E\u3059\u3002`,
|
|
10191
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10192
|
+
true: () => `\u5165\u529B\u3055\u308C\u305F\u30B0\u30EB\u30FC\u30D7 ${args.groupTitle}\u3001${formatter.plural(args.groupCount, {
|
|
10193
|
+
one: () => `${formatter.number(args.groupCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`,
|
|
10194
|
+
other: () => `${formatter.number(args.groupCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`
|
|
10195
|
+
})}\u3092\u542B\u3080\u3002`,
|
|
10196
|
+
other: ``
|
|
10197
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10198
|
+
true: `\u3001\u9078\u629E\u6E08\u307F`,
|
|
10199
|
+
other: ``
|
|
10200
|
+
}, args.isSelected)}`,
|
|
10201
|
+
"listboxLabel": `\u5019\u88DC`,
|
|
10202
|
+
"selectedAnnouncement": (args) => `${args.optionText}\u3001\u9078\u629E\u6E08\u307F`
|
|
10203
|
+
};
|
|
10204
|
+
|
|
10205
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/ko-KR.mjs
|
|
10206
|
+
var $9246f2c6edc6b232$exports = {};
|
|
10207
|
+
$9246f2c6edc6b232$exports = {
|
|
10208
|
+
"buttonLabel": `\uC81C\uC548 \uC0AC\uD56D \uD45C\uC2DC`,
|
|
10209
|
+
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
10210
|
+
one: () => `${formatter.number(args.optionCount)}\uAC1C \uC635\uC158`,
|
|
10211
|
+
other: () => `${formatter.number(args.optionCount)}\uAC1C \uC635\uC158`
|
|
10212
|
+
})}\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.`,
|
|
10213
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10214
|
+
true: () => `\uC785\uB825\uD55C \uADF8\uB8F9 ${args.groupTitle}, ${formatter.plural(args.groupCount, {
|
|
10215
|
+
one: () => `${formatter.number(args.groupCount)}\uAC1C \uC635\uC158`,
|
|
10216
|
+
other: () => `${formatter.number(args.groupCount)}\uAC1C \uC635\uC158`
|
|
10217
|
+
})}. `,
|
|
10218
|
+
other: ``
|
|
10219
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10220
|
+
true: `, \uC120\uD0DD\uB428`,
|
|
10221
|
+
other: ``
|
|
10222
|
+
}, args.isSelected)}`,
|
|
10223
|
+
"listboxLabel": `\uC81C\uC548`,
|
|
10224
|
+
"selectedAnnouncement": (args) => `${args.optionText}, \uC120\uD0DD\uB428`
|
|
10225
|
+
};
|
|
10226
|
+
|
|
10227
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/lt-LT.mjs
|
|
10228
|
+
var $e587accc6c0a434c$exports = {};
|
|
10229
|
+
$e587accc6c0a434c$exports = {
|
|
10230
|
+
"buttonLabel": `Rodyti pasi\u016Blymus`,
|
|
10231
|
+
"countAnnouncement": (args, formatter) => `Yra ${formatter.plural(args.optionCount, {
|
|
10232
|
+
one: () => `${formatter.number(args.optionCount)} parinktis`,
|
|
10233
|
+
other: () => `${formatter.number(args.optionCount)} parinktys (-i\u0173)`
|
|
10234
|
+
})}.`,
|
|
10235
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10236
|
+
true: () => `\u012Evesta grup\u0117 ${args.groupTitle}, su ${formatter.plural(args.groupCount, {
|
|
10237
|
+
one: () => `${formatter.number(args.groupCount)} parinktimi`,
|
|
10238
|
+
other: () => `${formatter.number(args.groupCount)} parinktimis (-i\u0173)`
|
|
10239
|
+
})}. `,
|
|
10240
|
+
other: ``
|
|
10241
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10242
|
+
true: `, pasirinkta`,
|
|
10243
|
+
other: ``
|
|
10244
|
+
}, args.isSelected)}`,
|
|
10245
|
+
"listboxLabel": `Pasi\u016Blymai`,
|
|
10246
|
+
"selectedAnnouncement": (args) => `${args.optionText}, pasirinkta`
|
|
10247
|
+
};
|
|
10248
|
+
|
|
10249
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/lv-LV.mjs
|
|
10250
|
+
var $03a1900e7400b5ab$exports = {};
|
|
10251
|
+
$03a1900e7400b5ab$exports = {
|
|
10252
|
+
"buttonLabel": `R\u0101d\u012Bt ieteikumus`,
|
|
10253
|
+
"countAnnouncement": (args, formatter) => `Pieejamo opciju skaits: ${formatter.plural(args.optionCount, {
|
|
10254
|
+
one: () => `${formatter.number(args.optionCount)} opcija`,
|
|
10255
|
+
other: () => `${formatter.number(args.optionCount)} opcijas`
|
|
10256
|
+
})}.`,
|
|
10257
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10258
|
+
true: () => `Ievad\u012Bta grupa ${args.groupTitle}, ar ${formatter.plural(args.groupCount, {
|
|
10259
|
+
one: () => `${formatter.number(args.groupCount)} opciju`,
|
|
10260
|
+
other: () => `${formatter.number(args.groupCount)} opcij\u0101m`
|
|
10261
|
+
})}. `,
|
|
10262
|
+
other: ``
|
|
10263
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10264
|
+
true: `, atlas\u012Bta`,
|
|
10265
|
+
other: ``
|
|
10266
|
+
}, args.isSelected)}`,
|
|
10267
|
+
"listboxLabel": `Ieteikumi`,
|
|
10268
|
+
"selectedAnnouncement": (args) => `${args.optionText}, atlas\u012Bta`
|
|
10269
|
+
};
|
|
10270
|
+
|
|
10271
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/nb-NO.mjs
|
|
10272
|
+
var $1387676441be6cf6$exports = {};
|
|
10273
|
+
$1387676441be6cf6$exports = {
|
|
10274
|
+
"buttonLabel": `Vis forslag`,
|
|
10275
|
+
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
10276
|
+
one: () => `${formatter.number(args.optionCount)} alternativ`,
|
|
10277
|
+
other: () => `${formatter.number(args.optionCount)} alternativer`
|
|
10278
|
+
})} finnes.`,
|
|
10279
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10280
|
+
true: () => `Angitt gruppe ${args.groupTitle}, med ${formatter.plural(args.groupCount, {
|
|
10281
|
+
one: () => `${formatter.number(args.groupCount)} alternativ`,
|
|
10282
|
+
other: () => `${formatter.number(args.groupCount)} alternativer`
|
|
10283
|
+
})}. `,
|
|
10284
|
+
other: ``
|
|
10285
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10286
|
+
true: `, valgt`,
|
|
10287
|
+
other: ``
|
|
10288
|
+
}, args.isSelected)}`,
|
|
10289
|
+
"listboxLabel": `Forslag`,
|
|
10290
|
+
"selectedAnnouncement": (args) => `${args.optionText}, valgt`
|
|
10291
|
+
};
|
|
10292
|
+
|
|
10293
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/nl-NL.mjs
|
|
10294
|
+
var $17e82ebf0f8ab91f$exports = {};
|
|
10295
|
+
$17e82ebf0f8ab91f$exports = {
|
|
10296
|
+
"buttonLabel": `Suggesties weergeven`,
|
|
10297
|
+
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
10298
|
+
one: () => `${formatter.number(args.optionCount)} optie`,
|
|
10299
|
+
other: () => `${formatter.number(args.optionCount)} opties`
|
|
10300
|
+
})} beschikbaar.`,
|
|
10301
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10302
|
+
true: () => `Groep ${args.groupTitle} ingevoerd met ${formatter.plural(args.groupCount, {
|
|
10303
|
+
one: () => `${formatter.number(args.groupCount)} optie`,
|
|
10304
|
+
other: () => `${formatter.number(args.groupCount)} opties`
|
|
10305
|
+
})}. `,
|
|
10306
|
+
other: ``
|
|
10307
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10308
|
+
true: `, geselecteerd`,
|
|
10309
|
+
other: ``
|
|
10310
|
+
}, args.isSelected)}`,
|
|
10311
|
+
"listboxLabel": `Suggesties`,
|
|
10312
|
+
"selectedAnnouncement": (args) => `${args.optionText}, geselecteerd`
|
|
10313
|
+
};
|
|
10314
|
+
|
|
10315
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/pl-PL.mjs
|
|
10316
|
+
var $2f5377d3471630e5$exports = {};
|
|
10317
|
+
$2f5377d3471630e5$exports = {
|
|
10318
|
+
"buttonLabel": `Wy\u015Bwietlaj sugestie`,
|
|
10319
|
+
"countAnnouncement": (args, formatter) => `dost\u0119pna/dost\u0119pne(-nych) ${formatter.plural(args.optionCount, {
|
|
10320
|
+
one: () => `${formatter.number(args.optionCount)} opcja`,
|
|
10321
|
+
other: () => `${formatter.number(args.optionCount)} opcje(-i)`
|
|
10322
|
+
})}.`,
|
|
10323
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10324
|
+
true: () => `Do\u0142\u0105czono do grupy ${args.groupTitle}, z ${formatter.plural(args.groupCount, {
|
|
10325
|
+
one: () => `${formatter.number(args.groupCount)} opcj\u0105`,
|
|
10326
|
+
other: () => `${formatter.number(args.groupCount)} opcjami`
|
|
10327
|
+
})}. `,
|
|
10328
|
+
other: ``
|
|
10329
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10330
|
+
true: `, wybrano`,
|
|
10331
|
+
other: ``
|
|
10332
|
+
}, args.isSelected)}`,
|
|
10333
|
+
"listboxLabel": `Sugestie`,
|
|
10334
|
+
"selectedAnnouncement": (args) => `${args.optionText}, wybrano`
|
|
10335
|
+
};
|
|
10336
|
+
|
|
10337
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/pt-BR.mjs
|
|
10338
|
+
var $dee9868b6fa95ffe$exports = {};
|
|
10339
|
+
$dee9868b6fa95ffe$exports = {
|
|
10340
|
+
"buttonLabel": `Mostrar sugest\xF5es`,
|
|
10341
|
+
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
10342
|
+
one: () => `${formatter.number(args.optionCount)} op\xE7\xE3o`,
|
|
10343
|
+
other: () => `${formatter.number(args.optionCount)} op\xE7\xF5es`
|
|
10344
|
+
})} dispon\xEDvel.`,
|
|
10345
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10346
|
+
true: () => `Grupo inserido ${args.groupTitle}, com ${formatter.plural(args.groupCount, {
|
|
10347
|
+
one: () => `${formatter.number(args.groupCount)} op\xE7\xE3o`,
|
|
10348
|
+
other: () => `${formatter.number(args.groupCount)} op\xE7\xF5es`
|
|
10349
|
+
})}. `,
|
|
10350
|
+
other: ``
|
|
10351
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10352
|
+
true: `, selecionado`,
|
|
10353
|
+
other: ``
|
|
10354
|
+
}, args.isSelected)}`,
|
|
10355
|
+
"listboxLabel": `Sugest\xF5es`,
|
|
10356
|
+
"selectedAnnouncement": (args) => `${args.optionText}, selecionado`
|
|
10357
|
+
};
|
|
10358
|
+
|
|
10359
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/pt-PT.mjs
|
|
10360
|
+
var $f8b2e63637cbb5a6$exports = {};
|
|
10361
|
+
$f8b2e63637cbb5a6$exports = {
|
|
10362
|
+
"buttonLabel": `Apresentar sugest\xF5es`,
|
|
10363
|
+
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
10364
|
+
one: () => `${formatter.number(args.optionCount)} op\xE7\xE3o`,
|
|
10365
|
+
other: () => `${formatter.number(args.optionCount)} op\xE7\xF5es`
|
|
10366
|
+
})} dispon\xEDvel.`,
|
|
10367
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10368
|
+
true: () => `Grupo introduzido ${args.groupTitle}, com ${formatter.plural(args.groupCount, {
|
|
10369
|
+
one: () => `${formatter.number(args.groupCount)} op\xE7\xE3o`,
|
|
10370
|
+
other: () => `${formatter.number(args.groupCount)} op\xE7\xF5es`
|
|
10371
|
+
})}. `,
|
|
10372
|
+
other: ``
|
|
10373
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10374
|
+
true: `, selecionado`,
|
|
10375
|
+
other: ``
|
|
10376
|
+
}, args.isSelected)}`,
|
|
10377
|
+
"listboxLabel": `Sugest\xF5es`,
|
|
10378
|
+
"selectedAnnouncement": (args) => `${args.optionText}, selecionado`
|
|
10379
|
+
};
|
|
10380
|
+
|
|
10381
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/ro-RO.mjs
|
|
10382
|
+
var $46a885db3b44ea95$exports = {};
|
|
10383
|
+
$46a885db3b44ea95$exports = {
|
|
10384
|
+
"buttonLabel": `Afi\u0219are sugestii`,
|
|
10385
|
+
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
10386
|
+
one: () => `${formatter.number(args.optionCount)} op\u021Biune`,
|
|
10387
|
+
other: () => `${formatter.number(args.optionCount)} op\u021Biuni`
|
|
10388
|
+
})} disponibile.`,
|
|
10389
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10390
|
+
true: () => `Grup ${args.groupTitle} introdus, cu ${formatter.plural(args.groupCount, {
|
|
10391
|
+
one: () => `${formatter.number(args.groupCount)} op\u021Biune`,
|
|
10392
|
+
other: () => `${formatter.number(args.groupCount)} op\u021Biuni`
|
|
10393
|
+
})}. `,
|
|
10394
|
+
other: ``
|
|
10395
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10396
|
+
true: `, selectat`,
|
|
10397
|
+
other: ``
|
|
10398
|
+
}, args.isSelected)}`,
|
|
10399
|
+
"listboxLabel": `Sugestii`,
|
|
10400
|
+
"selectedAnnouncement": (args) => `${args.optionText}, selectat`
|
|
10401
|
+
};
|
|
10402
|
+
|
|
10403
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/ru-RU.mjs
|
|
10404
|
+
var $50d8a8f0afa9dee5$exports = {};
|
|
10405
|
+
$50d8a8f0afa9dee5$exports = {
|
|
10406
|
+
"buttonLabel": `\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F`,
|
|
10407
|
+
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
10408
|
+
one: () => `${formatter.number(args.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440`,
|
|
10409
|
+
other: () => `${formatter.number(args.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432`
|
|
10410
|
+
})} \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E.`,
|
|
10411
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10412
|
+
true: () => `\u0412\u0432\u0435\u0434\u0435\u043D\u043D\u0430\u044F \u0433\u0440\u0443\u043F\u043F\u0430 ${args.groupTitle}, \u0441 ${formatter.plural(args.groupCount, {
|
|
10413
|
+
one: () => `${formatter.number(args.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u043C`,
|
|
10414
|
+
other: () => `${formatter.number(args.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u043C\u0438`
|
|
10415
|
+
})}. `,
|
|
10416
|
+
other: ``
|
|
10417
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10418
|
+
true: `, \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u043C\u0438`,
|
|
10419
|
+
other: ``
|
|
10420
|
+
}, args.isSelected)}`,
|
|
10421
|
+
"listboxLabel": `\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F`,
|
|
10422
|
+
"selectedAnnouncement": (args) => `${args.optionText}, \u0432\u044B\u0431\u0440\u0430\u043D\u043E`
|
|
10423
|
+
};
|
|
10424
|
+
|
|
10425
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/sk-SK.mjs
|
|
10426
|
+
var $2867ee6173245507$exports = {};
|
|
10427
|
+
$2867ee6173245507$exports = {
|
|
10428
|
+
"buttonLabel": `Zobrazi\u0165 n\xE1vrhy`,
|
|
10429
|
+
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
10430
|
+
one: () => `${formatter.number(args.optionCount)} mo\u017Enos\u0165`,
|
|
10431
|
+
other: () => `${formatter.number(args.optionCount)} mo\u017Enosti/-\xED`
|
|
10432
|
+
})} k dispoz\xEDcii.`,
|
|
10433
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10434
|
+
true: () => `Zadan\xE1 skupina ${args.groupTitle}, s ${formatter.plural(args.groupCount, {
|
|
10435
|
+
one: () => `${formatter.number(args.groupCount)} mo\u017Enos\u0165ou`,
|
|
10436
|
+
other: () => `${formatter.number(args.groupCount)} mo\u017Enos\u0165ami`
|
|
10437
|
+
})}. `,
|
|
10438
|
+
other: ``
|
|
10439
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10440
|
+
true: `, vybrat\xE9`,
|
|
10441
|
+
other: ``
|
|
10442
|
+
}, args.isSelected)}`,
|
|
10443
|
+
"listboxLabel": `N\xE1vrhy`,
|
|
10444
|
+
"selectedAnnouncement": (args) => `${args.optionText}, vybrat\xE9`
|
|
10445
|
+
};
|
|
10446
|
+
|
|
10447
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/sl-SI.mjs
|
|
10448
|
+
var $0631b65beeb09b50$exports = {};
|
|
10449
|
+
$0631b65beeb09b50$exports = {
|
|
10450
|
+
"buttonLabel": `Prika\u017Ei predloge`,
|
|
10451
|
+
"countAnnouncement": (args, formatter) => `Na voljo je ${formatter.plural(args.optionCount, {
|
|
10452
|
+
one: () => `${formatter.number(args.optionCount)} opcija`,
|
|
10453
|
+
other: () => `${formatter.number(args.optionCount)} opcije`
|
|
10454
|
+
})}.`,
|
|
10455
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10456
|
+
true: () => `Vnesena skupina ${args.groupTitle}, z ${formatter.plural(args.groupCount, {
|
|
10457
|
+
one: () => `${formatter.number(args.groupCount)} opcija`,
|
|
10458
|
+
other: () => `${formatter.number(args.groupCount)} opcije`
|
|
10459
|
+
})}. `,
|
|
10460
|
+
other: ``
|
|
10461
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10462
|
+
true: `, izbrano`,
|
|
10463
|
+
other: ``
|
|
10464
|
+
}, args.isSelected)}`,
|
|
10465
|
+
"listboxLabel": `Predlogi`,
|
|
10466
|
+
"selectedAnnouncement": (args) => `${args.optionText}, izbrano`
|
|
10467
|
+
};
|
|
10468
|
+
|
|
10469
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/sr-SP.mjs
|
|
10470
|
+
var $65fc749265dcd686$exports = {};
|
|
10471
|
+
$65fc749265dcd686$exports = {
|
|
10472
|
+
"buttonLabel": `Prika\u017Ei predloge`,
|
|
10473
|
+
"countAnnouncement": (args, formatter) => `Dostupno jo\u0161: ${formatter.plural(args.optionCount, {
|
|
10474
|
+
one: () => `${formatter.number(args.optionCount)} opcija`,
|
|
10475
|
+
other: () => `${formatter.number(args.optionCount)} opcije/a`
|
|
10476
|
+
})}.`,
|
|
10477
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10478
|
+
true: () => `Unesena grupa ${args.groupTitle}, s ${formatter.plural(args.groupCount, {
|
|
10479
|
+
one: () => `${formatter.number(args.groupCount)} opcijom`,
|
|
10480
|
+
other: () => `${formatter.number(args.groupCount)} optione/a`
|
|
10481
|
+
})}. `,
|
|
10482
|
+
other: ``
|
|
10483
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10484
|
+
true: `, izabranih`,
|
|
10485
|
+
other: ``
|
|
10486
|
+
}, args.isSelected)}`,
|
|
10487
|
+
"listboxLabel": `Predlozi`,
|
|
10488
|
+
"selectedAnnouncement": (args) => `${args.optionText}, izabrano`
|
|
10489
|
+
};
|
|
10490
|
+
|
|
10491
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/sv-SE.mjs
|
|
10492
|
+
var $69ba655c7853c08e$exports = {};
|
|
10493
|
+
$69ba655c7853c08e$exports = {
|
|
10494
|
+
"buttonLabel": `Visa f\xF6rslag`,
|
|
10495
|
+
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
10496
|
+
one: () => `${formatter.number(args.optionCount)} alternativ`,
|
|
10497
|
+
other: () => `${formatter.number(args.optionCount)} alternativ`
|
|
10498
|
+
})} tillg\xE4ngliga.`,
|
|
10499
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10500
|
+
true: () => `Ingick i gruppen ${args.groupTitle} med ${formatter.plural(args.groupCount, {
|
|
10501
|
+
one: () => `${formatter.number(args.groupCount)} alternativ`,
|
|
10502
|
+
other: () => `${formatter.number(args.groupCount)} alternativ`
|
|
10503
|
+
})}. `,
|
|
10504
|
+
other: ``
|
|
10505
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10506
|
+
true: `, valda`,
|
|
10507
|
+
other: ``
|
|
10508
|
+
}, args.isSelected)}`,
|
|
10509
|
+
"listboxLabel": `F\xF6rslag`,
|
|
10510
|
+
"selectedAnnouncement": (args) => `${args.optionText}, valda`
|
|
10511
|
+
};
|
|
10512
|
+
|
|
10513
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/tr-TR.mjs
|
|
10514
|
+
var $a79794784d61577c$exports = {};
|
|
10515
|
+
$a79794784d61577c$exports = {
|
|
10516
|
+
"buttonLabel": `\xD6nerileri g\xF6ster`,
|
|
10517
|
+
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
10518
|
+
one: () => `${formatter.number(args.optionCount)} se\xE7enek`,
|
|
10519
|
+
other: () => `${formatter.number(args.optionCount)} se\xE7enekler`
|
|
10520
|
+
})} kullan\u0131labilir.`,
|
|
10521
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10522
|
+
true: () => `Girilen grup ${args.groupTitle}, ile ${formatter.plural(args.groupCount, {
|
|
10523
|
+
one: () => `${formatter.number(args.groupCount)} se\xE7enek`,
|
|
10524
|
+
other: () => `${formatter.number(args.groupCount)} se\xE7enekler`
|
|
10525
|
+
})}. `,
|
|
10526
|
+
other: ``
|
|
10527
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10528
|
+
true: `, se\xE7ildi`,
|
|
10529
|
+
other: ``
|
|
10530
|
+
}, args.isSelected)}`,
|
|
10531
|
+
"listboxLabel": `\xD6neriler`,
|
|
10532
|
+
"selectedAnnouncement": (args) => `${args.optionText}, se\xE7ildi`
|
|
10533
|
+
};
|
|
10534
|
+
|
|
10535
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/uk-UA.mjs
|
|
10536
|
+
var $c2845791417ebaf4$exports = {};
|
|
10537
|
+
$c2845791417ebaf4$exports = {
|
|
10538
|
+
"buttonLabel": `\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u0438 \u043F\u0440\u043E\u043F\u043E\u0437\u0438\u0446\u0456\u0457`,
|
|
10539
|
+
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
10540
|
+
one: () => `${formatter.number(args.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440`,
|
|
10541
|
+
other: () => `${formatter.number(args.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0438(-\u0456\u0432)`
|
|
10542
|
+
})} \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E.`,
|
|
10543
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10544
|
+
true: () => `\u0412\u0432\u0435\u0434\u0435\u043D\u0430 \u0433\u0440\u0443\u043F\u0430 ${args.groupTitle}, \u0437 ${formatter.plural(args.groupCount, {
|
|
10545
|
+
one: () => `${formatter.number(args.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440`,
|
|
10546
|
+
other: () => `${formatter.number(args.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0438(-\u0456\u0432)`
|
|
10547
|
+
})}. `,
|
|
10548
|
+
other: ``
|
|
10549
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10550
|
+
true: `, \u0432\u0438\u0431\u0440\u0430\u043D\u043E`,
|
|
10551
|
+
other: ``
|
|
10552
|
+
}, args.isSelected)}`,
|
|
10553
|
+
"listboxLabel": `\u041F\u0440\u043E\u043F\u043E\u0437\u0438\u0446\u0456\u0457`,
|
|
10554
|
+
"selectedAnnouncement": (args) => `${args.optionText}, \u0432\u0438\u0431\u0440\u0430\u043D\u043E`
|
|
10555
|
+
};
|
|
10556
|
+
|
|
10557
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/zh-CN.mjs
|
|
10558
|
+
var $29b642d0025cc7a4$exports = {};
|
|
10559
|
+
$29b642d0025cc7a4$exports = {
|
|
10560
|
+
"buttonLabel": `\u663E\u793A\u5EFA\u8BAE`,
|
|
10561
|
+
"countAnnouncement": (args, formatter) => `\u6709 ${formatter.plural(args.optionCount, {
|
|
10562
|
+
one: () => `${formatter.number(args.optionCount)} \u4E2A\u9009\u9879`,
|
|
10563
|
+
other: () => `${formatter.number(args.optionCount)} \u4E2A\u9009\u9879`
|
|
10564
|
+
})}\u53EF\u7528\u3002`,
|
|
10565
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10566
|
+
true: () => `\u8FDB\u5165\u4E86 ${args.groupTitle} \u7EC4\uFF0C\u5176\u4E2D\u6709 ${formatter.plural(args.groupCount, {
|
|
10567
|
+
one: () => `${formatter.number(args.groupCount)} \u4E2A\u9009\u9879`,
|
|
10568
|
+
other: () => `${formatter.number(args.groupCount)} \u4E2A\u9009\u9879`
|
|
10569
|
+
})}. `,
|
|
10570
|
+
other: ``
|
|
10571
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10572
|
+
true: `, \u5DF2\u9009\u62E9`,
|
|
10573
|
+
other: ``
|
|
10574
|
+
}, args.isSelected)}`,
|
|
10575
|
+
"listboxLabel": `\u5EFA\u8BAE`,
|
|
10576
|
+
"selectedAnnouncement": (args) => `${args.optionText}, \u5DF2\u9009\u62E9`
|
|
10577
|
+
};
|
|
10578
|
+
|
|
10579
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/zh-TW.mjs
|
|
10580
|
+
var $cd36dd33f9d46936$exports = {};
|
|
10581
|
+
$cd36dd33f9d46936$exports = {
|
|
10582
|
+
"buttonLabel": `\u986F\u793A\u5EFA\u8B70`,
|
|
10583
|
+
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
10584
|
+
one: () => `${formatter.number(args.optionCount)} \u9078\u9805`,
|
|
10585
|
+
other: () => `${formatter.number(args.optionCount)} \u9078\u9805`
|
|
10586
|
+
})} \u53EF\u7528\u3002`,
|
|
10587
|
+
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
10588
|
+
true: () => `\u8F38\u5165\u7684\u7FA4\u7D44 ${args.groupTitle}, \u6709 ${formatter.plural(args.groupCount, {
|
|
10589
|
+
one: () => `${formatter.number(args.groupCount)} \u9078\u9805`,
|
|
10590
|
+
other: () => `${formatter.number(args.groupCount)} \u9078\u9805`
|
|
10591
|
+
})}. `,
|
|
10592
|
+
other: ``
|
|
10593
|
+
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
10594
|
+
true: `, \u5DF2\u9078\u53D6`,
|
|
10595
|
+
other: ``
|
|
10596
|
+
}, args.isSelected)}`,
|
|
10597
|
+
"listboxLabel": `\u5EFA\u8B70`,
|
|
10598
|
+
"selectedAnnouncement": (args) => `${args.optionText}, \u5DF2\u9078\u53D6`
|
|
10599
|
+
};
|
|
10600
|
+
|
|
10601
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/intlStrings.mjs
|
|
10602
|
+
var $de5926a92e8ebc5b$exports = {};
|
|
10603
|
+
$de5926a92e8ebc5b$exports = {
|
|
10604
|
+
"ar-AE": $02cb4c75c506befe$exports,
|
|
10605
|
+
"bg-BG": $568b8163f1e56faf$exports,
|
|
10606
|
+
"cs-CZ": $87581c0202d106b8$exports,
|
|
10607
|
+
"da-DK": $a10a0369f5433ed1$exports,
|
|
10608
|
+
"de-DE": $bfd288727d5cb166$exports,
|
|
10609
|
+
"el-GR": $ca177778f9a74e3c$exports,
|
|
10610
|
+
"en-US": $9b5aa79ef84beb6c$exports,
|
|
10611
|
+
"es-ES": $57968e8209de2557$exports,
|
|
10612
|
+
"et-EE": $60690790bf4c1c6a$exports,
|
|
10613
|
+
"fi-FI": $1101246e8c7d9357$exports,
|
|
10614
|
+
"fr-FR": $6404b5cb5b241730$exports,
|
|
10615
|
+
"he-IL": $dfeafa702e92e31f$exports,
|
|
10616
|
+
"hr-HR": $2d125e0b34676352$exports,
|
|
10617
|
+
"hu-HU": $ea029611d7634059$exports,
|
|
10618
|
+
"it-IT": $77f075bb86ad7091$exports,
|
|
10619
|
+
"ja-JP": $6e87462e84907983$exports,
|
|
10620
|
+
"ko-KR": $9246f2c6edc6b232$exports,
|
|
10621
|
+
"lt-LT": $e587accc6c0a434c$exports,
|
|
10622
|
+
"lv-LV": $03a1900e7400b5ab$exports,
|
|
10623
|
+
"nb-NO": $1387676441be6cf6$exports,
|
|
10624
|
+
"nl-NL": $17e82ebf0f8ab91f$exports,
|
|
10625
|
+
"pl-PL": $2f5377d3471630e5$exports,
|
|
10626
|
+
"pt-BR": $dee9868b6fa95ffe$exports,
|
|
10627
|
+
"pt-PT": $f8b2e63637cbb5a6$exports,
|
|
10628
|
+
"ro-RO": $46a885db3b44ea95$exports,
|
|
10629
|
+
"ru-RU": $50d8a8f0afa9dee5$exports,
|
|
10630
|
+
"sk-SK": $2867ee6173245507$exports,
|
|
10631
|
+
"sl-SI": $0631b65beeb09b50$exports,
|
|
10632
|
+
"sr-SP": $65fc749265dcd686$exports,
|
|
10633
|
+
"sv-SE": $69ba655c7853c08e$exports,
|
|
10634
|
+
"tr-TR": $a79794784d61577c$exports,
|
|
10635
|
+
"uk-UA": $c2845791417ebaf4$exports,
|
|
10636
|
+
"zh-CN": $29b642d0025cc7a4$exports,
|
|
10637
|
+
"zh-TW": $cd36dd33f9d46936$exports
|
|
10638
|
+
};
|
|
10639
|
+
|
|
9805
10640
|
// node_modules/.pnpm/@react-aria+overlays@3.27.1_e1de3351c87c8f34a18856640e51df6e/node_modules/@react-aria/overlays/dist/calculatePosition.mjs
|
|
9806
10641
|
var $edcf132a9284368a$var$AXIS = {
|
|
9807
10642
|
top: "top",
|
|
@@ -12304,6 +13139,9 @@ function $af383d3bef1cfdc9$export$c3f9f39876e4bc7(props) {
|
|
|
12304
13139
|
};
|
|
12305
13140
|
}
|
|
12306
13141
|
|
|
13142
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/useComboBox.mjs
|
|
13143
|
+
import { useRef as $dShfP$useRef, useMemo as $dShfP$useMemo, useEffect as $dShfP$useEffect } from "react";
|
|
13144
|
+
|
|
12307
13145
|
// node_modules/.pnpm/@react-aria+menu@3.18.3_rea_6a6a011d7ba13d73056a1553096be4de/node_modules/@react-aria/menu/dist/ar-AE.mjs
|
|
12308
13146
|
var $c0398ad35c3639b7$exports = {};
|
|
12309
13147
|
$c0398ad35c3639b7$exports = {
|
|
@@ -13126,6 +13964,254 @@ function $0065b146e7192841$export$7138b0d059a6e743(props, state, ref) {
|
|
|
13126
13964
|
};
|
|
13127
13965
|
}
|
|
13128
13966
|
|
|
13967
|
+
// node_modules/.pnpm/@react-aria+combobox@3.12.3_a4d1adfd4f02daaabd1cf1273b7e96ea/node_modules/@react-aria/combobox/dist/useComboBox.mjs
|
|
13968
|
+
function $parcel$interopDefault7(a) {
|
|
13969
|
+
return a && a.__esModule ? a.default : a;
|
|
13970
|
+
}
|
|
13971
|
+
function $c350ade66beef0af$export$8c18d1b4f7232bbf(props, state) {
|
|
13972
|
+
let { buttonRef, popoverRef, inputRef, listBoxRef, keyboardDelegate, layoutDelegate, shouldFocusWrap, isReadOnly, isDisabled } = props;
|
|
13973
|
+
let backupBtnRef = (0, $dShfP$useRef)(null);
|
|
13974
|
+
buttonRef = buttonRef !== null && buttonRef !== void 0 ? buttonRef : backupBtnRef;
|
|
13975
|
+
let stringFormatter = (0, $fca6afa0e843324b$export$f12b703ca79dfbb1)((0, $parcel$interopDefault7($de5926a92e8ebc5b$exports)), "@react-aria/combobox");
|
|
13976
|
+
let { menuTriggerProps, menuProps } = (0, $168583247155ddda$export$dc9c12ed27dd1b49)({
|
|
13977
|
+
type: "listbox",
|
|
13978
|
+
isDisabled: isDisabled || isReadOnly
|
|
13979
|
+
}, state, buttonRef);
|
|
13980
|
+
(0, $b1f0cad8af73213b$export$3585ede4d035bf14).set(state, {
|
|
13981
|
+
id: menuProps.id
|
|
13982
|
+
});
|
|
13983
|
+
let { collection } = state;
|
|
13984
|
+
let { disabledKeys } = state.selectionManager;
|
|
13985
|
+
let delegate = (0, $dShfP$useMemo)(() => keyboardDelegate || new (0, $2a25aae57d74318e$export$a05409b8bb224a5a)({
|
|
13986
|
+
collection,
|
|
13987
|
+
disabledKeys,
|
|
13988
|
+
ref: listBoxRef,
|
|
13989
|
+
layoutDelegate
|
|
13990
|
+
}), [
|
|
13991
|
+
keyboardDelegate,
|
|
13992
|
+
layoutDelegate,
|
|
13993
|
+
collection,
|
|
13994
|
+
disabledKeys,
|
|
13995
|
+
listBoxRef
|
|
13996
|
+
]);
|
|
13997
|
+
let { collectionProps } = (0, $ae20dd8cbca75726$export$d6daf82dcd84e87c)({
|
|
13998
|
+
selectionManager: state.selectionManager,
|
|
13999
|
+
keyboardDelegate: delegate,
|
|
14000
|
+
disallowTypeAhead: true,
|
|
14001
|
+
disallowEmptySelection: true,
|
|
14002
|
+
shouldFocusWrap,
|
|
14003
|
+
ref: inputRef,
|
|
14004
|
+
// Prevent item scroll behavior from being applied here, should be handled in the user's Popover + ListBox component
|
|
14005
|
+
isVirtualized: true
|
|
14006
|
+
});
|
|
14007
|
+
let router = (0, $ea8dcbcb9ea1b556$export$9a302a45f65d0572)();
|
|
14008
|
+
let onKeyDown = (e) => {
|
|
14009
|
+
if (e.nativeEvent.isComposing) return;
|
|
14010
|
+
switch (e.key) {
|
|
14011
|
+
case "Enter":
|
|
14012
|
+
case "Tab":
|
|
14013
|
+
if (state.isOpen && e.key === "Enter") e.preventDefault();
|
|
14014
|
+
if (state.isOpen && listBoxRef.current && state.selectionManager.focusedKey != null && state.selectionManager.isLink(state.selectionManager.focusedKey)) {
|
|
14015
|
+
let item = listBoxRef.current.querySelector(`[data-key="${CSS.escape(state.selectionManager.focusedKey.toString())}"]`);
|
|
14016
|
+
if (e.key === "Enter" && item instanceof HTMLAnchorElement) {
|
|
14017
|
+
let collectionItem = state.collection.getItem(state.selectionManager.focusedKey);
|
|
14018
|
+
if (collectionItem) router.open(item, e, collectionItem.props.href, collectionItem.props.routerOptions);
|
|
14019
|
+
}
|
|
14020
|
+
state.close();
|
|
14021
|
+
} else state.commit();
|
|
14022
|
+
break;
|
|
14023
|
+
case "Escape":
|
|
14024
|
+
if (state.selectedKey !== null || state.inputValue === "" || props.allowsCustomValue) e.continuePropagation();
|
|
14025
|
+
state.revert();
|
|
14026
|
+
break;
|
|
14027
|
+
case "ArrowDown":
|
|
14028
|
+
state.open("first", "manual");
|
|
14029
|
+
break;
|
|
14030
|
+
case "ArrowUp":
|
|
14031
|
+
state.open("last", "manual");
|
|
14032
|
+
break;
|
|
14033
|
+
case "ArrowLeft":
|
|
14034
|
+
case "ArrowRight":
|
|
14035
|
+
state.selectionManager.setFocusedKey(null);
|
|
14036
|
+
break;
|
|
14037
|
+
}
|
|
14038
|
+
};
|
|
14039
|
+
let onBlur = (e) => {
|
|
14040
|
+
var _popoverRef_current;
|
|
14041
|
+
let blurFromButton = (buttonRef === null || buttonRef === void 0 ? void 0 : buttonRef.current) && buttonRef.current === e.relatedTarget;
|
|
14042
|
+
let blurIntoPopover = (_popoverRef_current = popoverRef.current) === null || _popoverRef_current === void 0 ? void 0 : _popoverRef_current.contains(e.relatedTarget);
|
|
14043
|
+
if (blurFromButton || blurIntoPopover) return;
|
|
14044
|
+
if (props.onBlur) props.onBlur(e);
|
|
14045
|
+
state.setFocused(false);
|
|
14046
|
+
};
|
|
14047
|
+
let onFocus = (e) => {
|
|
14048
|
+
if (state.isFocused) return;
|
|
14049
|
+
if (props.onFocus) props.onFocus(e);
|
|
14050
|
+
state.setFocused(true);
|
|
14051
|
+
};
|
|
14052
|
+
let { isInvalid, validationErrors, validationDetails } = state.displayValidation;
|
|
14053
|
+
let { labelProps, inputProps, descriptionProps, errorMessageProps } = (0, $2d73ec29415bd339$export$712718f7aec83d5)({
|
|
14054
|
+
...props,
|
|
14055
|
+
onChange: state.setInputValue,
|
|
14056
|
+
onKeyDown: !isReadOnly ? (0, $ff5963eb1fccf552$export$e08e3b67e392101e)(state.isOpen && collectionProps.onKeyDown, onKeyDown, props.onKeyDown) : props.onKeyDown,
|
|
14057
|
+
onBlur,
|
|
14058
|
+
value: state.inputValue,
|
|
14059
|
+
onFocus,
|
|
14060
|
+
autoComplete: "off",
|
|
14061
|
+
validate: void 0,
|
|
14062
|
+
[(0, $e5be200c675c3b3a$export$a763b9476acd3eb)]: state
|
|
14063
|
+
}, inputRef);
|
|
14064
|
+
let onPress = (e) => {
|
|
14065
|
+
if (e.pointerType === "touch") {
|
|
14066
|
+
var _inputRef_current;
|
|
14067
|
+
(_inputRef_current = inputRef.current) === null || _inputRef_current === void 0 ? void 0 : _inputRef_current.focus();
|
|
14068
|
+
state.toggle(null, "manual");
|
|
14069
|
+
}
|
|
14070
|
+
};
|
|
14071
|
+
let onPressStart = (e) => {
|
|
14072
|
+
if (e.pointerType !== "touch") {
|
|
14073
|
+
var _inputRef_current;
|
|
14074
|
+
(_inputRef_current = inputRef.current) === null || _inputRef_current === void 0 ? void 0 : _inputRef_current.focus();
|
|
14075
|
+
state.toggle(e.pointerType === "keyboard" || e.pointerType === "virtual" ? "first" : null, "manual");
|
|
14076
|
+
}
|
|
14077
|
+
};
|
|
14078
|
+
let triggerLabelProps = (0, $313b98861ee5dd6c$export$d6875122194c7b44)({
|
|
14079
|
+
id: menuTriggerProps.id,
|
|
14080
|
+
"aria-label": stringFormatter.format("buttonLabel"),
|
|
14081
|
+
"aria-labelledby": props["aria-labelledby"] || labelProps.id
|
|
14082
|
+
});
|
|
14083
|
+
let listBoxProps = (0, $313b98861ee5dd6c$export$d6875122194c7b44)({
|
|
14084
|
+
id: menuProps.id,
|
|
14085
|
+
"aria-label": stringFormatter.format("listboxLabel"),
|
|
14086
|
+
"aria-labelledby": props["aria-labelledby"] || labelProps.id
|
|
14087
|
+
});
|
|
14088
|
+
let lastEventTime = (0, $dShfP$useRef)(0);
|
|
14089
|
+
let onTouchEnd = (e) => {
|
|
14090
|
+
if (isDisabled || isReadOnly) return;
|
|
14091
|
+
if (e.timeStamp - lastEventTime.current < 500) {
|
|
14092
|
+
var _inputRef_current;
|
|
14093
|
+
e.preventDefault();
|
|
14094
|
+
(_inputRef_current = inputRef.current) === null || _inputRef_current === void 0 ? void 0 : _inputRef_current.focus();
|
|
14095
|
+
return;
|
|
14096
|
+
}
|
|
14097
|
+
let rect = e.target.getBoundingClientRect();
|
|
14098
|
+
let touch = e.changedTouches[0];
|
|
14099
|
+
let centerX = Math.ceil(rect.left + 0.5 * rect.width);
|
|
14100
|
+
let centerY = Math.ceil(rect.top + 0.5 * rect.height);
|
|
14101
|
+
if (touch.clientX === centerX && touch.clientY === centerY) {
|
|
14102
|
+
var _inputRef_current1;
|
|
14103
|
+
e.preventDefault();
|
|
14104
|
+
(_inputRef_current1 = inputRef.current) === null || _inputRef_current1 === void 0 ? void 0 : _inputRef_current1.focus();
|
|
14105
|
+
state.toggle(null, "manual");
|
|
14106
|
+
lastEventTime.current = e.timeStamp;
|
|
14107
|
+
}
|
|
14108
|
+
};
|
|
14109
|
+
let focusedItem = state.selectionManager.focusedKey != null && state.isOpen ? state.collection.getItem(state.selectionManager.focusedKey) : void 0;
|
|
14110
|
+
var _focusedItem_parentKey;
|
|
14111
|
+
let sectionKey = (_focusedItem_parentKey = focusedItem === null || focusedItem === void 0 ? void 0 : focusedItem.parentKey) !== null && _focusedItem_parentKey !== void 0 ? _focusedItem_parentKey : null;
|
|
14112
|
+
var _state_selectionManager_focusedKey;
|
|
14113
|
+
let itemKey = (_state_selectionManager_focusedKey = state.selectionManager.focusedKey) !== null && _state_selectionManager_focusedKey !== void 0 ? _state_selectionManager_focusedKey : null;
|
|
14114
|
+
let lastSection = (0, $dShfP$useRef)(sectionKey);
|
|
14115
|
+
let lastItem = (0, $dShfP$useRef)(itemKey);
|
|
14116
|
+
(0, $dShfP$useEffect)(() => {
|
|
14117
|
+
if ((0, $c87311424ea30a05$export$e1865c3bedcd822b)() && focusedItem != null && itemKey != null && itemKey !== lastItem.current) {
|
|
14118
|
+
let isSelected = state.selectionManager.isSelected(itemKey);
|
|
14119
|
+
let section = sectionKey != null ? state.collection.getItem(sectionKey) : null;
|
|
14120
|
+
let sectionTitle = (section === null || section === void 0 ? void 0 : section["aria-label"]) || (typeof (section === null || section === void 0 ? void 0 : section.rendered) === "string" ? section.rendered : "") || "";
|
|
14121
|
+
var _ref;
|
|
14122
|
+
let announcement = stringFormatter.format("focusAnnouncement", {
|
|
14123
|
+
isGroupChange: (_ref = section && sectionKey !== lastSection.current) !== null && _ref !== void 0 ? _ref : false,
|
|
14124
|
+
groupTitle: sectionTitle,
|
|
14125
|
+
groupCount: section ? [
|
|
14126
|
+
...(0, $c5a24bc478652b5f$export$1005530eda016c13)(section, state.collection)
|
|
14127
|
+
].length : 0,
|
|
14128
|
+
optionText: focusedItem["aria-label"] || focusedItem.textValue || "",
|
|
14129
|
+
isSelected
|
|
14130
|
+
});
|
|
14131
|
+
(0, $319e236875307eab$export$a9b970dcc4ae71a9)(announcement);
|
|
14132
|
+
}
|
|
14133
|
+
lastSection.current = sectionKey;
|
|
14134
|
+
lastItem.current = itemKey;
|
|
14135
|
+
});
|
|
14136
|
+
let optionCount = (0, $453cc9f0df89c0a5$export$77d5aafae4e095b2)(state.collection);
|
|
14137
|
+
let lastSize = (0, $dShfP$useRef)(optionCount);
|
|
14138
|
+
let lastOpen = (0, $dShfP$useRef)(state.isOpen);
|
|
14139
|
+
(0, $dShfP$useEffect)(() => {
|
|
14140
|
+
let didOpenWithoutFocusedItem = state.isOpen !== lastOpen.current && (state.selectionManager.focusedKey == null || (0, $c87311424ea30a05$export$e1865c3bedcd822b)());
|
|
14141
|
+
if (state.isOpen && (didOpenWithoutFocusedItem || optionCount !== lastSize.current)) {
|
|
14142
|
+
let announcement = stringFormatter.format("countAnnouncement", {
|
|
14143
|
+
optionCount
|
|
14144
|
+
});
|
|
14145
|
+
(0, $319e236875307eab$export$a9b970dcc4ae71a9)(announcement);
|
|
14146
|
+
}
|
|
14147
|
+
lastSize.current = optionCount;
|
|
14148
|
+
lastOpen.current = state.isOpen;
|
|
14149
|
+
});
|
|
14150
|
+
let lastSelectedKey = (0, $dShfP$useRef)(state.selectedKey);
|
|
14151
|
+
(0, $dShfP$useEffect)(() => {
|
|
14152
|
+
if ((0, $c87311424ea30a05$export$e1865c3bedcd822b)() && state.isFocused && state.selectedItem && state.selectedKey !== lastSelectedKey.current) {
|
|
14153
|
+
let optionText = state.selectedItem["aria-label"] || state.selectedItem.textValue || "";
|
|
14154
|
+
let announcement = stringFormatter.format("selectedAnnouncement", {
|
|
14155
|
+
optionText
|
|
14156
|
+
});
|
|
14157
|
+
(0, $319e236875307eab$export$a9b970dcc4ae71a9)(announcement);
|
|
14158
|
+
}
|
|
14159
|
+
lastSelectedKey.current = state.selectedKey;
|
|
14160
|
+
});
|
|
14161
|
+
(0, $dShfP$useEffect)(() => {
|
|
14162
|
+
if (state.isOpen) return (0, $5e3802645cc19319$export$1c3ebcada18427bf)([
|
|
14163
|
+
inputRef.current,
|
|
14164
|
+
popoverRef.current
|
|
14165
|
+
].filter((element) => element != null));
|
|
14166
|
+
}, [
|
|
14167
|
+
state.isOpen,
|
|
14168
|
+
inputRef,
|
|
14169
|
+
popoverRef
|
|
14170
|
+
]);
|
|
14171
|
+
(0, $4f58c5f72bcf79f7$export$496315a1608d9602)(() => {
|
|
14172
|
+
if (!focusedItem && inputRef.current && (0, $d4ee10de306f2510$export$cd4e5573fbe2b576)((0, $431fbd86ca7dc216$export$b204af158042fbac)(inputRef.current)) === inputRef.current) (0, $55f9b1ae81f22853$export$2b35b76d2e30e129)(inputRef.current, null);
|
|
14173
|
+
}, [
|
|
14174
|
+
focusedItem
|
|
14175
|
+
]);
|
|
14176
|
+
return {
|
|
14177
|
+
labelProps,
|
|
14178
|
+
buttonProps: {
|
|
14179
|
+
...menuTriggerProps,
|
|
14180
|
+
...triggerLabelProps,
|
|
14181
|
+
excludeFromTabOrder: true,
|
|
14182
|
+
preventFocusOnPress: true,
|
|
14183
|
+
onPress,
|
|
14184
|
+
onPressStart,
|
|
14185
|
+
isDisabled: isDisabled || isReadOnly
|
|
14186
|
+
},
|
|
14187
|
+
inputProps: (0, $3ef42575df84b30b$export$9d1611c77c2fe928)(inputProps, {
|
|
14188
|
+
role: "combobox",
|
|
14189
|
+
"aria-expanded": menuTriggerProps["aria-expanded"],
|
|
14190
|
+
"aria-controls": state.isOpen ? menuProps.id : void 0,
|
|
14191
|
+
// TODO: readd proper logic for completionMode = complete (aria-autocomplete: both)
|
|
14192
|
+
"aria-autocomplete": "list",
|
|
14193
|
+
"aria-activedescendant": focusedItem ? (0, $b1f0cad8af73213b$export$9145995848b05025)(state, focusedItem.key) : void 0,
|
|
14194
|
+
onTouchEnd,
|
|
14195
|
+
// This disable's iOS's autocorrect suggestions, since the combo box provides its own suggestions.
|
|
14196
|
+
autoCorrect: "off",
|
|
14197
|
+
// This disable's the macOS Safari spell check auto corrections.
|
|
14198
|
+
spellCheck: "false"
|
|
14199
|
+
}),
|
|
14200
|
+
listBoxProps: (0, $3ef42575df84b30b$export$9d1611c77c2fe928)(menuProps, listBoxProps, {
|
|
14201
|
+
autoFocus: state.focusStrategy || true,
|
|
14202
|
+
shouldUseVirtualFocus: true,
|
|
14203
|
+
shouldSelectOnPressUp: true,
|
|
14204
|
+
shouldFocusOnHover: true,
|
|
14205
|
+
linkBehavior: "selection"
|
|
14206
|
+
}),
|
|
14207
|
+
descriptionProps,
|
|
14208
|
+
errorMessageProps,
|
|
14209
|
+
isInvalid,
|
|
14210
|
+
validationErrors,
|
|
14211
|
+
validationDetails
|
|
14212
|
+
};
|
|
14213
|
+
}
|
|
14214
|
+
|
|
13129
14215
|
// node_modules/.pnpm/@react-aria+dialog@3.5.25_r_fa964188a43dda3e42c489c78b47ad9c/node_modules/@react-aria/dialog/dist/useDialog.mjs
|
|
13130
14216
|
import { useRef as $i6df2$useRef, useEffect as $i6df2$useEffect } from "react";
|
|
13131
14217
|
function $40df3f8667284809$export$d55e7ee900f34e93(props, ref) {
|
|
@@ -14070,7 +15156,7 @@ $835c96616a7cb4f9$exports = {
|
|
|
14070
15156
|
|
|
14071
15157
|
// node_modules/.pnpm/@react-aria+grid@3.14.0_rea_107d5230aa425a6a026e33f38da3c9c4/node_modules/@react-aria/grid/dist/useGridSelectionAnnouncement.mjs
|
|
14072
15158
|
import { useRef as $4stjr$useRef } from "react";
|
|
14073
|
-
function $parcel$
|
|
15159
|
+
function $parcel$interopDefault8(a) {
|
|
14074
15160
|
return a && a.__esModule ? a.default : a;
|
|
14075
15161
|
}
|
|
14076
15162
|
function $92599c3fd427b763$export$137e594ef3218a10(props, state) {
|
|
@@ -14079,7 +15165,7 @@ function $92599c3fd427b763$export$137e594ef3218a10(props, state) {
|
|
|
14079
15165
|
var _state_collection_getTextValue1;
|
|
14080
15166
|
return (_state_collection_getTextValue1 = (_state_collection_getTextValue = (_state_collection = state.collection).getTextValue) === null || _state_collection_getTextValue === void 0 ? void 0 : _state_collection_getTextValue.call(_state_collection, key)) !== null && _state_collection_getTextValue1 !== void 0 ? _state_collection_getTextValue1 : (_state_collection_getItem = state.collection.getItem(key)) === null || _state_collection_getItem === void 0 ? void 0 : _state_collection_getItem.textValue;
|
|
14081
15167
|
} } = props;
|
|
14082
|
-
let stringFormatter = (0, $fca6afa0e843324b$export$f12b703ca79dfbb1)((0, $parcel$
|
|
15168
|
+
let stringFormatter = (0, $fca6afa0e843324b$export$f12b703ca79dfbb1)((0, $parcel$interopDefault8($835c96616a7cb4f9$exports)), "@react-aria/grid");
|
|
14083
15169
|
let selection = state.selectionManager.rawSelection;
|
|
14084
15170
|
let lastSelection = (0, $4stjr$useRef)(selection);
|
|
14085
15171
|
let announceSelectionChange = (0, $8ae05eaa5c114e9c$export$7f54fc3180508a52)(() => {
|
|
@@ -14145,11 +15231,11 @@ function $92599c3fd427b763$var$diffSelection(a, b) {
|
|
|
14145
15231
|
|
|
14146
15232
|
// node_modules/.pnpm/@react-aria+grid@3.14.0_rea_107d5230aa425a6a026e33f38da3c9c4/node_modules/@react-aria/grid/dist/useHighlightSelectionDescription.mjs
|
|
14147
15233
|
import { useMemo as $kh5JA$useMemo } from "react";
|
|
14148
|
-
function $parcel$
|
|
15234
|
+
function $parcel$interopDefault9(a) {
|
|
14149
15235
|
return a && a.__esModule ? a.default : a;
|
|
14150
15236
|
}
|
|
14151
15237
|
function $5b9b5b5723db6ae1$export$be42ebdab07ae4c2(props) {
|
|
14152
|
-
let stringFormatter = (0, $fca6afa0e843324b$export$f12b703ca79dfbb1)((0, $parcel$
|
|
15238
|
+
let stringFormatter = (0, $fca6afa0e843324b$export$f12b703ca79dfbb1)((0, $parcel$interopDefault9($835c96616a7cb4f9$exports)), "@react-aria/grid");
|
|
14153
15239
|
let modality = (0, $507fabe10e71c6fb$export$98e20ec92f614cfe)();
|
|
14154
15240
|
let shouldLongPress = (modality === "pointer" || modality === "virtual" || modality == null) && typeof window !== "undefined" && "ontouchstart" in window;
|
|
14155
15241
|
let interactionDescription = (0, $kh5JA$useMemo)(() => {
|
|
@@ -14474,7 +15560,7 @@ function $ab90dcbc1b5466d0$var$last(walker) {
|
|
|
14474
15560
|
}
|
|
14475
15561
|
|
|
14476
15562
|
// node_modules/.pnpm/@react-aria+grid@3.14.0_rea_107d5230aa425a6a026e33f38da3c9c4/node_modules/@react-aria/grid/dist/useGridSelectionCheckbox.mjs
|
|
14477
|
-
function $parcel$
|
|
15563
|
+
function $parcel$interopDefault10(a) {
|
|
14478
15564
|
return a && a.__esModule ? a.default : a;
|
|
14479
15565
|
}
|
|
14480
15566
|
function $7cb39d07f245a780$export$70e2eed1a92976ad(props, state) {
|
|
@@ -14484,7 +15570,7 @@ function $7cb39d07f245a780$export$70e2eed1a92976ad(props, state) {
|
|
|
14484
15570
|
let isDisabled = !state.selectionManager.canSelectItem(key);
|
|
14485
15571
|
let isSelected = state.selectionManager.isSelected(key);
|
|
14486
15572
|
let onChange = () => manager.toggleSelection(key);
|
|
14487
|
-
const stringFormatter = (0, $fca6afa0e843324b$export$f12b703ca79dfbb1)((0, $parcel$
|
|
15573
|
+
const stringFormatter = (0, $fca6afa0e843324b$export$f12b703ca79dfbb1)((0, $parcel$interopDefault10($835c96616a7cb4f9$exports)), "@react-aria/grid");
|
|
14488
15574
|
return {
|
|
14489
15575
|
checkboxProps: {
|
|
14490
15576
|
id: checkboxId,
|
|
@@ -15214,11 +16300,11 @@ $8112f8b883c0272d$exports = {
|
|
|
15214
16300
|
};
|
|
15215
16301
|
|
|
15216
16302
|
// node_modules/.pnpm/@react-aria+searchfield@3.8_6fb6618dbfd2323436222fa91de5ac58/node_modules/@react-aria/searchfield/dist/useSearchField.mjs
|
|
15217
|
-
function $parcel$
|
|
16303
|
+
function $parcel$interopDefault11(a) {
|
|
15218
16304
|
return a && a.__esModule ? a.default : a;
|
|
15219
16305
|
}
|
|
15220
16306
|
function $4d52238874b24f86$export$9bb30bbe003b82e0(props, state, inputRef) {
|
|
15221
|
-
let stringFormatter = (0, $fca6afa0e843324b$export$f12b703ca79dfbb1)((0, $parcel$
|
|
16307
|
+
let stringFormatter = (0, $fca6afa0e843324b$export$f12b703ca79dfbb1)((0, $parcel$interopDefault11($8112f8b883c0272d$exports)), "@react-aria/searchfield");
|
|
15222
16308
|
let { isDisabled, isReadOnly, onSubmit, onClear, type = "search" } = props;
|
|
15223
16309
|
let onKeyDown = (e) => {
|
|
15224
16310
|
const key = e.key;
|
|
@@ -16153,7 +17239,7 @@ var $0ba3c81c7f1caedd$export$da43f8f5cb04028d = class extends (0, $d1c300d9c497e
|
|
|
16153
17239
|
|
|
16154
17240
|
// node_modules/.pnpm/@react-aria+table@3.17.3_re_ffd5adc64c913a0785a0d9bc8e0ecfb5/node_modules/@react-aria/table/dist/useTable.mjs
|
|
16155
17241
|
import { useMemo as $dDeJM$useMemo } from "react";
|
|
16156
|
-
function $parcel$
|
|
17242
|
+
function $parcel$interopDefault12(a) {
|
|
16157
17243
|
return a && a.__esModule ? a.default : a;
|
|
16158
17244
|
}
|
|
16159
17245
|
function $6e31608fbba75bab$export$25bceaac3c7e4dc7(props, state, ref) {
|
|
@@ -16194,7 +17280,7 @@ function $6e31608fbba75bab$export$25bceaac3c7e4dc7(props, state, ref) {
|
|
|
16194
17280
|
if (isVirtualized) gridProps["aria-rowcount"] = state.collection.size + state.collection.headerRows.length;
|
|
16195
17281
|
if ((0, $f4e2df6bd15f8569$export$1b00cb14a96194e6)() && "expandedKeys" in state) gridProps.role = "treegrid";
|
|
16196
17282
|
let { column, direction: sortDirection } = state.sortDescriptor || {};
|
|
16197
|
-
let stringFormatter = (0, $fca6afa0e843324b$export$f12b703ca79dfbb1)((0, $parcel$
|
|
17283
|
+
let stringFormatter = (0, $fca6afa0e843324b$export$f12b703ca79dfbb1)((0, $parcel$interopDefault12($7476b46781682bf5$exports)), "@react-aria/table");
|
|
16198
17284
|
let sortDescription = (0, $dDeJM$useMemo)(() => {
|
|
16199
17285
|
var _state_collection_columns_find;
|
|
16200
17286
|
var _state_collection_columns_find_textValue;
|
|
@@ -16226,7 +17312,7 @@ function $6e31608fbba75bab$export$25bceaac3c7e4dc7(props, state, ref) {
|
|
|
16226
17312
|
|
|
16227
17313
|
// node_modules/.pnpm/@react-aria+table@3.17.3_re_ffd5adc64c913a0785a0d9bc8e0ecfb5/node_modules/@react-aria/table/dist/useTableColumnHeader.mjs
|
|
16228
17314
|
import { useEffect as $cjB6b$useEffect } from "react";
|
|
16229
|
-
function $parcel$
|
|
17315
|
+
function $parcel$interopDefault13(a) {
|
|
16230
17316
|
return a && a.__esModule ? a.default : a;
|
|
16231
17317
|
}
|
|
16232
17318
|
function $f329116d8ad0aba0$export$9514819a8c81e960(props, state, ref) {
|
|
@@ -16250,7 +17336,7 @@ function $f329116d8ad0aba0$export$9514819a8c81e960(props, state, ref) {
|
|
|
16250
17336
|
let isSortedColumn = ((_state_sortDescriptor = state.sortDescriptor) === null || _state_sortDescriptor === void 0 ? void 0 : _state_sortDescriptor.column) === node.key;
|
|
16251
17337
|
let sortDirection = (_state_sortDescriptor1 = state.sortDescriptor) === null || _state_sortDescriptor1 === void 0 ? void 0 : _state_sortDescriptor1.direction;
|
|
16252
17338
|
if (node.props.allowsSorting && !(0, $c87311424ea30a05$export$a11b0059900ceec8)()) ariaSort = isSortedColumn ? sortDirection : "none";
|
|
16253
|
-
let stringFormatter = (0, $fca6afa0e843324b$export$f12b703ca79dfbb1)((0, $parcel$
|
|
17339
|
+
let stringFormatter = (0, $fca6afa0e843324b$export$f12b703ca79dfbb1)((0, $parcel$interopDefault13($7476b46781682bf5$exports)), "@react-aria/table");
|
|
16254
17340
|
let sortDescription;
|
|
16255
17341
|
if (allowsSorting) {
|
|
16256
17342
|
sortDescription = `${stringFormatter.format("sortable")}`;
|
|
@@ -16365,7 +17451,7 @@ function $7713593715703b24$export$49571c903d73624c(props, state, ref) {
|
|
|
16365
17451
|
}
|
|
16366
17452
|
|
|
16367
17453
|
// node_modules/.pnpm/@react-aria+table@3.17.3_re_ffd5adc64c913a0785a0d9bc8e0ecfb5/node_modules/@react-aria/table/dist/useTableSelectionCheckbox.mjs
|
|
16368
|
-
function $parcel$
|
|
17454
|
+
function $parcel$interopDefault14(a) {
|
|
16369
17455
|
return a && a.__esModule ? a.default : a;
|
|
16370
17456
|
}
|
|
16371
17457
|
function $2a795c53a101c542$export$16ea7f650bd7c1bb(props, state) {
|
|
@@ -16380,7 +17466,7 @@ function $2a795c53a101c542$export$16ea7f650bd7c1bb(props, state) {
|
|
|
16380
17466
|
}
|
|
16381
17467
|
function $2a795c53a101c542$export$1003db6a7e384b99(state) {
|
|
16382
17468
|
let { isEmpty, isSelectAll, selectionMode } = state.selectionManager;
|
|
16383
|
-
const stringFormatter = (0, $fca6afa0e843324b$export$f12b703ca79dfbb1)((0, $parcel$
|
|
17469
|
+
const stringFormatter = (0, $fca6afa0e843324b$export$f12b703ca79dfbb1)((0, $parcel$interopDefault14($7476b46781682bf5$exports)), "@react-aria/table");
|
|
16384
17470
|
return {
|
|
16385
17471
|
checkboxProps: {
|
|
16386
17472
|
"aria-label": stringFormatter.format(selectionMode === "single" ? "select" : "selectAll"),
|
|
@@ -16896,12 +17982,12 @@ $3bb15cc24d006ec5$exports = {
|
|
|
16896
17982
|
};
|
|
16897
17983
|
|
|
16898
17984
|
// node_modules/.pnpm/@react-aria+tag@3.6.0_react_37dbc4a6803c8d1600f610d875591ae4/node_modules/@react-aria/tag/dist/useTag.mjs
|
|
16899
|
-
function $parcel$
|
|
17985
|
+
function $parcel$interopDefault15(a) {
|
|
16900
17986
|
return a && a.__esModule ? a.default : a;
|
|
16901
17987
|
}
|
|
16902
17988
|
function $fc6126c82a4601f1$export$3f568fff7dff2f03(props, state, ref) {
|
|
16903
17989
|
let { item } = props;
|
|
16904
|
-
let stringFormatter = (0, $fca6afa0e843324b$export$f12b703ca79dfbb1)((0, $parcel$
|
|
17990
|
+
let stringFormatter = (0, $fca6afa0e843324b$export$f12b703ca79dfbb1)((0, $parcel$interopDefault15($3bb15cc24d006ec5$exports)), "@react-aria/tag");
|
|
16905
17991
|
let buttonId = (0, $bdb11010cef70236$export$f680877a34711e37)();
|
|
16906
17992
|
let { onRemove } = (0, $d7323bca8d074eeb$export$653eddfc964b0f8a).get(state) || {};
|
|
16907
17993
|
let { rowProps, gridCellProps, ...states } = (0, $4e8b0456ef72939f$export$9610e69494fadfd2)({
|
|
@@ -18176,6 +19262,9 @@ function $a0d645289fe9b86b$export$e7f05e985daf4b5f(props) {
|
|
|
18176
19262
|
};
|
|
18177
19263
|
}
|
|
18178
19264
|
|
|
19265
|
+
// node_modules/.pnpm/@react-stately+combobox@3.10.5_react@19.1.0/node_modules/@react-stately/combobox/dist/useComboBoxState.mjs
|
|
19266
|
+
import { useState as $49BJP$useState, useMemo as $49BJP$useMemo, useRef as $49BJP$useRef, useCallback as $49BJP$useCallback, useEffect as $49BJP$useEffect } from "react";
|
|
19267
|
+
|
|
18179
19268
|
// node_modules/.pnpm/@react-stately+overlays@3.6.16_react@19.1.0/node_modules/@react-stately/overlays/dist/useOverlayTriggerState.mjs
|
|
18180
19269
|
import { useCallback as $hnMvi$useCallback } from "react";
|
|
18181
19270
|
function $fc909762b330b746$export$61c6a8c84e605fb6(props) {
|
|
@@ -18205,6 +19294,249 @@ function $fc909762b330b746$export$61c6a8c84e605fb6(props) {
|
|
|
18205
19294
|
};
|
|
18206
19295
|
}
|
|
18207
19296
|
|
|
19297
|
+
// node_modules/.pnpm/@react-stately+combobox@3.10.5_react@19.1.0/node_modules/@react-stately/combobox/dist/useComboBoxState.mjs
|
|
19298
|
+
function $a9e7382a7d111cb5$export$b453a3bfd4a5fa9e(props) {
|
|
19299
|
+
var _collection_getItem;
|
|
19300
|
+
let { defaultFilter, menuTrigger = "input", allowsEmptyCollection = false, allowsCustomValue, shouldCloseOnBlur = true } = props;
|
|
19301
|
+
let [showAllItems, setShowAllItems] = (0, $49BJP$useState)(false);
|
|
19302
|
+
let [isFocused, setFocusedState] = (0, $49BJP$useState)(false);
|
|
19303
|
+
let [focusStrategy, setFocusStrategy] = (0, $49BJP$useState)(null);
|
|
19304
|
+
let onSelectionChange = (key) => {
|
|
19305
|
+
if (props.onSelectionChange) props.onSelectionChange(key);
|
|
19306
|
+
if (key === selectedKey) {
|
|
19307
|
+
resetInputValue();
|
|
19308
|
+
closeMenu();
|
|
19309
|
+
}
|
|
19310
|
+
};
|
|
19311
|
+
var _props_items;
|
|
19312
|
+
let { collection, selectionManager, selectedKey, setSelectedKey, selectedItem, disabledKeys } = (0, $a0d645289fe9b86b$export$e7f05e985daf4b5f)({
|
|
19313
|
+
...props,
|
|
19314
|
+
onSelectionChange,
|
|
19315
|
+
items: (_props_items = props.items) !== null && _props_items !== void 0 ? _props_items : props.defaultItems
|
|
19316
|
+
});
|
|
19317
|
+
let defaultInputValue = props.defaultInputValue;
|
|
19318
|
+
if (defaultInputValue == null) {
|
|
19319
|
+
var _collection_getItem1;
|
|
19320
|
+
var _collection_getItem_textValue;
|
|
19321
|
+
if (selectedKey == null) defaultInputValue = "";
|
|
19322
|
+
else defaultInputValue = (_collection_getItem_textValue = (_collection_getItem1 = collection.getItem(selectedKey)) === null || _collection_getItem1 === void 0 ? void 0 : _collection_getItem1.textValue) !== null && _collection_getItem_textValue !== void 0 ? _collection_getItem_textValue : "";
|
|
19323
|
+
}
|
|
19324
|
+
let [inputValue, setInputValue] = (0, $458b0a5536c1a7cf$export$40bfa8c7b0832715)(props.inputValue, defaultInputValue, props.onInputChange);
|
|
19325
|
+
let originalCollection = collection;
|
|
19326
|
+
let filteredCollection = (0, $49BJP$useMemo)(() => (
|
|
19327
|
+
// No default filter if items are controlled.
|
|
19328
|
+
props.items != null || !defaultFilter ? collection : $a9e7382a7d111cb5$var$filterCollection(collection, inputValue, defaultFilter)
|
|
19329
|
+
), [
|
|
19330
|
+
collection,
|
|
19331
|
+
inputValue,
|
|
19332
|
+
defaultFilter,
|
|
19333
|
+
props.items
|
|
19334
|
+
]);
|
|
19335
|
+
let [lastCollection, setLastCollection] = (0, $49BJP$useState)(filteredCollection);
|
|
19336
|
+
let menuOpenTrigger = (0, $49BJP$useRef)("focus");
|
|
19337
|
+
let onOpenChange = (open2) => {
|
|
19338
|
+
if (props.onOpenChange) props.onOpenChange(open2, open2 ? menuOpenTrigger.current : void 0);
|
|
19339
|
+
selectionManager.setFocused(open2);
|
|
19340
|
+
if (!open2) selectionManager.setFocusedKey(null);
|
|
19341
|
+
};
|
|
19342
|
+
let triggerState = (0, $fc909762b330b746$export$61c6a8c84e605fb6)({
|
|
19343
|
+
...props,
|
|
19344
|
+
onOpenChange,
|
|
19345
|
+
isOpen: void 0,
|
|
19346
|
+
defaultOpen: void 0
|
|
19347
|
+
});
|
|
19348
|
+
let open = (focusStrategy2 = null, trigger) => {
|
|
19349
|
+
let displayAllItems = trigger === "manual" || trigger === "focus" && menuTrigger === "focus";
|
|
19350
|
+
if (allowsEmptyCollection || filteredCollection.size > 0 || displayAllItems && originalCollection.size > 0 || props.items) {
|
|
19351
|
+
if (displayAllItems && !triggerState.isOpen && props.items === void 0)
|
|
19352
|
+
setShowAllItems(true);
|
|
19353
|
+
menuOpenTrigger.current = trigger;
|
|
19354
|
+
setFocusStrategy(focusStrategy2);
|
|
19355
|
+
triggerState.open();
|
|
19356
|
+
}
|
|
19357
|
+
};
|
|
19358
|
+
let toggle = (focusStrategy2 = null, trigger) => {
|
|
19359
|
+
let displayAllItems = trigger === "manual" || trigger === "focus" && menuTrigger === "focus";
|
|
19360
|
+
if (!(allowsEmptyCollection || filteredCollection.size > 0 || displayAllItems && originalCollection.size > 0 || props.items) && !triggerState.isOpen) return;
|
|
19361
|
+
if (displayAllItems && !triggerState.isOpen && props.items === void 0)
|
|
19362
|
+
setShowAllItems(true);
|
|
19363
|
+
if (!triggerState.isOpen) menuOpenTrigger.current = trigger;
|
|
19364
|
+
toggleMenu(focusStrategy2);
|
|
19365
|
+
};
|
|
19366
|
+
let updateLastCollection = (0, $49BJP$useCallback)(() => {
|
|
19367
|
+
setLastCollection(showAllItems ? originalCollection : filteredCollection);
|
|
19368
|
+
}, [
|
|
19369
|
+
showAllItems,
|
|
19370
|
+
originalCollection,
|
|
19371
|
+
filteredCollection
|
|
19372
|
+
]);
|
|
19373
|
+
let toggleMenu = (0, $49BJP$useCallback)((focusStrategy2 = null) => {
|
|
19374
|
+
if (triggerState.isOpen) updateLastCollection();
|
|
19375
|
+
setFocusStrategy(focusStrategy2);
|
|
19376
|
+
triggerState.toggle();
|
|
19377
|
+
}, [
|
|
19378
|
+
triggerState,
|
|
19379
|
+
updateLastCollection
|
|
19380
|
+
]);
|
|
19381
|
+
let closeMenu = (0, $49BJP$useCallback)(() => {
|
|
19382
|
+
if (triggerState.isOpen) {
|
|
19383
|
+
updateLastCollection();
|
|
19384
|
+
triggerState.close();
|
|
19385
|
+
}
|
|
19386
|
+
}, [
|
|
19387
|
+
triggerState,
|
|
19388
|
+
updateLastCollection
|
|
19389
|
+
]);
|
|
19390
|
+
let [lastValue, setLastValue] = (0, $49BJP$useState)(inputValue);
|
|
19391
|
+
let resetInputValue = () => {
|
|
19392
|
+
var _collection_getItem2;
|
|
19393
|
+
var _collection_getItem_textValue2;
|
|
19394
|
+
let itemText = selectedKey != null ? (_collection_getItem_textValue2 = (_collection_getItem2 = collection.getItem(selectedKey)) === null || _collection_getItem2 === void 0 ? void 0 : _collection_getItem2.textValue) !== null && _collection_getItem_textValue2 !== void 0 ? _collection_getItem_textValue2 : "" : "";
|
|
19395
|
+
setLastValue(itemText);
|
|
19396
|
+
setInputValue(itemText);
|
|
19397
|
+
};
|
|
19398
|
+
var _props_selectedKey, _ref;
|
|
19399
|
+
let lastSelectedKey = (0, $49BJP$useRef)((_ref = (_props_selectedKey = props.selectedKey) !== null && _props_selectedKey !== void 0 ? _props_selectedKey : props.defaultSelectedKey) !== null && _ref !== void 0 ? _ref : null);
|
|
19400
|
+
var _collection_getItem_textValue1;
|
|
19401
|
+
let lastSelectedKeyText = (0, $49BJP$useRef)(selectedKey != null ? (_collection_getItem_textValue1 = (_collection_getItem = collection.getItem(selectedKey)) === null || _collection_getItem === void 0 ? void 0 : _collection_getItem.textValue) !== null && _collection_getItem_textValue1 !== void 0 ? _collection_getItem_textValue1 : "" : "");
|
|
19402
|
+
(0, $49BJP$useEffect)(() => {
|
|
19403
|
+
var _collection_getItem2;
|
|
19404
|
+
if (isFocused && (filteredCollection.size > 0 || allowsEmptyCollection) && !triggerState.isOpen && inputValue !== lastValue && menuTrigger !== "manual") open(null, "input");
|
|
19405
|
+
if (!showAllItems && !allowsEmptyCollection && triggerState.isOpen && filteredCollection.size === 0) closeMenu();
|
|
19406
|
+
if (selectedKey != null && selectedKey !== lastSelectedKey.current) closeMenu();
|
|
19407
|
+
if (inputValue !== lastValue) {
|
|
19408
|
+
selectionManager.setFocusedKey(null);
|
|
19409
|
+
setShowAllItems(false);
|
|
19410
|
+
if (inputValue === "" && (props.inputValue === void 0 || props.selectedKey === void 0)) setSelectedKey(null);
|
|
19411
|
+
}
|
|
19412
|
+
if (selectedKey !== lastSelectedKey.current && (props.inputValue === void 0 || props.selectedKey === void 0)) resetInputValue();
|
|
19413
|
+
else if (lastValue !== inputValue) setLastValue(inputValue);
|
|
19414
|
+
var _collection_getItem_textValue2;
|
|
19415
|
+
let selectedItemText = selectedKey != null ? (_collection_getItem_textValue2 = (_collection_getItem2 = collection.getItem(selectedKey)) === null || _collection_getItem2 === void 0 ? void 0 : _collection_getItem2.textValue) !== null && _collection_getItem_textValue2 !== void 0 ? _collection_getItem_textValue2 : "" : "";
|
|
19416
|
+
if (!isFocused && selectedKey != null && props.inputValue === void 0 && selectedKey === lastSelectedKey.current) {
|
|
19417
|
+
if (lastSelectedKeyText.current !== selectedItemText) {
|
|
19418
|
+
setLastValue(selectedItemText);
|
|
19419
|
+
setInputValue(selectedItemText);
|
|
19420
|
+
}
|
|
19421
|
+
}
|
|
19422
|
+
lastSelectedKey.current = selectedKey;
|
|
19423
|
+
lastSelectedKeyText.current = selectedItemText;
|
|
19424
|
+
});
|
|
19425
|
+
let validation = (0, $e5be200c675c3b3a$export$fc1a364ae1f3ff10)({
|
|
19426
|
+
...props,
|
|
19427
|
+
value: (0, $49BJP$useMemo)(() => ({
|
|
19428
|
+
inputValue,
|
|
19429
|
+
selectedKey
|
|
19430
|
+
}), [
|
|
19431
|
+
inputValue,
|
|
19432
|
+
selectedKey
|
|
19433
|
+
])
|
|
19434
|
+
});
|
|
19435
|
+
let revert = () => {
|
|
19436
|
+
if (allowsCustomValue && selectedKey == null) commitCustomValue();
|
|
19437
|
+
else commitSelection();
|
|
19438
|
+
};
|
|
19439
|
+
let commitCustomValue = () => {
|
|
19440
|
+
lastSelectedKey.current = null;
|
|
19441
|
+
setSelectedKey(null);
|
|
19442
|
+
closeMenu();
|
|
19443
|
+
};
|
|
19444
|
+
let commitSelection = () => {
|
|
19445
|
+
if (props.selectedKey !== void 0 && props.inputValue !== void 0) {
|
|
19446
|
+
var _props_onSelectionChange, _collection_getItem2;
|
|
19447
|
+
(_props_onSelectionChange = props.onSelectionChange) === null || _props_onSelectionChange === void 0 ? void 0 : _props_onSelectionChange.call(props, selectedKey);
|
|
19448
|
+
var _collection_getItem_textValue2;
|
|
19449
|
+
let itemText = selectedKey != null ? (_collection_getItem_textValue2 = (_collection_getItem2 = collection.getItem(selectedKey)) === null || _collection_getItem2 === void 0 ? void 0 : _collection_getItem2.textValue) !== null && _collection_getItem_textValue2 !== void 0 ? _collection_getItem_textValue2 : "" : "";
|
|
19450
|
+
setLastValue(itemText);
|
|
19451
|
+
closeMenu();
|
|
19452
|
+
} else {
|
|
19453
|
+
resetInputValue();
|
|
19454
|
+
closeMenu();
|
|
19455
|
+
}
|
|
19456
|
+
};
|
|
19457
|
+
const commitValue = () => {
|
|
19458
|
+
if (allowsCustomValue) {
|
|
19459
|
+
var _collection_getItem2;
|
|
19460
|
+
var _collection_getItem_textValue2;
|
|
19461
|
+
const itemText = selectedKey != null ? (_collection_getItem_textValue2 = (_collection_getItem2 = collection.getItem(selectedKey)) === null || _collection_getItem2 === void 0 ? void 0 : _collection_getItem2.textValue) !== null && _collection_getItem_textValue2 !== void 0 ? _collection_getItem_textValue2 : "" : "";
|
|
19462
|
+
inputValue === itemText ? commitSelection() : commitCustomValue();
|
|
19463
|
+
} else
|
|
19464
|
+
commitSelection();
|
|
19465
|
+
};
|
|
19466
|
+
let commit = () => {
|
|
19467
|
+
if (triggerState.isOpen && selectionManager.focusedKey != null) {
|
|
19468
|
+
if (selectedKey === selectionManager.focusedKey) commitSelection();
|
|
19469
|
+
else setSelectedKey(selectionManager.focusedKey);
|
|
19470
|
+
} else commitValue();
|
|
19471
|
+
};
|
|
19472
|
+
let valueOnFocus = (0, $49BJP$useRef)(inputValue);
|
|
19473
|
+
let setFocused = (isFocused2) => {
|
|
19474
|
+
if (isFocused2) {
|
|
19475
|
+
valueOnFocus.current = inputValue;
|
|
19476
|
+
if (menuTrigger === "focus" && !props.isReadOnly) open(null, "focus");
|
|
19477
|
+
} else {
|
|
19478
|
+
if (shouldCloseOnBlur) commitValue();
|
|
19479
|
+
if (inputValue !== valueOnFocus.current) validation.commitValidation();
|
|
19480
|
+
}
|
|
19481
|
+
setFocusedState(isFocused2);
|
|
19482
|
+
};
|
|
19483
|
+
let displayedCollection = (0, $49BJP$useMemo)(() => {
|
|
19484
|
+
if (triggerState.isOpen) {
|
|
19485
|
+
if (showAllItems) return originalCollection;
|
|
19486
|
+
else return filteredCollection;
|
|
19487
|
+
} else return lastCollection;
|
|
19488
|
+
}, [
|
|
19489
|
+
triggerState.isOpen,
|
|
19490
|
+
originalCollection,
|
|
19491
|
+
filteredCollection,
|
|
19492
|
+
showAllItems,
|
|
19493
|
+
lastCollection
|
|
19494
|
+
]);
|
|
19495
|
+
return {
|
|
19496
|
+
...validation,
|
|
19497
|
+
...triggerState,
|
|
19498
|
+
focusStrategy,
|
|
19499
|
+
toggle,
|
|
19500
|
+
open,
|
|
19501
|
+
close: commitValue,
|
|
19502
|
+
selectionManager,
|
|
19503
|
+
selectedKey,
|
|
19504
|
+
setSelectedKey,
|
|
19505
|
+
disabledKeys,
|
|
19506
|
+
isFocused,
|
|
19507
|
+
setFocused,
|
|
19508
|
+
selectedItem,
|
|
19509
|
+
collection: displayedCollection,
|
|
19510
|
+
inputValue,
|
|
19511
|
+
setInputValue,
|
|
19512
|
+
commit,
|
|
19513
|
+
revert
|
|
19514
|
+
};
|
|
19515
|
+
}
|
|
19516
|
+
function $a9e7382a7d111cb5$var$filterCollection(collection, inputValue, filter) {
|
|
19517
|
+
return new (0, $a02d57049d202695$export$d085fb9e920b5ca7)($a9e7382a7d111cb5$var$filterNodes(collection, collection, inputValue, filter));
|
|
19518
|
+
}
|
|
19519
|
+
function $a9e7382a7d111cb5$var$filterNodes(collection, nodes, inputValue, filter) {
|
|
19520
|
+
let filteredNode = [];
|
|
19521
|
+
for (let node of nodes) {
|
|
19522
|
+
if (node.type === "section" && node.hasChildNodes) {
|
|
19523
|
+
let filtered = $a9e7382a7d111cb5$var$filterNodes(collection, (0, $c5a24bc478652b5f$export$1005530eda016c13)(node, collection), inputValue, filter);
|
|
19524
|
+
if ([
|
|
19525
|
+
...filtered
|
|
19526
|
+
].some((node2) => node2.type === "item")) filteredNode.push({
|
|
19527
|
+
...node,
|
|
19528
|
+
childNodes: filtered
|
|
19529
|
+
});
|
|
19530
|
+
} else if (node.type === "item" && filter(node.textValue, inputValue)) filteredNode.push({
|
|
19531
|
+
...node
|
|
19532
|
+
});
|
|
19533
|
+
else if (node.type !== "item") filteredNode.push({
|
|
19534
|
+
...node
|
|
19535
|
+
});
|
|
19536
|
+
}
|
|
19537
|
+
return filteredNode;
|
|
19538
|
+
}
|
|
19539
|
+
|
|
18208
19540
|
// node_modules/.pnpm/@react-stately+disclosure@3.0.4_react@19.1.0/node_modules/@react-stately/disclosure/dist/useDisclosureState.mjs
|
|
18209
19541
|
import { useCallback as $acGV5$useCallback } from "react";
|
|
18210
19542
|
function $bf996d45f4a36925$export$3fcbf6e4407997e0(props) {
|
|
@@ -21500,20 +22832,222 @@ var $de32f1b87079253c$export$3ddf2d174ce01153 = /* @__PURE__ */ (0, $6IYYA$forwa
|
|
|
21500
22832
|
}, renderProps.children));
|
|
21501
22833
|
});
|
|
21502
22834
|
|
|
21503
|
-
// node_modules/.pnpm/react-aria-components@1.9.0_06e1b9d045f1fa1ae3b0c661f9785e8b/node_modules/react-aria-components/dist/
|
|
21504
|
-
import $
|
|
21505
|
-
var $
|
|
21506
|
-
var $
|
|
21507
|
-
|
|
21508
|
-
|
|
22835
|
+
// node_modules/.pnpm/react-aria-components@1.9.0_06e1b9d045f1fa1ae3b0c661f9785e8b/node_modules/react-aria-components/dist/ComboBox.mjs
|
|
22836
|
+
import $cP7hC$react, { createContext as $cP7hC$createContext, forwardRef as $cP7hC$forwardRef, useMemo as $cP7hC$useMemo, useRef as $cP7hC$useRef, useState as $cP7hC$useState, useCallback as $cP7hC$useCallback } from "react";
|
|
22837
|
+
var $d01f2c01039c0eec$export$d414ccceff7063c3 = /* @__PURE__ */ (0, $cP7hC$createContext)(null);
|
|
22838
|
+
var $d01f2c01039c0eec$export$c02625b26074192c = /* @__PURE__ */ (0, $cP7hC$createContext)(null);
|
|
22839
|
+
var $d01f2c01039c0eec$export$72b9695b8216309a = /* @__PURE__ */ (0, $cP7hC$forwardRef)(function ComboBox(props, ref) {
|
|
22840
|
+
[props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $d01f2c01039c0eec$export$d414ccceff7063c3);
|
|
22841
|
+
let { children, isDisabled = false, isInvalid = false, isRequired = false } = props;
|
|
22842
|
+
let content = (0, $cP7hC$useMemo)(() => {
|
|
22843
|
+
var _props_items;
|
|
22844
|
+
return /* @__PURE__ */ (0, $cP7hC$react).createElement((0, $eed445e0843c11d0$export$7ff8f37d2d81a48d).Provider, {
|
|
22845
|
+
value: {
|
|
22846
|
+
items: (_props_items = props.items) !== null && _props_items !== void 0 ? _props_items : props.defaultItems
|
|
22847
|
+
}
|
|
22848
|
+
}, typeof children === "function" ? children({
|
|
22849
|
+
isOpen: false,
|
|
22850
|
+
isDisabled,
|
|
22851
|
+
isInvalid,
|
|
22852
|
+
isRequired,
|
|
22853
|
+
defaultChildren: null
|
|
22854
|
+
}) : children);
|
|
22855
|
+
}, [
|
|
22856
|
+
children,
|
|
22857
|
+
isDisabled,
|
|
22858
|
+
isInvalid,
|
|
22859
|
+
isRequired,
|
|
22860
|
+
props.items,
|
|
22861
|
+
props.defaultItems
|
|
22862
|
+
]);
|
|
22863
|
+
return /* @__PURE__ */ (0, $cP7hC$react).createElement((0, $e1995378a142960e$export$bf788dd355e3a401), {
|
|
22864
|
+
content
|
|
22865
|
+
}, (collection) => /* @__PURE__ */ (0, $cP7hC$react).createElement($d01f2c01039c0eec$var$ComboBoxInner, {
|
|
22866
|
+
props,
|
|
22867
|
+
collection,
|
|
22868
|
+
comboBoxRef: ref
|
|
22869
|
+
}));
|
|
22870
|
+
});
|
|
22871
|
+
function $d01f2c01039c0eec$var$ComboBoxInner({ props, collection, comboBoxRef: ref }) {
|
|
22872
|
+
let { name, formValue = "key", allowsCustomValue } = props;
|
|
22873
|
+
if (allowsCustomValue) formValue = "text";
|
|
22874
|
+
let { validationBehavior: formValidationBehavior } = (0, $64fa3d84918910a7$export$fabf2dc03a41866e)((0, $d3e0e05bdfcf66bd$export$c24727297075ec6a)) || {};
|
|
22875
|
+
var _props_validationBehavior, _ref;
|
|
22876
|
+
let validationBehavior = (_ref = (_props_validationBehavior = props.validationBehavior) !== null && _props_validationBehavior !== void 0 ? _props_validationBehavior : formValidationBehavior) !== null && _ref !== void 0 ? _ref : "native";
|
|
22877
|
+
let { contains } = (0, $bb77f239b46e8c72$export$3274cf84b703fff)({
|
|
22878
|
+
sensitivity: "base"
|
|
22879
|
+
});
|
|
22880
|
+
let state = (0, $a9e7382a7d111cb5$export$b453a3bfd4a5fa9e)({
|
|
22881
|
+
defaultFilter: props.defaultFilter || contains,
|
|
21509
22882
|
...props,
|
|
21510
|
-
|
|
21511
|
-
|
|
21512
|
-
|
|
21513
|
-
|
|
22883
|
+
// If props.items isn't provided, rely on collection filtering (aka listbox.items is provided or defaultItems provided to Combobox)
|
|
22884
|
+
items: props.items,
|
|
22885
|
+
children: void 0,
|
|
22886
|
+
collection,
|
|
22887
|
+
validationBehavior
|
|
22888
|
+
});
|
|
22889
|
+
let buttonRef = (0, $cP7hC$useRef)(null);
|
|
22890
|
+
let inputRef = (0, $cP7hC$useRef)(null);
|
|
22891
|
+
let listBoxRef = (0, $cP7hC$useRef)(null);
|
|
22892
|
+
let popoverRef = (0, $cP7hC$useRef)(null);
|
|
22893
|
+
let [labelRef, label] = (0, $64fa3d84918910a7$export$9d4c57ee4c6ffdd8)(!props["aria-label"] && !props["aria-labelledby"]);
|
|
22894
|
+
let { buttonProps, inputProps, listBoxProps, labelProps, descriptionProps, errorMessageProps, ...validation } = (0, $c350ade66beef0af$export$8c18d1b4f7232bbf)({
|
|
22895
|
+
...(0, $64fa3d84918910a7$export$ef03459518577ad4)(props),
|
|
22896
|
+
label,
|
|
22897
|
+
inputRef,
|
|
22898
|
+
buttonRef,
|
|
22899
|
+
listBoxRef,
|
|
22900
|
+
popoverRef,
|
|
22901
|
+
name: formValue === "text" ? name : void 0,
|
|
22902
|
+
validationBehavior
|
|
22903
|
+
}, state);
|
|
22904
|
+
let [menuWidth, setMenuWidth] = (0, $cP7hC$useState)(null);
|
|
22905
|
+
let onResize2 = (0, $cP7hC$useCallback)(() => {
|
|
22906
|
+
if (inputRef.current) {
|
|
22907
|
+
var _buttonRef_current;
|
|
22908
|
+
let buttonRect = (_buttonRef_current = buttonRef.current) === null || _buttonRef_current === void 0 ? void 0 : _buttonRef_current.getBoundingClientRect();
|
|
22909
|
+
let inputRect = inputRef.current.getBoundingClientRect();
|
|
22910
|
+
let minX = buttonRect ? Math.min(buttonRect.left, inputRect.left) : inputRect.left;
|
|
22911
|
+
let maxX = buttonRect ? Math.max(buttonRect.right, inputRect.right) : inputRect.right;
|
|
22912
|
+
setMenuWidth(maxX - minX + "px");
|
|
21514
22913
|
}
|
|
22914
|
+
}, [
|
|
22915
|
+
buttonRef,
|
|
22916
|
+
inputRef,
|
|
22917
|
+
setMenuWidth
|
|
22918
|
+
]);
|
|
22919
|
+
(0, $9daab02d461809db$export$683480f191c0e3ea)({
|
|
22920
|
+
ref: inputRef,
|
|
22921
|
+
onResize: onResize2
|
|
21515
22922
|
});
|
|
21516
|
-
let
|
|
22923
|
+
let renderPropsState = (0, $cP7hC$useMemo)(() => ({
|
|
22924
|
+
isOpen: state.isOpen,
|
|
22925
|
+
isDisabled: props.isDisabled || false,
|
|
22926
|
+
isInvalid: validation.isInvalid || false,
|
|
22927
|
+
isRequired: props.isRequired || false
|
|
22928
|
+
}), [
|
|
22929
|
+
state.isOpen,
|
|
22930
|
+
props.isDisabled,
|
|
22931
|
+
validation.isInvalid,
|
|
22932
|
+
props.isRequired
|
|
22933
|
+
]);
|
|
22934
|
+
let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({
|
|
22935
|
+
...props,
|
|
22936
|
+
values: renderPropsState,
|
|
22937
|
+
defaultClassName: "react-aria-ComboBox"
|
|
22938
|
+
});
|
|
22939
|
+
let DOMProps = (0, $65484d02dcb7eb3e$export$457c3d6518dd4c6f)(props);
|
|
22940
|
+
delete DOMProps.id;
|
|
22941
|
+
var _state_selectedKey;
|
|
22942
|
+
return /* @__PURE__ */ (0, $cP7hC$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {
|
|
22943
|
+
values: [
|
|
22944
|
+
[
|
|
22945
|
+
$d01f2c01039c0eec$export$c02625b26074192c,
|
|
22946
|
+
state
|
|
22947
|
+
],
|
|
22948
|
+
[
|
|
22949
|
+
(0, $01b77f81d0f07f68$export$75b6ee27786ba447),
|
|
22950
|
+
{
|
|
22951
|
+
...labelProps,
|
|
22952
|
+
ref: labelRef
|
|
22953
|
+
}
|
|
22954
|
+
],
|
|
22955
|
+
[
|
|
22956
|
+
(0, $d2b4bc8c273e7be6$export$24d547caef80ccd1),
|
|
22957
|
+
{
|
|
22958
|
+
...buttonProps,
|
|
22959
|
+
ref: buttonRef,
|
|
22960
|
+
isPressed: state.isOpen
|
|
22961
|
+
}
|
|
22962
|
+
],
|
|
22963
|
+
[
|
|
22964
|
+
(0, $3985021b0ad6602f$export$37fb8590cf2c088c),
|
|
22965
|
+
{
|
|
22966
|
+
...inputProps,
|
|
22967
|
+
ref: inputRef
|
|
22968
|
+
}
|
|
22969
|
+
],
|
|
22970
|
+
[
|
|
22971
|
+
(0, $de32f1b87079253c$export$d2f961adcb0afbe),
|
|
22972
|
+
state
|
|
22973
|
+
],
|
|
22974
|
+
[
|
|
22975
|
+
(0, $07b14b47974efb58$export$9b9a0cd73afb7ca4),
|
|
22976
|
+
{
|
|
22977
|
+
ref: popoverRef,
|
|
22978
|
+
triggerRef: inputRef,
|
|
22979
|
+
scrollRef: listBoxRef,
|
|
22980
|
+
placement: "bottom start",
|
|
22981
|
+
isNonModal: true,
|
|
22982
|
+
trigger: "ComboBox",
|
|
22983
|
+
style: {
|
|
22984
|
+
"--trigger-width": menuWidth
|
|
22985
|
+
}
|
|
22986
|
+
}
|
|
22987
|
+
],
|
|
22988
|
+
[
|
|
22989
|
+
(0, $eed445e0843c11d0$export$7ff8f37d2d81a48d),
|
|
22990
|
+
{
|
|
22991
|
+
...listBoxProps,
|
|
22992
|
+
ref: listBoxRef
|
|
22993
|
+
}
|
|
22994
|
+
],
|
|
22995
|
+
[
|
|
22996
|
+
(0, $eed445e0843c11d0$export$7c5906fe4f1f2af2),
|
|
22997
|
+
state
|
|
22998
|
+
],
|
|
22999
|
+
[
|
|
23000
|
+
(0, $514c0188e459b4c0$export$9afb8bc826b033ea),
|
|
23001
|
+
{
|
|
23002
|
+
slots: {
|
|
23003
|
+
description: descriptionProps,
|
|
23004
|
+
errorMessage: errorMessageProps
|
|
23005
|
+
}
|
|
23006
|
+
}
|
|
23007
|
+
],
|
|
23008
|
+
[
|
|
23009
|
+
(0, $a049562f99e7db0e$export$f9c6924e160136d1),
|
|
23010
|
+
{
|
|
23011
|
+
isInvalid: validation.isInvalid,
|
|
23012
|
+
isDisabled: props.isDisabled || false
|
|
23013
|
+
}
|
|
23014
|
+
],
|
|
23015
|
+
[
|
|
23016
|
+
(0, $ee014567cb39d3f0$export$ff05c3ac10437e03),
|
|
23017
|
+
validation
|
|
23018
|
+
]
|
|
23019
|
+
]
|
|
23020
|
+
}, /* @__PURE__ */ (0, $cP7hC$react).createElement("div", {
|
|
23021
|
+
...DOMProps,
|
|
23022
|
+
...renderProps,
|
|
23023
|
+
ref,
|
|
23024
|
+
slot: props.slot || void 0,
|
|
23025
|
+
"data-focused": state.isFocused || void 0,
|
|
23026
|
+
"data-open": state.isOpen || void 0,
|
|
23027
|
+
"data-disabled": props.isDisabled || void 0,
|
|
23028
|
+
"data-invalid": validation.isInvalid || void 0,
|
|
23029
|
+
"data-required": props.isRequired || void 0
|
|
23030
|
+
}), name && formValue === "key" && /* @__PURE__ */ (0, $cP7hC$react).createElement("input", {
|
|
23031
|
+
type: "hidden",
|
|
23032
|
+
name,
|
|
23033
|
+
value: (_state_selectedKey = state.selectedKey) !== null && _state_selectedKey !== void 0 ? _state_selectedKey : ""
|
|
23034
|
+
}));
|
|
23035
|
+
}
|
|
23036
|
+
|
|
23037
|
+
// node_modules/.pnpm/react-aria-components@1.9.0_06e1b9d045f1fa1ae3b0c661f9785e8b/node_modules/react-aria-components/dist/Disclosure.mjs
|
|
23038
|
+
import $hI1OT$react, { createContext as $hI1OT$createContext, forwardRef as $hI1OT$forwardRef, useContext as $hI1OT$useContext } from "react";
|
|
23039
|
+
var $28f4fd908f0de97f$export$1d40e3e0cc4d5de = /* @__PURE__ */ (0, $hI1OT$createContext)(null);
|
|
23040
|
+
var $28f4fd908f0de97f$export$944aceb4f8c89f10 = /* @__PURE__ */ (0, $hI1OT$forwardRef)(function DisclosureGroup(props, ref) {
|
|
23041
|
+
let state = (0, $9385b3affbdec831$export$f36461af0ef4707d)(props);
|
|
23042
|
+
let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({
|
|
23043
|
+
...props,
|
|
23044
|
+
defaultClassName: "react-aria-DisclosureGroup",
|
|
23045
|
+
values: {
|
|
23046
|
+
isDisabled: state.isDisabled,
|
|
23047
|
+
state
|
|
23048
|
+
}
|
|
23049
|
+
});
|
|
23050
|
+
let domProps = (0, $65484d02dcb7eb3e$export$457c3d6518dd4c6f)(props);
|
|
21517
23051
|
return /* @__PURE__ */ (0, $hI1OT$react).createElement("div", {
|
|
21518
23052
|
...domProps,
|
|
21519
23053
|
...renderProps,
|
|
@@ -21919,7 +23453,7 @@ var $b6c3ddc6086f204d$export$d7b12c4107be0d61 = /* @__PURE__ */ (0, $3sixo$forwa
|
|
|
21919
23453
|
|
|
21920
23454
|
// node_modules/.pnpm/react-aria-components@1.9.0_06e1b9d045f1fa1ae3b0c661f9785e8b/node_modules/react-aria-components/dist/Select.mjs
|
|
21921
23455
|
import $akiWb$react, { createContext as $akiWb$createContext, forwardRef as $akiWb$forwardRef, useMemo as $akiWb$useMemo, useRef as $akiWb$useRef, useState as $akiWb$useState, useCallback as $akiWb$useCallback, useContext as $akiWb$useContext } from "react";
|
|
21922
|
-
function $parcel$
|
|
23456
|
+
function $parcel$interopDefault16(a) {
|
|
21923
23457
|
return a && a.__esModule ? a.default : a;
|
|
21924
23458
|
}
|
|
21925
23459
|
var $82d7e5349645de74$export$7540cee5be7dc19b = /* @__PURE__ */ (0, $akiWb$createContext)(null);
|
|
@@ -22116,7 +23650,7 @@ var $82d7e5349645de74$export$e288731fd71264f0 = /* @__PURE__ */ (0, $akiWb$forwa
|
|
|
22116
23650
|
selectionBehavior: "toggle"
|
|
22117
23651
|
});
|
|
22118
23652
|
}
|
|
22119
|
-
let stringFormatter = (0, $fca6afa0e843324b$export$f12b703ca79dfbb1)((0, $parcel$
|
|
23653
|
+
let stringFormatter = (0, $fca6afa0e843324b$export$f12b703ca79dfbb1)((0, $parcel$interopDefault16($df39c1238ae2b5f3$exports)), "react-aria-components");
|
|
22120
23654
|
var _ref, _state_selectedItem_value, _state_selectedItem_textValue;
|
|
22121
23655
|
let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({
|
|
22122
23656
|
...props,
|
|
@@ -26309,7 +27843,7 @@ function FormFieldArray({
|
|
|
26309
27843
|
var import_classnames9 = __toESM(require_classnames());
|
|
26310
27844
|
|
|
26311
27845
|
// css-modules:E:\dev\umami-react-zen\src\components\Button.module.css
|
|
26312
|
-
var Button_default = { "button": "
|
|
27846
|
+
var Button_default = { "button": "Button_button__NGQyO", "variant-primary": "Button_variant-primary__YjU3N", "variant-outline": "Button_variant-outline__NzU3Y", "variant-quiet": "Button_variant-quiet__MzMzO", "variant-danger": "Button_variant-danger__OGZhN", "variant-zero": "Button_variant-zero__ZGViN", "sm": "Button_sm__NzE4Y", "md": "Button_md__YzYwY", "lg": "Button_lg__YTVkN", "xl": "Button_xl__ZDcyY" };
|
|
26313
27847
|
|
|
26314
27848
|
// src/components/Button.tsx
|
|
26315
27849
|
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
@@ -30505,24 +32039,172 @@ function Checkbox2({ label, className, children, ...props }) {
|
|
|
30505
32039
|
);
|
|
30506
32040
|
}
|
|
30507
32041
|
|
|
32042
|
+
// src/components/ComboBox.tsx
|
|
32043
|
+
var import_classnames21 = __toESM(require_classnames());
|
|
32044
|
+
|
|
32045
|
+
// src/components/List.tsx
|
|
32046
|
+
import { Fragment as Fragment4 } from "react";
|
|
32047
|
+
var import_classnames20 = __toESM(require_classnames());
|
|
32048
|
+
|
|
32049
|
+
// src/lib/constants.ts
|
|
32050
|
+
var ACCENT_COLORS = [
|
|
32051
|
+
"gray",
|
|
32052
|
+
"gold",
|
|
32053
|
+
"bronze",
|
|
32054
|
+
"brown",
|
|
32055
|
+
"yellow",
|
|
32056
|
+
"amber",
|
|
32057
|
+
"orange",
|
|
32058
|
+
"tomato",
|
|
32059
|
+
"red",
|
|
32060
|
+
"ruby",
|
|
32061
|
+
"crimson",
|
|
32062
|
+
"pink",
|
|
32063
|
+
"plum",
|
|
32064
|
+
"purple",
|
|
32065
|
+
"violet",
|
|
32066
|
+
"iris",
|
|
32067
|
+
"indigo",
|
|
32068
|
+
"blue",
|
|
32069
|
+
"cyan",
|
|
32070
|
+
"teal",
|
|
32071
|
+
"jade",
|
|
32072
|
+
"green",
|
|
32073
|
+
"grass",
|
|
32074
|
+
"lime",
|
|
32075
|
+
"mint",
|
|
32076
|
+
"sky"
|
|
32077
|
+
];
|
|
32078
|
+
|
|
32079
|
+
// src/lib/styles.ts
|
|
32080
|
+
function getHighlightColor(color) {
|
|
32081
|
+
if (!color) return;
|
|
32082
|
+
if (/\d+/.test(color)) {
|
|
32083
|
+
return { "--highlight-color": `var(--base-color-${color})` };
|
|
32084
|
+
} else if (ACCENT_COLORS.includes(color)) {
|
|
32085
|
+
return { "--highlight-color": `var(--accent-color-${color})` };
|
|
32086
|
+
}
|
|
32087
|
+
return { "--highlight-color": color };
|
|
32088
|
+
}
|
|
32089
|
+
|
|
32090
|
+
// css-modules:E:\dev\umami-react-zen\src\components\List.module.css
|
|
32091
|
+
var List_default = { "list": "List_list__ZTRlN", "separator": "List_separator__ODIwN", "section": "List_section__MzJmN", "header": "List_header__MzRmM", "item": "List_item__ODM4N", "checkmark": "List_checkmark__NzY1N", "hideCheckmark": "List_hideCheckmark__NDhmN" };
|
|
32092
|
+
|
|
32093
|
+
// src/components/List.tsx
|
|
32094
|
+
import { Fragment as Fragment5, jsx as jsx33, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
32095
|
+
function List({
|
|
32096
|
+
items,
|
|
32097
|
+
idProperty = "id",
|
|
32098
|
+
labelProperty = "label",
|
|
32099
|
+
separatorProperty = "separatpr",
|
|
32100
|
+
highlightColor,
|
|
32101
|
+
showCheckmark = true,
|
|
32102
|
+
label,
|
|
32103
|
+
value,
|
|
32104
|
+
onChange,
|
|
32105
|
+
className,
|
|
32106
|
+
selectedKeys,
|
|
32107
|
+
defaultSelectedKeys,
|
|
32108
|
+
onSelectionChange,
|
|
32109
|
+
style,
|
|
32110
|
+
children,
|
|
32111
|
+
...props
|
|
32112
|
+
}) {
|
|
32113
|
+
const handleSelectionChange = (keys) => {
|
|
32114
|
+
onSelectionChange?.(keys);
|
|
32115
|
+
if (keys !== "all") {
|
|
32116
|
+
onChange?.([...keys].map(String));
|
|
32117
|
+
}
|
|
32118
|
+
};
|
|
32119
|
+
return /* @__PURE__ */ jsxs18(Fragment5, { children: [
|
|
32120
|
+
label && /* @__PURE__ */ jsx33(Label2, { children: label }),
|
|
32121
|
+
/* @__PURE__ */ jsx33(
|
|
32122
|
+
$eed445e0843c11d0$export$41f133550aa26f48,
|
|
32123
|
+
{
|
|
32124
|
+
"aria-label": "list",
|
|
32125
|
+
...props,
|
|
32126
|
+
selectedKeys: value || selectedKeys,
|
|
32127
|
+
defaultSelectedKeys: value || defaultSelectedKeys,
|
|
32128
|
+
items,
|
|
32129
|
+
className: (0, import_classnames20.default)(List_default.list, className, !showCheckmark && List_default.hideCheckmark),
|
|
32130
|
+
onSelectionChange: handleSelectionChange,
|
|
32131
|
+
style: { ...style, ...getHighlightColor(highlightColor) },
|
|
32132
|
+
children: children || items?.map((item) => {
|
|
32133
|
+
const id = item[idProperty] || item.toString();
|
|
32134
|
+
const label2 = item[labelProperty] || item.toString();
|
|
32135
|
+
return /* @__PURE__ */ jsxs18(Fragment4, { children: [
|
|
32136
|
+
item[separatorProperty] && /* @__PURE__ */ jsx33($431f98aba6844401$export$1ff3c3f08ae963c0, { className: List_default.separator }),
|
|
32137
|
+
/* @__PURE__ */ jsx33(ListItem, { id, className: List_default.item, children: label2 })
|
|
32138
|
+
] }, id);
|
|
32139
|
+
})
|
|
32140
|
+
}
|
|
32141
|
+
)
|
|
32142
|
+
] });
|
|
32143
|
+
}
|
|
32144
|
+
function ListItem({
|
|
32145
|
+
id,
|
|
32146
|
+
children,
|
|
32147
|
+
className,
|
|
32148
|
+
showCheckmark = true,
|
|
32149
|
+
...props
|
|
32150
|
+
}) {
|
|
32151
|
+
return /* @__PURE__ */ jsxs18(
|
|
32152
|
+
$eed445e0843c11d0$export$a11e76429ed99b4,
|
|
32153
|
+
{
|
|
32154
|
+
...props,
|
|
32155
|
+
id,
|
|
32156
|
+
className: (0, import_classnames20.default)(List_default.item, className),
|
|
32157
|
+
textValue: typeof children === "string" ? children : id?.toString(),
|
|
32158
|
+
children: [
|
|
32159
|
+
children,
|
|
32160
|
+
showCheckmark && /* @__PURE__ */ jsx33(Icon2, { "aria-hidden": "true", className: List_default.checkmark, children: /* @__PURE__ */ jsx33(Check, {}) })
|
|
32161
|
+
]
|
|
32162
|
+
}
|
|
32163
|
+
);
|
|
32164
|
+
}
|
|
32165
|
+
function ListSeparator({ className, ...props }) {
|
|
32166
|
+
return /* @__PURE__ */ jsx33($431f98aba6844401$export$1ff3c3f08ae963c0, { ...props, className: (0, import_classnames20.default)(List_default.separator, className) });
|
|
32167
|
+
}
|
|
32168
|
+
function ListSection({ title, className, children, ...props }) {
|
|
32169
|
+
return /* @__PURE__ */ jsxs18($eed445e0843c11d0$export$dca12b0bb56e4fc, { ...props, className: (0, import_classnames20.default)(List_default.section, className), children: [
|
|
32170
|
+
title && /* @__PURE__ */ jsx33($72a5793c14baf454$export$8b251419efc915eb, { className: List_default.header, children: title }),
|
|
32171
|
+
children
|
|
32172
|
+
] });
|
|
32173
|
+
}
|
|
32174
|
+
|
|
32175
|
+
// css-modules:E:\dev\umami-react-zen\src\components\ComboBox.module.css
|
|
32176
|
+
var ComboBox_default = { "combobox": "ComboBox_combobox__ZDYxZ", "input": "ComboBox_input__YjNkN", "button": "ComboBox_button__NTlhM", "list": "ComboBox_list__NTdiY" };
|
|
32177
|
+
|
|
32178
|
+
// src/components/ComboBox.tsx
|
|
32179
|
+
import { jsx as jsx34, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
32180
|
+
function ComboBox2({ items, className, ...props }) {
|
|
32181
|
+
return /* @__PURE__ */ jsxs19($d01f2c01039c0eec$export$72b9695b8216309a, { ...props, className: (0, import_classnames21.default)(ComboBox_default.combobox, className), children: [
|
|
32182
|
+
/* @__PURE__ */ jsxs19(Row, { alignItems: "center", children: [
|
|
32183
|
+
/* @__PURE__ */ jsx34($3985021b0ad6602f$export$f5b8910cec6cf069, { className: ComboBox_default.input }),
|
|
32184
|
+
/* @__PURE__ */ jsx34($d2b4bc8c273e7be6$export$353f5b6fc5456de1, { className: ComboBox_default.button, children: /* @__PURE__ */ jsx34(Icon2, { "aria-hidden": "true", rotate: 90, size: "sm", children: /* @__PURE__ */ jsx34(ChevronRight, {}) }) })
|
|
32185
|
+
] }),
|
|
32186
|
+
/* @__PURE__ */ jsx34($07b14b47974efb58$export$5b6b19405a83ff9d, { children: /* @__PURE__ */ jsx34("div", { className: ComboBox_default.list, children: /* @__PURE__ */ jsx34(List, { items, children: items.map((item) => /* @__PURE__ */ jsx34(ListItem, { textValue: item, children: item }, item)) }) }) })
|
|
32187
|
+
] });
|
|
32188
|
+
}
|
|
32189
|
+
|
|
30508
32190
|
// css-modules:E:\dev\umami-react-zen\src\components\Code.module.css
|
|
30509
32191
|
var Code_default = { "code": "Code_code__ZTc0M" };
|
|
30510
32192
|
|
|
30511
32193
|
// src/components/Code.tsx
|
|
30512
|
-
import { jsx as
|
|
32194
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
30513
32195
|
function Code({ asChild, children }) {
|
|
30514
32196
|
const Component = asChild ? Slot : "code";
|
|
30515
|
-
return /* @__PURE__ */
|
|
32197
|
+
return /* @__PURE__ */ jsx35(Component, { className: Code_default.code, children });
|
|
30516
32198
|
}
|
|
30517
32199
|
|
|
30518
32200
|
// src/components/Container.tsx
|
|
30519
|
-
var
|
|
32201
|
+
var import_classnames22 = __toESM(require_classnames());
|
|
30520
32202
|
|
|
30521
32203
|
// css-modules:E:\dev\umami-react-zen\src\components\Container.module.css
|
|
30522
32204
|
var Container_default = { "container": "Container_container__ZWU0Y", "centered": "Container_centered__OTM1M", "fluid": "Container_fluid__NTBhY" };
|
|
30523
32205
|
|
|
30524
32206
|
// src/components/Container.tsx
|
|
30525
|
-
import { jsx as
|
|
32207
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
30526
32208
|
function Container({
|
|
30527
32209
|
isCentered = true,
|
|
30528
32210
|
isFluid,
|
|
@@ -30530,11 +32212,11 @@ function Container({
|
|
|
30530
32212
|
children,
|
|
30531
32213
|
...props
|
|
30532
32214
|
}) {
|
|
30533
|
-
return /* @__PURE__ */
|
|
32215
|
+
return /* @__PURE__ */ jsx36(
|
|
30534
32216
|
Box,
|
|
30535
32217
|
{
|
|
30536
32218
|
...props,
|
|
30537
|
-
className: (0,
|
|
32219
|
+
className: (0, import_classnames22.default)(
|
|
30538
32220
|
Container_default.container,
|
|
30539
32221
|
className,
|
|
30540
32222
|
isCentered && Container_default.centered,
|
|
@@ -30546,22 +32228,22 @@ function Container({
|
|
|
30546
32228
|
}
|
|
30547
32229
|
|
|
30548
32230
|
// src/components/ConfirmationDialog.tsx
|
|
30549
|
-
var
|
|
32231
|
+
var import_classnames25 = __toESM(require_classnames());
|
|
30550
32232
|
import { useState as useState10 } from "react";
|
|
30551
32233
|
|
|
30552
32234
|
// src/components/TextField.tsx
|
|
30553
32235
|
import { useEffect as useEffect9, useState as useState9 } from "react";
|
|
30554
|
-
var
|
|
32236
|
+
var import_classnames24 = __toESM(require_classnames());
|
|
30555
32237
|
|
|
30556
32238
|
// src/components/CopyButton.tsx
|
|
30557
|
-
var
|
|
32239
|
+
var import_classnames23 = __toESM(require_classnames());
|
|
30558
32240
|
import { useState as useState8, useRef as useRef7 } from "react";
|
|
30559
32241
|
|
|
30560
32242
|
// css-modules:E:\dev\umami-react-zen\src\components\CopyButton.module.css
|
|
30561
32243
|
var CopyButton_default = { "icon": "CopyButton_icon__YTM2Y", "copy-button": "CopyButton_copy-button__MjY1M" };
|
|
30562
32244
|
|
|
30563
32245
|
// src/components/CopyButton.tsx
|
|
30564
|
-
import { jsx as
|
|
32246
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
30565
32247
|
var TIMEOUT = 2e3;
|
|
30566
32248
|
function CopyButton({ value, timeout = TIMEOUT, className, children, ...props }) {
|
|
30567
32249
|
const [copied, setCopied] = useState8(false);
|
|
@@ -30574,14 +32256,14 @@ function CopyButton({ value, timeout = TIMEOUT, className, children, ...props })
|
|
|
30574
32256
|
ref.current = +setTimeout(() => setCopied(false), timeout);
|
|
30575
32257
|
}
|
|
30576
32258
|
};
|
|
30577
|
-
return /* @__PURE__ */
|
|
32259
|
+
return /* @__PURE__ */ jsx37(Icon2, { ...props, className: (0, import_classnames23.default)(CopyButton_default.icon, className), onClick: handleCopy, children: copied ? /* @__PURE__ */ jsx37(Check, {}) : /* @__PURE__ */ jsx37(Copy, {}) });
|
|
30578
32260
|
}
|
|
30579
32261
|
|
|
30580
32262
|
// css-modules:E:\dev\umami-react-zen\src\components\TextField.module.css
|
|
30581
32263
|
var TextField_default = { "field": "TextField_field__YzU1O", "icon": "TextField_icon__MDJlY", "novalue": "TextField_novalue__NDg4Y", "textarea": "TextField_textarea__NTQ3M", "resize-vertical": "TextField_resize-vertical__ZDc3N", "resize-horizontal": "TextField_resize-horizontal__MzJjY", "resize-none": "TextField_resize-none__ZmUxZ" };
|
|
30582
32264
|
|
|
30583
32265
|
// src/components/TextField.tsx
|
|
30584
|
-
import { Fragment as
|
|
32266
|
+
import { Fragment as Fragment6, jsx as jsx38, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
30585
32267
|
function TextField2({
|
|
30586
32268
|
value,
|
|
30587
32269
|
defaultValue,
|
|
@@ -30606,14 +32288,14 @@ function TextField2({
|
|
|
30606
32288
|
useEffect9(() => {
|
|
30607
32289
|
setInputValue(value);
|
|
30608
32290
|
}, [value]);
|
|
30609
|
-
return /* @__PURE__ */
|
|
30610
|
-
label && /* @__PURE__ */
|
|
30611
|
-
/* @__PURE__ */
|
|
32291
|
+
return /* @__PURE__ */ jsxs20(Fragment6, { children: [
|
|
32292
|
+
label && /* @__PURE__ */ jsx38(Label2, { children: label }),
|
|
32293
|
+
/* @__PURE__ */ jsxs20(
|
|
30612
32294
|
$bcdf0525bf22703d$export$2c73285ae9390cec,
|
|
30613
32295
|
{
|
|
30614
32296
|
"aria-label": "Text",
|
|
30615
32297
|
...props,
|
|
30616
|
-
className: (0,
|
|
32298
|
+
className: (0, import_classnames24.default)(
|
|
30617
32299
|
TextField_default.field,
|
|
30618
32300
|
asTextArea && TextField_default.textarea,
|
|
30619
32301
|
allowCopy && TextField_default.copy,
|
|
@@ -30626,8 +32308,8 @@ function TextField2({
|
|
|
30626
32308
|
isDisabled,
|
|
30627
32309
|
onChange: handleChange,
|
|
30628
32310
|
children: [
|
|
30629
|
-
/* @__PURE__ */
|
|
30630
|
-
allowCopy && /* @__PURE__ */
|
|
32311
|
+
/* @__PURE__ */ jsx38(Component, { placeholder }),
|
|
32312
|
+
allowCopy && /* @__PURE__ */ jsx38(CopyButton, { value: inputValue, className: TextField_default.icon })
|
|
30631
32313
|
]
|
|
30632
32314
|
}
|
|
30633
32315
|
)
|
|
@@ -30638,7 +32320,7 @@ function TextField2({
|
|
|
30638
32320
|
var ConfirmationDialog_default = { "dialog": "ConfirmationDialog_dialog__YjQzN", "value": "ConfirmationDialog_value__Njg3N" };
|
|
30639
32321
|
|
|
30640
32322
|
// src/components/ConfirmationDialog.tsx
|
|
30641
|
-
import { Fragment as
|
|
32323
|
+
import { Fragment as Fragment7, jsx as jsx39, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
30642
32324
|
function ConfirmationDialog({
|
|
30643
32325
|
value,
|
|
30644
32326
|
confirmMessage,
|
|
@@ -30650,21 +32332,21 @@ function ConfirmationDialog({
|
|
|
30650
32332
|
const handleChange = (e) => {
|
|
30651
32333
|
setCanSave(e.target.value === value);
|
|
30652
32334
|
};
|
|
30653
|
-
return /* @__PURE__ */
|
|
32335
|
+
return /* @__PURE__ */ jsx39(
|
|
30654
32336
|
AlertDialog,
|
|
30655
32337
|
{
|
|
30656
32338
|
...props,
|
|
30657
|
-
className: (0,
|
|
32339
|
+
className: (0, import_classnames25.default)(ConfirmationDialog_default.dialog, className),
|
|
30658
32340
|
isConfirmDisabled: !canSave,
|
|
30659
32341
|
children: ({ close }) => {
|
|
30660
|
-
return /* @__PURE__ */
|
|
32342
|
+
return /* @__PURE__ */ jsxs21(Fragment7, { children: [
|
|
30661
32343
|
typeof children === "function" ? children({ close }) : children,
|
|
30662
|
-
/* @__PURE__ */
|
|
32344
|
+
/* @__PURE__ */ jsxs21(Text, { children: [
|
|
30663
32345
|
confirmMessage || "Type the following value to confirm",
|
|
30664
32346
|
":"
|
|
30665
32347
|
] }),
|
|
30666
|
-
/* @__PURE__ */
|
|
30667
|
-
/* @__PURE__ */
|
|
32348
|
+
/* @__PURE__ */ jsx39("div", { className: ConfirmationDialog_default.value, children: value }),
|
|
32349
|
+
/* @__PURE__ */ jsx39(TextField2, { autoFocus: true, "aria-label": "Confirmation", onChange: handleChange })
|
|
30668
32350
|
] });
|
|
30669
32351
|
}
|
|
30670
32352
|
}
|
|
@@ -30672,66 +32354,66 @@ function ConfirmationDialog({
|
|
|
30672
32354
|
}
|
|
30673
32355
|
|
|
30674
32356
|
// src/components/DataTable.tsx
|
|
30675
|
-
var
|
|
32357
|
+
var import_classnames27 = __toESM(require_classnames());
|
|
30676
32358
|
import { Children as Children2, createElement as createElement7 } from "react";
|
|
30677
32359
|
|
|
30678
32360
|
// src/components/Table.tsx
|
|
30679
|
-
var
|
|
32361
|
+
var import_classnames26 = __toESM(require_classnames());
|
|
30680
32362
|
|
|
30681
32363
|
// css-modules:E:\dev\umami-react-zen\src\components\Table.module.css
|
|
30682
32364
|
var Table_default = { "table": "Table_table__YjllN", "header": "Table_header__NmE0Y", "body": "Table_body__ZWYwN", "row": "Table_row__Y2M0Y", "column": "Table_column__ZGY2M", "cell": "Table_cell__MmZjM", "start": "Table_start__NGFiN", "center": "Table_center__NzFjM", "end": "Table_end__NmQyY" };
|
|
30683
32365
|
|
|
30684
32366
|
// src/components/Table.tsx
|
|
30685
|
-
import { jsx as
|
|
32367
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
30686
32368
|
var gridTemplateColumns = "repeat(auto-fit, minmax(140px, 1fr))";
|
|
30687
32369
|
function Table2({ children, className, ...props }) {
|
|
30688
|
-
return /* @__PURE__ */
|
|
32370
|
+
return /* @__PURE__ */ jsx40($1910c06f0ca9905e$export$54ec01a60f47d33d, { "aria-label": "Table", ...props, className: (0, import_classnames26.default)(Table_default.table, className), children });
|
|
30689
32371
|
}
|
|
30690
32372
|
function TableHeader({ children, className, style, ...props }) {
|
|
30691
|
-
return /* @__PURE__ */
|
|
32373
|
+
return /* @__PURE__ */ jsx40(
|
|
30692
32374
|
$1910c06f0ca9905e$export$f850895b287ef28e,
|
|
30693
32375
|
{
|
|
30694
32376
|
...props,
|
|
30695
|
-
className: (0,
|
|
32377
|
+
className: (0, import_classnames26.default)(Table_default.header, className),
|
|
30696
32378
|
style: { gridTemplateColumns, ...style },
|
|
30697
32379
|
children
|
|
30698
32380
|
}
|
|
30699
32381
|
);
|
|
30700
32382
|
}
|
|
30701
32383
|
function TableBody({ children, className, ...props }) {
|
|
30702
|
-
return /* @__PURE__ */
|
|
32384
|
+
return /* @__PURE__ */ jsx40($1910c06f0ca9905e$export$76ccd210b9029917, { ...props, className: (0, import_classnames26.default)(Table_default.body, className), children });
|
|
30703
32385
|
}
|
|
30704
32386
|
function TableRow({ children, className, style, ...props }) {
|
|
30705
|
-
return /* @__PURE__ */
|
|
32387
|
+
return /* @__PURE__ */ jsx40(
|
|
30706
32388
|
$1910c06f0ca9905e$export$b59bdbef9ce70de2,
|
|
30707
32389
|
{
|
|
30708
32390
|
...props,
|
|
30709
|
-
className: (0,
|
|
32391
|
+
className: (0, import_classnames26.default)(Table_default.row, className),
|
|
30710
32392
|
style: { gridTemplateColumns, ...style },
|
|
30711
32393
|
children
|
|
30712
32394
|
}
|
|
30713
32395
|
);
|
|
30714
32396
|
}
|
|
30715
32397
|
function TableColumn({ children, className, align, ...props }) {
|
|
30716
|
-
return /* @__PURE__ */
|
|
32398
|
+
return /* @__PURE__ */ jsx40(
|
|
30717
32399
|
$1910c06f0ca9905e$export$816b5d811295e6bc,
|
|
30718
32400
|
{
|
|
30719
32401
|
...props,
|
|
30720
|
-
className: (0,
|
|
32402
|
+
className: (0, import_classnames26.default)(Table_default.column, className, align && Table_default[align]),
|
|
30721
32403
|
isRowHeader: true,
|
|
30722
32404
|
children
|
|
30723
32405
|
}
|
|
30724
32406
|
);
|
|
30725
32407
|
}
|
|
30726
32408
|
function TableCell({ children, className, align, ...props }) {
|
|
30727
|
-
return /* @__PURE__ */
|
|
32409
|
+
return /* @__PURE__ */ jsx40($1910c06f0ca9905e$export$f6f0c3fe4ec306ea, { ...props, className: (0, import_classnames26.default)(Table_default.cell, className, align && Table_default[align]), children });
|
|
30728
32410
|
}
|
|
30729
32411
|
|
|
30730
32412
|
// css-modules:E:\dev\umami-react-zen\src\components\DataTable.module.css
|
|
30731
32413
|
var DataTable_default = { "datatable": "DataTable_datatable__MWRkN", "cell": "DataTable_cell__MmMyM" };
|
|
30732
32414
|
|
|
30733
32415
|
// src/components/DataTable.tsx
|
|
30734
|
-
import { jsx as
|
|
32416
|
+
import { jsx as jsx41, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
30735
32417
|
import { createElement as createElement8 } from "react";
|
|
30736
32418
|
function DataTable({ data = [], className, children, ...props }) {
|
|
30737
32419
|
const items = data.length && data?.[0]?.id === void 0 ? data.map((row, id) => ({ ...row, id })) : data;
|
|
@@ -30744,15 +32426,15 @@ function DataTable({ data = [], className, children, ...props }) {
|
|
|
30744
32426
|
return null;
|
|
30745
32427
|
})?.filter((n) => n);
|
|
30746
32428
|
const gridTemplateColumns2 = widths.join(" ");
|
|
30747
|
-
return /* @__PURE__ */
|
|
30748
|
-
/* @__PURE__ */
|
|
32429
|
+
return /* @__PURE__ */ jsxs22(Table2, { ...props, className: (0, import_classnames27.default)(DataTable_default.datatable, className), children: [
|
|
32430
|
+
/* @__PURE__ */ jsx41(TableHeader, { style: { gridTemplateColumns: gridTemplateColumns2 }, children: columns?.map(({ id, label, as, hidden, width, ...columnProps }) => {
|
|
30749
32431
|
if (hidden) {
|
|
30750
32432
|
return null;
|
|
30751
32433
|
}
|
|
30752
32434
|
return /* @__PURE__ */ createElement8(TableColumn, { ...columnProps, key: id, id }, label);
|
|
30753
32435
|
}) }),
|
|
30754
|
-
/* @__PURE__ */
|
|
30755
|
-
return /* @__PURE__ */
|
|
32436
|
+
/* @__PURE__ */ jsx41(TableBody, { children: items.map((row, index) => {
|
|
32437
|
+
return /* @__PURE__ */ jsx41(TableRow, { style: { gridTemplateColumns: gridTemplateColumns2 }, children: columns?.map(({ id, as, hidden, className: className2, children: children2, ...cellProps }) => {
|
|
30756
32438
|
if (hidden) {
|
|
30757
32439
|
return null;
|
|
30758
32440
|
}
|
|
@@ -30762,7 +32444,7 @@ function DataTable({ data = [], className, children, ...props }) {
|
|
|
30762
32444
|
{
|
|
30763
32445
|
...cellProps,
|
|
30764
32446
|
key: id,
|
|
30765
|
-
className: (0,
|
|
32447
|
+
className: (0, import_classnames27.default)(DataTable_default.cell, className2)
|
|
30766
32448
|
},
|
|
30767
32449
|
as ? createElement7(as, {}, value) : value
|
|
30768
32450
|
);
|
|
@@ -30775,40 +32457,40 @@ function DataColumn(props) {
|
|
|
30775
32457
|
}
|
|
30776
32458
|
|
|
30777
32459
|
// src/components/Dots.tsx
|
|
30778
|
-
var
|
|
32460
|
+
var import_classnames28 = __toESM(require_classnames());
|
|
30779
32461
|
|
|
30780
32462
|
// css-modules:E:\dev\umami-react-zen\src\components\Dots.module.css
|
|
30781
32463
|
var Dots_default = { "dots": "Dots_dots__ZjI3Y", "size-sm": "Dots_size-sm__ZTRjY", "size-md": "Dots_size-md__MmRkZ", "size-lg": "Dots_size-lg__MGJmY", "dot": "Dots_dot__ZDRiM", "dots-blink": "Dots_dots-blink__MWU4Z" };
|
|
30782
32464
|
|
|
30783
32465
|
// src/components/Dots.tsx
|
|
30784
|
-
import { jsx as
|
|
32466
|
+
import { jsx as jsx42, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
30785
32467
|
function Dots({ size = "md", className, ...props }) {
|
|
30786
|
-
return /* @__PURE__ */
|
|
30787
|
-
/* @__PURE__ */
|
|
30788
|
-
/* @__PURE__ */
|
|
30789
|
-
/* @__PURE__ */
|
|
32468
|
+
return /* @__PURE__ */ jsxs23("div", { ...props, className: (0, import_classnames28.default)(Dots_default.dots, className, Dots_default[`size-${size}`]), children: [
|
|
32469
|
+
/* @__PURE__ */ jsx42("div", { className: Dots_default.dot }),
|
|
32470
|
+
/* @__PURE__ */ jsx42("div", { className: Dots_default.dot }),
|
|
32471
|
+
/* @__PURE__ */ jsx42("div", { className: Dots_default.dot })
|
|
30790
32472
|
] });
|
|
30791
32473
|
}
|
|
30792
32474
|
|
|
30793
32475
|
// src/components/FloatingTooltip.tsx
|
|
30794
|
-
var
|
|
32476
|
+
var import_classnames30 = __toESM(require_classnames());
|
|
30795
32477
|
import { useEffect as useEffect10, useState as useState11 } from "react";
|
|
30796
32478
|
|
|
30797
32479
|
// src/components/Tooltip.tsx
|
|
30798
|
-
var
|
|
32480
|
+
var import_classnames29 = __toESM(require_classnames());
|
|
30799
32481
|
|
|
30800
32482
|
// css-modules:E:\dev\umami-react-zen\src\components\Tooltip.module.css
|
|
30801
32483
|
var Tooltip_default = { "tooltip": "Tooltip_tooltip__YmY4Z", "bubble": "Tooltip_bubble__MWE0N", "arrow": "Tooltip_arrow__OGM1M", "slide": "Tooltip_slide__MGVmY" };
|
|
30802
32484
|
|
|
30803
32485
|
// src/components/Tooltip.tsx
|
|
30804
|
-
import { jsx as
|
|
32486
|
+
import { jsx as jsx43, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
30805
32487
|
function Tooltip2({ children, className, showArrow, ...props }) {
|
|
30806
|
-
return /* @__PURE__ */
|
|
32488
|
+
return /* @__PURE__ */ jsx43($4e3b923658d69c60$export$28c660c63b792dea, { ...props, className: (0, import_classnames29.default)(Tooltip_default.tooltip, className), children: /* @__PURE__ */ jsx43(TooltipBubble, { showArrow, children }) });
|
|
30807
32489
|
}
|
|
30808
32490
|
function TooltipBubble({ showArrow, children, ...props }) {
|
|
30809
|
-
return /* @__PURE__ */
|
|
30810
|
-
showArrow && /* @__PURE__ */
|
|
30811
|
-
/* @__PURE__ */
|
|
32491
|
+
return /* @__PURE__ */ jsxs24("div", { ...props, children: [
|
|
32492
|
+
showArrow && /* @__PURE__ */ jsx43($44f671af83e7d9e0$export$746d02f47f4d381, { className: Tooltip_default.arrow, children: /* @__PURE__ */ jsx43("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ jsx43("path", { d: "M0 0 L4 4 L8 0" }) }) }),
|
|
32493
|
+
/* @__PURE__ */ jsx43("div", { className: Tooltip_default.bubble, children })
|
|
30812
32494
|
] });
|
|
30813
32495
|
}
|
|
30814
32496
|
|
|
@@ -30816,7 +32498,7 @@ function TooltipBubble({ showArrow, children, ...props }) {
|
|
|
30816
32498
|
var FloatingTooltip_default = { "floating": "FloatingTooltip_floating__ZjM4N" };
|
|
30817
32499
|
|
|
30818
32500
|
// src/components/FloatingTooltip.tsx
|
|
30819
|
-
import { jsx as
|
|
32501
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
30820
32502
|
function FloatingTooltip({ className, style, children, ...props }) {
|
|
30821
32503
|
const [position, setPosition] = useState11({ x: -1e3, y: -1e3 });
|
|
30822
32504
|
useEffect10(() => {
|
|
@@ -30828,11 +32510,11 @@ function FloatingTooltip({ className, style, children, ...props }) {
|
|
|
30828
32510
|
document.removeEventListener("mousemove", handler);
|
|
30829
32511
|
};
|
|
30830
32512
|
}, []);
|
|
30831
|
-
return /* @__PURE__ */
|
|
32513
|
+
return /* @__PURE__ */ jsx44(
|
|
30832
32514
|
TooltipBubble,
|
|
30833
32515
|
{
|
|
30834
32516
|
...props,
|
|
30835
|
-
className: (0,
|
|
32517
|
+
className: (0, import_classnames30.default)(FloatingTooltip_default.floating, className, "BALLLLSSSS"),
|
|
30836
32518
|
style: { ...style, left: position.x, top: position.y },
|
|
30837
32519
|
children
|
|
30838
32520
|
}
|
|
@@ -30840,8 +32522,8 @@ function FloatingTooltip({ className, style, children, ...props }) {
|
|
|
30840
32522
|
}
|
|
30841
32523
|
|
|
30842
32524
|
// src/components/Grid.tsx
|
|
30843
|
-
var
|
|
30844
|
-
import { jsx as
|
|
32525
|
+
var import_classnames31 = __toESM(require_classnames());
|
|
32526
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
30845
32527
|
function Grid({
|
|
30846
32528
|
display = "grid",
|
|
30847
32529
|
justifyContent,
|
|
@@ -30874,17 +32556,17 @@ function Grid({
|
|
|
30874
32556
|
gridTemplateAreas: areas,
|
|
30875
32557
|
gridAutoFlow: autoFlow
|
|
30876
32558
|
});
|
|
30877
|
-
return /* @__PURE__ */
|
|
32559
|
+
return /* @__PURE__ */ jsx45(Box, { ...props, className: (0, import_classnames31.default)(className, classes), style: { ...styleProps, ...style }, children });
|
|
30878
32560
|
}
|
|
30879
32561
|
|
|
30880
32562
|
// src/components/Heading.tsx
|
|
30881
|
-
var
|
|
32563
|
+
var import_classnames32 = __toESM(require_classnames());
|
|
30882
32564
|
|
|
30883
32565
|
// css-modules:E:\dev\umami-react-zen\src\components\Heading.module.css
|
|
30884
32566
|
var Heading_default = { "heading": "Heading_heading__MGIyZ" };
|
|
30885
32567
|
|
|
30886
32568
|
// src/components/Heading.tsx
|
|
30887
|
-
import { jsx as
|
|
32569
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
30888
32570
|
function Heading2({
|
|
30889
32571
|
size = "3",
|
|
30890
32572
|
weight,
|
|
@@ -30901,11 +32583,11 @@ function Heading2({
|
|
|
30901
32583
|
fontWeight: weight,
|
|
30902
32584
|
letterSpacing: spacing
|
|
30903
32585
|
});
|
|
30904
|
-
return /* @__PURE__ */
|
|
32586
|
+
return /* @__PURE__ */ jsx46(
|
|
30905
32587
|
Box,
|
|
30906
32588
|
{
|
|
30907
32589
|
...props,
|
|
30908
|
-
className: (0,
|
|
32590
|
+
className: (0, import_classnames32.default)(Heading_default.heading, className, classes),
|
|
30909
32591
|
style: { ...styleProps, ...style },
|
|
30910
32592
|
children
|
|
30911
32593
|
}
|
|
@@ -30919,7 +32601,7 @@ import { useRef as useRef8, useState as useState12, useEffect as useEffect11 } f
|
|
|
30919
32601
|
var HoverTrigger_default = { "wrapper": "HoverTrigger_wrapper__NGFlN" };
|
|
30920
32602
|
|
|
30921
32603
|
// src/components/HoverTrigger.tsx
|
|
30922
|
-
import { Fragment as
|
|
32604
|
+
import { Fragment as Fragment8, jsx as jsx47, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
30923
32605
|
var CLOSE_DELAY = 500;
|
|
30924
32606
|
function HoverTrigger({
|
|
30925
32607
|
isOpen,
|
|
@@ -30970,9 +32652,9 @@ function HoverTrigger({
|
|
|
30970
32652
|
}
|
|
30971
32653
|
}, closeDelay);
|
|
30972
32654
|
};
|
|
30973
|
-
return /* @__PURE__ */
|
|
30974
|
-
/* @__PURE__ */
|
|
30975
|
-
/* @__PURE__ */
|
|
32655
|
+
return /* @__PURE__ */ jsxs25(Fragment8, { children: [
|
|
32656
|
+
/* @__PURE__ */ jsx47("div", { ref: triggerRef, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, children: triggerElement }),
|
|
32657
|
+
/* @__PURE__ */ jsx47(Popover2, { isOpen: open, isNonModal: true, triggerRef, children: /* @__PURE__ */ jsx47(
|
|
30976
32658
|
"div",
|
|
30977
32659
|
{
|
|
30978
32660
|
className: HoverTrigger_default.wrapper,
|
|
@@ -30985,13 +32667,13 @@ function HoverTrigger({
|
|
|
30985
32667
|
}
|
|
30986
32668
|
|
|
30987
32669
|
// src/components/Image.tsx
|
|
30988
|
-
var
|
|
32670
|
+
var import_classnames33 = __toESM(require_classnames());
|
|
30989
32671
|
|
|
30990
32672
|
// css-modules:E:\dev\umami-react-zen\src\components\Image.module.css
|
|
30991
32673
|
var Image_default = { "image": "Image_image__M2EyN", "centered": "Image_centered__ZDFhM", "fill": "Image_fill__YWJhZ", "contain": "Image_contain__ZjAyN", "cover": "Image_cover__ODA4Y", "none": "Image_none__YTdiZ", "scale-down": "Image_scale-down__ODNlN" };
|
|
30992
32674
|
|
|
30993
32675
|
// src/components/Image.tsx
|
|
30994
|
-
import { jsx as
|
|
32676
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
30995
32677
|
function Image({
|
|
30996
32678
|
src,
|
|
30997
32679
|
alt,
|
|
@@ -31004,11 +32686,11 @@ function Image({
|
|
|
31004
32686
|
...props
|
|
31005
32687
|
}) {
|
|
31006
32688
|
const [classes, styleProps] = useDesignProps({ borderRadius, shadow });
|
|
31007
|
-
return /* @__PURE__ */
|
|
32689
|
+
return /* @__PURE__ */ jsx48(
|
|
31008
32690
|
"img",
|
|
31009
32691
|
{
|
|
31010
32692
|
...props,
|
|
31011
|
-
className: (0,
|
|
32693
|
+
className: (0, import_classnames33.default)(
|
|
31012
32694
|
Image_default.image,
|
|
31013
32695
|
className,
|
|
31014
32696
|
classes,
|
|
@@ -31024,14 +32706,14 @@ function Image({
|
|
|
31024
32706
|
}
|
|
31025
32707
|
|
|
31026
32708
|
// src/components/InlineEditField.tsx
|
|
31027
|
-
var
|
|
32709
|
+
var import_classnames34 = __toESM(require_classnames());
|
|
31028
32710
|
import { useState as useState13, useCallback as useCallback2 } from "react";
|
|
31029
32711
|
|
|
31030
32712
|
// css-modules:E:\dev\umami-react-zen\src\components\InlineEditField.module.css
|
|
31031
32713
|
var InlineEditField_default = { "edit": "InlineEditField_edit__MDliZ", "icon": "InlineEditField_icon__ZjE1O" };
|
|
31032
32714
|
|
|
31033
32715
|
// src/components/InlineEditField.tsx
|
|
31034
|
-
import { jsx as
|
|
32716
|
+
import { jsx as jsx49, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
31035
32717
|
function InlineEditField({
|
|
31036
32718
|
name = "",
|
|
31037
32719
|
value: defaultValue = "",
|
|
@@ -31067,17 +32749,17 @@ function InlineEditField({
|
|
|
31067
32749
|
handleCancel();
|
|
31068
32750
|
}
|
|
31069
32751
|
};
|
|
31070
|
-
return /* @__PURE__ */
|
|
32752
|
+
return /* @__PURE__ */ jsxs26(
|
|
31071
32753
|
"div",
|
|
31072
32754
|
{
|
|
31073
32755
|
"aria-label": "Edit",
|
|
31074
32756
|
...props,
|
|
31075
|
-
className: (0,
|
|
32757
|
+
className: (0, import_classnames34.default)(InlineEditField_default.edit, className),
|
|
31076
32758
|
onClick: handleEdit,
|
|
31077
32759
|
children: [
|
|
31078
32760
|
!edit && children,
|
|
31079
|
-
!edit && /* @__PURE__ */
|
|
31080
|
-
edit && /* @__PURE__ */
|
|
32761
|
+
!edit && /* @__PURE__ */ jsx49(Icon2, { className: InlineEditField_default.icon, children: /* @__PURE__ */ jsx49(SquarePen, {}) }),
|
|
32762
|
+
edit && /* @__PURE__ */ jsx49(
|
|
31081
32763
|
TextField2,
|
|
31082
32764
|
{
|
|
31083
32765
|
name,
|
|
@@ -31093,187 +32775,57 @@ function InlineEditField({
|
|
|
31093
32775
|
);
|
|
31094
32776
|
}
|
|
31095
32777
|
|
|
31096
|
-
// src/components/List.tsx
|
|
31097
|
-
import { Fragment as Fragment7 } from "react";
|
|
31098
|
-
var import_classnames33 = __toESM(require_classnames());
|
|
31099
|
-
|
|
31100
|
-
// src/lib/constants.ts
|
|
31101
|
-
var ACCENT_COLORS = [
|
|
31102
|
-
"gray",
|
|
31103
|
-
"gold",
|
|
31104
|
-
"bronze",
|
|
31105
|
-
"brown",
|
|
31106
|
-
"yellow",
|
|
31107
|
-
"amber",
|
|
31108
|
-
"orange",
|
|
31109
|
-
"tomato",
|
|
31110
|
-
"red",
|
|
31111
|
-
"ruby",
|
|
31112
|
-
"crimson",
|
|
31113
|
-
"pink",
|
|
31114
|
-
"plum",
|
|
31115
|
-
"purple",
|
|
31116
|
-
"violet",
|
|
31117
|
-
"iris",
|
|
31118
|
-
"indigo",
|
|
31119
|
-
"blue",
|
|
31120
|
-
"cyan",
|
|
31121
|
-
"teal",
|
|
31122
|
-
"jade",
|
|
31123
|
-
"green",
|
|
31124
|
-
"grass",
|
|
31125
|
-
"lime",
|
|
31126
|
-
"mint",
|
|
31127
|
-
"sky"
|
|
31128
|
-
];
|
|
31129
|
-
|
|
31130
|
-
// src/lib/styles.ts
|
|
31131
|
-
function getHighlightColor(color) {
|
|
31132
|
-
if (!color) return;
|
|
31133
|
-
if (/\d+/.test(color)) {
|
|
31134
|
-
return { "--highlight-color": `var(--base-color-${color})` };
|
|
31135
|
-
} else if (ACCENT_COLORS.includes(color)) {
|
|
31136
|
-
return { "--highlight-color": `var(--accent-color-${color})` };
|
|
31137
|
-
}
|
|
31138
|
-
return { "--highlight-color": color };
|
|
31139
|
-
}
|
|
31140
|
-
|
|
31141
|
-
// css-modules:E:\dev\umami-react-zen\src\components\List.module.css
|
|
31142
|
-
var List_default = { "list": "List_list__ZTRlN", "separator": "List_separator__ODIwN", "section": "List_section__MzJmN", "header": "List_header__MzRmM", "item": "List_item__ODM4N", "checkmark": "List_checkmark__NzY1N", "hideCheckmark": "List_hideCheckmark__NDhmN" };
|
|
31143
|
-
|
|
31144
|
-
// src/components/List.tsx
|
|
31145
|
-
import { Fragment as Fragment8, jsx as jsx48, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
31146
|
-
function List({
|
|
31147
|
-
items,
|
|
31148
|
-
idProperty = "id",
|
|
31149
|
-
labelProperty = "label",
|
|
31150
|
-
separatorProperty = "separatpr",
|
|
31151
|
-
highlightColor,
|
|
31152
|
-
showCheckmark = true,
|
|
31153
|
-
label,
|
|
31154
|
-
value,
|
|
31155
|
-
onChange,
|
|
31156
|
-
className,
|
|
31157
|
-
selectedKeys,
|
|
31158
|
-
defaultSelectedKeys,
|
|
31159
|
-
onSelectionChange,
|
|
31160
|
-
style,
|
|
31161
|
-
children,
|
|
31162
|
-
...props
|
|
31163
|
-
}) {
|
|
31164
|
-
const handleSelectionChange = (keys) => {
|
|
31165
|
-
onSelectionChange?.(keys);
|
|
31166
|
-
if (keys !== "all") {
|
|
31167
|
-
onChange?.([...keys].map(String));
|
|
31168
|
-
}
|
|
31169
|
-
};
|
|
31170
|
-
return /* @__PURE__ */ jsxs25(Fragment8, { children: [
|
|
31171
|
-
label && /* @__PURE__ */ jsx48(Label2, { children: label }),
|
|
31172
|
-
/* @__PURE__ */ jsx48(
|
|
31173
|
-
$eed445e0843c11d0$export$41f133550aa26f48,
|
|
31174
|
-
{
|
|
31175
|
-
"aria-label": "list",
|
|
31176
|
-
...props,
|
|
31177
|
-
selectedKeys: value || selectedKeys,
|
|
31178
|
-
defaultSelectedKeys: value || defaultSelectedKeys,
|
|
31179
|
-
items,
|
|
31180
|
-
className: (0, import_classnames33.default)(List_default.list, className, !showCheckmark && List_default.hideCheckmark),
|
|
31181
|
-
onSelectionChange: handleSelectionChange,
|
|
31182
|
-
style: { ...style, ...getHighlightColor(highlightColor) },
|
|
31183
|
-
children: children || items?.map((item) => {
|
|
31184
|
-
const id = item[idProperty] || item.toString();
|
|
31185
|
-
const label2 = item[labelProperty] || item.toString();
|
|
31186
|
-
return /* @__PURE__ */ jsxs25(Fragment7, { children: [
|
|
31187
|
-
item[separatorProperty] && /* @__PURE__ */ jsx48($431f98aba6844401$export$1ff3c3f08ae963c0, { className: List_default.separator }),
|
|
31188
|
-
/* @__PURE__ */ jsx48(ListItem, { id, className: List_default.item, children: label2 })
|
|
31189
|
-
] }, id);
|
|
31190
|
-
})
|
|
31191
|
-
}
|
|
31192
|
-
)
|
|
31193
|
-
] });
|
|
31194
|
-
}
|
|
31195
|
-
function ListItem({
|
|
31196
|
-
id,
|
|
31197
|
-
children,
|
|
31198
|
-
className,
|
|
31199
|
-
showCheckmark = true,
|
|
31200
|
-
...props
|
|
31201
|
-
}) {
|
|
31202
|
-
return /* @__PURE__ */ jsxs25(
|
|
31203
|
-
$eed445e0843c11d0$export$a11e76429ed99b4,
|
|
31204
|
-
{
|
|
31205
|
-
...props,
|
|
31206
|
-
id,
|
|
31207
|
-
className: (0, import_classnames33.default)(List_default.item, className),
|
|
31208
|
-
textValue: typeof children === "string" ? children : id?.toString(),
|
|
31209
|
-
children: [
|
|
31210
|
-
children,
|
|
31211
|
-
showCheckmark && /* @__PURE__ */ jsx48(Icon2, { "aria-hidden": "true", className: List_default.checkmark, children: /* @__PURE__ */ jsx48(Check, {}) })
|
|
31212
|
-
]
|
|
31213
|
-
}
|
|
31214
|
-
);
|
|
31215
|
-
}
|
|
31216
|
-
function ListSeparator({ className, ...props }) {
|
|
31217
|
-
return /* @__PURE__ */ jsx48($431f98aba6844401$export$1ff3c3f08ae963c0, { ...props, className: (0, import_classnames33.default)(List_default.separator, className) });
|
|
31218
|
-
}
|
|
31219
|
-
function ListSection({ title, className, children, ...props }) {
|
|
31220
|
-
return /* @__PURE__ */ jsxs25($eed445e0843c11d0$export$dca12b0bb56e4fc, { ...props, className: (0, import_classnames33.default)(List_default.section, className), children: [
|
|
31221
|
-
title && /* @__PURE__ */ jsx48($72a5793c14baf454$export$8b251419efc915eb, { className: List_default.header, children: title }),
|
|
31222
|
-
children
|
|
31223
|
-
] });
|
|
31224
|
-
}
|
|
31225
|
-
|
|
31226
32778
|
// src/components/Loading.tsx
|
|
31227
|
-
var
|
|
32779
|
+
var import_classnames35 = __toESM(require_classnames());
|
|
31228
32780
|
|
|
31229
32781
|
// css-modules:E:\dev\umami-react-zen\src\components\Loading.module.css
|
|
31230
32782
|
var Loading_default = { "loading": "Loading_loading__MzE0Y", "page": "Loading_page__OWMxN", "center": "Loading_center__ZWRmO", "inline": "Loading_inline__NmJkY" };
|
|
31231
32783
|
|
|
31232
32784
|
// src/components/Loading.tsx
|
|
31233
|
-
import { jsx as
|
|
32785
|
+
import { jsx as jsx50, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
31234
32786
|
function Loading(props) {
|
|
31235
32787
|
const { size, position = "inline", icon = "spinner", className, ...domProps } = props;
|
|
31236
|
-
return /* @__PURE__ */
|
|
31237
|
-
icon === "dots" && /* @__PURE__ */
|
|
31238
|
-
icon === "spinner" && /* @__PURE__ */
|
|
32788
|
+
return /* @__PURE__ */ jsxs27("div", { ...domProps, className: (0, import_classnames35.default)(Loading_default.loading, className, Loading_default[position]), children: [
|
|
32789
|
+
icon === "dots" && /* @__PURE__ */ jsx50(Dots, {}),
|
|
32790
|
+
icon === "spinner" && /* @__PURE__ */ jsx50(Spinner, { size })
|
|
31239
32791
|
] });
|
|
31240
32792
|
}
|
|
31241
32793
|
|
|
31242
32794
|
// src/components/Menu.tsx
|
|
31243
|
-
var
|
|
32795
|
+
var import_classnames36 = __toESM(require_classnames());
|
|
31244
32796
|
|
|
31245
32797
|
// css-modules:E:\dev\umami-react-zen\src\components\Menu.module.css
|
|
31246
32798
|
var Menu_default = { "menu": "Menu_menu__MWEwZ", "separator": "Menu_separator__ZmYwZ", "section": "Menu_section__MWFlM", "header": "Menu_header__M2FkN", "item": "Menu_item__YTEzN", "checkmark": "Menu_checkmark__NTY2M", "hideCheckmark": "Menu_hideCheckmark__MjdhO" };
|
|
31247
32799
|
|
|
31248
32800
|
// src/components/Menu.tsx
|
|
31249
|
-
import { jsx as
|
|
32801
|
+
import { jsx as jsx51, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
31250
32802
|
function Menu2({ className, children, ...props }) {
|
|
31251
|
-
return /* @__PURE__ */
|
|
32803
|
+
return /* @__PURE__ */ jsx51($3674c52c6b3c5bce$export$d9b273488cd8ce6f, { ...props, className: (0, import_classnames36.default)(Menu_default.menu, className), children });
|
|
31252
32804
|
}
|
|
31253
32805
|
function MenuItem2({ showChecked = true, children, className, ...props }) {
|
|
31254
|
-
return /* @__PURE__ */
|
|
32806
|
+
return /* @__PURE__ */ jsxs28($3674c52c6b3c5bce$export$2ce376c2cc3355c8, { ...props, className: (0, import_classnames36.default)(Menu_default.item, className), children: [
|
|
31255
32807
|
children,
|
|
31256
|
-
showChecked && /* @__PURE__ */
|
|
32808
|
+
showChecked && /* @__PURE__ */ jsx51("div", { "aria-hidden": "true", className: Menu_default.checkmark, children: /* @__PURE__ */ jsx51(Icon2, { children: /* @__PURE__ */ jsx51(Check, {}) }) })
|
|
31257
32809
|
] });
|
|
31258
32810
|
}
|
|
31259
32811
|
function MenuSeparator({ className, ...props }) {
|
|
31260
|
-
return /* @__PURE__ */
|
|
32812
|
+
return /* @__PURE__ */ jsx51($431f98aba6844401$export$1ff3c3f08ae963c0, { ...props, className: (0, import_classnames36.default)(Menu_default.separator, className) });
|
|
31261
32813
|
}
|
|
31262
32814
|
function MenuSection({ title, className, children, ...props }) {
|
|
31263
|
-
return /* @__PURE__ */
|
|
31264
|
-
title && /* @__PURE__ */
|
|
32815
|
+
return /* @__PURE__ */ jsxs28($3674c52c6b3c5bce$export$4b1545b4f2016d26, { ...props, className: (0, import_classnames36.default)(Menu_default.section, className), children: [
|
|
32816
|
+
title && /* @__PURE__ */ jsx51($72a5793c14baf454$export$8b251419efc915eb, { className: Menu_default.header, children: title }),
|
|
31265
32817
|
children
|
|
31266
32818
|
] });
|
|
31267
32819
|
}
|
|
31268
32820
|
|
|
31269
32821
|
// src/components/Modal.tsx
|
|
31270
|
-
var
|
|
32822
|
+
var import_classnames37 = __toESM(require_classnames());
|
|
31271
32823
|
|
|
31272
32824
|
// css-modules:E:\dev\umami-react-zen\src\components\Modal.module.css
|
|
31273
32825
|
var Modal_default = { "overlay": "Modal_overlay__MzBhO", "modal-fade-in": "Modal_modal-fade-in__OTcxN", "modal": "Modal_modal__YTU3M", "left": "Modal_left__ZDU0O", "right": "Modal_right__MGFhO", "top": "Modal_top__OTY4M", "bottom": "Modal_bottom__NjY4N", "fullscreen": "Modal_fullscreen__YTNkZ", "center": "Modal_center__ZTViM", "modal-zoom": "Modal_modal-zoom__MjY4Y", "modal-left": "Modal_modal-left__YTc0N", "modal-right": "Modal_modal-right__MWY0Z", "modal-top": "Modal_modal-top__OTQ2M", "modal-bottom": "Modal_modal-bottom__NDlkZ" };
|
|
31274
32826
|
|
|
31275
32827
|
// src/components/Modal.tsx
|
|
31276
|
-
import { jsx as
|
|
32828
|
+
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
31277
32829
|
function Modal2({
|
|
31278
32830
|
position = "center",
|
|
31279
32831
|
offset,
|
|
@@ -31285,11 +32837,11 @@ function Modal2({
|
|
|
31285
32837
|
if (offset) {
|
|
31286
32838
|
style[`--modal-offset`] = offset;
|
|
31287
32839
|
}
|
|
31288
|
-
return /* @__PURE__ */
|
|
32840
|
+
return /* @__PURE__ */ jsx52($f3f84453ead64de5$export$8948f78d83984c69, { ...props, className: Modal_default.overlay, style, isDismissable: true, children: /* @__PURE__ */ jsx52($f3f84453ead64de5$export$2b77a92f1a5ad772, { className: (0, import_classnames37.default)(Modal_default.modal, position && Modal_default[position], className), children }) });
|
|
31289
32841
|
}
|
|
31290
32842
|
|
|
31291
32843
|
// src/components/Navbar.tsx
|
|
31292
|
-
var
|
|
32844
|
+
var import_classnames38 = __toESM(require_classnames());
|
|
31293
32845
|
import {
|
|
31294
32846
|
createContext as createContext3,
|
|
31295
32847
|
useContext as useContext5,
|
|
@@ -31300,7 +32852,7 @@ import {
|
|
|
31300
32852
|
var Navbar_default = { "nav": "Navbar_nav__ZjEwM", "item": "Navbar_item__MWVhZ", "icon": "Navbar_icon__ZmM1N" };
|
|
31301
32853
|
|
|
31302
32854
|
// src/components/Navbar.tsx
|
|
31303
|
-
import { jsx as
|
|
32855
|
+
import { jsx as jsx53, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
31304
32856
|
var NavbarContext = createContext3(void 0);
|
|
31305
32857
|
var useNavigationContext = () => {
|
|
31306
32858
|
const context = useContext5(NavbarContext);
|
|
@@ -31311,31 +32863,31 @@ var useNavigationContext = () => {
|
|
|
31311
32863
|
};
|
|
31312
32864
|
function Navbar({ showArrow = true, className, children, ...props }) {
|
|
31313
32865
|
const [activeMenu, setActiveMenu] = useState14("");
|
|
31314
|
-
return /* @__PURE__ */
|
|
32866
|
+
return /* @__PURE__ */ jsx53(NavbarContext.Provider, { value: { activeMenu, setActiveMenu }, children: /* @__PURE__ */ jsx53("div", { ...props, className: (0, import_classnames38.default)(Navbar_default.nav, className), children }) });
|
|
31315
32867
|
}
|
|
31316
32868
|
function NavbarItem({ label, children, className, ...props }) {
|
|
31317
32869
|
const { activeMenu, setActiveMenu } = useNavigationContext();
|
|
31318
32870
|
if (label) {
|
|
31319
|
-
return /* @__PURE__ */
|
|
31320
|
-
/* @__PURE__ */
|
|
31321
|
-
/* @__PURE__ */
|
|
31322
|
-
/* @__PURE__ */
|
|
32871
|
+
return /* @__PURE__ */ jsxs29(HoverTrigger, { isOpen: activeMenu === label, onHoverStart: () => setActiveMenu(label), children: [
|
|
32872
|
+
/* @__PURE__ */ jsxs29("div", { ...props, className: (0, import_classnames38.default)(Navbar_default.item, className), children: [
|
|
32873
|
+
/* @__PURE__ */ jsx53(Text, { children: label }),
|
|
32874
|
+
/* @__PURE__ */ jsx53(Icon2, { rotate: 90, size: "sm", className: Navbar_default.icon, children: /* @__PURE__ */ jsx53(ChevronRight, {}) })
|
|
31323
32875
|
] }),
|
|
31324
32876
|
children
|
|
31325
32877
|
] });
|
|
31326
32878
|
}
|
|
31327
|
-
return /* @__PURE__ */
|
|
32879
|
+
return /* @__PURE__ */ jsx53("div", { ...props, className: (0, import_classnames38.default)(Navbar_default.item, className), children });
|
|
31328
32880
|
}
|
|
31329
32881
|
|
|
31330
32882
|
// src/components/NavMenu.tsx
|
|
31331
|
-
var
|
|
32883
|
+
var import_classnames39 = __toESM(require_classnames());
|
|
31332
32884
|
import { createContext as createContext4, useContext as useContext6, useState as useState15 } from "react";
|
|
31333
32885
|
|
|
31334
32886
|
// css-modules:E:\dev\umami-react-zen\src\components\NavMenu.module.css
|
|
31335
32887
|
var NavMenu_default = { "navmenu": "NavMenu_navmenu__ZjAzZ", "item": "NavMenu_item__NTZiZ", "selected": "NavMenu_selected__MDM5Y", "muted": "NavMenu_muted__MjU2M", "title": "NavMenu_title__ZWU2Z" };
|
|
31336
32888
|
|
|
31337
32889
|
// src/components/NavMenu.tsx
|
|
31338
|
-
import { jsx as
|
|
32890
|
+
import { jsx as jsx54, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
31339
32891
|
var NavMenuContext = createContext4(null);
|
|
31340
32892
|
function NavMenu({
|
|
31341
32893
|
itemBackgroundColor = "2",
|
|
@@ -31345,11 +32897,11 @@ function NavMenu({
|
|
|
31345
32897
|
children,
|
|
31346
32898
|
...props
|
|
31347
32899
|
}) {
|
|
31348
|
-
return /* @__PURE__ */
|
|
32900
|
+
return /* @__PURE__ */ jsx54(NavMenuContext.Provider, { value: { itemBackgroundColor }, children: /* @__PURE__ */ jsx54(
|
|
31349
32901
|
Column,
|
|
31350
32902
|
{
|
|
31351
32903
|
...props,
|
|
31352
|
-
className: (0,
|
|
32904
|
+
className: (0, import_classnames39.default)(NavMenu_default.navmenu, muteItems && NavMenu_default.muted, className),
|
|
31353
32905
|
children
|
|
31354
32906
|
}
|
|
31355
32907
|
) });
|
|
@@ -31369,14 +32921,14 @@ function NavMenuGroup({
|
|
|
31369
32921
|
setMinimized((state) => !state);
|
|
31370
32922
|
}
|
|
31371
32923
|
};
|
|
31372
|
-
return /* @__PURE__ */
|
|
32924
|
+
return /* @__PURE__ */ jsxs30(
|
|
31373
32925
|
Column,
|
|
31374
32926
|
{
|
|
31375
32927
|
...props,
|
|
31376
32928
|
gap,
|
|
31377
|
-
className: (0,
|
|
32929
|
+
className: (0, import_classnames39.default)(className, allowMinimize && minimized && NavMenu_default.minimized),
|
|
31378
32930
|
children: [
|
|
31379
|
-
/* @__PURE__ */
|
|
32931
|
+
/* @__PURE__ */ jsxs30(
|
|
31380
32932
|
Row,
|
|
31381
32933
|
{
|
|
31382
32934
|
className: NavMenu_default.item,
|
|
@@ -31384,8 +32936,8 @@ function NavMenuGroup({
|
|
|
31384
32936
|
justifyContent: "space-between",
|
|
31385
32937
|
onClick: handleClick,
|
|
31386
32938
|
children: [
|
|
31387
|
-
/* @__PURE__ */
|
|
31388
|
-
allowMinimize && /* @__PURE__ */
|
|
32939
|
+
/* @__PURE__ */ jsx54(Text, { className: NavMenu_default.title, children: title }),
|
|
32940
|
+
allowMinimize && /* @__PURE__ */ jsx54(Icon2, { rotate: minimized ? 0 : 90, color: "muted", children: /* @__PURE__ */ jsx54(ChevronRight, {}) })
|
|
31389
32941
|
]
|
|
31390
32942
|
}
|
|
31391
32943
|
),
|
|
@@ -31396,13 +32948,13 @@ function NavMenuGroup({
|
|
|
31396
32948
|
}
|
|
31397
32949
|
function NavMenuItem({ isSelected, className, children, ...props }) {
|
|
31398
32950
|
const { itemBackgroundColor } = useContext6(NavMenuContext);
|
|
31399
|
-
return /* @__PURE__ */
|
|
32951
|
+
return /* @__PURE__ */ jsx54(
|
|
31400
32952
|
Row,
|
|
31401
32953
|
{
|
|
31402
32954
|
...props,
|
|
31403
32955
|
backgroundColor: isSelected && itemBackgroundColor,
|
|
31404
32956
|
hoverBackgroundColor: itemBackgroundColor,
|
|
31405
|
-
className: (0,
|
|
32957
|
+
className: (0, import_classnames39.default)(NavMenu_default.item, className, isSelected && NavMenu_default.selected),
|
|
31406
32958
|
children
|
|
31407
32959
|
}
|
|
31408
32960
|
);
|
|
@@ -31410,67 +32962,67 @@ function NavMenuItem({ isSelected, className, children, ...props }) {
|
|
|
31410
32962
|
|
|
31411
32963
|
// src/components/PasswordField.tsx
|
|
31412
32964
|
import { useState as useState16 } from "react";
|
|
31413
|
-
var
|
|
31414
|
-
import { Fragment as Fragment9, jsx as
|
|
32965
|
+
var import_classnames40 = __toESM(require_classnames());
|
|
32966
|
+
import { Fragment as Fragment9, jsx as jsx55, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
31415
32967
|
function PasswordField({ label, className, ...props }) {
|
|
31416
32968
|
const [show, setShow] = useState16(false);
|
|
31417
32969
|
const type = show ? "text" : "password";
|
|
31418
32970
|
const handleShowPassword = () => setShow((state) => !state);
|
|
31419
|
-
return /* @__PURE__ */
|
|
31420
|
-
label && /* @__PURE__ */
|
|
31421
|
-
/* @__PURE__ */
|
|
31422
|
-
/* @__PURE__ */
|
|
31423
|
-
/* @__PURE__ */
|
|
32971
|
+
return /* @__PURE__ */ jsxs31(Fragment9, { children: [
|
|
32972
|
+
label && /* @__PURE__ */ jsx55(Label2, { children: label }),
|
|
32973
|
+
/* @__PURE__ */ jsxs31($bcdf0525bf22703d$export$2c73285ae9390cec, { "aria-label": "Password", ...props, className: (0, import_classnames40.default)(TextField_default.field, className), children: [
|
|
32974
|
+
/* @__PURE__ */ jsx55($3985021b0ad6602f$export$f5b8910cec6cf069, { type }),
|
|
32975
|
+
/* @__PURE__ */ jsx55(Icon2, { onClick: handleShowPassword, children: show ? /* @__PURE__ */ jsx55(EyeSlash_default, {}) : /* @__PURE__ */ jsx55(Eye_default, {}) })
|
|
31424
32976
|
] })
|
|
31425
32977
|
] });
|
|
31426
32978
|
}
|
|
31427
32979
|
|
|
31428
32980
|
// src/components/Popover.tsx
|
|
31429
|
-
var
|
|
32981
|
+
var import_classnames41 = __toESM(require_classnames());
|
|
31430
32982
|
|
|
31431
32983
|
// css-modules:E:\dev\umami-react-zen\src\components\Popover.module.css
|
|
31432
32984
|
var Popover_default = { "popover": "Popover_popover__YmFhM", "popover-slide": "Popover_popover-slide__OGZjY" };
|
|
31433
32985
|
|
|
31434
32986
|
// src/components/Popover.tsx
|
|
31435
|
-
import { jsx as
|
|
32987
|
+
import { jsx as jsx56 } from "react/jsx-runtime";
|
|
31436
32988
|
function Popover2({ children, className, ...props }) {
|
|
31437
|
-
return /* @__PURE__ */
|
|
32989
|
+
return /* @__PURE__ */ jsx56($07b14b47974efb58$export$5b6b19405a83ff9d, { ...props, className: (0, import_classnames41.default)(Popover_default.popover, className), children });
|
|
31438
32990
|
}
|
|
31439
32991
|
|
|
31440
32992
|
// src/components/ProgressBar.tsx
|
|
31441
|
-
var
|
|
32993
|
+
var import_classnames42 = __toESM(require_classnames());
|
|
31442
32994
|
|
|
31443
32995
|
// css-modules:E:\dev\umami-react-zen\src\components\ProgressBar.module.css
|
|
31444
32996
|
var ProgressBar_default = { "progressbar": "ProgressBar_progressbar__YzdlO", "track": "ProgressBar_track__YzgzY", "fill": "ProgressBar_fill__ZTJlM", "value": "ProgressBar_value__NDk1Z" };
|
|
31445
32997
|
|
|
31446
32998
|
// src/components/ProgressBar.tsx
|
|
31447
|
-
import { Fragment as Fragment10, jsx as
|
|
32999
|
+
import { Fragment as Fragment10, jsx as jsx57, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
31448
33000
|
function ProgressBar2({ className, showPercentage, ...props }) {
|
|
31449
|
-
return /* @__PURE__ */
|
|
31450
|
-
return /* @__PURE__ */
|
|
31451
|
-
/* @__PURE__ */
|
|
31452
|
-
showPercentage && /* @__PURE__ */
|
|
33001
|
+
return /* @__PURE__ */ jsx57($0393f8ab869a0f1a$export$c17561cb55d4db30, { ...props, className: (0, import_classnames42.default)(ProgressBar_default.progressbar, className), children: ({ percentage = 0, valueText }) => {
|
|
33002
|
+
return /* @__PURE__ */ jsxs32(Fragment10, { children: [
|
|
33003
|
+
/* @__PURE__ */ jsx57("div", { className: ProgressBar_default.track, children: /* @__PURE__ */ jsx57("div", { className: ProgressBar_default.fill, style: { width: `${percentage}%` } }) }),
|
|
33004
|
+
showPercentage && /* @__PURE__ */ jsx57("div", { className: ProgressBar_default.value, children: valueText })
|
|
31453
33005
|
] });
|
|
31454
33006
|
} });
|
|
31455
33007
|
}
|
|
31456
33008
|
|
|
31457
33009
|
// src/components/ProgressCircle.tsx
|
|
31458
|
-
var
|
|
33010
|
+
var import_classnames43 = __toESM(require_classnames());
|
|
31459
33011
|
|
|
31460
33012
|
// css-modules:E:\dev\umami-react-zen\src\components\ProgressCircle.module.css
|
|
31461
33013
|
var ProgressCircle_default = { "progresscircle": "ProgressCircle_progresscircle__NGMyY", "track": "ProgressCircle_track__YzY2M", "fill": "ProgressCircle_fill__ZmMzM", "value": "ProgressCircle_value__YjM0Y" };
|
|
31462
33014
|
|
|
31463
33015
|
// src/components/ProgressCircle.tsx
|
|
31464
|
-
import { Fragment as Fragment11, jsx as
|
|
33016
|
+
import { Fragment as Fragment11, jsx as jsx58, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
31465
33017
|
function ProgressCircle({ className, showPercentage, ...props }) {
|
|
31466
|
-
return /* @__PURE__ */
|
|
33018
|
+
return /* @__PURE__ */ jsx58($0393f8ab869a0f1a$export$c17561cb55d4db30, { ...props, className: (0, import_classnames43.default)(ProgressCircle_default.progresscircle, className), children: ({ percentage = 0, valueText }) => {
|
|
31467
33019
|
const radius = 45;
|
|
31468
33020
|
const circumference = radius * 2 * Math.PI;
|
|
31469
33021
|
const offset = circumference - percentage / 100 * circumference;
|
|
31470
|
-
return /* @__PURE__ */
|
|
31471
|
-
/* @__PURE__ */
|
|
31472
|
-
/* @__PURE__ */
|
|
31473
|
-
/* @__PURE__ */
|
|
33022
|
+
return /* @__PURE__ */ jsxs33(Fragment11, { children: [
|
|
33023
|
+
/* @__PURE__ */ jsxs33("svg", { viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
33024
|
+
/* @__PURE__ */ jsx58("circle", { className: ProgressCircle_default.track, cx: "50", cy: "50", r: "45" }),
|
|
33025
|
+
/* @__PURE__ */ jsx58(
|
|
31474
33026
|
"circle",
|
|
31475
33027
|
{
|
|
31476
33028
|
className: ProgressCircle_default.fill,
|
|
@@ -31482,19 +33034,19 @@ function ProgressCircle({ className, showPercentage, ...props }) {
|
|
|
31482
33034
|
}
|
|
31483
33035
|
)
|
|
31484
33036
|
] }),
|
|
31485
|
-
showPercentage && /* @__PURE__ */
|
|
33037
|
+
showPercentage && /* @__PURE__ */ jsx58("label", { className: ProgressCircle_default.value, children: valueText })
|
|
31486
33038
|
] });
|
|
31487
33039
|
} });
|
|
31488
33040
|
}
|
|
31489
33041
|
|
|
31490
33042
|
// src/components/RadioGroup.tsx
|
|
31491
|
-
var
|
|
33043
|
+
var import_classnames44 = __toESM(require_classnames());
|
|
31492
33044
|
|
|
31493
33045
|
// css-modules:E:\dev\umami-react-zen\src\components\RadioGroup.module.css
|
|
31494
33046
|
var RadioGroup_default = { "radiogroup": "RadioGroup_radiogroup__ZjliM", "inputs": "RadioGroup_inputs__NjA4N", "radio": "RadioGroup_radio__MmE2Z", "variant-circle": "RadioGroup_variant-circle__NzliY", "variant-box": "RadioGroup_variant-box__Mjk3N" };
|
|
31495
33047
|
|
|
31496
33048
|
// src/components/RadioGroup.tsx
|
|
31497
|
-
import { jsx as
|
|
33049
|
+
import { jsx as jsx59, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
31498
33050
|
function RadioGroup2({
|
|
31499
33051
|
variant = "circle",
|
|
31500
33052
|
label,
|
|
@@ -31502,27 +33054,27 @@ function RadioGroup2({
|
|
|
31502
33054
|
className,
|
|
31503
33055
|
...props
|
|
31504
33056
|
}) {
|
|
31505
|
-
return /* @__PURE__ */
|
|
33057
|
+
return /* @__PURE__ */ jsxs34(
|
|
31506
33058
|
$b6c3ddc6086f204d$export$a98f0dcb43a68a25,
|
|
31507
33059
|
{
|
|
31508
33060
|
"aria-label": "RadioGroup",
|
|
31509
33061
|
...props,
|
|
31510
|
-
className: (0,
|
|
33062
|
+
className: (0, import_classnames44.default)(RadioGroup_default.radiogroup, RadioGroup_default[`variant-${variant}`], className),
|
|
31511
33063
|
children: [
|
|
31512
|
-
label && /* @__PURE__ */
|
|
31513
|
-
/* @__PURE__ */
|
|
33064
|
+
label && /* @__PURE__ */ jsx59(Label2, { children: label }),
|
|
33065
|
+
/* @__PURE__ */ jsx59("div", { className: RadioGroup_default.inputs, children })
|
|
31514
33066
|
]
|
|
31515
33067
|
}
|
|
31516
33068
|
);
|
|
31517
33069
|
}
|
|
31518
33070
|
function Radio2({ children, className, ...props }) {
|
|
31519
|
-
return /* @__PURE__ */
|
|
33071
|
+
return /* @__PURE__ */ jsx59($b6c3ddc6086f204d$export$d7b12c4107be0d61, { "aria-label": "Radio", ...props, className: (0, import_classnames44.default)(RadioGroup_default.radio, className), children });
|
|
31520
33072
|
}
|
|
31521
33073
|
|
|
31522
33074
|
// src/components/SearchField.tsx
|
|
31523
33075
|
import { useState as useState17, useEffect as useEffect12 } from "react";
|
|
31524
|
-
var
|
|
31525
|
-
import { Fragment as Fragment12, jsx as
|
|
33076
|
+
var import_classnames45 = __toESM(require_classnames());
|
|
33077
|
+
import { Fragment as Fragment12, jsx as jsx60, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
31526
33078
|
function SearchField2({
|
|
31527
33079
|
label,
|
|
31528
33080
|
placeholder,
|
|
@@ -31553,19 +33105,19 @@ function SearchField2({
|
|
|
31553
33105
|
onSearch?.(searchValue);
|
|
31554
33106
|
}
|
|
31555
33107
|
}, [searchValue, delay]);
|
|
31556
|
-
return /* @__PURE__ */
|
|
31557
|
-
label && /* @__PURE__ */
|
|
31558
|
-
/* @__PURE__ */
|
|
33108
|
+
return /* @__PURE__ */ jsxs35(Fragment12, { children: [
|
|
33109
|
+
label && /* @__PURE__ */ jsx60(Label2, { children: label }),
|
|
33110
|
+
/* @__PURE__ */ jsxs35(
|
|
31559
33111
|
$440f4836bcb56932$export$b94867ecbd698f21,
|
|
31560
33112
|
{
|
|
31561
33113
|
"aria-label": "Search",
|
|
31562
33114
|
...props,
|
|
31563
|
-
className: (0,
|
|
33115
|
+
className: (0, import_classnames45.default)(TextField_default.field, className),
|
|
31564
33116
|
onChange: handleChange,
|
|
31565
33117
|
children: [
|
|
31566
|
-
/* @__PURE__ */
|
|
31567
|
-
/* @__PURE__ */
|
|
31568
|
-
search && /* @__PURE__ */
|
|
33118
|
+
/* @__PURE__ */ jsx60(Icon2, { strokeColor: "8", children: /* @__PURE__ */ jsx60(Search, {}) }),
|
|
33119
|
+
/* @__PURE__ */ jsx60($3985021b0ad6602f$export$f5b8910cec6cf069, { placeholder, value: search }),
|
|
33120
|
+
search && /* @__PURE__ */ jsx60(Icon2, { size: "sm", color: "8", onClick: resetSearch, children: /* @__PURE__ */ jsx60(X, {}) })
|
|
31569
33121
|
]
|
|
31570
33122
|
}
|
|
31571
33123
|
)
|
|
@@ -31574,13 +33126,13 @@ function SearchField2({
|
|
|
31574
33126
|
|
|
31575
33127
|
// src/components/Select.tsx
|
|
31576
33128
|
import { useState as useState18 } from "react";
|
|
31577
|
-
var
|
|
33129
|
+
var import_classnames46 = __toESM(require_classnames());
|
|
31578
33130
|
|
|
31579
33131
|
// css-modules:E:\dev\umami-react-zen\src\components\Select.module.css
|
|
31580
33132
|
var Select_default = { "select": "Select_select__NTRiY", "button": "Select_button__ZTJmY", "value": "Select_value__OWU2Z", "list": "Select_list__NTk4N", "search": "Select_search__YWI3Y" };
|
|
31581
33133
|
|
|
31582
33134
|
// src/components/Select.tsx
|
|
31583
|
-
import { jsx as
|
|
33135
|
+
import { jsx as jsx61, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
31584
33136
|
function Select2({
|
|
31585
33137
|
items = [],
|
|
31586
33138
|
value,
|
|
@@ -31610,31 +33162,34 @@ function Select2({
|
|
|
31610
33162
|
setSearch(value2);
|
|
31611
33163
|
onSearch?.(value2);
|
|
31612
33164
|
};
|
|
31613
|
-
|
|
33165
|
+
const handleOpenChange = () => {
|
|
33166
|
+
setSearch("");
|
|
33167
|
+
};
|
|
33168
|
+
return /* @__PURE__ */ jsxs36(
|
|
31614
33169
|
$82d7e5349645de74$export$ef9b1a59e592288f,
|
|
31615
33170
|
{
|
|
31616
33171
|
"aria-label": "Select",
|
|
31617
33172
|
...props,
|
|
31618
|
-
className: (0,
|
|
33173
|
+
className: (0, import_classnames46.default)(Select_default.select, className),
|
|
31619
33174
|
selectedKey: value,
|
|
31620
33175
|
defaultSelectedKey: defaultValue,
|
|
31621
33176
|
onSelectionChange: handleChange,
|
|
31622
33177
|
children: [
|
|
31623
|
-
label && /* @__PURE__ */
|
|
31624
|
-
/* @__PURE__ */
|
|
33178
|
+
label && /* @__PURE__ */ jsx61(Label2, { children: label }),
|
|
33179
|
+
/* @__PURE__ */ jsx61(
|
|
31625
33180
|
Button2,
|
|
31626
33181
|
{
|
|
31627
33182
|
variant: "outline",
|
|
31628
33183
|
...buttonProps,
|
|
31629
|
-
className: (0,
|
|
31630
|
-
children: /* @__PURE__ */
|
|
31631
|
-
/* @__PURE__ */
|
|
31632
|
-
/* @__PURE__ */
|
|
33184
|
+
className: (0, import_classnames46.default)(Select_default.button, buttonProps?.className),
|
|
33185
|
+
children: /* @__PURE__ */ jsxs36("div", { className: Select_default.value, children: [
|
|
33186
|
+
/* @__PURE__ */ jsx61($82d7e5349645de74$export$e288731fd71264f0, { children: renderValue }),
|
|
33187
|
+
/* @__PURE__ */ jsx61(Icon2, { "aria-hidden": "true", rotate: 90, size: "sm", children: /* @__PURE__ */ jsx61(ChevronRight, {}) })
|
|
31633
33188
|
] })
|
|
31634
33189
|
}
|
|
31635
33190
|
),
|
|
31636
|
-
/* @__PURE__ */
|
|
31637
|
-
allowSearch && /* @__PURE__ */
|
|
33191
|
+
/* @__PURE__ */ jsx61(Popover2, { ...popoverProps, onOpenChange: handleOpenChange, children: /* @__PURE__ */ jsxs36("div", { className: Select_default.list, children: [
|
|
33192
|
+
allowSearch && /* @__PURE__ */ jsx61(
|
|
31638
33193
|
SearchField2,
|
|
31639
33194
|
{
|
|
31640
33195
|
className: Select_default.search,
|
|
@@ -31645,8 +33200,8 @@ function Select2({
|
|
|
31645
33200
|
autoFocus: true
|
|
31646
33201
|
}
|
|
31647
33202
|
),
|
|
31648
|
-
isLoading && /* @__PURE__ */
|
|
31649
|
-
/* @__PURE__ */
|
|
33203
|
+
isLoading && /* @__PURE__ */ jsx61(Loading, { icon: "dots", position: "center", size: "sm" }),
|
|
33204
|
+
/* @__PURE__ */ jsx61(
|
|
31650
33205
|
List,
|
|
31651
33206
|
{
|
|
31652
33207
|
...listProps,
|
|
@@ -31662,14 +33217,14 @@ function Select2({
|
|
|
31662
33217
|
}
|
|
31663
33218
|
|
|
31664
33219
|
// src/components/Sidebar.tsx
|
|
31665
|
-
var
|
|
33220
|
+
var import_classnames47 = __toESM(require_classnames());
|
|
31666
33221
|
import { createContext as createContext5, useContext as useContext7 } from "react";
|
|
31667
33222
|
|
|
31668
33223
|
// css-modules:E:\dev\umami-react-zen\src\components\Sidebar.module.css
|
|
31669
33224
|
var Sidebar_default = { "sidebar": "Sidebar_sidebar__MDdkM", "header": "Sidebar_header__YzgwY", "label": "Sidebar_label__ZWRjN", "section": "Sidebar_section__N2E1Y", "title": "Sidebar_title__ZjM4Z", "content": "Sidebar_content__ZTA1O", "item": "Sidebar_item__ZWVjN", "selected": "Sidebar_selected__NjU5Z", "collapsed": "Sidebar_collapsed__ZGQyN", "muted": "Sidebar_muted__MTI3O", "noborder": "Sidebar_noborder__ZTFmM" };
|
|
31670
33225
|
|
|
31671
33226
|
// src/components/Sidebar.tsx
|
|
31672
|
-
import { jsx as
|
|
33227
|
+
import { jsx as jsx62, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
31673
33228
|
var SidebarContext = createContext5(null);
|
|
31674
33229
|
function Sidebar({
|
|
31675
33230
|
itemBackgroundColor = "2",
|
|
@@ -31680,11 +33235,11 @@ function Sidebar({
|
|
|
31680
33235
|
children,
|
|
31681
33236
|
...props
|
|
31682
33237
|
}) {
|
|
31683
|
-
return /* @__PURE__ */
|
|
33238
|
+
return /* @__PURE__ */ jsx62(SidebarContext.Provider, { value: { isCollapsed, itemBackgroundColor }, children: /* @__PURE__ */ jsx62(
|
|
31684
33239
|
Column,
|
|
31685
33240
|
{
|
|
31686
33241
|
...props,
|
|
31687
|
-
className: (0,
|
|
33242
|
+
className: (0, import_classnames47.default)(
|
|
31688
33243
|
Sidebar_default.sidebar,
|
|
31689
33244
|
isCollapsed && Sidebar_default.collapsed,
|
|
31690
33245
|
muteItems && Sidebar_default.muted,
|
|
@@ -31701,9 +33256,9 @@ function SidebarSection({
|
|
|
31701
33256
|
children,
|
|
31702
33257
|
...props
|
|
31703
33258
|
}) {
|
|
31704
|
-
return /* @__PURE__ */
|
|
31705
|
-
title && /* @__PURE__ */
|
|
31706
|
-
/* @__PURE__ */
|
|
33259
|
+
return /* @__PURE__ */ jsxs37(Column, { ...props, className: (0, import_classnames47.default)(Sidebar_default.section, className), children: [
|
|
33260
|
+
title && /* @__PURE__ */ jsx62("div", { className: Sidebar_default.title, children: title }),
|
|
33261
|
+
/* @__PURE__ */ jsx62("div", { className: Sidebar_default.content, children })
|
|
31707
33262
|
] });
|
|
31708
33263
|
}
|
|
31709
33264
|
function SidebarHeader({
|
|
@@ -31713,9 +33268,9 @@ function SidebarHeader({
|
|
|
31713
33268
|
children,
|
|
31714
33269
|
...props
|
|
31715
33270
|
}) {
|
|
31716
|
-
return /* @__PURE__ */
|
|
31717
|
-
icon && /* @__PURE__ */
|
|
31718
|
-
label && /* @__PURE__ */
|
|
33271
|
+
return /* @__PURE__ */ jsxs37(Row, { ...props, className: (0, import_classnames47.default)(Sidebar_default.header, className), children: [
|
|
33272
|
+
icon && /* @__PURE__ */ jsx62(Icon2, { size: "sm", children: icon }),
|
|
33273
|
+
label && /* @__PURE__ */ jsx62("div", { className: Sidebar_default.label, children: label }),
|
|
31719
33274
|
children
|
|
31720
33275
|
] });
|
|
31721
33276
|
}
|
|
@@ -31728,43 +33283,43 @@ function SidebarItem({
|
|
|
31728
33283
|
...props
|
|
31729
33284
|
}) {
|
|
31730
33285
|
const { isCollapsed, itemBackgroundColor } = useContext7(SidebarContext);
|
|
31731
|
-
return /* @__PURE__ */
|
|
31732
|
-
/* @__PURE__ */
|
|
33286
|
+
return /* @__PURE__ */ jsxs37($4e3b923658d69c60$export$8c610744efcf8a1d, { delay: 0, closeDelay: 0, isDisabled: !isCollapsed, children: [
|
|
33287
|
+
/* @__PURE__ */ jsx62($f645667febf57a63$export$35a3bebf7ef2d934, { children: /* @__PURE__ */ jsxs37(
|
|
31733
33288
|
Row,
|
|
31734
33289
|
{
|
|
31735
33290
|
...props,
|
|
31736
33291
|
backgroundColor: isSelected && itemBackgroundColor,
|
|
31737
33292
|
hoverBackgroundColor: itemBackgroundColor,
|
|
31738
|
-
className: (0,
|
|
33293
|
+
className: (0, import_classnames47.default)(Sidebar_default.item, className, isSelected && Sidebar_default.selected),
|
|
31739
33294
|
children: [
|
|
31740
|
-
icon && /* @__PURE__ */
|
|
31741
|
-
label && /* @__PURE__ */
|
|
33295
|
+
icon && /* @__PURE__ */ jsx62(Icon2, { size: "sm", children: icon }),
|
|
33296
|
+
label && /* @__PURE__ */ jsx62(Text, { className: (0, import_classnames47.default)(Sidebar_default.label), children: label }),
|
|
31742
33297
|
children
|
|
31743
33298
|
]
|
|
31744
33299
|
}
|
|
31745
33300
|
) }),
|
|
31746
|
-
/* @__PURE__ */
|
|
33301
|
+
/* @__PURE__ */ jsx62(Tooltip2, { placement: "right", children: label })
|
|
31747
33302
|
] });
|
|
31748
33303
|
}
|
|
31749
33304
|
|
|
31750
33305
|
// src/components/Slider.tsx
|
|
31751
|
-
var
|
|
33306
|
+
var import_classnames48 = __toESM(require_classnames());
|
|
31752
33307
|
|
|
31753
33308
|
// css-modules:E:\dev\umami-react-zen\src\components\Slider.module.css
|
|
31754
33309
|
var Slider_default = { "slider": "Slider_slider__MjBhO", "header": "Slider_header__ZTE2M", "track": "Slider_track__ODk5M", "fill": "Slider_fill__YzdhM", "thumb": "Slider_thumb__NGEzM" };
|
|
31755
33310
|
|
|
31756
33311
|
// src/components/Slider.tsx
|
|
31757
|
-
import { Fragment as Fragment13, jsx as
|
|
33312
|
+
import { Fragment as Fragment13, jsx as jsx63, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
31758
33313
|
function Slider2({ className, showValue = true, label, ...props }) {
|
|
31759
|
-
return /* @__PURE__ */
|
|
31760
|
-
/* @__PURE__ */
|
|
31761
|
-
label && /* @__PURE__ */
|
|
31762
|
-
showValue && /* @__PURE__ */
|
|
33314
|
+
return /* @__PURE__ */ jsxs38($6f909507e6374d18$export$472062a354075cee, { ...props, className: (0, import_classnames48.default)(Slider_default.slider, className), children: [
|
|
33315
|
+
/* @__PURE__ */ jsxs38("div", { className: Slider_default.header, children: [
|
|
33316
|
+
label && /* @__PURE__ */ jsx63(Label2, { className: Slider_default.label, children: label }),
|
|
33317
|
+
showValue && /* @__PURE__ */ jsx63($6f909507e6374d18$export$a590f758a961cb5b, { className: Slider_default.output })
|
|
31763
33318
|
] }),
|
|
31764
|
-
/* @__PURE__ */
|
|
33319
|
+
/* @__PURE__ */ jsx63($6f909507e6374d18$export$105594979f116971, { className: Slider_default.track, children: ({ state }) => {
|
|
31765
33320
|
const isHorizontal = state.orientation === "horizontal";
|
|
31766
|
-
return /* @__PURE__ */
|
|
31767
|
-
/* @__PURE__ */
|
|
33321
|
+
return /* @__PURE__ */ jsxs38(Fragment13, { children: [
|
|
33322
|
+
/* @__PURE__ */ jsx63(
|
|
31768
33323
|
"div",
|
|
31769
33324
|
{
|
|
31770
33325
|
className: Slider_default.fill,
|
|
@@ -31773,27 +33328,27 @@ function Slider2({ className, showValue = true, label, ...props }) {
|
|
|
31773
33328
|
}
|
|
31774
33329
|
}
|
|
31775
33330
|
),
|
|
31776
|
-
/* @__PURE__ */
|
|
33331
|
+
/* @__PURE__ */ jsx63($6f909507e6374d18$export$2c1b491743890dec, { className: Slider_default.thumb })
|
|
31777
33332
|
] });
|
|
31778
33333
|
} })
|
|
31779
33334
|
] });
|
|
31780
33335
|
}
|
|
31781
33336
|
|
|
31782
33337
|
// src/components/StatusLight.tsx
|
|
31783
|
-
var
|
|
33338
|
+
var import_classnames49 = __toESM(require_classnames());
|
|
31784
33339
|
|
|
31785
33340
|
// css-modules:E:\dev\umami-react-zen\src\components\StatusLight.module.css
|
|
31786
33341
|
var StatusLight_default = { "statuslight": "StatusLight_statuslight__MTliM", "status": "StatusLight_status__MDNmO", "bg": "StatusLight_bg__MjVjN", "success": "StatusLight_success__ZWI1N", "warning": "StatusLight_warning__YWRmM", "error": "StatusLight_error__NjdjM", "active": "StatusLight_active__NGZiY", "inactive": "StatusLight_inactive__NDI0Z" };
|
|
31787
33342
|
|
|
31788
33343
|
// src/components/StatusLight.tsx
|
|
31789
|
-
import { jsx as
|
|
33344
|
+
import { jsx as jsx64, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
31790
33345
|
function StatusLight(props) {
|
|
31791
33346
|
const { color, variant = "inactive", children, className, ...domProps } = props;
|
|
31792
|
-
return /* @__PURE__ */
|
|
31793
|
-
/* @__PURE__ */
|
|
33347
|
+
return /* @__PURE__ */ jsxs39("div", { ...domProps, className: (0, import_classnames49.default)(StatusLight_default.statuslight, className), children: [
|
|
33348
|
+
/* @__PURE__ */ jsx64("div", { className: StatusLight_default.bg, children: /* @__PURE__ */ jsx64(
|
|
31794
33349
|
"div",
|
|
31795
33350
|
{
|
|
31796
|
-
className: (0,
|
|
33351
|
+
className: (0, import_classnames49.default)(StatusLight_default.status, StatusLight_default[variant]),
|
|
31797
33352
|
style: { backgroundColor: color }
|
|
31798
33353
|
}
|
|
31799
33354
|
) }),
|
|
@@ -31802,18 +33357,18 @@ function StatusLight(props) {
|
|
|
31802
33357
|
}
|
|
31803
33358
|
|
|
31804
33359
|
// src/components/Switch.tsx
|
|
31805
|
-
var
|
|
33360
|
+
var import_classnames50 = __toESM(require_classnames());
|
|
31806
33361
|
|
|
31807
33362
|
// css-modules:E:\dev\umami-react-zen\src\components\Switch.module.css
|
|
31808
33363
|
var Switch_default = { "switch": "Switch_switch__NzIwM", "track": "Switch_track__NWQ0M", "knob": "Switch_knob__NDU3M" };
|
|
31809
33364
|
|
|
31810
33365
|
// src/components/Switch.tsx
|
|
31811
|
-
import { jsx as
|
|
33366
|
+
import { jsx as jsx65, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
31812
33367
|
function Switch2({ label, children, className, ...props }) {
|
|
31813
|
-
return /* @__PURE__ */
|
|
31814
|
-
label && /* @__PURE__ */
|
|
31815
|
-
/* @__PURE__ */
|
|
31816
|
-
/* @__PURE__ */
|
|
33368
|
+
return /* @__PURE__ */ jsxs40(Column, { children: [
|
|
33369
|
+
label && /* @__PURE__ */ jsx65(Label2, { children: label }),
|
|
33370
|
+
/* @__PURE__ */ jsxs40($8e59e948500a8fe1$export$b5d5cf8927ab7262, { ...props, className: (0, import_classnames50.default)(Switch_default.switch, className), children: [
|
|
33371
|
+
/* @__PURE__ */ jsx65("div", { className: Switch_default.track, children: /* @__PURE__ */ jsx65("div", { className: Switch_default.knob }) }),
|
|
31817
33372
|
children
|
|
31818
33373
|
] })
|
|
31819
33374
|
] });
|
|
@@ -31823,28 +33378,28 @@ function Switch2({ label, children, className, ...props }) {
|
|
|
31823
33378
|
var Tabs_default = { "tabs": "Tabs_tabs__OWVjO", "list": "Tabs_list__YWRjM", "tab": "Tabs_tab__ZjgwM", "quiet": "Tabs_quiet__ZTQ1O" };
|
|
31824
33379
|
|
|
31825
33380
|
// src/components/Tabs.tsx
|
|
31826
|
-
import { jsx as
|
|
33381
|
+
import { jsx as jsx66 } from "react/jsx-runtime";
|
|
31827
33382
|
function Tabs2({ children, ...props }) {
|
|
31828
|
-
return /* @__PURE__ */
|
|
33383
|
+
return /* @__PURE__ */ jsx66($5e8ad37a45e1c704$export$b2539bed5023c21c, { ...props, className: Tabs_default.tabs, children });
|
|
31829
33384
|
}
|
|
31830
33385
|
function TabList2({ children, ...props }) {
|
|
31831
|
-
return /* @__PURE__ */
|
|
33386
|
+
return /* @__PURE__ */ jsx66($5e8ad37a45e1c704$export$e51a686c67fdaa2d, { ...props, className: Tabs_default.list, children });
|
|
31832
33387
|
}
|
|
31833
33388
|
function Tab({ children, ...props }) {
|
|
31834
|
-
return /* @__PURE__ */
|
|
33389
|
+
return /* @__PURE__ */ jsx66($5e8ad37a45e1c704$export$3e41faf802a29e71, { ...props, className: Tabs_default.tab, children });
|
|
31835
33390
|
}
|
|
31836
33391
|
function TabPanel2({ children, ...props }) {
|
|
31837
|
-
return /* @__PURE__ */
|
|
33392
|
+
return /* @__PURE__ */ jsx66($5e8ad37a45e1c704$export$3d96ec278d3efce4, { ...props, className: Tabs_default.panel, children });
|
|
31838
33393
|
}
|
|
31839
33394
|
|
|
31840
33395
|
// src/components/ThemeButton.tsx
|
|
31841
|
-
var
|
|
33396
|
+
var import_classnames51 = __toESM(require_classnames());
|
|
31842
33397
|
|
|
31843
33398
|
// css-modules:E:\dev\umami-react-zen\src\components\ThemeButton.module.css
|
|
31844
33399
|
var ThemeButton_default = { "button": "ThemeButton_button__Zjc5N" };
|
|
31845
33400
|
|
|
31846
33401
|
// src/components/ThemeButton.tsx
|
|
31847
|
-
import { jsx as
|
|
33402
|
+
import { jsx as jsx67, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
31848
33403
|
function ThemeButton({
|
|
31849
33404
|
className,
|
|
31850
33405
|
variant = "quiet",
|
|
@@ -31869,17 +33424,17 @@ function ThemeButton({
|
|
|
31869
33424
|
setTheme2(theme === "light" ? "dark" : "light");
|
|
31870
33425
|
onPress?.(e);
|
|
31871
33426
|
}
|
|
31872
|
-
return /* @__PURE__ */
|
|
33427
|
+
return /* @__PURE__ */ jsxs41(
|
|
31873
33428
|
Button2,
|
|
31874
33429
|
{
|
|
31875
33430
|
...props,
|
|
31876
|
-
className: (0,
|
|
33431
|
+
className: (0, import_classnames51.default)(ThemeButton_default.button, className),
|
|
31877
33432
|
variant,
|
|
31878
33433
|
onPress: handleClick,
|
|
31879
33434
|
children: [
|
|
31880
33435
|
transitions((style, item) => (
|
|
31881
33436
|
// @ts-ignore
|
|
31882
|
-
/* @__PURE__ */
|
|
33437
|
+
/* @__PURE__ */ jsx67(animated.div, { style, children: /* @__PURE__ */ jsx67(Icon2, { size: "sm", children: item === "light" ? /* @__PURE__ */ jsx67(Sun, {}) : /* @__PURE__ */ jsx67(Moon, {}) }) }, item)
|
|
31883
33438
|
)),
|
|
31884
33439
|
"\xA0"
|
|
31885
33440
|
]
|
|
@@ -31888,23 +33443,23 @@ function ThemeButton({
|
|
|
31888
33443
|
}
|
|
31889
33444
|
|
|
31890
33445
|
// src/components/Toggle.tsx
|
|
31891
|
-
var
|
|
33446
|
+
var import_classnames52 = __toESM(require_classnames());
|
|
31892
33447
|
|
|
31893
33448
|
// css-modules:E:\dev\umami-react-zen\src\components\Toggle.module.css
|
|
31894
33449
|
var Toggle_default = { "toggle": "Toggle_toggle__OWVjZ" };
|
|
31895
33450
|
|
|
31896
33451
|
// src/components/Toggle.tsx
|
|
31897
|
-
import { Fragment as Fragment14, jsx as
|
|
33452
|
+
import { Fragment as Fragment14, jsx as jsx68, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
31898
33453
|
function Toggle({ label, children, className, ...props }) {
|
|
31899
33454
|
const isSelected = typeof props.value !== "undefined" ? !!props.value : void 0;
|
|
31900
|
-
return /* @__PURE__ */
|
|
31901
|
-
label && /* @__PURE__ */
|
|
31902
|
-
/* @__PURE__ */
|
|
33455
|
+
return /* @__PURE__ */ jsxs42(Fragment14, { children: [
|
|
33456
|
+
label && /* @__PURE__ */ jsx68(Label2, { children: label }),
|
|
33457
|
+
/* @__PURE__ */ jsx68(
|
|
31903
33458
|
$efde0372d7a700fe$export$d2b052e7b4be1756,
|
|
31904
33459
|
{
|
|
31905
33460
|
...props,
|
|
31906
33461
|
isSelected,
|
|
31907
|
-
className: (0,
|
|
33462
|
+
className: (0, import_classnames52.default)(Toggle_default.toggle, className),
|
|
31908
33463
|
children
|
|
31909
33464
|
}
|
|
31910
33465
|
)
|
|
@@ -31912,13 +33467,13 @@ function Toggle({ label, children, className, ...props }) {
|
|
|
31912
33467
|
}
|
|
31913
33468
|
|
|
31914
33469
|
// src/components/ToggleGroup.tsx
|
|
31915
|
-
var
|
|
33470
|
+
var import_classnames53 = __toESM(require_classnames());
|
|
31916
33471
|
|
|
31917
33472
|
// css-modules:E:\dev\umami-react-zen\src\components\ToggleGroup.module.css
|
|
31918
33473
|
var ToggleGroup_default = { "group": "ToggleGroup_group__NDJiO", "list": "ToggleGroup_list__NTM2M", "item": "ToggleGroup_item__MWFiY", "primary": "ToggleGroup_primary__ZTAyY" };
|
|
31919
33474
|
|
|
31920
33475
|
// src/components/ToggleGroup.tsx
|
|
31921
|
-
import { jsx as
|
|
33476
|
+
import { jsx as jsx69, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
31922
33477
|
function ToggleGroup({
|
|
31923
33478
|
label,
|
|
31924
33479
|
value,
|
|
@@ -31937,7 +33492,7 @@ function ToggleGroup({
|
|
|
31937
33492
|
onSelectionChange?.(keys);
|
|
31938
33493
|
onChange?.(Array.from(keys).map((k) => k.toString()));
|
|
31939
33494
|
};
|
|
31940
|
-
return /* @__PURE__ */
|
|
33495
|
+
return /* @__PURE__ */ jsxs43(
|
|
31941
33496
|
$eaf9e70818b436db$export$67ea30858aaf75e3,
|
|
31942
33497
|
{
|
|
31943
33498
|
...props,
|
|
@@ -31945,26 +33500,26 @@ function ToggleGroup({
|
|
|
31945
33500
|
defaultSelectedKeys: defaultValue || defaultSelectedKeys,
|
|
31946
33501
|
selectionMode,
|
|
31947
33502
|
onSelectionChange: handleChange,
|
|
31948
|
-
className: (0,
|
|
33503
|
+
className: (0, import_classnames53.default)(ToggleGroup_default.group, className, variant && ToggleGroup_default[variant]),
|
|
31949
33504
|
children: [
|
|
31950
|
-
label && /* @__PURE__ */
|
|
31951
|
-
/* @__PURE__ */
|
|
33505
|
+
label && /* @__PURE__ */ jsx69(Label2, { children: label }),
|
|
33506
|
+
/* @__PURE__ */ jsx69($eaf9e70818b436db$export$f9fef0f55402315b, { className: ToggleGroup_default.list, children })
|
|
31952
33507
|
]
|
|
31953
33508
|
}
|
|
31954
33509
|
);
|
|
31955
33510
|
}
|
|
31956
33511
|
function ToggleGroupItem({ className, children, ...props }) {
|
|
31957
|
-
return /* @__PURE__ */
|
|
33512
|
+
return /* @__PURE__ */ jsx69($eaf9e70818b436db$export$3288d34c523a1192, { ...props, className: (0, import_classnames53.default)(ToggleGroup_default.item, className), children });
|
|
31958
33513
|
}
|
|
31959
33514
|
|
|
31960
33515
|
// src/components/ZenProvider.tsx
|
|
31961
|
-
import { jsx as
|
|
33516
|
+
import { jsx as jsx70 } from "react/jsx-runtime";
|
|
31962
33517
|
var defaultToastCofig = {
|
|
31963
33518
|
duration: 3e3
|
|
31964
33519
|
};
|
|
31965
33520
|
function ZenProvider({ children, ...props }) {
|
|
31966
33521
|
const { toast = defaultToastCofig } = props;
|
|
31967
|
-
return /* @__PURE__ */
|
|
33522
|
+
return /* @__PURE__ */ jsx70(ToastProvider, { ...toast, children });
|
|
31968
33523
|
}
|
|
31969
33524
|
export {
|
|
31970
33525
|
Accordion,
|
|
@@ -31980,6 +33535,7 @@ export {
|
|
|
31980
33535
|
Checkbox2 as Checkbox,
|
|
31981
33536
|
Code,
|
|
31982
33537
|
Column,
|
|
33538
|
+
ComboBox2 as ComboBox,
|
|
31983
33539
|
ConfirmationDialog,
|
|
31984
33540
|
Container,
|
|
31985
33541
|
DataColumn,
|