@helpdice/ui 1.6.1 → 1.6.3
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/auto-complete/auto-complete.d.ts +2 -1
- package/dist/auto-complete/index.js +11 -9
- package/dist/button/button.d.ts +2 -2
- package/dist/button/index.js +13 -13
- package/dist/button/styles.d.ts +2 -2
- package/dist/checkbox/checkbox.d.ts +1 -0
- package/dist/checkbox/index.js +15 -7
- package/dist/index.js +50 -40
- package/dist/input/index.js +8 -8
- package/dist/input/input-props.d.ts +2 -2
- package/dist/input/password.d.ts +2 -2
- package/dist/modal/index.js +13 -13
- package/dist/table/index.js +31 -31
- package/dist/ui-provider/index.js +14 -14
- package/esm/auto-complete/auto-complete.d.ts +2 -1
- package/esm/auto-complete/auto-complete.js +3 -1
- package/esm/button/button.d.ts +2 -2
- package/esm/button/button.js +6 -6
- package/esm/button/styles.d.ts +2 -2
- package/esm/button/styles.js +8 -8
- package/esm/checkbox/checkbox.d.ts +1 -0
- package/esm/checkbox/checkbox.js +15 -7
- package/esm/input/input-props.d.ts +2 -2
- package/esm/input/input.js +7 -7
- package/esm/input/password.d.ts +2 -2
- package/esm/input/password.js +1 -1
- package/esm/table/data-table.js +8 -8
- package/esm/table/table-head.js +2 -2
- package/esm/use-toasts/helpers.js +1 -1
- package/package.json +1 -2
|
@@ -9,7 +9,8 @@ export type AutoCompleteOption = {
|
|
|
9
9
|
export type AutoCompleteOptions = Array<typeof AutoCompleteItem | AutoCompleteOption | React.ReactElement<AutoCompleteItemProps>>;
|
|
10
10
|
interface Props {
|
|
11
11
|
options?: Array<AutoCompleteOption>;
|
|
12
|
-
|
|
12
|
+
color?: AutoCompleteTypes;
|
|
13
|
+
type?: string;
|
|
13
14
|
initialValue?: string;
|
|
14
15
|
value?: string;
|
|
15
16
|
onChange?: (value: string) => void;
|
|
@@ -1322,7 +1322,7 @@ var withScale = function withScale(Render) {
|
|
|
1322
1322
|
return ScaleFC;
|
|
1323
1323
|
};
|
|
1324
1324
|
|
|
1325
|
-
var _excluded$5 = ["label", "labelRight", "
|
|
1325
|
+
var _excluded$5 = ["label", "labelRight", "color", "error", "type", "icon", "iconRight", "iconClickable", "onIconClick", "initialValue", "onChange", "readOnly", "value", "onClearClick", "clearable", "className", "onBlur", "onFocus", "autoComplete", "placeholder", "children", "disabled"];
|
|
1326
1326
|
var simulateChangeEvent = function simulateChangeEvent(el, event) {
|
|
1327
1327
|
return _objectSpread2(_objectSpread2({}, event), {}, {
|
|
1328
1328
|
target: el,
|
|
@@ -1332,11 +1332,11 @@ var simulateChangeEvent = function simulateChangeEvent(el, event) {
|
|
|
1332
1332
|
var InputComponent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1333
1333
|
var label = _ref.label,
|
|
1334
1334
|
labelRight = _ref.labelRight,
|
|
1335
|
-
_ref$
|
|
1336
|
-
|
|
1335
|
+
_ref$color = _ref.color,
|
|
1336
|
+
_color = _ref$color === void 0 ? 'default' : _ref$color,
|
|
1337
1337
|
error = _ref.error,
|
|
1338
|
-
_ref$
|
|
1339
|
-
|
|
1338
|
+
_ref$type = _ref.type,
|
|
1339
|
+
type = _ref$type === void 0 ? 'text' : _ref$type,
|
|
1340
1340
|
icon = _ref.icon,
|
|
1341
1341
|
iconRight = _ref.iconRight,
|
|
1342
1342
|
_ref$iconClickable = _ref.iconClickable,
|
|
@@ -1388,7 +1388,7 @@ var InputComponent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
1388
1388
|
return iconRight ? 'right-icon' : icon ? 'left-icon' : '';
|
|
1389
1389
|
}, [icon, iconRight]);
|
|
1390
1390
|
var _useMemo = React.useMemo(function () {
|
|
1391
|
-
return getColors(theme.palette,
|
|
1391
|
+
return getColors(theme.palette, _color);
|
|
1392
1392
|
}, [theme.palette, type]),
|
|
1393
1393
|
color = _useMemo.color,
|
|
1394
1394
|
borderColor = _useMemo.borderColor,
|
|
@@ -1449,7 +1449,7 @@ var InputComponent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
1449
1449
|
}, icon && /*#__PURE__*/React.createElement(InputIcon, _extends({
|
|
1450
1450
|
icon: icon
|
|
1451
1451
|
}, iconProps)), /*#__PURE__*/React.createElement("input", _extends({
|
|
1452
|
-
type:
|
|
1452
|
+
type: type,
|
|
1453
1453
|
ref: inputRef,
|
|
1454
1454
|
placeholder: placeholder,
|
|
1455
1455
|
disabled: disabled,
|
|
@@ -1653,7 +1653,7 @@ var InputPasswordComponent = /*#__PURE__*/React.forwardRef(function (_ref, ref)
|
|
|
1653
1653
|
ref: inputRef,
|
|
1654
1654
|
iconClickable: true,
|
|
1655
1655
|
onIconClick: iconClickHandler,
|
|
1656
|
-
|
|
1656
|
+
type: visible ? 'text' : 'password'
|
|
1657
1657
|
});
|
|
1658
1658
|
}, [props, iconClickHandler, visible, inputRef]);
|
|
1659
1659
|
var icon = React.useMemo(function () {
|
|
@@ -12041,7 +12041,7 @@ const HelpCircle = ({ color, strokeWidth, set }) => {
|
|
|
12041
12041
|
HelpCircle.displayName = "HelpCircle";
|
|
12042
12042
|
createIcon(HelpCircle);
|
|
12043
12043
|
|
|
12044
|
-
var _excluded = ["options", "initialValue", "onSelect", "onSearch", "onChange", "searching", "children", "type", "value", "clearable", "disabled", "dropdownClassName", "dropdownStyle", "disableMatchWidth", "disableFreeSolo", "getPopupContainer"];
|
|
12044
|
+
var _excluded = ["options", "initialValue", "onSelect", "onSearch", "onChange", "searching", "children", "type", "color", "value", "clearable", "disabled", "dropdownClassName", "dropdownStyle", "disableMatchWidth", "disableFreeSolo", "getPopupContainer"];
|
|
12045
12045
|
var childrenToOptionsNode = function childrenToOptionsNode(options) {
|
|
12046
12046
|
return options.map(function (item, index) {
|
|
12047
12047
|
var key = "auto-complete-item-".concat(index);
|
|
@@ -12077,6 +12077,7 @@ var AutoCompleteComponent = /*#__PURE__*/React.forwardRef(function (_ref, userRe
|
|
|
12077
12077
|
searching = _ref.searching,
|
|
12078
12078
|
children = _ref.children,
|
|
12079
12079
|
type = _ref.type,
|
|
12080
|
+
color = _ref.color,
|
|
12080
12081
|
value = _ref.value,
|
|
12081
12082
|
_ref$clearable = _ref.clearable,
|
|
12082
12083
|
clearable = _ref$clearable === void 0 ? false : _ref$clearable,
|
|
@@ -12201,6 +12202,7 @@ var AutoCompleteComponent = /*#__PURE__*/React.forwardRef(function (_ref, userRe
|
|
|
12201
12202
|
fullWidth: true,
|
|
12202
12203
|
ref: inputRef,
|
|
12203
12204
|
type: type,
|
|
12205
|
+
color: color,
|
|
12204
12206
|
onChange: onInputChange,
|
|
12205
12207
|
onFocus: function onFocus() {
|
|
12206
12208
|
return toggleFocusHandler(true);
|
package/dist/button/button.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ButtonTypes } from '../utils/prop-types';
|
|
3
3
|
interface Props {
|
|
4
|
-
|
|
4
|
+
color?: ButtonTypes;
|
|
5
5
|
ghost?: boolean;
|
|
6
6
|
loading?: boolean;
|
|
7
7
|
shadow?: boolean;
|
|
@@ -9,7 +9,7 @@ interface Props {
|
|
|
9
9
|
auto?: boolean;
|
|
10
10
|
effect?: boolean;
|
|
11
11
|
disabled?: boolean;
|
|
12
|
-
|
|
12
|
+
type?: React.ButtonHTMLAttributes<any>['type'];
|
|
13
13
|
icon?: React.ReactNode;
|
|
14
14
|
iconRight?: React.ReactNode;
|
|
15
15
|
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
package/dist/button/index.js
CHANGED
|
@@ -1387,7 +1387,7 @@ var addColorAlpha = function addColorAlpha(color, alpha) {
|
|
|
1387
1387
|
return "rgba(".concat(r, ", ").concat(g, ", ").concat(b, ", ").concat(safeAlpha, ")");
|
|
1388
1388
|
};
|
|
1389
1389
|
|
|
1390
|
-
var getButtonGhostColors = function getButtonGhostColors(palette,
|
|
1390
|
+
var getButtonGhostColors = function getButtonGhostColors(palette, _color) {
|
|
1391
1391
|
var colors = {
|
|
1392
1392
|
secondary: {
|
|
1393
1393
|
bg: palette.background,
|
|
@@ -1410,10 +1410,10 @@ var getButtonGhostColors = function getButtonGhostColors(palette, type) {
|
|
|
1410
1410
|
color: palette.error
|
|
1411
1411
|
}
|
|
1412
1412
|
};
|
|
1413
|
-
return colors[
|
|
1413
|
+
return colors[_color] || null;
|
|
1414
1414
|
};
|
|
1415
1415
|
var getButtonColors = function getButtonColors(palette, props) {
|
|
1416
|
-
var
|
|
1416
|
+
var color = props.color,
|
|
1417
1417
|
disabled = props.disabled,
|
|
1418
1418
|
ghost = props.ghost;
|
|
1419
1419
|
var colors = {
|
|
@@ -1461,12 +1461,12 @@ var getButtonColors = function getButtonColors(palette, props) {
|
|
|
1461
1461
|
* Color['success'] === Color['success-light']
|
|
1462
1462
|
* Color['warning'] === Color['warning-light']
|
|
1463
1463
|
*/
|
|
1464
|
-
var withoutLightType =
|
|
1464
|
+
var withoutLightType = color === null || color === void 0 ? void 0 : color.replace('-light', '');
|
|
1465
1465
|
var defaultColor = colors["default"];
|
|
1466
1466
|
if (ghost) return getButtonGhostColors(palette, withoutLightType) || defaultColor;
|
|
1467
1467
|
return colors[withoutLightType] || defaultColor;
|
|
1468
1468
|
};
|
|
1469
|
-
var getButtonGhostHoverColors = function getButtonGhostHoverColors(palette,
|
|
1469
|
+
var getButtonGhostHoverColors = function getButtonGhostHoverColors(palette, _color) {
|
|
1470
1470
|
var colors = {
|
|
1471
1471
|
secondary: {
|
|
1472
1472
|
bg: palette.foreground,
|
|
@@ -1489,11 +1489,11 @@ var getButtonGhostHoverColors = function getButtonGhostHoverColors(palette, type
|
|
|
1489
1489
|
color: 'white'
|
|
1490
1490
|
}
|
|
1491
1491
|
};
|
|
1492
|
-
var withoutLightType =
|
|
1492
|
+
var withoutLightType = _color.replace('-light', '');
|
|
1493
1493
|
return colors[withoutLightType] || null;
|
|
1494
1494
|
};
|
|
1495
1495
|
var getButtonHoverColors = function getButtonHoverColors(palette, props) {
|
|
1496
|
-
var
|
|
1496
|
+
var color = props.color,
|
|
1497
1497
|
disabled = props.disabled,
|
|
1498
1498
|
loading = props.loading,
|
|
1499
1499
|
shadow = props.shadow,
|
|
@@ -1548,7 +1548,7 @@ var getButtonHoverColors = function getButtonHoverColors(palette, props) {
|
|
|
1548
1548
|
color: 'transparent'
|
|
1549
1549
|
});
|
|
1550
1550
|
if (shadow) return defaultColor;
|
|
1551
|
-
var hoverColor = (ghost ? getButtonGhostHoverColors(palette,
|
|
1551
|
+
var hoverColor = (ghost ? getButtonGhostHoverColors(palette, color) : colors[color]) || colors["default"];
|
|
1552
1552
|
return _objectSpread2(_objectSpread2({}, hoverColor), {}, {
|
|
1553
1553
|
color: hoverColor.color || hoverColor.border
|
|
1554
1554
|
});
|
|
@@ -1574,7 +1574,7 @@ var getButtonDripColor = function getButtonDripColor(palette, props) {
|
|
|
1574
1574
|
return isLightHover ? addColorAlpha(hoverColors.bg, 0.65) : addColorAlpha(palette.accents_2, 0.65);
|
|
1575
1575
|
};
|
|
1576
1576
|
|
|
1577
|
-
var _excluded = ["children", "disabled", "
|
|
1577
|
+
var _excluded = ["children", "disabled", "color", "loading", "shadow", "ghost", "effect", "round", "onClick", "auto", "icon", "type", "iconRight", "className", "crossOrigin"];
|
|
1578
1578
|
var ButtonComponent = /*#__PURE__*/React$1.forwardRef(function (btnProps, ref) {
|
|
1579
1579
|
var theme = useTheme();
|
|
1580
1580
|
var _useScale = useScale(),
|
|
@@ -1601,7 +1601,7 @@ var ButtonComponent = /*#__PURE__*/React$1.forwardRef(function (btnProps, ref) {
|
|
|
1601
1601
|
var children = filteredProps.children,
|
|
1602
1602
|
_filteredProps$disabl = filteredProps.disabled,
|
|
1603
1603
|
disabled = _filteredProps$disabl === void 0 ? false : _filteredProps$disabl;
|
|
1604
|
-
filteredProps.
|
|
1604
|
+
filteredProps.color;
|
|
1605
1605
|
var _filteredProps$loadin = filteredProps.loading,
|
|
1606
1606
|
loading = _filteredProps$loadin === void 0 ? false : _filteredProps$loadin,
|
|
1607
1607
|
_filteredProps$shadow = filteredProps.shadow,
|
|
@@ -1616,8 +1616,8 @@ var ButtonComponent = /*#__PURE__*/React$1.forwardRef(function (btnProps, ref) {
|
|
|
1616
1616
|
_filteredProps$auto = filteredProps.auto,
|
|
1617
1617
|
auto = _filteredProps$auto === void 0 ? false : _filteredProps$auto,
|
|
1618
1618
|
icon = filteredProps.icon,
|
|
1619
|
-
_filteredProps$
|
|
1620
|
-
|
|
1619
|
+
_filteredProps$type = filteredProps.type,
|
|
1620
|
+
type = _filteredProps$type === void 0 ? 'button' : _filteredProps$type,
|
|
1621
1621
|
iconRight = filteredProps.iconRight,
|
|
1622
1622
|
_filteredProps$classN = filteredProps.className,
|
|
1623
1623
|
className = _filteredProps$classN === void 0 ? '' : _filteredProps$classN;
|
|
@@ -1671,7 +1671,7 @@ var ButtonComponent = /*#__PURE__*/React$1.forwardRef(function (btnProps, ref) {
|
|
|
1671
1671
|
paddingRight = auto ? SCALES.pr(1.15) : SCALES.pr(1.375);
|
|
1672
1672
|
return /*#__PURE__*/React$1.createElement("button", _extends({
|
|
1673
1673
|
ref: buttonRef,
|
|
1674
|
-
type:
|
|
1674
|
+
type: type,
|
|
1675
1675
|
disabled: disabled,
|
|
1676
1676
|
onClick: clickHandler
|
|
1677
1677
|
}, props, {
|
package/dist/button/styles.d.ts
CHANGED
|
@@ -6,9 +6,9 @@ export interface ButtonColorGroup {
|
|
|
6
6
|
border: string;
|
|
7
7
|
color: string;
|
|
8
8
|
}
|
|
9
|
-
export declare const getButtonGhostColors: (palette: HUIThemesPalette,
|
|
9
|
+
export declare const getButtonGhostColors: (palette: HUIThemesPalette, _color: ButtonTypes) => ButtonColorGroup | null;
|
|
10
10
|
export declare const getButtonColors: (palette: HUIThemesPalette, props: ButtonProps) => ButtonColorGroup;
|
|
11
|
-
export declare const getButtonGhostHoverColors: (palette: HUIThemesPalette,
|
|
11
|
+
export declare const getButtonGhostHoverColors: (palette: HUIThemesPalette, _color: ButtonTypes) => ButtonColorGroup | null;
|
|
12
12
|
export declare const getButtonHoverColors: (palette: HUIThemesPalette, props: ButtonProps) => ButtonColorGroup;
|
|
13
13
|
export interface ButtonCursorGroup {
|
|
14
14
|
cursor: string;
|
package/dist/checkbox/index.js
CHANGED
|
@@ -1275,7 +1275,7 @@ var useClasses = function useClasses() {
|
|
|
1275
1275
|
return classes.trim();
|
|
1276
1276
|
};
|
|
1277
1277
|
|
|
1278
|
-
var _excluded$1 = ["checked", "initialChecked", "disabled", "onChange", "className", "children", "type", "value"];
|
|
1278
|
+
var _excluded$1 = ["checked", "initialChecked", "disabled", "onChange", "className", "children", "type", "value", "block"];
|
|
1279
1279
|
var CheckboxComponent = function CheckboxComponent(_ref) {
|
|
1280
1280
|
var checked = _ref.checked,
|
|
1281
1281
|
_ref$initialChecked = _ref.initialChecked,
|
|
@@ -1290,6 +1290,8 @@ var CheckboxComponent = function CheckboxComponent(_ref) {
|
|
|
1290
1290
|
type = _ref$type === void 0 ? 'default' : _ref$type,
|
|
1291
1291
|
_ref$value = _ref.value,
|
|
1292
1292
|
value = _ref$value === void 0 ? '' : _ref$value,
|
|
1293
|
+
_ref$block = _ref.block,
|
|
1294
|
+
block = _ref$block === void 0 ? false : _ref$block,
|
|
1293
1295
|
props = _objectWithoutProperties(_ref, _excluded$1);
|
|
1294
1296
|
var theme = useTheme();
|
|
1295
1297
|
var _useScale = useScale(),
|
|
@@ -1341,7 +1343,13 @@ var CheckboxComponent = function CheckboxComponent(_ref) {
|
|
|
1341
1343
|
setSelfChecked(checked);
|
|
1342
1344
|
}, [checked]);
|
|
1343
1345
|
return /*#__PURE__*/React.createElement("label", {
|
|
1344
|
-
|
|
1346
|
+
style: block ? {
|
|
1347
|
+
backgroundColor: '#efefef',
|
|
1348
|
+
padding: '20px 15px',
|
|
1349
|
+
height: '2.5rem',
|
|
1350
|
+
width: '100%'
|
|
1351
|
+
} : {},
|
|
1352
|
+
className: _JSXStyle.dynamic([["204928356", [SCALES.font(1.1), isDisabled ? 'not-allowed' : 'pointer', isDisabled ? 0.75 : 1, SCALES.width(1, 'auto'), SCALES.height(1, 'var(--checkbox-size)'), SCALES.pt(0), SCALES.pr(0), SCALES.pb(0), SCALES.pl(0), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), isDisabled ? 'not-allowed' : 'pointer']]]) + " " + (classes || "")
|
|
1345
1353
|
}, /*#__PURE__*/React.createElement(CheckboxIcon, {
|
|
1346
1354
|
fill: fill,
|
|
1347
1355
|
bg: bg,
|
|
@@ -1353,13 +1361,13 @@ var CheckboxComponent = function CheckboxComponent(_ref) {
|
|
|
1353
1361
|
checked: selfChecked,
|
|
1354
1362
|
onChange: changeHandle
|
|
1355
1363
|
}, props, {
|
|
1356
|
-
className: _JSXStyle.dynamic([["
|
|
1364
|
+
className: _JSXStyle.dynamic([["204928356", [SCALES.font(1.1), isDisabled ? 'not-allowed' : 'pointer', isDisabled ? 0.75 : 1, SCALES.width(1, 'auto'), SCALES.height(1, 'var(--checkbox-size)'), SCALES.pt(0), SCALES.pr(0), SCALES.pb(0), SCALES.pl(0), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), isDisabled ? 'not-allowed' : 'pointer']]]) + " " + (props && props.className != null && props.className || "")
|
|
1357
1365
|
})), /*#__PURE__*/React.createElement("span", {
|
|
1358
|
-
className: _JSXStyle.dynamic([["
|
|
1366
|
+
className: _JSXStyle.dynamic([["204928356", [SCALES.font(1.1), isDisabled ? 'not-allowed' : 'pointer', isDisabled ? 0.75 : 1, SCALES.width(1, 'auto'), SCALES.height(1, 'var(--checkbox-size)'), SCALES.pt(0), SCALES.pr(0), SCALES.pb(0), SCALES.pl(0), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), isDisabled ? 'not-allowed' : 'pointer']]]) + " " + "text"
|
|
1359
1367
|
}, children), /*#__PURE__*/React.createElement(_JSXStyle, {
|
|
1360
|
-
id: "
|
|
1361
|
-
dynamic: [SCALES.font(
|
|
1362
|
-
}, ".checkbox.__jsx-style-dynamic-selector{--checkbox-size:".concat(SCALES.font(
|
|
1368
|
+
id: "204928356",
|
|
1369
|
+
dynamic: [SCALES.font(1.1), isDisabled ? 'not-allowed' : 'pointer', isDisabled ? 0.75 : 1, SCALES.width(1, 'auto'), SCALES.height(1, 'var(--checkbox-size)'), SCALES.pt(0), SCALES.pr(0), SCALES.pb(0), SCALES.pl(0), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), isDisabled ? 'not-allowed' : 'pointer']
|
|
1370
|
+
}, ".checkbox.__jsx-style-dynamic-selector{--checkbox-size:".concat(SCALES.font(1.1), ";display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:").concat(isDisabled ? 'not-allowed' : 'pointer', ";opacity:").concat(isDisabled ? 0.75 : 1, ";line-height:var(--checkbox-size);width:").concat(SCALES.width(1, 'auto'), ";height:").concat(SCALES.height(1, 'var(--checkbox-size)'), ";padding:").concat(SCALES.pt(0), " ").concat(SCALES.pr(0), " ").concat(SCALES.pb(0), " ").concat(SCALES.pl(0), ";margin:").concat(SCALES.mt(0), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0), " ").concat(SCALES.ml(0), ";}.text.__jsx-style-dynamic-selector{font-size:var(--checkbox-size);line-height:var(--checkbox-size);padding-left:calc(var(--checkbox-size) * 0.5);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:").concat(isDisabled ? 'not-allowed' : 'pointer', ";}input.__jsx-style-dynamic-selector{opacity:0;outline:none;position:absolute;width:0;height:0;margin:0;padding:0;z-index:-1;font-size:0;background-color:transparent;}")));
|
|
1363
1371
|
};
|
|
1364
1372
|
CheckboxComponent.displayName = 'Checkbox';
|
|
1365
1373
|
var Checkbox = withScale(CheckboxComponent);
|
package/dist/index.js
CHANGED
|
@@ -1814,7 +1814,7 @@ var withScale = function withScale(Render) {
|
|
|
1814
1814
|
return ScaleFC;
|
|
1815
1815
|
};
|
|
1816
1816
|
|
|
1817
|
-
var _excluded$1o = ["label", "labelRight", "
|
|
1817
|
+
var _excluded$1o = ["label", "labelRight", "color", "error", "type", "icon", "iconRight", "iconClickable", "onIconClick", "initialValue", "onChange", "readOnly", "value", "onClearClick", "clearable", "className", "onBlur", "onFocus", "autoComplete", "placeholder", "children", "disabled"];
|
|
1818
1818
|
var simulateChangeEvent = function simulateChangeEvent(el, event) {
|
|
1819
1819
|
return _objectSpread2(_objectSpread2({}, event), {}, {
|
|
1820
1820
|
target: el,
|
|
@@ -1824,11 +1824,11 @@ var simulateChangeEvent = function simulateChangeEvent(el, event) {
|
|
|
1824
1824
|
var InputComponent = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
|
|
1825
1825
|
var label = _ref.label,
|
|
1826
1826
|
labelRight = _ref.labelRight,
|
|
1827
|
-
_ref$
|
|
1828
|
-
|
|
1827
|
+
_ref$color = _ref.color,
|
|
1828
|
+
_color = _ref$color === void 0 ? 'default' : _ref$color,
|
|
1829
1829
|
error = _ref.error,
|
|
1830
|
-
_ref$
|
|
1831
|
-
|
|
1830
|
+
_ref$type = _ref.type,
|
|
1831
|
+
type = _ref$type === void 0 ? 'text' : _ref$type,
|
|
1832
1832
|
icon = _ref.icon,
|
|
1833
1833
|
iconRight = _ref.iconRight,
|
|
1834
1834
|
_ref$iconClickable = _ref.iconClickable,
|
|
@@ -1880,7 +1880,7 @@ var InputComponent = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
|
|
|
1880
1880
|
return iconRight ? 'right-icon' : icon ? 'left-icon' : '';
|
|
1881
1881
|
}, [icon, iconRight]);
|
|
1882
1882
|
var _useMemo = React$1.useMemo(function () {
|
|
1883
|
-
return getColors$8(theme.palette,
|
|
1883
|
+
return getColors$8(theme.palette, _color);
|
|
1884
1884
|
}, [theme.palette, type]),
|
|
1885
1885
|
color = _useMemo.color,
|
|
1886
1886
|
borderColor = _useMemo.borderColor,
|
|
@@ -1941,7 +1941,7 @@ var InputComponent = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
|
|
|
1941
1941
|
}, icon && /*#__PURE__*/React$1.createElement(InputIcon, _extends({
|
|
1942
1942
|
icon: icon
|
|
1943
1943
|
}, iconProps)), /*#__PURE__*/React$1.createElement("input", _extends({
|
|
1944
|
-
type:
|
|
1944
|
+
type: type,
|
|
1945
1945
|
ref: inputRef,
|
|
1946
1946
|
placeholder: placeholder,
|
|
1947
1947
|
disabled: disabled,
|
|
@@ -2151,7 +2151,7 @@ var InputPasswordComponent = /*#__PURE__*/React$1.forwardRef(function (_ref, ref
|
|
|
2151
2151
|
ref: inputRef,
|
|
2152
2152
|
iconClickable: true,
|
|
2153
2153
|
onIconClick: iconClickHandler,
|
|
2154
|
-
|
|
2154
|
+
type: visible ? 'text' : 'password'
|
|
2155
2155
|
});
|
|
2156
2156
|
}, [props, iconClickHandler, visible, inputRef]);
|
|
2157
2157
|
var icon = React$1.useMemo(function () {
|
|
@@ -12566,7 +12566,7 @@ const HelpCircle = ({ color, strokeWidth, set }) => {
|
|
|
12566
12566
|
HelpCircle.displayName = "HelpCircle";
|
|
12567
12567
|
createIcon(HelpCircle);
|
|
12568
12568
|
|
|
12569
|
-
var _excluded$1j = ["options", "initialValue", "onSelect", "onSearch", "onChange", "searching", "children", "type", "value", "clearable", "disabled", "dropdownClassName", "dropdownStyle", "disableMatchWidth", "disableFreeSolo", "getPopupContainer"];
|
|
12569
|
+
var _excluded$1j = ["options", "initialValue", "onSelect", "onSearch", "onChange", "searching", "children", "type", "color", "value", "clearable", "disabled", "dropdownClassName", "dropdownStyle", "disableMatchWidth", "disableFreeSolo", "getPopupContainer"];
|
|
12570
12570
|
var childrenToOptionsNode = function childrenToOptionsNode(options) {
|
|
12571
12571
|
return options.map(function (item, index) {
|
|
12572
12572
|
var key = "auto-complete-item-".concat(index);
|
|
@@ -12602,6 +12602,7 @@ var AutoCompleteComponent = /*#__PURE__*/React$1.forwardRef(function (_ref, user
|
|
|
12602
12602
|
searching = _ref.searching,
|
|
12603
12603
|
children = _ref.children,
|
|
12604
12604
|
type = _ref.type,
|
|
12605
|
+
color = _ref.color,
|
|
12605
12606
|
value = _ref.value,
|
|
12606
12607
|
_ref$clearable = _ref.clearable,
|
|
12607
12608
|
clearable = _ref$clearable === void 0 ? false : _ref$clearable,
|
|
@@ -12726,6 +12727,7 @@ var AutoCompleteComponent = /*#__PURE__*/React$1.forwardRef(function (_ref, user
|
|
|
12726
12727
|
fullWidth: true,
|
|
12727
12728
|
ref: inputRef,
|
|
12728
12729
|
type: type,
|
|
12730
|
+
color: color,
|
|
12729
12731
|
onChange: onInputChange,
|
|
12730
12732
|
onFocus: function onFocus() {
|
|
12731
12733
|
return toggleFocusHandler(true);
|
|
@@ -13259,7 +13261,7 @@ var useButtonGroupContext = function useButtonGroupContext() {
|
|
|
13259
13261
|
return React$1.useContext(ButtonGroupContext);
|
|
13260
13262
|
};
|
|
13261
13263
|
|
|
13262
|
-
var getButtonGhostColors = function getButtonGhostColors(palette,
|
|
13264
|
+
var getButtonGhostColors = function getButtonGhostColors(palette, _color) {
|
|
13263
13265
|
var colors = {
|
|
13264
13266
|
secondary: {
|
|
13265
13267
|
bg: palette.background,
|
|
@@ -13282,10 +13284,10 @@ var getButtonGhostColors = function getButtonGhostColors(palette, type) {
|
|
|
13282
13284
|
color: palette.error
|
|
13283
13285
|
}
|
|
13284
13286
|
};
|
|
13285
|
-
return colors[
|
|
13287
|
+
return colors[_color] || null;
|
|
13286
13288
|
};
|
|
13287
13289
|
var getButtonColors = function getButtonColors(palette, props) {
|
|
13288
|
-
var
|
|
13290
|
+
var color = props.color,
|
|
13289
13291
|
disabled = props.disabled,
|
|
13290
13292
|
ghost = props.ghost;
|
|
13291
13293
|
var colors = {
|
|
@@ -13333,12 +13335,12 @@ var getButtonColors = function getButtonColors(palette, props) {
|
|
|
13333
13335
|
* Color['success'] === Color['success-light']
|
|
13334
13336
|
* Color['warning'] === Color['warning-light']
|
|
13335
13337
|
*/
|
|
13336
|
-
var withoutLightType =
|
|
13338
|
+
var withoutLightType = color === null || color === void 0 ? void 0 : color.replace('-light', '');
|
|
13337
13339
|
var defaultColor = colors["default"];
|
|
13338
13340
|
if (ghost) return getButtonGhostColors(palette, withoutLightType) || defaultColor;
|
|
13339
13341
|
return colors[withoutLightType] || defaultColor;
|
|
13340
13342
|
};
|
|
13341
|
-
var getButtonGhostHoverColors = function getButtonGhostHoverColors(palette,
|
|
13343
|
+
var getButtonGhostHoverColors = function getButtonGhostHoverColors(palette, _color) {
|
|
13342
13344
|
var colors = {
|
|
13343
13345
|
secondary: {
|
|
13344
13346
|
bg: palette.foreground,
|
|
@@ -13361,11 +13363,11 @@ var getButtonGhostHoverColors = function getButtonGhostHoverColors(palette, type
|
|
|
13361
13363
|
color: 'white'
|
|
13362
13364
|
}
|
|
13363
13365
|
};
|
|
13364
|
-
var withoutLightType =
|
|
13366
|
+
var withoutLightType = _color.replace('-light', '');
|
|
13365
13367
|
return colors[withoutLightType] || null;
|
|
13366
13368
|
};
|
|
13367
13369
|
var getButtonHoverColors = function getButtonHoverColors(palette, props) {
|
|
13368
|
-
var
|
|
13370
|
+
var color = props.color,
|
|
13369
13371
|
disabled = props.disabled,
|
|
13370
13372
|
loading = props.loading,
|
|
13371
13373
|
shadow = props.shadow,
|
|
@@ -13420,7 +13422,7 @@ var getButtonHoverColors = function getButtonHoverColors(palette, props) {
|
|
|
13420
13422
|
color: 'transparent'
|
|
13421
13423
|
});
|
|
13422
13424
|
if (shadow) return defaultColor;
|
|
13423
|
-
var hoverColor = (ghost ? getButtonGhostHoverColors(palette,
|
|
13425
|
+
var hoverColor = (ghost ? getButtonGhostHoverColors(palette, color) : colors[color]) || colors["default"];
|
|
13424
13426
|
return _objectSpread2(_objectSpread2({}, hoverColor), {}, {
|
|
13425
13427
|
color: hoverColor.color || hoverColor.border
|
|
13426
13428
|
});
|
|
@@ -13446,7 +13448,7 @@ var getButtonDripColor = function getButtonDripColor(palette, props) {
|
|
|
13446
13448
|
return isLightHover ? addColorAlpha(hoverColors.bg, 0.65) : addColorAlpha(palette.accents_2, 0.65);
|
|
13447
13449
|
};
|
|
13448
13450
|
|
|
13449
|
-
var _excluded$1d = ["children", "disabled", "
|
|
13451
|
+
var _excluded$1d = ["children", "disabled", "color", "loading", "shadow", "ghost", "effect", "round", "onClick", "auto", "icon", "type", "iconRight", "className", "crossOrigin"];
|
|
13450
13452
|
var ButtonComponent = /*#__PURE__*/React$1.forwardRef(function (btnProps, ref) {
|
|
13451
13453
|
var theme = useTheme();
|
|
13452
13454
|
var _useScale = useScale(),
|
|
@@ -13473,7 +13475,7 @@ var ButtonComponent = /*#__PURE__*/React$1.forwardRef(function (btnProps, ref) {
|
|
|
13473
13475
|
var children = filteredProps.children,
|
|
13474
13476
|
_filteredProps$disabl = filteredProps.disabled,
|
|
13475
13477
|
disabled = _filteredProps$disabl === void 0 ? false : _filteredProps$disabl;
|
|
13476
|
-
filteredProps.
|
|
13478
|
+
filteredProps.color;
|
|
13477
13479
|
var _filteredProps$loadin = filteredProps.loading,
|
|
13478
13480
|
loading = _filteredProps$loadin === void 0 ? false : _filteredProps$loadin,
|
|
13479
13481
|
_filteredProps$shadow = filteredProps.shadow,
|
|
@@ -13488,8 +13490,8 @@ var ButtonComponent = /*#__PURE__*/React$1.forwardRef(function (btnProps, ref) {
|
|
|
13488
13490
|
_filteredProps$auto = filteredProps.auto,
|
|
13489
13491
|
auto = _filteredProps$auto === void 0 ? false : _filteredProps$auto,
|
|
13490
13492
|
icon = filteredProps.icon,
|
|
13491
|
-
_filteredProps$
|
|
13492
|
-
|
|
13493
|
+
_filteredProps$type = filteredProps.type,
|
|
13494
|
+
type = _filteredProps$type === void 0 ? 'button' : _filteredProps$type,
|
|
13493
13495
|
iconRight = filteredProps.iconRight,
|
|
13494
13496
|
_filteredProps$classN = filteredProps.className,
|
|
13495
13497
|
className = _filteredProps$classN === void 0 ? '' : _filteredProps$classN;
|
|
@@ -13543,7 +13545,7 @@ var ButtonComponent = /*#__PURE__*/React$1.forwardRef(function (btnProps, ref) {
|
|
|
13543
13545
|
paddingRight = auto ? SCALES.pr(1.15) : SCALES.pr(1.375);
|
|
13544
13546
|
return /*#__PURE__*/React$1.createElement("button", _extends({
|
|
13545
13547
|
ref: buttonRef,
|
|
13546
|
-
type:
|
|
13548
|
+
type: type,
|
|
13547
13549
|
disabled: disabled,
|
|
13548
13550
|
onClick: clickHandler
|
|
13549
13551
|
}, props, {
|
|
@@ -14442,7 +14444,7 @@ var getColors$7 = function getColors(palette, status) {
|
|
|
14442
14444
|
return colors[status];
|
|
14443
14445
|
};
|
|
14444
14446
|
|
|
14445
|
-
var _excluded$12 = ["checked", "initialChecked", "disabled", "onChange", "className", "children", "type", "value"];
|
|
14447
|
+
var _excluded$12 = ["checked", "initialChecked", "disabled", "onChange", "className", "children", "type", "value", "block"];
|
|
14446
14448
|
var CheckboxComponent = function CheckboxComponent(_ref) {
|
|
14447
14449
|
var checked = _ref.checked,
|
|
14448
14450
|
_ref$initialChecked = _ref.initialChecked,
|
|
@@ -14457,6 +14459,8 @@ var CheckboxComponent = function CheckboxComponent(_ref) {
|
|
|
14457
14459
|
type = _ref$type === void 0 ? 'default' : _ref$type,
|
|
14458
14460
|
_ref$value = _ref.value,
|
|
14459
14461
|
value = _ref$value === void 0 ? '' : _ref$value,
|
|
14462
|
+
_ref$block = _ref.block,
|
|
14463
|
+
block = _ref$block === void 0 ? false : _ref$block,
|
|
14460
14464
|
props = _objectWithoutProperties(_ref, _excluded$12);
|
|
14461
14465
|
var theme = useTheme();
|
|
14462
14466
|
var _useScale = useScale(),
|
|
@@ -14508,7 +14512,13 @@ var CheckboxComponent = function CheckboxComponent(_ref) {
|
|
|
14508
14512
|
setSelfChecked(checked);
|
|
14509
14513
|
}, [checked]);
|
|
14510
14514
|
return /*#__PURE__*/React$1.createElement("label", {
|
|
14511
|
-
|
|
14515
|
+
style: block ? {
|
|
14516
|
+
backgroundColor: '#efefef',
|
|
14517
|
+
padding: '20px 15px',
|
|
14518
|
+
height: '2.5rem',
|
|
14519
|
+
width: '100%'
|
|
14520
|
+
} : {},
|
|
14521
|
+
className: _JSXStyle.dynamic([["204928356", [SCALES.font(1.1), isDisabled ? 'not-allowed' : 'pointer', isDisabled ? 0.75 : 1, SCALES.width(1, 'auto'), SCALES.height(1, 'var(--checkbox-size)'), SCALES.pt(0), SCALES.pr(0), SCALES.pb(0), SCALES.pl(0), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), isDisabled ? 'not-allowed' : 'pointer']]]) + " " + (classes || "")
|
|
14512
14522
|
}, /*#__PURE__*/React$1.createElement(CheckboxIcon, {
|
|
14513
14523
|
fill: fill,
|
|
14514
14524
|
bg: bg,
|
|
@@ -14520,13 +14530,13 @@ var CheckboxComponent = function CheckboxComponent(_ref) {
|
|
|
14520
14530
|
checked: selfChecked,
|
|
14521
14531
|
onChange: changeHandle
|
|
14522
14532
|
}, props, {
|
|
14523
|
-
className: _JSXStyle.dynamic([["
|
|
14533
|
+
className: _JSXStyle.dynamic([["204928356", [SCALES.font(1.1), isDisabled ? 'not-allowed' : 'pointer', isDisabled ? 0.75 : 1, SCALES.width(1, 'auto'), SCALES.height(1, 'var(--checkbox-size)'), SCALES.pt(0), SCALES.pr(0), SCALES.pb(0), SCALES.pl(0), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), isDisabled ? 'not-allowed' : 'pointer']]]) + " " + (props && props.className != null && props.className || "")
|
|
14524
14534
|
})), /*#__PURE__*/React$1.createElement("span", {
|
|
14525
|
-
className: _JSXStyle.dynamic([["
|
|
14535
|
+
className: _JSXStyle.dynamic([["204928356", [SCALES.font(1.1), isDisabled ? 'not-allowed' : 'pointer', isDisabled ? 0.75 : 1, SCALES.width(1, 'auto'), SCALES.height(1, 'var(--checkbox-size)'), SCALES.pt(0), SCALES.pr(0), SCALES.pb(0), SCALES.pl(0), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), isDisabled ? 'not-allowed' : 'pointer']]]) + " " + "text"
|
|
14526
14536
|
}, children), /*#__PURE__*/React$1.createElement(_JSXStyle, {
|
|
14527
|
-
id: "
|
|
14528
|
-
dynamic: [SCALES.font(
|
|
14529
|
-
}, ".checkbox.__jsx-style-dynamic-selector{--checkbox-size:".concat(SCALES.font(
|
|
14537
|
+
id: "204928356",
|
|
14538
|
+
dynamic: [SCALES.font(1.1), isDisabled ? 'not-allowed' : 'pointer', isDisabled ? 0.75 : 1, SCALES.width(1, 'auto'), SCALES.height(1, 'var(--checkbox-size)'), SCALES.pt(0), SCALES.pr(0), SCALES.pb(0), SCALES.pl(0), SCALES.mt(0), SCALES.mr(0), SCALES.mb(0), SCALES.ml(0), isDisabled ? 'not-allowed' : 'pointer']
|
|
14539
|
+
}, ".checkbox.__jsx-style-dynamic-selector{--checkbox-size:".concat(SCALES.font(1.1), ";display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:").concat(isDisabled ? 'not-allowed' : 'pointer', ";opacity:").concat(isDisabled ? 0.75 : 1, ";line-height:var(--checkbox-size);width:").concat(SCALES.width(1, 'auto'), ";height:").concat(SCALES.height(1, 'var(--checkbox-size)'), ";padding:").concat(SCALES.pt(0), " ").concat(SCALES.pr(0), " ").concat(SCALES.pb(0), " ").concat(SCALES.pl(0), ";margin:").concat(SCALES.mt(0), " ").concat(SCALES.mr(0), " ").concat(SCALES.mb(0), " ").concat(SCALES.ml(0), ";}.text.__jsx-style-dynamic-selector{font-size:var(--checkbox-size);line-height:var(--checkbox-size);padding-left:calc(var(--checkbox-size) * 0.5);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:").concat(isDisabled ? 'not-allowed' : 'pointer', ";}input.__jsx-style-dynamic-selector{opacity:0;outline:none;position:absolute;width:0;height:0;margin:0;padding:0;z-index:-1;font-size:0;background-color:transparent;}")));
|
|
14530
14540
|
};
|
|
14531
14541
|
CheckboxComponent.displayName = 'Checkbox';
|
|
14532
14542
|
var Checkbox = withScale(CheckboxComponent);
|
|
@@ -21843,7 +21853,7 @@ var makeToastActions = function makeToastActions(actions, cancelHandle) {
|
|
|
21843
21853
|
auto: true,
|
|
21844
21854
|
scale: 1 / 3,
|
|
21845
21855
|
font: "13px",
|
|
21846
|
-
|
|
21856
|
+
color: action.passive ? 'default' : 'secondary',
|
|
21847
21857
|
key: "action-".concat(index),
|
|
21848
21858
|
onClick: function onClick(event) {
|
|
21849
21859
|
return handler(event, action.handler);
|
|
@@ -26397,7 +26407,7 @@ var TableHead = function TableHead(props) {
|
|
|
26397
26407
|
}) : null), accessor === 'date' && /*#__PURE__*/React$1.createElement(Input
|
|
26398
26408
|
// id={`filter-date-${filterName}`}
|
|
26399
26409
|
, {
|
|
26400
|
-
|
|
26410
|
+
type: "date"
|
|
26401
26411
|
// name={filterName}
|
|
26402
26412
|
,
|
|
26403
26413
|
value: filters[filterName],
|
|
@@ -26407,7 +26417,7 @@ var TableHead = function TableHead(props) {
|
|
|
26407
26417
|
}), accessor === 'search' && /*#__PURE__*/React$1.createElement(Input
|
|
26408
26418
|
// id={`filter-search-${filterName}`}
|
|
26409
26419
|
, {
|
|
26410
|
-
|
|
26420
|
+
type: "text",
|
|
26411
26421
|
autoComplete: "off"
|
|
26412
26422
|
// ref={filterRefs.current[filterName]} // Dynamically set ref}
|
|
26413
26423
|
// name={filterName}
|
|
@@ -44463,7 +44473,7 @@ function DataTable(_ref) {
|
|
|
44463
44473
|
// <Input
|
|
44464
44474
|
// // id={`filter-date-${filterName}`}
|
|
44465
44475
|
// // key={filterName}
|
|
44466
|
-
//
|
|
44476
|
+
// type="date"
|
|
44467
44477
|
// name={filterName}
|
|
44468
44478
|
// value={filterValues[filterName]}
|
|
44469
44479
|
// onChange={(e) => handleFilterChange(filterName, e.target.value)}
|
|
@@ -44473,7 +44483,7 @@ function DataTable(_ref) {
|
|
|
44473
44483
|
// <Input
|
|
44474
44484
|
// // id={`filter-search-${filterName}`}
|
|
44475
44485
|
// // key={filterName}
|
|
44476
|
-
//
|
|
44486
|
+
// type="text"
|
|
44477
44487
|
// autoComplete="off"
|
|
44478
44488
|
// // ref={filterRefs.current[filterName]} // Dynamically set ref}
|
|
44479
44489
|
// name={filterName}
|
|
@@ -44536,7 +44546,7 @@ function DataTable(_ref) {
|
|
|
44536
44546
|
fontSize: 'larger'
|
|
44537
44547
|
}
|
|
44538
44548
|
}, children && /*#__PURE__*/React$1.createElement(Button, {
|
|
44539
|
-
|
|
44549
|
+
type: "button",
|
|
44540
44550
|
auto: true,
|
|
44541
44551
|
scale: 2 / 3,
|
|
44542
44552
|
px: 0.6,
|
|
@@ -44566,7 +44576,7 @@ function DataTable(_ref) {
|
|
|
44566
44576
|
},
|
|
44567
44577
|
iconRight: /*#__PURE__*/React$1.createElement(Edit, null),
|
|
44568
44578
|
auto: true,
|
|
44569
|
-
|
|
44579
|
+
type: "button",
|
|
44570
44580
|
scale: 2 / 3,
|
|
44571
44581
|
px: 0.6
|
|
44572
44582
|
})) : null, onSelectedDelete && selected.length > 1 ? /*#__PURE__*/React$1.createElement(Tooltip, {
|
|
@@ -44583,7 +44593,7 @@ function DataTable(_ref) {
|
|
|
44583
44593
|
auto: true,
|
|
44584
44594
|
scale: 2 / 3,
|
|
44585
44595
|
px: 0.6,
|
|
44586
|
-
|
|
44596
|
+
type: "button",
|
|
44587
44597
|
iconRight: /*#__PURE__*/React$1.createElement(Delete$1, null)
|
|
44588
44598
|
})) : null, onRefresh ? /*#__PURE__*/React$1.createElement(Tooltip, {
|
|
44589
44599
|
text: "Refresh",
|
|
@@ -44593,7 +44603,7 @@ function DataTable(_ref) {
|
|
|
44593
44603
|
py: 0.4,
|
|
44594
44604
|
type: "dark"
|
|
44595
44605
|
}, /*#__PURE__*/React$1.createElement(Button, {
|
|
44596
|
-
|
|
44606
|
+
type: "button",
|
|
44597
44607
|
onClick: function onClick() {
|
|
44598
44608
|
return onRefresh();
|
|
44599
44609
|
},
|
|
@@ -44609,7 +44619,7 @@ function DataTable(_ref) {
|
|
|
44609
44619
|
py: 0.4,
|
|
44610
44620
|
type: "dark"
|
|
44611
44621
|
}, /*#__PURE__*/React$1.createElement(Button, {
|
|
44612
|
-
|
|
44622
|
+
type: "button",
|
|
44613
44623
|
onClick: handleShowFilter,
|
|
44614
44624
|
auto: true,
|
|
44615
44625
|
scale: 2 / 3,
|
|
@@ -44627,7 +44637,7 @@ function DataTable(_ref) {
|
|
|
44627
44637
|
placement: "bottomEnd",
|
|
44628
44638
|
child: content
|
|
44629
44639
|
}, /*#__PURE__*/React$1.createElement(Button, {
|
|
44630
|
-
|
|
44640
|
+
type: "button",
|
|
44631
44641
|
onClick: function onClick() {},
|
|
44632
44642
|
auto: true,
|
|
44633
44643
|
scale: 2 / 3,
|