@mw-kit/mw-ui 1.7.69 → 1.7.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -12210,7 +12210,7 @@ var EllipsisContainer$1 = function EllipsisContainer$1(props) {
12210
12210
  }));
12211
12211
  };
12212
12212
 
12213
- var _templateObject$5, _templateObject2$5, _templateObject3$5, _templateObject4$3, _templateObject5$3, _templateObject6$2, _templateObject7$2, _templateObject8$1, _templateObject9$1, _templateObject10$1, _templateObject11$1, _templateObject12$1, _templateObject13$1, _templateObject14$1, _templateObject15$1, _templateObject16$1, _templateObject17$1, _templateObject18$1, _templateObject19$1;
12213
+ var _templateObject$5, _templateObject2$5, _templateObject3$5, _templateObject4$3, _templateObject5$3, _templateObject6$2, _templateObject7$2, _templateObject8$1, _templateObject9$1, _templateObject10$1, _templateObject11$1, _templateObject12$1, _templateObject13$1, _templateObject14$1, _templateObject15$1, _templateObject16$1, _templateObject17$1, _templateObject18$1, _templateObject19$1, _templateObject20$1, _templateObject21$1;
12214
12214
  var IconContainer = styled__default.button(_templateObject$5 || (_templateObject$5 = _taggedTemplateLiteralLoose(["\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 17px;\n\n background-color: transparent;\n border: none;\n box-shadow: none;\n padding: 0;\n\n ", "\n"])), function (_ref) {
12215
12215
  var onClick = _ref.onClick,
12216
12216
  disabled = _ref.disabled;
@@ -12226,11 +12226,11 @@ var Input = styled__default.input(_templateObject4$3 || (_templateObject4$3 = _t
12226
12226
  return theme.useTypography('p');
12227
12227
  }, function (_ref4) {
12228
12228
  var theme = _ref4.theme,
12229
- invalid = _ref4.invalid;
12229
+ invalid = _ref4.$invalid;
12230
12230
  return invalid ? theme.colors.warningRed : theme.colors.darkBlue;
12231
12231
  }, function (_ref5) {
12232
12232
  var theme = _ref5.theme,
12233
- invalid = _ref5.invalid;
12233
+ invalid = _ref5.$invalid;
12234
12234
  return invalid ? theme.colors.warningRed : theme.colors.darkGrey;
12235
12235
  }, function (_ref6) {
12236
12236
  var placeholder = _ref6.placeholder;
@@ -12245,7 +12245,7 @@ var Input = styled__default.input(_templateObject4$3 || (_templateObject4$3 = _t
12245
12245
  return styled.css(_templateObject6$2 || (_templateObject6$2 = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n font-size: 14px;\n letter-spacing: 0px;\n "])));
12246
12246
  }, function (_ref8) {
12247
12247
  var theme = _ref8.theme,
12248
- paddingless = _ref8.paddingless;
12248
+ paddingless = _ref8.$paddingless;
12249
12249
 
12250
12250
  if (paddingless) {
12251
12251
  return styled.css(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteralLoose(["\n padding: 0;\n "])));
@@ -12254,17 +12254,17 @@ var Input = styled__default.input(_templateObject4$3 || (_templateObject4$3 = _t
12254
12254
  return styled.css(_templateObject8$1 || (_templateObject8$1 = _taggedTemplateLiteralLoose(["\n padding: ", " ", ";\n ~ ", " {\n padding: ", " ", ";\n }\n "])), theme.spacings.s2, theme.spacings.s3, ChildrenContainer, theme.spacings.s2, theme.spacings.s3);
12255
12255
  }, function (_ref9) {
12256
12256
  var theme = _ref9.theme,
12257
- invalid = _ref9.invalid,
12258
- borderless = _ref9.borderless;
12257
+ invalid = _ref9.$invalid,
12258
+ borderless = _ref9.$borderless;
12259
12259
  if (borderless) return 'transparent';
12260
12260
  return invalid ? theme.colors.warningRed : theme.colors.lightGrey;
12261
12261
  }, function (_ref10) {
12262
12262
  var theme = _ref10.theme,
12263
- invalid = _ref10.invalid;
12263
+ invalid = _ref10.$invalid;
12264
12264
  var color = invalid ? theme.getColor('warningRed', 5) : theme.colors.white;
12265
12265
  return styled.css(_templateObject9$1 || (_templateObject9$1 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n /** google chrome blue background */\n -webkit-box-shadow: 0 0 0px 1000px ", " inset !important;\n "])), color, color);
12266
12266
  }, function (_ref11) {
12267
- var arrows = _ref11.arrows;
12267
+ var arrows = _ref11.$arrows;
12268
12268
  if (arrows) return;
12269
12269
  return styled.css(_templateObject10$1 || (_templateObject10$1 = _taggedTemplateLiteralLoose(["\n /* Chrome, Safari, Edge, Opera */\n :-webkit-outer-spin-button,\n :-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n /* Firefox */\n -moz-appearance: textfield;\n "])));
12270
12270
  }, function (_ref12) {
@@ -12278,33 +12278,33 @@ var InputContainer = styled__default.div(_templateObject12$1 || (_templateObject
12278
12278
  var width = _ref13.width;
12279
12279
  return width || '100%';
12280
12280
  });
12281
- var Label = styled__default.label(_templateObject13$1 || (_templateObject13$1 = _taggedTemplateLiteralLoose(["\n ", ";\n\n color: ", ";\n\n width: ", ";\n box-sizing: border-box;\n display: block;\n\n ", "\n\n > ", " > ", " {\n bottom: ", ";\n }\n\n ", "\n\n ", "\n"])), function (_ref14) {
12281
+ var Label = styled__default.label(_templateObject13$1 || (_templateObject13$1 = _taggedTemplateLiteralLoose(["\n ", ";\n line-height: 17px;\n\n color: ", ";\n\n width: ", ";\n box-sizing: border-box;\n display: block;\n\n ", "\n\n > ", " > ", " {\n bottom: ", ";\n }\n\n ", "\n\n ", "\n"])), function (_ref14) {
12282
12282
  var theme = _ref14.theme;
12283
12283
  return theme.useTypography('p');
12284
12284
  }, function (_ref15) {
12285
12285
  var theme = _ref15.theme;
12286
12286
  return theme.colors.greyishBlue;
12287
12287
  }, function (_ref16) {
12288
- var width = _ref16.width;
12288
+ var width = _ref16.$width;
12289
12289
  return width || '100%';
12290
12290
  }, function (_ref17) {
12291
- var disabled = _ref17.disabled;
12291
+ var disabled = _ref17.$disabled;
12292
12292
  if (!disabled) return;
12293
12293
  return styled.css(_templateObject14$1 || (_templateObject14$1 = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
12294
12294
  }, InputContainer, IconContainer, function (_ref18) {
12295
12295
  var theme = _ref18.theme,
12296
- paddingless = _ref18.paddingless;
12296
+ paddingless = _ref18.$paddingless;
12297
12297
  return paddingless ? '2px' : "calc(" + theme.spacings.s2 + " + 1px)";
12298
12298
  }, function (_ref19) {
12299
- var readOnly = _ref19.readOnly,
12300
- disabled = _ref19.disabled,
12301
- loading = _ref19.loading;
12299
+ var readOnly = _ref19.$readOnly,
12300
+ disabled = _ref19.$disabled,
12301
+ loading = _ref19.$loading;
12302
12302
  if (loading || readOnly || disabled) return;
12303
12303
  return styled.css(_templateObject15$1 || (_templateObject15$1 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
12304
12304
  }, function (_ref20) {
12305
12305
  var theme = _ref20.theme,
12306
- icon = _ref20.icon,
12307
- paddingless = _ref20.paddingless;
12306
+ icon = _ref20.$icon,
12307
+ paddingless = _ref20.$paddingless;
12308
12308
  if (!icon) return;
12309
12309
  var width = icon.width,
12310
12310
  position = icon.position;
@@ -12317,36 +12317,123 @@ var Label = styled__default.label(_templateObject13$1 || (_templateObject13$1 =
12317
12317
  return styled.css(_templateObject17$1 || (_templateObject17$1 = _taggedTemplateLiteralLoose(["\n > ", " > ", " {\n width: ", ";\n left: calc(", " / 2);\n }\n\n > ", " > ", " {\n padding-left: calc(", " + ", ");\n ~ ", " {\n padding-left: calc(", " + ", ");\n }\n }\n "])), InputContainer, IconContainer, width, padding, InputContainer, Input, padding, width, ChildrenContainer, padding, width);
12318
12318
  });
12319
12319
  var LabelText = styled__default.div(_templateObject18$1 || (_templateObject18$1 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-bottom: ", ";\n\n ", "\n"])), function (_ref21) {
12320
- var theme = _ref21.theme;
12321
- return theme.spacings.s1;
12320
+ var theme = _ref21.theme,
12321
+ viewMode = _ref21.$viewMode;
12322
+ return theme.spacings[viewMode ? 's3' : 's1'];
12322
12323
  }, function (_ref22) {
12323
- var required = _ref22.required;
12324
- if (!required) return;
12324
+ var required = _ref22.$required,
12325
+ viewMode = _ref22.$viewMode;
12326
+ if (!required || viewMode) return;
12325
12327
  return styled.css(_templateObject19$1 || (_templateObject19$1 = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
12326
12328
  });
12329
+ var ViewModeContainer = styled__default.div(_templateObject20$1 || (_templateObject20$1 = _taggedTemplateLiteralLoose(["\n ", "\n"])), function (_ref23) {
12330
+ var children = _ref23.children;
12331
+ if (children) return;
12332
+ return styled.css(_templateObject21$1 || (_templateObject21$1 = _taggedTemplateLiteralLoose(["\n :before {\n content: ' ';\n white-space: pre;\n }\n "])));
12333
+ });
12334
+
12335
+ var defaultValue = {
12336
+ isRequired: function isRequired() {
12337
+ return false;
12338
+ },
12339
+ isInvalid: function isInvalid() {
12340
+ return false;
12341
+ },
12342
+ isViewMode: function isViewMode() {
12343
+ return false;
12344
+ },
12345
+ isDisabled: function isDisabled() {
12346
+ return false;
12347
+ }
12348
+ };
12349
+ var Context = React__default.createContext(_extends({}, defaultValue));
12350
+
12351
+ var useContext = function useContext(name) {
12352
+ var context = React__default.useContext(Context);
12353
+ return _extends({
12354
+ isRequired: function isRequired() {
12355
+ return false;
12356
+ },
12357
+ isInvalid: function isInvalid() {
12358
+ return false;
12359
+ },
12360
+ isViewMode: function isViewMode() {
12361
+ return false;
12362
+ },
12363
+ isDisabled: function isDisabled() {
12364
+ return false;
12365
+ }
12366
+ }, name ? {
12367
+ isRequired: function isRequired() {
12368
+ return context.isRequired(name);
12369
+ },
12370
+ isInvalid: function isInvalid() {
12371
+ return context.isInvalid(name);
12372
+ },
12373
+ isViewMode: function isViewMode() {
12374
+ return context.isViewMode(name);
12375
+ },
12376
+ isDisabled: function isDisabled() {
12377
+ return context.isDisabled(name);
12378
+ }
12379
+ } : {});
12380
+ };
12381
+
12382
+ var Provider = function Provider(props) {
12383
+ return React__default.createElement(Context.Provider, Object.assign({}, props, {
12384
+ value: _extends({}, defaultValue, props.value)
12385
+ }));
12386
+ };
12387
+
12388
+ var Form = Object.assign(React__default.forwardRef(Object.assign(function (props, ref) {
12389
+ var formProps = filterObject(props, ['isRequired', 'isInvalid', 'isViewMode', 'isDisabled']);
12390
+ return React__default.createElement(Provider, {
12391
+ value: _extends({}, props.isRequired ? {
12392
+ isRequired: props.isRequired
12393
+ } : {}, props.isInvalid ? {
12394
+ isInvalid: props.isInvalid
12395
+ } : {}, props.isViewMode ? {
12396
+ isViewMode: props.isViewMode
12397
+ } : {}, props.isDisabled ? {
12398
+ isDisabled: props.isDisabled
12399
+ } : {})
12400
+ }, React__default.createElement("form", Object.assign({
12401
+ ref: ref
12402
+ }, formProps)));
12403
+ }, {
12404
+ displayName: 'Form'
12405
+ })), {
12406
+ useContext: useContext
12407
+ });
12327
12408
 
12328
12409
  var Input$1 = React__default.forwardRef(function (props, ref) {
12329
12410
  var _props = _extends({}, props),
12330
12411
  label = _props.label,
12331
12412
  loading = _props.loading,
12413
+ readOnly = _props.readOnly,
12414
+ arrows = _props.arrows,
12415
+ borderless = _props.borderless,
12416
+ paddingless = _props.paddingless,
12332
12417
  clearable = _props.clearable,
12333
12418
  onPressEnter = _props.onPressEnter,
12334
12419
  width = _props.width;
12335
12420
 
12421
+ var _Form$useContext = Form.useContext(props.name),
12422
+ isRequired = _Form$useContext.isRequired,
12423
+ isInvalid = _Form$useContext.isInvalid,
12424
+ isViewMode = _Form$useContext.isViewMode,
12425
+ isDisabled = _Form$useContext.isDisabled;
12426
+
12336
12427
  var mask = getMask(props.mask);
12337
12428
  React.useEffect(function () {
12338
12429
  if (!isString(props.value)) return;
12339
12430
  var masked = mask(props.value);
12340
12431
  if (masked !== props.value) setValue(masked);
12341
12432
  }, [props.value]);
12342
- var intInvalid = props.invalid ? 1 : 0;
12343
- var intLoading = props.loading ? 1 : 0;
12344
- var intRequired = props.required ? 1 : 0;
12345
- var intDisabled = props.disabled ? 1 : 0;
12346
- var intReadOnly = props.readOnly ? 1 : 0;
12347
- var intArrows = props.arrows ? 1 : 0;
12348
- var intBorderless = props.borderless ? 1 : 0;
12349
- var intPaddingless = props.paddingless ? 1 : 0;
12433
+ var invalid = isInvalid() || props.invalid;
12434
+ var required = isRequired() || props.required;
12435
+ var disabled = isDisabled() || props.disabled;
12436
+ var viewMode = isViewMode() || props.viewMode;
12350
12437
  var position;
12351
12438
  var iconWidth;
12352
12439
  var iconSubmit;
@@ -12356,18 +12443,18 @@ var Input$1 = React__default.forwardRef(function (props, ref) {
12356
12443
  if (props.icon) {
12357
12444
  icon = _extends({}, props.icon.icon);
12358
12445
  position = props.icon.position || 'right';
12359
- if (intInvalid) icon.color = 'warningRed';
12446
+ if (invalid) icon.color = 'warningRed';
12360
12447
  iconWidth = icon.width;
12361
12448
  iconSubmit = props.icon.submit;
12362
12449
  iconOnClick = props.icon.onClick;
12363
12450
  }
12364
12451
 
12365
- var inputProps = filterObject(props, ['label', 'invalid', 'required', 'icon', 'mask', 'loading', 'clearable', 'setValue', 'onPressEnter', 'htmlDisabled', 'htmlReadOnly', 'width', 'inputWidth', 'arrows', 'borderless', 'paddingless', 'children'], {
12366
- invalid: intInvalid,
12452
+ var inputProps = filterObject(props, ['label', 'invalid', 'required', 'icon', 'mask', 'loading', 'clearable', 'setValue', 'onPressEnter', 'htmlDisabled', 'htmlReadOnly', 'viewMode', 'width', 'inputWidth', 'arrows', 'borderless', 'paddingless', 'children'], {
12453
+ $invalid: invalid,
12367
12454
  type: 'text',
12368
- arrows: intArrows,
12369
- borderless: intBorderless,
12370
- paddingless: intPaddingless
12455
+ $arrows: arrows,
12456
+ $borderless: borderless,
12457
+ $paddingless: paddingless
12371
12458
  });
12372
12459
 
12373
12460
  var onChange = inputProps.onChange || function () {};
@@ -12458,16 +12545,19 @@ var Input$1 = React__default.forwardRef(function (props, ref) {
12458
12545
  if (props.htmlDisabled) inputProps.disabled = true;
12459
12546
  if (props.htmlReadOnly) inputProps.readOnly = true;
12460
12547
  return React__default.createElement(Label, {
12461
- readOnly: intReadOnly,
12462
- disabled: intDisabled,
12463
- loading: intLoading,
12464
- invalid: intInvalid,
12465
- paddingless: intPaddingless,
12466
- icon: iconProps,
12467
- width: width
12548
+ "$readOnly": readOnly || viewMode,
12549
+ "$disabled": disabled,
12550
+ "$loading": loading,
12551
+ "$invalid": invalid,
12552
+ "$paddingless": paddingless,
12553
+ "$icon": iconProps,
12554
+ "$width": width
12468
12555
  }, label && React__default.createElement(LabelText, {
12469
- required: intRequired
12470
- }, label), React__default.createElement(InputContainer, {
12556
+ "$required": required,
12557
+ "$viewMode": viewMode
12558
+ }, label), viewMode ? React__default.createElement(ViewModeContainer, {
12559
+ children: inputProps.value || props.children
12560
+ }) : React__default.createElement(InputContainer, {
12471
12561
  width: props.inputWidth
12472
12562
  }, React__default.createElement(Input, Object.assign({}, inputProps, {
12473
12563
  ref: ref
@@ -12487,17 +12577,18 @@ var Checkmark = styled__default.div(_templateObject$6 || (_templateObject$6 = _t
12487
12577
  var theme = _ref.theme;
12488
12578
  return theme.colors.white;
12489
12579
  }, function (_ref2) {
12490
- var theme = _ref2.theme;
12491
- return theme.colors.lightGrey;
12580
+ var theme = _ref2.theme,
12581
+ viewMode = _ref2.$viewMode;
12582
+ return viewMode ? 'transparent' : theme.colors.blue;
12492
12583
  }, function (_ref3) {
12493
12584
  var theme = _ref3.theme;
12494
12585
  return theme.colors.blue;
12495
12586
  });
12496
- var Label$1 = styled__default.label(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 14px;\n\n ", "\n\n ", "\n\n ", "\n\n display: flex;\n align-items: center;\n\n user-select: none;\n min-height: ", ";\n min-width: ", ";\n gap: ", ";\n\n > input {\n position: absolute;\n opacity: 0;\n height: 1px;\n width: 1px;\n }\n\n :hover ", " {\n background-color: ", ";\n }\n\n > input:checked ~ ", " {\n border-color: ", ";\n\n :after {\n width: 5px;\n height: 9.5px;\n border-width: 0 2px 2px 0;\n left: 5px;\n top: 1px;\n }\n }\n\n ", ";\n\n ", "\n"])), function (_ref4) {
12587
+ var Label$1 = styled__default.label(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 14px;\n\n ", "\n\n ", "\n\n ", "\n\n display: flex;\n align-items: center;\n\n user-select: none;\n min-height: ", ";\n min-width: ", ";\n gap: ", ";\n\n > input {\n position: absolute;\n opacity: 0;\n height: 1px;\n width: 1px;\n }\n\n :hover ", " {\n background-color: ", ";\n }\n\n > input:checked ~ ", " {\n :after {\n width: 5px;\n height: 9.5px;\n border-width: 0 2px 2px 0;\n left: 5px;\n top: 1px;\n }\n }\n\n ", ";\n\n ", "\n"])), function (_ref4) {
12497
12588
  var theme = _ref4.theme;
12498
12589
  return theme.useTypography('p');
12499
12590
  }, function (_ref5) {
12500
- var padding = _ref5.padding,
12591
+ var padding = _ref5.$padding,
12501
12592
  theme = _ref5.theme;
12502
12593
  if (!padding) return;
12503
12594
  var _padding = {
@@ -12541,17 +12632,19 @@ var Label$1 = styled__default.label(_templateObject2$6 || (_templateObject2$6 =
12541
12632
 
12542
12633
  return styled.css(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteralLoose(["\n padding-top: ", ";\n padding-left: ", ";\n padding-right: ", ";\n padding-bottom: ", ";\n "])), _padding.top, _padding.left, _padding.right, _padding.bottom);
12543
12634
  }, function (_ref6) {
12544
- var disabled = _ref6.disabled;
12635
+ var disabled = _ref6.$disabled,
12636
+ readOnly = _ref6.$readOnly;
12545
12637
 
12546
- if (!disabled) {
12547
- return styled.css(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
12638
+ if (disabled) {
12639
+ return styled.css(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
12548
12640
  }
12549
12641
 
12550
- return styled.css(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
12642
+ if (readOnly) return;
12643
+ return styled.css(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
12551
12644
  }, function (_ref7) {
12552
12645
  var theme = _ref7.theme,
12553
- bordered = _ref7.bordered,
12554
- invalid = _ref7.invalid;
12646
+ bordered = _ref7.$bordered,
12647
+ invalid = _ref7.$invalid;
12555
12648
  if (!bordered) return;
12556
12649
  return styled.css(_templateObject6$3 || (_templateObject6$3 = _taggedTemplateLiteralLoose(["\n padding: ", " ", ";\n\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n border-radius: 4px;\n "])), theme.spacings.s2, theme.spacings.s3, theme.colors[invalid ? 'warningRed' : 'lightGrey']);
12557
12650
  }, size, size, function (_ref8) {
@@ -12561,32 +12654,38 @@ var Label$1 = styled__default.label(_templateObject2$6 || (_templateObject2$6 =
12561
12654
  var theme = _ref9.theme;
12562
12655
  return theme.colors.iceWhite;
12563
12656
  }, Checkmark, function (_ref10) {
12564
- var theme = _ref10.theme;
12565
- return theme.colors.blue;
12566
- }, function (_ref11) {
12567
- var theme = _ref11.theme,
12568
- invalid = _ref11.invalid;
12657
+ var theme = _ref10.theme,
12658
+ invalid = _ref10.$invalid;
12569
12659
  if (!invalid) return;
12570
12660
  return styled.css(_templateObject7$3 || (_templateObject7$3 = _taggedTemplateLiteralLoose(["\n ", ",\n > input:checked ~ ", ", \n > input:checked ~ ", ":after {\n border-color: ", ";\n }\n "])), Checkmark, Checkmark, Checkmark, theme.colors.warningRed);
12571
- }, function (_ref12) {
12572
- var width = _ref12.width;
12661
+ }, function (_ref11) {
12662
+ var width = _ref11.$width;
12573
12663
  return width && styled.css(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n width: ", ";\n "])), width);
12574
12664
  });
12575
- var LabelContent = styled__default.div(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n ", "\n line-height: 14px;\n flex: 1;\n overflow: hidden;\n\n ", "\n"])), function (_ref13) {
12576
- var theme = _ref13.theme;
12665
+ var LabelContent = styled__default.div(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n ", "\n line-height: 14px;\n flex: 1;\n overflow: hidden;\n\n ", "\n"])), function (_ref12) {
12666
+ var theme = _ref12.theme;
12577
12667
  return theme.useTypography('p');
12578
- }, function (_ref14) {
12579
- var required = _ref14.required;
12580
- if (!required) return;
12668
+ }, function (_ref13) {
12669
+ var required = _ref13.required,
12670
+ viewMode = _ref13.viewMode;
12671
+ if (!required || viewMode) return;
12581
12672
  return styled.css(_templateObject10$2 || (_templateObject10$2 = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
12582
12673
  });
12583
12674
 
12584
12675
  var Checkbox = React__default.forwardRef(function (props, ref) {
12585
- var disabled = props.disabled,
12586
- required = props.required,
12587
- invalid = props.invalid,
12588
- padding = props.padding,
12676
+ var padding = props.padding,
12589
12677
  bordered = props.bordered;
12678
+
12679
+ var _Form$useContext = Form.useContext(props.name),
12680
+ isRequired = _Form$useContext.isRequired,
12681
+ isInvalid = _Form$useContext.isInvalid,
12682
+ isViewMode = _Form$useContext.isViewMode,
12683
+ isDisabled = _Form$useContext.isDisabled;
12684
+
12685
+ var invalid = isInvalid() || props.invalid;
12686
+ var required = isRequired() || props.required;
12687
+ var disabled = isDisabled() || props.disabled;
12688
+ var viewMode = isViewMode() || props.viewMode;
12590
12689
  var htmlProps = filterObject(props, ['label', 'invalid', 'required', 'padding', 'bordered']);
12591
12690
 
12592
12691
  var _ref = function () {
@@ -12602,18 +12701,23 @@ var Checkbox = React__default.forwardRef(function (props, ref) {
12602
12701
  children = _ref[1];
12603
12702
 
12604
12703
  return React__default.createElement(Label$1, {
12605
- disabled: disabled ? 1 : 0,
12606
- required: required ? 1 : 0,
12607
- invalid: invalid ? 1 : 0,
12608
- bordered: bordered ? 1 : 0,
12609
- padding: padding,
12610
- width: props.width
12704
+ "$disabled": disabled,
12705
+ "$required": required,
12706
+ "$invalid": invalid,
12707
+ "$bordered": !viewMode && bordered,
12708
+ "$padding": padding,
12709
+ "$readOnly": props.readOnly || viewMode,
12710
+ "$width": props.width
12611
12711
  }, React__default.createElement("input", Object.assign({}, htmlProps, {
12612
12712
  type: 'checkbox',
12613
- ref: ref
12614
- })), React__default.createElement(Checkmark, null), React__default.createElement(LabelComponent, Object.assign({}, {
12713
+ ref: ref,
12714
+ disabled: htmlProps.disabled || viewMode
12715
+ })), React__default.createElement(Checkmark, {
12716
+ "$viewMode": viewMode
12717
+ }), React__default.createElement(LabelComponent, Object.assign({}, {
12615
12718
  disabled: disabled,
12616
12719
  required: required,
12720
+ viewMode: viewMode,
12617
12721
  invalid: invalid,
12618
12722
  bordered: bordered,
12619
12723
  padding: padding,
@@ -14463,9 +14567,9 @@ var Date$1 = React__default.forwardRef(function (props, ref) {
14463
14567
  });
14464
14568
  Date$1.displayName = 'Date';
14465
14569
 
14466
- var Provider = React__default.createContext({});
14467
- var useContext = function useContext() {
14468
- return React__default.useContext(Provider);
14570
+ var Provider$1 = React__default.createContext({});
14571
+ var useContext$1 = function useContext() {
14572
+ return React__default.useContext(Provider$1);
14469
14573
  };
14470
14574
 
14471
14575
  var _templateObject$l, _templateObject2$f;
@@ -14475,7 +14579,7 @@ var HeaderContainer = styled__default.div(_templateObject$l || (_templateObject$
14475
14579
  });
14476
14580
 
14477
14581
  var Header$1 = function Header() {
14478
- var context = useContext();
14582
+ var context = useContext$1();
14479
14583
 
14480
14584
  if (!context.props.search) {
14481
14585
  return React__default.createElement(React__default.Fragment, null);
@@ -14588,7 +14692,7 @@ var useSelect = function useSelect(props) {
14588
14692
  maxHeight: props.maxHeight || '180px'
14589
14693
  },
14590
14694
  getContext: function getContext(base, children) {
14591
- return React__default.createElement(Provider.Provider, {
14695
+ return React__default.createElement(Provider$1.Provider, {
14592
14696
  value: _extends({}, base, {
14593
14697
  props: props,
14594
14698
  options: options
@@ -14603,13 +14707,13 @@ var useSelect = function useSelect(props) {
14603
14707
  return parsed;
14604
14708
  };
14605
14709
 
14606
- var Provider$1 = React__default.createContext({});
14607
- var useContext$1 = function useContext() {
14608
- return React__default.useContext(Provider$1);
14710
+ var Provider$2 = React__default.createContext({});
14711
+ var useContext$2 = function useContext() {
14712
+ return React__default.useContext(Provider$2);
14609
14713
  };
14610
14714
 
14611
14715
  var Footer$1 = function Footer() {
14612
- var context = useContext$1();
14716
+ var context = useContext$2();
14613
14717
  var _context$props = context.props,
14614
14718
  value = _context$props.value,
14615
14719
  setValue = _context$props.setValue,
@@ -14671,7 +14775,7 @@ var SelectAllContainer = styled__default.div(_templateObject3$e || (_templateObj
14671
14775
  });
14672
14776
 
14673
14777
  var Header$2 = function Header() {
14674
- var context = useContext$1();
14778
+ var context = useContext$2();
14675
14779
 
14676
14780
  if (!context.props.search) {
14677
14781
  return React__default.createElement(React__default.Fragment, null);
@@ -14720,7 +14824,7 @@ var Header$2 = function Header() {
14720
14824
  };
14721
14825
 
14722
14826
  var Label$2 = function Label(props) {
14723
- var context = useContext$1();
14827
+ var context = useContext$2();
14724
14828
  var _context$checked = context.checked,
14725
14829
  checked = _context$checked[0],
14726
14830
  setChecked = _context$checked[1];
@@ -14819,7 +14923,7 @@ var useSelectMultiple = function useSelectMultiple(props) {
14819
14923
  maxHeight: props.maxHeight || (props.selectAll ? '269px' : '224px')
14820
14924
  },
14821
14925
  getContext: function getContext(base, children) {
14822
- return React__default.createElement(Provider$1.Provider, {
14926
+ return React__default.createElement(Provider$2.Provider, {
14823
14927
  value: _extends({}, base, {
14824
14928
  props: props,
14825
14929
  options: options,
@@ -15577,86 +15681,107 @@ var DatePicker = React__default.forwardRef(function (props, ref) {
15577
15681
  });
15578
15682
  DatePicker.displayName = 'DatePicker';
15579
15683
 
15580
- var _templateObject$s, _templateObject2$m, _templateObject3$i, _templateObject4$c, _templateObject5$a, _templateObject6$9, _templateObject7$9;
15581
- var LabelContainer$3 = styled__default.div(_templateObject$s || (_templateObject$s = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 14px;\n display: flex;\n align-items: center;\n\n ", "\n"])), function (_ref) {
15684
+ var _templateObject$s, _templateObject2$m, _templateObject3$i, _templateObject4$c, _templateObject5$a, _templateObject6$9, _templateObject7$9, _templateObject8$8;
15685
+ var LabelContainer$3 = styled__default.div(_templateObject$s || (_templateObject$s = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 14px;\n display: flex;\n align-items: center;\n\n ", "\n\n ", "\n"])), function (_ref) {
15582
15686
  var theme = _ref.theme;
15583
15687
  return theme.useTypography('p');
15584
15688
  }, function (_ref2) {
15585
- var required = _ref2.required;
15586
- if (!required) return;
15689
+ var required = _ref2.$required,
15690
+ viewMode = _ref2.$viewMode;
15691
+ if (!required || viewMode) return;
15587
15692
  return styled.css(_templateObject2$m || (_templateObject2$m = _taggedTemplateLiteralLoose(["\n :after {\n content: '*';\n }\n "])));
15693
+ }, function (_ref3) {
15694
+ var keepSpace = _ref3.$keepSpace,
15695
+ children = _ref3.children;
15696
+ if (!keepSpace || children) return;
15697
+ return styled.css(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteralLoose(["\n :before {\n content: '';\n white-space: pre;\n }\n "])));
15588
15698
  });
15589
- var Label$4 = styled__default.label(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: ", ";\n position: relative;\n align-items: center;\n\n ", "\n\n ", "\n\n > input {\n position: absolute;\n height: 0%;\n width: 0%;\n opacity: 0;\n }\n\n > span {\n position: relative;\n width: 50px;\n height: calc(", " + 1px);\n background-color: ", ";\n border-radius: 20px;\n transition-property: background-color;\n transition-duration: 0.4s;\n transition-timing-function: ease-in-out;\n box-sizing: content-box;\n :before {\n content: '';\n transition-property: left;\n transition-duration: 0.4s;\n transition-timing-function: ease-in-out;\n position: absolute;\n border-width: 1px;\n border-style: solid;\n border-radius: 100%;\n left: 0;\n box-shadow: 0px 1px 3px ", ";\n width: calc(", " - 1px);\n height: calc(", " - 1px);\n background-color: ", ";\n }\n }\n\n > input:checked + span {\n :before {\n left: calc(100% - ", " - 1px);\n }\n }\n"])), function (_ref3) {
15590
- var theme = _ref3.theme;
15699
+ var Label$4 = styled__default.label(_templateObject4$c || (_templateObject4$c = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: ", ";\n position: relative;\n align-items: center;\n\n ", "\n\n ", "\n\n > input {\n position: absolute;\n height: 0%;\n width: 0%;\n opacity: 0;\n }\n\n > span {\n position: relative;\n width: 50px;\n height: calc(", " + 1px);\n background-color: ", ";\n border-radius: 20px;\n transition-property: background-color;\n transition-duration: 0.4s;\n transition-timing-function: ease-in-out;\n box-sizing: content-box;\n :before {\n content: '';\n transition-property: left;\n transition-duration: 0.4s;\n transition-timing-function: ease-in-out;\n position: absolute;\n border-width: 1px;\n border-style: solid;\n border-radius: 100%;\n left: 0;\n box-shadow: 0px 1px 3px ", ";\n width: calc(", " - 1px);\n height: calc(", " - 1px);\n background-color: ", ";\n }\n }\n\n > input:checked + span {\n :before {\n left: calc(100% - ", " - 1px);\n }\n }\n"])), function (_ref4) {
15700
+ var theme = _ref4.theme;
15591
15701
  return theme.spacings.s1;
15592
- }, function (_ref4) {
15593
- var disabled = _ref4.disabled;
15702
+ }, function (_ref5) {
15703
+ var disabled = _ref5.$disabled;
15594
15704
 
15595
15705
  if (!disabled) {
15596
- return styled.css(_templateObject4$c || (_templateObject4$c = _taggedTemplateLiteralLoose(["\n > span {\n cursor: pointer;\n }\n "])));
15706
+ return styled.css(_templateObject5$a || (_templateObject5$a = _taggedTemplateLiteralLoose(["\n > span {\n cursor: pointer;\n }\n "])));
15597
15707
  }
15598
15708
 
15599
- return styled.css(_templateObject5$a || (_templateObject5$a = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
15600
- }, function (_ref5) {
15601
- var invalid = _ref5.invalid;
15709
+ return styled.css(_templateObject6$9 || (_templateObject6$9 = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
15710
+ }, function (_ref6) {
15711
+ var invalid = _ref6.$invalid;
15602
15712
 
15603
15713
  if (!invalid) {
15604
- return styled.css(_templateObject6$9 || (_templateObject6$9 = _taggedTemplateLiteralLoose(["\n > span:before {\n border-color: ", ";\n }\n > input:checked + span {\n background-color: ", ";\n }\n "])), function (_ref6) {
15605
- var theme = _ref6.theme;
15606
- return theme.colors.lightGrey;
15607
- }, function (_ref7) {
15714
+ return styled.css(_templateObject7$9 || (_templateObject7$9 = _taggedTemplateLiteralLoose(["\n > span:before {\n border-color: ", ";\n }\n > input:checked + span {\n background-color: ", ";\n }\n "])), function (_ref7) {
15608
15715
  var theme = _ref7.theme;
15716
+ return theme.colors.lightGrey;
15717
+ }, function (_ref8) {
15718
+ var theme = _ref8.theme;
15609
15719
  return theme.colors.blue;
15610
15720
  });
15611
15721
  }
15612
15722
 
15613
- return styled.css(_templateObject7$9 || (_templateObject7$9 = _taggedTemplateLiteralLoose(["\n > span:before {\n border-color: ", ";\n }\n > input:checked + span {\n background-color: ", ";\n }\n "])), function (_ref8) {
15614
- var theme = _ref8.theme;
15615
- return theme.colors.warningRed;
15616
- }, function (_ref9) {
15723
+ return styled.css(_templateObject8$8 || (_templateObject8$8 = _taggedTemplateLiteralLoose(["\n > span:before {\n border-color: ", ";\n }\n > input:checked + span {\n background-color: ", ";\n }\n "])), function (_ref9) {
15617
15724
  var theme = _ref9.theme;
15618
15725
  return theme.colors.warningRed;
15726
+ }, function (_ref10) {
15727
+ var theme = _ref10.theme;
15728
+ return theme.colors.warningRed;
15619
15729
  });
15620
- }, function (_ref10) {
15621
- var theme = _ref10.theme;
15622
- return theme.spacings.s4;
15623
15730
  }, function (_ref11) {
15624
15731
  var theme = _ref11.theme;
15625
- return theme.colors.warningGray;
15732
+ return theme.spacings.s4;
15626
15733
  }, function (_ref12) {
15627
15734
  var theme = _ref12.theme;
15628
- return theme.getColor('black', 10);
15735
+ return theme.colors.warningGray;
15629
15736
  }, function (_ref13) {
15630
15737
  var theme = _ref13.theme;
15631
- return theme.spacings.s4;
15738
+ return theme.getColor('black', 10);
15632
15739
  }, function (_ref14) {
15633
15740
  var theme = _ref14.theme;
15634
15741
  return theme.spacings.s4;
15635
15742
  }, function (_ref15) {
15636
15743
  var theme = _ref15.theme;
15637
- return theme.colors.white;
15744
+ return theme.spacings.s4;
15638
15745
  }, function (_ref16) {
15639
15746
  var theme = _ref16.theme;
15747
+ return theme.colors.white;
15748
+ }, function (_ref17) {
15749
+ var theme = _ref17.theme;
15640
15750
  return theme.spacings.s4;
15641
15751
  });
15642
15752
 
15643
15753
  var Switch = function Switch(props) {
15644
- var disabled = props.disabled,
15645
- required = props.required,
15646
- invalid = props.invalid;
15754
+ var _Form$useContext = Form.useContext(props.name),
15755
+ isRequired = _Form$useContext.isRequired,
15756
+ isInvalid = _Form$useContext.isInvalid,
15757
+ isViewMode = _Form$useContext.isViewMode,
15758
+ isDisabled = _Form$useContext.isDisabled;
15759
+
15760
+ var invalid = isInvalid() || props.invalid;
15761
+ var required = isRequired() || props.required;
15762
+ var disabled = isDisabled() || props.disabled;
15763
+ var viewMode = isViewMode() || props.viewMode;
15647
15764
  var label = isObject(props.label) ? props.label : {
15648
15765
  label: props.label
15649
15766
  };
15650
- var htmlProps = filterObject(props, ['label', 'invalid', 'required', 'htmlDisabled', 'labelProps']);
15767
+ var htmlProps = filterObject(props, ['label', 'invalid', 'required', 'htmlDisabled', 'labelProps', 'viewMode']);
15651
15768
  htmlProps.disabled = props.disabled || props.htmlDisabled;
15652
15769
  return React__default.createElement(Label$4, Object.assign({}, props.labelProps || {}, {
15653
- disabled: disabled ? 1 : 0,
15654
- invalid: invalid ? 1 : 0
15770
+ "$disabled": disabled,
15771
+ "$invalid": invalid
15655
15772
  }), label.label && React__default.createElement(LabelContainer$3, {
15656
- required: required ? 1 : 0
15657
- }, label.label), label.before && React__default.createElement(LabelContainer$3, null, label.before), React__default.createElement("input", Object.assign({}, htmlProps, {
15773
+ "$required": required,
15774
+ "$viewMode": viewMode
15775
+ }, label.label), viewMode ? React__default.createElement(LabelContainer$3, {
15776
+ "$keepSpace": true,
15777
+ children: label[props.checked ? 'after' : 'before']
15778
+ }) : React__default.createElement(React__default.Fragment, null, label.before && React__default.createElement(LabelContainer$3, {
15779
+ children: label.before
15780
+ }), React__default.createElement("input", Object.assign({}, htmlProps, {
15658
15781
  type: 'checkbox'
15659
- })), React__default.createElement("span", null), label.after && React__default.createElement(LabelContainer$3, null, label.after));
15782
+ })), React__default.createElement("span", null), label.after && React__default.createElement(LabelContainer$3, {
15783
+ children: label.after
15784
+ })));
15660
15785
  };
15661
15786
 
15662
15787
  var _templateObject$t, _templateObject2$n;
@@ -15730,20 +15855,27 @@ var NavBar = styled__default.div(_templateObject$x || (_templateObject$x = _tagg
15730
15855
  return theme.colors.blue;
15731
15856
  });
15732
15857
 
15733
- var _templateObject$y, _templateObject2$q, _templateObject3$l;
15734
- var Label$5 = styled__default.label(_templateObject$y || (_templateObject$y = _taggedTemplateLiteralLoose(["\n ", ";\n line-height: 19px;\n\n width: ", ";\n box-sizing: border-box;\n display: block;\n position: relative;\n\n ", "\n\n > ", " {\n ", "\n }\n\n :not(:hover) ", " {\n height: 0;\n }\n"])), function (_ref) {
15858
+ var _templateObject$y, _templateObject2$q, _templateObject3$l, _templateObject4$d, _templateObject5$b;
15859
+ var Label$5 = styled__default.label(_templateObject$y || (_templateObject$y = _taggedTemplateLiteralLoose(["\n ", ";\n line-height: 17px;\n\n ", ";\n box-sizing: border-box;\n display: block;\n position: relative;\n\n ", "\n\n > ", " {\n ", "\n }\n\n :not(:hover) ", " {\n height: 0;\n }\n"])), function (_ref) {
15735
15860
  var theme = _ref.theme;
15736
15861
  return theme.useTypography('p');
15737
15862
  }, function (_ref2) {
15738
- var width = _ref2.width;
15739
- return width || '100%';
15863
+ var width = _ref2.width,
15864
+ viewMode = _ref2.$viewMode;
15865
+
15866
+ if (width) {
15867
+ return styled.css(_templateObject2$q || (_templateObject2$q = _taggedTemplateLiteralLoose(["\n width: ", ";\n "])), width);
15868
+ }
15869
+
15870
+ return !viewMode && styled.css(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteralLoose(["\n width: 100%;\n "])));
15740
15871
  }, function (_ref3) {
15741
- var disabled = _ref3.disabled;
15872
+ var disabled = _ref3.$disabled;
15742
15873
  if (!disabled) return;
15743
- return styled.css(_templateObject2$q || (_templateObject2$q = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
15874
+ return styled.css(_templateObject4$d || (_templateObject4$d = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
15744
15875
  }, LabelContainer$4, function (_ref4) {
15745
- var required = _ref4.required;
15746
- return required && styled.css(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
15876
+ var required = _ref4.$required,
15877
+ viewMode = _ref4.$viewMode;
15878
+ return required && !viewMode && styled.css(_templateObject5$b || (_templateObject5$b = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
15747
15879
  }, NavBar);
15748
15880
 
15749
15881
  var _templateObject$z, _templateObject2$r;
@@ -15765,15 +15897,18 @@ var LabelsContainer = styled__default.div(_templateObject$B || (_templateObject$
15765
15897
  var position = _ref.position;
15766
15898
 
15767
15899
  if (position === 'bottom') {
15768
- return styled.css(_templateObject2$s || (_templateObject2$s = _taggedTemplateLiteralLoose(["\n ", " {\n flex-direction: column-reverse;\n }\n\n ", " {\n :after {\n bottom: calc(100% + 10px);\n }\n }\n\n ", " {\n align-items: start;\n }\n "])), InputContainer$1, Marker, MinMaxLabelContainer);
15900
+ return styled.css(_templateObject2$s || (_templateObject2$s = _taggedTemplateLiteralLoose(["\n ", " {\n flex-direction: column-reverse;\n }\n\n ", " {\n :after {\n bottom: calc(100% + 9px);\n }\n }\n\n ", " {\n align-items: start;\n }\n "])), InputContainer$1, Marker, MinMaxLabelContainer);
15769
15901
  }
15770
15902
 
15771
- return styled.css(_templateObject3$m || (_templateObject3$m = _taggedTemplateLiteralLoose(["\n ", " {\n flex-direction: column;\n }\n\n ", " {\n :after {\n top: calc(100% + 9px);\n }\n }\n\n ", " {\n align-items: end;\n }\n "])), InputContainer$1, Marker, MinMaxLabelContainer);
15903
+ return styled.css(_templateObject3$m || (_templateObject3$m = _taggedTemplateLiteralLoose(["\n ", " {\n flex-direction: column;\n }\n\n ", " {\n :after {\n top: calc(100% + 10px);\n }\n }\n\n ", " {\n align-items: end;\n }\n "])), InputContainer$1, Marker, MinMaxLabelContainer);
15772
15904
  });
15773
15905
 
15774
15906
  var _templateObject$C;
15775
15907
  var MarkersContainer = styled__default.div(_templateObject$C || (_templateObject$C = _taggedTemplateLiteralLoose(["\n height: 17px;\n"])));
15776
15908
 
15909
+ var _templateObject$D;
15910
+ var ViewModeContainer$1 = styled__default.div(_templateObject$D || (_templateObject$D = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n"])));
15911
+
15777
15912
  var getMarkers = function getMarkers(props) {
15778
15913
  if (props.markers && 'markers' in props.markers) {
15779
15914
  var _strict = props.markers.strict;
@@ -15872,12 +16007,20 @@ var Range = React__default.forwardRef(function (props, ref) {
15872
16007
  var label = props.label,
15873
16008
  minLabel = props.minLabel,
15874
16009
  maxLabel = props.maxLabel,
15875
- invalid = props.invalid,
15876
- disabled = props.disabled,
15877
- required = props.required,
15878
16010
  width = props.width,
15879
16011
  setValue = props.setValue;
15880
16012
 
16013
+ var _Form$useContext = Form.useContext(props.name),
16014
+ isRequired = _Form$useContext.isRequired,
16015
+ isInvalid = _Form$useContext.isInvalid,
16016
+ isViewMode = _Form$useContext.isViewMode,
16017
+ isDisabled = _Form$useContext.isDisabled;
16018
+
16019
+ var invalid = isInvalid() || props.invalid;
16020
+ var required = isRequired() || props.required;
16021
+ var disabled = isDisabled() || props.disabled;
16022
+ var viewMode = isViewMode() || props.viewMode;
16023
+
15881
16024
  var _getMarkers = getMarkers(props),
15882
16025
  min = _getMarkers.min,
15883
16026
  max = _getMarkers.max,
@@ -15968,12 +16111,15 @@ var Range = React__default.forwardRef(function (props, ref) {
15968
16111
  });
15969
16112
  var bulletSize = strict === true ? 22 : 14;
15970
16113
  return React__default.createElement(Label$5, {
15971
- required: required ? 1 : 0,
15972
- disabled: disabled ? 1 : 0,
16114
+ "$required": required,
16115
+ "$disabled": disabled,
16116
+ "$viewMode": viewMode,
15973
16117
  width: width
15974
16118
  }, label && React__default.createElement("div", {
15975
16119
  children: label
15976
- }), React__default.createElement(LabelsContainer, {
16120
+ }), viewMode ? React__default.createElement(ViewModeContainer$1, {
16121
+ children: currentValue
16122
+ }) : React__default.createElement(LabelsContainer, {
15977
16123
  position: position
15978
16124
  }, minLabel && React__default.createElement(MinMaxLabelContainer, null, minLabel), React__default.createElement(InputContainer$1, {
15979
16125
  invalid: invalid ? 1 : 0
@@ -16027,8 +16173,8 @@ var Range = React__default.forwardRef(function (props, ref) {
16027
16173
  });
16028
16174
  Range.displayName = 'input';
16029
16175
 
16030
- var _templateObject$D, _templateObject2$t, _templateObject3$n, _templateObject4$d, _templateObject5$b, _templateObject6$a, _templateObject7$a;
16031
- var LabelContainer$5 = styled__default.div(_templateObject$D || (_templateObject$D = _taggedTemplateLiteralLoose(["\n ", "\n display: flex;\n align-items: center;\n"])), function (_ref) {
16176
+ var _templateObject$E, _templateObject2$t, _templateObject3$n, _templateObject4$e, _templateObject5$c, _templateObject6$a, _templateObject7$a;
16177
+ var LabelContainer$5 = styled__default.div(_templateObject$E || (_templateObject$E = _taggedTemplateLiteralLoose(["\n ", "\n display: flex;\n align-items: center;\n"])), function (_ref) {
16032
16178
  var theme = _ref.theme;
16033
16179
  return theme.useTypography('p');
16034
16180
  });
@@ -16042,11 +16188,11 @@ var Label$6 = styled__default.label(_templateObject2$t || (_templateObject2$t =
16042
16188
  return styled.css(_templateObject3$n || (_templateObject3$n = _taggedTemplateLiteralLoose(["\n > span {\n cursor: pointer;\n }\n "])));
16043
16189
  }
16044
16190
 
16045
- return styled.css(_templateObject4$d || (_templateObject4$d = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
16191
+ return styled.css(_templateObject4$e || (_templateObject4$e = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
16046
16192
  }, function (_ref4) {
16047
16193
  var required = _ref4.required;
16048
16194
  if (!required) return;
16049
- return styled.css(_templateObject5$b || (_templateObject5$b = _taggedTemplateLiteralLoose(["\n > ", " {\n :after {\n content: ' *';\n }\n }\n "])), LabelContainer$5);
16195
+ return styled.css(_templateObject5$c || (_templateObject5$c = _taggedTemplateLiteralLoose(["\n > ", " {\n :after {\n content: ' *';\n }\n }\n "])), LabelContainer$5);
16050
16196
  }, function (_ref5) {
16051
16197
  var invalid = _ref5.invalid;
16052
16198
 
@@ -16270,8 +16416,8 @@ var parse = function parse(value) {
16270
16416
  });
16271
16417
  };
16272
16418
 
16273
- var _templateObject$E, _templateObject2$u, _templateObject3$o, _templateObject4$e, _templateObject5$c, _templateObject6$b, _templateObject7$b, _templateObject8$8, _templateObject9$8, _templateObject10$7, _templateObject11$3, _templateObject12$2;
16274
- var RelativeContainer$5 = styled__default.div(_templateObject$E || (_templateObject$E = _taggedTemplateLiteralLoose(["\n position: relative;\n user-select: none;\n min-width: 220px;\n\n > input,\n > label > input {\n color: transparent;\n background-color: transparent;\n width: 1px;\n height: 1px;\n position: absolute;\n left: 0;\n bottom: 0;\n border: 0;\n padding: 0;\n overflow: hidden;\n outline: none;\n box-shadow: none;\n }\n"])));
16419
+ var _templateObject$F, _templateObject2$u, _templateObject3$o, _templateObject4$f, _templateObject5$d, _templateObject6$b, _templateObject7$b, _templateObject8$9, _templateObject9$8, _templateObject10$7, _templateObject11$3, _templateObject12$2;
16420
+ var RelativeContainer$5 = styled__default.div(_templateObject$F || (_templateObject$F = _taggedTemplateLiteralLoose(["\n position: relative;\n user-select: none;\n min-width: 220px;\n\n > input,\n > label > input {\n color: transparent;\n background-color: transparent;\n width: 1px;\n height: 1px;\n position: absolute;\n left: 0;\n bottom: 0;\n border: 0;\n padding: 0;\n overflow: hidden;\n outline: none;\n box-shadow: none;\n }\n"])));
16275
16421
  var LabelContainer$6 = styled__default.div(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 17px;\n flex: 1;\n\n :first-child {\n text-align: left;\n }\n :not(:first-child) {\n text-align: center;\n }\n\n ", "\n\n ", ";\n"])), function (_ref) {
16276
16422
  var theme = _ref.theme;
16277
16423
  return theme.useTypography('p');
@@ -16285,9 +16431,9 @@ var LabelContainer$6 = styled__default.div(_templateObject2$u || (_templateObjec
16285
16431
  }, function (_ref4) {
16286
16432
  var onClick = _ref4.onClick;
16287
16433
  if (!onClick) return;
16288
- return styled.css(_templateObject4$e || (_templateObject4$e = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
16434
+ return styled.css(_templateObject4$f || (_templateObject4$f = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
16289
16435
  });
16290
- var Container$6 = styled__default.div(_templateObject5$c || (_templateObject5$c = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n border-radius: 4px;\n white-space: nowrap;\n gap: ", ";\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n\n width: 100%;\n\n ", ";\n\n ", "\n\n ", "\n"])), function (_ref5) {
16436
+ var Container$6 = styled__default.div(_templateObject5$d || (_templateObject5$d = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n border-radius: 4px;\n white-space: nowrap;\n gap: ", ";\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n\n width: 100%;\n\n ", ";\n\n ", "\n\n ", "\n"])), function (_ref5) {
16291
16437
  var theme = _ref5.theme;
16292
16438
  return theme.spacings.s1;
16293
16439
  }, function (_ref6) {
@@ -16313,7 +16459,7 @@ var Container$6 = styled__default.div(_templateObject5$c || (_templateObject5$c
16313
16459
  }, function (_ref10) {
16314
16460
  var disabled = _ref10.disabled;
16315
16461
  if (!disabled) return;
16316
- return styled.css(_templateObject8$8 || (_templateObject8$8 = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
16462
+ return styled.css(_templateObject8$9 || (_templateObject8$9 = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
16317
16463
  });
16318
16464
  var Button$4 = styled__default.button(_templateObject9$8 || (_templateObject9$8 = _taggedTemplateLiteralLoose(["\n display: flex;\n background-color: transparent;\n border: none;\n padding: 0;\n box-shadow: none;\n\n ", ";\n"])), function (_ref11) {
16319
16465
  var onClick = _ref11.onClick;
@@ -16558,8 +16704,8 @@ var DatePicker$1 = Object.assign(Component$1, {
16558
16704
  useDefaultDateIntervalState: useDefaultDateIntervalState
16559
16705
  });
16560
16706
 
16561
- var _templateObject$F;
16562
- var Input$3 = styled__default.input(_templateObject$F || (_templateObject$F = _taggedTemplateLiteralLoose(["\n ", ";\n\n color: ", ";\n\n line-height: 17px;\n\n ::placeholder {\n color: ", ";\n\n line-height: 17px;\n ", ";\n opacity: 1;\n }\n\n display: block;\n box-sizing: border-box;\n flex: 1;\n min-width: ", ";\n\n padding: calc(", " / 2) 0;\n\n box-shadow: none;\n outline: none;\n border: 1px solid transparent;\n"])), function (_ref) {
16707
+ var _templateObject$G;
16708
+ var Input$3 = styled__default.input(_templateObject$G || (_templateObject$G = _taggedTemplateLiteralLoose(["\n ", ";\n\n color: ", ";\n\n line-height: 17px;\n\n ::placeholder {\n color: ", ";\n\n line-height: 17px;\n ", ";\n opacity: 1;\n }\n\n display: block;\n box-sizing: border-box;\n flex: 1;\n min-width: ", ";\n\n padding: calc(", " / 2) 0;\n\n box-shadow: none;\n outline: none;\n border: 1px solid transparent;\n"])), function (_ref) {
16563
16709
  var theme = _ref.theme;
16564
16710
  return theme.useTypography('p');
16565
16711
  }, function (_ref2) {
@@ -16622,8 +16768,8 @@ var Input$4 = React__default.forwardRef(function (props, ref) {
16622
16768
  });
16623
16769
  Input$4.displayName = 'Input';
16624
16770
 
16625
- var _templateObject$G, _templateObject2$v;
16626
- var Label$7 = styled__default.div(_templateObject$G || (_templateObject$G = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-bottom: ", ";\n\n ", "\n"])), function (_ref) {
16771
+ var _templateObject$H, _templateObject2$v;
16772
+ var Label$7 = styled__default.div(_templateObject$H || (_templateObject$H = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-bottom: ", ";\n\n ", "\n"])), function (_ref) {
16627
16773
  var theme = _ref.theme;
16628
16774
  return theme.spacings.s1;
16629
16775
  }, function (_ref2) {
@@ -16636,8 +16782,8 @@ var Label$8 = function Label(props) {
16636
16782
  return props.children ? React__default.createElement(Label$7, Object.assign({}, props)) : null;
16637
16783
  };
16638
16784
 
16639
- var _templateObject$H;
16640
- var Tag = styled__default.div(_templateObject$H || (_templateObject$H = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 17px;\n\n background-color: ", ";\n color: ", ";\n padding: calc(", " / 2);\n\n border-style: solid;\n border-width: 1px;\n border-color: ", ";\n display: flex;\n align-items: center;\n gap: ", ";\n\n > div:last-child {\n cursor: pointer;\n }\n"])), function (_ref) {
16785
+ var _templateObject$I;
16786
+ var Tag = styled__default.div(_templateObject$I || (_templateObject$I = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 17px;\n\n background-color: ", ";\n color: ", ";\n padding: calc(", " / 2);\n\n border-style: solid;\n border-width: 1px;\n border-color: ", ";\n display: flex;\n align-items: center;\n gap: ", ";\n\n > div:last-child {\n cursor: pointer;\n }\n"])), function (_ref) {
16641
16787
  var theme = _ref.theme;
16642
16788
  return theme.useTypography('p');
16643
16789
  }, function (_ref2) {
@@ -16670,8 +16816,8 @@ var Tag$1 = function Tag$1(props) {
16670
16816
  })));
16671
16817
  };
16672
16818
 
16673
- var _templateObject$I, _templateObject2$w, _templateObject3$p;
16674
- var Label$9 = styled__default.label(_templateObject$I || (_templateObject$I = _taggedTemplateLiteralLoose(["\n ", ";\n\n color: ", ";\n\n width: ", ";\n box-sizing: border-box;\n position: relative;\n display: block;\n\n ", "\n"])), function (_ref) {
16819
+ var _templateObject$J, _templateObject2$w, _templateObject3$p;
16820
+ var Label$9 = styled__default.label(_templateObject$J || (_templateObject$J = _taggedTemplateLiteralLoose(["\n ", ";\n\n color: ", ";\n\n width: ", ";\n box-sizing: border-box;\n position: relative;\n display: block;\n\n ", "\n"])), function (_ref) {
16675
16821
  var theme = _ref.theme;
16676
16822
  return theme.useTypography('p');
16677
16823
  }, function (_ref2) {
@@ -16765,8 +16911,8 @@ var Tags = React__default.forwardRef(function (props, ref) {
16765
16911
  });
16766
16912
  Tags.displayName = 'Tags';
16767
16913
 
16768
- var _templateObject$J;
16769
- var RelativeContainer$6 = styled__default.div(_templateObject$J || (_templateObject$J = _taggedTemplateLiteralLoose(["\n position: relative;\n"])));
16914
+ var _templateObject$K;
16915
+ var RelativeContainer$6 = styled__default.div(_templateObject$K || (_templateObject$K = _taggedTemplateLiteralLoose(["\n position: relative;\n"])));
16770
16916
 
16771
16917
  var isLeapYear$1 = function isLeapYear(year) {
16772
16918
  if (year % 4 !== 0) return false;else if (year % 100 !== 0) return true;else if (year % 400 !== 0) return false;else return true;
@@ -17167,8 +17313,8 @@ var Input$5 = Object.assign(Component$2, {
17167
17313
  getPhoneDetails: Phone.getPhoneDetails
17168
17314
  });
17169
17315
 
17170
- var _templateObject$K, _templateObject2$x, _templateObject3$q, _templateObject4$f;
17171
- var Container$7 = styled__default(AbsoluteContainer)(_templateObject$K || (_templateObject$K = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n\n > div {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n\n > div {\n padding: ", ";\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n }\n"])), function (_ref) {
17316
+ var _templateObject$L, _templateObject2$x, _templateObject3$q, _templateObject4$g;
17317
+ var Container$7 = styled__default(AbsoluteContainer)(_templateObject$L || (_templateObject$L = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n\n > div {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n\n > div {\n padding: ", ";\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n }\n"])), function (_ref) {
17172
17318
  var theme = _ref.theme;
17173
17319
  return theme.colors.white;
17174
17320
  }, function (_ref2) {
@@ -17191,7 +17337,7 @@ var Title = styled__default.div(_templateObject3$q || (_templateObject3$q = _tag
17191
17337
  var getColor = _ref6.theme.getColor;
17192
17338
  return getColor('greyishBlue', 50);
17193
17339
  });
17194
- var Item = styled__default.div(_templateObject4$f || (_templateObject4$f = _taggedTemplateLiteralLoose(["\n padding: ", ";\n display: flex;\n align-items: center;\n\n :not(:last-child) {\n border-bottom: 1px solid\n ", ";\n }\n\n > div:nth-child(1) {\n flex: 1;\n\n > div:nth-child(1) {\n ", "\n color: ", ";\n }\n > div:nth-child(2) {\n ", "\n }\n }\n > div:nth-child(2) {\n display: flex;\n align-items: center;\n cursor: pointer;\n }\n"])), function (_ref7) {
17340
+ var Item = styled__default.div(_templateObject4$g || (_templateObject4$g = _taggedTemplateLiteralLoose(["\n padding: ", ";\n display: flex;\n align-items: center;\n\n :not(:last-child) {\n border-bottom: 1px solid\n ", ";\n }\n\n > div:nth-child(1) {\n flex: 1;\n\n > div:nth-child(1) {\n ", "\n color: ", ";\n }\n > div:nth-child(2) {\n ", "\n }\n }\n > div:nth-child(2) {\n display: flex;\n align-items: center;\n cursor: pointer;\n }\n"])), function (_ref7) {
17195
17341
  var s1 = _ref7.theme.spacings.s1;
17196
17342
  return s1 + " " + s1 + " " + s1 + " 0";
17197
17343
  }, function (_ref8) {
@@ -17305,8 +17451,8 @@ var AppliedFiltersMenu = function AppliedFiltersMenu(props) {
17305
17451
  }))));
17306
17452
  };
17307
17453
 
17308
- var _templateObject$L, _templateObject2$y, _templateObject3$r;
17309
- var Container$8 = styled__default.div(_templateObject$L || (_templateObject$L = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: ", ";\n align-items: center;\n color: ", ";\n\n ", "\n"])), function (_ref) {
17454
+ var _templateObject$M, _templateObject2$y, _templateObject3$r;
17455
+ var Container$8 = styled__default.div(_templateObject$M || (_templateObject$M = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: ", ";\n align-items: center;\n color: ", ";\n\n ", "\n"])), function (_ref) {
17310
17456
  var theme = _ref.theme,
17311
17457
  gap = _ref.$gap;
17312
17458
  return gap === '0' ? '0' : theme.spacings[gap];
@@ -17372,21 +17518,21 @@ var AppliedFilters = Object.assign(function (props) {
17372
17518
  Menu: AppliedFiltersMenu
17373
17519
  });
17374
17520
 
17375
- var _templateObject$M, _templateObject2$z, _templateObject3$s, _templateObject4$g, _templateObject5$d, _templateObject6$c, _templateObject7$c, _templateObject8$9, _templateObject9$9, _templateObject10$8;
17376
- var Container$9 = styled__default.div(_templateObject$M || (_templateObject$M = _taggedTemplateLiteralLoose(["\n width: 100%;\n background: #fff;\n border: 1px solid #d4d4d5;\n border-radius: 4px;\n border-left-width: 5px;\n padding: 14px;\n ", "\n ", "\n ", "\n ", "\n\n ", "\n ", "\n ", "\n\n ", "\n ", "\n"])), function (props) {
17521
+ var _templateObject$N, _templateObject2$z, _templateObject3$s, _templateObject4$h, _templateObject5$e, _templateObject6$c, _templateObject7$c, _templateObject8$a, _templateObject9$9, _templateObject10$8;
17522
+ var Container$9 = styled__default.div(_templateObject$N || (_templateObject$N = _taggedTemplateLiteralLoose(["\n width: 100%;\n background: #fff;\n border: 1px solid #d4d4d5;\n border-radius: 4px;\n border-left-width: 5px;\n padding: 14px;\n ", "\n ", "\n ", "\n ", "\n\n ", "\n ", "\n ", "\n\n ", "\n ", "\n"])), function (props) {
17377
17523
  return props.size === 'mini' && styled.css(_templateObject2$z || (_templateObject2$z = _taggedTemplateLiteralLoose(["\n width: 394px;\n height: 99px;\n "])));
17378
17524
  }, function (props) {
17379
17525
  return props.size === 'small' && styled.css(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteralLoose(["\n width: 394px;\n height: 131px;\n "])));
17380
17526
  }, function (props) {
17381
- return props.size === 'medium' && styled.css(_templateObject4$g || (_templateObject4$g = _taggedTemplateLiteralLoose(["\n width: 394px;\n "])));
17527
+ return props.size === 'medium' && styled.css(_templateObject4$h || (_templateObject4$h = _taggedTemplateLiteralLoose(["\n width: 394px;\n "])));
17382
17528
  }, function (props) {
17383
- return props.size === 'big' && styled.css(_templateObject5$d || (_templateObject5$d = _taggedTemplateLiteralLoose(["\n width: 414px;\n height: 324px;\n "])));
17529
+ return props.size === 'big' && styled.css(_templateObject5$e || (_templateObject5$e = _taggedTemplateLiteralLoose(["\n width: 414px;\n height: 324px;\n "])));
17384
17530
  }, function (props) {
17385
17531
  return props.borderType === 'info' && styled.css(_templateObject6$c || (_templateObject6$c = _taggedTemplateLiteralLoose(["\n border-left-color: #4d6dbe;\n "])));
17386
17532
  }, function (props) {
17387
17533
  return props.borderType === 'success' && styled.css(_templateObject7$c || (_templateObject7$c = _taggedTemplateLiteralLoose(["\n border-left-color: #66bb6a;\n "])));
17388
17534
  }, function (props) {
17389
- return props.borderType === 'warning' && styled.css(_templateObject8$9 || (_templateObject8$9 = _taggedTemplateLiteralLoose(["\n border-left-color: #fbcb01;\n "])));
17535
+ return props.borderType === 'warning' && styled.css(_templateObject8$a || (_templateObject8$a = _taggedTemplateLiteralLoose(["\n border-left-color: #fbcb01;\n "])));
17390
17536
  }, function (props) {
17391
17537
  return props.borderType === 'danger' && styled.css(_templateObject9$9 || (_templateObject9$9 = _taggedTemplateLiteralLoose(["\n border-left-color: #e23851;\n "])));
17392
17538
  }, function (props) {
@@ -17402,8 +17548,8 @@ var Card = function Card(_ref) {
17402
17548
  return React__default.createElement(Container$9, Object.assign({}, rest), children);
17403
17549
  };
17404
17550
 
17405
- var _templateObject$N;
17406
- var Container$a = styled__default.div(_templateObject$N || (_templateObject$N = _taggedTemplateLiteralLoose(["\n padding: ", ";\n\n display: flex;\n flex-direction: column;\n gap: ", ";\n\n > div:nth-child(1) {\n ", "\n color: ", ";\n }\n"])), function (_ref) {
17551
+ var _templateObject$O;
17552
+ var Container$a = styled__default.div(_templateObject$O || (_templateObject$O = _taggedTemplateLiteralLoose(["\n padding: ", ";\n\n display: flex;\n flex-direction: column;\n gap: ", ";\n\n > div:nth-child(1) {\n ", "\n color: ", ";\n }\n"])), function (_ref) {
17407
17553
  var s1 = _ref.theme.spacings.s1;
17408
17554
  return "0 0 " + s1 + " " + s1;
17409
17555
  }, function (_ref2) {
@@ -17464,8 +17610,8 @@ var Header$4 = function Header(props) {
17464
17610
  }));
17465
17611
  };
17466
17612
 
17467
- var _templateObject$O;
17468
- var EmptyMessage = styled__default.div(_templateObject$O || (_templateObject$O = _taggedTemplateLiteralLoose(["\n padding: 0 20px;\n color: ", ";\n text-align: center;\n margin: auto;\n width: 100%;\n"])), function (_ref) {
17613
+ var _templateObject$P;
17614
+ var EmptyMessage = styled__default.div(_templateObject$P || (_templateObject$P = _taggedTemplateLiteralLoose(["\n padding: 0 20px;\n color: ", ";\n text-align: center;\n margin: auto;\n width: 100%;\n"])), function (_ref) {
17469
17615
  var lightGrey = _ref.theme.colors.lightGrey;
17470
17616
  return lightGrey;
17471
17617
  });
@@ -17806,14 +17952,14 @@ var Filters = Object.assign(function (props) {
17806
17952
  Menu: FiltersMenu
17807
17953
  });
17808
17954
 
17809
- var Provider$2 = React__default.createContext({
17955
+ var Provider$3 = React__default.createContext({
17810
17956
  cols: {}
17811
17957
  });
17812
- var useContext$2 = function useContext() {
17813
- return React__default.useContext(Provider$2);
17958
+ var useContext$3 = function useContext() {
17959
+ return React__default.useContext(Provider$3);
17814
17960
  };
17815
17961
 
17816
- var _templateObject$P, _templateObject2$A, _templateObject3$t, _templateObject4$h, _templateObject5$e, _templateObject6$d, _templateObject7$d, _templateObject8$a, _templateObject9$a, _templateObject10$9, _templateObject11$4, _templateObject12$3, _templateObject13$2, _templateObject14$2, _templateObject15$2;
17962
+ var _templateObject$Q, _templateObject2$A, _templateObject3$t, _templateObject4$i, _templateObject5$f, _templateObject6$d, _templateObject7$d, _templateObject8$b, _templateObject9$a, _templateObject10$9, _templateObject11$4, _templateObject12$3, _templateObject13$2, _templateObject14$2, _templateObject15$2;
17817
17963
  var aligns = {
17818
17964
  self: {
17819
17965
  horizontal: {
@@ -17842,7 +17988,7 @@ var aligns = {
17842
17988
  }
17843
17989
  }
17844
17990
  };
17845
- var Col = styled__default.div(_templateObject$P || (_templateObject$P = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n position: relative;\n\n ", "\n\n padding: ", ";\n\n ", "\n\n ", "\n\n ", "\n\n ", ";\n\n ", ";\n\n ", "\n\n ", "\n"])), function (_ref) {
17991
+ var Col = styled__default.div(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n position: relative;\n\n ", "\n\n padding: ", ";\n\n ", "\n\n ", "\n\n ", "\n\n ", ";\n\n ", ";\n\n ", "\n\n ", "\n"])), function (_ref) {
17846
17992
  var width = _ref.width;
17847
17993
 
17848
17994
  if (width === undefined) {
@@ -17852,7 +17998,7 @@ var Col = styled__default.div(_templateObject$P || (_templateObject$P = _taggedT
17852
17998
  }
17853
17999
 
17854
18000
  var w = parseFloat(width) * 100 / 12;
17855
- return styled.css(_templateObject4$h || (_templateObject4$h = _taggedTemplateLiteralLoose(["\n flex: 0 0 ", "%;\n max-width: ", "%;\n width: 100%;\n "])), w, w);
18001
+ return styled.css(_templateObject4$i || (_templateObject4$i = _taggedTemplateLiteralLoose(["\n flex: 0 0 ", "%;\n max-width: ", "%;\n width: 100%;\n "])), w, w);
17856
18002
  }, function (_ref2) {
17857
18003
  var spacing = _ref2.spacing;
17858
18004
  var padding = getSpacings(spacing === undefined ? 's1' : spacing);
@@ -17860,7 +18006,7 @@ var Col = styled__default.div(_templateObject$P || (_templateObject$P = _taggedT
17860
18006
  }, function (_ref3) {
17861
18007
  var spacingAround = _ref3.spacingAround;
17862
18008
  if (spacingAround) return;
17863
- return styled.css(_templateObject5$e || (_templateObject5$e = _taggedTemplateLiteralLoose(["\n :first-child {\n padding-left: 0;\n }\n :last-child {\n padding-right: 0;\n }\n "])));
18009
+ return styled.css(_templateObject5$f || (_templateObject5$f = _taggedTemplateLiteralLoose(["\n :first-child {\n padding-left: 0;\n }\n :last-child {\n padding-right: 0;\n }\n "])));
17864
18010
  }, function (_ref4) {
17865
18011
  var align = _ref4.align;
17866
18012
  if (align === undefined) return;
@@ -17884,7 +18030,7 @@ var Col = styled__default.div(_templateObject$P || (_templateObject$P = _taggedT
17884
18030
  if (align.content.horizontal !== undefined) {
17885
18031
  var _v2 = align.content.horizontal;
17886
18032
  var _a2 = aligns.content.horizontal;
17887
- styles.push(styled.css(_templateObject8$a || (_templateObject8$a = _taggedTemplateLiteralLoose(["\n justify-content: ", ";\n "])), _a2[_v2]));
18033
+ styles.push(styled.css(_templateObject8$b || (_templateObject8$b = _taggedTemplateLiteralLoose(["\n justify-content: ", ";\n "])), _a2[_v2]));
17888
18034
  }
17889
18035
 
17890
18036
  if (align.content.vertical !== undefined) {
@@ -17931,7 +18077,7 @@ var Col = styled__default.div(_templateObject$P || (_templateObject$P = _taggedT
17931
18077
  });
17932
18078
 
17933
18079
  var Col$1 = React__default.forwardRef(function (props, ref) {
17934
- var context = useContext$2();
18080
+ var context = useContext$3();
17935
18081
 
17936
18082
  var _props = _extends({}, context.cols, props);
17937
18083
 
@@ -17942,16 +18088,16 @@ var Col$1 = React__default.forwardRef(function (props, ref) {
17942
18088
  });
17943
18089
  Col$1.displayName = 'Col';
17944
18090
 
17945
- var Provider$3 = React__default.createContext({
18091
+ var Provider$4 = React__default.createContext({
17946
18092
  rows: {},
17947
18093
  cols: {}
17948
18094
  });
17949
- var useContext$3 = function useContext() {
17950
- return React__default.useContext(Provider$3);
18095
+ var useContext$4 = function useContext() {
18096
+ return React__default.useContext(Provider$4);
17951
18097
  };
17952
18098
 
17953
- var _templateObject$Q, _templateObject2$B, _templateObject3$u;
17954
- var Grid = styled__default.div(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n\n ", "\n\n ", "\n"])), function (_ref) {
18099
+ var _templateObject$R, _templateObject2$B, _templateObject3$u;
18100
+ var Grid = styled__default.div(_templateObject$R || (_templateObject$R = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n\n ", "\n\n ", "\n"])), function (_ref) {
17955
18101
  var spacing = _ref.spacing;
17956
18102
  if (spacing === undefined) return;
17957
18103
  var padding = getSpacings(spacing);
@@ -17967,7 +18113,7 @@ var Grid$1 = React__default.forwardRef(function (props, ref) {
17967
18113
  var cols = props.cols || {};
17968
18114
  var rows = props.rows || {};
17969
18115
  var gridProps = filterObject(props, ['cols', 'rows']);
17970
- return React__default.createElement(Provider$3.Provider, {
18116
+ return React__default.createElement(Provider$4.Provider, {
17971
18117
  value: {
17972
18118
  rows: rows,
17973
18119
  cols: cols
@@ -17978,7 +18124,7 @@ var Grid$1 = React__default.forwardRef(function (props, ref) {
17978
18124
  });
17979
18125
  Grid$1.displayName = 'Grid';
17980
18126
 
17981
- var _templateObject$R, _templateObject2$C, _templateObject3$v, _templateObject4$i, _templateObject5$f, _templateObject6$e, _templateObject7$e, _templateObject8$b, _templateObject9$b, _templateObject10$a;
18127
+ var _templateObject$S, _templateObject2$C, _templateObject3$v, _templateObject4$j, _templateObject5$g, _templateObject6$e, _templateObject7$e, _templateObject8$c, _templateObject9$b, _templateObject10$a;
17982
18128
  var horizontalAligns = {
17983
18129
  around: 'space-around',
17984
18130
  between: 'space-between',
@@ -17991,7 +18137,7 @@ var verticalAligns = {
17991
18137
  top: 'start',
17992
18138
  bottom: 'end'
17993
18139
  };
17994
- var Row = styled__default.div(_templateObject$R || (_templateObject$R = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n color: ", ";\n\n ", "\n\n ", "\n"])), function (_ref) {
18140
+ var Row = styled__default.div(_templateObject$S || (_templateObject$S = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n color: ", ";\n\n ", "\n\n ", "\n"])), function (_ref) {
17995
18141
  var spacing = _ref.spacing;
17996
18142
  if (spacing === undefined) return;
17997
18143
  var padding = getSpacings(spacing);
@@ -18003,11 +18149,11 @@ var Row = styled__default.div(_templateObject$R || (_templateObject$R = _taggedT
18003
18149
  }, function (_ref3) {
18004
18150
  var horizontalAlign = _ref3.horizontalAlign;
18005
18151
  if (horizontalAlign === undefined) return;
18006
- return styled.css(_templateObject4$i || (_templateObject4$i = _taggedTemplateLiteralLoose(["\n justify-content: ", ";\n "])), horizontalAligns[horizontalAlign]);
18152
+ return styled.css(_templateObject4$j || (_templateObject4$j = _taggedTemplateLiteralLoose(["\n justify-content: ", ";\n "])), horizontalAligns[horizontalAlign]);
18007
18153
  }, function (_ref4) {
18008
18154
  var verticalAlign = _ref4.verticalAlign;
18009
18155
  if (verticalAlign === undefined) return;
18010
- return styled.css(_templateObject5$f || (_templateObject5$f = _taggedTemplateLiteralLoose(["\n align-items: ", ";\n "])), verticalAligns[verticalAlign]);
18156
+ return styled.css(_templateObject5$g || (_templateObject5$g = _taggedTemplateLiteralLoose(["\n align-items: ", ";\n "])), verticalAligns[verticalAlign]);
18011
18157
  }, function (_ref5) {
18012
18158
  var striped = _ref5.striped,
18013
18159
  backgroundColor = _ref5.backgroundColor,
@@ -18035,7 +18181,7 @@ var Row = styled__default.div(_templateObject$R || (_templateObject$R = _taggedT
18035
18181
  even: theme.colors.white,
18036
18182
  odd: theme.colors.white
18037
18183
  });
18038
- return styled.css(_templateObject8$b || (_templateObject8$b = _taggedTemplateLiteralLoose(["\n :nth-child(even) {\n background-color: ", ";\n }\n :nth-child(odd) {\n background-color: ", ";\n }\n "])), colors.even, colors.odd);
18184
+ return styled.css(_templateObject8$c || (_templateObject8$c = _taggedTemplateLiteralLoose(["\n :nth-child(even) {\n background-color: ", ";\n }\n :nth-child(odd) {\n background-color: ", ";\n }\n "])), colors.even, colors.odd);
18039
18185
  }, function (_ref6) {
18040
18186
  var fontColor = _ref6.fontColor,
18041
18187
  theme = _ref6.theme;
@@ -18057,12 +18203,12 @@ var Row = styled__default.div(_templateObject$R || (_templateObject$R = _taggedT
18057
18203
  });
18058
18204
 
18059
18205
  var Row$1 = React__default.forwardRef(function (props, ref) {
18060
- var context = useContext$3();
18206
+ var context = useContext$4();
18061
18207
 
18062
18208
  var cols = _extends({}, context.cols, props.cols || {});
18063
18209
 
18064
18210
  var rowProps = filterObject(props, ['cols'], _extends({}, context.rows));
18065
- return React__default.createElement(Provider$2.Provider, {
18211
+ return React__default.createElement(Provider$3.Provider, {
18066
18212
  value: {
18067
18213
  cols: cols
18068
18214
  }
@@ -18109,8 +18255,8 @@ var widths = {
18109
18255
  default: '642.5px'
18110
18256
  };
18111
18257
 
18112
- var _templateObject$S, _templateObject2$D, _templateObject3$w, _templateObject4$j, _templateObject5$g, _templateObject6$f, _templateObject7$f, _templateObject8$c, _templateObject9$c, _templateObject10$b;
18113
- var Background = styled__default.div(_templateObject$S || (_templateObject$S = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n align-items: center;\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n backdrop-filter: blur(3px);\n background-color: ", ";\n"])), function (_ref) {
18258
+ var _templateObject$T, _templateObject2$D, _templateObject3$w, _templateObject4$k, _templateObject5$h, _templateObject6$f, _templateObject7$f, _templateObject8$d, _templateObject9$c, _templateObject10$b;
18259
+ var Background = styled__default.div(_templateObject$T || (_templateObject$T = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n align-items: center;\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n backdrop-filter: blur(3px);\n background-color: ", ";\n"])), function (_ref) {
18114
18260
  var theme = _ref.theme;
18115
18261
  return theme.getColor('black', 25);
18116
18262
  });
@@ -18120,9 +18266,9 @@ var Header$5 = styled__default.div(_templateObject3$w || (_templateObject3$w = _
18120
18266
  colors = _ref2$theme.colors,
18121
18267
  spacings = _ref2$theme.spacings,
18122
18268
  useTypography = _ref2$theme.useTypography;
18123
- return styled.css(_templateObject4$j || (_templateObject4$j = _taggedTemplateLiteralLoose(["\n border-bottom: 1px solid ", ";\n padding: ", ";\n\n ", "\n "])), colors.lightestGrey, spacings.s4, useTypography('h1'));
18269
+ return styled.css(_templateObject4$k || (_templateObject4$k = _taggedTemplateLiteralLoose(["\n border-bottom: 1px solid ", ";\n padding: ", ";\n\n ", "\n "])), colors.lightestGrey, spacings.s4, useTypography('h1'));
18124
18270
  });
18125
- var Footer$2 = styled__default.div(_templateObject5$g || (_templateObject5$g = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n ", "\n"])), function (_ref3) {
18271
+ var Footer$2 = styled__default.div(_templateObject5$h || (_templateObject5$h = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n ", "\n"])), function (_ref3) {
18126
18272
  var _ref3$theme = _ref3.theme,
18127
18273
  spacings = _ref3$theme.spacings,
18128
18274
  colors = _ref3$theme.colors;
@@ -18132,7 +18278,7 @@ var FooterMessage = styled__default.div(_templateObject7$f || (_templateObject7$
18132
18278
  var theme = _ref4.theme;
18133
18279
  return theme.getColor('darkBlue', 75);
18134
18280
  });
18135
- var FooterButtons = styled__default.div(_templateObject8$c || (_templateObject8$c = _taggedTemplateLiteralLoose(["\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: ", ";\n"])), function (_ref5) {
18281
+ var FooterButtons = styled__default.div(_templateObject8$d || (_templateObject8$d = _taggedTemplateLiteralLoose(["\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: ", ";\n"])), function (_ref5) {
18136
18282
  var theme = _ref5.theme;
18137
18283
  return theme.spacings.s3;
18138
18284
  });
@@ -18218,8 +18364,8 @@ var Modal = function Modal(props) {
18218
18364
  }))))));
18219
18365
  };
18220
18366
 
18221
- var _templateObject$T;
18222
- var Content$1 = styled__default.div(_templateObject$T || (_templateObject$T = _taggedTemplateLiteralLoose(["\n padding: ", ";\n"])), function (_ref) {
18367
+ var _templateObject$U;
18368
+ var Content$1 = styled__default.div(_templateObject$U || (_templateObject$U = _taggedTemplateLiteralLoose(["\n padding: ", ";\n"])), function (_ref) {
18223
18369
  var theme = _ref.theme;
18224
18370
  return theme.spacings.s5 + " " + theme.spacings.s4;
18225
18371
  });
@@ -18256,8 +18402,8 @@ var ConfirmDelete = function ConfirmDelete(props) {
18256
18402
  }, React__default.createElement(Content$1, null, children || content));
18257
18403
  };
18258
18404
 
18259
- var _templateObject$U;
18260
- var Content$2 = styled__default.div(_templateObject$U || (_templateObject$U = _taggedTemplateLiteralLoose(["\n padding: ", ";\n"])), function (_ref) {
18405
+ var _templateObject$V;
18406
+ var Content$2 = styled__default.div(_templateObject$V || (_templateObject$V = _taggedTemplateLiteralLoose(["\n padding: ", ";\n"])), function (_ref) {
18261
18407
  var theme = _ref.theme;
18262
18408
  return theme.spacings.s5 + " " + theme.spacings.s4;
18263
18409
  });
@@ -18297,8 +18443,8 @@ var ConfirmSuccess = function ConfirmSuccess(props) {
18297
18443
  }, React__default.createElement(Content$2, null, children || content));
18298
18444
  };
18299
18445
 
18300
- var _templateObject$V;
18301
- var Content$3 = styled__default.div(_templateObject$V || (_templateObject$V = _taggedTemplateLiteralLoose(["\n padding: ", ";\n"])), function (_ref) {
18446
+ var _templateObject$W;
18447
+ var Content$3 = styled__default.div(_templateObject$W || (_templateObject$W = _taggedTemplateLiteralLoose(["\n padding: ", ";\n"])), function (_ref) {
18302
18448
  var theme = _ref.theme;
18303
18449
  return theme.spacings.s5 + " " + theme.spacings.s4;
18304
18450
  });
@@ -18339,18 +18485,18 @@ var Modal$1 = Object.assign(Modal, {
18339
18485
  Audit: Audit
18340
18486
  });
18341
18487
 
18342
- var _templateObject$W, _templateObject2$E, _templateObject3$x, _templateObject4$k, _templateObject5$h, _templateObject6$g, _templateObject7$g, _templateObject8$d, _templateObject9$d, _templateObject10$c, _templateObject11$5;
18343
- var Container$c = styled__default.div(_templateObject$W || (_templateObject$W = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 300px;\n position: absolute;\n padding: 14px;\n"])));
18488
+ var _templateObject$X, _templateObject2$E, _templateObject3$x, _templateObject4$l, _templateObject5$i, _templateObject6$g, _templateObject7$g, _templateObject8$e, _templateObject9$d, _templateObject10$c, _templateObject11$5;
18489
+ var Container$c = styled__default.div(_templateObject$X || (_templateObject$X = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 300px;\n position: absolute;\n padding: 14px;\n"])));
18344
18490
  var Header$6 = styled__default.div(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteralLoose(["\n display: flex;\n"])));
18345
18491
  var HeaderImage = styled__default.div(_templateObject3$x || (_templateObject3$x = _taggedTemplateLiteralLoose(["\n width: 43px;\n height: 44px;\n background-color: #ebebeb;\n"])));
18346
- var HeaderContent = styled__default.div(_templateObject4$k || (_templateObject4$k = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n flex: 1;\n"])));
18347
- var MainContent = styled__default.div(_templateObject5$h || (_templateObject5$h = _taggedTemplateLiteralLoose(["\n margin-top: 8px;\n"])));
18492
+ var HeaderContent = styled__default.div(_templateObject4$l || (_templateObject4$l = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n flex: 1;\n"])));
18493
+ var MainContent = styled__default.div(_templateObject5$i || (_templateObject5$i = _taggedTemplateLiteralLoose(["\n margin-top: 8px;\n"])));
18348
18494
  var HeaderLine = styled__default.div(_templateObject6$g || (_templateObject6$g = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 14px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
18349
18495
  return props.height;
18350
18496
  }, function (props) {
18351
18497
  return props.size === 'mini' && styled.css(_templateObject7$g || (_templateObject7$g = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
18352
18498
  }, function (props) {
18353
- return props.size === 'small' && styled.css(_templateObject8$d || (_templateObject8$d = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
18499
+ return props.size === 'small' && styled.css(_templateObject8$e || (_templateObject8$e = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
18354
18500
  }, function (props) {
18355
18501
  return props.size === 'medium' && styled.css(_templateObject9$d || (_templateObject9$d = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
18356
18502
  }, function (props) {
@@ -18391,28 +18537,28 @@ var Template1 = function Template1(props) {
18391
18537
  })));
18392
18538
  };
18393
18539
 
18394
- var _templateObject$X, _templateObject2$F, _templateObject3$y, _templateObject4$l, _templateObject5$i;
18395
- var HeaderLine$1 = styled__default.div(_templateObject$X || (_templateObject$X = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 14px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
18540
+ var _templateObject$Y, _templateObject2$F, _templateObject3$y, _templateObject4$m, _templateObject5$j;
18541
+ var HeaderLine$1 = styled__default.div(_templateObject$Y || (_templateObject$Y = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 14px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
18396
18542
  return props.height;
18397
18543
  }, function (props) {
18398
18544
  return props.size === 'mini' && styled.css(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
18399
18545
  }, function (props) {
18400
18546
  return props.size === 'small' && styled.css(_templateObject3$y || (_templateObject3$y = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
18401
18547
  }, function (props) {
18402
- return props.size === 'medium' && styled.css(_templateObject4$l || (_templateObject4$l = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
18548
+ return props.size === 'medium' && styled.css(_templateObject4$m || (_templateObject4$m = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
18403
18549
  }, function (props) {
18404
- return props.size === 'large' && styled.css(_templateObject5$i || (_templateObject5$i = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
18550
+ return props.size === 'large' && styled.css(_templateObject5$j || (_templateObject5$j = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
18405
18551
  });
18406
18552
 
18407
- var _templateObject$Y, _templateObject2$G, _templateObject3$z, _templateObject4$m, _templateObject5$j, _templateObject6$h, _templateObject7$h, _templateObject8$e;
18408
- var Container$d = styled__default.div(_templateObject$Y || (_templateObject$Y = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-height: 100%;\n position: absolute;\n padding: 14px;\n"])));
18553
+ var _templateObject$Z, _templateObject2$G, _templateObject3$z, _templateObject4$n, _templateObject5$k, _templateObject6$h, _templateObject7$h, _templateObject8$f;
18554
+ var Container$d = styled__default.div(_templateObject$Z || (_templateObject$Z = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-height: 100%;\n position: absolute;\n padding: 14px;\n"])));
18409
18555
  var Template2Container = styled__default(Container$d)(_templateObject2$G || (_templateObject2$G = _taggedTemplateLiteralLoose(["\n background: #fff;\n border: 2px solid #ebebeb;\n"])));
18410
18556
  var Header$7 = styled__default.div(_templateObject3$z || (_templateObject3$z = _taggedTemplateLiteralLoose(["\n display: flex;\n"])));
18411
- var HeaderImage$1 = styled__default.div(_templateObject4$m || (_templateObject4$m = _taggedTemplateLiteralLoose(["\n width: 43px;\n height: 44px;\n background-color: #ebebeb;\n"])));
18412
- var HeaderContent$1 = styled__default.div(_templateObject5$j || (_templateObject5$j = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n flex: 1;\n"])));
18557
+ var HeaderImage$1 = styled__default.div(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteralLoose(["\n width: 43px;\n height: 44px;\n background-color: #ebebeb;\n"])));
18558
+ var HeaderContent$1 = styled__default.div(_templateObject5$k || (_templateObject5$k = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n flex: 1;\n"])));
18413
18559
  var MainContent$1 = styled__default.div(_templateObject6$h || (_templateObject6$h = _taggedTemplateLiteralLoose(["\n margin-top: 8px;\n"])));
18414
18560
  var MainLine$1 = styled__default(HeaderLine$1)(_templateObject7$h || (_templateObject7$h = _taggedTemplateLiteralLoose(["\n margin-bottom: 14px;\n margin-left: 0;\n"])));
18415
- var HeaderLine$2 = styled__default(HeaderLine$1)(_templateObject8$e || (_templateObject8$e = _taggedTemplateLiteralLoose([""])));
18561
+ var HeaderLine$2 = styled__default(HeaderLine$1)(_templateObject8$f || (_templateObject8$f = _taggedTemplateLiteralLoose([""])));
18416
18562
 
18417
18563
  var Template2 = function Template2(props) {
18418
18564
  if (!props.loading) return React__default.createElement(React__default.Fragment, null);
@@ -18435,8 +18581,8 @@ var Template2 = function Template2(props) {
18435
18581
  })));
18436
18582
  };
18437
18583
 
18438
- var _templateObject$Z, _templateObject2$H, _templateObject3$A;
18439
- var Container$e = styled__default.div(_templateObject$Z || (_templateObject$Z = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-height: 100%;\n position: absolute;\n padding: 14px;\n"])));
18584
+ var _templateObject$_, _templateObject2$H, _templateObject3$A;
18585
+ var Container$e = styled__default.div(_templateObject$_ || (_templateObject$_ = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-height: 100%;\n position: absolute;\n padding: 14px;\n"])));
18440
18586
  var Template3Container = styled__default(Container$e)(_templateObject2$H || (_templateObject2$H = _taggedTemplateLiteralLoose([""])));
18441
18587
  var Template3Line = styled__default(HeaderLine$1)(_templateObject3$A || (_templateObject3$A = _taggedTemplateLiteralLoose(["\n background-color: #dadada;\n height: ", ";\n"])), function (props) {
18442
18588
  return props.height;
@@ -18467,21 +18613,21 @@ var Template3 = function Template3(props) {
18467
18613
  }));
18468
18614
  };
18469
18615
 
18470
- var _templateObject$_, _templateObject2$I, _templateObject3$B, _templateObject4$n, _templateObject5$k, _templateObject6$i, _templateObject7$i, _templateObject8$f;
18471
- var Container$f = styled__default.div(_templateObject$_ || (_templateObject$_ = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-height: 100%;\n position: absolute;\n padding: 14px;\n"])));
18616
+ var _templateObject$$, _templateObject2$I, _templateObject3$B, _templateObject4$o, _templateObject5$l, _templateObject6$i, _templateObject7$i, _templateObject8$g;
18617
+ var Container$f = styled__default.div(_templateObject$$ || (_templateObject$$ = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-height: 100%;\n position: absolute;\n padding: 14px;\n"])));
18472
18618
  var HeaderLine$3 = styled__default.div(_templateObject2$I || (_templateObject2$I = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 14px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
18473
18619
  return props.height;
18474
18620
  }, function (props) {
18475
18621
  return props.size === 'mini' && styled.css(_templateObject3$B || (_templateObject3$B = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
18476
18622
  }, function (props) {
18477
- return props.size === 'small' && styled.css(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
18623
+ return props.size === 'small' && styled.css(_templateObject4$o || (_templateObject4$o = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
18478
18624
  }, function (props) {
18479
- return props.size === 'medium' && styled.css(_templateObject5$k || (_templateObject5$k = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
18625
+ return props.size === 'medium' && styled.css(_templateObject5$l || (_templateObject5$l = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
18480
18626
  }, function (props) {
18481
18627
  return props.size === 'large' && styled.css(_templateObject6$i || (_templateObject6$i = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
18482
18628
  });
18483
18629
  var Template4Container = styled__default(Container$f)(_templateObject7$i || (_templateObject7$i = _taggedTemplateLiteralLoose(["\n border: 1px solid #e6e6e7;\n border-radius: 4px;\n"])));
18484
- var CustomLine = styled__default(HeaderLine$3)(_templateObject8$f || (_templateObject8$f = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n"])), function (props) {
18630
+ var CustomLine = styled__default(HeaderLine$3)(_templateObject8$g || (_templateObject8$g = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n"])), function (props) {
18485
18631
  return props.width;
18486
18632
  }, function (props) {
18487
18633
  return props.height;
@@ -18534,21 +18680,21 @@ var Template4 = function Template4(props) {
18534
18680
  }));
18535
18681
  };
18536
18682
 
18537
- var _templateObject$$, _templateObject2$J, _templateObject3$C, _templateObject4$o, _templateObject5$l, _templateObject6$j, _templateObject7$j, _templateObject8$g, _templateObject9$e;
18538
- var Container$g = styled__default.div(_templateObject$$ || (_templateObject$$ = _taggedTemplateLiteralLoose(["\n position: absolute;\n width: 746px;\n height: 169px;\n border: 1px solid #e6e6e7;\n border-radius: 4px;\n padding: 14px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n"])));
18683
+ var _templateObject$10, _templateObject2$J, _templateObject3$C, _templateObject4$p, _templateObject5$m, _templateObject6$j, _templateObject7$j, _templateObject8$h, _templateObject9$e;
18684
+ var Container$g = styled__default.div(_templateObject$10 || (_templateObject$10 = _taggedTemplateLiteralLoose(["\n position: absolute;\n width: 746px;\n height: 169px;\n border: 1px solid #e6e6e7;\n border-radius: 4px;\n padding: 14px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n"])));
18539
18685
  var Circle = styled__default.div(_templateObject2$J || (_templateObject2$J = _taggedTemplateLiteralLoose(["\n width: 141px;\n height: 141px;\n background-color: #dddedf;\n border-radius: 50%;\n"])));
18540
18686
  var HeaderLine$4 = styled__default.div(_templateObject3$C || (_templateObject3$C = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 14px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
18541
18687
  return props.height;
18542
18688
  }, function (props) {
18543
- return props.size === 'mini' && styled.css(_templateObject4$o || (_templateObject4$o = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
18689
+ return props.size === 'mini' && styled.css(_templateObject4$p || (_templateObject4$p = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
18544
18690
  }, function (props) {
18545
- return props.size === 'small' && styled.css(_templateObject5$l || (_templateObject5$l = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
18691
+ return props.size === 'small' && styled.css(_templateObject5$m || (_templateObject5$m = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
18546
18692
  }, function (props) {
18547
18693
  return props.size === 'medium' && styled.css(_templateObject6$j || (_templateObject6$j = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
18548
18694
  }, function (props) {
18549
18695
  return props.size === 'large' && styled.css(_templateObject7$j || (_templateObject7$j = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
18550
18696
  });
18551
- var CustomLine$1 = styled__default(HeaderLine$4)(_templateObject8$g || (_templateObject8$g = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n"])), function (props) {
18697
+ var CustomLine$1 = styled__default(HeaderLine$4)(_templateObject8$h || (_templateObject8$h = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n"])), function (props) {
18552
18698
  return props.width;
18553
18699
  }, function (props) {
18554
18700
  return props.height;
@@ -18582,20 +18728,20 @@ var Template5 = function Template5(props) {
18582
18728
  })));
18583
18729
  };
18584
18730
 
18585
- var _templateObject$10, _templateObject2$K, _templateObject3$D, _templateObject4$p, _templateObject5$m, _templateObject6$k, _templateObject7$k, _templateObject8$h, _templateObject9$f;
18586
- var Container$h = styled__default.div(_templateObject$10 || (_templateObject$10 = _taggedTemplateLiteralLoose(["\n width: 395px;\n\n display: flex;\n align-items: center;\n justify-content: space-between;\n background-color: #f5f5f5;\n"])));
18731
+ var _templateObject$11, _templateObject2$K, _templateObject3$D, _templateObject4$q, _templateObject5$n, _templateObject6$k, _templateObject7$k, _templateObject8$i, _templateObject9$f;
18732
+ var Container$h = styled__default.div(_templateObject$11 || (_templateObject$11 = _taggedTemplateLiteralLoose(["\n width: 395px;\n\n display: flex;\n align-items: center;\n justify-content: space-between;\n background-color: #f5f5f5;\n"])));
18587
18733
  var Header$8 = styled__default.div(_templateObject2$K || (_templateObject2$K = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n"])));
18588
18734
  var Footer$3 = styled__default.div(_templateObject3$D || (_templateObject3$D = _taggedTemplateLiteralLoose(["\n width: 100%;\n border-top: 1px solid #b1b1b3;\n height: 50px;\n"])));
18589
- var HeaderLine$5 = styled__default.div(_templateObject4$p || (_templateObject4$p = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 14px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
18735
+ var HeaderLine$5 = styled__default.div(_templateObject4$q || (_templateObject4$q = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 14px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
18590
18736
  return props.height;
18591
18737
  }, function (props) {
18592
- return props.size === 'mini' && styled.css(_templateObject5$m || (_templateObject5$m = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
18738
+ return props.size === 'mini' && styled.css(_templateObject5$n || (_templateObject5$n = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
18593
18739
  }, function (props) {
18594
18740
  return props.size === 'small' && styled.css(_templateObject6$k || (_templateObject6$k = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
18595
18741
  }, function (props) {
18596
18742
  return props.size === 'medium' && styled.css(_templateObject7$k || (_templateObject7$k = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
18597
18743
  }, function (props) {
18598
- return props.size === 'large' && styled.css(_templateObject8$h || (_templateObject8$h = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
18744
+ return props.size === 'large' && styled.css(_templateObject8$i || (_templateObject8$i = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
18599
18745
  });
18600
18746
  var CustomLine$2 = styled__default(HeaderLine$5)(_templateObject9$f || (_templateObject9$f = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
18601
18747
  return props.width;
@@ -18625,21 +18771,21 @@ var Template6 = function Template6(props) {
18625
18771
  })));
18626
18772
  };
18627
18773
 
18628
- var _templateObject$11, _templateObject2$L, _templateObject3$E, _templateObject4$q, _templateObject5$n, _templateObject6$l, _templateObject7$l, _templateObject8$i, _templateObject9$g, _templateObject10$d;
18629
- var Container$i = styled__default.div(_templateObject$11 || (_templateObject$11 = _taggedTemplateLiteralLoose(["\n width: 395px;\n height: 110px;\n display: flex;\n flex-direction: column;\n align-items: center;\n background: #f5f5f5 0% 0% no-repeat padding-box;\n"])));
18774
+ var _templateObject$12, _templateObject2$L, _templateObject3$E, _templateObject4$r, _templateObject5$o, _templateObject6$l, _templateObject7$l, _templateObject8$j, _templateObject9$g, _templateObject10$d;
18775
+ var Container$i = styled__default.div(_templateObject$12 || (_templateObject$12 = _taggedTemplateLiteralLoose(["\n width: 395px;\n height: 110px;\n display: flex;\n flex-direction: column;\n align-items: center;\n background: #f5f5f5 0% 0% no-repeat padding-box;\n"])));
18630
18776
  var Header$9 = styled__default.div(_templateObject2$L || (_templateObject2$L = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
18631
18777
  var HeaderLine$6 = styled__default.div(_templateObject3$E || (_templateObject3$E = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 14px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
18632
18778
  return props.height;
18633
18779
  }, function (props) {
18634
- return props.size === 'mini' && styled.css(_templateObject4$q || (_templateObject4$q = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
18780
+ return props.size === 'mini' && styled.css(_templateObject4$r || (_templateObject4$r = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
18635
18781
  }, function (props) {
18636
- return props.size === 'small' && styled.css(_templateObject5$n || (_templateObject5$n = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
18782
+ return props.size === 'small' && styled.css(_templateObject5$o || (_templateObject5$o = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
18637
18783
  }, function (props) {
18638
18784
  return props.size === 'medium' && styled.css(_templateObject6$l || (_templateObject6$l = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
18639
18785
  }, function (props) {
18640
18786
  return props.size === 'large' && styled.css(_templateObject7$l || (_templateObject7$l = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
18641
18787
  });
18642
- var CustomLine$3 = styled__default(HeaderLine$6)(_templateObject8$i || (_templateObject8$i = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
18788
+ var CustomLine$3 = styled__default(HeaderLine$6)(_templateObject8$j || (_templateObject8$j = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
18643
18789
  return props.width;
18644
18790
  }, function (props) {
18645
18791
  return props.height;
@@ -18659,21 +18805,21 @@ var Template7 = function Template7(props) {
18659
18805
  })), React__default.createElement(Main$2, null, React__default.createElement(Circle$1, null), React__default.createElement(Circle$1, null), React__default.createElement(Circle$1, null), React__default.createElement(Circle$1, null), React__default.createElement(Circle$1, null)));
18660
18806
  };
18661
18807
 
18662
- var _templateObject$12, _templateObject2$M, _templateObject3$F, _templateObject4$r, _templateObject5$o, _templateObject6$m, _templateObject7$m, _templateObject8$j, _templateObject9$h;
18663
- var Container$j = styled__default.div(_templateObject$12 || (_templateObject$12 = _taggedTemplateLiteralLoose(["\n width: 395px;\n height: 110px;\n display: flex;\n flex-direction: column;\n align-items: center;\n background: #f5f5f5 0% 0% no-repeat padding-box;\n"])));
18808
+ var _templateObject$13, _templateObject2$M, _templateObject3$F, _templateObject4$s, _templateObject5$p, _templateObject6$m, _templateObject7$m, _templateObject8$k, _templateObject9$h;
18809
+ var Container$j = styled__default.div(_templateObject$13 || (_templateObject$13 = _taggedTemplateLiteralLoose(["\n width: 395px;\n height: 110px;\n display: flex;\n flex-direction: column;\n align-items: center;\n background: #f5f5f5 0% 0% no-repeat padding-box;\n"])));
18664
18810
  var Header$a = styled__default.div(_templateObject2$M || (_templateObject2$M = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
18665
18811
  var HeaderLine$7 = styled__default.div(_templateObject3$F || (_templateObject3$F = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 14px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
18666
18812
  return props.height;
18667
18813
  }, function (props) {
18668
- return props.size === 'mini' && styled.css(_templateObject4$r || (_templateObject4$r = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
18814
+ return props.size === 'mini' && styled.css(_templateObject4$s || (_templateObject4$s = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
18669
18815
  }, function (props) {
18670
- return props.size === 'small' && styled.css(_templateObject5$o || (_templateObject5$o = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
18816
+ return props.size === 'small' && styled.css(_templateObject5$p || (_templateObject5$p = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
18671
18817
  }, function (props) {
18672
18818
  return props.size === 'medium' && styled.css(_templateObject6$m || (_templateObject6$m = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
18673
18819
  }, function (props) {
18674
18820
  return props.size === 'large' && styled.css(_templateObject7$m || (_templateObject7$m = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
18675
18821
  });
18676
- var CustomLine$4 = styled__default(HeaderLine$7)(_templateObject8$j || (_templateObject8$j = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
18822
+ var CustomLine$4 = styled__default(HeaderLine$7)(_templateObject8$k || (_templateObject8$k = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
18677
18823
  return props.width;
18678
18824
  }, function (props) {
18679
18825
  return props.height;
@@ -18702,21 +18848,21 @@ var Template8 = function Template8(props) {
18702
18848
  })));
18703
18849
  };
18704
18850
 
18705
- var _templateObject$13, _templateObject2$N, _templateObject3$G, _templateObject4$s, _templateObject5$p, _templateObject6$n, _templateObject7$n, _templateObject8$k, _templateObject9$i, _templateObject10$e;
18706
- var Container$k = styled__default.div(_templateObject$13 || (_templateObject$13 = _taggedTemplateLiteralLoose(["\n width: 395px;\n height: 245px;\n display: flex;\n flex-direction: column;\n align-items: center;\n background: #f5f5f5 0% 0% no-repeat padding-box;\n"])));
18851
+ var _templateObject$14, _templateObject2$N, _templateObject3$G, _templateObject4$t, _templateObject5$q, _templateObject6$n, _templateObject7$n, _templateObject8$l, _templateObject9$i, _templateObject10$e;
18852
+ var Container$k = styled__default.div(_templateObject$14 || (_templateObject$14 = _taggedTemplateLiteralLoose(["\n width: 395px;\n height: 245px;\n display: flex;\n flex-direction: column;\n align-items: center;\n background: #f5f5f5 0% 0% no-repeat padding-box;\n"])));
18707
18853
  var Header$b = styled__default.div(_templateObject2$N || (_templateObject2$N = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
18708
18854
  var HeaderLine$8 = styled__default.div(_templateObject3$G || (_templateObject3$G = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 7px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
18709
18855
  return props.height;
18710
18856
  }, function (props) {
18711
- return props.size === 'mini' && styled.css(_templateObject4$s || (_templateObject4$s = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
18857
+ return props.size === 'mini' && styled.css(_templateObject4$t || (_templateObject4$t = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
18712
18858
  }, function (props) {
18713
- return props.size === 'small' && styled.css(_templateObject5$p || (_templateObject5$p = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
18859
+ return props.size === 'small' && styled.css(_templateObject5$q || (_templateObject5$q = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
18714
18860
  }, function (props) {
18715
18861
  return props.size === 'medium' && styled.css(_templateObject6$n || (_templateObject6$n = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
18716
18862
  }, function (props) {
18717
18863
  return props.size === 'large' && styled.css(_templateObject7$n || (_templateObject7$n = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
18718
18864
  });
18719
- var CustomLine$5 = styled__default(HeaderLine$8)(_templateObject8$k || (_templateObject8$k = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
18865
+ var CustomLine$5 = styled__default(HeaderLine$8)(_templateObject8$l || (_templateObject8$l = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
18720
18866
  return props.width;
18721
18867
  }, function (props) {
18722
18868
  return props.height;
@@ -18741,21 +18887,21 @@ var Template8$1 = function Template8(props) {
18741
18887
  })), React__default.createElement(Main$4, null, React__default.createElement(Circle$2, null)));
18742
18888
  };
18743
18889
 
18744
- var _templateObject$14, _templateObject2$O, _templateObject3$H, _templateObject4$t, _templateObject5$q, _templateObject6$o, _templateObject7$o, _templateObject8$l, _templateObject9$j, _templateObject10$f, _templateObject11$6;
18745
- var Container$l = styled__default.div(_templateObject$14 || (_templateObject$14 = _taggedTemplateLiteralLoose(["\n width: 395px;\n height: 245px;\n display: flex;\n flex-direction: column;\n align-items: center;\n background: #f5f5f5 0% 0% no-repeat padding-box;\n"])));
18890
+ var _templateObject$15, _templateObject2$O, _templateObject3$H, _templateObject4$u, _templateObject5$r, _templateObject6$o, _templateObject7$o, _templateObject8$m, _templateObject9$j, _templateObject10$f, _templateObject11$6;
18891
+ var Container$l = styled__default.div(_templateObject$15 || (_templateObject$15 = _taggedTemplateLiteralLoose(["\n width: 395px;\n height: 245px;\n display: flex;\n flex-direction: column;\n align-items: center;\n background: #f5f5f5 0% 0% no-repeat padding-box;\n"])));
18746
18892
  var Header$c = styled__default.div(_templateObject2$O || (_templateObject2$O = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
18747
18893
  var HeaderLine$9 = styled__default.div(_templateObject3$H || (_templateObject3$H = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 7px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
18748
18894
  return props.height;
18749
18895
  }, function (props) {
18750
- return props.size === 'mini' && styled.css(_templateObject4$t || (_templateObject4$t = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
18896
+ return props.size === 'mini' && styled.css(_templateObject4$u || (_templateObject4$u = _taggedTemplateLiteralLoose(["\n width: 15%;\n "])));
18751
18897
  }, function (props) {
18752
- return props.size === 'small' && styled.css(_templateObject5$q || (_templateObject5$q = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
18898
+ return props.size === 'small' && styled.css(_templateObject5$r || (_templateObject5$r = _taggedTemplateLiteralLoose(["\n width: 25%;\n "])));
18753
18899
  }, function (props) {
18754
18900
  return props.size === 'medium' && styled.css(_templateObject6$o || (_templateObject6$o = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
18755
18901
  }, function (props) {
18756
18902
  return props.size === 'large' && styled.css(_templateObject7$o || (_templateObject7$o = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
18757
18903
  });
18758
- var CustomLine$6 = styled__default(HeaderLine$9)(_templateObject8$l || (_templateObject8$l = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
18904
+ var CustomLine$6 = styled__default(HeaderLine$9)(_templateObject8$m || (_templateObject8$m = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n background-color: ", ";\n border: 1px solid #dedede5e;\n"])), function (props) {
18759
18905
  return props.width;
18760
18906
  }, function (props) {
18761
18907
  return props.height;
@@ -18885,8 +19031,8 @@ var Placeholder = function Placeholder(props) {
18885
19031
  }
18886
19032
  };
18887
19033
 
18888
- var _templateObject$15, _templateObject2$P, _templateObject3$I, _templateObject4$u, _templateObject5$r, _templateObject6$p, _templateObject7$p;
18889
- var Container$m = styled__default.div(_templateObject$15 || (_templateObject$15 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n align-items: center;\n\n span {\n display: inline-block;\n margin-left: 7px;\n color: #000000cc;\n }\n"])));
19034
+ var _templateObject$16, _templateObject2$P, _templateObject3$I, _templateObject4$v, _templateObject5$s, _templateObject6$p, _templateObject7$p;
19035
+ var Container$m = styled__default.div(_templateObject$16 || (_templateObject$16 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n align-items: center;\n\n span {\n display: inline-block;\n margin-left: 7px;\n color: #000000cc;\n }\n"])));
18890
19036
  var Progress = styled__default.div(_templateObject2$P || (_templateObject2$P = _taggedTemplateLiteralLoose(["\n width: 64px;\n height: 12px;\n border: 1px solid #e4e4e4;\n div {\n width: ", ";\n max-width: 64px;\n height: 100%;\n ", "\n\n ", "\n ", "\n ", "\n ", "\n }\n"])), function (props) {
18891
19037
  return props.value + "%";
18892
19038
  }, function (props) {
@@ -18895,12 +19041,12 @@ var Progress = styled__default.div(_templateObject2$P || (_templateObject2$P = _
18895
19041
  return theme.colors.warningGray;
18896
19042
  });
18897
19043
  }, function (props) {
18898
- return props.type === 'info' && styled.css(_templateObject4$u || (_templateObject4$u = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), function (_ref2) {
19044
+ return props.type === 'info' && styled.css(_templateObject4$v || (_templateObject4$v = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), function (_ref2) {
18899
19045
  var theme = _ref2.theme;
18900
19046
  return theme.colors.blue;
18901
19047
  });
18902
19048
  }, function (props) {
18903
- return props.type === 'danger' && styled.css(_templateObject5$r || (_templateObject5$r = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), function (_ref3) {
19049
+ return props.type === 'danger' && styled.css(_templateObject5$s || (_templateObject5$s = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), function (_ref3) {
18904
19050
  var theme = _ref3.theme;
18905
19051
  return theme.colors.warningRed;
18906
19052
  });
@@ -18920,8 +19066,8 @@ var ProgressBar = function ProgressBar(props) {
18920
19066
  return React__default.createElement(Container$m, null, React__default.createElement(Progress, Object.assign({}, props), React__default.createElement("div", null)), React__default.createElement("span", null, " ", props.value || '0', "%"));
18921
19067
  };
18922
19068
 
18923
- var _templateObject$16, _templateObject2$Q, _templateObject3$J, _templateObject4$v, _templateObject5$s, _templateObject6$q, _templateObject7$q, _templateObject8$m;
18924
- var Container$n = styled__default.div(_templateObject$16 || (_templateObject$16 = _taggedTemplateLiteralLoose(["\n display: block;\n"])));
19069
+ var _templateObject$17, _templateObject2$Q, _templateObject3$J, _templateObject4$w, _templateObject5$t, _templateObject6$q, _templateObject7$q, _templateObject8$n;
19070
+ var Container$n = styled__default.div(_templateObject$17 || (_templateObject$17 = _taggedTemplateLiteralLoose(["\n display: block;\n"])));
18925
19071
  var delimiters = {
18926
19072
  blue: ['blue'],
18927
19073
  grey: ['warningGray']
@@ -18954,20 +19100,20 @@ var Tabs = styled__default.ul(_templateObject2$Q || (_templateObject2$Q = _tagge
18954
19100
  return internal ? "1px solid " + theme.getColor.apply(theme, delimiters[delimiter || 'grey']) : "2px solid " + theme.getColor.apply(theme, delimiters[delimiter || 'blue']);
18955
19101
  }();
18956
19102
 
18957
- return styled.css(_templateObject4$v || (_templateObject4$v = _taggedTemplateLiteralLoose(["\n border-bottom: ", ";\n\n + div {\n border: 1px solid ", ";\n border-top-width: 0px;\n border-radius: 0px 0px 2px 2px;\n padding: ", ";\n }\n "])), border, theme.getColor.apply(theme, delimiters.grey), theme.spacings.s3);
19103
+ return styled.css(_templateObject4$w || (_templateObject4$w = _taggedTemplateLiteralLoose(["\n border-bottom: ", ";\n\n + div {\n border: 1px solid ", ";\n border-top-width: 0px;\n border-radius: 0px 0px 2px 2px;\n padding: ", ";\n }\n "])), border, theme.getColor.apply(theme, delimiters.grey), theme.spacings.s3);
18958
19104
  }, function (_ref3) {
18959
19105
  var theme = _ref3.theme,
18960
19106
  internal = _ref3.$internal;
18961
19107
  return internal ? theme.spacings.s6 : 0;
18962
19108
  });
18963
- var Tab = styled__default.li(_templateObject5$s || (_templateObject5$s = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: space-between;\n\n ", "\n"])), function (_ref4) {
19109
+ var Tab = styled__default.li(_templateObject5$t || (_templateObject5$t = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: space-between;\n\n ", "\n"])), function (_ref4) {
18964
19110
  var theme = _ref4.theme,
18965
19111
  active = _ref4.$active,
18966
19112
  internal = _ref4.$internal;
18967
19113
  return styled.css(_templateObject6$q || (_templateObject6$q = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n padding: ", ";\n gap: ", ";\n\n ", "\n\n span {\n color: ", ";\n }\n "])), theme.colors[active ? 'blue' : 'white'], theme.spacings.s3, theme.spacings.s3, internal ? styled.css(_templateObject7$q || (_templateObject7$q = _taggedTemplateLiteralLoose(["\n border-radius: 4px 4px 0 0;\n\n > span {\n ", "\n line-height: 17px;\n }\n "])), function (_ref5) {
18968
19114
  var theme = _ref5.theme;
18969
19115
  return theme.useTypography('h4');
18970
- }) : styled.css(_templateObject8$m || (_templateObject8$m = _taggedTemplateLiteralLoose(["\n box-shadow: 0px 3px 6px ", ";\n\n > span {\n ", "\n line-height: 19px;\n }\n "])), theme.getColor('black', 15), function (_ref6) {
19116
+ }) : styled.css(_templateObject8$n || (_templateObject8$n = _taggedTemplateLiteralLoose(["\n box-shadow: 0px 3px 6px ", ";\n\n > span {\n ", "\n line-height: 19px;\n }\n "])), theme.getColor('black', 15), function (_ref6) {
18971
19117
  var theme = _ref6.theme;
18972
19118
  return theme.useTypography('h2');
18973
19119
  }), theme.colors[active ? 'white' : 'darkBlue']);
@@ -18989,6 +19135,8 @@ var Tabs$1 = function Tabs$1(props) {
18989
19135
  status = _useState[0],
18990
19136
  setStatus = _useState[1];
18991
19137
 
19138
+ var onClose = props.onClose || function () {};
19139
+
18992
19140
  var activate = function activate(active, length) {
18993
19141
  setStatus(function (prev) {
18994
19142
  if (length !== undefined && length !== prev.length) {
@@ -19032,7 +19180,7 @@ var Tabs$1 = function Tabs$1(props) {
19032
19180
  activate(index);
19033
19181
  };
19034
19182
 
19035
- var onClickClose = function onClickClose(index) {
19183
+ var onClickClose = function onClickClose(index, tab, event) {
19036
19184
  var getActive = function getActive(removed, prev) {
19037
19185
  for (var i = index - 1; i > -1; i--) {
19038
19186
  if (removed[i] !== 'closed') {
@@ -19065,9 +19213,10 @@ var Tabs$1 = function Tabs$1(props) {
19065
19213
 
19066
19214
  return status;
19067
19215
  });
19216
+ onClose(index, tab, event);
19068
19217
  };
19069
19218
 
19070
- var divProps = filterObject(props, ['options', 'activeState', 'internal', 'maxTabs', 'onMaxTabsExceeded', 'alwaysOpen', 'delimiter', 'spacing']);
19219
+ var divProps = filterObject(props, ['options', 'activeState', 'internal', 'maxTabs', 'onMaxTabsExceeded', 'onClose', 'alwaysOpen', 'delimiter', 'spacing']);
19071
19220
  return React__default.createElement(Container$n, Object.assign({}, divProps), React__default.createElement(Tabs, {
19072
19221
  "$internal": props.internal,
19073
19222
  "$delimiter": props.delimiter,
@@ -19084,8 +19233,8 @@ var Tabs$1 = function Tabs$1(props) {
19084
19233
  }, React__default.createElement("span", null, tab.label), !props.alwaysOpen && React__default.createElement(Icon, {
19085
19234
  type: 'feather',
19086
19235
  icon: 'x',
19087
- onClick: function onClick() {
19088
- return onClickClose(index);
19236
+ onClick: function onClick(e) {
19237
+ return onClickClose(index, tab, e);
19089
19238
  },
19090
19239
  width: '14px',
19091
19240
  height: '14px',
@@ -19097,8 +19246,8 @@ var Tabs$1 = function Tabs$1(props) {
19097
19246
  }));
19098
19247
  };
19099
19248
 
19100
- var _templateObject$17;
19101
- var Container$o = styled__default.textarea(_templateObject$17 || (_templateObject$17 = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n resize: none;\n outline: 0;\n border: 1px solid #c8c8c8;\n padding: 14px;\n border-radius: 4px;\n color: #192338;\n"])), function (props) {
19249
+ var _templateObject$18;
19250
+ var Container$o = styled__default.textarea(_templateObject$18 || (_templateObject$18 = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n resize: none;\n outline: 0;\n border: 1px solid #c8c8c8;\n padding: 14px;\n border-radius: 4px;\n color: #192338;\n"])), function (props) {
19102
19251
  return "" + props.width;
19103
19252
  }, function (props) {
19104
19253
  return "" + props.height;
@@ -19108,17 +19257,17 @@ var TextArea = function TextArea(props) {
19108
19257
  return React__default.createElement(Container$o, Object.assign({}, props));
19109
19258
  };
19110
19259
 
19111
- var _templateObject$18, _templateObject2$R, _templateObject3$K, _templateObject4$w, _templateObject5$t, _templateObject6$r;
19112
- var Container$p = styled__default.div(_templateObject$18 || (_templateObject$18 = _taggedTemplateLiteralLoose(["\n border-radius: 4px;\n width: ", ";\n height: 88px;\n border: 1px solid transparent;\n position: relative;\n\n ", "\n\n ", "\n\n ", "\n\n svg {\n cursor: pointer;\n position: absolute;\n top: 14px;\n right: 14px;\n width: 13px;\n height: 13px;\n }\n"])), function (props) {
19260
+ var _templateObject$19, _templateObject2$R, _templateObject3$K, _templateObject4$x, _templateObject5$u, _templateObject6$r;
19261
+ var Container$p = styled__default.div(_templateObject$19 || (_templateObject$19 = _taggedTemplateLiteralLoose(["\n border-radius: 4px;\n width: ", ";\n height: 88px;\n border: 1px solid transparent;\n position: relative;\n\n ", "\n\n ", "\n\n ", "\n\n svg {\n cursor: pointer;\n position: absolute;\n top: 14px;\n right: 14px;\n width: 13px;\n height: 13px;\n }\n"])), function (props) {
19113
19262
  return props.size === 'large' ? '837px' : '460px';
19114
19263
  }, function (props) {
19115
19264
  return props.color === 'success' && styled.css(_templateObject2$R || (_templateObject2$R = _taggedTemplateLiteralLoose(["\n background-color: #fcfff5;\n opacity: 1;\n border-color: #a8c599;\n h4 {\n color: #1e561f;\n }\n p {\n color: #1e561fcc;\n }\n "])));
19116
19265
  }, function (props) {
19117
19266
  return props.color === 'error' && styled.css(_templateObject3$K || (_templateObject3$K = _taggedTemplateLiteralLoose(["\n background-color: #fff6f6;\n opacity: 1;\n border-color: #973937;\n h4 {\n color: #973937;\n }\n p {\n color: #973937;\n }\n "])));
19118
19267
  }, function (props) {
19119
- return props.color === 'warning' && styled.css(_templateObject4$w || (_templateObject4$w = _taggedTemplateLiteralLoose(["\n background-color: #fffaf3;\n opacity: 1;\n border-color: #ccbea0;\n h4 {\n color: #7a4d05;\n }\n p {\n color: #7a4d05cc;\n }\n "])));
19268
+ return props.color === 'warning' && styled.css(_templateObject4$x || (_templateObject4$x = _taggedTemplateLiteralLoose(["\n background-color: #fffaf3;\n opacity: 1;\n border-color: #ccbea0;\n h4 {\n color: #7a4d05;\n }\n p {\n color: #7a4d05cc;\n }\n "])));
19120
19269
  });
19121
- var IconContainer$2 = styled__default.div(_templateObject5$t || (_templateObject5$t = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n padding: 14px 14px 0 0;\n margin: 0;\n"])));
19270
+ var IconContainer$2 = styled__default.div(_templateObject5$u || (_templateObject5$u = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n padding: 14px 14px 0 0;\n margin: 0;\n"])));
19122
19271
  var IconContent = styled__default.div(_templateObject6$r || (_templateObject6$r = _taggedTemplateLiteralLoose(["\n width: 100%;\n padding: 13px 0 21px 28px;\n display: flex;\n flex: 1;\n flex-direction: column;\n\n h4 {\n margin-bottom: 7px;\n font-size: 18p;\n }\n p {\n margin: 0;\n font-size: 14px;\n max-width: 380px;\n }\n"])));
19123
19272
 
19124
19273
  var Toast = function Toast(props) {
@@ -19131,8 +19280,8 @@ var Toast = function Toast(props) {
19131
19280
  })), React__default.createElement(IconContent, null, React__default.createElement("h4", null, props.title), React__default.createElement("p", null, " ", props.description)));
19132
19281
  };
19133
19282
 
19134
- var _templateObject$19, _templateObject2$S, _templateObject3$L, _templateObject4$x, _templateObject5$u;
19135
- var Image = styled__default.img(_templateObject$19 || (_templateObject$19 = _taggedTemplateLiteralLoose(["\n max-width: 100%;\n max-height: 100%;\n"])));
19283
+ var _templateObject$1a, _templateObject2$S, _templateObject3$L, _templateObject4$y, _templateObject5$v;
19284
+ var Image = styled__default.img(_templateObject$1a || (_templateObject$1a = _taggedTemplateLiteralLoose(["\n max-width: 100%;\n max-height: 100%;\n"])));
19136
19285
  var Container$q = styled__default.div(_templateObject2$S || (_templateObject2$S = _taggedTemplateLiteralLoose(["\n position: relative;\n display: inline-flex;\n\n &,\n ", " {\n width: ", ";\n\n height: ", ";\n }\n"])), Image, function (_ref) {
19137
19286
  var width = _ref.width;
19138
19287
 
@@ -19164,11 +19313,11 @@ var Dimmer = styled__default.div(_templateObject3$L || (_templateObject3$L = _ta
19164
19313
  var theme = _ref3.theme;
19165
19314
  return theme.getColor('greyishBlue', 50);
19166
19315
  });
19167
- var Button$6 = styled__default(Button$1)(_templateObject4$x || (_templateObject4$x = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n"])), function (_ref4) {
19316
+ var Button$6 = styled__default(Button$1)(_templateObject4$y || (_templateObject4$y = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n"])), function (_ref4) {
19168
19317
  var theme = _ref4.theme;
19169
19318
  return theme.getColor('white', 50);
19170
19319
  });
19171
- var ModalContent = styled__default.div(_templateObject5$u || (_templateObject5$u = _taggedTemplateLiteralLoose(["\n position: absolute;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n\n img {\n max-height: 100%;\n max-width: 100%;\n }\n"])));
19320
+ var ModalContent = styled__default.div(_templateObject5$v || (_templateObject5$v = _taggedTemplateLiteralLoose(["\n position: absolute;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n\n img {\n max-height: 100%;\n max-width: 100%;\n }\n"])));
19172
19321
 
19173
19322
  var _excluded$3 = ["src", "defaultClickOptions"];
19174
19323
 
@@ -19219,6 +19368,7 @@ exports.MwCalendar = Calendar;
19219
19368
  exports.MwCard = Card;
19220
19369
  exports.MwEllipsisContainer = EllipsisContainer$1;
19221
19370
  exports.MwFilters = Filters;
19371
+ exports.MwForm = Form;
19222
19372
  exports.MwGrid = Grid$2;
19223
19373
  exports.MwIcon = Icon;
19224
19374
  exports.MwIndicator = Indicator;