@ant-design/pro-components 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components.js +751 -172
- package/dist/components.min.js +1 -1
- package/es/version.js +10 -10
- package/package.json +7 -7
package/dist/components.js
CHANGED
|
@@ -1651,7 +1651,7 @@ function pad2(c) {
|
|
|
1651
1651
|
|
|
1652
1652
|
/***/ }),
|
|
1653
1653
|
|
|
1654
|
-
/***/
|
|
1654
|
+
/***/ 897:
|
|
1655
1655
|
/***/ (function(__unused_webpack_module, exports) {
|
|
1656
1656
|
|
|
1657
1657
|
/**
|
|
@@ -46274,6 +46274,185 @@ function StatisticCard_style_useStyle(prefixCls) {
|
|
|
46274
46274
|
return [StatisticCard_style_genProStyle(proListToken)];
|
|
46275
46275
|
});
|
|
46276
46276
|
}
|
|
46277
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/divider/style/index.js
|
|
46278
|
+
|
|
46279
|
+
|
|
46280
|
+
|
|
46281
|
+
// ============================== Shared ==============================
|
|
46282
|
+
|
|
46283
|
+
var genSharedDividerStyle = function genSharedDividerStyle(token) {
|
|
46284
|
+
var _extends2;
|
|
46285
|
+
|
|
46286
|
+
var componentCls = token.componentCls,
|
|
46287
|
+
sizePaddingEdgeHorizontal = token.sizePaddingEdgeHorizontal,
|
|
46288
|
+
colorSplit = token.colorSplit,
|
|
46289
|
+
controlLineWidth = token.controlLineWidth;
|
|
46290
|
+
return defineProperty_defineProperty({}, componentCls, extends_extends(extends_extends({}, style_resetComponent(token)), (_extends2 = {
|
|
46291
|
+
borderBlockStart: "".concat(controlLineWidth, "px solid ").concat(colorSplit),
|
|
46292
|
+
// vertical
|
|
46293
|
+
'&-vertical': {
|
|
46294
|
+
position: 'relative',
|
|
46295
|
+
top: '-0.06em',
|
|
46296
|
+
display: 'inline-block',
|
|
46297
|
+
height: '0.9em',
|
|
46298
|
+
margin: "0 ".concat(token.dividerVerticalGutterMargin, "px"),
|
|
46299
|
+
verticalAlign: 'middle',
|
|
46300
|
+
borderTop: 0,
|
|
46301
|
+
borderInlineStart: "".concat(controlLineWidth, "px solid ").concat(colorSplit)
|
|
46302
|
+
},
|
|
46303
|
+
'&-horizontal': {
|
|
46304
|
+
display: 'flex',
|
|
46305
|
+
clear: 'both',
|
|
46306
|
+
width: '100%',
|
|
46307
|
+
minWidth: '100%',
|
|
46308
|
+
margin: "".concat(token.dividerHorizontalGutterMargin, "px 0")
|
|
46309
|
+
},
|
|
46310
|
+
'&-horizontal&-with-text': {
|
|
46311
|
+
display: 'flex',
|
|
46312
|
+
margin: "".concat(token.dividerHorizontalWithTextGutterMargin, "px 0"),
|
|
46313
|
+
color: token.colorTextHeading,
|
|
46314
|
+
fontWeight: 500,
|
|
46315
|
+
fontSize: token.fontSizeLG,
|
|
46316
|
+
whiteSpace: 'nowrap',
|
|
46317
|
+
textAlign: 'center',
|
|
46318
|
+
borderBlockStart: "0 ".concat(colorSplit),
|
|
46319
|
+
'&::before, &::after': {
|
|
46320
|
+
position: 'relative',
|
|
46321
|
+
top: '50%',
|
|
46322
|
+
width: '50%',
|
|
46323
|
+
borderBlockStart: "".concat(controlLineWidth, "px solid transparent"),
|
|
46324
|
+
// Chrome not accept `inherit` in `border-top`
|
|
46325
|
+
borderBlockStartColor: 'inherit',
|
|
46326
|
+
borderBlockEnd: 0,
|
|
46327
|
+
transform: 'translateY(50%)',
|
|
46328
|
+
content: "''"
|
|
46329
|
+
}
|
|
46330
|
+
},
|
|
46331
|
+
'&-horizontal&-with-text-left': {
|
|
46332
|
+
'&::before': {
|
|
46333
|
+
top: '50%',
|
|
46334
|
+
width: '5%'
|
|
46335
|
+
},
|
|
46336
|
+
'&::after': {
|
|
46337
|
+
top: '50%',
|
|
46338
|
+
width: '95%'
|
|
46339
|
+
}
|
|
46340
|
+
},
|
|
46341
|
+
'&-horizontal&-with-text-right': {
|
|
46342
|
+
'&::before': {
|
|
46343
|
+
top: '50%',
|
|
46344
|
+
width: '95%'
|
|
46345
|
+
},
|
|
46346
|
+
'&::after': {
|
|
46347
|
+
top: '50%',
|
|
46348
|
+
width: '5%'
|
|
46349
|
+
}
|
|
46350
|
+
}
|
|
46351
|
+
}, defineProperty_defineProperty(_extends2, "".concat(componentCls, "-inner-text"), {
|
|
46352
|
+
display: 'inline-block',
|
|
46353
|
+
padding: '0 1em'
|
|
46354
|
+
}), defineProperty_defineProperty(_extends2, '&-dashed', {
|
|
46355
|
+
background: 'none',
|
|
46356
|
+
borderColor: colorSplit,
|
|
46357
|
+
borderStyle: 'dashed',
|
|
46358
|
+
borderWidth: 0,
|
|
46359
|
+
borderBlockStart: "".concat(controlLineWidth, "px")
|
|
46360
|
+
}), defineProperty_defineProperty(_extends2, '&-horizontal&-with-text&-dashed', {
|
|
46361
|
+
'&::before, &::after': {
|
|
46362
|
+
borderStyle: 'dashed none none'
|
|
46363
|
+
}
|
|
46364
|
+
}), defineProperty_defineProperty(_extends2, '&-vertical&-dashed', {
|
|
46365
|
+
borderInlineStart: controlLineWidth,
|
|
46366
|
+
borderInlineEnd: 0,
|
|
46367
|
+
borderBlockStart: 0,
|
|
46368
|
+
borderBlockEnd: 0
|
|
46369
|
+
}), defineProperty_defineProperty(_extends2, '&-plain&-with-text', {
|
|
46370
|
+
color: token.colorText,
|
|
46371
|
+
fontWeight: 'normal',
|
|
46372
|
+
fontSize: token.fontSize
|
|
46373
|
+
}), defineProperty_defineProperty(_extends2, '&-horizontal&-with-text-left&-no-default-orientation-margin-left', defineProperty_defineProperty({
|
|
46374
|
+
'&::before': {
|
|
46375
|
+
width: 0
|
|
46376
|
+
},
|
|
46377
|
+
'&::after': {
|
|
46378
|
+
width: '100%'
|
|
46379
|
+
}
|
|
46380
|
+
}, "".concat(componentCls, "-inner-text"), {
|
|
46381
|
+
paddingInlineStart: sizePaddingEdgeHorizontal
|
|
46382
|
+
})), defineProperty_defineProperty(_extends2, '&-horizontal&-with-text-right&-no-default-orientation-margin-right', defineProperty_defineProperty({
|
|
46383
|
+
'&::before': {
|
|
46384
|
+
width: '100%'
|
|
46385
|
+
},
|
|
46386
|
+
'&::after': {
|
|
46387
|
+
width: 0
|
|
46388
|
+
}
|
|
46389
|
+
}, "".concat(componentCls, "-inner-text"), {
|
|
46390
|
+
paddingInlineEnd: sizePaddingEdgeHorizontal
|
|
46391
|
+
})), _extends2)));
|
|
46392
|
+
}; // ============================== Export ==============================
|
|
46393
|
+
|
|
46394
|
+
|
|
46395
|
+
/* harmony default export */ var divider_style = (genComponentStyleHook_genComponentStyleHook('Divider', function (token) {
|
|
46396
|
+
var dividerToken = merge(token, {
|
|
46397
|
+
dividerVerticalGutterMargin: token.marginXS,
|
|
46398
|
+
dividerHorizontalWithTextGutterMargin: token.margin,
|
|
46399
|
+
dividerHorizontalGutterMargin: token.marginLG
|
|
46400
|
+
});
|
|
46401
|
+
return [genSharedDividerStyle(dividerToken)];
|
|
46402
|
+
}, {
|
|
46403
|
+
sizePaddingEdgeHorizontal: 0
|
|
46404
|
+
}));
|
|
46405
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/statistic/style/index.js
|
|
46406
|
+
|
|
46407
|
+
|
|
46408
|
+
|
|
46409
|
+
|
|
46410
|
+
|
|
46411
|
+
var genStatisticStyle = function genStatisticStyle(token) {
|
|
46412
|
+
var _$concat, _extends2;
|
|
46413
|
+
|
|
46414
|
+
var componentCls = token.componentCls,
|
|
46415
|
+
marginXXS = token.marginXXS,
|
|
46416
|
+
padding = token.padding,
|
|
46417
|
+
colorTextDescription = token.colorTextDescription,
|
|
46418
|
+
statisticTitleFontSize = token.statisticTitleFontSize,
|
|
46419
|
+
colorTextHeading = token.colorTextHeading,
|
|
46420
|
+
statisticContentFontSize = token.statisticContentFontSize,
|
|
46421
|
+
statisticFontFamily = token.statisticFontFamily;
|
|
46422
|
+
return defineProperty_defineProperty({}, "".concat(componentCls), extends_extends(extends_extends({}, style_resetComponent(token)), (_extends2 = {}, defineProperty_defineProperty(_extends2, "".concat(componentCls, "-title"), {
|
|
46423
|
+
marginBottom: marginXXS,
|
|
46424
|
+
color: colorTextDescription,
|
|
46425
|
+
fontSize: statisticTitleFontSize
|
|
46426
|
+
}), defineProperty_defineProperty(_extends2, "".concat(componentCls, "-skeleton"), {
|
|
46427
|
+
paddingTop: padding
|
|
46428
|
+
}), defineProperty_defineProperty(_extends2, "".concat(componentCls, "-content"), (_$concat = {
|
|
46429
|
+
color: colorTextHeading,
|
|
46430
|
+
fontSize: statisticContentFontSize,
|
|
46431
|
+
fontFamily: statisticFontFamily
|
|
46432
|
+
}, defineProperty_defineProperty(_$concat, "".concat(componentCls, "-content-value"), {
|
|
46433
|
+
display: 'inline-block',
|
|
46434
|
+
direction: 'ltr'
|
|
46435
|
+
}), defineProperty_defineProperty(_$concat, "".concat(componentCls, "-content-prefix, ").concat(componentCls, "-content-suffix"), {
|
|
46436
|
+
display: 'inline-block'
|
|
46437
|
+
}), defineProperty_defineProperty(_$concat, "".concat(componentCls, "-content-prefix"), {
|
|
46438
|
+
marginInlineEnd: marginXXS
|
|
46439
|
+
}), defineProperty_defineProperty(_$concat, "".concat(componentCls, "-content-suffix"), {
|
|
46440
|
+
marginInlineStart: marginXXS
|
|
46441
|
+
}), _$concat)), _extends2)));
|
|
46442
|
+
}; // ============================== Export ==============================
|
|
46443
|
+
|
|
46444
|
+
|
|
46445
|
+
/* harmony default export */ var statistic_style = (genComponentStyleHook_genComponentStyleHook('Statistic', function (token) {
|
|
46446
|
+
var fontSizeHeading3 = token.fontSizeHeading3,
|
|
46447
|
+
fontSize = token.fontSize,
|
|
46448
|
+
fontFamily = token.fontFamily;
|
|
46449
|
+
var statisticToken = merge(token, {
|
|
46450
|
+
statisticTitleFontSize: fontSize,
|
|
46451
|
+
statisticContentFontSize: fontSizeHeading3,
|
|
46452
|
+
statisticFontFamily: fontFamily
|
|
46453
|
+
});
|
|
46454
|
+
return [genStatisticStyle(statisticToken)];
|
|
46455
|
+
}));
|
|
46277
46456
|
;// CONCATENATED MODULE: ./packages/card/es/components/StatisticCard/index.js
|
|
46278
46457
|
|
|
46279
46458
|
|
|
@@ -46289,6 +46468,8 @@ var StatisticCard_excluded = ["children", "statistic", "className", "chart", "ch
|
|
|
46289
46468
|
|
|
46290
46469
|
|
|
46291
46470
|
|
|
46471
|
+
|
|
46472
|
+
|
|
46292
46473
|
var StatisticCard = function StatisticCard(props) {
|
|
46293
46474
|
var _classNames;
|
|
46294
46475
|
|
|
@@ -72769,6 +72950,11 @@ var style_genVerticalStyle = function genVerticalStyle(token) {
|
|
|
72769
72950
|
});
|
|
72770
72951
|
return [genFormStyle(formToken), genFormItemStyle(formToken), genFormMotionStyle(formToken), style_genHorizontalStyle(formToken), genInlineStyle(formToken), style_genVerticalStyle(formToken), collapse(formToken), zoomIn];
|
|
72771
72952
|
}));
|
|
72953
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/row/style/index.js
|
|
72954
|
+
// Compatible for babel-plugin-import
|
|
72955
|
+
|
|
72956
|
+
/* istanbul ignore next */
|
|
72957
|
+
/* harmony default export */ var row_style = ({});
|
|
72772
72958
|
;// CONCATENATED MODULE: ./node_modules/antd/es/steps/style/custom-icon.js
|
|
72773
72959
|
|
|
72774
72960
|
|
|
@@ -74086,12 +74272,416 @@ var genTabsStyle = function genTabsStyle(token) {
|
|
|
74086
74272
|
zIndexPopup: token.zIndexPopupBase + 50
|
|
74087
74273
|
};
|
|
74088
74274
|
}));
|
|
74275
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/upload/style/dragger.js
|
|
74276
|
+
|
|
74277
|
+
|
|
74278
|
+
var genDraggerStyle = function genDraggerStyle(token) {
|
|
74279
|
+
var _$concat2;
|
|
74280
|
+
|
|
74281
|
+
var componentCls = token.componentCls,
|
|
74282
|
+
iconCls = token.iconCls;
|
|
74283
|
+
return defineProperty_defineProperty({}, "".concat(componentCls, "-wrapper"), defineProperty_defineProperty({}, "".concat(componentCls, "-drag"), (_$concat2 = {
|
|
74284
|
+
position: 'relative',
|
|
74285
|
+
width: '100%',
|
|
74286
|
+
height: '100%',
|
|
74287
|
+
textAlign: 'center',
|
|
74288
|
+
background: token.colorFillAlter,
|
|
74289
|
+
border: "".concat(token.controlLineWidth, "px dashed ").concat(token.colorBorder),
|
|
74290
|
+
borderRadius: token.controlRadiusLG,
|
|
74291
|
+
cursor: 'pointer',
|
|
74292
|
+
transition: "border-color ".concat(token.motionDurationSlow)
|
|
74293
|
+
}, defineProperty_defineProperty(_$concat2, componentCls, {
|
|
74294
|
+
padding: "".concat(token.padding, "px 0")
|
|
74295
|
+
}), defineProperty_defineProperty(_$concat2, "".concat(componentCls, "-btn"), {
|
|
74296
|
+
display: 'table',
|
|
74297
|
+
width: '100%',
|
|
74298
|
+
height: '100%',
|
|
74299
|
+
outline: 'none'
|
|
74300
|
+
}), defineProperty_defineProperty(_$concat2, "".concat(componentCls, "-drag-container"), {
|
|
74301
|
+
display: 'table-cell',
|
|
74302
|
+
verticalAlign: 'middle'
|
|
74303
|
+
}), defineProperty_defineProperty(_$concat2, "&:not(".concat(componentCls, "-disabled):hover"), {
|
|
74304
|
+
borderColor: token.colorPrimaryHover
|
|
74305
|
+
}), defineProperty_defineProperty(_$concat2, "p".concat(componentCls, "-drag-icon"), defineProperty_defineProperty({
|
|
74306
|
+
marginBottom: token.margin
|
|
74307
|
+
}, iconCls, {
|
|
74308
|
+
color: token.colorPrimary,
|
|
74309
|
+
fontSize: token.uploadThumbnailSize
|
|
74310
|
+
})), defineProperty_defineProperty(_$concat2, "p".concat(componentCls, "-text"), {
|
|
74311
|
+
margin: "0 0 ".concat(token.marginXXS, "px"),
|
|
74312
|
+
color: token.colorTextHeading,
|
|
74313
|
+
fontSize: token.fontSizeLG
|
|
74314
|
+
}), defineProperty_defineProperty(_$concat2, "p".concat(componentCls, "-hint"), {
|
|
74315
|
+
color: token.colorTextDescription,
|
|
74316
|
+
fontSize: token.fontSizeBase
|
|
74317
|
+
}), defineProperty_defineProperty(_$concat2, "&".concat(componentCls, "-disabled"), defineProperty_defineProperty({
|
|
74318
|
+
cursor: 'not-allowed'
|
|
74319
|
+
}, "p".concat(componentCls, "-drag-icon ").concat(iconCls, ",\n p").concat(componentCls, "-text,\n p").concat(componentCls, "-hint\n "), {
|
|
74320
|
+
color: token.colorTextDisabled
|
|
74321
|
+
})), _$concat2)));
|
|
74322
|
+
};
|
|
74323
|
+
|
|
74324
|
+
/* harmony default export */ var dragger = (genDraggerStyle);
|
|
74325
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/upload/style/list.js
|
|
74326
|
+
|
|
74327
|
+
|
|
74328
|
+
|
|
74329
|
+
|
|
74330
|
+
var genListStyle = function genListStyle(token) {
|
|
74331
|
+
var _actionsCls, _itemCls, _actionsCls2, _$concat, _extends2;
|
|
74332
|
+
|
|
74333
|
+
var componentCls = token.componentCls,
|
|
74334
|
+
antCls = token.antCls,
|
|
74335
|
+
iconCls = token.iconCls,
|
|
74336
|
+
fontSizeBase = token.fontSizeBase,
|
|
74337
|
+
lineHeight = token.lineHeight;
|
|
74338
|
+
var itemCls = "".concat(componentCls, "-list-item");
|
|
74339
|
+
var actionsCls = "".concat(itemCls, "-actions");
|
|
74340
|
+
var actionCls = "".concat(itemCls, "-action");
|
|
74341
|
+
var listItemHeightSM = Math.round(fontSizeBase * lineHeight);
|
|
74342
|
+
return defineProperty_defineProperty({}, "".concat(componentCls, "-wrapper"), defineProperty_defineProperty({}, "".concat(componentCls, "-list"), extends_extends(extends_extends({}, clearFix()), (_extends2 = {
|
|
74343
|
+
lineHeight: token.lineHeight
|
|
74344
|
+
}, defineProperty_defineProperty(_extends2, itemCls, (_itemCls = {
|
|
74345
|
+
position: 'relative',
|
|
74346
|
+
height: token.lineHeight * fontSizeBase,
|
|
74347
|
+
marginTop: token.marginXS,
|
|
74348
|
+
fontSize: fontSizeBase,
|
|
74349
|
+
display: 'flex',
|
|
74350
|
+
alignItems: 'center',
|
|
74351
|
+
transition: "background-color ".concat(token.motionDurationSlow),
|
|
74352
|
+
'&:hover': {
|
|
74353
|
+
backgroundColor: token.controlItemBgHover
|
|
74354
|
+
}
|
|
74355
|
+
}, defineProperty_defineProperty(_itemCls, "".concat(itemCls, "-name"), {
|
|
74356
|
+
padding: "0 ".concat(token.paddingXS, "px"),
|
|
74357
|
+
overflow: 'hidden',
|
|
74358
|
+
lineHeight: lineHeight,
|
|
74359
|
+
whiteSpace: 'nowrap',
|
|
74360
|
+
textOverflow: 'ellipsis',
|
|
74361
|
+
flex: 'auto',
|
|
74362
|
+
transition: "all ".concat(token.motionDurationSlow)
|
|
74363
|
+
}), defineProperty_defineProperty(_itemCls, actionsCls, (_actionsCls = {}, defineProperty_defineProperty(_actionsCls, actionCls, {
|
|
74364
|
+
opacity: 0
|
|
74365
|
+
}), defineProperty_defineProperty(_actionsCls, "".concat(actionCls).concat(antCls, "-btn-sm"), {
|
|
74366
|
+
height: listItemHeightSM,
|
|
74367
|
+
border: 0,
|
|
74368
|
+
lineHeight: 1,
|
|
74369
|
+
// FIXME: should not override small button
|
|
74370
|
+
'> span': {
|
|
74371
|
+
transform: 'scale(1)'
|
|
74372
|
+
}
|
|
74373
|
+
}), defineProperty_defineProperty(_actionsCls, "\n ".concat(actionCls, ":focus,\n &.picture ").concat(actionCls, "\n "), {
|
|
74374
|
+
opacity: 1
|
|
74375
|
+
}), defineProperty_defineProperty(_actionsCls, iconCls, {
|
|
74376
|
+
color: token.colorTextDescription,
|
|
74377
|
+
transition: "all ".concat(token.motionDurationSlow)
|
|
74378
|
+
}), defineProperty_defineProperty(_actionsCls, "&:hover ".concat(iconCls), {
|
|
74379
|
+
color: token.colorText
|
|
74380
|
+
}), _actionsCls)), defineProperty_defineProperty(_itemCls, "".concat(componentCls, "-icon ").concat(iconCls), {
|
|
74381
|
+
color: token.colorTextDescription,
|
|
74382
|
+
fontSize: fontSizeBase
|
|
74383
|
+
}), defineProperty_defineProperty(_itemCls, "".concat(itemCls, "-progress"), {
|
|
74384
|
+
position: 'absolute',
|
|
74385
|
+
bottom: -token.uploadProgressOffset,
|
|
74386
|
+
width: '100%',
|
|
74387
|
+
paddingInlineStart: fontSizeBase + token.paddingXS,
|
|
74388
|
+
fontSize: fontSizeBase,
|
|
74389
|
+
lineHeight: 0,
|
|
74390
|
+
pointerEvents: 'none',
|
|
74391
|
+
'> div': {
|
|
74392
|
+
margin: 0
|
|
74393
|
+
}
|
|
74394
|
+
}), _itemCls)), defineProperty_defineProperty(_extends2, "".concat(itemCls, ":hover ").concat(actionCls), {
|
|
74395
|
+
opacity: 1,
|
|
74396
|
+
color: token.colorText
|
|
74397
|
+
}), defineProperty_defineProperty(_extends2, "".concat(itemCls, "-error"), (_$concat = {
|
|
74398
|
+
color: token.colorError
|
|
74399
|
+
}, defineProperty_defineProperty(_$concat, "".concat(itemCls, "-name, ").concat(componentCls, "-icon ").concat(iconCls), {
|
|
74400
|
+
color: token.colorError
|
|
74401
|
+
}), defineProperty_defineProperty(_$concat, actionsCls, (_actionsCls2 = {}, defineProperty_defineProperty(_actionsCls2, "".concat(iconCls, ", ").concat(iconCls, ":hover"), {
|
|
74402
|
+
color: token.colorError
|
|
74403
|
+
}), defineProperty_defineProperty(_actionsCls2, actionCls, {
|
|
74404
|
+
opacity: 1
|
|
74405
|
+
}), _actionsCls2)), _$concat)), defineProperty_defineProperty(_extends2, "".concat(componentCls, "-list-item-container"), {
|
|
74406
|
+
transition: "opacity ".concat(token.motionDurationSlow, ", height ").concat(token.motionDurationSlow),
|
|
74407
|
+
// For smooth removing animation
|
|
74408
|
+
'&::before': {
|
|
74409
|
+
display: 'table',
|
|
74410
|
+
width: 0,
|
|
74411
|
+
height: 0,
|
|
74412
|
+
content: '""'
|
|
74413
|
+
}
|
|
74414
|
+
}), _extends2))));
|
|
74415
|
+
};
|
|
74416
|
+
|
|
74417
|
+
/* harmony default export */ var list = (genListStyle);
|
|
74418
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/upload/style/motion.js
|
|
74419
|
+
|
|
74420
|
+
|
|
74421
|
+
var uploadAnimateInlineIn = new Keyframes('uploadAnimateInlineIn', {
|
|
74422
|
+
from: {
|
|
74423
|
+
width: 0,
|
|
74424
|
+
height: 0,
|
|
74425
|
+
margin: 0,
|
|
74426
|
+
padding: 0,
|
|
74427
|
+
opacity: 0
|
|
74428
|
+
}
|
|
74429
|
+
});
|
|
74430
|
+
var uploadAnimateInlineOut = new Keyframes('uploadAnimateInlineOut', {
|
|
74431
|
+
to: {
|
|
74432
|
+
width: 0,
|
|
74433
|
+
height: 0,
|
|
74434
|
+
margin: 0,
|
|
74435
|
+
padding: 0,
|
|
74436
|
+
opacity: 0
|
|
74437
|
+
}
|
|
74438
|
+
}); // =========================== Motion ===========================
|
|
74439
|
+
|
|
74440
|
+
var style_motion_genMotionStyle = function genMotionStyle(token) {
|
|
74441
|
+
var _$concat;
|
|
74442
|
+
|
|
74443
|
+
var componentCls = token.componentCls;
|
|
74444
|
+
var inlineCls = "".concat(componentCls, "-animate-inline");
|
|
74445
|
+
return [defineProperty_defineProperty({}, "".concat(componentCls, "-wrapper"), (_$concat = {}, defineProperty_defineProperty(_$concat, "".concat(inlineCls, "-appear, ").concat(inlineCls, "-enter, ").concat(inlineCls, "-leave"), {
|
|
74446
|
+
animationDuration: token.motionDurationSlow,
|
|
74447
|
+
animationTimingFunction: token.motionEaseInOutCirc,
|
|
74448
|
+
animationFillMode: 'forwards'
|
|
74449
|
+
}), defineProperty_defineProperty(_$concat, "".concat(inlineCls, "-appear, ").concat(inlineCls, "-enter"), {
|
|
74450
|
+
animationName: uploadAnimateInlineIn
|
|
74451
|
+
}), defineProperty_defineProperty(_$concat, "".concat(inlineCls, "-leave"), {
|
|
74452
|
+
animationName: uploadAnimateInlineOut
|
|
74453
|
+
}), _$concat)), uploadAnimateInlineIn, uploadAnimateInlineOut];
|
|
74454
|
+
};
|
|
74455
|
+
|
|
74456
|
+
/* harmony default export */ var upload_style_motion = (style_motion_genMotionStyle);
|
|
74457
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/upload/style/picture.js
|
|
74458
|
+
|
|
74459
|
+
|
|
74460
|
+
|
|
74461
|
+
|
|
74462
|
+
|
|
74463
|
+
var genPictureStyle = function genPictureStyle(token) {
|
|
74464
|
+
var _$concat, _itemCls, _$concat$concat, _$concat$concat$conca;
|
|
74465
|
+
|
|
74466
|
+
var componentCls = token.componentCls,
|
|
74467
|
+
iconCls = token.iconCls,
|
|
74468
|
+
uploadThumbnailSize = token.uploadThumbnailSize,
|
|
74469
|
+
uploadProgressOffset = token.uploadProgressOffset;
|
|
74470
|
+
var listCls = "".concat(componentCls, "-list");
|
|
74471
|
+
var itemCls = "".concat(listCls, "-item");
|
|
74472
|
+
return defineProperty_defineProperty({}, "".concat(componentCls, "-wrapper"), defineProperty_defineProperty({}, "".concat(listCls).concat(listCls, "-picture, ").concat(listCls).concat(listCls, "-picture-card"), (_$concat$concat$conca = {}, defineProperty_defineProperty(_$concat$concat$conca, itemCls, (_itemCls = {
|
|
74473
|
+
position: 'relative',
|
|
74474
|
+
height: uploadThumbnailSize + token.controlLineWidth * 2 + token.paddingXS * 2,
|
|
74475
|
+
padding: token.paddingXS,
|
|
74476
|
+
border: "".concat(token.controlLineWidth, "px ").concat(token.controlLineType, " ").concat(token.colorBorder),
|
|
74477
|
+
borderRadius: token.controlRadiusLG,
|
|
74478
|
+
'&:hover': {
|
|
74479
|
+
background: 'transparent'
|
|
74480
|
+
}
|
|
74481
|
+
}, defineProperty_defineProperty(_itemCls, "".concat(itemCls, "-thumbnail"), (_$concat = {
|
|
74482
|
+
width: uploadThumbnailSize,
|
|
74483
|
+
height: uploadThumbnailSize,
|
|
74484
|
+
lineHeight: "".concat(uploadThumbnailSize + token.paddingSM, "px"),
|
|
74485
|
+
textAlign: 'center',
|
|
74486
|
+
flex: 'none',
|
|
74487
|
+
overflow: 'hidden',
|
|
74488
|
+
textOverflow: 'ellipsis',
|
|
74489
|
+
whiteSpace: 'nowrap'
|
|
74490
|
+
}, defineProperty_defineProperty(_$concat, iconCls, {
|
|
74491
|
+
fontSize: token.fontSizeHeading2
|
|
74492
|
+
}), defineProperty_defineProperty(_$concat, "img", {
|
|
74493
|
+
display: 'block',
|
|
74494
|
+
width: '100%',
|
|
74495
|
+
height: '100%',
|
|
74496
|
+
overflow: 'hidden'
|
|
74497
|
+
}), _$concat)), defineProperty_defineProperty(_itemCls, "".concat(itemCls, "-progress"), {
|
|
74498
|
+
bottom: uploadProgressOffset,
|
|
74499
|
+
width: "calc(100% - ".concat(token.paddingSM * 2, "px)"),
|
|
74500
|
+
marginTop: 0,
|
|
74501
|
+
paddingInlineStart: uploadThumbnailSize + token.paddingXS
|
|
74502
|
+
}), _itemCls)), defineProperty_defineProperty(_$concat$concat$conca, "".concat(itemCls, "-error"), defineProperty_defineProperty({
|
|
74503
|
+
borderColor: token.colorError
|
|
74504
|
+
}, "".concat(itemCls, "-thumbnail ").concat(iconCls), (_$concat$concat = {}, defineProperty_defineProperty(_$concat$concat, "svg path[fill='#e6f7ff']", {
|
|
74505
|
+
fill: token.colorErrorBg
|
|
74506
|
+
}), defineProperty_defineProperty(_$concat$concat, "svg path[fill='#1890ff']", {
|
|
74507
|
+
fill: token.colorError
|
|
74508
|
+
}), _$concat$concat))), defineProperty_defineProperty(_$concat$concat$conca, "".concat(itemCls, "-uploading"), defineProperty_defineProperty({
|
|
74509
|
+
borderStyle: 'dashed'
|
|
74510
|
+
}, "".concat(itemCls, "-name"), {
|
|
74511
|
+
marginBottom: uploadProgressOffset
|
|
74512
|
+
})), _$concat$concat$conca)));
|
|
74513
|
+
};
|
|
74514
|
+
|
|
74515
|
+
var genPictureCardStyle = function genPictureCardStyle(token) {
|
|
74516
|
+
var _$concat$concat2, _$concat7, _$concat$concat4, _extends2;
|
|
74517
|
+
|
|
74518
|
+
var componentCls = token.componentCls,
|
|
74519
|
+
iconCls = token.iconCls,
|
|
74520
|
+
fontSizeLG = token.fontSizeLG,
|
|
74521
|
+
colorTextLightSolid = token.colorTextLightSolid;
|
|
74522
|
+
var listCls = "".concat(componentCls, "-list");
|
|
74523
|
+
var itemCls = "".concat(listCls, "-item");
|
|
74524
|
+
var uploadPictureCardSize = token.uploadPicCardSize;
|
|
74525
|
+
return defineProperty_defineProperty({}, "".concat(componentCls, "-wrapper").concat(componentCls, "-picture-card-wrapper"), extends_extends(extends_extends({}, clearFix()), (_extends2 = {
|
|
74526
|
+
display: 'inline-block',
|
|
74527
|
+
width: '100%'
|
|
74528
|
+
}, defineProperty_defineProperty(_extends2, "".concat(componentCls).concat(componentCls, "-select"), (_$concat$concat2 = {
|
|
74529
|
+
width: uploadPictureCardSize,
|
|
74530
|
+
height: uploadPictureCardSize,
|
|
74531
|
+
marginInlineEnd: token.marginXS,
|
|
74532
|
+
marginBottom: token.marginXS,
|
|
74533
|
+
textAlign: 'center',
|
|
74534
|
+
verticalAlign: 'top',
|
|
74535
|
+
backgroundColor: token.colorFillAlter,
|
|
74536
|
+
border: "".concat(token.controlLineWidth, "px dashed ").concat(token.colorBorder),
|
|
74537
|
+
borderRadius: token.controlRadiusLG,
|
|
74538
|
+
cursor: 'pointer',
|
|
74539
|
+
transition: "border-color ".concat(token.motionDurationSlow)
|
|
74540
|
+
}, defineProperty_defineProperty(_$concat$concat2, "> ".concat(componentCls), {
|
|
74541
|
+
display: 'flex',
|
|
74542
|
+
alignItems: 'center',
|
|
74543
|
+
justifyContent: 'center',
|
|
74544
|
+
height: '100%',
|
|
74545
|
+
textAlign: 'center'
|
|
74546
|
+
}), defineProperty_defineProperty(_$concat$concat2, "&:not(".concat(componentCls, "-disabled):hover"), {
|
|
74547
|
+
borderColor: token.colorPrimary
|
|
74548
|
+
}), _$concat$concat2)), defineProperty_defineProperty(_extends2, "".concat(listCls).concat(listCls, "-picture-card"), (_$concat$concat4 = {}, defineProperty_defineProperty(_$concat$concat4, "".concat(listCls, "-item-container"), {
|
|
74549
|
+
display: 'inline-block',
|
|
74550
|
+
width: uploadPictureCardSize,
|
|
74551
|
+
height: uploadPictureCardSize,
|
|
74552
|
+
marginBlock: "0 ".concat(token.marginXS, "px"),
|
|
74553
|
+
marginInline: "0 ".concat(token.marginXS, "px"),
|
|
74554
|
+
verticalAlign: 'top'
|
|
74555
|
+
}), defineProperty_defineProperty(_$concat$concat4, '&::after', {
|
|
74556
|
+
display: 'none'
|
|
74557
|
+
}), defineProperty_defineProperty(_$concat$concat4, itemCls, {
|
|
74558
|
+
height: '100%',
|
|
74559
|
+
margin: 0,
|
|
74560
|
+
'&::before': {
|
|
74561
|
+
position: 'absolute',
|
|
74562
|
+
zIndex: 1,
|
|
74563
|
+
width: "calc(100% - ".concat(token.paddingXS * 2, "px)"),
|
|
74564
|
+
height: "calc(100% - ".concat(token.paddingXS * 2, "px)"),
|
|
74565
|
+
backgroundColor: token.colorBgMask,
|
|
74566
|
+
opacity: 0,
|
|
74567
|
+
transition: "all ".concat(token.motionDurationSlow),
|
|
74568
|
+
content: '" "'
|
|
74569
|
+
}
|
|
74570
|
+
}), defineProperty_defineProperty(_$concat$concat4, "".concat(itemCls, ":hover"), defineProperty_defineProperty({}, "&::before, ".concat(itemCls, "-actions"), {
|
|
74571
|
+
opacity: 1
|
|
74572
|
+
})), defineProperty_defineProperty(_$concat$concat4, "".concat(itemCls, "-actions"), defineProperty_defineProperty({
|
|
74573
|
+
position: 'absolute',
|
|
74574
|
+
insetInlineStart: 0,
|
|
74575
|
+
zIndex: 10,
|
|
74576
|
+
width: '100%',
|
|
74577
|
+
whiteSpace: 'nowrap',
|
|
74578
|
+
textAlign: 'center',
|
|
74579
|
+
opacity: 0,
|
|
74580
|
+
transition: "all ".concat(token.motionDurationSlow)
|
|
74581
|
+
}, "".concat(iconCls, "-eye, ").concat(iconCls, "-download, ").concat(iconCls, "-delete"), {
|
|
74582
|
+
zIndex: 10,
|
|
74583
|
+
width: fontSizeLG,
|
|
74584
|
+
margin: "0 ".concat(token.marginXXS, "px"),
|
|
74585
|
+
fontSize: fontSizeLG,
|
|
74586
|
+
cursor: 'pointer',
|
|
74587
|
+
transition: "all ".concat(token.motionDurationSlow)
|
|
74588
|
+
})), defineProperty_defineProperty(_$concat$concat4, "".concat(itemCls, "-actions, ").concat(itemCls, "-actions:hover"), defineProperty_defineProperty({}, "".concat(iconCls, "-eye, ").concat(iconCls, "-download, ").concat(iconCls, "-delete"), {
|
|
74589
|
+
color: new TinyColor(colorTextLightSolid).setAlpha(0.65).toRgbString(),
|
|
74590
|
+
'&:hover': {
|
|
74591
|
+
color: colorTextLightSolid
|
|
74592
|
+
}
|
|
74593
|
+
})), defineProperty_defineProperty(_$concat$concat4, "".concat(itemCls, "-thumbnail, ").concat(itemCls, "-thumbnail img"), {
|
|
74594
|
+
position: 'static',
|
|
74595
|
+
display: 'block',
|
|
74596
|
+
width: '100%',
|
|
74597
|
+
height: '100%',
|
|
74598
|
+
objectFit: 'contain'
|
|
74599
|
+
}), defineProperty_defineProperty(_$concat$concat4, "".concat(itemCls, "-name"), {
|
|
74600
|
+
display: 'none',
|
|
74601
|
+
textAlign: 'center'
|
|
74602
|
+
}), defineProperty_defineProperty(_$concat$concat4, "".concat(itemCls, "-file + ").concat(itemCls, "-name"), {
|
|
74603
|
+
position: 'absolute',
|
|
74604
|
+
bottom: token.margin,
|
|
74605
|
+
display: 'block',
|
|
74606
|
+
width: "calc(100% - ".concat(token.paddingXS * 2, "px)")
|
|
74607
|
+
}), defineProperty_defineProperty(_$concat$concat4, "".concat(itemCls, "-uploading"), (_$concat7 = {}, defineProperty_defineProperty(_$concat7, "&".concat(itemCls), {
|
|
74608
|
+
backgroundColor: token.colorFillAlter
|
|
74609
|
+
}), defineProperty_defineProperty(_$concat7, "&::before, ".concat(iconCls, "-eye, ").concat(iconCls, "-download, ").concat(iconCls, "-delete"), {
|
|
74610
|
+
display: 'none'
|
|
74611
|
+
}), _$concat7)), defineProperty_defineProperty(_$concat$concat4, "".concat(itemCls, "-progress"), {
|
|
74612
|
+
bottom: token.marginXL,
|
|
74613
|
+
width: "calc(100% - ".concat(token.paddingXS * 2, "px)"),
|
|
74614
|
+
paddingInlineStart: 0
|
|
74615
|
+
}), _$concat$concat4)), _extends2)));
|
|
74616
|
+
};
|
|
74617
|
+
|
|
74618
|
+
|
|
74619
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/upload/style/rtl.js
|
|
74620
|
+
// =========================== Motion ===========================
|
|
74621
|
+
|
|
74622
|
+
var rtl_genRtlStyle = function genRtlStyle(token) {
|
|
74623
|
+
var componentCls = token.componentCls;
|
|
74624
|
+
return defineProperty_defineProperty({}, "".concat(componentCls, "-rtl"), {
|
|
74625
|
+
direction: 'rtl'
|
|
74626
|
+
});
|
|
74627
|
+
};
|
|
74628
|
+
|
|
74629
|
+
/* harmony default export */ var style_rtl = (rtl_genRtlStyle);
|
|
74630
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/upload/style/index.js
|
|
74631
|
+
|
|
74632
|
+
|
|
74633
|
+
|
|
74634
|
+
|
|
74635
|
+
|
|
74636
|
+
|
|
74637
|
+
|
|
74638
|
+
|
|
74639
|
+
|
|
74640
|
+
|
|
74641
|
+
|
|
74642
|
+
var upload_style_genBaseStyle = function genBaseStyle(token) {
|
|
74643
|
+
var _extends2;
|
|
74644
|
+
|
|
74645
|
+
var componentCls = token.componentCls,
|
|
74646
|
+
colorTextDisabled = token.colorTextDisabled;
|
|
74647
|
+
return defineProperty_defineProperty({}, "".concat(componentCls, "-wrapper"), extends_extends(extends_extends({}, style_resetComponent(token)), (_extends2 = {}, defineProperty_defineProperty(_extends2, componentCls, {
|
|
74648
|
+
outline: 0,
|
|
74649
|
+
"input[type='file']": {
|
|
74650
|
+
cursor: 'pointer'
|
|
74651
|
+
}
|
|
74652
|
+
}), defineProperty_defineProperty(_extends2, "".concat(componentCls, "-select"), {
|
|
74653
|
+
display: 'inline-block'
|
|
74654
|
+
}), defineProperty_defineProperty(_extends2, "".concat(componentCls, "-disabled"), {
|
|
74655
|
+
color: colorTextDisabled,
|
|
74656
|
+
cursor: 'not-allowed'
|
|
74657
|
+
}), _extends2)));
|
|
74658
|
+
}; // ============================== Export ==============================
|
|
74659
|
+
|
|
74660
|
+
|
|
74661
|
+
/* harmony default export */ var upload_style = (genComponentStyleHook_genComponentStyleHook('Upload', function (token) {
|
|
74662
|
+
var fontSizeHeading3 = token.fontSizeHeading3,
|
|
74663
|
+
fontSizeBase = token.fontSizeBase,
|
|
74664
|
+
lineHeight = token.lineHeight,
|
|
74665
|
+
lineWidth = token.lineWidth,
|
|
74666
|
+
controlHeightLG = token.controlHeightLG;
|
|
74667
|
+
var listItemHeightSM = Math.round(fontSizeBase * lineHeight);
|
|
74668
|
+
var uploadToken = merge(token, {
|
|
74669
|
+
uploadThumbnailSize: fontSizeHeading3 * 2,
|
|
74670
|
+
uploadProgressOffset: listItemHeightSM / 2 + lineWidth,
|
|
74671
|
+
uploadPicCardSize: controlHeightLG * 2.55
|
|
74672
|
+
});
|
|
74673
|
+
return [upload_style_genBaseStyle(uploadToken), dragger(uploadToken), genPictureStyle(uploadToken), genPictureCardStyle(uploadToken), list(uploadToken), upload_style_motion(uploadToken), style_rtl(uploadToken), collapse(uploadToken)];
|
|
74674
|
+
}));
|
|
74089
74675
|
;// CONCATENATED MODULE: ./packages/form/es/index.js
|
|
74090
74676
|
// 兼容代码-----------
|
|
74091
74677
|
|
|
74092
74678
|
|
|
74093
74679
|
|
|
74094
74680
|
|
|
74681
|
+
|
|
74682
|
+
|
|
74683
|
+
|
|
74684
|
+
|
|
74095
74685
|
//----------------------
|
|
74096
74686
|
|
|
74097
74687
|
|
|
@@ -76100,6 +76690,123 @@ var genSharedAnchorStyle = function genSharedAnchorStyle(token) {
|
|
|
76100
76690
|
});
|
|
76101
76691
|
return [genSharedAnchorStyle(anchorToken)];
|
|
76102
76692
|
}));
|
|
76693
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/avatar/style/index.js
|
|
76694
|
+
|
|
76695
|
+
|
|
76696
|
+
|
|
76697
|
+
|
|
76698
|
+
|
|
76699
|
+
var avatar_style_genBaseStyle = function genBaseStyle(token) {
|
|
76700
|
+
var _extends2, _extends3;
|
|
76701
|
+
|
|
76702
|
+
var antCls = token.antCls,
|
|
76703
|
+
componentCls = token.componentCls,
|
|
76704
|
+
iconCls = token.iconCls,
|
|
76705
|
+
avatarBg = token.avatarBg,
|
|
76706
|
+
avatarColor = token.avatarColor,
|
|
76707
|
+
avatarSizeBase = token.avatarSizeBase,
|
|
76708
|
+
avatarSizeLG = token.avatarSizeLG,
|
|
76709
|
+
avatarSizeSM = token.avatarSizeSM,
|
|
76710
|
+
avatarFontSizeBase = token.avatarFontSizeBase,
|
|
76711
|
+
avatarFontSizeLG = token.avatarFontSizeLG,
|
|
76712
|
+
avatarFontSizeSM = token.avatarFontSizeSM,
|
|
76713
|
+
controlRadius = token.controlRadius,
|
|
76714
|
+
controlRadiusLG = token.controlRadiusLG,
|
|
76715
|
+
controlRadiusSM = token.controlRadiusSM,
|
|
76716
|
+
lineWidth = token.lineWidth,
|
|
76717
|
+
lineType = token.lineType; // Avatar size style
|
|
76718
|
+
|
|
76719
|
+
var avatarSizeStyle = function avatarSizeStyle(size, fontSize, radius) {
|
|
76720
|
+
var _ref;
|
|
76721
|
+
|
|
76722
|
+
return _ref = {
|
|
76723
|
+
width: size,
|
|
76724
|
+
height: size,
|
|
76725
|
+
lineHeight: "".concat(size - lineWidth * 2, "px"),
|
|
76726
|
+
borderRadius: '50%'
|
|
76727
|
+
}, defineProperty_defineProperty(_ref, "&".concat(componentCls, "-square"), {
|
|
76728
|
+
borderRadius: radius
|
|
76729
|
+
}), defineProperty_defineProperty(_ref, "".concat(componentCls, "-string"), {
|
|
76730
|
+
position: 'absolute',
|
|
76731
|
+
left: {
|
|
76732
|
+
_skip_check_: true,
|
|
76733
|
+
value: '50%'
|
|
76734
|
+
},
|
|
76735
|
+
transformOrigin: '0 center'
|
|
76736
|
+
}), defineProperty_defineProperty(_ref, "&".concat(componentCls, "-icon"), defineProperty_defineProperty({
|
|
76737
|
+
fontSize: fontSize
|
|
76738
|
+
}, "> ".concat(iconCls), {
|
|
76739
|
+
margin: 0
|
|
76740
|
+
})), _ref;
|
|
76741
|
+
};
|
|
76742
|
+
|
|
76743
|
+
return defineProperty_defineProperty({}, componentCls, extends_extends(extends_extends(extends_extends(extends_extends({}, style_resetComponent(token)), (_extends2 = {
|
|
76744
|
+
position: 'relative',
|
|
76745
|
+
display: 'inline-block',
|
|
76746
|
+
overflow: 'hidden',
|
|
76747
|
+
color: avatarColor,
|
|
76748
|
+
whiteSpace: 'nowrap',
|
|
76749
|
+
textAlign: 'center',
|
|
76750
|
+
verticalAlign: 'middle',
|
|
76751
|
+
background: avatarBg,
|
|
76752
|
+
border: "".concat(lineWidth, "px ").concat(lineType, " transparent")
|
|
76753
|
+
}, defineProperty_defineProperty(_extends2, "&-image", {
|
|
76754
|
+
background: 'transparent'
|
|
76755
|
+
}), defineProperty_defineProperty(_extends2, "".concat(antCls, "-image-img"), {
|
|
76756
|
+
display: 'block'
|
|
76757
|
+
}), _extends2)), avatarSizeStyle(avatarSizeBase, avatarFontSizeBase, controlRadius)), (_extends3 = {}, defineProperty_defineProperty(_extends3, "&-lg", extends_extends({}, avatarSizeStyle(avatarSizeLG, avatarFontSizeLG, controlRadiusLG))), defineProperty_defineProperty(_extends3, "&-sm", extends_extends({}, avatarSizeStyle(avatarSizeSM, avatarFontSizeSM, controlRadiusSM))), defineProperty_defineProperty(_extends3, '> img', {
|
|
76758
|
+
display: 'block',
|
|
76759
|
+
width: '100%',
|
|
76760
|
+
height: '100%',
|
|
76761
|
+
objectFit: 'cover'
|
|
76762
|
+
}), _extends3)));
|
|
76763
|
+
};
|
|
76764
|
+
|
|
76765
|
+
var style_genGroupStyle = function genGroupStyle(token) {
|
|
76766
|
+
var _$concat3;
|
|
76767
|
+
|
|
76768
|
+
var componentCls = token.componentCls,
|
|
76769
|
+
avatarGroupBorderColor = token.avatarGroupBorderColor,
|
|
76770
|
+
avatarGroupOverlapping = token.avatarGroupOverlapping,
|
|
76771
|
+
avatarGroupSpace = token.avatarGroupSpace;
|
|
76772
|
+
return defineProperty_defineProperty({}, "".concat(componentCls, "-group"), (_$concat3 = {
|
|
76773
|
+
display: 'inline-flex'
|
|
76774
|
+
}, defineProperty_defineProperty(_$concat3, "".concat(componentCls), defineProperty_defineProperty({
|
|
76775
|
+
borderColor: avatarGroupBorderColor
|
|
76776
|
+
}, "&:not(:first-child)", {
|
|
76777
|
+
marginInlineStart: -avatarGroupOverlapping
|
|
76778
|
+
})), defineProperty_defineProperty(_$concat3, "&-popover", defineProperty_defineProperty({}, "".concat(componentCls, " + ").concat(componentCls), {
|
|
76779
|
+
marginInlineStart: avatarGroupSpace
|
|
76780
|
+
})), _$concat3));
|
|
76781
|
+
};
|
|
76782
|
+
|
|
76783
|
+
/* harmony default export */ var avatar_style = (genComponentStyleHook_genComponentStyleHook('Avatar', function (token) {
|
|
76784
|
+
var colorTextLightSolid = token.colorTextLightSolid,
|
|
76785
|
+
controlHeight = token.controlHeight,
|
|
76786
|
+
controlHeightLG = token.controlHeightLG,
|
|
76787
|
+
controlHeightSM = token.controlHeightSM,
|
|
76788
|
+
fontSize = token.fontSize,
|
|
76789
|
+
fontSizeLG = token.fontSizeLG,
|
|
76790
|
+
fontSizeXL = token.fontSizeXL,
|
|
76791
|
+
fontSizeHeading3 = token.fontSizeHeading3,
|
|
76792
|
+
marginXS = token.marginXS,
|
|
76793
|
+
colorBorderBg = token.colorBorderBg,
|
|
76794
|
+
colorTextPlaceholder = token.colorTextPlaceholder;
|
|
76795
|
+
var avatarToken = merge(token, {
|
|
76796
|
+
avatarBg: colorTextPlaceholder,
|
|
76797
|
+
avatarColor: colorTextLightSolid,
|
|
76798
|
+
avatarSizeBase: controlHeight,
|
|
76799
|
+
avatarSizeLG: controlHeightLG,
|
|
76800
|
+
avatarSizeSM: controlHeightSM,
|
|
76801
|
+
avatarFontSizeBase: Math.round((fontSizeLG + fontSizeXL) / 2),
|
|
76802
|
+
avatarFontSizeLG: fontSizeHeading3,
|
|
76803
|
+
avatarFontSizeSM: fontSize,
|
|
76804
|
+
avatarGroupOverlapping: marginXS,
|
|
76805
|
+
avatarGroupSpace: marginXS,
|
|
76806
|
+
avatarGroupBorderColor: colorBorderBg
|
|
76807
|
+
});
|
|
76808
|
+
return [avatar_style_genBaseStyle(avatarToken), style_genGroupStyle(avatarToken)];
|
|
76809
|
+
}));
|
|
76103
76810
|
;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.js
|
|
76104
76811
|
|
|
76105
76812
|
|
|
@@ -76161,134 +76868,6 @@ var genBreadcrumbStyle = function genBreadcrumbStyle(token) {
|
|
|
76161
76868
|
});
|
|
76162
76869
|
return [genBreadcrumbStyle(BreadcrumbToken)];
|
|
76163
76870
|
}));
|
|
76164
|
-
;// CONCATENATED MODULE: ./node_modules/antd/es/divider/style/index.js
|
|
76165
|
-
|
|
76166
|
-
|
|
76167
|
-
|
|
76168
|
-
// ============================== Shared ==============================
|
|
76169
|
-
|
|
76170
|
-
var genSharedDividerStyle = function genSharedDividerStyle(token) {
|
|
76171
|
-
var _extends2;
|
|
76172
|
-
|
|
76173
|
-
var componentCls = token.componentCls,
|
|
76174
|
-
sizePaddingEdgeHorizontal = token.sizePaddingEdgeHorizontal,
|
|
76175
|
-
colorSplit = token.colorSplit,
|
|
76176
|
-
controlLineWidth = token.controlLineWidth;
|
|
76177
|
-
return defineProperty_defineProperty({}, componentCls, extends_extends(extends_extends({}, style_resetComponent(token)), (_extends2 = {
|
|
76178
|
-
borderBlockStart: "".concat(controlLineWidth, "px solid ").concat(colorSplit),
|
|
76179
|
-
// vertical
|
|
76180
|
-
'&-vertical': {
|
|
76181
|
-
position: 'relative',
|
|
76182
|
-
top: '-0.06em',
|
|
76183
|
-
display: 'inline-block',
|
|
76184
|
-
height: '0.9em',
|
|
76185
|
-
margin: "0 ".concat(token.dividerVerticalGutterMargin, "px"),
|
|
76186
|
-
verticalAlign: 'middle',
|
|
76187
|
-
borderTop: 0,
|
|
76188
|
-
borderInlineStart: "".concat(controlLineWidth, "px solid ").concat(colorSplit)
|
|
76189
|
-
},
|
|
76190
|
-
'&-horizontal': {
|
|
76191
|
-
display: 'flex',
|
|
76192
|
-
clear: 'both',
|
|
76193
|
-
width: '100%',
|
|
76194
|
-
minWidth: '100%',
|
|
76195
|
-
margin: "".concat(token.dividerHorizontalGutterMargin, "px 0")
|
|
76196
|
-
},
|
|
76197
|
-
'&-horizontal&-with-text': {
|
|
76198
|
-
display: 'flex',
|
|
76199
|
-
margin: "".concat(token.dividerHorizontalWithTextGutterMargin, "px 0"),
|
|
76200
|
-
color: token.colorTextHeading,
|
|
76201
|
-
fontWeight: 500,
|
|
76202
|
-
fontSize: token.fontSizeLG,
|
|
76203
|
-
whiteSpace: 'nowrap',
|
|
76204
|
-
textAlign: 'center',
|
|
76205
|
-
borderBlockStart: "0 ".concat(colorSplit),
|
|
76206
|
-
'&::before, &::after': {
|
|
76207
|
-
position: 'relative',
|
|
76208
|
-
top: '50%',
|
|
76209
|
-
width: '50%',
|
|
76210
|
-
borderBlockStart: "".concat(controlLineWidth, "px solid transparent"),
|
|
76211
|
-
// Chrome not accept `inherit` in `border-top`
|
|
76212
|
-
borderBlockStartColor: 'inherit',
|
|
76213
|
-
borderBlockEnd: 0,
|
|
76214
|
-
transform: 'translateY(50%)',
|
|
76215
|
-
content: "''"
|
|
76216
|
-
}
|
|
76217
|
-
},
|
|
76218
|
-
'&-horizontal&-with-text-left': {
|
|
76219
|
-
'&::before': {
|
|
76220
|
-
top: '50%',
|
|
76221
|
-
width: '5%'
|
|
76222
|
-
},
|
|
76223
|
-
'&::after': {
|
|
76224
|
-
top: '50%',
|
|
76225
|
-
width: '95%'
|
|
76226
|
-
}
|
|
76227
|
-
},
|
|
76228
|
-
'&-horizontal&-with-text-right': {
|
|
76229
|
-
'&::before': {
|
|
76230
|
-
top: '50%',
|
|
76231
|
-
width: '95%'
|
|
76232
|
-
},
|
|
76233
|
-
'&::after': {
|
|
76234
|
-
top: '50%',
|
|
76235
|
-
width: '5%'
|
|
76236
|
-
}
|
|
76237
|
-
}
|
|
76238
|
-
}, defineProperty_defineProperty(_extends2, "".concat(componentCls, "-inner-text"), {
|
|
76239
|
-
display: 'inline-block',
|
|
76240
|
-
padding: '0 1em'
|
|
76241
|
-
}), defineProperty_defineProperty(_extends2, '&-dashed', {
|
|
76242
|
-
background: 'none',
|
|
76243
|
-
borderColor: colorSplit,
|
|
76244
|
-
borderStyle: 'dashed',
|
|
76245
|
-
borderWidth: 0,
|
|
76246
|
-
borderBlockStart: "".concat(controlLineWidth, "px")
|
|
76247
|
-
}), defineProperty_defineProperty(_extends2, '&-horizontal&-with-text&-dashed', {
|
|
76248
|
-
'&::before, &::after': {
|
|
76249
|
-
borderStyle: 'dashed none none'
|
|
76250
|
-
}
|
|
76251
|
-
}), defineProperty_defineProperty(_extends2, '&-vertical&-dashed', {
|
|
76252
|
-
borderInlineStart: controlLineWidth,
|
|
76253
|
-
borderInlineEnd: 0,
|
|
76254
|
-
borderBlockStart: 0,
|
|
76255
|
-
borderBlockEnd: 0
|
|
76256
|
-
}), defineProperty_defineProperty(_extends2, '&-plain&-with-text', {
|
|
76257
|
-
color: token.colorText,
|
|
76258
|
-
fontWeight: 'normal',
|
|
76259
|
-
fontSize: token.fontSize
|
|
76260
|
-
}), defineProperty_defineProperty(_extends2, '&-horizontal&-with-text-left&-no-default-orientation-margin-left', defineProperty_defineProperty({
|
|
76261
|
-
'&::before': {
|
|
76262
|
-
width: 0
|
|
76263
|
-
},
|
|
76264
|
-
'&::after': {
|
|
76265
|
-
width: '100%'
|
|
76266
|
-
}
|
|
76267
|
-
}, "".concat(componentCls, "-inner-text"), {
|
|
76268
|
-
paddingInlineStart: sizePaddingEdgeHorizontal
|
|
76269
|
-
})), defineProperty_defineProperty(_extends2, '&-horizontal&-with-text-right&-no-default-orientation-margin-right', defineProperty_defineProperty({
|
|
76270
|
-
'&::before': {
|
|
76271
|
-
width: '100%'
|
|
76272
|
-
},
|
|
76273
|
-
'&::after': {
|
|
76274
|
-
width: 0
|
|
76275
|
-
}
|
|
76276
|
-
}, "".concat(componentCls, "-inner-text"), {
|
|
76277
|
-
paddingInlineEnd: sizePaddingEdgeHorizontal
|
|
76278
|
-
})), _extends2)));
|
|
76279
|
-
}; // ============================== Export ==============================
|
|
76280
|
-
|
|
76281
|
-
|
|
76282
|
-
/* harmony default export */ var divider_style = (genComponentStyleHook_genComponentStyleHook('Divider', function (token) {
|
|
76283
|
-
var dividerToken = merge(token, {
|
|
76284
|
-
dividerVerticalGutterMargin: token.marginXS,
|
|
76285
|
-
dividerHorizontalWithTextGutterMargin: token.margin,
|
|
76286
|
-
dividerHorizontalGutterMargin: token.marginLG
|
|
76287
|
-
});
|
|
76288
|
-
return [genSharedDividerStyle(dividerToken)];
|
|
76289
|
-
}, {
|
|
76290
|
-
sizePaddingEdgeHorizontal: 0
|
|
76291
|
-
}));
|
|
76292
76871
|
;// CONCATENATED MODULE: ./node_modules/antd/es/layout/style/light.js
|
|
76293
76872
|
|
|
76294
76873
|
|
|
@@ -76773,7 +77352,7 @@ var getRTLStyle = function getRTLStyle(_ref) {
|
|
|
76773
77352
|
})), _ref2;
|
|
76774
77353
|
};
|
|
76775
77354
|
|
|
76776
|
-
/* harmony default export */ var
|
|
77355
|
+
/* harmony default export */ var menu_style_rtl = (getRTLStyle);
|
|
76777
77356
|
;// CONCATENATED MODULE: ./node_modules/antd/es/menu/style/theme.js
|
|
76778
77357
|
|
|
76779
77358
|
|
|
@@ -77274,7 +77853,7 @@ var getBaseStyle = function getBaseStyle(token) {
|
|
|
77274
77853
|
horizontal(menuToken), // Vertical
|
|
77275
77854
|
style_vertical(menuToken), // Theme
|
|
77276
77855
|
theme(menuToken), // RTL
|
|
77277
|
-
|
|
77856
|
+
menu_style_rtl(menuToken), // Motion
|
|
77278
77857
|
collapse(menuToken), initSlideMotion(menuToken, 'slide-up'), initSlideMotion(menuToken, 'slide-down'), initZoomMotion(menuToken, 'zoom-big')];
|
|
77279
77858
|
}, function (token) {
|
|
77280
77859
|
var colorPrimary = token.colorPrimary,
|
|
@@ -78439,7 +79018,6 @@ var PageContainer_excluded = ["title", "content", "pageHeaderRender", "header",
|
|
|
78439
79018
|
|
|
78440
79019
|
|
|
78441
79020
|
|
|
78442
|
-
|
|
78443
79021
|
function genLoading(spinProps) {
|
|
78444
79022
|
if (typeof_typeof(spinProps) === 'object') {
|
|
78445
79023
|
return spinProps;
|
|
@@ -78464,7 +79042,7 @@ var PageContainer_renderFooter = function renderFooter(_ref) {
|
|
|
78464
79042
|
prefixedClassName = _ref.prefixedClassName;
|
|
78465
79043
|
|
|
78466
79044
|
if (Array.isArray(tabList) || tabBarExtraContent) {
|
|
78467
|
-
return (0,jsx_runtime.jsx)(external_antd_.Tabs, objectSpread2_objectSpread2(
|
|
79045
|
+
return (0,jsx_runtime.jsx)(external_antd_.Tabs, objectSpread2_objectSpread2({
|
|
78468
79046
|
className: "".concat(prefixedClassName, "-tabs"),
|
|
78469
79047
|
activeKey: tabActiveKey,
|
|
78470
79048
|
onChange: function onChange(key) {
|
|
@@ -78472,19 +79050,17 @@ var PageContainer_renderFooter = function renderFooter(_ref) {
|
|
|
78472
79050
|
onTabChange(key);
|
|
78473
79051
|
}
|
|
78474
79052
|
},
|
|
78475
|
-
tabBarExtraContent: tabBarExtraContent
|
|
78476
|
-
|
|
78477
|
-
|
|
78478
|
-
|
|
78479
|
-
|
|
78480
|
-
|
|
78481
|
-
|
|
78482
|
-
|
|
78483
|
-
|
|
78484
|
-
}))
|
|
78485
|
-
);
|
|
79053
|
+
tabBarExtraContent: tabBarExtraContent,
|
|
79054
|
+
items: tabList === null || tabList === void 0 ? void 0 : tabList.map(function (item, index) {
|
|
79055
|
+
var _item$key;
|
|
79056
|
+
|
|
79057
|
+
return objectSpread2_objectSpread2(objectSpread2_objectSpread2({
|
|
79058
|
+
label: item.tab
|
|
79059
|
+
}, item), {}, {
|
|
79060
|
+
key: ((_item$key = item.key) === null || _item$key === void 0 ? void 0 : _item$key.toString()) || (index === null || index === void 0 ? void 0 : index.toString())
|
|
79061
|
+
});
|
|
78486
79062
|
})
|
|
78487
|
-
}));
|
|
79063
|
+
}, tabProps));
|
|
78488
79064
|
}
|
|
78489
79065
|
|
|
78490
79066
|
return null;
|
|
@@ -81432,7 +82008,7 @@ var NotificationOutlined_NotificationOutlined = function NotificationOutlined(pr
|
|
|
81432
82008
|
NotificationOutlined_NotificationOutlined.displayName = 'NotificationOutlined';
|
|
81433
82009
|
/* harmony default export */ var icons_NotificationOutlined = (/*#__PURE__*/external_React_.forwardRef(NotificationOutlined_NotificationOutlined));
|
|
81434
82010
|
// EXTERNAL MODULE: ./node_modules/@umijs/ssr-darkreader/darkreader.js
|
|
81435
|
-
var darkreader = __webpack_require__(
|
|
82011
|
+
var darkreader = __webpack_require__(897);
|
|
81436
82012
|
;// CONCATENATED MODULE: ./packages/layout/es/locales/en-US/settingDrawer.js
|
|
81437
82013
|
/* harmony default export */ var settingDrawer = ({
|
|
81438
82014
|
'app.setting.pagestyle': 'Page style setting',
|
|
@@ -86266,6 +86842,7 @@ var ProLayout_ProLayout = function ProLayout(props) {
|
|
|
86266
86842
|
|
|
86267
86843
|
|
|
86268
86844
|
|
|
86845
|
+
|
|
86269
86846
|
//----------------------
|
|
86270
86847
|
|
|
86271
86848
|
|
|
@@ -90630,8 +91207,6 @@ function ColumnSetting(props) {
|
|
|
90630
91207
|
|
|
90631
91208
|
|
|
90632
91209
|
|
|
90633
|
-
var HeaderMenu_excluded = ["label", "key"];
|
|
90634
|
-
|
|
90635
91210
|
|
|
90636
91211
|
|
|
90637
91212
|
|
|
@@ -90678,19 +91253,17 @@ var HeaderMenu = function HeaderMenu(props) {
|
|
|
90678
91253
|
|
|
90679
91254
|
if (type === 'tab') {
|
|
90680
91255
|
return (0,jsx_runtime.jsx)(external_antd_.Tabs, {
|
|
91256
|
+
items: items.map(function (item) {
|
|
91257
|
+
var _item$key;
|
|
91258
|
+
|
|
91259
|
+
return objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, item), {}, {
|
|
91260
|
+
key: (_item$key = item.key) === null || _item$key === void 0 ? void 0 : _item$key.toString()
|
|
91261
|
+
});
|
|
91262
|
+
}),
|
|
90681
91263
|
activeKey: activeItem.key,
|
|
90682
91264
|
onTabClick: function onTabClick(key) {
|
|
90683
91265
|
return setActiveKey(key);
|
|
90684
|
-
}
|
|
90685
|
-
children: items.map(function (_ref, index) {
|
|
90686
|
-
var label = _ref.label,
|
|
90687
|
-
key = _ref.key,
|
|
90688
|
-
rest = objectWithoutProperties_objectWithoutProperties(_ref, HeaderMenu_excluded);
|
|
90689
|
-
|
|
90690
|
-
return (0,jsx_runtime.jsx)(external_antd_.Tabs.TabPane, objectSpread2_objectSpread2({
|
|
90691
|
-
tab: label
|
|
90692
|
-
}, rest), key || index);
|
|
90693
|
-
})
|
|
91266
|
+
}
|
|
90694
91267
|
});
|
|
90695
91268
|
}
|
|
90696
91269
|
|
|
@@ -90897,11 +91470,17 @@ var ListToolBarTabBar = function ListToolBarTabBar(_ref) {
|
|
|
90897
91470
|
className: "".concat(prefixCls, "-extra-line"),
|
|
90898
91471
|
children: tabs.items && tabs.items.length ? (0,jsx_runtime.jsx)(external_antd_.Tabs, {
|
|
90899
91472
|
activeKey: tabs.activeKey,
|
|
91473
|
+
items: tabs.items.map(function (item, index) {
|
|
91474
|
+
var _item$key;
|
|
91475
|
+
|
|
91476
|
+
return objectSpread2_objectSpread2(objectSpread2_objectSpread2({
|
|
91477
|
+
label: item.tab
|
|
91478
|
+
}, item), {}, {
|
|
91479
|
+
key: ((_item$key = item.key) === null || _item$key === void 0 ? void 0 : _item$key.toString()) || (index === null || index === void 0 ? void 0 : index.toString())
|
|
91480
|
+
});
|
|
91481
|
+
}),
|
|
90900
91482
|
onChange: tabs.onChange,
|
|
90901
|
-
tabBarExtraContent: filtersNode
|
|
90902
|
-
children: tabs.items.map(function (tab, index) {
|
|
90903
|
-
return (0,jsx_runtime.jsx)(external_antd_.Tabs.TabPane, objectSpread2_objectSpread2({}, tab), tab.key || index);
|
|
90904
|
-
})
|
|
91483
|
+
tabBarExtraContent: filtersNode
|
|
90905
91484
|
}) : filtersNode
|
|
90906
91485
|
});
|
|
90907
91486
|
};
|
|
@@ -112952,17 +113531,17 @@ function BaseProList(props) {
|
|
|
112952
113531
|
/* harmony default export */ var list_es = ((/* unused pure expression or super */ null && (ProList)));
|
|
112953
113532
|
;// CONCATENATED MODULE: ./packages/components/src/version.ts
|
|
112954
113533
|
var version_version = {
|
|
112955
|
-
"@ant-design/pro-card": "2.0.0-experimental.
|
|
112956
|
-
"@ant-design/pro-components": "2.0.0-experimental.
|
|
112957
|
-
"@ant-design/pro-descriptions": "2.0.0-experimental.
|
|
112958
|
-
"@ant-design/pro-field": "2.0.0-experimental.
|
|
112959
|
-
"@ant-design/pro-form": "2.0.0-experimental.
|
|
112960
|
-
"@ant-design/pro-layout": "7.0.0-experimental.
|
|
112961
|
-
"@ant-design/pro-list": "2.0.0-experimental.
|
|
113534
|
+
"@ant-design/pro-card": "2.0.0-experimental.16",
|
|
113535
|
+
"@ant-design/pro-components": "2.0.0-experimental.28",
|
|
113536
|
+
"@ant-design/pro-descriptions": "2.0.0-experimental.16",
|
|
113537
|
+
"@ant-design/pro-field": "2.0.0-experimental.16",
|
|
113538
|
+
"@ant-design/pro-form": "2.0.0-experimental.16",
|
|
113539
|
+
"@ant-design/pro-layout": "7.0.0-experimental.28",
|
|
113540
|
+
"@ant-design/pro-list": "2.0.0-experimental.17",
|
|
112962
113541
|
"@ant-design/pro-provider": "2.0.0-experimental.10",
|
|
112963
|
-
"@ant-design/pro-skeleton": "2.0.0-experimental.
|
|
112964
|
-
"@ant-design/pro-table": "3.0.0-experimental.
|
|
112965
|
-
"@ant-design/pro-utils": "2.0.0-experimental.
|
|
113542
|
+
"@ant-design/pro-skeleton": "2.0.0-experimental.8",
|
|
113543
|
+
"@ant-design/pro-table": "3.0.0-experimental.17",
|
|
113544
|
+
"@ant-design/pro-utils": "2.0.0-experimental.16"
|
|
112966
113545
|
};
|
|
112967
113546
|
;// CONCATENATED MODULE: ./packages/components/src/index.tsx
|
|
112968
113547
|
|