@banyan_cloud/roots 1.0.44 → 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 +430 -223
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +428 -224
- package/dist/esm/index.js.map +1 -1
- package/dist/index.js +428 -224
- package/package.json +1 -1
- package/styles/main.css +1 -0
- package/styles/main.scss +1 -0
package/dist/index.js
CHANGED
|
@@ -1554,9 +1554,9 @@ var getCSSVariableValue = function getCSSVariableValue(variable) {
|
|
|
1554
1554
|
|
|
1555
1555
|
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}}
|
|
1556
1556
|
|
|
1557
|
-
var css$
|
|
1557
|
+
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}";
|
|
1558
1558
|
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"};
|
|
1559
|
-
n(css$
|
|
1559
|
+
n(css$X,{});
|
|
1560
1560
|
|
|
1561
1561
|
var BaseCell = /*#__PURE__*/forwardRef(function BaseCell(props, ref) {
|
|
1562
1562
|
var className = props.className,
|
|
@@ -1636,9 +1636,9 @@ var defaultProps = {
|
|
|
1636
1636
|
attrs: {}
|
|
1637
1637
|
};
|
|
1638
1638
|
|
|
1639
|
-
var css$
|
|
1639
|
+
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}";
|
|
1640
1640
|
var modules_ab72627b = {"root":"BaseButton_module_root__39a3f3ec","contained":"BaseButton_module_contained__39a3f3ec","outlined":"BaseButton_module_outlined__39a3f3ec","text":"BaseButton_module_text__39a3f3ec"};
|
|
1641
|
-
n(css$
|
|
1641
|
+
n(css$W,{});
|
|
1642
1642
|
|
|
1643
1643
|
var BaseButton = /*#__PURE__*/forwardRef(function BaseButton(props, ref) {
|
|
1644
1644
|
var className = props.className,
|
|
@@ -1697,9 +1697,9 @@ BaseButton.defaultProps = _objectSpread2(_objectSpread2({}, BaseCell.defaultProp
|
|
|
1697
1697
|
variant: 'contained'
|
|
1698
1698
|
});
|
|
1699
1699
|
|
|
1700
|
-
var css$
|
|
1700
|
+
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}";
|
|
1701
1701
|
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"};
|
|
1702
|
-
n(css$
|
|
1702
|
+
n(css$V,{});
|
|
1703
1703
|
|
|
1704
1704
|
var Button = /*#__PURE__*/forwardRef(function Button(props, ref) {
|
|
1705
1705
|
var className = props.className,
|
|
@@ -1743,9 +1743,9 @@ Button.defaultProps = _objectSpread2(_objectSpread2({}, BaseButton.defaultProps)
|
|
|
1743
1743
|
radius: 'default'
|
|
1744
1744
|
});
|
|
1745
1745
|
|
|
1746
|
-
var css$
|
|
1746
|
+
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}";
|
|
1747
1747
|
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"};
|
|
1748
|
-
n(css$
|
|
1748
|
+
n(css$U,{});
|
|
1749
1749
|
|
|
1750
1750
|
var Chip = function Chip(props) {
|
|
1751
1751
|
var className = props.className,
|
|
@@ -2116,9 +2116,9 @@ Server.defaultProps = {
|
|
|
2116
2116
|
className: ''
|
|
2117
2117
|
};
|
|
2118
2118
|
|
|
2119
|
-
var css$
|
|
2119
|
+
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}";
|
|
2120
2120
|
var modules_e313d483 = {"right":"Arrow_module_right__19f08663","left":"Arrow_module_left__19f08663","bottom":"Arrow_module_bottom__19f08663","top":"Arrow_module_top__19f08663"};
|
|
2121
|
-
n(css$
|
|
2121
|
+
n(css$T,{});
|
|
2122
2122
|
|
|
2123
2123
|
var Arrow$1 = function Arrow(props) {
|
|
2124
2124
|
var className = props.className,
|
|
@@ -2138,9 +2138,9 @@ Arrow$1.defaultProps = {
|
|
|
2138
2138
|
position: 'right'
|
|
2139
2139
|
};
|
|
2140
2140
|
|
|
2141
|
-
var css$
|
|
2141
|
+
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}";
|
|
2142
2142
|
var modules_bf5b0b74 = {"left":"Chevron_module_left__8b1808eb","bottom":"Chevron_module_bottom__8b1808eb","right":"Chevron_module_right__8b1808eb","top":"Chevron_module_top__8b1808eb"};
|
|
2143
|
-
n(css$
|
|
2143
|
+
n(css$S,{});
|
|
2144
2144
|
|
|
2145
2145
|
var Chevron = function Chevron(props) {
|
|
2146
2146
|
var className = props.className,
|
|
@@ -2473,6 +2473,63 @@ var Trash = function Trash(props) {
|
|
|
2473
2473
|
});
|
|
2474
2474
|
};
|
|
2475
2475
|
|
|
2476
|
+
var SearchIcon = function SearchIcon(_ref) {
|
|
2477
|
+
var className = _ref.className;
|
|
2478
|
+
return /*#__PURE__*/jsx("svg", {
|
|
2479
|
+
className: className,
|
|
2480
|
+
width: "1.5rem",
|
|
2481
|
+
height: "1.5rem",
|
|
2482
|
+
viewBox: "0 0 17 16",
|
|
2483
|
+
fill: "#9B9BA3",
|
|
2484
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2485
|
+
children: /*#__PURE__*/jsx("path", {
|
|
2486
|
+
d: "M14.4784 13.5267L12.0051 11.0733C12.9651 9.87629 13.4301 8.35688 13.3043 6.82755C13.1785 5.29821 12.4715 3.8752 11.3287 2.85111C10.186 1.82702 8.69427 1.27969 7.16035 1.32166C5.62642 1.36363 4.16688 1.99172 3.08182 3.07677C1.99677 4.16183 1.36868 5.62137 1.32671 7.15529C1.28474 8.68922 1.83207 10.1809 2.85616 11.3237C3.88025 12.4665 5.30326 13.1734 6.8326 13.2992C8.36193 13.425 9.88134 12.9601 11.0784 12L13.5317 14.4533C13.5937 14.5158 13.6674 14.5654 13.7487 14.5993C13.8299 14.6331 13.9171 14.6505 14.0051 14.6505C14.0931 14.6505 14.1802 14.6331 14.2614 14.5993C14.3427 14.5654 14.4164 14.5158 14.4784 14.4533C14.5986 14.329 14.6657 14.1629 14.6657 13.99C14.6657 13.8171 14.5986 13.651 14.4784 13.5267ZM7.3384 12C6.41542 12 5.51316 11.7263 4.74574 11.2135C3.97831 10.7008 3.38017 9.97192 3.02696 9.1192C2.67375 8.26648 2.58133 7.32817 2.7614 6.42292C2.94146 5.51768 3.38592 4.68616 4.03857 4.03351C4.69121 3.38087 5.52273 2.93641 6.42798 2.75635C7.33322 2.57628 8.27153 2.6687 9.12425 3.02191C9.97698 3.37512 10.7058 3.97326 11.2186 4.74068C11.7314 5.50811 12.0051 6.41037 12.0051 7.33335C12.0051 8.57102 11.5134 9.75801 10.6382 10.6332C9.76306 11.5083 8.57607 12 7.3384 12Z"
|
|
2487
|
+
})
|
|
2488
|
+
});
|
|
2489
|
+
};
|
|
2490
|
+
|
|
2491
|
+
var Close = function Close(_ref) {
|
|
2492
|
+
var className = _ref.className;
|
|
2493
|
+
return /*#__PURE__*/jsx("svg", {
|
|
2494
|
+
className: className,
|
|
2495
|
+
width: "1.5rem",
|
|
2496
|
+
height: "1.5rem",
|
|
2497
|
+
viewBox: "0 0 14 15",
|
|
2498
|
+
fill: "#333333",
|
|
2499
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2500
|
+
children: /*#__PURE__*/jsx("path", {
|
|
2501
|
+
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"
|
|
2502
|
+
})
|
|
2503
|
+
});
|
|
2504
|
+
};
|
|
2505
|
+
|
|
2506
|
+
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}";
|
|
2507
|
+
var modules_501919d9 = {"root":"Sort_module_root__5112e35d","order-az":"Sort_module_orderAz__5112e35d","order-za":"Sort_module_orderZa__5112e35d"};
|
|
2508
|
+
n(css$R,{});
|
|
2509
|
+
|
|
2510
|
+
var Sort = function Sort(_ref) {
|
|
2511
|
+
var className = _ref.className,
|
|
2512
|
+
position = _ref.position;
|
|
2513
|
+
return /*#__PURE__*/jsxs("svg", {
|
|
2514
|
+
className: classes(modules_501919d9.root, className, modules_501919d9["order-".concat(position)]),
|
|
2515
|
+
width: "1.5rem",
|
|
2516
|
+
height: "1.5rem",
|
|
2517
|
+
viewBox: "0 0 16 16",
|
|
2518
|
+
fill: "#737373",
|
|
2519
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2520
|
+
children: [/*#__PURE__*/jsx("path", {
|
|
2521
|
+
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"
|
|
2522
|
+
}), /*#__PURE__*/jsx("path", {
|
|
2523
|
+
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"
|
|
2524
|
+
}), /*#__PURE__*/jsx("path", {
|
|
2525
|
+
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"
|
|
2526
|
+
})]
|
|
2527
|
+
});
|
|
2528
|
+
};
|
|
2529
|
+
Sort.defaultProps = {
|
|
2530
|
+
position: 'az'
|
|
2531
|
+
};
|
|
2532
|
+
|
|
2476
2533
|
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}";
|
|
2477
2534
|
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"};
|
|
2478
2535
|
n(css$Q,{});
|
|
@@ -6656,8 +6713,8 @@ Alert.defaultProps = {
|
|
|
6656
6713
|
position: 'bottom-center'
|
|
6657
6714
|
};
|
|
6658
6715
|
|
|
6659
|
-
var css$N = ".
|
|
6660
|
-
var modules_651f50a9 = {"root":"
|
|
6716
|
+
var css$N = ".Breadcrumbs_module_root__f527a278 {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n gap: 0.5rem;\n width: auto;\n}\n.Breadcrumbs_module_root__f527a278 .Breadcrumbs_module_seperator__f527a278 {\n width: 1.5rem;\n height: 1.5rem;\n stroke: var(--grey2);\n}\n.Breadcrumbs_module_root__f527a278 button.Breadcrumbs_module_expand__f527a278[data-elem=base-cell] {\n background: var(--grey6);\n color: var(--dark-grey);\n height: 0.75rem;\n padding: 0.25rem;\n}\n.Breadcrumbs_module_root__f527a278 button.Breadcrumbs_module_expand__f527a278[data-elem=base-cell] [data-elem=title] {\n margin-bottom: 0.4rem;\n}\n.Breadcrumbs_module_root__f527a278 .Breadcrumbs_module_crumb__f527a278 {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n color: var(--grey2);\n}\n.Breadcrumbs_module_root__f527a278 .Breadcrumbs_module_crumb__f527a278.Breadcrumbs_module_active__f527a278 {\n color: var(--black);\n}\n.Breadcrumbs_module_root__f527a278 .Breadcrumbs_module_crumb__f527a278:hover:not(.Breadcrumbs_module_active__f527a278) {\n color: var(--info);\n}\n.Breadcrumbs_module_root__f527a278.Breadcrumbs_module_themeLight__f527a278 .Breadcrumbs_module_crumb__f527a278 {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n color: var(--grey2);\n}\n.Breadcrumbs_module_root__f527a278.Breadcrumbs_module_themeLight__f527a278 .Breadcrumbs_module_crumb__f527a278.Breadcrumbs_module_active__f527a278 {\n color: var(--black);\n}\n.Breadcrumbs_module_root__f527a278.Breadcrumbs_module_themeLight__f527a278 .Breadcrumbs_module_crumb__f527a278:hover:not(.Breadcrumbs_module_active__f527a278) {\n color: var(--info);\n}\n.Breadcrumbs_module_root__f527a278.Breadcrumbs_module_themeDark__f527a278 .Breadcrumbs_module_crumb__f527a278 {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n color: var(--grey2);\n}\n.Breadcrumbs_module_root__f527a278.Breadcrumbs_module_themeDark__f527a278 .Breadcrumbs_module_crumb__f527a278.Breadcrumbs_module_active__f527a278 {\n color: var(--white);\n}\n.Breadcrumbs_module_root__f527a278.Breadcrumbs_module_themeDark__f527a278 .Breadcrumbs_module_crumb__f527a278:hover:not(.Breadcrumbs_module_active__f527a278) {\n color: var(--info);\n}";
|
|
6717
|
+
var modules_651f50a9 = {"root":"Breadcrumbs_module_root__f527a278","seperator":"Breadcrumbs_module_seperator__f527a278","expand":"Breadcrumbs_module_expand__f527a278","crumb":"Breadcrumbs_module_crumb__f527a278","active":"Breadcrumbs_module_active__f527a278","theme-light":"Breadcrumbs_module_themeLight__f527a278","theme-dark":"Breadcrumbs_module_themeDark__f527a278"};
|
|
6661
6718
|
n(css$N,{});
|
|
6662
6719
|
|
|
6663
6720
|
var css$M = ".Text_module_root__71f59b14 {\n color: var(--dark-grey);\n}\n.Text_module_root__71f59b14.Text_module_h1__71f59b14 {\n font-size: 2.25rem;\n line-height: 2.75rem;\n}\n.Text_module_root__71f59b14.Text_module_h2__71f59b14 {\n font-size: 1.375rem;\n line-height: 1.688rem;\n}\n.Text_module_root__71f59b14.Text_module_b1__71f59b14 {\n font-size: 1rem;\n line-height: 1.188rem;\n}\n.Text_module_root__71f59b14.Text_module_b2__71f59b14 {\n font-size: 0.875rem;\n line-height: 1.188rem;\n}\n.Text_module_root__71f59b14.Text_module_b3__71f59b14 {\n font-size: 0.75rem;\n line-height: 1.063rem;\n}\n.Text_module_root__71f59b14.Text_module_regularStroke__71f59b14 {\n font-weight: 400;\n}\n.Text_module_root__71f59b14.Text_module_mediumStroke__71f59b14 {\n font-weight: 500;\n}\n.Text_module_root__71f59b14.Text_module_semiboldStroke__71f59b14 {\n font-weight: 600;\n}\n.Text_module_root__71f59b14.Text_module_boldStroke__71f59b14 {\n font-weight: 800;\n}";
|
|
@@ -6766,7 +6823,8 @@ var BreadCrumbs = function BreadCrumbs(props) {
|
|
|
6766
6823
|
maxItems = props.maxItems,
|
|
6767
6824
|
itemsBeforeCollapse = props.itemsBeforeCollapse,
|
|
6768
6825
|
itemsAfterCollapse = props.itemsAfterCollapse,
|
|
6769
|
-
linkComponent = props.linkComponent
|
|
6826
|
+
linkComponent = props.linkComponent,
|
|
6827
|
+
theme = props.theme;
|
|
6770
6828
|
var _useState = useState(false),
|
|
6771
6829
|
_useState2 = _slicedToArray(_useState, 2),
|
|
6772
6830
|
expand = _useState2[0],
|
|
@@ -6788,6 +6846,7 @@ var BreadCrumbs = function BreadCrumbs(props) {
|
|
|
6788
6846
|
'data-state': active
|
|
6789
6847
|
},
|
|
6790
6848
|
component: !active ? linkComponent : 'span',
|
|
6849
|
+
stroke: !active ? 'regular' : 'medium',
|
|
6791
6850
|
children: [icon && icon, title && /*#__PURE__*/jsx("span", {
|
|
6792
6851
|
children: getSpacedDisplayName(title).replace(/-/g, ' ')
|
|
6793
6852
|
})]
|
|
@@ -6812,11 +6871,12 @@ var BreadCrumbs = function BreadCrumbs(props) {
|
|
|
6812
6871
|
}, 'expand'));
|
|
6813
6872
|
}
|
|
6814
6873
|
return /*#__PURE__*/jsx("div", {
|
|
6815
|
-
className: classes(modules_651f50a9.root),
|
|
6874
|
+
className: classes(modules_651f50a9.root, modules_651f50a9["theme-".concat(theme)]),
|
|
6816
6875
|
children: CrumbsDOM
|
|
6817
6876
|
});
|
|
6818
6877
|
};
|
|
6819
6878
|
BreadCrumbs.propTypes = {
|
|
6879
|
+
theme: propTypes$1.exports.oneOf(['light', 'dark']),
|
|
6820
6880
|
crumbs: propTypes$1.exports.arrayOf(propTypes$1.exports.shape({
|
|
6821
6881
|
title: propTypes$1.exports.string,
|
|
6822
6882
|
path: propTypes$1.exports.string,
|
|
@@ -6828,6 +6888,7 @@ BreadCrumbs.propTypes = {
|
|
|
6828
6888
|
linkComponent: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.element])
|
|
6829
6889
|
};
|
|
6830
6890
|
BreadCrumbs.defaultProps = {
|
|
6891
|
+
theme: 'dark',
|
|
6831
6892
|
crumbs: [],
|
|
6832
6893
|
maxItems: 4,
|
|
6833
6894
|
itemsBeforeCollapse: 2,
|
|
@@ -16566,126 +16627,134 @@ function c(Prism) {
|
|
|
16566
16627
|
delete Prism.languages.c['boolean'];
|
|
16567
16628
|
}
|
|
16568
16629
|
|
|
16569
|
-
var
|
|
16570
|
-
var
|
|
16571
|
-
|
|
16572
|
-
|
|
16573
|
-
|
|
16574
|
-
|
|
16575
|
-
|
|
16576
|
-
|
|
16577
|
-
|
|
16578
|
-
|
|
16579
|
-
|
|
16580
|
-
|
|
16581
|
-
|
|
16582
|
-
|
|
16583
|
-
|
|
16584
|
-
|
|
16585
|
-
|
|
16586
|
-
|
|
16587
|
-
|
|
16588
|
-
|
|
16589
|
-
|
|
16590
|
-
|
|
16591
|
-
|
|
16592
|
-
|
|
16593
|
-
|
|
16594
|
-
|
|
16595
|
-
|
|
16596
|
-
|
|
16597
|
-
|
|
16598
|
-
|
|
16599
|
-
|
|
16600
|
-
|
|
16601
|
-
|
|
16602
|
-
|
|
16603
|
-
|
|
16604
|
-
|
|
16605
|
-
|
|
16606
|
-
|
|
16607
|
-
|
|
16608
|
-
|
|
16609
|
-
|
|
16610
|
-
|
|
16611
|
-
|
|
16612
|
-
|
|
16613
|
-
|
|
16614
|
-
|
|
16615
|
-
|
|
16616
|
-
|
|
16617
|
-
|
|
16618
|
-
|
|
16619
|
-
|
|
16620
|
-
|
|
16621
|
-
|
|
16622
|
-
|
|
16623
|
-
|
|
16624
|
-
|
|
16625
|
-
|
|
16626
|
-
|
|
16627
|
-
|
|
16628
|
-
|
|
16629
|
-
|
|
16630
|
-
|
|
16631
|
-
|
|
16632
|
-
|
|
16633
|
-
|
|
16634
|
-
|
|
16635
|
-
|
|
16636
|
-
|
|
16637
|
-
|
|
16638
|
-
|
|
16639
|
-
|
|
16640
|
-
|
|
16641
|
-
|
|
16642
|
-
|
|
16643
|
-
|
|
16644
|
-
|
|
16645
|
-
|
|
16646
|
-
|
|
16647
|
-
|
|
16648
|
-
|
|
16649
|
-
|
|
16650
|
-
|
|
16651
|
-
|
|
16652
|
-
|
|
16653
|
-
|
|
16654
|
-
|
|
16655
|
-
|
|
16656
|
-
|
|
16657
|
-
|
|
16658
|
-
|
|
16659
|
-
|
|
16660
|
-
|
|
16661
|
-
|
|
16662
|
-
|
|
16663
|
-
|
|
16664
|
-
|
|
16665
|
-
|
|
16666
|
-
|
|
16667
|
-
|
|
16668
|
-
|
|
16669
|
-
|
|
16670
|
-
|
|
16671
|
-
|
|
16672
|
-
|
|
16673
|
-
|
|
16674
|
-
|
|
16675
|
-
|
|
16676
|
-
|
|
16677
|
-
|
|
16678
|
-
|
|
16679
|
-
|
|
16680
|
-
|
|
16681
|
-
|
|
16682
|
-
|
|
16683
|
-
|
|
16684
|
-
|
|
16685
|
-
|
|
16630
|
+
var cpp_1;
|
|
16631
|
+
var hasRequiredCpp;
|
|
16632
|
+
|
|
16633
|
+
function requireCpp () {
|
|
16634
|
+
if (hasRequiredCpp) return cpp_1;
|
|
16635
|
+
hasRequiredCpp = 1;
|
|
16636
|
+
var refractorC = c_1;
|
|
16637
|
+
cpp_1 = cpp;
|
|
16638
|
+
cpp.displayName = 'cpp';
|
|
16639
|
+
cpp.aliases = [];
|
|
16640
|
+
function cpp(Prism) {
|
|
16641
|
+
Prism.register(refractorC)
|
|
16642
|
+
;(function (Prism) {
|
|
16643
|
+
var keyword =
|
|
16644
|
+
/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/;
|
|
16645
|
+
var modName = /\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(
|
|
16646
|
+
/<keyword>/g,
|
|
16647
|
+
function () {
|
|
16648
|
+
return keyword.source
|
|
16649
|
+
}
|
|
16650
|
+
);
|
|
16651
|
+
Prism.languages.cpp = Prism.languages.extend('c', {
|
|
16652
|
+
'class-name': [
|
|
16653
|
+
{
|
|
16654
|
+
pattern: RegExp(
|
|
16655
|
+
/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(
|
|
16656
|
+
/<keyword>/g,
|
|
16657
|
+
function () {
|
|
16658
|
+
return keyword.source
|
|
16659
|
+
}
|
|
16660
|
+
)
|
|
16661
|
+
),
|
|
16662
|
+
lookbehind: true
|
|
16663
|
+
}, // This is intended to capture the class name of method implementations like:
|
|
16664
|
+
// void foo::bar() const {}
|
|
16665
|
+
// However! The `foo` in the above example could also be a namespace, so we only capture the class name if
|
|
16666
|
+
// it starts with an uppercase letter. This approximation should give decent results.
|
|
16667
|
+
/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/, // This will capture the class name before destructors like:
|
|
16668
|
+
// Foo::~Foo() {}
|
|
16669
|
+
/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i, // This also intends to capture the class name of method implementations but here the class has template
|
|
16670
|
+
// parameters, so it can't be a namespace (until C++ adds generic namespaces).
|
|
16671
|
+
/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/
|
|
16672
|
+
],
|
|
16673
|
+
keyword: keyword,
|
|
16674
|
+
number: {
|
|
16675
|
+
pattern:
|
|
16676
|
+
/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,
|
|
16677
|
+
greedy: true
|
|
16678
|
+
},
|
|
16679
|
+
operator:
|
|
16680
|
+
/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,
|
|
16681
|
+
boolean: /\b(?:false|true)\b/
|
|
16682
|
+
});
|
|
16683
|
+
Prism.languages.insertBefore('cpp', 'string', {
|
|
16684
|
+
module: {
|
|
16685
|
+
// https://en.cppreference.com/w/cpp/language/modules
|
|
16686
|
+
pattern: RegExp(
|
|
16687
|
+
/(\b(?:import|module)\s+)/.source +
|
|
16688
|
+
'(?:' + // header-name
|
|
16689
|
+
/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source +
|
|
16690
|
+
'|' + // module name or partition or both
|
|
16691
|
+
/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(
|
|
16692
|
+
/<mod-name>/g,
|
|
16693
|
+
function () {
|
|
16694
|
+
return modName
|
|
16695
|
+
}
|
|
16696
|
+
) +
|
|
16697
|
+
')'
|
|
16698
|
+
),
|
|
16699
|
+
lookbehind: true,
|
|
16700
|
+
greedy: true,
|
|
16701
|
+
inside: {
|
|
16702
|
+
string: /^[<"][\s\S]+/,
|
|
16703
|
+
operator: /:/,
|
|
16704
|
+
punctuation: /\./
|
|
16705
|
+
}
|
|
16706
|
+
},
|
|
16707
|
+
'raw-string': {
|
|
16708
|
+
pattern: /R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,
|
|
16709
|
+
alias: 'string',
|
|
16710
|
+
greedy: true
|
|
16711
|
+
}
|
|
16712
|
+
});
|
|
16713
|
+
Prism.languages.insertBefore('cpp', 'keyword', {
|
|
16714
|
+
'generic-function': {
|
|
16715
|
+
pattern: /\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,
|
|
16716
|
+
inside: {
|
|
16717
|
+
function: /^\w+/,
|
|
16718
|
+
generic: {
|
|
16719
|
+
pattern: /<[\s\S]+/,
|
|
16720
|
+
alias: 'class-name',
|
|
16721
|
+
inside: Prism.languages.cpp
|
|
16722
|
+
}
|
|
16723
|
+
}
|
|
16724
|
+
}
|
|
16725
|
+
});
|
|
16726
|
+
Prism.languages.insertBefore('cpp', 'operator', {
|
|
16727
|
+
'double-colon': {
|
|
16728
|
+
pattern: /::/,
|
|
16729
|
+
alias: 'punctuation'
|
|
16730
|
+
}
|
|
16731
|
+
});
|
|
16732
|
+
Prism.languages.insertBefore('cpp', 'class-name', {
|
|
16733
|
+
// the base clause is an optional list of parent classes
|
|
16734
|
+
// https://en.cppreference.com/w/cpp/language/class
|
|
16735
|
+
'base-clause': {
|
|
16736
|
+
pattern:
|
|
16737
|
+
/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,
|
|
16738
|
+
lookbehind: true,
|
|
16739
|
+
greedy: true,
|
|
16740
|
+
inside: Prism.languages.extend('cpp', {})
|
|
16741
|
+
}
|
|
16742
|
+
});
|
|
16743
|
+
Prism.languages.insertBefore(
|
|
16744
|
+
'inside',
|
|
16745
|
+
'double-colon',
|
|
16746
|
+
{
|
|
16747
|
+
// All untokenized words that are not namespaces should be class names
|
|
16748
|
+
'class-name': /\b[a-z_]\w*\b(?!\s*::)/i
|
|
16749
|
+
},
|
|
16750
|
+
Prism.languages.cpp['base-clause']
|
|
16751
|
+
);
|
|
16752
|
+
})(Prism);
|
|
16753
|
+
}
|
|
16754
|
+
return cpp_1;
|
|
16686
16755
|
}
|
|
16687
16756
|
|
|
16688
|
-
var refractorCpp$1 =
|
|
16757
|
+
var refractorCpp$1 = requireCpp();
|
|
16689
16758
|
var arduino_1 = arduino;
|
|
16690
16759
|
arduino.displayName = 'arduino';
|
|
16691
16760
|
arduino.aliases = ['ino'];
|
|
@@ -18695,7 +18764,7 @@ function cfscript(Prism) {
|
|
|
18695
18764
|
Prism.languages.cfc = Prism.languages['cfscript'];
|
|
18696
18765
|
}
|
|
18697
18766
|
|
|
18698
|
-
var refractorCpp =
|
|
18767
|
+
var refractorCpp = requireCpp();
|
|
18699
18768
|
var chaiscript_1 = chaiscript;
|
|
18700
18769
|
chaiscript.displayName = 'chaiscript';
|
|
18701
18770
|
chaiscript.aliases = [];
|
|
@@ -38927,7 +38996,7 @@ refractor.register(requireCobol());
|
|
|
38927
38996
|
refractor.register(requireCoffeescript());
|
|
38928
38997
|
refractor.register(requireConcurnas());
|
|
38929
38998
|
refractor.register(requireCoq());
|
|
38930
|
-
refractor.register(
|
|
38999
|
+
refractor.register(requireCpp());
|
|
38931
39000
|
refractor.register(requireCrystal());
|
|
38932
39001
|
refractor.register(requireCsharp());
|
|
38933
39002
|
refractor.register(requireCshtml());
|
|
@@ -43341,8 +43410,8 @@ function getPagination(curr, total, limit) {
|
|
|
43341
43410
|
return pages;
|
|
43342
43411
|
}
|
|
43343
43412
|
|
|
43344
|
-
var css$p = ".Pagination_module_root__4c778f02 {\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__4c778f02::-webkit-scrollbar {\n display: none;\n}\n.Pagination_module_root__4c778f02.Pagination_module_floating__4c778f02 {\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__4c778f02 .Pagination_module_rowSwitcher__4c778f02,\n.Pagination_module_root__4c778f02 .Pagination_module_pagination__4c778f02,\n.Pagination_module_root__4c778f02 .Pagination_module_jumpToPage__4c778f02,\n.Pagination_module_root__4c778f02 .Pagination_module_form__4c778f02 {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n height: 100%;\n}\n.Pagination_module_root__4c778f02 .Pagination_module_rowSwitcher__4c778f02 {\n display: none;\n gap: 0.75rem;\n background-color: var(--grey);\n padding: 0;\n border-radius: 0.3125rem;\n}\n@media (min-width: 992px) {\n .Pagination_module_root__4c778f02 .Pagination_module_rowSwitcher__4c778f02 {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n }\n}\n.Pagination_module_root__4c778f02 .Pagination_module_rowSwitcher__4c778f02 > [data-elem*=component] {\n overflow: hidden;\n}\n.Pagination_module_root__4c778f02 .Pagination_module_rowSwitcher__4c778f02 > [data-elem=component2] {\n display: flex;\n flex: 1 0 auto;\n}\n.Pagination_module_root__4c778f02 .Pagination_module_rowSwitcher__4c778f02 .Pagination_module_text__4c778f02 {\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__4c778f02 .Pagination_module_rowSwitcher__4c778f02 .Pagination_module_dropdown__4c778f02 > [data-elem=header] > [data-elem=select] {\n height: 2.375rem;\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__4c778f02 .Pagination_module_rowSwitcher__4c778f02 .Pagination_module_dropdown__4c778f02 > [data-elem=header] > [data-elem=select] > [data-elem=placeholder] {\n color: var(--white);\n font-size: 0.875rem;\n}\n.Pagination_module_root__4c778f02 .Pagination_module_rowSwitcher__4c778f02 .Pagination_module_dropdown__4c778f02 > [data-elem=header] > [data-elem=select] > svg {\n fill: var(--white);\n width: 0.813rem;\n height: 0.813rem;\n}\n.Pagination_module_root__4c778f02 .Pagination_module_pageNumbers__4c778f02 {\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__4c778f02 .Pagination_module_pageNumbers__4c778f02 {\n flex: 1 1 60%;\n }\n}\n.Pagination_module_root__4c778f02 .Pagination_module_pageNumbers__4c778f02 > .Pagination_module_button__4c778f02.Pagination_module_disable__4c778f02 {\n pointer-events: none;\n}\n.Pagination_module_root__4c778f02 .Pagination_module_pageNumbers__4c778f02 > .Pagination_module_button__4c778f02 [data-elem=title] {\n color: var(--white);\n}\n.Pagination_module_root__4c778f02 .Pagination_module_pageNumbers__4c778f02 > .Pagination_module_button__4c778f02 .Pagination_module_icon__4c778f02 {\n width: 1.5rem;\n height: 1.5rem;\n}\n.Pagination_module_root__4c778f02 .Pagination_module_pageNumbers__4c778f02 > .Pagination_module_pageSelect__4c778f02 {\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__4c778f02 .Pagination_module_pageNumbers__4c778f02 > .Pagination_module_pageSelect__4c778f02 .Pagination_module_number__4c778f02 {\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__4c778f02 .Pagination_module_pageNumbers__4c778f02 > .Pagination_module_pageSelect__4c778f02 .Pagination_module_number__4c778f02:not([data-active=true]) {\n display: none;\n}\n@media (min-width: 768px) {\n .Pagination_module_root__4c778f02 .Pagination_module_pageNumbers__4c778f02 > .Pagination_module_pageSelect__4c778f02 .Pagination_module_number__4c778f02:not([data-active=true]) {\n display: block;\n }\n}\n.Pagination_module_root__4c778f02 .Pagination_module_pageNumbers__4c778f02 > .Pagination_module_pageSelect__4c778f02 .Pagination_module_number__4c778f02:hover {\n border: 1px solid var(--highlight);\n color: var(--highlight);\n background: var(--background);\n}\n.Pagination_module_root__4c778f02 .Pagination_module_pageNumbers__4c778f02 > .Pagination_module_pageSelect__4c778f02 .Pagination_module_number__4c778f02.Pagination_module_active__4c778f02 {\n background-color: var(--highlight);\n color: var(--white);\n}\n.Pagination_module_root__4c778f02 .Pagination_module_form__4c778f02 {\n display: none;\n padding: 0;\n flex: 0 1 20%;\n background: transparent;\n}\n@media (min-width: 992px) {\n .Pagination_module_root__4c778f02 .Pagination_module_form__4c778f02 {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n }\n}\n.Pagination_module_root__4c778f02 .Pagination_module_form__4c778f02 > [data-elem*=component] {\n width: 100%;\n height: 100%;\n}\n.Pagination_module_root__4c778f02 .Pagination_module_form__4c778f02 > [data-elem*=component] > * {\n height: 100%;\n}\n.Pagination_module_root__4c778f02 .Pagination_module_form__4c778f02 .Pagination_module_jumpToPage__4c778f02 {\n width: 100%;\n background: transparent;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: stretch;\n gap: 0.75rem;\n padding: 0;\n}\n.Pagination_module_root__4c778f02 .Pagination_module_form__4c778f02 .Pagination_module_jumpToPage__4c778f02 > [data-elem*=component] {\n overflow: hidden;\n height: 100%;\n}\n.Pagination_module_root__4c778f02 .Pagination_module_form__4c778f02 .Pagination_module_jumpToPage__4c778f02 .Pagination_module_button__4c778f02 {\n background-color: var(--grey);\n height: 100%;\n}\n.Pagination_module_root__4c778f02 .Pagination_module_form__4c778f02 .Pagination_module_jumpToPage__4c778f02 .Pagination_module_button__4c778f02 [data-elem=left] {\n overflow: hidden;\n}\n.Pagination_module_root__4c778f02 .Pagination_module_form__4c778f02 .Pagination_module_jumpToPage__4c778f02 .Pagination_module_button__4c778f02 [data-elem=left] [data-elem=title] {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n}\n.Pagination_module_root__4c778f02 .Pagination_module_form__4c778f02 .Pagination_module_jumpToPage__4c778f02 .Pagination_module_button__4c778f02 .Pagination_module_icon__4c778f02 {\n width: 1.5rem;\n height: 1.5rem;\n fill: var(--white);\n flex-shrink: 0;\n}\n.Pagination_module_root__4c778f02 .Pagination_module_form__4c778f02 .Pagination_module_jumpToPage__4c778f02 .Pagination_module_inputbox__4c778f02 {\n width: 5rem;\n max-width: 100%;\n height: 100%;\n}\n.Pagination_module_root__4c778f02 .Pagination_module_form__4c778f02 .Pagination_module_jumpToPage__4c778f02 .Pagination_module_inputbox__4c778f02 [data-elem=base-cell] {\n border-radius: 0.313rem;\n background-color: var(--grey);\n color: var(--white);\n border-color: var(--grey);\n width: 4.875rem;\n}\n.Pagination_module_root__4c778f02 .Pagination_module_form__4c778f02 .Pagination_module_jumpToPage__4c778f02 .Pagination_module_inputbox__4c778f02 [data-elem=base-cell] [data-elem=input] {\n text-align: center;\n color: var(--white);\n background-color: var(--grey);\n border: none;\n width: 100%;\n}\n\n.Pagination_module_paginationTest__4c778f02 {\n height: 80%;\n width: 100%;\n overflow: scroll;\n background-color: powderblue;\n display: flex;\n flex-direction: column;\n}\n\n.Pagination_module_dropdownPopper__4c778f02 {\n -ms-overflow-style: none;\n scrollbar-width: none;\n padding: 0.25rem;\n}\n.Pagination_module_dropdownPopper__4c778f02::-webkit-scrollbar {\n display: none;\n}";
|
|
43345
|
-
var modules_a3d40e77 = {"root":"
|
|
43413
|
+
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}";
|
|
43414
|
+
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"};
|
|
43346
43415
|
n(css$p,{});
|
|
43347
43416
|
|
|
43348
43417
|
var dropdownOptions = ['10', '25', '50', '100', '200', '250'];
|
|
@@ -43370,6 +43439,10 @@ var reducer = function reducer(state, _ref) {
|
|
|
43370
43439
|
return _objectSpread2(_objectSpread2({}, state), {}, {
|
|
43371
43440
|
totalPages: payload
|
|
43372
43441
|
});
|
|
43442
|
+
case 'SET_TOTAL_DATA':
|
|
43443
|
+
return _objectSpread2(_objectSpread2({}, state), {}, {
|
|
43444
|
+
totalData: payload
|
|
43445
|
+
});
|
|
43373
43446
|
default:
|
|
43374
43447
|
return state;
|
|
43375
43448
|
}
|
|
@@ -43380,11 +43453,14 @@ var usePagination = function usePagination(props) {
|
|
|
43380
43453
|
_props$currentPage = props.currentPage,
|
|
43381
43454
|
currentPage = _props$currentPage === void 0 ? null : _props$currentPage,
|
|
43382
43455
|
_props$step = props.step,
|
|
43383
|
-
step = _props$step === void 0 ? 10 : _props$step
|
|
43456
|
+
step = _props$step === void 0 ? 10 : _props$step,
|
|
43457
|
+
_props$totalData = props.totalData,
|
|
43458
|
+
totalData = _props$totalData === void 0 ? null : _props$totalData;
|
|
43384
43459
|
var _useReducer = useReducer(reducer, {
|
|
43385
43460
|
totalPages: totalPages,
|
|
43386
43461
|
currentPage: currentPage,
|
|
43387
|
-
step: step
|
|
43462
|
+
step: step,
|
|
43463
|
+
totalData: totalData
|
|
43388
43464
|
}),
|
|
43389
43465
|
_useReducer2 = _slicedToArray(_useReducer, 2),
|
|
43390
43466
|
paginationState = _useReducer2[0],
|
|
@@ -43396,11 +43472,17 @@ var usePagination = function usePagination(props) {
|
|
|
43396
43472
|
payload: totalPages
|
|
43397
43473
|
});
|
|
43398
43474
|
}
|
|
43475
|
+
if (paginationState.totalData !== totalData) {
|
|
43476
|
+
paginationDispatch({
|
|
43477
|
+
type: 'SET_TOTAL_DATA',
|
|
43478
|
+
payload: totalData
|
|
43479
|
+
});
|
|
43480
|
+
}
|
|
43399
43481
|
paginationDispatch({
|
|
43400
43482
|
type: 'SET_TOTAL_PAGES',
|
|
43401
43483
|
payload: totalPages
|
|
43402
43484
|
});
|
|
43403
|
-
}, [totalPages]);
|
|
43485
|
+
}, [totalPages, totalData]);
|
|
43404
43486
|
return [paginationState, paginationDispatch];
|
|
43405
43487
|
};
|
|
43406
43488
|
var Pagination = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
@@ -43411,7 +43493,8 @@ var Pagination = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
43411
43493
|
loading = props.loading;
|
|
43412
43494
|
var totalPages = paginationState.totalPages,
|
|
43413
43495
|
currentPage = paginationState.currentPage,
|
|
43414
|
-
step = paginationState.step
|
|
43496
|
+
step = paginationState.step,
|
|
43497
|
+
totalData = paginationState.totalData;
|
|
43415
43498
|
var paginationList = new PaginationList({
|
|
43416
43499
|
curr: currentPage,
|
|
43417
43500
|
total: totalPages
|
|
@@ -43430,40 +43513,54 @@ var Pagination = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
43430
43513
|
if (loading) {
|
|
43431
43514
|
return null;
|
|
43432
43515
|
}
|
|
43516
|
+
var showTotalData = totalData && (currentPage - 1) * step + 1 < totalData;
|
|
43433
43517
|
return /*#__PURE__*/jsxs("div", {
|
|
43434
43518
|
ref: ref,
|
|
43435
|
-
className: classes(modules_a3d40e77.root, className, floating ? modules_a3d40e77.floating : ''),
|
|
43519
|
+
className: classes(modules_a3d40e77.root, className, floating ? modules_a3d40e77.floating : '', showTotalData ? '' : modules_a3d40e77['no-total-data']),
|
|
43436
43520
|
children: [/*#__PURE__*/jsx(BaseCell, {
|
|
43521
|
+
size: "auto",
|
|
43437
43522
|
flexible: true,
|
|
43438
43523
|
className: modules_a3d40e77['row-switcher'],
|
|
43439
|
-
|
|
43440
|
-
|
|
43441
|
-
|
|
43442
|
-
|
|
43443
|
-
|
|
43444
|
-
|
|
43445
|
-
|
|
43446
|
-
|
|
43447
|
-
|
|
43448
|
-
|
|
43449
|
-
|
|
43450
|
-
|
|
43451
|
-
|
|
43452
|
-
|
|
43453
|
-
|
|
43454
|
-
|
|
43455
|
-
|
|
43456
|
-
|
|
43457
|
-
|
|
43458
|
-
|
|
43459
|
-
|
|
43524
|
+
component2: /*#__PURE__*/jsx(BaseCell, {
|
|
43525
|
+
size: "auto",
|
|
43526
|
+
flexible: true,
|
|
43527
|
+
className: modules_a3d40e77['row-switcher-handle'],
|
|
43528
|
+
component1: /*#__PURE__*/jsx("span", {
|
|
43529
|
+
title: "Rows per page",
|
|
43530
|
+
className: modules_a3d40e77.text,
|
|
43531
|
+
children: "Rows per page"
|
|
43532
|
+
}),
|
|
43533
|
+
component2: /*#__PURE__*/jsx(Dropdown, {
|
|
43534
|
+
className: modules_a3d40e77.dropdown,
|
|
43535
|
+
popperClassName: modules_a3d40e77['dropdown-popper'],
|
|
43536
|
+
value: step,
|
|
43537
|
+
placeholder: null,
|
|
43538
|
+
onChange: function onChange(e, newStep) {
|
|
43539
|
+
_onChange({
|
|
43540
|
+
type: 'SET_STEP',
|
|
43541
|
+
payload: newStep
|
|
43542
|
+
});
|
|
43543
|
+
},
|
|
43544
|
+
children: dropdownOptions.map(function (item) {
|
|
43545
|
+
return /*#__PURE__*/jsx(DropdownItem, {
|
|
43546
|
+
title: item,
|
|
43547
|
+
value: item
|
|
43548
|
+
}, item);
|
|
43549
|
+
})
|
|
43460
43550
|
})
|
|
43461
43551
|
})
|
|
43552
|
+
}), showTotalData && /*#__PURE__*/jsxs(Text, {
|
|
43553
|
+
variant: "b1",
|
|
43554
|
+
stroke: "medium",
|
|
43555
|
+
className: modules_a3d40e77['total-data'],
|
|
43556
|
+
attrs: {
|
|
43557
|
+
title: "".concat((currentPage - 1) * step + 1, "-").concat(currentPage * step, " of ").concat(totalData)
|
|
43558
|
+
},
|
|
43559
|
+
children: [(currentPage - 1) * step + 1, "-", currentPage === totalPages ? totalData : currentPage * step, " of ", totalData]
|
|
43462
43560
|
}), /*#__PURE__*/jsxs("div", {
|
|
43463
43561
|
className: modules_a3d40e77['page-numbers'],
|
|
43464
43562
|
children: [/*#__PURE__*/jsx(Button, {
|
|
43465
43563
|
size: "auto",
|
|
43466
|
-
flexible: true,
|
|
43467
43564
|
disabled: currentPage === 1,
|
|
43468
43565
|
title: "Prev",
|
|
43469
43566
|
onClick: function onClick() {
|
|
@@ -43498,7 +43595,6 @@ var Pagination = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
43498
43595
|
})
|
|
43499
43596
|
}), /*#__PURE__*/jsx(Button, {
|
|
43500
43597
|
size: "auto",
|
|
43501
|
-
flexible: true,
|
|
43502
43598
|
disabled: currentPage === totalPages,
|
|
43503
43599
|
title: "Next",
|
|
43504
43600
|
onClick: function onClick() {
|
|
@@ -43528,21 +43624,26 @@ var Pagination = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
43528
43624
|
});
|
|
43529
43625
|
},
|
|
43530
43626
|
children: /*#__PURE__*/jsx(BaseCell, {
|
|
43531
|
-
|
|
43627
|
+
size: "auto",
|
|
43532
43628
|
className: modules_a3d40e77['jump-to-page'],
|
|
43533
43629
|
component1: /*#__PURE__*/jsx(TextField, {
|
|
43534
43630
|
inputProps: {
|
|
43535
43631
|
min: 1,
|
|
43536
43632
|
max: totalPages,
|
|
43537
|
-
required: true
|
|
43633
|
+
required: true,
|
|
43634
|
+
placeholder: 'Jump to Page'
|
|
43538
43635
|
},
|
|
43539
43636
|
ref: jumpPageRef,
|
|
43540
43637
|
type: "number",
|
|
43541
|
-
className: modules_a3d40e77.inputbox
|
|
43638
|
+
className: modules_a3d40e77.inputbox,
|
|
43639
|
+
LeftComponent: function LeftComponent() {
|
|
43640
|
+
return /*#__PURE__*/jsx(SearchIcon, {
|
|
43641
|
+
className: modules_a3d40e77.icon
|
|
43642
|
+
});
|
|
43643
|
+
}
|
|
43542
43644
|
}),
|
|
43543
43645
|
component2: /*#__PURE__*/jsx(Button, {
|
|
43544
|
-
|
|
43545
|
-
size: "medium",
|
|
43646
|
+
size: "auto",
|
|
43546
43647
|
variant: "contained",
|
|
43547
43648
|
className: modules_a3d40e77.button,
|
|
43548
43649
|
rightComponent: function rightComponent() {
|
|
@@ -43697,12 +43798,37 @@ var TableColumn = /*#__PURE__*/_createClass(function TableColumn(_ref) {
|
|
|
43697
43798
|
this.sticky = sticky;
|
|
43698
43799
|
});
|
|
43699
43800
|
|
|
43700
|
-
var css$m = ".
|
|
43701
|
-
var modules_7ba8d001 = {"root":"
|
|
43801
|
+
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}";
|
|
43802
|
+
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"};
|
|
43702
43803
|
n(css$m,{});
|
|
43703
43804
|
|
|
43805
|
+
var SORT_ICONS = {
|
|
43806
|
+
asc: /*#__PURE__*/jsx(Sort, {
|
|
43807
|
+
className: modules_7ba8d001['sort-icon'],
|
|
43808
|
+
position: "az"
|
|
43809
|
+
}),
|
|
43810
|
+
desc: /*#__PURE__*/jsx(Sort, {
|
|
43811
|
+
className: modules_7ba8d001['sort-icon'],
|
|
43812
|
+
position: "za"
|
|
43813
|
+
}),
|
|
43814
|
+
"default": /*#__PURE__*/jsx(Sort, {
|
|
43815
|
+
className: modules_7ba8d001['sort-icon'],
|
|
43816
|
+
position: "az"
|
|
43817
|
+
})
|
|
43818
|
+
};
|
|
43819
|
+
var getNextSortState = function getNextSortState(currentSort) {
|
|
43820
|
+
var _asc$desc$default;
|
|
43821
|
+
return (_asc$desc$default = {
|
|
43822
|
+
asc: 'desc',
|
|
43823
|
+
desc: 'default',
|
|
43824
|
+
"default": 'asc'
|
|
43825
|
+
}) === null || _asc$desc$default === void 0 ? void 0 : _asc$desc$default[currentSort];
|
|
43826
|
+
};
|
|
43827
|
+
|
|
43828
|
+
// eslint-disable-next-line prefer-arrow-callback
|
|
43704
43829
|
var TableCell = /*#__PURE__*/forwardRef(function TableCell(props, ref) {
|
|
43705
|
-
var
|
|
43830
|
+
var id = props.id,
|
|
43831
|
+
className = props.className,
|
|
43706
43832
|
size = props.size,
|
|
43707
43833
|
flexible = props.flexible,
|
|
43708
43834
|
rounded = props.rounded,
|
|
@@ -43716,10 +43842,12 @@ var TableCell = /*#__PURE__*/forwardRef(function TableCell(props, ref) {
|
|
|
43716
43842
|
type = props.type,
|
|
43717
43843
|
cellContent = props.cellContent,
|
|
43718
43844
|
cellTitle = props.cellTitle,
|
|
43719
|
-
sticky = props.sticky
|
|
43845
|
+
sticky = props.sticky,
|
|
43846
|
+
sort = props.sort,
|
|
43847
|
+
onSort = props.onSort;
|
|
43720
43848
|
return /*#__PURE__*/jsx(BaseCell, {
|
|
43721
43849
|
ref: ref,
|
|
43722
|
-
className: classes(modules_7ba8d001.root, className, modules_7ba8d001["".concat(type, "-cell")], modules_7ba8d001["sticky-".concat(sticky)]),
|
|
43850
|
+
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 : ''),
|
|
43723
43851
|
attrs: _objectSpread2({
|
|
43724
43852
|
style: style
|
|
43725
43853
|
}, attrs),
|
|
@@ -43736,7 +43864,16 @@ var TableCell = /*#__PURE__*/forwardRef(function TableCell(props, ref) {
|
|
|
43736
43864
|
})), {}, {
|
|
43737
43865
|
children: [null, false, true].includes(cellContent) ? JSON.stringify(cellContent) : cellContent
|
|
43738
43866
|
})),
|
|
43739
|
-
component3:
|
|
43867
|
+
component3: type === 'header' && sort ? /*#__PURE__*/jsx(Button, {
|
|
43868
|
+
className: modules_7ba8d001.sort,
|
|
43869
|
+
size: "auto",
|
|
43870
|
+
onClick: function onClick() {
|
|
43871
|
+
onSort(id, getNextSortState(sort));
|
|
43872
|
+
},
|
|
43873
|
+
leftComponent: function leftComponent() {
|
|
43874
|
+
return SORT_ICONS[sort];
|
|
43875
|
+
}
|
|
43876
|
+
}) : component3,
|
|
43740
43877
|
RootDOM: RootDOM,
|
|
43741
43878
|
radius: radius
|
|
43742
43879
|
});
|
|
@@ -43746,18 +43883,20 @@ TableCell.propTypes = _objectSpread2(_objectSpread2({}, BaseCell.propTypes), {},
|
|
|
43746
43883
|
id: propTypes$1.exports.string,
|
|
43747
43884
|
size: propTypes$1.exports.oneOf(['sm', 'md', 'lg']),
|
|
43748
43885
|
flexible: propTypes$1.exports.bool,
|
|
43749
|
-
sort: propTypes$1.exports.
|
|
43886
|
+
sort: propTypes$1.exports.oneOf(['default', 'asc', 'desc']),
|
|
43750
43887
|
// eslint-disable-next-line react/forbid-prop-types
|
|
43751
43888
|
style: propTypes$1.exports.object,
|
|
43752
43889
|
multiLine: propTypes$1.exports.bool,
|
|
43753
43890
|
sticky: propTypes$1.exports.oneOf(['left', 'right', 'none']),
|
|
43754
43891
|
cellContent: propTypes$1.exports.node,
|
|
43755
|
-
cellTitle: propTypes$1.exports.string
|
|
43892
|
+
cellTitle: propTypes$1.exports.string,
|
|
43893
|
+
onSort: propTypes$1.exports.func
|
|
43756
43894
|
});
|
|
43757
43895
|
TableCell.defaultProps = _objectSpread2(_objectSpread2({}, BaseCell.defaultProps), {}, {
|
|
43758
43896
|
cellContent: null,
|
|
43759
43897
|
cellTitle: null,
|
|
43760
|
-
RootDOM: 'td'
|
|
43898
|
+
RootDOM: 'td',
|
|
43899
|
+
onSort: function onSort() {}
|
|
43761
43900
|
});
|
|
43762
43901
|
|
|
43763
43902
|
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}";
|
|
@@ -43773,7 +43912,8 @@ var TableRow = /*#__PURE__*/forwardRef(function BaseTable(props, ref) {
|
|
|
43773
43912
|
customCells = props.customCells,
|
|
43774
43913
|
className = props.className,
|
|
43775
43914
|
setActiveId = props.setActiveId,
|
|
43776
|
-
Expandable = props.expandable
|
|
43915
|
+
Expandable = props.expandable,
|
|
43916
|
+
onSort = props.onSort;
|
|
43777
43917
|
var _useState = useState(false),
|
|
43778
43918
|
_useState2 = _slicedToArray(_useState, 2),
|
|
43779
43919
|
expanded = _useState2[0],
|
|
@@ -43793,7 +43933,8 @@ var TableRow = /*#__PURE__*/forwardRef(function BaseTable(props, ref) {
|
|
|
43793
43933
|
datum: datum,
|
|
43794
43934
|
cellContent: cellContent,
|
|
43795
43935
|
cellTitle: cellContent,
|
|
43796
|
-
type: type
|
|
43936
|
+
type: type,
|
|
43937
|
+
onSort: onSort
|
|
43797
43938
|
});
|
|
43798
43939
|
var getCustomCell = customCells === null || customCells === void 0 ? void 0 : customCells[type];
|
|
43799
43940
|
var CustomCell = typeof getCustomCell === 'function' ? (_getCustomCell = getCustomCell()) === null || _getCustomCell === void 0 ? void 0 : _getCustomCell[item.id] : null;
|
|
@@ -43858,10 +43999,9 @@ TableRow.propTypes = {
|
|
|
43858
43999
|
multiLine: propTypes$1.exports.bool
|
|
43859
44000
|
})),
|
|
43860
44001
|
setActiveId: propTypes$1.exports.func,
|
|
43861
|
-
expandable: propTypes$1.exports.func
|
|
43862
|
-
|
|
44002
|
+
expandable: propTypes$1.exports.func,
|
|
44003
|
+
onSort: propTypes$1.exports.func
|
|
43863
44004
|
};
|
|
43864
|
-
|
|
43865
44005
|
TableRow.defaultProps = {
|
|
43866
44006
|
className: '',
|
|
43867
44007
|
type: 'body',
|
|
@@ -43872,7 +44012,8 @@ TableRow.defaultProps = {
|
|
|
43872
44012
|
},
|
|
43873
44013
|
headerData: [],
|
|
43874
44014
|
setActiveId: function setActiveId() {},
|
|
43875
|
-
expandable: null
|
|
44015
|
+
expandable: null,
|
|
44016
|
+
onSort: function onSort() {}
|
|
43876
44017
|
};
|
|
43877
44018
|
|
|
43878
44019
|
var css$k = ".TableBody_module_root__77e2990d {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n}";
|
|
@@ -43955,7 +44096,8 @@ n(css$j,{});
|
|
|
43955
44096
|
var TableHeader = function TableHeader(props) {
|
|
43956
44097
|
var headerData = props.headerData,
|
|
43957
44098
|
customCells = props.customCells,
|
|
43958
|
-
expandable = props.expandable
|
|
44099
|
+
expandable = props.expandable,
|
|
44100
|
+
onSort = props.onSort;
|
|
43959
44101
|
return /*#__PURE__*/jsx("thead", {
|
|
43960
44102
|
"data-elem": "table-header",
|
|
43961
44103
|
className: modules_3be98c28.root,
|
|
@@ -43963,7 +44105,8 @@ var TableHeader = function TableHeader(props) {
|
|
|
43963
44105
|
type: "header",
|
|
43964
44106
|
headerData: headerData,
|
|
43965
44107
|
customCells: customCells,
|
|
43966
|
-
expandable: expandable
|
|
44108
|
+
expandable: expandable,
|
|
44109
|
+
onSort: onSort
|
|
43967
44110
|
})
|
|
43968
44111
|
});
|
|
43969
44112
|
};
|
|
@@ -43981,7 +44124,8 @@ TableHeader.propTypes = {
|
|
|
43981
44124
|
header: propTypes$1.exports.func,
|
|
43982
44125
|
body: propTypes$1.exports.func
|
|
43983
44126
|
}),
|
|
43984
|
-
expandable: propTypes$1.exports.func
|
|
44127
|
+
expandable: propTypes$1.exports.func,
|
|
44128
|
+
onSort: propTypes$1.exports.func
|
|
43985
44129
|
};
|
|
43986
44130
|
TableHeader.defaultProps = {
|
|
43987
44131
|
headerData: [],
|
|
@@ -43989,7 +44133,8 @@ TableHeader.defaultProps = {
|
|
|
43989
44133
|
header: null,
|
|
43990
44134
|
body: null
|
|
43991
44135
|
},
|
|
43992
|
-
expandable: null
|
|
44136
|
+
expandable: null,
|
|
44137
|
+
onSort: function onSort() {}
|
|
43993
44138
|
};
|
|
43994
44139
|
|
|
43995
44140
|
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}";
|
|
@@ -44060,7 +44205,8 @@ var BaseTable = /*#__PURE__*/forwardRef(function BaseTable(props, ref) {
|
|
|
44060
44205
|
tableData = props.tableData,
|
|
44061
44206
|
className = props.className,
|
|
44062
44207
|
loading = props.loading,
|
|
44063
|
-
expandable = props.expandable
|
|
44208
|
+
expandable = props.expandable,
|
|
44209
|
+
onSort = props.onSort;
|
|
44064
44210
|
if (loading) {
|
|
44065
44211
|
return /*#__PURE__*/jsx(BaseTableSkeleton, {});
|
|
44066
44212
|
}
|
|
@@ -44074,7 +44220,8 @@ var BaseTable = /*#__PURE__*/forwardRef(function BaseTable(props, ref) {
|
|
|
44074
44220
|
children: [/*#__PURE__*/jsx(TableHeader, {
|
|
44075
44221
|
headerData: transformedHeaderData,
|
|
44076
44222
|
customCells: customCells,
|
|
44077
|
-
expandable: expandable
|
|
44223
|
+
expandable: expandable,
|
|
44224
|
+
onSort: onSort
|
|
44078
44225
|
}), /*#__PURE__*/jsx(TableBody, {
|
|
44079
44226
|
ref: ref,
|
|
44080
44227
|
headerData: transformedHeaderData,
|
|
@@ -44101,7 +44248,8 @@ BaseTable.propTypes = {
|
|
|
44101
44248
|
body: propTypes$1.exports.func
|
|
44102
44249
|
}),
|
|
44103
44250
|
loading: propTypes$1.exports.bool,
|
|
44104
|
-
expandable: propTypes$1.exports.func
|
|
44251
|
+
expandable: propTypes$1.exports.func,
|
|
44252
|
+
onSort: propTypes$1.exports.func
|
|
44105
44253
|
};
|
|
44106
44254
|
BaseTable.defaultProps = {
|
|
44107
44255
|
className: '',
|
|
@@ -44112,7 +44260,8 @@ BaseTable.defaultProps = {
|
|
|
44112
44260
|
body: null
|
|
44113
44261
|
},
|
|
44114
44262
|
loading: null,
|
|
44115
|
-
expandable: null
|
|
44263
|
+
expandable: null,
|
|
44264
|
+
onSort: function onSort() {}
|
|
44116
44265
|
};
|
|
44117
44266
|
|
|
44118
44267
|
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}";
|
|
@@ -44135,42 +44284,88 @@ var TableChipsSkeleton = function TableChipsSkeleton() {
|
|
|
44135
44284
|
});
|
|
44136
44285
|
};
|
|
44137
44286
|
|
|
44138
|
-
var css$e = ".
|
|
44139
|
-
var modules_016d9b3e = {"root":"
|
|
44287
|
+
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}";
|
|
44288
|
+
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"};
|
|
44140
44289
|
n(css$e,{});
|
|
44141
44290
|
|
|
44291
|
+
var TableChip$1 = function TableChip(props) {
|
|
44292
|
+
var icon = props.icon,
|
|
44293
|
+
rightComponent = props.rightComponent,
|
|
44294
|
+
label = props.label,
|
|
44295
|
+
value = props.value,
|
|
44296
|
+
onRemove = props.onRemove;
|
|
44297
|
+
|
|
44298
|
+
// component 1
|
|
44299
|
+
var Icon = icon;
|
|
44300
|
+
if (Icon) {
|
|
44301
|
+
Icon = /*#__PURE__*/jsx(Icon, {
|
|
44302
|
+
className: modules_016d9b3e['chip-icon']
|
|
44303
|
+
});
|
|
44304
|
+
} else {
|
|
44305
|
+
Icon = null;
|
|
44306
|
+
}
|
|
44307
|
+
|
|
44308
|
+
// component 2
|
|
44309
|
+
var Title = /*#__PURE__*/jsxs(Fragment, {
|
|
44310
|
+
children: [/*#__PURE__*/jsxs(Text, {
|
|
44311
|
+
className: modules_016d9b3e.label,
|
|
44312
|
+
variant: "b2",
|
|
44313
|
+
stroke: "medium",
|
|
44314
|
+
children: [label, " :"]
|
|
44315
|
+
}), typeof value === 'string' && value.length > 0 && /*#__PURE__*/jsx(Chip, {
|
|
44316
|
+
className: modules_016d9b3e['chip-child'],
|
|
44317
|
+
title: value,
|
|
44318
|
+
radius: "ellipse",
|
|
44319
|
+
color: "info",
|
|
44320
|
+
variant: "input",
|
|
44321
|
+
onClick: onRemove,
|
|
44322
|
+
rightComponent: function rightComponent() {
|
|
44323
|
+
return /*#__PURE__*/jsx(Close, {
|
|
44324
|
+
className: modules_016d9b3e.icon
|
|
44325
|
+
});
|
|
44326
|
+
}
|
|
44327
|
+
})]
|
|
44328
|
+
});
|
|
44329
|
+
|
|
44330
|
+
// component 3
|
|
44331
|
+
var RightComponent = rightComponent;
|
|
44332
|
+
if (RightComponent) {
|
|
44333
|
+
RightComponent = /*#__PURE__*/jsx(RightComponent, {});
|
|
44334
|
+
} else {
|
|
44335
|
+
RightComponent = null;
|
|
44336
|
+
}
|
|
44337
|
+
return /*#__PURE__*/jsx(BaseCell, {
|
|
44338
|
+
radius: "default",
|
|
44339
|
+
size: "auto",
|
|
44340
|
+
className: modules_016d9b3e['chip-parent'],
|
|
44341
|
+
component1: Icon,
|
|
44342
|
+
component2: Title,
|
|
44343
|
+
component3: RightComponent,
|
|
44344
|
+
title: "".concat(label, " : ").concat(value)
|
|
44345
|
+
});
|
|
44346
|
+
};
|
|
44142
44347
|
var TableChips = function TableChips(props) {
|
|
44143
44348
|
var _chips$filter;
|
|
44349
|
+
// eslint-disable-next-line object-curly-newline
|
|
44144
44350
|
var showBack = props.showBack,
|
|
44145
44351
|
onBack = props.onBack,
|
|
44146
44352
|
onClear = props.onClear,
|
|
44147
44353
|
chips = props.chips,
|
|
44148
44354
|
className = props.className,
|
|
44149
44355
|
style = props.style,
|
|
44150
|
-
loading = props.loading
|
|
44356
|
+
loading = props.loading,
|
|
44357
|
+
_onRemove = props.onRemove;
|
|
44151
44358
|
if (loading) {
|
|
44152
44359
|
return /*#__PURE__*/jsx(TableChipsSkeleton, {});
|
|
44153
44360
|
}
|
|
44154
44361
|
var chipsDOM = chips === null || chips === void 0 ? void 0 : (_chips$filter = chips.filter(function (chip) {
|
|
44155
44362
|
return (chip === null || chip === void 0 ? void 0 : chip.value) != null;
|
|
44156
|
-
})) === null || _chips$filter === void 0 ? void 0 : _chips$filter.map(function (chip) {
|
|
44157
|
-
return /*#__PURE__*/jsx(
|
|
44158
|
-
|
|
44159
|
-
|
|
44160
|
-
|
|
44161
|
-
|
|
44162
|
-
title: "".concat(chip.label, " : ").concat(chip.value),
|
|
44163
|
-
leftComponent: function leftComponent(iconProps) {
|
|
44164
|
-
var Icon = chip.icon;
|
|
44165
|
-
if ( /*#__PURE__*/isValidElement( /*#__PURE__*/jsx(Icon, {}))) {
|
|
44166
|
-
return /*#__PURE__*/jsx(Icon, _objectSpread2(_objectSpread2({}, iconProps), {}, {
|
|
44167
|
-
className: modules_016d9b3e['chip-icon']
|
|
44168
|
-
}));
|
|
44169
|
-
}
|
|
44170
|
-
return null;
|
|
44171
|
-
},
|
|
44172
|
-
rightComponent: chip.rightComponent
|
|
44173
|
-
}, chip.key);
|
|
44363
|
+
})) === null || _chips$filter === void 0 ? void 0 : _chips$filter.map(function (chip, index) {
|
|
44364
|
+
return /*#__PURE__*/jsx(TableChip$1, _objectSpread2(_objectSpread2({}, chip), {}, {
|
|
44365
|
+
onRemove: function onRemove() {
|
|
44366
|
+
_onRemove(chip, index);
|
|
44367
|
+
}
|
|
44368
|
+
}), chip.key);
|
|
44174
44369
|
});
|
|
44175
44370
|
if ((chipsDOM === null || chipsDOM === void 0 ? void 0 : chipsDOM.length) > 0 || showBack) {
|
|
44176
44371
|
return /*#__PURE__*/jsx(BaseCell, {
|
|
@@ -44224,7 +44419,8 @@ TableChips.propTypes = {
|
|
|
44224
44419
|
disabled: propTypes$1.exports.bool,
|
|
44225
44420
|
rightComponent: propTypes$1.exports.node
|
|
44226
44421
|
})),
|
|
44227
|
-
loading: propTypes$1.exports.bool
|
|
44422
|
+
loading: propTypes$1.exports.bool,
|
|
44423
|
+
onRemove: propTypes$1.exports.func
|
|
44228
44424
|
};
|
|
44229
44425
|
TableChips.defaultProps = {
|
|
44230
44426
|
className: '',
|
|
@@ -44233,7 +44429,8 @@ TableChips.defaultProps = {
|
|
|
44233
44429
|
onBack: function onBack() {},
|
|
44234
44430
|
onClear: function onClear() {},
|
|
44235
44431
|
chips: [],
|
|
44236
|
-
loading: null
|
|
44432
|
+
loading: null,
|
|
44433
|
+
onRemove: function onRemove() {}
|
|
44237
44434
|
};
|
|
44238
44435
|
|
|
44239
44436
|
var TableChip = /*#__PURE__*/_createClass(function TableChip(_ref) {
|
|
@@ -44246,13 +44443,16 @@ var TableChip = /*#__PURE__*/_createClass(function TableChip(_ref) {
|
|
|
44246
44443
|
_ref$value = _ref.value,
|
|
44247
44444
|
value = _ref$value === void 0 ? '' : _ref$value,
|
|
44248
44445
|
_ref$disabled = _ref.disabled,
|
|
44249
|
-
disabled = _ref$disabled === void 0 ? false : _ref$disabled
|
|
44446
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
44447
|
+
_ref$rightComponent = _ref.rightComponent,
|
|
44448
|
+
rightComponent = _ref$rightComponent === void 0 ? null : _ref$rightComponent;
|
|
44250
44449
|
_classCallCheck(this, TableChip);
|
|
44251
44450
|
this.key = key;
|
|
44252
44451
|
this.icon = icon;
|
|
44253
44452
|
this.label = label;
|
|
44254
44453
|
this.value = value;
|
|
44255
44454
|
this.disabled = disabled;
|
|
44455
|
+
this.rightComponent = rightComponent;
|
|
44256
44456
|
});
|
|
44257
44457
|
|
|
44258
44458
|
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}";
|
|
@@ -44636,7 +44836,7 @@ var modules_2e8406c7 = {"root":"Table_module_root__d17cb64f","table":"Table_modu
|
|
|
44636
44836
|
n(css$9,{});
|
|
44637
44837
|
|
|
44638
44838
|
var INTERSECTION = 1;
|
|
44639
|
-
var STEP = 0.
|
|
44839
|
+
var STEP = 0.05;
|
|
44640
44840
|
var THRESHOLD = [];
|
|
44641
44841
|
for (var i = 0; i < INTERSECTION; i += STEP) {
|
|
44642
44842
|
THRESHOLD.push(i);
|
|
@@ -44654,7 +44854,8 @@ var Table = function Table(props) {
|
|
|
44654
44854
|
filtersData = props.filtersData,
|
|
44655
44855
|
paginationData = props.paginationData,
|
|
44656
44856
|
loading = props.loading,
|
|
44657
|
-
disabledFilterOptions = props.disabledFilterOptions
|
|
44857
|
+
disabledFilterOptions = props.disabledFilterOptions,
|
|
44858
|
+
onSort = props.onSort;
|
|
44658
44859
|
var ref = useRef(null);
|
|
44659
44860
|
var paginationRef = useRef(null);
|
|
44660
44861
|
var _useState = useState(false),
|
|
@@ -44680,7 +44881,7 @@ var Table = function Table(props) {
|
|
|
44680
44881
|
entries.forEach(function (entry) {
|
|
44681
44882
|
var _entry$intersectionRe;
|
|
44682
44883
|
// if the target is visibile
|
|
44683
|
-
if (entry.isIntersecting && entry.intersectionRatio >= INTERSECTION || (entry === null || entry === void 0 ? void 0 : (_entry$intersectionRe = entry.intersectionRect) === null || _entry$intersectionRe === void 0 ? void 0 : _entry$intersectionRe.height)
|
|
44884
|
+
if (entry.isIntersecting && entry.intersectionRatio >= INTERSECTION || (entry === null || entry === void 0 ? void 0 : (_entry$intersectionRe = entry.intersectionRect) === null || _entry$intersectionRe === void 0 ? void 0 : _entry$intersectionRe.height) >= lastRowHeight) {
|
|
44684
44885
|
setFloating(false);
|
|
44685
44886
|
} else {
|
|
44686
44887
|
setFloating(true);
|
|
@@ -44750,6 +44951,7 @@ var Table = function Table(props) {
|
|
|
44750
44951
|
setActiveData: setActiveData,
|
|
44751
44952
|
customCells: customCells,
|
|
44752
44953
|
className: modules_2e8406c7.table,
|
|
44954
|
+
onSort: onSort,
|
|
44753
44955
|
loading: loading
|
|
44754
44956
|
}), paginationData != null && /*#__PURE__*/jsx(Pagination, _objectSpread2(_objectSpread2({
|
|
44755
44957
|
className: classes(modules_2e8406c7.pagination, floating ? modules_2e8406c7.floating : ''),
|
|
@@ -44788,7 +44990,8 @@ Table.propTypes = {
|
|
|
44788
44990
|
refresh: propTypes$1.exports.bool,
|
|
44789
44991
|
columnFilter: propTypes$1.exports.bool,
|
|
44790
44992
|
settings: propTypes$1.exports.bool
|
|
44791
|
-
})
|
|
44993
|
+
}),
|
|
44994
|
+
onSort: propTypes$1.exports.func
|
|
44792
44995
|
};
|
|
44793
44996
|
Table.defaultProps = {
|
|
44794
44997
|
className: '',
|
|
@@ -44810,7 +45013,8 @@ Table.defaultProps = {
|
|
|
44810
45013
|
refresh: false,
|
|
44811
45014
|
columnFilter: false,
|
|
44812
45015
|
settings: false
|
|
44813
|
-
}
|
|
45016
|
+
},
|
|
45017
|
+
onSort: function onSort() {}
|
|
44814
45018
|
};
|
|
44815
45019
|
|
|
44816
45020
|
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}";
|
|
@@ -95189,4 +95393,4 @@ DisplayPicture.defaultProps = {
|
|
|
95189
95393
|
size: 'sm'
|
|
95190
95394
|
};
|
|
95191
95395
|
|
|
95192
|
-
export { Accordion, Alert, AlertIcon, AngleDouble as AngleDoubleIcon, Arrow$1 as ArrowIcon, BASE_URLS, BaseButton, BaseCell, BaseHorizontalBarChart, BaseModal, BasePieChart, BaseSidePanel, BaseTable, BaseVerticalBarChart, BaseWidget, BreadCrumbs, BreadcrumbSeperator as BreadcrumbSeperatorIcon, Button, COLORS, Calender$1 as CalenderIcon, Caret as CaretIcon, Checkbox, CheckboxIcon, Chevron as ChevronIcon, Chip, CodeSnippet, Columns$1 as ColumnsIcon, Copy as CopyIcon, Cross$1 as CrossIcon, DAYS, DatePicker, Delete as DeleteIcon, DialogBox, DisplayPicture, Download as DownloadIcon, Dropdown, DropdownItem, Edit as EditIcon, ExpandArrowAlt as ExpandArrowAltIcon, FULL_MONTHS, Filter as FilterIcon, HalfShade as HalfShadeIcon, HierarchyBrowser, HierarchyItem, Link, MONTHS, MagnifyingGlass as MagnifyingGlassIcon, Nut as NutIcon, PageHeader, Pagination, PaginationList, Plus as PlusIcon, Popover, Popper, Radio, RadioIcon, Refresh as RefreshIcon, Reset as ResetIcon, Server as ServerIcon, Settings as SettingsIcon, Stepper, Table, TableCell, TableChip, TableChips, TableColumn, TableFilters, Tabs, Text, TextField, Tick as TickIcon, TimePicker, Toggle, Tooltip, Trash as TrashIcon, View as ViewIcon, classes, cloneDeep, defaultProps, doubleDigitted, get$1 as get, getCSSVariableValue, getCurrentSearchParams, getDateFromEpoch, getDatesInAMonth, getDayInfo, getInitialsOfName, getJSDateFromEpoch, getPagination, getSpacedDisplayName, getTimeFromEpoch, inputHelper, propTypes, stringToPath, sumArrayOfObjects, uniqueArray, uniqueArrayOfObjects, useOutsideClickListener, usePagination, useResize, useRowFilter };
|
|
95396
|
+
export { Accordion, Alert, AlertIcon, AngleDouble as AngleDoubleIcon, Arrow$1 as ArrowIcon, BASE_URLS, BaseButton, BaseCell, BaseHorizontalBarChart, BaseModal, BasePieChart, BaseSidePanel, BaseTable, BaseVerticalBarChart, BaseWidget, BreadCrumbs, BreadcrumbSeperator as BreadcrumbSeperatorIcon, Button, COLORS, Calender$1 as CalenderIcon, Caret as CaretIcon, Checkbox, CheckboxIcon, Chevron as ChevronIcon, Chip, Close as CloseIcon, CodeSnippet, Columns$1 as ColumnsIcon, Copy as CopyIcon, Cross$1 as CrossIcon, DAYS, DatePicker, Delete as DeleteIcon, DialogBox, DisplayPicture, Download as DownloadIcon, Dropdown, DropdownItem, Edit as EditIcon, ExpandArrowAlt as ExpandArrowAltIcon, FULL_MONTHS, Filter as FilterIcon, HalfShade as HalfShadeIcon, HierarchyBrowser, HierarchyItem, Link, MONTHS, MagnifyingGlass as MagnifyingGlassIcon, Nut as NutIcon, PageHeader, Pagination, PaginationList, Plus as PlusIcon, Popover, Popper, Radio, RadioIcon, Refresh as RefreshIcon, Reset as ResetIcon, SearchIcon, Server as ServerIcon, Settings as SettingsIcon, Sort as SortIcon, Stepper, Table, TableCell, TableChip, TableChips, TableColumn, TableFilters, Tabs, Text, TextField, Tick as TickIcon, TimePicker, Toggle, Tooltip, Trash as TrashIcon, View as ViewIcon, classes, cloneDeep, defaultProps, doubleDigitted, get$1 as get, getCSSVariableValue, getCurrentSearchParams, getDateFromEpoch, getDatesInAMonth, getDayInfo, getInitialsOfName, getJSDateFromEpoch, getPagination, getSpacedDisplayName, getTimeFromEpoch, inputHelper, propTypes, stringToPath, sumArrayOfObjects, uniqueArray, uniqueArrayOfObjects, useOutsideClickListener, usePagination, useResize, useRowFilter };
|