@rc-component/dialog 1.0.0 → 1.1.0
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/10509781610555453368.hot-update-url-map.json +1 -0
- package/dist/10509781610555453368.hot-update.json +1 -0
- package/dist/11977476592833392720.hot-update-url-map.json +1 -0
- package/dist/11977476592833392720.hot-update.json +1 -0
- package/dist/14397576132152343869.hot-update-url-map.json +1 -0
- package/dist/14397576132152343869.hot-update.json +1 -0
- package/dist/14597408625395534096.hot-update-url-map.json +1 -0
- package/dist/14597408625395534096.hot-update.json +1 -0
- package/dist/15104553912779929595.hot-update-url-map.json +1 -0
- package/dist/15104553912779929595.hot-update.json +1 -0
- package/dist/4361192314875393955.hot-update-url-map.json +1 -0
- package/dist/4361192314875393955.hot-update.json +1 -0
- package/dist/4704580574928883170.hot-update-url-map.json +1 -0
- package/dist/4704580574928883170.hot-update.json +1 -0
- package/dist/5496443382647786649.hot-update-url-map.json +1 -0
- package/dist/5496443382647786649.hot-update.json +1 -0
- package/dist/7338948553039754745.hot-update-url-map.json +1 -0
- package/dist/7338948553039754745.hot-update.json +1 -0
- package/dist/7441995189917427860.hot-update-url-map.json +1 -0
- package/dist/7441995189917427860.hot-update.json +1 -0
- package/dist/8425845753817463333.hot-update-url-map.json +1 -0
- package/dist/8425845753817463333.hot-update.json +1 -0
- package/dist/8742625841545363477.hot-update-url-map.json +1 -0
- package/dist/8742625841545363477.hot-update.json +1 -0
- package/dist/960384830459946830.hot-update-url-map.json +1 -0
- package/dist/960384830459946830.hot-update.json +1 -0
- package/dist/9707589364653732454.hot-update-url-map.json +1 -0
- package/dist/9707589364653732454.hot-update.json +1 -0
- package/dist/common-async.10509781610555453368.hot-update.js +268 -0
- package/dist/common-async.10509781610555453368.hot-update.js.map +1 -0
- package/dist/common-async.11977476592833392720.hot-update.js +395 -0
- package/dist/common-async.11977476592833392720.hot-update.js.map +1 -0
- package/dist/common-async.14397576132152343869.hot-update.js +395 -0
- package/dist/common-async.14397576132152343869.hot-update.js.map +1 -0
- package/dist/common-async.14597408625395534096.hot-update.js +268 -0
- package/dist/common-async.14597408625395534096.hot-update.js.map +1 -0
- package/dist/common-async.15104553912779929595.hot-update.js +268 -0
- package/dist/common-async.15104553912779929595.hot-update.js.map +1 -0
- package/dist/common-async.4361192314875393955.hot-update.js +268 -0
- package/dist/common-async.4361192314875393955.hot-update.js.map +1 -0
- package/dist/common-async.4704580574928883170.hot-update.js +268 -0
- package/dist/common-async.4704580574928883170.hot-update.js.map +1 -0
- package/dist/common-async.5496443382647786649.hot-update.js +391 -0
- package/dist/common-async.5496443382647786649.hot-update.js.map +1 -0
- package/dist/common-async.7338948553039754745.hot-update.js +395 -0
- package/dist/common-async.7338948553039754745.hot-update.js.map +1 -0
- package/dist/common-async.7441995189917427860.hot-update.js +394 -0
- package/dist/common-async.7441995189917427860.hot-update.js.map +1 -0
- package/dist/common-async.8425845753817463333.hot-update.js +268 -0
- package/dist/common-async.8425845753817463333.hot-update.js.map +1 -0
- package/dist/common-async.8742625841545363477.hot-update.js +268 -0
- package/dist/common-async.8742625841545363477.hot-update.js.map +1 -0
- package/dist/common-async.960384830459946830.hot-update.js +268 -0
- package/dist/common-async.960384830459946830.hot-update.js.map +1 -0
- package/dist/common-async.9707589364653732454.hot-update.js +268 -0
- package/dist/common-async.9707589364653732454.hot-update.js.map +1 -0
- package/dist/common-async.js +1180 -0
- package/dist/common-async.js.map +1 -0
- package/dist/demos-async.7338948553039754745.hot-update.js +395 -0
- package/dist/demos-async.7338948553039754745.hot-update.js.map +1 -0
- package/dist/demos-async.css +396 -0
- package/dist/demos-async.css.map +1 -0
- package/dist/demos-async.js +1242 -0
- package/dist/demos-async.js.map +1 -0
- package/dist/docs_changelog_md-async.js +2159 -0
- package/dist/docs_changelog_md-async.js.map +1 -0
- package/dist/docs_demo_ant-design_md-async.js +119 -0
- package/dist/docs_demo_ant-design_md-async.js.map +1 -0
- package/dist/docs_demo_bootstrap_md-async.js +119 -0
- package/dist/docs_demo_bootstrap_md-async.js.map +1 -0
- package/dist/docs_demo_draggable_md-async.js +119 -0
- package/dist/docs_demo_draggable_md-async.js.map +1 -0
- package/dist/docs_demo_multiple-Portal_md-async.js +119 -0
- package/dist/docs_demo_multiple-Portal_md-async.js.map +1 -0
- package/dist/docs_demo_pure_md-async.js +119 -0
- package/dist/docs_demo_pure_md-async.js.map +1 -0
- package/dist/docs_index_md-async.js +1717 -0
- package/dist/docs_index_md-async.js.map +1 -0
- package/dist/dumi__tmp__dumi__theme__ContextWrapper-async.js +201 -0
- package/dist/dumi__tmp__dumi__theme__ContextWrapper-async.js.map +1 -0
- package/dist/meta__docs-async.7338948553039754745.hot-update.js +395 -0
- package/dist/meta__docs-async.7338948553039754745.hot-update.js.map +1 -0
- package/dist/meta__docs-async.css +396 -0
- package/dist/meta__docs-async.css.map +1 -0
- package/dist/meta__docs-async.js +2391 -0
- package/dist/meta__docs-async.js.map +1 -0
- package/dist/nm__dumi__dist__client__pages__404-async.js +69 -0
- package/dist/nm__dumi__dist__client__pages__404-async.js.map +1 -0
- package/dist/nm__dumi__dist__client__pages__Demo__index-async.js +63 -0
- package/dist/nm__dumi__dist__client__pages__Demo__index-async.js.map +1 -0
- package/dist/node_modules__dumi_2_4_17_dumi_dist_client_misc_reactDemoCompiler_js-async.js +368 -0
- package/dist/node_modules__dumi_2_4_17_dumi_dist_client_misc_reactDemoCompiler_js-async.js.map +1 -0
- package/dist/node_modules__dumi_2_4_17_dumi_theme-default_layouts_DocLayout_index_js-async.js +1077 -0
- package/dist/node_modules__dumi_2_4_17_dumi_theme-default_layouts_DocLayout_index_js-async.js.map +1 -0
- package/dist/node_modules__react-dom_18_3_1_react-dom_server_browser_js-async.js +18 -0
- package/dist/node_modules__react-dom_18_3_1_react-dom_server_browser_js-async.js.map +1 -0
- package/dist/umi.css +1302 -0
- package/dist/umi.css.map +1 -0
- package/dist/umi.js +80442 -0
- package/dist/umi.js.map +1 -0
- package/dist/vendors-async.css +22545 -0
- package/dist/vendors-async.css.map +1 -0
- package/dist/vendors-async.js +53289 -0
- package/dist/vendors-async.js.map +1 -0
- package/es/Dialog/Content/MemoChildren.js +5 -7
- package/es/Dialog/Content/Panel.d.ts +2 -2
- package/es/Dialog/Content/Panel.js +89 -78
- package/es/Dialog/Content/index.d.ts +4 -1
- package/es/Dialog/Content/index.js +45 -37
- package/es/Dialog/Mask.js +23 -20
- package/es/Dialog/index.js +97 -93
- package/es/DialogWrap.js +17 -22
- package/es/IDialogPropTypes.d.ts +2 -1
- package/es/context.js +1 -1
- package/es/util.js +9 -9
- package/lib/Dialog/Content/MemoChildren.js +7 -10
- package/lib/Dialog/Content/Panel.d.ts +2 -2
- package/lib/Dialog/Content/Panel.js +93 -83
- package/lib/Dialog/Content/index.d.ts +4 -1
- package/lib/Dialog/Content/index.js +49 -42
- package/lib/Dialog/Mask.js +27 -25
- package/lib/Dialog/index.js +103 -100
- package/lib/DialogWrap.js +21 -27
- package/lib/IDialogPropTypes.d.ts +2 -1
- package/lib/context.js +3 -4
- package/lib/index.js +2 -2
- package/lib/util.js +9 -9
- package/package.json +11 -16
|
@@ -0,0 +1,2391 @@
|
|
|
1
|
+
((typeof globalThis !== 'undefined' ? globalThis : self)["makoChunk_@rc-component/dialog"] = (typeof globalThis !== 'undefined' ? globalThis : self)["makoChunk_@rc-component/dialog"] || []).push([
|
|
2
|
+
['meta__docs'],
|
|
3
|
+
{ "assets/bootstrap.less?asmodule": function (module, exports, __mako_require__){
|
|
4
|
+
"use strict";
|
|
5
|
+
__mako_require__.d(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
__mako_require__.d(exports, "default", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function() {
|
|
11
|
+
return _default;
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
"";
|
|
15
|
+
var _default = {
|
|
16
|
+
"rc-dialog-footer": `rc-dialog-footer-Ij5nLk7n`,
|
|
17
|
+
"btn-group": `btn-group-lhTtdbkE`,
|
|
18
|
+
"btn-block": `btn-block-_b4payKF`,
|
|
19
|
+
"rc-dialog-fade-enter-active": `rc-dialog-fade-enter-active-PyQTED2R`,
|
|
20
|
+
"rcDialogSlideFadeIn": `rcDialogSlideFadeIn-4lg_9oxA`,
|
|
21
|
+
"btn": `btn-BW1TQvOA`,
|
|
22
|
+
"rc-dialog-slide-fade-leave-active": `rc-dialog-slide-fade-leave-active-bXuJvxYQ`,
|
|
23
|
+
"rcDialogFadeOut": `rcDialogFadeOut-O2CciMry`,
|
|
24
|
+
"rc-dialog-mask-hidden": `rc-dialog-mask-hidden-KLrGIDRO`,
|
|
25
|
+
"rcDialogFadeIn": `rcDialogFadeIn-DdxdDC_H`,
|
|
26
|
+
"rc-dialog-slide-fade-appear-active": `rc-dialog-slide-fade-appear-active-kkhH3CYo`,
|
|
27
|
+
"rc-dialog": `rc-dialog-xD_JwVZb`,
|
|
28
|
+
"rc-dialog-fade-leave-active": `rc-dialog-fade-leave-active-wlJzTIzC`,
|
|
29
|
+
"rc-dialog-slide-fade-enter": `rc-dialog-slide-fade-enter-r_15AXKS`,
|
|
30
|
+
"rcDialogSlideFadeOut": `rcDialogSlideFadeOut-k2D9YUjG`,
|
|
31
|
+
"rc-dialog-header": `rc-dialog-header-zh4gcC6c`,
|
|
32
|
+
"rc-dialog-fade-leave": `rc-dialog-fade-leave-b2TVAZ3s`,
|
|
33
|
+
"rc-dialog-fade-enter": `rc-dialog-fade-enter-a-gZsm73`,
|
|
34
|
+
"rc-dialog-mask": `rc-dialog-mask-bD4P-Z0h`,
|
|
35
|
+
"rc-dialog-close": `rc-dialog-close-EOweqtyx`,
|
|
36
|
+
"rc-dialog-fade-appear-active": `rc-dialog-fade-appear-active-UABL8AdR`,
|
|
37
|
+
"rc-dialog-slide-fade-appear": `rc-dialog-slide-fade-appear-4tK3vROB`,
|
|
38
|
+
"rc-dialog-close-x": `rc-dialog-close-x-6kQX8jSl`,
|
|
39
|
+
"rc-dialog-body": `rc-dialog-body-4XpdPXW4`,
|
|
40
|
+
"rc-dialog-section": `rc-dialog-section-89lAKOoJ`,
|
|
41
|
+
"rc-dialog-slide-fade-leave": `rc-dialog-slide-fade-leave-UJbeqi6K`,
|
|
42
|
+
"rc-dialog-wrap": `rc-dialog-wrap-XaMOrmLh`,
|
|
43
|
+
"rc-dialog-fade-appear": `rc-dialog-fade-appear--j1muc2F`,
|
|
44
|
+
"rc-dialog-slide-fade-enter-active": `rc-dialog-slide-fade-enter-active-Bfj6xGTV`,
|
|
45
|
+
"rc-dialog-title": `rc-dialog-title-56B7hstR`
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
},
|
|
49
|
+
"assets/bootstrap.less?dumi-raw": function (module, exports, __mako_require__){
|
|
50
|
+
"use strict";
|
|
51
|
+
__mako_require__.d(exports, "__esModule", {
|
|
52
|
+
value: true
|
|
53
|
+
});
|
|
54
|
+
__mako_require__.d(exports, "default", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function() {
|
|
57
|
+
return _default;
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
61
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_react-refresh@0.14.2@react-refresh/runtime.js"));
|
|
62
|
+
__mako_require__("assets/bootstrap.less?watch=parent");
|
|
63
|
+
var prevRefreshReg;
|
|
64
|
+
var prevRefreshSig;
|
|
65
|
+
prevRefreshReg = self.$RefreshReg$;
|
|
66
|
+
prevRefreshSig = self.$RefreshSig$;
|
|
67
|
+
self.$RefreshReg$ = (type, id)=>{
|
|
68
|
+
_reactrefresh.register(type, module.id + id);
|
|
69
|
+
};
|
|
70
|
+
self.$RefreshSig$ = _reactrefresh.createSignatureFunctionForTransform;
|
|
71
|
+
var _default = "@prefixCls: rc-dialog;\n@import \"./bootstrap/Dialog.less\";\n@import \"./index/Mask.less\";\n";
|
|
72
|
+
if (prevRefreshReg) self.$RefreshReg$ = prevRefreshReg;
|
|
73
|
+
if (prevRefreshSig) self.$RefreshSig$ = prevRefreshSig;
|
|
74
|
+
function registerClassComponent(filename, moduleExports) {
|
|
75
|
+
for(const key in moduleExports)try {
|
|
76
|
+
if (key === "__esModule") continue;
|
|
77
|
+
const exportValue = moduleExports[key];
|
|
78
|
+
if (_reactrefresh.isLikelyComponentType(exportValue) && exportValue.prototype && exportValue.prototype.isReactComponent) _reactrefresh.register(exportValue, filename + " " + key);
|
|
79
|
+
} catch (e) {}
|
|
80
|
+
}
|
|
81
|
+
function $RefreshIsReactComponentLike$(moduleExports) {
|
|
82
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports || moduleExports.default)) return true;
|
|
83
|
+
for(var key in moduleExports)try {
|
|
84
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports[key])) return true;
|
|
85
|
+
} catch (e) {}
|
|
86
|
+
return false;
|
|
87
|
+
}
|
|
88
|
+
registerClassComponent(module.id, module.exports);
|
|
89
|
+
if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
90
|
+
module.meta.hot.accept();
|
|
91
|
+
_reactrefresh.performReactRefresh();
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
},
|
|
95
|
+
"assets/bootstrap.less?watch=parent": function (module, exports, __mako_require__){
|
|
96
|
+
|
|
97
|
+
},
|
|
98
|
+
"assets/index.less?asmodule": function (module, exports, __mako_require__){
|
|
99
|
+
"use strict";
|
|
100
|
+
__mako_require__.d(exports, "__esModule", {
|
|
101
|
+
value: true
|
|
102
|
+
});
|
|
103
|
+
__mako_require__.d(exports, "default", {
|
|
104
|
+
enumerable: true,
|
|
105
|
+
get: function() {
|
|
106
|
+
return _default;
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
"";
|
|
110
|
+
var _default = {
|
|
111
|
+
"rc-dialog-footer": `rc-dialog-footer-9kI8P7T_`,
|
|
112
|
+
"rc-dialog-fade-enter": `rc-dialog-fade-enter-baf6Ix3A`,
|
|
113
|
+
"rc-dialog-fade-appear": `rc-dialog-fade-appear-HCuIGyzi`,
|
|
114
|
+
"rc-dialog-fade-enter-active": `rc-dialog-fade-enter-active-bcJwE86b`,
|
|
115
|
+
"rc-dialog-close": `rc-dialog-close-RpygIDJ7`,
|
|
116
|
+
"rc-dialog-fade-appear-active": `rc-dialog-fade-appear-active-ImCuZCah`,
|
|
117
|
+
"rc-dialog-zoom-appear": `rc-dialog-zoom-appear-O0oOmU02`,
|
|
118
|
+
"rc-dialog-zoom-appear-active": `rc-dialog-zoom-appear-active-EksXhSiQ`,
|
|
119
|
+
"rcDialogFadeOut": `rcDialogFadeOut-6hL4P9iD`,
|
|
120
|
+
"rc-dialog-close-x": `rc-dialog-close-x-N1-X8nLa`,
|
|
121
|
+
"rc-dialog-body": `rc-dialog-body-wophaOl0`,
|
|
122
|
+
"rc-dialog-section": `rc-dialog-section-qyzOK45m`,
|
|
123
|
+
"rcDialogZoomIn": `rcDialogZoomIn-qBju5MMS`,
|
|
124
|
+
"rc-dialog-mask-hidden": `rc-dialog-mask-hidden-Q8OZyl0R`,
|
|
125
|
+
"rc-dialog": `rc-dialog-s3ap7BnM`,
|
|
126
|
+
"rc-dialog-wrap": `rc-dialog-wrap-lTGE5og0`,
|
|
127
|
+
"rcDialogFadeIn": `rcDialogFadeIn-IjFW9mRF`,
|
|
128
|
+
"rc-dialog-fade-leave-active": `rc-dialog-fade-leave-active-4C5kVyIf`,
|
|
129
|
+
"rc-dialog-header": `rc-dialog-header-1r3oUdfe`,
|
|
130
|
+
"rc-dialog-zoom-leave-active": `rc-dialog-zoom-leave-active-NCCySLyk`,
|
|
131
|
+
"rc-dialog-fade-leave": `rc-dialog-fade-leave-lewBiqn6`,
|
|
132
|
+
"rc-dialog-zoom-enter-active": `rc-dialog-zoom-enter-active-v7T3hJKP`,
|
|
133
|
+
"rc-dialog-zoom-leave": `rc-dialog-zoom-leave-gtDKp35h`,
|
|
134
|
+
"rc-dialog-zoom-enter": `rc-dialog-zoom-enter-U8H4By99`,
|
|
135
|
+
"rcDialogZoomOut": `rcDialogZoomOut-cCRF_LGx`,
|
|
136
|
+
"rc-dialog-mask": `rc-dialog-mask-Xf46-IWW`,
|
|
137
|
+
"rc-dialog-title": `rc-dialog-title-sZg4rzBr`
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
},
|
|
141
|
+
"assets/index.less?dumi-raw": function (module, exports, __mako_require__){
|
|
142
|
+
"use strict";
|
|
143
|
+
__mako_require__.d(exports, "__esModule", {
|
|
144
|
+
value: true
|
|
145
|
+
});
|
|
146
|
+
__mako_require__.d(exports, "default", {
|
|
147
|
+
enumerable: true,
|
|
148
|
+
get: function() {
|
|
149
|
+
return _default;
|
|
150
|
+
}
|
|
151
|
+
});
|
|
152
|
+
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
153
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_react-refresh@0.14.2@react-refresh/runtime.js"));
|
|
154
|
+
__mako_require__("assets/index.less?watch=parent");
|
|
155
|
+
var prevRefreshReg;
|
|
156
|
+
var prevRefreshSig;
|
|
157
|
+
prevRefreshReg = self.$RefreshReg$;
|
|
158
|
+
prevRefreshSig = self.$RefreshSig$;
|
|
159
|
+
self.$RefreshReg$ = (type, id)=>{
|
|
160
|
+
_reactrefresh.register(type, module.id + id);
|
|
161
|
+
};
|
|
162
|
+
self.$RefreshSig$ = _reactrefresh.createSignatureFunctionForTransform;
|
|
163
|
+
var _default = "@prefixCls: rc-dialog;\n\n@import \"./index/Dialog.less\";\n@import \"./index/Mask.less\";\n";
|
|
164
|
+
if (prevRefreshReg) self.$RefreshReg$ = prevRefreshReg;
|
|
165
|
+
if (prevRefreshSig) self.$RefreshSig$ = prevRefreshSig;
|
|
166
|
+
function registerClassComponent(filename, moduleExports) {
|
|
167
|
+
for(const key in moduleExports)try {
|
|
168
|
+
if (key === "__esModule") continue;
|
|
169
|
+
const exportValue = moduleExports[key];
|
|
170
|
+
if (_reactrefresh.isLikelyComponentType(exportValue) && exportValue.prototype && exportValue.prototype.isReactComponent) _reactrefresh.register(exportValue, filename + " " + key);
|
|
171
|
+
} catch (e) {}
|
|
172
|
+
}
|
|
173
|
+
function $RefreshIsReactComponentLike$(moduleExports) {
|
|
174
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports || moduleExports.default)) return true;
|
|
175
|
+
for(var key in moduleExports)try {
|
|
176
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports[key])) return true;
|
|
177
|
+
} catch (e) {}
|
|
178
|
+
return false;
|
|
179
|
+
}
|
|
180
|
+
registerClassComponent(module.id, module.exports);
|
|
181
|
+
if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
182
|
+
module.meta.hot.accept();
|
|
183
|
+
_reactrefresh.performReactRefresh();
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
},
|
|
187
|
+
"assets/index.less?watch=parent": function (module, exports, __mako_require__){
|
|
188
|
+
|
|
189
|
+
},
|
|
190
|
+
"docs/changelog.md?type=demo": function (module, exports, __mako_require__){
|
|
191
|
+
"use strict";
|
|
192
|
+
__mako_require__.d(exports, "__esModule", {
|
|
193
|
+
value: true
|
|
194
|
+
});
|
|
195
|
+
__mako_require__.d(exports, "demos", {
|
|
196
|
+
enumerable: true,
|
|
197
|
+
get: function() {
|
|
198
|
+
return demos;
|
|
199
|
+
}
|
|
200
|
+
});
|
|
201
|
+
var _interop_require_default = __mako_require__("@swc/helpers/_/_interop_require_default");
|
|
202
|
+
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
203
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_react-refresh@0.14.2@react-refresh/runtime.js"));
|
|
204
|
+
var _react = /*#__PURE__*/ _interop_require_default._(__mako_require__("node_modules/_react@18.3.1@react/index.js"));
|
|
205
|
+
__mako_require__("docs/changelog.md?watch=parent");
|
|
206
|
+
var prevRefreshReg;
|
|
207
|
+
var prevRefreshSig;
|
|
208
|
+
prevRefreshReg = self.$RefreshReg$;
|
|
209
|
+
prevRefreshSig = self.$RefreshSig$;
|
|
210
|
+
self.$RefreshReg$ = (type, id)=>{
|
|
211
|
+
_reactrefresh.register(type, module.id + id);
|
|
212
|
+
};
|
|
213
|
+
self.$RefreshSig$ = _reactrefresh.createSignatureFunctionForTransform;
|
|
214
|
+
const demos = {};
|
|
215
|
+
if (prevRefreshReg) self.$RefreshReg$ = prevRefreshReg;
|
|
216
|
+
if (prevRefreshSig) self.$RefreshSig$ = prevRefreshSig;
|
|
217
|
+
function registerClassComponent(filename, moduleExports) {
|
|
218
|
+
for(const key in moduleExports)try {
|
|
219
|
+
if (key === "__esModule") continue;
|
|
220
|
+
const exportValue = moduleExports[key];
|
|
221
|
+
if (_reactrefresh.isLikelyComponentType(exportValue) && exportValue.prototype && exportValue.prototype.isReactComponent) _reactrefresh.register(exportValue, filename + " " + key);
|
|
222
|
+
} catch (e) {}
|
|
223
|
+
}
|
|
224
|
+
function $RefreshIsReactComponentLike$(moduleExports) {
|
|
225
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports || moduleExports.default)) return true;
|
|
226
|
+
for(var key in moduleExports)try {
|
|
227
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports[key])) return true;
|
|
228
|
+
} catch (e) {}
|
|
229
|
+
return false;
|
|
230
|
+
}
|
|
231
|
+
registerClassComponent(module.id, module.exports);
|
|
232
|
+
if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
233
|
+
module.meta.hot.accept();
|
|
234
|
+
_reactrefresh.performReactRefresh();
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
},
|
|
238
|
+
"docs/changelog.md?type=text": function (module, exports, __mako_require__){
|
|
239
|
+
"use strict";
|
|
240
|
+
__mako_require__.d(exports, "__esModule", {
|
|
241
|
+
value: true
|
|
242
|
+
});
|
|
243
|
+
__mako_require__.d(exports, "texts", {
|
|
244
|
+
enumerable: true,
|
|
245
|
+
get: function() {
|
|
246
|
+
return texts;
|
|
247
|
+
}
|
|
248
|
+
});
|
|
249
|
+
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
250
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_react-refresh@0.14.2@react-refresh/runtime.js"));
|
|
251
|
+
__mako_require__("docs/changelog.md?watch=parent");
|
|
252
|
+
var prevRefreshReg;
|
|
253
|
+
var prevRefreshSig;
|
|
254
|
+
prevRefreshReg = self.$RefreshReg$;
|
|
255
|
+
prevRefreshSig = self.$RefreshSig$;
|
|
256
|
+
self.$RefreshReg$ = (type, id)=>{
|
|
257
|
+
_reactrefresh.register(type, module.id + id);
|
|
258
|
+
};
|
|
259
|
+
self.$RefreshSig$ = _reactrefresh.createSignatureFunctionForTransform;
|
|
260
|
+
const texts = [
|
|
261
|
+
{
|
|
262
|
+
"value": "2021-01-07",
|
|
263
|
+
"paraId": 0,
|
|
264
|
+
"tocIndex": 1
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"value": "improve: ScrollLocker call related. ",
|
|
268
|
+
"paraId": 1,
|
|
269
|
+
"tocIndex": 1
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"value": "#227",
|
|
273
|
+
"paraId": 1,
|
|
274
|
+
"tocIndex": 1
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"value": "2021-01-04",
|
|
278
|
+
"paraId": 2,
|
|
279
|
+
"tocIndex": 2
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"value": "refactor: use ScrollLocker. ",
|
|
283
|
+
"paraId": 3,
|
|
284
|
+
"tocIndex": 2
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"value": "#220",
|
|
288
|
+
"paraId": 3,
|
|
289
|
+
"tocIndex": 2
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"value": "2020-12-19",
|
|
293
|
+
"paraId": 4,
|
|
294
|
+
"tocIndex": 3
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"value": "fix: trigger close only when click wrap itself. ",
|
|
298
|
+
"paraId": 5,
|
|
299
|
+
"tocIndex": 3
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"value": "#218",
|
|
303
|
+
"paraId": 5,
|
|
304
|
+
"tocIndex": 3
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"value": "2020-12-07",
|
|
308
|
+
"paraId": 6,
|
|
309
|
+
"tocIndex": 4
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"value": "fix: Dialog should keep refresh when forceRender provided. ",
|
|
313
|
+
"paraId": 7,
|
|
314
|
+
"tocIndex": 4
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"value": "#217",
|
|
318
|
+
"paraId": 7,
|
|
319
|
+
"tocIndex": 4
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"value": "2020-12-03",
|
|
323
|
+
"paraId": 8,
|
|
324
|
+
"tocIndex": 5
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"value": "fix: dialog dont close when mouseDown in content and mouseUp in wrapper. ",
|
|
328
|
+
"paraId": 9,
|
|
329
|
+
"tocIndex": 5
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"value": "#210",
|
|
333
|
+
"paraId": 9,
|
|
334
|
+
"tocIndex": 5
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"value": "chore: Should not re-render when dialog is invisible. ",
|
|
338
|
+
"paraId": 10,
|
|
339
|
+
"tocIndex": 5
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"value": "#212",
|
|
343
|
+
"paraId": 10,
|
|
344
|
+
"tocIndex": 5
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"value": "2020-10-21",
|
|
348
|
+
"paraId": 11,
|
|
349
|
+
"tocIndex": 6
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"value": "chore: support react 17. ",
|
|
353
|
+
"paraId": 12,
|
|
354
|
+
"tocIndex": 6
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"value": "#207",
|
|
358
|
+
"paraId": 12,
|
|
359
|
+
"tocIndex": 6
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"value": "2020-10-14",
|
|
363
|
+
"paraId": 13,
|
|
364
|
+
"tocIndex": 7
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"value": "fix: Dialog should not auto destroy. ",
|
|
368
|
+
"paraId": 14,
|
|
369
|
+
"tocIndex": 7
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"value": "#206",
|
|
373
|
+
"paraId": 14,
|
|
374
|
+
"tocIndex": 7
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"value": "2020-10-11",
|
|
378
|
+
"paraId": 15,
|
|
379
|
+
"tocIndex": 8
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"value": "fix: Portal event bubble. ",
|
|
383
|
+
"paraId": 16,
|
|
384
|
+
"tocIndex": 8
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"value": "#204",
|
|
388
|
+
"paraId": 16,
|
|
389
|
+
"tocIndex": 8
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"value": "2020-09-29",
|
|
393
|
+
"paraId": 17,
|
|
394
|
+
"tocIndex": 9
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"value": "refactor: Use ",
|
|
398
|
+
"paraId": 18,
|
|
399
|
+
"tocIndex": 9
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"value": "rc-motion",
|
|
403
|
+
"paraId": 18,
|
|
404
|
+
"tocIndex": 9
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"value": ". ",
|
|
408
|
+
"paraId": 18,
|
|
409
|
+
"tocIndex": 9
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"value": "#203",
|
|
413
|
+
"paraId": 18,
|
|
414
|
+
"tocIndex": 9
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"value": "fix: prevent scroll behavior when focus trigger. ",
|
|
418
|
+
"paraId": 19,
|
|
419
|
+
"tocIndex": 10
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"value": "ant-design/ant-design#26582",
|
|
423
|
+
"paraId": 19,
|
|
424
|
+
"tocIndex": 10
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"value": "fix: page scroll position will jump after dialog is closed. ",
|
|
428
|
+
"paraId": 20,
|
|
429
|
+
"tocIndex": 11
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"value": "#202",
|
|
433
|
+
"paraId": 20,
|
|
434
|
+
"tocIndex": 11
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"value": "fix: remove typing from package.json. ",
|
|
438
|
+
"paraId": 21,
|
|
439
|
+
"tocIndex": 12
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"value": "#201",
|
|
443
|
+
"paraId": 21,
|
|
444
|
+
"tocIndex": 12
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"value": "fix: add displayName. ",
|
|
448
|
+
"paraId": 22,
|
|
449
|
+
"tocIndex": 13
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"value": "#200",
|
|
453
|
+
"paraId": 22,
|
|
454
|
+
"tocIndex": 13
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"value": "fate: add ",
|
|
458
|
+
"paraId": 23,
|
|
459
|
+
"tocIndex": 14
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"value": "modalRender",
|
|
463
|
+
"paraId": 23,
|
|
464
|
+
"tocIndex": 14
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"value": ". ",
|
|
468
|
+
"paraId": 23,
|
|
469
|
+
"tocIndex": 14
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"value": "#195",
|
|
473
|
+
"paraId": 23,
|
|
474
|
+
"tocIndex": 14
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"value": "use ",
|
|
478
|
+
"paraId": 24,
|
|
479
|
+
"tocIndex": 15
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
"value": "father",
|
|
483
|
+
"paraId": 24,
|
|
484
|
+
"tocIndex": 15
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"value": ". ",
|
|
488
|
+
"paraId": 24,
|
|
489
|
+
"tocIndex": 15
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"value": "#197",
|
|
493
|
+
"paraId": 24,
|
|
494
|
+
"tocIndex": 15
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"value": "Fix dialog component will only show mask, if initialize a Dialog component with both forceRender and visible are true. ",
|
|
498
|
+
"paraId": 25,
|
|
499
|
+
"tocIndex": 16
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"value": "#194",
|
|
503
|
+
"paraId": 25,
|
|
504
|
+
"tocIndex": 16
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"value": "remove babel runtime.",
|
|
508
|
+
"paraId": 26,
|
|
509
|
+
"tocIndex": 17
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"value": "up ",
|
|
513
|
+
"paraId": 26,
|
|
514
|
+
"tocIndex": 17
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"value": "rc-drawer",
|
|
518
|
+
"paraId": 26,
|
|
519
|
+
"tocIndex": 17
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"value": " to ",
|
|
523
|
+
"paraId": 26,
|
|
524
|
+
"tocIndex": 17
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"value": "4.1.0",
|
|
528
|
+
"paraId": 26,
|
|
529
|
+
"tocIndex": 17
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"value": ".",
|
|
533
|
+
"paraId": 26,
|
|
534
|
+
"tocIndex": 17
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"value": "upgrade ",
|
|
538
|
+
"paraId": 27,
|
|
539
|
+
"tocIndex": 18
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"value": "rc-util",
|
|
543
|
+
"paraId": 27,
|
|
544
|
+
"tocIndex": 18
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"value": " to ",
|
|
548
|
+
"paraId": 27,
|
|
549
|
+
"tocIndex": 18
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"value": "5.0.0",
|
|
553
|
+
"paraId": 27,
|
|
554
|
+
"tocIndex": 18
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"value": ".",
|
|
558
|
+
"paraId": 27,
|
|
559
|
+
"tocIndex": 18
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"value": "upgrade ",
|
|
563
|
+
"paraId": 28,
|
|
564
|
+
"tocIndex": 19
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"value": "rc-animate",
|
|
568
|
+
"paraId": 28,
|
|
569
|
+
"tocIndex": 19
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"value": " to ",
|
|
573
|
+
"paraId": 28,
|
|
574
|
+
"tocIndex": 19
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"value": "3.0.0",
|
|
578
|
+
"paraId": 28,
|
|
579
|
+
"tocIndex": 19
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"value": ".",
|
|
583
|
+
"paraId": 28,
|
|
584
|
+
"tocIndex": 19
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"value": "Update accessibility.",
|
|
588
|
+
"paraId": 29,
|
|
589
|
+
"tocIndex": 20
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"value": "Support ",
|
|
593
|
+
"paraId": 30,
|
|
594
|
+
"tocIndex": 21
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"value": "forceRender",
|
|
598
|
+
"paraId": 30,
|
|
599
|
+
"tocIndex": 21
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"value": " for dialog.",
|
|
603
|
+
"paraId": 30,
|
|
604
|
+
"tocIndex": 21
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"value": "Add closeIcon. ",
|
|
608
|
+
"paraId": 31,
|
|
609
|
+
"tocIndex": 22
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"value": "#89",
|
|
613
|
+
"paraId": 32,
|
|
614
|
+
"tocIndex": 22
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"value": " ",
|
|
618
|
+
"paraId": 31,
|
|
619
|
+
"tocIndex": 22
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"value": "@HeskeyBaozi ",
|
|
623
|
+
"paraId": 31,
|
|
624
|
+
"tocIndex": 22
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"value": "Add destroyOnClose. ",
|
|
628
|
+
"paraId": 33,
|
|
629
|
+
"tocIndex": 23
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"value": "#72",
|
|
633
|
+
"paraId": 33,
|
|
634
|
+
"tocIndex": 23
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
"value": " ",
|
|
638
|
+
"paraId": 33,
|
|
639
|
+
"tocIndex": 23
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"value": "@Rohanhacker",
|
|
643
|
+
"paraId": 33,
|
|
644
|
+
"tocIndex": 23
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"value": "Remove ReactNative support, please use ",
|
|
648
|
+
"paraId": 34,
|
|
649
|
+
"tocIndex": 24
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
"value": "https://github.com/react-component/m-dialog",
|
|
653
|
+
"paraId": 34,
|
|
654
|
+
"tocIndex": 24
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"value": " instead.",
|
|
658
|
+
"paraId": 34,
|
|
659
|
+
"tocIndex": 24
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"value": "Support React 16.",
|
|
663
|
+
"paraId": 34,
|
|
664
|
+
"tocIndex": 24
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"value": "Notable change: Close animation won't trigger when dialog unmounting after React 16, see ",
|
|
668
|
+
"paraId": 35,
|
|
669
|
+
"tocIndex": 24
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
"value": "facebook/react#10826",
|
|
673
|
+
"paraId": 35,
|
|
674
|
+
"tocIndex": 24
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"value": "fixed: RN modal support landscape orientation, ",
|
|
678
|
+
"paraId": 36,
|
|
679
|
+
"tocIndex": 25
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"value": "https://github.com/react-component/dialog/pull/64",
|
|
683
|
+
"paraId": 36,
|
|
684
|
+
"tocIndex": 25
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"value": "remove rc-dialog/lib/Modal's entry prop, add animationType prop",
|
|
688
|
+
"paraId": 37,
|
|
689
|
+
"tocIndex": 26
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"value": "add rc-dialog/lib/Modal to support react-native",
|
|
693
|
+
"paraId": 38,
|
|
694
|
+
"tocIndex": 27
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"value": "use getContainerRenderMixin from 'rc-util'",
|
|
698
|
+
"paraId": 39,
|
|
699
|
+
"tocIndex": 28
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"value": "new html structure and class",
|
|
703
|
+
"paraId": 40,
|
|
704
|
+
"tocIndex": 29
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"value": "disable window scroll when show",
|
|
708
|
+
"paraId": 40,
|
|
709
|
+
"tocIndex": 29
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"value": "add maskClosable",
|
|
713
|
+
"paraId": 41,
|
|
714
|
+
"tocIndex": 30
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"value": "separate close and header",
|
|
718
|
+
"paraId": 42,
|
|
719
|
+
"tocIndex": 31
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
"value": "only support react 0.14",
|
|
723
|
+
"paraId": 43,
|
|
724
|
+
"tocIndex": 32
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"value": "refactor to clean api. remove onShow onBeforeClose",
|
|
728
|
+
"paraId": 44,
|
|
729
|
+
"tocIndex": 33
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
"value": "use rc-animate & rc-align",
|
|
733
|
+
"paraId": 45,
|
|
734
|
+
"tocIndex": 34
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
"value": "support esc to close",
|
|
738
|
+
"paraId": 46,
|
|
739
|
+
"tocIndex": 35
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"value": "add renderToBody props",
|
|
743
|
+
"paraId": 47,
|
|
744
|
+
"tocIndex": 36
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"value": "make dialog render to body and use ",
|
|
748
|
+
"paraId": 48,
|
|
749
|
+
"tocIndex": 37
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"value": "dom-align",
|
|
753
|
+
"paraId": 48,
|
|
754
|
+
"tocIndex": 37
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
"value": " to align",
|
|
758
|
+
"paraId": 48,
|
|
759
|
+
"tocIndex": 37
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
"value": "support es6 and react 0.13",
|
|
763
|
+
"paraId": 49,
|
|
764
|
+
"tocIndex": 38
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
"value": "new",
|
|
768
|
+
"paraId": 50,
|
|
769
|
+
"tocIndex": 39
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
"value": " ",
|
|
773
|
+
"paraId": 50,
|
|
774
|
+
"tocIndex": 39
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"value": "#3",
|
|
778
|
+
"paraId": 50,
|
|
779
|
+
"tocIndex": 39
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
"value": " support closable requestClose onBeforeClose",
|
|
783
|
+
"paraId": 50,
|
|
784
|
+
"tocIndex": 39
|
|
785
|
+
}
|
|
786
|
+
];
|
|
787
|
+
if (prevRefreshReg) self.$RefreshReg$ = prevRefreshReg;
|
|
788
|
+
if (prevRefreshSig) self.$RefreshSig$ = prevRefreshSig;
|
|
789
|
+
function registerClassComponent(filename, moduleExports) {
|
|
790
|
+
for(const key in moduleExports)try {
|
|
791
|
+
if (key === "__esModule") continue;
|
|
792
|
+
const exportValue = moduleExports[key];
|
|
793
|
+
if (_reactrefresh.isLikelyComponentType(exportValue) && exportValue.prototype && exportValue.prototype.isReactComponent) _reactrefresh.register(exportValue, filename + " " + key);
|
|
794
|
+
} catch (e) {}
|
|
795
|
+
}
|
|
796
|
+
function $RefreshIsReactComponentLike$(moduleExports) {
|
|
797
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports || moduleExports.default)) return true;
|
|
798
|
+
for(var key in moduleExports)try {
|
|
799
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports[key])) return true;
|
|
800
|
+
} catch (e) {}
|
|
801
|
+
return false;
|
|
802
|
+
}
|
|
803
|
+
registerClassComponent(module.id, module.exports);
|
|
804
|
+
if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
805
|
+
module.meta.hot.accept();
|
|
806
|
+
_reactrefresh.performReactRefresh();
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
},
|
|
810
|
+
"docs/demo/ant-design.md?type=demo": function (module, exports, __mako_require__){
|
|
811
|
+
"use strict";
|
|
812
|
+
var interop = __mako_require__("@swc/helpers/_/_interop_require_wildcard")._;
|
|
813
|
+
__mako_require__.d(exports, "__esModule", {
|
|
814
|
+
value: true
|
|
815
|
+
});
|
|
816
|
+
__mako_require__.d(exports, "demos", {
|
|
817
|
+
enumerable: true,
|
|
818
|
+
get: function() {
|
|
819
|
+
return demos;
|
|
820
|
+
}
|
|
821
|
+
});
|
|
822
|
+
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
823
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_react-refresh@0.14.2@react-refresh/runtime.js"));
|
|
824
|
+
var _react = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_react@18.3.1@react/index.js"));
|
|
825
|
+
__mako_require__("docs/demo/ant-design.md?watch=parent");
|
|
826
|
+
var _rcselect = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_rc-select@14.16.6@rc-select/es/index.js"));
|
|
827
|
+
var _indexlessasmodule = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_rc-select@14.16.6@rc-select/assets/index.less?asmodule"));
|
|
828
|
+
var _rcdialog = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("src/index.ts"));
|
|
829
|
+
var _indexlessasmodule1 = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("assets/index.less?asmodule"));
|
|
830
|
+
var prevRefreshReg;
|
|
831
|
+
var prevRefreshSig;
|
|
832
|
+
prevRefreshReg = self.$RefreshReg$;
|
|
833
|
+
prevRefreshSig = self.$RefreshSig$;
|
|
834
|
+
self.$RefreshReg$ = (type, id)=>{
|
|
835
|
+
_reactrefresh.register(type, module.id + id);
|
|
836
|
+
};
|
|
837
|
+
self.$RefreshSig$ = _reactrefresh.createSignatureFunctionForTransform;
|
|
838
|
+
const demos = {
|
|
839
|
+
'docs-demo-ant-design-demo-ant-design': {
|
|
840
|
+
component: /*#__PURE__*/ _react.default.memo(/*#__PURE__*/ _react.default.lazy(()=>__mako_require__.ensure2("docs/examples/ant-design.tsx?techStack=react").then(__mako_require__.dr(interop, __mako_require__.bind(__mako_require__, "docs/examples/ant-design.tsx?techStack=react"))))),
|
|
841
|
+
asset: {
|
|
842
|
+
"type": "BLOCK",
|
|
843
|
+
"id": "docs-demo-ant-design-demo-ant-design",
|
|
844
|
+
"refAtomIds": [],
|
|
845
|
+
"dependencies": {
|
|
846
|
+
"index.tsx": {
|
|
847
|
+
"type": "FILE",
|
|
848
|
+
"value": __mako_require__("docs/examples/ant-design.tsx?dumi-raw").default
|
|
849
|
+
},
|
|
850
|
+
"react": {
|
|
851
|
+
"type": "NPM",
|
|
852
|
+
"value": "18.3.1"
|
|
853
|
+
},
|
|
854
|
+
"rc-select": {
|
|
855
|
+
"type": "NPM",
|
|
856
|
+
"value": "14.16.6"
|
|
857
|
+
},
|
|
858
|
+
"@rc-component/dialog": {
|
|
859
|
+
"type": "NPM",
|
|
860
|
+
"value": "1.0.1"
|
|
861
|
+
},
|
|
862
|
+
"../../assets/index.less": {
|
|
863
|
+
"type": "FILE",
|
|
864
|
+
"value": __mako_require__("assets/index.less?dumi-raw").default
|
|
865
|
+
}
|
|
866
|
+
},
|
|
867
|
+
"entry": "index.tsx"
|
|
868
|
+
},
|
|
869
|
+
context: {
|
|
870
|
+
"../../assets/index.less": _indexlessasmodule1,
|
|
871
|
+
"react": _react,
|
|
872
|
+
"rc-select": _rcselect,
|
|
873
|
+
"rc-select/assets/index.less": _indexlessasmodule,
|
|
874
|
+
"rc-dialog": _rcdialog,
|
|
875
|
+
"/Users/jilin/projects/antd/rc-dialog/assets/index.less": _indexlessasmodule1
|
|
876
|
+
},
|
|
877
|
+
renderOpts: {
|
|
878
|
+
compile: async (...args)=>{
|
|
879
|
+
return (await __mako_require__.ensure2("node_modules/_dumi@2.4.17@dumi/dist/client/misc/reactDemoCompiler.js").then(__mako_require__.dr(interop, __mako_require__.bind(__mako_require__, "node_modules/_dumi@2.4.17@dumi/dist/client/misc/reactDemoCompiler.js")))).default(...args);
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
};
|
|
884
|
+
if (prevRefreshReg) self.$RefreshReg$ = prevRefreshReg;
|
|
885
|
+
if (prevRefreshSig) self.$RefreshSig$ = prevRefreshSig;
|
|
886
|
+
function registerClassComponent(filename, moduleExports) {
|
|
887
|
+
for(const key in moduleExports)try {
|
|
888
|
+
if (key === "__esModule") continue;
|
|
889
|
+
const exportValue = moduleExports[key];
|
|
890
|
+
if (_reactrefresh.isLikelyComponentType(exportValue) && exportValue.prototype && exportValue.prototype.isReactComponent) _reactrefresh.register(exportValue, filename + " " + key);
|
|
891
|
+
} catch (e) {}
|
|
892
|
+
}
|
|
893
|
+
function $RefreshIsReactComponentLike$(moduleExports) {
|
|
894
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports || moduleExports.default)) return true;
|
|
895
|
+
for(var key in moduleExports)try {
|
|
896
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports[key])) return true;
|
|
897
|
+
} catch (e) {}
|
|
898
|
+
return false;
|
|
899
|
+
}
|
|
900
|
+
registerClassComponent(module.id, module.exports);
|
|
901
|
+
if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
902
|
+
module.meta.hot.accept();
|
|
903
|
+
_reactrefresh.performReactRefresh();
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
},
|
|
907
|
+
"docs/demo/ant-design.md?type=text": function (module, exports, __mako_require__){
|
|
908
|
+
"use strict";
|
|
909
|
+
__mako_require__.d(exports, "__esModule", {
|
|
910
|
+
value: true
|
|
911
|
+
});
|
|
912
|
+
__mako_require__.d(exports, "texts", {
|
|
913
|
+
enumerable: true,
|
|
914
|
+
get: function() {
|
|
915
|
+
return texts;
|
|
916
|
+
}
|
|
917
|
+
});
|
|
918
|
+
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
919
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_react-refresh@0.14.2@react-refresh/runtime.js"));
|
|
920
|
+
__mako_require__("docs/demo/ant-design.md?watch=parent");
|
|
921
|
+
var prevRefreshReg;
|
|
922
|
+
var prevRefreshSig;
|
|
923
|
+
prevRefreshReg = self.$RefreshReg$;
|
|
924
|
+
prevRefreshSig = self.$RefreshSig$;
|
|
925
|
+
self.$RefreshReg$ = (type, id)=>{
|
|
926
|
+
_reactrefresh.register(type, module.id + id);
|
|
927
|
+
};
|
|
928
|
+
self.$RefreshSig$ = _reactrefresh.createSignatureFunctionForTransform;
|
|
929
|
+
const texts = [];
|
|
930
|
+
if (prevRefreshReg) self.$RefreshReg$ = prevRefreshReg;
|
|
931
|
+
if (prevRefreshSig) self.$RefreshSig$ = prevRefreshSig;
|
|
932
|
+
function registerClassComponent(filename, moduleExports) {
|
|
933
|
+
for(const key in moduleExports)try {
|
|
934
|
+
if (key === "__esModule") continue;
|
|
935
|
+
const exportValue = moduleExports[key];
|
|
936
|
+
if (_reactrefresh.isLikelyComponentType(exportValue) && exportValue.prototype && exportValue.prototype.isReactComponent) _reactrefresh.register(exportValue, filename + " " + key);
|
|
937
|
+
} catch (e) {}
|
|
938
|
+
}
|
|
939
|
+
function $RefreshIsReactComponentLike$(moduleExports) {
|
|
940
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports || moduleExports.default)) return true;
|
|
941
|
+
for(var key in moduleExports)try {
|
|
942
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports[key])) return true;
|
|
943
|
+
} catch (e) {}
|
|
944
|
+
return false;
|
|
945
|
+
}
|
|
946
|
+
registerClassComponent(module.id, module.exports);
|
|
947
|
+
if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
948
|
+
module.meta.hot.accept();
|
|
949
|
+
_reactrefresh.performReactRefresh();
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
},
|
|
953
|
+
"docs/demo/bootstrap.md?type=demo": function (module, exports, __mako_require__){
|
|
954
|
+
"use strict";
|
|
955
|
+
var interop = __mako_require__("@swc/helpers/_/_interop_require_wildcard")._;
|
|
956
|
+
__mako_require__.d(exports, "__esModule", {
|
|
957
|
+
value: true
|
|
958
|
+
});
|
|
959
|
+
__mako_require__.d(exports, "demos", {
|
|
960
|
+
enumerable: true,
|
|
961
|
+
get: function() {
|
|
962
|
+
return demos;
|
|
963
|
+
}
|
|
964
|
+
});
|
|
965
|
+
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
966
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_react-refresh@0.14.2@react-refresh/runtime.js"));
|
|
967
|
+
var _react = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_react@18.3.1@react/index.js"));
|
|
968
|
+
__mako_require__("docs/demo/bootstrap.md?watch=parent");
|
|
969
|
+
var _rcdialog = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("src/index.ts"));
|
|
970
|
+
var _bootstrapcssasmodule = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_bootstrap@4.6.2@bootstrap/dist/css/bootstrap.css?asmodule"));
|
|
971
|
+
var _bootstraplessasmodule = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("assets/bootstrap.less?asmodule"));
|
|
972
|
+
var prevRefreshReg;
|
|
973
|
+
var prevRefreshSig;
|
|
974
|
+
prevRefreshReg = self.$RefreshReg$;
|
|
975
|
+
prevRefreshSig = self.$RefreshSig$;
|
|
976
|
+
self.$RefreshReg$ = (type, id)=>{
|
|
977
|
+
_reactrefresh.register(type, module.id + id);
|
|
978
|
+
};
|
|
979
|
+
self.$RefreshSig$ = _reactrefresh.createSignatureFunctionForTransform;
|
|
980
|
+
const demos = {
|
|
981
|
+
'docs-demo-bootstrap-demo-bootstrap': {
|
|
982
|
+
component: /*#__PURE__*/ _react.default.memo(/*#__PURE__*/ _react.default.lazy(()=>__mako_require__.ensure2("docs/examples/bootstrap.tsx?techStack=react").then(__mako_require__.dr(interop, __mako_require__.bind(__mako_require__, "docs/examples/bootstrap.tsx?techStack=react"))))),
|
|
983
|
+
asset: {
|
|
984
|
+
"type": "BLOCK",
|
|
985
|
+
"id": "docs-demo-bootstrap-demo-bootstrap",
|
|
986
|
+
"refAtomIds": [],
|
|
987
|
+
"dependencies": {
|
|
988
|
+
"index.tsx": {
|
|
989
|
+
"type": "FILE",
|
|
990
|
+
"value": __mako_require__("docs/examples/bootstrap.tsx?dumi-raw").default
|
|
991
|
+
},
|
|
992
|
+
"react": {
|
|
993
|
+
"type": "NPM",
|
|
994
|
+
"value": "18.3.1"
|
|
995
|
+
},
|
|
996
|
+
"@rc-component/dialog": {
|
|
997
|
+
"type": "NPM",
|
|
998
|
+
"value": "1.0.1"
|
|
999
|
+
},
|
|
1000
|
+
"bootstrap": {
|
|
1001
|
+
"type": "NPM",
|
|
1002
|
+
"value": "4.6.2"
|
|
1003
|
+
},
|
|
1004
|
+
"../../assets/bootstrap.less": {
|
|
1005
|
+
"type": "FILE",
|
|
1006
|
+
"value": __mako_require__("assets/bootstrap.less?dumi-raw").default
|
|
1007
|
+
}
|
|
1008
|
+
},
|
|
1009
|
+
"entry": "index.tsx"
|
|
1010
|
+
},
|
|
1011
|
+
context: {
|
|
1012
|
+
"../../assets/bootstrap.less": _bootstraplessasmodule,
|
|
1013
|
+
"react": _react,
|
|
1014
|
+
"rc-dialog": _rcdialog,
|
|
1015
|
+
"bootstrap/dist/css/bootstrap.css": _bootstrapcssasmodule,
|
|
1016
|
+
"/Users/jilin/projects/antd/rc-dialog/assets/bootstrap.less": _bootstraplessasmodule
|
|
1017
|
+
},
|
|
1018
|
+
renderOpts: {
|
|
1019
|
+
compile: async (...args)=>{
|
|
1020
|
+
return (await __mako_require__.ensure2("node_modules/_dumi@2.4.17@dumi/dist/client/misc/reactDemoCompiler.js").then(__mako_require__.dr(interop, __mako_require__.bind(__mako_require__, "node_modules/_dumi@2.4.17@dumi/dist/client/misc/reactDemoCompiler.js")))).default(...args);
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
};
|
|
1025
|
+
if (prevRefreshReg) self.$RefreshReg$ = prevRefreshReg;
|
|
1026
|
+
if (prevRefreshSig) self.$RefreshSig$ = prevRefreshSig;
|
|
1027
|
+
function registerClassComponent(filename, moduleExports) {
|
|
1028
|
+
for(const key in moduleExports)try {
|
|
1029
|
+
if (key === "__esModule") continue;
|
|
1030
|
+
const exportValue = moduleExports[key];
|
|
1031
|
+
if (_reactrefresh.isLikelyComponentType(exportValue) && exportValue.prototype && exportValue.prototype.isReactComponent) _reactrefresh.register(exportValue, filename + " " + key);
|
|
1032
|
+
} catch (e) {}
|
|
1033
|
+
}
|
|
1034
|
+
function $RefreshIsReactComponentLike$(moduleExports) {
|
|
1035
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports || moduleExports.default)) return true;
|
|
1036
|
+
for(var key in moduleExports)try {
|
|
1037
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports[key])) return true;
|
|
1038
|
+
} catch (e) {}
|
|
1039
|
+
return false;
|
|
1040
|
+
}
|
|
1041
|
+
registerClassComponent(module.id, module.exports);
|
|
1042
|
+
if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
1043
|
+
module.meta.hot.accept();
|
|
1044
|
+
_reactrefresh.performReactRefresh();
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
},
|
|
1048
|
+
"docs/demo/bootstrap.md?type=text": function (module, exports, __mako_require__){
|
|
1049
|
+
"use strict";
|
|
1050
|
+
__mako_require__.d(exports, "__esModule", {
|
|
1051
|
+
value: true
|
|
1052
|
+
});
|
|
1053
|
+
__mako_require__.d(exports, "texts", {
|
|
1054
|
+
enumerable: true,
|
|
1055
|
+
get: function() {
|
|
1056
|
+
return texts;
|
|
1057
|
+
}
|
|
1058
|
+
});
|
|
1059
|
+
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
1060
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_react-refresh@0.14.2@react-refresh/runtime.js"));
|
|
1061
|
+
__mako_require__("docs/demo/bootstrap.md?watch=parent");
|
|
1062
|
+
var prevRefreshReg;
|
|
1063
|
+
var prevRefreshSig;
|
|
1064
|
+
prevRefreshReg = self.$RefreshReg$;
|
|
1065
|
+
prevRefreshSig = self.$RefreshSig$;
|
|
1066
|
+
self.$RefreshReg$ = (type, id)=>{
|
|
1067
|
+
_reactrefresh.register(type, module.id + id);
|
|
1068
|
+
};
|
|
1069
|
+
self.$RefreshSig$ = _reactrefresh.createSignatureFunctionForTransform;
|
|
1070
|
+
const texts = [];
|
|
1071
|
+
if (prevRefreshReg) self.$RefreshReg$ = prevRefreshReg;
|
|
1072
|
+
if (prevRefreshSig) self.$RefreshSig$ = prevRefreshSig;
|
|
1073
|
+
function registerClassComponent(filename, moduleExports) {
|
|
1074
|
+
for(const key in moduleExports)try {
|
|
1075
|
+
if (key === "__esModule") continue;
|
|
1076
|
+
const exportValue = moduleExports[key];
|
|
1077
|
+
if (_reactrefresh.isLikelyComponentType(exportValue) && exportValue.prototype && exportValue.prototype.isReactComponent) _reactrefresh.register(exportValue, filename + " " + key);
|
|
1078
|
+
} catch (e) {}
|
|
1079
|
+
}
|
|
1080
|
+
function $RefreshIsReactComponentLike$(moduleExports) {
|
|
1081
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports || moduleExports.default)) return true;
|
|
1082
|
+
for(var key in moduleExports)try {
|
|
1083
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports[key])) return true;
|
|
1084
|
+
} catch (e) {}
|
|
1085
|
+
return false;
|
|
1086
|
+
}
|
|
1087
|
+
registerClassComponent(module.id, module.exports);
|
|
1088
|
+
if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
1089
|
+
module.meta.hot.accept();
|
|
1090
|
+
_reactrefresh.performReactRefresh();
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
},
|
|
1094
|
+
"docs/demo/draggable.md?type=demo": function (module, exports, __mako_require__){
|
|
1095
|
+
"use strict";
|
|
1096
|
+
var interop = __mako_require__("@swc/helpers/_/_interop_require_wildcard")._;
|
|
1097
|
+
__mako_require__.d(exports, "__esModule", {
|
|
1098
|
+
value: true
|
|
1099
|
+
});
|
|
1100
|
+
__mako_require__.d(exports, "demos", {
|
|
1101
|
+
enumerable: true,
|
|
1102
|
+
get: function() {
|
|
1103
|
+
return demos;
|
|
1104
|
+
}
|
|
1105
|
+
});
|
|
1106
|
+
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
1107
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_react-refresh@0.14.2@react-refresh/runtime.js"));
|
|
1108
|
+
var _react = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_react@18.3.1@react/index.js"));
|
|
1109
|
+
__mako_require__("docs/demo/draggable.md?watch=parent");
|
|
1110
|
+
var _bootstrapcssasmodule = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_bootstrap@4.6.2@bootstrap/dist/css/bootstrap.css?asmodule"));
|
|
1111
|
+
var _reactdraggable = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_react-draggable@4.4.6@react-draggable/build/cjs/cjs.js"));
|
|
1112
|
+
var _rcdialog = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("src/index.ts"));
|
|
1113
|
+
var _indexlessasmodule = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("assets/index.less?asmodule"));
|
|
1114
|
+
var prevRefreshReg;
|
|
1115
|
+
var prevRefreshSig;
|
|
1116
|
+
prevRefreshReg = self.$RefreshReg$;
|
|
1117
|
+
prevRefreshSig = self.$RefreshSig$;
|
|
1118
|
+
self.$RefreshReg$ = (type, id)=>{
|
|
1119
|
+
_reactrefresh.register(type, module.id + id);
|
|
1120
|
+
};
|
|
1121
|
+
self.$RefreshSig$ = _reactrefresh.createSignatureFunctionForTransform;
|
|
1122
|
+
const demos = {
|
|
1123
|
+
'docs-demo-draggable-demo-draggable': {
|
|
1124
|
+
component: /*#__PURE__*/ _react.default.memo(/*#__PURE__*/ _react.default.lazy(()=>__mako_require__.ensure2("docs/examples/draggable.tsx?techStack=react").then(__mako_require__.dr(interop, __mako_require__.bind(__mako_require__, "docs/examples/draggable.tsx?techStack=react"))))),
|
|
1125
|
+
asset: {
|
|
1126
|
+
"type": "BLOCK",
|
|
1127
|
+
"id": "docs-demo-draggable-demo-draggable",
|
|
1128
|
+
"refAtomIds": [],
|
|
1129
|
+
"dependencies": {
|
|
1130
|
+
"index.tsx": {
|
|
1131
|
+
"type": "FILE",
|
|
1132
|
+
"value": __mako_require__("docs/examples/draggable.tsx?dumi-raw").default
|
|
1133
|
+
},
|
|
1134
|
+
"bootstrap": {
|
|
1135
|
+
"type": "NPM",
|
|
1136
|
+
"value": "4.6.2"
|
|
1137
|
+
},
|
|
1138
|
+
"react": {
|
|
1139
|
+
"type": "NPM",
|
|
1140
|
+
"value": "18.3.1"
|
|
1141
|
+
},
|
|
1142
|
+
"react-draggable": {
|
|
1143
|
+
"type": "NPM",
|
|
1144
|
+
"value": "4.4.6"
|
|
1145
|
+
},
|
|
1146
|
+
"@rc-component/dialog": {
|
|
1147
|
+
"type": "NPM",
|
|
1148
|
+
"value": "1.0.1"
|
|
1149
|
+
},
|
|
1150
|
+
"../../assets/index.less": {
|
|
1151
|
+
"type": "FILE",
|
|
1152
|
+
"value": __mako_require__("assets/index.less?dumi-raw").default
|
|
1153
|
+
}
|
|
1154
|
+
},
|
|
1155
|
+
"entry": "index.tsx"
|
|
1156
|
+
},
|
|
1157
|
+
context: {
|
|
1158
|
+
"../../assets/index.less": _indexlessasmodule,
|
|
1159
|
+
"bootstrap/dist/css/bootstrap.css": _bootstrapcssasmodule,
|
|
1160
|
+
"react": _react,
|
|
1161
|
+
"react-draggable": _reactdraggable,
|
|
1162
|
+
"rc-dialog": _rcdialog,
|
|
1163
|
+
"/Users/jilin/projects/antd/rc-dialog/assets/index.less": _indexlessasmodule
|
|
1164
|
+
},
|
|
1165
|
+
renderOpts: {
|
|
1166
|
+
compile: async (...args)=>{
|
|
1167
|
+
return (await __mako_require__.ensure2("node_modules/_dumi@2.4.17@dumi/dist/client/misc/reactDemoCompiler.js").then(__mako_require__.dr(interop, __mako_require__.bind(__mako_require__, "node_modules/_dumi@2.4.17@dumi/dist/client/misc/reactDemoCompiler.js")))).default(...args);
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
};
|
|
1172
|
+
if (prevRefreshReg) self.$RefreshReg$ = prevRefreshReg;
|
|
1173
|
+
if (prevRefreshSig) self.$RefreshSig$ = prevRefreshSig;
|
|
1174
|
+
function registerClassComponent(filename, moduleExports) {
|
|
1175
|
+
for(const key in moduleExports)try {
|
|
1176
|
+
if (key === "__esModule") continue;
|
|
1177
|
+
const exportValue = moduleExports[key];
|
|
1178
|
+
if (_reactrefresh.isLikelyComponentType(exportValue) && exportValue.prototype && exportValue.prototype.isReactComponent) _reactrefresh.register(exportValue, filename + " " + key);
|
|
1179
|
+
} catch (e) {}
|
|
1180
|
+
}
|
|
1181
|
+
function $RefreshIsReactComponentLike$(moduleExports) {
|
|
1182
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports || moduleExports.default)) return true;
|
|
1183
|
+
for(var key in moduleExports)try {
|
|
1184
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports[key])) return true;
|
|
1185
|
+
} catch (e) {}
|
|
1186
|
+
return false;
|
|
1187
|
+
}
|
|
1188
|
+
registerClassComponent(module.id, module.exports);
|
|
1189
|
+
if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
1190
|
+
module.meta.hot.accept();
|
|
1191
|
+
_reactrefresh.performReactRefresh();
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
},
|
|
1195
|
+
"docs/demo/draggable.md?type=text": function (module, exports, __mako_require__){
|
|
1196
|
+
"use strict";
|
|
1197
|
+
__mako_require__.d(exports, "__esModule", {
|
|
1198
|
+
value: true
|
|
1199
|
+
});
|
|
1200
|
+
__mako_require__.d(exports, "texts", {
|
|
1201
|
+
enumerable: true,
|
|
1202
|
+
get: function() {
|
|
1203
|
+
return texts;
|
|
1204
|
+
}
|
|
1205
|
+
});
|
|
1206
|
+
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
1207
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_react-refresh@0.14.2@react-refresh/runtime.js"));
|
|
1208
|
+
__mako_require__("docs/demo/draggable.md?watch=parent");
|
|
1209
|
+
var prevRefreshReg;
|
|
1210
|
+
var prevRefreshSig;
|
|
1211
|
+
prevRefreshReg = self.$RefreshReg$;
|
|
1212
|
+
prevRefreshSig = self.$RefreshSig$;
|
|
1213
|
+
self.$RefreshReg$ = (type, id)=>{
|
|
1214
|
+
_reactrefresh.register(type, module.id + id);
|
|
1215
|
+
};
|
|
1216
|
+
self.$RefreshSig$ = _reactrefresh.createSignatureFunctionForTransform;
|
|
1217
|
+
const texts = [];
|
|
1218
|
+
if (prevRefreshReg) self.$RefreshReg$ = prevRefreshReg;
|
|
1219
|
+
if (prevRefreshSig) self.$RefreshSig$ = prevRefreshSig;
|
|
1220
|
+
function registerClassComponent(filename, moduleExports) {
|
|
1221
|
+
for(const key in moduleExports)try {
|
|
1222
|
+
if (key === "__esModule") continue;
|
|
1223
|
+
const exportValue = moduleExports[key];
|
|
1224
|
+
if (_reactrefresh.isLikelyComponentType(exportValue) && exportValue.prototype && exportValue.prototype.isReactComponent) _reactrefresh.register(exportValue, filename + " " + key);
|
|
1225
|
+
} catch (e) {}
|
|
1226
|
+
}
|
|
1227
|
+
function $RefreshIsReactComponentLike$(moduleExports) {
|
|
1228
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports || moduleExports.default)) return true;
|
|
1229
|
+
for(var key in moduleExports)try {
|
|
1230
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports[key])) return true;
|
|
1231
|
+
} catch (e) {}
|
|
1232
|
+
return false;
|
|
1233
|
+
}
|
|
1234
|
+
registerClassComponent(module.id, module.exports);
|
|
1235
|
+
if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
1236
|
+
module.meta.hot.accept();
|
|
1237
|
+
_reactrefresh.performReactRefresh();
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
},
|
|
1241
|
+
"docs/demo/multiple-Portal.md?type=demo": function (module, exports, __mako_require__){
|
|
1242
|
+
"use strict";
|
|
1243
|
+
var interop = __mako_require__("@swc/helpers/_/_interop_require_wildcard")._;
|
|
1244
|
+
__mako_require__.d(exports, "__esModule", {
|
|
1245
|
+
value: true
|
|
1246
|
+
});
|
|
1247
|
+
__mako_require__.d(exports, "demos", {
|
|
1248
|
+
enumerable: true,
|
|
1249
|
+
get: function() {
|
|
1250
|
+
return demos;
|
|
1251
|
+
}
|
|
1252
|
+
});
|
|
1253
|
+
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
1254
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_react-refresh@0.14.2@react-refresh/runtime.js"));
|
|
1255
|
+
var _react = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_react@18.3.1@react/index.js"));
|
|
1256
|
+
__mako_require__("docs/demo/multiple-Portal.md?watch=parent");
|
|
1257
|
+
var _rcdrawer = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_rc-drawer@7.2.0@rc-drawer/es/index.js"));
|
|
1258
|
+
var _indexcssasmodule = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_rc-drawer@7.2.0@rc-drawer/assets/index.css?asmodule"));
|
|
1259
|
+
var _rcdialog = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("src/index.ts"));
|
|
1260
|
+
var _indexlessasmodule = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("assets/index.less?asmodule"));
|
|
1261
|
+
var prevRefreshReg;
|
|
1262
|
+
var prevRefreshSig;
|
|
1263
|
+
prevRefreshReg = self.$RefreshReg$;
|
|
1264
|
+
prevRefreshSig = self.$RefreshSig$;
|
|
1265
|
+
self.$RefreshReg$ = (type, id)=>{
|
|
1266
|
+
_reactrefresh.register(type, module.id + id);
|
|
1267
|
+
};
|
|
1268
|
+
self.$RefreshSig$ = _reactrefresh.createSignatureFunctionForTransform;
|
|
1269
|
+
const demos = {
|
|
1270
|
+
'docs-demo-multiple-portal-demo-multiple-portal': {
|
|
1271
|
+
component: /*#__PURE__*/ _react.default.memo(/*#__PURE__*/ _react.default.lazy(()=>__mako_require__.ensure2("docs/examples/multiple-Portal.tsx?techStack=react").then(__mako_require__.dr(interop, __mako_require__.bind(__mako_require__, "docs/examples/multiple-Portal.tsx?techStack=react"))))),
|
|
1272
|
+
asset: {
|
|
1273
|
+
"type": "BLOCK",
|
|
1274
|
+
"id": "docs-demo-multiple-portal-demo-multiple-portal",
|
|
1275
|
+
"refAtomIds": [],
|
|
1276
|
+
"dependencies": {
|
|
1277
|
+
"index.tsx": {
|
|
1278
|
+
"type": "FILE",
|
|
1279
|
+
"value": __mako_require__("docs/examples/multiple-Portal.tsx?dumi-raw").default
|
|
1280
|
+
},
|
|
1281
|
+
"react": {
|
|
1282
|
+
"type": "NPM",
|
|
1283
|
+
"value": "18.3.1"
|
|
1284
|
+
},
|
|
1285
|
+
"rc-drawer": {
|
|
1286
|
+
"type": "NPM",
|
|
1287
|
+
"value": "7.2.0"
|
|
1288
|
+
},
|
|
1289
|
+
"@rc-component/dialog": {
|
|
1290
|
+
"type": "NPM",
|
|
1291
|
+
"value": "1.0.1"
|
|
1292
|
+
},
|
|
1293
|
+
"../../assets/index.less": {
|
|
1294
|
+
"type": "FILE",
|
|
1295
|
+
"value": __mako_require__("assets/index.less?dumi-raw").default
|
|
1296
|
+
}
|
|
1297
|
+
},
|
|
1298
|
+
"entry": "index.tsx"
|
|
1299
|
+
},
|
|
1300
|
+
context: {
|
|
1301
|
+
"../../assets/index.less": _indexlessasmodule,
|
|
1302
|
+
"react": _react,
|
|
1303
|
+
"rc-drawer": _rcdrawer,
|
|
1304
|
+
"rc-drawer/assets/index.css": _indexcssasmodule,
|
|
1305
|
+
"rc-dialog": _rcdialog,
|
|
1306
|
+
"/Users/jilin/projects/antd/rc-dialog/assets/index.less": _indexlessasmodule
|
|
1307
|
+
},
|
|
1308
|
+
renderOpts: {
|
|
1309
|
+
compile: async (...args)=>{
|
|
1310
|
+
return (await __mako_require__.ensure2("node_modules/_dumi@2.4.17@dumi/dist/client/misc/reactDemoCompiler.js").then(__mako_require__.dr(interop, __mako_require__.bind(__mako_require__, "node_modules/_dumi@2.4.17@dumi/dist/client/misc/reactDemoCompiler.js")))).default(...args);
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
}
|
|
1314
|
+
};
|
|
1315
|
+
if (prevRefreshReg) self.$RefreshReg$ = prevRefreshReg;
|
|
1316
|
+
if (prevRefreshSig) self.$RefreshSig$ = prevRefreshSig;
|
|
1317
|
+
function registerClassComponent(filename, moduleExports) {
|
|
1318
|
+
for(const key in moduleExports)try {
|
|
1319
|
+
if (key === "__esModule") continue;
|
|
1320
|
+
const exportValue = moduleExports[key];
|
|
1321
|
+
if (_reactrefresh.isLikelyComponentType(exportValue) && exportValue.prototype && exportValue.prototype.isReactComponent) _reactrefresh.register(exportValue, filename + " " + key);
|
|
1322
|
+
} catch (e) {}
|
|
1323
|
+
}
|
|
1324
|
+
function $RefreshIsReactComponentLike$(moduleExports) {
|
|
1325
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports || moduleExports.default)) return true;
|
|
1326
|
+
for(var key in moduleExports)try {
|
|
1327
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports[key])) return true;
|
|
1328
|
+
} catch (e) {}
|
|
1329
|
+
return false;
|
|
1330
|
+
}
|
|
1331
|
+
registerClassComponent(module.id, module.exports);
|
|
1332
|
+
if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
1333
|
+
module.meta.hot.accept();
|
|
1334
|
+
_reactrefresh.performReactRefresh();
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
},
|
|
1338
|
+
"docs/demo/multiple-Portal.md?type=text": function (module, exports, __mako_require__){
|
|
1339
|
+
"use strict";
|
|
1340
|
+
__mako_require__.d(exports, "__esModule", {
|
|
1341
|
+
value: true
|
|
1342
|
+
});
|
|
1343
|
+
__mako_require__.d(exports, "texts", {
|
|
1344
|
+
enumerable: true,
|
|
1345
|
+
get: function() {
|
|
1346
|
+
return texts;
|
|
1347
|
+
}
|
|
1348
|
+
});
|
|
1349
|
+
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
1350
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_react-refresh@0.14.2@react-refresh/runtime.js"));
|
|
1351
|
+
__mako_require__("docs/demo/multiple-Portal.md?watch=parent");
|
|
1352
|
+
var prevRefreshReg;
|
|
1353
|
+
var prevRefreshSig;
|
|
1354
|
+
prevRefreshReg = self.$RefreshReg$;
|
|
1355
|
+
prevRefreshSig = self.$RefreshSig$;
|
|
1356
|
+
self.$RefreshReg$ = (type, id)=>{
|
|
1357
|
+
_reactrefresh.register(type, module.id + id);
|
|
1358
|
+
};
|
|
1359
|
+
self.$RefreshSig$ = _reactrefresh.createSignatureFunctionForTransform;
|
|
1360
|
+
const texts = [];
|
|
1361
|
+
if (prevRefreshReg) self.$RefreshReg$ = prevRefreshReg;
|
|
1362
|
+
if (prevRefreshSig) self.$RefreshSig$ = prevRefreshSig;
|
|
1363
|
+
function registerClassComponent(filename, moduleExports) {
|
|
1364
|
+
for(const key in moduleExports)try {
|
|
1365
|
+
if (key === "__esModule") continue;
|
|
1366
|
+
const exportValue = moduleExports[key];
|
|
1367
|
+
if (_reactrefresh.isLikelyComponentType(exportValue) && exportValue.prototype && exportValue.prototype.isReactComponent) _reactrefresh.register(exportValue, filename + " " + key);
|
|
1368
|
+
} catch (e) {}
|
|
1369
|
+
}
|
|
1370
|
+
function $RefreshIsReactComponentLike$(moduleExports) {
|
|
1371
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports || moduleExports.default)) return true;
|
|
1372
|
+
for(var key in moduleExports)try {
|
|
1373
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports[key])) return true;
|
|
1374
|
+
} catch (e) {}
|
|
1375
|
+
return false;
|
|
1376
|
+
}
|
|
1377
|
+
registerClassComponent(module.id, module.exports);
|
|
1378
|
+
if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
1379
|
+
module.meta.hot.accept();
|
|
1380
|
+
_reactrefresh.performReactRefresh();
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
},
|
|
1384
|
+
"docs/demo/pure.md?type=demo": function (module, exports, __mako_require__){
|
|
1385
|
+
"use strict";
|
|
1386
|
+
var interop = __mako_require__("@swc/helpers/_/_interop_require_wildcard")._;
|
|
1387
|
+
__mako_require__.d(exports, "__esModule", {
|
|
1388
|
+
value: true
|
|
1389
|
+
});
|
|
1390
|
+
__mako_require__.d(exports, "demos", {
|
|
1391
|
+
enumerable: true,
|
|
1392
|
+
get: function() {
|
|
1393
|
+
return demos;
|
|
1394
|
+
}
|
|
1395
|
+
});
|
|
1396
|
+
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
1397
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_react-refresh@0.14.2@react-refresh/runtime.js"));
|
|
1398
|
+
var _react = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_react@18.3.1@react/index.js"));
|
|
1399
|
+
__mako_require__("docs/demo/pure.md?watch=parent");
|
|
1400
|
+
var _rcdialog = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("src/index.ts"));
|
|
1401
|
+
var _indexlessasmodule = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_rc-select@14.16.6@rc-select/assets/index.less?asmodule"));
|
|
1402
|
+
var _indexlessasmodule1 = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("assets/index.less?asmodule"));
|
|
1403
|
+
var prevRefreshReg;
|
|
1404
|
+
var prevRefreshSig;
|
|
1405
|
+
prevRefreshReg = self.$RefreshReg$;
|
|
1406
|
+
prevRefreshSig = self.$RefreshSig$;
|
|
1407
|
+
self.$RefreshReg$ = (type, id)=>{
|
|
1408
|
+
_reactrefresh.register(type, module.id + id);
|
|
1409
|
+
};
|
|
1410
|
+
self.$RefreshSig$ = _reactrefresh.createSignatureFunctionForTransform;
|
|
1411
|
+
const demos = {
|
|
1412
|
+
'docs-demo-pure-demo-pure': {
|
|
1413
|
+
component: /*#__PURE__*/ _react.default.memo(/*#__PURE__*/ _react.default.lazy(()=>__mako_require__.ensure2("docs/examples/pure.tsx?techStack=react").then(__mako_require__.dr(interop, __mako_require__.bind(__mako_require__, "docs/examples/pure.tsx?techStack=react"))))),
|
|
1414
|
+
asset: {
|
|
1415
|
+
"type": "BLOCK",
|
|
1416
|
+
"id": "docs-demo-pure-demo-pure",
|
|
1417
|
+
"refAtomIds": [],
|
|
1418
|
+
"dependencies": {
|
|
1419
|
+
"index.tsx": {
|
|
1420
|
+
"type": "FILE",
|
|
1421
|
+
"value": __mako_require__("docs/examples/pure.tsx?dumi-raw").default
|
|
1422
|
+
},
|
|
1423
|
+
"react": {
|
|
1424
|
+
"type": "NPM",
|
|
1425
|
+
"value": "18.3.1"
|
|
1426
|
+
},
|
|
1427
|
+
"@rc-component/dialog": {
|
|
1428
|
+
"type": "NPM",
|
|
1429
|
+
"value": "1.0.1"
|
|
1430
|
+
},
|
|
1431
|
+
"rc-select": {
|
|
1432
|
+
"type": "NPM",
|
|
1433
|
+
"value": "14.16.6"
|
|
1434
|
+
},
|
|
1435
|
+
"../../assets/index.less": {
|
|
1436
|
+
"type": "FILE",
|
|
1437
|
+
"value": __mako_require__("assets/index.less?dumi-raw").default
|
|
1438
|
+
}
|
|
1439
|
+
},
|
|
1440
|
+
"entry": "index.tsx"
|
|
1441
|
+
},
|
|
1442
|
+
context: {
|
|
1443
|
+
"../../assets/index.less": _indexlessasmodule1,
|
|
1444
|
+
"react": _react,
|
|
1445
|
+
"rc-dialog": _rcdialog,
|
|
1446
|
+
"rc-select/assets/index.less": _indexlessasmodule,
|
|
1447
|
+
"/Users/jilin/projects/antd/rc-dialog/assets/index.less": _indexlessasmodule1
|
|
1448
|
+
},
|
|
1449
|
+
renderOpts: {
|
|
1450
|
+
compile: async (...args)=>{
|
|
1451
|
+
return (await __mako_require__.ensure2("node_modules/_dumi@2.4.17@dumi/dist/client/misc/reactDemoCompiler.js").then(__mako_require__.dr(interop, __mako_require__.bind(__mako_require__, "node_modules/_dumi@2.4.17@dumi/dist/client/misc/reactDemoCompiler.js")))).default(...args);
|
|
1452
|
+
}
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
};
|
|
1456
|
+
if (prevRefreshReg) self.$RefreshReg$ = prevRefreshReg;
|
|
1457
|
+
if (prevRefreshSig) self.$RefreshSig$ = prevRefreshSig;
|
|
1458
|
+
function registerClassComponent(filename, moduleExports) {
|
|
1459
|
+
for(const key in moduleExports)try {
|
|
1460
|
+
if (key === "__esModule") continue;
|
|
1461
|
+
const exportValue = moduleExports[key];
|
|
1462
|
+
if (_reactrefresh.isLikelyComponentType(exportValue) && exportValue.prototype && exportValue.prototype.isReactComponent) _reactrefresh.register(exportValue, filename + " " + key);
|
|
1463
|
+
} catch (e) {}
|
|
1464
|
+
}
|
|
1465
|
+
function $RefreshIsReactComponentLike$(moduleExports) {
|
|
1466
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports || moduleExports.default)) return true;
|
|
1467
|
+
for(var key in moduleExports)try {
|
|
1468
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports[key])) return true;
|
|
1469
|
+
} catch (e) {}
|
|
1470
|
+
return false;
|
|
1471
|
+
}
|
|
1472
|
+
registerClassComponent(module.id, module.exports);
|
|
1473
|
+
if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
1474
|
+
module.meta.hot.accept();
|
|
1475
|
+
_reactrefresh.performReactRefresh();
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
},
|
|
1479
|
+
"docs/demo/pure.md?type=text": function (module, exports, __mako_require__){
|
|
1480
|
+
"use strict";
|
|
1481
|
+
__mako_require__.d(exports, "__esModule", {
|
|
1482
|
+
value: true
|
|
1483
|
+
});
|
|
1484
|
+
__mako_require__.d(exports, "texts", {
|
|
1485
|
+
enumerable: true,
|
|
1486
|
+
get: function() {
|
|
1487
|
+
return texts;
|
|
1488
|
+
}
|
|
1489
|
+
});
|
|
1490
|
+
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
1491
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_react-refresh@0.14.2@react-refresh/runtime.js"));
|
|
1492
|
+
__mako_require__("docs/demo/pure.md?watch=parent");
|
|
1493
|
+
var prevRefreshReg;
|
|
1494
|
+
var prevRefreshSig;
|
|
1495
|
+
prevRefreshReg = self.$RefreshReg$;
|
|
1496
|
+
prevRefreshSig = self.$RefreshSig$;
|
|
1497
|
+
self.$RefreshReg$ = (type, id)=>{
|
|
1498
|
+
_reactrefresh.register(type, module.id + id);
|
|
1499
|
+
};
|
|
1500
|
+
self.$RefreshSig$ = _reactrefresh.createSignatureFunctionForTransform;
|
|
1501
|
+
const texts = [];
|
|
1502
|
+
if (prevRefreshReg) self.$RefreshReg$ = prevRefreshReg;
|
|
1503
|
+
if (prevRefreshSig) self.$RefreshSig$ = prevRefreshSig;
|
|
1504
|
+
function registerClassComponent(filename, moduleExports) {
|
|
1505
|
+
for(const key in moduleExports)try {
|
|
1506
|
+
if (key === "__esModule") continue;
|
|
1507
|
+
const exportValue = moduleExports[key];
|
|
1508
|
+
if (_reactrefresh.isLikelyComponentType(exportValue) && exportValue.prototype && exportValue.prototype.isReactComponent) _reactrefresh.register(exportValue, filename + " " + key);
|
|
1509
|
+
} catch (e) {}
|
|
1510
|
+
}
|
|
1511
|
+
function $RefreshIsReactComponentLike$(moduleExports) {
|
|
1512
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports || moduleExports.default)) return true;
|
|
1513
|
+
for(var key in moduleExports)try {
|
|
1514
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports[key])) return true;
|
|
1515
|
+
} catch (e) {}
|
|
1516
|
+
return false;
|
|
1517
|
+
}
|
|
1518
|
+
registerClassComponent(module.id, module.exports);
|
|
1519
|
+
if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
1520
|
+
module.meta.hot.accept();
|
|
1521
|
+
_reactrefresh.performReactRefresh();
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1524
|
+
},
|
|
1525
|
+
"docs/examples/ant-design.tsx?dumi-raw": function (module, exports, __mako_require__){
|
|
1526
|
+
"use strict";
|
|
1527
|
+
__mako_require__.d(exports, "__esModule", {
|
|
1528
|
+
value: true
|
|
1529
|
+
});
|
|
1530
|
+
__mako_require__.d(exports, "default", {
|
|
1531
|
+
enumerable: true,
|
|
1532
|
+
get: function() {
|
|
1533
|
+
return _default;
|
|
1534
|
+
}
|
|
1535
|
+
});
|
|
1536
|
+
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
1537
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_react-refresh@0.14.2@react-refresh/runtime.js"));
|
|
1538
|
+
__mako_require__("docs/examples/ant-design.tsx?watch=parent");
|
|
1539
|
+
var prevRefreshReg;
|
|
1540
|
+
var prevRefreshSig;
|
|
1541
|
+
prevRefreshReg = self.$RefreshReg$;
|
|
1542
|
+
prevRefreshSig = self.$RefreshSig$;
|
|
1543
|
+
self.$RefreshReg$ = (type, id)=>{
|
|
1544
|
+
_reactrefresh.register(type, module.id + id);
|
|
1545
|
+
};
|
|
1546
|
+
self.$RefreshSig$ = _reactrefresh.createSignatureFunctionForTransform;
|
|
1547
|
+
var _default = "/* eslint no-console:0 */\nimport * as React from 'react';\nimport Select from 'rc-select';\nimport 'rc-select/assets/index.less';\nimport Dialog from 'rc-dialog';\nimport '../../assets/index.less';\n\nconst clearPath =\n 'M793 242H366v-74c0-6.7-7.7-10.4-12.9' +\n '-6.3l-142 112c-4.1 3.2-4.1 9.4 0 12.6l142 112c' +\n '5.2 4.1 12.9 0.4 12.9-6.3v-74h415v470H175c-4.4' +\n ' 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h618c35.3 0 64-' +\n '28.7 64-64V306c0-35.3-28.7-64-64-64z';\n\nconst getSvg = (path: string, props = {}, align = false) => (\n <i {...props}>\n <svg\n viewBox=\"0 0 1024 1024\"\n width=\"1em\"\n height=\"1em\"\n fill=\"currentColor\"\n style={align ? { verticalAlign: '-0.125em ' } : {}}\n >\n <path d={path} />\n </svg>\n </i>\n);\n\nconst MyControl: React.FC = () => {\n const [visible1, setVisible1] = React.useState(true);\n const [visible2, setVisible2] = React.useState(false);\n const [visible3, setVisible3] = React.useState(false);\n const [width, setWidth] = React.useState(600);\n const [destroyOnClose, setDestroyOnClose] = React.useState(false);\n const [center, setCenter] = React.useState(false);\n const [mousePosition, setMousePosition] = React.useState({ x: null, y: null });\n const [useIcon, setUseIcon] = React.useState(false);\n const [forceRender, setForceRender] = React.useState(false);\n\n const onClick = (e: React.MouseEvent) => {\n setMousePosition({ x: e.pageX, y: e.pageY });\n setVisible1(true);\n };\n\n const onClose = () => {\n setVisible1(false);\n };\n\n const onClose2 = () => {\n setVisible2(false);\n };\n\n const onClose3 = () => {\n setVisible3(false);\n };\n\n const closeAll = () => {\n setVisible1(false);\n setVisible2(false);\n setVisible3(false);\n };\n\n const onDestroyOnCloseChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n setDestroyOnClose(e.target.checked);\n };\n\n const onForceRenderChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n setForceRender(e.target.checked);\n };\n\n const changeWidth = () => {\n setWidth(width === 600 ? 800 : 600);\n };\n\n const centerEvent = (e: React.ChangeEvent<HTMLInputElement>) => {\n setCenter(e.target.checked);\n };\n\n const toggleCloseIcon = () => {\n setUseIcon(!useIcon);\n };\n\n const style = { width };\n\n let wrapClassName = '';\n if (center) {\n wrapClassName = 'center';\n }\n\n const dialog = (\n <Dialog\n visible={visible1}\n wrapClassName={wrapClassName}\n animation=\"zoom\"\n maskAnimation=\"fade\"\n onClose={onClose}\n style={style}\n title=\"dialog1\"\n mousePosition={mousePosition}\n destroyOnClose={destroyOnClose}\n closeIcon={useIcon ? getSvg(clearPath, {}, true) : undefined}\n forceRender={forceRender}\n focusTriggerAfterClose={false}\n >\n <input autoFocus />\n <p>basic modal</p>\n <button\n type=\"button\"\n onClick={() => {\n setVisible1(false);\n setVisible2(true);\n }}\n >\n 打开第二个并关闭当前的\n </button>\n <button\n type=\"button\"\n onClick={() => {\n setVisible2(true);\n }}\n >\n 打开第二个\n </button>\n <button type=\"button\" onClick={changeWidth}>\n change width\n </button>\n <button type=\"button\" onClick={toggleCloseIcon}>\n use custom icon, is using icon: {(useIcon && 'true') || 'false'}.\n </button>\n <div style={{ height: 200 }}>\n <Select dropdownStyle={{ zIndex: 9999999 }}>\n <Select.Option value=\"light\">Light</Select.Option>\n </Select>\n </div>\n </Dialog>\n );\n\n const dialog2 = (\n <Dialog visible={visible2} title=\"dialog2\" onClose={onClose2}>\n <input autoFocus />\n <p>basic modal</p>\n <button\n type=\"button\"\n onClick={() => {\n setVisible3(true);\n }}\n >\n 打开第三个\n </button>\n <button\n type=\"button\"\n onClick={() => {\n setVisible2(false);\n }}\n >\n 关闭当前\n </button>\n <button type=\"button\" onClick={closeAll}>\n 关闭所有\n </button>\n <button type=\"button\" onClick={changeWidth}>\n change width\n </button>\n <button type=\"button\" onClick={toggleCloseIcon}>\n use custom icon, is using icon: {(useIcon && 'true') || 'false'}.\n </button>\n <div style={{ height: 200 }} />\n </Dialog>\n );\n\n const dialog3 = (\n <Dialog forceRender title=\"dialog3\" visible={visible3} onClose={onClose3}>\n <p>initialized with forceRender and visbile true</p>\n <button\n type=\"button\"\n onClick={() => {\n setVisible3(false);\n }}\n >\n 关闭当前\n </button>\n <button type=\"button\" onClick={closeAll}>\n 关闭所有\n </button>\n <button type=\"button\" onClick={changeWidth}>\n change width\n </button>\n <button type=\"button\" onClick={toggleCloseIcon}>\n use custom icon, is using icon: {(useIcon && 'true') || 'false'}.\n </button>\n <div style={{ height: 200 }} />\n </Dialog>\n );\n\n return (\n <React.StrictMode>\n <div style={{ width: '90%', margin: '0 auto', height: '150vh' }}>\n <style>\n {`\n .center {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n `}\n </style>\n <p>\n <button type=\"button\" className=\"btn btn-primary\" onClick={onClick}>\n show dialog\n </button>\n \n <label>\n destroy on close:\n <input type=\"checkbox\" checked={destroyOnClose} onChange={onDestroyOnCloseChange} />\n </label>\n \n <label>\n center\n <input type=\"checkbox\" checked={center} onChange={centerEvent} />\n </label>\n \n <label>\n force render\n <input type=\"checkbox\" checked={forceRender} onChange={onForceRenderChange} />\n </label>\n <input placeholder=\"Useless Input\" onClick={onClick} />\n </p>\n {dialog}\n {dialog2}\n {dialog3}\n </div>\n </React.StrictMode>\n );\n};\n\nexport default MyControl;\n";
|
|
1548
|
+
if (prevRefreshReg) self.$RefreshReg$ = prevRefreshReg;
|
|
1549
|
+
if (prevRefreshSig) self.$RefreshSig$ = prevRefreshSig;
|
|
1550
|
+
function registerClassComponent(filename, moduleExports) {
|
|
1551
|
+
for(const key in moduleExports)try {
|
|
1552
|
+
if (key === "__esModule") continue;
|
|
1553
|
+
const exportValue = moduleExports[key];
|
|
1554
|
+
if (_reactrefresh.isLikelyComponentType(exportValue) && exportValue.prototype && exportValue.prototype.isReactComponent) _reactrefresh.register(exportValue, filename + " " + key);
|
|
1555
|
+
} catch (e) {}
|
|
1556
|
+
}
|
|
1557
|
+
function $RefreshIsReactComponentLike$(moduleExports) {
|
|
1558
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports || moduleExports.default)) return true;
|
|
1559
|
+
for(var key in moduleExports)try {
|
|
1560
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports[key])) return true;
|
|
1561
|
+
} catch (e) {}
|
|
1562
|
+
return false;
|
|
1563
|
+
}
|
|
1564
|
+
registerClassComponent(module.id, module.exports);
|
|
1565
|
+
if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
1566
|
+
module.meta.hot.accept();
|
|
1567
|
+
_reactrefresh.performReactRefresh();
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
},
|
|
1571
|
+
"docs/examples/bootstrap.tsx?dumi-raw": function (module, exports, __mako_require__){
|
|
1572
|
+
"use strict";
|
|
1573
|
+
__mako_require__.d(exports, "__esModule", {
|
|
1574
|
+
value: true
|
|
1575
|
+
});
|
|
1576
|
+
__mako_require__.d(exports, "default", {
|
|
1577
|
+
enumerable: true,
|
|
1578
|
+
get: function() {
|
|
1579
|
+
return _default;
|
|
1580
|
+
}
|
|
1581
|
+
});
|
|
1582
|
+
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
1583
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_react-refresh@0.14.2@react-refresh/runtime.js"));
|
|
1584
|
+
__mako_require__("docs/examples/bootstrap.tsx?watch=parent");
|
|
1585
|
+
var prevRefreshReg;
|
|
1586
|
+
var prevRefreshSig;
|
|
1587
|
+
prevRefreshReg = self.$RefreshReg$;
|
|
1588
|
+
prevRefreshSig = self.$RefreshSig$;
|
|
1589
|
+
self.$RefreshReg$ = (type, id)=>{
|
|
1590
|
+
_reactrefresh.register(type, module.id + id);
|
|
1591
|
+
};
|
|
1592
|
+
self.$RefreshSig$ = _reactrefresh.createSignatureFunctionForTransform;
|
|
1593
|
+
var _default = "import React from 'react';\nimport Dialog from 'rc-dialog';\nimport 'bootstrap/dist/css/bootstrap.css';\nimport '../../assets/bootstrap.less';\n\n// Check for memo update should work\nconst InnerRender: React.FC = () => {\n console.log('Updated...', Date.now());\n return null;\n};\n\nconst MyControl: React.FC = () => {\n const [visible, setVisible] = React.useState(false);\n const [destroyOnClose, setDestroyOnClose] = React.useState(false);\n\n const onClick = () => {\n setVisible(true);\n };\n\n const onClose = () => {\n setVisible(false);\n };\n\n const onDestroyOnCloseChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n setDestroyOnClose(e.target.checked);\n };\n\n const dialog = (\n <Dialog\n visible={visible}\n destroyOnClose={destroyOnClose}\n animation=\"slide-fade\"\n maskAnimation=\"fade\"\n onClose={onClose}\n style={{ width: 600 }}\n title={<div>第二个弹框</div>}\n footer={[\n <button type=\"button\" className=\"btn btn-default\" key=\"close\" onClick={onClose}>\n Close\n </button>,\n <button type=\"button\" className=\"btn btn-primary\" key=\"save\" onClick={onClose}>\n Save changes\n </button>,\n ]}\n >\n <InnerRender />\n <h4>Text in a modal</h4>\n <p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</p>\n <hr />\n <h4>Overflowing text to show scroll behavior</h4>\n <p>\n Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in,\n egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.\n </p>\n <p>\n <button type=\"button\" className=\"btn btn-primary\">\n Primary\n </button>{' '}\n <button type=\"button\" className=\"btn btn-secondary\">\n Secondary\n </button>{' '}\n <button type=\"button\" className=\"btn btn-success\">\n Success\n </button>{' '}\n <button type=\"button\" className=\"btn btn-danger\">\n Danger\n </button>{' '}\n <button type=\"button\" className=\"btn btn-warning\">\n Warning\n </button>{' '}\n <button type=\"button\" className=\"btn btn-info\">\n Info\n </button>{' '}\n </p>\n <p>\n Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus\n vel augue laoreet rutrum faucibus dolor auctor.\n </p>\n <div style={{ display: '' }}>\n <p>\n Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n auctor fringilla.\n </p>\n <p>\n Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis\n in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.\n </p>\n <p>\n Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus\n vel augue laoreet rutrum faucibus dolor auctor.\n </p>\n <p>\n Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n auctor fringilla.\n </p>\n <p>\n Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis\n in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.\n </p>\n <p>\n Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus\n vel augue laoreet rutrum faucibus dolor auctor.\n </p>\n <p>\n Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n auctor fringilla.\n </p>\n </div>\n </Dialog>\n );\n\n return (\n <div style={{ margin: 20 }}>\n <p>\n <button type=\"button\" className=\"btn btn-primary\" onClick={onClick}>\n show dialog\n </button>\n \n <label>\n destroy on close:\n <input type=\"checkbox\" checked={destroyOnClose} onChange={onDestroyOnCloseChange} />\n </label>\n </p>\n {dialog}\n </div>\n );\n};\n\nexport default MyControl;\n";
|
|
1594
|
+
if (prevRefreshReg) self.$RefreshReg$ = prevRefreshReg;
|
|
1595
|
+
if (prevRefreshSig) self.$RefreshSig$ = prevRefreshSig;
|
|
1596
|
+
function registerClassComponent(filename, moduleExports) {
|
|
1597
|
+
for(const key in moduleExports)try {
|
|
1598
|
+
if (key === "__esModule") continue;
|
|
1599
|
+
const exportValue = moduleExports[key];
|
|
1600
|
+
if (_reactrefresh.isLikelyComponentType(exportValue) && exportValue.prototype && exportValue.prototype.isReactComponent) _reactrefresh.register(exportValue, filename + " " + key);
|
|
1601
|
+
} catch (e) {}
|
|
1602
|
+
}
|
|
1603
|
+
function $RefreshIsReactComponentLike$(moduleExports) {
|
|
1604
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports || moduleExports.default)) return true;
|
|
1605
|
+
for(var key in moduleExports)try {
|
|
1606
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports[key])) return true;
|
|
1607
|
+
} catch (e) {}
|
|
1608
|
+
return false;
|
|
1609
|
+
}
|
|
1610
|
+
registerClassComponent(module.id, module.exports);
|
|
1611
|
+
if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
1612
|
+
module.meta.hot.accept();
|
|
1613
|
+
_reactrefresh.performReactRefresh();
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1616
|
+
},
|
|
1617
|
+
"docs/examples/draggable.tsx?dumi-raw": function (module, exports, __mako_require__){
|
|
1618
|
+
"use strict";
|
|
1619
|
+
__mako_require__.d(exports, "__esModule", {
|
|
1620
|
+
value: true
|
|
1621
|
+
});
|
|
1622
|
+
__mako_require__.d(exports, "default", {
|
|
1623
|
+
enumerable: true,
|
|
1624
|
+
get: function() {
|
|
1625
|
+
return _default;
|
|
1626
|
+
}
|
|
1627
|
+
});
|
|
1628
|
+
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
1629
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_react-refresh@0.14.2@react-refresh/runtime.js"));
|
|
1630
|
+
__mako_require__("docs/examples/draggable.tsx?watch=parent");
|
|
1631
|
+
var prevRefreshReg;
|
|
1632
|
+
var prevRefreshSig;
|
|
1633
|
+
prevRefreshReg = self.$RefreshReg$;
|
|
1634
|
+
prevRefreshSig = self.$RefreshSig$;
|
|
1635
|
+
self.$RefreshReg$ = (type, id)=>{
|
|
1636
|
+
_reactrefresh.register(type, module.id + id);
|
|
1637
|
+
};
|
|
1638
|
+
self.$RefreshSig$ = _reactrefresh.createSignatureFunctionForTransform;
|
|
1639
|
+
var _default = "import 'bootstrap/dist/css/bootstrap.css';\nimport * as React from 'react';\nimport Draggable from 'react-draggable';\nimport Dialog from 'rc-dialog';\nimport '../../assets/index.less';\n\nconst MyControl: React.FC = () => {\n const [visible, setVisible] = React.useState(false);\n const [disabled, setDisabled] = React.useState(true);\n const onClick = () => {\n setVisible(true);\n };\n const onClose = () => {\n setVisible(false);\n };\n return (\n <div style={{ margin: 20 }}>\n <p>\n <button type=\"button\" className=\"btn btn-primary\" onClick={onClick}>\n show dialog\n </button>\n </p>\n <Dialog\n visible={visible}\n animation=\"slide-fade\"\n maskAnimation=\"fade\"\n onClose={onClose}\n style={{ width: 600 }}\n title={\n <div\n style={{ width: '100%', cursor: 'pointer' }}\n onMouseOver={() => {\n if (disabled) {\n setDisabled(false);\n }\n }}\n onMouseOut={() => {\n setDisabled(true);\n }}\n // fix eslintjsx-a11y/mouse-events-have-key-events\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/mouse-events-have-key-events.md\n onFocus={() => {}}\n onBlur={() => {}}\n // end\n >\n modal\n </div>\n }\n modalRender={(modal) => <Draggable disabled={disabled}>{modal}</Draggable>}\n >\n <div style={{ height: 200 }}>\n Day before yesterday I saw a rabbit, and yesterday a deer, and today, you.\n </div>\n </Dialog>\n </div>\n );\n};\n\nexport default MyControl;\n";
|
|
1640
|
+
if (prevRefreshReg) self.$RefreshReg$ = prevRefreshReg;
|
|
1641
|
+
if (prevRefreshSig) self.$RefreshSig$ = prevRefreshSig;
|
|
1642
|
+
function registerClassComponent(filename, moduleExports) {
|
|
1643
|
+
for(const key in moduleExports)try {
|
|
1644
|
+
if (key === "__esModule") continue;
|
|
1645
|
+
const exportValue = moduleExports[key];
|
|
1646
|
+
if (_reactrefresh.isLikelyComponentType(exportValue) && exportValue.prototype && exportValue.prototype.isReactComponent) _reactrefresh.register(exportValue, filename + " " + key);
|
|
1647
|
+
} catch (e) {}
|
|
1648
|
+
}
|
|
1649
|
+
function $RefreshIsReactComponentLike$(moduleExports) {
|
|
1650
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports || moduleExports.default)) return true;
|
|
1651
|
+
for(var key in moduleExports)try {
|
|
1652
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports[key])) return true;
|
|
1653
|
+
} catch (e) {}
|
|
1654
|
+
return false;
|
|
1655
|
+
}
|
|
1656
|
+
registerClassComponent(module.id, module.exports);
|
|
1657
|
+
if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
1658
|
+
module.meta.hot.accept();
|
|
1659
|
+
_reactrefresh.performReactRefresh();
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
},
|
|
1663
|
+
"docs/examples/multiple-Portal.tsx?dumi-raw": function (module, exports, __mako_require__){
|
|
1664
|
+
"use strict";
|
|
1665
|
+
__mako_require__.d(exports, "__esModule", {
|
|
1666
|
+
value: true
|
|
1667
|
+
});
|
|
1668
|
+
__mako_require__.d(exports, "default", {
|
|
1669
|
+
enumerable: true,
|
|
1670
|
+
get: function() {
|
|
1671
|
+
return _default;
|
|
1672
|
+
}
|
|
1673
|
+
});
|
|
1674
|
+
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
1675
|
+
var _reactrefresh = _interop_require_wildcard._(__mako_require__("node_modules/_react-refresh@0.14.2@react-refresh/runtime.js"));
|
|
1676
|
+
__mako_require__("docs/examples/multiple-Portal.tsx?watch=parent");
|
|
1677
|
+
var prevRefreshReg;
|
|
1678
|
+
var prevRefreshSig;
|
|
1679
|
+
prevRefreshReg = self.$RefreshReg$;
|
|
1680
|
+
prevRefreshSig = self.$RefreshSig$;
|
|
1681
|
+
self.$RefreshReg$ = (type, id)=>{
|
|
1682
|
+
_reactrefresh.register(type, module.id + id);
|
|
1683
|
+
};
|
|
1684
|
+
self.$RefreshSig$ = _reactrefresh.createSignatureFunctionForTransform;
|
|
1685
|
+
var _default = "import * as React from 'react';\nimport Drawer from 'rc-drawer';\nimport 'rc-drawer/assets/index.css';\nimport Dialog from 'rc-dialog';\nimport '../../assets/index.less';\n\nconst Demo: React.FC = () => {\n const [showDialog, setShowDialog] = React.useState(false);\n const [showDrawer, setShowDrawer] = React.useState(false);\n\n const onToggleDrawer = () => {\n setShowDrawer((value) => !value);\n };\n\n const onToggleDialog = () => {\n setShowDialog((value) => !value);\n };\n\n const dialog = (\n <Dialog\n visible={showDialog}\n animation=\"zoom\"\n maskAnimation=\"fade\"\n onClose={onToggleDialog}\n forceRender\n title=\"basic modal\"\n >\n <p>\n <button type=\"button\" onClick={onToggleDrawer}>\n show drawer\n </button>\n </p>\n <div style={{ height: 200 }} />\n </Dialog>\n );\n const drawer = (\n <Drawer open={showDrawer} onClose={onToggleDrawer}>\n <button type=\"button\" onClick={onToggleDrawer}>\n close drawer\n </button>\n </Drawer>\n );\n return (\n <div>\n <button type=\"button\" onClick={onToggleDialog}>\n open dialog\n </button>\n <button\n type=\"button\"\n onClick={() => {\n setShowDialog(true);\n setTimeout(() => {\n setShowDialog(false);\n }, 0);\n }}\n >\n quick\n </button>\n {dialog}\n {drawer}\n </div>\n );\n};\n\nexport default Demo;\n";
|
|
1686
|
+
if (prevRefreshReg) self.$RefreshReg$ = prevRefreshReg;
|
|
1687
|
+
if (prevRefreshSig) self.$RefreshSig$ = prevRefreshSig;
|
|
1688
|
+
function registerClassComponent(filename, moduleExports) {
|
|
1689
|
+
for(const key in moduleExports)try {
|
|
1690
|
+
if (key === "__esModule") continue;
|
|
1691
|
+
const exportValue = moduleExports[key];
|
|
1692
|
+
if (_reactrefresh.isLikelyComponentType(exportValue) && exportValue.prototype && exportValue.prototype.isReactComponent) _reactrefresh.register(exportValue, filename + " " + key);
|
|
1693
|
+
} catch (e) {}
|
|
1694
|
+
}
|
|
1695
|
+
function $RefreshIsReactComponentLike$(moduleExports) {
|
|
1696
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports || moduleExports.default)) return true;
|
|
1697
|
+
for(var key in moduleExports)try {
|
|
1698
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports[key])) return true;
|
|
1699
|
+
} catch (e) {}
|
|
1700
|
+
return false;
|
|
1701
|
+
}
|
|
1702
|
+
registerClassComponent(module.id, module.exports);
|
|
1703
|
+
if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
1704
|
+
module.meta.hot.accept();
|
|
1705
|
+
_reactrefresh.performReactRefresh();
|
|
1706
|
+
}
|
|
1707
|
+
|
|
1708
|
+
},
|
|
1709
|
+
"docs/examples/pure.tsx?dumi-raw": function (module, exports, __mako_require__){
|
|
1710
|
+
"use strict";
|
|
1711
|
+
__mako_require__.d(exports, "__esModule", {
|
|
1712
|
+
value: true
|
|
1713
|
+
});
|
|
1714
|
+
__mako_require__.d(exports, "default", {
|
|
1715
|
+
enumerable: true,
|
|
1716
|
+
get: function() {
|
|
1717
|
+
return _default;
|
|
1718
|
+
}
|
|
1719
|
+
});
|
|
1720
|
+
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
1721
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_react-refresh@0.14.2@react-refresh/runtime.js"));
|
|
1722
|
+
__mako_require__("docs/examples/pure.tsx?watch=parent");
|
|
1723
|
+
var prevRefreshReg;
|
|
1724
|
+
var prevRefreshSig;
|
|
1725
|
+
prevRefreshReg = self.$RefreshReg$;
|
|
1726
|
+
prevRefreshSig = self.$RefreshSig$;
|
|
1727
|
+
self.$RefreshReg$ = (type, id)=>{
|
|
1728
|
+
_reactrefresh.register(type, module.id + id);
|
|
1729
|
+
};
|
|
1730
|
+
self.$RefreshSig$ = _reactrefresh.createSignatureFunctionForTransform;
|
|
1731
|
+
var _default = "import React from 'react';\nimport { Panel } from 'rc-dialog';\nimport 'rc-select/assets/index.less';\nimport '../../assets/index.less';\n\nconst Demo: React.FC = () => (\n <Panel prefixCls=\"rc-dialog\" title=\"Title\" closable>\n Hello World!\n </Panel>\n);\n\nexport default Demo;\n";
|
|
1732
|
+
if (prevRefreshReg) self.$RefreshReg$ = prevRefreshReg;
|
|
1733
|
+
if (prevRefreshSig) self.$RefreshSig$ = prevRefreshSig;
|
|
1734
|
+
function registerClassComponent(filename, moduleExports) {
|
|
1735
|
+
for(const key in moduleExports)try {
|
|
1736
|
+
if (key === "__esModule") continue;
|
|
1737
|
+
const exportValue = moduleExports[key];
|
|
1738
|
+
if (_reactrefresh.isLikelyComponentType(exportValue) && exportValue.prototype && exportValue.prototype.isReactComponent) _reactrefresh.register(exportValue, filename + " " + key);
|
|
1739
|
+
} catch (e) {}
|
|
1740
|
+
}
|
|
1741
|
+
function $RefreshIsReactComponentLike$(moduleExports) {
|
|
1742
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports || moduleExports.default)) return true;
|
|
1743
|
+
for(var key in moduleExports)try {
|
|
1744
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports[key])) return true;
|
|
1745
|
+
} catch (e) {}
|
|
1746
|
+
return false;
|
|
1747
|
+
}
|
|
1748
|
+
registerClassComponent(module.id, module.exports);
|
|
1749
|
+
if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
1750
|
+
module.meta.hot.accept();
|
|
1751
|
+
_reactrefresh.performReactRefresh();
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1754
|
+
},
|
|
1755
|
+
"docs/index.md?type=demo": function (module, exports, __mako_require__){
|
|
1756
|
+
"use strict";
|
|
1757
|
+
__mako_require__.d(exports, "__esModule", {
|
|
1758
|
+
value: true
|
|
1759
|
+
});
|
|
1760
|
+
__mako_require__.d(exports, "demos", {
|
|
1761
|
+
enumerable: true,
|
|
1762
|
+
get: function() {
|
|
1763
|
+
return demos;
|
|
1764
|
+
}
|
|
1765
|
+
});
|
|
1766
|
+
var _interop_require_default = __mako_require__("@swc/helpers/_/_interop_require_default");
|
|
1767
|
+
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
1768
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_react-refresh@0.14.2@react-refresh/runtime.js"));
|
|
1769
|
+
var _react = /*#__PURE__*/ _interop_require_default._(__mako_require__("node_modules/_react@18.3.1@react/index.js"));
|
|
1770
|
+
__mako_require__("docs/index.md?watch=parent");
|
|
1771
|
+
var prevRefreshReg;
|
|
1772
|
+
var prevRefreshSig;
|
|
1773
|
+
prevRefreshReg = self.$RefreshReg$;
|
|
1774
|
+
prevRefreshSig = self.$RefreshSig$;
|
|
1775
|
+
self.$RefreshReg$ = (type, id)=>{
|
|
1776
|
+
_reactrefresh.register(type, module.id + id);
|
|
1777
|
+
};
|
|
1778
|
+
self.$RefreshSig$ = _reactrefresh.createSignatureFunctionForTransform;
|
|
1779
|
+
const demos = {};
|
|
1780
|
+
if (prevRefreshReg) self.$RefreshReg$ = prevRefreshReg;
|
|
1781
|
+
if (prevRefreshSig) self.$RefreshSig$ = prevRefreshSig;
|
|
1782
|
+
function registerClassComponent(filename, moduleExports) {
|
|
1783
|
+
for(const key in moduleExports)try {
|
|
1784
|
+
if (key === "__esModule") continue;
|
|
1785
|
+
const exportValue = moduleExports[key];
|
|
1786
|
+
if (_reactrefresh.isLikelyComponentType(exportValue) && exportValue.prototype && exportValue.prototype.isReactComponent) _reactrefresh.register(exportValue, filename + " " + key);
|
|
1787
|
+
} catch (e) {}
|
|
1788
|
+
}
|
|
1789
|
+
function $RefreshIsReactComponentLike$(moduleExports) {
|
|
1790
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports || moduleExports.default)) return true;
|
|
1791
|
+
for(var key in moduleExports)try {
|
|
1792
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports[key])) return true;
|
|
1793
|
+
} catch (e) {}
|
|
1794
|
+
return false;
|
|
1795
|
+
}
|
|
1796
|
+
registerClassComponent(module.id, module.exports);
|
|
1797
|
+
if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
1798
|
+
module.meta.hot.accept();
|
|
1799
|
+
_reactrefresh.performReactRefresh();
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
},
|
|
1803
|
+
"docs/index.md?type=text": function (module, exports, __mako_require__){
|
|
1804
|
+
"use strict";
|
|
1805
|
+
__mako_require__.d(exports, "__esModule", {
|
|
1806
|
+
value: true
|
|
1807
|
+
});
|
|
1808
|
+
__mako_require__.d(exports, "texts", {
|
|
1809
|
+
enumerable: true,
|
|
1810
|
+
get: function() {
|
|
1811
|
+
return texts;
|
|
1812
|
+
}
|
|
1813
|
+
});
|
|
1814
|
+
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
1815
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/_react-refresh@0.14.2@react-refresh/runtime.js"));
|
|
1816
|
+
__mako_require__("docs/index.md?watch=parent");
|
|
1817
|
+
var prevRefreshReg;
|
|
1818
|
+
var prevRefreshSig;
|
|
1819
|
+
prevRefreshReg = self.$RefreshReg$;
|
|
1820
|
+
prevRefreshSig = self.$RefreshSig$;
|
|
1821
|
+
self.$RefreshReg$ = (type, id)=>{
|
|
1822
|
+
_reactrefresh.register(type, module.id + id);
|
|
1823
|
+
};
|
|
1824
|
+
self.$RefreshSig$ = _reactrefresh.createSignatureFunctionForTransform;
|
|
1825
|
+
const texts = [
|
|
1826
|
+
{
|
|
1827
|
+
"value": "react dialog component",
|
|
1828
|
+
"paraId": 0,
|
|
1829
|
+
"tocIndex": 0
|
|
1830
|
+
},
|
|
1831
|
+
{
|
|
1832
|
+
"value": " ",
|
|
1833
|
+
"paraId": 1,
|
|
1834
|
+
"tocIndex": 0
|
|
1835
|
+
},
|
|
1836
|
+
{
|
|
1837
|
+
"value": " ",
|
|
1838
|
+
"paraId": 1,
|
|
1839
|
+
"tocIndex": 0
|
|
1840
|
+
},
|
|
1841
|
+
{
|
|
1842
|
+
"value": " ",
|
|
1843
|
+
"paraId": 1,
|
|
1844
|
+
"tocIndex": 0
|
|
1845
|
+
},
|
|
1846
|
+
{
|
|
1847
|
+
"value": " ",
|
|
1848
|
+
"paraId": 1,
|
|
1849
|
+
"tocIndex": 0
|
|
1850
|
+
},
|
|
1851
|
+
{
|
|
1852
|
+
"value": " ",
|
|
1853
|
+
"paraId": 1,
|
|
1854
|
+
"tocIndex": 0
|
|
1855
|
+
},
|
|
1856
|
+
{
|
|
1857
|
+
"value": "http://localhost:8007/examples/",
|
|
1858
|
+
"paraId": 2,
|
|
1859
|
+
"tocIndex": 2
|
|
1860
|
+
},
|
|
1861
|
+
{
|
|
1862
|
+
"value": "online example: ",
|
|
1863
|
+
"paraId": 3,
|
|
1864
|
+
"tocIndex": 2
|
|
1865
|
+
},
|
|
1866
|
+
{
|
|
1867
|
+
"value": "https://dialog.react-component.vercel.app/",
|
|
1868
|
+
"paraId": 3,
|
|
1869
|
+
"tocIndex": 2
|
|
1870
|
+
},
|
|
1871
|
+
{
|
|
1872
|
+
"value": "var Dialog = require('rc-dialog');\n\nReactDOM.render(\n <Dialog title={title} onClose={callback1} visible>\n <p>first dialog</p>\n </Dialog>\n), document.getElementById('t1'));\n\n// use dialog\n",
|
|
1873
|
+
"paraId": 4,
|
|
1874
|
+
"tocIndex": 4
|
|
1875
|
+
},
|
|
1876
|
+
{
|
|
1877
|
+
"value": "Name",
|
|
1878
|
+
"paraId": 5,
|
|
1879
|
+
"tocIndex": 6
|
|
1880
|
+
},
|
|
1881
|
+
{
|
|
1882
|
+
"value": "Type",
|
|
1883
|
+
"paraId": 5,
|
|
1884
|
+
"tocIndex": 6
|
|
1885
|
+
},
|
|
1886
|
+
{
|
|
1887
|
+
"value": "Default",
|
|
1888
|
+
"paraId": 5,
|
|
1889
|
+
"tocIndex": 6
|
|
1890
|
+
},
|
|
1891
|
+
{
|
|
1892
|
+
"value": "Description",
|
|
1893
|
+
"paraId": 5,
|
|
1894
|
+
"tocIndex": 6
|
|
1895
|
+
},
|
|
1896
|
+
{
|
|
1897
|
+
"value": "Version",
|
|
1898
|
+
"paraId": 5,
|
|
1899
|
+
"tocIndex": 6
|
|
1900
|
+
},
|
|
1901
|
+
{
|
|
1902
|
+
"value": "prefixCls",
|
|
1903
|
+
"paraId": 5,
|
|
1904
|
+
"tocIndex": 6
|
|
1905
|
+
},
|
|
1906
|
+
{
|
|
1907
|
+
"value": "String",
|
|
1908
|
+
"paraId": 5,
|
|
1909
|
+
"tocIndex": 6
|
|
1910
|
+
},
|
|
1911
|
+
{
|
|
1912
|
+
"value": "rc-dialog",
|
|
1913
|
+
"paraId": 5,
|
|
1914
|
+
"tocIndex": 6
|
|
1915
|
+
},
|
|
1916
|
+
{
|
|
1917
|
+
"value": "The dialog dom node's prefixCls",
|
|
1918
|
+
"paraId": 5,
|
|
1919
|
+
"tocIndex": 6
|
|
1920
|
+
},
|
|
1921
|
+
{
|
|
1922
|
+
"value": "className",
|
|
1923
|
+
"paraId": 5,
|
|
1924
|
+
"tocIndex": 6
|
|
1925
|
+
},
|
|
1926
|
+
{
|
|
1927
|
+
"value": "String",
|
|
1928
|
+
"paraId": 5,
|
|
1929
|
+
"tocIndex": 6
|
|
1930
|
+
},
|
|
1931
|
+
{
|
|
1932
|
+
"value": "additional className for dialog",
|
|
1933
|
+
"paraId": 5,
|
|
1934
|
+
"tocIndex": 6
|
|
1935
|
+
},
|
|
1936
|
+
{
|
|
1937
|
+
"value": "classNames",
|
|
1938
|
+
"paraId": 5,
|
|
1939
|
+
"tocIndex": 6
|
|
1940
|
+
},
|
|
1941
|
+
{
|
|
1942
|
+
"value": "{ header?: string; body?: string; footer?: string; mask?: string; content?: string; wrapper?: string; }",
|
|
1943
|
+
"paraId": 5,
|
|
1944
|
+
"tocIndex": 6
|
|
1945
|
+
},
|
|
1946
|
+
{
|
|
1947
|
+
"value": "pass className to target area",
|
|
1948
|
+
"paraId": 5,
|
|
1949
|
+
"tocIndex": 6
|
|
1950
|
+
},
|
|
1951
|
+
{
|
|
1952
|
+
"value": "styles",
|
|
1953
|
+
"paraId": 5,
|
|
1954
|
+
"tocIndex": 6
|
|
1955
|
+
},
|
|
1956
|
+
{
|
|
1957
|
+
"value": "{ header?: CSSProperties; body?: CSSProperties; footer?: CSSProperties; mask?: CSSProperties; content?: CSSProperties; wrapper?: CSSProperties; }",
|
|
1958
|
+
"paraId": 5,
|
|
1959
|
+
"tocIndex": 6
|
|
1960
|
+
},
|
|
1961
|
+
{
|
|
1962
|
+
"value": "pass styles to target area",
|
|
1963
|
+
"paraId": 5,
|
|
1964
|
+
"tocIndex": 6
|
|
1965
|
+
},
|
|
1966
|
+
{
|
|
1967
|
+
"value": "style",
|
|
1968
|
+
"paraId": 5,
|
|
1969
|
+
"tocIndex": 6
|
|
1970
|
+
},
|
|
1971
|
+
{
|
|
1972
|
+
"value": "Object",
|
|
1973
|
+
"paraId": 5,
|
|
1974
|
+
"tocIndex": 6
|
|
1975
|
+
},
|
|
1976
|
+
{
|
|
1977
|
+
"value": "{}",
|
|
1978
|
+
"paraId": 5,
|
|
1979
|
+
"tocIndex": 6
|
|
1980
|
+
},
|
|
1981
|
+
{
|
|
1982
|
+
"value": "Root style for dialog element.Such as width, height",
|
|
1983
|
+
"paraId": 5,
|
|
1984
|
+
"tocIndex": 6
|
|
1985
|
+
},
|
|
1986
|
+
{
|
|
1987
|
+
"value": "zIndex",
|
|
1988
|
+
"paraId": 5,
|
|
1989
|
+
"tocIndex": 6
|
|
1990
|
+
},
|
|
1991
|
+
{
|
|
1992
|
+
"value": "Number",
|
|
1993
|
+
"paraId": 5,
|
|
1994
|
+
"tocIndex": 6
|
|
1995
|
+
},
|
|
1996
|
+
{
|
|
1997
|
+
"value": "visible",
|
|
1998
|
+
"paraId": 5,
|
|
1999
|
+
"tocIndex": 6
|
|
2000
|
+
},
|
|
2001
|
+
{
|
|
2002
|
+
"value": "Boolean",
|
|
2003
|
+
"paraId": 5,
|
|
2004
|
+
"tocIndex": 6
|
|
2005
|
+
},
|
|
2006
|
+
{
|
|
2007
|
+
"value": "false",
|
|
2008
|
+
"paraId": 5,
|
|
2009
|
+
"tocIndex": 6
|
|
2010
|
+
},
|
|
2011
|
+
{
|
|
2012
|
+
"value": "current dialog's visible status",
|
|
2013
|
+
"paraId": 5,
|
|
2014
|
+
"tocIndex": 6
|
|
2015
|
+
},
|
|
2016
|
+
{
|
|
2017
|
+
"value": "animation",
|
|
2018
|
+
"paraId": 5,
|
|
2019
|
+
"tocIndex": 6
|
|
2020
|
+
},
|
|
2021
|
+
{
|
|
2022
|
+
"value": "String",
|
|
2023
|
+
"paraId": 5,
|
|
2024
|
+
"tocIndex": 6
|
|
2025
|
+
},
|
|
2026
|
+
{
|
|
2027
|
+
"value": "part of dialog animation css class name",
|
|
2028
|
+
"paraId": 5,
|
|
2029
|
+
"tocIndex": 6
|
|
2030
|
+
},
|
|
2031
|
+
{
|
|
2032
|
+
"value": "maskAnimation",
|
|
2033
|
+
"paraId": 5,
|
|
2034
|
+
"tocIndex": 6
|
|
2035
|
+
},
|
|
2036
|
+
{
|
|
2037
|
+
"value": "String",
|
|
2038
|
+
"paraId": 5,
|
|
2039
|
+
"tocIndex": 6
|
|
2040
|
+
},
|
|
2041
|
+
{
|
|
2042
|
+
"value": "part of dialog's mask animation css class name",
|
|
2043
|
+
"paraId": 5,
|
|
2044
|
+
"tocIndex": 6
|
|
2045
|
+
},
|
|
2046
|
+
{
|
|
2047
|
+
"value": "transitionName",
|
|
2048
|
+
"paraId": 5,
|
|
2049
|
+
"tocIndex": 6
|
|
2050
|
+
},
|
|
2051
|
+
{
|
|
2052
|
+
"value": "String",
|
|
2053
|
+
"paraId": 5,
|
|
2054
|
+
"tocIndex": 6
|
|
2055
|
+
},
|
|
2056
|
+
{
|
|
2057
|
+
"value": "dialog animation css class name",
|
|
2058
|
+
"paraId": 5,
|
|
2059
|
+
"tocIndex": 6
|
|
2060
|
+
},
|
|
2061
|
+
{
|
|
2062
|
+
"value": "maskTransitionName",
|
|
2063
|
+
"paraId": 5,
|
|
2064
|
+
"tocIndex": 6
|
|
2065
|
+
},
|
|
2066
|
+
{
|
|
2067
|
+
"value": "String",
|
|
2068
|
+
"paraId": 5,
|
|
2069
|
+
"tocIndex": 6
|
|
2070
|
+
},
|
|
2071
|
+
{
|
|
2072
|
+
"value": "mask animation css class name",
|
|
2073
|
+
"paraId": 5,
|
|
2074
|
+
"tocIndex": 6
|
|
2075
|
+
},
|
|
2076
|
+
{
|
|
2077
|
+
"value": "title",
|
|
2078
|
+
"paraId": 5,
|
|
2079
|
+
"tocIndex": 6
|
|
2080
|
+
},
|
|
2081
|
+
{
|
|
2082
|
+
"value": "String|React.Element",
|
|
2083
|
+
"paraId": 5,
|
|
2084
|
+
"tocIndex": 6
|
|
2085
|
+
},
|
|
2086
|
+
{
|
|
2087
|
+
"value": "Title of the dialog",
|
|
2088
|
+
"paraId": 5,
|
|
2089
|
+
"tocIndex": 6
|
|
2090
|
+
},
|
|
2091
|
+
{
|
|
2092
|
+
"value": "footer",
|
|
2093
|
+
"paraId": 5,
|
|
2094
|
+
"tocIndex": 6
|
|
2095
|
+
},
|
|
2096
|
+
{
|
|
2097
|
+
"value": "React.Element",
|
|
2098
|
+
"paraId": 5,
|
|
2099
|
+
"tocIndex": 6
|
|
2100
|
+
},
|
|
2101
|
+
{
|
|
2102
|
+
"value": "footer of the dialog",
|
|
2103
|
+
"paraId": 5,
|
|
2104
|
+
"tocIndex": 6
|
|
2105
|
+
},
|
|
2106
|
+
{
|
|
2107
|
+
"value": "closable",
|
|
2108
|
+
"paraId": 5,
|
|
2109
|
+
"tocIndex": 6
|
|
2110
|
+
},
|
|
2111
|
+
{
|
|
2112
|
+
"value": "Boolean | ({ closeIcon?: React.ReactNode; disabled?: boolean } & React.AriaAttributes",
|
|
2113
|
+
"paraId": 5,
|
|
2114
|
+
"tocIndex": 6
|
|
2115
|
+
},
|
|
2116
|
+
{
|
|
2117
|
+
"value": "true",
|
|
2118
|
+
"paraId": 5,
|
|
2119
|
+
"tocIndex": 6
|
|
2120
|
+
},
|
|
2121
|
+
{
|
|
2122
|
+
"value": "whether show close button",
|
|
2123
|
+
"paraId": 5,
|
|
2124
|
+
"tocIndex": 6
|
|
2125
|
+
},
|
|
2126
|
+
{
|
|
2127
|
+
"value": "mask",
|
|
2128
|
+
"paraId": 5,
|
|
2129
|
+
"tocIndex": 6
|
|
2130
|
+
},
|
|
2131
|
+
{
|
|
2132
|
+
"value": "Boolean",
|
|
2133
|
+
"paraId": 5,
|
|
2134
|
+
"tocIndex": 6
|
|
2135
|
+
},
|
|
2136
|
+
{
|
|
2137
|
+
"value": "true",
|
|
2138
|
+
"paraId": 5,
|
|
2139
|
+
"tocIndex": 6
|
|
2140
|
+
},
|
|
2141
|
+
{
|
|
2142
|
+
"value": "whether show mask",
|
|
2143
|
+
"paraId": 5,
|
|
2144
|
+
"tocIndex": 6
|
|
2145
|
+
},
|
|
2146
|
+
{
|
|
2147
|
+
"value": "maskClosable",
|
|
2148
|
+
"paraId": 5,
|
|
2149
|
+
"tocIndex": 6
|
|
2150
|
+
},
|
|
2151
|
+
{
|
|
2152
|
+
"value": "Boolean",
|
|
2153
|
+
"paraId": 5,
|
|
2154
|
+
"tocIndex": 6
|
|
2155
|
+
},
|
|
2156
|
+
{
|
|
2157
|
+
"value": "true",
|
|
2158
|
+
"paraId": 5,
|
|
2159
|
+
"tocIndex": 6
|
|
2160
|
+
},
|
|
2161
|
+
{
|
|
2162
|
+
"value": "whether click mask to close",
|
|
2163
|
+
"paraId": 5,
|
|
2164
|
+
"tocIndex": 6
|
|
2165
|
+
},
|
|
2166
|
+
{
|
|
2167
|
+
"value": "keyboard",
|
|
2168
|
+
"paraId": 5,
|
|
2169
|
+
"tocIndex": 6
|
|
2170
|
+
},
|
|
2171
|
+
{
|
|
2172
|
+
"value": "Boolean",
|
|
2173
|
+
"paraId": 5,
|
|
2174
|
+
"tocIndex": 6
|
|
2175
|
+
},
|
|
2176
|
+
{
|
|
2177
|
+
"value": "true",
|
|
2178
|
+
"paraId": 5,
|
|
2179
|
+
"tocIndex": 6
|
|
2180
|
+
},
|
|
2181
|
+
{
|
|
2182
|
+
"value": "whether support press esc to close",
|
|
2183
|
+
"paraId": 5,
|
|
2184
|
+
"tocIndex": 6
|
|
2185
|
+
},
|
|
2186
|
+
{
|
|
2187
|
+
"value": "mousePosition",
|
|
2188
|
+
"paraId": 5,
|
|
2189
|
+
"tocIndex": 6
|
|
2190
|
+
},
|
|
2191
|
+
{
|
|
2192
|
+
"value": "{x:number,y:number}",
|
|
2193
|
+
"paraId": 5,
|
|
2194
|
+
"tocIndex": 6
|
|
2195
|
+
},
|
|
2196
|
+
{
|
|
2197
|
+
"value": "set pageX and pageY of current mouse(it will cause transform origin to be set).",
|
|
2198
|
+
"paraId": 5,
|
|
2199
|
+
"tocIndex": 6
|
|
2200
|
+
},
|
|
2201
|
+
{
|
|
2202
|
+
"value": "onClose",
|
|
2203
|
+
"paraId": 5,
|
|
2204
|
+
"tocIndex": 6
|
|
2205
|
+
},
|
|
2206
|
+
{
|
|
2207
|
+
"value": "function()",
|
|
2208
|
+
"paraId": 5,
|
|
2209
|
+
"tocIndex": 6
|
|
2210
|
+
},
|
|
2211
|
+
{
|
|
2212
|
+
"value": "called when click close button or mask",
|
|
2213
|
+
"paraId": 5,
|
|
2214
|
+
"tocIndex": 6
|
|
2215
|
+
},
|
|
2216
|
+
{
|
|
2217
|
+
"value": "afterClose",
|
|
2218
|
+
"paraId": 5,
|
|
2219
|
+
"tocIndex": 6
|
|
2220
|
+
},
|
|
2221
|
+
{
|
|
2222
|
+
"value": "function()",
|
|
2223
|
+
"paraId": 5,
|
|
2224
|
+
"tocIndex": 6
|
|
2225
|
+
},
|
|
2226
|
+
{
|
|
2227
|
+
"value": "called when close animation end",
|
|
2228
|
+
"paraId": 5,
|
|
2229
|
+
"tocIndex": 6
|
|
2230
|
+
},
|
|
2231
|
+
{
|
|
2232
|
+
"value": "getContainer",
|
|
2233
|
+
"paraId": 5,
|
|
2234
|
+
"tocIndex": 6
|
|
2235
|
+
},
|
|
2236
|
+
{
|
|
2237
|
+
"value": "function(): HTMLElement",
|
|
2238
|
+
"paraId": 5,
|
|
2239
|
+
"tocIndex": 6
|
|
2240
|
+
},
|
|
2241
|
+
{
|
|
2242
|
+
"value": "to determine where Dialog will be mounted",
|
|
2243
|
+
"paraId": 5,
|
|
2244
|
+
"tocIndex": 6
|
|
2245
|
+
},
|
|
2246
|
+
{
|
|
2247
|
+
"value": "destroyOnClose",
|
|
2248
|
+
"paraId": 5,
|
|
2249
|
+
"tocIndex": 6
|
|
2250
|
+
},
|
|
2251
|
+
{
|
|
2252
|
+
"value": "Boolean",
|
|
2253
|
+
"paraId": 5,
|
|
2254
|
+
"tocIndex": 6
|
|
2255
|
+
},
|
|
2256
|
+
{
|
|
2257
|
+
"value": "false",
|
|
2258
|
+
"paraId": 5,
|
|
2259
|
+
"tocIndex": 6
|
|
2260
|
+
},
|
|
2261
|
+
{
|
|
2262
|
+
"value": "to unmount child compenents on onClose",
|
|
2263
|
+
"paraId": 5,
|
|
2264
|
+
"tocIndex": 6
|
|
2265
|
+
},
|
|
2266
|
+
{
|
|
2267
|
+
"value": "closeIcon",
|
|
2268
|
+
"paraId": 5,
|
|
2269
|
+
"tocIndex": 6
|
|
2270
|
+
},
|
|
2271
|
+
{
|
|
2272
|
+
"value": "ReactNode",
|
|
2273
|
+
"paraId": 5,
|
|
2274
|
+
"tocIndex": 6
|
|
2275
|
+
},
|
|
2276
|
+
{
|
|
2277
|
+
"value": "specific the close icon.",
|
|
2278
|
+
"paraId": 5,
|
|
2279
|
+
"tocIndex": 6
|
|
2280
|
+
},
|
|
2281
|
+
{
|
|
2282
|
+
"value": "forceRender",
|
|
2283
|
+
"paraId": 5,
|
|
2284
|
+
"tocIndex": 6
|
|
2285
|
+
},
|
|
2286
|
+
{
|
|
2287
|
+
"value": "Boolean",
|
|
2288
|
+
"paraId": 5,
|
|
2289
|
+
"tocIndex": 6
|
|
2290
|
+
},
|
|
2291
|
+
{
|
|
2292
|
+
"value": "false",
|
|
2293
|
+
"paraId": 5,
|
|
2294
|
+
"tocIndex": 6
|
|
2295
|
+
},
|
|
2296
|
+
{
|
|
2297
|
+
"value": "Create dialog dom node before dialog first show",
|
|
2298
|
+
"paraId": 5,
|
|
2299
|
+
"tocIndex": 6
|
|
2300
|
+
},
|
|
2301
|
+
{
|
|
2302
|
+
"value": "focusTriggerAfterClose",
|
|
2303
|
+
"paraId": 5,
|
|
2304
|
+
"tocIndex": 6
|
|
2305
|
+
},
|
|
2306
|
+
{
|
|
2307
|
+
"value": "Boolean",
|
|
2308
|
+
"paraId": 5,
|
|
2309
|
+
"tocIndex": 6
|
|
2310
|
+
},
|
|
2311
|
+
{
|
|
2312
|
+
"value": "true",
|
|
2313
|
+
"paraId": 5,
|
|
2314
|
+
"tocIndex": 6
|
|
2315
|
+
},
|
|
2316
|
+
{
|
|
2317
|
+
"value": "focus trigger element when dialog closed",
|
|
2318
|
+
"paraId": 5,
|
|
2319
|
+
"tocIndex": 6
|
|
2320
|
+
},
|
|
2321
|
+
{
|
|
2322
|
+
"value": "modalRender",
|
|
2323
|
+
"paraId": 5,
|
|
2324
|
+
"tocIndex": 6
|
|
2325
|
+
},
|
|
2326
|
+
{
|
|
2327
|
+
"value": "(node: ReactNode) => ReactNode",
|
|
2328
|
+
"paraId": 5,
|
|
2329
|
+
"tocIndex": 6
|
|
2330
|
+
},
|
|
2331
|
+
{
|
|
2332
|
+
"value": "Custom modal content render",
|
|
2333
|
+
"paraId": 5,
|
|
2334
|
+
"tocIndex": 6
|
|
2335
|
+
},
|
|
2336
|
+
{
|
|
2337
|
+
"value": "8.3.0",
|
|
2338
|
+
"paraId": 5,
|
|
2339
|
+
"tocIndex": 6
|
|
2340
|
+
},
|
|
2341
|
+
{
|
|
2342
|
+
"value": "npm install\nnpm start\n",
|
|
2343
|
+
"paraId": 6,
|
|
2344
|
+
"tocIndex": 7
|
|
2345
|
+
},
|
|
2346
|
+
{
|
|
2347
|
+
"value": "npm test\nnpm run chrome-test\n",
|
|
2348
|
+
"paraId": 7,
|
|
2349
|
+
"tocIndex": 8
|
|
2350
|
+
},
|
|
2351
|
+
{
|
|
2352
|
+
"value": "npm run coverage\n",
|
|
2353
|
+
"paraId": 8,
|
|
2354
|
+
"tocIndex": 9
|
|
2355
|
+
},
|
|
2356
|
+
{
|
|
2357
|
+
"value": "open coverage/ dir",
|
|
2358
|
+
"paraId": 9,
|
|
2359
|
+
"tocIndex": 9
|
|
2360
|
+
},
|
|
2361
|
+
{
|
|
2362
|
+
"value": "rc-dialog is released under the MIT license.",
|
|
2363
|
+
"paraId": 10,
|
|
2364
|
+
"tocIndex": 10
|
|
2365
|
+
}
|
|
2366
|
+
];
|
|
2367
|
+
if (prevRefreshReg) self.$RefreshReg$ = prevRefreshReg;
|
|
2368
|
+
if (prevRefreshSig) self.$RefreshSig$ = prevRefreshSig;
|
|
2369
|
+
function registerClassComponent(filename, moduleExports) {
|
|
2370
|
+
for(const key in moduleExports)try {
|
|
2371
|
+
if (key === "__esModule") continue;
|
|
2372
|
+
const exportValue = moduleExports[key];
|
|
2373
|
+
if (_reactrefresh.isLikelyComponentType(exportValue) && exportValue.prototype && exportValue.prototype.isReactComponent) _reactrefresh.register(exportValue, filename + " " + key);
|
|
2374
|
+
} catch (e) {}
|
|
2375
|
+
}
|
|
2376
|
+
function $RefreshIsReactComponentLike$(moduleExports) {
|
|
2377
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports || moduleExports.default)) return true;
|
|
2378
|
+
for(var key in moduleExports)try {
|
|
2379
|
+
if (_reactrefresh.isLikelyComponentType(moduleExports[key])) return true;
|
|
2380
|
+
} catch (e) {}
|
|
2381
|
+
return false;
|
|
2382
|
+
}
|
|
2383
|
+
registerClassComponent(module.id, module.exports);
|
|
2384
|
+
if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
2385
|
+
module.meta.hot.accept();
|
|
2386
|
+
_reactrefresh.performReactRefresh();
|
|
2387
|
+
}
|
|
2388
|
+
|
|
2389
|
+
},
|
|
2390
|
+
}]);
|
|
2391
|
+
//# sourceMappingURL=meta__docs-async.js.map
|