numora-react 1.0.4 → 1.0.5

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 CHANGED
@@ -14,33 +14,36 @@ var reactJsxRuntime_production = {};
14
14
  * This source code is licensed under the MIT license found in the
15
15
  * LICENSE file in the root directory of this source tree.
16
16
  */
17
+
17
18
  var hasRequiredReactJsxRuntime_production;
18
- function requireReactJsxRuntime_production() {
19
- if (hasRequiredReactJsxRuntime_production) return reactJsxRuntime_production;
20
- hasRequiredReactJsxRuntime_production = 1;
21
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
22
- REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
23
- function jsxProd(type, config, maybeKey) {
24
- var key = null;
25
- void 0 !== maybeKey && (key = "" + maybeKey);
26
- void 0 !== config.key && (key = "" + config.key);
27
- if ("key" in config) {
28
- maybeKey = {};
29
- for (var propName in config) "key" !== propName && (maybeKey[propName] = config[propName]);
30
- } else maybeKey = config;
31
- config = maybeKey.ref;
32
- return {
33
- $$typeof: REACT_ELEMENT_TYPE,
34
- type: type,
35
- key: key,
36
- ref: void 0 !== config ? config : null,
37
- props: maybeKey
38
- };
39
- }
40
- reactJsxRuntime_production.Fragment = REACT_FRAGMENT_TYPE;
41
- reactJsxRuntime_production.jsx = jsxProd;
42
- reactJsxRuntime_production.jsxs = jsxProd;
43
- return reactJsxRuntime_production;
19
+
20
+ function requireReactJsxRuntime_production () {
21
+ if (hasRequiredReactJsxRuntime_production) return reactJsxRuntime_production;
22
+ hasRequiredReactJsxRuntime_production = 1;
23
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
24
+ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
25
+ function jsxProd(type, config, maybeKey) {
26
+ var key = null;
27
+ void 0 !== maybeKey && (key = "" + maybeKey);
28
+ void 0 !== config.key && (key = "" + config.key);
29
+ if ("key" in config) {
30
+ maybeKey = {};
31
+ for (var propName in config)
32
+ "key" !== propName && (maybeKey[propName] = config[propName]);
33
+ } else maybeKey = config;
34
+ config = maybeKey.ref;
35
+ return {
36
+ $$typeof: REACT_ELEMENT_TYPE,
37
+ type: type,
38
+ key: key,
39
+ ref: void 0 !== config ? config : null,
40
+ props: maybeKey
41
+ };
42
+ }
43
+ reactJsxRuntime_production.Fragment = REACT_FRAGMENT_TYPE;
44
+ reactJsxRuntime_production.jsx = jsxProd;
45
+ reactJsxRuntime_production.jsxs = jsxProd;
46
+ return reactJsxRuntime_production;
44
47
  }
45
48
 
46
49
  var reactJsxRuntime_development = {};
@@ -54,240 +57,373 @@ var reactJsxRuntime_development = {};
54
57
  * This source code is licensed under the MIT license found in the
55
58
  * LICENSE file in the root directory of this source tree.
56
59
  */
60
+
57
61
  var hasRequiredReactJsxRuntime_development;
58
- function requireReactJsxRuntime_development() {
59
- if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
60
- hasRequiredReactJsxRuntime_development = 1;
61
- "production" !== process.env.NODE_ENV && function () {
62
- function getComponentNameFromType(type) {
63
- if (null == type) return null;
64
- if ("function" === typeof type) return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
65
- if ("string" === typeof type) return type;
66
- switch (type) {
67
- case REACT_FRAGMENT_TYPE:
68
- return "Fragment";
69
- case REACT_PROFILER_TYPE:
70
- return "Profiler";
71
- case REACT_STRICT_MODE_TYPE:
72
- return "StrictMode";
73
- case REACT_SUSPENSE_TYPE:
74
- return "Suspense";
75
- case REACT_SUSPENSE_LIST_TYPE:
76
- return "SuspenseList";
77
- case REACT_ACTIVITY_TYPE:
78
- return "Activity";
79
- }
80
- if ("object" === typeof type) switch ("number" === typeof type.tag && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), type.$$typeof) {
81
- case REACT_PORTAL_TYPE:
82
- return "Portal";
83
- case REACT_CONTEXT_TYPE:
84
- return type.displayName || "Context";
85
- case REACT_CONSUMER_TYPE:
86
- return (type._context.displayName || "Context") + ".Consumer";
87
- case REACT_FORWARD_REF_TYPE:
88
- var innerType = type.render;
89
- type = type.displayName;
90
- type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
91
- return type;
92
- case REACT_MEMO_TYPE:
93
- return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
94
- case REACT_LAZY_TYPE:
95
- innerType = type._payload;
96
- type = type._init;
97
- try {
98
- return getComponentNameFromType(type(innerType));
99
- } catch (x) {}
100
- }
101
- return null;
102
- }
103
- function testStringCoercion(value) {
104
- return "" + value;
105
- }
106
- function checkKeyStringCoercion(value) {
107
- try {
108
- testStringCoercion(value);
109
- var JSCompiler_inline_result = !1;
110
- } catch (e) {
111
- JSCompiler_inline_result = true;
112
- }
113
- if (JSCompiler_inline_result) {
114
- JSCompiler_inline_result = console;
115
- var JSCompiler_temp_const = JSCompiler_inline_result.error;
116
- var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
117
- JSCompiler_temp_const.call(JSCompiler_inline_result, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", JSCompiler_inline_result$jscomp$0);
118
- return testStringCoercion(value);
119
- }
120
- }
121
- function getTaskName(type) {
122
- if (type === REACT_FRAGMENT_TYPE) return "<>";
123
- if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE) return "<...>";
124
- try {
125
- var name = getComponentNameFromType(type);
126
- return name ? "<" + name + ">" : "<...>";
127
- } catch (x) {
128
- return "<...>";
129
- }
130
- }
131
- function getOwner() {
132
- var dispatcher = ReactSharedInternals.A;
133
- return null === dispatcher ? null : dispatcher.getOwner();
134
- }
135
- function UnknownOwner() {
136
- return Error("react-stack-top-frame");
137
- }
138
- function hasValidKey(config) {
139
- if (hasOwnProperty.call(config, "key")) {
140
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
141
- if (getter && getter.isReactWarning) return false;
142
- }
143
- return void 0 !== config.key;
144
- }
145
- function defineKeyPropWarningGetter(props, displayName) {
146
- function warnAboutAccessingKey() {
147
- specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error("%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)", displayName));
148
- }
149
- warnAboutAccessingKey.isReactWarning = true;
150
- Object.defineProperty(props, "key", {
151
- get: warnAboutAccessingKey,
152
- configurable: true
153
- });
154
- }
155
- function elementRefGetterWithDeprecationWarning() {
156
- var componentName = getComponentNameFromType(this.type);
157
- didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error("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."));
158
- componentName = this.props.ref;
159
- return void 0 !== componentName ? componentName : null;
160
- }
161
- function ReactElement(type, key, props, owner, debugStack, debugTask) {
162
- var refProp = props.ref;
163
- type = {
164
- $$typeof: REACT_ELEMENT_TYPE,
165
- type: type,
166
- key: key,
167
- props: props,
168
- _owner: owner
169
- };
170
- null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
171
- enumerable: false,
172
- get: elementRefGetterWithDeprecationWarning
173
- }) : Object.defineProperty(type, "ref", {
174
- enumerable: false,
175
- value: null
176
- });
177
- type._store = {};
178
- Object.defineProperty(type._store, "validated", {
179
- configurable: false,
180
- enumerable: false,
181
- writable: true,
182
- value: 0
183
- });
184
- Object.defineProperty(type, "_debugInfo", {
185
- configurable: false,
186
- enumerable: false,
187
- writable: true,
188
- value: null
189
- });
190
- Object.defineProperty(type, "_debugStack", {
191
- configurable: false,
192
- enumerable: false,
193
- writable: true,
194
- value: debugStack
195
- });
196
- Object.defineProperty(type, "_debugTask", {
197
- configurable: false,
198
- enumerable: false,
199
- writable: true,
200
- value: debugTask
201
- });
202
- Object.freeze && (Object.freeze(type.props), Object.freeze(type));
203
- return type;
204
- }
205
- function jsxDEVImpl(type, config, maybeKey, isStaticChildren, debugStack, debugTask) {
206
- var children = config.children;
207
- if (void 0 !== children) if (isStaticChildren) {
208
- if (isArrayImpl(children)) {
209
- for (isStaticChildren = 0; isStaticChildren < children.length; isStaticChildren++) validateChildKeys(children[isStaticChildren]);
210
- Object.freeze && Object.freeze(children);
211
- } else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
212
- } else validateChildKeys(children);
213
- if (hasOwnProperty.call(config, "key")) {
214
- children = getComponentNameFromType(type);
215
- var keys = Object.keys(config).filter(function (k) {
216
- return "key" !== k;
217
- });
218
- isStaticChildren = 0 < keys.length ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
219
- didWarnAboutKeySpread[children + isStaticChildren] || (keys = 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}", console.error('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} />', isStaticChildren, children, keys, children), didWarnAboutKeySpread[children + isStaticChildren] = true);
220
- }
221
- children = null;
222
- void 0 !== maybeKey && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey);
223
- hasValidKey(config) && (checkKeyStringCoercion(config.key), children = "" + config.key);
224
- if ("key" in config) {
225
- maybeKey = {};
226
- for (var propName in config) "key" !== propName && (maybeKey[propName] = config[propName]);
227
- } else maybeKey = config;
228
- children && defineKeyPropWarningGetter(maybeKey, "function" === typeof type ? type.displayName || type.name || "Unknown" : type);
229
- return ReactElement(type, children, maybeKey, getOwner(), debugStack, debugTask);
230
- }
231
- function validateChildKeys(node) {
232
- 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));
233
- }
234
- function isValidElement(object) {
235
- return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
236
- }
237
- var React = require$$0,
238
- REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
239
- REACT_PORTAL_TYPE = Symbol.for("react.portal"),
240
- REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
241
- REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
242
- REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
243
- REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
244
- REACT_CONTEXT_TYPE = Symbol.for("react.context"),
245
- REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
246
- REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
247
- REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
248
- REACT_MEMO_TYPE = Symbol.for("react.memo"),
249
- REACT_LAZY_TYPE = Symbol.for("react.lazy"),
250
- REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
251
- REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
252
- ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
253
- hasOwnProperty = Object.prototype.hasOwnProperty,
254
- isArrayImpl = Array.isArray,
255
- createTask = console.createTask ? console.createTask : function () {
256
- return null;
257
- };
258
- React = {
259
- react_stack_bottom_frame: function (callStackForError) {
260
- return callStackForError();
261
- }
262
- };
263
- var specialPropKeyWarningShown;
264
- var didWarnAboutElementRef = {};
265
- var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(React, UnknownOwner)();
266
- var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
267
- var didWarnAboutKeySpread = {};
268
- reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
269
- reactJsxRuntime_development.jsx = function (type, config, maybeKey) {
270
- var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
271
- return jsxDEVImpl(type, config, maybeKey, false, trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack, trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask);
272
- };
273
- reactJsxRuntime_development.jsxs = function (type, config, maybeKey) {
274
- var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
275
- return jsxDEVImpl(type, config, maybeKey, true, trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack, trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask);
276
- };
277
- }();
278
- return reactJsxRuntime_development;
62
+
63
+ function requireReactJsxRuntime_development () {
64
+ if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
65
+ hasRequiredReactJsxRuntime_development = 1;
66
+ "production" !== process.env.NODE_ENV &&
67
+ (function () {
68
+ function getComponentNameFromType(type) {
69
+ if (null == type) return null;
70
+ if ("function" === typeof type)
71
+ return type.$$typeof === REACT_CLIENT_REFERENCE
72
+ ? null
73
+ : type.displayName || type.name || null;
74
+ if ("string" === typeof type) return type;
75
+ switch (type) {
76
+ case REACT_FRAGMENT_TYPE:
77
+ return "Fragment";
78
+ case REACT_PROFILER_TYPE:
79
+ return "Profiler";
80
+ case REACT_STRICT_MODE_TYPE:
81
+ return "StrictMode";
82
+ case REACT_SUSPENSE_TYPE:
83
+ return "Suspense";
84
+ case REACT_SUSPENSE_LIST_TYPE:
85
+ return "SuspenseList";
86
+ case REACT_ACTIVITY_TYPE:
87
+ return "Activity";
88
+ }
89
+ if ("object" === typeof type)
90
+ switch (
91
+ ("number" === typeof type.tag &&
92
+ console.error(
93
+ "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
94
+ ),
95
+ type.$$typeof)
96
+ ) {
97
+ case REACT_PORTAL_TYPE:
98
+ return "Portal";
99
+ case REACT_CONTEXT_TYPE:
100
+ return (type.displayName || "Context") + ".Provider";
101
+ case REACT_CONSUMER_TYPE:
102
+ return (type._context.displayName || "Context") + ".Consumer";
103
+ case REACT_FORWARD_REF_TYPE:
104
+ var innerType = type.render;
105
+ type = type.displayName;
106
+ type ||
107
+ ((type = innerType.displayName || innerType.name || ""),
108
+ (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));
109
+ return type;
110
+ case REACT_MEMO_TYPE:
111
+ return (
112
+ (innerType = type.displayName || null),
113
+ null !== innerType
114
+ ? innerType
115
+ : getComponentNameFromType(type.type) || "Memo"
116
+ );
117
+ case REACT_LAZY_TYPE:
118
+ innerType = type._payload;
119
+ type = type._init;
120
+ try {
121
+ return getComponentNameFromType(type(innerType));
122
+ } catch (x) {}
123
+ }
124
+ return null;
125
+ }
126
+ function testStringCoercion(value) {
127
+ return "" + value;
128
+ }
129
+ function checkKeyStringCoercion(value) {
130
+ try {
131
+ testStringCoercion(value);
132
+ var JSCompiler_inline_result = !1;
133
+ } catch (e) {
134
+ JSCompiler_inline_result = true;
135
+ }
136
+ if (JSCompiler_inline_result) {
137
+ JSCompiler_inline_result = console;
138
+ var JSCompiler_temp_const = JSCompiler_inline_result.error;
139
+ var JSCompiler_inline_result$jscomp$0 =
140
+ ("function" === typeof Symbol &&
141
+ Symbol.toStringTag &&
142
+ value[Symbol.toStringTag]) ||
143
+ value.constructor.name ||
144
+ "Object";
145
+ JSCompiler_temp_const.call(
146
+ JSCompiler_inline_result,
147
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
148
+ JSCompiler_inline_result$jscomp$0
149
+ );
150
+ return testStringCoercion(value);
151
+ }
152
+ }
153
+ function getTaskName(type) {
154
+ if (type === REACT_FRAGMENT_TYPE) return "<>";
155
+ if (
156
+ "object" === typeof type &&
157
+ null !== type &&
158
+ type.$$typeof === REACT_LAZY_TYPE
159
+ )
160
+ return "<...>";
161
+ try {
162
+ var name = getComponentNameFromType(type);
163
+ return name ? "<" + name + ">" : "<...>";
164
+ } catch (x) {
165
+ return "<...>";
166
+ }
167
+ }
168
+ function getOwner() {
169
+ var dispatcher = ReactSharedInternals.A;
170
+ return null === dispatcher ? null : dispatcher.getOwner();
171
+ }
172
+ function UnknownOwner() {
173
+ return Error("react-stack-top-frame");
174
+ }
175
+ function hasValidKey(config) {
176
+ if (hasOwnProperty.call(config, "key")) {
177
+ var getter = Object.getOwnPropertyDescriptor(config, "key").get;
178
+ if (getter && getter.isReactWarning) return false;
179
+ }
180
+ return void 0 !== config.key;
181
+ }
182
+ function defineKeyPropWarningGetter(props, displayName) {
183
+ function warnAboutAccessingKey() {
184
+ specialPropKeyWarningShown ||
185
+ ((specialPropKeyWarningShown = true),
186
+ console.error(
187
+ "%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)",
188
+ displayName
189
+ ));
190
+ }
191
+ warnAboutAccessingKey.isReactWarning = true;
192
+ Object.defineProperty(props, "key", {
193
+ get: warnAboutAccessingKey,
194
+ configurable: true
195
+ });
196
+ }
197
+ function elementRefGetterWithDeprecationWarning() {
198
+ var componentName = getComponentNameFromType(this.type);
199
+ didWarnAboutElementRef[componentName] ||
200
+ ((didWarnAboutElementRef[componentName] = true),
201
+ console.error(
202
+ "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."
203
+ ));
204
+ componentName = this.props.ref;
205
+ return void 0 !== componentName ? componentName : null;
206
+ }
207
+ function ReactElement(
208
+ type,
209
+ key,
210
+ self,
211
+ source,
212
+ owner,
213
+ props,
214
+ debugStack,
215
+ debugTask
216
+ ) {
217
+ self = props.ref;
218
+ type = {
219
+ $$typeof: REACT_ELEMENT_TYPE,
220
+ type: type,
221
+ key: key,
222
+ props: props,
223
+ _owner: owner
224
+ };
225
+ null !== (void 0 !== self ? self : null)
226
+ ? Object.defineProperty(type, "ref", {
227
+ enumerable: false,
228
+ get: elementRefGetterWithDeprecationWarning
229
+ })
230
+ : Object.defineProperty(type, "ref", { enumerable: false, value: null });
231
+ type._store = {};
232
+ Object.defineProperty(type._store, "validated", {
233
+ configurable: false,
234
+ enumerable: false,
235
+ writable: true,
236
+ value: 0
237
+ });
238
+ Object.defineProperty(type, "_debugInfo", {
239
+ configurable: false,
240
+ enumerable: false,
241
+ writable: true,
242
+ value: null
243
+ });
244
+ Object.defineProperty(type, "_debugStack", {
245
+ configurable: false,
246
+ enumerable: false,
247
+ writable: true,
248
+ value: debugStack
249
+ });
250
+ Object.defineProperty(type, "_debugTask", {
251
+ configurable: false,
252
+ enumerable: false,
253
+ writable: true,
254
+ value: debugTask
255
+ });
256
+ Object.freeze && (Object.freeze(type.props), Object.freeze(type));
257
+ return type;
258
+ }
259
+ function jsxDEVImpl(
260
+ type,
261
+ config,
262
+ maybeKey,
263
+ isStaticChildren,
264
+ source,
265
+ self,
266
+ debugStack,
267
+ debugTask
268
+ ) {
269
+ var children = config.children;
270
+ if (void 0 !== children)
271
+ if (isStaticChildren)
272
+ if (isArrayImpl(children)) {
273
+ for (
274
+ isStaticChildren = 0;
275
+ isStaticChildren < children.length;
276
+ isStaticChildren++
277
+ )
278
+ validateChildKeys(children[isStaticChildren]);
279
+ Object.freeze && Object.freeze(children);
280
+ } else
281
+ console.error(
282
+ "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
283
+ );
284
+ else validateChildKeys(children);
285
+ if (hasOwnProperty.call(config, "key")) {
286
+ children = getComponentNameFromType(type);
287
+ var keys = Object.keys(config).filter(function (k) {
288
+ return "key" !== k;
289
+ });
290
+ isStaticChildren =
291
+ 0 < keys.length
292
+ ? "{key: someKey, " + keys.join(": ..., ") + ": ...}"
293
+ : "{key: someKey}";
294
+ didWarnAboutKeySpread[children + isStaticChildren] ||
295
+ ((keys =
296
+ 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
297
+ console.error(
298
+ '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} />',
299
+ isStaticChildren,
300
+ children,
301
+ keys,
302
+ children
303
+ ),
304
+ (didWarnAboutKeySpread[children + isStaticChildren] = true));
305
+ }
306
+ children = null;
307
+ void 0 !== maybeKey &&
308
+ (checkKeyStringCoercion(maybeKey), (children = "" + maybeKey));
309
+ hasValidKey(config) &&
310
+ (checkKeyStringCoercion(config.key), (children = "" + config.key));
311
+ if ("key" in config) {
312
+ maybeKey = {};
313
+ for (var propName in config)
314
+ "key" !== propName && (maybeKey[propName] = config[propName]);
315
+ } else maybeKey = config;
316
+ children &&
317
+ defineKeyPropWarningGetter(
318
+ maybeKey,
319
+ "function" === typeof type
320
+ ? type.displayName || type.name || "Unknown"
321
+ : type
322
+ );
323
+ return ReactElement(
324
+ type,
325
+ children,
326
+ self,
327
+ source,
328
+ getOwner(),
329
+ maybeKey,
330
+ debugStack,
331
+ debugTask
332
+ );
333
+ }
334
+ function validateChildKeys(node) {
335
+ "object" === typeof node &&
336
+ null !== node &&
337
+ node.$$typeof === REACT_ELEMENT_TYPE &&
338
+ node._store &&
339
+ (node._store.validated = 1);
340
+ }
341
+ var React = require$$0,
342
+ REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
343
+ REACT_PORTAL_TYPE = Symbol.for("react.portal"),
344
+ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
345
+ REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
346
+ REACT_PROFILER_TYPE = Symbol.for("react.profiler");
347
+ var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
348
+ REACT_CONTEXT_TYPE = Symbol.for("react.context"),
349
+ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
350
+ REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
351
+ REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
352
+ REACT_MEMO_TYPE = Symbol.for("react.memo"),
353
+ REACT_LAZY_TYPE = Symbol.for("react.lazy"),
354
+ REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
355
+ REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
356
+ ReactSharedInternals =
357
+ React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
358
+ hasOwnProperty = Object.prototype.hasOwnProperty,
359
+ isArrayImpl = Array.isArray,
360
+ createTask = console.createTask
361
+ ? console.createTask
362
+ : function () {
363
+ return null;
364
+ };
365
+ React = {
366
+ "react-stack-bottom-frame": function (callStackForError) {
367
+ return callStackForError();
368
+ }
369
+ };
370
+ var specialPropKeyWarningShown;
371
+ var didWarnAboutElementRef = {};
372
+ var unknownOwnerDebugStack = React["react-stack-bottom-frame"].bind(
373
+ React,
374
+ UnknownOwner
375
+ )();
376
+ var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
377
+ var didWarnAboutKeySpread = {};
378
+ reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
379
+ reactJsxRuntime_development.jsx = function (type, config, maybeKey, source, self) {
380
+ var trackActualOwner =
381
+ 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
382
+ return jsxDEVImpl(
383
+ type,
384
+ config,
385
+ maybeKey,
386
+ false,
387
+ source,
388
+ self,
389
+ trackActualOwner
390
+ ? Error("react-stack-top-frame")
391
+ : unknownOwnerDebugStack,
392
+ trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
393
+ );
394
+ };
395
+ reactJsxRuntime_development.jsxs = function (type, config, maybeKey, source, self) {
396
+ var trackActualOwner =
397
+ 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
398
+ return jsxDEVImpl(
399
+ type,
400
+ config,
401
+ maybeKey,
402
+ true,
403
+ source,
404
+ self,
405
+ trackActualOwner
406
+ ? Error("react-stack-top-frame")
407
+ : unknownOwnerDebugStack,
408
+ trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
409
+ );
410
+ };
411
+ })();
412
+ return reactJsxRuntime_development;
279
413
  }
280
414
 
281
415
  var hasRequiredJsxRuntime;
282
- function requireJsxRuntime() {
283
- if (hasRequiredJsxRuntime) return jsxRuntime.exports;
284
- hasRequiredJsxRuntime = 1;
285
- if (process.env.NODE_ENV === 'production') {
286
- jsxRuntime.exports = requireReactJsxRuntime_production();
287
- } else {
288
- jsxRuntime.exports = requireReactJsxRuntime_development();
289
- }
290
- return jsxRuntime.exports;
416
+
417
+ function requireJsxRuntime () {
418
+ if (hasRequiredJsxRuntime) return jsxRuntime.exports;
419
+ hasRequiredJsxRuntime = 1;
420
+
421
+ if (process.env.NODE_ENV === 'production') {
422
+ jsxRuntime.exports = requireReactJsxRuntime_production();
423
+ } else {
424
+ jsxRuntime.exports = requireReactJsxRuntime_development();
425
+ }
426
+ return jsxRuntime.exports;
291
427
  }
292
428
 
293
429
  var jsxRuntimeExports = requireJsxRuntime();
@@ -302,20 +438,21 @@ const DEFAULT_PROPS = {
302
438
  spellCheck: false,
303
439
  step: 'any'
304
440
  };
305
- const NumoraInput = /*#__PURE__*/forwardRef(({
306
- maxDecimals = 2,
307
- onChange,
308
- formatOn = FormatOn.Blur,
309
- thousandSeparator = ',',
310
- thousandStyle = ThousandStyle.Thousand,
311
- decimalSeparator = '.',
312
- decimalMinLength,
313
- enableCompactNotation = false,
314
- enableNegative = false,
315
- enableLeadingZeros = false,
316
- rawValueMode = false,
317
- ...props
318
- }, ref) => {
441
+ const NumoraInput = /*#__PURE__*/forwardRef((_ref, ref) => {
442
+ let {
443
+ maxDecimals = 2,
444
+ onChange,
445
+ formatOn = FormatOn.Blur,
446
+ thousandSeparator = ',',
447
+ thousandStyle = ThousandStyle.Thousand,
448
+ decimalSeparator = '.',
449
+ decimalMinLength,
450
+ enableCompactNotation = false,
451
+ enableNegative = false,
452
+ enableLeadingZeros = false,
453
+ rawValueMode = false,
454
+ ...props
455
+ } = _ref;
319
456
  const [caretPositionBeforeChange, setCaretPositionBeforeChange] = require$$0.useState();
320
457
  const formattingOptions = {
321
458
  formatOn,
@@ -381,5 +518,5 @@ const NumoraInput = /*#__PURE__*/forwardRef(({
381
518
  });
382
519
  NumoraInput.displayName = 'NumoraInput';
383
520
 
384
- export { NumoraInput };
521
+ export { NumoraInput as default };
385
522
  //# sourceMappingURL=index.esm.js.map