@rc-component/dialog 1.5.0 → 1.6.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/README.md +24 -17
- package/dist/common-async.js +1488 -150
- package/dist/common-async.js.map +1 -1
- package/dist/demos-async.css +3 -3
- package/dist/demos-async.css.map +1 -1
- package/dist/demos-async.js +57 -57
- package/dist/demos-async.js.map +1 -1
- package/dist/docs_changelog_md-async.js +1823 -1841
- package/dist/docs_changelog_md-async.js.map +1 -1
- package/dist/docs_demo_ant-design_md-async.js +34 -52
- package/dist/docs_demo_ant-design_md-async.js.map +1 -1
- package/dist/docs_demo_bootstrap_md-async.js +34 -52
- package/dist/docs_demo_bootstrap_md-async.js.map +1 -1
- package/dist/docs_demo_draggable_md-async.js +34 -52
- package/dist/docs_demo_draggable_md-async.js.map +1 -1
- package/dist/docs_demo_multiple-Portal_md-async.js +80 -52
- package/dist/docs_demo_multiple-Portal_md-async.js.map +1 -1
- package/dist/docs_demo_pure_md-async.js +34 -52
- package/dist/docs_demo_pure_md-async.js.map +1 -1
- package/dist/docs_index_md-async.js +1617 -1580
- package/dist/docs_index_md-async.js.map +1 -1
- package/dist/dumi__tmp__dumi__theme__ContextWrapper-async.js +10 -10
- package/dist/dumi__tmp__dumi__theme__ContextWrapper-async.js.map +1 -1
- package/dist/meta__docs-async.css +3 -3
- package/dist/meta__docs-async.css.map +1 -1
- package/dist/meta__docs-async.js +72 -1415
- package/dist/meta__docs-async.js.map +1 -1
- package/dist/nm__dumi__dist__client__pages__404-async.js +3 -3
- package/dist/nm__dumi__dist__client__pages__404-async.js.map +1 -1
- package/dist/nm__dumi__dist__client__pages__Demo__index-async.js +3 -3
- package/dist/nm__dumi__dist__client__pages__Demo__index-async.js.map +1 -1
- package/dist/{node_modules__dumi_2_4_17_dumi_dist_client_misc_reactDemoCompiler_js-async.js → node_modules_dumi_dist_client_misc_reactDemoCompiler_js-async.js} +4 -4
- package/dist/node_modules_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 → node_modules_dumi_theme-default_layouts_DocLayout_index_js-async.js} +44 -44
- package/dist/node_modules_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 → node_modules_react-dom_server_browser_js-async.js} +5 -5
- package/dist/node_modules_react-dom_server_browser_js-async.js.map +1 -0
- package/dist/umi.css +15 -0
- package/dist/umi.css.map +1 -1
- package/dist/umi.js +31515 -28954
- package/dist/umi.js.map +1 -1
- package/dist/vendors-async.css +18794 -15080
- package/dist/vendors-async.css.map +1 -1
- package/dist/vendors-async.js +15650 -12147
- package/dist/vendors-async.js.map +1 -1
- package/es/Dialog/Content/Panel.d.ts +0 -1
- package/es/Dialog/Content/Panel.js +15 -44
- package/es/Dialog/Content/index.js +2 -2
- package/es/Dialog/Mask.js +2 -2
- package/es/Dialog/index.js +3 -10
- package/lib/Dialog/Content/Panel.d.ts +0 -1
- package/lib/Dialog/Content/Panel.js +16 -45
- package/lib/Dialog/Content/index.js +2 -2
- package/lib/Dialog/Mask.js +2 -2
- package/lib/Dialog/index.js +3 -10
- package/package.json +4 -7
- package/dist/10509781610555453368.hot-update-url-map.json +0 -1
- package/dist/10509781610555453368.hot-update.json +0 -1
- package/dist/11977476592833392720.hot-update-url-map.json +0 -1
- package/dist/11977476592833392720.hot-update.json +0 -1
- package/dist/14397576132152343869.hot-update-url-map.json +0 -1
- package/dist/14397576132152343869.hot-update.json +0 -1
- package/dist/14597408625395534096.hot-update-url-map.json +0 -1
- package/dist/14597408625395534096.hot-update.json +0 -1
- package/dist/15104553912779929595.hot-update-url-map.json +0 -1
- package/dist/15104553912779929595.hot-update.json +0 -1
- package/dist/4361192314875393955.hot-update-url-map.json +0 -1
- package/dist/4361192314875393955.hot-update.json +0 -1
- package/dist/4704580574928883170.hot-update-url-map.json +0 -1
- package/dist/4704580574928883170.hot-update.json +0 -1
- package/dist/5496443382647786649.hot-update-url-map.json +0 -1
- package/dist/5496443382647786649.hot-update.json +0 -1
- package/dist/7338948553039754745.hot-update-url-map.json +0 -1
- package/dist/7338948553039754745.hot-update.json +0 -1
- package/dist/7441995189917427860.hot-update-url-map.json +0 -1
- package/dist/7441995189917427860.hot-update.json +0 -1
- package/dist/8425845753817463333.hot-update-url-map.json +0 -1
- package/dist/8425845753817463333.hot-update.json +0 -1
- package/dist/8742625841545363477.hot-update-url-map.json +0 -1
- package/dist/8742625841545363477.hot-update.json +0 -1
- package/dist/960384830459946830.hot-update-url-map.json +0 -1
- package/dist/960384830459946830.hot-update.json +0 -1
- package/dist/9707589364653732454.hot-update-url-map.json +0 -1
- package/dist/9707589364653732454.hot-update.json +0 -1
- package/dist/common-async.10509781610555453368.hot-update.js +0 -268
- package/dist/common-async.10509781610555453368.hot-update.js.map +0 -1
- package/dist/common-async.11977476592833392720.hot-update.js +0 -395
- package/dist/common-async.11977476592833392720.hot-update.js.map +0 -1
- package/dist/common-async.14397576132152343869.hot-update.js +0 -395
- package/dist/common-async.14397576132152343869.hot-update.js.map +0 -1
- package/dist/common-async.14597408625395534096.hot-update.js +0 -268
- package/dist/common-async.14597408625395534096.hot-update.js.map +0 -1
- package/dist/common-async.15104553912779929595.hot-update.js +0 -268
- package/dist/common-async.15104553912779929595.hot-update.js.map +0 -1
- package/dist/common-async.4361192314875393955.hot-update.js +0 -268
- package/dist/common-async.4361192314875393955.hot-update.js.map +0 -1
- package/dist/common-async.4704580574928883170.hot-update.js +0 -268
- package/dist/common-async.4704580574928883170.hot-update.js.map +0 -1
- package/dist/common-async.5496443382647786649.hot-update.js +0 -391
- package/dist/common-async.5496443382647786649.hot-update.js.map +0 -1
- package/dist/common-async.7338948553039754745.hot-update.js +0 -395
- package/dist/common-async.7338948553039754745.hot-update.js.map +0 -1
- package/dist/common-async.7441995189917427860.hot-update.js +0 -394
- package/dist/common-async.7441995189917427860.hot-update.js.map +0 -1
- package/dist/common-async.8425845753817463333.hot-update.js +0 -268
- package/dist/common-async.8425845753817463333.hot-update.js.map +0 -1
- package/dist/common-async.8742625841545363477.hot-update.js +0 -268
- package/dist/common-async.8742625841545363477.hot-update.js.map +0 -1
- package/dist/common-async.960384830459946830.hot-update.js +0 -268
- package/dist/common-async.960384830459946830.hot-update.js.map +0 -1
- package/dist/common-async.9707589364653732454.hot-update.js +0 -268
- package/dist/common-async.9707589364653732454.hot-update.js.map +0 -1
- package/dist/demos-async.7338948553039754745.hot-update.js +0 -395
- package/dist/demos-async.7338948553039754745.hot-update.js.map +0 -1
- package/dist/meta__docs-async.7338948553039754745.hot-update.js +0 -395
- package/dist/meta__docs-async.7338948553039754745.hot-update.js.map +0 -1
- package/dist/node_modules__dumi_2_4_17_dumi_dist_client_misc_reactDemoCompiler_js-async.js.map +0 -1
- package/dist/node_modules__dumi_2_4_17_dumi_theme-default_layouts_DocLayout_index_js-async.js.map +0 -1
- package/dist/node_modules__react-dom_18_3_1_react-dom_server_browser_js-async.js.map +0 -1
package/dist/meta__docs-async.js
CHANGED
|
@@ -20,6 +20,7 @@ var _default = {
|
|
|
20
20
|
"rcDialogSlideFadeIn": `rcDialogSlideFadeIn-4lg_9oxA`,
|
|
21
21
|
"btn": `btn-BW1TQvOA`,
|
|
22
22
|
"rc-dialog-slide-fade-leave-active": `rc-dialog-slide-fade-leave-active-bXuJvxYQ`,
|
|
23
|
+
"rc-dialog-container": `rc-dialog-container-ScSsRuhX`,
|
|
23
24
|
"rcDialogFadeOut": `rcDialogFadeOut-O2CciMry`,
|
|
24
25
|
"rc-dialog-mask-hidden": `rc-dialog-mask-hidden-KLrGIDRO`,
|
|
25
26
|
"rcDialogFadeIn": `rcDialogFadeIn-DdxdDC_H`,
|
|
@@ -37,7 +38,6 @@ var _default = {
|
|
|
37
38
|
"rc-dialog-slide-fade-appear": `rc-dialog-slide-fade-appear-4tK3vROB`,
|
|
38
39
|
"rc-dialog-close-x": `rc-dialog-close-x-6kQX8jSl`,
|
|
39
40
|
"rc-dialog-body": `rc-dialog-body-4XpdPXW4`,
|
|
40
|
-
"rc-dialog-section": `rc-dialog-section-89lAKOoJ`,
|
|
41
41
|
"rc-dialog-slide-fade-leave": `rc-dialog-slide-fade-leave-UJbeqi6K`,
|
|
42
42
|
"rc-dialog-wrap": `rc-dialog-wrap-XaMOrmLh`,
|
|
43
43
|
"rc-dialog-fade-appear": `rc-dialog-fade-appear--j1muc2F`,
|
|
@@ -58,7 +58,7 @@ __mako_require__.d(exports, "default", {
|
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
60
|
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
61
|
-
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/
|
|
61
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/react-refresh/runtime.js"));
|
|
62
62
|
__mako_require__("assets/bootstrap.less?watch=parent");
|
|
63
63
|
var prevRefreshReg;
|
|
64
64
|
var prevRefreshSig;
|
|
@@ -115,16 +115,16 @@ var _default = {
|
|
|
115
115
|
"rc-dialog-close": `rc-dialog-close-RpygIDJ7`,
|
|
116
116
|
"rc-dialog-fade-appear-active": `rc-dialog-fade-appear-active-ImCuZCah`,
|
|
117
117
|
"rc-dialog-zoom-appear": `rc-dialog-zoom-appear-O0oOmU02`,
|
|
118
|
+
"rc-dialog-container": `rc-dialog-container-dRggJLFn`,
|
|
118
119
|
"rc-dialog-zoom-appear-active": `rc-dialog-zoom-appear-active-EksXhSiQ`,
|
|
119
120
|
"rcDialogFadeOut": `rcDialogFadeOut-6hL4P9iD`,
|
|
120
121
|
"rc-dialog-close-x": `rc-dialog-close-x-N1-X8nLa`,
|
|
121
122
|
"rc-dialog-body": `rc-dialog-body-wophaOl0`,
|
|
122
|
-
"rc-dialog-section": `rc-dialog-section-qyzOK45m`,
|
|
123
123
|
"rcDialogZoomIn": `rcDialogZoomIn-qBju5MMS`,
|
|
124
124
|
"rc-dialog-mask-hidden": `rc-dialog-mask-hidden-Q8OZyl0R`,
|
|
125
|
+
"rcDialogFadeIn": `rcDialogFadeIn-IjFW9mRF`,
|
|
125
126
|
"rc-dialog": `rc-dialog-s3ap7BnM`,
|
|
126
127
|
"rc-dialog-wrap": `rc-dialog-wrap-lTGE5og0`,
|
|
127
|
-
"rcDialogFadeIn": `rcDialogFadeIn-IjFW9mRF`,
|
|
128
128
|
"rc-dialog-fade-leave-active": `rc-dialog-fade-leave-active-4C5kVyIf`,
|
|
129
129
|
"rc-dialog-header": `rc-dialog-header-1r3oUdfe`,
|
|
130
130
|
"rc-dialog-zoom-leave-active": `rc-dialog-zoom-leave-active-NCCySLyk`,
|
|
@@ -150,7 +150,7 @@ __mako_require__.d(exports, "default", {
|
|
|
150
150
|
}
|
|
151
151
|
});
|
|
152
152
|
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
153
|
-
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/
|
|
153
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/react-refresh/runtime.js"));
|
|
154
154
|
__mako_require__("assets/index.less?watch=parent");
|
|
155
155
|
var prevRefreshReg;
|
|
156
156
|
var prevRefreshSig;
|
|
@@ -200,8 +200,8 @@ __mako_require__.d(exports, "demos", {
|
|
|
200
200
|
});
|
|
201
201
|
var _interop_require_default = __mako_require__("@swc/helpers/_/_interop_require_default");
|
|
202
202
|
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
203
|
-
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/
|
|
204
|
-
var _react = /*#__PURE__*/ _interop_require_default._(__mako_require__("node_modules/
|
|
203
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/react-refresh/runtime.js"));
|
|
204
|
+
var _react = /*#__PURE__*/ _interop_require_default._(__mako_require__("node_modules/react/index.js"));
|
|
205
205
|
__mako_require__("docs/changelog.md?watch=parent");
|
|
206
206
|
var prevRefreshReg;
|
|
207
207
|
var prevRefreshSig;
|
|
@@ -234,578 +234,6 @@ if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
|
234
234
|
_reactrefresh.performReactRefresh();
|
|
235
235
|
}
|
|
236
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
237
|
},
|
|
810
238
|
"docs/demo/ant-design.md?type=demo": function (module, exports, __mako_require__){
|
|
811
239
|
"use strict";
|
|
@@ -820,12 +248,12 @@ __mako_require__.d(exports, "demos", {
|
|
|
820
248
|
}
|
|
821
249
|
});
|
|
822
250
|
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
823
|
-
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/
|
|
824
|
-
var _react = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/
|
|
251
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/react-refresh/runtime.js"));
|
|
252
|
+
var _react = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/react/index.js"));
|
|
825
253
|
__mako_require__("docs/demo/ant-design.md?watch=parent");
|
|
826
|
-
var
|
|
827
|
-
var _indexlessasmodule = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules
|
|
828
|
-
var
|
|
254
|
+
var _select = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/@rc-component/select/es/index.js"));
|
|
255
|
+
var _indexlessasmodule = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/@rc-component/select/assets/index.less?asmodule"));
|
|
256
|
+
var _dialog = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("src/index.ts"));
|
|
829
257
|
var _indexlessasmodule1 = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("assets/index.less?asmodule"));
|
|
830
258
|
var prevRefreshReg;
|
|
831
259
|
var prevRefreshSig;
|
|
@@ -851,13 +279,13 @@ const demos = {
|
|
|
851
279
|
"type": "NPM",
|
|
852
280
|
"value": "18.3.1"
|
|
853
281
|
},
|
|
854
|
-
"rc-select": {
|
|
282
|
+
"@rc-component/select": {
|
|
855
283
|
"type": "NPM",
|
|
856
|
-
"value": "
|
|
284
|
+
"value": "1.1.3"
|
|
857
285
|
},
|
|
858
286
|
"@rc-component/dialog": {
|
|
859
287
|
"type": "NPM",
|
|
860
|
-
"value": "1.
|
|
288
|
+
"value": "1.5.1"
|
|
861
289
|
},
|
|
862
290
|
"../../assets/index.less": {
|
|
863
291
|
"type": "FILE",
|
|
@@ -869,14 +297,14 @@ const demos = {
|
|
|
869
297
|
context: {
|
|
870
298
|
"../../assets/index.less": _indexlessasmodule1,
|
|
871
299
|
"react": _react,
|
|
872
|
-
"rc-select":
|
|
873
|
-
"rc-select/assets/index.less": _indexlessasmodule,
|
|
874
|
-
"rc-dialog":
|
|
300
|
+
"@rc-component/select": _select,
|
|
301
|
+
"@rc-component/select/assets/index.less": _indexlessasmodule,
|
|
302
|
+
"@rc-component/dialog": _dialog,
|
|
875
303
|
"/Users/jilin/projects/antd/rc-dialog/assets/index.less": _indexlessasmodule1
|
|
876
304
|
},
|
|
877
305
|
renderOpts: {
|
|
878
306
|
compile: async (...args)=>{
|
|
879
|
-
return (await __mako_require__.ensure2("node_modules/
|
|
307
|
+
return (await __mako_require__.ensure2("node_modules/dumi/dist/client/misc/reactDemoCompiler.js").then(__mako_require__.dr(interop, __mako_require__.bind(__mako_require__, "node_modules/dumi/dist/client/misc/reactDemoCompiler.js")))).default(...args);
|
|
880
308
|
}
|
|
881
309
|
}
|
|
882
310
|
}
|
|
@@ -903,52 +331,6 @@ if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
|
903
331
|
_reactrefresh.performReactRefresh();
|
|
904
332
|
}
|
|
905
333
|
|
|
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
334
|
},
|
|
953
335
|
"docs/demo/bootstrap.md?type=demo": function (module, exports, __mako_require__){
|
|
954
336
|
"use strict";
|
|
@@ -963,11 +345,11 @@ __mako_require__.d(exports, "demos", {
|
|
|
963
345
|
}
|
|
964
346
|
});
|
|
965
347
|
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
966
|
-
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/
|
|
967
|
-
var _react = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/
|
|
348
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/react-refresh/runtime.js"));
|
|
349
|
+
var _react = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/react/index.js"));
|
|
968
350
|
__mako_require__("docs/demo/bootstrap.md?watch=parent");
|
|
969
|
-
var
|
|
970
|
-
var _bootstrapcssasmodule = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/
|
|
351
|
+
var _dialog = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("src/index.ts"));
|
|
352
|
+
var _bootstrapcssasmodule = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/bootstrap/dist/css/bootstrap.css?asmodule"));
|
|
971
353
|
var _bootstraplessasmodule = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("assets/bootstrap.less?asmodule"));
|
|
972
354
|
var prevRefreshReg;
|
|
973
355
|
var prevRefreshSig;
|
|
@@ -995,11 +377,11 @@ const demos = {
|
|
|
995
377
|
},
|
|
996
378
|
"@rc-component/dialog": {
|
|
997
379
|
"type": "NPM",
|
|
998
|
-
"value": "1.
|
|
380
|
+
"value": "1.5.1"
|
|
999
381
|
},
|
|
1000
382
|
"bootstrap": {
|
|
1001
383
|
"type": "NPM",
|
|
1002
|
-
"value": "
|
|
384
|
+
"value": "5.3.7"
|
|
1003
385
|
},
|
|
1004
386
|
"../../assets/bootstrap.less": {
|
|
1005
387
|
"type": "FILE",
|
|
@@ -1011,13 +393,13 @@ const demos = {
|
|
|
1011
393
|
context: {
|
|
1012
394
|
"../../assets/bootstrap.less": _bootstraplessasmodule,
|
|
1013
395
|
"react": _react,
|
|
1014
|
-
"rc-dialog":
|
|
396
|
+
"@rc-component/dialog": _dialog,
|
|
1015
397
|
"bootstrap/dist/css/bootstrap.css": _bootstrapcssasmodule,
|
|
1016
398
|
"/Users/jilin/projects/antd/rc-dialog/assets/bootstrap.less": _bootstraplessasmodule
|
|
1017
399
|
},
|
|
1018
400
|
renderOpts: {
|
|
1019
401
|
compile: async (...args)=>{
|
|
1020
|
-
return (await __mako_require__.ensure2("node_modules/
|
|
402
|
+
return (await __mako_require__.ensure2("node_modules/dumi/dist/client/misc/reactDemoCompiler.js").then(__mako_require__.dr(interop, __mako_require__.bind(__mako_require__, "node_modules/dumi/dist/client/misc/reactDemoCompiler.js")))).default(...args);
|
|
1021
403
|
}
|
|
1022
404
|
}
|
|
1023
405
|
}
|
|
@@ -1044,52 +426,6 @@ if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
|
1044
426
|
_reactrefresh.performReactRefresh();
|
|
1045
427
|
}
|
|
1046
428
|
|
|
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
429
|
},
|
|
1094
430
|
"docs/demo/draggable.md?type=demo": function (module, exports, __mako_require__){
|
|
1095
431
|
"use strict";
|
|
@@ -1104,12 +440,12 @@ __mako_require__.d(exports, "demos", {
|
|
|
1104
440
|
}
|
|
1105
441
|
});
|
|
1106
442
|
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
1107
|
-
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/
|
|
1108
|
-
var _react = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/
|
|
443
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/react-refresh/runtime.js"));
|
|
444
|
+
var _react = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/react/index.js"));
|
|
1109
445
|
__mako_require__("docs/demo/draggable.md?watch=parent");
|
|
1110
|
-
var _bootstrapcssasmodule = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/
|
|
1111
|
-
var _reactdraggable = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/
|
|
1112
|
-
var
|
|
446
|
+
var _bootstrapcssasmodule = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/bootstrap/dist/css/bootstrap.css?asmodule"));
|
|
447
|
+
var _reactdraggable = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/react-draggable/build/cjs/cjs.js"));
|
|
448
|
+
var _dialog = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("src/index.ts"));
|
|
1113
449
|
var _indexlessasmodule = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("assets/index.less?asmodule"));
|
|
1114
450
|
var prevRefreshReg;
|
|
1115
451
|
var prevRefreshSig;
|
|
@@ -1133,7 +469,7 @@ const demos = {
|
|
|
1133
469
|
},
|
|
1134
470
|
"bootstrap": {
|
|
1135
471
|
"type": "NPM",
|
|
1136
|
-
"value": "
|
|
472
|
+
"value": "5.3.7"
|
|
1137
473
|
},
|
|
1138
474
|
"react": {
|
|
1139
475
|
"type": "NPM",
|
|
@@ -1141,11 +477,11 @@ const demos = {
|
|
|
1141
477
|
},
|
|
1142
478
|
"react-draggable": {
|
|
1143
479
|
"type": "NPM",
|
|
1144
|
-
"value": "4.
|
|
480
|
+
"value": "4.5.0"
|
|
1145
481
|
},
|
|
1146
482
|
"@rc-component/dialog": {
|
|
1147
483
|
"type": "NPM",
|
|
1148
|
-
"value": "1.
|
|
484
|
+
"value": "1.5.1"
|
|
1149
485
|
},
|
|
1150
486
|
"../../assets/index.less": {
|
|
1151
487
|
"type": "FILE",
|
|
@@ -1159,12 +495,12 @@ const demos = {
|
|
|
1159
495
|
"bootstrap/dist/css/bootstrap.css": _bootstrapcssasmodule,
|
|
1160
496
|
"react": _react,
|
|
1161
497
|
"react-draggable": _reactdraggable,
|
|
1162
|
-
"rc-dialog":
|
|
498
|
+
"@rc-component/dialog": _dialog,
|
|
1163
499
|
"/Users/jilin/projects/antd/rc-dialog/assets/index.less": _indexlessasmodule
|
|
1164
500
|
},
|
|
1165
501
|
renderOpts: {
|
|
1166
502
|
compile: async (...args)=>{
|
|
1167
|
-
return (await __mako_require__.ensure2("node_modules/
|
|
503
|
+
return (await __mako_require__.ensure2("node_modules/dumi/dist/client/misc/reactDemoCompiler.js").then(__mako_require__.dr(interop, __mako_require__.bind(__mako_require__, "node_modules/dumi/dist/client/misc/reactDemoCompiler.js")))).default(...args);
|
|
1168
504
|
}
|
|
1169
505
|
}
|
|
1170
506
|
}
|
|
@@ -1191,52 +527,6 @@ if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
|
1191
527
|
_reactrefresh.performReactRefresh();
|
|
1192
528
|
}
|
|
1193
529
|
|
|
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
530
|
},
|
|
1241
531
|
"docs/demo/multiple-Portal.md?type=demo": function (module, exports, __mako_require__){
|
|
1242
532
|
"use strict";
|
|
@@ -1251,12 +541,12 @@ __mako_require__.d(exports, "demos", {
|
|
|
1251
541
|
}
|
|
1252
542
|
});
|
|
1253
543
|
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
1254
|
-
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/
|
|
1255
|
-
var _react = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/
|
|
544
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/react-refresh/runtime.js"));
|
|
545
|
+
var _react = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/react/index.js"));
|
|
1256
546
|
__mako_require__("docs/demo/multiple-Portal.md?watch=parent");
|
|
1257
|
-
var
|
|
1258
|
-
var _indexcssasmodule = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules
|
|
1259
|
-
var
|
|
547
|
+
var _drawer = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/@rc-component/drawer/es/index.js"));
|
|
548
|
+
var _indexcssasmodule = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/@rc-component/drawer/assets/index.css?asmodule"));
|
|
549
|
+
var _dialog = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("src/index.ts"));
|
|
1260
550
|
var _indexlessasmodule = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("assets/index.less?asmodule"));
|
|
1261
551
|
var prevRefreshReg;
|
|
1262
552
|
var prevRefreshSig;
|
|
@@ -1282,13 +572,13 @@ const demos = {
|
|
|
1282
572
|
"type": "NPM",
|
|
1283
573
|
"value": "18.3.1"
|
|
1284
574
|
},
|
|
1285
|
-
"rc-drawer": {
|
|
575
|
+
"@rc-component/drawer": {
|
|
1286
576
|
"type": "NPM",
|
|
1287
|
-
"value": "
|
|
577
|
+
"value": "1.1.0"
|
|
1288
578
|
},
|
|
1289
579
|
"@rc-component/dialog": {
|
|
1290
580
|
"type": "NPM",
|
|
1291
|
-
"value": "1.
|
|
581
|
+
"value": "1.5.1"
|
|
1292
582
|
},
|
|
1293
583
|
"../../assets/index.less": {
|
|
1294
584
|
"type": "FILE",
|
|
@@ -1300,14 +590,14 @@ const demos = {
|
|
|
1300
590
|
context: {
|
|
1301
591
|
"../../assets/index.less": _indexlessasmodule,
|
|
1302
592
|
"react": _react,
|
|
1303
|
-
"rc-drawer":
|
|
1304
|
-
"rc-drawer/assets/index.css": _indexcssasmodule,
|
|
1305
|
-
"rc-dialog":
|
|
593
|
+
"@rc-component/drawer": _drawer,
|
|
594
|
+
"@rc-component/drawer/assets/index.css": _indexcssasmodule,
|
|
595
|
+
"@rc-component/dialog": _dialog,
|
|
1306
596
|
"/Users/jilin/projects/antd/rc-dialog/assets/index.less": _indexlessasmodule
|
|
1307
597
|
},
|
|
1308
598
|
renderOpts: {
|
|
1309
599
|
compile: async (...args)=>{
|
|
1310
|
-
return (await __mako_require__.ensure2("node_modules/
|
|
600
|
+
return (await __mako_require__.ensure2("node_modules/dumi/dist/client/misc/reactDemoCompiler.js").then(__mako_require__.dr(interop, __mako_require__.bind(__mako_require__, "node_modules/dumi/dist/client/misc/reactDemoCompiler.js")))).default(...args);
|
|
1311
601
|
}
|
|
1312
602
|
}
|
|
1313
603
|
}
|
|
@@ -1347,7 +637,7 @@ __mako_require__.d(exports, "texts", {
|
|
|
1347
637
|
}
|
|
1348
638
|
});
|
|
1349
639
|
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
1350
|
-
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/
|
|
640
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/react-refresh/runtime.js"));
|
|
1351
641
|
__mako_require__("docs/demo/multiple-Portal.md?watch=parent");
|
|
1352
642
|
var prevRefreshReg;
|
|
1353
643
|
var prevRefreshSig;
|
|
@@ -1394,11 +684,11 @@ __mako_require__.d(exports, "demos", {
|
|
|
1394
684
|
}
|
|
1395
685
|
});
|
|
1396
686
|
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
1397
|
-
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/
|
|
1398
|
-
var _react = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/
|
|
687
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/react-refresh/runtime.js"));
|
|
688
|
+
var _react = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/react/index.js"));
|
|
1399
689
|
__mako_require__("docs/demo/pure.md?watch=parent");
|
|
1400
|
-
var
|
|
1401
|
-
var _indexlessasmodule = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules
|
|
690
|
+
var _dialog = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("src/index.ts"));
|
|
691
|
+
var _indexlessasmodule = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/@rc-component/select/assets/index.less?asmodule"));
|
|
1402
692
|
var _indexlessasmodule1 = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("assets/index.less?asmodule"));
|
|
1403
693
|
var prevRefreshReg;
|
|
1404
694
|
var prevRefreshSig;
|
|
@@ -1426,11 +716,11 @@ const demos = {
|
|
|
1426
716
|
},
|
|
1427
717
|
"@rc-component/dialog": {
|
|
1428
718
|
"type": "NPM",
|
|
1429
|
-
"value": "1.
|
|
719
|
+
"value": "1.5.1"
|
|
1430
720
|
},
|
|
1431
|
-
"rc-select": {
|
|
721
|
+
"@rc-component/select": {
|
|
1432
722
|
"type": "NPM",
|
|
1433
|
-
"value": "
|
|
723
|
+
"value": "1.1.3"
|
|
1434
724
|
},
|
|
1435
725
|
"../../assets/index.less": {
|
|
1436
726
|
"type": "FILE",
|
|
@@ -1442,13 +732,13 @@ const demos = {
|
|
|
1442
732
|
context: {
|
|
1443
733
|
"../../assets/index.less": _indexlessasmodule1,
|
|
1444
734
|
"react": _react,
|
|
1445
|
-
"rc-dialog":
|
|
1446
|
-
"rc-select/assets/index.less": _indexlessasmodule,
|
|
735
|
+
"@rc-component/dialog": _dialog,
|
|
736
|
+
"@rc-component/select/assets/index.less": _indexlessasmodule,
|
|
1447
737
|
"/Users/jilin/projects/antd/rc-dialog/assets/index.less": _indexlessasmodule1
|
|
1448
738
|
},
|
|
1449
739
|
renderOpts: {
|
|
1450
740
|
compile: async (...args)=>{
|
|
1451
|
-
return (await __mako_require__.ensure2("node_modules/
|
|
741
|
+
return (await __mako_require__.ensure2("node_modules/dumi/dist/client/misc/reactDemoCompiler.js").then(__mako_require__.dr(interop, __mako_require__.bind(__mako_require__, "node_modules/dumi/dist/client/misc/reactDemoCompiler.js")))).default(...args);
|
|
1452
742
|
}
|
|
1453
743
|
}
|
|
1454
744
|
}
|
|
@@ -1475,52 +765,6 @@ if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
|
1475
765
|
_reactrefresh.performReactRefresh();
|
|
1476
766
|
}
|
|
1477
767
|
|
|
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
768
|
},
|
|
1525
769
|
"docs/examples/ant-design.tsx?dumi-raw": function (module, exports, __mako_require__){
|
|
1526
770
|
"use strict";
|
|
@@ -1534,7 +778,7 @@ __mako_require__.d(exports, "default", {
|
|
|
1534
778
|
}
|
|
1535
779
|
});
|
|
1536
780
|
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
1537
|
-
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/
|
|
781
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/react-refresh/runtime.js"));
|
|
1538
782
|
__mako_require__("docs/examples/ant-design.tsx?watch=parent");
|
|
1539
783
|
var prevRefreshReg;
|
|
1540
784
|
var prevRefreshSig;
|
|
@@ -1544,7 +788,7 @@ self.$RefreshReg$ = (type, id)=>{
|
|
|
1544
788
|
_reactrefresh.register(type, module.id + id);
|
|
1545
789
|
};
|
|
1546
790
|
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 [
|
|
791
|
+
var _default = "/* eslint no-console:0 */\nimport * as React from 'react';\nimport Select from '@rc-component/select';\nimport '@rc-component/select/assets/index.less';\nimport Dialog from '@rc-component/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 [destroyOnHidden, setDestroyOnHidden] = 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 onDestroyOnHiddenChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n setDestroyOnHidden(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 destroyOnHidden={destroyOnHidden}\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 popupStyle={{ 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 hidden:\n <input type=\"checkbox\" checked={destroyOnHidden} onChange={onDestroyOnHiddenChange} />\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
792
|
if (prevRefreshReg) self.$RefreshReg$ = prevRefreshReg;
|
|
1549
793
|
if (prevRefreshSig) self.$RefreshSig$ = prevRefreshSig;
|
|
1550
794
|
function registerClassComponent(filename, moduleExports) {
|
|
@@ -1580,7 +824,7 @@ __mako_require__.d(exports, "default", {
|
|
|
1580
824
|
}
|
|
1581
825
|
});
|
|
1582
826
|
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
1583
|
-
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/
|
|
827
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/react-refresh/runtime.js"));
|
|
1584
828
|
__mako_require__("docs/examples/bootstrap.tsx?watch=parent");
|
|
1585
829
|
var prevRefreshReg;
|
|
1586
830
|
var prevRefreshSig;
|
|
@@ -1590,7 +834,7 @@ self.$RefreshReg$ = (type, id)=>{
|
|
|
1590
834
|
_reactrefresh.register(type, module.id + id);
|
|
1591
835
|
};
|
|
1592
836
|
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 [
|
|
837
|
+
var _default = "import React from 'react';\nimport Dialog from '@rc-component/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 [destroyOnHidden, setDestroyOnHidden] = React.useState(false);\n\n const onClick = () => {\n setVisible(true);\n };\n\n const onClose = () => {\n setVisible(false);\n };\n\n const onDestroyOnHiddenChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n setDestroyOnHidden(e.target.checked);\n };\n\n const dialog = (\n <Dialog\n visible={visible}\n destroyOnHidden={destroyOnHidden}\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 hidden:\n <input type=\"checkbox\" checked={destroyOnHidden} onChange={onDestroyOnHiddenChange} />\n </label>\n </p>\n {dialog}\n </div>\n );\n};\n\nexport default MyControl;\n";
|
|
1594
838
|
if (prevRefreshReg) self.$RefreshReg$ = prevRefreshReg;
|
|
1595
839
|
if (prevRefreshSig) self.$RefreshSig$ = prevRefreshSig;
|
|
1596
840
|
function registerClassComponent(filename, moduleExports) {
|
|
@@ -1626,7 +870,7 @@ __mako_require__.d(exports, "default", {
|
|
|
1626
870
|
}
|
|
1627
871
|
});
|
|
1628
872
|
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
1629
|
-
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/
|
|
873
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/react-refresh/runtime.js"));
|
|
1630
874
|
__mako_require__("docs/examples/draggable.tsx?watch=parent");
|
|
1631
875
|
var prevRefreshReg;
|
|
1632
876
|
var prevRefreshSig;
|
|
@@ -1636,7 +880,7 @@ self.$RefreshReg$ = (type, id)=>{
|
|
|
1636
880
|
_reactrefresh.register(type, module.id + id);
|
|
1637
881
|
};
|
|
1638
882
|
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
|
|
883
|
+
var _default = "import 'bootstrap/dist/css/bootstrap.css';\nimport * as React from 'react';\nimport Draggable from 'react-draggable';\nimport Dialog from '@rc-component/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
884
|
if (prevRefreshReg) self.$RefreshReg$ = prevRefreshReg;
|
|
1641
885
|
if (prevRefreshSig) self.$RefreshSig$ = prevRefreshSig;
|
|
1642
886
|
function registerClassComponent(filename, moduleExports) {
|
|
@@ -1672,7 +916,7 @@ __mako_require__.d(exports, "default", {
|
|
|
1672
916
|
}
|
|
1673
917
|
});
|
|
1674
918
|
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
1675
|
-
var _reactrefresh = _interop_require_wildcard._(__mako_require__("node_modules/
|
|
919
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/react-refresh/runtime.js"));
|
|
1676
920
|
__mako_require__("docs/examples/multiple-Portal.tsx?watch=parent");
|
|
1677
921
|
var prevRefreshReg;
|
|
1678
922
|
var prevRefreshSig;
|
|
@@ -1682,7 +926,7 @@ self.$RefreshReg$ = (type, id)=>{
|
|
|
1682
926
|
_reactrefresh.register(type, module.id + id);
|
|
1683
927
|
};
|
|
1684
928
|
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";
|
|
929
|
+
var _default = "import * as React from 'react';\nimport Drawer from '@rc-component/drawer';\nimport '@rc-component/drawer/assets/index.css';\nimport Dialog from '@rc-component/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
930
|
if (prevRefreshReg) self.$RefreshReg$ = prevRefreshReg;
|
|
1687
931
|
if (prevRefreshSig) self.$RefreshSig$ = prevRefreshSig;
|
|
1688
932
|
function registerClassComponent(filename, moduleExports) {
|
|
@@ -1718,7 +962,7 @@ __mako_require__.d(exports, "default", {
|
|
|
1718
962
|
}
|
|
1719
963
|
});
|
|
1720
964
|
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
1721
|
-
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/
|
|
965
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/react-refresh/runtime.js"));
|
|
1722
966
|
__mako_require__("docs/examples/pure.tsx?watch=parent");
|
|
1723
967
|
var prevRefreshReg;
|
|
1724
968
|
var prevRefreshSig;
|
|
@@ -1728,7 +972,7 @@ self.$RefreshReg$ = (type, id)=>{
|
|
|
1728
972
|
_reactrefresh.register(type, module.id + id);
|
|
1729
973
|
};
|
|
1730
974
|
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";
|
|
975
|
+
var _default = "import React from 'react';\nimport { Panel } from '@rc-component/dialog';\nimport '@rc-component/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
976
|
if (prevRefreshReg) self.$RefreshReg$ = prevRefreshReg;
|
|
1733
977
|
if (prevRefreshSig) self.$RefreshSig$ = prevRefreshSig;
|
|
1734
978
|
function registerClassComponent(filename, moduleExports) {
|
|
@@ -1765,8 +1009,8 @@ __mako_require__.d(exports, "demos", {
|
|
|
1765
1009
|
});
|
|
1766
1010
|
var _interop_require_default = __mako_require__("@swc/helpers/_/_interop_require_default");
|
|
1767
1011
|
var _interop_require_wildcard = __mako_require__("@swc/helpers/_/_interop_require_wildcard");
|
|
1768
|
-
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/
|
|
1769
|
-
var _react = /*#__PURE__*/ _interop_require_default._(__mako_require__("node_modules/
|
|
1012
|
+
var _reactrefresh = /*#__PURE__*/ _interop_require_wildcard._(__mako_require__("node_modules/react-refresh/runtime.js"));
|
|
1013
|
+
var _react = /*#__PURE__*/ _interop_require_default._(__mako_require__("node_modules/react/index.js"));
|
|
1770
1014
|
__mako_require__("docs/index.md?watch=parent");
|
|
1771
1015
|
var prevRefreshReg;
|
|
1772
1016
|
var prevRefreshSig;
|
|
@@ -1799,593 +1043,6 @@ if ($RefreshIsReactComponentLike$(module.exports)) {
|
|
|
1799
1043
|
_reactrefresh.performReactRefresh();
|
|
1800
1044
|
}
|
|
1801
1045
|
|
|
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
1046
|
},
|
|
2390
1047
|
}]);
|
|
2391
1048
|
//# sourceMappingURL=meta__docs-async.js.map
|