@ant-design/pro-components 2.3.2 → 2.3.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 +43 -14
- package/dist/components.min.js +1 -1
- package/es/version.js +11 -11
- package/package.json +11 -11
package/dist/components.js
CHANGED
|
@@ -9450,6 +9450,26 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
|
9450
9450
|
|
|
9451
9451
|
/***/ }),
|
|
9452
9452
|
|
|
9453
|
+
/***/ 7805:
|
|
9454
|
+
/***/ (function(module) {
|
|
9455
|
+
|
|
9456
|
+
!function (e, t) {
|
|
9457
|
+
true ? module.exports = t() : 0;
|
|
9458
|
+
}(this, function () {
|
|
9459
|
+
"use strict";
|
|
9460
|
+
|
|
9461
|
+
return function (e, t) {
|
|
9462
|
+
t.prototype.weekday = function (e) {
|
|
9463
|
+
var t = this.$locale().weekStart || 0,
|
|
9464
|
+
i = this.$W,
|
|
9465
|
+
n = (i < t ? i + 7 : i) - t;
|
|
9466
|
+
return this.$utils().u(e) ? n : this.subtract(n, "day").add(e, "day");
|
|
9467
|
+
};
|
|
9468
|
+
};
|
|
9469
|
+
});
|
|
9470
|
+
|
|
9471
|
+
/***/ }),
|
|
9472
|
+
|
|
9453
9473
|
/***/ 464:
|
|
9454
9474
|
/***/ (function(module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
9455
9475
|
|
|
@@ -44735,6 +44755,8 @@ var getValueOrLabel = function getValueOrLabel(valueMap, v) {
|
|
|
44735
44755
|
};
|
|
44736
44756
|
|
|
44737
44757
|
var LightSelect = function LightSelect(props, ref) {
|
|
44758
|
+
console.log(props);
|
|
44759
|
+
|
|
44738
44760
|
var label = props.label,
|
|
44739
44761
|
customizePrefixCls = props.prefixCls,
|
|
44740
44762
|
_onChange = props.onChange,
|
|
@@ -44800,7 +44822,8 @@ var LightSelect = function LightSelect(props, ref) {
|
|
|
44800
44822
|
}
|
|
44801
44823
|
})), _$concat2));
|
|
44802
44824
|
}),
|
|
44803
|
-
wrapSSR = _useStyle.wrapSSR
|
|
44825
|
+
wrapSSR = _useStyle.wrapSSR,
|
|
44826
|
+
hashId = _useStyle.hashId;
|
|
44804
44827
|
|
|
44805
44828
|
var valueMap = (0,external_React_.useMemo)(function () {
|
|
44806
44829
|
var values = {};
|
|
@@ -44815,7 +44838,7 @@ var LightSelect = function LightSelect(props, ref) {
|
|
|
44815
44838
|
return getValueOrLabel(valueMap, v);
|
|
44816
44839
|
}) : getValueOrLabel(valueMap, value);
|
|
44817
44840
|
return wrapSSR((0,jsx_runtime.jsxs)("div", {
|
|
44818
|
-
className: classnames_default()(prefixCls, defineProperty_defineProperty({}, "".concat(prefixCls, "-searchable"), showSearch), className),
|
|
44841
|
+
className: classnames_default()(prefixCls, hashId, defineProperty_defineProperty({}, "".concat(prefixCls, "-searchable"), showSearch), className),
|
|
44819
44842
|
style: style,
|
|
44820
44843
|
onClick: function onClick(e) {
|
|
44821
44844
|
var _lightLabel$current, _lightLabel$current$l, _lightLabel$current$l2;
|
|
@@ -53965,7 +53988,7 @@ var FieldRadio = function FieldRadio(_ref, ref) {
|
|
|
53965
53988
|
});
|
|
53966
53989
|
}); // css
|
|
53967
53990
|
|
|
53968
|
-
var _useStyle = useStyle('
|
|
53991
|
+
var _useStyle = useStyle('FieldRadioRadio', function (token) {
|
|
53969
53992
|
return defineProperty_defineProperty({}, ".".concat(layoutClassName, "-horizontal"), defineProperty_defineProperty({}, "".concat(token.antCls, "-radio-wrapper"), {
|
|
53970
53993
|
display: 'block',
|
|
53971
53994
|
marginInlineEnd: 0
|
|
@@ -56044,6 +56067,9 @@ function FieldHOC(props) {
|
|
|
56044
56067
|
}
|
|
56045
56068
|
|
|
56046
56069
|
/* harmony default export */ var es_FieldHOC = (FieldHOC);
|
|
56070
|
+
// EXTERNAL MODULE: ./node_modules/dayjs/plugin/weekday.js
|
|
56071
|
+
var weekday = __webpack_require__(7805);
|
|
56072
|
+
var weekday_default = /*#__PURE__*/__webpack_require__.n(weekday);
|
|
56047
56073
|
;// CONCATENATED MODULE: ./packages/field/es/index.js
|
|
56048
56074
|
|
|
56049
56075
|
|
|
@@ -56084,6 +56110,9 @@ var es_excluded = ["text", "valueType", "mode", "onChange", "renderFormItem", "v
|
|
|
56084
56110
|
|
|
56085
56111
|
|
|
56086
56112
|
|
|
56113
|
+
|
|
56114
|
+
|
|
56115
|
+
dayjs_min_default().extend((weekday_default()));
|
|
56087
56116
|
var REQUEST_VALUE_TYPE = ['select', 'radio', 'radioButton', 'checkbook'];
|
|
56088
56117
|
/**
|
|
56089
56118
|
* Render valueType object
|
|
@@ -106017,17 +106046,17 @@ function BaseProList(props) {
|
|
|
106017
106046
|
/* harmony default export */ var list_es = ((/* unused pure expression or super */ null && (ProList)));
|
|
106018
106047
|
;// CONCATENATED MODULE: ./packages/components/src/version.ts
|
|
106019
106048
|
var version_version = {
|
|
106020
|
-
"@ant-design/pro-card": "2.0.
|
|
106021
|
-
"@ant-design/pro-components": "2.3.
|
|
106022
|
-
"@ant-design/pro-descriptions": "2.0.
|
|
106023
|
-
"@ant-design/pro-field": "2.0.
|
|
106024
|
-
"@ant-design/pro-form": "2.0.
|
|
106025
|
-
"@ant-design/pro-layout": "7.0.
|
|
106026
|
-
"@ant-design/pro-list": "2.0.
|
|
106027
|
-
"@ant-design/pro-provider": "2.0.
|
|
106028
|
-
"@ant-design/pro-skeleton": "2.0.
|
|
106029
|
-
"@ant-design/pro-table": "3.0.
|
|
106030
|
-
"@ant-design/pro-utils": "2.0.
|
|
106049
|
+
"@ant-design/pro-card": "2.0.1",
|
|
106050
|
+
"@ant-design/pro-components": "2.3.2",
|
|
106051
|
+
"@ant-design/pro-descriptions": "2.0.1",
|
|
106052
|
+
"@ant-design/pro-field": "2.0.1",
|
|
106053
|
+
"@ant-design/pro-form": "2.0.1",
|
|
106054
|
+
"@ant-design/pro-layout": "7.0.1",
|
|
106055
|
+
"@ant-design/pro-list": "2.0.1",
|
|
106056
|
+
"@ant-design/pro-provider": "2.0.1",
|
|
106057
|
+
"@ant-design/pro-skeleton": "2.0.1",
|
|
106058
|
+
"@ant-design/pro-table": "3.0.1",
|
|
106059
|
+
"@ant-design/pro-utils": "2.0.1"
|
|
106031
106060
|
};
|
|
106032
106061
|
;// CONCATENATED MODULE: ./packages/components/src/index.tsx
|
|
106033
106062
|
|