@idea-fragments/react-components-zendesk 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/forms.js CHANGED
@@ -1,5 +1,6 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
+ var jsxRuntime = require('react/jsx-runtime');
3
4
  var React = require('react');
4
5
  var styled = require('styled-components');
5
6
  var reactDom = require('react-dom');
@@ -7,1004 +8,27 @@ var reactDom = require('react-dom');
7
8
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
9
 
9
10
  function _interopNamespace(e) {
10
- if (e && e.__esModule) return e;
11
- var n = Object.create(null);
12
- if (e) {
13
- Object.keys(e).forEach(function (k) {
14
- if (k !== 'default') {
15
- var d = Object.getOwnPropertyDescriptor(e, k);
16
- Object.defineProperty(n, k, d.get ? d : {
17
- enumerable: true,
18
- get: function () { return e[k]; }
19
- });
20
- }
21
- });
22
- }
23
- n["default"] = e;
24
- return Object.freeze(n);
11
+ if (e && e.__esModule) return e;
12
+ var n = Object.create(null);
13
+ if (e) {
14
+ Object.keys(e).forEach(function (k) {
15
+ if (k !== 'default') {
16
+ var d = Object.getOwnPropertyDescriptor(e, k);
17
+ Object.defineProperty(n, k, d.get ? d : {
18
+ enumerable: true,
19
+ get: function () { return e[k]; }
20
+ });
21
+ }
22
+ });
23
+ }
24
+ n["default"] = e;
25
+ return Object.freeze(n);
25
26
  }
26
27
 
27
28
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
28
29
  var React__namespace = /*#__PURE__*/_interopNamespace(React);
29
30
  var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
30
31
 
31
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
32
-
33
- function getDefaultExportFromCjs (x) {
34
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
35
- }
36
-
37
- function getAugmentedNamespace(n) {
38
- var f = n.default;
39
- if (typeof f == "function") {
40
- var a = function () {
41
- return f.apply(this, arguments);
42
- };
43
- a.prototype = f.prototype;
44
- } else a = {};
45
- Object.defineProperty(a, '__esModule', {value: true});
46
- Object.keys(n).forEach(function (k) {
47
- var d = Object.getOwnPropertyDescriptor(n, k);
48
- Object.defineProperty(a, k, d.get ? d : {
49
- enumerable: true,
50
- get: function () {
51
- return n[k];
52
- }
53
- });
54
- });
55
- return a;
56
- }
57
-
58
- var jsxRuntime = {exports: {}};
59
-
60
- var reactJsxRuntime_production_min = {};
61
-
62
- /** @license React v16.14.0
63
- * react-jsx-runtime.production.min.js
64
- *
65
- * Copyright (c) Facebook, Inc. and its affiliates.
66
- *
67
- * This source code is licensed under the MIT license found in the
68
- * LICENSE file in the root directory of this source tree.
69
- */
70
-
71
- var hasRequiredReactJsxRuntime_production_min;
72
-
73
- function requireReactJsxRuntime_production_min () {
74
- if (hasRequiredReactJsxRuntime_production_min) return reactJsxRuntime_production_min;
75
- hasRequiredReactJsxRuntime_production_min = 1;
76
- var f=React__default["default"],g=60103;reactJsxRuntime_production_min.Fragment=60107;if("function"===typeof Symbol&&Symbol.for){var h=Symbol.for;g=h("react.element");reactJsxRuntime_production_min.Fragment=h("react.fragment");}var m=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,n=Object.prototype.hasOwnProperty,p={key:!0,ref:!0,__self:!0,__source:!0};
77
- function q(c,a,k){var b,d={},e=null,l=null;void 0!==k&&(e=""+k);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(l=a.ref);for(b in a)n.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return {$$typeof:g,type:c,key:e,ref:l,props:d,_owner:m.current}}reactJsxRuntime_production_min.jsx=q;reactJsxRuntime_production_min.jsxs=q;
78
- return reactJsxRuntime_production_min;
79
- }
80
-
81
- var reactJsxRuntime_development = {};
82
-
83
- /** @license React v16.14.0
84
- * react-jsx-runtime.development.js
85
- *
86
- * Copyright (c) Facebook, Inc. and its affiliates.
87
- *
88
- * This source code is licensed under the MIT license found in the
89
- * LICENSE file in the root directory of this source tree.
90
- */
91
-
92
- var hasRequiredReactJsxRuntime_development;
93
-
94
- function requireReactJsxRuntime_development () {
95
- if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
96
- hasRequiredReactJsxRuntime_development = 1;
97
- (function (exports) {
98
-
99
- if (process.env.NODE_ENV !== "production") {
100
- (function() {
101
-
102
- var React = React__default["default"];
103
-
104
- // ATTENTION
105
- // When adding new symbols to this file,
106
- // Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
107
- // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
108
- // nor polyfill, then a plain number is used for performance.
109
- var REACT_ELEMENT_TYPE = 0xeac7;
110
- var REACT_PORTAL_TYPE = 0xeaca;
111
- exports.Fragment = 0xeacb;
112
- var REACT_STRICT_MODE_TYPE = 0xeacc;
113
- var REACT_PROFILER_TYPE = 0xead2;
114
- var REACT_PROVIDER_TYPE = 0xeacd;
115
- var REACT_CONTEXT_TYPE = 0xeace;
116
- var REACT_FORWARD_REF_TYPE = 0xead0;
117
- var REACT_SUSPENSE_TYPE = 0xead1;
118
- var REACT_SUSPENSE_LIST_TYPE = 0xead8;
119
- var REACT_MEMO_TYPE = 0xead3;
120
- var REACT_LAZY_TYPE = 0xead4;
121
- var REACT_BLOCK_TYPE = 0xead9;
122
- var REACT_SERVER_BLOCK_TYPE = 0xeada;
123
- var REACT_FUNDAMENTAL_TYPE = 0xead5;
124
- var REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1;
125
- var REACT_LEGACY_HIDDEN_TYPE = 0xeae3;
126
-
127
- if (typeof Symbol === 'function' && Symbol.for) {
128
- var symbolFor = Symbol.for;
129
- REACT_ELEMENT_TYPE = symbolFor('react.element');
130
- REACT_PORTAL_TYPE = symbolFor('react.portal');
131
- exports.Fragment = symbolFor('react.fragment');
132
- REACT_STRICT_MODE_TYPE = symbolFor('react.strict_mode');
133
- REACT_PROFILER_TYPE = symbolFor('react.profiler');
134
- REACT_PROVIDER_TYPE = symbolFor('react.provider');
135
- REACT_CONTEXT_TYPE = symbolFor('react.context');
136
- REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref');
137
- REACT_SUSPENSE_TYPE = symbolFor('react.suspense');
138
- REACT_SUSPENSE_LIST_TYPE = symbolFor('react.suspense_list');
139
- REACT_MEMO_TYPE = symbolFor('react.memo');
140
- REACT_LAZY_TYPE = symbolFor('react.lazy');
141
- REACT_BLOCK_TYPE = symbolFor('react.block');
142
- REACT_SERVER_BLOCK_TYPE = symbolFor('react.server.block');
143
- REACT_FUNDAMENTAL_TYPE = symbolFor('react.fundamental');
144
- symbolFor('react.scope');
145
- symbolFor('react.opaque.id');
146
- REACT_DEBUG_TRACING_MODE_TYPE = symbolFor('react.debug_trace_mode');
147
- symbolFor('react.offscreen');
148
- REACT_LEGACY_HIDDEN_TYPE = symbolFor('react.legacy_hidden');
149
- }
150
-
151
- var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
152
- var FAUX_ITERATOR_SYMBOL = '@@iterator';
153
- function getIteratorFn(maybeIterable) {
154
- if (maybeIterable === null || typeof maybeIterable !== 'object') {
155
- return null;
156
- }
157
-
158
- var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
159
-
160
- if (typeof maybeIterator === 'function') {
161
- return maybeIterator;
162
- }
163
-
164
- return null;
165
- }
166
-
167
- var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
168
-
169
- function error(format) {
170
- {
171
- for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
172
- args[_key2 - 1] = arguments[_key2];
173
- }
174
-
175
- printWarning('error', format, args);
176
- }
177
- }
178
-
179
- function printWarning(level, format, args) {
180
- // When changing this logic, you might want to also
181
- // update consoleWithStackDev.www.js as well.
182
- {
183
- var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
184
- var stack = '';
185
-
186
- if (currentlyValidatingElement) {
187
- var name = getComponentName(currentlyValidatingElement.type);
188
- var owner = currentlyValidatingElement._owner;
189
- stack += describeComponentFrame(name, currentlyValidatingElement._source, owner && getComponentName(owner.type));
190
- }
191
-
192
- stack += ReactDebugCurrentFrame.getStackAddendum();
193
-
194
- if (stack !== '') {
195
- format += '%s';
196
- args = args.concat([stack]);
197
- }
198
-
199
- var argsWithFormat = args.map(function (item) {
200
- return '' + item;
201
- }); // Careful: RN currently depends on this prefix
202
-
203
- argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
204
- // breaks IE9: https://github.com/facebook/react/issues/13610
205
- // eslint-disable-next-line react-internal/no-production-logging
206
-
207
- Function.prototype.apply.call(console[level], console, argsWithFormat);
208
- }
209
- }
210
-
211
- // Filter certain DOM attributes (e.g. src, href) if their values are empty strings.
212
-
213
- var enableScopeAPI = false; // Experimental Create Event Handle API.
214
-
215
- function isValidElementType(type) {
216
- if (typeof type === 'string' || typeof type === 'function') {
217
- return true;
218
- } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
219
-
220
-
221
- if (type === exports.Fragment || type === REACT_PROFILER_TYPE || type === REACT_DEBUG_TRACING_MODE_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_LEGACY_HIDDEN_TYPE || enableScopeAPI ) {
222
- return true;
223
- }
224
-
225
- if (typeof type === 'object' && type !== null) {
226
- if (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_BLOCK_TYPE || type[0] === REACT_SERVER_BLOCK_TYPE) {
227
- return true;
228
- }
229
- }
230
-
231
- return false;
232
- }
233
-
234
-
235
- var BEFORE_SLASH_RE = /^(.*)[\\\/]/;
236
- function describeComponentFrame (name, source, ownerName) {
237
- var sourceInfo = '';
238
-
239
- if (source) {
240
- var path = source.fileName;
241
- var fileName = path.replace(BEFORE_SLASH_RE, '');
242
-
243
- {
244
- // In DEV, include code for a common special case:
245
- // prefer "folder/index.js" instead of just "index.js".
246
- if (/^index\./.test(fileName)) {
247
- var match = path.match(BEFORE_SLASH_RE);
248
-
249
- if (match) {
250
- var pathBeforeSlash = match[1];
251
-
252
- if (pathBeforeSlash) {
253
- var folderName = pathBeforeSlash.replace(BEFORE_SLASH_RE, '');
254
- fileName = folderName + '/' + fileName;
255
- }
256
- }
257
- }
258
- }
259
-
260
- sourceInfo = ' (at ' + fileName + ':' + source.lineNumber + ')';
261
- } else if (ownerName) {
262
- sourceInfo = ' (created by ' + ownerName + ')';
263
- }
264
-
265
- return '\n in ' + (name || 'Unknown') + sourceInfo;
266
- }
267
-
268
- var Resolved = 1;
269
- function refineResolvedLazyComponent(lazyComponent) {
270
- return lazyComponent._status === Resolved ? lazyComponent._result : null;
271
- }
272
-
273
- function getWrappedName(outerType, innerType, wrapperName) {
274
- var functionName = innerType.displayName || innerType.name || '';
275
- return outerType.displayName || (functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName);
276
- }
277
-
278
- function getComponentName(type) {
279
- if (type == null) {
280
- // Host root, text node or just invalid type.
281
- return null;
282
- }
283
-
284
- {
285
- if (typeof type.tag === 'number') {
286
- error('Received an unexpected object in getComponentName(). ' + 'This is likely a bug in React. Please file an issue.');
287
- }
288
- }
289
-
290
- if (typeof type === 'function') {
291
- return type.displayName || type.name || null;
292
- }
293
-
294
- if (typeof type === 'string') {
295
- return type;
296
- }
297
-
298
- switch (type) {
299
- case exports.Fragment:
300
- return 'Fragment';
301
-
302
- case REACT_PORTAL_TYPE:
303
- return 'Portal';
304
-
305
- case REACT_PROFILER_TYPE:
306
- return "Profiler";
307
-
308
- case REACT_STRICT_MODE_TYPE:
309
- return 'StrictMode';
310
-
311
- case REACT_SUSPENSE_TYPE:
312
- return 'Suspense';
313
-
314
- case REACT_SUSPENSE_LIST_TYPE:
315
- return 'SuspenseList';
316
- }
317
-
318
- if (typeof type === 'object') {
319
- switch (type.$$typeof) {
320
- case REACT_CONTEXT_TYPE:
321
- return 'Context.Consumer';
322
-
323
- case REACT_PROVIDER_TYPE:
324
- return 'Context.Provider';
325
-
326
- case REACT_FORWARD_REF_TYPE:
327
- return getWrappedName(type, type.render, 'ForwardRef');
328
-
329
- case REACT_MEMO_TYPE:
330
- return getComponentName(type.type);
331
-
332
- case REACT_BLOCK_TYPE:
333
- return getComponentName(type.render);
334
-
335
- case REACT_LAZY_TYPE:
336
- {
337
- var thenable = type;
338
- var resolvedThenable = refineResolvedLazyComponent(thenable);
339
-
340
- if (resolvedThenable) {
341
- return getComponentName(resolvedThenable);
342
- }
343
-
344
- break;
345
- }
346
- }
347
- }
348
-
349
- return null;
350
- }
351
-
352
- var loggedTypeFailures = {};
353
- ReactSharedInternals.ReactDebugCurrentFrame;
354
- var currentlyValidatingElement = null;
355
-
356
- function setCurrentlyValidatingElement(element) {
357
- {
358
- currentlyValidatingElement = element;
359
- }
360
- }
361
-
362
- function checkPropTypes(typeSpecs, values, location, componentName, element) {
363
- {
364
- // $FlowFixMe This is okay but Flow doesn't know it.
365
- var has = Function.call.bind(Object.prototype.hasOwnProperty);
366
-
367
- for (var typeSpecName in typeSpecs) {
368
- if (has(typeSpecs, typeSpecName)) {
369
- var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to
370
- // fail the render phase where it didn't fail before. So we log it.
371
- // After these have been cleaned up, we'll let them throw.
372
-
373
- try {
374
- // This is intentionally an invariant that gets caught. It's the same
375
- // behavior as without this statement except with a better message.
376
- if (typeof typeSpecs[typeSpecName] !== 'function') {
377
- var err = Error((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`.');
378
- err.name = 'Invariant Violation';
379
- throw err;
380
- }
381
-
382
- error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');
383
- } catch (ex) {
384
- error$1 = ex;
385
- }
386
-
387
- if (error$1 && !(error$1 instanceof Error)) {
388
- setCurrentlyValidatingElement(element);
389
-
390
- error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);
391
-
392
- setCurrentlyValidatingElement(null);
393
- }
394
-
395
- if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
396
- // Only monitor this failure once because there tends to be a lot of the
397
- // same error.
398
- loggedTypeFailures[error$1.message] = true;
399
- setCurrentlyValidatingElement(element);
400
-
401
- error('Failed %s type: %s', location, error$1.message);
402
-
403
- setCurrentlyValidatingElement(null);
404
- }
405
- }
406
- }
407
- }
408
- }
409
-
410
- var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
411
- var hasOwnProperty = Object.prototype.hasOwnProperty;
412
- var RESERVED_PROPS = {
413
- key: true,
414
- ref: true,
415
- __self: true,
416
- __source: true
417
- };
418
- var specialPropKeyWarningShown;
419
- var specialPropRefWarningShown;
420
- var didWarnAboutStringRefs;
421
-
422
- {
423
- didWarnAboutStringRefs = {};
424
- }
425
-
426
- function hasValidRef(config) {
427
- {
428
- if (hasOwnProperty.call(config, 'ref')) {
429
- var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;
430
-
431
- if (getter && getter.isReactWarning) {
432
- return false;
433
- }
434
- }
435
- }
436
-
437
- return config.ref !== undefined;
438
- }
439
-
440
- function hasValidKey(config) {
441
- {
442
- if (hasOwnProperty.call(config, 'key')) {
443
- var getter = Object.getOwnPropertyDescriptor(config, 'key').get;
444
-
445
- if (getter && getter.isReactWarning) {
446
- return false;
447
- }
448
- }
449
- }
450
-
451
- return config.key !== undefined;
452
- }
453
-
454
- function warnIfStringRefCannotBeAutoConverted(config, self) {
455
- {
456
- if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {
457
- var componentName = getComponentName(ReactCurrentOwner.current.type);
458
-
459
- if (!didWarnAboutStringRefs[componentName]) {
460
- error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentName(ReactCurrentOwner.current.type), config.ref);
461
-
462
- didWarnAboutStringRefs[componentName] = true;
463
- }
464
- }
465
- }
466
- }
467
-
468
- function defineKeyPropWarningGetter(props, displayName) {
469
- {
470
- var warnAboutAccessingKey = function () {
471
- if (!specialPropKeyWarningShown) {
472
- specialPropKeyWarningShown = true;
473
-
474
- error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);
475
- }
476
- };
477
-
478
- warnAboutAccessingKey.isReactWarning = true;
479
- Object.defineProperty(props, 'key', {
480
- get: warnAboutAccessingKey,
481
- configurable: true
482
- });
483
- }
484
- }
485
-
486
- function defineRefPropWarningGetter(props, displayName) {
487
- {
488
- var warnAboutAccessingRef = function () {
489
- if (!specialPropRefWarningShown) {
490
- specialPropRefWarningShown = true;
491
-
492
- error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);
493
- }
494
- };
495
-
496
- warnAboutAccessingRef.isReactWarning = true;
497
- Object.defineProperty(props, 'ref', {
498
- get: warnAboutAccessingRef,
499
- configurable: true
500
- });
501
- }
502
- }
503
- /**
504
- * Factory method to create a new React element. This no longer adheres to
505
- * the class pattern, so do not use new to call it. Also, instanceof check
506
- * will not work. Instead test $$typeof field against Symbol.for('react.element') to check
507
- * if something is a React Element.
508
- *
509
- * @param {*} type
510
- * @param {*} props
511
- * @param {*} key
512
- * @param {string|object} ref
513
- * @param {*} owner
514
- * @param {*} self A *temporary* helper to detect places where `this` is
515
- * different from the `owner` when React.createElement is called, so that we
516
- * can warn. We want to get rid of owner and replace string `ref`s with arrow
517
- * functions, and as long as `this` and owner are the same, there will be no
518
- * change in behavior.
519
- * @param {*} source An annotation object (added by a transpiler or otherwise)
520
- * indicating filename, line number, and/or other information.
521
- * @internal
522
- */
523
-
524
-
525
- var ReactElement = function (type, key, ref, self, source, owner, props) {
526
- var element = {
527
- // This tag allows us to uniquely identify this as a React Element
528
- $$typeof: REACT_ELEMENT_TYPE,
529
- // Built-in properties that belong on the element
530
- type: type,
531
- key: key,
532
- ref: ref,
533
- props: props,
534
- // Record the component responsible for creating this element.
535
- _owner: owner
536
- };
537
-
538
- {
539
- // The validation flag is currently mutative. We put it on
540
- // an external backing store so that we can freeze the whole object.
541
- // This can be replaced with a WeakMap once they are implemented in
542
- // commonly used development environments.
543
- element._store = {}; // To make comparing ReactElements easier for testing purposes, we make
544
- // the validation flag non-enumerable (where possible, which should
545
- // include every environment we run tests in), so the test framework
546
- // ignores it.
547
-
548
- Object.defineProperty(element._store, 'validated', {
549
- configurable: false,
550
- enumerable: false,
551
- writable: true,
552
- value: false
553
- }); // self and source are DEV only properties.
554
-
555
- Object.defineProperty(element, '_self', {
556
- configurable: false,
557
- enumerable: false,
558
- writable: false,
559
- value: self
560
- }); // Two elements created in two different places should be considered
561
- // equal for testing purposes and therefore we hide it from enumeration.
562
-
563
- Object.defineProperty(element, '_source', {
564
- configurable: false,
565
- enumerable: false,
566
- writable: false,
567
- value: source
568
- });
569
-
570
- if (Object.freeze) {
571
- Object.freeze(element.props);
572
- Object.freeze(element);
573
- }
574
- }
575
-
576
- return element;
577
- };
578
- /**
579
- * https://github.com/reactjs/rfcs/pull/107
580
- * @param {*} type
581
- * @param {object} props
582
- * @param {string} key
583
- */
584
-
585
- function jsxDEV(type, config, maybeKey, source, self) {
586
- {
587
- var propName; // Reserved names are extracted
588
-
589
- var props = {};
590
- var key = null;
591
- var ref = null; // Currently, key can be spread in as a prop. This causes a potential
592
- // issue if key is also explicitly declared (ie. <div {...props} key="Hi" />
593
- // or <div key="Hi" {...props} /> ). We want to deprecate key spread,
594
- // but as an intermediary step, we will use jsxDEV for everything except
595
- // <div {...props} key="Hi" />, because we aren't currently able to tell if
596
- // key is explicitly declared to be undefined or not.
597
-
598
- if (maybeKey !== undefined) {
599
- key = '' + maybeKey;
600
- }
601
-
602
- if (hasValidKey(config)) {
603
- key = '' + config.key;
604
- }
605
-
606
- if (hasValidRef(config)) {
607
- ref = config.ref;
608
- warnIfStringRefCannotBeAutoConverted(config, self);
609
- } // Remaining properties are added to a new props object
610
-
611
-
612
- for (propName in config) {
613
- if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
614
- props[propName] = config[propName];
615
- }
616
- } // Resolve default props
617
-
618
-
619
- if (type && type.defaultProps) {
620
- var defaultProps = type.defaultProps;
621
-
622
- for (propName in defaultProps) {
623
- if (props[propName] === undefined) {
624
- props[propName] = defaultProps[propName];
625
- }
626
- }
627
- }
628
-
629
- if (key || ref) {
630
- var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;
631
-
632
- if (key) {
633
- defineKeyPropWarningGetter(props, displayName);
634
- }
635
-
636
- if (ref) {
637
- defineRefPropWarningGetter(props, displayName);
638
- }
639
- }
640
-
641
- return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
642
- }
643
- }
644
-
645
- var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
646
- ReactSharedInternals.ReactDebugCurrentFrame;
647
-
648
- function setCurrentlyValidatingElement$1(element) {
649
- currentlyValidatingElement = element;
650
- }
651
-
652
- var propTypesMisspellWarningShown;
653
-
654
- {
655
- propTypesMisspellWarningShown = false;
656
- }
657
- /**
658
- * Verifies the object is a ReactElement.
659
- * See https://reactjs.org/docs/react-api.html#isvalidelement
660
- * @param {?object} object
661
- * @return {boolean} True if `object` is a ReactElement.
662
- * @final
663
- */
664
-
665
- function isValidElement(object) {
666
- {
667
- return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
668
- }
669
- }
670
-
671
- function getDeclarationErrorAddendum() {
672
- {
673
- if (ReactCurrentOwner$1.current) {
674
- var name = getComponentName(ReactCurrentOwner$1.current.type);
675
-
676
- if (name) {
677
- return '\n\nCheck the render method of `' + name + '`.';
678
- }
679
- }
680
-
681
- return '';
682
- }
683
- }
684
-
685
- function getSourceInfoErrorAddendum(source) {
686
- {
687
- if (source !== undefined) {
688
- var fileName = source.fileName.replace(/^.*[\\\/]/, '');
689
- var lineNumber = source.lineNumber;
690
- return '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.';
691
- }
692
-
693
- return '';
694
- }
695
- }
696
- /**
697
- * Warn if there's no key explicitly set on dynamic arrays of children or
698
- * object keys are not valid. This allows us to keep track of children between
699
- * updates.
700
- */
701
-
702
-
703
- var ownerHasKeyUseWarning = {};
704
-
705
- function getCurrentComponentErrorInfo(parentType) {
706
- {
707
- var info = getDeclarationErrorAddendum();
708
-
709
- if (!info) {
710
- var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;
711
-
712
- if (parentName) {
713
- info = "\n\nCheck the top-level render call using <" + parentName + ">.";
714
- }
715
- }
716
-
717
- return info;
718
- }
719
- }
720
- /**
721
- * Warn if the element doesn't have an explicit key assigned to it.
722
- * This element is in an array. The array could grow and shrink or be
723
- * reordered. All children that haven't already been validated are required to
724
- * have a "key" property assigned to it. Error statuses are cached so a warning
725
- * will only be shown once.
726
- *
727
- * @internal
728
- * @param {ReactElement} element Element that requires a key.
729
- * @param {*} parentType element's parent's type.
730
- */
731
-
732
-
733
- function validateExplicitKey(element, parentType) {
734
- {
735
- if (!element._store || element._store.validated || element.key != null) {
736
- return;
737
- }
738
-
739
- element._store.validated = true;
740
- var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
741
-
742
- if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
743
- return;
744
- }
745
-
746
- ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a
747
- // property, it may be the creator of the child that's responsible for
748
- // assigning it a key.
749
-
750
- var childOwner = '';
751
-
752
- if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {
753
- // Give the component that originally created this child.
754
- childOwner = " It was passed a child from " + getComponentName(element._owner.type) + ".";
755
- }
756
-
757
- setCurrentlyValidatingElement$1(element);
758
-
759
- error('Each child in a list should have a unique "key" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
760
-
761
- setCurrentlyValidatingElement$1(null);
762
- }
763
- }
764
- /**
765
- * Ensure that every element either is passed in a static location, in an
766
- * array with an explicit keys property defined, or in an object literal
767
- * with valid key property.
768
- *
769
- * @internal
770
- * @param {ReactNode} node Statically passed child of any type.
771
- * @param {*} parentType node's parent's type.
772
- */
773
-
774
-
775
- function validateChildKeys(node, parentType) {
776
- {
777
- if (typeof node !== 'object') {
778
- return;
779
- }
780
-
781
- if (Array.isArray(node)) {
782
- for (var i = 0; i < node.length; i++) {
783
- var child = node[i];
784
-
785
- if (isValidElement(child)) {
786
- validateExplicitKey(child, parentType);
787
- }
788
- }
789
- } else if (isValidElement(node)) {
790
- // This element was passed in a valid location.
791
- if (node._store) {
792
- node._store.validated = true;
793
- }
794
- } else if (node) {
795
- var iteratorFn = getIteratorFn(node);
796
-
797
- if (typeof iteratorFn === 'function') {
798
- // Entry iterators used to provide implicit keys,
799
- // but now we print a separate warning for them later.
800
- if (iteratorFn !== node.entries) {
801
- var iterator = iteratorFn.call(node);
802
- var step;
803
-
804
- while (!(step = iterator.next()).done) {
805
- if (isValidElement(step.value)) {
806
- validateExplicitKey(step.value, parentType);
807
- }
808
- }
809
- }
810
- }
811
- }
812
- }
813
- }
814
- /**
815
- * Given an element, validate that its props follow the propTypes definition,
816
- * provided by the type.
817
- *
818
- * @param {ReactElement} element
819
- */
820
-
821
-
822
- function validatePropTypes(element) {
823
- {
824
- var type = element.type;
825
-
826
- if (type === null || type === undefined || typeof type === 'string') {
827
- return;
828
- }
829
-
830
- var propTypes;
831
-
832
- if (typeof type === 'function') {
833
- propTypes = type.propTypes;
834
- } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
835
- // Inner props are checked in the reconciler.
836
- type.$$typeof === REACT_MEMO_TYPE)) {
837
- propTypes = type.propTypes;
838
- } else {
839
- return;
840
- }
841
-
842
- if (propTypes) {
843
- // Intentionally inside to avoid triggering lazy initializers:
844
- var name = getComponentName(type);
845
- checkPropTypes(propTypes, element.props, 'prop', name, element);
846
- } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {
847
- propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:
848
-
849
- var _name = getComponentName(type);
850
-
851
- error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');
852
- }
853
-
854
- if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {
855
- error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');
856
- }
857
- }
858
- }
859
- /**
860
- * Given a fragment, validate that it can only be provided with fragment props
861
- * @param {ReactElement} fragment
862
- */
863
-
864
-
865
- function validateFragmentProps(fragment) {
866
- {
867
- var keys = Object.keys(fragment.props);
868
-
869
- for (var i = 0; i < keys.length; i++) {
870
- var key = keys[i];
871
-
872
- if (key !== 'children' && key !== 'key') {
873
- setCurrentlyValidatingElement$1(fragment);
874
-
875
- error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);
876
-
877
- setCurrentlyValidatingElement$1(null);
878
- break;
879
- }
880
- }
881
-
882
- if (fragment.ref !== null) {
883
- setCurrentlyValidatingElement$1(fragment);
884
-
885
- error('Invalid attribute `ref` supplied to `React.Fragment`.');
886
-
887
- setCurrentlyValidatingElement$1(null);
888
- }
889
- }
890
- }
891
-
892
- function jsxWithValidation(type, props, key, isStaticChildren, source, self) {
893
- {
894
- var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to
895
- // succeed and there will likely be errors in render.
896
-
897
- if (!validType) {
898
- var info = '';
899
-
900
- if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {
901
- info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and named imports.";
902
- }
903
-
904
- var sourceInfo = getSourceInfoErrorAddendum(source);
905
-
906
- if (sourceInfo) {
907
- info += sourceInfo;
908
- } else {
909
- info += getDeclarationErrorAddendum();
910
- }
911
-
912
- var typeString;
913
-
914
- if (type === null) {
915
- typeString = 'null';
916
- } else if (Array.isArray(type)) {
917
- typeString = 'array';
918
- } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {
919
- typeString = "<" + (getComponentName(type.type) || 'Unknown') + " />";
920
- info = ' Did you accidentally export a JSX literal instead of a component?';
921
- } else {
922
- typeString = typeof type;
923
- }
924
-
925
- error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);
926
- }
927
-
928
- var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.
929
- // TODO: Drop this when these are no longer allowed as the type argument.
930
-
931
- if (element == null) {
932
- return element;
933
- } // Skip key warning if the type isn't valid since our key validation logic
934
- // doesn't expect a non-string/function type and can throw confusing errors.
935
- // We don't want exception behavior to differ between dev and prod.
936
- // (Rendering will throw with a helpful message and as soon as the type is
937
- // fixed, the key warnings will appear.)
938
-
939
-
940
- if (validType) {
941
- var children = props.children;
942
-
943
- if (children !== undefined) {
944
- if (isStaticChildren) {
945
- if (Array.isArray(children)) {
946
- for (var i = 0; i < children.length; i++) {
947
- validateChildKeys(children[i], type);
948
- }
949
-
950
- if (Object.freeze) {
951
- Object.freeze(children);
952
- }
953
- } else {
954
- error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');
955
- }
956
- } else {
957
- validateChildKeys(children, type);
958
- }
959
- }
960
- }
961
-
962
- if (type === exports.Fragment) {
963
- validateFragmentProps(element);
964
- } else {
965
- validatePropTypes(element);
966
- }
967
-
968
- return element;
969
- }
970
- } // These two functions exist to still get child warnings in dev
971
- // even with the prod transform. This means that jsxDEV is purely
972
- // opt-in behavior for better messages but that we won't stop
973
- // giving you warnings if you use production apis.
974
-
975
- function jsxWithValidationStatic(type, props, key) {
976
- {
977
- return jsxWithValidation(type, props, key, true);
978
- }
979
- }
980
- function jsxWithValidationDynamic(type, props, key) {
981
- {
982
- return jsxWithValidation(type, props, key, false);
983
- }
984
- }
985
-
986
- var jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.
987
- // for now we can ship identical prod functions
988
-
989
- var jsxs = jsxWithValidationStatic ;
990
-
991
- exports.jsx = jsx;
992
- exports.jsxs = jsxs;
993
- })();
994
- }
995
- } (reactJsxRuntime_development));
996
- return reactJsxRuntime_development;
997
- }
998
-
999
- (function (module) {
1000
-
1001
- if (process.env.NODE_ENV === 'production') {
1002
- module.exports = requireReactJsxRuntime_production_min();
1003
- } else {
1004
- module.exports = requireReactJsxRuntime_development();
1005
- }
1006
- } (jsxRuntime));
1007
-
1008
32
  /******************************************************************************
1009
33
  Copyright (c) Microsoft Corporation.
1010
34
 
@@ -1129,6 +153,33 @@ function __makeTemplateObject(cooked, raw) {
1129
153
  return cooked;
1130
154
  }
1131
155
 
156
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
157
+
158
+ function getDefaultExportFromCjs (x) {
159
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
160
+ }
161
+
162
+ function getAugmentedNamespace(n) {
163
+ var f = n.default;
164
+ if (typeof f == "function") {
165
+ var a = function () {
166
+ return f.apply(this, arguments);
167
+ };
168
+ a.prototype = f.prototype;
169
+ } else a = {};
170
+ Object.defineProperty(a, '__esModule', {value: true});
171
+ Object.keys(n).forEach(function (k) {
172
+ var d = Object.getOwnPropertyDescriptor(n, k);
173
+ Object.defineProperty(a, k, d.get ? d : {
174
+ enumerable: true,
175
+ get: function () {
176
+ return n[k];
177
+ }
178
+ });
179
+ });
180
+ return a;
181
+ }
182
+
1132
183
  var dist$b = {};
1133
184
 
1134
185
  var propTypes$1 = {exports: {}};
@@ -7176,11 +6227,11 @@ function Reference(props) {
7176
6227
  // Public types
7177
6228
 
7178
6229
  var esm = /*#__PURE__*/Object.freeze({
7179
- __proto__: null,
7180
- Popper: Popper,
7181
- placements: placements,
7182
- Manager: Manager,
7183
- Reference: Reference
6230
+ __proto__: null,
6231
+ Popper: Popper,
6232
+ placements: placements,
6233
+ Manager: Manager,
6234
+ Reference: Reference
7184
6235
  });
7185
6236
 
7186
6237
  var require$$6$3 = /*@__PURE__*/getAugmentedNamespace(esm);
@@ -9744,10 +8795,10 @@ function useSelect(userProps) {
9744
8795
  }
9745
8796
 
9746
8797
  var downshift_esm = /*#__PURE__*/Object.freeze({
9747
- __proto__: null,
9748
- 'default': Downshift,
9749
- resetIdCounter: resetIdCounter,
9750
- useSelect: useSelect
8798
+ __proto__: null,
8799
+ 'default': Downshift,
8800
+ resetIdCounter: resetIdCounter,
8801
+ useSelect: useSelect
9751
8802
  });
9752
8803
 
9753
8804
  var require$$7$3 = /*@__PURE__*/getAugmentedNamespace(downshift_esm);
@@ -10126,9 +9177,9 @@ SelectionContainer.propTypes = {
10126
9177
  };
10127
9178
 
10128
9179
  var index_esm$2 = /*#__PURE__*/Object.freeze({
10129
- __proto__: null,
10130
- SelectionContainer: SelectionContainer,
10131
- useSelection: useSelection
9180
+ __proto__: null,
9181
+ SelectionContainer: SelectionContainer,
9182
+ useSelection: useSelection
10132
9183
  });
10133
9184
 
10134
9185
  var require$$1$1 = /*@__PURE__*/getAugmentedNamespace(index_esm$2);
@@ -18341,70 +17392,70 @@ function transitions() {
18341
17392
  }
18342
17393
 
18343
17394
  var polished_es = /*#__PURE__*/Object.freeze({
18344
- __proto__: null,
18345
- adjustHue: curriedAdjustHue,
18346
- animation: animation,
18347
- backgroundImages: backgroundImages,
18348
- backgrounds: backgrounds,
18349
- between: between,
18350
- border: border,
18351
- borderColor: borderColor,
18352
- borderRadius: borderRadius,
18353
- borderStyle: borderStyle,
18354
- borderWidth: borderWidth,
18355
- buttons: buttons,
18356
- clearFix: clearFix,
18357
- complement: complement,
18358
- cover: cover,
18359
- darken: curriedDarken,
18360
- desaturate: curriedDesaturate,
18361
- directionalProperty: directionalProperty,
18362
- ellipsis: ellipsis,
18363
- em: em,
18364
- fluidRange: fluidRange,
18365
- fontFace: fontFace,
18366
- getLuminance: getLuminance,
18367
- getValueAndUnit: getValueAndUnit,
18368
- grayscale: grayscale,
18369
- invert: invert,
18370
- hideText: hideText,
18371
- hideVisually: hideVisually,
18372
- hiDPI: hiDPI,
18373
- hsl: hsl,
18374
- hsla: hsla,
18375
- lighten: curriedLighten,
18376
- margin: margin,
18377
- mix: curriedMix,
18378
- modularScale: modularScale,
18379
- normalize: normalize,
18380
- opacify: curriedOpacify,
18381
- padding: padding,
18382
- parseToHsl: parseToHsl,
18383
- parseToRgb: parseToRgb,
18384
- placeholder: placeholder,
18385
- position: position,
18386
- radialGradient: radialGradient,
18387
- readableColor: readableColor,
18388
- rem: rem,
18389
- retinaImage: retinaImage,
18390
- rgb: rgb,
18391
- rgba: rgba,
18392
- saturate: curriedSaturate,
18393
- selection: selection,
18394
- setHue: curriedSetHue,
18395
- setLightness: curriedSetLightness,
18396
- setSaturation: curriedSetSaturation,
18397
- shade: curriedShade,
18398
- size: size,
18399
- stripUnit: stripUnit,
18400
- textInputs: textInputs,
18401
- timingFunctions: timingFunctions,
18402
- tint: curriedTint,
18403
- toColorString: toColorString,
18404
- transitions: transitions,
18405
- transparentize: curriedTransparentize,
18406
- triangle: triangle,
18407
- wordWrap: wordWrap
17395
+ __proto__: null,
17396
+ adjustHue: curriedAdjustHue,
17397
+ animation: animation,
17398
+ backgroundImages: backgroundImages,
17399
+ backgrounds: backgrounds,
17400
+ between: between,
17401
+ border: border,
17402
+ borderColor: borderColor,
17403
+ borderRadius: borderRadius,
17404
+ borderStyle: borderStyle,
17405
+ borderWidth: borderWidth,
17406
+ buttons: buttons,
17407
+ clearFix: clearFix,
17408
+ complement: complement,
17409
+ cover: cover,
17410
+ darken: curriedDarken,
17411
+ desaturate: curriedDesaturate,
17412
+ directionalProperty: directionalProperty,
17413
+ ellipsis: ellipsis,
17414
+ em: em,
17415
+ fluidRange: fluidRange,
17416
+ fontFace: fontFace,
17417
+ getLuminance: getLuminance,
17418
+ getValueAndUnit: getValueAndUnit,
17419
+ grayscale: grayscale,
17420
+ invert: invert,
17421
+ hideText: hideText,
17422
+ hideVisually: hideVisually,
17423
+ hiDPI: hiDPI,
17424
+ hsl: hsl,
17425
+ hsla: hsla,
17426
+ lighten: curriedLighten,
17427
+ margin: margin,
17428
+ mix: curriedMix,
17429
+ modularScale: modularScale,
17430
+ normalize: normalize,
17431
+ opacify: curriedOpacify,
17432
+ padding: padding,
17433
+ parseToHsl: parseToHsl,
17434
+ parseToRgb: parseToRgb,
17435
+ placeholder: placeholder,
17436
+ position: position,
17437
+ radialGradient: radialGradient,
17438
+ readableColor: readableColor,
17439
+ rem: rem,
17440
+ retinaImage: retinaImage,
17441
+ rgb: rgb,
17442
+ rgba: rgba,
17443
+ saturate: curriedSaturate,
17444
+ selection: selection,
17445
+ setHue: curriedSetHue,
17446
+ setLightness: curriedSetLightness,
17447
+ setSaturation: curriedSetSaturation,
17448
+ shade: curriedShade,
17449
+ size: size,
17450
+ stripUnit: stripUnit,
17451
+ textInputs: textInputs,
17452
+ timingFunctions: timingFunctions,
17453
+ tint: curriedTint,
17454
+ toColorString: toColorString,
17455
+ transitions: transitions,
17456
+ transparentize: curriedTransparentize,
17457
+ triangle: triangle,
17458
+ wordWrap: wordWrap
18408
17459
  });
18409
17460
 
18410
17461
  var require$$4$2 = /*@__PURE__*/getAugmentedNamespace(polished_es);
@@ -19952,8 +19003,8 @@ var Loadable = function (_a) {
19952
19003
  }, 500);
19953
19004
  }, [debugId, isMounted, showSpinner]);
19954
19005
  var showingSpinner = showSpinner || !canHideSpinner;
19955
- return jsxRuntime.exports.jsxs(Container$4, __assign$2({ justifyContent: "center", gap: "unset", alignItems: "center" }, { children: [jsxRuntime.exports.jsx(ChildrenContainer, __assign$2({ gap: "unset", className: className, opaqueSpinner: opaqueSpinner, showSpinner: showingSpinner, withRows: true }, { children: children })), showingSpinner
19956
- ? jsxRuntime.exports.jsx(LoaderContainer, __assign$2({ justifyContent: "center", alignItems: "center", showSpinner: showingSpinner }, { children: jsxRuntime.exports.jsx(dist$8.Dots, { color: theme.styles.colorPrimary, size: FONT_SIZES.XXL, delayMS: 100, velocity: -.25 }) }))
19006
+ return jsxRuntime.jsxs(Container$4, __assign$2({ justifyContent: "center", gap: "unset", alignItems: "center" }, { children: [jsxRuntime.jsx(ChildrenContainer, __assign$2({ gap: "unset", className: className, opaqueSpinner: opaqueSpinner, showSpinner: showingSpinner, withRows: true }, { children: children })), showingSpinner
19007
+ ? jsxRuntime.jsx(LoaderContainer, __assign$2({ justifyContent: "center", alignItems: "center", showSpinner: showingSpinner }, { children: jsxRuntime.jsx(dist$8.Dots, { color: theme.styles.colorPrimary, size: FONT_SIZES.XXL, delayMS: 100, velocity: -.25 }) }))
19957
19008
  : null] }));
19958
19009
  };
19959
19010
  Loadable = styled__default["default"](Loadable)(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject([""], [""])));
@@ -37242,10 +36293,10 @@ exports.Dropdown = function (props) {
37242
36293
  message = (_e = validation === null || validation === void 0 ? void 0 : validation.message) !== null && _e !== void 0 ? _e : message;
37243
36294
  var messageNode = message
37244
36295
  ?
37245
- jsxRuntime.exports.jsx(dist$b.Message, __assign$2({ validation: validation.validation }, { children: message }))
36296
+ jsxRuntime.jsx(dist$b.Message, __assign$2({ validation: validation.validation }, { children: message }))
37246
36297
  : null;
37247
- var hintNode = hint ? jsxRuntime.exports.jsx(dist$b.Hint, { children: hint }) : null;
37248
- var labelNode = label ? jsxRuntime.exports.jsx(Label$2, { children: label }) : null;
36298
+ var hintNode = hint ? jsxRuntime.jsx(dist$b.Hint, { children: hint }) : null;
36299
+ var labelNode = label ? jsxRuntime.jsx(Label$2, { children: label }) : null;
37249
36300
  var handleChange = function (item) {
37250
36301
  logger$2.writeInfo("selection made", item);
37251
36302
  if (item.isClearingItem) {
@@ -37301,12 +36352,12 @@ exports.Dropdown = function (props) {
37301
36352
  var optionsLoaded = optionNodes && isNotEmpty(optionNodes);
37302
36353
  return (
37303
36354
  // @ts-ignore
37304
- jsxRuntime.exports.jsxs(dist$b.Dropdown, __assign$2({ selectedItem: selectedKey, selectedItems: selectedKeys
36355
+ jsxRuntime.jsxs(dist$b.Dropdown, __assign$2({ selectedItem: selectedKey, selectedItems: selectedKeys
37305
36356
  ? __spreadArray([], __read$2(new Set(selectedKeys)), false) : undefined, isOpen: controlledState.isOpen, onSelect: handleChange, onStateChange: handleStateChange, downshiftProps: { itemToString: function (item) { return item; } } }, { children: [trigger
37306
- ? jsxRuntime.exports.jsx(dist$b.Trigger, { children: trigger })
37307
- : jsxRuntime.exports.jsxs(dist$b.Field, __assign$2({ className: className }, { children: [labelNode, hintNode, children, messageNode] })), controlledState.isOpen
37308
- ? jsxRuntime.exports.jsx(dist$b.Menu, __assign$2({ css: menuStyles(menuCSS), maxHeight: maxMenuHeight, placement: placement }, { children: async
37309
- ? jsxRuntime.exports.jsx(Loadable, __assign$2({ css: "flex-direction: column; min-height: 50px", showSpinner: controlledState.isOpen && !optionsLoaded }, { children: optionNodes }))
36357
+ ? jsxRuntime.jsx(dist$b.Trigger, { children: trigger })
36358
+ : jsxRuntime.jsxs(dist$b.Field, __assign$2({ className: className }, { children: [labelNode, hintNode, children, messageNode] })), controlledState.isOpen
36359
+ ? jsxRuntime.jsx(dist$b.Menu, __assign$2({ css: menuStyles(menuCSS), maxHeight: maxMenuHeight, placement: placement }, { children: async
36360
+ ? jsxRuntime.jsx(Loadable, __assign$2({ css: "flex-direction: column; min-height: 50px", showSpinner: controlledState.isOpen && !optionsLoaded }, { children: optionNodes }))
37310
36361
  : optionNodes }))
37311
36362
  : null] })));
37312
36363
  };
@@ -37349,16 +36400,16 @@ var Label$2 = styled__default["default"](dist$b.Label)(templateObject_4$2 || (te
37349
36400
  var createOptions = function (options, key, value, menuItemComponent, isFilteringOptions, isClearable) {
37350
36401
  if (isClearable === void 0) { isClearable = false; }
37351
36402
  if (isFilteringOptions)
37352
- return [jsxRuntime.exports.jsx(Item, __assign$2({ disabled: true }, { children: "Loading items..." }))];
36403
+ return [jsxRuntime.jsx(Item, __assign$2({ disabled: true }, { children: "Loading items..." }))];
37353
36404
  if (isEmpty(options))
37354
- return [jsxRuntime.exports.jsx(Item, __assign$2({ disabled: true }, { children: "No matches found" }))];
36405
+ return [jsxRuntime.jsx(Item, __assign$2({ disabled: true }, { children: "No matches found" }))];
37355
36406
  var nodes = options.map(function (o) {
37356
36407
  var ItemType = getItemType(o);
37357
36408
  var Component = menuItemComponent;
37358
- return jsxRuntime.exports.jsx(ItemType, __assign$2({ value: o, disabled: false, danger: o.danger }, { children: Component ? jsxRuntime.exports.jsx(Component, __assign$2({}, o)) : o[value] }), o[key]);
36409
+ return jsxRuntime.jsx(ItemType, __assign$2({ value: o, disabled: false, danger: o.danger }, { children: Component ? jsxRuntime.jsx(Component, __assign$2({}, o)) : o[value] }), o[key]);
37359
36410
  });
37360
36411
  if (isClearable) {
37361
- nodes.unshift(jsxRuntime.exports.jsx(Item, __assign$2({ value: CLEAR_OPTION }, { children: CLEAR_OPTION.label }), CLEAR_OPTION.value));
36412
+ nodes.unshift(jsxRuntime.jsx(Item, __assign$2({ value: CLEAR_OPTION }, { children: CLEAR_OPTION.label }), CLEAR_OPTION.value));
37362
36413
  }
37363
36414
  return nodes;
37364
36415
  };
@@ -37381,9 +36432,9 @@ var Selector = function (_a) {
37381
36432
  // (invalidOnNoSelection && !selectedKey) ?
37382
36433
  // VALIDATION_RESULTS.ERROR : validation
37383
36434
  // )
37384
- return (jsxRuntime.exports.jsx(exports.Dropdown, __assign$2({}, props, { children: jsxRuntime.exports.jsx(Select, __assign$2({ small: small, disabled: disabled, validation: validation === null || validation === void 0 ? void 0 : validation.validation }, { children: selectedKey && (optionsKeyMap === null || optionsKeyMap === void 0 ? void 0 : optionsKeyMap.hasOwnProperty(selectedKey))
36435
+ return (jsxRuntime.jsx(exports.Dropdown, __assign$2({}, props, { children: jsxRuntime.jsx(Select, __assign$2({ small: small, disabled: disabled, validation: validation === null || validation === void 0 ? void 0 : validation.validation }, { children: selectedKey && (optionsKeyMap === null || optionsKeyMap === void 0 ? void 0 : optionsKeyMap.hasOwnProperty(selectedKey))
37385
36436
  ? optionsKeyMap[selectedKey][valueField]
37386
- : jsxRuntime.exports.jsx(SelectorEmptyState, { children: emptyState }) })) })));
36437
+ : jsxRuntime.jsx(SelectorEmptyState, { children: emptyState }) })) })));
37387
36438
  };
37388
36439
  // @ts-ignore
37389
36440
  Selector.defaultProps = {
@@ -42178,7 +41229,7 @@ exports.BooleanSelector = function (props) {
42178
41229
  _d[options[0].value] = options[0],
42179
41230
  _d[options[1].value] = options[1],
42180
41231
  _d);
42181
- return (jsxRuntime.exports.jsx(Selector, { label: label, options: options, optionsKeyMap: optionsKeyMap, keyField: "value", valueField: "text", selectedKey: convertedKey, emptyState: "Select Yes or No", onChange: notifyWithBoolean(onChange), fluid: true }));
41232
+ return (jsxRuntime.jsx(Selector, { label: label, options: options, optionsKeyMap: optionsKeyMap, keyField: "value", valueField: "text", selectedKey: convertedKey, emptyState: "Select Yes or No", onChange: notifyWithBoolean(onChange), fluid: true }));
42182
41233
  };
42183
41234
  exports.BooleanSelector = observer(exports.BooleanSelector);
42184
41235
  var convertBooleanToKey = function (b) {
@@ -42287,12 +41338,12 @@ var templateObject_1$g, templateObject_2$8, templateObject_3$4;
42287
41338
  var Legend = function (_a) {
42288
41339
  var legendables = _a.legendables, defaultColor = _a.defaultColor;
42289
41340
  var foundLabels = new Set();
42290
- return jsxRuntime.exports.jsx(LegendContainer, __assign$2({ withRows: true, spacing: SPACINGS.XS }, { children: legendables.map(function (_a) {
41341
+ return jsxRuntime.jsx(LegendContainer, __assign$2({ withRows: true, spacing: SPACINGS.XS }, { children: legendables.map(function (_a) {
42291
41342
  var color = _a.color, label = _a.label;
42292
41343
  if (foundLabels.has(label))
42293
41344
  return null;
42294
41345
  foundLabels.add(label);
42295
- return jsxRuntime.exports.jsxs(FlexBlock, __assign$2({ alignItems: "center", spacing: SPACINGS.SM }, { children: [jsxRuntime.exports.jsx(ColorBlock, { color: color || defaultColor }), jsxRuntime.exports.jsx(Text, { children: label })] }), label);
41346
+ return jsxRuntime.jsxs(FlexBlock, __assign$2({ alignItems: "center", spacing: SPACINGS.SM }, { children: [jsxRuntime.jsx(ColorBlock, { color: color || defaultColor }), jsxRuntime.jsx(Text, { children: label })] }), label);
42296
41347
  }) }));
42297
41348
  };
42298
41349
  Legend.COMPONENT_NAME = "Legend";
@@ -42342,7 +41393,7 @@ exports.SearchableSelector = function (_a) {
42342
41393
  }
42343
41394
  if (!optionsKeyMap)
42344
41395
  return null;
42345
- return (jsxRuntime.exports.jsx(exports.Dropdown, __assign$2({}, props, { onStateChange: handleStateChange, options: matchingOptions }, { children: jsxRuntime.exports.jsx(Autocomplete, { children: !!selectedKey
41396
+ return (jsxRuntime.jsx(exports.Dropdown, __assign$2({}, props, { onStateChange: handleStateChange, options: matchingOptions }, { children: jsxRuntime.jsx(Autocomplete, { children: !!selectedKey
42346
41397
  ? isFunction(children)
42347
41398
  /*@ts-ignore*/
42348
41399
  ? children(optionsKeyMap[selectedKey])
@@ -42410,7 +41461,7 @@ var _a = __read$2(Object.keys(MONTH_MAP).reduce(function (_a, m) {
42410
41461
  }, [[], {}]), 2), MONTH_OPTIONS = _a[0], OPTIONS_KEY_MAP = _a[1];
42411
41462
  var MonthPicker = function (_a) {
42412
41463
  var month = _a.month, onMonthSelected = _a.onMonthSelected;
42413
- return (jsxRuntime.exports.jsx(exports.SearchableSelector, { compact: true, flat: true, maxMenuHeight: "10rem", options: MONTH_OPTIONS, optionsKeyMap: OPTIONS_KEY_MAP, keyField: keyField, valueField: valueField, selectedKey: month.toString(), emptyState: "Type or Select Month",
41464
+ return (jsxRuntime.jsx(exports.SearchableSelector, { compact: true, flat: true, maxMenuHeight: "10rem", options: MONTH_OPTIONS, optionsKeyMap: OPTIONS_KEY_MAP, keyField: keyField, valueField: valueField, selectedKey: month.toString(), emptyState: "Type or Select Month",
42414
41465
  // @ts-ignore
42415
41466
  onChange: parseNumberAndCall(onMonthSelected) }));
42416
41467
  };
@@ -42427,7 +41478,7 @@ var yearOptions = function (minYear, maxYear) { return (arrayOfSizeN(maxYear - m
42427
41478
  var YearPicker = function (_a) {
42428
41479
  var year = _a.year, minYear = _a.minYear, maxYear = _a.maxYear, onYearSelected = _a.onYearSelected;
42429
41480
  var _b = __read$2(yearOptions(minYear, maxYear), 2), options = _b[0], optionsKeyMap = _b[1];
42430
- return jsxRuntime.exports.jsx(exports.SearchableSelector, { compact: true, flat: true, options: options, optionsKeyMap: optionsKeyMap, keyField: "value", valueField: "value", selectedKey: year, emptyState: "Type or Select Year", onChange: onYearSelected });
41481
+ return jsxRuntime.jsx(exports.SearchableSelector, { compact: true, flat: true, options: options, optionsKeyMap: optionsKeyMap, keyField: "value", valueField: "value", selectedKey: year, emptyState: "Type or Select Year", onChange: onYearSelected });
42431
41482
  };
42432
41483
 
42433
41484
  var dist$7 = {};
@@ -45733,8 +44784,8 @@ var Icon = function (_a) {
45733
44784
  var color = _a.color, _b = _a.size, size = _b === void 0 ? 1 : _b, svg = _a.svg, title = _a.title, _c = _a.onClick, onClick = _c === void 0 ? DO_NOTHING : _c;
45734
44785
  return isArray(svg)
45735
44786
  // @ts-ignore
45736
- ? jsxRuntime.exports.jsx(Icon$1.Stack, __assign$2({ onClick: onClick, size: size, title: title, color: color || "currentColor", "data-component-name": COMPONENT_NAME$2 }, { children: svg.map(function (s, i) { return jsxRuntime.exports.jsx(Icon$1, { path: s }, i); }) }))
45737
- : jsxRuntime.exports.jsx(Icon$1, { path: svg,
44787
+ ? jsxRuntime.jsx(Icon$1.Stack, __assign$2({ onClick: onClick, size: size, title: title, color: color || "currentColor", "data-component-name": COMPONENT_NAME$2 }, { children: svg.map(function (s, i) { return jsxRuntime.jsx(Icon$1, { path: s }, i); }) }))
44788
+ : jsxRuntime.jsx(Icon$1, { path: svg,
45738
44789
  // @ts-ignore
45739
44790
  onClick: onClick, size: size, title: title, color: color || "currentColor", "data-component-name": COMPONENT_NAME$2 });
45740
44791
  };
@@ -45742,9 +44793,12 @@ Icon.COMPONENT_NAME = COMPONENT_NAME$2;
45742
44793
 
45743
44794
  var Dots = function (_a) {
45744
44795
  var color = _a.color, _b = _a.size, size = _b === void 0 ? FONT_SIZES.XXL : _b;
45745
- return jsxRuntime.exports.jsx(dist$8.Dots, { color: color, size: size, delayMS: 100, velocity: -.25 });
44796
+ return jsxRuntime.jsx(dist$8.Dots, { color: color, size: size, delayMS: 100, velocity: -.25 });
45746
44797
  };
45747
44798
 
44799
+ var useTheme = function () { return React.useContext(styled.ThemeContext); };
44800
+ // export const setThemeContext = (ctx :)
44801
+
45748
44802
  var fitContent = styled.css(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\n width: fit-content;\n ", "\n"], ["\n width: fit-content;\n ", "\n"])), function (_a) {
45749
44803
  var compact = _a.compact;
45750
44804
  return compact
@@ -45770,6 +44824,7 @@ var casing = function (_a) {
45770
44824
  var baseColor = function (_a) {
45771
44825
  var color = _a.color, danger = _a.danger, neutral = _a.neutral, success = _a.success, theme = _a.theme, warning = _a.warning;
45772
44826
  console.log("button theme is", theme);
44827
+ console.log("Theme Context", styled.ThemeContext);
45773
44828
  if (color)
45774
44829
  return color;
45775
44830
  if (danger)
@@ -45785,13 +44840,15 @@ var baseColor = function (_a) {
45785
44840
  var BUTTON_SIZES = { SMALL: "small", LARGE: "large" };
45786
44841
  var ButtonBase = styled__default["default"](function (_a) {
45787
44842
  var children = _a.children, disabled = _a.disabled; _a.groupKey; var icon = _a.icon, iconSize = _a.iconSize, innerAs = _a.innerAs, innerRef = _a.innerRef, iconPosition = _a.iconPosition, loading = _a.loading, onClick = _a.onClick, props = __rest(_a, ["children", "disabled", "groupKey", "icon", "iconSize", "innerAs", "innerRef", "iconPosition", "loading", "onClick"]);
45788
- return jsxRuntime.exports.jsx(dist$7.Button, __assign$2({ as: innerAs, disabled: disabled, ref: innerRef, onClick: onClick }, props, { children: loading
45789
- ? jsxRuntime.exports.jsx(FlexBox, __assign$2({ alignItems: "center", css: "min-height: 30px", justifyContent: "center" }, { children: jsxRuntime.exports.jsx(Dots, { size: FONT_SIZES.MD }) }))
44843
+ var theme = useTheme();
44844
+ console.log("from button", theme);
44845
+ return jsxRuntime.jsx(dist$7.Button, __assign$2({ as: innerAs, disabled: disabled, ref: innerRef, onClick: onClick }, props, { children: loading
44846
+ ? jsxRuntime.jsx(FlexBox, __assign$2({ alignItems: "center", css: "min-height: 30px", justifyContent: "center" }, { children: jsxRuntime.jsx(Dots, { size: FONT_SIZES.MD }) }))
45790
44847
  : (icon
45791
- ? jsxRuntime.exports.jsxs(FlexBox, __assign$2({ alignItems: "center", gap: SPACINGS.XS, justifyContent: "center" }, { children: [iconPosition === "left" &&
45792
- jsxRuntime.exports.jsx(Icon, { color: "currentColor", svg: icon, size: iconSize }), children ? jsxRuntime.exports.jsx("span", { children: children }) : undefined, iconPosition === "right" &&
45793
- jsxRuntime.exports.jsx(Icon, { color: "currentColor", svg: icon, size: iconSize })] }))
45794
- : jsxRuntime.exports.jsx("span", { children: children })) }));
44848
+ ? jsxRuntime.jsxs(FlexBox, __assign$2({ alignItems: "center", gap: SPACINGS.XS, justifyContent: "center" }, { children: [iconPosition === "left" &&
44849
+ jsxRuntime.jsx(Icon, { color: "currentColor", svg: icon, size: iconSize }), children ? jsxRuntime.jsx("span", { children: children }) : undefined, iconPosition === "right" &&
44850
+ jsxRuntime.jsx(Icon, { color: "currentColor", svg: icon, size: iconSize })] }))
44851
+ : jsxRuntime.jsx("span", { children: children })) }));
45795
44852
  }).attrs(function (props) { return (__assign$2(__assign$2({}, props), { color: baseColor(props) })); })(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n &&&& {\n font-size: inherit;\n font-weight: bold;\n ", "\n ", "\n ", "\n ", "\n }\n"], ["\n &&&& {\n font-size: inherit;\n font-weight: bold;\n ", "\n ", "\n ", "\n ", "\n }\n"])), function (_a) {
45796
44853
  var fluid = _a.fluid;
45797
44854
  return !fluid ? fitContent : fitContainer;
@@ -45828,7 +44885,7 @@ var Button = styled__default["default"](React.forwardRef(function (_a, ref) {
45828
44885
  }
45829
44886
  });
45830
44887
  }); };
45831
- return jsxRuntime.exports.jsx(ButtonBase, __assign$2({}, props, { disabled: disabled || computedIsLoading(), innerRef: ref, loading: computedIsLoading(), onClick: autoLoadable
44888
+ return jsxRuntime.jsx(ButtonBase, __assign$2({}, props, { disabled: disabled || computedIsLoading(), innerRef: ref, loading: computedIsLoading(), onClick: autoLoadable
45832
44889
  ? processClick
45833
44890
  : onClick }));
45834
44891
  }))(templateObject_7 || (templateObject_7 = __makeTemplateObject([""], [""
@@ -45849,7 +44906,7 @@ var templateObject_1$d, templateObject_2$6, templateObject_3$3, templateObject_4
45849
44906
  var COMPONENT_NAME$1 = "IconButton";
45850
44907
  var IconButton = styled__default["default"](function (_a) {
45851
44908
  var primary = _a.primary, flat = _a.flat, pill = _a.pill, props = __rest(_a, ["primary", "flat", "pill"]);
45852
- return jsxRuntime.exports.jsx(Button, __assign$2({ flat: flat != null ? flat : true, fluid: false }, props, { pill: pill != null ? pill : true, primary: primary !== null && primary !== void 0 ? primary : false }));
44909
+ return jsxRuntime.jsx(Button, __assign$2({ flat: flat != null ? flat : true, fluid: false }, props, { pill: pill != null ? pill : true, primary: primary !== null && primary !== void 0 ? primary : false }));
45853
44910
  })(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n && {\n padding: .5em;\n min-width: 0;\n }\n"], ["\n && {\n padding: .5em;\n min-width: 0;\n }\n"
45854
44911
  // @ts-ignore
45855
44912
  ])));
@@ -51578,7 +50635,7 @@ var MonthYearPicker = function (_a) {
51578
50635
  var sendSelectedYear = function (y) {
51579
50636
  onChange({ month: month, year: Number(y) });
51580
50637
  };
51581
- return jsxRuntime.exports.jsxs(Container$3, __assign$2({ alignItems: "center" }, { children: [jsxRuntime.exports.jsx(NavButton, { icon: mdiArrowLeft, onClick: sendPreviousMonth }), jsxRuntime.exports.jsxs(PickersContainer, { children: [jsxRuntime.exports.jsx(MonthPicker, { month: month, onMonthSelected: sendSelectedMonth }), jsxRuntime.exports.jsx(YearPicker, { year: year, minYear: minYear, maxYear: maxYear, onYearSelected: sendSelectedYear })] }), jsxRuntime.exports.jsx(NavButton, { icon: mdiArrowRight, onClick: sendNextMonth })] }));
50638
+ return jsxRuntime.jsxs(Container$3, __assign$2({ alignItems: "center" }, { children: [jsxRuntime.jsx(NavButton, { icon: mdiArrowLeft, onClick: sendPreviousMonth }), jsxRuntime.jsxs(PickersContainer, { children: [jsxRuntime.jsx(MonthPicker, { month: month, onMonthSelected: sendSelectedMonth }), jsxRuntime.jsx(YearPicker, { year: year, minYear: minYear, maxYear: maxYear, onYearSelected: sendSelectedYear })] }), jsxRuntime.jsx(NavButton, { icon: mdiArrowRight, onClick: sendNextMonth })] }));
51582
50639
  };
51583
50640
  var NavButton = styled__default["default"](IconButton).attrs({
51584
50641
  flat: true,
@@ -51686,8 +50743,8 @@ function endOfDay(dirtyDate) {
51686
50743
  }
51687
50744
 
51688
50745
  var endOfDay$1 = /*#__PURE__*/Object.freeze({
51689
- __proto__: null,
51690
- 'default': endOfDay
50746
+ __proto__: null,
50747
+ 'default': endOfDay
51691
50748
  });
51692
50749
 
51693
50750
  var require$$8$1 = /*@__PURE__*/getAugmentedNamespace(endOfDay$1);
@@ -51723,8 +50780,8 @@ function isBefore(dirtyDate, dirtyDateToCompare) {
51723
50780
  }
51724
50781
 
51725
50782
  var isBefore$1 = /*#__PURE__*/Object.freeze({
51726
- __proto__: null,
51727
- 'default': isBefore
50783
+ __proto__: null,
50784
+ 'default': isBefore
51728
50785
  });
51729
50786
 
51730
50787
  var require$$10 = /*@__PURE__*/getAugmentedNamespace(isBefore$1);
@@ -51760,8 +50817,8 @@ function isAfter(dirtyDate, dirtyDateToCompare) {
51760
50817
  }
51761
50818
 
51762
50819
  var isAfter$1 = /*#__PURE__*/Object.freeze({
51763
- __proto__: null,
51764
- 'default': isAfter
50820
+ __proto__: null,
50821
+ 'default': isAfter
51765
50822
  });
51766
50823
 
51767
50824
  var require$$6$2 = /*@__PURE__*/getAugmentedNamespace(isAfter$1);
@@ -51797,8 +50854,8 @@ function startOfDay(dirtyDate) {
51797
50854
  }
51798
50855
 
51799
50856
  var startOfDay$1 = /*#__PURE__*/Object.freeze({
51800
- __proto__: null,
51801
- 'default': startOfDay
50857
+ __proto__: null,
50858
+ 'default': startOfDay
51802
50859
  });
51803
50860
 
51804
50861
  /**
@@ -51842,8 +50899,8 @@ function isSameDay(dirtyDateLeft, dirtyDateRight) {
51842
50899
  }
51843
50900
 
51844
50901
  var isSameDay$1 = /*#__PURE__*/Object.freeze({
51845
- __proto__: null,
51846
- 'default': isSameDay
50902
+ __proto__: null,
50903
+ 'default': isSameDay
51847
50904
  });
51848
50905
 
51849
50906
  var require$$1 = /*@__PURE__*/getAugmentedNamespace(isSameDay$1);
@@ -51960,8 +51017,8 @@ function isValid(dirtyDate) {
51960
51017
  }
51961
51018
 
51962
51019
  var isValid$1 = /*#__PURE__*/Object.freeze({
51963
- __proto__: null,
51964
- 'default': isValid
51020
+ __proto__: null,
51021
+ 'default': isValid
51965
51022
  });
51966
51023
 
51967
51024
  var formatDistanceLocale = {
@@ -52465,8 +51522,8 @@ var locale = {
52465
51522
  var defaultLocale = locale;
52466
51523
 
52467
51524
  var enUS = /*#__PURE__*/Object.freeze({
52468
- __proto__: null,
52469
- 'default': defaultLocale
51525
+ __proto__: null,
51526
+ 'default': defaultLocale
52470
51527
  });
52471
51528
 
52472
51529
  function toInteger(dirtyNumber) {
@@ -54217,8 +53274,8 @@ function cleanEscapedString$1(input) {
54217
53274
  }
54218
53275
 
54219
53276
  var format$1 = /*#__PURE__*/Object.freeze({
54220
- __proto__: null,
54221
- 'default': format
53277
+ __proto__: null,
53278
+ 'default': format
54222
53279
  });
54223
53280
 
54224
53281
  var require$$24 = /*@__PURE__*/getAugmentedNamespace(format$1);
@@ -54636,8 +53693,8 @@ function eachDayOfInterval(dirtyInterval, options) {
54636
53693
  }
54637
53694
 
54638
53695
  var eachDayOfInterval$1 = /*#__PURE__*/Object.freeze({
54639
- __proto__: null,
54640
- 'default': eachDayOfInterval
53696
+ __proto__: null,
53697
+ 'default': eachDayOfInterval
54641
53698
  });
54642
53699
 
54643
53700
  var require$$23 = /*@__PURE__*/getAugmentedNamespace(eachDayOfInterval$1);
@@ -54729,8 +53786,8 @@ function isWithinInterval(dirtyDate, interval) {
54729
53786
  }
54730
53787
 
54731
53788
  var isWithinInterval$1 = /*#__PURE__*/Object.freeze({
54732
- __proto__: null,
54733
- 'default': isWithinInterval
53789
+ __proto__: null,
53790
+ 'default': isWithinInterval
54734
53791
  });
54735
53792
 
54736
53793
  var require$$6$1 = /*@__PURE__*/getAugmentedNamespace(isWithinInterval$1);
@@ -54765,8 +53822,8 @@ function isWeekend(dirtyDate) {
54765
53822
  }
54766
53823
 
54767
53824
  var isWeekend$1 = /*#__PURE__*/Object.freeze({
54768
- __proto__: null,
54769
- 'default': isWeekend
53825
+ __proto__: null,
53826
+ 'default': isWeekend
54770
53827
  });
54771
53828
 
54772
53829
  var require$$5$3 = /*@__PURE__*/getAugmentedNamespace(isWeekend$1);
@@ -54823,8 +53880,8 @@ function endOfWeek(dirtyDate, dirtyOptions) {
54823
53880
  }
54824
53881
 
54825
53882
  var endOfWeek$1 = /*#__PURE__*/Object.freeze({
54826
- __proto__: null,
54827
- 'default': endOfWeek
53883
+ __proto__: null,
53884
+ 'default': endOfWeek
54828
53885
  });
54829
53886
 
54830
53887
  var require$$2 = /*@__PURE__*/getAugmentedNamespace(endOfWeek$1);
@@ -54882,8 +53939,8 @@ function startOfWeek(dirtyDate, dirtyOptions) {
54882
53939
  }
54883
53940
 
54884
53941
  var startOfWeek$1 = /*#__PURE__*/Object.freeze({
54885
- __proto__: null,
54886
- 'default': startOfWeek
53942
+ __proto__: null,
53943
+ 'default': startOfWeek
54887
53944
  });
54888
53945
 
54889
53946
  var require$$3$1 = /*@__PURE__*/getAugmentedNamespace(startOfWeek$1);
@@ -54932,8 +53989,8 @@ function addDays(dirtyDate, dirtyAmount) {
54932
53989
  }
54933
53990
 
54934
53991
  var addDays$1 = /*#__PURE__*/Object.freeze({
54935
- __proto__: null,
54936
- 'default': addDays
53992
+ __proto__: null,
53993
+ 'default': addDays
54937
53994
  });
54938
53995
 
54939
53996
  var require$$9 = /*@__PURE__*/getAugmentedNamespace(addDays$1);
@@ -54974,8 +54031,8 @@ function differenceInCalendarMonths(dirtyDateLeft, dirtyDateRight) {
54974
54031
  }
54975
54032
 
54976
54033
  var differenceInCalendarMonths$1 = /*#__PURE__*/Object.freeze({
54977
- __proto__: null,
54978
- 'default': differenceInCalendarMonths
54034
+ __proto__: null,
54035
+ 'default': differenceInCalendarMonths
54979
54036
  });
54980
54037
 
54981
54038
  var require$$16 = /*@__PURE__*/getAugmentedNamespace(differenceInCalendarMonths$1);
@@ -55029,8 +54086,8 @@ function differenceInCalendarDays(dirtyDateLeft, dirtyDateRight) {
55029
54086
  }
55030
54087
 
55031
54088
  var differenceInCalendarDays$1 = /*#__PURE__*/Object.freeze({
55032
- __proto__: null,
55033
- 'default': differenceInCalendarDays
54089
+ __proto__: null,
54090
+ 'default': differenceInCalendarDays
55034
54091
  });
55035
54092
 
55036
54093
  var require$$0 = /*@__PURE__*/getAugmentedNamespace(differenceInCalendarDays$1);
@@ -55068,8 +54125,8 @@ function endOfMonth(dirtyDate) {
55068
54125
  }
55069
54126
 
55070
54127
  var endOfMonth$1 = /*#__PURE__*/Object.freeze({
55071
- __proto__: null,
55072
- 'default': endOfMonth
54128
+ __proto__: null,
54129
+ 'default': endOfMonth
55073
54130
  });
55074
54131
 
55075
54132
  var require$$5$2 = /*@__PURE__*/getAugmentedNamespace(endOfMonth$1);
@@ -55106,8 +54163,8 @@ function startOfMonth(dirtyDate) {
55106
54163
  }
55107
54164
 
55108
54165
  var startOfMonth$1 = /*#__PURE__*/Object.freeze({
55109
- __proto__: null,
55110
- 'default': startOfMonth
54166
+ __proto__: null,
54167
+ 'default': startOfMonth
55111
54168
  });
55112
54169
 
55113
54170
  var require$$6 = /*@__PURE__*/getAugmentedNamespace(startOfMonth$1);
@@ -55465,8 +54522,8 @@ function isEqual(dirtyLeftDate, dirtyRightDate) {
55465
54522
  }
55466
54523
 
55467
54524
  var isEqual$1 = /*#__PURE__*/Object.freeze({
55468
- __proto__: null,
55469
- 'default': isEqual
54525
+ __proto__: null,
54526
+ 'default': isEqual
55470
54527
  });
55471
54528
 
55472
54529
  var require$$3 = /*@__PURE__*/getAugmentedNamespace(isEqual$1);
@@ -57595,8 +56652,8 @@ function cleanEscapedString(input) {
57595
56652
  }
57596
56653
 
57597
56654
  var parse$1 = /*#__PURE__*/Object.freeze({
57598
- __proto__: null,
57599
- 'default': parse
56655
+ __proto__: null,
56656
+ 'default': parse
57600
56657
  });
57601
56658
 
57602
56659
  var require$$5$1 = /*@__PURE__*/getAugmentedNamespace(parse$1);
@@ -58590,9 +57647,9 @@ function shallowEqualArrays(arrA, arrB) {
58590
57647
  }
58591
57648
 
58592
57649
  var index_esm$1 = /*#__PURE__*/Object.freeze({
58593
- __proto__: null,
58594
- shallowEqualArrays: shallowEqualArrays,
58595
- shallowEqualObjects: shallowEqualObjects
57650
+ __proto__: null,
57651
+ shallowEqualArrays: shallowEqualArrays,
57652
+ shallowEqualObjects: shallowEqualObjects
58596
57653
  });
58597
57654
 
58598
57655
  var require$$8 = /*@__PURE__*/getAugmentedNamespace(index_esm$1);
@@ -58662,8 +57719,8 @@ function max(dirtyDatesArray) {
58662
57719
  }
58663
57720
 
58664
57721
  var max$1 = /*#__PURE__*/Object.freeze({
58665
- __proto__: null,
58666
- 'default': max
57722
+ __proto__: null,
57723
+ 'default': max
58667
57724
  });
58668
57725
 
58669
57726
  var require$$5 = /*@__PURE__*/getAugmentedNamespace(max$1);
@@ -58733,8 +57790,8 @@ function min(dirtyDatesArray) {
58733
57790
  }
58734
57791
 
58735
57792
  var min$1 = /*#__PURE__*/Object.freeze({
58736
- __proto__: null,
58737
- 'default': min
57793
+ __proto__: null,
57794
+ 'default': min
58738
57795
  });
58739
57796
 
58740
57797
  var require$$7$1 = /*@__PURE__*/getAugmentedNamespace(min$1);
@@ -58825,8 +57882,8 @@ function differenceInDays(dirtyDateLeft, dirtyDateRight) {
58825
57882
  }
58826
57883
 
58827
57884
  var differenceInDays$1 = /*#__PURE__*/Object.freeze({
58828
- __proto__: null,
58829
- 'default': differenceInDays
57885
+ __proto__: null,
57886
+ 'default': differenceInDays
58830
57887
  });
58831
57888
 
58832
57889
  var require$$11 = /*@__PURE__*/getAugmentedNamespace(differenceInDays$1);
@@ -58867,8 +57924,8 @@ function isSameMonth(dirtyDateLeft, dirtyDateRight) {
58867
57924
  }
58868
57925
 
58869
57926
  var isSameMonth$1 = /*#__PURE__*/Object.freeze({
58870
- __proto__: null,
58871
- 'default': isSameMonth
57927
+ __proto__: null,
57928
+ 'default': isSameMonth
58872
57929
  });
58873
57930
 
58874
57931
  var require$$12 = /*@__PURE__*/getAugmentedNamespace(isSameMonth$1);
@@ -58946,8 +58003,8 @@ function setMonth(dirtyDate, dirtyMonth) {
58946
58003
  }
58947
58004
 
58948
58005
  var setMonth$1 = /*#__PURE__*/Object.freeze({
58949
- __proto__: null,
58950
- 'default': setMonth
58006
+ __proto__: null,
58007
+ 'default': setMonth
58951
58008
  });
58952
58009
 
58953
58010
  var require$$17 = /*@__PURE__*/getAugmentedNamespace(setMonth$1);
@@ -58989,8 +58046,8 @@ function setYear(dirtyDate, dirtyYear) {
58989
58046
  }
58990
58047
 
58991
58048
  var setYear$1 = /*#__PURE__*/Object.freeze({
58992
- __proto__: null,
58993
- 'default': setYear
58049
+ __proto__: null,
58050
+ 'default': setYear
58994
58051
  });
58995
58052
 
58996
58053
  var require$$18 = /*@__PURE__*/getAugmentedNamespace(setYear$1);
@@ -59063,8 +58120,8 @@ function addMonths(dirtyDate, dirtyAmount) {
59063
58120
  }
59064
58121
 
59065
58122
  var addMonths$1 = /*#__PURE__*/Object.freeze({
59066
- __proto__: null,
59067
- 'default': addMonths
58123
+ __proto__: null,
58124
+ 'default': addMonths
59068
58125
  });
59069
58126
 
59070
58127
  /**
@@ -59097,8 +58154,8 @@ function addYears(dirtyDate, dirtyAmount) {
59097
58154
  }
59098
58155
 
59099
58156
  var addYears$1 = /*#__PURE__*/Object.freeze({
59100
- __proto__: null,
59101
- 'default': addYears
58157
+ __proto__: null,
58158
+ 'default': addYears
59102
58159
  });
59103
58160
 
59104
58161
  var require$$19 = /*@__PURE__*/getAugmentedNamespace(addYears$1);
@@ -59133,8 +58190,8 @@ function subMonths(dirtyDate, dirtyAmount) {
59133
58190
  }
59134
58191
 
59135
58192
  var subMonths$1 = /*#__PURE__*/Object.freeze({
59136
- __proto__: null,
59137
- 'default': subMonths
58193
+ __proto__: null,
58194
+ 'default': subMonths
59138
58195
  });
59139
58196
 
59140
58197
  var require$$25 = /*@__PURE__*/getAugmentedNamespace(subMonths$1);
@@ -61002,8 +60059,6 @@ DateRangePicker$1.default = _default;
61002
60059
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
61003
60060
  } (dist$2));
61004
60061
 
61005
- var useTheme = function () { return React.useContext(styled.ThemeContext); };
61006
-
61007
60062
  new Intl.DateTimeFormat().resolvedOptions().locale;
61008
60063
  var formatMonthDateYear = function (m) { return m.format("MMM DD YYYY"); };
61009
60064
  var momentListToDateList = function (l) { return (l.map(function (m) { return m.toDate(); })); };
@@ -61045,7 +60100,7 @@ var TinyCalendar = function (_a) {
61045
60100
  ranges = flatten(labeledRanges.map(function (l) { return (l.ranges.map(function (r) { return (__assign$2(__assign$2({}, r), { color: labelColors[l.label].color })); })); }));
61046
60101
  }
61047
60102
  displayMode = displayMode || (ranges ? "dateRange" : "date");
61048
- return jsxRuntime.exports.jsxs(Container$2, __assign$2({ fluid: fluid, withRows: true, spacing: SPACINGS.SM }, { children: [jsxRuntime.exports.jsx(dist$2.Calendar, { color: theme.styles.colorPrimary,
60103
+ return jsxRuntime.jsxs(Container$2, __assign$2({ fluid: fluid, withRows: true, spacing: SPACINGS.SM }, { children: [jsxRuntime.jsx(dist$2.Calendar, { color: theme.styles.colorPrimary,
61049
60104
  // date={usableDate.toDate()}
61050
60105
  displayMode: displayMode, disabledDates: momentListToDateList(disabledDates), dragSelectionEnabled: false, minDate: minDate ? minDate.toDate() : undefined,
61051
60106
  /*
@@ -61055,7 +60110,7 @@ var TinyCalendar = function (_a) {
61055
60110
  */
61056
60111
  navigatorRenderer: function (_, changeShownDateFunc) {
61057
60112
  changeShownDate.current = changeShownDateFunc;
61058
- return jsxRuntime.exports.jsx(MonthYearPicker, { month: usableDate.month(), year: usableDate.year(), minDate: minDate, pastFutureYearRangeSize: 3, onChange: function (_a) {
60113
+ return jsxRuntime.jsx(MonthYearPicker, { month: usableDate.month(), year: usableDate.year(), minDate: minDate, pastFutureYearRangeSize: 3, onChange: function (_a) {
61059
60114
  var month = _a.month, year = _a.year;
61060
60115
  // changeShownDate(
61061
60116
  // moment(usableDate).month(month).year(year).toDate(),
@@ -61064,7 +60119,7 @@ var TinyCalendar = function (_a) {
61064
60119
  } });
61065
60120
  }, ranges: ranges, rangeColors: rangeColors, shownDate: usableDate.toDate(), showMonthAndYearPickers: false, showMonthArrow: false, showPreview: true, showDateDisplay: false, onChange: onChange, onShownDateChange: DO_NOTHING, onPreviewChange: DO_NOTHING }), showLegend && labeledRanges
61066
60121
  ?
61067
- jsxRuntime.exports.jsx(Legend, { legendables: Object.values(labelColors), defaultColor: theme.styles.colorPrimary })
60122
+ jsxRuntime.jsx(Legend, { legendables: Object.values(labelColors), defaultColor: theme.styles.colorPrimary })
61068
60123
  :
61069
60124
  null] }));
61070
60125
  };
@@ -61108,9 +60163,9 @@ var DatePickerSelector = function (props) {
61108
60163
  var closeCalendar = function () { setState({ isOpen: false }); };
61109
60164
  return (
61110
60165
  // @ts-ignore
61111
- jsxRuntime.exports.jsx(exports.Dropdown, __assign$2({}, props, { onStateChange: setDropdownState, isOpen: state.isOpen, useRawOptions: true, options: [
61112
- jsxRuntime.exports.jsx(TinyCalendar, { onChange: handleCalendarChange, minDate: minimumDate, disabledDates: disabledDates }, "CalendarPanel"),
61113
- ], menuCSS: "width: auto !important;" }, { children: jsxRuntime.exports.jsx(Select, __assign$2({ validation: props.validation
60166
+ jsxRuntime.jsx(exports.Dropdown, __assign$2({}, props, { onStateChange: setDropdownState, isOpen: state.isOpen, useRawOptions: true, options: [
60167
+ jsxRuntime.jsx(TinyCalendar, { onChange: handleCalendarChange, minDate: minimumDate, disabledDates: disabledDates }, "CalendarPanel"),
60168
+ ], menuCSS: "width: auto !important;" }, { children: jsxRuntime.jsx(Select, __assign$2({ validation: props.validation
61114
60169
  ? props.validation.validation
61115
60170
  : null, disabled: disabled }, { children: value ? formatMonthDateYear(moment(value)) : emptyState })) })));
61116
60171
  };
@@ -61445,10 +60500,10 @@ var MultiSelector = function (_a) {
61445
60500
  return m;
61446
60501
  }, {});
61447
60502
  }
61448
- return (jsxRuntime.exports.jsx(exports.Dropdown, __assign$2({}, props, { shouldFilterOptions: true }, { children: jsxRuntime.exports.jsx(MultiSelect, { maxItems: maxItems, validation: validation === null || validation === void 0 ? void 0 : validation.validation, renderItem: function (_a) {
60503
+ return (jsxRuntime.jsx(exports.Dropdown, __assign$2({}, props, { shouldFilterOptions: true }, { children: jsxRuntime.jsx(MultiSelect, { maxItems: maxItems, validation: validation === null || validation === void 0 ? void 0 : validation.validation, renderItem: function (_a) {
61449
60504
  var _b;
61450
60505
  var value = _a.value, removeValue = _a.removeValue;
61451
- return (jsxRuntime.exports.jsxs(Tag, __assign$2({ size: "large" }, { children: [jsxRuntime.exports.jsx("span", { children: (_b = optionsKeyMap === null || optionsKeyMap === void 0 ? void 0 : optionsKeyMap[value]) === null || _b === void 0 ? void 0 : _b[valueField] }), jsxRuntime.exports.jsx(Close, { onClick: function () { return removeValue(); } })] })));
60506
+ return (jsxRuntime.jsxs(Tag, __assign$2({ size: "large" }, { children: [jsxRuntime.jsx("span", { children: (_b = optionsKeyMap === null || optionsKeyMap === void 0 ? void 0 : optionsKeyMap[value]) === null || _b === void 0 ? void 0 : _b[valueField] }), jsxRuntime.jsx(Close, { onClick: function () { return removeValue(); } })] })));
61452
60507
  } }) })));
61453
60508
  };
61454
60509
  // @ts-ignore
@@ -61466,9 +60521,9 @@ var MonthYearSelector = function (props) {
61466
60521
  return;
61467
60522
  setState({ isOpen: isOpen });
61468
60523
  };
61469
- return jsxRuntime.exports.jsx(exports.Dropdown, __assign$2({}, props, {
60524
+ return jsxRuntime.jsx(exports.Dropdown, __assign$2({}, props, {
61470
60525
  // @ts-ignore
61471
- onStateChange: setDropdownState, isOpen: state.isOpen, useRawOptions: true, options: [], menuCSS: "width: auto !important;" }, { children: jsxRuntime.exports.jsx(Select, __assign$2({ validation: props.validation.validation, disabled: disabled }, { children: value ? value : emptyState })) }));
60526
+ onStateChange: setDropdownState, isOpen: state.isOpen, useRawOptions: true, options: [], menuCSS: "width: auto !important;" }, { children: jsxRuntime.jsx(Select, __assign$2({ validation: props.validation.validation, disabled: disabled }, { children: value ? value : emptyState })) }));
61472
60527
  };
61473
60528
 
61474
60529
  var dist = {};
@@ -61694,9 +60749,9 @@ FieldContainer.propTypes = {
61694
60749
  };
61695
60750
 
61696
60751
  var index_esm = /*#__PURE__*/Object.freeze({
61697
- __proto__: null,
61698
- FieldContainer: FieldContainer,
61699
- useField: useField
60752
+ __proto__: null,
60753
+ FieldContainer: FieldContainer,
60754
+ useField: useField
61700
60755
  });
61701
60756
 
61702
60757
  var require$$7 = /*@__PURE__*/getAugmentedNamespace(index_esm);
@@ -64641,10 +63696,10 @@ var Field = styled__default["default"](dist.Field)(templateObject_1$8 || (templa
64641
63696
  exports.TextFieldWrapper = function (_a) {
64642
63697
  var className = _a.className, compact = _a.compact, emptyState = _a.emptyState, fluid = _a.fluid, hint = _a.hint, label = _a.label, message = _a.message, validation = _a.validation, value = _a.value, WrappedComponent = _a.WrappedComponent, onChange = _a.onChange, props = __rest(_a, ["className", "compact", "emptyState", "fluid", "hint", "label", "message", "validation", "value", "WrappedComponent", "onChange"]);
64643
63698
  message = (validation === null || validation === void 0 ? void 0 : validation.message) || message;
64644
- return useObserver(function () { return (jsxRuntime.exports.jsx(Container$1, __assign$2({ className: className, withRows: true, gap: "unset", fluid: fluid }, { children: jsxRuntime.exports.jsxs(Field, __assign$2({ compact: compact }, { children: [label ? jsxRuntime.exports.jsx(dist.Label, { children: label }) : null, hint
64645
- ? jsxRuntime.exports.jsx(dist.Hint, __assign$2({ css: "&&& {\n font-size: ".concat(FONT_SIZES.XS, ";\n }") }, { children: hint }))
64646
- : null, jsxRuntime.exports.jsx(WrappedComponent, __assign$2({ placeholder: emptyState, validation: validation === null || validation === void 0 ? void 0 : validation.validation }, props, { resizable: true, value: value, onChange: onChange })), message
64647
- ? jsxRuntime.exports.jsx(dist.Message, __assign$2({ css: "&&& {\n font-size: ".concat(FONT_SIZES.XS, ";\n }"), validation: validation === null || validation === void 0 ? void 0 : validation.validation }, { children: message }))
63699
+ return useObserver(function () { return (jsxRuntime.jsx(Container$1, __assign$2({ className: className, withRows: true, gap: "unset", fluid: fluid }, { children: jsxRuntime.jsxs(Field, __assign$2({ compact: compact }, { children: [label ? jsxRuntime.jsx(dist.Label, { children: label }) : null, hint
63700
+ ? jsxRuntime.jsx(dist.Hint, __assign$2({ css: "&&& {\n font-size: ".concat(FONT_SIZES.XS, ";\n }") }, { children: hint }))
63701
+ : null, jsxRuntime.jsx(WrappedComponent, __assign$2({ placeholder: emptyState, validation: validation === null || validation === void 0 ? void 0 : validation.validation }, props, { resizable: true, value: value, onChange: onChange })), message
63702
+ ? jsxRuntime.jsx(dist.Message, __assign$2({ css: "&&& {\n font-size: ".concat(FONT_SIZES.XS, ";\n }"), validation: validation === null || validation === void 0 ? void 0 : validation.validation }, { children: message }))
64648
63703
  : null] })) }))); });
64649
63704
  };
64650
63705
  var hoverFocusStyling = styled.css(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject(["\n :hover {\n border-color: ", ";\n }\n\n :focus {\n border-color: ", ";\n box-shadow: ", ";\n }\n"], ["\n :hover {\n border-color: ", ";\n }\n\n :focus {\n border-color: ", ";\n box-shadow: ", ";\n }\n"
@@ -64683,7 +63738,7 @@ exports.TextField = function (_a) {
64683
63738
  }
64684
63739
  onChange(e);
64685
63740
  };
64686
- return jsxRuntime.exports.jsx(exports.TextFieldWrapper, __assign$2({}, props, { onChange: notifyParentOfChange, WrappedComponent: dist.Input }));
63741
+ return jsxRuntime.jsx(exports.TextFieldWrapper, __assign$2({}, props, { onChange: notifyParentOfChange, WrappedComponent: dist.Input }));
64687
63742
  };
64688
63743
  // @ts-ignore
64689
63744
  exports.TextField = styled__default["default"](exports.TextField)(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject([""], [""
@@ -64694,7 +63749,7 @@ exports.TextField.COMPONENT_NAME = "TextField";
64694
63749
  var templateObject_1$7;
64695
63750
 
64696
63751
  var EmailTextField = function (props) {
64697
- return jsxRuntime.exports.jsx(exports.TextField, __assign$2({ type: "email" }, props));
63752
+ return jsxRuntime.jsx(exports.TextField, __assign$2({ type: "email" }, props));
64698
63753
  };
64699
63754
 
64700
63755
  var NumberTextField = function (_a) {
@@ -64704,13 +63759,13 @@ var NumberTextField = function (_a) {
64704
63759
  onChange(parseInt(val.replace(/[^0-9.]+/g, "")));
64705
63760
  };
64706
63761
  // @ts-ignore
64707
- return jsxRuntime.exports.jsx(exports.TextField, __assign$2({}, props, { onChange: handleChange }));
63762
+ return jsxRuntime.jsx(exports.TextField, __assign$2({}, props, { onChange: handleChange }));
64708
63763
  };
64709
63764
 
64710
63765
  var PasswordTextField = function (_a) {
64711
63766
  var newPassword = _a.newPassword, props = __rest(_a, ["newPassword"]);
64712
63767
  var autoCompleteAttr = newPassword ? { autoComplete: "new-password" } : {};
64713
- return jsxRuntime.exports.jsx(exports.TextField, __assign$2({}, autoCompleteAttr, { type: "password" }, props));
63768
+ return jsxRuntime.jsx(exports.TextField, __assign$2({}, autoCompleteAttr, { type: "password" }, props));
64714
63769
  };
64715
63770
 
64716
63771
  var TextArea = function (_a) {
@@ -64718,17 +63773,17 @@ var TextArea = function (_a) {
64718
63773
  var notifyParentOfChange = function (e) {
64719
63774
  onChange(e.target.value, e);
64720
63775
  };
64721
- return jsxRuntime.exports.jsx(exports.TextFieldWrapper, __assign$2({}, props, { onChange: notifyParentOfChange, WrappedComponent: dist.Textarea }));
63776
+ return jsxRuntime.jsx(exports.TextFieldWrapper, __assign$2({}, props, { onChange: notifyParentOfChange, WrappedComponent: dist.Textarea }));
64722
63777
  };
64723
63778
  // @ts-ignore
64724
63779
  TextArea.COMPONENT_NAME = "TextArea";
64725
63780
 
64726
63781
  var CycleButton = function (_a) {
64727
63782
  var options = _a.options, selectedOption = _a.selectedOption, onCycleChanged = _a.onCycleChanged, buttonProps = __rest(_a, ["options", "selectedOption", "onCycleChanged"]);
64728
- return (jsxRuntime.exports.jsx(Button, __assign$2({ primary: false }, buttonProps, { onClick: function () {
63783
+ return (jsxRuntime.jsx(Button, __assign$2({ primary: false }, buttonProps, { onClick: function () {
64729
63784
  var next = cycle(options.map(function (o) { return o.value; }), selectedOption);
64730
63785
  onCycleChanged(next);
64731
- } }, { children: jsxRuntime.exports.jsx(FlexBox, __assign$2({ alignItems: "center", gap: "5px" }, { children: options.map(function (o) { return (jsxRuntime.exports.jsxs(React.Fragment, { children: [jsxRuntime.exports.jsx(Label$1, __assign$2({ selected: selectedOption === o.value }, { children: o.label })), isNotLastItem(options, o) ? jsxRuntime.exports.jsx(Label$1, { children: "/" }) : null] }, o.label)); }) })) })));
63786
+ } }, { children: jsxRuntime.jsx(FlexBox, __assign$2({ alignItems: "center", gap: "5px" }, { children: options.map(function (o) { return (jsxRuntime.jsxs(React.Fragment, { children: [jsxRuntime.jsx(Label$1, __assign$2({ selected: selectedOption === o.value }, { children: o.label })), isNotLastItem(options, o) ? jsxRuntime.jsx(Label$1, { children: "/" }) : null] }, o.label)); }) })) })));
64732
63787
  };
64733
63788
  var Label$1 = styled__default["default"].span(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["\n color: ", ";\n font-size: ", ";;\n"], ["\n color: ", ";\n font-size: ", ";;\n"])), function (p) { return p.selected ? "inherit" : COLORS.LIGHT_GREY; }, function (p) { return p.selected ? "inherit" : FONT_SIZES.XS; });
64734
63789
  var cycle = function (cycleables, current) { return (isLastItem(cycleables, current)
@@ -64746,11 +63801,11 @@ exports.Checkbox = function (_a) {
64746
63801
  onChange(checked);
64747
63802
  };
64748
63803
  React.useEffect(function () { setCheckedTo(checkedProp); }, [checkedProp]);
64749
- return jsxRuntime.exports.jsx(Container, __assign$2({ fluid: fluid, gap: null, withRows: true }, { children: jsxRuntime.exports.jsx(dist.Field, { children: jsxRuntime.exports.jsxs(dist.Checkbox, __assign$2({ checked: checked, validation: validation === null || validation === void 0 ? void 0 : validation.validation }, props, { onChange: handleCheck }, { children: [jsxRuntime.exports.jsx(dist.Label, __assign$2({ hidden: !label, indeterminate: indeterminate }, { children: label !== null && label !== void 0 ? label : "" })), hint
64750
- ? jsxRuntime.exports.jsx(dist.Hint, __assign$2({ css: "&&& { font-size: ".concat(FONT_SIZES.XS, "; }") }, { children: hint }))
63804
+ return jsxRuntime.jsx(Container, __assign$2({ fluid: fluid, gap: null, withRows: true }, { children: jsxRuntime.jsx(dist.Field, { children: jsxRuntime.jsxs(dist.Checkbox, __assign$2({ checked: checked, validation: validation === null || validation === void 0 ? void 0 : validation.validation }, props, { onChange: handleCheck }, { children: [jsxRuntime.jsx(dist.Label, __assign$2({ hidden: !label, indeterminate: indeterminate }, { children: label !== null && label !== void 0 ? label : "" })), hint
63805
+ ? jsxRuntime.jsx(dist.Hint, __assign$2({ css: "&&& { font-size: ".concat(FONT_SIZES.XS, "; }") }, { children: hint }))
64751
63806
  : null, message
64752
63807
  ?
64753
- jsxRuntime.exports.jsx(dist.Message, __assign$2({ css: "&&& { font-size: ".concat(FONT_SIZES.XS, ";}"), validation: validation === null || validation === void 0 ? void 0 : validation.validation }, { children: message }))
63808
+ jsxRuntime.jsx(dist.Message, __assign$2({ css: "&&& { font-size: ".concat(FONT_SIZES.XS, ";}"), validation: validation === null || validation === void 0 ? void 0 : validation.validation }, { children: message }))
64754
63809
  : null] })) }) }));
64755
63810
  };
64756
63811
  exports.Checkbox = styled__default["default"](exports.Checkbox)(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["\n &&&& {\n font-size: inherit;\n\n :hover {\n border-color: ", ";\n }\n\n :focus {\n border-color: ", ";\n box-shadow: ", ";\n }\n }\n"], ["\n &&&& {\n font-size: inherit;\n\n :hover {\n border-color: ", ";\n }\n\n :focus {\n border-color: ", ";\n box-shadow: ", ";\n }\n }\n"])), function (_a) {
@@ -64775,7 +63830,7 @@ exports.Form = React.forwardRef(function (_a, ref) {
64775
63830
  e.preventDefault();
64776
63831
  onSubmit();
64777
63832
  };
64778
- return jsxRuntime.exports.jsxs(FlexBox, __assign$2({ withRows: true, as: "form", onSubmit: handleSubmit, gap: SPACINGS.SM, className: className, ref: ref }, props, { children: [jsxRuntime.exports.jsx(HiddenSubmit, {}), children] }));
63833
+ return jsxRuntime.jsxs(FlexBox, __assign$2({ withRows: true, as: "form", onSubmit: handleSubmit, gap: SPACINGS.SM, className: className, ref: ref }, props, { children: [jsxRuntime.jsx(HiddenSubmit, {}), children] }));
64779
63834
  });
64780
63835
  var HiddenSubmit = styled__default["default"].input.attrs({
64781
63836
  type: "submit",
@@ -64800,7 +63855,7 @@ exports.Toggle = function (_a) {
64800
63855
  logger.writeInfo("handleChange", e.target.checked);
64801
63856
  onChange(e.target.checked);
64802
63857
  };
64803
- return jsxRuntime.exports.jsx(dist.Field, { children: jsxRuntime.exports.jsxs(StyledZToggle, __assign$2({}, props, { checked: checked, onChange: handleChange }, { children: [jsxRuntime.exports.jsx(Label, __assign$2({ hidden: !label }, { children: label })), hint ? jsxRuntime.exports.jsx(Hint, { children: hint }) : null] })) });
63858
+ return jsxRuntime.jsx(dist.Field, { children: jsxRuntime.jsxs(StyledZToggle, __assign$2({}, props, { checked: checked, onChange: handleChange }, { children: [jsxRuntime.jsx(Label, __assign$2({ hidden: !label }, { children: label })), hint ? jsxRuntime.jsx(Hint, { children: hint }) : null] })) });
64804
63859
  };
64805
63860
  var toggleColor = styled.css(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n + label:before {\n border-color: ", ";\n background-color: ", ";\n }\n\n &&& + label:active:before {\n background-color: ", ";\n }\n"], ["\n + label:before {\n border-color: ", ";\n background-color: ", ";\n }\n\n &&& + label:active:before {\n background-color: ", ";\n }\n"])), function (_a) {
64806
63861
  var theme = _a.theme;
@@ -64883,7 +63938,7 @@ var templateObject_1;
64883
63938
 
64884
63939
  var TaggedToggle = function (_a) {
64885
63940
  var active = _a.active, onChange = _a.onChange;
64886
- return jsxRuntime.exports.jsxs(FlexBox, __assign$2({ alignItems: "baseline" }, { children: [jsxRuntime.exports.jsx(Chip, __assign$2({ success: active }, { children: active ? "Enabled" : "Disabled" })), jsxRuntime.exports.jsx(exports.Toggle, { checked: active, onChange: onChange })] }));
63941
+ return jsxRuntime.jsxs(FlexBox, __assign$2({ alignItems: "baseline" }, { children: [jsxRuntime.jsx(Chip, __assign$2({ success: active }, { children: active ? "Enabled" : "Disabled" })), jsxRuntime.jsx(exports.Toggle, { checked: active, onChange: onChange })] }));
64887
63942
  };
64888
63943
 
64889
63944
  exports.Autocomplete = Autocomplete;