@ant-design/pro-components 2.3.1 → 2.3.4
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 +336 -22
- package/dist/components.min.js +1 -1
- package/es/version.js +11 -11
- package/package.json +11 -11
package/dist/components.js
CHANGED
|
@@ -9270,6 +9270,116 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
|
9270
9270
|
|
|
9271
9271
|
/***/ }),
|
|
9272
9272
|
|
|
9273
|
+
/***/ 1725:
|
|
9274
|
+
/***/ (function(module) {
|
|
9275
|
+
|
|
9276
|
+
!function (n, e) {
|
|
9277
|
+
true ? module.exports = e() : 0;
|
|
9278
|
+
}(this, function () {
|
|
9279
|
+
"use strict";
|
|
9280
|
+
|
|
9281
|
+
return function (n, e, t) {
|
|
9282
|
+
var r = e.prototype,
|
|
9283
|
+
o = function o(n) {
|
|
9284
|
+
return n && (n.indexOf ? n : n.s);
|
|
9285
|
+
},
|
|
9286
|
+
u = function u(n, e, t, r, _u) {
|
|
9287
|
+
var i = n.name ? n : n.$locale(),
|
|
9288
|
+
a = o(i[e]),
|
|
9289
|
+
s = o(i[t]),
|
|
9290
|
+
f = a || s.map(function (n) {
|
|
9291
|
+
return n.slice(0, r);
|
|
9292
|
+
});
|
|
9293
|
+
if (!_u) return f;
|
|
9294
|
+
var d = i.weekStart;
|
|
9295
|
+
return f.map(function (n, e) {
|
|
9296
|
+
return f[(e + (d || 0)) % 7];
|
|
9297
|
+
});
|
|
9298
|
+
},
|
|
9299
|
+
i = function i() {
|
|
9300
|
+
return t.Ls[t.locale()];
|
|
9301
|
+
},
|
|
9302
|
+
a = function a(n, e) {
|
|
9303
|
+
return n.formats[e] || function (n) {
|
|
9304
|
+
return n.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function (n, e, t) {
|
|
9305
|
+
return e || t.slice(1);
|
|
9306
|
+
});
|
|
9307
|
+
}(n.formats[e.toUpperCase()]);
|
|
9308
|
+
},
|
|
9309
|
+
s = function s() {
|
|
9310
|
+
var n = this;
|
|
9311
|
+
return {
|
|
9312
|
+
months: function months(e) {
|
|
9313
|
+
return e ? e.format("MMMM") : u(n, "months");
|
|
9314
|
+
},
|
|
9315
|
+
monthsShort: function monthsShort(e) {
|
|
9316
|
+
return e ? e.format("MMM") : u(n, "monthsShort", "months", 3);
|
|
9317
|
+
},
|
|
9318
|
+
firstDayOfWeek: function firstDayOfWeek() {
|
|
9319
|
+
return n.$locale().weekStart || 0;
|
|
9320
|
+
},
|
|
9321
|
+
weekdays: function weekdays(e) {
|
|
9322
|
+
return e ? e.format("dddd") : u(n, "weekdays");
|
|
9323
|
+
},
|
|
9324
|
+
weekdaysMin: function weekdaysMin(e) {
|
|
9325
|
+
return e ? e.format("dd") : u(n, "weekdaysMin", "weekdays", 2);
|
|
9326
|
+
},
|
|
9327
|
+
weekdaysShort: function weekdaysShort(e) {
|
|
9328
|
+
return e ? e.format("ddd") : u(n, "weekdaysShort", "weekdays", 3);
|
|
9329
|
+
},
|
|
9330
|
+
longDateFormat: function longDateFormat(e) {
|
|
9331
|
+
return a(n.$locale(), e);
|
|
9332
|
+
},
|
|
9333
|
+
meridiem: this.$locale().meridiem,
|
|
9334
|
+
ordinal: this.$locale().ordinal
|
|
9335
|
+
};
|
|
9336
|
+
};
|
|
9337
|
+
|
|
9338
|
+
r.localeData = function () {
|
|
9339
|
+
return s.bind(this)();
|
|
9340
|
+
}, t.localeData = function () {
|
|
9341
|
+
var n = i();
|
|
9342
|
+
return {
|
|
9343
|
+
firstDayOfWeek: function firstDayOfWeek() {
|
|
9344
|
+
return n.weekStart || 0;
|
|
9345
|
+
},
|
|
9346
|
+
weekdays: function weekdays() {
|
|
9347
|
+
return t.weekdays();
|
|
9348
|
+
},
|
|
9349
|
+
weekdaysShort: function weekdaysShort() {
|
|
9350
|
+
return t.weekdaysShort();
|
|
9351
|
+
},
|
|
9352
|
+
weekdaysMin: function weekdaysMin() {
|
|
9353
|
+
return t.weekdaysMin();
|
|
9354
|
+
},
|
|
9355
|
+
months: function months() {
|
|
9356
|
+
return t.months();
|
|
9357
|
+
},
|
|
9358
|
+
monthsShort: function monthsShort() {
|
|
9359
|
+
return t.monthsShort();
|
|
9360
|
+
},
|
|
9361
|
+
longDateFormat: function longDateFormat(e) {
|
|
9362
|
+
return a(n, e);
|
|
9363
|
+
},
|
|
9364
|
+
meridiem: n.meridiem,
|
|
9365
|
+
ordinal: n.ordinal
|
|
9366
|
+
};
|
|
9367
|
+
}, t.months = function () {
|
|
9368
|
+
return u(i(), "months");
|
|
9369
|
+
}, t.monthsShort = function () {
|
|
9370
|
+
return u(i(), "monthsShort", "months", 3);
|
|
9371
|
+
}, t.weekdays = function (n) {
|
|
9372
|
+
return u(i(), "weekdays", null, null, n);
|
|
9373
|
+
}, t.weekdaysShort = function (n) {
|
|
9374
|
+
return u(i(), "weekdaysShort", "weekdays", 3, n);
|
|
9375
|
+
}, t.weekdaysMin = function (n) {
|
|
9376
|
+
return u(i(), "weekdaysMin", "weekdays", 2, n);
|
|
9377
|
+
};
|
|
9378
|
+
};
|
|
9379
|
+
});
|
|
9380
|
+
|
|
9381
|
+
/***/ }),
|
|
9382
|
+
|
|
9273
9383
|
/***/ 6703:
|
|
9274
9384
|
/***/ (function(module) {
|
|
9275
9385
|
|
|
@@ -9450,6 +9560,26 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
|
9450
9560
|
|
|
9451
9561
|
/***/ }),
|
|
9452
9562
|
|
|
9563
|
+
/***/ 7805:
|
|
9564
|
+
/***/ (function(module) {
|
|
9565
|
+
|
|
9566
|
+
!function (e, t) {
|
|
9567
|
+
true ? module.exports = t() : 0;
|
|
9568
|
+
}(this, function () {
|
|
9569
|
+
"use strict";
|
|
9570
|
+
|
|
9571
|
+
return function (e, t) {
|
|
9572
|
+
t.prototype.weekday = function (e) {
|
|
9573
|
+
var t = this.$locale().weekStart || 0,
|
|
9574
|
+
i = this.$W,
|
|
9575
|
+
n = (i < t ? i + 7 : i) - t;
|
|
9576
|
+
return this.$utils().u(e) ? n : this.subtract(n, "day").add(e, "day");
|
|
9577
|
+
};
|
|
9578
|
+
};
|
|
9579
|
+
});
|
|
9580
|
+
|
|
9581
|
+
/***/ }),
|
|
9582
|
+
|
|
9453
9583
|
/***/ 464:
|
|
9454
9584
|
/***/ (function(module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
9455
9585
|
|
|
@@ -44735,6 +44865,8 @@ var getValueOrLabel = function getValueOrLabel(valueMap, v) {
|
|
|
44735
44865
|
};
|
|
44736
44866
|
|
|
44737
44867
|
var LightSelect = function LightSelect(props, ref) {
|
|
44868
|
+
console.log(props);
|
|
44869
|
+
|
|
44738
44870
|
var label = props.label,
|
|
44739
44871
|
customizePrefixCls = props.prefixCls,
|
|
44740
44872
|
_onChange = props.onChange,
|
|
@@ -44800,7 +44932,8 @@ var LightSelect = function LightSelect(props, ref) {
|
|
|
44800
44932
|
}
|
|
44801
44933
|
})), _$concat2));
|
|
44802
44934
|
}),
|
|
44803
|
-
wrapSSR = _useStyle.wrapSSR
|
|
44935
|
+
wrapSSR = _useStyle.wrapSSR,
|
|
44936
|
+
hashId = _useStyle.hashId;
|
|
44804
44937
|
|
|
44805
44938
|
var valueMap = (0,external_React_.useMemo)(function () {
|
|
44806
44939
|
var values = {};
|
|
@@ -44815,7 +44948,7 @@ var LightSelect = function LightSelect(props, ref) {
|
|
|
44815
44948
|
return getValueOrLabel(valueMap, v);
|
|
44816
44949
|
}) : getValueOrLabel(valueMap, value);
|
|
44817
44950
|
return wrapSSR((0,jsx_runtime.jsxs)("div", {
|
|
44818
|
-
className: classnames_default()(prefixCls, defineProperty_defineProperty({}, "".concat(prefixCls, "-searchable"), showSearch), className),
|
|
44951
|
+
className: classnames_default()(prefixCls, hashId, defineProperty_defineProperty({}, "".concat(prefixCls, "-searchable"), showSearch), className),
|
|
44819
44952
|
style: style,
|
|
44820
44953
|
onClick: function onClick(e) {
|
|
44821
44954
|
var _lightLabel$current, _lightLabel$current$l, _lightLabel$current$l2;
|
|
@@ -51312,9 +51445,19 @@ var FieldDigit = function FieldDigit(_ref, ref) {
|
|
|
51312
51445
|
renderFormItem = _ref.renderFormItem,
|
|
51313
51446
|
fieldProps = _ref.fieldProps;
|
|
51314
51447
|
var proxyChange = (0,external_React_.useCallback)(function (value) {
|
|
51315
|
-
var
|
|
51448
|
+
var val = value;
|
|
51449
|
+
|
|
51450
|
+
if (typeof value === 'string') {
|
|
51451
|
+
val = Number(val);
|
|
51452
|
+
}
|
|
51453
|
+
|
|
51454
|
+
if (typeof val === 'number') {
|
|
51455
|
+
var _val, _val$toFixed, _fieldProps$precision;
|
|
51456
|
+
|
|
51457
|
+
val = (_val = val) === null || _val === void 0 ? void 0 : (_val$toFixed = _val.toFixed) === null || _val$toFixed === void 0 ? void 0 : _val$toFixed.call(_val, (_fieldProps$precision = fieldProps.precision) !== null && _fieldProps$precision !== void 0 ? _fieldProps$precision : 0);
|
|
51458
|
+
val = Number(val);
|
|
51459
|
+
}
|
|
51316
51460
|
|
|
51317
|
-
var val = Number(value === null || value === void 0 ? void 0 : value.toFixed((_fieldProps$precision = fieldProps.precision) !== null && _fieldProps$precision !== void 0 ? _fieldProps$precision : 0));
|
|
51318
51461
|
return fieldProps === null || fieldProps === void 0 ? void 0 : fieldProps.onChange(val);
|
|
51319
51462
|
}, [fieldProps]);
|
|
51320
51463
|
|
|
@@ -51525,6 +51668,7 @@ var relativeTime_default = /*#__PURE__*/__webpack_require__.n(relativeTime);
|
|
|
51525
51668
|
|
|
51526
51669
|
// 兼容代码-----------
|
|
51527
51670
|
|
|
51671
|
+
|
|
51528
51672
|
//----------------------
|
|
51529
51673
|
|
|
51530
51674
|
dayjs_min_default().extend((relativeTime_default()));
|
|
@@ -51534,7 +51678,7 @@ dayjs_min_default().extend((relativeTime_default()));
|
|
|
51534
51678
|
* @param
|
|
51535
51679
|
*/
|
|
51536
51680
|
|
|
51537
|
-
var FieldFromNow = function FieldFromNow(_ref) {
|
|
51681
|
+
var FieldFromNow = function FieldFromNow(_ref, ref) {
|
|
51538
51682
|
var text = _ref.text,
|
|
51539
51683
|
mode = _ref.mode,
|
|
51540
51684
|
render = _ref.render,
|
|
@@ -51567,6 +51711,7 @@ var FieldFromNow = function FieldFromNow(_ref) {
|
|
|
51567
51711
|
var momentValue = parseValueToDay(fieldProps.value);
|
|
51568
51712
|
|
|
51569
51713
|
var _dom = (0,jsx_runtime.jsx)(external_antd_.DatePicker, objectSpread2_objectSpread2(objectSpread2_objectSpread2({
|
|
51714
|
+
ref: ref,
|
|
51570
51715
|
placeholder: placeholder,
|
|
51571
51716
|
showTime: true
|
|
51572
51717
|
}, fieldProps), {}, {
|
|
@@ -51585,7 +51730,7 @@ var FieldFromNow = function FieldFromNow(_ref) {
|
|
|
51585
51730
|
return null;
|
|
51586
51731
|
};
|
|
51587
51732
|
|
|
51588
|
-
/* harmony default export */ var FromNow = (FieldFromNow);
|
|
51733
|
+
/* harmony default export */ var FromNow = (/*#__PURE__*/external_React_default().forwardRef(FieldFromNow));
|
|
51589
51734
|
;// CONCATENATED MODULE: ./node_modules/antd/es/style/motion/fade.js
|
|
51590
51735
|
|
|
51591
51736
|
|
|
@@ -53953,7 +54098,7 @@ var FieldRadio = function FieldRadio(_ref, ref) {
|
|
|
53953
54098
|
});
|
|
53954
54099
|
}); // css
|
|
53955
54100
|
|
|
53956
|
-
var _useStyle = useStyle('
|
|
54101
|
+
var _useStyle = useStyle('FieldRadioRadio', function (token) {
|
|
53957
54102
|
return defineProperty_defineProperty({}, ".".concat(layoutClassName, "-horizontal"), defineProperty_defineProperty({}, "".concat(token.antCls, "-radio-wrapper"), {
|
|
53958
54103
|
display: 'block',
|
|
53959
54104
|
marginInlineEnd: 0
|
|
@@ -56032,6 +56177,12 @@ function FieldHOC(props) {
|
|
|
56032
56177
|
}
|
|
56033
56178
|
|
|
56034
56179
|
/* harmony default export */ var es_FieldHOC = (FieldHOC);
|
|
56180
|
+
// EXTERNAL MODULE: ./node_modules/dayjs/plugin/weekday.js
|
|
56181
|
+
var weekday = __webpack_require__(7805);
|
|
56182
|
+
var weekday_default = /*#__PURE__*/__webpack_require__.n(weekday);
|
|
56183
|
+
// EXTERNAL MODULE: ./node_modules/dayjs/plugin/localeData.js
|
|
56184
|
+
var localeData = __webpack_require__(1725);
|
|
56185
|
+
var localeData_default = /*#__PURE__*/__webpack_require__.n(localeData);
|
|
56035
56186
|
;// CONCATENATED MODULE: ./packages/field/es/index.js
|
|
56036
56187
|
|
|
56037
56188
|
|
|
@@ -56072,6 +56223,11 @@ var es_excluded = ["text", "valueType", "mode", "onChange", "renderFormItem", "v
|
|
|
56072
56223
|
|
|
56073
56224
|
|
|
56074
56225
|
|
|
56226
|
+
|
|
56227
|
+
|
|
56228
|
+
|
|
56229
|
+
dayjs_min_default().extend((weekday_default()));
|
|
56230
|
+
dayjs_min_default().extend((localeData_default()));
|
|
56075
56231
|
var REQUEST_VALUE_TYPE = ['select', 'radio', 'radioButton', 'checkbook'];
|
|
56076
56232
|
/**
|
|
56077
56233
|
* Render valueType object
|
|
@@ -80269,6 +80425,162 @@ var genTableStyle = function genTableStyle(token) {
|
|
|
80269
80425
|
});
|
|
80270
80426
|
return [genTableStyle(tableToken), pagination(tableToken), summary(tableToken), sorter(tableToken), filter(tableToken), bordered(tableToken), radius(tableToken), expand(tableToken), summary(tableToken), empty(tableToken), selection(tableToken), fixed(tableToken), sticky(tableToken), ellipsis(tableToken), size(tableToken), table_style_rtl(tableToken)];
|
|
80271
80427
|
}));
|
|
80428
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/alert/style/index.js
|
|
80429
|
+
|
|
80430
|
+
|
|
80431
|
+
|
|
80432
|
+
|
|
80433
|
+
|
|
80434
|
+
var genAlertTypeStyle = function genAlertTypeStyle(bgColor, borderColor, iconColor, token, alertCls) {
|
|
80435
|
+
return defineProperty_defineProperty({
|
|
80436
|
+
backgroundColor: bgColor,
|
|
80437
|
+
border: "".concat(token.controlLineWidth, "px ").concat(token.controlLineType, " ").concat(borderColor)
|
|
80438
|
+
}, "".concat(alertCls, "-icon"), {
|
|
80439
|
+
color: iconColor
|
|
80440
|
+
});
|
|
80441
|
+
};
|
|
80442
|
+
|
|
80443
|
+
var alert_style_genBaseStyle = function genBaseStyle(token) {
|
|
80444
|
+
var _extends2, _$concat, _ref2;
|
|
80445
|
+
|
|
80446
|
+
var componentCls = token.componentCls,
|
|
80447
|
+
duration = token.motionDurationSlow,
|
|
80448
|
+
marginXS = token.marginXS,
|
|
80449
|
+
marginSM = token.marginSM,
|
|
80450
|
+
fontSize = token.fontSize,
|
|
80451
|
+
fontSizeLG = token.fontSizeLG,
|
|
80452
|
+
lineHeight = token.lineHeight,
|
|
80453
|
+
borderRadius = token.radiusLG,
|
|
80454
|
+
motionEaseInOutCirc = token.motionEaseInOutCirc,
|
|
80455
|
+
alertIconSizeLG = token.alertIconSizeLG,
|
|
80456
|
+
colorText = token.colorText,
|
|
80457
|
+
paddingSM = token.paddingSM,
|
|
80458
|
+
paddingXS = token.paddingXS,
|
|
80459
|
+
paddingTmp = token.paddingTmp,
|
|
80460
|
+
paddingLG = token.paddingLG;
|
|
80461
|
+
return _ref2 = {}, defineProperty_defineProperty(_ref2, componentCls, extends_extends(extends_extends({}, style_resetComponent(token)), (_extends2 = {
|
|
80462
|
+
position: 'relative',
|
|
80463
|
+
display: 'flex',
|
|
80464
|
+
alignItems: 'center',
|
|
80465
|
+
padding: "".concat(paddingXS, "px ").concat(paddingSM, "px"),
|
|
80466
|
+
wordWrap: 'break-word',
|
|
80467
|
+
borderRadius: borderRadius,
|
|
80468
|
+
'&&-rtl': {
|
|
80469
|
+
direction: 'rtl'
|
|
80470
|
+
}
|
|
80471
|
+
}, defineProperty_defineProperty(_extends2, "".concat(componentCls, "-content"), {
|
|
80472
|
+
flex: 1,
|
|
80473
|
+
minWidth: 0
|
|
80474
|
+
}), defineProperty_defineProperty(_extends2, "".concat(componentCls, "-icon"), {
|
|
80475
|
+
marginInlineEnd: marginXS,
|
|
80476
|
+
lineHeight: 0
|
|
80477
|
+
}), defineProperty_defineProperty(_extends2, "&-description", {
|
|
80478
|
+
display: 'none',
|
|
80479
|
+
fontSize: fontSize,
|
|
80480
|
+
lineHeight: lineHeight
|
|
80481
|
+
}), defineProperty_defineProperty(_extends2, '&-message', {
|
|
80482
|
+
color: colorText
|
|
80483
|
+
}), defineProperty_defineProperty(_extends2, '&&-motion-leave', {
|
|
80484
|
+
overflow: 'hidden',
|
|
80485
|
+
opacity: 1,
|
|
80486
|
+
transition: "max-height ".concat(duration, " ").concat(motionEaseInOutCirc, ", opacity ").concat(duration, " ").concat(motionEaseInOutCirc, ",\n padding-top ").concat(duration, " ").concat(motionEaseInOutCirc, ", padding-bottom ").concat(duration, " ").concat(motionEaseInOutCirc, ",\n margin-bottom ").concat(duration, " ").concat(motionEaseInOutCirc)
|
|
80487
|
+
}), defineProperty_defineProperty(_extends2, '&&-motion-leave-active', {
|
|
80488
|
+
maxHeight: 0,
|
|
80489
|
+
marginBottom: '0 !important',
|
|
80490
|
+
paddingTop: 0,
|
|
80491
|
+
paddingBottom: 0,
|
|
80492
|
+
opacity: 0
|
|
80493
|
+
}), _extends2))), defineProperty_defineProperty(_ref2, "".concat(componentCls, "-with-description"), (_$concat = {
|
|
80494
|
+
alignItems: 'flex-start',
|
|
80495
|
+
paddingInline: paddingLG,
|
|
80496
|
+
paddingBlock: paddingTmp
|
|
80497
|
+
}, defineProperty_defineProperty(_$concat, "".concat(componentCls, "-icon"), {
|
|
80498
|
+
marginInlineEnd: marginSM,
|
|
80499
|
+
fontSize: alertIconSizeLG,
|
|
80500
|
+
lineHeight: 0
|
|
80501
|
+
}), defineProperty_defineProperty(_$concat, "".concat(componentCls, "-message"), {
|
|
80502
|
+
display: 'block',
|
|
80503
|
+
marginBottom: marginXS,
|
|
80504
|
+
color: colorText,
|
|
80505
|
+
fontSize: fontSizeLG
|
|
80506
|
+
}), defineProperty_defineProperty(_$concat, "".concat(componentCls, "-description"), {
|
|
80507
|
+
display: 'block'
|
|
80508
|
+
}), _$concat)), defineProperty_defineProperty(_ref2, "".concat(componentCls, "-banner"), {
|
|
80509
|
+
marginBottom: 0,
|
|
80510
|
+
border: '0 !important',
|
|
80511
|
+
borderRadius: 0
|
|
80512
|
+
}), _ref2;
|
|
80513
|
+
};
|
|
80514
|
+
var genTypeStyle = function genTypeStyle(token) {
|
|
80515
|
+
var componentCls = token.componentCls,
|
|
80516
|
+
colorSuccess = token.colorSuccess,
|
|
80517
|
+
colorSuccessBorder = token.colorSuccessBorder,
|
|
80518
|
+
colorSuccessBg = token.colorSuccessBg,
|
|
80519
|
+
colorWarning = token.colorWarning,
|
|
80520
|
+
colorWarningBorder = token.colorWarningBorder,
|
|
80521
|
+
colorWarningBg = token.colorWarningBg,
|
|
80522
|
+
colorError = token.colorError,
|
|
80523
|
+
colorErrorBorder = token.colorErrorBorder,
|
|
80524
|
+
colorErrorBg = token.colorErrorBg,
|
|
80525
|
+
colorInfo = token.colorInfo,
|
|
80526
|
+
colorInfoBorder = token.colorInfoBorder,
|
|
80527
|
+
colorInfoBg = token.colorInfoBg;
|
|
80528
|
+
return defineProperty_defineProperty({}, componentCls, {
|
|
80529
|
+
'&-success': genAlertTypeStyle(colorSuccessBg, colorSuccessBorder, colorSuccess, token, componentCls),
|
|
80530
|
+
'&-info': genAlertTypeStyle(colorInfoBg, colorInfoBorder, colorInfo, token, componentCls),
|
|
80531
|
+
'&-warning': genAlertTypeStyle(colorWarningBg, colorWarningBorder, colorWarning, token, componentCls),
|
|
80532
|
+
'&-error': extends_extends(extends_extends({}, genAlertTypeStyle(colorErrorBg, colorErrorBorder, colorError, token, componentCls)), defineProperty_defineProperty({}, "".concat(componentCls, "-description > pre"), {
|
|
80533
|
+
margin: 0,
|
|
80534
|
+
padding: 0
|
|
80535
|
+
}))
|
|
80536
|
+
});
|
|
80537
|
+
};
|
|
80538
|
+
var genActionStyle = function genActionStyle(token) {
|
|
80539
|
+
var _componentCls;
|
|
80540
|
+
|
|
80541
|
+
var componentCls = token.componentCls,
|
|
80542
|
+
iconCls = token.iconCls,
|
|
80543
|
+
duration = token.motionDurationSlow,
|
|
80544
|
+
marginXS = token.marginXS,
|
|
80545
|
+
fontSizeIcon = token.fontSizeIcon,
|
|
80546
|
+
colorIcon = token.colorIcon,
|
|
80547
|
+
colorIconHover = token.colorIconHover;
|
|
80548
|
+
return defineProperty_defineProperty({}, componentCls, (_componentCls = {}, defineProperty_defineProperty(_componentCls, "&-action", {
|
|
80549
|
+
marginInlineStart: marginXS
|
|
80550
|
+
}), defineProperty_defineProperty(_componentCls, "".concat(componentCls, "-close-icon"), defineProperty_defineProperty({
|
|
80551
|
+
marginInlineStart: marginXS,
|
|
80552
|
+
padding: 0,
|
|
80553
|
+
overflow: 'hidden',
|
|
80554
|
+
fontSize: fontSizeIcon,
|
|
80555
|
+
lineHeight: "".concat(fontSizeIcon, "px"),
|
|
80556
|
+
backgroundColor: 'transparent',
|
|
80557
|
+
border: 'none',
|
|
80558
|
+
outline: 'none',
|
|
80559
|
+
cursor: 'pointer'
|
|
80560
|
+
}, "".concat(iconCls, "-close"), {
|
|
80561
|
+
color: colorIcon,
|
|
80562
|
+
transition: "color ".concat(duration),
|
|
80563
|
+
'&:hover': {
|
|
80564
|
+
color: colorIconHover
|
|
80565
|
+
}
|
|
80566
|
+
})), defineProperty_defineProperty(_componentCls, '&-close-text', {
|
|
80567
|
+
color: colorIcon,
|
|
80568
|
+
transition: "color ".concat(duration),
|
|
80569
|
+
'&:hover': {
|
|
80570
|
+
color: colorIconHover
|
|
80571
|
+
}
|
|
80572
|
+
}), _componentCls));
|
|
80573
|
+
};
|
|
80574
|
+
var genAlertStyle = function genAlertStyle(token) {
|
|
80575
|
+
return [alert_style_genBaseStyle(token), genTypeStyle(token), genActionStyle(token)];
|
|
80576
|
+
};
|
|
80577
|
+
/* harmony default export */ var alert_style = (genComponentStyleHook_genComponentStyleHook('Alert', function (token) {
|
|
80578
|
+
var fontSizeHeading3 = token.fontSizeHeading3;
|
|
80579
|
+
var alertToken = merge(token, {
|
|
80580
|
+
alertIconSizeLG: fontSizeHeading3
|
|
80581
|
+
});
|
|
80582
|
+
return [genAlertStyle(alertToken)];
|
|
80583
|
+
}));
|
|
80272
80584
|
;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/MenuOutlined.js
|
|
80273
80585
|
// This icon file is generated automatically.
|
|
80274
80586
|
var MenuOutlined = {
|
|
@@ -82040,7 +82352,8 @@ function TableAlert(_ref) {
|
|
|
82040
82352
|
var className = getPrefixCls('pro-table-alert');
|
|
82041
82353
|
|
|
82042
82354
|
var _useStyle = Alert_style_useStyle(className),
|
|
82043
|
-
wrapSSR = _useStyle.wrapSSR
|
|
82355
|
+
wrapSSR = _useStyle.wrapSSR,
|
|
82356
|
+
hashId = _useStyle.hashId;
|
|
82044
82357
|
|
|
82045
82358
|
if (alertInfoRender === false) {
|
|
82046
82359
|
return null;
|
|
@@ -82061,12 +82374,12 @@ function TableAlert(_ref) {
|
|
|
82061
82374
|
className: className,
|
|
82062
82375
|
children: (0,jsx_runtime.jsx)(external_antd_.Alert, {
|
|
82063
82376
|
message: (0,jsx_runtime.jsxs)("div", {
|
|
82064
|
-
className: "".concat(className, "-info"),
|
|
82377
|
+
className: "".concat(className, "-info ").concat(hashId),
|
|
82065
82378
|
children: [(0,jsx_runtime.jsx)("div", {
|
|
82066
|
-
className: "".concat(className, "-info-content"),
|
|
82379
|
+
className: "".concat(className, "-info-content ").concat(hashId),
|
|
82067
82380
|
children: dom
|
|
82068
82381
|
}), option ? (0,jsx_runtime.jsx)("div", {
|
|
82069
|
-
className: "".concat(className, "-info-option"),
|
|
82382
|
+
className: "".concat(className, "-info-option ").concat(hashId),
|
|
82070
82383
|
children: option
|
|
82071
82384
|
}) : null]
|
|
82072
82385
|
}),
|
|
@@ -87388,6 +87701,7 @@ FieldEditableTable.RecordCreator = RecordCreator;
|
|
|
87388
87701
|
/* harmony default export */ var components_EditableTable = (FieldEditableTable);
|
|
87389
87702
|
;// CONCATENATED MODULE: ./packages/table/es/index.js
|
|
87390
87703
|
// 兼容代码-----------
|
|
87704
|
+
|
|
87391
87705
|
//----------------------
|
|
87392
87706
|
|
|
87393
87707
|
|
|
@@ -106004,17 +106318,17 @@ function BaseProList(props) {
|
|
|
106004
106318
|
/* harmony default export */ var list_es = ((/* unused pure expression or super */ null && (ProList)));
|
|
106005
106319
|
;// CONCATENATED MODULE: ./packages/components/src/version.ts
|
|
106006
106320
|
var version_version = {
|
|
106007
|
-
"@ant-design/pro-card": "2.0.
|
|
106008
|
-
"@ant-design/pro-components": "2.3.
|
|
106009
|
-
"@ant-design/pro-descriptions": "2.0.
|
|
106010
|
-
"@ant-design/pro-field": "2.0.
|
|
106011
|
-
"@ant-design/pro-form": "2.0.
|
|
106012
|
-
"@ant-design/pro-layout": "7.0.
|
|
106013
|
-
"@ant-design/pro-list": "2.0.
|
|
106014
|
-
"@ant-design/pro-provider": "2.0.
|
|
106015
|
-
"@ant-design/pro-skeleton": "2.0.
|
|
106016
|
-
"@ant-design/pro-table": "3.0.
|
|
106017
|
-
"@ant-design/pro-utils": "2.0.
|
|
106321
|
+
"@ant-design/pro-card": "2.0.2",
|
|
106322
|
+
"@ant-design/pro-components": "2.3.3",
|
|
106323
|
+
"@ant-design/pro-descriptions": "2.0.2",
|
|
106324
|
+
"@ant-design/pro-field": "2.0.2",
|
|
106325
|
+
"@ant-design/pro-form": "2.0.2",
|
|
106326
|
+
"@ant-design/pro-layout": "7.0.2",
|
|
106327
|
+
"@ant-design/pro-list": "2.0.2",
|
|
106328
|
+
"@ant-design/pro-provider": "2.0.2",
|
|
106329
|
+
"@ant-design/pro-skeleton": "2.0.2",
|
|
106330
|
+
"@ant-design/pro-table": "3.0.2",
|
|
106331
|
+
"@ant-design/pro-utils": "2.0.2"
|
|
106018
106332
|
};
|
|
106019
106333
|
;// CONCATENATED MODULE: ./packages/components/src/index.tsx
|
|
106020
106334
|
|