fis-component 0.0.52 → 0.0.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +71 -92
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/src/assets/icons/LineArrowsDown.d.ts +2 -0
- package/dist/cjs/types/src/assets/icons/LineArrowsUp.d.ts +3 -0
- package/dist/cjs/types/src/assets/icons/SortTableIcon.d.ts +3 -0
- package/dist/cjs/types/src/assets/icons/index.d.ts +3 -0
- package/dist/cjs/types/src/components/Table/Sorter/FISSorter.d.ts +1 -2
- package/dist/esm/index.js +71 -92
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/assets/icons/LineArrowsDown.d.ts +2 -0
- package/dist/esm/types/src/assets/icons/LineArrowsUp.d.ts +3 -0
- package/dist/esm/types/src/assets/icons/SortTableIcon.d.ts +3 -0
- package/dist/esm/types/src/assets/icons/index.d.ts +3 -0
- package/dist/esm/types/src/components/Table/Sorter/FISSorter.d.ts +1 -2
- package/dist/index.d.ts +1 -2
- package/package.json +1 -1
|
@@ -40,3 +40,6 @@ export { default as NoResultIcon } from "./NoResultIcon";
|
|
|
40
40
|
export { default as RemoveIcon } from "./RemoveIcon";
|
|
41
41
|
export { default as ChevronLeftIcon } from "./ChevronLeftIcon";
|
|
42
42
|
export { default as ChevronRightIcon } from "./ChevronRightIcon";
|
|
43
|
+
export { default as SortTableIcon } from "./SortTableIcon";
|
|
44
|
+
export { default as LineArrowsDownIcon } from "./LineArrowsDown";
|
|
45
|
+
export { default as LineArrowsUpIcon } from "./LineArrowsUp";
|
|
@@ -6,7 +6,6 @@ interface FISSorterProps {
|
|
|
6
6
|
columnKey: string | null;
|
|
7
7
|
order: string | null;
|
|
8
8
|
};
|
|
9
|
-
colorActive?: string;
|
|
10
9
|
UpIcon?: ComponentType<{
|
|
11
10
|
style?: React.CSSProperties;
|
|
12
11
|
}>;
|
|
@@ -14,5 +13,5 @@ interface FISSorterProps {
|
|
|
14
13
|
style?: React.CSSProperties;
|
|
15
14
|
}>;
|
|
16
15
|
}
|
|
17
|
-
declare const FISSorter: ({ columnKey, onSort, sortedInfo,
|
|
16
|
+
declare const FISSorter: ({ columnKey, onSort, sortedInfo, UpIcon, DownIcon, }: FISSorterProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
17
|
export default FISSorter;
|
package/dist/esm/index.js
CHANGED
|
@@ -12140,9 +12140,9 @@ var CheckCircleFilled = function CheckCircleFilled(props, ref) {
|
|
|
12140
12140
|
};
|
|
12141
12141
|
|
|
12142
12142
|
/** */
|
|
12143
|
-
var RefIcon$
|
|
12143
|
+
var RefIcon$r = /*#__PURE__*/React.forwardRef(CheckCircleFilled);
|
|
12144
12144
|
if (process.env.NODE_ENV !== 'production') {
|
|
12145
|
-
RefIcon$
|
|
12145
|
+
RefIcon$r.displayName = 'CheckCircleFilled';
|
|
12146
12146
|
}
|
|
12147
12147
|
|
|
12148
12148
|
// This icon file is generated automatically.
|
|
@@ -12156,9 +12156,9 @@ var CloseCircleFilled = function CloseCircleFilled(props, ref) {
|
|
|
12156
12156
|
};
|
|
12157
12157
|
|
|
12158
12158
|
/** */
|
|
12159
|
-
var RefIcon$
|
|
12159
|
+
var RefIcon$q = /*#__PURE__*/React.forwardRef(CloseCircleFilled);
|
|
12160
12160
|
if (process.env.NODE_ENV !== 'production') {
|
|
12161
|
-
RefIcon$
|
|
12161
|
+
RefIcon$q.displayName = 'CloseCircleFilled';
|
|
12162
12162
|
}
|
|
12163
12163
|
|
|
12164
12164
|
// This icon file is generated automatically.
|
|
@@ -12172,9 +12172,9 @@ var CloseOutlined = function CloseOutlined(props, ref) {
|
|
|
12172
12172
|
};
|
|
12173
12173
|
|
|
12174
12174
|
/** */
|
|
12175
|
-
var RefIcon$
|
|
12175
|
+
var RefIcon$p = /*#__PURE__*/React.forwardRef(CloseOutlined);
|
|
12176
12176
|
if (process.env.NODE_ENV !== 'production') {
|
|
12177
|
-
RefIcon$
|
|
12177
|
+
RefIcon$p.displayName = 'CloseOutlined';
|
|
12178
12178
|
}
|
|
12179
12179
|
|
|
12180
12180
|
// This icon file is generated automatically.
|
|
@@ -12188,9 +12188,9 @@ var ExclamationCircleFilled = function ExclamationCircleFilled(props, ref) {
|
|
|
12188
12188
|
};
|
|
12189
12189
|
|
|
12190
12190
|
/** */
|
|
12191
|
-
var RefIcon$
|
|
12191
|
+
var RefIcon$o = /*#__PURE__*/React.forwardRef(ExclamationCircleFilled);
|
|
12192
12192
|
if (process.env.NODE_ENV !== 'production') {
|
|
12193
|
-
RefIcon$
|
|
12193
|
+
RefIcon$o.displayName = 'ExclamationCircleFilled';
|
|
12194
12194
|
}
|
|
12195
12195
|
|
|
12196
12196
|
// This icon file is generated automatically.
|
|
@@ -12204,9 +12204,9 @@ var InfoCircleFilled = function InfoCircleFilled(props, ref) {
|
|
|
12204
12204
|
};
|
|
12205
12205
|
|
|
12206
12206
|
/** */
|
|
12207
|
-
var RefIcon$
|
|
12207
|
+
var RefIcon$n = /*#__PURE__*/React.forwardRef(InfoCircleFilled);
|
|
12208
12208
|
if (process.env.NODE_ENV !== 'production') {
|
|
12209
|
-
RefIcon$
|
|
12209
|
+
RefIcon$n.displayName = 'InfoCircleFilled';
|
|
12210
12210
|
}
|
|
12211
12211
|
|
|
12212
12212
|
var attributes = "accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap";
|
|
@@ -13125,9 +13125,9 @@ var LoadingOutlined = function LoadingOutlined(props, ref) {
|
|
|
13125
13125
|
};
|
|
13126
13126
|
|
|
13127
13127
|
/** */
|
|
13128
|
-
var RefIcon$
|
|
13128
|
+
var RefIcon$m = /*#__PURE__*/React.forwardRef(LoadingOutlined);
|
|
13129
13129
|
if (process.env.NODE_ENV !== 'production') {
|
|
13130
|
-
RefIcon$
|
|
13130
|
+
RefIcon$m.displayName = 'LoadingOutlined';
|
|
13131
13131
|
}
|
|
13132
13132
|
|
|
13133
13133
|
const zIndexContext = /*#__PURE__*/React__default.createContext(undefined);
|
|
@@ -14314,7 +14314,7 @@ const InnerLoadingIcon = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
14314
14314
|
className: mergedIconCls,
|
|
14315
14315
|
style: style,
|
|
14316
14316
|
ref: ref
|
|
14317
|
-
}, /*#__PURE__*/React__default.createElement(RefIcon$
|
|
14317
|
+
}, /*#__PURE__*/React__default.createElement(RefIcon$m, {
|
|
14318
14318
|
className: iconClassName
|
|
14319
14319
|
}));
|
|
14320
14320
|
});
|
|
@@ -15182,9 +15182,9 @@ var RightOutlined = function RightOutlined(props, ref) {
|
|
|
15182
15182
|
};
|
|
15183
15183
|
|
|
15184
15184
|
/** */
|
|
15185
|
-
var RefIcon$
|
|
15185
|
+
var RefIcon$l = /*#__PURE__*/React.forwardRef(RightOutlined);
|
|
15186
15186
|
if (process.env.NODE_ENV !== 'production') {
|
|
15187
|
-
RefIcon$
|
|
15187
|
+
RefIcon$l.displayName = 'RightOutlined';
|
|
15188
15188
|
}
|
|
15189
15189
|
|
|
15190
15190
|
var PanelContent = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
|
@@ -16360,7 +16360,7 @@ const Collapse = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
16360
16360
|
const mergedExpandIcon = expandIcon !== null && expandIcon !== void 0 ? expandIcon : contextExpandIcon;
|
|
16361
16361
|
const renderExpandIcon = React.useCallback(function () {
|
|
16362
16362
|
let panelProps = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
16363
|
-
const icon = typeof mergedExpandIcon === 'function' ? mergedExpandIcon(panelProps) : (/*#__PURE__*/React.createElement(RefIcon$
|
|
16363
|
+
const icon = typeof mergedExpandIcon === 'function' ? mergedExpandIcon(panelProps) : (/*#__PURE__*/React.createElement(RefIcon$l, {
|
|
16364
16364
|
rotate: panelProps.isActive ? direction === 'rtl' ? -90 : 90 : undefined,
|
|
16365
16365
|
"aria-label": panelProps.isActive ? 'expanded' : 'collapsed'
|
|
16366
16366
|
}));
|
|
@@ -21852,15 +21852,15 @@ function getCloseIcon(prefixCls, closeIcon) {
|
|
|
21852
21852
|
if (closeIcon === null || closeIcon === false) {
|
|
21853
21853
|
return null;
|
|
21854
21854
|
}
|
|
21855
|
-
return closeIcon || /*#__PURE__*/React.createElement(RefIcon$
|
|
21855
|
+
return closeIcon || /*#__PURE__*/React.createElement(RefIcon$p, {
|
|
21856
21856
|
className: `${prefixCls}-close-icon`
|
|
21857
21857
|
});
|
|
21858
21858
|
}
|
|
21859
21859
|
const typeToIcon = {
|
|
21860
|
-
success: RefIcon$
|
|
21861
|
-
info: RefIcon$
|
|
21862
|
-
error: RefIcon$
|
|
21863
|
-
warning: RefIcon$
|
|
21860
|
+
success: RefIcon$r,
|
|
21861
|
+
info: RefIcon$n,
|
|
21862
|
+
error: RefIcon$q,
|
|
21863
|
+
warning: RefIcon$o
|
|
21864
21864
|
};
|
|
21865
21865
|
const PureContent = props => {
|
|
21866
21866
|
const {
|
|
@@ -30175,9 +30175,9 @@ var CheckOutlined = function CheckOutlined(props, ref) {
|
|
|
30175
30175
|
};
|
|
30176
30176
|
|
|
30177
30177
|
/** */
|
|
30178
|
-
var RefIcon$
|
|
30178
|
+
var RefIcon$k = /*#__PURE__*/React.forwardRef(CheckOutlined);
|
|
30179
30179
|
if (process.env.NODE_ENV !== 'production') {
|
|
30180
|
-
RefIcon$
|
|
30180
|
+
RefIcon$k.displayName = 'CheckOutlined';
|
|
30181
30181
|
}
|
|
30182
30182
|
|
|
30183
30183
|
// This icon file is generated automatically.
|
|
@@ -30191,9 +30191,9 @@ var DownOutlined = function DownOutlined(props, ref) {
|
|
|
30191
30191
|
};
|
|
30192
30192
|
|
|
30193
30193
|
/** */
|
|
30194
|
-
var RefIcon$
|
|
30194
|
+
var RefIcon$j = /*#__PURE__*/React.forwardRef(DownOutlined);
|
|
30195
30195
|
if (process.env.NODE_ENV !== 'production') {
|
|
30196
|
-
RefIcon$
|
|
30196
|
+
RefIcon$j.displayName = 'DownOutlined';
|
|
30197
30197
|
}
|
|
30198
30198
|
|
|
30199
30199
|
// This icon file is generated automatically.
|
|
@@ -30207,9 +30207,9 @@ var SearchOutlined = function SearchOutlined(props, ref) {
|
|
|
30207
30207
|
};
|
|
30208
30208
|
|
|
30209
30209
|
/** */
|
|
30210
|
-
var RefIcon$
|
|
30210
|
+
var RefIcon$i = /*#__PURE__*/React.forwardRef(SearchOutlined);
|
|
30211
30211
|
if (process.env.NODE_ENV !== 'production') {
|
|
30212
|
-
RefIcon$
|
|
30212
|
+
RefIcon$i.displayName = 'SearchOutlined';
|
|
30213
30213
|
}
|
|
30214
30214
|
|
|
30215
30215
|
function useIcons$1(_ref) {
|
|
@@ -30232,7 +30232,7 @@ function useIcons$1(_ref) {
|
|
|
30232
30232
|
warning.deprecated(!clearIcon, 'clearIcon', 'allowClear={{ clearIcon: React.ReactNode }}');
|
|
30233
30233
|
}
|
|
30234
30234
|
// Clear Icon
|
|
30235
|
-
const mergedClearIcon = clearIcon !== null && clearIcon !== void 0 ? clearIcon : /*#__PURE__*/React.createElement(RefIcon$
|
|
30235
|
+
const mergedClearIcon = clearIcon !== null && clearIcon !== void 0 ? clearIcon : /*#__PURE__*/React.createElement(RefIcon$q, null);
|
|
30236
30236
|
// Validation Feedback Icon
|
|
30237
30237
|
const getSuffixIconNode = arrowIcon => {
|
|
30238
30238
|
if (suffixIcon === null && !hasFeedback && !showArrow) {
|
|
@@ -30245,7 +30245,7 @@ function useIcons$1(_ref) {
|
|
|
30245
30245
|
if (suffixIcon !== undefined) {
|
|
30246
30246
|
mergedSuffixIcon = getSuffixIconNode(suffixIcon);
|
|
30247
30247
|
} else if (loading) {
|
|
30248
|
-
mergedSuffixIcon = getSuffixIconNode(/*#__PURE__*/React.createElement(RefIcon$
|
|
30248
|
+
mergedSuffixIcon = getSuffixIconNode(/*#__PURE__*/React.createElement(RefIcon$m, {
|
|
30249
30249
|
spin: true
|
|
30250
30250
|
}));
|
|
30251
30251
|
} else {
|
|
@@ -30256,11 +30256,11 @@ function useIcons$1(_ref) {
|
|
|
30256
30256
|
showSearch
|
|
30257
30257
|
} = _ref2;
|
|
30258
30258
|
if (open && showSearch) {
|
|
30259
|
-
return getSuffixIconNode(/*#__PURE__*/React.createElement(RefIcon$
|
|
30259
|
+
return getSuffixIconNode(/*#__PURE__*/React.createElement(RefIcon$i, {
|
|
30260
30260
|
className: iconCls
|
|
30261
30261
|
}));
|
|
30262
30262
|
}
|
|
30263
|
-
return getSuffixIconNode(/*#__PURE__*/React.createElement(RefIcon$
|
|
30263
|
+
return getSuffixIconNode(/*#__PURE__*/React.createElement(RefIcon$j, {
|
|
30264
30264
|
className: iconCls
|
|
30265
30265
|
}));
|
|
30266
30266
|
};
|
|
@@ -30270,7 +30270,7 @@ function useIcons$1(_ref) {
|
|
|
30270
30270
|
if (menuItemSelectedIcon !== undefined) {
|
|
30271
30271
|
mergedItemIcon = menuItemSelectedIcon;
|
|
30272
30272
|
} else if (multiple) {
|
|
30273
|
-
mergedItemIcon = /*#__PURE__*/React.createElement(RefIcon$
|
|
30273
|
+
mergedItemIcon = /*#__PURE__*/React.createElement(RefIcon$k, null);
|
|
30274
30274
|
} else {
|
|
30275
30275
|
mergedItemIcon = null;
|
|
30276
30276
|
}
|
|
@@ -30278,7 +30278,7 @@ function useIcons$1(_ref) {
|
|
|
30278
30278
|
if (removeIcon !== undefined) {
|
|
30279
30279
|
mergedRemoveIcon = removeIcon;
|
|
30280
30280
|
} else {
|
|
30281
|
-
mergedRemoveIcon = /*#__PURE__*/React.createElement(RefIcon$
|
|
30281
|
+
mergedRemoveIcon = /*#__PURE__*/React.createElement(RefIcon$p, null);
|
|
30282
30282
|
}
|
|
30283
30283
|
return {
|
|
30284
30284
|
clearIcon: mergedClearIcon,
|
|
@@ -31599,9 +31599,9 @@ var LeftOutlined = function LeftOutlined(props, ref) {
|
|
|
31599
31599
|
};
|
|
31600
31600
|
|
|
31601
31601
|
/** */
|
|
31602
|
-
var RefIcon$
|
|
31602
|
+
var RefIcon$h = /*#__PURE__*/React.forwardRef(LeftOutlined);
|
|
31603
31603
|
if (process.env.NODE_ENV !== 'production') {
|
|
31604
|
-
RefIcon$
|
|
31604
|
+
RefIcon$h.displayName = 'LeftOutlined';
|
|
31605
31605
|
}
|
|
31606
31606
|
|
|
31607
31607
|
var ESC$1 = KeyCode.ESC,
|
|
@@ -33799,9 +33799,9 @@ var BarsOutlined = function BarsOutlined(props, ref) {
|
|
|
33799
33799
|
};
|
|
33800
33800
|
|
|
33801
33801
|
/** */
|
|
33802
|
-
var RefIcon$
|
|
33802
|
+
var RefIcon$g = /*#__PURE__*/React.forwardRef(BarsOutlined);
|
|
33803
33803
|
if (process.env.NODE_ENV !== 'production') {
|
|
33804
|
-
RefIcon$
|
|
33804
|
+
RefIcon$g.displayName = 'BarsOutlined';
|
|
33805
33805
|
}
|
|
33806
33806
|
|
|
33807
33807
|
const LayoutContext = /*#__PURE__*/React.createContext({
|
|
@@ -34155,11 +34155,11 @@ const Sider = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
34155
34155
|
onClick: toggle,
|
|
34156
34156
|
className: classNames(`${prefixCls}-zero-width-trigger`, `${prefixCls}-zero-width-trigger-${reverseArrow ? 'right' : 'left'}`),
|
|
34157
34157
|
style: zeroWidthTriggerStyle
|
|
34158
|
-
}, trigger || /*#__PURE__*/React.createElement(RefIcon$
|
|
34158
|
+
}, trigger || /*#__PURE__*/React.createElement(RefIcon$g, null))) : null;
|
|
34159
34159
|
const reverseIcon = direction === 'rtl' === !reverseArrow;
|
|
34160
34160
|
const iconObj = {
|
|
34161
|
-
expanded: reverseIcon ? /*#__PURE__*/React.createElement(RefIcon$
|
|
34162
|
-
collapsed: reverseIcon ? /*#__PURE__*/React.createElement(RefIcon$
|
|
34161
|
+
expanded: reverseIcon ? /*#__PURE__*/React.createElement(RefIcon$l, null) : /*#__PURE__*/React.createElement(RefIcon$h, null),
|
|
34162
|
+
collapsed: reverseIcon ? /*#__PURE__*/React.createElement(RefIcon$h, null) : /*#__PURE__*/React.createElement(RefIcon$l, null)
|
|
34163
34163
|
};
|
|
34164
34164
|
const status = collapsed ? 'collapsed' : 'expanded';
|
|
34165
34165
|
const defaultTrigger = iconObj[status];
|
|
@@ -34211,9 +34211,9 @@ var EllipsisOutlined = function EllipsisOutlined(props, ref) {
|
|
|
34211
34211
|
};
|
|
34212
34212
|
|
|
34213
34213
|
/** */
|
|
34214
|
-
var RefIcon$
|
|
34214
|
+
var RefIcon$f = /*#__PURE__*/React.forwardRef(EllipsisOutlined);
|
|
34215
34215
|
if (process.env.NODE_ENV !== 'production') {
|
|
34216
|
-
RefIcon$
|
|
34216
|
+
RefIcon$f.displayName = 'EllipsisOutlined';
|
|
34217
34217
|
}
|
|
34218
34218
|
|
|
34219
34219
|
const MenuContext = /*#__PURE__*/createContext$1({
|
|
@@ -35534,7 +35534,7 @@ const InternalMenu = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
35534
35534
|
value: contextValue
|
|
35535
35535
|
}, /*#__PURE__*/React.createElement(ExportMenu, Object.assign({
|
|
35536
35536
|
getPopupContainer: getPopupContainer,
|
|
35537
|
-
overflowedIndicator: /*#__PURE__*/React.createElement(RefIcon$
|
|
35537
|
+
overflowedIndicator: /*#__PURE__*/React.createElement(RefIcon$f, null),
|
|
35538
35538
|
overflowedIndicatorPopupClassName: classNames(prefixCls, `${prefixCls}-${theme}`, overflowedIndicatorPopupClassName),
|
|
35539
35539
|
mode: mergedMode,
|
|
35540
35540
|
selectable: mergedSelectable,
|
|
@@ -36024,9 +36024,9 @@ const Dropdown$1 = props => {
|
|
|
36024
36024
|
rootClassName: classNames(cssVarCls, rootCls),
|
|
36025
36025
|
expandIcon: /*#__PURE__*/React.createElement("span", {
|
|
36026
36026
|
className: `${prefixCls}-menu-submenu-arrow`
|
|
36027
|
-
}, direction === 'rtl' ? (/*#__PURE__*/React.createElement(RefIcon$
|
|
36027
|
+
}, direction === 'rtl' ? (/*#__PURE__*/React.createElement(RefIcon$h, {
|
|
36028
36028
|
className: `${prefixCls}-menu-submenu-arrow-icon`
|
|
36029
|
-
})) : (/*#__PURE__*/React.createElement(RefIcon$
|
|
36029
|
+
})) : (/*#__PURE__*/React.createElement(RefIcon$l, {
|
|
36030
36030
|
className: `${prefixCls}-menu-submenu-arrow-icon`
|
|
36031
36031
|
}))),
|
|
36032
36032
|
mode: "vertical",
|
|
@@ -46639,22 +46639,6 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
46639
46639
|
Checkbox.displayName = 'Checkbox';
|
|
46640
46640
|
}
|
|
46641
46641
|
|
|
46642
|
-
// This icon file is generated automatically.
|
|
46643
|
-
var UpOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" } }] }, "name": "up", "theme": "outlined" };
|
|
46644
|
-
|
|
46645
|
-
var UpOutlined = function UpOutlined(props, ref) {
|
|
46646
|
-
return /*#__PURE__*/React.createElement(Icon$2, _extends({}, props, {
|
|
46647
|
-
ref: ref,
|
|
46648
|
-
icon: UpOutlined$1
|
|
46649
|
-
}));
|
|
46650
|
-
};
|
|
46651
|
-
|
|
46652
|
-
/** */
|
|
46653
|
-
var RefIcon$f = /*#__PURE__*/React.forwardRef(UpOutlined);
|
|
46654
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
46655
|
-
RefIcon$f.displayName = 'UpOutlined';
|
|
46656
|
-
}
|
|
46657
|
-
|
|
46658
46642
|
function hasAddon(props) {
|
|
46659
46643
|
return !!(props.addonBefore || props.addonAfter);
|
|
46660
46644
|
}
|
|
@@ -47119,7 +47103,7 @@ const getAllowClear = allowClear => {
|
|
|
47119
47103
|
mergedAllowClear = allowClear;
|
|
47120
47104
|
} else if (allowClear) {
|
|
47121
47105
|
mergedAllowClear = {
|
|
47122
|
-
clearIcon: /*#__PURE__*/React__default.createElement(RefIcon$
|
|
47106
|
+
clearIcon: /*#__PURE__*/React__default.createElement(RefIcon$q, null)
|
|
47123
47107
|
};
|
|
47124
47108
|
}
|
|
47125
47109
|
return mergedAllowClear;
|
|
@@ -47942,7 +47926,7 @@ const DropdownButton = props => {
|
|
|
47942
47926
|
placement,
|
|
47943
47927
|
getPopupContainer,
|
|
47944
47928
|
href,
|
|
47945
|
-
icon = /*#__PURE__*/React.createElement(RefIcon$
|
|
47929
|
+
icon = /*#__PURE__*/React.createElement(RefIcon$f, null),
|
|
47946
47930
|
title,
|
|
47947
47931
|
buttonsRender = buttons => buttons,
|
|
47948
47932
|
mouseEnterDelay,
|
|
@@ -49396,12 +49380,12 @@ const Pagination = props => {
|
|
|
49396
49380
|
className: `${prefixCls}-item-link`,
|
|
49397
49381
|
type: "button",
|
|
49398
49382
|
tabIndex: -1
|
|
49399
|
-
}, direction === 'rtl' ? /*#__PURE__*/React.createElement(RefIcon$
|
|
49383
|
+
}, direction === 'rtl' ? /*#__PURE__*/React.createElement(RefIcon$l, null) : /*#__PURE__*/React.createElement(RefIcon$h, null));
|
|
49400
49384
|
const nextIcon = /*#__PURE__*/React.createElement("button", {
|
|
49401
49385
|
className: `${prefixCls}-item-link`,
|
|
49402
49386
|
type: "button",
|
|
49403
49387
|
tabIndex: -1
|
|
49404
|
-
}, direction === 'rtl' ? /*#__PURE__*/React.createElement(RefIcon$
|
|
49388
|
+
}, direction === 'rtl' ? /*#__PURE__*/React.createElement(RefIcon$h, null) : /*#__PURE__*/React.createElement(RefIcon$l, null));
|
|
49405
49389
|
const jumpPrevIcon =
|
|
49406
49390
|
/*#__PURE__*/
|
|
49407
49391
|
// biome-ignore lint/a11y/useValidAnchor: it is hard to refactor
|
|
@@ -54593,7 +54577,7 @@ const useSelection = (config, rowSelection) => {
|
|
|
54593
54577
|
}, /*#__PURE__*/React.createElement(Dropdown, {
|
|
54594
54578
|
menu: menu,
|
|
54595
54579
|
getPopupContainer: getPopupContainer
|
|
54596
|
-
}, /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(RefIcon$
|
|
54580
|
+
}, /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(RefIcon$j, null))));
|
|
54597
54581
|
}
|
|
54598
54582
|
const allDisabledData = flattedData.map((record, index) => {
|
|
54599
54583
|
const key = getRowKey(record, index);
|
|
@@ -57046,7 +57030,7 @@ const SwitcherIconCom = props => {
|
|
|
57046
57030
|
if (/*#__PURE__*/React.isValidElement(switcherLoadingIcon)) {
|
|
57047
57031
|
return switcherLoadingIcon;
|
|
57048
57032
|
}
|
|
57049
|
-
return /*#__PURE__*/React.createElement(RefIcon$
|
|
57033
|
+
return /*#__PURE__*/React.createElement(RefIcon$m, {
|
|
57050
57034
|
className: `${prefixCls}-switcher-loading-icon`
|
|
57051
57035
|
});
|
|
57052
57036
|
}
|
|
@@ -57439,7 +57423,7 @@ const FilterSearch = props => {
|
|
|
57439
57423
|
return /*#__PURE__*/React.createElement("div", {
|
|
57440
57424
|
className: `${tablePrefixCls}-filter-dropdown-search`
|
|
57441
57425
|
}, /*#__PURE__*/React.createElement(Input, {
|
|
57442
|
-
prefix: /*#__PURE__*/React.createElement(RefIcon$
|
|
57426
|
+
prefix: /*#__PURE__*/React.createElement(RefIcon$i, null),
|
|
57443
57427
|
placeholder: locale.filterSearchPlaceholder,
|
|
57444
57428
|
onChange: onChange,
|
|
57445
57429
|
value: value,
|
|
@@ -61635,6 +61619,12 @@ function ChevronRightIcon(props) {
|
|
|
61635
61619
|
return (jsx("svg", { width: width, height: height, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest, children: jsx("path", { d: "M6 12L10 8L6 4", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }) }));
|
|
61636
61620
|
}
|
|
61637
61621
|
|
|
61622
|
+
const SortTableIcon = (props) => (jsx("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: jsx("path", { d: "M4.66666 9.99996L7.99999 13.3333L11.3333 9.99996M4.66666 5.99996L7.99999 2.66663L11.3333 5.99996", stroke: "#505A5F", strokeLinecap: "round", strokeLinejoin: "round" }) }));
|
|
61623
|
+
|
|
61624
|
+
const LineArrowsDown = (props) => (jsx("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: jsx("path", { d: "M11.3333 2.66663V9.99996M11.3333 9.99996L8.66667 7.33329M11.3333 9.99996L14 7.33329M4.66667 2.66663V13.3333M4.66667 13.3333L2 10.6666M4.66667 13.3333L7.33333 10.6666", stroke: "#505A5F", strokeLinecap: "round", strokeLinejoin: "round" }) }));
|
|
61625
|
+
|
|
61626
|
+
const LineArrowsUp = (props) => (jsx("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: jsx("path", { d: "M4.66667 13.3333V2.66663M4.66667 2.66663L2 5.33329M4.66667 2.66663L7.33333 5.33329M11.3333 13.3333V5.99996M11.3333 5.99996L8.66667 8.66663M11.3333 5.99996L14 8.66663", stroke: "#505A5F", strokeLinecap: "round", strokeLinejoin: "round" }) }));
|
|
61627
|
+
|
|
61638
61628
|
const renderSystemNotification = ({ title, description, imgUrl, okText = "ok", cancelText = "Dismiss", moreOption, onMoreClick, onOk, onCancel, onClose, }) => {
|
|
61639
61629
|
return (jsxs(DivNotificationSystemWrapperSC, { children: [jsx(ImgNotificationSystemSC, { src: imgUrl }), jsxs(DivNotificationSystemContainerSC, { children: [jsxs(DivNotificationContentWrapperSC, { children: [jsxs(DivNotificationContentSC, { children: [jsxs(DivNotificationHeaderSC, { children: [jsx(DivNotificationTitleSC, { children: title }), moreOption && (jsx(DivIconActionSC, { children: jsx(FISIconButton, { variant: "tertiary-invisible", size: "xs", icon: jsx(MoreIcon, {}), onClick: onMoreClick }) }))] }), jsx(DivNotificationDescriptionSC, { children: description })] }), jsxs(DivNotificationActionsSC, { children: [jsx(FISLinkButton, { size: "xs", variant: "hight-priority", onClick: onOk, children: okText }), jsx(FISLinkButton, { size: "xs", onClick: onCancel, children: cancelText })] })] }), jsx(DivIconActionSC, { children: jsx(FISIconButton, { icon: jsx(CloseIcon, {}), size: "xs", variant: "tertiary-invisible", onClick: onClose }) })] })] }));
|
|
61640
61630
|
};
|
|
@@ -71290,13 +71280,10 @@ const DivHeaderCellContainerSC = styled.div `
|
|
|
71290
71280
|
|
|
71291
71281
|
.right-component-father {
|
|
71292
71282
|
display: flex;
|
|
71283
|
+
align-items: center;
|
|
71293
71284
|
justify-content: center;
|
|
71294
71285
|
width: ${getTheme("com/button/size-xs/icon/size-icon")};
|
|
71295
71286
|
height: ${getTheme("com/button/size-xs/icon/size-icon")};
|
|
71296
|
-
.right-component-child {
|
|
71297
|
-
flex-shrink: 0;
|
|
71298
|
-
align-self: center;
|
|
71299
|
-
}
|
|
71300
71287
|
}
|
|
71301
71288
|
|
|
71302
71289
|
${(props) => {
|
|
@@ -71323,7 +71310,7 @@ const DivHeaderCellContainerSC = styled.div `
|
|
|
71323
71310
|
`;
|
|
71324
71311
|
|
|
71325
71312
|
const FISTableHeaderCell = forwardRef(({ className, label, description, rightComponent, disabled, hasRightDivider = true, hasTruncateLabel = false, onlyIcon = false, textAlign = "left", ...rest }, ref) => {
|
|
71326
|
-
return (jsx(DivHeaderCellContainerSC, { ref: ref, className: classNames("header-cell-container", className), "$textAlign": textAlign, "$disabled": disabled, "$hasTruncateLabel": hasTruncateLabel, "$hasRightDivider": hasRightDivider, "$onlyIcon": onlyIcon, ...rest, children: jsxs("div", { className: "header-cell-content", children: [jsxs("div", { className: "cell-content title", children: [label && jsx("div", { className: "label", children: label }), rightComponent && (jsx("div", { className: "right-component-father", children:
|
|
71313
|
+
return (jsx(DivHeaderCellContainerSC, { ref: ref, className: classNames("header-cell-container", className), "$textAlign": textAlign, "$disabled": disabled, "$hasTruncateLabel": hasTruncateLabel, "$hasRightDivider": hasRightDivider, "$onlyIcon": onlyIcon, ...rest, children: jsxs("div", { className: "header-cell-content", children: [jsxs("div", { className: "cell-content title", children: [label && jsx("div", { className: "label", children: label }), rightComponent && (jsx("div", { className: "right-component-father", children: rightComponent }))] }), description && (jsx("div", { className: "cell-content", children: jsx("div", { className: "description", children: description }) }))] }) }));
|
|
71327
71314
|
});
|
|
71328
71315
|
FISTableHeaderCell.displayName = "FISTableHeaderCell";
|
|
71329
71316
|
|
|
@@ -71633,20 +71620,7 @@ const SORT_ORDERS = {
|
|
|
71633
71620
|
DESCEND: "descend",
|
|
71634
71621
|
NONE: null,
|
|
71635
71622
|
};
|
|
71636
|
-
const
|
|
71637
|
-
margin-top: -2px;
|
|
71638
|
-
.sort-icon {
|
|
71639
|
-
display: flex;
|
|
71640
|
-
flex-direction: column;
|
|
71641
|
-
align-items: center;
|
|
71642
|
-
|
|
71643
|
-
span {
|
|
71644
|
-
width: 6px;
|
|
71645
|
-
height: 5px;
|
|
71646
|
-
}
|
|
71647
|
-
}
|
|
71648
|
-
`;
|
|
71649
|
-
const FISSorter = ({ columnKey, onSort, sortedInfo, colorActive = "#2489e1", UpIcon = RefIcon$f, DownIcon = RefIcon$k, }) => {
|
|
71623
|
+
const FISSorter = ({ columnKey, onSort, sortedInfo, UpIcon = LineArrowsUp, DownIcon = LineArrowsDown, }) => {
|
|
71650
71624
|
const currentOrder = sortedInfo.columnKey === columnKey ? sortedInfo.order : SORT_ORDERS.NONE;
|
|
71651
71625
|
const handleSort = () => {
|
|
71652
71626
|
const newOrder = currentOrder === SORT_ORDERS.ASCEND
|
|
@@ -71656,11 +71630,16 @@ const FISSorter = ({ columnKey, onSort, sortedInfo, colorActive = "#2489e1", UpI
|
|
|
71656
71630
|
: SORT_ORDERS.ASCEND;
|
|
71657
71631
|
onSort(columnKey, newOrder);
|
|
71658
71632
|
};
|
|
71659
|
-
|
|
71660
|
-
|
|
71661
|
-
|
|
71662
|
-
|
|
71663
|
-
|
|
71633
|
+
const renderSortIcon = () => {
|
|
71634
|
+
if (currentOrder === SORT_ORDERS.ASCEND) {
|
|
71635
|
+
return jsx(UpIcon, {});
|
|
71636
|
+
}
|
|
71637
|
+
if (currentOrder === SORT_ORDERS.DESCEND) {
|
|
71638
|
+
return jsx(DownIcon, {});
|
|
71639
|
+
}
|
|
71640
|
+
return jsx(SortTableIcon, {});
|
|
71641
|
+
};
|
|
71642
|
+
return (jsx(FISIconButton, { onClick: handleSort, variant: "tertiary-invisible", size: "xs", icon: renderSortIcon() }));
|
|
71664
71643
|
};
|
|
71665
71644
|
|
|
71666
71645
|
const DivDateRangeContainerSC = styled.div `
|