@majoo-ui/react 1.54.1-rc.2 → 1.54.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/editableTable/EditableMobile.d.ts +1 -0
- package/components/editableTable/EditableTable.d.ts +4 -0
- package/index.esm.js +221 -177
- package/index.umd.js +232 -182
- package/package.json +1 -1
package/index.umd.js
CHANGED
|
@@ -3661,7 +3661,7 @@
|
|
|
3661
3661
|
onClick: e => {
|
|
3662
3662
|
e.preventDefault();
|
|
3663
3663
|
e.stopPropagation();
|
|
3664
|
-
value
|
|
3664
|
+
value === null || value === void 0 ? void 0 : value.onRemove();
|
|
3665
3665
|
},
|
|
3666
3666
|
__self: undefined,
|
|
3667
3667
|
__source: {
|
|
@@ -3738,7 +3738,7 @@
|
|
|
3738
3738
|
onClick: e => {
|
|
3739
3739
|
e.preventDefault();
|
|
3740
3740
|
e.stopPropagation();
|
|
3741
|
-
props
|
|
3741
|
+
props === null || props === void 0 ? void 0 : props.onRemove();
|
|
3742
3742
|
},
|
|
3743
3743
|
closeCenter: !props.title && !props.link,
|
|
3744
3744
|
__self: undefined,
|
|
@@ -5781,7 +5781,7 @@
|
|
|
5781
5781
|
const [isChecked, setChecked] = React.useState(false);
|
|
5782
5782
|
React.useEffect(() => {
|
|
5783
5783
|
const checkValue = context && context.checkedItems.includes(value) || checked || indeterminate;
|
|
5784
|
-
setChecked(checkValue
|
|
5784
|
+
setChecked(checkValue !== null && checkValue !== void 0 ? checkValue : false);
|
|
5785
5785
|
}, [checked, indeterminate, context]);
|
|
5786
5786
|
return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox, _extends({
|
|
5787
5787
|
id: id,
|
|
@@ -6389,15 +6389,15 @@
|
|
|
6389
6389
|
const textareaRef = React.useRef(null);
|
|
6390
6390
|
React.useEffect(() => {
|
|
6391
6391
|
if (textareaRef.current) {
|
|
6392
|
-
textareaRef.current.style.height = '
|
|
6393
|
-
const scrollHeight = textareaRef
|
|
6394
|
-
textareaRef.current.style.height = scrollHeight +
|
|
6392
|
+
textareaRef.current.style.height = '50px';
|
|
6393
|
+
const scrollHeight = textareaRef === null || textareaRef === void 0 ? void 0 : textareaRef.current.scrollHeight;
|
|
6394
|
+
textareaRef.current.style.height = scrollHeight + 5 + 'px';
|
|
6395
6395
|
}
|
|
6396
6396
|
}, []);
|
|
6397
6397
|
|
|
6398
6398
|
function handleKeyDown(e) {
|
|
6399
|
-
e.target.style.height = '
|
|
6400
|
-
e.target.style.height = `${e.target.scrollHeight +
|
|
6399
|
+
e.target.style.height = '50px';
|
|
6400
|
+
e.target.style.height = `${e.target.scrollHeight + 5}px`;
|
|
6401
6401
|
}
|
|
6402
6402
|
|
|
6403
6403
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextArea, _extends({
|
|
@@ -6432,7 +6432,7 @@
|
|
|
6432
6432
|
var _jsxFileName$F = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadioGroup.js";
|
|
6433
6433
|
const RadioGroup = styled(RadioGroupPrimitive__namespace.Root, Flex$1);
|
|
6434
6434
|
function InputRadioGroup(props) {
|
|
6435
|
-
return (props
|
|
6435
|
+
return (props === null || props === void 0 ? void 0 : props.children) && /*#__PURE__*/React__default["default"].createElement(InputRadioContext.Provider, {
|
|
6436
6436
|
value: props,
|
|
6437
6437
|
__self: this,
|
|
6438
6438
|
__source: {
|
|
@@ -6447,7 +6447,7 @@
|
|
|
6447
6447
|
lineNumber: 14,
|
|
6448
6448
|
columnNumber: 9
|
|
6449
6449
|
}
|
|
6450
|
-
}), React__default["default"].Children.map(props
|
|
6450
|
+
}), React__default["default"].Children.map(props === null || props === void 0 ? void 0 : props.children, child => /*#__PURE__*/React__default["default"].cloneElement(child, {
|
|
6451
6451
|
style: Object.assign({}, child.props.style, {
|
|
6452
6452
|
opacity: 1
|
|
6453
6453
|
})
|
|
@@ -6661,7 +6661,7 @@
|
|
|
6661
6661
|
value,
|
|
6662
6662
|
outlined
|
|
6663
6663
|
}) => {
|
|
6664
|
-
const checked = value
|
|
6664
|
+
const checked = value !== null && value !== void 0 ? value : defaultValue;
|
|
6665
6665
|
return /*#__PURE__*/React__default["default"].createElement(Container$8, {
|
|
6666
6666
|
direction: "column",
|
|
6667
6667
|
outlined: outlined,
|
|
@@ -6911,7 +6911,7 @@
|
|
|
6911
6911
|
size: size,
|
|
6912
6912
|
isInvalid: isInvalid,
|
|
6913
6913
|
readOnly: readOnly,
|
|
6914
|
-
isReadOnly: readOnly && !(props
|
|
6914
|
+
isReadOnly: readOnly && !(props !== null && props !== void 0 && props.inputGroup),
|
|
6915
6915
|
disabled: disabled
|
|
6916
6916
|
}, props, {
|
|
6917
6917
|
__self: undefined,
|
|
@@ -7727,18 +7727,18 @@
|
|
|
7727
7727
|
const addTags = event => {
|
|
7728
7728
|
if (event.key === 'Enter' && event.target.value !== '' && max !== tags.length) {
|
|
7729
7729
|
if (tags.find(tag => tag.toLowerCase() === event.target.value.toLowerCase())) {
|
|
7730
|
-
onEnter
|
|
7730
|
+
onEnter === null || onEnter === void 0 ? void 0 : onEnter({
|
|
7731
7731
|
key: 'duplicate',
|
|
7732
7732
|
value: event.target.value
|
|
7733
7733
|
});
|
|
7734
7734
|
return;
|
|
7735
7735
|
}
|
|
7736
7736
|
|
|
7737
|
-
if (pattern && pattern
|
|
7737
|
+
if (pattern && pattern !== null && pattern !== void 0 && pattern.regex) {
|
|
7738
7738
|
const regex = new RegExp(pattern.regex);
|
|
7739
7739
|
|
|
7740
7740
|
if (!regex.test(event.target.value)) {
|
|
7741
|
-
onEnter
|
|
7741
|
+
onEnter === null || onEnter === void 0 ? void 0 : onEnter({
|
|
7742
7742
|
key: 'error',
|
|
7743
7743
|
value: event.target.value
|
|
7744
7744
|
});
|
|
@@ -7748,7 +7748,7 @@
|
|
|
7748
7748
|
}
|
|
7749
7749
|
|
|
7750
7750
|
setRegexError(false);
|
|
7751
|
-
onEnter
|
|
7751
|
+
onEnter === null || onEnter === void 0 ? void 0 : onEnter({
|
|
7752
7752
|
key: 'success',
|
|
7753
7753
|
value: event.target.value
|
|
7754
7754
|
});
|
|
@@ -7761,7 +7761,7 @@
|
|
|
7761
7761
|
if (disabled || readOnly) {
|
|
7762
7762
|
return tags;
|
|
7763
7763
|
} else if (key === 'removeTag' || key === 'Backspace') {
|
|
7764
|
-
onRemoveItem
|
|
7764
|
+
onRemoveItem === null || onRemoveItem === void 0 ? void 0 : onRemoveItem(tags[index]);
|
|
7765
7765
|
setTags([...tags.filter(tag => tags.indexOf(tag) !== index)]);
|
|
7766
7766
|
}
|
|
7767
7767
|
}; // const handleErrorMessage = () => {
|
|
@@ -7809,7 +7809,7 @@
|
|
|
7809
7809
|
lineNumber: 180,
|
|
7810
7810
|
columnNumber: 9
|
|
7811
7811
|
}
|
|
7812
|
-
})), regexError && pattern && (pattern
|
|
7812
|
+
})), regexError && pattern && (pattern !== null && pattern !== void 0 && pattern.errorMessage ? /*#__PURE__*/React__default["default"].createElement(FormHelper, {
|
|
7813
7813
|
color: "red",
|
|
7814
7814
|
__self: this,
|
|
7815
7815
|
__source: {
|
|
@@ -8921,7 +8921,8 @@
|
|
|
8921
8921
|
suppressRefError: true
|
|
8922
8922
|
}), {
|
|
8923
8923
|
css: {
|
|
8924
|
-
display: isOpen ? 'block' : 'none'
|
|
8924
|
+
display: isOpen ? 'block' : 'none',
|
|
8925
|
+
zIndex: '$popover'
|
|
8925
8926
|
},
|
|
8926
8927
|
placement: placement
|
|
8927
8928
|
}, {
|
|
@@ -9687,10 +9688,10 @@
|
|
|
9687
9688
|
return setItems(sortValue);
|
|
9688
9689
|
}
|
|
9689
9690
|
} else {
|
|
9690
|
-
let filterItems = option
|
|
9691
|
-
var _item$name, _item$name$toLowerCas;
|
|
9691
|
+
let filterItems = option === null || option === void 0 ? void 0 : option.filter(item => {
|
|
9692
|
+
var _item$name, _item$name$toLowerCas, _item$name$toLowerCas2, _input$toLocaleLowerC;
|
|
9692
9693
|
|
|
9693
|
-
return item
|
|
9694
|
+
return item === null || item === void 0 ? void 0 : (_item$name = item.name) === null || _item$name === void 0 ? void 0 : (_item$name$toLowerCas = _item$name.toLowerCase()) === null || _item$name$toLowerCas === void 0 ? void 0 : (_item$name$toLowerCas2 = _item$name$toLowerCas.includes) === null || _item$name$toLowerCas2 === void 0 ? void 0 : _item$name$toLowerCas2.call(_item$name$toLowerCas, input === null || input === void 0 ? void 0 : (_input$toLocaleLowerC = input.toLocaleLowerCase) === null || _input$toLocaleLowerC === void 0 ? void 0 : _input$toLocaleLowerC.call(input));
|
|
9694
9695
|
});
|
|
9695
9696
|
setItems(filterItems);
|
|
9696
9697
|
}
|
|
@@ -9700,9 +9701,9 @@
|
|
|
9700
9701
|
if (disabled || readOnly) {
|
|
9701
9702
|
return selectedValue;
|
|
9702
9703
|
} else {
|
|
9703
|
-
if ((selected
|
|
9704
|
+
if ((selected === null || selected === void 0 ? void 0 : selected.id) === 'counter') {
|
|
9704
9705
|
setSelectedValue([]);
|
|
9705
|
-
onChange
|
|
9706
|
+
onChange === null || onChange === void 0 ? void 0 : onChange([]);
|
|
9706
9707
|
|
|
9707
9708
|
for (let i = 0; i < selectedValue.length; i++) {
|
|
9708
9709
|
removeSelectedItem(selectedValue[i]);
|
|
@@ -9713,7 +9714,7 @@
|
|
|
9713
9714
|
setSelectedValue(filterItems);
|
|
9714
9715
|
|
|
9715
9716
|
if (selected.id !== '!all') {
|
|
9716
|
-
onChange
|
|
9717
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(filterItems);
|
|
9717
9718
|
}
|
|
9718
9719
|
}
|
|
9719
9720
|
}
|
|
@@ -9758,7 +9759,7 @@
|
|
|
9758
9759
|
removeSelectedItem(item);
|
|
9759
9760
|
});
|
|
9760
9761
|
setSelectedValue([]);
|
|
9761
|
-
onChange
|
|
9762
|
+
onChange === null || onChange === void 0 ? void 0 : onChange([]);
|
|
9762
9763
|
} else {
|
|
9763
9764
|
removeItem(selectedItem);
|
|
9764
9765
|
}
|
|
@@ -9773,12 +9774,12 @@
|
|
|
9773
9774
|
itemIds.push(item.id);
|
|
9774
9775
|
});
|
|
9775
9776
|
setSelectedValue(itemIds);
|
|
9776
|
-
onChange
|
|
9777
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(itemIds.slice(1));
|
|
9777
9778
|
} else {
|
|
9778
9779
|
addSelectedItem(selectedItem);
|
|
9779
9780
|
setSelectedValue([...selectedValue, selectedItem.id]);
|
|
9780
9781
|
const filteredSelectedValues = selectedValue.filter(val => val !== '!all');
|
|
9781
|
-
onChange
|
|
9782
|
+
onChange === null || onChange === void 0 ? void 0 : onChange([...filteredSelectedValues, selectedItem.id]);
|
|
9782
9783
|
}
|
|
9783
9784
|
|
|
9784
9785
|
selectItem(null);
|
|
@@ -9930,7 +9931,7 @@
|
|
|
9930
9931
|
lineNumber: 559,
|
|
9931
9932
|
columnNumber: 11
|
|
9932
9933
|
}
|
|
9933
|
-
}, selectedItems
|
|
9934
|
+
}, selectedItems === null || selectedItems === void 0 ? void 0 : (_selectedItems$filter = selectedItems.filter(item => (item === null || item === void 0 ? void 0 : item.id) !== '!all')) === null || _selectedItems$filter === void 0 ? void 0 : _selectedItems$filter.map((selectedItem, index) => /*#__PURE__*/React__default["default"].createElement(Tag, _extends({
|
|
9934
9935
|
disabled: disabled,
|
|
9935
9936
|
isRemovable: readOnly || disabled || unremovableTags.includes(selectedItem.id) ? false : true,
|
|
9936
9937
|
size: size,
|
|
@@ -9954,7 +9955,7 @@
|
|
|
9954
9955
|
lineNumber: 563,
|
|
9955
9956
|
columnNumber: 17
|
|
9956
9957
|
}
|
|
9957
|
-
}), selectedItem.name))), showSelectedTag && showCounter && Boolean(selectedItems
|
|
9958
|
+
}), selectedItem.name))), showSelectedTag && showCounter && Boolean(selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.length) && /*#__PURE__*/React__default["default"].createElement(TagWrapper$1, {
|
|
9958
9959
|
disabled: disabled,
|
|
9959
9960
|
__self: undefined,
|
|
9960
9961
|
__source: {
|
|
@@ -9967,7 +9968,7 @@
|
|
|
9967
9968
|
maxWidth: '150px !important'
|
|
9968
9969
|
},
|
|
9969
9970
|
disabled: disabled,
|
|
9970
|
-
isRemovable: readOnly || disabled || Boolean(selectedItems
|
|
9971
|
+
isRemovable: readOnly || disabled || Boolean(selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.length),
|
|
9971
9972
|
size: size,
|
|
9972
9973
|
readOnly: readOnly // {...getSelectedItemProps({ selectedItem, index })}
|
|
9973
9974
|
,
|
|
@@ -9989,7 +9990,7 @@
|
|
|
9989
9990
|
lineNumber: 586,
|
|
9990
9991
|
columnNumber: 13
|
|
9991
9992
|
}
|
|
9992
|
-
}, `${selectedItems
|
|
9993
|
+
}, `${selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.length} ${labelCounter}`)), /*#__PURE__*/React__default["default"].createElement(OptionWrapper$1, {
|
|
9993
9994
|
placement: placement,
|
|
9994
9995
|
css: {
|
|
9995
9996
|
display: isOpen && disabled === false ? 'block' : 'none',
|
|
@@ -10057,7 +10058,7 @@
|
|
|
10057
10058
|
lineNumber: 640,
|
|
10058
10059
|
columnNumber: 27
|
|
10059
10060
|
}
|
|
10060
|
-
}), showSelectAll && (item
|
|
10061
|
+
}), showSelectAll && (item === null || item === void 0 ? void 0 : item.id) === '!all' && selectedValue !== null && selectedValue !== void 0 && selectedValue.length && (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.length) < (items === null || items === void 0 ? void 0 : items.length) ? /*#__PURE__*/React__default["default"].createElement(IndeterminateFilled, {
|
|
10061
10062
|
__self: undefined,
|
|
10062
10063
|
__source: {
|
|
10063
10064
|
fileName: _jsxFileName$v,
|
|
@@ -11340,8 +11341,8 @@
|
|
|
11340
11341
|
ref: floating,
|
|
11341
11342
|
style: Object.assign({
|
|
11342
11343
|
position: strategy,
|
|
11343
|
-
top: isMobile ? 0 : y
|
|
11344
|
-
left: isMobile ? 0 : x
|
|
11344
|
+
top: isMobile ? 0 : y !== null && y !== void 0 ? y : '',
|
|
11345
|
+
left: isMobile ? 0 : x !== null && x !== void 0 ? x : '',
|
|
11345
11346
|
zIndex: zIndices.popover
|
|
11346
11347
|
}, style)
|
|
11347
11348
|
}), {
|
|
@@ -12574,7 +12575,7 @@
|
|
|
12574
12575
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
|
|
12575
12576
|
|
|
12576
12577
|
const getValue = () => {
|
|
12577
|
-
let value = props
|
|
12578
|
+
let value = props === null || props === void 0 ? void 0 : props.value;
|
|
12578
12579
|
|
|
12579
12580
|
if (typeof value === 'number' || parseInt(value)) {
|
|
12580
12581
|
if (Math.sign(value) === 1 || Math.sign(value) === 0) {
|
|
@@ -17430,7 +17431,7 @@
|
|
|
17430
17431
|
lineNumber: 40,
|
|
17431
17432
|
columnNumber: 11
|
|
17432
17433
|
}
|
|
17433
|
-
}, limits
|
|
17434
|
+
}, limits === null || limits === void 0 ? void 0 : limits.map(limit => /*#__PURE__*/React__default["default"].createElement(PopoverClose, {
|
|
17434
17435
|
key: limit,
|
|
17435
17436
|
css: limitItemContainerStyle(selectedLimit === limit),
|
|
17436
17437
|
onClick: () => onChange(limit),
|
|
@@ -18085,7 +18086,7 @@
|
|
|
18085
18086
|
return {};
|
|
18086
18087
|
};
|
|
18087
18088
|
|
|
18088
|
-
var stickyShadowStyling = function stickyShadowStyling(column) {
|
|
18089
|
+
var stickyShadowStyling = function stickyShadowStyling(column, tableScrollPosition) {
|
|
18089
18090
|
var cssAfter = {
|
|
18090
18091
|
position: 'absolute',
|
|
18091
18092
|
top: 0,
|
|
@@ -18101,12 +18102,12 @@
|
|
|
18101
18102
|
return column.sticky === 'left' ? {
|
|
18102
18103
|
'&::after': __assign(__assign({}, cssAfter), {
|
|
18103
18104
|
right: 0,
|
|
18104
|
-
boxShadow: 'inset 10px 0 10px -10px #00000026'
|
|
18105
|
+
boxShadow: tableScrollPosition === 'start' ? 'none' : 'inset 10px 0 10px -10px #00000026'
|
|
18105
18106
|
})
|
|
18106
18107
|
} : {
|
|
18107
18108
|
'&::after': __assign(__assign({}, cssAfter), {
|
|
18108
18109
|
left: 0,
|
|
18109
|
-
boxShadow: 'inset -10px 0 10px -10px #00000026'
|
|
18110
|
+
boxShadow: tableScrollPosition === 'end' ? 'none' : 'inset -10px 0 10px -10px #00000026'
|
|
18110
18111
|
})
|
|
18111
18112
|
};
|
|
18112
18113
|
}
|
|
@@ -18180,6 +18181,14 @@
|
|
|
18180
18181
|
dataRow = _p[0],
|
|
18181
18182
|
setDataRow = _p[1];
|
|
18182
18183
|
|
|
18184
|
+
var _q = React.useState('start'),
|
|
18185
|
+
tableScrollPosition = _q[0],
|
|
18186
|
+
setTableScrollPosition = _q[1];
|
|
18187
|
+
|
|
18188
|
+
var _r = React.useState(0),
|
|
18189
|
+
scrollAreaWidth = _r[0],
|
|
18190
|
+
setScrollAreaWidth = _r[1];
|
|
18191
|
+
|
|
18183
18192
|
var getInitialState = function getInitialState() {
|
|
18184
18193
|
var initialState = {};
|
|
18185
18194
|
|
|
@@ -18214,6 +18223,8 @@
|
|
|
18214
18223
|
return row[keyId] || JSON.stringify(row);
|
|
18215
18224
|
}
|
|
18216
18225
|
}, reactTable.useSortBy, reactTable.useExpanded, reactTable.usePagination, reactTable.useRowSelect, reactTableSticky.useSticky, reactTable.useColumnOrder);
|
|
18226
|
+
var scrollerRef = React.useRef(null);
|
|
18227
|
+
var isMobile = useMediaQuery(isMobileLayout === undefined ? '(max-width: 1024px)' : isMobileLayout ? '(max-width: 8000px)' : '(max-width: 0px)');
|
|
18217
18228
|
var getTableProps = instance.getTableProps,
|
|
18218
18229
|
getTableBodyProps = instance.getTableBodyProps,
|
|
18219
18230
|
headerGroups = instance.headerGroups;
|
|
@@ -18224,11 +18235,11 @@
|
|
|
18224
18235
|
gotoPage = instance.gotoPage,
|
|
18225
18236
|
setPageSize = instance.setPageSize,
|
|
18226
18237
|
toggleRowSelected = instance.toggleRowSelected,
|
|
18227
|
-
|
|
18228
|
-
pageIndex =
|
|
18229
|
-
pageSize =
|
|
18230
|
-
sortBy =
|
|
18231
|
-
selectedRowIds =
|
|
18238
|
+
_s = instance.state,
|
|
18239
|
+
pageIndex = _s.pageIndex,
|
|
18240
|
+
pageSize = _s.pageSize,
|
|
18241
|
+
sortBy = _s.sortBy,
|
|
18242
|
+
selectedRowIds = _s.selectedRowIds,
|
|
18232
18243
|
setHiddenColumns = instance.setHiddenColumns,
|
|
18233
18244
|
setColumnOrder = instance.setColumnOrder;
|
|
18234
18245
|
|
|
@@ -18250,9 +18261,6 @@
|
|
|
18250
18261
|
if (fetchData) fetchData(fetchParams);
|
|
18251
18262
|
};
|
|
18252
18263
|
|
|
18253
|
-
var scrollerRef = React.useRef(null);
|
|
18254
|
-
var isMobile = useMediaQuery(isMobileLayout === undefined ? '(max-width: 1024px)' : isMobileLayout ? '(max-width: 8000px)' : '(max-width: 0px)');
|
|
18255
|
-
|
|
18256
18264
|
var renderFooter = function renderFooter() {
|
|
18257
18265
|
return jsxRuntime.jsx(Pagination, {
|
|
18258
18266
|
limit: pageSize,
|
|
@@ -18300,43 +18308,6 @@
|
|
|
18300
18308
|
}), void 0);
|
|
18301
18309
|
};
|
|
18302
18310
|
|
|
18303
|
-
React.useEffect(function () {
|
|
18304
|
-
if (hiddenColumns) setHiddenColumns(hiddenColumns);
|
|
18305
|
-
}, [hiddenColumns]);
|
|
18306
|
-
React.useEffect(function () {
|
|
18307
|
-
if (columnOrder) setColumnOrder(columnOrder);
|
|
18308
|
-
}, [columnOrder]);
|
|
18309
|
-
React.useEffect(function () {
|
|
18310
|
-
setPageSize(rowLimit);
|
|
18311
|
-
}, [rowLimit]);
|
|
18312
|
-
React.useEffect(function () {
|
|
18313
|
-
gotoPage(controlledPageIndex);
|
|
18314
|
-
}, [controlledPageIndex]);
|
|
18315
|
-
React.useEffect(function () {
|
|
18316
|
-
if (data && data.length > 0) doFetchData(0, isInfiniteScroll ? rowLimit : pageSize);
|
|
18317
|
-
}, [sortBy]);
|
|
18318
|
-
reactTable.useMountedLayoutEffect(function () {
|
|
18319
|
-
if (data && data.length > 0 && selectedRowIds && onSelectedChange) onSelectedChange(selectedRowIds ? Object.keys(selectedRowIds) : []);
|
|
18320
|
-
}, [selectedRowIds]);
|
|
18321
|
-
React.useEffect(function () {
|
|
18322
|
-
var _a;
|
|
18323
|
-
|
|
18324
|
-
if (isInfiniteScroll && data.length <= rowLimit) {
|
|
18325
|
-
(_a = scrollerRef.current) === null || _a === void 0 ? void 0 : _a.scrollTo({
|
|
18326
|
-
top: 0
|
|
18327
|
-
});
|
|
18328
|
-
}
|
|
18329
|
-
}, [data]);
|
|
18330
|
-
React.useEffect(function () {
|
|
18331
|
-
if (selectedIds && data.length > 0) {
|
|
18332
|
-
var selectedIdsKeys = Object.keys(selectedIds);
|
|
18333
|
-
selectedIdsKeys.map(function (key) {
|
|
18334
|
-
toggleRowSelected(key, true);
|
|
18335
|
-
return key;
|
|
18336
|
-
});
|
|
18337
|
-
}
|
|
18338
|
-
}, [data, selectedIds]);
|
|
18339
|
-
|
|
18340
18311
|
var getOptionsMenu = function getOptionsMenu() {
|
|
18341
18312
|
var _a, _b;
|
|
18342
18313
|
|
|
@@ -18386,6 +18357,47 @@
|
|
|
18386
18357
|
setDataRow(row);
|
|
18387
18358
|
};
|
|
18388
18359
|
|
|
18360
|
+
React.useLayoutEffect(function () {
|
|
18361
|
+
if (scrollerRef && scrollerRef.current) {
|
|
18362
|
+
setScrollAreaWidth(scrollerRef.current.scrollWidth - scrollerRef.current.clientWidth);
|
|
18363
|
+
}
|
|
18364
|
+
}, [scrollerRef]);
|
|
18365
|
+
React.useEffect(function () {
|
|
18366
|
+
if (hiddenColumns) setHiddenColumns(hiddenColumns);
|
|
18367
|
+
}, [hiddenColumns]);
|
|
18368
|
+
React.useEffect(function () {
|
|
18369
|
+
if (columnOrder) setColumnOrder(columnOrder);
|
|
18370
|
+
}, [columnOrder]);
|
|
18371
|
+
React.useEffect(function () {
|
|
18372
|
+
setPageSize(rowLimit);
|
|
18373
|
+
}, [rowLimit]);
|
|
18374
|
+
React.useEffect(function () {
|
|
18375
|
+
gotoPage(controlledPageIndex);
|
|
18376
|
+
}, [controlledPageIndex]);
|
|
18377
|
+
React.useEffect(function () {
|
|
18378
|
+
if (data && data.length > 0) doFetchData(0, isInfiniteScroll ? rowLimit : pageSize);
|
|
18379
|
+
}, [sortBy]);
|
|
18380
|
+
reactTable.useMountedLayoutEffect(function () {
|
|
18381
|
+
if (data && data.length > 0 && selectedRowIds && onSelectedChange) onSelectedChange(selectedRowIds ? Object.keys(selectedRowIds) : []);
|
|
18382
|
+
}, [selectedRowIds]);
|
|
18383
|
+
React.useEffect(function () {
|
|
18384
|
+
var _a;
|
|
18385
|
+
|
|
18386
|
+
if (isInfiniteScroll && data.length <= rowLimit) {
|
|
18387
|
+
(_a = scrollerRef.current) === null || _a === void 0 ? void 0 : _a.scrollTo({
|
|
18388
|
+
top: 0
|
|
18389
|
+
});
|
|
18390
|
+
}
|
|
18391
|
+
}, [data]);
|
|
18392
|
+
React.useEffect(function () {
|
|
18393
|
+
if (selectedIds && data.length > 0) {
|
|
18394
|
+
var selectedIdsKeys = Object.keys(selectedIds);
|
|
18395
|
+
selectedIdsKeys.map(function (key) {
|
|
18396
|
+
toggleRowSelected(key, true);
|
|
18397
|
+
return key;
|
|
18398
|
+
});
|
|
18399
|
+
}
|
|
18400
|
+
}, [data, selectedIds]);
|
|
18389
18401
|
return jsxRuntime.jsxs(Box, __assign({
|
|
18390
18402
|
css: {
|
|
18391
18403
|
position: 'relative',
|
|
@@ -18415,7 +18427,18 @@
|
|
|
18415
18427
|
}), void 0), !isMobile ? jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
18416
18428
|
children: [jsxRuntime.jsxs(TableContainer$3, __assign({
|
|
18417
18429
|
css: css,
|
|
18418
|
-
ref: scrollerRef
|
|
18430
|
+
ref: scrollerRef,
|
|
18431
|
+
onScroll: function (e) {
|
|
18432
|
+
var scrollPosition = e.currentTarget.scrollLeft;
|
|
18433
|
+
|
|
18434
|
+
if (scrollPosition < 3) {
|
|
18435
|
+
setTableScrollPosition('start');
|
|
18436
|
+
} else if (scrollPosition > scrollAreaWidth - 3) {
|
|
18437
|
+
setTableScrollPosition('end');
|
|
18438
|
+
} else {
|
|
18439
|
+
setTableScrollPosition('between');
|
|
18440
|
+
}
|
|
18441
|
+
}
|
|
18419
18442
|
}, {
|
|
18420
18443
|
children: [renderInfiniteScrollWrapper(jsxRuntime.jsxs(TableContent$3, __assign({}, getTableProps(), {
|
|
18421
18444
|
children: [jsxRuntime.jsx(TableHead$3, __assign({
|
|
@@ -18439,7 +18462,7 @@
|
|
|
18439
18462
|
}
|
|
18440
18463
|
}];
|
|
18441
18464
|
}), {
|
|
18442
|
-
css: __assign(__assign({}, stickyPositionStyling(column)), stickyShadowStyling(column))
|
|
18465
|
+
css: __assign(__assign({}, stickyPositionStyling(column)), stickyShadowStyling(column, tableScrollPosition))
|
|
18443
18466
|
}, {
|
|
18444
18467
|
children: typeof headerRender === 'string' ? jsxRuntime.jsx(TableHeaderCellContainer, __assign({
|
|
18445
18468
|
isSortedDesc: column.isSortedDesc,
|
|
@@ -18502,7 +18525,7 @@
|
|
|
18502
18525
|
padding: !isContextMenu || ['expander', 'selection', 'menu', 'eye'].includes((_a = cell === null || cell === void 0 ? void 0 : cell.column) === null || _a === void 0 ? void 0 : _a.id) ? cell.column.accessor ? '20px 8px' : '20px 20px' : '',
|
|
18503
18526
|
verticalAlign: cell.column.accessor ? cellAlign : 'center',
|
|
18504
18527
|
cursor: onRowClick ? 'pointer' : 'unset'
|
|
18505
|
-
}, stickyPositionStyling(cell.column)), stickyShadowStyling(cell.column)),
|
|
18528
|
+
}, stickyPositionStyling(cell.column)), stickyShadowStyling(cell.column, tableScrollPosition)),
|
|
18506
18529
|
onClick: function () {
|
|
18507
18530
|
return handleRowClick(row, i);
|
|
18508
18531
|
}
|
|
@@ -20079,7 +20102,7 @@
|
|
|
20079
20102
|
if (!props.onOpenAutoFocus) {
|
|
20080
20103
|
e.preventDefault();
|
|
20081
20104
|
} else {
|
|
20082
|
-
props
|
|
20105
|
+
props === null || props === void 0 ? void 0 : props.onOpenAutoFocus();
|
|
20083
20106
|
}
|
|
20084
20107
|
},
|
|
20085
20108
|
__self: undefined,
|
|
@@ -20200,8 +20223,8 @@
|
|
|
20200
20223
|
size: "sm",
|
|
20201
20224
|
onClick: buttonConfirm,
|
|
20202
20225
|
buttonType: props.dialogType,
|
|
20203
|
-
disabled: props
|
|
20204
|
-
}, props
|
|
20226
|
+
disabled: props === null || props === void 0 ? void 0 : props.disabledButton
|
|
20227
|
+
}, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
|
|
20205
20228
|
__self: undefined,
|
|
20206
20229
|
__source: {
|
|
20207
20230
|
fileName: _jsxFileName$b,
|
|
@@ -20220,12 +20243,12 @@
|
|
|
20220
20243
|
size: "sm",
|
|
20221
20244
|
onClick: buttonCancel,
|
|
20222
20245
|
css: {
|
|
20223
|
-
color: props.dialogType === 'negative' && !(props
|
|
20246
|
+
color: props.dialogType === 'negative' && !(props !== null && props !== void 0 && props.disabledButton) && '$gray900 !important',
|
|
20224
20247
|
flex: props.isMobile && 1
|
|
20225
20248
|
},
|
|
20226
20249
|
buttonType: "ghost",
|
|
20227
|
-
disabled: props
|
|
20228
|
-
}, props
|
|
20250
|
+
disabled: props === null || props === void 0 ? void 0 : props.disabledButton
|
|
20251
|
+
}, props === null || props === void 0 ? void 0 : props.cancelButtonProps, {
|
|
20229
20252
|
__self: undefined,
|
|
20230
20253
|
__source: {
|
|
20231
20254
|
fileName: _jsxFileName$b,
|
|
@@ -20247,8 +20270,8 @@
|
|
|
20247
20270
|
css: {
|
|
20248
20271
|
flex: props.isMobile && 1
|
|
20249
20272
|
},
|
|
20250
|
-
disabled: props
|
|
20251
|
-
}, props
|
|
20273
|
+
disabled: props === null || props === void 0 ? void 0 : props.disabledButton
|
|
20274
|
+
}, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
|
|
20252
20275
|
__self: undefined,
|
|
20253
20276
|
__source: {
|
|
20254
20277
|
fileName: _jsxFileName$b,
|
|
@@ -20408,8 +20431,8 @@
|
|
|
20408
20431
|
css: {
|
|
20409
20432
|
flex: props.isMobile && 1
|
|
20410
20433
|
},
|
|
20411
|
-
disabled: props
|
|
20412
|
-
}, props
|
|
20434
|
+
disabled: props === null || props === void 0 ? void 0 : props.disabledButton
|
|
20435
|
+
}, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
|
|
20413
20436
|
__self: this,
|
|
20414
20437
|
__source: {
|
|
20415
20438
|
fileName: _jsxFileName$b,
|
|
@@ -20428,12 +20451,12 @@
|
|
|
20428
20451
|
size: "sm",
|
|
20429
20452
|
onClick: props.onCancel,
|
|
20430
20453
|
css: {
|
|
20431
|
-
color: props.dialogType === 'negative' && !(props
|
|
20454
|
+
color: props.dialogType === 'negative' && !(props !== null && props !== void 0 && props.disabledButton) && '$gray900 !important',
|
|
20432
20455
|
flex: props.isMobile && 1
|
|
20433
20456
|
},
|
|
20434
20457
|
buttonType: "ghost",
|
|
20435
|
-
disabled: props
|
|
20436
|
-
}, props
|
|
20458
|
+
disabled: props === null || props === void 0 ? void 0 : props.disabledButton
|
|
20459
|
+
}, props === null || props === void 0 ? void 0 : props.cancelButtonProps, {
|
|
20437
20460
|
__self: this,
|
|
20438
20461
|
__source: {
|
|
20439
20462
|
fileName: _jsxFileName$b,
|
|
@@ -20455,8 +20478,8 @@
|
|
|
20455
20478
|
css: {
|
|
20456
20479
|
flex: props.isMobile && 1
|
|
20457
20480
|
},
|
|
20458
|
-
disabled: props
|
|
20459
|
-
}, props
|
|
20481
|
+
disabled: props === null || props === void 0 ? void 0 : props.disabledButton
|
|
20482
|
+
}, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
|
|
20460
20483
|
__self: this,
|
|
20461
20484
|
__source: {
|
|
20462
20485
|
fileName: _jsxFileName$b,
|
|
@@ -22972,7 +22995,7 @@
|
|
|
22972
22995
|
upload({
|
|
22973
22996
|
url: action,
|
|
22974
22997
|
file: newFile,
|
|
22975
|
-
customBody: customBodyRequest
|
|
22998
|
+
customBody: customBodyRequest === null || customBodyRequest === void 0 ? void 0 : customBodyRequest(newFile),
|
|
22976
22999
|
token,
|
|
22977
23000
|
tokenKey,
|
|
22978
23001
|
reqKey,
|
|
@@ -22995,12 +23018,12 @@
|
|
|
22995
23018
|
}
|
|
22996
23019
|
}
|
|
22997
23020
|
|
|
22998
|
-
onChange
|
|
23021
|
+
onChange === null || onChange === void 0 ? void 0 : (_onChange = onChange({
|
|
22999
23022
|
fileList: arrProgress,
|
|
23000
23023
|
file: fileProgress,
|
|
23001
23024
|
indexReplace: indexReplace.current,
|
|
23002
23025
|
isReplace: indexReplace.current !== null
|
|
23003
|
-
}))
|
|
23026
|
+
})) === null || _onChange === void 0 ? void 0 : (_onChange$then = _onChange.then(() => setError(null))) === null || _onChange$then === void 0 ? void 0 : _onChange$then.catch(error => setError(error.message));
|
|
23004
23027
|
}
|
|
23005
23028
|
}).then(result => {
|
|
23006
23029
|
var _onChange2, _onChange2$then;
|
|
@@ -23017,12 +23040,12 @@
|
|
|
23017
23040
|
}
|
|
23018
23041
|
}
|
|
23019
23042
|
|
|
23020
|
-
onChange
|
|
23043
|
+
onChange === null || onChange === void 0 ? void 0 : (_onChange2 = onChange({
|
|
23021
23044
|
fileList: arrSuccess,
|
|
23022
23045
|
file: fileSuccess,
|
|
23023
23046
|
indexReplace: indexReplace.current,
|
|
23024
23047
|
isReplace: indexReplace.current !== null
|
|
23025
|
-
}))
|
|
23048
|
+
})) === null || _onChange2 === void 0 ? void 0 : (_onChange2$then = _onChange2.then(() => setError(null))) === null || _onChange2$then === void 0 ? void 0 : _onChange2$then.catch(error => setError(error.message));
|
|
23026
23049
|
}).catch(error => {
|
|
23027
23050
|
var _onChange3, _onChange3$then;
|
|
23028
23051
|
|
|
@@ -23038,22 +23061,22 @@
|
|
|
23038
23061
|
}
|
|
23039
23062
|
}
|
|
23040
23063
|
|
|
23041
|
-
onChange
|
|
23064
|
+
onChange === null || onChange === void 0 ? void 0 : (_onChange3 = onChange({
|
|
23042
23065
|
fileList: arrError,
|
|
23043
23066
|
file: fileError,
|
|
23044
23067
|
indexReplace: indexReplace.current,
|
|
23045
23068
|
isReplace: indexReplace.current !== null
|
|
23046
|
-
}))
|
|
23069
|
+
})) === null || _onChange3 === void 0 ? void 0 : (_onChange3$then = _onChange3.then(() => setError(null))) === null || _onChange3$then === void 0 ? void 0 : _onChange3$then.catch(error => setError(error.message));
|
|
23047
23070
|
});
|
|
23048
23071
|
} else {
|
|
23049
23072
|
var _onChange4, _onChange4$then;
|
|
23050
23073
|
|
|
23051
|
-
onChange
|
|
23074
|
+
onChange === null || onChange === void 0 ? void 0 : (_onChange4 = onChange({
|
|
23052
23075
|
fileList: arrFile,
|
|
23053
23076
|
file: newFile,
|
|
23054
23077
|
indexReplace: indexReplace.current,
|
|
23055
23078
|
isReplace: indexReplace.current !== null
|
|
23056
|
-
}))
|
|
23079
|
+
})) === null || _onChange4 === void 0 ? void 0 : (_onChange4$then = _onChange4.then(() => setError(null))) === null || _onChange4$then === void 0 ? void 0 : _onChange4$then.catch(error => setError(error.message));
|
|
23057
23080
|
}
|
|
23058
23081
|
|
|
23059
23082
|
if (indexReplace.current !== null) {
|
|
@@ -23078,24 +23101,24 @@
|
|
|
23078
23101
|
// program to get the dimensions of an image
|
|
23079
23102
|
const img = document.createElement('img');
|
|
23080
23103
|
img.src = URL.createObjectURL(files[0]);
|
|
23081
|
-
img.size = files
|
|
23082
|
-
img.type = files
|
|
23104
|
+
img.size = files === null || files === void 0 ? void 0 : (_files$ = files[0]) === null || _files$ === void 0 ? void 0 : _files$.size;
|
|
23105
|
+
img.type = files === null || files === void 0 ? void 0 : (_files$2 = files[0]) === null || _files$2 === void 0 ? void 0 : _files$2.type;
|
|
23083
23106
|
|
|
23084
23107
|
img.onload = () => {
|
|
23085
23108
|
var _onBeforeCrop, _onBeforeCrop$then;
|
|
23086
23109
|
|
|
23087
|
-
onBeforeCrop
|
|
23110
|
+
onBeforeCrop === null || onBeforeCrop === void 0 ? void 0 : (_onBeforeCrop = onBeforeCrop(img)) === null || _onBeforeCrop === void 0 ? void 0 : (_onBeforeCrop$then = _onBeforeCrop.then(() => {
|
|
23088
23111
|
setError(null);
|
|
23089
23112
|
toggleModal();
|
|
23090
23113
|
setFileState(files[0]);
|
|
23091
23114
|
setPreviewImage(URL.createObjectURL(files[0]));
|
|
23092
|
-
}))
|
|
23115
|
+
})) === null || _onBeforeCrop$then === void 0 ? void 0 : _onBeforeCrop$then.catch(error => setError(error === null || error === void 0 ? void 0 : error.message));
|
|
23093
23116
|
};
|
|
23094
23117
|
|
|
23095
23118
|
img.onerror = error => {
|
|
23096
23119
|
var _onBeforeCrop2, _onBeforeCrop2$then;
|
|
23097
23120
|
|
|
23098
|
-
onBeforeCrop
|
|
23121
|
+
onBeforeCrop === null || onBeforeCrop === void 0 ? void 0 : (_onBeforeCrop2 = onBeforeCrop(img, error)) === null || _onBeforeCrop2 === void 0 ? void 0 : (_onBeforeCrop2$then = _onBeforeCrop2.then(() => setError(null))) === null || _onBeforeCrop2$then === void 0 ? void 0 : _onBeforeCrop2$then.catch(error => setError(error === null || error === void 0 ? void 0 : error.message));
|
|
23099
23122
|
};
|
|
23100
23123
|
} else {
|
|
23101
23124
|
toggleModal();
|
|
@@ -23107,15 +23130,15 @@
|
|
|
23107
23130
|
}
|
|
23108
23131
|
|
|
23109
23132
|
function handleCrop() {
|
|
23110
|
-
if (completedCrop
|
|
23133
|
+
if (completedCrop !== null && completedCrop !== void 0 && completedCrop.width && completedCrop !== null && completedCrop !== void 0 && completedCrop.height && imgRef.current) {
|
|
23111
23134
|
imgPreview(imgRef.current, completedCrop, 1, 0, ratio).then(blob => {
|
|
23112
|
-
const sizeMB = (blob
|
|
23135
|
+
const sizeMB = (blob === null || blob === void 0 ? void 0 : blob.size) / 1024 / 1024;
|
|
23113
23136
|
|
|
23114
23137
|
if (sizeMB < maxSizeMB || sizeMB < 1 || !imageCompression) {
|
|
23115
23138
|
var _fileState$name;
|
|
23116
23139
|
|
|
23117
|
-
const file = new File([blob], (fileState
|
|
23118
|
-
type: blob
|
|
23140
|
+
const file = new File([blob], (fileState === null || fileState === void 0 ? void 0 : (_fileState$name = fileState.name) === null || _fileState$name === void 0 ? void 0 : _fileState$name.replace(/\.[^/.]+$/, '')) + '.png', {
|
|
23141
|
+
type: blob === null || blob === void 0 ? void 0 : blob.type
|
|
23119
23142
|
});
|
|
23120
23143
|
handleUpload([file]);
|
|
23121
23144
|
setCrop(null);
|
|
@@ -23130,17 +23153,17 @@
|
|
|
23130
23153
|
}).then(compressedFile => {
|
|
23131
23154
|
var _fileState$name2;
|
|
23132
23155
|
|
|
23133
|
-
const file = new File([compressedFile], (fileState
|
|
23134
|
-
type: compressedFile
|
|
23156
|
+
const file = new File([compressedFile], (fileState === null || fileState === void 0 ? void 0 : (_fileState$name2 = fileState.name) === null || _fileState$name2 === void 0 ? void 0 : _fileState$name2.replace(/\.[^/.]+$/, '')) + '.png', {
|
|
23157
|
+
type: compressedFile === null || compressedFile === void 0 ? void 0 : compressedFile.type
|
|
23135
23158
|
});
|
|
23136
23159
|
handleUpload([file]);
|
|
23137
23160
|
setCrop(null);
|
|
23138
23161
|
setCompletedCrop(null);
|
|
23139
|
-
}).catch(error => console.error(error
|
|
23162
|
+
}).catch(error => console.error(error === null || error === void 0 ? void 0 : error.message));
|
|
23140
23163
|
}
|
|
23141
23164
|
|
|
23142
23165
|
toggleModal();
|
|
23143
|
-
}).catch(error => console.error(error
|
|
23166
|
+
}).catch(error => console.error(error === null || error === void 0 ? void 0 : error.message));
|
|
23144
23167
|
} else {
|
|
23145
23168
|
handleUpload([fileState]);
|
|
23146
23169
|
toggleModal();
|
|
@@ -23171,7 +23194,7 @@
|
|
|
23171
23194
|
const index = fileList.indexOf(file);
|
|
23172
23195
|
const newFileList = fileList.slice();
|
|
23173
23196
|
newFileList.splice(index, 1);
|
|
23174
|
-
onChange
|
|
23197
|
+
onChange === null || onChange === void 0 ? void 0 : onChange({
|
|
23175
23198
|
fileList: newFileList,
|
|
23176
23199
|
file
|
|
23177
23200
|
});
|
|
@@ -23199,22 +23222,22 @@
|
|
|
23199
23222
|
function handleOpenFile(file) {
|
|
23200
23223
|
var _String, _file$name;
|
|
23201
23224
|
|
|
23202
|
-
let extension = (_String = String(file
|
|
23225
|
+
let extension = (_String = String(file === null || file === void 0 ? void 0 : (_file$name = file.name) === null || _file$name === void 0 ? void 0 : _file$name.split('.').pop())) === null || _String === void 0 ? void 0 : _String.toLowerCase();
|
|
23203
23226
|
|
|
23204
23227
|
if (extension === 'pdf') {
|
|
23205
|
-
window.open(file
|
|
23228
|
+
window.open(file === null || file === void 0 ? void 0 : file.url);
|
|
23206
23229
|
} else {
|
|
23207
|
-
request__default["default"].get(file
|
|
23230
|
+
request__default["default"].get(file === null || file === void 0 ? void 0 : file.url).end((err, res) => {
|
|
23208
23231
|
if (err) {
|
|
23209
23232
|
console.error(err.message);
|
|
23210
23233
|
}
|
|
23211
23234
|
|
|
23212
|
-
if (res && res
|
|
23213
|
-
const response = res
|
|
23235
|
+
if (res && res !== null && res !== void 0 && res.ok) {
|
|
23236
|
+
const response = res === null || res === void 0 ? void 0 : res.text;
|
|
23214
23237
|
const url = window.URL.createObjectURL(new Blob([response]));
|
|
23215
23238
|
const link = document.createElement('a');
|
|
23216
23239
|
link.href = url;
|
|
23217
|
-
link.setAttribute('download', file
|
|
23240
|
+
link.setAttribute('download', file === null || file === void 0 ? void 0 : file.name);
|
|
23218
23241
|
document.body.appendChild(link);
|
|
23219
23242
|
link.click();
|
|
23220
23243
|
document.body.removeChild(link);
|
|
@@ -23284,12 +23307,12 @@
|
|
|
23284
23307
|
}
|
|
23285
23308
|
|
|
23286
23309
|
const renderPicture = () => {
|
|
23287
|
-
return fileList
|
|
23288
|
-
if ((item
|
|
23310
|
+
return fileList === null || fileList === void 0 ? void 0 : fileList.map((item, index) => {
|
|
23311
|
+
if ((item === null || item === void 0 ? void 0 : item.status) === 'uploading') {
|
|
23289
23312
|
return /*#__PURE__*/React__default["default"].createElement(UploadProgress, {
|
|
23290
23313
|
key: index,
|
|
23291
|
-
progress: item
|
|
23292
|
-
loading: item
|
|
23314
|
+
progress: item === null || item === void 0 ? void 0 : item.percent,
|
|
23315
|
+
loading: item === null || item === void 0 ? void 0 : item.loading,
|
|
23293
23316
|
__self: undefined,
|
|
23294
23317
|
__source: {
|
|
23295
23318
|
fileName: _jsxFileName$9,
|
|
@@ -23364,14 +23387,14 @@
|
|
|
23364
23387
|
};
|
|
23365
23388
|
|
|
23366
23389
|
const renderFile = () => {
|
|
23367
|
-
return fileList
|
|
23390
|
+
return fileList === null || fileList === void 0 ? void 0 : fileList.map((item, index) => {
|
|
23368
23391
|
var _item$name;
|
|
23369
23392
|
|
|
23370
|
-
if ((item
|
|
23393
|
+
if ((item === null || item === void 0 ? void 0 : item.status) === 'uploading') {
|
|
23371
23394
|
return /*#__PURE__*/React__default["default"].createElement(UploadProgress, {
|
|
23372
23395
|
key: index,
|
|
23373
|
-
progress: item
|
|
23374
|
-
loading: item
|
|
23396
|
+
progress: item === null || item === void 0 ? void 0 : item.percent,
|
|
23397
|
+
loading: item === null || item === void 0 ? void 0 : item.loading,
|
|
23375
23398
|
__self: undefined,
|
|
23376
23399
|
__source: {
|
|
23377
23400
|
fileName: _jsxFileName$9,
|
|
@@ -23438,7 +23461,7 @@
|
|
|
23438
23461
|
lineNumber: 661,
|
|
23439
23462
|
columnNumber: 17
|
|
23440
23463
|
}
|
|
23441
|
-
}, ".", item
|
|
23464
|
+
}, ".", item === null || item === void 0 ? void 0 : (_item$name = item.name) === null || _item$name === void 0 ? void 0 : _item$name.split('.').pop()), /*#__PURE__*/React__default["default"].createElement(Tooltip$1, {
|
|
23442
23465
|
label: item.name,
|
|
23443
23466
|
__self: undefined,
|
|
23444
23467
|
__source: {
|
|
@@ -23610,7 +23633,7 @@
|
|
|
23610
23633
|
lineNumber: 736,
|
|
23611
23634
|
columnNumber: 11
|
|
23612
23635
|
}
|
|
23613
|
-
}, children
|
|
23636
|
+
}, children !== null && children !== void 0 ? children : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
|
|
23614
23637
|
__self: this,
|
|
23615
23638
|
__source: {
|
|
23616
23639
|
fileName: _jsxFileName$9,
|
|
@@ -23644,7 +23667,7 @@
|
|
|
23644
23667
|
lineNumber: 742,
|
|
23645
23668
|
columnNumber: 17
|
|
23646
23669
|
}
|
|
23647
|
-
}, placeholder
|
|
23670
|
+
}, placeholder !== null && placeholder !== void 0 ? placeholder : `Pilih atau letakkan berkas di sini`)))), error && /*#__PURE__*/React__default["default"].createElement(ErrorMessage, {
|
|
23648
23671
|
__self: this,
|
|
23649
23672
|
__source: {
|
|
23650
23673
|
fileName: _jsxFileName$9,
|
|
@@ -23804,7 +23827,7 @@
|
|
|
23804
23827
|
|
|
23805
23828
|
return /*#__PURE__*/React__default["default"].createElement(Flex$1, {
|
|
23806
23829
|
direction: "row",
|
|
23807
|
-
gap: (fileList
|
|
23830
|
+
gap: (fileList === null || fileList === void 0 ? void 0 : fileList.length) <= 1 && max === 1 ? 0 : 3,
|
|
23808
23831
|
wrap: "wrap",
|
|
23809
23832
|
css: {
|
|
23810
23833
|
userSelect: 'none'
|
|
@@ -24061,6 +24084,8 @@
|
|
|
24061
24084
|
color: '$textPrimary',
|
|
24062
24085
|
fontSize: 12,
|
|
24063
24086
|
fontWeight: 400,
|
|
24087
|
+
overflowWrap: 'break-word',
|
|
24088
|
+
wordWrap: 'break-word',
|
|
24064
24089
|
variants: {
|
|
24065
24090
|
variant: {
|
|
24066
24091
|
sms: {
|
|
@@ -24301,8 +24326,7 @@
|
|
|
24301
24326
|
border: 'none',
|
|
24302
24327
|
width: '100%',
|
|
24303
24328
|
height: '100%',
|
|
24304
|
-
|
|
24305
|
-
zIndex: 1
|
|
24329
|
+
zIndex: 3
|
|
24306
24330
|
}
|
|
24307
24331
|
}, {
|
|
24308
24332
|
children: jsxRuntime.jsxs(Box, __assign({
|
|
@@ -24315,13 +24339,29 @@
|
|
|
24315
24339
|
height: "100%",
|
|
24316
24340
|
objectFit: props.typeDevice === 'android' ? 'fill' : 'cover',
|
|
24317
24341
|
src: img$g,
|
|
24318
|
-
alt: "whatsapp-preview"
|
|
24342
|
+
alt: "whatsapp-preview",
|
|
24343
|
+
css: {
|
|
24344
|
+
borderRadius: 8
|
|
24345
|
+
}
|
|
24319
24346
|
}, void 0), jsxRuntime.jsx(Box, __assign({
|
|
24347
|
+
className: "mobile-scrollbar",
|
|
24320
24348
|
css: {
|
|
24321
24349
|
position: 'absolute',
|
|
24322
24350
|
right: '5%',
|
|
24323
24351
|
bottom: '12%',
|
|
24324
|
-
left: '10%'
|
|
24352
|
+
left: '10%',
|
|
24353
|
+
top: '10%',
|
|
24354
|
+
overflow: 'auto',
|
|
24355
|
+
'&::-webkit-scrollbar': {
|
|
24356
|
+
width: 3
|
|
24357
|
+
},
|
|
24358
|
+
'&::-webkit-scrollbar-track': {
|
|
24359
|
+
boxShadow: 'inset 0 0 6px $gray200'
|
|
24360
|
+
},
|
|
24361
|
+
'&::-webkit-scrollbar-thumb': {
|
|
24362
|
+
backgroundColor: '$gray150',
|
|
24363
|
+
outline: '1px solid $gray150'
|
|
24364
|
+
}
|
|
24325
24365
|
}
|
|
24326
24366
|
}, {
|
|
24327
24367
|
children: typeof (content === null || content === void 0 ? void 0 : content.message) === 'string' ? jsxRuntime.jsx(CardMessage, __assign({
|
|
@@ -24437,7 +24477,9 @@
|
|
|
24437
24477
|
css: {
|
|
24438
24478
|
fontSize: 12,
|
|
24439
24479
|
color: '$textPrimary',
|
|
24440
|
-
lineHeight: '16px'
|
|
24480
|
+
lineHeight: '16px',
|
|
24481
|
+
overflowWrap: 'break-word',
|
|
24482
|
+
wordWrap: 'break-word'
|
|
24441
24483
|
}
|
|
24442
24484
|
}, {
|
|
24443
24485
|
children: typeof (content === null || content === void 0 ? void 0 : content.message) === 'string' ? content === null || content === void 0 ? void 0 : content.message : (_f = content === null || content === void 0 ? void 0 : content.message) === null || _f === void 0 ? void 0 : _f.call(content)
|
|
@@ -24536,7 +24578,9 @@
|
|
|
24536
24578
|
css: {
|
|
24537
24579
|
fontSize: 9,
|
|
24538
24580
|
color: '$textSecondary',
|
|
24539
|
-
lineHeight: '14px !important'
|
|
24581
|
+
lineHeight: '14px !important',
|
|
24582
|
+
overflowWrap: 'break-word',
|
|
24583
|
+
wordWrap: 'break-word'
|
|
24540
24584
|
}
|
|
24541
24585
|
}, {
|
|
24542
24586
|
children: typeof (content === null || content === void 0 ? void 0 : content.message) === 'string' ? content === null || content === void 0 ? void 0 : content.message : (_j = content === null || content === void 0 ? void 0 : content.message) === null || _j === void 0 ? void 0 : _j.call(content)
|
|
@@ -24580,7 +24624,7 @@
|
|
|
24580
24624
|
style: {
|
|
24581
24625
|
width: props.size ? props.size : undefined,
|
|
24582
24626
|
position: 'relative',
|
|
24583
|
-
zIndex: withComponent ? 1 : 2
|
|
24627
|
+
zIndex: withComponent || (props === null || props === void 0 ? void 0 : props.variant) === 'whatsapp' ? 1 : 2
|
|
24584
24628
|
},
|
|
24585
24629
|
src: properties.typeDevice,
|
|
24586
24630
|
alt: "device-preview"
|
|
@@ -24643,10 +24687,10 @@
|
|
|
24643
24687
|
const [isPopover, setIsPopover] = React.useState(false);
|
|
24644
24688
|
|
|
24645
24689
|
function getColor() {
|
|
24646
|
-
const color = props
|
|
24690
|
+
const color = props === null || props === void 0 ? void 0 : props.color;
|
|
24647
24691
|
|
|
24648
24692
|
if (typeof color === 'string') {
|
|
24649
|
-
return color
|
|
24693
|
+
return color === null || color === void 0 ? void 0 : color.toUpperCase();
|
|
24650
24694
|
}
|
|
24651
24695
|
|
|
24652
24696
|
return `rgba(${color.r},${color.g},${color.b},${color.a})`;
|
|
@@ -27618,9 +27662,9 @@
|
|
|
27618
27662
|
lineNumber: 120,
|
|
27619
27663
|
columnNumber: 30
|
|
27620
27664
|
}
|
|
27621
|
-
}), typeof data[i - 1].title === 'string' ? data[i - 1].title : (_data$title = (_data = data[i - 1]).title)
|
|
27665
|
+
}), typeof data[i - 1].title === 'string' ? data[i - 1].title : (_data$title = (_data = data[i - 1]).title) === null || _data$title === void 0 ? void 0 : _data$title.call(_data), ((_data2 = data[i - 1]) === null || _data2 === void 0 ? void 0 : _data2.withTolltip) && /*#__PURE__*/React__default["default"].createElement(Tooltip$1, {
|
|
27622
27666
|
align: "center",
|
|
27623
|
-
label: (_data3 = data[i - 1])
|
|
27667
|
+
label: (_data3 = data[i - 1]) === null || _data3 === void 0 ? void 0 : _data3.tooltipsContents,
|
|
27624
27668
|
__self: undefined,
|
|
27625
27669
|
__source: {
|
|
27626
27670
|
fileName: _jsxFileName$4,
|
|
@@ -27639,9 +27683,9 @@
|
|
|
27639
27683
|
lineNumber: 124,
|
|
27640
27684
|
columnNumber: 19
|
|
27641
27685
|
}
|
|
27642
|
-
})), ((_data4 = data[i - 1])
|
|
27686
|
+
})), ((_data4 = data[i - 1]) === null || _data4 === void 0 ? void 0 : _data4.comingSoon) && /*#__PURE__*/React__default["default"].createElement(Flex$1, {
|
|
27643
27687
|
css: {
|
|
27644
|
-
marginLeft: (_data5 = data[i - 1])
|
|
27688
|
+
marginLeft: (_data5 = data[i - 1]) !== null && _data5 !== void 0 && _data5.withTolltip ? 0 : '$spacing-03'
|
|
27645
27689
|
},
|
|
27646
27690
|
align: "center",
|
|
27647
27691
|
__self: undefined,
|
|
@@ -27693,7 +27737,7 @@
|
|
|
27693
27737
|
height: 24,
|
|
27694
27738
|
borderRadius: '$round',
|
|
27695
27739
|
border: `4px solid ${isActive ? '$bgGreen' : '$bgInactive'}`,
|
|
27696
|
-
backgroundColor: (_data6 = data[i - 1])
|
|
27740
|
+
backgroundColor: (_data6 = data[i - 1]) !== null && _data6 !== void 0 && _data6.disabled ? '$gray200' : '$white'
|
|
27697
27741
|
},
|
|
27698
27742
|
__self: undefined,
|
|
27699
27743
|
__source: {
|
|
@@ -27711,10 +27755,10 @@
|
|
|
27711
27755
|
lineNumber: 163,
|
|
27712
27756
|
columnNumber: 15
|
|
27713
27757
|
}
|
|
27714
|
-
}, isActive ? typeof data[i - 1].title === 'string' ? data[i - 1].title : (_data$title2 = (_data7 = data[i - 1]).title)
|
|
27758
|
+
}, isActive ? typeof data[i - 1].title === 'string' ? data[i - 1].title : (_data$title2 = (_data7 = data[i - 1]).title) === null || _data$title2 === void 0 ? void 0 : _data$title2.call(_data7) : ''), isActive && ((_data8 = data[i - 1]) === null || _data8 === void 0 ? void 0 : _data8.withTolltip) && /*#__PURE__*/React__default["default"].createElement(Tooltip$1, {
|
|
27715
27759
|
align: "center",
|
|
27716
27760
|
withClick: true,
|
|
27717
|
-
label: (_data9 = data[i - 1])
|
|
27761
|
+
label: (_data9 = data[i - 1]) === null || _data9 === void 0 ? void 0 : _data9.tooltipsContents,
|
|
27718
27762
|
__self: undefined,
|
|
27719
27763
|
__source: {
|
|
27720
27764
|
fileName: _jsxFileName$4,
|
|
@@ -27730,11 +27774,11 @@
|
|
|
27730
27774
|
lineNumber: 168,
|
|
27731
27775
|
columnNumber: 19
|
|
27732
27776
|
}
|
|
27733
|
-
})), isActive && ((_data10 = data[i - 1])
|
|
27777
|
+
})), isActive && ((_data10 = data[i - 1]) === null || _data10 === void 0 ? void 0 : _data10.comingSoon) && /*#__PURE__*/React__default["default"].createElement(Flex$1, {
|
|
27734
27778
|
align: "center",
|
|
27735
27779
|
justify: "center",
|
|
27736
27780
|
css: {
|
|
27737
|
-
marginTop: (_data11 = data[i - 1])
|
|
27781
|
+
marginTop: (_data11 = data[i - 1]) !== null && _data11 !== void 0 && _data11.withTolltip ? 0 : '$spacing-03'
|
|
27738
27782
|
},
|
|
27739
27783
|
__self: undefined,
|
|
27740
27784
|
__source: {
|
|
@@ -27816,7 +27860,9 @@
|
|
|
27816
27860
|
}));
|
|
27817
27861
|
}, [props.hide]);
|
|
27818
27862
|
React.useEffect(() => {
|
|
27819
|
-
|
|
27863
|
+
var _props$onChangeVisibi;
|
|
27864
|
+
|
|
27865
|
+
props === null || props === void 0 ? void 0 : (_props$onChangeVisibi = props.onChangeVisibility) === null || _props$onChangeVisibi === void 0 ? void 0 : _props$onChangeVisibi.call(props, state.hide);
|
|
27820
27866
|
}, [state.hide]);
|
|
27821
27867
|
|
|
27822
27868
|
const toogleVisibility = value => {
|
|
@@ -27828,13 +27874,13 @@
|
|
|
27828
27874
|
const getIsComplete = currentStep => {
|
|
27829
27875
|
var _state$isComplete;
|
|
27830
27876
|
|
|
27831
|
-
return state
|
|
27877
|
+
return state === null || state === void 0 ? void 0 : (_state$isComplete = state.isComplete) === null || _state$isComplete === void 0 ? void 0 : _state$isComplete[currentStep - 1];
|
|
27832
27878
|
};
|
|
27833
27879
|
|
|
27834
27880
|
const getTitleStep = currentStep => {
|
|
27835
27881
|
var _props$navContents, _props$navContents2;
|
|
27836
27882
|
|
|
27837
|
-
return props
|
|
27883
|
+
return props === null || props === void 0 ? void 0 : (_props$navContents = props.navContents) === null || _props$navContents === void 0 ? void 0 : (_props$navContents2 = _props$navContents[currentStep - 1]) === null || _props$navContents2 === void 0 ? void 0 : _props$navContents2.title;
|
|
27838
27884
|
};
|
|
27839
27885
|
|
|
27840
27886
|
const setState = value => {
|
|
@@ -27876,15 +27922,15 @@
|
|
|
27876
27922
|
});
|
|
27877
27923
|
props.onStepChange && props.onStepChange(e);
|
|
27878
27924
|
|
|
27879
|
-
if (props
|
|
27880
|
-
if ((e
|
|
27925
|
+
if (props !== null && props !== void 0 && (_props$navContents3 = props.navContents) !== null && _props$navContents3 !== void 0 && (_props$navContents4 = _props$navContents3[(e === null || e === void 0 ? void 0 : e.activeStep) - 1]) !== null && _props$navContents4 !== void 0 && _props$navContents4.disabled) {
|
|
27926
|
+
if ((e === null || e === void 0 ? void 0 : e.activeStep) > (e === null || e === void 0 ? void 0 : e.previousStep)) {
|
|
27881
27927
|
var _state$SW;
|
|
27882
27928
|
|
|
27883
|
-
state
|
|
27929
|
+
state === null || state === void 0 ? void 0 : (_state$SW = state.SW) === null || _state$SW === void 0 ? void 0 : _state$SW.nextStep();
|
|
27884
27930
|
} else {
|
|
27885
27931
|
var _state$SW2;
|
|
27886
27932
|
|
|
27887
|
-
state
|
|
27933
|
+
state === null || state === void 0 ? void 0 : (_state$SW2 = state.SW) === null || _state$SW2 === void 0 ? void 0 : _state$SW2.previousStep();
|
|
27888
27934
|
}
|
|
27889
27935
|
}
|
|
27890
27936
|
};
|
|
@@ -27900,11 +27946,11 @@
|
|
|
27900
27946
|
}, /*#__PURE__*/React__default["default"].createElement(StepWizardContext.Provider, {
|
|
27901
27947
|
value: {
|
|
27902
27948
|
toogleVisibility,
|
|
27903
|
-
isHide: state
|
|
27949
|
+
isHide: state === null || state === void 0 ? void 0 : state.hide,
|
|
27904
27950
|
setComplete,
|
|
27905
27951
|
setState,
|
|
27906
27952
|
state,
|
|
27907
|
-
SW: state
|
|
27953
|
+
SW: state === null || state === void 0 ? void 0 : state.SW,
|
|
27908
27954
|
forbidClickNav: props.forbidClickNav,
|
|
27909
27955
|
titles: props.titles,
|
|
27910
27956
|
isMobile: props.isMobile,
|
|
@@ -28077,10 +28123,10 @@
|
|
|
28077
28123
|
function getDatasets(content, activeId, isCollapse) {
|
|
28078
28124
|
const datasets = [];
|
|
28079
28125
|
|
|
28080
|
-
for (let i = 0; i < (content
|
|
28126
|
+
for (let i = 0; i < (content === null || content === void 0 ? void 0 : content.length); i++) {
|
|
28081
28127
|
var _content$i;
|
|
28082
28128
|
|
|
28083
|
-
if (((_content$i = content[i])
|
|
28129
|
+
if (((_content$i = content[i]) === null || _content$i === void 0 ? void 0 : _content$i.id) === activeId) {
|
|
28084
28130
|
datasets.unshift(content[i]);
|
|
28085
28131
|
} else {
|
|
28086
28132
|
datasets.push(content[i]);
|
|
@@ -28120,7 +28166,7 @@
|
|
|
28120
28166
|
lineNumber: 99,
|
|
28121
28167
|
columnNumber: 7
|
|
28122
28168
|
}
|
|
28123
|
-
}, (_getDatasets = getDatasets(content, activeId, isCollapse))
|
|
28169
|
+
}, (_getDatasets = getDatasets(content, activeId, isCollapse)) === null || _getDatasets === void 0 ? void 0 : _getDatasets.map((item, index) => {
|
|
28124
28170
|
return /*#__PURE__*/React__default["default"].createElement(List, {
|
|
28125
28171
|
key: index,
|
|
28126
28172
|
__self: this,
|
|
@@ -28137,11 +28183,11 @@
|
|
|
28137
28183
|
marginLeft: '-4px !important',
|
|
28138
28184
|
borderLeftWidth: '4px !important',
|
|
28139
28185
|
borderLeftStyle: 'solid !important',
|
|
28140
|
-
borderLeftColor: `${(item
|
|
28186
|
+
borderLeftColor: `${(item === null || item === void 0 ? void 0 : item.id) === activeId ? colors$4.primary500 : 'transparent'} !important`,
|
|
28141
28187
|
paddingLeft: '16px !important',
|
|
28142
28188
|
minHeight: 25
|
|
28143
28189
|
},
|
|
28144
|
-
"data-to-scrollspy-id": item
|
|
28190
|
+
"data-to-scrollspy-id": item === null || item === void 0 ? void 0 : item.id,
|
|
28145
28191
|
__self: this,
|
|
28146
28192
|
__source: {
|
|
28147
28193
|
fileName: _jsxFileName$2,
|
|
@@ -28150,8 +28196,8 @@
|
|
|
28150
28196
|
}
|
|
28151
28197
|
}, /*#__PURE__*/React__default["default"].createElement(Title$1, {
|
|
28152
28198
|
className: "link-title",
|
|
28153
|
-
active: (item
|
|
28154
|
-
href: `#${item
|
|
28199
|
+
active: (item === null || item === void 0 ? void 0 : item.id) === activeId,
|
|
28200
|
+
href: `#${item === null || item === void 0 ? void 0 : item.id}`,
|
|
28155
28201
|
onClick: e => {
|
|
28156
28202
|
e.preventDefault();
|
|
28157
28203
|
const target = window.document.getElementById(e.currentTarget.href.split('#')[1]);
|
|
@@ -28180,7 +28226,7 @@
|
|
|
28180
28226
|
lineNumber: 117,
|
|
28181
28227
|
columnNumber: 17
|
|
28182
28228
|
}
|
|
28183
|
-
}, item
|
|
28229
|
+
}, item === null || item === void 0 ? void 0 : item.title), item === null || item === void 0 ? void 0 : item.icon));
|
|
28184
28230
|
})));
|
|
28185
28231
|
}
|
|
28186
28232
|
|
|
@@ -28443,7 +28489,8 @@
|
|
|
28443
28489
|
var instance = props.instance,
|
|
28444
28490
|
emptyDataMessage = props.emptyDataMessage,
|
|
28445
28491
|
showCheckbox = props.showCheckbox,
|
|
28446
|
-
customRows = props.customRows
|
|
28492
|
+
customRows = props.customRows,
|
|
28493
|
+
onExpand = props.onExpand;
|
|
28447
28494
|
var getTableProps = instance.getTableProps,
|
|
28448
28495
|
getTableBodyProps = instance.getTableBodyProps,
|
|
28449
28496
|
headerGroups = instance.headerGroups,
|
|
@@ -28526,6 +28573,7 @@
|
|
|
28526
28573
|
}
|
|
28527
28574
|
|
|
28528
28575
|
row.toggleRowExpanded(!row.isExpanded);
|
|
28576
|
+
onExpand === null || onExpand === void 0 ? void 0 : onExpand(!row.isExpanded);
|
|
28529
28577
|
}
|
|
28530
28578
|
}, {
|
|
28531
28579
|
children: row.isExpanded ? jsxRuntime.jsx(icons.ChevronUpOutline, {}, void 0) : jsxRuntime.jsx(icons.ChevronDownOutline, {}, void 0)
|
|
@@ -28975,7 +29023,8 @@
|
|
|
28975
29023
|
getCheckboxProps = props.getCheckboxProps,
|
|
28976
29024
|
_a = props.keyId,
|
|
28977
29025
|
keyId = _a === void 0 ? 'id' : _a,
|
|
28978
|
-
selectedIds = props.selectedIds
|
|
29026
|
+
selectedIds = props.selectedIds,
|
|
29027
|
+
onExpand = props.onExpand;
|
|
28979
29028
|
|
|
28980
29029
|
var _b = React.useState(null),
|
|
28981
29030
|
selectedIndex = _b[0],
|
|
@@ -29234,7 +29283,8 @@
|
|
|
29234
29283
|
instance: instance,
|
|
29235
29284
|
emptyDataMessage: emptyDataMessage,
|
|
29236
29285
|
showCheckbox: showCheckbox,
|
|
29237
|
-
customRows: customRows
|
|
29286
|
+
customRows: customRows,
|
|
29287
|
+
onExpand: onExpand
|
|
29238
29288
|
}, void 0);
|
|
29239
29289
|
}
|
|
29240
29290
|
|