@availity/mui-stepper 1.0.6 → 1.0.8

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