@banyan_cloud/roots 1.0.45 → 1.0.46

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/cjs/index.js CHANGED
@@ -1574,9 +1574,9 @@ var getCSSVariableValue = function getCSSVariableValue(variable) {
1574
1574
 
1575
1575
  var e$1=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e$1.indexOf(i);-1===u&&(u=e$1.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
1576
1576
 
1577
- var css$W = ".BaseCell_module_root__81e07d2d {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n padding: 0.5rem;\n gap: 0.5rem;\n flex: none;\n height: 3rem;\n background: var(--white);\n max-width: 100%;\n max-height: 100%;\n}\n.BaseCell_module_root__81e07d2d > [data-elem*=component] {\n display: inline-block;\n max-height: 100%;\n}\n.BaseCell_module_root__81e07d2d.BaseCell_module_sm__81e07d2d {\n width: 9.063rem;\n}\n.BaseCell_module_root__81e07d2d.BaseCell_module_md__81e07d2d {\n width: 15.625rem;\n}\n.BaseCell_module_root__81e07d2d.BaseCell_module_lg__81e07d2d {\n width: 21.875rem;\n}\n.BaseCell_module_root__81e07d2d.BaseCell_module_auto__81e07d2d {\n width: auto;\n}\n.BaseCell_module_root__81e07d2d.BaseCell_module_borderRadiusDefault__81e07d2d {\n border-radius: 0.25rem;\n}\n.BaseCell_module_root__81e07d2d.BaseCell_module_borderRadiusRound__81e07d2d {\n border-radius: 50%;\n}\n.BaseCell_module_root__81e07d2d.BaseCell_module_borderRadiusEllipse__81e07d2d {\n border-radius: 1.563rem;\n}\n.BaseCell_module_root__81e07d2d.BaseCell_module_flexible__81e07d2d {\n flex-grow: 1;\n flex-shrink: 1;\n min-width: 3rem;\n}\n.BaseCell_module_root__81e07d2d.BaseCell_module_flexible__81e07d2d.BaseCell_module_sm__81e07d2d {\n min-width: 9.063rem;\n}\n.BaseCell_module_root__81e07d2d.BaseCell_module_flexible__81e07d2d.BaseCell_module_md__81e07d2d {\n min-width: 15.625rem;\n}\n.BaseCell_module_root__81e07d2d.BaseCell_module_flexible__81e07d2d.BaseCell_module_lg__81e07d2d {\n min-width: 21.875rem;\n}";
1577
+ var css$X = ".BaseCell_module_root__81e07d2d {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n padding: 0.5rem;\n gap: 0.5rem;\n flex: none;\n height: 3rem;\n background: var(--white);\n max-width: 100%;\n max-height: 100%;\n}\n.BaseCell_module_root__81e07d2d > [data-elem*=component] {\n display: inline-block;\n max-height: 100%;\n}\n.BaseCell_module_root__81e07d2d.BaseCell_module_sm__81e07d2d {\n width: 9.063rem;\n}\n.BaseCell_module_root__81e07d2d.BaseCell_module_md__81e07d2d {\n width: 15.625rem;\n}\n.BaseCell_module_root__81e07d2d.BaseCell_module_lg__81e07d2d {\n width: 21.875rem;\n}\n.BaseCell_module_root__81e07d2d.BaseCell_module_auto__81e07d2d {\n width: auto;\n}\n.BaseCell_module_root__81e07d2d.BaseCell_module_borderRadiusDefault__81e07d2d {\n border-radius: 0.25rem;\n}\n.BaseCell_module_root__81e07d2d.BaseCell_module_borderRadiusRound__81e07d2d {\n border-radius: 50%;\n}\n.BaseCell_module_root__81e07d2d.BaseCell_module_borderRadiusEllipse__81e07d2d {\n border-radius: 1.563rem;\n}\n.BaseCell_module_root__81e07d2d.BaseCell_module_flexible__81e07d2d {\n flex-grow: 1;\n flex-shrink: 1;\n min-width: 3rem;\n}\n.BaseCell_module_root__81e07d2d.BaseCell_module_flexible__81e07d2d.BaseCell_module_sm__81e07d2d {\n min-width: 9.063rem;\n}\n.BaseCell_module_root__81e07d2d.BaseCell_module_flexible__81e07d2d.BaseCell_module_md__81e07d2d {\n min-width: 15.625rem;\n}\n.BaseCell_module_root__81e07d2d.BaseCell_module_flexible__81e07d2d.BaseCell_module_lg__81e07d2d {\n min-width: 21.875rem;\n}";
1578
1578
  var modules_3af9b74c = {"root":"BaseCell_module_root__81e07d2d","sm":"BaseCell_module_sm__81e07d2d","md":"BaseCell_module_md__81e07d2d","lg":"BaseCell_module_lg__81e07d2d","auto":"BaseCell_module_auto__81e07d2d","border-radius-default":"BaseCell_module_borderRadiusDefault__81e07d2d","border-radius-round":"BaseCell_module_borderRadiusRound__81e07d2d","border-radius-ellipse":"BaseCell_module_borderRadiusEllipse__81e07d2d","flexible":"BaseCell_module_flexible__81e07d2d"};
1579
- n(css$W,{});
1579
+ n(css$X,{});
1580
1580
 
1581
1581
  var BaseCell = /*#__PURE__*/React.forwardRef(function BaseCell(props, ref) {
1582
1582
  var className = props.className,
@@ -1656,9 +1656,9 @@ var defaultProps = {
1656
1656
  attrs: {}
1657
1657
  };
1658
1658
 
1659
- var css$V = "button.BaseButton_module_root__39a3f3ec[data-elem=base-cell] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n display: inline-flex;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n border: none;\n background: none;\n padding: 0.5rem 0.75rem;\n}\nbutton.BaseButton_module_root__39a3f3ec[data-elem=base-cell]:focus {\n outline: 1px solid var(--highlight);\n}\nbutton.BaseButton_module_root__39a3f3ec[data-elem=base-cell]:active {\n outline: none;\n}\nbutton.BaseButton_module_root__39a3f3ec[data-elem=base-cell]:disabled {\n cursor: not-allowed;\n}\nbutton.BaseButton_module_root__39a3f3ec[data-elem=base-cell].BaseButton_module_contained__39a3f3ec {\n background: var(--black);\n color: var(--white);\n}\nbutton.BaseButton_module_root__39a3f3ec[data-elem=base-cell].BaseButton_module_outlined__39a3f3ec {\n color: var(--black);\n border: 1px solid var(--black);\n}\nbutton.BaseButton_module_root__39a3f3ec[data-elem=base-cell].BaseButton_module_text__39a3f3ec {\n color: var(--black);\n}\nbutton.BaseButton_module_root__39a3f3ec[data-elem=base-cell] [data-elem*=component] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\nbutton.BaseButton_module_root__39a3f3ec[data-elem=base-cell] [data-elem=component2] {\n min-width: 0;\n}\nbutton.BaseButton_module_root__39a3f3ec[data-elem=base-cell] [data-elem=title] {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n}";
1659
+ var css$W = "button.BaseButton_module_root__39a3f3ec[data-elem=base-cell] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n display: inline-flex;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n border: none;\n background: none;\n padding: 0.5rem 0.75rem;\n}\nbutton.BaseButton_module_root__39a3f3ec[data-elem=base-cell]:focus {\n outline: 1px solid var(--highlight);\n}\nbutton.BaseButton_module_root__39a3f3ec[data-elem=base-cell]:active {\n outline: none;\n}\nbutton.BaseButton_module_root__39a3f3ec[data-elem=base-cell]:disabled {\n cursor: not-allowed;\n}\nbutton.BaseButton_module_root__39a3f3ec[data-elem=base-cell].BaseButton_module_contained__39a3f3ec {\n background: var(--black);\n color: var(--white);\n}\nbutton.BaseButton_module_root__39a3f3ec[data-elem=base-cell].BaseButton_module_outlined__39a3f3ec {\n color: var(--black);\n border: 1px solid var(--black);\n}\nbutton.BaseButton_module_root__39a3f3ec[data-elem=base-cell].BaseButton_module_text__39a3f3ec {\n color: var(--black);\n}\nbutton.BaseButton_module_root__39a3f3ec[data-elem=base-cell] [data-elem*=component] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\nbutton.BaseButton_module_root__39a3f3ec[data-elem=base-cell] [data-elem=component2] {\n min-width: 0;\n}\nbutton.BaseButton_module_root__39a3f3ec[data-elem=base-cell] [data-elem=title] {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n}";
1660
1660
  var modules_ab72627b = {"root":"BaseButton_module_root__39a3f3ec","contained":"BaseButton_module_contained__39a3f3ec","outlined":"BaseButton_module_outlined__39a3f3ec","text":"BaseButton_module_text__39a3f3ec"};
1661
- n(css$V,{});
1661
+ n(css$W,{});
1662
1662
 
1663
1663
  var BaseButton = /*#__PURE__*/React.forwardRef(function BaseButton(props, ref) {
1664
1664
  var className = props.className,
@@ -1717,9 +1717,9 @@ BaseButton.defaultProps = _objectSpread2(_objectSpread2({}, BaseCell.defaultProp
1717
1717
  variant: 'contained'
1718
1718
  });
1719
1719
 
1720
- var css$U = ".Button_module_root__0be1a26c[data-elem=base-cell] {\n cursor: pointer;\n}\n.Button_module_root__0be1a26c[data-elem=base-cell] [data-elem=component2] [data-elem=title] {\n font-weight: 500;\n font-size: 0.875rem;\n}\n.Button_module_root__0be1a26c[data-elem=base-cell].Button_module_primary__0be1a26c.Button_module_contained__0be1a26c {\n background-color: var(--highlight);\n color: var(--white);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell].Button_module_primary__0be1a26c.Button_module_outlined__0be1a26c {\n background-color: transparent;\n border-color: var(--highlight);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell].Button_module_primary__0be1a26c.Button_module_outlined__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell].Button_module_primary__0be1a26c.Button_module_text__0be1a26c {\n color: var(--highlight);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell].Button_module_success__0be1a26c.Button_module_contained__0be1a26c {\n background-color: var(--success);\n color: var(--white);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell].Button_module_success__0be1a26c.Button_module_outlined__0be1a26c {\n background-color: transparent;\n border-color: var(--success);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell].Button_module_success__0be1a26c.Button_module_outlined__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell].Button_module_success__0be1a26c.Button_module_text__0be1a26c {\n color: var(--success);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell].Button_module_danger__0be1a26c.Button_module_contained__0be1a26c {\n background-color: var(--error);\n color: var(--white);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell].Button_module_danger__0be1a26c.Button_module_outlined__0be1a26c {\n background-color: transparent;\n border-color: var(--error);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell].Button_module_danger__0be1a26c.Button_module_outlined__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell].Button_module_danger__0be1a26c.Button_module_text__0be1a26c {\n color: var(--error);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell].Button_module_warning__0be1a26c.Button_module_contained__0be1a26c {\n background-color: var(--warning);\n color: var(--white);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell].Button_module_warning__0be1a26c.Button_module_outlined__0be1a26c {\n background-color: transparent;\n border-color: var(--warning);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell].Button_module_warning__0be1a26c.Button_module_outlined__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell].Button_module_warning__0be1a26c.Button_module_text__0be1a26c {\n color: var(--warning);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_primary__0be1a26c.Button_module_contained__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_success__0be1a26c.Button_module_contained__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_danger__0be1a26c.Button_module_contained__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_warning__0be1a26c.Button_module_contained__0be1a26c {\n background-color: var(--grey4);\n color: var(--grey);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_primary__0be1a26c.Button_module_outlined__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_success__0be1a26c.Button_module_outlined__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_danger__0be1a26c.Button_module_outlined__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_warning__0be1a26c.Button_module_outlined__0be1a26c {\n background-color: transparent;\n border-color: var(--grey);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_primary__0be1a26c.Button_module_outlined__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_primary__0be1a26c.Button_module_text__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_success__0be1a26c.Button_module_outlined__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_success__0be1a26c.Button_module_text__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_danger__0be1a26c.Button_module_outlined__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_danger__0be1a26c.Button_module_text__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_warning__0be1a26c.Button_module_outlined__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_warning__0be1a26c.Button_module_text__0be1a26c {\n color: var(--grey);\n}";
1720
+ var css$V = ".Button_module_root__0be1a26c[data-elem=base-cell] {\n cursor: pointer;\n}\n.Button_module_root__0be1a26c[data-elem=base-cell] [data-elem=component2] [data-elem=title] {\n font-weight: 500;\n font-size: 0.875rem;\n}\n.Button_module_root__0be1a26c[data-elem=base-cell].Button_module_primary__0be1a26c.Button_module_contained__0be1a26c {\n background-color: var(--highlight);\n color: var(--white);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell].Button_module_primary__0be1a26c.Button_module_outlined__0be1a26c {\n background-color: transparent;\n border-color: var(--highlight);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell].Button_module_primary__0be1a26c.Button_module_outlined__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell].Button_module_primary__0be1a26c.Button_module_text__0be1a26c {\n color: var(--highlight);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell].Button_module_success__0be1a26c.Button_module_contained__0be1a26c {\n background-color: var(--success);\n color: var(--white);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell].Button_module_success__0be1a26c.Button_module_outlined__0be1a26c {\n background-color: transparent;\n border-color: var(--success);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell].Button_module_success__0be1a26c.Button_module_outlined__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell].Button_module_success__0be1a26c.Button_module_text__0be1a26c {\n color: var(--success);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell].Button_module_danger__0be1a26c.Button_module_contained__0be1a26c {\n background-color: var(--error);\n color: var(--white);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell].Button_module_danger__0be1a26c.Button_module_outlined__0be1a26c {\n background-color: transparent;\n border-color: var(--error);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell].Button_module_danger__0be1a26c.Button_module_outlined__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell].Button_module_danger__0be1a26c.Button_module_text__0be1a26c {\n color: var(--error);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell].Button_module_warning__0be1a26c.Button_module_contained__0be1a26c {\n background-color: var(--warning);\n color: var(--white);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell].Button_module_warning__0be1a26c.Button_module_outlined__0be1a26c {\n background-color: transparent;\n border-color: var(--warning);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell].Button_module_warning__0be1a26c.Button_module_outlined__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell].Button_module_warning__0be1a26c.Button_module_text__0be1a26c {\n color: var(--warning);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_primary__0be1a26c.Button_module_contained__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_success__0be1a26c.Button_module_contained__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_danger__0be1a26c.Button_module_contained__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_warning__0be1a26c.Button_module_contained__0be1a26c {\n background-color: var(--grey4);\n color: var(--grey);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_primary__0be1a26c.Button_module_outlined__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_success__0be1a26c.Button_module_outlined__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_danger__0be1a26c.Button_module_outlined__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_warning__0be1a26c.Button_module_outlined__0be1a26c {\n background-color: transparent;\n border-color: var(--grey);\n}\n.Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_primary__0be1a26c.Button_module_outlined__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_primary__0be1a26c.Button_module_text__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_success__0be1a26c.Button_module_outlined__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_success__0be1a26c.Button_module_text__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_danger__0be1a26c.Button_module_outlined__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_danger__0be1a26c.Button_module_text__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_warning__0be1a26c.Button_module_outlined__0be1a26c, .Button_module_root__0be1a26c[data-elem=base-cell]:disabled.Button_module_warning__0be1a26c.Button_module_text__0be1a26c {\n color: var(--grey);\n}";
1721
1721
  var modules_b0070f27 = {"root":"Button_module_root__0be1a26c","primary":"Button_module_primary__0be1a26c","contained":"Button_module_contained__0be1a26c","outlined":"Button_module_outlined__0be1a26c","text":"Button_module_text__0be1a26c","success":"Button_module_success__0be1a26c","danger":"Button_module_danger__0be1a26c","warning":"Button_module_warning__0be1a26c"};
1722
- n(css$U,{});
1722
+ n(css$V,{});
1723
1723
 
1724
1724
  var Button = /*#__PURE__*/React.forwardRef(function Button(props, ref) {
1725
1725
  var className = props.className,
@@ -1763,9 +1763,9 @@ Button.defaultProps = _objectSpread2(_objectSpread2({}, BaseButton.defaultProps)
1763
1763
  radius: 'default'
1764
1764
  });
1765
1765
 
1766
- var css$T = ".Chip_module_root__0aa07630[data-elem=base-cell] {\n position: relative;\n}\n.Chip_module_root__0aa07630[data-elem=base-cell] [data-elem=component2] [data-elem=title] {\n font-weight: 500;\n font-size: 0.875rem;\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_sm__0aa07630 {\n height: 2rem;\n padding: 0.188rem 0.5rem;\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_md__0aa07630 {\n height: 2.25rem;\n padding: 0.563rem 1rem;\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_status__0aa07630.Chip_module_success__0aa07630 {\n background-color: var(--success-bg);\n color: var(--success);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_status__0aa07630.Chip_module_info__0aa07630 {\n background-color: var(--info-bg);\n color: var(--info);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_status__0aa07630.Chip_module_danger__0aa07630 {\n background-color: var(--error-bg);\n color: var(--error);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_status__0aa07630.Chip_module_warning__0aa07630 {\n background-color: var(--warning-bg);\n color: var(--warning);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_status__0aa07630.Chip_module_default__0aa07630 {\n background-color: var(--grey5);\n color: var(--grey);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_status__0aa07630:hover {\n box-shadow: -2px -2px 4px rgba(166, 166, 166, 0.25), 2px 2px 4px rgba(166, 166, 166, 0.24);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_input__0aa07630 {\n border-width: 1px;\n border-style: solid;\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_input__0aa07630.Chip_module_success__0aa07630 {\n background-color: var(--success-bg);\n color: var(--success);\n border-color: var(--success-outline);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_input__0aa07630.Chip_module_success__0aa07630:hover {\n background-color: var(--success-outline);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_input__0aa07630.Chip_module_info__0aa07630 {\n background-color: var(--info-bg);\n color: var(--info);\n border-color: var(--info-outline);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_input__0aa07630.Chip_module_info__0aa07630:hover {\n background-color: var(--info-outline);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_input__0aa07630.Chip_module_danger__0aa07630 {\n background-color: var(--error-bg);\n color: var(--error);\n border-color: var(--error-outline);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_input__0aa07630.Chip_module_danger__0aa07630:hover {\n background-color: var(--error-outline);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_input__0aa07630.Chip_module_warning__0aa07630 {\n background-color: var(--warning-bg);\n color: var(--warning);\n border-color: var(--warning-outline);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_input__0aa07630.Chip_module_warning__0aa07630:hover {\n background-color: var(--warning-outline);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_input__0aa07630.Chip_module_default__0aa07630 {\n background-color: var(--grey8);\n color: var(--grey);\n border-color: var(--grey6);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_input__0aa07630.Chip_module_default__0aa07630:hover {\n background-color: var(--grey6);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell]:disabled.Chip_module_status__0aa07630, .Chip_module_root__0aa07630[data-elem=base-cell]:disabled.Chip_module_input__0aa07630 {\n filter: grayscale(1);\n border-color: var(--grey4);\n background-color: var(--grey5);\n color: var(--grey2);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell]:disabled.Chip_module_status__0aa07630 [data-elem=component1],\n.Chip_module_root__0aa07630[data-elem=base-cell]:disabled.Chip_module_status__0aa07630 [data-elem=component3], .Chip_module_root__0aa07630[data-elem=base-cell]:disabled.Chip_module_input__0aa07630 [data-elem=component1],\n.Chip_module_root__0aa07630[data-elem=base-cell]:disabled.Chip_module_input__0aa07630 [data-elem=component3] {\n opacity: 0.5;\n}\n.Chip_module_root__0aa07630[data-elem=base-cell]:disabled.Chip_module_status__0aa07630:hover, .Chip_module_root__0aa07630[data-elem=base-cell]:disabled.Chip_module_input__0aa07630:hover {\n box-shadow: none;\n background-color: var(--grey5);\n}";
1766
+ var css$U = ".Chip_module_root__0aa07630[data-elem=base-cell] {\n position: relative;\n}\n.Chip_module_root__0aa07630[data-elem=base-cell] [data-elem=component2] [data-elem=title] {\n font-weight: 500;\n font-size: 0.875rem;\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_sm__0aa07630 {\n height: 2rem;\n padding: 0.188rem 0.5rem;\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_md__0aa07630 {\n height: 2.25rem;\n padding: 0.563rem 1rem;\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_status__0aa07630.Chip_module_success__0aa07630 {\n background-color: var(--success-bg);\n color: var(--success);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_status__0aa07630.Chip_module_info__0aa07630 {\n background-color: var(--info-bg);\n color: var(--info);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_status__0aa07630.Chip_module_danger__0aa07630 {\n background-color: var(--error-bg);\n color: var(--error);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_status__0aa07630.Chip_module_warning__0aa07630 {\n background-color: var(--warning-bg);\n color: var(--warning);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_status__0aa07630.Chip_module_default__0aa07630 {\n background-color: var(--grey5);\n color: var(--grey);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_status__0aa07630:hover {\n box-shadow: -2px -2px 4px rgba(166, 166, 166, 0.25), 2px 2px 4px rgba(166, 166, 166, 0.24);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_input__0aa07630 {\n border-width: 1px;\n border-style: solid;\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_input__0aa07630.Chip_module_success__0aa07630 {\n background-color: var(--success-bg);\n color: var(--success);\n border-color: var(--success-outline);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_input__0aa07630.Chip_module_success__0aa07630:hover {\n background-color: var(--success-outline);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_input__0aa07630.Chip_module_info__0aa07630 {\n background-color: var(--info-bg);\n color: var(--info);\n border-color: var(--info-outline);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_input__0aa07630.Chip_module_info__0aa07630:hover {\n background-color: var(--info-outline);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_input__0aa07630.Chip_module_danger__0aa07630 {\n background-color: var(--error-bg);\n color: var(--error);\n border-color: var(--error-outline);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_input__0aa07630.Chip_module_danger__0aa07630:hover {\n background-color: var(--error-outline);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_input__0aa07630.Chip_module_warning__0aa07630 {\n background-color: var(--warning-bg);\n color: var(--warning);\n border-color: var(--warning-outline);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_input__0aa07630.Chip_module_warning__0aa07630:hover {\n background-color: var(--warning-outline);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_input__0aa07630.Chip_module_default__0aa07630 {\n background-color: var(--grey8);\n color: var(--grey);\n border-color: var(--grey6);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell].Chip_module_input__0aa07630.Chip_module_default__0aa07630:hover {\n background-color: var(--grey6);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell]:disabled.Chip_module_status__0aa07630, .Chip_module_root__0aa07630[data-elem=base-cell]:disabled.Chip_module_input__0aa07630 {\n filter: grayscale(1);\n border-color: var(--grey4);\n background-color: var(--grey5);\n color: var(--grey2);\n}\n.Chip_module_root__0aa07630[data-elem=base-cell]:disabled.Chip_module_status__0aa07630 [data-elem=component1],\n.Chip_module_root__0aa07630[data-elem=base-cell]:disabled.Chip_module_status__0aa07630 [data-elem=component3], .Chip_module_root__0aa07630[data-elem=base-cell]:disabled.Chip_module_input__0aa07630 [data-elem=component1],\n.Chip_module_root__0aa07630[data-elem=base-cell]:disabled.Chip_module_input__0aa07630 [data-elem=component3] {\n opacity: 0.5;\n}\n.Chip_module_root__0aa07630[data-elem=base-cell]:disabled.Chip_module_status__0aa07630:hover, .Chip_module_root__0aa07630[data-elem=base-cell]:disabled.Chip_module_input__0aa07630:hover {\n box-shadow: none;\n background-color: var(--grey5);\n}";
1767
1767
  var modules_31aa5fd7 = {"root":"Chip_module_root__0aa07630","sm":"Chip_module_sm__0aa07630","md":"Chip_module_md__0aa07630","status":"Chip_module_status__0aa07630","success":"Chip_module_success__0aa07630","info":"Chip_module_info__0aa07630","danger":"Chip_module_danger__0aa07630","warning":"Chip_module_warning__0aa07630","default":"Chip_module_default__0aa07630","input":"Chip_module_input__0aa07630"};
1768
- n(css$T,{});
1768
+ n(css$U,{});
1769
1769
 
1770
1770
  var Chip = function Chip(props) {
1771
1771
  var className = props.className,
@@ -2136,9 +2136,9 @@ Server.defaultProps = {
2136
2136
  className: ''
2137
2137
  };
2138
2138
 
2139
- var css$S = ".Arrow_module_right__19f08663 {\n transform: rotate(0deg);\n}\n\n.Arrow_module_left__19f08663 {\n transform: rotate(180deg);\n}\n\n.Arrow_module_bottom__19f08663 {\n transform: rotate(90deg);\n}\n\n.Arrow_module_top__19f08663 {\n transform: rotate(270deg);\n}";
2139
+ var css$T = ".Arrow_module_right__19f08663 {\n transform: rotate(0deg);\n}\n\n.Arrow_module_left__19f08663 {\n transform: rotate(180deg);\n}\n\n.Arrow_module_bottom__19f08663 {\n transform: rotate(90deg);\n}\n\n.Arrow_module_top__19f08663 {\n transform: rotate(270deg);\n}";
2140
2140
  var modules_e313d483 = {"right":"Arrow_module_right__19f08663","left":"Arrow_module_left__19f08663","bottom":"Arrow_module_bottom__19f08663","top":"Arrow_module_top__19f08663"};
2141
- n(css$S,{});
2141
+ n(css$T,{});
2142
2142
 
2143
2143
  var Arrow$1 = function Arrow(props) {
2144
2144
  var className = props.className,
@@ -2158,9 +2158,9 @@ Arrow$1.defaultProps = {
2158
2158
  position: 'right'
2159
2159
  };
2160
2160
 
2161
- var css$R = ".Chevron_module_left__8b1808eb {\n transform: rotate(0deg);\n}\n\n.Chevron_module_bottom__8b1808eb {\n transform: rotate(90deg);\n}\n\n.Chevron_module_right__8b1808eb {\n transform: rotate(180deg);\n}\n\n.Chevron_module_top__8b1808eb {\n transform: rotate(270deg);\n}";
2161
+ var css$S = ".Chevron_module_left__8b1808eb {\n transform: rotate(0deg);\n}\n\n.Chevron_module_bottom__8b1808eb {\n transform: rotate(90deg);\n}\n\n.Chevron_module_right__8b1808eb {\n transform: rotate(180deg);\n}\n\n.Chevron_module_top__8b1808eb {\n transform: rotate(270deg);\n}";
2162
2162
  var modules_bf5b0b74 = {"left":"Chevron_module_left__8b1808eb","bottom":"Chevron_module_bottom__8b1808eb","right":"Chevron_module_right__8b1808eb","top":"Chevron_module_top__8b1808eb"};
2163
- n(css$R,{});
2163
+ n(css$S,{});
2164
2164
 
2165
2165
  var Chevron = function Chevron(props) {
2166
2166
  var className = props.className,
@@ -2508,6 +2508,48 @@ var SearchIcon = function SearchIcon(_ref) {
2508
2508
  });
2509
2509
  };
2510
2510
 
2511
+ var Close = function Close(_ref) {
2512
+ var className = _ref.className;
2513
+ return /*#__PURE__*/jsxRuntime.jsx("svg", {
2514
+ className: className,
2515
+ width: "1.5rem",
2516
+ height: "1.5rem",
2517
+ viewBox: "0 0 14 15",
2518
+ fill: "#333333",
2519
+ xmlns: "http://www.w3.org/2000/svg",
2520
+ children: /*#__PURE__*/jsxRuntime.jsx("path", {
2521
+ d: "M11.0834 3.74416L10.2609 2.92166L7.00002 6.18249L3.73919 2.92166L2.91669 3.74416L6.17752 7.00499L2.91669 10.2658L3.73919 11.0883L7.00002 7.82749L10.2609 11.0883L11.0834 10.2658L7.82252 7.00499L11.0834 3.74416Z"
2522
+ })
2523
+ });
2524
+ };
2525
+
2526
+ var css$R = ".Sort_module_root__5112e35d.Sort_module_orderAz__5112e35d {\n transform: none;\n}\n.Sort_module_root__5112e35d.Sort_module_orderZa__5112e35d {\n transform: rotate(180deg);\n}";
2527
+ var modules_501919d9 = {"root":"Sort_module_root__5112e35d","order-az":"Sort_module_orderAz__5112e35d","order-za":"Sort_module_orderZa__5112e35d"};
2528
+ n(css$R,{});
2529
+
2530
+ var Sort = function Sort(_ref) {
2531
+ var className = _ref.className,
2532
+ position = _ref.position;
2533
+ return /*#__PURE__*/jsxRuntime.jsxs("svg", {
2534
+ className: classes(modules_501919d9.root, className, modules_501919d9["order-".concat(position)]),
2535
+ width: "1.5rem",
2536
+ height: "1.5rem",
2537
+ viewBox: "0 0 16 16",
2538
+ fill: "#737373",
2539
+ xmlns: "http://www.w3.org/2000/svg",
2540
+ children: [/*#__PURE__*/jsxRuntime.jsx("path", {
2541
+ d: "M4 5.33333C4 4.96514 4.29848 4.66666 4.66667 4.66666H11.3333C11.7015 4.66666 12 4.96514 12 5.33333C12 5.70152 11.7015 6 11.3333 6H4.66667C4.29848 6 4 5.70152 4 5.33333Z"
2542
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
2543
+ d: "M5.33333 8C5.33333 7.63181 5.63181 7.33333 6 7.33333H10C10.3682 7.33333 10.6667 7.63181 10.6667 8C10.6667 8.36819 10.3682 8.66666 10 8.66666H6C5.63181 8.66666 5.33333 8.36819 5.33333 8Z"
2544
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
2545
+ d: "M7.33333 10C6.96514 10 6.66667 10.2985 6.66667 10.6667C6.66667 11.0349 6.96514 11.3333 7.33333 11.3333H8.66667C9.03486 11.3333 9.33333 11.0349 9.33333 10.6667C9.33333 10.2985 9.03486 10 8.66667 10H7.33333Z"
2546
+ })]
2547
+ });
2548
+ };
2549
+ Sort.defaultProps = {
2550
+ position: 'az'
2551
+ };
2552
+
2511
2553
  var css$Q = ".Accordion_module_root__a63f6f55 {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n width: 100%;\n}\n.Accordion_module_root__a63f6f55 > .Accordion_module_header__a63f6f55[data-elem=base-cell] {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n gap: 0.5rem;\n padding: 0.5rem 1rem;\n cursor: pointer;\n}\n.Accordion_module_root__a63f6f55 > .Accordion_module_header__a63f6f55[data-elem=base-cell] > [data-elem=component1] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\n.Accordion_module_root__a63f6f55 > .Accordion_module_header__a63f6f55[data-elem=base-cell] > [data-elem=component1] .Accordion_module_icon__a63f6f55 {\n transform: rotate(-90deg);\n width: 1rem;\n height: 1rem;\n}\n.Accordion_module_root__a63f6f55 > .Accordion_module_header__a63f6f55[data-elem=base-cell] .Accordion_module_title__a63f6f55 {\n flex: 1 1 auto;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.Accordion_module_root__a63f6f55 > .Accordion_module_header__a63f6f55[data-elem=base-cell]:hover {\n background: var(--background);\n}\n.Accordion_module_root__a63f6f55 > .Accordion_module_header__a63f6f55[data-elem=base-cell]:hover .Accordion_module_icon__a63f6f55,\n.Accordion_module_root__a63f6f55 > .Accordion_module_header__a63f6f55[data-elem=base-cell]:hover .Accordion_module_title__a63f6f55 {\n color: var(--highlight);\n fill: var(--highlight);\n}\n.Accordion_module_root__a63f6f55 > .Accordion_module_body__a63f6f55 {\n display: none;\n padding: 0.5rem 2.5rem;\n}\n.Accordion_module_root__a63f6f55.Accordion_module_open__a63f6f55 > .Accordion_module_header__a63f6f55[data-elem=base-cell] [data-elem=component1] .Accordion_module_icon__a63f6f55 {\n transform: none;\n}\n.Accordion_module_root__a63f6f55.Accordion_module_open__a63f6f55 > .Accordion_module_body__a63f6f55 {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n}\n.Accordion_module_root__a63f6f55.Accordion_module_open__a63f6f55 > .Accordion_module_body__a63f6f55 > button[data-elem=base-cell] {\n width: -webkit-fit-content;\n width: -moz-fit-content;\n width: fit-content;\n align-self: flex-end;\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n align-items: center;\n}\n.Accordion_module_root__a63f6f55.Accordion_module_open__a63f6f55 > .Accordion_module_body__a63f6f55 > button[data-elem=base-cell] .Accordion_module_expand__a63f6f55 {\n height: 1.5rem;\n width: 1.5rem;\n}";
2512
2554
  var modules_8207625f = {"root":"Accordion_module_root__a63f6f55","header":"Accordion_module_header__a63f6f55","icon":"Accordion_module_icon__a63f6f55","title":"Accordion_module_title__a63f6f55","body":"Accordion_module_body__a63f6f55","open":"Accordion_module_open__a63f6f55","expand":"Accordion_module_expand__a63f6f55"};
2513
2555
  n(css$Q,{});
@@ -43388,8 +43430,8 @@ function getPagination(curr, total, limit) {
43388
43430
  return pages;
43389
43431
  }
43390
43432
 
43391
- var css$p = ".Pagination_module_root__6d89f0eb {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: stretch;\n -ms-overflow-style: none;\n scrollbar-width: none;\n padding: 0.625rem 2.125rem;\n background: var(--dark-grey);\n margin-top: auto;\n width: 100%;\n height: 3.5rem;\n overflow: auto;\n transition-property: background-color, color, bottom, width;\n transition-duration: 0.33s;\n transition-timing-function: ease-out;\n}\n.Pagination_module_root__6d89f0eb::-webkit-scrollbar {\n display: none;\n}\n.Pagination_module_root__6d89f0eb.Pagination_module_floating__6d89f0eb {\n background: var(--dark-grey-o-85);\n position: absolute;\n border-radius: 6.25rem;\n width: 82%;\n bottom: 3rem;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_rowSwitcher__6d89f0eb,\n.Pagination_module_root__6d89f0eb .Pagination_module_pagination__6d89f0eb,\n.Pagination_module_root__6d89f0eb .Pagination_module_jumpToPage__6d89f0eb,\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n height: 100%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_rowSwitcher__6d89f0eb {\n display: none;\n gap: 0.75rem;\n background-color: var(--grey);\n padding: 0;\n border-radius: 0.25rem;\n height: 100%;\n}\n@media (min-width: 992px) {\n .Pagination_module_root__6d89f0eb .Pagination_module_rowSwitcher__6d89f0eb {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n }\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_rowSwitcher__6d89f0eb > [data-elem*=component] {\n overflow: hidden;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_rowSwitcher__6d89f0eb > [data-elem=component2] {\n display: flex;\n flex: 0 1 auto;\n height: 100%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_rowSwitcher__6d89f0eb > [data-elem=component2]::before {\n content: \"\";\n margin: auto;\n background: var(--white);\n width: 0.5px;\n height: 50%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_rowSwitcher__6d89f0eb .Pagination_module_text__6d89f0eb {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n height: 100%;\n display: block;\n padding: 0.5rem;\n font-size: 0.875rem;\n font-weight: 500;\n color: var(--white);\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_rowSwitcher__6d89f0eb .Pagination_module_dropdown__6d89f0eb {\n height: 100%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_rowSwitcher__6d89f0eb .Pagination_module_dropdown__6d89f0eb > [data-elem=header] {\n height: 100%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_rowSwitcher__6d89f0eb .Pagination_module_dropdown__6d89f0eb > [data-elem=header] > [data-elem=select] {\n height: 2.375rem;\n max-height: 100%;\n width: auto;\n min-width: -webkit-fit-content;\n min-width: -moz-fit-content;\n min-width: fit-content;\n padding: 0.625rem;\n background-color: var(--grey);\n border: none;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_rowSwitcher__6d89f0eb .Pagination_module_dropdown__6d89f0eb > [data-elem=header] > [data-elem=select] > [data-elem=placeholder] {\n color: var(--white);\n font-size: 0.875rem;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_rowSwitcher__6d89f0eb .Pagination_module_dropdown__6d89f0eb > [data-elem=header] > [data-elem=select] > svg {\n fill: var(--white);\n width: 0.813rem;\n height: 0.813rem;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_pageNumbers__6d89f0eb {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n gap: 1.25rem;\n flex: 1 1 100%;\n}\n@media (min-width: 992px) {\n .Pagination_module_root__6d89f0eb .Pagination_module_pageNumbers__6d89f0eb {\n flex: 1 1 60%;\n }\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_pageNumbers__6d89f0eb > .Pagination_module_button__6d89f0eb.Pagination_module_disable__6d89f0eb {\n pointer-events: none;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_pageNumbers__6d89f0eb > .Pagination_module_button__6d89f0eb [data-elem=title] {\n color: var(--white);\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_pageNumbers__6d89f0eb > .Pagination_module_button__6d89f0eb .Pagination_module_icon__6d89f0eb {\n width: 1.5rem;\n height: 1.5rem;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_pageNumbers__6d89f0eb > .Pagination_module_pageSelect__6d89f0eb {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n gap: 0.625rem;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_pageNumbers__6d89f0eb > .Pagination_module_pageSelect__6d89f0eb .Pagination_module_number__6d89f0eb {\n cursor: pointer;\n border-radius: 50%;\n background-color: #e0e0e0;\n color: var(--black);\n width: 2.313rem;\n line-height: 2.313rem;\n text-align: center;\n font-size: 1rem;\n border: 1px solid transparent;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_pageNumbers__6d89f0eb > .Pagination_module_pageSelect__6d89f0eb .Pagination_module_number__6d89f0eb:not([data-active=true]) {\n display: none;\n}\n@media (min-width: 768px) {\n .Pagination_module_root__6d89f0eb .Pagination_module_pageNumbers__6d89f0eb > .Pagination_module_pageSelect__6d89f0eb .Pagination_module_number__6d89f0eb:not([data-active=true]) {\n display: block;\n }\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_pageNumbers__6d89f0eb > .Pagination_module_pageSelect__6d89f0eb .Pagination_module_number__6d89f0eb:hover {\n border: 1px solid var(--highlight);\n color: var(--highlight);\n background: var(--background);\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_pageNumbers__6d89f0eb > .Pagination_module_pageSelect__6d89f0eb .Pagination_module_number__6d89f0eb.Pagination_module_active__6d89f0eb {\n background-color: var(--highlight);\n color: var(--white);\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb {\n display: none;\n padding: 0;\n flex: 0 1 20%;\n background: transparent;\n}\n@media (min-width: 992px) {\n .Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n }\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb > [data-elem*=component] {\n width: 100%;\n height: 100%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb > [data-elem*=component] > * {\n height: 100%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb .Pagination_module_jumpToPage__6d89f0eb {\n width: 100%;\n background: transparent;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: stretch;\n gap: 0rem;\n padding: 0;\n height: 100%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb .Pagination_module_jumpToPage__6d89f0eb > [data-elem*=component] {\n overflow: hidden;\n height: 100%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb .Pagination_module_jumpToPage__6d89f0eb .Pagination_module_inputbox__6d89f0eb {\n max-width: 100%;\n height: 100%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb .Pagination_module_jumpToPage__6d89f0eb .Pagination_module_inputbox__6d89f0eb > label {\n height: 100%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb .Pagination_module_jumpToPage__6d89f0eb .Pagination_module_inputbox__6d89f0eb > label > [data-elem=base-cell] {\n border-radius: 0.313rem;\n background-color: transparent;\n color: var(--white);\n border-color: var(--grey1);\n border-radius: 0.25rem 0 0 0.25rem;\n height: 100%;\n width: 10rem;\n flex: 1;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb .Pagination_module_jumpToPage__6d89f0eb .Pagination_module_inputbox__6d89f0eb > label > [data-elem=base-cell] .Pagination_module_icon__6d89f0eb {\n width: 1.5rem;\n height: 1.5rem;\n fill: var(--grey1);\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb .Pagination_module_jumpToPage__6d89f0eb .Pagination_module_inputbox__6d89f0eb > label > [data-elem=base-cell] > [data-elem=component2] {\n height: 100%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb .Pagination_module_jumpToPage__6d89f0eb .Pagination_module_inputbox__6d89f0eb > label > [data-elem=base-cell] [data-elem=input] {\n text-align: center;\n color: var(--white);\n background-color: transparent;\n border: none;\n height: 100%;\n width: 100%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb .Pagination_module_jumpToPage__6d89f0eb .Pagination_module_button__6d89f0eb {\n border-radius: 0rem 0.25rem 0.25rem 0rem;\n background-color: var(--grey1);\n padding: 0.75rem 0.5rem;\n height: 100%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb .Pagination_module_jumpToPage__6d89f0eb .Pagination_module_button__6d89f0eb .Pagination_module_icon__6d89f0eb {\n width: 1.5rem;\n height: 1.5rem;\n fill: var(--white);\n flex-shrink: 0;\n}";
43392
- var modules_a3d40e77 = {"root":"Pagination_module_root__6d89f0eb","floating":"Pagination_module_floating__6d89f0eb","row-switcher":"Pagination_module_rowSwitcher__6d89f0eb","pagination":"Pagination_module_pagination__6d89f0eb","jump-to-page":"Pagination_module_jumpToPage__6d89f0eb","form":"Pagination_module_form__6d89f0eb","text":"Pagination_module_text__6d89f0eb","dropdown":"Pagination_module_dropdown__6d89f0eb","page-numbers":"Pagination_module_pageNumbers__6d89f0eb","button":"Pagination_module_button__6d89f0eb","disable":"Pagination_module_disable__6d89f0eb","icon":"Pagination_module_icon__6d89f0eb","pageSelect":"Pagination_module_pageSelect__6d89f0eb","number":"Pagination_module_number__6d89f0eb","active":"Pagination_module_active__6d89f0eb","inputbox":"Pagination_module_inputbox__6d89f0eb"};
43433
+ var css$p = ".Pagination_module_root__8f7084b9 {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: stretch;\n -ms-overflow-style: none;\n scrollbar-width: none;\n gap: 0.75rem;\n padding: 0.625rem 2.125rem;\n background: var(--dark-grey);\n margin-top: auto;\n width: 100%;\n height: 3.5rem;\n overflow: auto;\n transition-property: background-color, color, bottom, width;\n transition-duration: 0.33s;\n transition-timing-function: ease-out;\n}\n.Pagination_module_root__8f7084b9::-webkit-scrollbar {\n display: none;\n}\n.Pagination_module_root__8f7084b9.Pagination_module_floating__8f7084b9 {\n background: var(--dark-grey-o-85);\n position: absolute;\n border-radius: 6.25rem;\n width: 82%;\n bottom: 3rem;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_rowSwitcher__8f7084b9,\n.Pagination_module_root__8f7084b9 .Pagination_module_jumpToPage__8f7084b9,\n.Pagination_module_root__8f7084b9 .Pagination_module_form__8f7084b9 {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n height: 100%;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_rowSwitcher__8f7084b9 {\n display: none;\n flex: 0 1 15%;\n background-color: transparent;\n padding: 0;\n height: 100%;\n}\n@media (min-width: 992px) {\n .Pagination_module_root__8f7084b9 .Pagination_module_rowSwitcher__8f7084b9 {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n }\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_rowSwitcher__8f7084b9 > [data-elem=component2] {\n flex: 0 1 auto;\n height: 100%;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_rowSwitcher__8f7084b9 .Pagination_module_rowSwitcherHandle__8f7084b9 {\n gap: 0.75rem;\n background-color: var(--grey);\n padding: 0;\n border-radius: 0.25rem;\n height: 100%;\n width: 100%;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_rowSwitcher__8f7084b9 .Pagination_module_rowSwitcherHandle__8f7084b9 > [data-elem*=component] {\n overflow: hidden;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_rowSwitcher__8f7084b9 .Pagination_module_rowSwitcherHandle__8f7084b9 > [data-elem=component2] {\n display: flex;\n flex: 0 0 auto;\n height: 100%;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_rowSwitcher__8f7084b9 .Pagination_module_rowSwitcherHandle__8f7084b9 > [data-elem=component2]::before {\n content: \"\";\n margin: auto;\n background: var(--white);\n width: 0.5px;\n height: 50%;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_rowSwitcher__8f7084b9 .Pagination_module_text__8f7084b9 {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n height: 100%;\n display: block;\n padding: 0.5rem;\n font-size: 0.875rem;\n font-weight: 500;\n color: var(--white);\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_rowSwitcher__8f7084b9 .Pagination_module_dropdown__8f7084b9 {\n height: 100%;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_rowSwitcher__8f7084b9 .Pagination_module_dropdown__8f7084b9 > [data-elem=header] {\n height: 100%;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_rowSwitcher__8f7084b9 .Pagination_module_dropdown__8f7084b9 > [data-elem=header] > [data-elem=select] {\n height: 2.375rem;\n max-height: 100%;\n width: auto;\n min-width: -webkit-fit-content;\n min-width: -moz-fit-content;\n min-width: fit-content;\n padding: 0.625rem;\n background-color: var(--grey);\n border: none;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_rowSwitcher__8f7084b9 .Pagination_module_dropdown__8f7084b9 > [data-elem=header] > [data-elem=select] > [data-elem=placeholder] {\n color: var(--white);\n font-size: 0.875rem;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_rowSwitcher__8f7084b9 .Pagination_module_dropdown__8f7084b9 > [data-elem=header] > [data-elem=select] > svg {\n fill: var(--white);\n width: 0.813rem;\n height: 0.813rem;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_pageNumbers__8f7084b9 {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n gap: 1.25rem;\n flex: 1 1 100%;\n}\n@media (min-width: 992px) {\n .Pagination_module_root__8f7084b9 .Pagination_module_pageNumbers__8f7084b9 {\n flex: 1 1 40%;\n }\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_pageNumbers__8f7084b9 > .Pagination_module_button__8f7084b9.Pagination_module_disable__8f7084b9 {\n pointer-events: none;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_pageNumbers__8f7084b9 > .Pagination_module_button__8f7084b9 [data-elem=title] {\n color: var(--white);\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_pageNumbers__8f7084b9 > .Pagination_module_button__8f7084b9 .Pagination_module_icon__8f7084b9 {\n width: 1.5rem;\n height: 1.5rem;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_pageNumbers__8f7084b9 > .Pagination_module_pageSelect__8f7084b9 {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n gap: 0.625rem;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_pageNumbers__8f7084b9 > .Pagination_module_pageSelect__8f7084b9 .Pagination_module_number__8f7084b9 {\n cursor: pointer;\n border-radius: 50%;\n background-color: #e0e0e0;\n color: var(--black);\n width: 2.313rem;\n line-height: 2.313rem;\n text-align: center;\n font-size: 1rem;\n border: 1px solid transparent;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_pageNumbers__8f7084b9 > .Pagination_module_pageSelect__8f7084b9 .Pagination_module_number__8f7084b9:not([data-active=true]) {\n display: none;\n}\n@media (min-width: 768px) {\n .Pagination_module_root__8f7084b9 .Pagination_module_pageNumbers__8f7084b9 > .Pagination_module_pageSelect__8f7084b9 .Pagination_module_number__8f7084b9:not([data-active=true]) {\n display: block;\n }\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_pageNumbers__8f7084b9 > .Pagination_module_pageSelect__8f7084b9 .Pagination_module_number__8f7084b9:hover {\n border: 1px solid var(--highlight);\n color: var(--highlight);\n background: var(--background);\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_pageNumbers__8f7084b9 > .Pagination_module_pageSelect__8f7084b9 .Pagination_module_number__8f7084b9.Pagination_module_active__8f7084b9 {\n background-color: var(--highlight);\n color: var(--white);\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_form__8f7084b9 {\n display: none;\n padding: 0;\n flex: 0 1 30%;\n background: transparent;\n}\n@media (min-width: 992px) {\n .Pagination_module_root__8f7084b9 .Pagination_module_form__8f7084b9 {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n }\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_form__8f7084b9 > [data-elem*=component] {\n width: 100%;\n height: 100%;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_form__8f7084b9 > [data-elem*=component] > * {\n height: 100%;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_form__8f7084b9 > [data-elem*=component] > form {\n width: -webkit-fit-content;\n width: -moz-fit-content;\n width: fit-content;\n margin-left: auto;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_form__8f7084b9 .Pagination_module_jumpToPage__8f7084b9 {\n width: 100%;\n background: transparent;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: stretch;\n gap: 0rem;\n padding: 0;\n height: 100%;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_form__8f7084b9 .Pagination_module_jumpToPage__8f7084b9 > [data-elem*=component] {\n overflow: hidden;\n height: 100%;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_form__8f7084b9 .Pagination_module_jumpToPage__8f7084b9 .Pagination_module_inputbox__8f7084b9 {\n max-width: 100%;\n height: 100%;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_form__8f7084b9 .Pagination_module_jumpToPage__8f7084b9 .Pagination_module_inputbox__8f7084b9 > label {\n height: 100%;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_form__8f7084b9 .Pagination_module_jumpToPage__8f7084b9 .Pagination_module_inputbox__8f7084b9 > label > [data-elem=base-cell] {\n border-radius: 0.313rem;\n background-color: transparent;\n color: var(--white);\n border-color: var(--grey1);\n border-radius: 0.25rem 0 0 0.25rem;\n height: 100%;\n width: 10rem;\n flex: 1;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_form__8f7084b9 .Pagination_module_jumpToPage__8f7084b9 .Pagination_module_inputbox__8f7084b9 > label > [data-elem=base-cell] .Pagination_module_icon__8f7084b9 {\n width: 1.5rem;\n height: 1.5rem;\n fill: var(--grey1);\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_form__8f7084b9 .Pagination_module_jumpToPage__8f7084b9 .Pagination_module_inputbox__8f7084b9 > label > [data-elem=base-cell] > [data-elem=component2] {\n height: 100%;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_form__8f7084b9 .Pagination_module_jumpToPage__8f7084b9 .Pagination_module_inputbox__8f7084b9 > label > [data-elem=base-cell] [data-elem=input] {\n text-align: center;\n color: var(--white);\n background-color: transparent;\n border: none;\n height: 100%;\n width: 100%;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_form__8f7084b9 .Pagination_module_jumpToPage__8f7084b9 .Pagination_module_button__8f7084b9 {\n border-radius: 0rem 0.25rem 0.25rem 0rem;\n background-color: var(--grey1);\n padding: 0.75rem 0.5rem;\n height: 100%;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_form__8f7084b9 .Pagination_module_jumpToPage__8f7084b9 .Pagination_module_button__8f7084b9 .Pagination_module_icon__8f7084b9 {\n width: 1.5rem;\n height: 1.5rem;\n fill: var(--white);\n flex-shrink: 0;\n}\n.Pagination_module_root__8f7084b9 .Pagination_module_totalData__8f7084b9 {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n display: none;\n margin: auto;\n color: var(--white);\n flex: 0 1 15%;\n}\n@media (min-width: 992px) {\n .Pagination_module_root__8f7084b9 .Pagination_module_totalData__8f7084b9 {\n display: inline;\n }\n}\n.Pagination_module_root__8f7084b9.Pagination_module_noTotalData__8f7084b9 .Pagination_module_rowSwitcher__8f7084b9 {\n flex: 0 1 20%;\n}\n.Pagination_module_root__8f7084b9.Pagination_module_noTotalData__8f7084b9 .Pagination_module_jumpToPage__8f7084b9 {\n flex: 1 1 60%;\n}\n.Pagination_module_root__8f7084b9.Pagination_module_noTotalData__8f7084b9 .Pagination_module_form__8f7084b9 {\n flex: 0 1 20%;\n}";
43434
+ var modules_a3d40e77 = {"root":"Pagination_module_root__8f7084b9","floating":"Pagination_module_floating__8f7084b9","row-switcher":"Pagination_module_rowSwitcher__8f7084b9","jump-to-page":"Pagination_module_jumpToPage__8f7084b9","form":"Pagination_module_form__8f7084b9","row-switcher-handle":"Pagination_module_rowSwitcherHandle__8f7084b9","text":"Pagination_module_text__8f7084b9","dropdown":"Pagination_module_dropdown__8f7084b9","page-numbers":"Pagination_module_pageNumbers__8f7084b9","button":"Pagination_module_button__8f7084b9","disable":"Pagination_module_disable__8f7084b9","icon":"Pagination_module_icon__8f7084b9","pageSelect":"Pagination_module_pageSelect__8f7084b9","number":"Pagination_module_number__8f7084b9","active":"Pagination_module_active__8f7084b9","inputbox":"Pagination_module_inputbox__8f7084b9","total-data":"Pagination_module_totalData__8f7084b9","no-total-data":"Pagination_module_noTotalData__8f7084b9"};
43393
43435
  n(css$p,{});
43394
43436
 
43395
43437
  var dropdownOptions = ['10', '25', '50', '100', '200', '250'];
@@ -43417,6 +43459,10 @@ var reducer = function reducer(state, _ref) {
43417
43459
  return _objectSpread2(_objectSpread2({}, state), {}, {
43418
43460
  totalPages: payload
43419
43461
  });
43462
+ case 'SET_TOTAL_DATA':
43463
+ return _objectSpread2(_objectSpread2({}, state), {}, {
43464
+ totalData: payload
43465
+ });
43420
43466
  default:
43421
43467
  return state;
43422
43468
  }
@@ -43427,11 +43473,14 @@ var usePagination = function usePagination(props) {
43427
43473
  _props$currentPage = props.currentPage,
43428
43474
  currentPage = _props$currentPage === void 0 ? null : _props$currentPage,
43429
43475
  _props$step = props.step,
43430
- step = _props$step === void 0 ? 10 : _props$step;
43476
+ step = _props$step === void 0 ? 10 : _props$step,
43477
+ _props$totalData = props.totalData,
43478
+ totalData = _props$totalData === void 0 ? null : _props$totalData;
43431
43479
  var _useReducer = React.useReducer(reducer, {
43432
43480
  totalPages: totalPages,
43433
43481
  currentPage: currentPage,
43434
- step: step
43482
+ step: step,
43483
+ totalData: totalData
43435
43484
  }),
43436
43485
  _useReducer2 = _slicedToArray(_useReducer, 2),
43437
43486
  paginationState = _useReducer2[0],
@@ -43443,11 +43492,17 @@ var usePagination = function usePagination(props) {
43443
43492
  payload: totalPages
43444
43493
  });
43445
43494
  }
43495
+ if (paginationState.totalData !== totalData) {
43496
+ paginationDispatch({
43497
+ type: 'SET_TOTAL_DATA',
43498
+ payload: totalData
43499
+ });
43500
+ }
43446
43501
  paginationDispatch({
43447
43502
  type: 'SET_TOTAL_PAGES',
43448
43503
  payload: totalPages
43449
43504
  });
43450
- }, [totalPages]);
43505
+ }, [totalPages, totalData]);
43451
43506
  return [paginationState, paginationDispatch];
43452
43507
  };
43453
43508
  var Pagination = /*#__PURE__*/React.forwardRef(function (props, ref) {
@@ -43458,7 +43513,8 @@ var Pagination = /*#__PURE__*/React.forwardRef(function (props, ref) {
43458
43513
  loading = props.loading;
43459
43514
  var totalPages = paginationState.totalPages,
43460
43515
  currentPage = paginationState.currentPage,
43461
- step = paginationState.step;
43516
+ step = paginationState.step,
43517
+ totalData = paginationState.totalData;
43462
43518
  var paginationList = new PaginationList({
43463
43519
  curr: currentPage,
43464
43520
  total: totalPages
@@ -43477,35 +43533,50 @@ var Pagination = /*#__PURE__*/React.forwardRef(function (props, ref) {
43477
43533
  if (loading) {
43478
43534
  return null;
43479
43535
  }
43536
+ var showTotalData = totalData && (currentPage - 1) * step + 1 < totalData;
43480
43537
  return /*#__PURE__*/jsxRuntime.jsxs("div", {
43481
43538
  ref: ref,
43482
- className: classes(modules_a3d40e77.root, className, floating ? modules_a3d40e77.floating : ''),
43539
+ className: classes(modules_a3d40e77.root, className, floating ? modules_a3d40e77.floating : '', showTotalData ? '' : modules_a3d40e77['no-total-data']),
43483
43540
  children: [/*#__PURE__*/jsxRuntime.jsx(BaseCell, {
43541
+ size: "auto",
43484
43542
  flexible: true,
43485
43543
  className: modules_a3d40e77['row-switcher'],
43486
- component1: /*#__PURE__*/jsxRuntime.jsx("span", {
43487
- title: "Rows per page",
43488
- className: modules_a3d40e77.text,
43489
- children: "Rows per page"
43490
- }),
43491
- component2: /*#__PURE__*/jsxRuntime.jsx(Dropdown, {
43492
- className: modules_a3d40e77.dropdown,
43493
- popperClassName: modules_a3d40e77['dropdown-popper'],
43494
- value: step,
43495
- placeholder: null,
43496
- onChange: function onChange(e, newStep) {
43497
- _onChange({
43498
- type: 'SET_STEP',
43499
- payload: newStep
43500
- });
43501
- },
43502
- children: dropdownOptions.map(function (item) {
43503
- return /*#__PURE__*/jsxRuntime.jsx(DropdownItem, {
43504
- title: item,
43505
- value: item
43506
- }, item);
43544
+ component2: /*#__PURE__*/jsxRuntime.jsx(BaseCell, {
43545
+ size: "auto",
43546
+ flexible: true,
43547
+ className: modules_a3d40e77['row-switcher-handle'],
43548
+ component1: /*#__PURE__*/jsxRuntime.jsx("span", {
43549
+ title: "Rows per page",
43550
+ className: modules_a3d40e77.text,
43551
+ children: "Rows per page"
43552
+ }),
43553
+ component2: /*#__PURE__*/jsxRuntime.jsx(Dropdown, {
43554
+ className: modules_a3d40e77.dropdown,
43555
+ popperClassName: modules_a3d40e77['dropdown-popper'],
43556
+ value: step,
43557
+ placeholder: null,
43558
+ onChange: function onChange(e, newStep) {
43559
+ _onChange({
43560
+ type: 'SET_STEP',
43561
+ payload: newStep
43562
+ });
43563
+ },
43564
+ children: dropdownOptions.map(function (item) {
43565
+ return /*#__PURE__*/jsxRuntime.jsx(DropdownItem, {
43566
+ title: item,
43567
+ value: item
43568
+ }, item);
43569
+ })
43507
43570
  })
43508
43571
  })
43572
+ }), showTotalData && /*#__PURE__*/jsxRuntime.jsxs(Text, {
43573
+ variant: "b1",
43574
+ stroke: "medium",
43575
+ className: modules_a3d40e77['total-data'],
43576
+ attrs: {
43577
+ title: "".concat((currentPage - 1) * step + 1, "-").concat(currentPage * step, " of ").concat(totalData)
43578
+ },
43579
+ children: [(currentPage - 1) * step + 1, "-", currentPage === totalPages ? totalData : currentPage * step, " of ", totalData]
43509
43580
  }), /*#__PURE__*/jsxRuntime.jsxs("div", {
43510
43581
  className: modules_a3d40e77['page-numbers'],
43511
43582
  children: [/*#__PURE__*/jsxRuntime.jsx(Button, {
@@ -43573,7 +43644,7 @@ var Pagination = /*#__PURE__*/React.forwardRef(function (props, ref) {
43573
43644
  });
43574
43645
  },
43575
43646
  children: /*#__PURE__*/jsxRuntime.jsx(BaseCell, {
43576
- flexible: true,
43647
+ size: "auto",
43577
43648
  className: modules_a3d40e77['jump-to-page'],
43578
43649
  component1: /*#__PURE__*/jsxRuntime.jsx(TextField, {
43579
43650
  inputProps: {
@@ -43747,12 +43818,37 @@ var TableColumn = /*#__PURE__*/_createClass(function TableColumn(_ref) {
43747
43818
  this.sticky = sticky;
43748
43819
  });
43749
43820
 
43750
- var css$m = ".TableCell_module_root__b998b6b2[data-elem=base-cell] {\n background: var(--white);\n border-bottom: 1px solid var(--grey4);\n}\n.TableCell_module_root__b998b6b2[data-elem=base-cell] > [data-elem*=component] {\n overflow: hidden;\n}\n.TableCell_module_root__b998b6b2[data-elem=base-cell] > [data-elem*=component] {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n flex: 1;\n}\n.TableCell_module_root__b998b6b2[data-elem=base-cell] > [data-elem*=component] .TableCell_module_cellText__b998b6b2 {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n display: inline-block;\n width: 100%;\n font-size: 0.875rem;\n}\n.TableCell_module_root__b998b6b2[data-elem=base-cell].TableCell_module_headerCell__b998b6b2 {\n background: var(--grey7);\n}\n.TableCell_module_root__b998b6b2[data-elem=base-cell].TableCell_module_headerCell__b998b6b2 .TableCell_module_cellText__b998b6b2 {\n font-weight: 600;\n}\n.TableCell_module_root__b998b6b2[data-elem=base-cell].TableCell_module_bodyCell__b998b6b2 .TableCell_module_cellText__b998b6b2.TableCell_module_multiLine__b998b6b2 {\n white-space: normal;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n font-size: 0.75rem;\n}\n.TableCell_module_root__b998b6b2[data-elem=base-cell].TableCell_module_stickyLeft__b998b6b2 {\n box-shadow: -2px -2px 4px rgba(166, 166, 166, 0.25), 2px 2px 4px rgba(166, 166, 166, 0.24);\n position: -webkit-sticky;\n position: sticky;\n left: 0;\n}\n.TableCell_module_root__b998b6b2[data-elem=base-cell].TableCell_module_stickyRight__b998b6b2 {\n box-shadow: -2px -2px 4px rgba(166, 166, 166, 0.25), 2px 2px 4px rgba(166, 166, 166, 0.24);\n position: -webkit-sticky;\n position: sticky;\n right: 0;\n}";
43751
- var modules_7ba8d001 = {"root":"TableCell_module_root__b998b6b2","cell-text":"TableCell_module_cellText__b998b6b2","header-cell":"TableCell_module_headerCell__b998b6b2","body-cell":"TableCell_module_bodyCell__b998b6b2","multi-line":"TableCell_module_multiLine__b998b6b2","sticky-left":"TableCell_module_stickyLeft__b998b6b2","sticky-right":"TableCell_module_stickyRight__b998b6b2"};
43821
+ var css$m = ".TableCell_module_root__ff5c86cb[data-elem=base-cell] {\n background: var(--white);\n border-bottom: 1px solid var(--grey4);\n}\n.TableCell_module_root__ff5c86cb[data-elem=base-cell] > [data-elem*=component] {\n overflow: hidden;\n}\n.TableCell_module_root__ff5c86cb[data-elem=base-cell] > [data-elem*=component] {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n flex: 1;\n}\n.TableCell_module_root__ff5c86cb[data-elem=base-cell] > [data-elem*=component] .TableCell_module_cellText__ff5c86cb {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n display: inline-block;\n width: 100%;\n font-size: 0.875rem;\n}\n.TableCell_module_root__ff5c86cb[data-elem=base-cell].TableCell_module_headerCell__ff5c86cb {\n background: var(--grey6);\n}\n.TableCell_module_root__ff5c86cb[data-elem=base-cell].TableCell_module_headerCell__ff5c86cb .TableCell_module_cellText__ff5c86cb {\n font-weight: 500;\n color: var(--grey);\n font-size: 0.75rem;\n}\n.TableCell_module_root__ff5c86cb[data-elem=base-cell].TableCell_module_headerCell__ff5c86cb.TableCell_module_sortable__ff5c86cb > [data-elem=component2] {\n flex: 0 0 auto;\n}\n.TableCell_module_root__ff5c86cb[data-elem=base-cell].TableCell_module_headerCell__ff5c86cb.TableCell_module_sortable__ff5c86cb > [data-elem=component2] .TableCell_module_cellText__ff5c86cb {\n width: auto;\n}\n.TableCell_module_root__ff5c86cb[data-elem=base-cell].TableCell_module_headerCell__ff5c86cb.TableCell_module_sortable__ff5c86cb > [data-elem=component3] {\n flex: 0 0 auto;\n margin-right: auto;\n overflow: visible;\n}\n.TableCell_module_root__ff5c86cb[data-elem=base-cell].TableCell_module_headerCell__ff5c86cb.TableCell_module_sortable__ff5c86cb > [data-elem=component3] button.TableCell_module_sort__ff5c86cb {\n height: auto;\n background: transparent;\n padding: 0;\n}\n.TableCell_module_root__ff5c86cb[data-elem=base-cell].TableCell_module_headerCell__ff5c86cb.TableCell_module_sortable__ff5c86cb > [data-elem=component3] .TableCell_module_sortIcon__ff5c86cb {\n width: 1rem;\n height: 1rem;\n}\n.TableCell_module_root__ff5c86cb[data-elem=base-cell].TableCell_module_headerCell__ff5c86cb.TableCell_module_sortable__ff5c86cb.TableCell_module_sortDefault__ff5c86cb > [data-elem=component3] {\n visibility: hidden;\n}\n.TableCell_module_root__ff5c86cb[data-elem=base-cell].TableCell_module_headerCell__ff5c86cb.TableCell_module_sortable__ff5c86cb.TableCell_module_sortDefault__ff5c86cb > [data-elem=component3] .TableCell_module_sortIcon__ff5c86cb {\n width: 1rem;\n height: 1rem;\n}\n.TableCell_module_root__ff5c86cb[data-elem=base-cell].TableCell_module_headerCell__ff5c86cb.TableCell_module_sortable__ff5c86cb.TableCell_module_sortAsc__ff5c86cb > [data-elem=component3], .TableCell_module_root__ff5c86cb[data-elem=base-cell].TableCell_module_headerCell__ff5c86cb.TableCell_module_sortable__ff5c86cb.TableCell_module_sortDesc__ff5c86cb > [data-elem=component3] {\n visibility: visible;\n}\n.TableCell_module_root__ff5c86cb[data-elem=base-cell].TableCell_module_headerCell__ff5c86cb.TableCell_module_sortable__ff5c86cb.TableCell_module_sortAsc__ff5c86cb > [data-elem=component3] .TableCell_module_sortIcon__ff5c86cb, .TableCell_module_root__ff5c86cb[data-elem=base-cell].TableCell_module_headerCell__ff5c86cb.TableCell_module_sortable__ff5c86cb.TableCell_module_sortDesc__ff5c86cb > [data-elem=component3] .TableCell_module_sortIcon__ff5c86cb {\n fill: var(--highlight);\n width: 1rem;\n height: 1rem;\n}\n.TableCell_module_root__ff5c86cb[data-elem=base-cell].TableCell_module_headerCell__ff5c86cb.TableCell_module_sortable__ff5c86cb:hover > [data-elem=component3] {\n visibility: visible;\n}\n.TableCell_module_root__ff5c86cb[data-elem=base-cell].TableCell_module_bodyCell__ff5c86cb .TableCell_module_cellText__ff5c86cb.TableCell_module_multiLine__ff5c86cb {\n white-space: normal;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n font-size: 0.75rem;\n}\n.TableCell_module_root__ff5c86cb[data-elem=base-cell].TableCell_module_stickyLeft__ff5c86cb {\n box-shadow: -2px -2px 4px rgba(166, 166, 166, 0.25), 2px 2px 4px rgba(166, 166, 166, 0.24);\n position: -webkit-sticky;\n position: sticky;\n left: 0;\n}\n.TableCell_module_root__ff5c86cb[data-elem=base-cell].TableCell_module_stickyRight__ff5c86cb {\n box-shadow: -2px -2px 4px rgba(166, 166, 166, 0.25), 2px 2px 4px rgba(166, 166, 166, 0.24);\n position: -webkit-sticky;\n position: sticky;\n right: 0;\n}";
43822
+ var modules_7ba8d001 = {"root":"TableCell_module_root__ff5c86cb","cell-text":"TableCell_module_cellText__ff5c86cb","header-cell":"TableCell_module_headerCell__ff5c86cb","sortable":"TableCell_module_sortable__ff5c86cb","sort":"TableCell_module_sort__ff5c86cb","sort-icon":"TableCell_module_sortIcon__ff5c86cb","sort-default":"TableCell_module_sortDefault__ff5c86cb","sort-asc":"TableCell_module_sortAsc__ff5c86cb","sort-desc":"TableCell_module_sortDesc__ff5c86cb","body-cell":"TableCell_module_bodyCell__ff5c86cb","multi-line":"TableCell_module_multiLine__ff5c86cb","sticky-left":"TableCell_module_stickyLeft__ff5c86cb","sticky-right":"TableCell_module_stickyRight__ff5c86cb"};
43752
43823
  n(css$m,{});
43753
43824
 
43825
+ var SORT_ICONS = {
43826
+ asc: /*#__PURE__*/jsxRuntime.jsx(Sort, {
43827
+ className: modules_7ba8d001['sort-icon'],
43828
+ position: "az"
43829
+ }),
43830
+ desc: /*#__PURE__*/jsxRuntime.jsx(Sort, {
43831
+ className: modules_7ba8d001['sort-icon'],
43832
+ position: "za"
43833
+ }),
43834
+ "default": /*#__PURE__*/jsxRuntime.jsx(Sort, {
43835
+ className: modules_7ba8d001['sort-icon'],
43836
+ position: "az"
43837
+ })
43838
+ };
43839
+ var getNextSortState = function getNextSortState(currentSort) {
43840
+ var _asc$desc$default;
43841
+ return (_asc$desc$default = {
43842
+ asc: 'desc',
43843
+ desc: 'default',
43844
+ "default": 'asc'
43845
+ }) === null || _asc$desc$default === void 0 ? void 0 : _asc$desc$default[currentSort];
43846
+ };
43847
+
43848
+ // eslint-disable-next-line prefer-arrow-callback
43754
43849
  var TableCell = /*#__PURE__*/React.forwardRef(function TableCell(props, ref) {
43755
- var className = props.className,
43850
+ var id = props.id,
43851
+ className = props.className,
43756
43852
  size = props.size,
43757
43853
  flexible = props.flexible,
43758
43854
  rounded = props.rounded,
@@ -43766,10 +43862,12 @@ var TableCell = /*#__PURE__*/React.forwardRef(function TableCell(props, ref) {
43766
43862
  type = props.type,
43767
43863
  cellContent = props.cellContent,
43768
43864
  cellTitle = props.cellTitle,
43769
- sticky = props.sticky;
43865
+ sticky = props.sticky,
43866
+ sort = props.sort,
43867
+ onSort = props.onSort;
43770
43868
  return /*#__PURE__*/jsxRuntime.jsx(BaseCell, {
43771
43869
  ref: ref,
43772
- className: classes(modules_7ba8d001.root, className, modules_7ba8d001["".concat(type, "-cell")], modules_7ba8d001["sticky-".concat(sticky)]),
43870
+ className: classes(modules_7ba8d001.root, className, modules_7ba8d001["".concat(type, "-cell")], modules_7ba8d001["sticky-".concat(sticky)], modules_7ba8d001["sort-".concat(sort)], sort != null ? modules_7ba8d001.sortable : ''),
43773
43871
  attrs: _objectSpread2({
43774
43872
  style: style
43775
43873
  }, attrs),
@@ -43786,7 +43884,16 @@ var TableCell = /*#__PURE__*/React.forwardRef(function TableCell(props, ref) {
43786
43884
  })), {}, {
43787
43885
  children: [null, false, true].includes(cellContent) ? JSON.stringify(cellContent) : cellContent
43788
43886
  })),
43789
- component3: component3,
43887
+ component3: type === 'header' && sort ? /*#__PURE__*/jsxRuntime.jsx(Button, {
43888
+ className: modules_7ba8d001.sort,
43889
+ size: "auto",
43890
+ onClick: function onClick() {
43891
+ onSort(id, getNextSortState(sort));
43892
+ },
43893
+ leftComponent: function leftComponent() {
43894
+ return SORT_ICONS[sort];
43895
+ }
43896
+ }) : component3,
43790
43897
  RootDOM: RootDOM,
43791
43898
  radius: radius
43792
43899
  });
@@ -43796,18 +43903,20 @@ TableCell.propTypes = _objectSpread2(_objectSpread2({}, BaseCell.propTypes), {},
43796
43903
  id: propTypes$1.exports.string,
43797
43904
  size: propTypes$1.exports.oneOf(['sm', 'md', 'lg']),
43798
43905
  flexible: propTypes$1.exports.bool,
43799
- sort: propTypes$1.exports.bool,
43906
+ sort: propTypes$1.exports.oneOf(['default', 'asc', 'desc']),
43800
43907
  // eslint-disable-next-line react/forbid-prop-types
43801
43908
  style: propTypes$1.exports.object,
43802
43909
  multiLine: propTypes$1.exports.bool,
43803
43910
  sticky: propTypes$1.exports.oneOf(['left', 'right', 'none']),
43804
43911
  cellContent: propTypes$1.exports.node,
43805
- cellTitle: propTypes$1.exports.string
43912
+ cellTitle: propTypes$1.exports.string,
43913
+ onSort: propTypes$1.exports.func
43806
43914
  });
43807
43915
  TableCell.defaultProps = _objectSpread2(_objectSpread2({}, BaseCell.defaultProps), {}, {
43808
43916
  cellContent: null,
43809
43917
  cellTitle: null,
43810
- RootDOM: 'td'
43918
+ RootDOM: 'td',
43919
+ onSort: function onSort() {}
43811
43920
  });
43812
43921
 
43813
43922
  var css$l = ".TableRow_module_root__a0ba90a7 {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n}\n.TableRow_module_root__a0ba90a7.TableRow_module_headerRow__a0ba90a7 {\n background: var(--grey6);\n}\n.TableRow_module_root__a0ba90a7.TableRow_module_headerRow__a0ba90a7.TableRow_module_expandable__a0ba90a7 > [data-elem=base-cell]:first-child {\n padding-left: 4.5rem;\n}\n.TableRow_module_root__a0ba90a7.TableRow_module_bodyRow__a0ba90a7 {\n background: var(--white);\n}\n.TableRow_module_root__a0ba90a7.TableRow_module_bodyRow__a0ba90a7:hover > [data-elem=base-cell] {\n background: var(--info-bg);\n}\n.TableRow_module_root__a0ba90a7.TableRow_module_bodyRow__a0ba90a7[data-active=true] > [data-elem=base-cell] {\n background: var(--background);\n}\n.TableRow_module_root__a0ba90a7 > [data-elem=base-cell]:first-child {\n padding-left: 1rem;\n}\n.TableRow_module_root__a0ba90a7 > [data-elem=base-cell]:last-child {\n padding-right: 1rem;\n}\n.TableRow_module_root__a0ba90a7 > [data-elem=base-cell].TableRow_module_expandableCell__a0ba90a7 {\n padding-left: 0.9rem;\n padding-right: 0.1rem;\n overflow: visible;\n}\n.TableRow_module_root__a0ba90a7 > [data-elem=base-cell].TableRow_module_expandableCell__a0ba90a7 > [data-elem=component2] {\n overflow: visible;\n}\n.TableRow_module_root__a0ba90a7 > [data-elem=base-cell].TableRow_module_expandableCell__a0ba90a7 > [data-elem=component2] > [data-elem=text] {\n overflow: visible;\n}\n.TableRow_module_root__a0ba90a7 .TableRow_module_button__a0ba90a7 .TableRow_module_icon__a0ba90a7 {\n width: 1.5rem;\n height: 1.5rem;\n}\n.TableRow_module_root__a0ba90a7 .TableRow_module_expanded__a0ba90a7 .TableRow_module_button__a0ba90a7 .TableRow_module_icon__a0ba90a7 {\n transform: rotate(180deg);\n}";
@@ -43823,7 +43932,8 @@ var TableRow = /*#__PURE__*/React.forwardRef(function BaseTable(props, ref) {
43823
43932
  customCells = props.customCells,
43824
43933
  className = props.className,
43825
43934
  setActiveId = props.setActiveId,
43826
- Expandable = props.expandable;
43935
+ Expandable = props.expandable,
43936
+ onSort = props.onSort;
43827
43937
  var _useState = React.useState(false),
43828
43938
  _useState2 = _slicedToArray(_useState, 2),
43829
43939
  expanded = _useState2[0],
@@ -43843,7 +43953,8 @@ var TableRow = /*#__PURE__*/React.forwardRef(function BaseTable(props, ref) {
43843
43953
  datum: datum,
43844
43954
  cellContent: cellContent,
43845
43955
  cellTitle: cellContent,
43846
- type: type
43956
+ type: type,
43957
+ onSort: onSort
43847
43958
  });
43848
43959
  var getCustomCell = customCells === null || customCells === void 0 ? void 0 : customCells[type];
43849
43960
  var CustomCell = typeof getCustomCell === 'function' ? (_getCustomCell = getCustomCell()) === null || _getCustomCell === void 0 ? void 0 : _getCustomCell[item.id] : null;
@@ -43908,10 +44019,9 @@ TableRow.propTypes = {
43908
44019
  multiLine: propTypes$1.exports.bool
43909
44020
  })),
43910
44021
  setActiveId: propTypes$1.exports.func,
43911
- expandable: propTypes$1.exports.func
43912
- // expandableComponent:
44022
+ expandable: propTypes$1.exports.func,
44023
+ onSort: propTypes$1.exports.func
43913
44024
  };
43914
-
43915
44025
  TableRow.defaultProps = {
43916
44026
  className: '',
43917
44027
  type: 'body',
@@ -43922,7 +44032,8 @@ TableRow.defaultProps = {
43922
44032
  },
43923
44033
  headerData: [],
43924
44034
  setActiveId: function setActiveId() {},
43925
- expandable: null
44035
+ expandable: null,
44036
+ onSort: function onSort() {}
43926
44037
  };
43927
44038
 
43928
44039
  var css$k = ".TableBody_module_root__77e2990d {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n}";
@@ -44005,7 +44116,8 @@ n(css$j,{});
44005
44116
  var TableHeader = function TableHeader(props) {
44006
44117
  var headerData = props.headerData,
44007
44118
  customCells = props.customCells,
44008
- expandable = props.expandable;
44119
+ expandable = props.expandable,
44120
+ onSort = props.onSort;
44009
44121
  return /*#__PURE__*/jsxRuntime.jsx("thead", {
44010
44122
  "data-elem": "table-header",
44011
44123
  className: modules_3be98c28.root,
@@ -44013,7 +44125,8 @@ var TableHeader = function TableHeader(props) {
44013
44125
  type: "header",
44014
44126
  headerData: headerData,
44015
44127
  customCells: customCells,
44016
- expandable: expandable
44128
+ expandable: expandable,
44129
+ onSort: onSort
44017
44130
  })
44018
44131
  });
44019
44132
  };
@@ -44031,7 +44144,8 @@ TableHeader.propTypes = {
44031
44144
  header: propTypes$1.exports.func,
44032
44145
  body: propTypes$1.exports.func
44033
44146
  }),
44034
- expandable: propTypes$1.exports.func
44147
+ expandable: propTypes$1.exports.func,
44148
+ onSort: propTypes$1.exports.func
44035
44149
  };
44036
44150
  TableHeader.defaultProps = {
44037
44151
  headerData: [],
@@ -44039,7 +44153,8 @@ TableHeader.defaultProps = {
44039
44153
  header: null,
44040
44154
  body: null
44041
44155
  },
44042
- expandable: null
44156
+ expandable: null,
44157
+ onSort: function onSort() {}
44043
44158
  };
44044
44159
 
44045
44160
  var css$i = ".BaseTable_module_root__7a8d241c {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n background: var(--white);\n overflow: auto;\n}";
@@ -44110,7 +44225,8 @@ var BaseTable = /*#__PURE__*/React.forwardRef(function BaseTable(props, ref) {
44110
44225
  tableData = props.tableData,
44111
44226
  className = props.className,
44112
44227
  loading = props.loading,
44113
- expandable = props.expandable;
44228
+ expandable = props.expandable,
44229
+ onSort = props.onSort;
44114
44230
  if (loading) {
44115
44231
  return /*#__PURE__*/jsxRuntime.jsx(BaseTableSkeleton, {});
44116
44232
  }
@@ -44124,7 +44240,8 @@ var BaseTable = /*#__PURE__*/React.forwardRef(function BaseTable(props, ref) {
44124
44240
  children: [/*#__PURE__*/jsxRuntime.jsx(TableHeader, {
44125
44241
  headerData: transformedHeaderData,
44126
44242
  customCells: customCells,
44127
- expandable: expandable
44243
+ expandable: expandable,
44244
+ onSort: onSort
44128
44245
  }), /*#__PURE__*/jsxRuntime.jsx(TableBody, {
44129
44246
  ref: ref,
44130
44247
  headerData: transformedHeaderData,
@@ -44151,7 +44268,8 @@ BaseTable.propTypes = {
44151
44268
  body: propTypes$1.exports.func
44152
44269
  }),
44153
44270
  loading: propTypes$1.exports.bool,
44154
- expandable: propTypes$1.exports.func
44271
+ expandable: propTypes$1.exports.func,
44272
+ onSort: propTypes$1.exports.func
44155
44273
  };
44156
44274
  BaseTable.defaultProps = {
44157
44275
  className: '',
@@ -44162,7 +44280,8 @@ BaseTable.defaultProps = {
44162
44280
  body: null
44163
44281
  },
44164
44282
  loading: null,
44165
- expandable: null
44283
+ expandable: null,
44284
+ onSort: function onSort() {}
44166
44285
  };
44167
44286
 
44168
44287
  var css$f = ".Skeleton_module_root__15c10a9b[data-elem=base-cell] {\n align-items: flex-start;\n width: 100%;\n}\n.Skeleton_module_root__15c10a9b[data-elem=base-cell] > [data-elem=component1] {\n width: auto;\n}\n.Skeleton_module_root__15c10a9b[data-elem=base-cell] > [data-elem=component1] > [data-elem=skeleton] {\n height: 1.5rem;\n width: 1.5rem !important;\n}\n.Skeleton_module_root__15c10a9b[data-elem=base-cell] > [data-elem=component2] {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n gap: 1rem;\n flex: 8;\n}\n.Skeleton_module_root__15c10a9b[data-elem=base-cell] > [data-elem=component2] > [data-elem=skeleton] {\n max-width: 9rem;\n height: 1.5rem;\n}";
@@ -44185,42 +44304,88 @@ var TableChipsSkeleton = function TableChipsSkeleton() {
44185
44304
  });
44186
44305
  };
44187
44306
 
44188
- var css$e = ".TableChips_module_root__dfc60d0e[data-elem=base-cell] {\n padding: 0.5rem 1.5rem;\n width: 100%;\n background: var(--grey8);\n border-radius: 0.25rem 0.25rem 0 0;\n}\n.TableChips_module_root__dfc60d0e[data-elem=base-cell] > [data-elem=component1] .TableChips_module_back__dfc60d0e {\n height: 2rem;\n width: 2rem;\n}\n.TableChips_module_root__dfc60d0e[data-elem=base-cell] > [data-elem=component1] .TableChips_module_back__dfc60d0e [data-elem=component1] .TableChips_module_icon__dfc60d0e {\n width: 1.5rem;\n height: 1.5rem;\n fill: var(--white);\n}\n.TableChips_module_root__dfc60d0e[data-elem=base-cell] > [data-elem=component2] {\n -ms-overflow-style: none;\n scrollbar-width: none;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n gap: 0.5rem;\n overflow-x: auto;\n flex: 1;\n}\n.TableChips_module_root__dfc60d0e[data-elem=base-cell] > [data-elem=component2]::-webkit-scrollbar {\n display: none;\n}\n.TableChips_module_root__dfc60d0e[data-elem=base-cell] > [data-elem=component2] .TableChips_module_chip__dfc60d0e .TableChips_module_chipIcon__dfc60d0e {\n width: 1rem;\n height: 1rem;\n}\n.TableChips_module_root__dfc60d0e[data-elem=base-cell] > [data-elem=component3] {\n height: 100%;\n}\n.TableChips_module_root__dfc60d0e[data-elem=base-cell] > [data-elem=component3] .TableChips_module_clear__dfc60d0e {\n height: 100%;\n}";
44189
- var modules_016d9b3e = {"root":"TableChips_module_root__dfc60d0e","back":"TableChips_module_back__dfc60d0e","icon":"TableChips_module_icon__dfc60d0e","chip":"TableChips_module_chip__dfc60d0e","chip-icon":"TableChips_module_chipIcon__dfc60d0e","clear":"TableChips_module_clear__dfc60d0e"};
44307
+ var css$e = ".TableChips_module_root__5d8107b3[data-elem=base-cell] {\n padding: 0.5rem 1.5rem;\n width: 100%;\n background: var(--grey6);\n border-radius: 0.25rem 0.25rem 0 0;\n}\n.TableChips_module_root__5d8107b3[data-elem=base-cell] > [data-elem=component1] .TableChips_module_back__5d8107b3 {\n height: 2rem;\n width: 2rem;\n}\n.TableChips_module_root__5d8107b3[data-elem=base-cell] > [data-elem=component1] .TableChips_module_back__5d8107b3 [data-elem=component1] .TableChips_module_icon__5d8107b3 {\n width: 1.5rem;\n height: 1.5rem;\n fill: var(--white);\n}\n.TableChips_module_root__5d8107b3[data-elem=base-cell] > [data-elem=component2] {\n -ms-overflow-style: none;\n scrollbar-width: none;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n height: 100%;\n gap: 0.5rem;\n overflow: auto hidden;\n flex: 1;\n}\n.TableChips_module_root__5d8107b3[data-elem=base-cell] > [data-elem=component2]::-webkit-scrollbar {\n display: none;\n}\n.TableChips_module_root__5d8107b3[data-elem=base-cell] > [data-elem=component2] .TableChips_module_chipParent__5d8107b3 {\n background: var(--grey8);\n border: 1px solid var(--grey4);\n padding: 0.344rem 0.25rem;\n height: 100%;\n cursor: default;\n}\n.TableChips_module_root__5d8107b3[data-elem=base-cell] > [data-elem=component2] .TableChips_module_chipParent__5d8107b3 .TableChips_module_chipIcon__5d8107b3 {\n width: 1rem;\n height: 1rem;\n}\n.TableChips_module_root__5d8107b3[data-elem=base-cell] > [data-elem=component2] .TableChips_module_chipParent__5d8107b3 > [data-elem=component2] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n gap: 0.25rem;\n height: 100%;\n}\n.TableChips_module_root__5d8107b3[data-elem=base-cell] > [data-elem=component2] .TableChips_module_chipParent__5d8107b3 > [data-elem=component2] .TableChips_module_chipChild__5d8107b3 {\n height: 100%;\n}\n.TableChips_module_root__5d8107b3[data-elem=base-cell] > [data-elem=component2] .TableChips_module_chipParent__5d8107b3 > [data-elem=component2] .TableChips_module_chipChild__5d8107b3 > [data-elem=component2] > [data-elem=title] {\n color: var(--dark-grey);\n}\n.TableChips_module_root__5d8107b3[data-elem=base-cell] > [data-elem=component2] .TableChips_module_chipParent__5d8107b3 > [data-elem=component2] .TableChips_module_chipChild__5d8107b3 .TableChips_module_icon__5d8107b3 {\n width: 0.875rem;\n height: 0.875rem;\n}\n.TableChips_module_root__5d8107b3[data-elem=base-cell] > [data-elem=component2] .TableChips_module_chipParent__5d8107b3 > [data-elem=component3] {\n height: 100%;\n}\n.TableChips_module_root__5d8107b3[data-elem=base-cell] > [data-elem=component2] .TableChips_module_chipParent__5d8107b3:hover {\n border-color: var(--highlight);\n}\n.TableChips_module_root__5d8107b3[data-elem=base-cell] > [data-elem=component2] .TableChips_module_chipParent__5d8107b3:hover > [data-elem=component2] .TableChips_module_label__5d8107b3 {\n color: var(--highlight);\n}\n.TableChips_module_root__5d8107b3[data-elem=base-cell] > [data-elem=component2] .TableChips_module_chipParent__5d8107b3:hover > [data-elem=component2] .TableChips_module_chipChild__5d8107b3 {\n background: var(--background);\n}\n.TableChips_module_root__5d8107b3[data-elem=base-cell] > [data-elem=component2] .TableChips_module_chipParent__5d8107b3:hover > [data-elem=component2] .TableChips_module_chipChild__5d8107b3 > [data-elem=component2] > [data-elem=title] {\n color: var(--highlight);\n}\n.TableChips_module_root__5d8107b3[data-elem=base-cell] > [data-elem=component2] .TableChips_module_chipParent__5d8107b3:hover > [data-elem=component2] .TableChips_module_chipChild__5d8107b3 .TableChips_module_icon__5d8107b3 {\n width: 0.875rem;\n height: 0.875rem;\n}\n.TableChips_module_root__5d8107b3[data-elem=base-cell] > [data-elem=component3] {\n height: 100%;\n}\n.TableChips_module_root__5d8107b3[data-elem=base-cell] > [data-elem=component3] .TableChips_module_clear__5d8107b3 {\n height: 100%;\n}";
44308
+ var modules_016d9b3e = {"root":"TableChips_module_root__5d8107b3","back":"TableChips_module_back__5d8107b3","icon":"TableChips_module_icon__5d8107b3","chip-parent":"TableChips_module_chipParent__5d8107b3","chip-icon":"TableChips_module_chipIcon__5d8107b3","chip-child":"TableChips_module_chipChild__5d8107b3","label":"TableChips_module_label__5d8107b3","clear":"TableChips_module_clear__5d8107b3"};
44190
44309
  n(css$e,{});
44191
44310
 
44311
+ var TableChip$1 = function TableChip(props) {
44312
+ var icon = props.icon,
44313
+ rightComponent = props.rightComponent,
44314
+ label = props.label,
44315
+ value = props.value,
44316
+ onRemove = props.onRemove;
44317
+
44318
+ // component 1
44319
+ var Icon = icon;
44320
+ if (Icon) {
44321
+ Icon = /*#__PURE__*/jsxRuntime.jsx(Icon, {
44322
+ className: modules_016d9b3e['chip-icon']
44323
+ });
44324
+ } else {
44325
+ Icon = null;
44326
+ }
44327
+
44328
+ // component 2
44329
+ var Title = /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
44330
+ children: [/*#__PURE__*/jsxRuntime.jsxs(Text, {
44331
+ className: modules_016d9b3e.label,
44332
+ variant: "b2",
44333
+ stroke: "medium",
44334
+ children: [label, " :"]
44335
+ }), typeof value === 'string' && value.length > 0 && /*#__PURE__*/jsxRuntime.jsx(Chip, {
44336
+ className: modules_016d9b3e['chip-child'],
44337
+ title: value,
44338
+ radius: "ellipse",
44339
+ color: "info",
44340
+ variant: "input",
44341
+ onClick: onRemove,
44342
+ rightComponent: function rightComponent() {
44343
+ return /*#__PURE__*/jsxRuntime.jsx(Close, {
44344
+ className: modules_016d9b3e.icon
44345
+ });
44346
+ }
44347
+ })]
44348
+ });
44349
+
44350
+ // component 3
44351
+ var RightComponent = rightComponent;
44352
+ if (RightComponent) {
44353
+ RightComponent = /*#__PURE__*/jsxRuntime.jsx(RightComponent, {});
44354
+ } else {
44355
+ RightComponent = null;
44356
+ }
44357
+ return /*#__PURE__*/jsxRuntime.jsx(BaseCell, {
44358
+ radius: "default",
44359
+ size: "auto",
44360
+ className: modules_016d9b3e['chip-parent'],
44361
+ component1: Icon,
44362
+ component2: Title,
44363
+ component3: RightComponent,
44364
+ title: "".concat(label, " : ").concat(value)
44365
+ });
44366
+ };
44192
44367
  var TableChips = function TableChips(props) {
44193
44368
  var _chips$filter;
44369
+ // eslint-disable-next-line object-curly-newline
44194
44370
  var showBack = props.showBack,
44195
44371
  onBack = props.onBack,
44196
44372
  onClear = props.onClear,
44197
44373
  chips = props.chips,
44198
44374
  className = props.className,
44199
44375
  style = props.style,
44200
- loading = props.loading;
44376
+ loading = props.loading,
44377
+ _onRemove = props.onRemove;
44201
44378
  if (loading) {
44202
44379
  return /*#__PURE__*/jsxRuntime.jsx(TableChipsSkeleton, {});
44203
44380
  }
44204
44381
  var chipsDOM = chips === null || chips === void 0 ? void 0 : (_chips$filter = chips.filter(function (chip) {
44205
44382
  return (chip === null || chip === void 0 ? void 0 : chip.value) != null;
44206
- })) === null || _chips$filter === void 0 ? void 0 : _chips$filter.map(function (chip) {
44207
- return /*#__PURE__*/jsxRuntime.jsx(Chip, {
44208
- variant: "input",
44209
- color: "default",
44210
- disabled: chip.disabled,
44211
- className: modules_016d9b3e.chip,
44212
- title: "".concat(chip.label, " : ").concat(chip.value),
44213
- leftComponent: function leftComponent(iconProps) {
44214
- var Icon = chip.icon;
44215
- if ( /*#__PURE__*/React.isValidElement( /*#__PURE__*/jsxRuntime.jsx(Icon, {}))) {
44216
- return /*#__PURE__*/jsxRuntime.jsx(Icon, _objectSpread2(_objectSpread2({}, iconProps), {}, {
44217
- className: modules_016d9b3e['chip-icon']
44218
- }));
44219
- }
44220
- return null;
44221
- },
44222
- rightComponent: chip.rightComponent
44223
- }, chip.key);
44383
+ })) === null || _chips$filter === void 0 ? void 0 : _chips$filter.map(function (chip, index) {
44384
+ return /*#__PURE__*/jsxRuntime.jsx(TableChip$1, _objectSpread2(_objectSpread2({}, chip), {}, {
44385
+ onRemove: function onRemove() {
44386
+ _onRemove(chip, index);
44387
+ }
44388
+ }), chip.key);
44224
44389
  });
44225
44390
  if ((chipsDOM === null || chipsDOM === void 0 ? void 0 : chipsDOM.length) > 0 || showBack) {
44226
44391
  return /*#__PURE__*/jsxRuntime.jsx(BaseCell, {
@@ -44274,7 +44439,8 @@ TableChips.propTypes = {
44274
44439
  disabled: propTypes$1.exports.bool,
44275
44440
  rightComponent: propTypes$1.exports.node
44276
44441
  })),
44277
- loading: propTypes$1.exports.bool
44442
+ loading: propTypes$1.exports.bool,
44443
+ onRemove: propTypes$1.exports.func
44278
44444
  };
44279
44445
  TableChips.defaultProps = {
44280
44446
  className: '',
@@ -44283,7 +44449,8 @@ TableChips.defaultProps = {
44283
44449
  onBack: function onBack() {},
44284
44450
  onClear: function onClear() {},
44285
44451
  chips: [],
44286
- loading: null
44452
+ loading: null,
44453
+ onRemove: function onRemove() {}
44287
44454
  };
44288
44455
 
44289
44456
  var TableChip = /*#__PURE__*/_createClass(function TableChip(_ref) {
@@ -44296,13 +44463,16 @@ var TableChip = /*#__PURE__*/_createClass(function TableChip(_ref) {
44296
44463
  _ref$value = _ref.value,
44297
44464
  value = _ref$value === void 0 ? '' : _ref$value,
44298
44465
  _ref$disabled = _ref.disabled,
44299
- disabled = _ref$disabled === void 0 ? false : _ref$disabled;
44466
+ disabled = _ref$disabled === void 0 ? false : _ref$disabled,
44467
+ _ref$rightComponent = _ref.rightComponent,
44468
+ rightComponent = _ref$rightComponent === void 0 ? null : _ref$rightComponent;
44300
44469
  _classCallCheck(this, TableChip);
44301
44470
  this.key = key;
44302
44471
  this.icon = icon;
44303
44472
  this.label = label;
44304
44473
  this.value = value;
44305
44474
  this.disabled = disabled;
44475
+ this.rightComponent = rightComponent;
44306
44476
  });
44307
44477
 
44308
44478
  var css$d = ".Popover_module_root__265e51dc {\n box-shadow: -2px -2px 4px rgba(166, 166, 166, 0.25), 2px 2px 4px rgba(166, 166, 166, 0.24);\n background-color: var(--white);\n padding: 1rem;\n border-radius: 0.25rem;\n}";
@@ -44704,7 +44874,8 @@ var Table = function Table(props) {
44704
44874
  filtersData = props.filtersData,
44705
44875
  paginationData = props.paginationData,
44706
44876
  loading = props.loading,
44707
- disabledFilterOptions = props.disabledFilterOptions;
44877
+ disabledFilterOptions = props.disabledFilterOptions,
44878
+ onSort = props.onSort;
44708
44879
  var ref = React.useRef(null);
44709
44880
  var paginationRef = React.useRef(null);
44710
44881
  var _useState = React.useState(false),
@@ -44800,6 +44971,7 @@ var Table = function Table(props) {
44800
44971
  setActiveData: setActiveData,
44801
44972
  customCells: customCells,
44802
44973
  className: modules_2e8406c7.table,
44974
+ onSort: onSort,
44803
44975
  loading: loading
44804
44976
  }), paginationData != null && /*#__PURE__*/jsxRuntime.jsx(Pagination, _objectSpread2(_objectSpread2({
44805
44977
  className: classes(modules_2e8406c7.pagination, floating ? modules_2e8406c7.floating : ''),
@@ -44838,7 +45010,8 @@ Table.propTypes = {
44838
45010
  refresh: propTypes$1.exports.bool,
44839
45011
  columnFilter: propTypes$1.exports.bool,
44840
45012
  settings: propTypes$1.exports.bool
44841
- })
45013
+ }),
45014
+ onSort: propTypes$1.exports.func
44842
45015
  };
44843
45016
  Table.defaultProps = {
44844
45017
  className: '',
@@ -44860,7 +45033,8 @@ Table.defaultProps = {
44860
45033
  refresh: false,
44861
45034
  columnFilter: false,
44862
45035
  settings: false
44863
- }
45036
+ },
45037
+ onSort: function onSort() {}
44864
45038
  };
44865
45039
 
44866
45040
  var css$8 = ".Tabs_module_root__83feec3e {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n}\n.Tabs_module_root__83feec3e > .Tabs_module_tab__83feec3e {\n padding: 0.75rem;\n gap: 0.75rem;\n}\n.Tabs_module_root__83feec3e > .Tabs_module_tab__83feec3e > [data-elem=component1] > .Tabs_module_icon__83feec3e,\n.Tabs_module_root__83feec3e > .Tabs_module_tab__83feec3e > [data-elem=component3] > .Tabs_module_icon__83feec3e {\n width: 1.5rem;\n height: 1.5rem;\n fill: var(--black);\n}\n.Tabs_module_root__83feec3e > .Tabs_module_tab__83feec3e > [data-elem=component2] {\n color: var(--black);\n}\n.Tabs_module_root__83feec3e > .Tabs_module_tab__83feec3e.Tabs_module_active__83feec3e {\n border-bottom: 2px solid var(--highlight);\n}\n.Tabs_module_root__83feec3e > .Tabs_module_tab__83feec3e.Tabs_module_active__83feec3e > [data-elem=component1] > .Tabs_module_icon__83feec3e,\n.Tabs_module_root__83feec3e > .Tabs_module_tab__83feec3e.Tabs_module_active__83feec3e > [data-elem=component3] > .Tabs_module_icon__83feec3e {\n fill: var(--highlight);\n}\n.Tabs_module_root__83feec3e > .Tabs_module_tab__83feec3e.Tabs_module_active__83feec3e > [data-elem=component2] {\n color: var(--highlight);\n}\n.Tabs_module_root__83feec3e > .Tabs_module_tab__83feec3e:hover {\n background: var(--info-bg);\n}\n.Tabs_module_root__83feec3e > .Tabs_module_tab__83feec3e:hover > [data-elem=component1] > .Tabs_module_icon__83feec3e,\n.Tabs_module_root__83feec3e > .Tabs_module_tab__83feec3e:hover > [data-elem=component3] > .Tabs_module_icon__83feec3e {\n fill: var(--highlight);\n}\n.Tabs_module_root__83feec3e > .Tabs_module_tab__83feec3e:hover > [data-elem=component2] {\n color: var(--highlight);\n}";
@@ -95266,6 +95440,7 @@ exports.Checkbox = Checkbox;
95266
95440
  exports.CheckboxIcon = CheckboxIcon;
95267
95441
  exports.ChevronIcon = Chevron;
95268
95442
  exports.Chip = Chip;
95443
+ exports.CloseIcon = Close;
95269
95444
  exports.CodeSnippet = CodeSnippet;
95270
95445
  exports.ColumnsIcon = Columns$1;
95271
95446
  exports.CopyIcon = Copy;
@@ -95302,6 +95477,7 @@ exports.ResetIcon = Reset;
95302
95477
  exports.SearchIcon = SearchIcon;
95303
95478
  exports.ServerIcon = Server;
95304
95479
  exports.SettingsIcon = Settings;
95480
+ exports.SortIcon = Sort;
95305
95481
  exports.Stepper = Stepper;
95306
95482
  exports.Table = Table;
95307
95483
  exports.TableCell = TableCell;