@tmlmobilidade/ui 20250327.1958.43 → 20250328.2358.36

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.
@@ -21,15 +21,13 @@ function requireReactJsxRuntime_development () {
21
21
  function getComponentNameFromType(type) {
22
22
  if (null == type) return null;
23
23
  if ("function" === typeof type)
24
- return type.$$typeof === REACT_CLIENT_REFERENCE$2
24
+ return type.$$typeof === REACT_CLIENT_REFERENCE
25
25
  ? null
26
26
  : type.displayName || type.name || null;
27
27
  if ("string" === typeof type) return type;
28
28
  switch (type) {
29
29
  case REACT_FRAGMENT_TYPE:
30
30
  return "Fragment";
31
- case REACT_PORTAL_TYPE:
32
- return "Portal";
33
31
  case REACT_PROFILER_TYPE:
34
32
  return "Profiler";
35
33
  case REACT_STRICT_MODE_TYPE:
@@ -38,6 +36,8 @@ function requireReactJsxRuntime_development () {
38
36
  return "Suspense";
39
37
  case REACT_SUSPENSE_LIST_TYPE:
40
38
  return "SuspenseList";
39
+ case REACT_ACTIVITY_TYPE:
40
+ return "Activity";
41
41
  }
42
42
  if ("object" === typeof type)
43
43
  switch (
@@ -47,6 +47,8 @@ function requireReactJsxRuntime_development () {
47
47
  ),
48
48
  type.$$typeof)
49
49
  ) {
50
+ case REACT_PORTAL_TYPE:
51
+ return "Portal";
50
52
  case REACT_CONTEXT_TYPE:
51
53
  return (type.displayName || "Context") + ".Provider";
52
54
  case REACT_CONSUMER_TYPE:
@@ -101,260 +103,28 @@ function requireReactJsxRuntime_development () {
101
103
  return testStringCoercion(value);
102
104
  }
103
105
  }
104
- function disabledLog() {}
105
- function disableLogs() {
106
- if (0 === disabledDepth) {
107
- prevLog = console.log;
108
- prevInfo = console.info;
109
- prevWarn = console.warn;
110
- prevError = console.error;
111
- prevGroup = console.group;
112
- prevGroupCollapsed = console.groupCollapsed;
113
- prevGroupEnd = console.groupEnd;
114
- var props = {
115
- configurable: true,
116
- enumerable: true,
117
- value: disabledLog,
118
- writable: true
119
- };
120
- Object.defineProperties(console, {
121
- info: props,
122
- log: props,
123
- warn: props,
124
- error: props,
125
- group: props,
126
- groupCollapsed: props,
127
- groupEnd: props
128
- });
129
- }
130
- disabledDepth++;
131
- }
132
- function reenableLogs() {
133
- disabledDepth--;
134
- if (0 === disabledDepth) {
135
- var props = { configurable: true, enumerable: true, writable: true };
136
- Object.defineProperties(console, {
137
- log: assign({}, props, { value: prevLog }),
138
- info: assign({}, props, { value: prevInfo }),
139
- warn: assign({}, props, { value: prevWarn }),
140
- error: assign({}, props, { value: prevError }),
141
- group: assign({}, props, { value: prevGroup }),
142
- groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),
143
- groupEnd: assign({}, props, { value: prevGroupEnd })
144
- });
145
- }
146
- 0 > disabledDepth &&
147
- console.error(
148
- "disabledDepth fell below zero. This is a bug in React. Please file an issue."
149
- );
150
- }
151
- function describeBuiltInComponentFrame(name) {
152
- if (void 0 === prefix)
153
- try {
154
- throw Error();
155
- } catch (x) {
156
- var match = x.stack.trim().match(/\n( *(at )?)/);
157
- prefix = (match && match[1]) || "";
158
- suffix =
159
- -1 < x.stack.indexOf("\n at")
160
- ? " (<anonymous>)"
161
- : -1 < x.stack.indexOf("@")
162
- ? "@unknown:0:0"
163
- : "";
164
- }
165
- return "\n" + prefix + name + suffix;
166
- }
167
- function describeNativeComponentFrame(fn, construct) {
168
- if (!fn || reentry) return "";
169
- var frame = componentFrameCache.get(fn);
170
- if (void 0 !== frame) return frame;
171
- reentry = true;
172
- frame = Error.prepareStackTrace;
173
- Error.prepareStackTrace = void 0;
174
- var previousDispatcher = null;
175
- previousDispatcher = ReactSharedInternals.H;
176
- ReactSharedInternals.H = null;
177
- disableLogs();
106
+ function getTaskName(type) {
107
+ if (type === REACT_FRAGMENT_TYPE) return "<>";
108
+ if (
109
+ "object" === typeof type &&
110
+ null !== type &&
111
+ type.$$typeof === REACT_LAZY_TYPE
112
+ )
113
+ return "<...>";
178
114
  try {
179
- var RunInRootFrame = {
180
- DetermineComponentFrameRoot: function () {
181
- try {
182
- if (construct) {
183
- var Fake = function () {
184
- throw Error();
185
- };
186
- Object.defineProperty(Fake.prototype, "props", {
187
- set: function () {
188
- throw Error();
189
- }
190
- });
191
- if ("object" === typeof Reflect && Reflect.construct) {
192
- try {
193
- Reflect.construct(Fake, []);
194
- } catch (x) {
195
- var control = x;
196
- }
197
- Reflect.construct(fn, [], Fake);
198
- } else {
199
- try {
200
- Fake.call();
201
- } catch (x$0) {
202
- control = x$0;
203
- }
204
- fn.call(Fake.prototype);
205
- }
206
- } else {
207
- try {
208
- throw Error();
209
- } catch (x$1) {
210
- control = x$1;
211
- }
212
- (Fake = fn()) &&
213
- "function" === typeof Fake.catch &&
214
- Fake.catch(function () {});
215
- }
216
- } catch (sample) {
217
- if (sample && control && "string" === typeof sample.stack)
218
- return [sample.stack, control.stack];
219
- }
220
- return [null, null];
221
- }
222
- };
223
- RunInRootFrame.DetermineComponentFrameRoot.displayName =
224
- "DetermineComponentFrameRoot";
225
- var namePropDescriptor = Object.getOwnPropertyDescriptor(
226
- RunInRootFrame.DetermineComponentFrameRoot,
227
- "name"
228
- );
229
- namePropDescriptor &&
230
- namePropDescriptor.configurable &&
231
- Object.defineProperty(
232
- RunInRootFrame.DetermineComponentFrameRoot,
233
- "name",
234
- { value: "DetermineComponentFrameRoot" }
235
- );
236
- var _RunInRootFrame$Deter =
237
- RunInRootFrame.DetermineComponentFrameRoot(),
238
- sampleStack = _RunInRootFrame$Deter[0],
239
- controlStack = _RunInRootFrame$Deter[1];
240
- if (sampleStack && controlStack) {
241
- var sampleLines = sampleStack.split("\n"),
242
- controlLines = controlStack.split("\n");
243
- for (
244
- _RunInRootFrame$Deter = namePropDescriptor = 0;
245
- namePropDescriptor < sampleLines.length &&
246
- !sampleLines[namePropDescriptor].includes(
247
- "DetermineComponentFrameRoot"
248
- );
249
-
250
- )
251
- namePropDescriptor++;
252
- for (
253
- ;
254
- _RunInRootFrame$Deter < controlLines.length &&
255
- !controlLines[_RunInRootFrame$Deter].includes(
256
- "DetermineComponentFrameRoot"
257
- );
258
-
259
- )
260
- _RunInRootFrame$Deter++;
261
- if (
262
- namePropDescriptor === sampleLines.length ||
263
- _RunInRootFrame$Deter === controlLines.length
264
- )
265
- for (
266
- namePropDescriptor = sampleLines.length - 1,
267
- _RunInRootFrame$Deter = controlLines.length - 1;
268
- 1 <= namePropDescriptor &&
269
- 0 <= _RunInRootFrame$Deter &&
270
- sampleLines[namePropDescriptor] !==
271
- controlLines[_RunInRootFrame$Deter];
272
-
273
- )
274
- _RunInRootFrame$Deter--;
275
- for (
276
- ;
277
- 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
278
- namePropDescriptor--, _RunInRootFrame$Deter--
279
- )
280
- if (
281
- sampleLines[namePropDescriptor] !==
282
- controlLines[_RunInRootFrame$Deter]
283
- ) {
284
- if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
285
- do
286
- if (
287
- (namePropDescriptor--,
288
- _RunInRootFrame$Deter--,
289
- 0 > _RunInRootFrame$Deter ||
290
- sampleLines[namePropDescriptor] !==
291
- controlLines[_RunInRootFrame$Deter])
292
- ) {
293
- var _frame =
294
- "\n" +
295
- sampleLines[namePropDescriptor].replace(
296
- " at new ",
297
- " at "
298
- );
299
- fn.displayName &&
300
- _frame.includes("<anonymous>") &&
301
- (_frame = _frame.replace("<anonymous>", fn.displayName));
302
- "function" === typeof fn &&
303
- componentFrameCache.set(fn, _frame);
304
- return _frame;
305
- }
306
- while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
307
- }
308
- break;
309
- }
310
- }
311
- } finally {
312
- (reentry = false),
313
- (ReactSharedInternals.H = previousDispatcher),
314
- reenableLogs(),
315
- (Error.prepareStackTrace = frame);
316
- }
317
- sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "")
318
- ? describeBuiltInComponentFrame(sampleLines)
319
- : "";
320
- "function" === typeof fn && componentFrameCache.set(fn, sampleLines);
321
- return sampleLines;
322
- }
323
- function describeUnknownElementTypeFrameInDEV(type) {
324
- if (null == type) return "";
325
- if ("function" === typeof type) {
326
- var prototype = type.prototype;
327
- return describeNativeComponentFrame(
328
- type,
329
- !(!prototype || !prototype.isReactComponent)
330
- );
331
- }
332
- if ("string" === typeof type) return describeBuiltInComponentFrame(type);
333
- switch (type) {
334
- case REACT_SUSPENSE_TYPE:
335
- return describeBuiltInComponentFrame("Suspense");
336
- case REACT_SUSPENSE_LIST_TYPE:
337
- return describeBuiltInComponentFrame("SuspenseList");
115
+ var name = getComponentNameFromType(type);
116
+ return name ? "<" + name + ">" : "<...>";
117
+ } catch (x) {
118
+ return "<...>";
338
119
  }
339
- if ("object" === typeof type)
340
- switch (type.$$typeof) {
341
- case REACT_FORWARD_REF_TYPE:
342
- return (type = describeNativeComponentFrame(type.render, false)), type;
343
- case REACT_MEMO_TYPE:
344
- return describeUnknownElementTypeFrameInDEV(type.type);
345
- case REACT_LAZY_TYPE:
346
- prototype = type._payload;
347
- type = type._init;
348
- try {
349
- return describeUnknownElementTypeFrameInDEV(type(prototype));
350
- } catch (x) {}
351
- }
352
- return "";
353
120
  }
354
121
  function getOwner() {
355
122
  var dispatcher = ReactSharedInternals.A;
356
123
  return null === dispatcher ? null : dispatcher.getOwner();
357
124
  }
125
+ function UnknownOwner() {
126
+ return Error("react-stack-top-frame");
127
+ }
358
128
  function hasValidKey(config) {
359
129
  if (hasOwnProperty.call(config, "key")) {
360
130
  var getter = Object.getOwnPropertyDescriptor(config, "key").get;
@@ -387,7 +157,16 @@ function requireReactJsxRuntime_development () {
387
157
  componentName = this.props.ref;
388
158
  return void 0 !== componentName ? componentName : null;
389
159
  }
390
- function ReactElement(type, key, self, source, owner, props) {
160
+ function ReactElement(
161
+ type,
162
+ key,
163
+ self,
164
+ source,
165
+ owner,
166
+ props,
167
+ debugStack,
168
+ debugTask
169
+ ) {
391
170
  self = props.ref;
392
171
  type = {
393
172
  $$typeof: REACT_ELEMENT_TYPE,
@@ -415,6 +194,18 @@ function requireReactJsxRuntime_development () {
415
194
  writable: true,
416
195
  value: null
417
196
  });
197
+ Object.defineProperty(type, "_debugStack", {
198
+ configurable: false,
199
+ enumerable: false,
200
+ writable: true,
201
+ value: debugStack
202
+ });
203
+ Object.defineProperty(type, "_debugTask", {
204
+ configurable: false,
205
+ enumerable: false,
206
+ writable: true,
207
+ value: debugTask
208
+ });
418
209
  Object.freeze && (Object.freeze(type.props), Object.freeze(type));
419
210
  return type;
420
211
  }
@@ -424,71 +215,26 @@ function requireReactJsxRuntime_development () {
424
215
  maybeKey,
425
216
  isStaticChildren,
426
217
  source,
427
- self
218
+ self,
219
+ debugStack,
220
+ debugTask
428
221
  ) {
429
- if (
430
- "string" === typeof type ||
431
- "function" === typeof type ||
432
- type === REACT_FRAGMENT_TYPE ||
433
- type === REACT_PROFILER_TYPE ||
434
- type === REACT_STRICT_MODE_TYPE ||
435
- type === REACT_SUSPENSE_TYPE ||
436
- type === REACT_SUSPENSE_LIST_TYPE ||
437
- type === REACT_OFFSCREEN_TYPE ||
438
- ("object" === typeof type &&
439
- null !== type &&
440
- (type.$$typeof === REACT_LAZY_TYPE ||
441
- type.$$typeof === REACT_MEMO_TYPE ||
442
- type.$$typeof === REACT_CONTEXT_TYPE ||
443
- type.$$typeof === REACT_CONSUMER_TYPE ||
444
- type.$$typeof === REACT_FORWARD_REF_TYPE ||
445
- type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
446
- void 0 !== type.getModuleId))
447
- ) {
448
- var children = config.children;
449
- if (void 0 !== children)
450
- if (isStaticChildren)
451
- if (isArrayImpl(children)) {
452
- for (
453
- isStaticChildren = 0;
454
- isStaticChildren < children.length;
455
- isStaticChildren++
456
- )
457
- validateChildKeys(children[isStaticChildren], type);
458
- Object.freeze && Object.freeze(children);
459
- } else
460
- console.error(
461
- "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
462
- );
463
- else validateChildKeys(children, type);
464
- } else {
465
- children = "";
466
- if (
467
- void 0 === type ||
468
- ("object" === typeof type &&
469
- null !== type &&
470
- 0 === Object.keys(type).length)
471
- )
472
- children +=
473
- " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
474
- null === type
475
- ? (isStaticChildren = "null")
476
- : isArrayImpl(type)
477
- ? (isStaticChildren = "array")
478
- : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
479
- ? ((isStaticChildren =
480
- "<" +
481
- (getComponentNameFromType(type.type) || "Unknown") +
482
- " />"),
483
- (children =
484
- " Did you accidentally export a JSX literal instead of a component?"))
485
- : (isStaticChildren = typeof type);
486
- console.error(
487
- "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
488
- isStaticChildren,
489
- children
490
- );
491
- }
222
+ var children = config.children;
223
+ if (void 0 !== children)
224
+ if (isStaticChildren)
225
+ if (isArrayImpl(children)) {
226
+ for (
227
+ isStaticChildren = 0;
228
+ isStaticChildren < children.length;
229
+ isStaticChildren++
230
+ )
231
+ validateChildKeys(children[isStaticChildren]);
232
+ Object.freeze && Object.freeze(children);
233
+ } else
234
+ console.error(
235
+ "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
236
+ );
237
+ else validateChildKeys(children);
492
238
  if (hasOwnProperty.call(config, "key")) {
493
239
  children = getComponentNameFromType(type);
494
240
  var keys = Object.keys(config).filter(function (k) {
@@ -527,88 +273,23 @@ function requireReactJsxRuntime_development () {
527
273
  ? type.displayName || type.name || "Unknown"
528
274
  : type
529
275
  );
530
- return ReactElement(type, children, self, source, getOwner(), maybeKey);
531
- }
532
- function validateChildKeys(node, parentType) {
533
- if (
534
- "object" === typeof node &&
535
- node &&
536
- node.$$typeof !== REACT_CLIENT_REFERENCE
537
- )
538
- if (isArrayImpl(node))
539
- for (var i = 0; i < node.length; i++) {
540
- var child = node[i];
541
- isValidElement(child) && validateExplicitKey(child, parentType);
542
- }
543
- else if (isValidElement(node))
544
- node._store && (node._store.validated = 1);
545
- else if (
546
- (null === node || "object" !== typeof node
547
- ? (i = null)
548
- : ((i =
549
- (MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
550
- node["@@iterator"]),
551
- (i = "function" === typeof i ? i : null)),
552
- "function" === typeof i &&
553
- i !== node.entries &&
554
- ((i = i.call(node)), i !== node))
555
- )
556
- for (; !(node = i.next()).done; )
557
- isValidElement(node.value) &&
558
- validateExplicitKey(node.value, parentType);
559
- }
560
- function isValidElement(object) {
561
- return (
562
- "object" === typeof object &&
563
- null !== object &&
564
- object.$$typeof === REACT_ELEMENT_TYPE
276
+ return ReactElement(
277
+ type,
278
+ children,
279
+ self,
280
+ source,
281
+ getOwner(),
282
+ maybeKey,
283
+ debugStack,
284
+ debugTask
565
285
  );
566
286
  }
567
- function validateExplicitKey(element, parentType) {
568
- if (
569
- element._store &&
570
- !element._store.validated &&
571
- null == element.key &&
572
- ((element._store.validated = 1),
573
- (parentType = getCurrentComponentErrorInfo(parentType)),
574
- !ownerHasKeyUseWarning[parentType])
575
- ) {
576
- ownerHasKeyUseWarning[parentType] = true;
577
- var childOwner = "";
578
- element &&
579
- null != element._owner &&
580
- element._owner !== getOwner() &&
581
- ((childOwner = null),
582
- "number" === typeof element._owner.tag
583
- ? (childOwner = getComponentNameFromType(element._owner.type))
584
- : "string" === typeof element._owner.name &&
585
- (childOwner = element._owner.name),
586
- (childOwner = " It was passed a child from " + childOwner + "."));
587
- var prevGetCurrentStack = ReactSharedInternals.getCurrentStack;
588
- ReactSharedInternals.getCurrentStack = function () {
589
- var stack = describeUnknownElementTypeFrameInDEV(element.type);
590
- prevGetCurrentStack && (stack += prevGetCurrentStack() || "");
591
- return stack;
592
- };
593
- console.error(
594
- 'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
595
- parentType,
596
- childOwner
597
- );
598
- ReactSharedInternals.getCurrentStack = prevGetCurrentStack;
599
- }
600
- }
601
- function getCurrentComponentErrorInfo(parentType) {
602
- var info = "",
603
- owner = getOwner();
604
- owner &&
605
- (owner = getComponentNameFromType(owner.type)) &&
606
- (info = "\n\nCheck the render method of `" + owner + "`.");
607
- info ||
608
- ((parentType = getComponentNameFromType(parentType)) &&
609
- (info =
610
- "\n\nCheck the top-level render call using <" + parentType + ">."));
611
- return info;
287
+ function validateChildKeys(node) {
288
+ "object" === typeof node &&
289
+ null !== node &&
290
+ node.$$typeof === REACT_ELEMENT_TYPE &&
291
+ node._store &&
292
+ (node._store.validated = 1);
612
293
  }
613
294
  var React = React__default,
614
295
  REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
@@ -623,41 +304,62 @@ function requireReactJsxRuntime_development () {
623
304
  REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
624
305
  REACT_MEMO_TYPE = Symbol.for("react.memo"),
625
306
  REACT_LAZY_TYPE = Symbol.for("react.lazy"),
626
- REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
627
- MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
628
- REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
307
+ REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
308
+ REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
629
309
  ReactSharedInternals =
630
310
  React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
631
311
  hasOwnProperty = Object.prototype.hasOwnProperty,
632
- assign = Object.assign,
633
- REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
634
312
  isArrayImpl = Array.isArray,
635
- disabledDepth = 0,
636
- prevLog,
637
- prevInfo,
638
- prevWarn,
639
- prevError,
640
- prevGroup,
641
- prevGroupCollapsed,
642
- prevGroupEnd;
643
- disabledLog.__reactDisabledLog = true;
644
- var prefix,
645
- suffix,
646
- reentry = false;
647
- var componentFrameCache = new (
648
- "function" === typeof WeakMap ? WeakMap : Map
649
- )();
650
- var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
651
- specialPropKeyWarningShown;
313
+ createTask = console.createTask
314
+ ? console.createTask
315
+ : function () {
316
+ return null;
317
+ };
318
+ React = {
319
+ "react-stack-bottom-frame": function (callStackForError) {
320
+ return callStackForError();
321
+ }
322
+ };
323
+ var specialPropKeyWarningShown;
652
324
  var didWarnAboutElementRef = {};
653
- var didWarnAboutKeySpread = {},
654
- ownerHasKeyUseWarning = {};
325
+ var unknownOwnerDebugStack = React["react-stack-bottom-frame"].bind(
326
+ React,
327
+ UnknownOwner
328
+ )();
329
+ var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
330
+ var didWarnAboutKeySpread = {};
655
331
  reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
656
332
  reactJsxRuntime_development.jsx = function (type, config, maybeKey, source, self) {
657
- return jsxDEVImpl(type, config, maybeKey, false, source, self);
333
+ var trackActualOwner =
334
+ 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
335
+ return jsxDEVImpl(
336
+ type,
337
+ config,
338
+ maybeKey,
339
+ false,
340
+ source,
341
+ self,
342
+ trackActualOwner
343
+ ? Error("react-stack-top-frame")
344
+ : unknownOwnerDebugStack,
345
+ trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
346
+ );
658
347
  };
659
348
  reactJsxRuntime_development.jsxs = function (type, config, maybeKey, source, self) {
660
- return jsxDEVImpl(type, config, maybeKey, true, source, self);
349
+ var trackActualOwner =
350
+ 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
351
+ return jsxDEVImpl(
352
+ type,
353
+ config,
354
+ maybeKey,
355
+ true,
356
+ source,
357
+ self,
358
+ trackActualOwner
359
+ ? Error("react-stack-top-frame")
360
+ : unknownOwnerDebugStack,
361
+ trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
362
+ );
661
363
  };
662
364
  })();
663
365
  return reactJsxRuntime_development;