fis-component 0.0.52 → 0.0.54
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 +72 -93
- 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 +4 -5
- package/dist/esm/index.js +72 -93
- 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 +4 -5
- package/dist/index.d.ts +4 -5
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -12160,9 +12160,9 @@ var CheckCircleFilled = function CheckCircleFilled(props, ref) {
|
|
|
12160
12160
|
};
|
|
12161
12161
|
|
|
12162
12162
|
/** */
|
|
12163
|
-
var RefIcon$
|
|
12163
|
+
var RefIcon$r = /*#__PURE__*/React__namespace.forwardRef(CheckCircleFilled);
|
|
12164
12164
|
if (process.env.NODE_ENV !== 'production') {
|
|
12165
|
-
RefIcon$
|
|
12165
|
+
RefIcon$r.displayName = 'CheckCircleFilled';
|
|
12166
12166
|
}
|
|
12167
12167
|
|
|
12168
12168
|
// This icon file is generated automatically.
|
|
@@ -12176,9 +12176,9 @@ var CloseCircleFilled = function CloseCircleFilled(props, ref) {
|
|
|
12176
12176
|
};
|
|
12177
12177
|
|
|
12178
12178
|
/** */
|
|
12179
|
-
var RefIcon$
|
|
12179
|
+
var RefIcon$q = /*#__PURE__*/React__namespace.forwardRef(CloseCircleFilled);
|
|
12180
12180
|
if (process.env.NODE_ENV !== 'production') {
|
|
12181
|
-
RefIcon$
|
|
12181
|
+
RefIcon$q.displayName = 'CloseCircleFilled';
|
|
12182
12182
|
}
|
|
12183
12183
|
|
|
12184
12184
|
// This icon file is generated automatically.
|
|
@@ -12192,9 +12192,9 @@ var CloseOutlined = function CloseOutlined(props, ref) {
|
|
|
12192
12192
|
};
|
|
12193
12193
|
|
|
12194
12194
|
/** */
|
|
12195
|
-
var RefIcon$
|
|
12195
|
+
var RefIcon$p = /*#__PURE__*/React__namespace.forwardRef(CloseOutlined);
|
|
12196
12196
|
if (process.env.NODE_ENV !== 'production') {
|
|
12197
|
-
RefIcon$
|
|
12197
|
+
RefIcon$p.displayName = 'CloseOutlined';
|
|
12198
12198
|
}
|
|
12199
12199
|
|
|
12200
12200
|
// This icon file is generated automatically.
|
|
@@ -12208,9 +12208,9 @@ var ExclamationCircleFilled = function ExclamationCircleFilled(props, ref) {
|
|
|
12208
12208
|
};
|
|
12209
12209
|
|
|
12210
12210
|
/** */
|
|
12211
|
-
var RefIcon$
|
|
12211
|
+
var RefIcon$o = /*#__PURE__*/React__namespace.forwardRef(ExclamationCircleFilled);
|
|
12212
12212
|
if (process.env.NODE_ENV !== 'production') {
|
|
12213
|
-
RefIcon$
|
|
12213
|
+
RefIcon$o.displayName = 'ExclamationCircleFilled';
|
|
12214
12214
|
}
|
|
12215
12215
|
|
|
12216
12216
|
// This icon file is generated automatically.
|
|
@@ -12224,9 +12224,9 @@ var InfoCircleFilled = function InfoCircleFilled(props, ref) {
|
|
|
12224
12224
|
};
|
|
12225
12225
|
|
|
12226
12226
|
/** */
|
|
12227
|
-
var RefIcon$
|
|
12227
|
+
var RefIcon$n = /*#__PURE__*/React__namespace.forwardRef(InfoCircleFilled);
|
|
12228
12228
|
if (process.env.NODE_ENV !== 'production') {
|
|
12229
|
-
RefIcon$
|
|
12229
|
+
RefIcon$n.displayName = 'InfoCircleFilled';
|
|
12230
12230
|
}
|
|
12231
12231
|
|
|
12232
12232
|
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";
|
|
@@ -13145,9 +13145,9 @@ var LoadingOutlined = function LoadingOutlined(props, ref) {
|
|
|
13145
13145
|
};
|
|
13146
13146
|
|
|
13147
13147
|
/** */
|
|
13148
|
-
var RefIcon$
|
|
13148
|
+
var RefIcon$m = /*#__PURE__*/React__namespace.forwardRef(LoadingOutlined);
|
|
13149
13149
|
if (process.env.NODE_ENV !== 'production') {
|
|
13150
|
-
RefIcon$
|
|
13150
|
+
RefIcon$m.displayName = 'LoadingOutlined';
|
|
13151
13151
|
}
|
|
13152
13152
|
|
|
13153
13153
|
const zIndexContext = /*#__PURE__*/React.createContext(undefined);
|
|
@@ -14334,7 +14334,7 @@ const InnerLoadingIcon = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
14334
14334
|
className: mergedIconCls,
|
|
14335
14335
|
style: style,
|
|
14336
14336
|
ref: ref
|
|
14337
|
-
}, /*#__PURE__*/React.createElement(RefIcon$
|
|
14337
|
+
}, /*#__PURE__*/React.createElement(RefIcon$m, {
|
|
14338
14338
|
className: iconClassName
|
|
14339
14339
|
}));
|
|
14340
14340
|
});
|
|
@@ -15202,9 +15202,9 @@ var RightOutlined = function RightOutlined(props, ref) {
|
|
|
15202
15202
|
};
|
|
15203
15203
|
|
|
15204
15204
|
/** */
|
|
15205
|
-
var RefIcon$
|
|
15205
|
+
var RefIcon$l = /*#__PURE__*/React__namespace.forwardRef(RightOutlined);
|
|
15206
15206
|
if (process.env.NODE_ENV !== 'production') {
|
|
15207
|
-
RefIcon$
|
|
15207
|
+
RefIcon$l.displayName = 'RightOutlined';
|
|
15208
15208
|
}
|
|
15209
15209
|
|
|
15210
15210
|
var PanelContent = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
@@ -16380,7 +16380,7 @@ const Collapse = /*#__PURE__*/React__namespace.forwardRef((props, ref) => {
|
|
|
16380
16380
|
const mergedExpandIcon = expandIcon !== null && expandIcon !== void 0 ? expandIcon : contextExpandIcon;
|
|
16381
16381
|
const renderExpandIcon = React__namespace.useCallback(function () {
|
|
16382
16382
|
let panelProps = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
16383
|
-
const icon = typeof mergedExpandIcon === 'function' ? mergedExpandIcon(panelProps) : (/*#__PURE__*/React__namespace.createElement(RefIcon$
|
|
16383
|
+
const icon = typeof mergedExpandIcon === 'function' ? mergedExpandIcon(panelProps) : (/*#__PURE__*/React__namespace.createElement(RefIcon$l, {
|
|
16384
16384
|
rotate: panelProps.isActive ? direction === 'rtl' ? -90 : 90 : undefined,
|
|
16385
16385
|
"aria-label": panelProps.isActive ? 'expanded' : 'collapsed'
|
|
16386
16386
|
}));
|
|
@@ -21872,15 +21872,15 @@ function getCloseIcon(prefixCls, closeIcon) {
|
|
|
21872
21872
|
if (closeIcon === null || closeIcon === false) {
|
|
21873
21873
|
return null;
|
|
21874
21874
|
}
|
|
21875
|
-
return closeIcon || /*#__PURE__*/React__namespace.createElement(RefIcon$
|
|
21875
|
+
return closeIcon || /*#__PURE__*/React__namespace.createElement(RefIcon$p, {
|
|
21876
21876
|
className: `${prefixCls}-close-icon`
|
|
21877
21877
|
});
|
|
21878
21878
|
}
|
|
21879
21879
|
const typeToIcon = {
|
|
21880
|
-
success: RefIcon$
|
|
21881
|
-
info: RefIcon$
|
|
21882
|
-
error: RefIcon$
|
|
21883
|
-
warning: RefIcon$
|
|
21880
|
+
success: RefIcon$r,
|
|
21881
|
+
info: RefIcon$n,
|
|
21882
|
+
error: RefIcon$q,
|
|
21883
|
+
warning: RefIcon$o
|
|
21884
21884
|
};
|
|
21885
21885
|
const PureContent = props => {
|
|
21886
21886
|
const {
|
|
@@ -30195,9 +30195,9 @@ var CheckOutlined = function CheckOutlined(props, ref) {
|
|
|
30195
30195
|
};
|
|
30196
30196
|
|
|
30197
30197
|
/** */
|
|
30198
|
-
var RefIcon$
|
|
30198
|
+
var RefIcon$k = /*#__PURE__*/React__namespace.forwardRef(CheckOutlined);
|
|
30199
30199
|
if (process.env.NODE_ENV !== 'production') {
|
|
30200
|
-
RefIcon$
|
|
30200
|
+
RefIcon$k.displayName = 'CheckOutlined';
|
|
30201
30201
|
}
|
|
30202
30202
|
|
|
30203
30203
|
// This icon file is generated automatically.
|
|
@@ -30211,9 +30211,9 @@ var DownOutlined = function DownOutlined(props, ref) {
|
|
|
30211
30211
|
};
|
|
30212
30212
|
|
|
30213
30213
|
/** */
|
|
30214
|
-
var RefIcon$
|
|
30214
|
+
var RefIcon$j = /*#__PURE__*/React__namespace.forwardRef(DownOutlined);
|
|
30215
30215
|
if (process.env.NODE_ENV !== 'production') {
|
|
30216
|
-
RefIcon$
|
|
30216
|
+
RefIcon$j.displayName = 'DownOutlined';
|
|
30217
30217
|
}
|
|
30218
30218
|
|
|
30219
30219
|
// This icon file is generated automatically.
|
|
@@ -30227,9 +30227,9 @@ var SearchOutlined = function SearchOutlined(props, ref) {
|
|
|
30227
30227
|
};
|
|
30228
30228
|
|
|
30229
30229
|
/** */
|
|
30230
|
-
var RefIcon$
|
|
30230
|
+
var RefIcon$i = /*#__PURE__*/React__namespace.forwardRef(SearchOutlined);
|
|
30231
30231
|
if (process.env.NODE_ENV !== 'production') {
|
|
30232
|
-
RefIcon$
|
|
30232
|
+
RefIcon$i.displayName = 'SearchOutlined';
|
|
30233
30233
|
}
|
|
30234
30234
|
|
|
30235
30235
|
function useIcons$1(_ref) {
|
|
@@ -30252,7 +30252,7 @@ function useIcons$1(_ref) {
|
|
|
30252
30252
|
warning.deprecated(!clearIcon, 'clearIcon', 'allowClear={{ clearIcon: React.ReactNode }}');
|
|
30253
30253
|
}
|
|
30254
30254
|
// Clear Icon
|
|
30255
|
-
const mergedClearIcon = clearIcon !== null && clearIcon !== void 0 ? clearIcon : /*#__PURE__*/React__namespace.createElement(RefIcon$
|
|
30255
|
+
const mergedClearIcon = clearIcon !== null && clearIcon !== void 0 ? clearIcon : /*#__PURE__*/React__namespace.createElement(RefIcon$q, null);
|
|
30256
30256
|
// Validation Feedback Icon
|
|
30257
30257
|
const getSuffixIconNode = arrowIcon => {
|
|
30258
30258
|
if (suffixIcon === null && !hasFeedback && !showArrow) {
|
|
@@ -30265,7 +30265,7 @@ function useIcons$1(_ref) {
|
|
|
30265
30265
|
if (suffixIcon !== undefined) {
|
|
30266
30266
|
mergedSuffixIcon = getSuffixIconNode(suffixIcon);
|
|
30267
30267
|
} else if (loading) {
|
|
30268
|
-
mergedSuffixIcon = getSuffixIconNode(/*#__PURE__*/React__namespace.createElement(RefIcon$
|
|
30268
|
+
mergedSuffixIcon = getSuffixIconNode(/*#__PURE__*/React__namespace.createElement(RefIcon$m, {
|
|
30269
30269
|
spin: true
|
|
30270
30270
|
}));
|
|
30271
30271
|
} else {
|
|
@@ -30276,11 +30276,11 @@ function useIcons$1(_ref) {
|
|
|
30276
30276
|
showSearch
|
|
30277
30277
|
} = _ref2;
|
|
30278
30278
|
if (open && showSearch) {
|
|
30279
|
-
return getSuffixIconNode(/*#__PURE__*/React__namespace.createElement(RefIcon$
|
|
30279
|
+
return getSuffixIconNode(/*#__PURE__*/React__namespace.createElement(RefIcon$i, {
|
|
30280
30280
|
className: iconCls
|
|
30281
30281
|
}));
|
|
30282
30282
|
}
|
|
30283
|
-
return getSuffixIconNode(/*#__PURE__*/React__namespace.createElement(RefIcon$
|
|
30283
|
+
return getSuffixIconNode(/*#__PURE__*/React__namespace.createElement(RefIcon$j, {
|
|
30284
30284
|
className: iconCls
|
|
30285
30285
|
}));
|
|
30286
30286
|
};
|
|
@@ -30290,7 +30290,7 @@ function useIcons$1(_ref) {
|
|
|
30290
30290
|
if (menuItemSelectedIcon !== undefined) {
|
|
30291
30291
|
mergedItemIcon = menuItemSelectedIcon;
|
|
30292
30292
|
} else if (multiple) {
|
|
30293
|
-
mergedItemIcon = /*#__PURE__*/React__namespace.createElement(RefIcon$
|
|
30293
|
+
mergedItemIcon = /*#__PURE__*/React__namespace.createElement(RefIcon$k, null);
|
|
30294
30294
|
} else {
|
|
30295
30295
|
mergedItemIcon = null;
|
|
30296
30296
|
}
|
|
@@ -30298,7 +30298,7 @@ function useIcons$1(_ref) {
|
|
|
30298
30298
|
if (removeIcon !== undefined) {
|
|
30299
30299
|
mergedRemoveIcon = removeIcon;
|
|
30300
30300
|
} else {
|
|
30301
|
-
mergedRemoveIcon = /*#__PURE__*/React__namespace.createElement(RefIcon$
|
|
30301
|
+
mergedRemoveIcon = /*#__PURE__*/React__namespace.createElement(RefIcon$p, null);
|
|
30302
30302
|
}
|
|
30303
30303
|
return {
|
|
30304
30304
|
clearIcon: mergedClearIcon,
|
|
@@ -31619,9 +31619,9 @@ var LeftOutlined = function LeftOutlined(props, ref) {
|
|
|
31619
31619
|
};
|
|
31620
31620
|
|
|
31621
31621
|
/** */
|
|
31622
|
-
var RefIcon$
|
|
31622
|
+
var RefIcon$h = /*#__PURE__*/React__namespace.forwardRef(LeftOutlined);
|
|
31623
31623
|
if (process.env.NODE_ENV !== 'production') {
|
|
31624
|
-
RefIcon$
|
|
31624
|
+
RefIcon$h.displayName = 'LeftOutlined';
|
|
31625
31625
|
}
|
|
31626
31626
|
|
|
31627
31627
|
var ESC$1 = KeyCode.ESC,
|
|
@@ -33819,9 +33819,9 @@ var BarsOutlined = function BarsOutlined(props, ref) {
|
|
|
33819
33819
|
};
|
|
33820
33820
|
|
|
33821
33821
|
/** */
|
|
33822
|
-
var RefIcon$
|
|
33822
|
+
var RefIcon$g = /*#__PURE__*/React__namespace.forwardRef(BarsOutlined);
|
|
33823
33823
|
if (process.env.NODE_ENV !== 'production') {
|
|
33824
|
-
RefIcon$
|
|
33824
|
+
RefIcon$g.displayName = 'BarsOutlined';
|
|
33825
33825
|
}
|
|
33826
33826
|
|
|
33827
33827
|
const LayoutContext = /*#__PURE__*/React__namespace.createContext({
|
|
@@ -34175,11 +34175,11 @@ const Sider = /*#__PURE__*/React__namespace.forwardRef((props, ref) => {
|
|
|
34175
34175
|
onClick: toggle,
|
|
34176
34176
|
className: classNames(`${prefixCls}-zero-width-trigger`, `${prefixCls}-zero-width-trigger-${reverseArrow ? 'right' : 'left'}`),
|
|
34177
34177
|
style: zeroWidthTriggerStyle
|
|
34178
|
-
}, trigger || /*#__PURE__*/React__namespace.createElement(RefIcon$
|
|
34178
|
+
}, trigger || /*#__PURE__*/React__namespace.createElement(RefIcon$g, null))) : null;
|
|
34179
34179
|
const reverseIcon = direction === 'rtl' === !reverseArrow;
|
|
34180
34180
|
const iconObj = {
|
|
34181
|
-
expanded: reverseIcon ? /*#__PURE__*/React__namespace.createElement(RefIcon$
|
|
34182
|
-
collapsed: reverseIcon ? /*#__PURE__*/React__namespace.createElement(RefIcon$
|
|
34181
|
+
expanded: reverseIcon ? /*#__PURE__*/React__namespace.createElement(RefIcon$l, null) : /*#__PURE__*/React__namespace.createElement(RefIcon$h, null),
|
|
34182
|
+
collapsed: reverseIcon ? /*#__PURE__*/React__namespace.createElement(RefIcon$h, null) : /*#__PURE__*/React__namespace.createElement(RefIcon$l, null)
|
|
34183
34183
|
};
|
|
34184
34184
|
const status = collapsed ? 'collapsed' : 'expanded';
|
|
34185
34185
|
const defaultTrigger = iconObj[status];
|
|
@@ -34231,9 +34231,9 @@ var EllipsisOutlined = function EllipsisOutlined(props, ref) {
|
|
|
34231
34231
|
};
|
|
34232
34232
|
|
|
34233
34233
|
/** */
|
|
34234
|
-
var RefIcon$
|
|
34234
|
+
var RefIcon$f = /*#__PURE__*/React__namespace.forwardRef(EllipsisOutlined);
|
|
34235
34235
|
if (process.env.NODE_ENV !== 'production') {
|
|
34236
|
-
RefIcon$
|
|
34236
|
+
RefIcon$f.displayName = 'EllipsisOutlined';
|
|
34237
34237
|
}
|
|
34238
34238
|
|
|
34239
34239
|
const MenuContext = /*#__PURE__*/React.createContext({
|
|
@@ -35554,7 +35554,7 @@ const InternalMenu = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
35554
35554
|
value: contextValue
|
|
35555
35555
|
}, /*#__PURE__*/React__namespace.createElement(ExportMenu, Object.assign({
|
|
35556
35556
|
getPopupContainer: getPopupContainer,
|
|
35557
|
-
overflowedIndicator: /*#__PURE__*/React__namespace.createElement(RefIcon$
|
|
35557
|
+
overflowedIndicator: /*#__PURE__*/React__namespace.createElement(RefIcon$f, null),
|
|
35558
35558
|
overflowedIndicatorPopupClassName: classNames(prefixCls, `${prefixCls}-${theme}`, overflowedIndicatorPopupClassName),
|
|
35559
35559
|
mode: mergedMode,
|
|
35560
35560
|
selectable: mergedSelectable,
|
|
@@ -36044,9 +36044,9 @@ const Dropdown$1 = props => {
|
|
|
36044
36044
|
rootClassName: classNames(cssVarCls, rootCls),
|
|
36045
36045
|
expandIcon: /*#__PURE__*/React__namespace.createElement("span", {
|
|
36046
36046
|
className: `${prefixCls}-menu-submenu-arrow`
|
|
36047
|
-
}, direction === 'rtl' ? (/*#__PURE__*/React__namespace.createElement(RefIcon$
|
|
36047
|
+
}, direction === 'rtl' ? (/*#__PURE__*/React__namespace.createElement(RefIcon$h, {
|
|
36048
36048
|
className: `${prefixCls}-menu-submenu-arrow-icon`
|
|
36049
|
-
})) : (/*#__PURE__*/React__namespace.createElement(RefIcon$
|
|
36049
|
+
})) : (/*#__PURE__*/React__namespace.createElement(RefIcon$l, {
|
|
36050
36050
|
className: `${prefixCls}-menu-submenu-arrow-icon`
|
|
36051
36051
|
}))),
|
|
36052
36052
|
mode: "vertical",
|
|
@@ -46659,22 +46659,6 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
46659
46659
|
Checkbox.displayName = 'Checkbox';
|
|
46660
46660
|
}
|
|
46661
46661
|
|
|
46662
|
-
// This icon file is generated automatically.
|
|
46663
|
-
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" };
|
|
46664
|
-
|
|
46665
|
-
var UpOutlined = function UpOutlined(props, ref) {
|
|
46666
|
-
return /*#__PURE__*/React__namespace.createElement(Icon$2, _extends({}, props, {
|
|
46667
|
-
ref: ref,
|
|
46668
|
-
icon: UpOutlined$1
|
|
46669
|
-
}));
|
|
46670
|
-
};
|
|
46671
|
-
|
|
46672
|
-
/** */
|
|
46673
|
-
var RefIcon$f = /*#__PURE__*/React__namespace.forwardRef(UpOutlined);
|
|
46674
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
46675
|
-
RefIcon$f.displayName = 'UpOutlined';
|
|
46676
|
-
}
|
|
46677
|
-
|
|
46678
46662
|
function hasAddon(props) {
|
|
46679
46663
|
return !!(props.addonBefore || props.addonAfter);
|
|
46680
46664
|
}
|
|
@@ -47139,7 +47123,7 @@ const getAllowClear = allowClear => {
|
|
|
47139
47123
|
mergedAllowClear = allowClear;
|
|
47140
47124
|
} else if (allowClear) {
|
|
47141
47125
|
mergedAllowClear = {
|
|
47142
|
-
clearIcon: /*#__PURE__*/React.createElement(RefIcon$
|
|
47126
|
+
clearIcon: /*#__PURE__*/React.createElement(RefIcon$q, null)
|
|
47143
47127
|
};
|
|
47144
47128
|
}
|
|
47145
47129
|
return mergedAllowClear;
|
|
@@ -47962,7 +47946,7 @@ const DropdownButton = props => {
|
|
|
47962
47946
|
placement,
|
|
47963
47947
|
getPopupContainer,
|
|
47964
47948
|
href,
|
|
47965
|
-
icon = /*#__PURE__*/React__namespace.createElement(RefIcon$
|
|
47949
|
+
icon = /*#__PURE__*/React__namespace.createElement(RefIcon$f, null),
|
|
47966
47950
|
title,
|
|
47967
47951
|
buttonsRender = buttons => buttons,
|
|
47968
47952
|
mouseEnterDelay,
|
|
@@ -49416,12 +49400,12 @@ const Pagination = props => {
|
|
|
49416
49400
|
className: `${prefixCls}-item-link`,
|
|
49417
49401
|
type: "button",
|
|
49418
49402
|
tabIndex: -1
|
|
49419
|
-
}, direction === 'rtl' ? /*#__PURE__*/React__namespace.createElement(RefIcon$
|
|
49403
|
+
}, direction === 'rtl' ? /*#__PURE__*/React__namespace.createElement(RefIcon$l, null) : /*#__PURE__*/React__namespace.createElement(RefIcon$h, null));
|
|
49420
49404
|
const nextIcon = /*#__PURE__*/React__namespace.createElement("button", {
|
|
49421
49405
|
className: `${prefixCls}-item-link`,
|
|
49422
49406
|
type: "button",
|
|
49423
49407
|
tabIndex: -1
|
|
49424
|
-
}, direction === 'rtl' ? /*#__PURE__*/React__namespace.createElement(RefIcon$
|
|
49408
|
+
}, direction === 'rtl' ? /*#__PURE__*/React__namespace.createElement(RefIcon$h, null) : /*#__PURE__*/React__namespace.createElement(RefIcon$l, null));
|
|
49425
49409
|
const jumpPrevIcon =
|
|
49426
49410
|
/*#__PURE__*/
|
|
49427
49411
|
// biome-ignore lint/a11y/useValidAnchor: it is hard to refactor
|
|
@@ -54613,7 +54597,7 @@ const useSelection = (config, rowSelection) => {
|
|
|
54613
54597
|
}, /*#__PURE__*/React__namespace.createElement(Dropdown, {
|
|
54614
54598
|
menu: menu,
|
|
54615
54599
|
getPopupContainer: getPopupContainer
|
|
54616
|
-
}, /*#__PURE__*/React__namespace.createElement("span", null, /*#__PURE__*/React__namespace.createElement(RefIcon$
|
|
54600
|
+
}, /*#__PURE__*/React__namespace.createElement("span", null, /*#__PURE__*/React__namespace.createElement(RefIcon$j, null))));
|
|
54617
54601
|
}
|
|
54618
54602
|
const allDisabledData = flattedData.map((record, index) => {
|
|
54619
54603
|
const key = getRowKey(record, index);
|
|
@@ -57066,7 +57050,7 @@ const SwitcherIconCom = props => {
|
|
|
57066
57050
|
if (/*#__PURE__*/React__namespace.isValidElement(switcherLoadingIcon)) {
|
|
57067
57051
|
return switcherLoadingIcon;
|
|
57068
57052
|
}
|
|
57069
|
-
return /*#__PURE__*/React__namespace.createElement(RefIcon$
|
|
57053
|
+
return /*#__PURE__*/React__namespace.createElement(RefIcon$m, {
|
|
57070
57054
|
className: `${prefixCls}-switcher-loading-icon`
|
|
57071
57055
|
});
|
|
57072
57056
|
}
|
|
@@ -57459,7 +57443,7 @@ const FilterSearch = props => {
|
|
|
57459
57443
|
return /*#__PURE__*/React__namespace.createElement("div", {
|
|
57460
57444
|
className: `${tablePrefixCls}-filter-dropdown-search`
|
|
57461
57445
|
}, /*#__PURE__*/React__namespace.createElement(Input, {
|
|
57462
|
-
prefix: /*#__PURE__*/React__namespace.createElement(RefIcon$
|
|
57446
|
+
prefix: /*#__PURE__*/React__namespace.createElement(RefIcon$i, null),
|
|
57463
57447
|
placeholder: locale.filterSearchPlaceholder,
|
|
57464
57448
|
onChange: onChange,
|
|
57465
57449
|
value: value,
|
|
@@ -61655,6 +61639,12 @@ function ChevronRightIcon(props) {
|
|
|
61655
61639
|
return (jsxRuntime.jsx("svg", { width: width, height: height, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest, children: jsxRuntime.jsx("path", { d: "M6 12L10 8L6 4", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }) }));
|
|
61656
61640
|
}
|
|
61657
61641
|
|
|
61642
|
+
const SortTableIcon = (props) => (jsxRuntime.jsx("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: jsxRuntime.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" }) }));
|
|
61643
|
+
|
|
61644
|
+
const LineArrowsDown = (props) => (jsxRuntime.jsx("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: jsxRuntime.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" }) }));
|
|
61645
|
+
|
|
61646
|
+
const LineArrowsUp = (props) => (jsxRuntime.jsx("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: jsxRuntime.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" }) }));
|
|
61647
|
+
|
|
61658
61648
|
const renderSystemNotification = ({ title, description, imgUrl, okText = "ok", cancelText = "Dismiss", moreOption, onMoreClick, onOk, onCancel, onClose, }) => {
|
|
61659
61649
|
return (jsxRuntime.jsxs(DivNotificationSystemWrapperSC, { children: [jsxRuntime.jsx(ImgNotificationSystemSC, { src: imgUrl }), jsxRuntime.jsxs(DivNotificationSystemContainerSC, { children: [jsxRuntime.jsxs(DivNotificationContentWrapperSC, { children: [jsxRuntime.jsxs(DivNotificationContentSC, { children: [jsxRuntime.jsxs(DivNotificationHeaderSC, { children: [jsxRuntime.jsx(DivNotificationTitleSC, { children: title }), moreOption && (jsxRuntime.jsx(DivIconActionSC, { children: jsxRuntime.jsx(FISIconButton, { variant: "tertiary-invisible", size: "xs", icon: jsxRuntime.jsx(MoreIcon, {}), onClick: onMoreClick }) }))] }), jsxRuntime.jsx(DivNotificationDescriptionSC, { children: description })] }), jsxRuntime.jsxs(DivNotificationActionsSC, { children: [jsxRuntime.jsx(FISLinkButton, { size: "xs", variant: "hight-priority", onClick: onOk, children: okText }), jsxRuntime.jsx(FISLinkButton, { size: "xs", onClick: onCancel, children: cancelText })] })] }), jsxRuntime.jsx(DivIconActionSC, { children: jsxRuntime.jsx(FISIconButton, { icon: jsxRuntime.jsx(CloseIcon, {}), size: "xs", variant: "tertiary-invisible", onClick: onClose }) })] })] }));
|
|
61660
61650
|
};
|
|
@@ -71310,13 +71300,10 @@ const DivHeaderCellContainerSC = styled.div `
|
|
|
71310
71300
|
|
|
71311
71301
|
.right-component-father {
|
|
71312
71302
|
display: flex;
|
|
71303
|
+
align-items: center;
|
|
71313
71304
|
justify-content: center;
|
|
71314
71305
|
width: ${getTheme("com/button/size-xs/icon/size-icon")};
|
|
71315
71306
|
height: ${getTheme("com/button/size-xs/icon/size-icon")};
|
|
71316
|
-
.right-component-child {
|
|
71317
|
-
flex-shrink: 0;
|
|
71318
|
-
align-self: center;
|
|
71319
|
-
}
|
|
71320
71307
|
}
|
|
71321
71308
|
|
|
71322
71309
|
${(props) => {
|
|
@@ -71343,7 +71330,7 @@ const DivHeaderCellContainerSC = styled.div `
|
|
|
71343
71330
|
`;
|
|
71344
71331
|
|
|
71345
71332
|
const FISTableHeaderCell = React.forwardRef(({ className, label, description, rightComponent, disabled, hasRightDivider = true, hasTruncateLabel = false, onlyIcon = false, textAlign = "left", ...rest }, ref) => {
|
|
71346
|
-
return (jsxRuntime.jsx(DivHeaderCellContainerSC, { ref: ref, className: classNames("header-cell-container", className), "$textAlign": textAlign, "$disabled": disabled, "$hasTruncateLabel": hasTruncateLabel, "$hasRightDivider": hasRightDivider, "$onlyIcon": onlyIcon, ...rest, children: jsxRuntime.jsxs("div", { className: "header-cell-content", children: [jsxRuntime.jsxs("div", { className: "cell-content title", children: [label && jsxRuntime.jsx("div", { className: "label", children: label }), rightComponent && (jsxRuntime.jsx("div", { className: "right-component-father", children:
|
|
71333
|
+
return (jsxRuntime.jsx(DivHeaderCellContainerSC, { ref: ref, className: classNames("header-cell-container", className), "$textAlign": textAlign, "$disabled": disabled, "$hasTruncateLabel": hasTruncateLabel, "$hasRightDivider": hasRightDivider, "$onlyIcon": onlyIcon, ...rest, children: jsxRuntime.jsxs("div", { className: "header-cell-content", children: [jsxRuntime.jsxs("div", { className: "cell-content title", children: [label && jsxRuntime.jsx("div", { className: "label", children: label }), rightComponent && (jsxRuntime.jsx("div", { className: "right-component-father", children: rightComponent }))] }), description && (jsxRuntime.jsx("div", { className: "cell-content", children: jsxRuntime.jsx("div", { className: "description", children: description }) }))] }) }));
|
|
71347
71334
|
});
|
|
71348
71335
|
FISTableHeaderCell.displayName = "FISTableHeaderCell";
|
|
71349
71336
|
|
|
@@ -71651,22 +71638,9 @@ FISTableCell.displayName = "FISTableCell";
|
|
|
71651
71638
|
const SORT_ORDERS = {
|
|
71652
71639
|
ASCEND: "ascend",
|
|
71653
71640
|
DESCEND: "descend",
|
|
71654
|
-
NONE:
|
|
71641
|
+
NONE: undefined,
|
|
71655
71642
|
};
|
|
71656
|
-
const
|
|
71657
|
-
margin-top: -2px;
|
|
71658
|
-
.sort-icon {
|
|
71659
|
-
display: flex;
|
|
71660
|
-
flex-direction: column;
|
|
71661
|
-
align-items: center;
|
|
71662
|
-
|
|
71663
|
-
span {
|
|
71664
|
-
width: 6px;
|
|
71665
|
-
height: 5px;
|
|
71666
|
-
}
|
|
71667
|
-
}
|
|
71668
|
-
`;
|
|
71669
|
-
const FISSorter = ({ columnKey, onSort, sortedInfo, colorActive = "#2489e1", UpIcon = RefIcon$f, DownIcon = RefIcon$k, }) => {
|
|
71643
|
+
const FISSorter = ({ columnKey, onSort, sortedInfo, UpIcon = LineArrowsUp, DownIcon = LineArrowsDown, }) => {
|
|
71670
71644
|
const currentOrder = sortedInfo.columnKey === columnKey ? sortedInfo.order : SORT_ORDERS.NONE;
|
|
71671
71645
|
const handleSort = () => {
|
|
71672
71646
|
const newOrder = currentOrder === SORT_ORDERS.ASCEND
|
|
@@ -71676,11 +71650,16 @@ const FISSorter = ({ columnKey, onSort, sortedInfo, colorActive = "#2489e1", UpI
|
|
|
71676
71650
|
: SORT_ORDERS.ASCEND;
|
|
71677
71651
|
onSort(columnKey, newOrder);
|
|
71678
71652
|
};
|
|
71679
|
-
|
|
71680
|
-
|
|
71681
|
-
|
|
71682
|
-
|
|
71683
|
-
|
|
71653
|
+
const renderSortIcon = () => {
|
|
71654
|
+
if (currentOrder === SORT_ORDERS.ASCEND) {
|
|
71655
|
+
return jsxRuntime.jsx(UpIcon, {});
|
|
71656
|
+
}
|
|
71657
|
+
if (currentOrder === SORT_ORDERS.DESCEND) {
|
|
71658
|
+
return jsxRuntime.jsx(DownIcon, {});
|
|
71659
|
+
}
|
|
71660
|
+
return jsxRuntime.jsx(SortTableIcon, {});
|
|
71661
|
+
};
|
|
71662
|
+
return (jsxRuntime.jsx(FISIconButton, { onClick: handleSort, variant: "tertiary-invisible", size: "xs", icon: renderSortIcon() }));
|
|
71684
71663
|
};
|
|
71685
71664
|
|
|
71686
71665
|
const DivDateRangeContainerSC = styled.div `
|