1 | "use strict";
|
2 | var __defProp = Object.defineProperty;
|
3 | var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
4 | var __getOwnPropNames = Object.getOwnPropertyNames;
|
5 | var __hasOwnProp = Object.prototype.hasOwnProperty;
|
6 | var __export = (target, all) => {
|
7 | for (var name in all)
|
8 | __defProp(target, name, { get: all[name], enumerable: true });
|
9 | };
|
10 | var __copyProps = (to, from, except, desc) => {
|
11 | if (from && typeof from === "object" || typeof from === "function") {
|
12 | for (let key of __getOwnPropNames(from))
|
13 | if (!__hasOwnProp.call(to, key) && key !== except)
|
14 | __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
15 | }
|
16 | return to;
|
17 | };
|
18 | var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
19 | var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20 |
|
21 |
|
22 | var src_exports = {};
|
23 | __export(src_exports, {
|
24 | ChakraBaseProvider: () => ChakraBaseProvider,
|
25 | ChakraProvider: () => ChakraProvider
|
26 | });
|
27 | module.exports = __toCommonJS(src_exports);
|
28 | __reExport(src_exports, require("@chakra-ui/accordion"), module.exports);
|
29 | __reExport(src_exports, require("@chakra-ui/alert"), module.exports);
|
30 | __reExport(src_exports, require("@chakra-ui/avatar"), module.exports);
|
31 | __reExport(src_exports, require("@chakra-ui/breadcrumb"), module.exports);
|
32 | __reExport(src_exports, require("@chakra-ui/button"), module.exports);
|
33 | __reExport(src_exports, require("@chakra-ui/card"), module.exports);
|
34 | __reExport(src_exports, require("@chakra-ui/checkbox"), module.exports);
|
35 | __reExport(src_exports, require("@chakra-ui/close-button"), module.exports);
|
36 | __reExport(src_exports, require("@chakra-ui/control-box"), module.exports);
|
37 | __reExport(src_exports, require("@chakra-ui/counter"), module.exports);
|
38 | __reExport(src_exports, require("@chakra-ui/css-reset"), module.exports);
|
39 | __reExport(src_exports, require("@chakra-ui/editable"), module.exports);
|
40 | __reExport(src_exports, require("@chakra-ui/focus-lock"), module.exports);
|
41 | __reExport(src_exports, require("@chakra-ui/form-control"), module.exports);
|
42 | __reExport(src_exports, require("@chakra-ui/hooks"), module.exports);
|
43 | __reExport(src_exports, require("@chakra-ui/icon"), module.exports);
|
44 | __reExport(src_exports, require("@chakra-ui/image"), module.exports);
|
45 | __reExport(src_exports, require("@chakra-ui/input"), module.exports);
|
46 | __reExport(src_exports, require("@chakra-ui/layout"), module.exports);
|
47 | __reExport(src_exports, require("@chakra-ui/media-query"), module.exports);
|
48 | __reExport(src_exports, require("@chakra-ui/menu"), module.exports);
|
49 | __reExport(src_exports, require("@chakra-ui/modal"), module.exports);
|
50 | __reExport(src_exports, require("@chakra-ui/number-input"), module.exports);
|
51 | __reExport(src_exports, require("@chakra-ui/pin-input"), module.exports);
|
52 | __reExport(src_exports, require("@chakra-ui/popover"), module.exports);
|
53 | __reExport(src_exports, require("@chakra-ui/popper"), module.exports);
|
54 | __reExport(src_exports, require("@chakra-ui/portal"), module.exports);
|
55 | __reExport(src_exports, require("@chakra-ui/progress"), module.exports);
|
56 | __reExport(src_exports, require("@chakra-ui/radio"), module.exports);
|
57 | __reExport(src_exports, require("@chakra-ui/react-env"), module.exports);
|
58 | __reExport(src_exports, require("@chakra-ui/select"), module.exports);
|
59 | __reExport(src_exports, require("@chakra-ui/skeleton"), module.exports);
|
60 | __reExport(src_exports, require("@chakra-ui/skip-nav"), module.exports);
|
61 | __reExport(src_exports, require("@chakra-ui/slider"), module.exports);
|
62 | __reExport(src_exports, require("@chakra-ui/spinner"), module.exports);
|
63 | __reExport(src_exports, require("@chakra-ui/stat"), module.exports);
|
64 | __reExport(src_exports, require("@chakra-ui/stepper"), module.exports);
|
65 | __reExport(src_exports, require("@chakra-ui/switch"), module.exports);
|
66 | __reExport(src_exports, require("@chakra-ui/system"), module.exports);
|
67 | __reExport(src_exports, require("@chakra-ui/table"), module.exports);
|
68 | __reExport(src_exports, require("@chakra-ui/tabs"), module.exports);
|
69 | __reExport(src_exports, require("@chakra-ui/tag"), module.exports);
|
70 | __reExport(src_exports, require("@chakra-ui/textarea"), module.exports);
|
71 | __reExport(src_exports, require("@chakra-ui/theme"), module.exports);
|
72 | __reExport(src_exports, require("@chakra-ui/theme-utils"), module.exports);
|
73 | __reExport(src_exports, require("@chakra-ui/toast"), module.exports);
|
74 | __reExport(src_exports, require("@chakra-ui/tooltip"), module.exports);
|
75 | __reExport(src_exports, require("@chakra-ui/transition"), module.exports);
|
76 | __reExport(src_exports, require("@chakra-ui/visually-hidden"), module.exports);
|
77 |
|
78 |
|
79 | var import_provider = require("@chakra-ui/provider");
|
80 | var import_theme = require("@chakra-ui/theme");
|
81 | var import_toast = require("@chakra-ui/toast");
|
82 | var import_jsx_runtime = require("react/jsx-runtime");
|
83 | var createChakraProvider = (providerTheme) => {
|
84 | return function ChakraProvider2({
|
85 | children,
|
86 | theme = providerTheme,
|
87 | toastOptions,
|
88 | ...restProps
|
89 | }) {
|
90 | return (0, import_jsx_runtime.jsxs)(import_provider.ChakraProvider, { theme, ...restProps, children: [
|
91 | (0, import_jsx_runtime.jsx)(import_toast.ToastOptionProvider, { value: toastOptions == null ? void 0 : toastOptions.defaultOptions, children }),
|
92 | (0, import_jsx_runtime.jsx)(import_toast.ToastProvider, { ...toastOptions })
|
93 | ] });
|
94 | };
|
95 | };
|
96 | var ChakraProvider = createChakraProvider(import_theme.theme);
|
97 | var ChakraBaseProvider = createChakraProvider(import_theme.baseTheme);
|
98 |
|
99 | 0 && (module.exports = {
|
100 | ChakraBaseProvider,
|
101 | ChakraProvider,
|
102 | ...require("@chakra-ui/accordion"),
|
103 | ...require("@chakra-ui/alert"),
|
104 | ...require("@chakra-ui/avatar"),
|
105 | ...require("@chakra-ui/breadcrumb"),
|
106 | ...require("@chakra-ui/button"),
|
107 | ...require("@chakra-ui/card"),
|
108 | ...require("@chakra-ui/checkbox"),
|
109 | ...require("@chakra-ui/close-button"),
|
110 | ...require("@chakra-ui/control-box"),
|
111 | ...require("@chakra-ui/counter"),
|
112 | ...require("@chakra-ui/css-reset"),
|
113 | ...require("@chakra-ui/editable"),
|
114 | ...require("@chakra-ui/focus-lock"),
|
115 | ...require("@chakra-ui/form-control"),
|
116 | ...require("@chakra-ui/hooks"),
|
117 | ...require("@chakra-ui/icon"),
|
118 | ...require("@chakra-ui/image"),
|
119 | ...require("@chakra-ui/input"),
|
120 | ...require("@chakra-ui/layout"),
|
121 | ...require("@chakra-ui/media-query"),
|
122 | ...require("@chakra-ui/menu"),
|
123 | ...require("@chakra-ui/modal"),
|
124 | ...require("@chakra-ui/number-input"),
|
125 | ...require("@chakra-ui/pin-input"),
|
126 | ...require("@chakra-ui/popover"),
|
127 | ...require("@chakra-ui/popper"),
|
128 | ...require("@chakra-ui/portal"),
|
129 | ...require("@chakra-ui/progress"),
|
130 | ...require("@chakra-ui/radio"),
|
131 | ...require("@chakra-ui/react-env"),
|
132 | ...require("@chakra-ui/select"),
|
133 | ...require("@chakra-ui/skeleton"),
|
134 | ...require("@chakra-ui/skip-nav"),
|
135 | ...require("@chakra-ui/slider"),
|
136 | ...require("@chakra-ui/spinner"),
|
137 | ...require("@chakra-ui/stat"),
|
138 | ...require("@chakra-ui/stepper"),
|
139 | ...require("@chakra-ui/switch"),
|
140 | ...require("@chakra-ui/system"),
|
141 | ...require("@chakra-ui/table"),
|
142 | ...require("@chakra-ui/tabs"),
|
143 | ...require("@chakra-ui/tag"),
|
144 | ...require("@chakra-ui/textarea"),
|
145 | ...require("@chakra-ui/theme"),
|
146 | ...require("@chakra-ui/theme-utils"),
|
147 | ...require("@chakra-ui/toast"),
|
148 | ...require("@chakra-ui/tooltip"),
|
149 | ...require("@chakra-ui/transition"),
|
150 | ...require("@chakra-ui/visually-hidden")
|
151 | });
|
152 |
|
\ | No newline at end of file |