wcz-test 6.9.3 → 6.9.4

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.
@@ -0,0 +1,338 @@
1
+ import React, { createContext, useContext } from "react";
2
+ import { useEventCallback, Dialog, DialogTitle, DialogContent, DialogActions, Button } from "@mui/material";
3
+ import { useTranslation } from "react-i18next";
4
+ var jsxRuntime = { exports: {} };
5
+ var reactJsxRuntime_production = {};
6
+ var hasRequiredReactJsxRuntime_production;
7
+ function requireReactJsxRuntime_production() {
8
+ if (hasRequiredReactJsxRuntime_production) return reactJsxRuntime_production;
9
+ hasRequiredReactJsxRuntime_production = 1;
10
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
11
+ function jsxProd(type, config, maybeKey) {
12
+ var key = null;
13
+ void 0 !== maybeKey && (key = "" + maybeKey);
14
+ void 0 !== config.key && (key = "" + config.key);
15
+ if ("key" in config) {
16
+ maybeKey = {};
17
+ for (var propName in config)
18
+ "key" !== propName && (maybeKey[propName] = config[propName]);
19
+ } else maybeKey = config;
20
+ config = maybeKey.ref;
21
+ return {
22
+ $$typeof: REACT_ELEMENT_TYPE,
23
+ type,
24
+ key,
25
+ ref: void 0 !== config ? config : null,
26
+ props: maybeKey
27
+ };
28
+ }
29
+ reactJsxRuntime_production.Fragment = REACT_FRAGMENT_TYPE;
30
+ reactJsxRuntime_production.jsx = jsxProd;
31
+ reactJsxRuntime_production.jsxs = jsxProd;
32
+ return reactJsxRuntime_production;
33
+ }
34
+ var reactJsxRuntime_development = {};
35
+ var hasRequiredReactJsxRuntime_development;
36
+ function requireReactJsxRuntime_development() {
37
+ if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
38
+ hasRequiredReactJsxRuntime_development = 1;
39
+ "production" !== process.env.NODE_ENV && (function() {
40
+ function getComponentNameFromType(type) {
41
+ if (null == type) return null;
42
+ if ("function" === typeof type)
43
+ return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
44
+ if ("string" === typeof type) return type;
45
+ switch (type) {
46
+ case REACT_FRAGMENT_TYPE:
47
+ return "Fragment";
48
+ case REACT_PROFILER_TYPE:
49
+ return "Profiler";
50
+ case REACT_STRICT_MODE_TYPE:
51
+ return "StrictMode";
52
+ case REACT_SUSPENSE_TYPE:
53
+ return "Suspense";
54
+ case REACT_SUSPENSE_LIST_TYPE:
55
+ return "SuspenseList";
56
+ case REACT_ACTIVITY_TYPE:
57
+ return "Activity";
58
+ }
59
+ if ("object" === typeof type)
60
+ switch ("number" === typeof type.tag && console.error(
61
+ "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
62
+ ), type.$$typeof) {
63
+ case REACT_PORTAL_TYPE:
64
+ return "Portal";
65
+ case REACT_CONTEXT_TYPE:
66
+ return type.displayName || "Context";
67
+ case REACT_CONSUMER_TYPE:
68
+ return (type._context.displayName || "Context") + ".Consumer";
69
+ case REACT_FORWARD_REF_TYPE:
70
+ var innerType = type.render;
71
+ type = type.displayName;
72
+ type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
73
+ return type;
74
+ case REACT_MEMO_TYPE:
75
+ return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
76
+ case REACT_LAZY_TYPE:
77
+ innerType = type._payload;
78
+ type = type._init;
79
+ try {
80
+ return getComponentNameFromType(type(innerType));
81
+ } catch (x) {
82
+ }
83
+ }
84
+ return null;
85
+ }
86
+ function testStringCoercion(value) {
87
+ return "" + value;
88
+ }
89
+ function checkKeyStringCoercion(value) {
90
+ try {
91
+ testStringCoercion(value);
92
+ var JSCompiler_inline_result = false;
93
+ } catch (e) {
94
+ JSCompiler_inline_result = true;
95
+ }
96
+ if (JSCompiler_inline_result) {
97
+ JSCompiler_inline_result = console;
98
+ var JSCompiler_temp_const = JSCompiler_inline_result.error;
99
+ var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
100
+ JSCompiler_temp_const.call(
101
+ JSCompiler_inline_result,
102
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
103
+ JSCompiler_inline_result$jscomp$0
104
+ );
105
+ return testStringCoercion(value);
106
+ }
107
+ }
108
+ function getTaskName(type) {
109
+ if (type === REACT_FRAGMENT_TYPE) return "<>";
110
+ if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
111
+ return "<...>";
112
+ try {
113
+ var name = getComponentNameFromType(type);
114
+ return name ? "<" + name + ">" : "<...>";
115
+ } catch (x) {
116
+ return "<...>";
117
+ }
118
+ }
119
+ function getOwner() {
120
+ var dispatcher = ReactSharedInternals.A;
121
+ return null === dispatcher ? null : dispatcher.getOwner();
122
+ }
123
+ function UnknownOwner() {
124
+ return Error("react-stack-top-frame");
125
+ }
126
+ function hasValidKey(config) {
127
+ if (hasOwnProperty.call(config, "key")) {
128
+ var getter = Object.getOwnPropertyDescriptor(config, "key").get;
129
+ if (getter && getter.isReactWarning) return false;
130
+ }
131
+ return void 0 !== config.key;
132
+ }
133
+ function defineKeyPropWarningGetter(props, displayName) {
134
+ function warnAboutAccessingKey() {
135
+ specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
136
+ "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
137
+ displayName
138
+ ));
139
+ }
140
+ warnAboutAccessingKey.isReactWarning = true;
141
+ Object.defineProperty(props, "key", {
142
+ get: warnAboutAccessingKey,
143
+ configurable: true
144
+ });
145
+ }
146
+ function elementRefGetterWithDeprecationWarning() {
147
+ var componentName = getComponentNameFromType(this.type);
148
+ didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
149
+ "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
150
+ ));
151
+ componentName = this.props.ref;
152
+ return void 0 !== componentName ? componentName : null;
153
+ }
154
+ function ReactElement(type, key, props, owner, debugStack, debugTask) {
155
+ var refProp = props.ref;
156
+ type = {
157
+ $$typeof: REACT_ELEMENT_TYPE,
158
+ type,
159
+ key,
160
+ props,
161
+ _owner: owner
162
+ };
163
+ null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
164
+ enumerable: false,
165
+ get: elementRefGetterWithDeprecationWarning
166
+ }) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
167
+ type._store = {};
168
+ Object.defineProperty(type._store, "validated", {
169
+ configurable: false,
170
+ enumerable: false,
171
+ writable: true,
172
+ value: 0
173
+ });
174
+ Object.defineProperty(type, "_debugInfo", {
175
+ configurable: false,
176
+ enumerable: false,
177
+ writable: true,
178
+ value: null
179
+ });
180
+ Object.defineProperty(type, "_debugStack", {
181
+ configurable: false,
182
+ enumerable: false,
183
+ writable: true,
184
+ value: debugStack
185
+ });
186
+ Object.defineProperty(type, "_debugTask", {
187
+ configurable: false,
188
+ enumerable: false,
189
+ writable: true,
190
+ value: debugTask
191
+ });
192
+ Object.freeze && (Object.freeze(type.props), Object.freeze(type));
193
+ return type;
194
+ }
195
+ function jsxDEVImpl(type, config, maybeKey, isStaticChildren, debugStack, debugTask) {
196
+ var children = config.children;
197
+ if (void 0 !== children)
198
+ if (isStaticChildren)
199
+ if (isArrayImpl(children)) {
200
+ for (isStaticChildren = 0; isStaticChildren < children.length; isStaticChildren++)
201
+ validateChildKeys(children[isStaticChildren]);
202
+ Object.freeze && Object.freeze(children);
203
+ } else
204
+ console.error(
205
+ "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
206
+ );
207
+ else validateChildKeys(children);
208
+ if (hasOwnProperty.call(config, "key")) {
209
+ children = getComponentNameFromType(type);
210
+ var keys = Object.keys(config).filter(function(k) {
211
+ return "key" !== k;
212
+ });
213
+ isStaticChildren = 0 < keys.length ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
214
+ didWarnAboutKeySpread[children + isStaticChildren] || (keys = 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}", console.error(
215
+ 'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
216
+ isStaticChildren,
217
+ children,
218
+ keys,
219
+ children
220
+ ), didWarnAboutKeySpread[children + isStaticChildren] = true);
221
+ }
222
+ children = null;
223
+ void 0 !== maybeKey && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey);
224
+ hasValidKey(config) && (checkKeyStringCoercion(config.key), children = "" + config.key);
225
+ if ("key" in config) {
226
+ maybeKey = {};
227
+ for (var propName in config)
228
+ "key" !== propName && (maybeKey[propName] = config[propName]);
229
+ } else maybeKey = config;
230
+ children && defineKeyPropWarningGetter(
231
+ maybeKey,
232
+ "function" === typeof type ? type.displayName || type.name || "Unknown" : type
233
+ );
234
+ return ReactElement(
235
+ type,
236
+ children,
237
+ maybeKey,
238
+ getOwner(),
239
+ debugStack,
240
+ debugTask
241
+ );
242
+ }
243
+ function validateChildKeys(node) {
244
+ isValidElement(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node._payload.status ? isValidElement(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1));
245
+ }
246
+ function isValidElement(object) {
247
+ return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
248
+ }
249
+ var React$1 = React, REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = React$1.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
250
+ return null;
251
+ };
252
+ React$1 = {
253
+ react_stack_bottom_frame: function(callStackForError) {
254
+ return callStackForError();
255
+ }
256
+ };
257
+ var specialPropKeyWarningShown;
258
+ var didWarnAboutElementRef = {};
259
+ var unknownOwnerDebugStack = React$1.react_stack_bottom_frame.bind(
260
+ React$1,
261
+ UnknownOwner
262
+ )();
263
+ var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
264
+ var didWarnAboutKeySpread = {};
265
+ reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
266
+ reactJsxRuntime_development.jsx = function(type, config, maybeKey) {
267
+ var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
268
+ return jsxDEVImpl(
269
+ type,
270
+ config,
271
+ maybeKey,
272
+ false,
273
+ trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
274
+ trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
275
+ );
276
+ };
277
+ reactJsxRuntime_development.jsxs = function(type, config, maybeKey) {
278
+ var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
279
+ return jsxDEVImpl(
280
+ type,
281
+ config,
282
+ maybeKey,
283
+ true,
284
+ trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
285
+ trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
286
+ );
287
+ };
288
+ })();
289
+ return reactJsxRuntime_development;
290
+ }
291
+ var hasRequiredJsxRuntime;
292
+ function requireJsxRuntime() {
293
+ if (hasRequiredJsxRuntime) return jsxRuntime.exports;
294
+ hasRequiredJsxRuntime = 1;
295
+ if (process.env.NODE_ENV === "production") {
296
+ jsxRuntime.exports = requireReactJsxRuntime_production();
297
+ } else {
298
+ jsxRuntime.exports = requireReactJsxRuntime_development();
299
+ }
300
+ return jsxRuntime.exports;
301
+ }
302
+ var jsxRuntimeExports = requireJsxRuntime();
303
+ const DialogsContext = createContext({});
304
+ function AlertDialog({ open, payload, onClose }) {
305
+ const { t } = useTranslation();
306
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(Dialog, { maxWidth: "xs", fullWidth: true, open, onClose: () => onClose(), disableRestoreFocus: true, children: [
307
+ /* @__PURE__ */ jsxRuntimeExports.jsx(DialogTitle, { children: payload.title ?? t("Layout.Dialog.Alert") }),
308
+ /* @__PURE__ */ jsxRuntimeExports.jsx(DialogContent, { children: payload.message }),
309
+ /* @__PURE__ */ jsxRuntimeExports.jsx(DialogActions, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { onClick: () => onClose(), autoFocus: true, children: t("Layout.Dialog.Confirm") }) })
310
+ ] });
311
+ }
312
+ function ConfirmDialog({ open, payload, onClose }) {
313
+ const { t } = useTranslation();
314
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(Dialog, { maxWidth: "xs", fullWidth: true, open, onClose: () => onClose(false), disableRestoreFocus: true, children: [
315
+ /* @__PURE__ */ jsxRuntimeExports.jsx(DialogTitle, { children: payload.title ?? t("Layout.Dialog.Confirm") }),
316
+ /* @__PURE__ */ jsxRuntimeExports.jsx(DialogContent, { children: payload.message }),
317
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(DialogActions, { children: [
318
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { onClick: () => onClose(false), children: payload.cancelText ?? t("Layout.Dialog.Cancel") }),
319
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { onClick: () => onClose(true), autoFocus: true, children: t("Layout.Dialog.Confirm") })
320
+ ] })
321
+ ] });
322
+ }
323
+ function useDialogs() {
324
+ const { open, close } = useContext(DialogsContext);
325
+ const alert = useEventCallback(
326
+ (message, { ...options } = {}) => open(AlertDialog, { ...options, message })
327
+ );
328
+ const confirm = useEventCallback(
329
+ (message, { ...options } = {}) => open(ConfirmDialog, { ...options, message })
330
+ );
331
+ return { alert, confirm, open, close };
332
+ }
333
+ export {
334
+ DialogsContext as D,
335
+ jsxRuntimeExports as j,
336
+ useDialogs as u
337
+ };
338
+ //# sourceMappingURL=DialogsHooks-Bi8dZoyu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DialogsHooks-Bi8dZoyu.js","sources":["../node_modules/react/cjs/react-jsx-runtime.production.js","../node_modules/react/cjs/react-jsx-runtime.development.js","../node_modules/react/jsx-runtime.js","../src/contexts/DialogsContext.ts","../src/hooks/DialogsHooks.tsx"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","import { createContext } from \"react\";\r\nimport type { CloseDialog, OpenDialog } from \"../hooks/DialogsHooks\";\r\n\r\nexport interface DialogsContextValue {\r\n open: OpenDialog;\r\n close: CloseDialog;\r\n}\r\n\r\nexport const DialogsContext = createContext<DialogsContextValue>({} as DialogsContextValue);","import { Button, Dialog, DialogActions, DialogContent, DialogTitle, useEventCallback } from \"@mui/material\";\r\nimport { useContext } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { DialogsContext } from \"../contexts/DialogsContext\";\r\nimport type { ReactNode } from \"react\";\r\n\r\nexport interface OpenDialogOptions<TResult> {\r\n onClose?: (result: TResult) => Promise<void>;\r\n}\r\n\r\nexport interface AlertOptions {\r\n title?: ReactNode;\r\n}\r\n\r\nexport interface ConfirmOptions {\r\n title?: ReactNode;\r\n cancelText?: ReactNode;\r\n}\r\n\r\nexport interface DialogProps<TPayload = undefined, TResult = void> {\r\n payload: TPayload;\r\n open: boolean;\r\n onClose: (result: TResult) => Promise<void>;\r\n}\r\n\r\nexport type OpenAlertDialog = (message: ReactNode, options?: AlertOptions) => Promise<void>;\r\n\r\nexport type OpenConfirmDialog = (message: ReactNode, options?: ConfirmOptions) => Promise<boolean>;\r\n\r\nexport type DialogComponent<TPayload, TResult> = React.ComponentType<DialogProps<TPayload, TResult>>;\r\n\r\nexport interface OpenDialog {\r\n <TPayload extends undefined, TResult>(Component: DialogComponent<TPayload, TResult>, payload?: TPayload, options?: OpenDialogOptions<TResult>): Promise<TResult>;\r\n <TPayload, TResult>(Component: DialogComponent<TPayload, TResult>, payload: TPayload, options?: OpenDialogOptions<TResult>): Promise<TResult>;\r\n}\r\n\r\nexport type CloseDialog = <TResult>(dialog: Promise<TResult>, result: TResult) => Promise<TResult>;\r\n\r\nexport interface AlertDialogPayload extends AlertOptions {\r\n message: ReactNode;\r\n}\r\n\r\nexport type AlertDialogProps = DialogProps<AlertDialogPayload, void>\r\n\r\nexport function AlertDialog({ open, payload, onClose }: Readonly<AlertDialogProps>) {\r\n const { t } = useTranslation();\r\n\r\n return (\r\n <Dialog maxWidth=\"xs\" fullWidth open={open} onClose={() => onClose()} disableRestoreFocus>\r\n <DialogTitle>{payload.title ?? t(\"Layout.Dialog.Alert\")}</DialogTitle>\r\n <DialogContent>{payload.message}</DialogContent>\r\n <DialogActions>\r\n <Button onClick={() => onClose()} autoFocus>\r\n {t(\"Layout.Dialog.Confirm\")}\r\n </Button>\r\n </DialogActions>\r\n </Dialog>\r\n );\r\n}\r\n\r\nexport interface ConfirmDialogPayload extends ConfirmOptions {\r\n message: ReactNode;\r\n}\r\n\r\nexport type ConfirmDialogProps = DialogProps<ConfirmDialogPayload, boolean>\r\n\r\nexport function ConfirmDialog({ open, payload, onClose }: Readonly<ConfirmDialogProps>) {\r\n const { t } = useTranslation();\r\n\r\n return (\r\n <Dialog maxWidth=\"xs\" fullWidth open={open} onClose={() => onClose(false)} disableRestoreFocus>\r\n <DialogTitle>{payload.title ?? t(\"Layout.Dialog.Confirm\")}</DialogTitle>\r\n <DialogContent>{payload.message}</DialogContent>\r\n <DialogActions>\r\n <Button onClick={() => onClose(false)}>\r\n {payload.cancelText ?? t(\"Layout.Dialog.Cancel\")}\r\n </Button>\r\n <Button onClick={() => onClose(true)} autoFocus>\r\n {t(\"Layout.Dialog.Confirm\")}\r\n </Button>\r\n </DialogActions>\r\n </Dialog>\r\n );\r\n}\r\n\r\ninterface DialogHook {\r\n alert: OpenAlertDialog;\r\n confirm: OpenConfirmDialog;\r\n open: OpenDialog;\r\n close: CloseDialog;\r\n}\r\n\r\nexport function useDialogs(): DialogHook {\r\n const { open, close } = useContext(DialogsContext);\r\n\r\n const alert = useEventCallback<OpenAlertDialog>((message, { ...options } = {}) =>\r\n open(AlertDialog, { ...options, message }),\r\n );\r\n\r\n const confirm = useEventCallback<OpenConfirmDialog>((message, { ...options } = {}) =>\r\n open(ConfirmDialog, { ...options, message }),\r\n );\r\n\r\n return { alert, confirm, open, close };\r\n}\r\n"],"names":["React","require$$0","jsxRuntimeModule","require$$1","jsxs","jsx"],"mappings":";;;;;;;;;AAWA,MAAI,qBAAqB,OAAO,IAAI,4BAA4B,GAC9D,sBAAsB,OAAO,IAAI,gBAAgB;AACnD,WAAS,QAAQ,MAAM,QAAQ,UAAU;AACvC,QAAI,MAAM;AACV,eAAW,aAAa,MAAM,KAAK;AACnC,eAAW,OAAO,QAAQ,MAAM,KAAK,OAAO;AAC5C,QAAI,SAAS,QAAQ;AACnB,iBAAW,CAAA;AACX,eAAS,YAAY;AACnB,kBAAU,aAAa,SAAS,QAAQ,IAAI,OAAO,QAAQ;AAAA,IACjE,MAAS,YAAW;AAClB,aAAS,SAAS;AAClB,WAAO;AAAA,MACL,UAAU;AAAA,MACV;AAAA,MACA;AAAA,MACA,KAAK,WAAW,SAAS,SAAS;AAAA,MAClC,OAAO;AAAA;EAEX;AACA,6BAAA,WAAmB;AACnB,6BAAA,MAAc;AACd,6BAAA,OAAe;;;;;;;;ACtBf,mBAAiB,QAAQ,IAAI,aAC1B,WAAY;AACX,aAAS,yBAAyB,MAAM;AACtC,UAAI,QAAQ,KAAM,QAAO;AACzB,UAAI,eAAe,OAAO;AACxB,eAAO,KAAK,aAAa,yBACrB,OACA,KAAK,eAAe,KAAK,QAAQ;AACvC,UAAI,aAAa,OAAO,KAAM,QAAO;AACrC,cAAQ,MAAI;AAAA,QACV,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,MACjB;AACM,UAAI,aAAa,OAAO;AACtB,gBACG,aAAa,OAAO,KAAK,OACxB,QAAQ;AAAA,UACN;AAAA,WAEJ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,EAAE,MAAM,UAAU,WAAW,cAAc;AAEjD,QAAM,QAAQ;AAAA,IAAkC,CAAC,SAAS,EAAE,GAAG,YAAY,CAAA,MACvE,KAAK,aAAa,EAAE,GAAG,SAAS,SAAS;AAAA,EAAA;AAG7C,QAAM,UAAU;AAAA,IAAoC,CAAC,SAAS,EAAE,GAAG,YAAY,CAAA,MAC3E,KAAK,eAAe,EAAE,GAAG,SAAS,SAAS;AAAA,EAAA;AAG/C,SAAO,EAAE,OAAO,SAAS,MAAM,MAAA;AACnC;","x_google_ignoreList":[0,1,2]}
@@ -1,15 +1,15 @@
1
- import { jsx } from "react/jsx-runtime";
1
+ import { j as jsxRuntimeExports } from "./DialogsHooks-Bi8dZoyu.js";
2
2
  import { ListItemButton } from "@mui/material";
3
3
  import { createLink } from "@tanstack/react-router";
4
4
  import React from "react";
5
5
  const Component = React.forwardRef(function ButtonComponent(props, reference) {
6
- return /* @__PURE__ */ jsx(ListItemButton, { ref: reference, component: "a", ...props });
6
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemButton, { ref: reference, component: "a", ...props });
7
7
  });
8
8
  const CreatedComponent = createLink(Component);
9
9
  const RouterListItemButton = (props) => {
10
- return /* @__PURE__ */ jsx(CreatedComponent, { ...props });
10
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(CreatedComponent, { ...props });
11
11
  };
12
12
  export {
13
13
  RouterListItemButton as R
14
14
  };
15
- //# sourceMappingURL=RouterListItemButton-Cx7rXEfm.js.map
15
+ //# sourceMappingURL=RouterListItemButton-CHS7rofI.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RouterListItemButton-Cx7rXEfm.js","sources":["../src/components/router/RouterListItemButton.tsx"],"sourcesContent":["import { ListItemButton } from \"@mui/material\";\r\nimport { createLink } from \"@tanstack/react-router\";\r\nimport React from \"react\";\r\nimport type { ListItemButtonProps } from \"@mui/material\";\r\nimport type { LinkComponent } from \"@tanstack/react-router\";\r\n\r\nconst Component = React.forwardRef<HTMLAnchorElement, ListItemButtonProps<\"a\">>(function ButtonComponent(props, reference) {\r\n return <ListItemButton ref={reference} component=\"a\" {...props} />;\r\n});\r\n\r\nconst CreatedComponent = createLink(Component);\r\n\r\nexport const RouterListItemButton: LinkComponent<typeof Component> = (props) => {\r\n return <CreatedComponent {...props} />;\r\n};\r\n"],"names":[],"mappings":";;;;AAMA,MAAM,YAAY,MAAM,WAAwD,SAAS,gBAAgB,OAAO,WAAW;AACvH,6BAAQ,gBAAA,EAAe,KAAK,WAAW,WAAU,KAAK,GAAG,OAAO;AACpE,CAAC;AAED,MAAM,mBAAmB,WAAW,SAAS;AAEtC,MAAM,uBAAwD,CAAC,UAAU;AAC5E,SAAO,oBAAC,kBAAA,EAAkB,GAAG,MAAA,CAAO;AACxC;"}
1
+ {"version":3,"file":"RouterListItemButton-CHS7rofI.js","sources":["../src/components/router/RouterListItemButton.tsx"],"sourcesContent":["import { ListItemButton } from \"@mui/material\";\r\nimport { createLink } from \"@tanstack/react-router\";\r\nimport React from \"react\";\r\nimport type { ListItemButtonProps } from \"@mui/material\";\r\nimport type { LinkComponent } from \"@tanstack/react-router\";\r\n\r\nconst Component = React.forwardRef<HTMLAnchorElement, ListItemButtonProps<\"a\">>(function ButtonComponent(props, reference) {\r\n return <ListItemButton ref={reference} component=\"a\" {...props} />;\r\n});\r\n\r\nconst CreatedComponent = createLink(Component);\r\n\r\nexport const RouterListItemButton: LinkComponent<typeof Component> = (props) => {\r\n return <CreatedComponent {...props} />;\r\n};\r\n"],"names":["jsx"],"mappings":";;;;AAMA,MAAM,YAAY,MAAM,WAAwD,SAAS,gBAAgB,OAAO,WAAW;AACvH,+CAAQ,gBAAA,EAAe,KAAK,WAAW,WAAU,KAAK,GAAG,OAAO;AACpE,CAAC;AAED,MAAM,mBAAmB,WAAW,SAAS;AAEtC,MAAM,uBAAwD,CAAC,UAAU;AAC5E,SAAOA,sCAAC,kBAAA,EAAkB,GAAG,MAAA,CAAO;AACxC;"}