@availity/mui-stepper 0.2.4 → 0.3.0

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.js CHANGED
@@ -34,6 +34,9 @@ var __objRest = (source, exclude) => {
34
34
  }
35
35
  return target;
36
36
  };
37
+ var __commonJS = (cb, mod) => function __require() {
38
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
39
+ };
37
40
  var __export = (target, all) => {
38
41
  for (var name in all)
39
42
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -56,6 +59,954 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
56
59
  ));
57
60
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
58
61
 
62
+ // ../../node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js
63
+ var require_react_is_production_min = __commonJS({
64
+ "../../node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js"(exports2) {
65
+ "use strict";
66
+ var b = "function" === typeof Symbol && Symbol.for;
67
+ var c = b ? Symbol.for("react.element") : 60103;
68
+ var d = b ? Symbol.for("react.portal") : 60106;
69
+ var e = b ? Symbol.for("react.fragment") : 60107;
70
+ var f = b ? Symbol.for("react.strict_mode") : 60108;
71
+ var g = b ? Symbol.for("react.profiler") : 60114;
72
+ var h = b ? Symbol.for("react.provider") : 60109;
73
+ var k = b ? Symbol.for("react.context") : 60110;
74
+ var l = b ? Symbol.for("react.async_mode") : 60111;
75
+ var m = b ? Symbol.for("react.concurrent_mode") : 60111;
76
+ var n = b ? Symbol.for("react.forward_ref") : 60112;
77
+ var p = b ? Symbol.for("react.suspense") : 60113;
78
+ var q = b ? Symbol.for("react.suspense_list") : 60120;
79
+ var r = b ? Symbol.for("react.memo") : 60115;
80
+ var t = b ? Symbol.for("react.lazy") : 60116;
81
+ var v = b ? Symbol.for("react.block") : 60121;
82
+ var w = b ? Symbol.for("react.fundamental") : 60117;
83
+ var x = b ? Symbol.for("react.responder") : 60118;
84
+ var y = b ? Symbol.for("react.scope") : 60119;
85
+ function z(a) {
86
+ if ("object" === typeof a && null !== a) {
87
+ var u = a.$$typeof;
88
+ switch (u) {
89
+ case c:
90
+ switch (a = a.type, a) {
91
+ case l:
92
+ case m:
93
+ case e:
94
+ case g:
95
+ case f:
96
+ case p:
97
+ return a;
98
+ default:
99
+ switch (a = a && a.$$typeof, a) {
100
+ case k:
101
+ case n:
102
+ case t:
103
+ case r:
104
+ case h:
105
+ return a;
106
+ default:
107
+ return u;
108
+ }
109
+ }
110
+ case d:
111
+ return u;
112
+ }
113
+ }
114
+ }
115
+ function A(a) {
116
+ return z(a) === m;
117
+ }
118
+ exports2.AsyncMode = l;
119
+ exports2.ConcurrentMode = m;
120
+ exports2.ContextConsumer = k;
121
+ exports2.ContextProvider = h;
122
+ exports2.Element = c;
123
+ exports2.ForwardRef = n;
124
+ exports2.Fragment = e;
125
+ exports2.Lazy = t;
126
+ exports2.Memo = r;
127
+ exports2.Portal = d;
128
+ exports2.Profiler = g;
129
+ exports2.StrictMode = f;
130
+ exports2.Suspense = p;
131
+ exports2.isAsyncMode = function(a) {
132
+ return A(a) || z(a) === l;
133
+ };
134
+ exports2.isConcurrentMode = A;
135
+ exports2.isContextConsumer = function(a) {
136
+ return z(a) === k;
137
+ };
138
+ exports2.isContextProvider = function(a) {
139
+ return z(a) === h;
140
+ };
141
+ exports2.isElement = function(a) {
142
+ return "object" === typeof a && null !== a && a.$$typeof === c;
143
+ };
144
+ exports2.isForwardRef = function(a) {
145
+ return z(a) === n;
146
+ };
147
+ exports2.isFragment = function(a) {
148
+ return z(a) === e;
149
+ };
150
+ exports2.isLazy = function(a) {
151
+ return z(a) === t;
152
+ };
153
+ exports2.isMemo = function(a) {
154
+ return z(a) === r;
155
+ };
156
+ exports2.isPortal = function(a) {
157
+ return z(a) === d;
158
+ };
159
+ exports2.isProfiler = function(a) {
160
+ return z(a) === g;
161
+ };
162
+ exports2.isStrictMode = function(a) {
163
+ return z(a) === f;
164
+ };
165
+ exports2.isSuspense = function(a) {
166
+ return z(a) === p;
167
+ };
168
+ exports2.isValidElementType = function(a) {
169
+ return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
170
+ };
171
+ exports2.typeOf = z;
172
+ }
173
+ });
174
+
175
+ // ../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js
176
+ var require_react_is_development = __commonJS({
177
+ "../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js"(exports2) {
178
+ "use strict";
179
+ if (process.env.NODE_ENV !== "production") {
180
+ (function() {
181
+ "use strict";
182
+ var hasSymbol = typeof Symbol === "function" && Symbol.for;
183
+ var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103;
184
+ var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106;
185
+ var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for("react.fragment") : 60107;
186
+ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for("react.strict_mode") : 60108;
187
+ var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for("react.profiler") : 60114;
188
+ var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for("react.provider") : 60109;
189
+ var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for("react.context") : 60110;
190
+ var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for("react.async_mode") : 60111;
191
+ var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for("react.concurrent_mode") : 60111;
192
+ var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 60112;
193
+ var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for("react.suspense") : 60113;
194
+ var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for("react.suspense_list") : 60120;
195
+ var REACT_MEMO_TYPE = hasSymbol ? Symbol.for("react.memo") : 60115;
196
+ var REACT_LAZY_TYPE = hasSymbol ? Symbol.for("react.lazy") : 60116;
197
+ var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for("react.block") : 60121;
198
+ var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117;
199
+ var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118;
200
+ var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
201
+ function isValidElementType(type) {
202
+ return typeof type === "string" || typeof type === "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
203
+ type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === "object" && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
204
+ }
205
+ function typeOf(object) {
206
+ if (typeof object === "object" && object !== null) {
207
+ var $$typeof = object.$$typeof;
208
+ switch ($$typeof) {
209
+ case REACT_ELEMENT_TYPE:
210
+ var type = object.type;
211
+ switch (type) {
212
+ case REACT_ASYNC_MODE_TYPE:
213
+ case REACT_CONCURRENT_MODE_TYPE:
214
+ case REACT_FRAGMENT_TYPE:
215
+ case REACT_PROFILER_TYPE:
216
+ case REACT_STRICT_MODE_TYPE:
217
+ case REACT_SUSPENSE_TYPE:
218
+ return type;
219
+ default:
220
+ var $$typeofType = type && type.$$typeof;
221
+ switch ($$typeofType) {
222
+ case REACT_CONTEXT_TYPE:
223
+ case REACT_FORWARD_REF_TYPE:
224
+ case REACT_LAZY_TYPE:
225
+ case REACT_MEMO_TYPE:
226
+ case REACT_PROVIDER_TYPE:
227
+ return $$typeofType;
228
+ default:
229
+ return $$typeof;
230
+ }
231
+ }
232
+ case REACT_PORTAL_TYPE:
233
+ return $$typeof;
234
+ }
235
+ }
236
+ return void 0;
237
+ }
238
+ var AsyncMode = REACT_ASYNC_MODE_TYPE;
239
+ var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
240
+ var ContextConsumer = REACT_CONTEXT_TYPE;
241
+ var ContextProvider = REACT_PROVIDER_TYPE;
242
+ var Element = REACT_ELEMENT_TYPE;
243
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
244
+ var Fragment = REACT_FRAGMENT_TYPE;
245
+ var Lazy = REACT_LAZY_TYPE;
246
+ var Memo = REACT_MEMO_TYPE;
247
+ var Portal = REACT_PORTAL_TYPE;
248
+ var Profiler = REACT_PROFILER_TYPE;
249
+ var StrictMode = REACT_STRICT_MODE_TYPE;
250
+ var Suspense = REACT_SUSPENSE_TYPE;
251
+ var hasWarnedAboutDeprecatedIsAsyncMode = false;
252
+ function isAsyncMode(object) {
253
+ {
254
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
255
+ hasWarnedAboutDeprecatedIsAsyncMode = true;
256
+ console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.");
257
+ }
258
+ }
259
+ return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
260
+ }
261
+ function isConcurrentMode(object) {
262
+ return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
263
+ }
264
+ function isContextConsumer(object) {
265
+ return typeOf(object) === REACT_CONTEXT_TYPE;
266
+ }
267
+ function isContextProvider(object) {
268
+ return typeOf(object) === REACT_PROVIDER_TYPE;
269
+ }
270
+ function isElement(object) {
271
+ return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
272
+ }
273
+ function isForwardRef(object) {
274
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
275
+ }
276
+ function isFragment(object) {
277
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
278
+ }
279
+ function isLazy(object) {
280
+ return typeOf(object) === REACT_LAZY_TYPE;
281
+ }
282
+ function isMemo(object) {
283
+ return typeOf(object) === REACT_MEMO_TYPE;
284
+ }
285
+ function isPortal(object) {
286
+ return typeOf(object) === REACT_PORTAL_TYPE;
287
+ }
288
+ function isProfiler(object) {
289
+ return typeOf(object) === REACT_PROFILER_TYPE;
290
+ }
291
+ function isStrictMode(object) {
292
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
293
+ }
294
+ function isSuspense(object) {
295
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
296
+ }
297
+ exports2.AsyncMode = AsyncMode;
298
+ exports2.ConcurrentMode = ConcurrentMode;
299
+ exports2.ContextConsumer = ContextConsumer;
300
+ exports2.ContextProvider = ContextProvider;
301
+ exports2.Element = Element;
302
+ exports2.ForwardRef = ForwardRef;
303
+ exports2.Fragment = Fragment;
304
+ exports2.Lazy = Lazy;
305
+ exports2.Memo = Memo;
306
+ exports2.Portal = Portal;
307
+ exports2.Profiler = Profiler;
308
+ exports2.StrictMode = StrictMode;
309
+ exports2.Suspense = Suspense;
310
+ exports2.isAsyncMode = isAsyncMode;
311
+ exports2.isConcurrentMode = isConcurrentMode;
312
+ exports2.isContextConsumer = isContextConsumer;
313
+ exports2.isContextProvider = isContextProvider;
314
+ exports2.isElement = isElement;
315
+ exports2.isForwardRef = isForwardRef;
316
+ exports2.isFragment = isFragment;
317
+ exports2.isLazy = isLazy;
318
+ exports2.isMemo = isMemo;
319
+ exports2.isPortal = isPortal;
320
+ exports2.isProfiler = isProfiler;
321
+ exports2.isStrictMode = isStrictMode;
322
+ exports2.isSuspense = isSuspense;
323
+ exports2.isValidElementType = isValidElementType;
324
+ exports2.typeOf = typeOf;
325
+ })();
326
+ }
327
+ }
328
+ });
329
+
330
+ // ../../node_modules/prop-types/node_modules/react-is/index.js
331
+ var require_react_is = __commonJS({
332
+ "../../node_modules/prop-types/node_modules/react-is/index.js"(exports2, module2) {
333
+ "use strict";
334
+ if (process.env.NODE_ENV === "production") {
335
+ module2.exports = require_react_is_production_min();
336
+ } else {
337
+ module2.exports = require_react_is_development();
338
+ }
339
+ }
340
+ });
341
+
342
+ // ../../node_modules/object-assign/index.js
343
+ var require_object_assign = __commonJS({
344
+ "../../node_modules/object-assign/index.js"(exports2, module2) {
345
+ "use strict";
346
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
347
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
348
+ var propIsEnumerable = Object.prototype.propertyIsEnumerable;
349
+ function toObject(val) {
350
+ if (val === null || val === void 0) {
351
+ throw new TypeError("Object.assign cannot be called with null or undefined");
352
+ }
353
+ return Object(val);
354
+ }
355
+ function shouldUseNative() {
356
+ try {
357
+ if (!Object.assign) {
358
+ return false;
359
+ }
360
+ var test1 = new String("abc");
361
+ test1[5] = "de";
362
+ if (Object.getOwnPropertyNames(test1)[0] === "5") {
363
+ return false;
364
+ }
365
+ var test2 = {};
366
+ for (var i = 0; i < 10; i++) {
367
+ test2["_" + String.fromCharCode(i)] = i;
368
+ }
369
+ var order2 = Object.getOwnPropertyNames(test2).map(function(n) {
370
+ return test2[n];
371
+ });
372
+ if (order2.join("") !== "0123456789") {
373
+ return false;
374
+ }
375
+ var test3 = {};
376
+ "abcdefghijklmnopqrst".split("").forEach(function(letter) {
377
+ test3[letter] = letter;
378
+ });
379
+ if (Object.keys(Object.assign({}, test3)).join("") !== "abcdefghijklmnopqrst") {
380
+ return false;
381
+ }
382
+ return true;
383
+ } catch (err) {
384
+ return false;
385
+ }
386
+ }
387
+ module2.exports = shouldUseNative() ? Object.assign : function(target, source) {
388
+ var from;
389
+ var to = toObject(target);
390
+ var symbols;
391
+ for (var s = 1; s < arguments.length; s++) {
392
+ from = Object(arguments[s]);
393
+ for (var key in from) {
394
+ if (hasOwnProperty.call(from, key)) {
395
+ to[key] = from[key];
396
+ }
397
+ }
398
+ if (getOwnPropertySymbols) {
399
+ symbols = getOwnPropertySymbols(from);
400
+ for (var i = 0; i < symbols.length; i++) {
401
+ if (propIsEnumerable.call(from, symbols[i])) {
402
+ to[symbols[i]] = from[symbols[i]];
403
+ }
404
+ }
405
+ }
406
+ }
407
+ return to;
408
+ };
409
+ }
410
+ });
411
+
412
+ // ../../node_modules/prop-types/lib/ReactPropTypesSecret.js
413
+ var require_ReactPropTypesSecret = __commonJS({
414
+ "../../node_modules/prop-types/lib/ReactPropTypesSecret.js"(exports2, module2) {
415
+ "use strict";
416
+ var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
417
+ module2.exports = ReactPropTypesSecret;
418
+ }
419
+ });
420
+
421
+ // ../../node_modules/prop-types/lib/has.js
422
+ var require_has = __commonJS({
423
+ "../../node_modules/prop-types/lib/has.js"(exports2, module2) {
424
+ "use strict";
425
+ module2.exports = Function.call.bind(Object.prototype.hasOwnProperty);
426
+ }
427
+ });
428
+
429
+ // ../../node_modules/prop-types/checkPropTypes.js
430
+ var require_checkPropTypes = __commonJS({
431
+ "../../node_modules/prop-types/checkPropTypes.js"(exports2, module2) {
432
+ "use strict";
433
+ var printWarning = function() {
434
+ };
435
+ if (process.env.NODE_ENV !== "production") {
436
+ ReactPropTypesSecret = require_ReactPropTypesSecret();
437
+ loggedTypeFailures = {};
438
+ has = require_has();
439
+ printWarning = function(text) {
440
+ var message = "Warning: " + text;
441
+ if (typeof console !== "undefined") {
442
+ console.error(message);
443
+ }
444
+ try {
445
+ throw new Error(message);
446
+ } catch (x) {
447
+ }
448
+ };
449
+ }
450
+ var ReactPropTypesSecret;
451
+ var loggedTypeFailures;
452
+ var has;
453
+ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
454
+ if (process.env.NODE_ENV !== "production") {
455
+ for (var typeSpecName in typeSpecs) {
456
+ if (has(typeSpecs, typeSpecName)) {
457
+ var error;
458
+ try {
459
+ if (typeof typeSpecs[typeSpecName] !== "function") {
460
+ var err = Error(
461
+ (componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
462
+ );
463
+ err.name = "Invariant Violation";
464
+ throw err;
465
+ }
466
+ error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
467
+ } catch (ex) {
468
+ error = ex;
469
+ }
470
+ if (error && !(error instanceof Error)) {
471
+ printWarning(
472
+ (componentName || "React class") + ": type specification of " + location + " `" + typeSpecName + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof error + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
473
+ );
474
+ }
475
+ if (error instanceof Error && !(error.message in loggedTypeFailures)) {
476
+ loggedTypeFailures[error.message] = true;
477
+ var stack = getStack ? getStack() : "";
478
+ printWarning(
479
+ "Failed " + location + " type: " + error.message + (stack != null ? stack : "")
480
+ );
481
+ }
482
+ }
483
+ }
484
+ }
485
+ }
486
+ checkPropTypes.resetWarningCache = function() {
487
+ if (process.env.NODE_ENV !== "production") {
488
+ loggedTypeFailures = {};
489
+ }
490
+ };
491
+ module2.exports = checkPropTypes;
492
+ }
493
+ });
494
+
495
+ // ../../node_modules/prop-types/factoryWithTypeCheckers.js
496
+ var require_factoryWithTypeCheckers = __commonJS({
497
+ "../../node_modules/prop-types/factoryWithTypeCheckers.js"(exports2, module2) {
498
+ "use strict";
499
+ var ReactIs = require_react_is();
500
+ var assign = require_object_assign();
501
+ var ReactPropTypesSecret = require_ReactPropTypesSecret();
502
+ var has = require_has();
503
+ var checkPropTypes = require_checkPropTypes();
504
+ var printWarning = function() {
505
+ };
506
+ if (process.env.NODE_ENV !== "production") {
507
+ printWarning = function(text) {
508
+ var message = "Warning: " + text;
509
+ if (typeof console !== "undefined") {
510
+ console.error(message);
511
+ }
512
+ try {
513
+ throw new Error(message);
514
+ } catch (x) {
515
+ }
516
+ };
517
+ }
518
+ function emptyFunctionThatReturnsNull() {
519
+ return null;
520
+ }
521
+ module2.exports = function(isValidElement, throwOnDirectAccess) {
522
+ var ITERATOR_SYMBOL = typeof Symbol === "function" && Symbol.iterator;
523
+ var FAUX_ITERATOR_SYMBOL = "@@iterator";
524
+ function getIteratorFn(maybeIterable) {
525
+ var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
526
+ if (typeof iteratorFn === "function") {
527
+ return iteratorFn;
528
+ }
529
+ }
530
+ var ANONYMOUS = "<<anonymous>>";
531
+ var ReactPropTypes = {
532
+ array: createPrimitiveTypeChecker("array"),
533
+ bigint: createPrimitiveTypeChecker("bigint"),
534
+ bool: createPrimitiveTypeChecker("boolean"),
535
+ func: createPrimitiveTypeChecker("function"),
536
+ number: createPrimitiveTypeChecker("number"),
537
+ object: createPrimitiveTypeChecker("object"),
538
+ string: createPrimitiveTypeChecker("string"),
539
+ symbol: createPrimitiveTypeChecker("symbol"),
540
+ any: createAnyTypeChecker(),
541
+ arrayOf: createArrayOfTypeChecker,
542
+ element: createElementTypeChecker(),
543
+ elementType: createElementTypeTypeChecker(),
544
+ instanceOf: createInstanceTypeChecker,
545
+ node: createNodeChecker(),
546
+ objectOf: createObjectOfTypeChecker,
547
+ oneOf: createEnumTypeChecker,
548
+ oneOfType: createUnionTypeChecker,
549
+ shape: createShapeTypeChecker,
550
+ exact: createStrictShapeTypeChecker
551
+ };
552
+ function is(x, y) {
553
+ if (x === y) {
554
+ return x !== 0 || 1 / x === 1 / y;
555
+ } else {
556
+ return x !== x && y !== y;
557
+ }
558
+ }
559
+ function PropTypeError(message, data) {
560
+ this.message = message;
561
+ this.data = data && typeof data === "object" ? data : {};
562
+ this.stack = "";
563
+ }
564
+ PropTypeError.prototype = Error.prototype;
565
+ function createChainableTypeChecker(validate) {
566
+ if (process.env.NODE_ENV !== "production") {
567
+ var manualPropTypeCallCache = {};
568
+ var manualPropTypeWarningCount = 0;
569
+ }
570
+ function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
571
+ componentName = componentName || ANONYMOUS;
572
+ propFullName = propFullName || propName;
573
+ if (secret !== ReactPropTypesSecret) {
574
+ if (throwOnDirectAccess) {
575
+ var err = new Error(
576
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
577
+ );
578
+ err.name = "Invariant Violation";
579
+ throw err;
580
+ } else if (process.env.NODE_ENV !== "production" && typeof console !== "undefined") {
581
+ var cacheKey = componentName + ":" + propName;
582
+ if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
583
+ manualPropTypeWarningCount < 3) {
584
+ printWarning(
585
+ "You are manually calling a React.PropTypes validation function for the `" + propFullName + "` prop on `" + componentName + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
586
+ );
587
+ manualPropTypeCallCache[cacheKey] = true;
588
+ manualPropTypeWarningCount++;
589
+ }
590
+ }
591
+ }
592
+ if (props[propName] == null) {
593
+ if (isRequired) {
594
+ if (props[propName] === null) {
595
+ return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required " + ("in `" + componentName + "`, but its value is `null`."));
596
+ }
597
+ return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required in " + ("`" + componentName + "`, but its value is `undefined`."));
598
+ }
599
+ return null;
600
+ } else {
601
+ return validate(props, propName, componentName, location, propFullName);
602
+ }
603
+ }
604
+ var chainedCheckType = checkType.bind(null, false);
605
+ chainedCheckType.isRequired = checkType.bind(null, true);
606
+ return chainedCheckType;
607
+ }
608
+ function createPrimitiveTypeChecker(expectedType) {
609
+ function validate(props, propName, componentName, location, propFullName, secret) {
610
+ var propValue = props[propName];
611
+ var propType = getPropType(propValue);
612
+ if (propType !== expectedType) {
613
+ var preciseType = getPreciseType(propValue);
614
+ return new PropTypeError(
615
+ "Invalid " + location + " `" + propFullName + "` of type " + ("`" + preciseType + "` supplied to `" + componentName + "`, expected ") + ("`" + expectedType + "`."),
616
+ { expectedType }
617
+ );
618
+ }
619
+ return null;
620
+ }
621
+ return createChainableTypeChecker(validate);
622
+ }
623
+ function createAnyTypeChecker() {
624
+ return createChainableTypeChecker(emptyFunctionThatReturnsNull);
625
+ }
626
+ function createArrayOfTypeChecker(typeChecker) {
627
+ function validate(props, propName, componentName, location, propFullName) {
628
+ if (typeof typeChecker !== "function") {
629
+ return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside arrayOf.");
630
+ }
631
+ var propValue = props[propName];
632
+ if (!Array.isArray(propValue)) {
633
+ var propType = getPropType(propValue);
634
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an array."));
635
+ }
636
+ for (var i = 0; i < propValue.length; i++) {
637
+ var error = typeChecker(propValue, i, componentName, location, propFullName + "[" + i + "]", ReactPropTypesSecret);
638
+ if (error instanceof Error) {
639
+ return error;
640
+ }
641
+ }
642
+ return null;
643
+ }
644
+ return createChainableTypeChecker(validate);
645
+ }
646
+ function createElementTypeChecker() {
647
+ function validate(props, propName, componentName, location, propFullName) {
648
+ var propValue = props[propName];
649
+ if (!isValidElement(propValue)) {
650
+ var propType = getPropType(propValue);
651
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement."));
652
+ }
653
+ return null;
654
+ }
655
+ return createChainableTypeChecker(validate);
656
+ }
657
+ function createElementTypeTypeChecker() {
658
+ function validate(props, propName, componentName, location, propFullName) {
659
+ var propValue = props[propName];
660
+ if (!ReactIs.isValidElementType(propValue)) {
661
+ var propType = getPropType(propValue);
662
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement type."));
663
+ }
664
+ return null;
665
+ }
666
+ return createChainableTypeChecker(validate);
667
+ }
668
+ function createInstanceTypeChecker(expectedClass) {
669
+ function validate(props, propName, componentName, location, propFullName) {
670
+ if (!(props[propName] instanceof expectedClass)) {
671
+ var expectedClassName = expectedClass.name || ANONYMOUS;
672
+ var actualClassName = getClassName(props[propName]);
673
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + actualClassName + "` supplied to `" + componentName + "`, expected ") + ("instance of `" + expectedClassName + "`."));
674
+ }
675
+ return null;
676
+ }
677
+ return createChainableTypeChecker(validate);
678
+ }
679
+ function createEnumTypeChecker(expectedValues) {
680
+ if (!Array.isArray(expectedValues)) {
681
+ if (process.env.NODE_ENV !== "production") {
682
+ if (arguments.length > 1) {
683
+ printWarning(
684
+ "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
685
+ );
686
+ } else {
687
+ printWarning("Invalid argument supplied to oneOf, expected an array.");
688
+ }
689
+ }
690
+ return emptyFunctionThatReturnsNull;
691
+ }
692
+ function validate(props, propName, componentName, location, propFullName) {
693
+ var propValue = props[propName];
694
+ for (var i = 0; i < expectedValues.length; i++) {
695
+ if (is(propValue, expectedValues[i])) {
696
+ return null;
697
+ }
698
+ }
699
+ var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
700
+ var type = getPreciseType(value);
701
+ if (type === "symbol") {
702
+ return String(value);
703
+ }
704
+ return value;
705
+ });
706
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of value `" + String(propValue) + "` " + ("supplied to `" + componentName + "`, expected one of " + valuesString + "."));
707
+ }
708
+ return createChainableTypeChecker(validate);
709
+ }
710
+ function createObjectOfTypeChecker(typeChecker) {
711
+ function validate(props, propName, componentName, location, propFullName) {
712
+ if (typeof typeChecker !== "function") {
713
+ return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside objectOf.");
714
+ }
715
+ var propValue = props[propName];
716
+ var propType = getPropType(propValue);
717
+ if (propType !== "object") {
718
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an object."));
719
+ }
720
+ for (var key in propValue) {
721
+ if (has(propValue, key)) {
722
+ var error = typeChecker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
723
+ if (error instanceof Error) {
724
+ return error;
725
+ }
726
+ }
727
+ }
728
+ return null;
729
+ }
730
+ return createChainableTypeChecker(validate);
731
+ }
732
+ function createUnionTypeChecker(arrayOfTypeCheckers) {
733
+ if (!Array.isArray(arrayOfTypeCheckers)) {
734
+ process.env.NODE_ENV !== "production" ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
735
+ return emptyFunctionThatReturnsNull;
736
+ }
737
+ for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
738
+ var checker = arrayOfTypeCheckers[i];
739
+ if (typeof checker !== "function") {
740
+ printWarning(
741
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + getPostfixForTypeWarning(checker) + " at index " + i + "."
742
+ );
743
+ return emptyFunctionThatReturnsNull;
744
+ }
745
+ }
746
+ function validate(props, propName, componentName, location, propFullName) {
747
+ var expectedTypes = [];
748
+ for (var i2 = 0; i2 < arrayOfTypeCheckers.length; i2++) {
749
+ var checker2 = arrayOfTypeCheckers[i2];
750
+ var checkerResult = checker2(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
751
+ if (checkerResult == null) {
752
+ return null;
753
+ }
754
+ if (checkerResult.data && has(checkerResult.data, "expectedType")) {
755
+ expectedTypes.push(checkerResult.data.expectedType);
756
+ }
757
+ }
758
+ var expectedTypesMessage = expectedTypes.length > 0 ? ", expected one of type [" + expectedTypes.join(", ") + "]" : "";
759
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`" + expectedTypesMessage + "."));
760
+ }
761
+ return createChainableTypeChecker(validate);
762
+ }
763
+ function createNodeChecker() {
764
+ function validate(props, propName, componentName, location, propFullName) {
765
+ if (!isNode(props[propName])) {
766
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`, expected a ReactNode."));
767
+ }
768
+ return null;
769
+ }
770
+ return createChainableTypeChecker(validate);
771
+ }
772
+ function invalidValidatorError(componentName, location, propFullName, key, type) {
773
+ return new PropTypeError(
774
+ (componentName || "React class") + ": " + location + " type `" + propFullName + "." + key + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + type + "`."
775
+ );
776
+ }
777
+ function createShapeTypeChecker(shapeTypes) {
778
+ function validate(props, propName, componentName, location, propFullName) {
779
+ var propValue = props[propName];
780
+ var propType = getPropType(propValue);
781
+ if (propType !== "object") {
782
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
783
+ }
784
+ for (var key in shapeTypes) {
785
+ var checker = shapeTypes[key];
786
+ if (typeof checker !== "function") {
787
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
788
+ }
789
+ var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
790
+ if (error) {
791
+ return error;
792
+ }
793
+ }
794
+ return null;
795
+ }
796
+ return createChainableTypeChecker(validate);
797
+ }
798
+ function createStrictShapeTypeChecker(shapeTypes) {
799
+ function validate(props, propName, componentName, location, propFullName) {
800
+ var propValue = props[propName];
801
+ var propType = getPropType(propValue);
802
+ if (propType !== "object") {
803
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
804
+ }
805
+ var allKeys = assign({}, props[propName], shapeTypes);
806
+ for (var key in allKeys) {
807
+ var checker = shapeTypes[key];
808
+ if (has(shapeTypes, key) && typeof checker !== "function") {
809
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
810
+ }
811
+ if (!checker) {
812
+ return new PropTypeError(
813
+ "Invalid " + location + " `" + propFullName + "` key `" + key + "` supplied to `" + componentName + "`.\nBad object: " + JSON.stringify(props[propName], null, " ") + "\nValid keys: " + JSON.stringify(Object.keys(shapeTypes), null, " ")
814
+ );
815
+ }
816
+ var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
817
+ if (error) {
818
+ return error;
819
+ }
820
+ }
821
+ return null;
822
+ }
823
+ return createChainableTypeChecker(validate);
824
+ }
825
+ function isNode(propValue) {
826
+ switch (typeof propValue) {
827
+ case "number":
828
+ case "string":
829
+ case "undefined":
830
+ return true;
831
+ case "boolean":
832
+ return !propValue;
833
+ case "object":
834
+ if (Array.isArray(propValue)) {
835
+ return propValue.every(isNode);
836
+ }
837
+ if (propValue === null || isValidElement(propValue)) {
838
+ return true;
839
+ }
840
+ var iteratorFn = getIteratorFn(propValue);
841
+ if (iteratorFn) {
842
+ var iterator = iteratorFn.call(propValue);
843
+ var step;
844
+ if (iteratorFn !== propValue.entries) {
845
+ while (!(step = iterator.next()).done) {
846
+ if (!isNode(step.value)) {
847
+ return false;
848
+ }
849
+ }
850
+ } else {
851
+ while (!(step = iterator.next()).done) {
852
+ var entry = step.value;
853
+ if (entry) {
854
+ if (!isNode(entry[1])) {
855
+ return false;
856
+ }
857
+ }
858
+ }
859
+ }
860
+ } else {
861
+ return false;
862
+ }
863
+ return true;
864
+ default:
865
+ return false;
866
+ }
867
+ }
868
+ function isSymbol(propType, propValue) {
869
+ if (propType === "symbol") {
870
+ return true;
871
+ }
872
+ if (!propValue) {
873
+ return false;
874
+ }
875
+ if (propValue["@@toStringTag"] === "Symbol") {
876
+ return true;
877
+ }
878
+ if (typeof Symbol === "function" && propValue instanceof Symbol) {
879
+ return true;
880
+ }
881
+ return false;
882
+ }
883
+ function getPropType(propValue) {
884
+ var propType = typeof propValue;
885
+ if (Array.isArray(propValue)) {
886
+ return "array";
887
+ }
888
+ if (propValue instanceof RegExp) {
889
+ return "object";
890
+ }
891
+ if (isSymbol(propType, propValue)) {
892
+ return "symbol";
893
+ }
894
+ return propType;
895
+ }
896
+ function getPreciseType(propValue) {
897
+ if (typeof propValue === "undefined" || propValue === null) {
898
+ return "" + propValue;
899
+ }
900
+ var propType = getPropType(propValue);
901
+ if (propType === "object") {
902
+ if (propValue instanceof Date) {
903
+ return "date";
904
+ } else if (propValue instanceof RegExp) {
905
+ return "regexp";
906
+ }
907
+ }
908
+ return propType;
909
+ }
910
+ function getPostfixForTypeWarning(value) {
911
+ var type = getPreciseType(value);
912
+ switch (type) {
913
+ case "array":
914
+ case "object":
915
+ return "an " + type;
916
+ case "boolean":
917
+ case "date":
918
+ case "regexp":
919
+ return "a " + type;
920
+ default:
921
+ return type;
922
+ }
923
+ }
924
+ function getClassName(propValue) {
925
+ if (!propValue.constructor || !propValue.constructor.name) {
926
+ return ANONYMOUS;
927
+ }
928
+ return propValue.constructor.name;
929
+ }
930
+ ReactPropTypes.checkPropTypes = checkPropTypes;
931
+ ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
932
+ ReactPropTypes.PropTypes = ReactPropTypes;
933
+ return ReactPropTypes;
934
+ };
935
+ }
936
+ });
937
+
938
+ // ../../node_modules/prop-types/factoryWithThrowingShims.js
939
+ var require_factoryWithThrowingShims = __commonJS({
940
+ "../../node_modules/prop-types/factoryWithThrowingShims.js"(exports2, module2) {
941
+ "use strict";
942
+ var ReactPropTypesSecret = require_ReactPropTypesSecret();
943
+ function emptyFunction() {
944
+ }
945
+ function emptyFunctionWithReset() {
946
+ }
947
+ emptyFunctionWithReset.resetWarningCache = emptyFunction;
948
+ module2.exports = function() {
949
+ function shim(props, propName, componentName, location, propFullName, secret) {
950
+ if (secret === ReactPropTypesSecret) {
951
+ return;
952
+ }
953
+ var err = new Error(
954
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
955
+ );
956
+ err.name = "Invariant Violation";
957
+ throw err;
958
+ }
959
+ ;
960
+ shim.isRequired = shim;
961
+ function getShim() {
962
+ return shim;
963
+ }
964
+ ;
965
+ var ReactPropTypes = {
966
+ array: shim,
967
+ bigint: shim,
968
+ bool: shim,
969
+ func: shim,
970
+ number: shim,
971
+ object: shim,
972
+ string: shim,
973
+ symbol: shim,
974
+ any: shim,
975
+ arrayOf: getShim,
976
+ element: shim,
977
+ elementType: shim,
978
+ instanceOf: getShim,
979
+ node: shim,
980
+ objectOf: getShim,
981
+ oneOf: getShim,
982
+ oneOfType: getShim,
983
+ shape: getShim,
984
+ exact: getShim,
985
+ checkPropTypes: emptyFunctionWithReset,
986
+ resetWarningCache: emptyFunction
987
+ };
988
+ ReactPropTypes.PropTypes = ReactPropTypes;
989
+ return ReactPropTypes;
990
+ };
991
+ }
992
+ });
993
+
994
+ // ../../node_modules/prop-types/index.js
995
+ var require_prop_types = __commonJS({
996
+ "../../node_modules/prop-types/index.js"(exports2, module2) {
997
+ "use strict";
998
+ if (process.env.NODE_ENV !== "production") {
999
+ ReactIs = require_react_is();
1000
+ throwOnDirectAccess = true;
1001
+ module2.exports = require_factoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
1002
+ } else {
1003
+ module2.exports = require_factoryWithThrowingShims()();
1004
+ }
1005
+ var ReactIs;
1006
+ var throwOnDirectAccess;
1007
+ }
1008
+ });
1009
+
59
1010
  // src/index.ts
60
1011
  var src_exports = {};
61
1012
  __export(src_exports, {
@@ -82,7 +1033,7 @@ var import_StepButton = __toESM(require("@mui/material/StepButton"));
82
1033
  var import_jsx_runtime2 = require("react/jsx-runtime");
83
1034
  var StepButton = (_a) => {
84
1035
  var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
85
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_StepButton.default, __spreadProps(__spreadValues({}, rest), { children }));
1036
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_StepButton.default, __spreadProps(__spreadValues({}, rest), { disableRipple: true, disableTouchRipple: true, children }));
86
1037
  };
87
1038
 
88
1039
  // src/lib/StepConnector.tsx
@@ -118,20 +1069,565 @@ var StepIcon = (_a) => {
118
1069
 
119
1070
  // src/lib/StepLabel.tsx
120
1071
  var import_StepLabel = __toESM(require("@mui/material/StepLabel"));
1072
+ var import_mui_typography = require("@availity/mui-typography");
121
1073
  var import_jsx_runtime6 = require("react/jsx-runtime");
122
1074
  var StepLabel = (_a) => {
123
- var _b = _a, { children, error, warning } = _b, rest = __objRest(_b, ["children", "error", "warning"]);
124
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_StepLabel.default, __spreadProps(__spreadValues({ StepIconProps: { error, warning }, StepIconComponent: StepIcon, error }, rest), { children }));
1075
+ var _b = _a, { children, error, optional, warning } = _b, rest = __objRest(_b, ["children", "error", "optional", "warning"]);
1076
+ if (typeof optional === "string") {
1077
+ optional = /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_mui_typography.Typography, { variant: "caption", children: optional });
1078
+ }
1079
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1080
+ import_StepLabel.default,
1081
+ __spreadProps(__spreadValues({
1082
+ StepIconProps: { error, warning },
1083
+ StepIconComponent: StepIcon,
1084
+ error,
1085
+ optional
1086
+ }, rest), {
1087
+ children
1088
+ })
1089
+ );
125
1090
  };
126
1091
  StepLabel.muiName = import_StepLabel.default.muiName;
127
1092
 
128
1093
  // src/lib/Stepper.tsx
1094
+ var import_react5 = require("react");
129
1095
  var import_Stepper = __toESM(require("@mui/material/Stepper"));
1096
+
1097
+ // ../button/src/lib/Button.tsx
1098
+ var import_react = require("react");
1099
+ var import_Button = __toESM(require("@mui/material/Button"));
130
1100
  var import_jsx_runtime7 = require("react/jsx-runtime");
1101
+ var overrideProps = {
1102
+ disableRipple: true,
1103
+ disableFocusRipple: true,
1104
+ disableTouchRipple: true
1105
+ };
1106
+ var Button = (0, import_react.forwardRef)((props, ref) => {
1107
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_Button.default, __spreadProps(__spreadValues(__spreadValues({}, props), overrideProps), { ref }));
1108
+ });
1109
+
1110
+ // ../button/src/lib/IconButton.tsx
1111
+ var import_react2 = require("react");
1112
+ var import_IconButton = __toESM(require("@mui/material/IconButton"));
1113
+ var import_Tooltip = __toESM(require("@mui/material/Tooltip"));
1114
+ var import_jsx_runtime8 = require("react/jsx-runtime");
1115
+ var outlinedStyles = {
1116
+ borderRadius: ".25rem",
1117
+ border: 1
1118
+ };
1119
+ var IconButton = (0, import_react2.forwardRef)((props, ref) => {
1120
+ const _a = props, { title, variant = "text", sx, size = "medium" } = _a, rest = __objRest(_a, ["title", "variant", "sx", "size"]);
1121
+ const styles = __spreadValues(__spreadValues({}, sx), variant === "outlined" && outlinedStyles);
1122
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_Tooltip.default, { title, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_IconButton.default, __spreadProps(__spreadValues({ "aria-label": title, sx: __spreadValues({}, styles) }, rest), { ref, size })) });
1123
+ });
1124
+
1125
+ // ../button/src/lib/LoadingButton.tsx
1126
+ var import_react3 = require("react");
1127
+
1128
+ // ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
1129
+ function _objectWithoutPropertiesLoose(source, excluded) {
1130
+ if (source == null)
1131
+ return {};
1132
+ var target = {};
1133
+ var sourceKeys = Object.keys(source);
1134
+ var key, i;
1135
+ for (i = 0; i < sourceKeys.length; i++) {
1136
+ key = sourceKeys[i];
1137
+ if (excluded.indexOf(key) >= 0)
1138
+ continue;
1139
+ target[key] = source[key];
1140
+ }
1141
+ return target;
1142
+ }
1143
+
1144
+ // ../../node_modules/@babel/runtime/helpers/esm/extends.js
1145
+ function _extends() {
1146
+ _extends = Object.assign ? Object.assign.bind() : function(target) {
1147
+ for (var i = 1; i < arguments.length; i++) {
1148
+ var source = arguments[i];
1149
+ for (var key in source) {
1150
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
1151
+ target[key] = source[key];
1152
+ }
1153
+ }
1154
+ }
1155
+ return target;
1156
+ };
1157
+ return _extends.apply(this, arguments);
1158
+ }
1159
+
1160
+ // ../../node_modules/@mui/lab/LoadingButton/LoadingButton.js
1161
+ var React = __toESM(require("react"));
1162
+ var import_prop_types = __toESM(require_prop_types());
1163
+
1164
+ // ../../node_modules/@mui/lab/node_modules/@mui/utils/chainPropTypes/chainPropTypes.js
1165
+ function chainPropTypes(propType1, propType2) {
1166
+ if (process.env.NODE_ENV === "production") {
1167
+ return () => null;
1168
+ }
1169
+ return function validate(...args) {
1170
+ return propType1(...args) || propType2(...args);
1171
+ };
1172
+ }
1173
+
1174
+ // ../../node_modules/@mui/lab/node_modules/@mui/utils/resolveProps/resolveProps.js
1175
+ function resolveProps(defaultProps, props) {
1176
+ const output = _extends({}, props);
1177
+ Object.keys(defaultProps).forEach((propName) => {
1178
+ if (propName.toString().match(/^(components|slots)$/)) {
1179
+ output[propName] = _extends({}, defaultProps[propName], output[propName]);
1180
+ } else if (propName.toString().match(/^(componentsProps|slotProps)$/)) {
1181
+ const defaultSlotProps = defaultProps[propName] || {};
1182
+ const slotProps = props[propName];
1183
+ output[propName] = {};
1184
+ if (!slotProps || !Object.keys(slotProps)) {
1185
+ output[propName] = defaultSlotProps;
1186
+ } else if (!defaultSlotProps || !Object.keys(defaultSlotProps)) {
1187
+ output[propName] = slotProps;
1188
+ } else {
1189
+ output[propName] = _extends({}, slotProps);
1190
+ Object.keys(defaultSlotProps).forEach((slotPropName) => {
1191
+ output[propName][slotPropName] = resolveProps(defaultSlotProps[slotPropName], slotProps[slotPropName]);
1192
+ });
1193
+ }
1194
+ } else if (output[propName] === void 0) {
1195
+ output[propName] = defaultProps[propName];
1196
+ }
1197
+ });
1198
+ return output;
1199
+ }
1200
+
1201
+ // ../../node_modules/@mui/lab/node_modules/@mui/utils/ClassNameGenerator/ClassNameGenerator.js
1202
+ var defaultGenerator = (componentName) => componentName;
1203
+ var createClassNameGenerator = () => {
1204
+ let generate = defaultGenerator;
1205
+ return {
1206
+ configure(generator) {
1207
+ generate = generator;
1208
+ },
1209
+ generate(componentName) {
1210
+ return generate(componentName);
1211
+ },
1212
+ reset() {
1213
+ generate = defaultGenerator;
1214
+ }
1215
+ };
1216
+ };
1217
+ var ClassNameGenerator = createClassNameGenerator();
1218
+ var ClassNameGenerator_default = ClassNameGenerator;
1219
+
1220
+ // ../../node_modules/@mui/lab/node_modules/@mui/utils/generateUtilityClass/generateUtilityClass.js
1221
+ var globalStateClasses = {
1222
+ active: "active",
1223
+ checked: "checked",
1224
+ completed: "completed",
1225
+ disabled: "disabled",
1226
+ error: "error",
1227
+ expanded: "expanded",
1228
+ focused: "focused",
1229
+ focusVisible: "focusVisible",
1230
+ open: "open",
1231
+ readOnly: "readOnly",
1232
+ required: "required",
1233
+ selected: "selected"
1234
+ };
1235
+ function generateUtilityClass(componentName, slot, globalStatePrefix = "Mui") {
1236
+ const globalStateClass = globalStateClasses[slot];
1237
+ return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator_default.generate(componentName)}-${slot}`;
1238
+ }
1239
+
1240
+ // ../../node_modules/@mui/lab/node_modules/@mui/utils/generateUtilityClasses/generateUtilityClasses.js
1241
+ function generateUtilityClasses(componentName, slots, globalStatePrefix = "Mui") {
1242
+ const result = {};
1243
+ slots.forEach((slot) => {
1244
+ result[slot] = generateUtilityClass(componentName, slot, globalStatePrefix);
1245
+ });
1246
+ return result;
1247
+ }
1248
+
1249
+ // ../../node_modules/@mui/lab/LoadingButton/LoadingButton.js
1250
+ var import_utils3 = require("@mui/material/utils");
1251
+
1252
+ // ../../node_modules/@mui/base/node_modules/@mui/utils/composeClasses/composeClasses.js
1253
+ function composeClasses(slots, getUtilityClass, classes = void 0) {
1254
+ const output = {};
1255
+ Object.keys(slots).forEach(
1256
+ // `Object.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.
1257
+ // @ts-expect-error https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208
1258
+ (slot) => {
1259
+ output[slot] = slots[slot].reduce((acc, key) => {
1260
+ if (key) {
1261
+ const utilityClass = getUtilityClass(key);
1262
+ if (utilityClass !== "") {
1263
+ acc.push(utilityClass);
1264
+ }
1265
+ if (classes && classes[key]) {
1266
+ acc.push(classes[key]);
1267
+ }
1268
+ }
1269
+ return acc;
1270
+ }, []).join(" ");
1271
+ }
1272
+ );
1273
+ return output;
1274
+ }
1275
+
1276
+ // ../../node_modules/@mui/lab/LoadingButton/LoadingButton.js
1277
+ var import_styles = require("@mui/material/styles");
1278
+ var import_Button2 = __toESM(require("@mui/material/Button"));
1279
+ var import_ButtonGroup = require("@mui/material/ButtonGroup");
1280
+ var import_CircularProgress = __toESM(require("@mui/material/CircularProgress"));
1281
+
1282
+ // ../../node_modules/@mui/lab/LoadingButton/loadingButtonClasses.js
1283
+ function getLoadingButtonUtilityClass(slot) {
1284
+ return generateUtilityClass("MuiLoadingButton", slot);
1285
+ }
1286
+ var loadingButtonClasses = generateUtilityClasses("MuiLoadingButton", ["root", "loading", "loadingIndicator", "loadingIndicatorCenter", "loadingIndicatorStart", "loadingIndicatorEnd", "endIconLoadingEnd", "startIconLoadingStart"]);
1287
+ var loadingButtonClasses_default = loadingButtonClasses;
1288
+
1289
+ // ../../node_modules/@mui/lab/LoadingButton/LoadingButton.js
1290
+ var import_jsx_runtime9 = require("react/jsx-runtime");
1291
+ var import_jsx_runtime10 = require("react/jsx-runtime");
1292
+ var _excluded = ["children", "disabled", "id", "loading", "loadingIndicator", "loadingPosition", "variant"];
1293
+ var useUtilityClasses = (ownerState) => {
1294
+ const {
1295
+ loading,
1296
+ loadingPosition,
1297
+ classes
1298
+ } = ownerState;
1299
+ const slots = {
1300
+ root: ["root", loading && "loading"],
1301
+ startIcon: [loading && `startIconLoading${(0, import_utils3.capitalize)(loadingPosition)}`],
1302
+ endIcon: [loading && `endIconLoading${(0, import_utils3.capitalize)(loadingPosition)}`],
1303
+ loadingIndicator: ["loadingIndicator", loading && `loadingIndicator${(0, import_utils3.capitalize)(loadingPosition)}`]
1304
+ };
1305
+ const composedClasses = composeClasses(slots, getLoadingButtonUtilityClass, classes);
1306
+ return _extends({}, classes, composedClasses);
1307
+ };
1308
+ var rootShouldForwardProp = (prop) => prop !== "ownerState" && prop !== "theme" && prop !== "sx" && prop !== "as" && prop !== "classes";
1309
+ var LoadingButtonRoot = (0, import_styles.styled)(import_Button2.default, {
1310
+ shouldForwardProp: (prop) => rootShouldForwardProp(prop) || prop === "classes",
1311
+ name: "MuiLoadingButton",
1312
+ slot: "Root",
1313
+ overridesResolver: (props, styles) => {
1314
+ return [styles.root, styles.startIconLoadingStart && {
1315
+ [`& .${loadingButtonClasses_default.startIconLoadingStart}`]: styles.startIconLoadingStart
1316
+ }, styles.endIconLoadingEnd && {
1317
+ [`& .${loadingButtonClasses_default.endIconLoadingEnd}`]: styles.endIconLoadingEnd
1318
+ }];
1319
+ }
1320
+ })(({
1321
+ ownerState,
1322
+ theme
1323
+ }) => _extends({
1324
+ [`& .${loadingButtonClasses_default.startIconLoadingStart}, & .${loadingButtonClasses_default.endIconLoadingEnd}`]: {
1325
+ transition: theme.transitions.create(["opacity"], {
1326
+ duration: theme.transitions.duration.short
1327
+ }),
1328
+ opacity: 0
1329
+ }
1330
+ }, ownerState.loadingPosition === "center" && {
1331
+ transition: theme.transitions.create(["background-color", "box-shadow", "border-color"], {
1332
+ duration: theme.transitions.duration.short
1333
+ }),
1334
+ [`&.${loadingButtonClasses_default.loading}`]: {
1335
+ color: "transparent"
1336
+ }
1337
+ }, ownerState.loadingPosition === "start" && ownerState.fullWidth && {
1338
+ [`& .${loadingButtonClasses_default.startIconLoadingStart}, & .${loadingButtonClasses_default.endIconLoadingEnd}`]: {
1339
+ transition: theme.transitions.create(["opacity"], {
1340
+ duration: theme.transitions.duration.short
1341
+ }),
1342
+ opacity: 0,
1343
+ marginRight: -8
1344
+ }
1345
+ }, ownerState.loadingPosition === "end" && ownerState.fullWidth && {
1346
+ [`& .${loadingButtonClasses_default.startIconLoadingStart}, & .${loadingButtonClasses_default.endIconLoadingEnd}`]: {
1347
+ transition: theme.transitions.create(["opacity"], {
1348
+ duration: theme.transitions.duration.short
1349
+ }),
1350
+ opacity: 0,
1351
+ marginLeft: -8
1352
+ }
1353
+ }));
1354
+ var LoadingButtonLoadingIndicator = (0, import_styles.styled)("span", {
1355
+ name: "MuiLoadingButton",
1356
+ slot: "LoadingIndicator",
1357
+ overridesResolver: (props, styles) => {
1358
+ const {
1359
+ ownerState
1360
+ } = props;
1361
+ return [styles.loadingIndicator, styles[`loadingIndicator${(0, import_utils3.capitalize)(ownerState.loadingPosition)}`]];
1362
+ }
1363
+ })(({
1364
+ theme,
1365
+ ownerState
1366
+ }) => _extends({
1367
+ position: "absolute",
1368
+ visibility: "visible",
1369
+ display: "flex"
1370
+ }, ownerState.loadingPosition === "start" && (ownerState.variant === "outlined" || ownerState.variant === "contained") && {
1371
+ left: ownerState.size === "small" ? 10 : 14
1372
+ }, ownerState.loadingPosition === "start" && ownerState.variant === "text" && {
1373
+ left: 6
1374
+ }, ownerState.loadingPosition === "center" && {
1375
+ left: "50%",
1376
+ transform: "translate(-50%)",
1377
+ color: (theme.vars || theme).palette.action.disabled
1378
+ }, ownerState.loadingPosition === "end" && (ownerState.variant === "outlined" || ownerState.variant === "contained") && {
1379
+ right: ownerState.size === "small" ? 10 : 14
1380
+ }, ownerState.loadingPosition === "end" && ownerState.variant === "text" && {
1381
+ right: 6
1382
+ }, ownerState.loadingPosition === "start" && ownerState.fullWidth && {
1383
+ position: "relative",
1384
+ left: -10
1385
+ }, ownerState.loadingPosition === "end" && ownerState.fullWidth && {
1386
+ position: "relative",
1387
+ right: -10
1388
+ }));
1389
+ var LoadingButton = /* @__PURE__ */ React.forwardRef(function LoadingButton2(inProps, ref) {
1390
+ const contextProps = React.useContext(import_ButtonGroup.ButtonGroupContext);
1391
+ const resolvedProps = resolveProps(contextProps, inProps);
1392
+ const props = (0, import_styles.useThemeProps)({
1393
+ props: resolvedProps,
1394
+ name: "MuiLoadingButton"
1395
+ });
1396
+ const {
1397
+ children,
1398
+ disabled = false,
1399
+ id: idProp,
1400
+ loading = false,
1401
+ loadingIndicator: loadingIndicatorProp,
1402
+ loadingPosition = "center",
1403
+ variant = "text"
1404
+ } = props, other = _objectWithoutPropertiesLoose(props, _excluded);
1405
+ const id = (0, import_utils3.unstable_useId)(idProp);
1406
+ const loadingIndicator = loadingIndicatorProp != null ? loadingIndicatorProp : /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_CircularProgress.default, {
1407
+ "aria-labelledby": id,
1408
+ color: "inherit",
1409
+ size: 16
1410
+ });
1411
+ const ownerState = _extends({}, props, {
1412
+ disabled,
1413
+ loading,
1414
+ loadingIndicator,
1415
+ loadingPosition,
1416
+ variant
1417
+ });
1418
+ const classes = useUtilityClasses(ownerState);
1419
+ const loadingButtonLoadingIndicator = loading ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(LoadingButtonLoadingIndicator, {
1420
+ className: classes.loadingIndicator,
1421
+ ownerState,
1422
+ children: loadingIndicator
1423
+ }) : null;
1424
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(LoadingButtonRoot, _extends({
1425
+ disabled: disabled || loading,
1426
+ id,
1427
+ ref
1428
+ }, other, {
1429
+ variant,
1430
+ classes,
1431
+ ownerState,
1432
+ children: [ownerState.loadingPosition === "end" ? children : loadingButtonLoadingIndicator, ownerState.loadingPosition === "end" ? loadingButtonLoadingIndicator : children]
1433
+ }));
1434
+ });
1435
+ process.env.NODE_ENV !== "production" ? LoadingButton.propTypes = {
1436
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
1437
+ // │ These PropTypes are generated from the TypeScript type definitions. │
1438
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
1439
+ // └─────────────────────────────────────────────────────────────────────┘
1440
+ /**
1441
+ * The content of the component.
1442
+ */
1443
+ children: import_prop_types.default.node,
1444
+ /**
1445
+ * Override or extend the styles applied to the component.
1446
+ */
1447
+ classes: import_prop_types.default.object,
1448
+ /**
1449
+ * If `true`, the component is disabled.
1450
+ * @default false
1451
+ */
1452
+ disabled: import_prop_types.default.bool,
1453
+ /**
1454
+ * @ignore
1455
+ */
1456
+ id: import_prop_types.default.string,
1457
+ /**
1458
+ * If `true`, the loading indicator is shown and the button becomes disabled.
1459
+ * @default false
1460
+ */
1461
+ loading: import_prop_types.default.bool,
1462
+ /**
1463
+ * Element placed before the children if the button is in loading state.
1464
+ * The node should contain an element with `role="progressbar"` with an accessible name.
1465
+ * By default we render a `CircularProgress` that is labelled by the button itself.
1466
+ * @default <CircularProgress color="inherit" size={16} />
1467
+ */
1468
+ loadingIndicator: import_prop_types.default.node,
1469
+ /**
1470
+ * The loading indicator can be positioned on the start, end, or the center of the button.
1471
+ * @default 'center'
1472
+ */
1473
+ loadingPosition: chainPropTypes(import_prop_types.default.oneOf(["start", "end", "center"]), (props) => {
1474
+ if (props.loadingPosition === "start" && !props.startIcon) {
1475
+ return new Error(`MUI: The loadingPosition="start" should be used in combination with startIcon.`);
1476
+ }
1477
+ if (props.loadingPosition === "end" && !props.endIcon) {
1478
+ return new Error(`MUI: The loadingPosition="end" should be used in combination with endIcon.`);
1479
+ }
1480
+ return null;
1481
+ }),
1482
+ /**
1483
+ * The system prop that allows defining system overrides as well as additional CSS styles.
1484
+ */
1485
+ sx: import_prop_types.default.oneOfType([import_prop_types.default.arrayOf(import_prop_types.default.oneOfType([import_prop_types.default.func, import_prop_types.default.object, import_prop_types.default.bool])), import_prop_types.default.func, import_prop_types.default.object]),
1486
+ /**
1487
+ * The variant to use.
1488
+ * @default 'text'
1489
+ */
1490
+ variant: import_prop_types.default.oneOfType([import_prop_types.default.oneOf(["contained", "outlined", "text"]), import_prop_types.default.string])
1491
+ } : void 0;
1492
+ var LoadingButton_default = LoadingButton;
1493
+
1494
+ // ../button/src/lib/LoadingButton.tsx
1495
+ var import_CircularProgress2 = __toESM(require("@mui/material/CircularProgress"));
1496
+ var import_jsx_runtime11 = require("react/jsx-runtime");
1497
+ var LoadingIndicator = /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_CircularProgress2.default, { color: "inherit", size: 16, "aria-label": "loading" });
1498
+ var LoadingButton3 = (0, import_react3.forwardRef)((props, ref) => {
1499
+ const _a = props, { children, loading } = _a, rest = __objRest(_a, ["children", "loading"]);
1500
+ const loadingPosition = rest.startIcon ? "start" : "end";
1501
+ const nonLoadingStyling = rest.startIcon || rest.endIcon || loading ? {} : { padding: "0 .7rem" };
1502
+ const endIcon = rest.startIcon ? void 0 : /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { style: loading ? { padding: "0 .7rem" } : {} });
1503
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1504
+ LoadingButton_default,
1505
+ __spreadProps(__spreadValues({
1506
+ endIcon,
1507
+ loadingPosition,
1508
+ loading,
1509
+ disableRipple: true,
1510
+ loadingIndicator: LoadingIndicator
1511
+ }, rest), {
1512
+ ref,
1513
+ children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { style: nonLoadingStyling, children })
1514
+ })
1515
+ );
1516
+ });
1517
+
1518
+ // src/lib/Stepper.tsx
1519
+ var import_mui_icon2 = require("@availity/mui-icon");
1520
+
1521
+ // ../layout/src/lib/Box.tsx
1522
+ var import_react4 = require("react");
1523
+ var import_Box = __toESM(require("@mui/material/Box"));
1524
+ var import_jsx_runtime12 = require("react/jsx-runtime");
1525
+ var Box = (0, import_react4.forwardRef)((props, ref) => {
1526
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_Box.default, __spreadProps(__spreadValues({}, props), { ref }));
1527
+ });
1528
+
1529
+ // ../layout/src/lib/Container.tsx
1530
+ var import_Container = __toESM(require("@mui/material/Container"));
1531
+ var import_jsx_runtime13 = require("react/jsx-runtime");
1532
+
1533
+ // ../layout/src/lib/Grid.tsx
1534
+ var import_Unstable_Grid2 = __toESM(require("@mui/material/Unstable_Grid2"));
1535
+ var import_jsx_runtime14 = require("react/jsx-runtime");
1536
+ var Grid = (args) => {
1537
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_Unstable_Grid2.default, __spreadValues({}, args));
1538
+ };
1539
+
1540
+ // ../layout/src/lib/Stack.tsx
1541
+ var import_Stack = __toESM(require("@mui/material/Stack"));
1542
+ var import_jsx_runtime15 = require("react/jsx-runtime");
1543
+
1544
+ // src/lib/Stepper.tsx
1545
+ var import_styles2 = require("@mui/material/styles");
1546
+ var import_jsx_runtime16 = require("react/jsx-runtime");
131
1547
  var Stepper = (_a) => {
132
- var _b = _a, { children, orientation } = _b, rest = __objRest(_b, ["children", "orientation"]);
1548
+ var _b = _a, { children, connector, orientation, scrollButtons } = _b, rest = __objRest(_b, ["children", "connector", "orientation", "scrollButtons"]);
133
1549
  const alternativeLabel = orientation !== "vertical";
134
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_Stepper.default, __spreadProps(__spreadValues({}, rest), { orientation, alternativeLabel, children }));
1550
+ const stepperRef = (0, import_react5.useRef)(null);
1551
+ const [showLeftButton, setShowLeftButton] = (0, import_react5.useState)(true);
1552
+ const [showRightButton, setShowRightButton] = (0, import_react5.useState)(true);
1553
+ (0, import_react5.useEffect)(() => {
1554
+ const stepper = stepperRef.current;
1555
+ const handleScroll = () => {
1556
+ if (stepper) {
1557
+ setShowLeftButton(stepper.scrollLeft > 0);
1558
+ const isRight = Math.abs(stepper.scrollWidth - stepper.clientWidth - stepper.scrollLeft) <= 1;
1559
+ setShowRightButton(!isRight);
1560
+ }
1561
+ };
1562
+ const resizeObserver = new ResizeObserver(() => {
1563
+ handleScroll();
1564
+ });
1565
+ if (stepper) {
1566
+ stepper.addEventListener("scroll", handleScroll);
1567
+ resizeObserver.observe(stepper);
1568
+ handleScroll();
1569
+ }
1570
+ return () => {
1571
+ if (stepper) {
1572
+ stepper.removeEventListener("scroll", handleScroll);
1573
+ resizeObserver.disconnect();
1574
+ }
1575
+ };
1576
+ }, []);
1577
+ const showScrollButtons = scrollButtons && orientation !== "vertical";
1578
+ const ScrollIconContainer = (0, import_styles2.styled)("div")({
1579
+ width: "50px",
1580
+ flexShrink: 0,
1581
+ paddingTop: "15px"
1582
+ });
1583
+ return showScrollButtons ? /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(Grid, { container: true, direction: "row", justifyContent: "space-between", wrap: "nowrap", children: [
1584
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(ScrollIconContainer, { style: { paddingRight: "8px" }, children: showLeftButton && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1585
+ IconButton,
1586
+ {
1587
+ title: "Previous",
1588
+ variant: "outlined",
1589
+ onClick: () => {
1590
+ var _a2;
1591
+ return (_a2 = stepperRef.current) == null ? void 0 : _a2.scrollTo({ left: 0, behavior: "smooth" });
1592
+ },
1593
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_mui_icon2.NavigatePreviousIcon, { fontSize: "xsmall" })
1594
+ }
1595
+ ) }),
1596
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1597
+ import_Stepper.default,
1598
+ __spreadProps(__spreadValues({}, rest), {
1599
+ connector,
1600
+ orientation,
1601
+ alternativeLabel,
1602
+ ref: stepperRef,
1603
+ children
1604
+ })
1605
+ ),
1606
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(ScrollIconContainer, { style: { paddingLeft: "8px" }, children: showRightButton && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1607
+ IconButton,
1608
+ {
1609
+ title: "Next",
1610
+ variant: "outlined",
1611
+ onClick: () => {
1612
+ var _a2;
1613
+ (_a2 = stepperRef.current) == null ? void 0 : _a2.scrollTo({
1614
+ left: stepperRef.current.scrollWidth - stepperRef.current.clientWidth,
1615
+ behavior: "smooth"
1616
+ });
1617
+ },
1618
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_mui_icon2.NavigateNextIcon, { fontSize: "xsmall" })
1619
+ }
1620
+ ) })
1621
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1622
+ import_Stepper.default,
1623
+ __spreadProps(__spreadValues({}, rest), {
1624
+ connector,
1625
+ orientation,
1626
+ alternativeLabel,
1627
+ ref: stepperRef,
1628
+ children
1629
+ })
1630
+ );
135
1631
  };
136
1632
  // Annotate the CommonJS export names for ESM import in node:
137
1633
  0 && (module.exports = {
@@ -143,3 +1639,50 @@ var Stepper = (_a) => {
143
1639
  StepLabel,
144
1640
  Stepper
145
1641
  });
1642
+ /*! Bundled license information:
1643
+
1644
+ react-is/cjs/react-is.production.min.js:
1645
+ (** @license React v16.13.1
1646
+ * react-is.production.min.js
1647
+ *
1648
+ * Copyright (c) Facebook, Inc. and its affiliates.
1649
+ *
1650
+ * This source code is licensed under the MIT license found in the
1651
+ * LICENSE file in the root directory of this source tree.
1652
+ *)
1653
+
1654
+ react-is/cjs/react-is.development.js:
1655
+ (** @license React v16.13.1
1656
+ * react-is.development.js
1657
+ *
1658
+ * Copyright (c) Facebook, Inc. and its affiliates.
1659
+ *
1660
+ * This source code is licensed under the MIT license found in the
1661
+ * LICENSE file in the root directory of this source tree.
1662
+ *)
1663
+
1664
+ object-assign/index.js:
1665
+ (*
1666
+ object-assign
1667
+ (c) Sindre Sorhus
1668
+ @license MIT
1669
+ *)
1670
+
1671
+ @mui/utils/index.js:
1672
+ (**
1673
+ * @mui/utils v5.15.14
1674
+ *
1675
+ * @license MIT
1676
+ * This source code is licensed under the MIT license found in the
1677
+ * LICENSE file in the root directory of this source tree.
1678
+ *)
1679
+
1680
+ @mui/utils/index.js:
1681
+ (**
1682
+ * @mui/utils v5.15.14
1683
+ *
1684
+ * @license MIT
1685
+ * This source code is licensed under the MIT license found in the
1686
+ * LICENSE file in the root directory of this source tree.
1687
+ *)
1688
+ */