strivui 1.2.2 → 1.2.3
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.esm.js +939 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +971 -0
- package/dist/index.js.map +1 -0
- package/dist/striveui.css +2842 -0
- package/dist/striveui.css.map +1 -0
- package/dist/types/component/blocks.d.ts +39 -0
- package/dist/types/component/nativeBlock.d.ts +74 -0
- package/dist/types/component/uiBlock.d.ts +12 -0
- package/dist/types/component/webBlcok.d.ts +46 -0
- package/dist/types/index.d.ts +5 -0
- package/package.json +3 -2
|
@@ -0,0 +1,939 @@
|
|
|
1
|
+
import require$$0, { useState } from 'react';
|
|
2
|
+
|
|
3
|
+
function _arrayLikeToArray(r, a) {
|
|
4
|
+
(null == a || a > r.length) && (a = r.length);
|
|
5
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
6
|
+
return n;
|
|
7
|
+
}
|
|
8
|
+
function _arrayWithHoles(r) {
|
|
9
|
+
if (Array.isArray(r)) return r;
|
|
10
|
+
}
|
|
11
|
+
function _defineProperty(e, r, t) {
|
|
12
|
+
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
13
|
+
value: t,
|
|
14
|
+
enumerable: true,
|
|
15
|
+
configurable: true,
|
|
16
|
+
writable: true
|
|
17
|
+
}) : e[r] = t, e;
|
|
18
|
+
}
|
|
19
|
+
function _iterableToArrayLimit(r, l) {
|
|
20
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
21
|
+
if (null != t) {
|
|
22
|
+
var e,
|
|
23
|
+
n,
|
|
24
|
+
i,
|
|
25
|
+
u,
|
|
26
|
+
a = [],
|
|
27
|
+
f = true,
|
|
28
|
+
o = false;
|
|
29
|
+
try {
|
|
30
|
+
if (i = (t = t.call(r)).next, 0 === l) ; else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
31
|
+
} catch (r) {
|
|
32
|
+
o = true, n = r;
|
|
33
|
+
} finally {
|
|
34
|
+
try {
|
|
35
|
+
if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
|
|
36
|
+
} finally {
|
|
37
|
+
if (o) throw n;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return a;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
function _nonIterableRest() {
|
|
44
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
45
|
+
}
|
|
46
|
+
function ownKeys(e, r) {
|
|
47
|
+
var t = Object.keys(e);
|
|
48
|
+
if (Object.getOwnPropertySymbols) {
|
|
49
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
50
|
+
r && (o = o.filter(function (r) {
|
|
51
|
+
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
52
|
+
})), t.push.apply(t, o);
|
|
53
|
+
}
|
|
54
|
+
return t;
|
|
55
|
+
}
|
|
56
|
+
function _objectSpread2(e) {
|
|
57
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
58
|
+
var t = null != arguments[r] ? arguments[r] : {};
|
|
59
|
+
r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
|
|
60
|
+
_defineProperty(e, r, t[r]);
|
|
61
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
|
62
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
return e;
|
|
66
|
+
}
|
|
67
|
+
function _objectWithoutProperties(e, t) {
|
|
68
|
+
if (null == e) return {};
|
|
69
|
+
var o,
|
|
70
|
+
r,
|
|
71
|
+
i = _objectWithoutPropertiesLoose(e, t);
|
|
72
|
+
if (Object.getOwnPropertySymbols) {
|
|
73
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
74
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
75
|
+
}
|
|
76
|
+
return i;
|
|
77
|
+
}
|
|
78
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
79
|
+
if (null == r) return {};
|
|
80
|
+
var t = {};
|
|
81
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
82
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
83
|
+
t[n] = r[n];
|
|
84
|
+
}
|
|
85
|
+
return t;
|
|
86
|
+
}
|
|
87
|
+
function _slicedToArray(r, e) {
|
|
88
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
89
|
+
}
|
|
90
|
+
function _toPrimitive(t, r) {
|
|
91
|
+
if ("object" != typeof t || !t) return t;
|
|
92
|
+
var e = t[Symbol.toPrimitive];
|
|
93
|
+
if (void 0 !== e) {
|
|
94
|
+
var i = e.call(t, r);
|
|
95
|
+
if ("object" != typeof i) return i;
|
|
96
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
97
|
+
}
|
|
98
|
+
return ("string" === r ? String : Number)(t);
|
|
99
|
+
}
|
|
100
|
+
function _toPropertyKey(t) {
|
|
101
|
+
var i = _toPrimitive(t, "string");
|
|
102
|
+
return "symbol" == typeof i ? i : i + "";
|
|
103
|
+
}
|
|
104
|
+
function _unsupportedIterableToArray(r, a) {
|
|
105
|
+
if (r) {
|
|
106
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
107
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
108
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
var jsxRuntime = {exports: {}};
|
|
113
|
+
|
|
114
|
+
var reactJsxRuntime_production = {};
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* @license React
|
|
118
|
+
* react-jsx-runtime.production.js
|
|
119
|
+
*
|
|
120
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
121
|
+
*
|
|
122
|
+
* This source code is licensed under the MIT license found in the
|
|
123
|
+
* LICENSE file in the root directory of this source tree.
|
|
124
|
+
*/
|
|
125
|
+
|
|
126
|
+
var hasRequiredReactJsxRuntime_production;
|
|
127
|
+
|
|
128
|
+
function requireReactJsxRuntime_production () {
|
|
129
|
+
if (hasRequiredReactJsxRuntime_production) return reactJsxRuntime_production;
|
|
130
|
+
hasRequiredReactJsxRuntime_production = 1;
|
|
131
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
|
132
|
+
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
133
|
+
function jsxProd(type, config, maybeKey) {
|
|
134
|
+
var key = null;
|
|
135
|
+
void 0 !== maybeKey && (key = "" + maybeKey);
|
|
136
|
+
void 0 !== config.key && (key = "" + config.key);
|
|
137
|
+
if ("key" in config) {
|
|
138
|
+
maybeKey = {};
|
|
139
|
+
for (var propName in config)
|
|
140
|
+
"key" !== propName && (maybeKey[propName] = config[propName]);
|
|
141
|
+
} else maybeKey = config;
|
|
142
|
+
config = maybeKey.ref;
|
|
143
|
+
return {
|
|
144
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
|
145
|
+
type: type,
|
|
146
|
+
key: key,
|
|
147
|
+
ref: void 0 !== config ? config : null,
|
|
148
|
+
props: maybeKey
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
reactJsxRuntime_production.Fragment = REACT_FRAGMENT_TYPE;
|
|
152
|
+
reactJsxRuntime_production.jsx = jsxProd;
|
|
153
|
+
reactJsxRuntime_production.jsxs = jsxProd;
|
|
154
|
+
return reactJsxRuntime_production;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
var reactJsxRuntime_development = {};
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* @license React
|
|
161
|
+
* react-jsx-runtime.development.js
|
|
162
|
+
*
|
|
163
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
164
|
+
*
|
|
165
|
+
* This source code is licensed under the MIT license found in the
|
|
166
|
+
* LICENSE file in the root directory of this source tree.
|
|
167
|
+
*/
|
|
168
|
+
|
|
169
|
+
var hasRequiredReactJsxRuntime_development;
|
|
170
|
+
|
|
171
|
+
function requireReactJsxRuntime_development () {
|
|
172
|
+
if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
|
|
173
|
+
hasRequiredReactJsxRuntime_development = 1;
|
|
174
|
+
"production" !== process.env.NODE_ENV &&
|
|
175
|
+
(function () {
|
|
176
|
+
function getComponentNameFromType(type) {
|
|
177
|
+
if (null == type) return null;
|
|
178
|
+
if ("function" === typeof type)
|
|
179
|
+
return type.$$typeof === REACT_CLIENT_REFERENCE
|
|
180
|
+
? null
|
|
181
|
+
: type.displayName || type.name || null;
|
|
182
|
+
if ("string" === typeof type) return type;
|
|
183
|
+
switch (type) {
|
|
184
|
+
case REACT_FRAGMENT_TYPE:
|
|
185
|
+
return "Fragment";
|
|
186
|
+
case REACT_PROFILER_TYPE:
|
|
187
|
+
return "Profiler";
|
|
188
|
+
case REACT_STRICT_MODE_TYPE:
|
|
189
|
+
return "StrictMode";
|
|
190
|
+
case REACT_SUSPENSE_TYPE:
|
|
191
|
+
return "Suspense";
|
|
192
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
193
|
+
return "SuspenseList";
|
|
194
|
+
case REACT_ACTIVITY_TYPE:
|
|
195
|
+
return "Activity";
|
|
196
|
+
}
|
|
197
|
+
if ("object" === typeof type)
|
|
198
|
+
switch (
|
|
199
|
+
("number" === typeof type.tag &&
|
|
200
|
+
console.error(
|
|
201
|
+
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
202
|
+
),
|
|
203
|
+
type.$$typeof)
|
|
204
|
+
) {
|
|
205
|
+
case REACT_PORTAL_TYPE:
|
|
206
|
+
return "Portal";
|
|
207
|
+
case REACT_CONTEXT_TYPE:
|
|
208
|
+
return (type.displayName || "Context") + ".Provider";
|
|
209
|
+
case REACT_CONSUMER_TYPE:
|
|
210
|
+
return (type._context.displayName || "Context") + ".Consumer";
|
|
211
|
+
case REACT_FORWARD_REF_TYPE:
|
|
212
|
+
var innerType = type.render;
|
|
213
|
+
type = type.displayName;
|
|
214
|
+
type ||
|
|
215
|
+
((type = innerType.displayName || innerType.name || ""),
|
|
216
|
+
(type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));
|
|
217
|
+
return type;
|
|
218
|
+
case REACT_MEMO_TYPE:
|
|
219
|
+
return (
|
|
220
|
+
(innerType = type.displayName || null),
|
|
221
|
+
null !== innerType
|
|
222
|
+
? innerType
|
|
223
|
+
: getComponentNameFromType(type.type) || "Memo"
|
|
224
|
+
);
|
|
225
|
+
case REACT_LAZY_TYPE:
|
|
226
|
+
innerType = type._payload;
|
|
227
|
+
type = type._init;
|
|
228
|
+
try {
|
|
229
|
+
return getComponentNameFromType(type(innerType));
|
|
230
|
+
} catch (x) {}
|
|
231
|
+
}
|
|
232
|
+
return null;
|
|
233
|
+
}
|
|
234
|
+
function testStringCoercion(value) {
|
|
235
|
+
return "" + value;
|
|
236
|
+
}
|
|
237
|
+
function checkKeyStringCoercion(value) {
|
|
238
|
+
try {
|
|
239
|
+
testStringCoercion(value);
|
|
240
|
+
var JSCompiler_inline_result = !1;
|
|
241
|
+
} catch (e) {
|
|
242
|
+
JSCompiler_inline_result = true;
|
|
243
|
+
}
|
|
244
|
+
if (JSCompiler_inline_result) {
|
|
245
|
+
JSCompiler_inline_result = console;
|
|
246
|
+
var JSCompiler_temp_const = JSCompiler_inline_result.error;
|
|
247
|
+
var JSCompiler_inline_result$jscomp$0 =
|
|
248
|
+
("function" === typeof Symbol &&
|
|
249
|
+
Symbol.toStringTag &&
|
|
250
|
+
value[Symbol.toStringTag]) ||
|
|
251
|
+
value.constructor.name ||
|
|
252
|
+
"Object";
|
|
253
|
+
JSCompiler_temp_const.call(
|
|
254
|
+
JSCompiler_inline_result,
|
|
255
|
+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
256
|
+
JSCompiler_inline_result$jscomp$0
|
|
257
|
+
);
|
|
258
|
+
return testStringCoercion(value);
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
function getTaskName(type) {
|
|
262
|
+
if (type === REACT_FRAGMENT_TYPE) return "<>";
|
|
263
|
+
if (
|
|
264
|
+
"object" === typeof type &&
|
|
265
|
+
null !== type &&
|
|
266
|
+
type.$$typeof === REACT_LAZY_TYPE
|
|
267
|
+
)
|
|
268
|
+
return "<...>";
|
|
269
|
+
try {
|
|
270
|
+
var name = getComponentNameFromType(type);
|
|
271
|
+
return name ? "<" + name + ">" : "<...>";
|
|
272
|
+
} catch (x) {
|
|
273
|
+
return "<...>";
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
function getOwner() {
|
|
277
|
+
var dispatcher = ReactSharedInternals.A;
|
|
278
|
+
return null === dispatcher ? null : dispatcher.getOwner();
|
|
279
|
+
}
|
|
280
|
+
function UnknownOwner() {
|
|
281
|
+
return Error("react-stack-top-frame");
|
|
282
|
+
}
|
|
283
|
+
function hasValidKey(config) {
|
|
284
|
+
if (hasOwnProperty.call(config, "key")) {
|
|
285
|
+
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
|
286
|
+
if (getter && getter.isReactWarning) return false;
|
|
287
|
+
}
|
|
288
|
+
return void 0 !== config.key;
|
|
289
|
+
}
|
|
290
|
+
function defineKeyPropWarningGetter(props, displayName) {
|
|
291
|
+
function warnAboutAccessingKey() {
|
|
292
|
+
specialPropKeyWarningShown ||
|
|
293
|
+
((specialPropKeyWarningShown = true),
|
|
294
|
+
console.error(
|
|
295
|
+
"%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)",
|
|
296
|
+
displayName
|
|
297
|
+
));
|
|
298
|
+
}
|
|
299
|
+
warnAboutAccessingKey.isReactWarning = true;
|
|
300
|
+
Object.defineProperty(props, "key", {
|
|
301
|
+
get: warnAboutAccessingKey,
|
|
302
|
+
configurable: true
|
|
303
|
+
});
|
|
304
|
+
}
|
|
305
|
+
function elementRefGetterWithDeprecationWarning() {
|
|
306
|
+
var componentName = getComponentNameFromType(this.type);
|
|
307
|
+
didWarnAboutElementRef[componentName] ||
|
|
308
|
+
((didWarnAboutElementRef[componentName] = true),
|
|
309
|
+
console.error(
|
|
310
|
+
"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."
|
|
311
|
+
));
|
|
312
|
+
componentName = this.props.ref;
|
|
313
|
+
return void 0 !== componentName ? componentName : null;
|
|
314
|
+
}
|
|
315
|
+
function ReactElement(
|
|
316
|
+
type,
|
|
317
|
+
key,
|
|
318
|
+
self,
|
|
319
|
+
source,
|
|
320
|
+
owner,
|
|
321
|
+
props,
|
|
322
|
+
debugStack,
|
|
323
|
+
debugTask
|
|
324
|
+
) {
|
|
325
|
+
self = props.ref;
|
|
326
|
+
type = {
|
|
327
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
|
328
|
+
type: type,
|
|
329
|
+
key: key,
|
|
330
|
+
props: props,
|
|
331
|
+
_owner: owner
|
|
332
|
+
};
|
|
333
|
+
null !== (void 0 !== self ? self : null)
|
|
334
|
+
? Object.defineProperty(type, "ref", {
|
|
335
|
+
enumerable: false,
|
|
336
|
+
get: elementRefGetterWithDeprecationWarning
|
|
337
|
+
})
|
|
338
|
+
: Object.defineProperty(type, "ref", { enumerable: false, value: null });
|
|
339
|
+
type._store = {};
|
|
340
|
+
Object.defineProperty(type._store, "validated", {
|
|
341
|
+
configurable: false,
|
|
342
|
+
enumerable: false,
|
|
343
|
+
writable: true,
|
|
344
|
+
value: 0
|
|
345
|
+
});
|
|
346
|
+
Object.defineProperty(type, "_debugInfo", {
|
|
347
|
+
configurable: false,
|
|
348
|
+
enumerable: false,
|
|
349
|
+
writable: true,
|
|
350
|
+
value: null
|
|
351
|
+
});
|
|
352
|
+
Object.defineProperty(type, "_debugStack", {
|
|
353
|
+
configurable: false,
|
|
354
|
+
enumerable: false,
|
|
355
|
+
writable: true,
|
|
356
|
+
value: debugStack
|
|
357
|
+
});
|
|
358
|
+
Object.defineProperty(type, "_debugTask", {
|
|
359
|
+
configurable: false,
|
|
360
|
+
enumerable: false,
|
|
361
|
+
writable: true,
|
|
362
|
+
value: debugTask
|
|
363
|
+
});
|
|
364
|
+
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
365
|
+
return type;
|
|
366
|
+
}
|
|
367
|
+
function jsxDEVImpl(
|
|
368
|
+
type,
|
|
369
|
+
config,
|
|
370
|
+
maybeKey,
|
|
371
|
+
isStaticChildren,
|
|
372
|
+
source,
|
|
373
|
+
self,
|
|
374
|
+
debugStack,
|
|
375
|
+
debugTask
|
|
376
|
+
) {
|
|
377
|
+
var children = config.children;
|
|
378
|
+
if (void 0 !== children)
|
|
379
|
+
if (isStaticChildren)
|
|
380
|
+
if (isArrayImpl(children)) {
|
|
381
|
+
for (
|
|
382
|
+
isStaticChildren = 0;
|
|
383
|
+
isStaticChildren < children.length;
|
|
384
|
+
isStaticChildren++
|
|
385
|
+
)
|
|
386
|
+
validateChildKeys(children[isStaticChildren]);
|
|
387
|
+
Object.freeze && Object.freeze(children);
|
|
388
|
+
} else
|
|
389
|
+
console.error(
|
|
390
|
+
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
391
|
+
);
|
|
392
|
+
else validateChildKeys(children);
|
|
393
|
+
if (hasOwnProperty.call(config, "key")) {
|
|
394
|
+
children = getComponentNameFromType(type);
|
|
395
|
+
var keys = Object.keys(config).filter(function (k) {
|
|
396
|
+
return "key" !== k;
|
|
397
|
+
});
|
|
398
|
+
isStaticChildren =
|
|
399
|
+
0 < keys.length
|
|
400
|
+
? "{key: someKey, " + keys.join(": ..., ") + ": ...}"
|
|
401
|
+
: "{key: someKey}";
|
|
402
|
+
didWarnAboutKeySpread[children + isStaticChildren] ||
|
|
403
|
+
((keys =
|
|
404
|
+
0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
|
|
405
|
+
console.error(
|
|
406
|
+
'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} />',
|
|
407
|
+
isStaticChildren,
|
|
408
|
+
children,
|
|
409
|
+
keys,
|
|
410
|
+
children
|
|
411
|
+
),
|
|
412
|
+
(didWarnAboutKeySpread[children + isStaticChildren] = true));
|
|
413
|
+
}
|
|
414
|
+
children = null;
|
|
415
|
+
void 0 !== maybeKey &&
|
|
416
|
+
(checkKeyStringCoercion(maybeKey), (children = "" + maybeKey));
|
|
417
|
+
hasValidKey(config) &&
|
|
418
|
+
(checkKeyStringCoercion(config.key), (children = "" + config.key));
|
|
419
|
+
if ("key" in config) {
|
|
420
|
+
maybeKey = {};
|
|
421
|
+
for (var propName in config)
|
|
422
|
+
"key" !== propName && (maybeKey[propName] = config[propName]);
|
|
423
|
+
} else maybeKey = config;
|
|
424
|
+
children &&
|
|
425
|
+
defineKeyPropWarningGetter(
|
|
426
|
+
maybeKey,
|
|
427
|
+
"function" === typeof type
|
|
428
|
+
? type.displayName || type.name || "Unknown"
|
|
429
|
+
: type
|
|
430
|
+
);
|
|
431
|
+
return ReactElement(
|
|
432
|
+
type,
|
|
433
|
+
children,
|
|
434
|
+
self,
|
|
435
|
+
source,
|
|
436
|
+
getOwner(),
|
|
437
|
+
maybeKey,
|
|
438
|
+
debugStack,
|
|
439
|
+
debugTask
|
|
440
|
+
);
|
|
441
|
+
}
|
|
442
|
+
function validateChildKeys(node) {
|
|
443
|
+
"object" === typeof node &&
|
|
444
|
+
null !== node &&
|
|
445
|
+
node.$$typeof === REACT_ELEMENT_TYPE &&
|
|
446
|
+
node._store &&
|
|
447
|
+
(node._store.validated = 1);
|
|
448
|
+
}
|
|
449
|
+
var React = require$$0,
|
|
450
|
+
REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
|
451
|
+
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
|
|
452
|
+
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
|
453
|
+
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
|
|
454
|
+
REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
455
|
+
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
|
|
456
|
+
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
|
|
457
|
+
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
|
|
458
|
+
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
|
|
459
|
+
REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
|
|
460
|
+
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
|
461
|
+
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
|
462
|
+
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
|
|
463
|
+
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
|
464
|
+
ReactSharedInternals =
|
|
465
|
+
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
|
466
|
+
hasOwnProperty = Object.prototype.hasOwnProperty,
|
|
467
|
+
isArrayImpl = Array.isArray,
|
|
468
|
+
createTask = console.createTask
|
|
469
|
+
? console.createTask
|
|
470
|
+
: function () {
|
|
471
|
+
return null;
|
|
472
|
+
};
|
|
473
|
+
React = {
|
|
474
|
+
"react-stack-bottom-frame": function (callStackForError) {
|
|
475
|
+
return callStackForError();
|
|
476
|
+
}
|
|
477
|
+
};
|
|
478
|
+
var specialPropKeyWarningShown;
|
|
479
|
+
var didWarnAboutElementRef = {};
|
|
480
|
+
var unknownOwnerDebugStack = React["react-stack-bottom-frame"].bind(
|
|
481
|
+
React,
|
|
482
|
+
UnknownOwner
|
|
483
|
+
)();
|
|
484
|
+
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
|
485
|
+
var didWarnAboutKeySpread = {};
|
|
486
|
+
reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
|
|
487
|
+
reactJsxRuntime_development.jsx = function (type, config, maybeKey, source, self) {
|
|
488
|
+
var trackActualOwner =
|
|
489
|
+
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
490
|
+
return jsxDEVImpl(
|
|
491
|
+
type,
|
|
492
|
+
config,
|
|
493
|
+
maybeKey,
|
|
494
|
+
false,
|
|
495
|
+
source,
|
|
496
|
+
self,
|
|
497
|
+
trackActualOwner
|
|
498
|
+
? Error("react-stack-top-frame")
|
|
499
|
+
: unknownOwnerDebugStack,
|
|
500
|
+
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
501
|
+
);
|
|
502
|
+
};
|
|
503
|
+
reactJsxRuntime_development.jsxs = function (type, config, maybeKey, source, self) {
|
|
504
|
+
var trackActualOwner =
|
|
505
|
+
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
506
|
+
return jsxDEVImpl(
|
|
507
|
+
type,
|
|
508
|
+
config,
|
|
509
|
+
maybeKey,
|
|
510
|
+
true,
|
|
511
|
+
source,
|
|
512
|
+
self,
|
|
513
|
+
trackActualOwner
|
|
514
|
+
? Error("react-stack-top-frame")
|
|
515
|
+
: unknownOwnerDebugStack,
|
|
516
|
+
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
517
|
+
);
|
|
518
|
+
};
|
|
519
|
+
})();
|
|
520
|
+
return reactJsxRuntime_development;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
var hasRequiredJsxRuntime;
|
|
524
|
+
|
|
525
|
+
function requireJsxRuntime () {
|
|
526
|
+
if (hasRequiredJsxRuntime) return jsxRuntime.exports;
|
|
527
|
+
hasRequiredJsxRuntime = 1;
|
|
528
|
+
|
|
529
|
+
if (process.env.NODE_ENV === 'production') {
|
|
530
|
+
jsxRuntime.exports = requireReactJsxRuntime_production();
|
|
531
|
+
} else {
|
|
532
|
+
jsxRuntime.exports = requireReactJsxRuntime_development();
|
|
533
|
+
}
|
|
534
|
+
return jsxRuntime.exports;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
var jsxRuntimeExports = requireJsxRuntime();
|
|
538
|
+
|
|
539
|
+
var _excluded$3 = ["children"],
|
|
540
|
+
_excluded2$3 = ["children"],
|
|
541
|
+
_excluded3$2 = ["children"],
|
|
542
|
+
_excluded4$2 = ["children"],
|
|
543
|
+
_excluded5$1 = ["children"],
|
|
544
|
+
_excluded6$1 = ["children"];
|
|
545
|
+
var Button = function Button(_ref) {
|
|
546
|
+
var children = _ref.children,
|
|
547
|
+
props = _objectWithoutProperties(_ref, _excluded$3);
|
|
548
|
+
return jsxRuntimeExports.jsx("button", _objectSpread2(_objectSpread2({}, props), {}, {
|
|
549
|
+
children: children
|
|
550
|
+
}));
|
|
551
|
+
};
|
|
552
|
+
var Input = function Input(props) {
|
|
553
|
+
return jsxRuntimeExports.jsx("input", _objectSpread2({}, props));
|
|
554
|
+
};
|
|
555
|
+
var Link = function Link(_ref2) {
|
|
556
|
+
var children = _ref2.children,
|
|
557
|
+
props = _objectWithoutProperties(_ref2, _excluded2$3);
|
|
558
|
+
return jsxRuntimeExports.jsx("a", _objectSpread2(_objectSpread2({}, props), {}, {
|
|
559
|
+
children: children
|
|
560
|
+
}));
|
|
561
|
+
};
|
|
562
|
+
var TextArea = function TextArea(_ref3) {
|
|
563
|
+
var children = _ref3.children,
|
|
564
|
+
props = _objectWithoutProperties(_ref3, _excluded3$2);
|
|
565
|
+
return jsxRuntimeExports.jsx("textarea", _objectSpread2(_objectSpread2({}, props), {}, {
|
|
566
|
+
children: children
|
|
567
|
+
}));
|
|
568
|
+
};
|
|
569
|
+
var Select = function Select(_ref4) {
|
|
570
|
+
var children = _ref4.children,
|
|
571
|
+
props = _objectWithoutProperties(_ref4, _excluded4$2);
|
|
572
|
+
return jsxRuntimeExports.jsx("select", _objectSpread2(_objectSpread2({}, props), {}, {
|
|
573
|
+
children: children
|
|
574
|
+
}));
|
|
575
|
+
};
|
|
576
|
+
var View = function View(_ref5) {
|
|
577
|
+
var children = _ref5.children,
|
|
578
|
+
props = _objectWithoutProperties(_ref5, _excluded5$1);
|
|
579
|
+
return jsxRuntimeExports.jsx("div", _objectSpread2(_objectSpread2({}, props), {}, {
|
|
580
|
+
children: children
|
|
581
|
+
}));
|
|
582
|
+
};
|
|
583
|
+
var Text = function Text(_ref6) {
|
|
584
|
+
var children = _ref6.children,
|
|
585
|
+
props = _objectWithoutProperties(_ref6, _excluded6$1);
|
|
586
|
+
return jsxRuntimeExports.jsx("p", _objectSpread2(_objectSpread2({}, props), {}, {
|
|
587
|
+
children: children
|
|
588
|
+
}));
|
|
589
|
+
};
|
|
590
|
+
|
|
591
|
+
var _excluded$2 = ["children", "onPress", "style"],
|
|
592
|
+
_excluded2$2 = ["children", "horizontal", "style", "onScroll"],
|
|
593
|
+
_excluded3$1 = ["children", "onPress"],
|
|
594
|
+
_excluded4$1 = ["source", "resizeMode", "children", "style"];
|
|
595
|
+
var Pressable = function Pressable(_ref) {
|
|
596
|
+
var children = _ref.children,
|
|
597
|
+
onPress = _ref.onPress,
|
|
598
|
+
style = _ref.style,
|
|
599
|
+
props = _objectWithoutProperties(_ref, _excluded$2);
|
|
600
|
+
return jsxRuntimeExports.jsx("div", _objectSpread2(_objectSpread2({
|
|
601
|
+
role: "button",
|
|
602
|
+
tabIndex: 0,
|
|
603
|
+
style: _objectSpread2({
|
|
604
|
+
cursor: "pointer"
|
|
605
|
+
}, style),
|
|
606
|
+
onClick: onPress
|
|
607
|
+
}, props), {}, {
|
|
608
|
+
children: children
|
|
609
|
+
}));
|
|
610
|
+
};
|
|
611
|
+
var ScrollView = function ScrollView(_ref2) {
|
|
612
|
+
var children = _ref2.children,
|
|
613
|
+
horizontal = _ref2.horizontal,
|
|
614
|
+
style = _ref2.style,
|
|
615
|
+
onScroll = _ref2.onScroll,
|
|
616
|
+
props = _objectWithoutProperties(_ref2, _excluded2$2);
|
|
617
|
+
return jsxRuntimeExports.jsx("div", _objectSpread2(_objectSpread2({
|
|
618
|
+
style: _objectSpread2({
|
|
619
|
+
overflowX: horizontal ? "auto" : "hidden",
|
|
620
|
+
overflowY: horizontal ? "hidden" : "auto"
|
|
621
|
+
}, style),
|
|
622
|
+
onScroll: onScroll
|
|
623
|
+
}, props), {}, {
|
|
624
|
+
children: children
|
|
625
|
+
}));
|
|
626
|
+
};
|
|
627
|
+
var Image = function Image(props) {
|
|
628
|
+
return jsxRuntimeExports.jsx("img", _objectSpread2({}, props));
|
|
629
|
+
};
|
|
630
|
+
// ActivityIndicator
|
|
631
|
+
var ActivityIndicator = function ActivityIndicator() {
|
|
632
|
+
return jsxRuntimeExports.jsx("div", {
|
|
633
|
+
style: {
|
|
634
|
+
width: 24,
|
|
635
|
+
height: 24,
|
|
636
|
+
border: "3px solid #ccc",
|
|
637
|
+
borderTop: "3px solid #000",
|
|
638
|
+
borderRadius: "50%",
|
|
639
|
+
animation: "spin 1s linear infinite"
|
|
640
|
+
}
|
|
641
|
+
});
|
|
642
|
+
};
|
|
643
|
+
var TouchableOpacity = function TouchableOpacity(_ref3) {
|
|
644
|
+
var children = _ref3.children,
|
|
645
|
+
onPress = _ref3.onPress,
|
|
646
|
+
props = _objectWithoutProperties(_ref3, _excluded3$1);
|
|
647
|
+
var _useState = useState(false),
|
|
648
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
649
|
+
active = _useState2[0],
|
|
650
|
+
setActive = _useState2[1];
|
|
651
|
+
return jsxRuntimeExports.jsx("div", _objectSpread2(_objectSpread2({
|
|
652
|
+
role: "button",
|
|
653
|
+
tabIndex: 0,
|
|
654
|
+
style: {
|
|
655
|
+
cursor: "pointer",
|
|
656
|
+
opacity: active ? 0.5 : 1,
|
|
657
|
+
transition: "opacity 0.2s"
|
|
658
|
+
},
|
|
659
|
+
onMouseDown: function onMouseDown() {
|
|
660
|
+
return setActive(true);
|
|
661
|
+
},
|
|
662
|
+
onMouseUp: function onMouseUp() {
|
|
663
|
+
return setActive(false);
|
|
664
|
+
},
|
|
665
|
+
onMouseLeave: function onMouseLeave() {
|
|
666
|
+
return setActive(false);
|
|
667
|
+
},
|
|
668
|
+
onClick: onPress
|
|
669
|
+
}, props), {}, {
|
|
670
|
+
children: children
|
|
671
|
+
}));
|
|
672
|
+
};
|
|
673
|
+
function FlatList(_ref4) {
|
|
674
|
+
var data = _ref4.data,
|
|
675
|
+
renderItem = _ref4.renderItem,
|
|
676
|
+
keyExtractor = _ref4.keyExtractor;
|
|
677
|
+
return jsxRuntimeExports.jsx("div", {
|
|
678
|
+
children: data.map(function (item, index) {
|
|
679
|
+
return jsxRuntimeExports.jsx("div", {
|
|
680
|
+
children: renderItem(item, index)
|
|
681
|
+
}, keyExtractor ? keyExtractor(item, index) : index);
|
|
682
|
+
})
|
|
683
|
+
});
|
|
684
|
+
}
|
|
685
|
+
var ImageBackground = function ImageBackground(_ref5) {
|
|
686
|
+
var source = _ref5.source,
|
|
687
|
+
_ref5$resizeMode = _ref5.resizeMode,
|
|
688
|
+
resizeMode = _ref5$resizeMode === void 0 ? "cover" : _ref5$resizeMode,
|
|
689
|
+
children = _ref5.children,
|
|
690
|
+
style = _ref5.style,
|
|
691
|
+
props = _objectWithoutProperties(_ref5, _excluded4$1);
|
|
692
|
+
var backgroundSizeMap = {
|
|
693
|
+
cover: "cover",
|
|
694
|
+
contain: "contain",
|
|
695
|
+
stretch: "100% 100%",
|
|
696
|
+
center: "auto"
|
|
697
|
+
};
|
|
698
|
+
return jsxRuntimeExports.jsx("div", _objectSpread2(_objectSpread2({
|
|
699
|
+
style: _objectSpread2({
|
|
700
|
+
backgroundImage: "url(".concat(source, ")"),
|
|
701
|
+
backgroundRepeat: "no-repeat",
|
|
702
|
+
backgroundPosition: "center",
|
|
703
|
+
backgroundSize: backgroundSizeMap[resizeMode],
|
|
704
|
+
width: "100%",
|
|
705
|
+
height: "100%",
|
|
706
|
+
display: "flex",
|
|
707
|
+
flexDirection: "column"
|
|
708
|
+
}, style)
|
|
709
|
+
}, props), {}, {
|
|
710
|
+
children: children
|
|
711
|
+
}));
|
|
712
|
+
};
|
|
713
|
+
var Modal = function Modal(_ref6) {
|
|
714
|
+
var open = _ref6.open,
|
|
715
|
+
onClose = _ref6.onClose,
|
|
716
|
+
children = _ref6.children;
|
|
717
|
+
if (!open) return null;
|
|
718
|
+
return jsxRuntimeExports.jsx("div", {
|
|
719
|
+
style: {
|
|
720
|
+
position: "fixed",
|
|
721
|
+
inset: 0,
|
|
722
|
+
background: "rgba(0,0,0,0.5)",
|
|
723
|
+
display: "flex",
|
|
724
|
+
justifyContent: "center",
|
|
725
|
+
alignItems: "center",
|
|
726
|
+
zIndex: 1000
|
|
727
|
+
},
|
|
728
|
+
onClick: onClose,
|
|
729
|
+
children: jsxRuntimeExports.jsx("div", {
|
|
730
|
+
onClick: function onClick(e) {
|
|
731
|
+
return e.stopPropagation();
|
|
732
|
+
},
|
|
733
|
+
children: children
|
|
734
|
+
})
|
|
735
|
+
});
|
|
736
|
+
};
|
|
737
|
+
var Dialog = function Dialog(_ref7) {
|
|
738
|
+
var open = _ref7.open,
|
|
739
|
+
title = _ref7.title,
|
|
740
|
+
description = _ref7.description,
|
|
741
|
+
_ref7$confirmText = _ref7.confirmText,
|
|
742
|
+
confirmText = _ref7$confirmText === void 0 ? "OK" : _ref7$confirmText,
|
|
743
|
+
_ref7$cancelText = _ref7.cancelText,
|
|
744
|
+
cancelText = _ref7$cancelText === void 0 ? "Cancel" : _ref7$cancelText,
|
|
745
|
+
onConfirm = _ref7.onConfirm,
|
|
746
|
+
onCancel = _ref7.onCancel;
|
|
747
|
+
if (!open) return null;
|
|
748
|
+
return jsxRuntimeExports.jsx("div", {
|
|
749
|
+
style: {
|
|
750
|
+
position: "fixed",
|
|
751
|
+
inset: 0,
|
|
752
|
+
background: "rgba(0,0,0,0.5)",
|
|
753
|
+
display: "flex",
|
|
754
|
+
justifyContent: "center",
|
|
755
|
+
alignItems: "center",
|
|
756
|
+
zIndex: 1000
|
|
757
|
+
},
|
|
758
|
+
children: jsxRuntimeExports.jsxs("div", {
|
|
759
|
+
style: {
|
|
760
|
+
background: "#fff",
|
|
761
|
+
padding: 20,
|
|
762
|
+
borderRadius: 8,
|
|
763
|
+
minWidth: 300
|
|
764
|
+
},
|
|
765
|
+
onClick: function onClick(e) {
|
|
766
|
+
return e.stopPropagation();
|
|
767
|
+
},
|
|
768
|
+
children: [jsxRuntimeExports.jsx("h3", {
|
|
769
|
+
children: title
|
|
770
|
+
}), jsxRuntimeExports.jsx("p", {
|
|
771
|
+
children: description
|
|
772
|
+
}), jsxRuntimeExports.jsxs("div", {
|
|
773
|
+
style: {
|
|
774
|
+
display: "flex",
|
|
775
|
+
justifyContent: "flex-end",
|
|
776
|
+
gap: 10
|
|
777
|
+
},
|
|
778
|
+
children: [jsxRuntimeExports.jsx("button", {
|
|
779
|
+
onClick: onCancel,
|
|
780
|
+
children: cancelText
|
|
781
|
+
}), jsxRuntimeExports.jsx("button", {
|
|
782
|
+
onClick: onConfirm,
|
|
783
|
+
children: confirmText
|
|
784
|
+
})]
|
|
785
|
+
})]
|
|
786
|
+
})
|
|
787
|
+
});
|
|
788
|
+
};
|
|
789
|
+
function SectionList(_ref9) {
|
|
790
|
+
var sections = _ref9.sections,
|
|
791
|
+
renderItem = _ref9.renderItem,
|
|
792
|
+
renderSectionHeader = _ref9.renderSectionHeader;
|
|
793
|
+
return jsxRuntimeExports.jsx("div", {
|
|
794
|
+
children: sections.map(function (section, i) {
|
|
795
|
+
return jsxRuntimeExports.jsxs("div", {
|
|
796
|
+
children: [renderSectionHeader ? renderSectionHeader(section.title, i) : jsxRuntimeExports.jsx("h4", {
|
|
797
|
+
children: section.title
|
|
798
|
+
}), section.data.map(function (item, j) {
|
|
799
|
+
return jsxRuntimeExports.jsx("div", {
|
|
800
|
+
children: renderItem(item, j)
|
|
801
|
+
}, j);
|
|
802
|
+
})]
|
|
803
|
+
}, i);
|
|
804
|
+
})
|
|
805
|
+
});
|
|
806
|
+
}
|
|
807
|
+
var Overlay = function Overlay(_ref0) {
|
|
808
|
+
var visible = _ref0.visible,
|
|
809
|
+
onClick = _ref0.onClick,
|
|
810
|
+
children = _ref0.children;
|
|
811
|
+
if (!visible) return null;
|
|
812
|
+
return jsxRuntimeExports.jsx("div", {
|
|
813
|
+
onClick: onClick,
|
|
814
|
+
style: {
|
|
815
|
+
position: "fixed",
|
|
816
|
+
inset: 0,
|
|
817
|
+
background: "rgba(0,0,0,0.5)",
|
|
818
|
+
zIndex: 999
|
|
819
|
+
},
|
|
820
|
+
children: children
|
|
821
|
+
});
|
|
822
|
+
};
|
|
823
|
+
|
|
824
|
+
var _excluded$1 = ["children"],
|
|
825
|
+
_excluded2$1 = ["children"],
|
|
826
|
+
_excluded3 = ["children"],
|
|
827
|
+
_excluded4 = ["children"],
|
|
828
|
+
_excluded5 = ["children"],
|
|
829
|
+
_excluded6 = ["children"],
|
|
830
|
+
_excluded7 = ["children"],
|
|
831
|
+
_excluded8 = ["children"],
|
|
832
|
+
_excluded9 = ["children"],
|
|
833
|
+
_excluded0 = ["children"],
|
|
834
|
+
_excluded1 = ["children"];
|
|
835
|
+
var Table = function Table(_ref) {
|
|
836
|
+
var children = _ref.children,
|
|
837
|
+
props = _objectWithoutProperties(_ref, _excluded$1);
|
|
838
|
+
return jsxRuntimeExports.jsx("table", _objectSpread2(_objectSpread2({}, props), {}, {
|
|
839
|
+
children: children
|
|
840
|
+
}));
|
|
841
|
+
};
|
|
842
|
+
var TableHead = function TableHead(_ref2) {
|
|
843
|
+
var children = _ref2.children,
|
|
844
|
+
props = _objectWithoutProperties(_ref2, _excluded2$1);
|
|
845
|
+
return jsxRuntimeExports.jsx("thead", _objectSpread2(_objectSpread2({}, props), {}, {
|
|
846
|
+
children: children
|
|
847
|
+
}));
|
|
848
|
+
};
|
|
849
|
+
var TableBody = function TableBody(_ref3) {
|
|
850
|
+
var children = _ref3.children,
|
|
851
|
+
props = _objectWithoutProperties(_ref3, _excluded3);
|
|
852
|
+
return jsxRuntimeExports.jsx("tbody", _objectSpread2(_objectSpread2({}, props), {}, {
|
|
853
|
+
children: children
|
|
854
|
+
}));
|
|
855
|
+
};
|
|
856
|
+
var TableRow = function TableRow(_ref4) {
|
|
857
|
+
var children = _ref4.children,
|
|
858
|
+
props = _objectWithoutProperties(_ref4, _excluded4);
|
|
859
|
+
return jsxRuntimeExports.jsx("tr", _objectSpread2(_objectSpread2({}, props), {}, {
|
|
860
|
+
children: children
|
|
861
|
+
}));
|
|
862
|
+
};
|
|
863
|
+
var TableHeaderCell = function TableHeaderCell(_ref5) {
|
|
864
|
+
var children = _ref5.children,
|
|
865
|
+
props = _objectWithoutProperties(_ref5, _excluded5);
|
|
866
|
+
return jsxRuntimeExports.jsx("th", _objectSpread2(_objectSpread2({}, props), {}, {
|
|
867
|
+
children: children
|
|
868
|
+
}));
|
|
869
|
+
};
|
|
870
|
+
var TableDataCell = function TableDataCell(_ref6) {
|
|
871
|
+
var children = _ref6.children,
|
|
872
|
+
props = _objectWithoutProperties(_ref6, _excluded6);
|
|
873
|
+
return jsxRuntimeExports.jsx("td", _objectSpread2(_objectSpread2({}, props), {}, {
|
|
874
|
+
children: children
|
|
875
|
+
}));
|
|
876
|
+
};
|
|
877
|
+
var Header = function Header(_ref7) {
|
|
878
|
+
var children = _ref7.children,
|
|
879
|
+
props = _objectWithoutProperties(_ref7, _excluded7);
|
|
880
|
+
return jsxRuntimeExports.jsx("header", _objectSpread2(_objectSpread2({}, props), {}, {
|
|
881
|
+
children: children
|
|
882
|
+
}));
|
|
883
|
+
};
|
|
884
|
+
var Navigation = function Navigation(_ref8) {
|
|
885
|
+
var children = _ref8.children,
|
|
886
|
+
props = _objectWithoutProperties(_ref8, _excluded8);
|
|
887
|
+
return jsxRuntimeExports.jsx("nav", _objectSpread2(_objectSpread2({}, props), {}, {
|
|
888
|
+
children: children
|
|
889
|
+
}));
|
|
890
|
+
};
|
|
891
|
+
var Section = function Section(_ref9) {
|
|
892
|
+
var children = _ref9.children,
|
|
893
|
+
props = _objectWithoutProperties(_ref9, _excluded9);
|
|
894
|
+
return jsxRuntimeExports.jsx("section", _objectSpread2(_objectSpread2({}, props), {}, {
|
|
895
|
+
children: children
|
|
896
|
+
}));
|
|
897
|
+
};
|
|
898
|
+
var Main = function Main(_ref0) {
|
|
899
|
+
var children = _ref0.children,
|
|
900
|
+
props = _objectWithoutProperties(_ref0, _excluded0);
|
|
901
|
+
return jsxRuntimeExports.jsx("main", _objectSpread2(_objectSpread2({}, props), {}, {
|
|
902
|
+
children: children
|
|
903
|
+
}));
|
|
904
|
+
};
|
|
905
|
+
var Footer = function Footer(_ref1) {
|
|
906
|
+
var children = _ref1.children,
|
|
907
|
+
props = _objectWithoutProperties(_ref1, _excluded1);
|
|
908
|
+
return jsxRuntimeExports.jsx("footer", _objectSpread2(_objectSpread2({}, props), {}, {
|
|
909
|
+
children: children
|
|
910
|
+
}));
|
|
911
|
+
};
|
|
912
|
+
|
|
913
|
+
var _excluded = ["children", "className"],
|
|
914
|
+
_excluded2 = ["children", "className"];
|
|
915
|
+
var Container = function Container(_ref) {
|
|
916
|
+
var children = _ref.children,
|
|
917
|
+
_ref$className = _ref.className,
|
|
918
|
+
className = _ref$className === void 0 ? "" : _ref$className,
|
|
919
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
920
|
+
return jsxRuntimeExports.jsx("div", _objectSpread2(_objectSpread2({
|
|
921
|
+
className: "max-w-7xl mx-auto px-4 " + className
|
|
922
|
+
}, props), {}, {
|
|
923
|
+
children: children
|
|
924
|
+
}));
|
|
925
|
+
};
|
|
926
|
+
var Card = function Card(_ref2) {
|
|
927
|
+
var children = _ref2.children,
|
|
928
|
+
_ref2$className = _ref2.className,
|
|
929
|
+
className = _ref2$className === void 0 ? "" : _ref2$className,
|
|
930
|
+
props = _objectWithoutProperties(_ref2, _excluded2);
|
|
931
|
+
return jsxRuntimeExports.jsx("div", _objectSpread2(_objectSpread2({
|
|
932
|
+
className: "bg-white rounded-xl shadow-md p-4 " + className
|
|
933
|
+
}, props), {}, {
|
|
934
|
+
children: children
|
|
935
|
+
}));
|
|
936
|
+
};
|
|
937
|
+
|
|
938
|
+
export { ActivityIndicator, Button, Card, Container, Dialog, FlatList, Footer, Header, Image, ImageBackground, Input, Link, Main, Modal, Navigation, Overlay, Pressable, ScrollView, Section, SectionList, Select, Table, TableBody, TableDataCell, TableHead, TableHeaderCell, TableRow, Text, TextArea, TouchableOpacity, View };
|
|
939
|
+
//# sourceMappingURL=index.esm.js.map
|