@rc-component/dialog 1.8.1 → 1.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Dialog/index.js +7 -23
- package/lib/Dialog/index.js +7 -23
- package/package.json +2 -3
- package/dist/00feb83c-async.b2b13c3a.js +0 -2
- package/dist/00feb83c-async.b2b13c3a.js.map +0 -1
- package/dist/12e34244-async.042e069f.js +0 -2
- package/dist/12e34244-async.042e069f.js.map +0 -1
- package/dist/1476aea7-async.5924d48b.js +0 -2
- package/dist/1476aea7-async.5924d48b.js.map +0 -1
- package/dist/267f1112-async.b1c4e09d.js +0 -2
- package/dist/267f1112-async.b1c4e09d.js.map +0 -1
- package/dist/3daea961-async.dfa8a2b7.js +0 -2
- package/dist/3daea961-async.dfa8a2b7.js.map +0 -1
- package/dist/404.html +0 -15
- package/dist/42e76558-async.f2db19d4.js +0 -2
- package/dist/42e76558-async.f2db19d4.js.map +0 -1
- package/dist/58f5abb1-async.f36f6f5a.js +0 -2
- package/dist/58f5abb1-async.f36f6f5a.js.map +0 -1
- package/dist/779f92e1-async.d95373de.js +0 -124
- package/dist/779f92e1-async.d95373de.js.map +0 -1
- package/dist/9e8e2db3-async.7488f9f0.css +0 -2
- package/dist/9e8e2db3-async.7488f9f0.css.map +0 -1
- package/dist/9e8e2db3-async.82b5afee.js +0 -8
- package/dist/9e8e2db3-async.82b5afee.js.map +0 -1
- package/dist/9f7aa744-async.3e863897.js +0 -2
- package/dist/9f7aa744-async.3e863897.js.map +0 -1
- package/dist/bd24602e-async.050c580d.js +0 -2
- package/dist/bd24602e-async.050c580d.js.map +0 -1
- package/dist/cd8d7381-async.a336cd94.js +0 -2
- package/dist/cd8d7381-async.a336cd94.js.map +0 -1
- package/dist/changelog/index.html +0 -15
- package/dist/common-async.d12bbb31.js +0 -2
- package/dist/common-async.d12bbb31.js.map +0 -1
- package/dist/demo/ant-design/index.html +0 -15
- package/dist/demo/bootstrap/index.html +0 -15
- package/dist/demo/draggable/index.html +0 -15
- package/dist/demo/multiple--portal/index.html +0 -15
- package/dist/demo/pure/index.html +0 -15
- package/dist/f2210531-async.0ea798a7.js +0 -2
- package/dist/f2210531-async.0ea798a7.js.map +0 -1
- package/dist/f410dd15-async.4aeedec3.js +0 -2
- package/dist/f410dd15-async.4aeedec3.js.map +0 -1
- package/dist/fff33d9f-async.4061bf6f.js +0 -2
- package/dist/fff33d9f-async.4061bf6f.js.map +0 -1
- package/dist/fff33d9f-async.f200d0df.css +0 -2
- package/dist/fff33d9f-async.f200d0df.css.map +0 -1
- package/dist/index.html +0 -15
- package/dist/preload_helper.fdfc8d07.js +0 -1
- package/dist/umi.ebc6765d.js +0 -9
- package/dist/umi.ebc6765d.js.map +0 -1
- package/dist/umi.ed582539.css +0 -2
- package/dist/umi.ed582539.css.map +0 -1
- package/dist/vendors-async.53ad541e.css +0 -2
- package/dist/vendors-async.53ad541e.css.map +0 -1
- package/dist/vendors-async.af87bf96.js +0 -44
- package/dist/vendors-async.af87bf96.js.map +0 -1
- package/dist/~demos/:id/index.html +0 -15
- package/dist/~demos/docs-demo-ant-design-demo-ant-design/index.html +0 -15
- package/dist/~demos/docs-demo-bootstrap-demo-bootstrap/index.html +0 -15
- package/dist/~demos/docs-demo-draggable-demo-draggable/index.html +0 -15
- package/dist/~demos/docs-demo-multiple-portal-demo-multiple-portal/index.html +0 -15
- package/dist/~demos/docs-demo-pure-demo-pure/index.html +0 -15
package/es/Dialog/index.js
CHANGED
|
@@ -101,36 +101,26 @@ const Dialog = props => {
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
// >>> Content
|
|
104
|
-
const
|
|
105
|
-
const contentTimeoutRef = useRef(null);
|
|
106
|
-
|
|
107
|
-
// We need record content click in case content popup out of dialog
|
|
108
|
-
const onContentMouseDown = () => {
|
|
109
|
-
clearTimeout(contentTimeoutRef.current);
|
|
110
|
-
contentClickRef.current = true;
|
|
111
|
-
};
|
|
112
|
-
const onContentMouseUp = () => {
|
|
113
|
-
contentTimeoutRef.current = setTimeout(() => {
|
|
114
|
-
contentClickRef.current = false;
|
|
115
|
-
});
|
|
116
|
-
};
|
|
104
|
+
const mouseDownOnMaskRef = useRef(false);
|
|
117
105
|
|
|
118
106
|
// >>> Wrapper
|
|
119
107
|
// Close only when element not on dialog
|
|
120
108
|
let onWrapperClick = null;
|
|
121
109
|
if (maskClosable) {
|
|
122
110
|
onWrapperClick = e => {
|
|
123
|
-
if (
|
|
124
|
-
contentClickRef.current = false;
|
|
125
|
-
} else if (wrapperRef.current === e.target) {
|
|
111
|
+
if (wrapperRef.current === e.target && mouseDownOnMaskRef.current) {
|
|
126
112
|
onInternalClose(e);
|
|
127
113
|
}
|
|
128
114
|
};
|
|
129
115
|
}
|
|
116
|
+
function onWrapperMouseDown(e) {
|
|
117
|
+
mouseDownOnMaskRef.current = e.target === wrapperRef.current;
|
|
118
|
+
}
|
|
130
119
|
|
|
131
120
|
// ========================= Effect =========================
|
|
132
121
|
useEffect(() => {
|
|
133
122
|
if (visible) {
|
|
123
|
+
mouseDownOnMaskRef.current = false;
|
|
134
124
|
setAnimatedVisible(true);
|
|
135
125
|
saveLastOutSideActiveElementRef();
|
|
136
126
|
|
|
@@ -143,11 +133,6 @@ const Dialog = props => {
|
|
|
143
133
|
doClose();
|
|
144
134
|
}
|
|
145
135
|
}, [visible]);
|
|
146
|
-
|
|
147
|
-
// Remove direct should also check the scroll bar update
|
|
148
|
-
useEffect(() => () => {
|
|
149
|
-
clearTimeout(contentTimeoutRef.current);
|
|
150
|
-
}, []);
|
|
151
136
|
const mergedStyle = {
|
|
152
137
|
zIndex,
|
|
153
138
|
...wrapStyle,
|
|
@@ -176,11 +161,10 @@ const Dialog = props => {
|
|
|
176
161
|
className: clsx(`${prefixCls}-wrap`, wrapClassName, modalClassNames?.wrapper),
|
|
177
162
|
ref: wrapperRef,
|
|
178
163
|
onClick: onWrapperClick,
|
|
164
|
+
onMouseDown: onWrapperMouseDown,
|
|
179
165
|
style: mergedStyle
|
|
180
166
|
}, wrapProps), /*#__PURE__*/React.createElement(Content, _extends({}, props, {
|
|
181
167
|
isFixedPos: isFixedPos,
|
|
182
|
-
onMouseDown: onContentMouseDown,
|
|
183
|
-
onMouseUp: onContentMouseUp,
|
|
184
168
|
ref: contentRef,
|
|
185
169
|
closable: closable,
|
|
186
170
|
ariaId: ariaId,
|
package/lib/Dialog/index.js
CHANGED
|
@@ -110,36 +110,26 @@ const Dialog = props => {
|
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
// >>> Content
|
|
113
|
-
const
|
|
114
|
-
const contentTimeoutRef = (0, _react.useRef)(null);
|
|
115
|
-
|
|
116
|
-
// We need record content click in case content popup out of dialog
|
|
117
|
-
const onContentMouseDown = () => {
|
|
118
|
-
clearTimeout(contentTimeoutRef.current);
|
|
119
|
-
contentClickRef.current = true;
|
|
120
|
-
};
|
|
121
|
-
const onContentMouseUp = () => {
|
|
122
|
-
contentTimeoutRef.current = setTimeout(() => {
|
|
123
|
-
contentClickRef.current = false;
|
|
124
|
-
});
|
|
125
|
-
};
|
|
113
|
+
const mouseDownOnMaskRef = (0, _react.useRef)(false);
|
|
126
114
|
|
|
127
115
|
// >>> Wrapper
|
|
128
116
|
// Close only when element not on dialog
|
|
129
117
|
let onWrapperClick = null;
|
|
130
118
|
if (maskClosable) {
|
|
131
119
|
onWrapperClick = e => {
|
|
132
|
-
if (
|
|
133
|
-
contentClickRef.current = false;
|
|
134
|
-
} else if (wrapperRef.current === e.target) {
|
|
120
|
+
if (wrapperRef.current === e.target && mouseDownOnMaskRef.current) {
|
|
135
121
|
onInternalClose(e);
|
|
136
122
|
}
|
|
137
123
|
};
|
|
138
124
|
}
|
|
125
|
+
function onWrapperMouseDown(e) {
|
|
126
|
+
mouseDownOnMaskRef.current = e.target === wrapperRef.current;
|
|
127
|
+
}
|
|
139
128
|
|
|
140
129
|
// ========================= Effect =========================
|
|
141
130
|
(0, _react.useEffect)(() => {
|
|
142
131
|
if (visible) {
|
|
132
|
+
mouseDownOnMaskRef.current = false;
|
|
143
133
|
setAnimatedVisible(true);
|
|
144
134
|
saveLastOutSideActiveElementRef();
|
|
145
135
|
|
|
@@ -152,11 +142,6 @@ const Dialog = props => {
|
|
|
152
142
|
doClose();
|
|
153
143
|
}
|
|
154
144
|
}, [visible]);
|
|
155
|
-
|
|
156
|
-
// Remove direct should also check the scroll bar update
|
|
157
|
-
(0, _react.useEffect)(() => () => {
|
|
158
|
-
clearTimeout(contentTimeoutRef.current);
|
|
159
|
-
}, []);
|
|
160
145
|
const mergedStyle = {
|
|
161
146
|
zIndex,
|
|
162
147
|
...wrapStyle,
|
|
@@ -185,11 +170,10 @@ const Dialog = props => {
|
|
|
185
170
|
className: (0, _clsx.clsx)(`${prefixCls}-wrap`, wrapClassName, modalClassNames?.wrapper),
|
|
186
171
|
ref: wrapperRef,
|
|
187
172
|
onClick: onWrapperClick,
|
|
173
|
+
onMouseDown: onWrapperMouseDown,
|
|
188
174
|
style: mergedStyle
|
|
189
175
|
}, wrapProps), /*#__PURE__*/React.createElement(_Content.default, _extends({}, props, {
|
|
190
176
|
isFixedPos: isFixedPos,
|
|
191
|
-
onMouseDown: onContentMouseDown,
|
|
192
|
-
onMouseUp: onContentMouseUp,
|
|
193
177
|
ref: contentRef,
|
|
194
178
|
closable: closable,
|
|
195
179
|
ariaId: ariaId,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rc-component/dialog",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.3",
|
|
4
4
|
"description": "dialog ui component for react",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -24,8 +24,7 @@
|
|
|
24
24
|
"files": [
|
|
25
25
|
"lib",
|
|
26
26
|
"es",
|
|
27
|
-
"assets/*.css"
|
|
28
|
-
"dist"
|
|
27
|
+
"assets/*.css"
|
|
29
28
|
],
|
|
30
29
|
"scripts": {
|
|
31
30
|
"compile": "father build && lessc assets/index.less assets/index.css && lessc assets/bootstrap.less assets/bootstrap.css",
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@rc-component/dialog"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@rc-component/dialog"]||[]).push([["00feb83c"],{"00feb83c":function(e,d,a){"use strict";a.d(d,"__esModule",{value:!0}),a.d(d,"default",{enumerable:!0,get:function(){return s;}});var f=a("777fffbe"),c=a("bf7d8b23");a("89bc0c0e"),a("6c1951dd"),a("15613fd2"),a("e8f937f0"),a("cedd96a0"),a("dcb6a99d"),a("813ff093"),a("be31a3ce");var n=a("c90f8711"),o=f._(a("a10b1492")),l=a("a34fe2c4");a("df549a1c");var s=function(){return(0,c.jsx)(n.DumiPage,{children:(0,c.jsx)(l.Suspense,{fallback:(0,c.jsx)(o.default,{}),children:(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(n.DumiDemo,{demo:{id:"docs-demo-pure-demo-pure"},previewerProps:{filename:"docs/examples/pure.tsx"}})})})});};}}]);
|
|
2
|
-
//# sourceMappingURL=00feb83c-async.b2b13c3a.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["docs/demo/pure.md"],"sourcesContent":["import API from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage } from 'dumi';\nimport { texts as $$contentTexts } from '/Users/afc163/Projects/dialog/docs/demo/pure.md?type=text';\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n return (\n <DumiPage>\n <Suspense fallback={<LoadingComponent />}>\n <><DumiDemo {...{\n \"demo\": {\n \"id\": \"docs-demo-pure-demo-pure\"\n },\n \"previewerProps\": {\n \"filename\": \"docs/examples/pure.tsx\"\n }\n}} /></>\n </Suspense>\n </DumiPage>\n )\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"6QAoCA,+CAAA,4CApCgB,cACE,cACI,cACA,cACA,cACC,cACL,cACD,oBACQ,oBAII,iBACG,cAEQ,gBAqBxC,EAjBA,WACE,MACE,UAAC,UAAQ,WACP,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cACnC,+BAAE,UAAC,UAAQ,EACjB,KAAQ,CACN,GAAM,0BACR,EACA,eAAkB,CAChB,SAAY,wBACd,UAKF"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@rc-component/dialog"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@rc-component/dialog"]||[]).push([["12e34244"],{"12e34244":function(e,a,d){"use strict";d.d(a,"__esModule",{value:!0}),d.d(a,"default",{enumerable:!0,get:function(){return s;}});var l=d("777fffbe"),n=d("bf7d8b23");d("89bc0c0e"),d("6c1951dd"),d("15613fd2"),d("e8f937f0"),d("cedd96a0"),d("dcb6a99d"),d("813ff093"),d("be31a3ce");var o=d("c90f8711"),f=l._(d("a10b1492")),c=d("a34fe2c4");d("6ac6dd60");var s=function(){return(0,n.jsx)(o.DumiPage,{children:(0,n.jsx)(c.Suspense,{fallback:(0,n.jsx)(f.default,{}),children:(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(o.DumiDemo,{demo:{id:"docs-demo-draggable-demo-draggable"},previewerProps:{filename:"docs/examples/draggable.tsx"}})})})});};}}]);
|
|
2
|
-
//# sourceMappingURL=12e34244-async.042e069f.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["docs/demo/draggable.md"],"sourcesContent":["import API from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage } from 'dumi';\nimport { texts as $$contentTexts } from '/Users/afc163/Projects/dialog/docs/demo/draggable.md?type=text';\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n return (\n <DumiPage>\n <Suspense fallback={<LoadingComponent />}>\n <><DumiDemo {...{\n \"demo\": {\n \"id\": \"docs-demo-draggable-demo-draggable\"\n },\n \"previewerProps\": {\n \"filename\": \"docs/examples/draggable.tsx\"\n }\n}} /></>\n </Suspense>\n </DumiPage>\n )\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"6QAoCA,+CAAA,4CApCgB,cACE,cACI,cACA,cACA,cACC,cACL,cACD,oBACQ,oBAII,iBACG,cAEQ,gBAqBxC,EAjBA,WACE,MACE,UAAC,UAAQ,WACP,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cACnC,+BAAE,UAAC,UAAQ,EACjB,KAAQ,CACN,GAAM,oCACR,EACA,eAAkB,CAChB,SAAY,6BACd,UAKF"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@rc-component/dialog"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@rc-component/dialog"]||[]).push([["1476aea7"],{"1476aea7":function(e,a,l){"use strict";l.d(a,"__esModule",{value:!0}),l.d(a,"default",{enumerable:!0,get:function(){return f;}});var d=l("777fffbe"),n=l("bf7d8b23");l("89bc0c0e"),l("6c1951dd"),l("15613fd2"),l("e8f937f0"),l("cedd96a0"),l("dcb6a99d"),l("813ff093"),l("be31a3ce");var o=l("c90f8711"),t=d._(l("a10b1492")),u=l("a34fe2c4");l("8eb0a818");var f=function(){return(0,n.jsx)(o.DumiPage,{children:(0,n.jsx)(u.Suspense,{fallback:(0,n.jsx)(t.default,{}),children:(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(o.DumiDemo,{demo:{id:"docs-demo-multiple-portal-demo-multiple-portal"},previewerProps:{filename:"docs/examples/multiple-Portal.tsx"}})})})});};},"8eb0a818":function(e,a,l){"use strict";l.d(a,"__esModule",{value:!0}),l.d(a,"texts",{enumerable:!0,get:function(){return d;}}),l("13b2a0a3");let d=[];}}]);
|
|
2
|
-
//# sourceMappingURL=1476aea7-async.5924d48b.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["docs/demo/multiple-Portal.md","docs/demo/multiple-Portal.md?type=text"],"sourcesContent":["import API from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage } from 'dumi';\nimport { texts as $$contentTexts } from '/Users/afc163/Projects/dialog/docs/demo/multiple-Portal.md?type=text';\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n return (\n <DumiPage>\n <Suspense fallback={<LoadingComponent />}>\n <><DumiDemo {...{\n \"demo\": {\n \"id\": \"docs-demo-multiple-portal-demo-multiple-portal\"\n },\n \"previewerProps\": {\n \"filename\": \"docs/examples/multiple-Portal.tsx\"\n }\n}} /></>\n </Suspense>\n </DumiPage>\n )\n}\n\nexport default DumiMarkdownContent;","\n import '/Users/afc163/Projects/dialog/docs/demo/multiple-Portal.md?watch=parent';\n export const texts = [];\n "],"names":[],"mappings":"6QAoCA,+CAAA,4CApCgB,cACE,cACI,cACA,cACA,cACC,cACL,cACD,oBACQ,oBAII,iBACG,cAEQ,gBAqBxC,EAjBA,WACE,MACE,UAAC,UAAQ,WACP,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cACnC,+BAAE,UAAC,UAAQ,EACjB,KAAQ,CACN,GAAM,gDACR,EACA,eAAkB,CAChB,SAAY,mCACd,UAKF,iFChCe,6CAAA,QADN,YACA,IAAM,EAAQ,EAAE"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@rc-component/dialog"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@rc-component/dialog"]||[]).push([["267f1112"],{"267f1112":function(e,t,o){o.d(t,"__esModule",{value:!0}),o.e(t,{default:function(){return h;}});var n=o("852bbaa9"),l=o("bf7d8b23"),a=o("a34fe2c4"),i=n._(a),r=o("c90f8711"),s=o("e62f9752"),u=o("a9da58f1"),c=o("1d3d193f");let d={},m={name:"@rc-component/dialog",description:"dialog ui component for react",version:"1.5.1",license:"MIT",repository:{type:"git",url:"git@github.com:react-component/dialog.git"},author:"yiminghe@gmail.com"},f="browser",g=void 0,p={footer:'Copyright \xa9 2025 | Powered by <a href="https://d.umijs.org" target="_blank" rel="noreferrer">dumi</a>',prefersColor:{default:"light",switch:!0},nprogress:!0,lastUpdated:!0,name:"Dialog",logo:"https://avatars0.githubusercontent.com/u/9441414?s=200&v=4",sourceLink:"https://github.com/react-component/dialog/tree/fix%2Fci-bug/{fileName}#L{line}",editLink:"https://github.com/react-component/dialog/edit/fix%2Fci-bug/{filename}"};function h(){let e=(0,r.useOutlet)(),[t,o]=(0,i.useState)(!1),n=(0,i.useRef)(r.history.location.pathname);(0,i.useEffect)(()=>r.history.listen(e=>{e.location.pathname!==n.current&&(n.current=e.location.pathname,document.documentElement.scrollTo(0,0));}),[]);let a=i.default.useMemo(()=>{let e={pkg:m,historyType:f,entryExports:d,demos:null,components:null,locales:c.locales,loading:t,setLoading:o,hostname:g,themeConfig:p,_2_level_nav_available:!1};return Object.defineProperty(e,"demos",{get:()=>((0,s.warning)(!1,"`demos` return empty in latest version, please use `useDemo` instead."),{})}),e;},[m,f,d,null,c.locales,t,o,g,p,!1]);return(0,l.jsx)(u.SiteContext.Provider,{value:a,children:e});}}}]);
|
|
2
|
-
//# sourceMappingURL=267f1112-async.b1c4e09d.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[".dumi/tmp-production/dumi/theme/ContextWrapper.tsx",".dumi/tmp-production/dumi/meta/atoms.ts"],"sourcesContent":["// @ts-nocheck\n// This file is generated by Umi automatically\n// DO NOT CHANGE IT MANUALLY!\nimport React, { useState, useEffect, useRef } from 'react';\nimport { useOutlet, history } from 'dumi';\nimport { warning } from '/Users/afc163/Projects/dialog/node_modules/rc-util';\nimport { SiteContext, type ISiteContext } from '/Users/afc163/Projects/dialog/node_modules/dumi/dist/client/theme-api/context.js';\nimport { components } from '../meta/atoms';\nimport { locales } from '../locales/config';\n\n\n\nconst entryExports = {\n};\n\n// Static content\nconst pkg = {\"name\":\"@rc-component/dialog\",\"description\":\"dialog ui component for react\",\"version\":\"1.5.1\",\"license\":\"MIT\",\"repository\":{\"type\":\"git\",\"url\":\"git@github.com:react-component/dialog.git\"},\"author\":\"yiminghe@gmail.com\"};\nconst historyType = \"browser\";\nconst hostname = undefined;\nconst themeConfig = {\"footer\":\"Copyright © 2025 | Powered by <a href=\\\"https://d.umijs.org\\\" target=\\\"_blank\\\" rel=\\\"noreferrer\\\">dumi</a>\",\"prefersColor\":{\"default\":\"light\",\"switch\":true},\"nprogress\":true,\"lastUpdated\":true,\"name\":\"Dialog\",\"logo\":\"https://avatars0.githubusercontent.com/u/9441414?s=200&v=4\",\"sourceLink\":\"https://github.com/react-component/dialog/tree/fix%2Fci-bug/{fileName}#L{line}\",\"editLink\":\"https://github.com/react-component/dialog/edit/fix%2Fci-bug/{filename}\"};\nconst _2_level_nav_available = false;\n\nexport default function DumiContextWrapper() {\n const outlet = useOutlet();\n const [loading, setLoading] = useState(false);\n const prev = useRef(history.location.pathname);\n\n useEffect(() => {\n return history.listen((next) => {\n if (next.location.pathname !== prev.current) {\n prev.current = next.location.pathname;\n\n // scroll to top when route changed\n document.documentElement.scrollTo(0, 0);\n }\n });\n }, []);\n\n const context: ISiteContext = React.useMemo(() => {\n const ctx = {\n pkg,\n historyType,\n entryExports,\n demos: null,\n components,\n locales,\n loading,\n setLoading,\n hostname,\n themeConfig,\n _2_level_nav_available,\n };\n\n // Proxy do not warning since `Object.keys` will get nothing to loop\n Object.defineProperty(ctx, 'demos', {\n get: () => {\n warning(false, '`demos` return empty in latest version, please use `useDemo` instead.');\n return {};\n },\n });\n\n return ctx;\n }, [\n pkg,\n historyType,\n entryExports,\n components,\n locales,\n loading,\n setLoading,\n hostname,\n themeConfig,\n _2_level_nav_available,\n ]);\n\n return (\n <SiteContext.Provider value={context}>\n {outlet}\n </SiteContext.Provider>\n );\n}\n","// @ts-nocheck\n// This file is generated by Umi automatically\n// DO NOT CHANGE IT MANUALLY!\nexport const components = null;\n"],"names":[],"mappings":"8ZAYA,IAAM,EAAe,CACrB,EAGM,EAAM,CAAC,KAAO,uBAAuB,YAAc,gCAAgC,QAAU,QAAQ,QAAU,MAAM,WAAa,CAAC,KAAO,MAAM,IAAM,2CAA2C,EAAE,OAAS,oBAAoB,EAChO,EAAc,UACd,EAAW,KAAA,EACX,EAAc,CAAC,OAAS,2GAA8G,aAAe,CAAC,QAAU,QAAQ,OAAS,CAAA,CAAI,EAAE,UAAY,CAAA,EAAK,YAAc,CAAA,EAAK,KAAO,SAAS,KAAO,6DAA6D,WAAa,iFAAiF,SAAW,wEAAwE,EAGvd,SAAS,IACtB,IAAM,EAAS,GAAA,WAAS,IAClB,CAAC,EAAS,EAAW,CAAG,GAAA,UAAQ,EAAC,CAAA,GACjC,EAAO,GAAA,QAAM,EAAC,SAAO,CAAC,QAAQ,CAAC,QAAQ,EAE7C,GAAA,WAAS,EAAC,IACD,SAAO,CAAC,MAAM,CAAC,AAAC,IACjB,EAAK,QAAQ,CAAC,QAAQ,GAAK,EAAK,OAAO,GACzC,EAAK,OAAO,CAAG,EAAK,QAAQ,CAAC,QAAQ,CAGrC,SAAS,eAAe,CAAC,QAAQ,CAAC,EAAG,IAEzC,GACC,EAAE,EAEL,IAAM,EAAwB,SAAK,CAAC,OAAO,CAAC,KAC1C,IAAM,EAAM,CACV,IAAA,EACA,YAAA,EACA,aAAA,EACA,MAAO,KACP,WCzCoB,KD0CpB,QAAA,SAAO,CACP,QAAA,EACA,WAAA,EACA,SAAA,EACA,YAAA,EACA,uBA9ByB,CAAA,CA+B3B,EAUA,OAPA,OAAO,cAAc,CAAC,EAAK,QAAS,CAClC,IAAK,KACH,GAAA,SAAO,EAAC,CAAA,EAAO,yEACR,CAAC,EAEZ,GAEO,EACT,EAAG,CACD,EACA,EACA,EC9DsB,KDgEtB,SAAO,CACP,EACA,EACA,EACA,EAnD2B,CAAA,EAqD5B,EAED,MACE,UAAC,aAAW,CAAC,QAAQ,EAAC,MAAO,WAC1B,IAGP"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@rc-component/dialog"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@rc-component/dialog"]||[]).push([["3daea961"],{"3daea961":function(e,a,o){"use strict";o.d(a,"__esModule",{value:!0}),o.d(a,"default",{enumerable:!0,get:function(){return c;}});var d=o("777fffbe"),n=o("bf7d8b23");o("89bc0c0e"),o("6c1951dd"),o("15613fd2"),o("e8f937f0"),o("cedd96a0"),o("dcb6a99d"),o("813ff093"),o("be31a3ce");var s=o("c90f8711"),f=d._(o("a10b1492")),l=o("a34fe2c4");o("e4904749");var c=function(){return(0,n.jsx)(s.DumiPage,{children:(0,n.jsx)(l.Suspense,{fallback:(0,n.jsx)(f.default,{}),children:(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(s.DumiDemo,{demo:{id:"docs-demo-bootstrap-demo-bootstrap"},previewerProps:{filename:"docs/examples/bootstrap.tsx"}})})})});};}}]);
|
|
2
|
-
//# sourceMappingURL=3daea961-async.dfa8a2b7.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["docs/demo/bootstrap.md"],"sourcesContent":["import API from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage } from 'dumi';\nimport { texts as $$contentTexts } from '/Users/afc163/Projects/dialog/docs/demo/bootstrap.md?type=text';\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n return (\n <DumiPage>\n <Suspense fallback={<LoadingComponent />}>\n <><DumiDemo {...{\n \"demo\": {\n \"id\": \"docs-demo-bootstrap-demo-bootstrap\"\n },\n \"previewerProps\": {\n \"filename\": \"docs/examples/bootstrap.tsx\"\n }\n}} /></>\n </Suspense>\n </DumiPage>\n )\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"6QAoCA,+CAAA,4CApCgB,cACE,cACI,cACA,cACA,cACC,cACL,cACD,oBACQ,oBAII,iBACG,cAEQ,gBAqBxC,EAjBA,WACE,MACE,UAAC,UAAQ,WACP,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cACnC,+BAAE,UAAC,UAAQ,EACjB,KAAQ,CACN,GAAM,oCACR,EACA,eAAkB,CAChB,SAAY,6BACd,UAKF"}
|
package/dist/404.html
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
6
|
-
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
7
|
-
<link rel="shortcut icon" href="https://avatars0.githubusercontent.com/u/9441414?s=200&v=4">
|
|
8
|
-
<link rel="stylesheet" href="/umi.ed582539.css">
|
|
9
|
-
<script src="/preload_helper.fdfc8d07.js"></script>
|
|
10
|
-
</head>
|
|
11
|
-
<body>
|
|
12
|
-
<div id="root"></div>
|
|
13
|
-
<script src="/umi.ebc6765d.js"></script>
|
|
14
|
-
</body>
|
|
15
|
-
</html>
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@rc-component/dialog"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@rc-component/dialog"]||[]).push([["42e76558"],{"07bb7705":function(e,t,s){},"42e76558":function(e,t,s){"use strict";s.d(t,"__esModule",{value:!0}),s.d(t,"default",{enumerable:!0,get:function(){return h;}});var d=s("777fffbe"),l=s("bf7d8b23");s("89bc0c0e"),s("6c1951dd"),s("15613fd2"),s("e8f937f0"),s("cedd96a0");var n=d._(s("dcb6a99d")),x=d._(s("813ff093"));s("be31a3ce");var i=s("c90f8711");s("07bb7705");var a=d._(s("a10b1492")),c=s("a34fe2c4"),r=s("c0970a21"),h=function(){return(0,l.jsx)(i.DumiPage,{children:(0,l.jsx)(c.Suspense,{fallback:(0,l.jsx)(a.default,{}),children:(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:"markdown",children:[(0,l.jsxs)("h1",{id:"rc-componentdialog",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#rc-componentdialog",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"@rc-component/dialog"]}),(0,l.jsx)("p",{children:r.texts[0].value}),(0,l.jsxs)("p",{children:[(0,l.jsx)("a",{href:"https://npmjs.org/package/@rc-component/dialog",children:(0,l.jsx)("img",{src:"https://img.shields.io/npm/v/@rc-component/dialog.svg?style=flat-square",alt:"NPM version"})}),r.texts[1].value,(0,l.jsx)("a",{href:"https://npmjs.org/package/@rc-component/dialog",children:(0,l.jsx)("img",{src:"https://img.shields.io/npm/dm/@rc-component/dialog.svg?style=flat-square",alt:"npm download"})}),r.texts[2].value,(0,l.jsx)("a",{href:"https://github.com/react-component/dialog/actions/workflows/ci.yml",children:(0,l.jsx)("img",{src:"https://github.com/react-component/dialog/actions/workflows/ci.yml/badge.svg",alt:"build status"})}),r.texts[3].value,(0,l.jsx)("a",{href:"https://app.codecov.io/gh/react-component/dialog",children:(0,l.jsx)("img",{src:"https://img.shields.io/codecov/c/github/react-component/dialog/master.svg?style=flat-square",alt:"Codecov"})}),r.texts[4].value,(0,l.jsx)("a",{href:"https://bundlephobia.com/package/@rc-component/dialog",children:(0,l.jsx)("img",{src:"https://badgen.net/bundlephobia/minzip/@rc-component/dialog",alt:"bundle size"})}),r.texts[5].value,(0,l.jsx)("a",{href:"https://github.com/umijs/dumi",children:(0,l.jsx)("img",{src:"https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square",alt:"dumi"})})]}),(0,l.jsxs)("h2",{id:"screenshot",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#screenshot",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"Screenshot"]}),(0,l.jsx)("img",{src:"http://gtms04.alicdn.com/tps/i4/TB1dp5lHXXXXXbmXpXXyVug.FXX-664-480.png"}),(0,l.jsxs)("h2",{id:"example",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#example",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"Example"]}),(0,l.jsx)("p",{children:(0,l.jsx)("a",{href:"http://localhost:8007/examples/",children:r.texts[6].value})}),(0,l.jsxs)("p",{children:[r.texts[7].value,(0,l.jsx)("a",{href:"https://dialog.react-component.vercel.app/",children:r.texts[8].value})]}),(0,l.jsxs)("h2",{id:"install",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#install",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"Install"]}),(0,l.jsx)("p",{children:(0,l.jsx)("a",{href:"https://npmjs.org/package/@rc-component/dialog",children:(0,l.jsx)("img",{src:"https://nodei.co/npm/@rc-component/dialog.png",alt:"@rc-component/dialog"})})}),(0,l.jsxs)("h2",{id:"usage",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#usage",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"Usage"]}),(0,l.jsx)(n.default,{lang:"js",children:r.texts[9].value}),(0,l.jsxs)("h2",{id:"api",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,l.jsxs)("h3",{id:"rc-componentdialog-1",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#rc-componentdialog-1",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"@rc-component/dialog"]}),(0,l.jsxs)(x.default,{children:[(0,l.jsx)("thead",{children:(0,l.jsxs)("tr",{children:[(0,l.jsx)("th",{children:r.texts[10].value}),(0,l.jsx)("th",{children:r.texts[11].value}),(0,l.jsx)("th",{children:r.texts[12].value}),(0,l.jsx)("th",{children:r.texts[13].value}),(0,l.jsx)("th",{children:r.texts[14].value})]})}),(0,l.jsxs)("tbody",{children:[(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:r.texts[15].value}),(0,l.jsx)("td",{children:r.texts[16].value}),(0,l.jsx)("td",{children:r.texts[17].value}),(0,l.jsx)("td",{children:r.texts[18].value}),(0,l.jsx)("td",{})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:r.texts[19].value}),(0,l.jsx)("td",{children:r.texts[20].value}),(0,l.jsx)("td",{}),(0,l.jsx)("td",{children:r.texts[21].value}),(0,l.jsx)("td",{})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:r.texts[22].value}),(0,l.jsx)("td",{children:r.texts[23].value}),(0,l.jsx)("td",{}),(0,l.jsx)("td",{children:r.texts[24].value}),(0,l.jsx)("td",{})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:r.texts[25].value}),(0,l.jsx)("td",{children:r.texts[26].value}),(0,l.jsx)("td",{}),(0,l.jsx)("td",{children:r.texts[27].value}),(0,l.jsx)("td",{})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:r.texts[28].value}),(0,l.jsx)("td",{children:r.texts[29].value}),(0,l.jsx)("td",{children:r.texts[30].value}),(0,l.jsx)("td",{children:r.texts[31].value}),(0,l.jsx)("td",{})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:r.texts[32].value}),(0,l.jsx)("td",{children:r.texts[33].value}),(0,l.jsx)("td",{}),(0,l.jsx)("td",{}),(0,l.jsx)("td",{})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:r.texts[34].value}),(0,l.jsx)("td",{children:r.texts[35].value}),(0,l.jsx)("td",{children:r.texts[36].value}),(0,l.jsx)("td",{children:r.texts[37].value}),(0,l.jsx)("td",{})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:r.texts[38].value}),(0,l.jsx)("td",{children:r.texts[39].value}),(0,l.jsx)("td",{}),(0,l.jsx)("td",{children:r.texts[40].value}),(0,l.jsx)("td",{})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:r.texts[41].value}),(0,l.jsx)("td",{children:r.texts[42].value}),(0,l.jsx)("td",{}),(0,l.jsx)("td",{children:r.texts[43].value}),(0,l.jsx)("td",{})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:r.texts[44].value}),(0,l.jsx)("td",{children:r.texts[45].value}),(0,l.jsx)("td",{}),(0,l.jsx)("td",{children:r.texts[46].value}),(0,l.jsx)("td",{})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:r.texts[47].value}),(0,l.jsx)("td",{children:r.texts[48].value}),(0,l.jsx)("td",{}),(0,l.jsx)("td",{children:r.texts[49].value}),(0,l.jsx)("td",{})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:r.texts[50].value}),(0,l.jsx)("td",{children:r.texts[51].value}),(0,l.jsx)("td",{}),(0,l.jsx)("td",{children:r.texts[52].value}),(0,l.jsx)("td",{})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:r.texts[53].value}),(0,l.jsx)("td",{children:r.texts[54].value}),(0,l.jsx)("td",{}),(0,l.jsx)("td",{children:r.texts[55].value}),(0,l.jsx)("td",{})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:r.texts[56].value}),(0,l.jsx)("td",{children:r.texts[57].value}),(0,l.jsx)("td",{children:r.texts[58].value}),(0,l.jsx)("td",{children:r.texts[59].value}),(0,l.jsx)("td",{})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:r.texts[60].value}),(0,l.jsx)("td",{children:r.texts[61].value}),(0,l.jsx)("td",{children:r.texts[62].value}),(0,l.jsx)("td",{children:r.texts[63].value}),(0,l.jsx)("td",{})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:r.texts[64].value}),(0,l.jsx)("td",{children:r.texts[65].value}),(0,l.jsx)("td",{children:r.texts[66].value}),(0,l.jsx)("td",{children:r.texts[67].value}),(0,l.jsx)("td",{})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:r.texts[68].value}),(0,l.jsx)("td",{children:r.texts[69].value}),(0,l.jsx)("td",{children:r.texts[70].value}),(0,l.jsx)("td",{children:r.texts[71].value}),(0,l.jsx)("td",{})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:r.texts[72].value}),(0,l.jsx)("td",{children:r.texts[73].value}),(0,l.jsx)("td",{}),(0,l.jsx)("td",{children:r.texts[74].value}),(0,l.jsx)("td",{})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:r.texts[75].value}),(0,l.jsx)("td",{children:r.texts[76].value}),(0,l.jsx)("td",{}),(0,l.jsx)("td",{children:r.texts[77].value}),(0,l.jsx)("td",{})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:r.texts[78].value}),(0,l.jsx)("td",{children:r.texts[79].value}),(0,l.jsx)("td",{}),(0,l.jsx)("td",{children:r.texts[80].value}),(0,l.jsx)("td",{})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:r.texts[81].value}),(0,l.jsx)("td",{children:r.texts[82].value}),(0,l.jsx)("td",{}),(0,l.jsx)("td",{children:r.texts[83].value}),(0,l.jsx)("td",{})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:r.texts[84].value}),(0,l.jsx)("td",{children:r.texts[85].value}),(0,l.jsx)("td",{children:r.texts[86].value}),(0,l.jsx)("td",{children:r.texts[87].value}),(0,l.jsx)("td",{})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:r.texts[88].value}),(0,l.jsx)("td",{children:r.texts[89].value}),(0,l.jsx)("td",{}),(0,l.jsx)("td",{children:r.texts[90].value}),(0,l.jsx)("td",{})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:r.texts[91].value}),(0,l.jsx)("td",{children:r.texts[92].value}),(0,l.jsx)("td",{children:r.texts[93].value}),(0,l.jsx)("td",{children:r.texts[94].value}),(0,l.jsx)("td",{})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:r.texts[95].value}),(0,l.jsx)("td",{children:r.texts[96].value}),(0,l.jsx)("td",{children:r.texts[97].value}),(0,l.jsx)("td",{children:r.texts[98].value}),(0,l.jsx)("td",{})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:r.texts[99].value}),(0,l.jsx)("td",{children:r.texts[100].value}),(0,l.jsx)("td",{}),(0,l.jsx)("td",{children:r.texts[101].value}),(0,l.jsx)("td",{children:r.texts[102].value})]})]})]}),(0,l.jsxs)("h2",{id:"development",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#development",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"Development"]}),(0,l.jsx)(n.default,{children:r.texts[103].value}),(0,l.jsxs)("h2",{id:"test-case",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#test-case",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"Test Case"]}),(0,l.jsx)(n.default,{children:r.texts[104].value}),(0,l.jsxs)("h2",{id:"coverage",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#coverage",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"Coverage"]}),(0,l.jsx)(n.default,{children:r.texts[105].value}),(0,l.jsx)("p",{children:r.texts[106].value}),(0,l.jsxs)("h2",{id:"license",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#license",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"License"]}),(0,l.jsx)("p",{children:r.texts[107].value}),(0,l.jsxs)("h2",{id:"-contributing",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#-contributing",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"\u{1F91D} Contributing"]}),(0,l.jsxs)("a",{href:"https://openomy.app/github/react-component/dialog",target:"_blank",style:{display:"block",width:"100%"},align:"center",children:[r.texts[108].value,(0,l.jsx)("img",{src:"https://www.openomy.app/svg?repo=react-component/dialog&chart=bubble&latestMonth=24",target:"_blank",alt:"Contribution Leaderboard",style:{display:"block",width:"100%"}})]})]})})})});};}}]);
|
|
2
|
-
//# sourceMappingURL=42e76558-async.f2db19d4.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["docs/index.md"],"sourcesContent":["import API from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport '/Users/afc163/Projects/dialog/README.md?watch=parent';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage } from 'dumi';\nimport { texts as $$contentTexts } from '/Users/afc163/Projects/dialog/docs/index.md?type=text';\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n return (\n <DumiPage>\n <Suspense fallback={<LoadingComponent />}>\n <><div className=\"markdown\"><h1 id=\"rc-componentdialog\"><a aria-hidden=\"true\" tabIndex=\"-1\" href=\"#rc-componentdialog\"><span className=\"icon icon-link\" /></a>{\"@rc-component/dialog\"}</h1><p>{$$contentTexts[0].value}</p><p><a href=\"https://npmjs.org/package/@rc-component/dialog\"><img src=\"https://img.shields.io/npm/v/@rc-component/dialog.svg?style=flat-square\" alt=\"NPM version\" /></a>{$$contentTexts[1].value}<a href=\"https://npmjs.org/package/@rc-component/dialog\"><img src=\"https://img.shields.io/npm/dm/@rc-component/dialog.svg?style=flat-square\" alt=\"npm download\" /></a>{$$contentTexts[2].value}<a href=\"https://github.com/react-component/dialog/actions/workflows/ci.yml\"><img src=\"https://github.com/react-component/dialog/actions/workflows/ci.yml/badge.svg\" alt=\"build status\" /></a>{$$contentTexts[3].value}<a href=\"https://app.codecov.io/gh/react-component/dialog\"><img src=\"https://img.shields.io/codecov/c/github/react-component/dialog/master.svg?style=flat-square\" alt=\"Codecov\" /></a>{$$contentTexts[4].value}<a href=\"https://bundlephobia.com/package/@rc-component/dialog\"><img src=\"https://badgen.net/bundlephobia/minzip/@rc-component/dialog\" alt=\"bundle size\" /></a>{$$contentTexts[5].value}<a href=\"https://github.com/umijs/dumi\"><img src=\"https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square\" alt=\"dumi\" /></a></p><h2 id=\"screenshot\"><a aria-hidden=\"true\" tabIndex=\"-1\" href=\"#screenshot\"><span className=\"icon icon-link\" /></a>{\"Screenshot\"}</h2><img src=\"http://gtms04.alicdn.com/tps/i4/TB1dp5lHXXXXXbmXpXXyVug.FXX-664-480.png\" /><h2 id=\"example\"><a aria-hidden=\"true\" tabIndex=\"-1\" href=\"#example\"><span className=\"icon icon-link\" /></a>{\"Example\"}</h2><p><a href=\"http://localhost:8007/examples/\">{$$contentTexts[6].value}</a></p><p>{$$contentTexts[7].value}<a href=\"https://dialog.react-component.vercel.app/\">{$$contentTexts[8].value}</a></p><h2 id=\"install\"><a aria-hidden=\"true\" tabIndex=\"-1\" href=\"#install\"><span className=\"icon icon-link\" /></a>{\"Install\"}</h2><p><a href=\"https://npmjs.org/package/@rc-component/dialog\"><img src=\"https://nodei.co/npm/@rc-component/dialog.png\" alt=\"@rc-component/dialog\" /></a></p><h2 id=\"usage\"><a aria-hidden=\"true\" tabIndex=\"-1\" href=\"#usage\"><span className=\"icon icon-link\" /></a>{\"Usage\"}</h2><SourceCode lang=\"js\">{$$contentTexts[9].value}</SourceCode><h2 id=\"api\"><a aria-hidden=\"true\" tabIndex=\"-1\" href=\"#api\"><span className=\"icon icon-link\" /></a>{\"API\"}</h2><h3 id=\"rc-componentdialog-1\"><a aria-hidden=\"true\" tabIndex=\"-1\" href=\"#rc-componentdialog-1\"><span className=\"icon icon-link\" /></a>{\"@rc-component/dialog\"}</h3><Table><thead><tr><th>{$$contentTexts[10].value}</th><th>{$$contentTexts[11].value}</th><th>{$$contentTexts[12].value}</th><th>{$$contentTexts[13].value}</th><th>{$$contentTexts[14].value}</th></tr></thead><tbody><tr><td>{$$contentTexts[15].value}</td><td>{$$contentTexts[16].value}</td><td>{$$contentTexts[17].value}</td><td>{$$contentTexts[18].value}</td><td /></tr><tr><td>{$$contentTexts[19].value}</td><td>{$$contentTexts[20].value}</td><td /><td>{$$contentTexts[21].value}</td><td /></tr><tr><td>{$$contentTexts[22].value}</td><td>{$$contentTexts[23].value}</td><td /><td>{$$contentTexts[24].value}</td><td /></tr><tr><td>{$$contentTexts[25].value}</td><td>{$$contentTexts[26].value}</td><td /><td>{$$contentTexts[27].value}</td><td /></tr><tr><td>{$$contentTexts[28].value}</td><td>{$$contentTexts[29].value}</td><td>{$$contentTexts[30].value}</td><td>{$$contentTexts[31].value}</td><td /></tr><tr><td>{$$contentTexts[32].value}</td><td>{$$contentTexts[33].value}</td><td /><td /><td /></tr><tr><td>{$$contentTexts[34].value}</td><td>{$$contentTexts[35].value}</td><td>{$$contentTexts[36].value}</td><td>{$$contentTexts[37].value}</td><td /></tr><tr><td>{$$contentTexts[38].value}</td><td>{$$contentTexts[39].value}</td><td /><td>{$$contentTexts[40].value}</td><td /></tr><tr><td>{$$contentTexts[41].value}</td><td>{$$contentTexts[42].value}</td><td /><td>{$$contentTexts[43].value}</td><td /></tr><tr><td>{$$contentTexts[44].value}</td><td>{$$contentTexts[45].value}</td><td /><td>{$$contentTexts[46].value}</td><td /></tr><tr><td>{$$contentTexts[47].value}</td><td>{$$contentTexts[48].value}</td><td /><td>{$$contentTexts[49].value}</td><td /></tr><tr><td>{$$contentTexts[50].value}</td><td>{$$contentTexts[51].value}</td><td /><td>{$$contentTexts[52].value}</td><td /></tr><tr><td>{$$contentTexts[53].value}</td><td>{$$contentTexts[54].value}</td><td /><td>{$$contentTexts[55].value}</td><td /></tr><tr><td>{$$contentTexts[56].value}</td><td>{$$contentTexts[57].value}</td><td>{$$contentTexts[58].value}</td><td>{$$contentTexts[59].value}</td><td /></tr><tr><td>{$$contentTexts[60].value}</td><td>{$$contentTexts[61].value}</td><td>{$$contentTexts[62].value}</td><td>{$$contentTexts[63].value}</td><td /></tr><tr><td>{$$contentTexts[64].value}</td><td>{$$contentTexts[65].value}</td><td>{$$contentTexts[66].value}</td><td>{$$contentTexts[67].value}</td><td /></tr><tr><td>{$$contentTexts[68].value}</td><td>{$$contentTexts[69].value}</td><td>{$$contentTexts[70].value}</td><td>{$$contentTexts[71].value}</td><td /></tr><tr><td>{$$contentTexts[72].value}</td><td>{$$contentTexts[73].value}</td><td /><td>{$$contentTexts[74].value}</td><td /></tr><tr><td>{$$contentTexts[75].value}</td><td>{$$contentTexts[76].value}</td><td /><td>{$$contentTexts[77].value}</td><td /></tr><tr><td>{$$contentTexts[78].value}</td><td>{$$contentTexts[79].value}</td><td /><td>{$$contentTexts[80].value}</td><td /></tr><tr><td>{$$contentTexts[81].value}</td><td>{$$contentTexts[82].value}</td><td /><td>{$$contentTexts[83].value}</td><td /></tr><tr><td>{$$contentTexts[84].value}</td><td>{$$contentTexts[85].value}</td><td>{$$contentTexts[86].value}</td><td>{$$contentTexts[87].value}</td><td /></tr><tr><td>{$$contentTexts[88].value}</td><td>{$$contentTexts[89].value}</td><td /><td>{$$contentTexts[90].value}</td><td /></tr><tr><td>{$$contentTexts[91].value}</td><td>{$$contentTexts[92].value}</td><td>{$$contentTexts[93].value}</td><td>{$$contentTexts[94].value}</td><td /></tr><tr><td>{$$contentTexts[95].value}</td><td>{$$contentTexts[96].value}</td><td>{$$contentTexts[97].value}</td><td>{$$contentTexts[98].value}</td><td /></tr><tr><td>{$$contentTexts[99].value}</td><td>{$$contentTexts[100].value}</td><td /><td>{$$contentTexts[101].value}</td><td>{$$contentTexts[102].value}</td></tr></tbody></Table><h2 id=\"development\"><a aria-hidden=\"true\" tabIndex=\"-1\" href=\"#development\"><span className=\"icon icon-link\" /></a>{\"Development\"}</h2><SourceCode>{$$contentTexts[103].value}</SourceCode><h2 id=\"test-case\"><a aria-hidden=\"true\" tabIndex=\"-1\" href=\"#test-case\"><span className=\"icon icon-link\" /></a>{\"Test Case\"}</h2><SourceCode>{$$contentTexts[104].value}</SourceCode><h2 id=\"coverage\"><a aria-hidden=\"true\" tabIndex=\"-1\" href=\"#coverage\"><span className=\"icon icon-link\" /></a>{\"Coverage\"}</h2><SourceCode>{$$contentTexts[105].value}</SourceCode><p>{$$contentTexts[106].value}</p><h2 id=\"license\"><a aria-hidden=\"true\" tabIndex=\"-1\" href=\"#license\"><span className=\"icon icon-link\" /></a>{\"License\"}</h2><p>{$$contentTexts[107].value}</p><h2 id=\"-contributing\"><a aria-hidden=\"true\" tabIndex=\"-1\" href=\"#-contributing\"><span className=\"icon icon-link\" /></a>{\"🤝 Contributing\"}</h2><a href=\"https://openomy.app/github/react-component/dialog\" target=\"_blank\" style={{\n display: \"block\",\n width: \"100%\"\n}} align=\"center\">{$$contentTexts[108].value}<img src=\"https://www.openomy.app/svg?repo=react-component/dialog&chart=bubble&latestMonth=24\" target=\"_blank\" alt=\"Contribution Leaderboard\" style={{\n display: \"block\",\n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push([["58f5abb1"],{"58f5abb1":function(e,a,d){"use strict";d.d(a,"__esModule",{value:!0}),d.d(a,"default",{enumerable:!0,get:function(){return c;}});var n=d("777fffbe"),f=d("bf7d8b23");d("89bc0c0e"),d("6c1951dd"),d("15613fd2"),d("e8f937f0"),d("cedd96a0"),d("dcb6a99d"),d("813ff093"),d("be31a3ce");var o=d("c90f8711"),s=n._(d("a10b1492")),l=d("a34fe2c4");d("4220c173");var c=function(){return(0,f.jsx)(o.DumiPage,{children:(0,f.jsx)(l.Suspense,{fallback:(0,f.jsx)(s.default,{}),children:(0,f.jsx)(f.Fragment,{children:(0,f.jsx)(o.DumiDemo,{demo:{id:"docs-demo-ant-design-demo-ant-design"},previewerProps:{filename:"docs/examples/ant-design.tsx"}})})})});};}}]);
|
|
2
|
-
//# sourceMappingURL=58f5abb1-async.f36f6f5a.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["docs/demo/ant-design.md"],"sourcesContent":["import API from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/Users/afc163/Projects/dialog/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage } from 'dumi';\nimport { texts as $$contentTexts } from '/Users/afc163/Projects/dialog/docs/demo/ant-design.md?type=text';\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n return (\n <DumiPage>\n <Suspense fallback={<LoadingComponent />}>\n <><DumiDemo {...{\n \"demo\": {\n \"id\": \"docs-demo-ant-design-demo-ant-design\"\n },\n \"previewerProps\": {\n \"filename\": \"docs/examples/ant-design.tsx\"\n }\n}} /></>\n </Suspense>\n </DumiPage>\n )\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"6QAoCA,+CAAA,4CApCgB,cACE,cACI,cACA,cACA,cACC,cACL,cACD,oBACQ,oBAII,iBACG,cAEQ,gBAqBxC,EAjBA,WACE,MACE,UAAC,UAAQ,WACP,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cACnC,+BAAE,UAAC,UAAQ,EACjB,KAAQ,CACN,GAAM,sCACR,EACA,eAAkB,CAChB,SAAY,8BACd,UAKF"}
|