@true-engineering/true-react-common-ui-kit 3.32.0 → 3.33.1

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.
Files changed (99) hide show
  1. package/LICENSE +201 -201
  2. package/README.md +15 -0
  3. package/dist/components/FlexibleTable/FlexibleTable.stories.d.ts +2 -0
  4. package/dist/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.d.ts +1 -1
  5. package/dist/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.d.ts +2 -1
  6. package/dist/components/SearchInput/SearchInput.stories.d.ts +1 -1
  7. package/dist/components/WithPopup/WithPopup.styles.d.ts +1 -1
  8. package/dist/components/WithPopup/types.d.ts +9 -3
  9. package/dist/true-react-common-ui-kit.js +144 -171
  10. package/dist/true-react-common-ui-kit.js.map +1 -1
  11. package/dist/true-react-common-ui-kit.umd.cjs +143 -170
  12. package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
  13. package/dist/types.d.ts +7 -2
  14. package/package.json +98 -98
  15. package/src/components/AccountInfo/AccountInfo.stories.tsx +32 -32
  16. package/src/components/AccountInfo/AccountInfo.tsx +80 -80
  17. package/src/components/AddButton/AddButton.stories.tsx +21 -21
  18. package/src/components/AddButton/AddButton.tsx +52 -52
  19. package/src/components/Colors/Colors.stories.tsx +7 -7
  20. package/src/components/DateInput/DateInput.tsx +90 -90
  21. package/src/components/DateInput/constants.ts +2 -2
  22. package/src/components/Description/Description.stories.tsx +27 -27
  23. package/src/components/Description/Description.tsx +61 -61
  24. package/src/components/FiltersPane/components/FilterValueView/FilterValueView.tsx +166 -166
  25. package/src/components/FiltersPane/components/FilterWithDates/FilterWithDates.tsx +210 -210
  26. package/src/components/FiltersPane/components/FilterWithPeriod/FilterWithPeriod.tsx +177 -177
  27. package/src/components/FiltersPane/components/FilterWrapper/FilterWrapper.tsx +2 -2
  28. package/src/components/Flag/Flag.stories.tsx +29 -29
  29. package/src/components/Flag/Flag.tsx +26 -26
  30. package/src/components/Flag/augment.d.ts +1 -1
  31. package/src/components/FlexibleTable/FlexibleTable.stories.tsx +14 -1
  32. package/src/components/FlexibleTable/FlexibleTable.tsx +22 -10
  33. package/src/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.styles.ts +39 -38
  34. package/src/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.tsx +4 -2
  35. package/src/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.styles.ts +25 -25
  36. package/src/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.tsx +2 -1
  37. package/src/components/FlexibleTable/types.ts +70 -70
  38. package/src/components/Icon/Icon.stories.tsx +86 -86
  39. package/src/components/Icon/complexIcons/augment.d.ts +1 -1
  40. package/src/components/Icon/complexIcons/avatarGreen.svg +57 -57
  41. package/src/components/Icon/complexIcons/index.ts +1 -1
  42. package/src/components/Icon/icons-list.ts +855 -856
  43. package/src/components/IncrementInput/IncrementInput.tsx +105 -105
  44. package/src/components/Input/types.ts +32 -32
  45. package/src/components/List/List.tsx +3 -1
  46. package/src/components/Modal/Modal.stories.tsx +105 -105
  47. package/src/components/MultiSelect/MultiSelect.stories.tsx +46 -46
  48. package/src/components/MultiSelect/MultiSelect.tsx +106 -106
  49. package/src/components/MultiSelect/components/MultiSelectInput/MultiSelectInput.tsx +53 -53
  50. package/src/components/NewMoreMenu/NewMoreMenu.tsx +5 -5
  51. package/src/components/Notification/Notification.stories.tsx +55 -55
  52. package/src/components/Notification/Notification.styles.ts +57 -57
  53. package/src/components/Notification/Notification.tsx +77 -77
  54. package/src/components/Notification/types.ts +1 -1
  55. package/src/components/NumberInput/NumberInput.tsx +137 -137
  56. package/src/components/NumberInput/index.ts +1 -1
  57. package/src/components/PhoneInput/PhoneInput.tsx +214 -214
  58. package/src/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.tsx +155 -155
  59. package/src/components/PhoneInput/types.ts +16 -16
  60. package/src/components/RadioButton/RadioButton.stories.tsx +46 -46
  61. package/src/components/RadioButton/RadioButton.tsx +57 -57
  62. package/src/components/ScrollIntoViewIfNeeded/index.ts +1 -1
  63. package/src/components/Select/Select.stories.tsx +235 -235
  64. package/src/components/Select/constants.ts +2 -2
  65. package/src/components/Select/types.ts +1 -1
  66. package/src/components/Selector/Selector.stories.tsx +62 -62
  67. package/src/components/Selector/Selector.tsx +115 -115
  68. package/src/components/Selector/index.ts +2 -2
  69. package/src/components/Selector/types.ts +12 -12
  70. package/src/components/Skeleton/Skeleton.stories.tsx +19 -19
  71. package/src/components/SmartInput/SmartInput.tsx +134 -134
  72. package/src/components/Status/Status.stories.tsx +73 -73
  73. package/src/components/Status/Status.styles.ts +143 -143
  74. package/src/components/Status/Status.tsx +49 -49
  75. package/src/components/Status/constants.ts +11 -11
  76. package/src/components/Status/index.ts +3 -3
  77. package/src/components/Status/types.ts +5 -5
  78. package/src/components/Switch/Switch.stories.tsx +40 -40
  79. package/src/components/Switch/Switch.tsx +75 -75
  80. package/src/components/TextWithInfo/TextWithInfo.stories.tsx +53 -53
  81. package/src/components/TextWithInfo/TextWithInfo.tsx +62 -62
  82. package/src/components/TextWithTooltip/TextWithTooltip.stories.tsx +58 -58
  83. package/src/components/ThemedPreloader/ThemedPreloader.stories.tsx +41 -41
  84. package/src/components/ThemedPreloader/ThemedPreloader.tsx +54 -54
  85. package/src/components/ThemedPreloader/components/DefaultPreloader/index.ts +1 -1
  86. package/src/components/Toaster/Toaster.stories.tsx +30 -30
  87. package/src/components/Tooltip/Tooltip.stories.tsx +19 -19
  88. package/src/components/Tooltip/Tooltip.tsx +35 -35
  89. package/src/components/Tooltip/types.ts +1 -1
  90. package/src/components/WithPopup/WithPopup.stories.tsx +3 -3
  91. package/src/components/WithPopup/WithPopup.styles.ts +2 -0
  92. package/src/components/WithPopup/WithPopup.tsx +18 -8
  93. package/src/components/WithPopup/types.ts +11 -3
  94. package/src/helpers/popper-helpers.ts +17 -17
  95. package/src/hooks/use-dropdown.ts +84 -84
  96. package/src/hooks/use-is-mounted.ts +15 -15
  97. package/src/theme/helpers.ts +76 -76
  98. package/src/types.ts +10 -2
  99. package/src/vite-env.d.ts +1 -1
@@ -6656,63 +6656,63 @@
6656
6656
  return trueReactPlatformHelpers.mergeRefs(refs);
6657
6657
  }, refs);
6658
6658
  };
6659
- const avatarGreen = ` <svg
6660
- width="100%"
6661
- height="100%"
6662
- viewBox="0 0 32 32"
6663
- fill="none"
6664
- xmlns="http://www.w3.org/2000/svg"
6665
- >
6666
- <circle opacity="0.5" cx="16" cy="16" r="16" fill="#DDE3ED" />
6667
- <mask
6668
- id="mask0_0_12744"
6669
- style="mask-type: 'alpha';"
6670
- maskUnits="userSpaceOnUse"
6671
- x="0"
6672
- y="0"
6673
- width="32"
6674
- height="32"
6675
- >
6676
- <circle cx="16" cy="16" r="16" fill="white" />
6677
- </mask>
6678
- <g mask="url(#mask0_0_12744)">
6679
- <circle cx="16" cy="29" r="13" fill="url(#paint0_linear_0_12744)" />
6680
- <mask
6681
- id="mask1_0_12744"
6682
- style="mask-type: 'alpha';"
6683
- maskUnits="userSpaceOnUse"
6684
- x="3"
6685
- y="16"
6686
- width="26"
6687
- height="26"
6688
- >
6689
- <circle cx="16" cy="29" r="13" fill="white" />
6690
- </mask>
6691
- <g mask="url(#mask1_0_12744)">
6692
- <ellipse
6693
- cx="16"
6694
- cy="17.5"
6695
- rx="6"
6696
- ry="7.5"
6697
- fill="#505F79"
6698
- fill-opacity="0.204983"
6699
- />
6700
- </g>
6701
- </g>
6702
- <ellipse cx="16" cy="13" rx="6" ry="7" fill="white" />
6703
- <defs>
6704
- <linearGradient
6705
- id="paint0_linear_0_12744"
6706
- x1="13.347"
6707
- y1="46.279"
6708
- x2="33.5318"
6709
- y2="30.8088"
6710
- gradientUnits="userSpaceOnUse"
6711
- >
6712
- <stop stop-color="#ABD229" />
6713
- <stop offset="1" stop-color="#9CD03F" />
6714
- </linearGradient>
6715
- </defs>
6659
+ const avatarGreen = ` <svg\r
6660
+ width="100%"\r
6661
+ height="100%"\r
6662
+ viewBox="0 0 32 32"\r
6663
+ fill="none"\r
6664
+ xmlns="http://www.w3.org/2000/svg"\r
6665
+ >\r
6666
+ <circle opacity="0.5" cx="16" cy="16" r="16" fill="#DDE3ED" />\r
6667
+ <mask\r
6668
+ id="mask0_0_12744"\r
6669
+ style="mask-type: 'alpha';"\r
6670
+ maskUnits="userSpaceOnUse"\r
6671
+ x="0"\r
6672
+ y="0"\r
6673
+ width="32"\r
6674
+ height="32"\r
6675
+ >\r
6676
+ <circle cx="16" cy="16" r="16" fill="white" />\r
6677
+ </mask>\r
6678
+ <g mask="url(#mask0_0_12744)">\r
6679
+ <circle cx="16" cy="29" r="13" fill="url(#paint0_linear_0_12744)" />\r
6680
+ <mask\r
6681
+ id="mask1_0_12744"\r
6682
+ style="mask-type: 'alpha';"\r
6683
+ maskUnits="userSpaceOnUse"\r
6684
+ x="3"\r
6685
+ y="16"\r
6686
+ width="26"\r
6687
+ height="26"\r
6688
+ >\r
6689
+ <circle cx="16" cy="29" r="13" fill="white" />\r
6690
+ </mask>\r
6691
+ <g mask="url(#mask1_0_12744)">\r
6692
+ <ellipse\r
6693
+ cx="16"\r
6694
+ cy="17.5"\r
6695
+ rx="6"\r
6696
+ ry="7.5"\r
6697
+ fill="#505F79"\r
6698
+ fill-opacity="0.204983"\r
6699
+ />\r
6700
+ </g>\r
6701
+ </g>\r
6702
+ <ellipse cx="16" cy="13" rx="6" ry="7" fill="white" />\r
6703
+ <defs>\r
6704
+ <linearGradient\r
6705
+ id="paint0_linear_0_12744"\r
6706
+ x1="13.347"\r
6707
+ y1="46.279"\r
6708
+ x2="33.5318"\r
6709
+ y2="30.8088"\r
6710
+ gradientUnits="userSpaceOnUse"\r
6711
+ >\r
6712
+ <stop stop-color="#ABD229" />\r
6713
+ <stop offset="1" stop-color="#9CD03F" />\r
6714
+ </linearGradient>\r
6715
+ </defs>\r
6716
6716
  </svg>`;
6717
6717
  const fileExcel = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 20 20" fill="none">\r\n <rect width="20" height="20" rx="4" fill="#21A366"/>\r\n <rect width="20" height="20" rx="4" fill="url(#paint0_linear_0_16081)" style="mix-blend-mode:overlay"/>\r\n <path d="M8.00342 14.5244L10.0728 11.3062L12.1357 14.5244H14.4019L11.2217 9.73828L14.1162 5.21875H11.939L10.1108 8.2085L8.24463 5.21875H6.04834L8.93018 9.66846L5.75 14.5244H8.00342Z" fill="white"/>\r\n <defs>\r\n <linearGradient id="paint0_linear_0_16081" x1="-9.95187" y1="9.95187" x2="9.95187" y2="29.8556" gradientUnits="userSpaceOnUse">\r\n <stop stop-color="white" stop-opacity="0.245559"/>\r\n <stop offset="1" stop-opacity="0.498578"/>\r\n </linearGradient>\r\n </defs>\r\n</svg>';
6718
6718
  const fileImage = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 20 20" fill="none">\r\n <rect width="20" height="20" rx="4" fill="#FF991F"/>\r\n <rect width="20" height="20" rx="4" fill="url(#paint0_linear_0_16103)" style="mix-blend-mode:overlay"/>\r\n <path fill-rule="evenodd" clip-rule="evenodd" d="M3.90113 15C3.09595 15 2.62093 14.097 3.07709 13.4335L6.67606 8.19861C7.07341 7.62064 7.9268 7.62065 8.32414 8.19861L13.0001 15H3.90113Z" fill="white"/>\r\n <path fill-rule="evenodd" clip-rule="evenodd" d="M9.53962 15L12.7076 10.2481C13.1034 9.65434 13.9758 9.65434 14.3717 10.2481L16.5031 13.4453C16.9462 14.1099 16.4698 15 15.6711 15H9.53962Z" fill="white"/>\r\n <path d="M16.0001 5.5C16.0001 6.32843 15.3285 7 14.5001 7C13.6717 7 13.0001 6.32843 13.0001 5.5C13.0001 4.67157 13.6717 4 14.5001 4C15.3285 4 16.0001 4.67157 16.0001 5.5Z" fill="white"/>\r\n <defs>\r\n <linearGradient id="paint0_linear_0_16103" x1="-9.95187" y1="9.95187" x2="9.95187" y2="29.8556" gradientUnits="userSpaceOnUse">\r\n <stop stop-color="white" stop-opacity="0.245559"/>\r\n <stop offset="1" stop-opacity="0.498578"/>\r\n </linearGradient>\r\n </defs>\r\n</svg>';
@@ -7496,8 +7496,7 @@
7496
7496
  "status-info": {
7497
7497
  paths: [
7498
7498
  {
7499
- d: "M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0z",
7500
- fill: "#577EDC"
7499
+ d: "M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0z"
7501
7500
  },
7502
7501
  {
7503
7502
  d: "M10 15c-.552 0-1-.448-1-1v-4c0-.552.448-1 1-1s1 .448 1 1v4c0 .552-.448 1-1 1zM10 7c-.552 0-1-.448-1-1s.448-1 1-1 1 .448 1 1-.448 1-1 1z",
@@ -7809,6 +7808,7 @@
7809
7808
  width: "fit-content",
7810
7809
  cursor: "pointer"
7811
7810
  },
7811
+ active: {},
7812
7812
  disabled: {
7813
7813
  cursor: "default"
7814
7814
  },
@@ -7975,10 +7975,11 @@
7975
7975
  var _useFloating = react.useFloating({
7976
7976
  open: isOpen,
7977
7977
  middleware: [
7978
- react.offset(popupOffset)
7979
- ].concat(_to_consumable_array$7(canBeFlipped ? [
7980
- react.flip()
7981
- ] : []), _to_consumable_array$7(middlewares)),
7978
+ react.offset(popupOffset),
7979
+ canBeFlipped && react.flip({
7980
+ fallbackAxisSideDirection: "start"
7981
+ })
7982
+ ].concat(_to_consumable_array$7(middlewares)),
7982
7983
  whileElementsMounted: react.autoUpdate,
7983
7984
  placement,
7984
7985
  onOpenChange: handleToggle
@@ -8017,15 +8018,21 @@
8017
8018
  }, shouldStopPropagation && {
8018
8019
  onClick: trueReactPlatformHelpers.stopPropagation
8019
8020
  }));
8020
- var triggerElement = trueReactPlatformHelpers.applyAction(trigger, _object_spread$Y({
8021
- isActive: isOpen
8022
- }, isDisabled ? {
8023
- isDisabled: true
8024
- } : void 0, !isTriggerWrapped ? referenceProps : void 0));
8021
+ var triggerElement = trueReactPlatformHelpers.applyAction(trigger, {
8022
+ referenceProps: !isTriggerWrapped ? referenceProps : void 0,
8023
+ triggerProps: _object_spread$Y({
8024
+ isActive: isOpen,
8025
+ isDisabled
8026
+ }, !isTriggerWrapped && _object_spread$Y({
8027
+ data,
8028
+ testId
8029
+ }, referenceProps))
8030
+ });
8031
+ var _obj2;
8025
8032
  return /* @__PURE__ */ jsxs(Fragment, {
8026
8033
  children: [
8027
8034
  isTriggerWrapped ? /* @__PURE__ */ jsx("div", _object_spread_props$P(_object_spread$Y({
8028
- className: clsx(classes.trigger, _define_property$_({}, classes.disabled, isDisabled))
8035
+ className: clsx(classes.trigger, (_obj2 = {}, _define_property$_(_obj2, classes.disabled, isDisabled), _define_property$_(_obj2, classes.active, isOpen), _obj2))
8029
8036
  }, referenceProps, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data)), {
8030
8037
  children: triggerElement
8031
8038
  })) : triggerElement,
@@ -8038,9 +8045,9 @@
8038
8045
  }, getFloatingProps()), {
8039
8046
  children: /* @__PURE__ */ jsx("div", {
8040
8047
  className: classes["dropdown-".concat(status)],
8041
- children: trueReactPlatformHelpers.isFunction(children) ? children({
8048
+ children: trueReactPlatformHelpers.applyAction(children, {
8042
8049
  onClose: handleClose
8043
- }) : children
8050
+ })
8044
8051
  })
8045
8052
  }))
8046
8053
  })
@@ -8286,9 +8293,9 @@
8286
8293
  popupOffset: 0,
8287
8294
  shouldRenderInBody: false,
8288
8295
  trigger: function(param2) {
8289
- var isActive = param2.isActive;
8296
+ var triggerProps = param2.triggerProps;
8290
8297
  return /* @__PURE__ */ jsx(ListItem, _object_spread_props$N(_object_spread$W({}, itemProps), {
8291
- isFocused: isActive
8298
+ isFocused: triggerProps.isActive
8292
8299
  }));
8293
8300
  },
8294
8301
  children: /* @__PURE__ */ jsx("div", {
@@ -9107,10 +9114,10 @@
9107
9114
  }
9108
9115
  return target;
9109
9116
  }
9110
- function _object_without_properties$h(source, excluded) {
9117
+ function _object_without_properties$g(source, excluded) {
9111
9118
  if (source == null)
9112
9119
  return {};
9113
- var target = _object_without_properties_loose$h(source, excluded);
9120
+ var target = _object_without_properties_loose$g(source, excluded);
9114
9121
  var key, i;
9115
9122
  if (Object.getOwnPropertySymbols) {
9116
9123
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -9125,7 +9132,7 @@
9125
9132
  }
9126
9133
  return target;
9127
9134
  }
9128
- function _object_without_properties_loose$h(source, excluded) {
9135
+ function _object_without_properties_loose$g(source, excluded) {
9129
9136
  if (source == null)
9130
9137
  return {};
9131
9138
  var target = {};
@@ -9140,7 +9147,7 @@
9140
9147
  return target;
9141
9148
  }
9142
9149
  var Button = /* @__PURE__ */ React.forwardRef(function(_param, ref) {
9143
- var _param_type = _param.type, type = _param_type === void 0 ? "button" : _param_type, children = _param.children, _param_size = _param.size, size = _param_size === void 0 ? "l" : _param_size, _param_view = _param.view, view = _param_view === void 0 ? "primary" : _param_view, _param_isFullWidth = _param.isFullWidth, isFullWidth = _param_isFullWidth === void 0 ? false : _param_isFullWidth, _param_isInline = _param.isInline, isInline = _param_isInline === void 0 ? false : _param_isInline, _param_isDisabled = _param.isDisabled, isDisabled = _param_isDisabled === void 0 ? false : _param_isDisabled, _param_isActive = _param.isActive, isActive = _param_isActive === void 0 ? false : _param_isActive, _param_isLoading = _param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, _param_shouldSkipTabNavigation = _param.shouldSkipTabNavigation, shouldSkipTabNavigation = _param_shouldSkipTabNavigation === void 0 ? false : _param_shouldSkipTabNavigation, data = _param.data, testId = _param.testId, tweakStyles = _param.tweakStyles, icon = _param.icon, _param_iconPosition = _param.iconPosition, iconPosition = _param_iconPosition === void 0 ? "left" : _param_iconPosition, _param_preloaderType = _param.preloaderType, preloaderType = _param_preloaderType === void 0 ? "dots" : _param_preloaderType, interactions = _object_without_properties$h(_param, [
9150
+ var _param_type = _param.type, type = _param_type === void 0 ? "button" : _param_type, children = _param.children, _param_size = _param.size, size = _param_size === void 0 ? "l" : _param_size, _param_view = _param.view, view = _param_view === void 0 ? "primary" : _param_view, _param_isFullWidth = _param.isFullWidth, isFullWidth = _param_isFullWidth === void 0 ? false : _param_isFullWidth, _param_isInline = _param.isInline, isInline = _param_isInline === void 0 ? false : _param_isInline, _param_isDisabled = _param.isDisabled, isDisabled = _param_isDisabled === void 0 ? false : _param_isDisabled, _param_isActive = _param.isActive, isActive = _param_isActive === void 0 ? false : _param_isActive, _param_isLoading = _param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, _param_shouldSkipTabNavigation = _param.shouldSkipTabNavigation, shouldSkipTabNavigation = _param_shouldSkipTabNavigation === void 0 ? false : _param_shouldSkipTabNavigation, data = _param.data, testId = _param.testId, tweakStyles = _param.tweakStyles, icon = _param.icon, _param_iconPosition = _param.iconPosition, iconPosition = _param_iconPosition === void 0 ? "left" : _param_iconPosition, _param_preloaderType = _param.preloaderType, preloaderType = _param_preloaderType === void 0 ? "dots" : _param_preloaderType, interactions = _object_without_properties$g(_param, [
9144
9151
  "type",
9145
9152
  "children",
9146
9153
  "size",
@@ -9996,10 +10003,10 @@
9996
10003
  }
9997
10004
  return target;
9998
10005
  }
9999
- function _object_without_properties$g(source, excluded) {
10006
+ function _object_without_properties$f(source, excluded) {
10000
10007
  if (source == null)
10001
10008
  return {};
10002
- var target = _object_without_properties_loose$g(source, excluded);
10009
+ var target = _object_without_properties_loose$f(source, excluded);
10003
10010
  var key, i;
10004
10011
  if (Object.getOwnPropertySymbols) {
10005
10012
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -10014,7 +10021,7 @@
10014
10021
  }
10015
10022
  return target;
10016
10023
  }
10017
- function _object_without_properties_loose$g(source, excluded) {
10024
+ function _object_without_properties_loose$f(source, excluded) {
10018
10025
  if (source == null)
10019
10026
  return {};
10020
10027
  var target = {};
@@ -10147,7 +10154,7 @@
10147
10154
  }
10148
10155
  }
10149
10156
  var Input = /* @__PURE__ */ React.forwardRef(function(_param, ref) {
10150
- var _param_value = _param.value, value = _param_value === void 0 ? "" : _param_value, label = _param.label, placeholder = _param.placeholder, _param_type = _param.type, type = _param_type === void 0 ? "text" : _param_type, isDisabled = _param.isDisabled, _param_isReadonly = _param.isReadonly, isReadonly = _param_isReadonly === void 0 ? false : _param_isReadonly, _param_hasFloatingLabel = _param.hasFloatingLabel, hasFloatingLabel = _param_hasFloatingLabel === void 0 ? true : _param_hasFloatingLabel, _param_isInvalid = _param.isInvalid, isInvalid = _param_isInvalid === void 0 ? false : _param_isInvalid, _param_isActive = _param.isActive, isActive = _param_isActive === void 0 ? false : _param_isActive, _param_isClearable = _param.isClearable, isClearable = _param_isClearable === void 0 ? false : _param_isClearable, infoMessage = _param.infoMessage, errorMessage = _param.errorMessage, _param_errorPosition = _param.errorPosition, errorPosition = _param_errorPosition === void 0 ? "bottom" : _param_errorPosition, inlineStyle = _param.inlineStyle, border = _param.border, _param_isRequired = _param.isRequired, isRequired = _param_isRequired === void 0 ? false : _param_isRequired, _param_isLoading = _param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, _param_isAutoSizeable = _param.isAutoSizeable, isAutoSizeable = _param_isAutoSizeable === void 0 ? false : _param_isAutoSizeable, _param_defaultSize = _param.defaultSize, defaultSize = _param_defaultSize === void 0 ? DEFAULT_SIZE : _param_defaultSize, iconType = _param.iconType, hasRequiredLabel = _param.hasRequiredLabel, data = _param.data, tweakStyles = _param.tweakStyles, _param_shouldFocusOnMount = _param.shouldFocusOnMount, shouldFocusOnMount = _param_shouldFocusOnMount === void 0 ? false : _param_shouldFocusOnMount, units = _param.units, testId = _param.testId, onChange = _param.onChange, onFocus = _param.onFocus, onBlur = _param.onBlur, onIconClick = _param.onIconClick, mask = _param.mask, maskPlaceholder = _param.maskPlaceholder, alwaysShowMask = _param.alwaysShowMask, _param_shouldAlwaysShowPlaceholder = _param.shouldAlwaysShowPlaceholder, shouldAlwaysShowPlaceholder = _param_shouldAlwaysShowPlaceholder === void 0 ? false : _param_shouldAlwaysShowPlaceholder, beforeMaskedStateChange = _param.beforeMaskedStateChange, inputProps = _object_without_properties$g(_param, [
10157
+ var _param_value = _param.value, value = _param_value === void 0 ? "" : _param_value, label = _param.label, placeholder = _param.placeholder, _param_type = _param.type, type = _param_type === void 0 ? "text" : _param_type, isDisabled = _param.isDisabled, _param_isReadonly = _param.isReadonly, isReadonly = _param_isReadonly === void 0 ? false : _param_isReadonly, _param_hasFloatingLabel = _param.hasFloatingLabel, hasFloatingLabel = _param_hasFloatingLabel === void 0 ? true : _param_hasFloatingLabel, _param_isInvalid = _param.isInvalid, isInvalid = _param_isInvalid === void 0 ? false : _param_isInvalid, _param_isActive = _param.isActive, isActive = _param_isActive === void 0 ? false : _param_isActive, _param_isClearable = _param.isClearable, isClearable = _param_isClearable === void 0 ? false : _param_isClearable, infoMessage = _param.infoMessage, errorMessage = _param.errorMessage, _param_errorPosition = _param.errorPosition, errorPosition = _param_errorPosition === void 0 ? "bottom" : _param_errorPosition, inlineStyle = _param.inlineStyle, border = _param.border, _param_isRequired = _param.isRequired, isRequired = _param_isRequired === void 0 ? false : _param_isRequired, _param_isLoading = _param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, _param_isAutoSizeable = _param.isAutoSizeable, isAutoSizeable = _param_isAutoSizeable === void 0 ? false : _param_isAutoSizeable, _param_defaultSize = _param.defaultSize, defaultSize = _param_defaultSize === void 0 ? DEFAULT_SIZE : _param_defaultSize, iconType = _param.iconType, hasRequiredLabel = _param.hasRequiredLabel, data = _param.data, tweakStyles = _param.tweakStyles, _param_shouldFocusOnMount = _param.shouldFocusOnMount, shouldFocusOnMount = _param_shouldFocusOnMount === void 0 ? false : _param_shouldFocusOnMount, units = _param.units, testId = _param.testId, onChange = _param.onChange, onFocus = _param.onFocus, onBlur = _param.onBlur, onIconClick = _param.onIconClick, mask = _param.mask, maskPlaceholder = _param.maskPlaceholder, alwaysShowMask = _param.alwaysShowMask, _param_shouldAlwaysShowPlaceholder = _param.shouldAlwaysShowPlaceholder, shouldAlwaysShowPlaceholder = _param_shouldAlwaysShowPlaceholder === void 0 ? false : _param_shouldAlwaysShowPlaceholder, beforeMaskedStateChange = _param.beforeMaskedStateChange, inputProps = _object_without_properties$f(_param, [
10151
10158
  "value",
10152
10159
  "label",
10153
10160
  "placeholder",
@@ -10389,10 +10396,10 @@
10389
10396
  }
10390
10397
  return target;
10391
10398
  }
10392
- function _object_without_properties$f(source, excluded) {
10399
+ function _object_without_properties$e(source, excluded) {
10393
10400
  if (source == null)
10394
10401
  return {};
10395
- var target = _object_without_properties_loose$f(source, excluded);
10402
+ var target = _object_without_properties_loose$e(source, excluded);
10396
10403
  var key, i;
10397
10404
  if (Object.getOwnPropertySymbols) {
10398
10405
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -10407,7 +10414,7 @@
10407
10414
  }
10408
10415
  return target;
10409
10416
  }
10410
- function _object_without_properties_loose$f(source, excluded) {
10417
+ function _object_without_properties_loose$e(source, excluded) {
10411
10418
  if (source == null)
10412
10419
  return {};
10413
10420
  var target = {};
@@ -10422,7 +10429,7 @@
10422
10429
  return target;
10423
10430
  }
10424
10431
  var DateInput = /* @__PURE__ */ React.forwardRef(function(_param, ref) {
10425
- var date = _param.date, _param_startDate = _param.startDate, startDate = _param_startDate === void 0 ? "" : _param_startDate, _param_endDate = _param.endDate, endDate = _param_endDate === void 0 ? "" : _param_endDate, mask = _param.mask, className = _param.className, placeholder = _param.placeholder, data = _param.data, _param_isRange = _param.isRange, isRange = _param_isRange === void 0 ? false : _param_isRange, tweakStyles = _param.tweakStyles, onClick = _param.onClick, onChange = _param.onChange, inputProps = _object_without_properties$f(_param, [
10432
+ var date = _param.date, _param_startDate = _param.startDate, startDate = _param_startDate === void 0 ? "" : _param_startDate, _param_endDate = _param.endDate, endDate = _param_endDate === void 0 ? "" : _param_endDate, mask = _param.mask, className = _param.className, placeholder = _param.placeholder, data = _param.data, _param_isRange = _param.isRange, isRange = _param_isRange === void 0 ? false : _param_isRange, tweakStyles = _param.tweakStyles, onClick = _param.onClick, onChange = _param.onChange, inputProps = _object_without_properties$e(_param, [
10426
10433
  "date",
10427
10434
  "startDate",
10428
10435
  "endDate",
@@ -10568,10 +10575,10 @@
10568
10575
  }
10569
10576
  return target;
10570
10577
  }
10571
- function _object_without_properties$e(source, excluded) {
10578
+ function _object_without_properties$d(source, excluded) {
10572
10579
  if (source == null)
10573
10580
  return {};
10574
- var target = _object_without_properties_loose$e(source, excluded);
10581
+ var target = _object_without_properties_loose$d(source, excluded);
10575
10582
  var key, i;
10576
10583
  if (Object.getOwnPropertySymbols) {
10577
10584
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -10586,7 +10593,7 @@
10586
10593
  }
10587
10594
  return target;
10588
10595
  }
10589
- function _object_without_properties_loose$e(source, excluded) {
10596
+ function _object_without_properties_loose$d(source, excluded) {
10590
10597
  if (source == null)
10591
10598
  return {};
10592
10599
  var target = {};
@@ -10601,7 +10608,7 @@
10601
10608
  return target;
10602
10609
  }
10603
10610
  var SearchInput = function(_param) {
10604
- var _param_isClearable = _param.isClearable, isClearable = _param_isClearable === void 0 ? true : _param_isClearable, tweakStyles = _param.tweakStyles, testId = _param.testId, data = _param.data, props = _object_without_properties$e(_param, [
10611
+ var _param_isClearable = _param.isClearable, isClearable = _param_isClearable === void 0 ? true : _param_isClearable, tweakStyles = _param.tweakStyles, testId = _param.testId, data = _param.data, props = _object_without_properties$d(_param, [
10605
10612
  "isClearable",
10606
10613
  "tweakStyles",
10607
10614
  "testId",
@@ -10722,10 +10729,10 @@
10722
10729
  }
10723
10730
  return target;
10724
10731
  }
10725
- function _object_without_properties$d(source, excluded) {
10732
+ function _object_without_properties$c(source, excluded) {
10726
10733
  if (source == null)
10727
10734
  return {};
10728
- var target = _object_without_properties_loose$d(source, excluded);
10735
+ var target = _object_without_properties_loose$c(source, excluded);
10729
10736
  var key, i;
10730
10737
  if (Object.getOwnPropertySymbols) {
10731
10738
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -10740,7 +10747,7 @@
10740
10747
  }
10741
10748
  return target;
10742
10749
  }
10743
- function _object_without_properties_loose$d(source, excluded) {
10750
+ function _object_without_properties_loose$c(source, excluded) {
10744
10751
  if (source == null)
10745
10752
  return {};
10746
10753
  var target = {};
@@ -10843,7 +10850,7 @@
10843
10850
  _this_props.active;
10844
10851
  var elementType = _this_props.elementType, children = _this_props.children;
10845
10852
  _this_props.options;
10846
- var wrapperProps = _object_without_properties$d(_this_props, [
10853
+ var wrapperProps = _object_without_properties$c(_this_props, [
10847
10854
  "active",
10848
10855
  "elementType",
10849
10856
  "children",
@@ -11445,10 +11452,10 @@
11445
11452
  }
11446
11453
  return target;
11447
11454
  }
11448
- function _object_without_properties$c(source, excluded) {
11455
+ function _object_without_properties$b(source, excluded) {
11449
11456
  if (source == null)
11450
11457
  return {};
11451
- var target = _object_without_properties_loose$c(source, excluded);
11458
+ var target = _object_without_properties_loose$b(source, excluded);
11452
11459
  var key, i;
11453
11460
  if (Object.getOwnPropertySymbols) {
11454
11461
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -11463,7 +11470,7 @@
11463
11470
  }
11464
11471
  return target;
11465
11472
  }
11466
- function _object_without_properties_loose$c(source, excluded) {
11473
+ function _object_without_properties_loose$b(source, excluded) {
11467
11474
  if (source == null)
11468
11475
  return {};
11469
11476
  var target = {};
@@ -11600,7 +11607,7 @@
11600
11607
  }
11601
11608
  function Select(props) {
11602
11609
  var _input_current;
11603
- var options = props.options, isMultiSelect = props.isMultiSelect, value = props.value, header = props.header, footer = props.footer, defaultOptionLabel = props.defaultOptionLabel, allOptionsLabel = props.allOptionsLabel, _props_debounceTime = props.debounceTime, debounceTime = _props_debounceTime === void 0 ? 400 : _props_debounceTime, _props_optionsMode = props.optionsMode, optionsMode = _props_optionsMode === void 0 ? "normal" : _props_optionsMode, noMatchesLabel = props.noMatchesLabel, loadingLabel = props.loadingLabel, tweakStyles = props.tweakStyles, testId = props.testId, isActive = props.isActive, isReadonly = props.isReadonly, isDisabled = props.isDisabled, dropdownOptions = props.dropdownOptions, _props_minSymbolsCountToOpenList = props.minSymbolsCountToOpenList, minSymbolsCountToOpenList = _props_minSymbolsCountToOpenList === void 0 ? 0 : _props_minSymbolsCountToOpenList, _props_dropdownIcon = props.dropdownIcon, dropdownIcon = _props_dropdownIcon === void 0 ? "chevron-down" : _props_dropdownIcon, _props_shouldScrollToList = props.shouldScrollToList, shouldScrollToList = _props_shouldScrollToList === void 0 ? true : _props_shouldScrollToList, searchInput = props.searchInput, iconType = props.iconType, onChange = props.onChange, onFocus = props.onFocus, onBlur = props.onBlur, onType = props.onType, onOpen = props.onOpen, _props_isOptionDisabled = props.isOptionDisabled, isOptionDisabled = _props_isOptionDisabled === void 0 ? defaultIsOptionDisabled : _props_isOptionDisabled, _props_compareValuesOnChange = props.compareValuesOnChange, compareValuesOnChange = _props_compareValuesOnChange === void 0 ? defaultCompareFunction : _props_compareValuesOnChange, _props_convertValueToString = props.convertValueToString, convertValueToString = _props_convertValueToString === void 0 ? defaultConvertFunction$2 : _props_convertValueToString, convertValueToId = props.convertValueToId, convertValueToReactNode = props.convertValueToReactNode, optionsFilter = props.optionsFilter, inputProps = _object_without_properties$c(props, [
11610
+ var options = props.options, isMultiSelect = props.isMultiSelect, value = props.value, header = props.header, footer = props.footer, defaultOptionLabel = props.defaultOptionLabel, allOptionsLabel = props.allOptionsLabel, _props_debounceTime = props.debounceTime, debounceTime = _props_debounceTime === void 0 ? 400 : _props_debounceTime, _props_optionsMode = props.optionsMode, optionsMode = _props_optionsMode === void 0 ? "normal" : _props_optionsMode, noMatchesLabel = props.noMatchesLabel, loadingLabel = props.loadingLabel, tweakStyles = props.tweakStyles, testId = props.testId, isActive = props.isActive, isReadonly = props.isReadonly, isDisabled = props.isDisabled, dropdownOptions = props.dropdownOptions, _props_minSymbolsCountToOpenList = props.minSymbolsCountToOpenList, minSymbolsCountToOpenList = _props_minSymbolsCountToOpenList === void 0 ? 0 : _props_minSymbolsCountToOpenList, _props_dropdownIcon = props.dropdownIcon, dropdownIcon = _props_dropdownIcon === void 0 ? "chevron-down" : _props_dropdownIcon, _props_shouldScrollToList = props.shouldScrollToList, shouldScrollToList = _props_shouldScrollToList === void 0 ? true : _props_shouldScrollToList, searchInput = props.searchInput, iconType = props.iconType, onChange = props.onChange, onFocus = props.onFocus, onBlur = props.onBlur, onType = props.onType, onOpen = props.onOpen, _props_isOptionDisabled = props.isOptionDisabled, isOptionDisabled = _props_isOptionDisabled === void 0 ? defaultIsOptionDisabled : _props_isOptionDisabled, _props_compareValuesOnChange = props.compareValuesOnChange, compareValuesOnChange = _props_compareValuesOnChange === void 0 ? defaultCompareFunction : _props_compareValuesOnChange, _props_convertValueToString = props.convertValueToString, convertValueToString = _props_convertValueToString === void 0 ? defaultConvertFunction$2 : _props_convertValueToString, convertValueToId = props.convertValueToId, convertValueToReactNode = props.convertValueToReactNode, optionsFilter = props.optionsFilter, inputProps = _object_without_properties$b(props, [
11604
11611
  "options",
11605
11612
  "isMultiSelect",
11606
11613
  "value",
@@ -11638,7 +11645,7 @@
11638
11645
  var classes = useStyles$D({
11639
11646
  theme: tweakStyles
11640
11647
  });
11641
- var _ref = searchInput !== null && searchInput !== void 0 ? searchInput : {}, tmp = _ref.shouldRenderInList, shouldRenderSearchInputInList = tmp === void 0 ? false : tmp, searchInputProps = _object_without_properties$c(_ref, [
11648
+ var _ref = searchInput !== null && searchInput !== void 0 ? searchInput : {}, tmp = _ref.shouldRenderInList, shouldRenderSearchInputInList = tmp === void 0 ? false : tmp, searchInputProps = _object_without_properties$b(_ref, [
11642
11649
  "shouldRenderInList"
11643
11650
  ]);
11644
11651
  var hasSearchInputInList = optionsMode !== "normal" && shouldRenderSearchInputInList;
@@ -12402,10 +12409,10 @@
12402
12409
  }
12403
12410
  return target;
12404
12411
  }
12405
- function _object_without_properties$b(source, excluded) {
12412
+ function _object_without_properties$a(source, excluded) {
12406
12413
  if (source == null)
12407
12414
  return {};
12408
- var target = _object_without_properties_loose$b(source, excluded);
12415
+ var target = _object_without_properties_loose$a(source, excluded);
12409
12416
  var key, i;
12410
12417
  if (Object.getOwnPropertySymbols) {
12411
12418
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -12420,7 +12427,7 @@
12420
12427
  }
12421
12428
  return target;
12422
12429
  }
12423
- function _object_without_properties_loose$b(source, excluded) {
12430
+ function _object_without_properties_loose$a(source, excluded) {
12424
12431
  if (source == null)
12425
12432
  return {};
12426
12433
  var target = {};
@@ -12451,7 +12458,7 @@
12451
12458
  return _array_like_to_array$i(o, minLen);
12452
12459
  }
12453
12460
  var DatePicker = /* @__PURE__ */ React.forwardRef(function(_param, ref) {
12454
- var data = _param.data, _param_selectedDate = _param.selectedDate, selectedDate = _param_selectedDate === void 0 ? null : _param_selectedDate, minDate = _param.minDate, maxDate = _param.maxDate, _param_endDate = _param.endDate, endDate = _param_endDate === void 0 ? null : _param_endDate, _param_startDate = _param.startDate, startDate = _param_startDate === void 0 ? null : _param_startDate, locale2 = _param.locale, months = _param.months, _param_calendarStartDay = _param.calendarStartDay, calendarStartDay = _param_calendarStartDay === void 0 ? 1 : _param_calendarStartDay, _param_dateFormat = _param.dateFormat, dateFormat = _param_dateFormat === void 0 ? DEFAULT_DATE_FORMAT$2 : _param_dateFormat, monthsShown = _param.monthsShown, placeholder = _param.placeholder, _param_isRange = _param.isRange, isRange = _param_isRange === void 0 ? false : _param_isRange, _param_isInline = _param.isInline, isInline = _param_isInline === void 0 ? false : _param_isInline, isDisabled = _param.isDisabled, isClearable = _param.isClearable, strictParsing = _param.strictParsing, fixedHeight = _param.fixedHeight, excludeScrollbar = _param.excludeScrollbar, focusSelectedMonth = _param.focusSelectedMonth, disabledKeyboardNavigation = _param.disabledKeyboardNavigation, _param_shouldRenderPopperInBody = _param.shouldRenderPopperInBody, shouldRenderPopperInBody = _param_shouldRenderPopperInBody === void 0 ? false : _param_shouldRenderPopperInBody, _param_allowSameDay = _param.allowSameDay, allowSameDay = _param_allowSameDay === void 0 ? false : _param_allowSameDay, shouldCloseOnSelect = _param.shouldCloseOnSelect, showPreviousMonths = _param.showPreviousMonths, preventOpenOnFocus = _param.preventOpenOnFocus, popperModifiers = _param.popperModifiers, popperPlacement = _param.popperPlacement, todayButton = _param.todayButton, highlightDates = _param.highlightDates, calendarContainer = _param.calendarContainer, dayClassName = _param.dayClassName, tmp = _param.customInput, CustomInput = tmp === void 0 ? DateInput : tmp, customInputRef = _param.customInputRef, renderCustomHeader = _param.renderCustomHeader, filterDate = _param.filterDate, onYearChange = _param.onYearChange, onMonthChange = _param.onMonthChange, onCalendarOpen = _param.onCalendarOpen, onCalendarClose = _param.onCalendarClose, onChangeDate = _param.onChangeDate, onChangeRange = _param.onChangeRange, onBlur = _param.onBlur, onFocus = _param.onFocus, onKeyDown = _param.onKeyDown, tweakStyles = _param.tweakStyles, inputProps = _object_without_properties$b(_param, [
12461
+ var data = _param.data, _param_selectedDate = _param.selectedDate, selectedDate = _param_selectedDate === void 0 ? null : _param_selectedDate, minDate = _param.minDate, maxDate = _param.maxDate, _param_endDate = _param.endDate, endDate = _param_endDate === void 0 ? null : _param_endDate, _param_startDate = _param.startDate, startDate = _param_startDate === void 0 ? null : _param_startDate, locale2 = _param.locale, months = _param.months, _param_calendarStartDay = _param.calendarStartDay, calendarStartDay = _param_calendarStartDay === void 0 ? 1 : _param_calendarStartDay, _param_dateFormat = _param.dateFormat, dateFormat = _param_dateFormat === void 0 ? DEFAULT_DATE_FORMAT$2 : _param_dateFormat, monthsShown = _param.monthsShown, placeholder = _param.placeholder, _param_isRange = _param.isRange, isRange = _param_isRange === void 0 ? false : _param_isRange, _param_isInline = _param.isInline, isInline = _param_isInline === void 0 ? false : _param_isInline, isDisabled = _param.isDisabled, isClearable = _param.isClearable, strictParsing = _param.strictParsing, fixedHeight = _param.fixedHeight, excludeScrollbar = _param.excludeScrollbar, focusSelectedMonth = _param.focusSelectedMonth, disabledKeyboardNavigation = _param.disabledKeyboardNavigation, _param_shouldRenderPopperInBody = _param.shouldRenderPopperInBody, shouldRenderPopperInBody = _param_shouldRenderPopperInBody === void 0 ? false : _param_shouldRenderPopperInBody, _param_allowSameDay = _param.allowSameDay, allowSameDay = _param_allowSameDay === void 0 ? false : _param_allowSameDay, shouldCloseOnSelect = _param.shouldCloseOnSelect, showPreviousMonths = _param.showPreviousMonths, preventOpenOnFocus = _param.preventOpenOnFocus, popperModifiers = _param.popperModifiers, popperPlacement = _param.popperPlacement, todayButton = _param.todayButton, highlightDates = _param.highlightDates, calendarContainer = _param.calendarContainer, dayClassName = _param.dayClassName, tmp = _param.customInput, CustomInput = tmp === void 0 ? DateInput : tmp, customInputRef = _param.customInputRef, renderCustomHeader = _param.renderCustomHeader, filterDate = _param.filterDate, onYearChange = _param.onYearChange, onMonthChange = _param.onMonthChange, onCalendarOpen = _param.onCalendarOpen, onCalendarClose = _param.onCalendarClose, onChangeDate = _param.onChangeDate, onChangeRange = _param.onChangeRange, onBlur = _param.onBlur, onFocus = _param.onFocus, onKeyDown = _param.onKeyDown, tweakStyles = _param.tweakStyles, inputProps = _object_without_properties$a(_param, [
12455
12462
  "data",
12456
12463
  "selectedDate",
12457
12464
  "minDate",
@@ -13269,10 +13276,10 @@
13269
13276
  }
13270
13277
  return target;
13271
13278
  }
13272
- function _object_without_properties$a(source, excluded) {
13279
+ function _object_without_properties$9(source, excluded) {
13273
13280
  if (source == null)
13274
13281
  return {};
13275
- var target = _object_without_properties_loose$a(source, excluded);
13282
+ var target = _object_without_properties_loose$9(source, excluded);
13276
13283
  var key, i;
13277
13284
  if (Object.getOwnPropertySymbols) {
13278
13285
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -13287,7 +13294,7 @@
13287
13294
  }
13288
13295
  return target;
13289
13296
  }
13290
- function _object_without_properties_loose$a(source, excluded) {
13297
+ function _object_without_properties_loose$9(source, excluded) {
13291
13298
  if (source == null)
13292
13299
  return {};
13293
13300
  var target = {};
@@ -13302,7 +13309,7 @@
13302
13309
  return target;
13303
13310
  }
13304
13311
  var IconButton = /* @__PURE__ */ React.forwardRef(function(_param, ref) {
13305
- var icon = _param.icon, _param_size = _param.size, size = _param_size === void 0 ? "m" : _param_size, _param_view = _param.view, view = _param_view === void 0 ? "cancel-light" : _param_view, _param_isDisabled = _param.isDisabled, isDisabled = _param_isDisabled === void 0 ? false : _param_isDisabled, _param_isActive = _param.isActive, isActive = _param_isActive === void 0 ? false : _param_isActive, _param_isLoading = _param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, _param_type = _param.type, type = _param_type === void 0 ? "button" : _param_type, testId = _param.testId, tweakStyles = _param.tweakStyles, data = _param.data, onClick = _param.onClick, restProps = _object_without_properties$a(_param, [
13312
+ var icon = _param.icon, _param_size = _param.size, size = _param_size === void 0 ? "m" : _param_size, _param_view = _param.view, view = _param_view === void 0 ? "cancel-light" : _param_view, _param_isDisabled = _param.isDisabled, isDisabled = _param_isDisabled === void 0 ? false : _param_isDisabled, _param_isActive = _param.isActive, isActive = _param_isActive === void 0 ? false : _param_isActive, _param_isLoading = _param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, _param_type = _param.type, type = _param_type === void 0 ? "button" : _param_type, testId = _param.testId, tweakStyles = _param.tweakStyles, data = _param.data, onClick = _param.onClick, restProps = _object_without_properties$9(_param, [
13306
13313
  "icon",
13307
13314
  "size",
13308
13315
  "view",
@@ -14226,10 +14233,10 @@
14226
14233
  }
14227
14234
  return target;
14228
14235
  }
14229
- function _object_without_properties$9(source, excluded) {
14236
+ function _object_without_properties$8(source, excluded) {
14230
14237
  if (source == null)
14231
14238
  return {};
14232
- var target = _object_without_properties_loose$9(source, excluded);
14239
+ var target = _object_without_properties_loose$8(source, excluded);
14233
14240
  var key, i;
14234
14241
  if (Object.getOwnPropertySymbols) {
14235
14242
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -14244,7 +14251,7 @@
14244
14251
  }
14245
14252
  return target;
14246
14253
  }
14247
- function _object_without_properties_loose$9(source, excluded) {
14254
+ function _object_without_properties_loose$8(source, excluded) {
14248
14255
  if (source == null)
14249
14256
  return {};
14250
14257
  var target = {};
@@ -14377,7 +14384,7 @@
14377
14384
  }
14378
14385
  }
14379
14386
  var NumberInput = /* @__PURE__ */ React.forwardRef(function(_param, ref) {
14380
- var value = _param.value, _param_canBeFloat = _param.canBeFloat, canBeFloat = _param_canBeFloat === void 0 ? false : _param_canBeFloat, _param_canBeNegative = _param.canBeNegative, canBeNegative = _param_canBeNegative === void 0 ? false : _param_canBeNegative, defaultValue = _param.defaultValue, _param_precision = _param.precision, precision = _param_precision === void 0 ? 3 : _param_precision, _param_intPartPrecision = _param.intPartPrecision, intPartPrecision = _param_intPartPrecision === void 0 ? 7 : _param_intPartPrecision, onChange = _param.onChange, onBlur = _param.onBlur, min2 = _param.min, max2 = _param.max, props = _object_without_properties$9(_param, [
14387
+ var value = _param.value, _param_canBeFloat = _param.canBeFloat, canBeFloat = _param_canBeFloat === void 0 ? false : _param_canBeFloat, _param_canBeNegative = _param.canBeNegative, canBeNegative = _param_canBeNegative === void 0 ? false : _param_canBeNegative, defaultValue = _param.defaultValue, _param_precision = _param.precision, precision = _param_precision === void 0 ? 3 : _param_precision, _param_intPartPrecision = _param.intPartPrecision, intPartPrecision = _param_intPartPrecision === void 0 ? 7 : _param_intPartPrecision, onChange = _param.onChange, onBlur = _param.onBlur, min2 = _param.min, max2 = _param.max, props = _object_without_properties$8(_param, [
14381
14388
  "value",
14382
14389
  "canBeFloat",
14383
14390
  "canBeNegative",
@@ -19294,38 +19301,6 @@
19294
19301
  }
19295
19302
  return target;
19296
19303
  }
19297
- function _object_without_properties$8(source, excluded) {
19298
- if (source == null)
19299
- return {};
19300
- var target = _object_without_properties_loose$8(source, excluded);
19301
- var key, i;
19302
- if (Object.getOwnPropertySymbols) {
19303
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
19304
- for (i = 0; i < sourceSymbolKeys.length; i++) {
19305
- key = sourceSymbolKeys[i];
19306
- if (excluded.indexOf(key) >= 0)
19307
- continue;
19308
- if (!Object.prototype.propertyIsEnumerable.call(source, key))
19309
- continue;
19310
- target[key] = source[key];
19311
- }
19312
- }
19313
- return target;
19314
- }
19315
- function _object_without_properties_loose$8(source, excluded) {
19316
- if (source == null)
19317
- return {};
19318
- var target = {};
19319
- var sourceKeys = Object.keys(source);
19320
- var key, i;
19321
- for (i = 0; i < sourceKeys.length; i++) {
19322
- key = sourceKeys[i];
19323
- if (excluded.indexOf(key) >= 0)
19324
- continue;
19325
- target[key] = source[key];
19326
- }
19327
- return target;
19328
- }
19329
19304
  function FilterWrapper(param) {
19330
19305
  var filter = param.filter, value = param.value, isDisabled = param.isDisabled, locale2 = param.locale, localeKey = param.localeKey, data = param.data, testId = param.testId, tweakStyles = param.tweakStyles, onChange = param.onChange;
19331
19306
  var classes = useStyles$m({
@@ -19363,17 +19338,12 @@
19363
19338
  canBeFlipped: true,
19364
19339
  isDisabled: isBoolean || isDisabled,
19365
19340
  tweakStyles: tweakWithPopupStyles,
19366
- trigger: function(_param) {
19367
- var isActive = _param.isActive;
19368
- _param.isDisabled;
19369
- var props = _object_without_properties$8(_param, [
19370
- "isActive",
19371
- "isDisabled"
19372
- ]);
19341
+ trigger: function(param2) {
19342
+ var isActive = param2.triggerProps.isActive, referenceProps = param2.referenceProps;
19373
19343
  var _obj2;
19374
19344
  return /* @__PURE__ */ jsx("div", _object_spread_props$m(_object_spread$n({
19375
19345
  className: clsx(classes.root, (_obj2 = {}, _define_property$o(_obj2, classes.noValue, !hasValue), _define_property$o(_obj2, classes.openNoValue, isActive && !hasValue), _define_property$o(_obj2, classes.withValue, !isActive && hasValue), _define_property$o(_obj2, classes.openWithValue, isActive && hasValue), _define_property$o(_obj2, classes.boolean, isBoolean), _define_property$o(_obj2, classes.disabled, isDisabled), _obj2))
19376
- }, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data), props), {
19346
+ }, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data), referenceProps), {
19377
19347
  children: /* @__PURE__ */ jsxs("div", {
19378
19348
  onClick: handleLabelClick,
19379
19349
  className: clsx(classes.item, _define_property$o({}, classes.booleanItem, isBoolean)),
@@ -25956,7 +25926,8 @@
25956
25926
  sticky: _object_spread_props$k(_object_spread$l({
25957
25927
  zIndex: 19,
25958
25928
  paddingLeft: 24,
25959
- paddingRight: 12
25929
+ paddingRight: 12,
25930
+ left: 0
25960
25931
  }, trueReactPlatformHelpers.getTransition([
25961
25932
  "box-shadow"
25962
25933
  ])), {
@@ -26057,7 +26028,7 @@
26057
26028
  return target;
26058
26029
  }
26059
26030
  function FlexibleTableCell(_param) {
26060
- var row = _param.row, columnName = _param.columnName, config = _param.config, renderMode = _param.renderMode, isSecond = _param.isSecond, isSticky = _param.isSticky, isLoading = _param.isLoading, tweakStyles = _param.tweakStyles, valueComponentProps = _object_without_properties$7(_param, [
26031
+ var row = _param.row, columnName = _param.columnName, config = _param.config, renderMode = _param.renderMode, isSecond = _param.isSecond, isOldSticky = _param.isSticky, isLoading = _param.isLoading, tweakStyles = _param.tweakStyles, valueComponentProps = _object_without_properties$7(_param, [
26061
26032
  "row",
26062
26033
  "columnName",
26063
26034
  "config",
@@ -26073,6 +26044,7 @@
26073
26044
  var value = row[columnName];
26074
26045
  var _config_columnName;
26075
26046
  var _ref = (_config_columnName = config[columnName]) !== null && _config_columnName !== void 0 ? _config_columnName : {}, _ref_component = _ref.component, component = _ref_component === void 0 ? formatCellContent(value, config[columnName]) : _ref_component, left2 = _ref.left, right2 = _ref.right, position = _ref.position, cellAlign = _ref.cellAlign, cellVerticalAlign = _ref.cellVerticalAlign, shouldRenderDataId = _ref.shouldRenderDataId;
26047
+ var isSticky = isOldSticky || position === "sticky";
26076
26048
  var Table = TableRenders[renderMode];
26077
26049
  var _obj2;
26078
26050
  return /* @__PURE__ */ jsx(Table.Cell, _object_spread_props$j(_object_spread$k({
@@ -26081,7 +26053,7 @@
26081
26053
  textAlign: cellAlign,
26082
26054
  position: isSticky ? "sticky" : position,
26083
26055
  right: right2,
26084
- left: isSticky ? 0 : left2,
26056
+ left: left2,
26085
26057
  verticalAlign: cellVerticalAlign
26086
26058
  }
26087
26059
  }, addDataAttributes({
@@ -26565,24 +26537,28 @@
26565
26537
  children: /* @__PURE__ */ jsx(Table.Row, {
26566
26538
  className: classes.headerRow,
26567
26539
  children: columns.map(function(key, i) {
26568
- var itemConfig = config === null || config === void 0 ? void 0 : config[key];
26569
- var _itemConfig_titleAlign, _itemConfig_title;
26540
+ var _config_key;
26541
+ var _ref = (_config_key = config === null || config === void 0 ? void 0 : config[key]) !== null && _config_key !== void 0 ? _config_key : {}, position = _ref.position, minWidth = _ref.minWidth, width = _ref.width, maxWidth = _ref.maxWidth, _ref_titleAlign = _ref.titleAlign, titleAlign = _ref_titleAlign === void 0 ? "left" : _ref_titleAlign, right2 = _ref.right, left2 = _ref.left, _ref_title = _ref.title, title = _ref_title === void 0 ? "" : _ref_title, shouldRenderDataId = _ref.shouldRenderDataId;
26542
+ var isSticky = position === "sticky" || isFirstColumnSticky && i === 0;
26570
26543
  var _obj2;
26571
26544
  return /* @__PURE__ */ jsx(Table.Header, _object_spread_props$h(_object_spread$i({
26572
- className: clsx(classes.header, (_obj2 = {}, _define_property$j(_obj2, classes.headerSticky, isFirstColumnSticky && i === 0), _define_property$j(_obj2, classes.headerSecond, isFirstColumnSticky && i === 1), _obj2)),
26545
+ className: clsx(classes.header, (_obj2 = {}, _define_property$j(_obj2, classes.headerSticky, isSticky), _define_property$j(_obj2, classes.headerSecond, isFirstColumnSticky && i === 1), _obj2)),
26573
26546
  style: {
26574
- minWidth: itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.minWidth,
26575
- width: itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.width,
26576
- maxWidth: itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.maxWidth,
26577
- textAlign: (_itemConfig_titleAlign = itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.titleAlign) !== null && _itemConfig_titleAlign !== void 0 ? _itemConfig_titleAlign : "left"
26547
+ minWidth,
26548
+ width,
26549
+ maxWidth,
26550
+ textAlign: titleAlign,
26551
+ position: isSticky ? "sticky" : position,
26552
+ right: right2,
26553
+ left: left2
26578
26554
  },
26579
26555
  onClick: trueReactPlatformHelpers.isNotEmpty(onHeadClick) ? function() {
26580
26556
  return onHeadClick(key);
26581
26557
  } : void 0
26582
26558
  }, addDataAttributes({
26583
- id: (itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.shouldRenderDataId) ? key : void 0
26559
+ id: shouldRenderDataId ? key : void 0
26584
26560
  })), {
26585
- children: trueReactPlatformHelpers.applyAction((_itemConfig_title = itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.title) !== null && _itemConfig_title !== void 0 ? _itemConfig_title : "", {
26561
+ children: trueReactPlatformHelpers.applyAction(title, {
26586
26562
  value: headerContent === null || headerContent === void 0 ? void 0 : headerContent[key]
26587
26563
  })
26588
26564
  }), key);
@@ -31150,16 +31126,13 @@
31150
31126
  isDisabled: isDisabled || trueReactPlatformHelpers.isArrayEmpty(items),
31151
31127
  tweakStyles: tweakWithPopupStyles
31152
31128
  }, rest), {
31153
- trigger: function(_param2) {
31154
- var isActive = _param2.isActive, isTriggerDisabled = _param2.isDisabled, props = _object_without_properties(_param2, [
31155
- "isActive",
31156
- "isDisabled"
31157
- ]);
31129
+ trigger: function(param) {
31130
+ var triggerProps = param.triggerProps, referenceProps = param.referenceProps;
31158
31131
  var _obj2;
31159
31132
  return /* @__PURE__ */ jsx("button", _object_spread_props(_object_spread({
31160
- className: clsx(classes.button, (_obj2 = {}, _define_property(_obj2, classes.hasCircle, hasDefaultStateBackground), _define_property(_obj2, classes.disabled, isTriggerDisabled), _define_property(_obj2, classes.active, isActive), _obj2)),
31161
- disabled: isTriggerDisabled
31162
- }, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data), props), {
31133
+ className: clsx(classes.button, (_obj2 = {}, _define_property(_obj2, classes.hasCircle, hasDefaultStateBackground), _define_property(_obj2, classes.disabled, triggerProps.isDisabled), _define_property(_obj2, classes.active, triggerProps.isActive), _obj2)),
31134
+ disabled: triggerProps.isDisabled
31135
+ }, trueReactPlatformHelpers.addDataTestId(testId), addDataAttributes(data), referenceProps), {
31163
31136
  children: /* @__PURE__ */ jsx("div", {
31164
31137
  className: classes.icon,
31165
31138
  children: /* @__PURE__ */ jsx(Icon, {