xshell 1.3.19 → 1.3.21
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/antd.development.js +45 -30
- package/antd.development.js.map +1 -1
- package/antd.production.js +157 -142
- package/antd.production.js.map +1 -1
- package/package.json +4 -4
- package/path.d.ts +2 -2
package/antd.development.js
CHANGED
|
@@ -19526,8 +19526,17 @@ class FormStore {
|
|
|
19526
19526
|
|
|
19527
19527
|
// We need fill the list as [] if Form.List is empty
|
|
19528
19528
|
listNamePaths.forEach(namePath => {
|
|
19529
|
-
|
|
19530
|
-
|
|
19529
|
+
const listValue = (0,_utils_valueUtil__WEBPACK_IMPORTED_MODULE_8__.getValue)(mergedValues, namePath);
|
|
19530
|
+
|
|
19531
|
+
// NOTE: `getFieldsValue(['list'])` may not include list root when Form.List isn't wrapped by a parent Field.
|
|
19532
|
+
// In this case we should fallback to store value first, and only fill `[]` when store doesn't have it.
|
|
19533
|
+
if (listValue === undefined) {
|
|
19534
|
+
const storeListValue = (0,_utils_valueUtil__WEBPACK_IMPORTED_MODULE_8__.getValue)(this.store, namePath);
|
|
19535
|
+
mergedValues = (0,_utils_valueUtil__WEBPACK_IMPORTED_MODULE_8__.setValue)(
|
|
19536
|
+
mergedValues,
|
|
19537
|
+
namePath,
|
|
19538
|
+
storeListValue === undefined ? [] : storeListValue,
|
|
19539
|
+
);
|
|
19531
19540
|
}
|
|
19532
19541
|
});
|
|
19533
19542
|
return mergedValues;
|
|
@@ -19919,10 +19928,10 @@ class FormStore {
|
|
|
19919
19928
|
const changedValues = (0,_utils_valueUtil__WEBPACK_IMPORTED_MODULE_8__.cloneByNamePathList)(this.store, [namePath]);
|
|
19920
19929
|
const allValues = this.getFieldsValue();
|
|
19921
19930
|
// Merge changedValues into allValues to ensure allValues contains the latest changes
|
|
19922
|
-
|
|
19923
|
-
|
|
19924
|
-
|
|
19925
|
-
}
|
|
19931
|
+
let mergedAllValues = allValues;
|
|
19932
|
+
if (fieldEntity?.isList()) {
|
|
19933
|
+
mergedAllValues = (0,_rc_component_util__WEBPACK_IMPORTED_MODULE_1__.mergeWith)([allValues, changedValues]);
|
|
19934
|
+
}
|
|
19926
19935
|
onValuesChange(changedValues, mergedAllValues);
|
|
19927
19936
|
}
|
|
19928
19937
|
this.triggerOnFieldsChange([namePath, ...childrenFields]);
|
|
@@ -85192,8 +85201,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
85192
85201
|
/* harmony import */ var _locale__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../locale */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/locale/index.js");
|
|
85193
85202
|
/* harmony import */ var _locale_context__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../locale/context */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/locale/context.js");
|
|
85194
85203
|
/* harmony import */ var _locale_en_US__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../locale/en_US */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/locale/en_US.js");
|
|
85195
|
-
/* harmony import */ var _theme_context__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../theme/context */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/theme/
|
|
85196
|
-
/* harmony import */ var _theme_context__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../theme/context */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/theme/
|
|
85204
|
+
/* harmony import */ var _theme_context__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../theme/context */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/theme/context.js");
|
|
85205
|
+
/* harmony import */ var _theme_context__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../theme/context */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/theme/themes/default/theme.js");
|
|
85197
85206
|
/* harmony import */ var _theme_themes_seed__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../theme/themes/seed */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/theme/themes/seed.js");
|
|
85198
85207
|
/* harmony import */ var _tooltip_UniqueProvider__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../tooltip/UniqueProvider */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/tooltip/UniqueProvider/index.js");
|
|
85199
85208
|
/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./context */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/config-provider/context.js");
|
|
@@ -85564,7 +85573,7 @@ const ProviderChildren = props => {
|
|
|
85564
85573
|
cssVar,
|
|
85565
85574
|
...rest
|
|
85566
85575
|
} = mergedTheme || {};
|
|
85567
|
-
const themeObj = algorithm && (!Array.isArray(algorithm) || algorithm.length > 0) ? (0,_ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_1__.createTheme)(algorithm) :
|
|
85576
|
+
const themeObj = algorithm && (!Array.isArray(algorithm) || algorithm.length > 0) ? (0,_ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_1__.createTheme)(algorithm) : _theme_context__WEBPACK_IMPORTED_MODULE_11__["default"];
|
|
85568
85577
|
const parsedComponents = {};
|
|
85569
85578
|
Object.entries(components || {}).forEach(([componentName, componentToken]) => {
|
|
85570
85579
|
const parsedToken = {
|
|
@@ -85597,7 +85606,7 @@ const ProviderChildren = props => {
|
|
|
85597
85606
|
};
|
|
85598
85607
|
}, [mergedTheme]);
|
|
85599
85608
|
if (theme) {
|
|
85600
|
-
childNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(
|
|
85609
|
+
childNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_theme_context__WEBPACK_IMPORTED_MODULE_10__.DesignTokenContext.Provider, {
|
|
85601
85610
|
value: memoTheme
|
|
85602
85611
|
}, childNode);
|
|
85603
85612
|
}
|
|
@@ -103986,8 +103995,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
103986
103995
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
103987
103996
|
/* harmony import */ var _rc_component_util_es_React_render__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @rc-component/util/es/React/render */ "./node_modules/.pnpm/@rc-component+util@1.6.0_re_b0382fac9221426de8b9538126082336/node_modules/@rc-component/util/es/React/render.js");
|
|
103988
103997
|
/* harmony import */ var _app_context__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../app/context */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/app/context.js");
|
|
103989
|
-
/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config-provider */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/config-provider/
|
|
103990
|
-
/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../config-provider */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/config-provider/
|
|
103998
|
+
/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config-provider */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/config-provider/index.js");
|
|
103999
|
+
/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../config-provider */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/config-provider/context.js");
|
|
103991
104000
|
/* harmony import */ var _PurePanel__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./PurePanel */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/message/PurePanel.js");
|
|
103992
104001
|
/* harmony import */ var _useMessage__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./useMessage */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/message/useMessage.js");
|
|
103993
104002
|
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./util */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/message/util.js");
|
|
@@ -104029,7 +104038,7 @@ const GlobalHolder = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().f
|
|
|
104029
104038
|
} = props;
|
|
104030
104039
|
const {
|
|
104031
104040
|
getPrefixCls
|
|
104032
|
-
} = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(
|
|
104041
|
+
} = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(_config_provider__WEBPACK_IMPORTED_MODULE_5__.ConfigContext);
|
|
104033
104042
|
const prefixCls = defaultGlobalConfig.prefixCls || getPrefixCls('message');
|
|
104034
104043
|
const appConfig = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(_app_context__WEBPACK_IMPORTED_MODULE_3__.AppConfigContext);
|
|
104035
104044
|
const [api, holder] = (0,_useMessage__WEBPACK_IMPORTED_MODULE_7__.useInternalMessage)({
|
|
@@ -104060,7 +104069,7 @@ const GlobalHolderWrapper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___defa
|
|
|
104060
104069
|
setMessageConfig(getGlobalContext);
|
|
104061
104070
|
};
|
|
104062
104071
|
react__WEBPACK_IMPORTED_MODULE_1___default().useEffect(sync, []);
|
|
104063
|
-
const global = (0,
|
|
104072
|
+
const global = (0,_config_provider__WEBPACK_IMPORTED_MODULE_4__.globalConfig)();
|
|
104064
104073
|
const rootPrefixCls = global.getRootPrefixCls();
|
|
104065
104074
|
const rootIconPrefixCls = global.getIconPrefixCls();
|
|
104066
104075
|
const theme = global.getTheme();
|
|
@@ -104069,7 +104078,7 @@ const GlobalHolderWrapper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___defa
|
|
|
104069
104078
|
sync: sync,
|
|
104070
104079
|
messageConfig: messageConfig
|
|
104071
104080
|
});
|
|
104072
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
|
104081
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_config_provider__WEBPACK_IMPORTED_MODULE_4__["default"], {
|
|
104073
104082
|
prefixCls: rootPrefixCls,
|
|
104074
104083
|
iconPrefixCls: rootIconPrefixCls,
|
|
104075
104084
|
theme: theme
|
|
@@ -104189,9 +104198,9 @@ function open(config) {
|
|
|
104189
104198
|
return result;
|
|
104190
104199
|
}
|
|
104191
104200
|
function typeOpen(type, args) {
|
|
104192
|
-
const global = (0,
|
|
104201
|
+
const global = (0,_config_provider__WEBPACK_IMPORTED_MODULE_4__.globalConfig)();
|
|
104193
104202
|
if ( true && !global.holderRender) {
|
|
104194
|
-
(0,
|
|
104203
|
+
(0,_config_provider__WEBPACK_IMPORTED_MODULE_4__.warnContext)('message');
|
|
104195
104204
|
}
|
|
104196
104205
|
const result = (0,_util__WEBPACK_IMPORTED_MODULE_8__.wrapPromiseFn)(resolve => {
|
|
104197
104206
|
let closeFn;
|
|
@@ -105551,8 +105560,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
105551
105560
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
105552
105561
|
/* harmony import */ var _rc_component_util_es_React_render__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @rc-component/util/es/React/render */ "./node_modules/.pnpm/@rc-component+util@1.6.0_re_b0382fac9221426de8b9538126082336/node_modules/@rc-component/util/es/React/render.js");
|
|
105553
105562
|
/* harmony import */ var _util_warning__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_util/warning */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/_util/warning.js");
|
|
105554
|
-
/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/config-provider/
|
|
105555
|
-
/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config-provider */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/config-provider/
|
|
105563
|
+
/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/config-provider/index.js");
|
|
105564
|
+
/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config-provider */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/config-provider/context.js");
|
|
105556
105565
|
/* harmony import */ var _ConfirmDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ConfirmDialog */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/modal/ConfirmDialog.js");
|
|
105557
105566
|
/* harmony import */ var _destroyFns__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./destroyFns */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/modal/destroyFns.js");
|
|
105558
105567
|
/* harmony import */ var _locale__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./locale */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/modal/locale.js");
|
|
@@ -105576,7 +105585,7 @@ const ConfirmDialogWrapper = props => {
|
|
|
105576
105585
|
direction
|
|
105577
105586
|
} = props;
|
|
105578
105587
|
const runtimeLocale = (0,_locale__WEBPACK_IMPORTED_MODULE_7__.getConfirmLocale)();
|
|
105579
|
-
const config = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(
|
|
105588
|
+
const config = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_config_provider__WEBPACK_IMPORTED_MODULE_4__.ConfigContext);
|
|
105580
105589
|
const rootPrefixCls = getRootPrefixCls() || config.getPrefixCls();
|
|
105581
105590
|
// because Modal.config set rootPrefixCls, which is different from other components
|
|
105582
105591
|
const prefixCls = customizePrefixCls || `${rootPrefixCls}-modal`;
|
|
@@ -105599,9 +105608,9 @@ const ConfirmDialogWrapper = props => {
|
|
|
105599
105608
|
});
|
|
105600
105609
|
};
|
|
105601
105610
|
function confirm(config) {
|
|
105602
|
-
const global = (0,
|
|
105611
|
+
const global = (0,_config_provider__WEBPACK_IMPORTED_MODULE_3__.globalConfig)();
|
|
105603
105612
|
if ( true && !global.holderRender) {
|
|
105604
|
-
(0,
|
|
105613
|
+
(0,_config_provider__WEBPACK_IMPORTED_MODULE_3__.warnContext)('Modal');
|
|
105605
105614
|
}
|
|
105606
105615
|
const container = document.createDocumentFragment();
|
|
105607
105616
|
let currentConfig = {
|
|
@@ -105640,7 +105649,7 @@ function confirm(config) {
|
|
|
105640
105649
|
const dom = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(ConfirmDialogWrapper, {
|
|
105641
105650
|
...props
|
|
105642
105651
|
});
|
|
105643
|
-
(0,_rc_component_util_es_React_render__WEBPACK_IMPORTED_MODULE_1__.render)(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(
|
|
105652
|
+
(0,_rc_component_util_es_React_render__WEBPACK_IMPORTED_MODULE_1__.render)(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_config_provider__WEBPACK_IMPORTED_MODULE_3__["default"], {
|
|
105644
105653
|
prefixCls: rootPrefixCls,
|
|
105645
105654
|
iconPrefixCls: iconPrefixCls,
|
|
105646
105655
|
theme: theme
|
|
@@ -106822,8 +106831,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
106822
106831
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
106823
106832
|
/* harmony import */ var _rc_component_util_es_React_render__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @rc-component/util/es/React/render */ "./node_modules/.pnpm/@rc-component+util@1.6.0_re_b0382fac9221426de8b9538126082336/node_modules/@rc-component/util/es/React/render.js");
|
|
106824
106833
|
/* harmony import */ var _app_context__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../app/context */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/app/context.js");
|
|
106825
|
-
/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/config-provider/
|
|
106826
|
-
/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config-provider */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/config-provider/
|
|
106834
|
+
/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/config-provider/index.js");
|
|
106835
|
+
/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config-provider */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/config-provider/context.js");
|
|
106827
106836
|
/* harmony import */ var _PurePanel__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./PurePanel */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/notification/PurePanel.js");
|
|
106828
106837
|
/* harmony import */ var _useNotification__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./useNotification */ "./node_modules/.pnpm/antd@6.1.1_moment@2.30.1_re_7763836c7b901d0fc3901b5c061a88e6/node_modules/antd/es/notification/useNotification.js");
|
|
106829
106838
|
"use client";
|
|
@@ -106866,7 +106875,7 @@ const GlobalHolder = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().f
|
|
|
106866
106875
|
} = props;
|
|
106867
106876
|
const {
|
|
106868
106877
|
getPrefixCls
|
|
106869
|
-
} = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(
|
|
106878
|
+
} = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_config_provider__WEBPACK_IMPORTED_MODULE_4__.ConfigContext);
|
|
106870
106879
|
const prefixCls = defaultGlobalConfig.prefixCls || getPrefixCls('notification');
|
|
106871
106880
|
const appConfig = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_app_context__WEBPACK_IMPORTED_MODULE_2__.AppConfigContext);
|
|
106872
106881
|
const [api, holder] = (0,_useNotification__WEBPACK_IMPORTED_MODULE_6__.useInternalNotification)({
|
|
@@ -106898,7 +106907,7 @@ const GlobalHolderWrapper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___defa
|
|
|
106898
106907
|
setNotificationConfig(getGlobalContext);
|
|
106899
106908
|
};
|
|
106900
106909
|
react__WEBPACK_IMPORTED_MODULE_0___default().useEffect(sync, []);
|
|
106901
|
-
const global = (0,
|
|
106910
|
+
const global = (0,_config_provider__WEBPACK_IMPORTED_MODULE_3__.globalConfig)();
|
|
106902
106911
|
const rootPrefixCls = global.getRootPrefixCls();
|
|
106903
106912
|
const rootIconPrefixCls = global.getIconPrefixCls();
|
|
106904
106913
|
const theme = global.getTheme();
|
|
@@ -106907,7 +106916,7 @@ const GlobalHolderWrapper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___defa
|
|
|
106907
106916
|
sync: sync,
|
|
106908
106917
|
notificationConfig: notificationConfig
|
|
106909
106918
|
});
|
|
106910
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(
|
|
106919
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_config_provider__WEBPACK_IMPORTED_MODULE_3__["default"], {
|
|
106911
106920
|
prefixCls: rootPrefixCls,
|
|
106912
106921
|
iconPrefixCls: rootIconPrefixCls,
|
|
106913
106922
|
theme: theme
|
|
@@ -106981,9 +106990,9 @@ function setNotificationGlobalConfig(config) {
|
|
|
106981
106990
|
});
|
|
106982
106991
|
}
|
|
106983
106992
|
function open(config) {
|
|
106984
|
-
const global = (0,
|
|
106993
|
+
const global = (0,_config_provider__WEBPACK_IMPORTED_MODULE_3__.globalConfig)();
|
|
106985
106994
|
if ( true && !global.holderRender) {
|
|
106986
|
-
(0,
|
|
106995
|
+
(0,_config_provider__WEBPACK_IMPORTED_MODULE_3__.warnContext)('notification');
|
|
106987
106996
|
}
|
|
106988
106997
|
taskQueue.push({
|
|
106989
106998
|
type: 'open',
|
|
@@ -142432,6 +142441,12 @@ module.exports = globalThis["ReactDOMClient"];
|
|
|
142432
142441
|
/******/ if (cachedModule !== undefined) {
|
|
142433
142442
|
/******/ return cachedModule.exports;
|
|
142434
142443
|
/******/ }
|
|
142444
|
+
/******/ // Check if module exists (development only)
|
|
142445
|
+
/******/ if (__webpack_modules__[moduleId] === undefined) {
|
|
142446
|
+
/******/ var e = new Error("Cannot find module '" + moduleId + "'");
|
|
142447
|
+
/******/ e.code = 'MODULE_NOT_FOUND';
|
|
142448
|
+
/******/ throw e;
|
|
142449
|
+
/******/ }
|
|
142435
142450
|
/******/ // Create a new module (and put it into the cache)
|
|
142436
142451
|
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
142437
142452
|
/******/ id: moduleId,
|