@umami/react-zen 0.164.0 → 0.166.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 +32 -24
- package/dist/index.d.ts +32 -24
- package/dist/index.js +3042 -1478
- package/dist/index.mjs +2073 -509
- 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,115 +32039,308 @@ function Checkbox2({ label, className, children, ...props }) {
|
|
|
30505
32039
|
);
|
|
30506
32040
|
}
|
|
30507
32041
|
|
|
30508
|
-
//
|
|
30509
|
-
var Code_default = { "code": "Code_code__ZTc0M" };
|
|
30510
|
-
|
|
30511
|
-
// src/components/Code.tsx
|
|
30512
|
-
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
30513
|
-
function Code({ asChild, children }) {
|
|
30514
|
-
const Component = asChild ? Slot : "code";
|
|
30515
|
-
return /* @__PURE__ */ jsx33(Component, { className: Code_default.code, children });
|
|
30516
|
-
}
|
|
30517
|
-
|
|
30518
|
-
// src/components/Container.tsx
|
|
30519
|
-
var import_classnames20 = __toESM(require_classnames());
|
|
30520
|
-
|
|
30521
|
-
// css-modules:E:\dev\umami-react-zen\src\components\Container.module.css
|
|
30522
|
-
var Container_default = { "container": "Container_container__ZWU0Y", "centered": "Container_centered__OTM1M", "fluid": "Container_fluid__NTBhY" };
|
|
30523
|
-
|
|
30524
|
-
// src/components/Container.tsx
|
|
30525
|
-
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
30526
|
-
function Container({
|
|
30527
|
-
isCentered = true,
|
|
30528
|
-
isFluid,
|
|
30529
|
-
className,
|
|
30530
|
-
children,
|
|
30531
|
-
...props
|
|
30532
|
-
}) {
|
|
30533
|
-
return /* @__PURE__ */ jsx34(
|
|
30534
|
-
Box,
|
|
30535
|
-
{
|
|
30536
|
-
...props,
|
|
30537
|
-
className: (0, import_classnames20.default)(
|
|
30538
|
-
Container_default.container,
|
|
30539
|
-
className,
|
|
30540
|
-
isCentered && Container_default.centered,
|
|
30541
|
-
isFluid && Container_default.fluid
|
|
30542
|
-
),
|
|
30543
|
-
children
|
|
30544
|
-
}
|
|
30545
|
-
);
|
|
30546
|
-
}
|
|
30547
|
-
|
|
30548
|
-
// src/components/ConfirmationDialog.tsx
|
|
30549
|
-
var import_classnames23 = __toESM(require_classnames());
|
|
30550
|
-
import { useState as useState10 } from "react";
|
|
30551
|
-
|
|
30552
|
-
// src/components/TextField.tsx
|
|
30553
|
-
import { useEffect as useEffect9, useState as useState9 } from "react";
|
|
32042
|
+
// src/components/ComboBox.tsx
|
|
30554
32043
|
var import_classnames22 = __toESM(require_classnames());
|
|
30555
32044
|
|
|
30556
|
-
// src/components/
|
|
30557
|
-
|
|
30558
|
-
|
|
32045
|
+
// src/components/List.tsx
|
|
32046
|
+
import { Fragment as Fragment4 } from "react";
|
|
32047
|
+
var import_classnames20 = __toESM(require_classnames());
|
|
30559
32048
|
|
|
30560
|
-
//
|
|
30561
|
-
var
|
|
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
|
+
];
|
|
30562
32078
|
|
|
30563
|
-
// src/
|
|
30564
|
-
|
|
30565
|
-
|
|
30566
|
-
|
|
30567
|
-
|
|
30568
|
-
|
|
30569
|
-
|
|
30570
|
-
|
|
30571
|
-
|
|
30572
|
-
setCopied(true);
|
|
30573
|
-
clearTimeout(ref.current);
|
|
30574
|
-
ref.current = +setTimeout(() => setCopied(false), timeout);
|
|
30575
|
-
}
|
|
30576
|
-
};
|
|
30577
|
-
return /* @__PURE__ */ jsx35(Icon2, { ...props, className: (0, import_classnames21.default)(CopyButton_default.icon, className), onClick: handleCopy, children: copied ? /* @__PURE__ */ jsx35(Check, {}) : /* @__PURE__ */ jsx35(Copy, {}) });
|
|
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 };
|
|
30578
32088
|
}
|
|
30579
32089
|
|
|
30580
|
-
// css-modules:E:\dev\umami-react-zen\src\components\
|
|
30581
|
-
var
|
|
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" };
|
|
30582
32092
|
|
|
30583
|
-
// src/components/
|
|
30584
|
-
import { Fragment as
|
|
30585
|
-
function
|
|
30586
|
-
|
|
30587
|
-
|
|
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,
|
|
30588
32102
|
label,
|
|
30589
|
-
|
|
30590
|
-
allowCopy,
|
|
30591
|
-
asTextArea,
|
|
30592
|
-
resize,
|
|
32103
|
+
value,
|
|
30593
32104
|
onChange,
|
|
30594
|
-
isReadOnly,
|
|
30595
|
-
isDisabled,
|
|
30596
32105
|
className,
|
|
32106
|
+
selectedKeys,
|
|
32107
|
+
defaultSelectedKeys,
|
|
32108
|
+
onSelectionChange,
|
|
32109
|
+
style,
|
|
30597
32110
|
children,
|
|
30598
32111
|
...props
|
|
30599
32112
|
}) {
|
|
30600
|
-
const
|
|
30601
|
-
|
|
30602
|
-
|
|
30603
|
-
|
|
30604
|
-
|
|
32113
|
+
const handleSelectionChange = (keys) => {
|
|
32114
|
+
onSelectionChange?.(keys);
|
|
32115
|
+
if (keys !== "all") {
|
|
32116
|
+
onChange?.([...keys].map(String));
|
|
32117
|
+
}
|
|
30605
32118
|
};
|
|
30606
|
-
|
|
30607
|
-
|
|
30608
|
-
|
|
30609
|
-
|
|
30610
|
-
label && /* @__PURE__ */ jsx36(Label2, { children: label }),
|
|
30611
|
-
/* @__PURE__ */ jsxs18(
|
|
30612
|
-
$bcdf0525bf22703d$export$2c73285ae9390cec,
|
|
32119
|
+
return /* @__PURE__ */ jsxs18(Fragment5, { children: [
|
|
32120
|
+
label && /* @__PURE__ */ jsx33(Label2, { children: label }),
|
|
32121
|
+
/* @__PURE__ */ jsx33(
|
|
32122
|
+
$eed445e0843c11d0$export$41f133550aa26f48,
|
|
30613
32123
|
{
|
|
30614
|
-
"aria-label": "
|
|
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
|
+
// src/components/Grid.tsx
|
|
32176
|
+
var import_classnames21 = __toESM(require_classnames());
|
|
32177
|
+
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
32178
|
+
function Grid({
|
|
32179
|
+
display = "grid",
|
|
32180
|
+
justifyContent,
|
|
32181
|
+
justifyItems,
|
|
32182
|
+
alignContent,
|
|
32183
|
+
alignItems,
|
|
32184
|
+
gap,
|
|
32185
|
+
gapX,
|
|
32186
|
+
gapY,
|
|
32187
|
+
autoFlow,
|
|
32188
|
+
rows,
|
|
32189
|
+
columns,
|
|
32190
|
+
areas,
|
|
32191
|
+
className,
|
|
32192
|
+
style,
|
|
32193
|
+
children,
|
|
32194
|
+
...props
|
|
32195
|
+
}) {
|
|
32196
|
+
const [classes, styleProps] = useDesignProps({
|
|
32197
|
+
display,
|
|
32198
|
+
justifyContent,
|
|
32199
|
+
justifyItems,
|
|
32200
|
+
alignContent,
|
|
32201
|
+
alignItems,
|
|
32202
|
+
gap,
|
|
32203
|
+
gapX,
|
|
32204
|
+
gapY,
|
|
32205
|
+
gridTemplateRows: rows,
|
|
32206
|
+
gridTemplateColumns: columns,
|
|
32207
|
+
gridTemplateAreas: areas,
|
|
32208
|
+
gridAutoFlow: autoFlow
|
|
32209
|
+
});
|
|
32210
|
+
return /* @__PURE__ */ jsx34(Box, { ...props, className: (0, import_classnames21.default)(className, classes), style: { ...styleProps, ...style }, children });
|
|
32211
|
+
}
|
|
32212
|
+
|
|
32213
|
+
// css-modules:E:\dev\umami-react-zen\src\components\ComboBox.module.css
|
|
32214
|
+
var ComboBox_default = { "combobox": "ComboBox_combobox__ZDYxZ", "input": "ComboBox_input__YjNkN", "button": "ComboBox_button__NTlhM", "list": "ComboBox_list__NTdiY" };
|
|
32215
|
+
|
|
32216
|
+
// src/components/ComboBox.tsx
|
|
32217
|
+
import { jsx as jsx35, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
32218
|
+
function ComboBox2({
|
|
32219
|
+
items,
|
|
32220
|
+
className,
|
|
32221
|
+
renderEmptyState,
|
|
32222
|
+
listProps,
|
|
32223
|
+
popoverProps,
|
|
32224
|
+
...props
|
|
32225
|
+
}) {
|
|
32226
|
+
return /* @__PURE__ */ jsxs19($d01f2c01039c0eec$export$72b9695b8216309a, { ...props, className: (0, import_classnames22.default)(ComboBox_default.combobox, className), children: [
|
|
32227
|
+
/* @__PURE__ */ jsxs19(Grid, { alignItems: "center", columns: "1fr auto", width: "100%", children: [
|
|
32228
|
+
/* @__PURE__ */ jsx35($3985021b0ad6602f$export$f5b8910cec6cf069, { className: ComboBox_default.input }),
|
|
32229
|
+
/* @__PURE__ */ jsx35($d2b4bc8c273e7be6$export$353f5b6fc5456de1, { className: ComboBox_default.button, children: /* @__PURE__ */ jsx35(Icon2, { "aria-hidden": "true", rotate: 90, size: "sm", children: /* @__PURE__ */ jsx35(ChevronRight, {}) }) })
|
|
32230
|
+
] }),
|
|
32231
|
+
/* @__PURE__ */ jsx35($07b14b47974efb58$export$5b6b19405a83ff9d, { ...popoverProps, children: /* @__PURE__ */ jsx35("div", { className: ComboBox_default.list, children: /* @__PURE__ */ jsx35(List, { items, renderEmptyState, ...listProps, children: items?.map((item) => /* @__PURE__ */ jsx35(ListItem, { textValue: item, children: item }, item)) }) }) })
|
|
32232
|
+
] });
|
|
32233
|
+
}
|
|
32234
|
+
|
|
32235
|
+
// css-modules:E:\dev\umami-react-zen\src\components\Code.module.css
|
|
32236
|
+
var Code_default = { "code": "Code_code__ZTc0M" };
|
|
32237
|
+
|
|
32238
|
+
// src/components/Code.tsx
|
|
32239
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
32240
|
+
function Code({ asChild, children }) {
|
|
32241
|
+
const Component = asChild ? Slot : "code";
|
|
32242
|
+
return /* @__PURE__ */ jsx36(Component, { className: Code_default.code, children });
|
|
32243
|
+
}
|
|
32244
|
+
|
|
32245
|
+
// src/components/Container.tsx
|
|
32246
|
+
var import_classnames23 = __toESM(require_classnames());
|
|
32247
|
+
|
|
32248
|
+
// css-modules:E:\dev\umami-react-zen\src\components\Container.module.css
|
|
32249
|
+
var Container_default = { "container": "Container_container__ZWU0Y", "centered": "Container_centered__OTM1M", "fluid": "Container_fluid__NTBhY" };
|
|
32250
|
+
|
|
32251
|
+
// src/components/Container.tsx
|
|
32252
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
32253
|
+
function Container({
|
|
32254
|
+
isCentered = true,
|
|
32255
|
+
isFluid,
|
|
32256
|
+
className,
|
|
32257
|
+
children,
|
|
32258
|
+
...props
|
|
32259
|
+
}) {
|
|
32260
|
+
return /* @__PURE__ */ jsx37(
|
|
32261
|
+
Box,
|
|
32262
|
+
{
|
|
32263
|
+
...props,
|
|
32264
|
+
className: (0, import_classnames23.default)(
|
|
32265
|
+
Container_default.container,
|
|
32266
|
+
className,
|
|
32267
|
+
isCentered && Container_default.centered,
|
|
32268
|
+
isFluid && Container_default.fluid
|
|
32269
|
+
),
|
|
32270
|
+
children
|
|
32271
|
+
}
|
|
32272
|
+
);
|
|
32273
|
+
}
|
|
32274
|
+
|
|
32275
|
+
// src/components/ConfirmationDialog.tsx
|
|
32276
|
+
var import_classnames26 = __toESM(require_classnames());
|
|
32277
|
+
import { useState as useState10 } from "react";
|
|
32278
|
+
|
|
32279
|
+
// src/components/TextField.tsx
|
|
32280
|
+
import { useEffect as useEffect9, useState as useState9 } from "react";
|
|
32281
|
+
var import_classnames25 = __toESM(require_classnames());
|
|
32282
|
+
|
|
32283
|
+
// src/components/CopyButton.tsx
|
|
32284
|
+
var import_classnames24 = __toESM(require_classnames());
|
|
32285
|
+
import { useState as useState8, useRef as useRef7 } from "react";
|
|
32286
|
+
|
|
32287
|
+
// css-modules:E:\dev\umami-react-zen\src\components\CopyButton.module.css
|
|
32288
|
+
var CopyButton_default = { "icon": "CopyButton_icon__YTM2Y", "copy-button": "CopyButton_copy-button__MjY1M" };
|
|
32289
|
+
|
|
32290
|
+
// src/components/CopyButton.tsx
|
|
32291
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
32292
|
+
var TIMEOUT = 2e3;
|
|
32293
|
+
function CopyButton({ value, timeout = TIMEOUT, className, children, ...props }) {
|
|
32294
|
+
const [copied, setCopied] = useState8(false);
|
|
32295
|
+
const ref = useRef7(timeout);
|
|
32296
|
+
const handleCopy = async () => {
|
|
32297
|
+
if (value) {
|
|
32298
|
+
await navigator.clipboard.writeText(value);
|
|
32299
|
+
setCopied(true);
|
|
32300
|
+
clearTimeout(ref.current);
|
|
32301
|
+
ref.current = +setTimeout(() => setCopied(false), timeout);
|
|
32302
|
+
}
|
|
32303
|
+
};
|
|
32304
|
+
return /* @__PURE__ */ jsx38(Icon2, { ...props, className: (0, import_classnames24.default)(CopyButton_default.icon, className), onClick: handleCopy, children: copied ? /* @__PURE__ */ jsx38(Check, {}) : /* @__PURE__ */ jsx38(Copy, {}) });
|
|
32305
|
+
}
|
|
32306
|
+
|
|
32307
|
+
// css-modules:E:\dev\umami-react-zen\src\components\TextField.module.css
|
|
32308
|
+
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" };
|
|
32309
|
+
|
|
32310
|
+
// src/components/TextField.tsx
|
|
32311
|
+
import { Fragment as Fragment6, jsx as jsx39, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
32312
|
+
function TextField2({
|
|
32313
|
+
value,
|
|
32314
|
+
defaultValue,
|
|
32315
|
+
label,
|
|
32316
|
+
placeholder,
|
|
32317
|
+
allowCopy,
|
|
32318
|
+
asTextArea,
|
|
32319
|
+
resize,
|
|
32320
|
+
onChange,
|
|
32321
|
+
isReadOnly,
|
|
32322
|
+
isDisabled,
|
|
32323
|
+
className,
|
|
32324
|
+
children,
|
|
32325
|
+
...props
|
|
32326
|
+
}) {
|
|
32327
|
+
const [inputValue, setInputValue] = useState9(defaultValue || value);
|
|
32328
|
+
const Component = asTextArea ? $216918bed6669f72$export$f5c9f3c2c4054eec : $3985021b0ad6602f$export$f5b8910cec6cf069;
|
|
32329
|
+
const handleChange = (value2) => {
|
|
32330
|
+
setInputValue(value2);
|
|
32331
|
+
return onChange?.(value2);
|
|
32332
|
+
};
|
|
32333
|
+
useEffect9(() => {
|
|
32334
|
+
setInputValue(value);
|
|
32335
|
+
}, [value]);
|
|
32336
|
+
return /* @__PURE__ */ jsxs20(Fragment6, { children: [
|
|
32337
|
+
label && /* @__PURE__ */ jsx39(Label2, { children: label }),
|
|
32338
|
+
/* @__PURE__ */ jsxs20(
|
|
32339
|
+
$bcdf0525bf22703d$export$2c73285ae9390cec,
|
|
32340
|
+
{
|
|
32341
|
+
"aria-label": "Text",
|
|
30615
32342
|
...props,
|
|
30616
|
-
className: (0,
|
|
32343
|
+
className: (0, import_classnames25.default)(
|
|
30617
32344
|
TextField_default.field,
|
|
30618
32345
|
asTextArea && TextField_default.textarea,
|
|
30619
32346
|
allowCopy && TextField_default.copy,
|
|
@@ -30626,8 +32353,8 @@ function TextField2({
|
|
|
30626
32353
|
isDisabled,
|
|
30627
32354
|
onChange: handleChange,
|
|
30628
32355
|
children: [
|
|
30629
|
-
/* @__PURE__ */
|
|
30630
|
-
allowCopy && /* @__PURE__ */
|
|
32356
|
+
/* @__PURE__ */ jsx39(Component, { placeholder }),
|
|
32357
|
+
allowCopy && /* @__PURE__ */ jsx39(CopyButton, { value: inputValue, className: TextField_default.icon })
|
|
30631
32358
|
]
|
|
30632
32359
|
}
|
|
30633
32360
|
)
|
|
@@ -30638,7 +32365,7 @@ function TextField2({
|
|
|
30638
32365
|
var ConfirmationDialog_default = { "dialog": "ConfirmationDialog_dialog__YjQzN", "value": "ConfirmationDialog_value__Njg3N" };
|
|
30639
32366
|
|
|
30640
32367
|
// src/components/ConfirmationDialog.tsx
|
|
30641
|
-
import { Fragment as
|
|
32368
|
+
import { Fragment as Fragment7, jsx as jsx40, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
30642
32369
|
function ConfirmationDialog({
|
|
30643
32370
|
value,
|
|
30644
32371
|
confirmMessage,
|
|
@@ -30650,21 +32377,21 @@ function ConfirmationDialog({
|
|
|
30650
32377
|
const handleChange = (e) => {
|
|
30651
32378
|
setCanSave(e.target.value === value);
|
|
30652
32379
|
};
|
|
30653
|
-
return /* @__PURE__ */
|
|
32380
|
+
return /* @__PURE__ */ jsx40(
|
|
30654
32381
|
AlertDialog,
|
|
30655
32382
|
{
|
|
30656
32383
|
...props,
|
|
30657
|
-
className: (0,
|
|
32384
|
+
className: (0, import_classnames26.default)(ConfirmationDialog_default.dialog, className),
|
|
30658
32385
|
isConfirmDisabled: !canSave,
|
|
30659
32386
|
children: ({ close }) => {
|
|
30660
|
-
return /* @__PURE__ */
|
|
32387
|
+
return /* @__PURE__ */ jsxs21(Fragment7, { children: [
|
|
30661
32388
|
typeof children === "function" ? children({ close }) : children,
|
|
30662
|
-
/* @__PURE__ */
|
|
32389
|
+
/* @__PURE__ */ jsxs21(Text, { children: [
|
|
30663
32390
|
confirmMessage || "Type the following value to confirm",
|
|
30664
32391
|
":"
|
|
30665
32392
|
] }),
|
|
30666
|
-
/* @__PURE__ */
|
|
30667
|
-
/* @__PURE__ */
|
|
32393
|
+
/* @__PURE__ */ jsx40("div", { className: ConfirmationDialog_default.value, children: value }),
|
|
32394
|
+
/* @__PURE__ */ jsx40(TextField2, { autoFocus: true, "aria-label": "Confirmation", onChange: handleChange })
|
|
30668
32395
|
] });
|
|
30669
32396
|
}
|
|
30670
32397
|
}
|
|
@@ -30672,66 +32399,66 @@ function ConfirmationDialog({
|
|
|
30672
32399
|
}
|
|
30673
32400
|
|
|
30674
32401
|
// src/components/DataTable.tsx
|
|
30675
|
-
var
|
|
32402
|
+
var import_classnames28 = __toESM(require_classnames());
|
|
30676
32403
|
import { Children as Children2, createElement as createElement7 } from "react";
|
|
30677
32404
|
|
|
30678
32405
|
// src/components/Table.tsx
|
|
30679
|
-
var
|
|
32406
|
+
var import_classnames27 = __toESM(require_classnames());
|
|
30680
32407
|
|
|
30681
32408
|
// css-modules:E:\dev\umami-react-zen\src\components\Table.module.css
|
|
30682
32409
|
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
32410
|
|
|
30684
32411
|
// src/components/Table.tsx
|
|
30685
|
-
import { jsx as
|
|
32412
|
+
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
30686
32413
|
var gridTemplateColumns = "repeat(auto-fit, minmax(140px, 1fr))";
|
|
30687
32414
|
function Table2({ children, className, ...props }) {
|
|
30688
|
-
return /* @__PURE__ */
|
|
32415
|
+
return /* @__PURE__ */ jsx41($1910c06f0ca9905e$export$54ec01a60f47d33d, { "aria-label": "Table", ...props, className: (0, import_classnames27.default)(Table_default.table, className), children });
|
|
30689
32416
|
}
|
|
30690
32417
|
function TableHeader({ children, className, style, ...props }) {
|
|
30691
|
-
return /* @__PURE__ */
|
|
32418
|
+
return /* @__PURE__ */ jsx41(
|
|
30692
32419
|
$1910c06f0ca9905e$export$f850895b287ef28e,
|
|
30693
32420
|
{
|
|
30694
32421
|
...props,
|
|
30695
|
-
className: (0,
|
|
32422
|
+
className: (0, import_classnames27.default)(Table_default.header, className),
|
|
30696
32423
|
style: { gridTemplateColumns, ...style },
|
|
30697
32424
|
children
|
|
30698
32425
|
}
|
|
30699
32426
|
);
|
|
30700
32427
|
}
|
|
30701
32428
|
function TableBody({ children, className, ...props }) {
|
|
30702
|
-
return /* @__PURE__ */
|
|
32429
|
+
return /* @__PURE__ */ jsx41($1910c06f0ca9905e$export$76ccd210b9029917, { ...props, className: (0, import_classnames27.default)(Table_default.body, className), children });
|
|
30703
32430
|
}
|
|
30704
32431
|
function TableRow({ children, className, style, ...props }) {
|
|
30705
|
-
return /* @__PURE__ */
|
|
32432
|
+
return /* @__PURE__ */ jsx41(
|
|
30706
32433
|
$1910c06f0ca9905e$export$b59bdbef9ce70de2,
|
|
30707
32434
|
{
|
|
30708
32435
|
...props,
|
|
30709
|
-
className: (0,
|
|
32436
|
+
className: (0, import_classnames27.default)(Table_default.row, className),
|
|
30710
32437
|
style: { gridTemplateColumns, ...style },
|
|
30711
32438
|
children
|
|
30712
32439
|
}
|
|
30713
32440
|
);
|
|
30714
32441
|
}
|
|
30715
32442
|
function TableColumn({ children, className, align, ...props }) {
|
|
30716
|
-
return /* @__PURE__ */
|
|
32443
|
+
return /* @__PURE__ */ jsx41(
|
|
30717
32444
|
$1910c06f0ca9905e$export$816b5d811295e6bc,
|
|
30718
32445
|
{
|
|
30719
32446
|
...props,
|
|
30720
|
-
className: (0,
|
|
32447
|
+
className: (0, import_classnames27.default)(Table_default.column, className, align && Table_default[align]),
|
|
30721
32448
|
isRowHeader: true,
|
|
30722
32449
|
children
|
|
30723
32450
|
}
|
|
30724
32451
|
);
|
|
30725
32452
|
}
|
|
30726
32453
|
function TableCell({ children, className, align, ...props }) {
|
|
30727
|
-
return /* @__PURE__ */
|
|
32454
|
+
return /* @__PURE__ */ jsx41($1910c06f0ca9905e$export$f6f0c3fe4ec306ea, { ...props, className: (0, import_classnames27.default)(Table_default.cell, className, align && Table_default[align]), children });
|
|
30728
32455
|
}
|
|
30729
32456
|
|
|
30730
32457
|
// css-modules:E:\dev\umami-react-zen\src\components\DataTable.module.css
|
|
30731
32458
|
var DataTable_default = { "datatable": "DataTable_datatable__MWRkN", "cell": "DataTable_cell__MmMyM" };
|
|
30732
32459
|
|
|
30733
32460
|
// src/components/DataTable.tsx
|
|
30734
|
-
import { jsx as
|
|
32461
|
+
import { jsx as jsx42, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
30735
32462
|
import { createElement as createElement8 } from "react";
|
|
30736
32463
|
function DataTable({ data = [], className, children, ...props }) {
|
|
30737
32464
|
const items = data.length && data?.[0]?.id === void 0 ? data.map((row, id) => ({ ...row, id })) : data;
|
|
@@ -30744,15 +32471,15 @@ function DataTable({ data = [], className, children, ...props }) {
|
|
|
30744
32471
|
return null;
|
|
30745
32472
|
})?.filter((n) => n);
|
|
30746
32473
|
const gridTemplateColumns2 = widths.join(" ");
|
|
30747
|
-
return /* @__PURE__ */
|
|
30748
|
-
/* @__PURE__ */
|
|
32474
|
+
return /* @__PURE__ */ jsxs22(Table2, { ...props, className: (0, import_classnames28.default)(DataTable_default.datatable, className), children: [
|
|
32475
|
+
/* @__PURE__ */ jsx42(TableHeader, { style: { gridTemplateColumns: gridTemplateColumns2 }, children: columns?.map(({ id, label, as, hidden, width, ...columnProps }) => {
|
|
30749
32476
|
if (hidden) {
|
|
30750
32477
|
return null;
|
|
30751
32478
|
}
|
|
30752
32479
|
return /* @__PURE__ */ createElement8(TableColumn, { ...columnProps, key: id, id }, label);
|
|
30753
32480
|
}) }),
|
|
30754
|
-
/* @__PURE__ */
|
|
30755
|
-
return /* @__PURE__ */
|
|
32481
|
+
/* @__PURE__ */ jsx42(TableBody, { children: items.map((row, index) => {
|
|
32482
|
+
return /* @__PURE__ */ jsx42(TableRow, { style: { gridTemplateColumns: gridTemplateColumns2 }, children: columns?.map(({ id, as, hidden, className: className2, children: children2, ...cellProps }) => {
|
|
30756
32483
|
if (hidden) {
|
|
30757
32484
|
return null;
|
|
30758
32485
|
}
|
|
@@ -30762,7 +32489,7 @@ function DataTable({ data = [], className, children, ...props }) {
|
|
|
30762
32489
|
{
|
|
30763
32490
|
...cellProps,
|
|
30764
32491
|
key: id,
|
|
30765
|
-
className: (0,
|
|
32492
|
+
className: (0, import_classnames28.default)(DataTable_default.cell, className2)
|
|
30766
32493
|
},
|
|
30767
32494
|
as ? createElement7(as, {}, value) : value
|
|
30768
32495
|
);
|
|
@@ -30775,40 +32502,40 @@ function DataColumn(props) {
|
|
|
30775
32502
|
}
|
|
30776
32503
|
|
|
30777
32504
|
// src/components/Dots.tsx
|
|
30778
|
-
var
|
|
32505
|
+
var import_classnames29 = __toESM(require_classnames());
|
|
30779
32506
|
|
|
30780
32507
|
// css-modules:E:\dev\umami-react-zen\src\components\Dots.module.css
|
|
30781
32508
|
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
32509
|
|
|
30783
32510
|
// src/components/Dots.tsx
|
|
30784
|
-
import { jsx as
|
|
32511
|
+
import { jsx as jsx43, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
30785
32512
|
function Dots({ size = "md", className, ...props }) {
|
|
30786
|
-
return /* @__PURE__ */
|
|
30787
|
-
/* @__PURE__ */
|
|
30788
|
-
/* @__PURE__ */
|
|
30789
|
-
/* @__PURE__ */
|
|
32513
|
+
return /* @__PURE__ */ jsxs23("div", { ...props, className: (0, import_classnames29.default)(Dots_default.dots, className, Dots_default[`size-${size}`]), children: [
|
|
32514
|
+
/* @__PURE__ */ jsx43("div", { className: Dots_default.dot }),
|
|
32515
|
+
/* @__PURE__ */ jsx43("div", { className: Dots_default.dot }),
|
|
32516
|
+
/* @__PURE__ */ jsx43("div", { className: Dots_default.dot })
|
|
30790
32517
|
] });
|
|
30791
32518
|
}
|
|
30792
32519
|
|
|
30793
32520
|
// src/components/FloatingTooltip.tsx
|
|
30794
|
-
var
|
|
32521
|
+
var import_classnames31 = __toESM(require_classnames());
|
|
30795
32522
|
import { useEffect as useEffect10, useState as useState11 } from "react";
|
|
30796
32523
|
|
|
30797
32524
|
// src/components/Tooltip.tsx
|
|
30798
|
-
var
|
|
32525
|
+
var import_classnames30 = __toESM(require_classnames());
|
|
30799
32526
|
|
|
30800
32527
|
// css-modules:E:\dev\umami-react-zen\src\components\Tooltip.module.css
|
|
30801
32528
|
var Tooltip_default = { "tooltip": "Tooltip_tooltip__YmY4Z", "bubble": "Tooltip_bubble__MWE0N", "arrow": "Tooltip_arrow__OGM1M", "slide": "Tooltip_slide__MGVmY" };
|
|
30802
32529
|
|
|
30803
32530
|
// src/components/Tooltip.tsx
|
|
30804
|
-
import { jsx as
|
|
32531
|
+
import { jsx as jsx44, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
30805
32532
|
function Tooltip2({ children, className, showArrow, ...props }) {
|
|
30806
|
-
return /* @__PURE__ */
|
|
32533
|
+
return /* @__PURE__ */ jsx44($4e3b923658d69c60$export$28c660c63b792dea, { ...props, className: (0, import_classnames30.default)(Tooltip_default.tooltip, className), children: /* @__PURE__ */ jsx44(TooltipBubble, { showArrow, children }) });
|
|
30807
32534
|
}
|
|
30808
32535
|
function TooltipBubble({ showArrow, children, ...props }) {
|
|
30809
|
-
return /* @__PURE__ */
|
|
30810
|
-
showArrow && /* @__PURE__ */
|
|
30811
|
-
/* @__PURE__ */
|
|
32536
|
+
return /* @__PURE__ */ jsxs24("div", { ...props, children: [
|
|
32537
|
+
showArrow && /* @__PURE__ */ jsx44($44f671af83e7d9e0$export$746d02f47f4d381, { className: Tooltip_default.arrow, children: /* @__PURE__ */ jsx44("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ jsx44("path", { d: "M0 0 L4 4 L8 0" }) }) }),
|
|
32538
|
+
/* @__PURE__ */ jsx44("div", { className: Tooltip_default.bubble, children })
|
|
30812
32539
|
] });
|
|
30813
32540
|
}
|
|
30814
32541
|
|
|
@@ -30816,7 +32543,7 @@ function TooltipBubble({ showArrow, children, ...props }) {
|
|
|
30816
32543
|
var FloatingTooltip_default = { "floating": "FloatingTooltip_floating__ZjM4N" };
|
|
30817
32544
|
|
|
30818
32545
|
// src/components/FloatingTooltip.tsx
|
|
30819
|
-
import { jsx as
|
|
32546
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
30820
32547
|
function FloatingTooltip({ className, style, children, ...props }) {
|
|
30821
32548
|
const [position, setPosition] = useState11({ x: -1e3, y: -1e3 });
|
|
30822
32549
|
useEffect10(() => {
|
|
@@ -30828,63 +32555,25 @@ function FloatingTooltip({ className, style, children, ...props }) {
|
|
|
30828
32555
|
document.removeEventListener("mousemove", handler);
|
|
30829
32556
|
};
|
|
30830
32557
|
}, []);
|
|
30831
|
-
return /* @__PURE__ */
|
|
32558
|
+
return /* @__PURE__ */ jsx45(
|
|
30832
32559
|
TooltipBubble,
|
|
30833
32560
|
{
|
|
30834
32561
|
...props,
|
|
30835
|
-
className: (0,
|
|
32562
|
+
className: (0, import_classnames31.default)(FloatingTooltip_default.floating, className, "BALLLLSSSS"),
|
|
30836
32563
|
style: { ...style, left: position.x, top: position.y },
|
|
30837
32564
|
children
|
|
30838
32565
|
}
|
|
30839
32566
|
);
|
|
30840
32567
|
}
|
|
30841
32568
|
|
|
30842
|
-
// src/components/Grid.tsx
|
|
30843
|
-
var import_classnames29 = __toESM(require_classnames());
|
|
30844
|
-
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
30845
|
-
function Grid({
|
|
30846
|
-
display = "grid",
|
|
30847
|
-
justifyContent,
|
|
30848
|
-
justifyItems,
|
|
30849
|
-
alignContent,
|
|
30850
|
-
alignItems,
|
|
30851
|
-
gap,
|
|
30852
|
-
gapX,
|
|
30853
|
-
gapY,
|
|
30854
|
-
autoFlow,
|
|
30855
|
-
rows,
|
|
30856
|
-
columns,
|
|
30857
|
-
areas,
|
|
30858
|
-
className,
|
|
30859
|
-
style,
|
|
30860
|
-
children,
|
|
30861
|
-
...props
|
|
30862
|
-
}) {
|
|
30863
|
-
const [classes, styleProps] = useDesignProps({
|
|
30864
|
-
display,
|
|
30865
|
-
justifyContent,
|
|
30866
|
-
justifyItems,
|
|
30867
|
-
alignContent,
|
|
30868
|
-
alignItems,
|
|
30869
|
-
gap,
|
|
30870
|
-
gapX,
|
|
30871
|
-
gapY,
|
|
30872
|
-
gridTemplateRows: rows,
|
|
30873
|
-
gridTemplateColumns: columns,
|
|
30874
|
-
gridTemplateAreas: areas,
|
|
30875
|
-
gridAutoFlow: autoFlow
|
|
30876
|
-
});
|
|
30877
|
-
return /* @__PURE__ */ jsx43(Box, { ...props, className: (0, import_classnames29.default)(className, classes), style: { ...styleProps, ...style }, children });
|
|
30878
|
-
}
|
|
30879
|
-
|
|
30880
32569
|
// src/components/Heading.tsx
|
|
30881
|
-
var
|
|
32570
|
+
var import_classnames32 = __toESM(require_classnames());
|
|
30882
32571
|
|
|
30883
32572
|
// css-modules:E:\dev\umami-react-zen\src\components\Heading.module.css
|
|
30884
32573
|
var Heading_default = { "heading": "Heading_heading__MGIyZ" };
|
|
30885
32574
|
|
|
30886
32575
|
// src/components/Heading.tsx
|
|
30887
|
-
import { jsx as
|
|
32576
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
30888
32577
|
function Heading2({
|
|
30889
32578
|
size = "3",
|
|
30890
32579
|
weight,
|
|
@@ -30901,11 +32590,11 @@ function Heading2({
|
|
|
30901
32590
|
fontWeight: weight,
|
|
30902
32591
|
letterSpacing: spacing
|
|
30903
32592
|
});
|
|
30904
|
-
return /* @__PURE__ */
|
|
32593
|
+
return /* @__PURE__ */ jsx46(
|
|
30905
32594
|
Box,
|
|
30906
32595
|
{
|
|
30907
32596
|
...props,
|
|
30908
|
-
className: (0,
|
|
32597
|
+
className: (0, import_classnames32.default)(Heading_default.heading, className, classes),
|
|
30909
32598
|
style: { ...styleProps, ...style },
|
|
30910
32599
|
children
|
|
30911
32600
|
}
|
|
@@ -30919,7 +32608,7 @@ import { useRef as useRef8, useState as useState12, useEffect as useEffect11 } f
|
|
|
30919
32608
|
var HoverTrigger_default = { "wrapper": "HoverTrigger_wrapper__NGFlN" };
|
|
30920
32609
|
|
|
30921
32610
|
// src/components/HoverTrigger.tsx
|
|
30922
|
-
import { Fragment as
|
|
32611
|
+
import { Fragment as Fragment8, jsx as jsx47, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
30923
32612
|
var CLOSE_DELAY = 500;
|
|
30924
32613
|
function HoverTrigger({
|
|
30925
32614
|
isOpen,
|
|
@@ -30970,9 +32659,9 @@ function HoverTrigger({
|
|
|
30970
32659
|
}
|
|
30971
32660
|
}, closeDelay);
|
|
30972
32661
|
};
|
|
30973
|
-
return /* @__PURE__ */
|
|
30974
|
-
/* @__PURE__ */
|
|
30975
|
-
/* @__PURE__ */
|
|
32662
|
+
return /* @__PURE__ */ jsxs25(Fragment8, { children: [
|
|
32663
|
+
/* @__PURE__ */ jsx47("div", { ref: triggerRef, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, children: triggerElement }),
|
|
32664
|
+
/* @__PURE__ */ jsx47(Popover2, { isOpen: open, isNonModal: true, triggerRef, children: /* @__PURE__ */ jsx47(
|
|
30976
32665
|
"div",
|
|
30977
32666
|
{
|
|
30978
32667
|
className: HoverTrigger_default.wrapper,
|
|
@@ -30985,13 +32674,13 @@ function HoverTrigger({
|
|
|
30985
32674
|
}
|
|
30986
32675
|
|
|
30987
32676
|
// src/components/Image.tsx
|
|
30988
|
-
var
|
|
32677
|
+
var import_classnames33 = __toESM(require_classnames());
|
|
30989
32678
|
|
|
30990
32679
|
// css-modules:E:\dev\umami-react-zen\src\components\Image.module.css
|
|
30991
32680
|
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
32681
|
|
|
30993
32682
|
// src/components/Image.tsx
|
|
30994
|
-
import { jsx as
|
|
32683
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
30995
32684
|
function Image({
|
|
30996
32685
|
src,
|
|
30997
32686
|
alt,
|
|
@@ -31004,11 +32693,11 @@ function Image({
|
|
|
31004
32693
|
...props
|
|
31005
32694
|
}) {
|
|
31006
32695
|
const [classes, styleProps] = useDesignProps({ borderRadius, shadow });
|
|
31007
|
-
return /* @__PURE__ */
|
|
32696
|
+
return /* @__PURE__ */ jsx48(
|
|
31008
32697
|
"img",
|
|
31009
32698
|
{
|
|
31010
32699
|
...props,
|
|
31011
|
-
className: (0,
|
|
32700
|
+
className: (0, import_classnames33.default)(
|
|
31012
32701
|
Image_default.image,
|
|
31013
32702
|
className,
|
|
31014
32703
|
classes,
|
|
@@ -31024,14 +32713,14 @@ function Image({
|
|
|
31024
32713
|
}
|
|
31025
32714
|
|
|
31026
32715
|
// src/components/InlineEditField.tsx
|
|
31027
|
-
var
|
|
32716
|
+
var import_classnames34 = __toESM(require_classnames());
|
|
31028
32717
|
import { useState as useState13, useCallback as useCallback2 } from "react";
|
|
31029
32718
|
|
|
31030
32719
|
// css-modules:E:\dev\umami-react-zen\src\components\InlineEditField.module.css
|
|
31031
32720
|
var InlineEditField_default = { "edit": "InlineEditField_edit__MDliZ", "icon": "InlineEditField_icon__ZjE1O" };
|
|
31032
32721
|
|
|
31033
32722
|
// src/components/InlineEditField.tsx
|
|
31034
|
-
import { jsx as
|
|
32723
|
+
import { jsx as jsx49, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
31035
32724
|
function InlineEditField({
|
|
31036
32725
|
name = "",
|
|
31037
32726
|
value: defaultValue = "",
|
|
@@ -31067,17 +32756,17 @@ function InlineEditField({
|
|
|
31067
32756
|
handleCancel();
|
|
31068
32757
|
}
|
|
31069
32758
|
};
|
|
31070
|
-
return /* @__PURE__ */
|
|
32759
|
+
return /* @__PURE__ */ jsxs26(
|
|
31071
32760
|
"div",
|
|
31072
32761
|
{
|
|
31073
32762
|
"aria-label": "Edit",
|
|
31074
32763
|
...props,
|
|
31075
|
-
className: (0,
|
|
32764
|
+
className: (0, import_classnames34.default)(InlineEditField_default.edit, className),
|
|
31076
32765
|
onClick: handleEdit,
|
|
31077
32766
|
children: [
|
|
31078
32767
|
!edit && children,
|
|
31079
|
-
!edit && /* @__PURE__ */
|
|
31080
|
-
edit && /* @__PURE__ */
|
|
32768
|
+
!edit && /* @__PURE__ */ jsx49(Icon2, { className: InlineEditField_default.icon, children: /* @__PURE__ */ jsx49(SquarePen, {}) }),
|
|
32769
|
+
edit && /* @__PURE__ */ jsx49(
|
|
31081
32770
|
TextField2,
|
|
31082
32771
|
{
|
|
31083
32772
|
name,
|
|
@@ -31093,187 +32782,57 @@ function InlineEditField({
|
|
|
31093
32782
|
);
|
|
31094
32783
|
}
|
|
31095
32784
|
|
|
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
32785
|
// src/components/Loading.tsx
|
|
31227
|
-
var
|
|
32786
|
+
var import_classnames35 = __toESM(require_classnames());
|
|
31228
32787
|
|
|
31229
32788
|
// css-modules:E:\dev\umami-react-zen\src\components\Loading.module.css
|
|
31230
32789
|
var Loading_default = { "loading": "Loading_loading__MzE0Y", "page": "Loading_page__OWMxN", "center": "Loading_center__ZWRmO", "inline": "Loading_inline__NmJkY" };
|
|
31231
32790
|
|
|
31232
32791
|
// src/components/Loading.tsx
|
|
31233
|
-
import { jsx as
|
|
32792
|
+
import { jsx as jsx50, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
31234
32793
|
function Loading(props) {
|
|
31235
32794
|
const { size, position = "inline", icon = "spinner", className, ...domProps } = props;
|
|
31236
|
-
return /* @__PURE__ */
|
|
31237
|
-
icon === "dots" && /* @__PURE__ */
|
|
31238
|
-
icon === "spinner" && /* @__PURE__ */
|
|
32795
|
+
return /* @__PURE__ */ jsxs27("div", { ...domProps, className: (0, import_classnames35.default)(Loading_default.loading, className, Loading_default[position]), children: [
|
|
32796
|
+
icon === "dots" && /* @__PURE__ */ jsx50(Dots, {}),
|
|
32797
|
+
icon === "spinner" && /* @__PURE__ */ jsx50(Spinner, { size })
|
|
31239
32798
|
] });
|
|
31240
32799
|
}
|
|
31241
32800
|
|
|
31242
32801
|
// src/components/Menu.tsx
|
|
31243
|
-
var
|
|
32802
|
+
var import_classnames36 = __toESM(require_classnames());
|
|
31244
32803
|
|
|
31245
32804
|
// css-modules:E:\dev\umami-react-zen\src\components\Menu.module.css
|
|
31246
32805
|
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
32806
|
|
|
31248
32807
|
// src/components/Menu.tsx
|
|
31249
|
-
import { jsx as
|
|
32808
|
+
import { jsx as jsx51, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
31250
32809
|
function Menu2({ className, children, ...props }) {
|
|
31251
|
-
return /* @__PURE__ */
|
|
32810
|
+
return /* @__PURE__ */ jsx51($3674c52c6b3c5bce$export$d9b273488cd8ce6f, { ...props, className: (0, import_classnames36.default)(Menu_default.menu, className), children });
|
|
31252
32811
|
}
|
|
31253
32812
|
function MenuItem2({ showChecked = true, children, className, ...props }) {
|
|
31254
|
-
return /* @__PURE__ */
|
|
32813
|
+
return /* @__PURE__ */ jsxs28($3674c52c6b3c5bce$export$2ce376c2cc3355c8, { ...props, className: (0, import_classnames36.default)(Menu_default.item, className), children: [
|
|
31255
32814
|
children,
|
|
31256
|
-
showChecked && /* @__PURE__ */
|
|
32815
|
+
showChecked && /* @__PURE__ */ jsx51("div", { "aria-hidden": "true", className: Menu_default.checkmark, children: /* @__PURE__ */ jsx51(Icon2, { children: /* @__PURE__ */ jsx51(Check, {}) }) })
|
|
31257
32816
|
] });
|
|
31258
32817
|
}
|
|
31259
32818
|
function MenuSeparator({ className, ...props }) {
|
|
31260
|
-
return /* @__PURE__ */
|
|
32819
|
+
return /* @__PURE__ */ jsx51($431f98aba6844401$export$1ff3c3f08ae963c0, { ...props, className: (0, import_classnames36.default)(Menu_default.separator, className) });
|
|
31261
32820
|
}
|
|
31262
32821
|
function MenuSection({ title, className, children, ...props }) {
|
|
31263
|
-
return /* @__PURE__ */
|
|
31264
|
-
title && /* @__PURE__ */
|
|
32822
|
+
return /* @__PURE__ */ jsxs28($3674c52c6b3c5bce$export$4b1545b4f2016d26, { ...props, className: (0, import_classnames36.default)(Menu_default.section, className), children: [
|
|
32823
|
+
title && /* @__PURE__ */ jsx51($72a5793c14baf454$export$8b251419efc915eb, { className: Menu_default.header, children: title }),
|
|
31265
32824
|
children
|
|
31266
32825
|
] });
|
|
31267
32826
|
}
|
|
31268
32827
|
|
|
31269
32828
|
// src/components/Modal.tsx
|
|
31270
|
-
var
|
|
32829
|
+
var import_classnames37 = __toESM(require_classnames());
|
|
31271
32830
|
|
|
31272
32831
|
// css-modules:E:\dev\umami-react-zen\src\components\Modal.module.css
|
|
31273
32832
|
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
32833
|
|
|
31275
32834
|
// src/components/Modal.tsx
|
|
31276
|
-
import { jsx as
|
|
32835
|
+
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
31277
32836
|
function Modal2({
|
|
31278
32837
|
position = "center",
|
|
31279
32838
|
offset,
|
|
@@ -31285,11 +32844,11 @@ function Modal2({
|
|
|
31285
32844
|
if (offset) {
|
|
31286
32845
|
style[`--modal-offset`] = offset;
|
|
31287
32846
|
}
|
|
31288
|
-
return /* @__PURE__ */
|
|
32847
|
+
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
32848
|
}
|
|
31290
32849
|
|
|
31291
32850
|
// src/components/Navbar.tsx
|
|
31292
|
-
var
|
|
32851
|
+
var import_classnames38 = __toESM(require_classnames());
|
|
31293
32852
|
import {
|
|
31294
32853
|
createContext as createContext3,
|
|
31295
32854
|
useContext as useContext5,
|
|
@@ -31300,7 +32859,7 @@ import {
|
|
|
31300
32859
|
var Navbar_default = { "nav": "Navbar_nav__ZjEwM", "item": "Navbar_item__MWVhZ", "icon": "Navbar_icon__ZmM1N" };
|
|
31301
32860
|
|
|
31302
32861
|
// src/components/Navbar.tsx
|
|
31303
|
-
import { jsx as
|
|
32862
|
+
import { jsx as jsx53, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
31304
32863
|
var NavbarContext = createContext3(void 0);
|
|
31305
32864
|
var useNavigationContext = () => {
|
|
31306
32865
|
const context = useContext5(NavbarContext);
|
|
@@ -31311,31 +32870,31 @@ var useNavigationContext = () => {
|
|
|
31311
32870
|
};
|
|
31312
32871
|
function Navbar({ showArrow = true, className, children, ...props }) {
|
|
31313
32872
|
const [activeMenu, setActiveMenu] = useState14("");
|
|
31314
|
-
return /* @__PURE__ */
|
|
32873
|
+
return /* @__PURE__ */ jsx53(NavbarContext.Provider, { value: { activeMenu, setActiveMenu }, children: /* @__PURE__ */ jsx53("div", { ...props, className: (0, import_classnames38.default)(Navbar_default.nav, className), children }) });
|
|
31315
32874
|
}
|
|
31316
32875
|
function NavbarItem({ label, children, className, ...props }) {
|
|
31317
32876
|
const { activeMenu, setActiveMenu } = useNavigationContext();
|
|
31318
32877
|
if (label) {
|
|
31319
|
-
return /* @__PURE__ */
|
|
31320
|
-
/* @__PURE__ */
|
|
31321
|
-
/* @__PURE__ */
|
|
31322
|
-
/* @__PURE__ */
|
|
32878
|
+
return /* @__PURE__ */ jsxs29(HoverTrigger, { isOpen: activeMenu === label, onHoverStart: () => setActiveMenu(label), children: [
|
|
32879
|
+
/* @__PURE__ */ jsxs29("div", { ...props, className: (0, import_classnames38.default)(Navbar_default.item, className), children: [
|
|
32880
|
+
/* @__PURE__ */ jsx53(Text, { children: label }),
|
|
32881
|
+
/* @__PURE__ */ jsx53(Icon2, { rotate: 90, size: "sm", className: Navbar_default.icon, children: /* @__PURE__ */ jsx53(ChevronRight, {}) })
|
|
31323
32882
|
] }),
|
|
31324
32883
|
children
|
|
31325
32884
|
] });
|
|
31326
32885
|
}
|
|
31327
|
-
return /* @__PURE__ */
|
|
32886
|
+
return /* @__PURE__ */ jsx53("div", { ...props, className: (0, import_classnames38.default)(Navbar_default.item, className), children });
|
|
31328
32887
|
}
|
|
31329
32888
|
|
|
31330
32889
|
// src/components/NavMenu.tsx
|
|
31331
|
-
var
|
|
32890
|
+
var import_classnames39 = __toESM(require_classnames());
|
|
31332
32891
|
import { createContext as createContext4, useContext as useContext6, useState as useState15 } from "react";
|
|
31333
32892
|
|
|
31334
32893
|
// css-modules:E:\dev\umami-react-zen\src\components\NavMenu.module.css
|
|
31335
32894
|
var NavMenu_default = { "navmenu": "NavMenu_navmenu__ZjAzZ", "item": "NavMenu_item__NTZiZ", "selected": "NavMenu_selected__MDM5Y", "muted": "NavMenu_muted__MjU2M", "title": "NavMenu_title__ZWU2Z" };
|
|
31336
32895
|
|
|
31337
32896
|
// src/components/NavMenu.tsx
|
|
31338
|
-
import { jsx as
|
|
32897
|
+
import { jsx as jsx54, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
31339
32898
|
var NavMenuContext = createContext4(null);
|
|
31340
32899
|
function NavMenu({
|
|
31341
32900
|
itemBackgroundColor = "2",
|
|
@@ -31345,11 +32904,11 @@ function NavMenu({
|
|
|
31345
32904
|
children,
|
|
31346
32905
|
...props
|
|
31347
32906
|
}) {
|
|
31348
|
-
return /* @__PURE__ */
|
|
32907
|
+
return /* @__PURE__ */ jsx54(NavMenuContext.Provider, { value: { itemBackgroundColor }, children: /* @__PURE__ */ jsx54(
|
|
31349
32908
|
Column,
|
|
31350
32909
|
{
|
|
31351
32910
|
...props,
|
|
31352
|
-
className: (0,
|
|
32911
|
+
className: (0, import_classnames39.default)(NavMenu_default.navmenu, muteItems && NavMenu_default.muted, className),
|
|
31353
32912
|
children
|
|
31354
32913
|
}
|
|
31355
32914
|
) });
|
|
@@ -31369,14 +32928,14 @@ function NavMenuGroup({
|
|
|
31369
32928
|
setMinimized((state) => !state);
|
|
31370
32929
|
}
|
|
31371
32930
|
};
|
|
31372
|
-
return /* @__PURE__ */
|
|
32931
|
+
return /* @__PURE__ */ jsxs30(
|
|
31373
32932
|
Column,
|
|
31374
32933
|
{
|
|
31375
32934
|
...props,
|
|
31376
32935
|
gap,
|
|
31377
|
-
className: (0,
|
|
32936
|
+
className: (0, import_classnames39.default)(className, allowMinimize && minimized && NavMenu_default.minimized),
|
|
31378
32937
|
children: [
|
|
31379
|
-
/* @__PURE__ */
|
|
32938
|
+
/* @__PURE__ */ jsxs30(
|
|
31380
32939
|
Row,
|
|
31381
32940
|
{
|
|
31382
32941
|
className: NavMenu_default.item,
|
|
@@ -31384,8 +32943,8 @@ function NavMenuGroup({
|
|
|
31384
32943
|
justifyContent: "space-between",
|
|
31385
32944
|
onClick: handleClick,
|
|
31386
32945
|
children: [
|
|
31387
|
-
/* @__PURE__ */
|
|
31388
|
-
allowMinimize && /* @__PURE__ */
|
|
32946
|
+
/* @__PURE__ */ jsx54(Text, { className: NavMenu_default.title, children: title }),
|
|
32947
|
+
allowMinimize && /* @__PURE__ */ jsx54(Icon2, { rotate: minimized ? 0 : 90, color: "muted", children: /* @__PURE__ */ jsx54(ChevronRight, {}) })
|
|
31389
32948
|
]
|
|
31390
32949
|
}
|
|
31391
32950
|
),
|
|
@@ -31396,13 +32955,13 @@ function NavMenuGroup({
|
|
|
31396
32955
|
}
|
|
31397
32956
|
function NavMenuItem({ isSelected, className, children, ...props }) {
|
|
31398
32957
|
const { itemBackgroundColor } = useContext6(NavMenuContext);
|
|
31399
|
-
return /* @__PURE__ */
|
|
32958
|
+
return /* @__PURE__ */ jsx54(
|
|
31400
32959
|
Row,
|
|
31401
32960
|
{
|
|
31402
32961
|
...props,
|
|
31403
32962
|
backgroundColor: isSelected && itemBackgroundColor,
|
|
31404
32963
|
hoverBackgroundColor: itemBackgroundColor,
|
|
31405
|
-
className: (0,
|
|
32964
|
+
className: (0, import_classnames39.default)(NavMenu_default.item, className, isSelected && NavMenu_default.selected),
|
|
31406
32965
|
children
|
|
31407
32966
|
}
|
|
31408
32967
|
);
|
|
@@ -31410,67 +32969,67 @@ function NavMenuItem({ isSelected, className, children, ...props }) {
|
|
|
31410
32969
|
|
|
31411
32970
|
// src/components/PasswordField.tsx
|
|
31412
32971
|
import { useState as useState16 } from "react";
|
|
31413
|
-
var
|
|
31414
|
-
import { Fragment as Fragment9, jsx as
|
|
32972
|
+
var import_classnames40 = __toESM(require_classnames());
|
|
32973
|
+
import { Fragment as Fragment9, jsx as jsx55, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
31415
32974
|
function PasswordField({ label, className, ...props }) {
|
|
31416
32975
|
const [show, setShow] = useState16(false);
|
|
31417
32976
|
const type = show ? "text" : "password";
|
|
31418
32977
|
const handleShowPassword = () => setShow((state) => !state);
|
|
31419
|
-
return /* @__PURE__ */
|
|
31420
|
-
label && /* @__PURE__ */
|
|
31421
|
-
/* @__PURE__ */
|
|
31422
|
-
/* @__PURE__ */
|
|
31423
|
-
/* @__PURE__ */
|
|
32978
|
+
return /* @__PURE__ */ jsxs31(Fragment9, { children: [
|
|
32979
|
+
label && /* @__PURE__ */ jsx55(Label2, { children: label }),
|
|
32980
|
+
/* @__PURE__ */ jsxs31($bcdf0525bf22703d$export$2c73285ae9390cec, { "aria-label": "Password", ...props, className: (0, import_classnames40.default)(TextField_default.field, className), children: [
|
|
32981
|
+
/* @__PURE__ */ jsx55($3985021b0ad6602f$export$f5b8910cec6cf069, { type }),
|
|
32982
|
+
/* @__PURE__ */ jsx55(Icon2, { onClick: handleShowPassword, children: show ? /* @__PURE__ */ jsx55(EyeSlash_default, {}) : /* @__PURE__ */ jsx55(Eye_default, {}) })
|
|
31424
32983
|
] })
|
|
31425
32984
|
] });
|
|
31426
32985
|
}
|
|
31427
32986
|
|
|
31428
32987
|
// src/components/Popover.tsx
|
|
31429
|
-
var
|
|
32988
|
+
var import_classnames41 = __toESM(require_classnames());
|
|
31430
32989
|
|
|
31431
32990
|
// css-modules:E:\dev\umami-react-zen\src\components\Popover.module.css
|
|
31432
32991
|
var Popover_default = { "popover": "Popover_popover__YmFhM", "popover-slide": "Popover_popover-slide__OGZjY" };
|
|
31433
32992
|
|
|
31434
32993
|
// src/components/Popover.tsx
|
|
31435
|
-
import { jsx as
|
|
32994
|
+
import { jsx as jsx56 } from "react/jsx-runtime";
|
|
31436
32995
|
function Popover2({ children, className, ...props }) {
|
|
31437
|
-
return /* @__PURE__ */
|
|
32996
|
+
return /* @__PURE__ */ jsx56($07b14b47974efb58$export$5b6b19405a83ff9d, { ...props, className: (0, import_classnames41.default)(Popover_default.popover, className), children });
|
|
31438
32997
|
}
|
|
31439
32998
|
|
|
31440
32999
|
// src/components/ProgressBar.tsx
|
|
31441
|
-
var
|
|
33000
|
+
var import_classnames42 = __toESM(require_classnames());
|
|
31442
33001
|
|
|
31443
33002
|
// css-modules:E:\dev\umami-react-zen\src\components\ProgressBar.module.css
|
|
31444
33003
|
var ProgressBar_default = { "progressbar": "ProgressBar_progressbar__YzdlO", "track": "ProgressBar_track__YzgzY", "fill": "ProgressBar_fill__ZTJlM", "value": "ProgressBar_value__NDk1Z" };
|
|
31445
33004
|
|
|
31446
33005
|
// src/components/ProgressBar.tsx
|
|
31447
|
-
import { Fragment as Fragment10, jsx as
|
|
33006
|
+
import { Fragment as Fragment10, jsx as jsx57, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
31448
33007
|
function ProgressBar2({ className, showPercentage, ...props }) {
|
|
31449
|
-
return /* @__PURE__ */
|
|
31450
|
-
return /* @__PURE__ */
|
|
31451
|
-
/* @__PURE__ */
|
|
31452
|
-
showPercentage && /* @__PURE__ */
|
|
33008
|
+
return /* @__PURE__ */ jsx57($0393f8ab869a0f1a$export$c17561cb55d4db30, { ...props, className: (0, import_classnames42.default)(ProgressBar_default.progressbar, className), children: ({ percentage = 0, valueText }) => {
|
|
33009
|
+
return /* @__PURE__ */ jsxs32(Fragment10, { children: [
|
|
33010
|
+
/* @__PURE__ */ jsx57("div", { className: ProgressBar_default.track, children: /* @__PURE__ */ jsx57("div", { className: ProgressBar_default.fill, style: { width: `${percentage}%` } }) }),
|
|
33011
|
+
showPercentage && /* @__PURE__ */ jsx57("div", { className: ProgressBar_default.value, children: valueText })
|
|
31453
33012
|
] });
|
|
31454
33013
|
} });
|
|
31455
33014
|
}
|
|
31456
33015
|
|
|
31457
33016
|
// src/components/ProgressCircle.tsx
|
|
31458
|
-
var
|
|
33017
|
+
var import_classnames43 = __toESM(require_classnames());
|
|
31459
33018
|
|
|
31460
33019
|
// css-modules:E:\dev\umami-react-zen\src\components\ProgressCircle.module.css
|
|
31461
33020
|
var ProgressCircle_default = { "progresscircle": "ProgressCircle_progresscircle__NGMyY", "track": "ProgressCircle_track__YzY2M", "fill": "ProgressCircle_fill__ZmMzM", "value": "ProgressCircle_value__YjM0Y" };
|
|
31462
33021
|
|
|
31463
33022
|
// src/components/ProgressCircle.tsx
|
|
31464
|
-
import { Fragment as Fragment11, jsx as
|
|
33023
|
+
import { Fragment as Fragment11, jsx as jsx58, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
31465
33024
|
function ProgressCircle({ className, showPercentage, ...props }) {
|
|
31466
|
-
return /* @__PURE__ */
|
|
33025
|
+
return /* @__PURE__ */ jsx58($0393f8ab869a0f1a$export$c17561cb55d4db30, { ...props, className: (0, import_classnames43.default)(ProgressCircle_default.progresscircle, className), children: ({ percentage = 0, valueText }) => {
|
|
31467
33026
|
const radius = 45;
|
|
31468
33027
|
const circumference = radius * 2 * Math.PI;
|
|
31469
33028
|
const offset = circumference - percentage / 100 * circumference;
|
|
31470
|
-
return /* @__PURE__ */
|
|
31471
|
-
/* @__PURE__ */
|
|
31472
|
-
/* @__PURE__ */
|
|
31473
|
-
/* @__PURE__ */
|
|
33029
|
+
return /* @__PURE__ */ jsxs33(Fragment11, { children: [
|
|
33030
|
+
/* @__PURE__ */ jsxs33("svg", { viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
33031
|
+
/* @__PURE__ */ jsx58("circle", { className: ProgressCircle_default.track, cx: "50", cy: "50", r: "45" }),
|
|
33032
|
+
/* @__PURE__ */ jsx58(
|
|
31474
33033
|
"circle",
|
|
31475
33034
|
{
|
|
31476
33035
|
className: ProgressCircle_default.fill,
|
|
@@ -31482,19 +33041,19 @@ function ProgressCircle({ className, showPercentage, ...props }) {
|
|
|
31482
33041
|
}
|
|
31483
33042
|
)
|
|
31484
33043
|
] }),
|
|
31485
|
-
showPercentage && /* @__PURE__ */
|
|
33044
|
+
showPercentage && /* @__PURE__ */ jsx58("label", { className: ProgressCircle_default.value, children: valueText })
|
|
31486
33045
|
] });
|
|
31487
33046
|
} });
|
|
31488
33047
|
}
|
|
31489
33048
|
|
|
31490
33049
|
// src/components/RadioGroup.tsx
|
|
31491
|
-
var
|
|
33050
|
+
var import_classnames44 = __toESM(require_classnames());
|
|
31492
33051
|
|
|
31493
33052
|
// css-modules:E:\dev\umami-react-zen\src\components\RadioGroup.module.css
|
|
31494
33053
|
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
33054
|
|
|
31496
33055
|
// src/components/RadioGroup.tsx
|
|
31497
|
-
import { jsx as
|
|
33056
|
+
import { jsx as jsx59, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
31498
33057
|
function RadioGroup2({
|
|
31499
33058
|
variant = "circle",
|
|
31500
33059
|
label,
|
|
@@ -31502,27 +33061,27 @@ function RadioGroup2({
|
|
|
31502
33061
|
className,
|
|
31503
33062
|
...props
|
|
31504
33063
|
}) {
|
|
31505
|
-
return /* @__PURE__ */
|
|
33064
|
+
return /* @__PURE__ */ jsxs34(
|
|
31506
33065
|
$b6c3ddc6086f204d$export$a98f0dcb43a68a25,
|
|
31507
33066
|
{
|
|
31508
33067
|
"aria-label": "RadioGroup",
|
|
31509
33068
|
...props,
|
|
31510
|
-
className: (0,
|
|
33069
|
+
className: (0, import_classnames44.default)(RadioGroup_default.radiogroup, RadioGroup_default[`variant-${variant}`], className),
|
|
31511
33070
|
children: [
|
|
31512
|
-
label && /* @__PURE__ */
|
|
31513
|
-
/* @__PURE__ */
|
|
33071
|
+
label && /* @__PURE__ */ jsx59(Label2, { children: label }),
|
|
33072
|
+
/* @__PURE__ */ jsx59("div", { className: RadioGroup_default.inputs, children })
|
|
31514
33073
|
]
|
|
31515
33074
|
}
|
|
31516
33075
|
);
|
|
31517
33076
|
}
|
|
31518
33077
|
function Radio2({ children, className, ...props }) {
|
|
31519
|
-
return /* @__PURE__ */
|
|
33078
|
+
return /* @__PURE__ */ jsx59($b6c3ddc6086f204d$export$d7b12c4107be0d61, { "aria-label": "Radio", ...props, className: (0, import_classnames44.default)(RadioGroup_default.radio, className), children });
|
|
31520
33079
|
}
|
|
31521
33080
|
|
|
31522
33081
|
// src/components/SearchField.tsx
|
|
31523
33082
|
import { useState as useState17, useEffect as useEffect12 } from "react";
|
|
31524
|
-
var
|
|
31525
|
-
import { Fragment as Fragment12, jsx as
|
|
33083
|
+
var import_classnames45 = __toESM(require_classnames());
|
|
33084
|
+
import { Fragment as Fragment12, jsx as jsx60, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
31526
33085
|
function SearchField2({
|
|
31527
33086
|
label,
|
|
31528
33087
|
placeholder,
|
|
@@ -31553,19 +33112,19 @@ function SearchField2({
|
|
|
31553
33112
|
onSearch?.(searchValue);
|
|
31554
33113
|
}
|
|
31555
33114
|
}, [searchValue, delay]);
|
|
31556
|
-
return /* @__PURE__ */
|
|
31557
|
-
label && /* @__PURE__ */
|
|
31558
|
-
/* @__PURE__ */
|
|
33115
|
+
return /* @__PURE__ */ jsxs35(Fragment12, { children: [
|
|
33116
|
+
label && /* @__PURE__ */ jsx60(Label2, { children: label }),
|
|
33117
|
+
/* @__PURE__ */ jsxs35(
|
|
31559
33118
|
$440f4836bcb56932$export$b94867ecbd698f21,
|
|
31560
33119
|
{
|
|
31561
33120
|
"aria-label": "Search",
|
|
31562
33121
|
...props,
|
|
31563
|
-
className: (0,
|
|
33122
|
+
className: (0, import_classnames45.default)(TextField_default.field, className),
|
|
31564
33123
|
onChange: handleChange,
|
|
31565
33124
|
children: [
|
|
31566
|
-
/* @__PURE__ */
|
|
31567
|
-
/* @__PURE__ */
|
|
31568
|
-
search && /* @__PURE__ */
|
|
33125
|
+
/* @__PURE__ */ jsx60(Icon2, { strokeColor: "8", children: /* @__PURE__ */ jsx60(Search, {}) }),
|
|
33126
|
+
/* @__PURE__ */ jsx60($3985021b0ad6602f$export$f5b8910cec6cf069, { placeholder, value: search }),
|
|
33127
|
+
search && /* @__PURE__ */ jsx60(Icon2, { size: "sm", color: "8", onClick: resetSearch, children: /* @__PURE__ */ jsx60(X, {}) })
|
|
31569
33128
|
]
|
|
31570
33129
|
}
|
|
31571
33130
|
)
|
|
@@ -31574,13 +33133,13 @@ function SearchField2({
|
|
|
31574
33133
|
|
|
31575
33134
|
// src/components/Select.tsx
|
|
31576
33135
|
import { useState as useState18 } from "react";
|
|
31577
|
-
var
|
|
33136
|
+
var import_classnames46 = __toESM(require_classnames());
|
|
31578
33137
|
|
|
31579
33138
|
// css-modules:E:\dev\umami-react-zen\src\components\Select.module.css
|
|
31580
33139
|
var Select_default = { "select": "Select_select__NTRiY", "button": "Select_button__ZTJmY", "value": "Select_value__OWU2Z", "list": "Select_list__NTk4N", "search": "Select_search__YWI3Y" };
|
|
31581
33140
|
|
|
31582
33141
|
// src/components/Select.tsx
|
|
31583
|
-
import { jsx as
|
|
33142
|
+
import { jsx as jsx61, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
31584
33143
|
function Select2({
|
|
31585
33144
|
items = [],
|
|
31586
33145
|
value,
|
|
@@ -31610,31 +33169,35 @@ function Select2({
|
|
|
31610
33169
|
setSearch(value2);
|
|
31611
33170
|
onSearch?.(value2);
|
|
31612
33171
|
};
|
|
31613
|
-
|
|
33172
|
+
const handleOpenChange = () => {
|
|
33173
|
+
setSearch("");
|
|
33174
|
+
onSearch?.("");
|
|
33175
|
+
};
|
|
33176
|
+
return /* @__PURE__ */ jsxs36(
|
|
31614
33177
|
$82d7e5349645de74$export$ef9b1a59e592288f,
|
|
31615
33178
|
{
|
|
31616
33179
|
"aria-label": "Select",
|
|
31617
33180
|
...props,
|
|
31618
|
-
className: (0,
|
|
33181
|
+
className: (0, import_classnames46.default)(Select_default.select, className),
|
|
31619
33182
|
selectedKey: value,
|
|
31620
33183
|
defaultSelectedKey: defaultValue,
|
|
31621
33184
|
onSelectionChange: handleChange,
|
|
31622
33185
|
children: [
|
|
31623
|
-
label && /* @__PURE__ */
|
|
31624
|
-
/* @__PURE__ */
|
|
33186
|
+
label && /* @__PURE__ */ jsx61(Label2, { children: label }),
|
|
33187
|
+
/* @__PURE__ */ jsx61(
|
|
31625
33188
|
Button2,
|
|
31626
33189
|
{
|
|
31627
33190
|
variant: "outline",
|
|
31628
33191
|
...buttonProps,
|
|
31629
|
-
className: (0,
|
|
31630
|
-
children: /* @__PURE__ */
|
|
31631
|
-
/* @__PURE__ */
|
|
31632
|
-
/* @__PURE__ */
|
|
33192
|
+
className: (0, import_classnames46.default)(Select_default.button, buttonProps?.className),
|
|
33193
|
+
children: /* @__PURE__ */ jsxs36("div", { className: Select_default.value, children: [
|
|
33194
|
+
/* @__PURE__ */ jsx61($82d7e5349645de74$export$e288731fd71264f0, { children: renderValue }),
|
|
33195
|
+
/* @__PURE__ */ jsx61(Icon2, { "aria-hidden": "true", rotate: 90, size: "sm", children: /* @__PURE__ */ jsx61(ChevronRight, {}) })
|
|
31633
33196
|
] })
|
|
31634
33197
|
}
|
|
31635
33198
|
),
|
|
31636
|
-
/* @__PURE__ */
|
|
31637
|
-
allowSearch && /* @__PURE__ */
|
|
33199
|
+
/* @__PURE__ */ jsx61(Popover2, { ...popoverProps, onOpenChange: handleOpenChange, children: /* @__PURE__ */ jsxs36("div", { className: Select_default.list, children: [
|
|
33200
|
+
allowSearch && /* @__PURE__ */ jsx61(
|
|
31638
33201
|
SearchField2,
|
|
31639
33202
|
{
|
|
31640
33203
|
className: Select_default.search,
|
|
@@ -31645,8 +33208,8 @@ function Select2({
|
|
|
31645
33208
|
autoFocus: true
|
|
31646
33209
|
}
|
|
31647
33210
|
),
|
|
31648
|
-
isLoading && /* @__PURE__ */
|
|
31649
|
-
/* @__PURE__ */
|
|
33211
|
+
isLoading && /* @__PURE__ */ jsx61(Loading, { icon: "dots", position: "center", size: "sm" }),
|
|
33212
|
+
/* @__PURE__ */ jsx61(
|
|
31650
33213
|
List,
|
|
31651
33214
|
{
|
|
31652
33215
|
...listProps,
|
|
@@ -31662,14 +33225,14 @@ function Select2({
|
|
|
31662
33225
|
}
|
|
31663
33226
|
|
|
31664
33227
|
// src/components/Sidebar.tsx
|
|
31665
|
-
var
|
|
33228
|
+
var import_classnames47 = __toESM(require_classnames());
|
|
31666
33229
|
import { createContext as createContext5, useContext as useContext7 } from "react";
|
|
31667
33230
|
|
|
31668
33231
|
// css-modules:E:\dev\umami-react-zen\src\components\Sidebar.module.css
|
|
31669
33232
|
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
33233
|
|
|
31671
33234
|
// src/components/Sidebar.tsx
|
|
31672
|
-
import { jsx as
|
|
33235
|
+
import { jsx as jsx62, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
31673
33236
|
var SidebarContext = createContext5(null);
|
|
31674
33237
|
function Sidebar({
|
|
31675
33238
|
itemBackgroundColor = "2",
|
|
@@ -31680,11 +33243,11 @@ function Sidebar({
|
|
|
31680
33243
|
children,
|
|
31681
33244
|
...props
|
|
31682
33245
|
}) {
|
|
31683
|
-
return /* @__PURE__ */
|
|
33246
|
+
return /* @__PURE__ */ jsx62(SidebarContext.Provider, { value: { isCollapsed, itemBackgroundColor }, children: /* @__PURE__ */ jsx62(
|
|
31684
33247
|
Column,
|
|
31685
33248
|
{
|
|
31686
33249
|
...props,
|
|
31687
|
-
className: (0,
|
|
33250
|
+
className: (0, import_classnames47.default)(
|
|
31688
33251
|
Sidebar_default.sidebar,
|
|
31689
33252
|
isCollapsed && Sidebar_default.collapsed,
|
|
31690
33253
|
muteItems && Sidebar_default.muted,
|
|
@@ -31701,9 +33264,9 @@ function SidebarSection({
|
|
|
31701
33264
|
children,
|
|
31702
33265
|
...props
|
|
31703
33266
|
}) {
|
|
31704
|
-
return /* @__PURE__ */
|
|
31705
|
-
title && /* @__PURE__ */
|
|
31706
|
-
/* @__PURE__ */
|
|
33267
|
+
return /* @__PURE__ */ jsxs37(Column, { ...props, className: (0, import_classnames47.default)(Sidebar_default.section, className), children: [
|
|
33268
|
+
title && /* @__PURE__ */ jsx62("div", { className: Sidebar_default.title, children: title }),
|
|
33269
|
+
/* @__PURE__ */ jsx62("div", { className: Sidebar_default.content, children })
|
|
31707
33270
|
] });
|
|
31708
33271
|
}
|
|
31709
33272
|
function SidebarHeader({
|
|
@@ -31713,9 +33276,9 @@ function SidebarHeader({
|
|
|
31713
33276
|
children,
|
|
31714
33277
|
...props
|
|
31715
33278
|
}) {
|
|
31716
|
-
return /* @__PURE__ */
|
|
31717
|
-
icon && /* @__PURE__ */
|
|
31718
|
-
label && /* @__PURE__ */
|
|
33279
|
+
return /* @__PURE__ */ jsxs37(Row, { ...props, className: (0, import_classnames47.default)(Sidebar_default.header, className), children: [
|
|
33280
|
+
icon && /* @__PURE__ */ jsx62(Icon2, { size: "sm", children: icon }),
|
|
33281
|
+
label && /* @__PURE__ */ jsx62("div", { className: Sidebar_default.label, children: label }),
|
|
31719
33282
|
children
|
|
31720
33283
|
] });
|
|
31721
33284
|
}
|
|
@@ -31728,43 +33291,43 @@ function SidebarItem({
|
|
|
31728
33291
|
...props
|
|
31729
33292
|
}) {
|
|
31730
33293
|
const { isCollapsed, itemBackgroundColor } = useContext7(SidebarContext);
|
|
31731
|
-
return /* @__PURE__ */
|
|
31732
|
-
/* @__PURE__ */
|
|
33294
|
+
return /* @__PURE__ */ jsxs37($4e3b923658d69c60$export$8c610744efcf8a1d, { delay: 0, closeDelay: 0, isDisabled: !isCollapsed, children: [
|
|
33295
|
+
/* @__PURE__ */ jsx62($f645667febf57a63$export$35a3bebf7ef2d934, { children: /* @__PURE__ */ jsxs37(
|
|
31733
33296
|
Row,
|
|
31734
33297
|
{
|
|
31735
33298
|
...props,
|
|
31736
33299
|
backgroundColor: isSelected && itemBackgroundColor,
|
|
31737
33300
|
hoverBackgroundColor: itemBackgroundColor,
|
|
31738
|
-
className: (0,
|
|
33301
|
+
className: (0, import_classnames47.default)(Sidebar_default.item, className, isSelected && Sidebar_default.selected),
|
|
31739
33302
|
children: [
|
|
31740
|
-
icon && /* @__PURE__ */
|
|
31741
|
-
label && /* @__PURE__ */
|
|
33303
|
+
icon && /* @__PURE__ */ jsx62(Icon2, { size: "sm", children: icon }),
|
|
33304
|
+
label && /* @__PURE__ */ jsx62(Text, { className: (0, import_classnames47.default)(Sidebar_default.label), children: label }),
|
|
31742
33305
|
children
|
|
31743
33306
|
]
|
|
31744
33307
|
}
|
|
31745
33308
|
) }),
|
|
31746
|
-
/* @__PURE__ */
|
|
33309
|
+
/* @__PURE__ */ jsx62(Tooltip2, { placement: "right", children: label })
|
|
31747
33310
|
] });
|
|
31748
33311
|
}
|
|
31749
33312
|
|
|
31750
33313
|
// src/components/Slider.tsx
|
|
31751
|
-
var
|
|
33314
|
+
var import_classnames48 = __toESM(require_classnames());
|
|
31752
33315
|
|
|
31753
33316
|
// css-modules:E:\dev\umami-react-zen\src\components\Slider.module.css
|
|
31754
33317
|
var Slider_default = { "slider": "Slider_slider__MjBhO", "header": "Slider_header__ZTE2M", "track": "Slider_track__ODk5M", "fill": "Slider_fill__YzdhM", "thumb": "Slider_thumb__NGEzM" };
|
|
31755
33318
|
|
|
31756
33319
|
// src/components/Slider.tsx
|
|
31757
|
-
import { Fragment as Fragment13, jsx as
|
|
33320
|
+
import { Fragment as Fragment13, jsx as jsx63, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
31758
33321
|
function Slider2({ className, showValue = true, label, ...props }) {
|
|
31759
|
-
return /* @__PURE__ */
|
|
31760
|
-
/* @__PURE__ */
|
|
31761
|
-
label && /* @__PURE__ */
|
|
31762
|
-
showValue && /* @__PURE__ */
|
|
33322
|
+
return /* @__PURE__ */ jsxs38($6f909507e6374d18$export$472062a354075cee, { ...props, className: (0, import_classnames48.default)(Slider_default.slider, className), children: [
|
|
33323
|
+
/* @__PURE__ */ jsxs38("div", { className: Slider_default.header, children: [
|
|
33324
|
+
label && /* @__PURE__ */ jsx63(Label2, { className: Slider_default.label, children: label }),
|
|
33325
|
+
showValue && /* @__PURE__ */ jsx63($6f909507e6374d18$export$a590f758a961cb5b, { className: Slider_default.output })
|
|
31763
33326
|
] }),
|
|
31764
|
-
/* @__PURE__ */
|
|
33327
|
+
/* @__PURE__ */ jsx63($6f909507e6374d18$export$105594979f116971, { className: Slider_default.track, children: ({ state }) => {
|
|
31765
33328
|
const isHorizontal = state.orientation === "horizontal";
|
|
31766
|
-
return /* @__PURE__ */
|
|
31767
|
-
/* @__PURE__ */
|
|
33329
|
+
return /* @__PURE__ */ jsxs38(Fragment13, { children: [
|
|
33330
|
+
/* @__PURE__ */ jsx63(
|
|
31768
33331
|
"div",
|
|
31769
33332
|
{
|
|
31770
33333
|
className: Slider_default.fill,
|
|
@@ -31773,27 +33336,27 @@ function Slider2({ className, showValue = true, label, ...props }) {
|
|
|
31773
33336
|
}
|
|
31774
33337
|
}
|
|
31775
33338
|
),
|
|
31776
|
-
/* @__PURE__ */
|
|
33339
|
+
/* @__PURE__ */ jsx63($6f909507e6374d18$export$2c1b491743890dec, { className: Slider_default.thumb })
|
|
31777
33340
|
] });
|
|
31778
33341
|
} })
|
|
31779
33342
|
] });
|
|
31780
33343
|
}
|
|
31781
33344
|
|
|
31782
33345
|
// src/components/StatusLight.tsx
|
|
31783
|
-
var
|
|
33346
|
+
var import_classnames49 = __toESM(require_classnames());
|
|
31784
33347
|
|
|
31785
33348
|
// css-modules:E:\dev\umami-react-zen\src\components\StatusLight.module.css
|
|
31786
33349
|
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
33350
|
|
|
31788
33351
|
// src/components/StatusLight.tsx
|
|
31789
|
-
import { jsx as
|
|
33352
|
+
import { jsx as jsx64, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
31790
33353
|
function StatusLight(props) {
|
|
31791
33354
|
const { color, variant = "inactive", children, className, ...domProps } = props;
|
|
31792
|
-
return /* @__PURE__ */
|
|
31793
|
-
/* @__PURE__ */
|
|
33355
|
+
return /* @__PURE__ */ jsxs39("div", { ...domProps, className: (0, import_classnames49.default)(StatusLight_default.statuslight, className), children: [
|
|
33356
|
+
/* @__PURE__ */ jsx64("div", { className: StatusLight_default.bg, children: /* @__PURE__ */ jsx64(
|
|
31794
33357
|
"div",
|
|
31795
33358
|
{
|
|
31796
|
-
className: (0,
|
|
33359
|
+
className: (0, import_classnames49.default)(StatusLight_default.status, StatusLight_default[variant]),
|
|
31797
33360
|
style: { backgroundColor: color }
|
|
31798
33361
|
}
|
|
31799
33362
|
) }),
|
|
@@ -31802,18 +33365,18 @@ function StatusLight(props) {
|
|
|
31802
33365
|
}
|
|
31803
33366
|
|
|
31804
33367
|
// src/components/Switch.tsx
|
|
31805
|
-
var
|
|
33368
|
+
var import_classnames50 = __toESM(require_classnames());
|
|
31806
33369
|
|
|
31807
33370
|
// css-modules:E:\dev\umami-react-zen\src\components\Switch.module.css
|
|
31808
33371
|
var Switch_default = { "switch": "Switch_switch__NzIwM", "track": "Switch_track__NWQ0M", "knob": "Switch_knob__NDU3M" };
|
|
31809
33372
|
|
|
31810
33373
|
// src/components/Switch.tsx
|
|
31811
|
-
import { jsx as
|
|
33374
|
+
import { jsx as jsx65, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
31812
33375
|
function Switch2({ label, children, className, ...props }) {
|
|
31813
|
-
return /* @__PURE__ */
|
|
31814
|
-
label && /* @__PURE__ */
|
|
31815
|
-
/* @__PURE__ */
|
|
31816
|
-
/* @__PURE__ */
|
|
33376
|
+
return /* @__PURE__ */ jsxs40(Column, { children: [
|
|
33377
|
+
label && /* @__PURE__ */ jsx65(Label2, { children: label }),
|
|
33378
|
+
/* @__PURE__ */ jsxs40($8e59e948500a8fe1$export$b5d5cf8927ab7262, { ...props, className: (0, import_classnames50.default)(Switch_default.switch, className), children: [
|
|
33379
|
+
/* @__PURE__ */ jsx65("div", { className: Switch_default.track, children: /* @__PURE__ */ jsx65("div", { className: Switch_default.knob }) }),
|
|
31817
33380
|
children
|
|
31818
33381
|
] })
|
|
31819
33382
|
] });
|
|
@@ -31823,28 +33386,28 @@ function Switch2({ label, children, className, ...props }) {
|
|
|
31823
33386
|
var Tabs_default = { "tabs": "Tabs_tabs__OWVjO", "list": "Tabs_list__YWRjM", "tab": "Tabs_tab__ZjgwM", "quiet": "Tabs_quiet__ZTQ1O" };
|
|
31824
33387
|
|
|
31825
33388
|
// src/components/Tabs.tsx
|
|
31826
|
-
import { jsx as
|
|
33389
|
+
import { jsx as jsx66 } from "react/jsx-runtime";
|
|
31827
33390
|
function Tabs2({ children, ...props }) {
|
|
31828
|
-
return /* @__PURE__ */
|
|
33391
|
+
return /* @__PURE__ */ jsx66($5e8ad37a45e1c704$export$b2539bed5023c21c, { ...props, className: Tabs_default.tabs, children });
|
|
31829
33392
|
}
|
|
31830
33393
|
function TabList2({ children, ...props }) {
|
|
31831
|
-
return /* @__PURE__ */
|
|
33394
|
+
return /* @__PURE__ */ jsx66($5e8ad37a45e1c704$export$e51a686c67fdaa2d, { ...props, className: Tabs_default.list, children });
|
|
31832
33395
|
}
|
|
31833
33396
|
function Tab({ children, ...props }) {
|
|
31834
|
-
return /* @__PURE__ */
|
|
33397
|
+
return /* @__PURE__ */ jsx66($5e8ad37a45e1c704$export$3e41faf802a29e71, { ...props, className: Tabs_default.tab, children });
|
|
31835
33398
|
}
|
|
31836
33399
|
function TabPanel2({ children, ...props }) {
|
|
31837
|
-
return /* @__PURE__ */
|
|
33400
|
+
return /* @__PURE__ */ jsx66($5e8ad37a45e1c704$export$3d96ec278d3efce4, { ...props, className: Tabs_default.panel, children });
|
|
31838
33401
|
}
|
|
31839
33402
|
|
|
31840
33403
|
// src/components/ThemeButton.tsx
|
|
31841
|
-
var
|
|
33404
|
+
var import_classnames51 = __toESM(require_classnames());
|
|
31842
33405
|
|
|
31843
33406
|
// css-modules:E:\dev\umami-react-zen\src\components\ThemeButton.module.css
|
|
31844
33407
|
var ThemeButton_default = { "button": "ThemeButton_button__Zjc5N" };
|
|
31845
33408
|
|
|
31846
33409
|
// src/components/ThemeButton.tsx
|
|
31847
|
-
import { jsx as
|
|
33410
|
+
import { jsx as jsx67, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
31848
33411
|
function ThemeButton({
|
|
31849
33412
|
className,
|
|
31850
33413
|
variant = "quiet",
|
|
@@ -31869,17 +33432,17 @@ function ThemeButton({
|
|
|
31869
33432
|
setTheme2(theme === "light" ? "dark" : "light");
|
|
31870
33433
|
onPress?.(e);
|
|
31871
33434
|
}
|
|
31872
|
-
return /* @__PURE__ */
|
|
33435
|
+
return /* @__PURE__ */ jsxs41(
|
|
31873
33436
|
Button2,
|
|
31874
33437
|
{
|
|
31875
33438
|
...props,
|
|
31876
|
-
className: (0,
|
|
33439
|
+
className: (0, import_classnames51.default)(ThemeButton_default.button, className),
|
|
31877
33440
|
variant,
|
|
31878
33441
|
onPress: handleClick,
|
|
31879
33442
|
children: [
|
|
31880
33443
|
transitions((style, item) => (
|
|
31881
33444
|
// @ts-ignore
|
|
31882
|
-
/* @__PURE__ */
|
|
33445
|
+
/* @__PURE__ */ jsx67(animated.div, { style, children: /* @__PURE__ */ jsx67(Icon2, { size: "sm", children: item === "light" ? /* @__PURE__ */ jsx67(Sun, {}) : /* @__PURE__ */ jsx67(Moon, {}) }) }, item)
|
|
31883
33446
|
)),
|
|
31884
33447
|
"\xA0"
|
|
31885
33448
|
]
|
|
@@ -31888,23 +33451,23 @@ function ThemeButton({
|
|
|
31888
33451
|
}
|
|
31889
33452
|
|
|
31890
33453
|
// src/components/Toggle.tsx
|
|
31891
|
-
var
|
|
33454
|
+
var import_classnames52 = __toESM(require_classnames());
|
|
31892
33455
|
|
|
31893
33456
|
// css-modules:E:\dev\umami-react-zen\src\components\Toggle.module.css
|
|
31894
33457
|
var Toggle_default = { "toggle": "Toggle_toggle__OWVjZ" };
|
|
31895
33458
|
|
|
31896
33459
|
// src/components/Toggle.tsx
|
|
31897
|
-
import { Fragment as Fragment14, jsx as
|
|
33460
|
+
import { Fragment as Fragment14, jsx as jsx68, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
31898
33461
|
function Toggle({ label, children, className, ...props }) {
|
|
31899
33462
|
const isSelected = typeof props.value !== "undefined" ? !!props.value : void 0;
|
|
31900
|
-
return /* @__PURE__ */
|
|
31901
|
-
label && /* @__PURE__ */
|
|
31902
|
-
/* @__PURE__ */
|
|
33463
|
+
return /* @__PURE__ */ jsxs42(Fragment14, { children: [
|
|
33464
|
+
label && /* @__PURE__ */ jsx68(Label2, { children: label }),
|
|
33465
|
+
/* @__PURE__ */ jsx68(
|
|
31903
33466
|
$efde0372d7a700fe$export$d2b052e7b4be1756,
|
|
31904
33467
|
{
|
|
31905
33468
|
...props,
|
|
31906
33469
|
isSelected,
|
|
31907
|
-
className: (0,
|
|
33470
|
+
className: (0, import_classnames52.default)(Toggle_default.toggle, className),
|
|
31908
33471
|
children
|
|
31909
33472
|
}
|
|
31910
33473
|
)
|
|
@@ -31912,13 +33475,13 @@ function Toggle({ label, children, className, ...props }) {
|
|
|
31912
33475
|
}
|
|
31913
33476
|
|
|
31914
33477
|
// src/components/ToggleGroup.tsx
|
|
31915
|
-
var
|
|
33478
|
+
var import_classnames53 = __toESM(require_classnames());
|
|
31916
33479
|
|
|
31917
33480
|
// css-modules:E:\dev\umami-react-zen\src\components\ToggleGroup.module.css
|
|
31918
33481
|
var ToggleGroup_default = { "group": "ToggleGroup_group__NDJiO", "list": "ToggleGroup_list__NTM2M", "item": "ToggleGroup_item__MWFiY", "primary": "ToggleGroup_primary__ZTAyY" };
|
|
31919
33482
|
|
|
31920
33483
|
// src/components/ToggleGroup.tsx
|
|
31921
|
-
import { jsx as
|
|
33484
|
+
import { jsx as jsx69, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
31922
33485
|
function ToggleGroup({
|
|
31923
33486
|
label,
|
|
31924
33487
|
value,
|
|
@@ -31937,7 +33500,7 @@ function ToggleGroup({
|
|
|
31937
33500
|
onSelectionChange?.(keys);
|
|
31938
33501
|
onChange?.(Array.from(keys).map((k) => k.toString()));
|
|
31939
33502
|
};
|
|
31940
|
-
return /* @__PURE__ */
|
|
33503
|
+
return /* @__PURE__ */ jsxs43(
|
|
31941
33504
|
$eaf9e70818b436db$export$67ea30858aaf75e3,
|
|
31942
33505
|
{
|
|
31943
33506
|
...props,
|
|
@@ -31945,26 +33508,26 @@ function ToggleGroup({
|
|
|
31945
33508
|
defaultSelectedKeys: defaultValue || defaultSelectedKeys,
|
|
31946
33509
|
selectionMode,
|
|
31947
33510
|
onSelectionChange: handleChange,
|
|
31948
|
-
className: (0,
|
|
33511
|
+
className: (0, import_classnames53.default)(ToggleGroup_default.group, className, variant && ToggleGroup_default[variant]),
|
|
31949
33512
|
children: [
|
|
31950
|
-
label && /* @__PURE__ */
|
|
31951
|
-
/* @__PURE__ */
|
|
33513
|
+
label && /* @__PURE__ */ jsx69(Label2, { children: label }),
|
|
33514
|
+
/* @__PURE__ */ jsx69($eaf9e70818b436db$export$f9fef0f55402315b, { className: ToggleGroup_default.list, children })
|
|
31952
33515
|
]
|
|
31953
33516
|
}
|
|
31954
33517
|
);
|
|
31955
33518
|
}
|
|
31956
33519
|
function ToggleGroupItem({ className, children, ...props }) {
|
|
31957
|
-
return /* @__PURE__ */
|
|
33520
|
+
return /* @__PURE__ */ jsx69($eaf9e70818b436db$export$3288d34c523a1192, { ...props, className: (0, import_classnames53.default)(ToggleGroup_default.item, className), children });
|
|
31958
33521
|
}
|
|
31959
33522
|
|
|
31960
33523
|
// src/components/ZenProvider.tsx
|
|
31961
|
-
import { jsx as
|
|
33524
|
+
import { jsx as jsx70 } from "react/jsx-runtime";
|
|
31962
33525
|
var defaultToastCofig = {
|
|
31963
33526
|
duration: 3e3
|
|
31964
33527
|
};
|
|
31965
33528
|
function ZenProvider({ children, ...props }) {
|
|
31966
33529
|
const { toast = defaultToastCofig } = props;
|
|
31967
|
-
return /* @__PURE__ */
|
|
33530
|
+
return /* @__PURE__ */ jsx70(ToastProvider, { ...toast, children });
|
|
31968
33531
|
}
|
|
31969
33532
|
export {
|
|
31970
33533
|
Accordion,
|
|
@@ -31980,6 +33543,7 @@ export {
|
|
|
31980
33543
|
Checkbox2 as Checkbox,
|
|
31981
33544
|
Code,
|
|
31982
33545
|
Column,
|
|
33546
|
+
ComboBox2 as ComboBox,
|
|
31983
33547
|
ConfirmationDialog,
|
|
31984
33548
|
Container,
|
|
31985
33549
|
DataColumn,
|