@para-ui/core 4.0.0-rc.5 → 4.0.0-rc.7
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/AutoTips/index.js +2 -2
- package/Button/index.js +1 -1
- package/Cascader/index.js +5 -4
- package/ComboSelect/index.js +27 -16
- package/ComboSelect/lang/en_US.d.ts +1 -0
- package/ComboSelect/lang/index.d.ts +2 -0
- package/ComboSelect/lang/zh_CN.d.ts +1 -0
- package/ComboSelect/utils.d.ts +6 -0
- package/DatePicker/index.js +3 -1
- package/DatePicker/util.d.ts +6 -6
- package/DynamicMultiBox/index.js +11 -562
- package/Form/index.js +9 -5
- package/FormItem/index.js +9 -5
- package/FunctionModal/index.js +2 -2
- package/Menu/index.js +1 -1
- package/OperateBtn/index.js +8 -6
- package/Pagination/index.js +1 -1
- package/QuickReply/QuickReplyCode/index.d.ts +10 -0
- package/QuickReply/index.d.ts +87 -0
- package/QuickReply/index.js +550 -0
- package/QuickReply/lang/en_US.d.ts +14 -0
- package/QuickReply/lang/index.d.ts +29 -0
- package/QuickReply/lang/zh_CN.d.ts +14 -0
- package/README.md +1 -0
- package/Select/index.js +4 -3
- package/Selector/index.js +3 -326
- package/SelectorPicker/index.js +7 -4
- package/Styles/theme.scss +1 -0
- package/Switch/index.js +2 -2
- package/Table/index.js +472 -410
- package/Tabs/index.js +3 -3
- package/Tag/index.js +84 -55
- package/TextEditor/index.js +3 -3
- package/TimePicker/index.js +3 -1
- package/Timeline/index.js +14 -20
- package/ToggleButton/index.js +25 -26
- package/Tooltip/index.js +26 -27
- package/Transfer/index.js +50 -45
- package/Tree/index.js +8 -4
- package/Upload/index.js +626 -409
- package/_verture/{index-f186b5e8.js → index-3156e3ef.js} +394 -312
- package/_verture/{index-0ced30f7.js → index-466a3496.js} +3 -18
- package/_verture/index-d6093d1c.js +559 -0
- package/_verture/index-d63bd287.js +327 -0
- package/_verture/{index-ef1235fb.js → index-f518e244.js} +1 -1
- package/_verture/{slicedToArray-8223a2ef.js → slicedToArray-75fa4188.js} +1 -1
- package/_verture/toConsumableArray-c7a8028f.js +19 -0
- package/_verture/{utils-46e99c9a.js → utils-c17b5265.js} +16 -1
- package/index.d.ts +2 -0
- package/index.js +15 -9
- package/locale/en-US.d.ts +14 -0
- package/locale/index.d.ts +28 -0
- package/locale/index.js +30 -2
- package/locale/zh-CN.d.ts +14 -0
- package/package.json +11 -10
- package/umd/AutoTips.js +1 -1
- package/umd/Breadcrumbs.js +1 -1
- package/umd/Button.js +1 -1
- package/umd/ButtonGroup.js +1 -1
- package/umd/Cascader.js +1 -1
- package/umd/ComboSelect.js +4 -4
- package/umd/CopyText.js +1 -1
- package/umd/DatePicker.js +7 -7
- package/umd/Descriptions.js +1 -1
- package/umd/Desktop.js +6 -6
- package/umd/Drawer.js +1 -1
- package/umd/DynamicMultiBox.js +4 -4
- package/umd/Form.js +4 -4
- package/umd/FormItem.js +4 -4
- package/umd/FunctionModal.js +1 -1
- package/umd/InputLang.js +1 -1
- package/umd/Menu.js +1 -1
- package/umd/Modal.js +7 -7
- package/umd/MultiBox.js +1 -1
- package/umd/OperateBtn.js +2 -2
- package/umd/PageHeader.js +6 -6
- package/umd/Pagination.js +2 -2
- package/umd/PopConfirm.js +1 -1
- package/umd/QuickReply.js +55 -0
- package/umd/Search.js +1 -1
- package/umd/Select.js +2 -2
- package/umd/SelectInput.js +2 -2
- package/umd/Selector.js +1 -1
- package/umd/SelectorPicker.js +2 -2
- package/umd/SingleBox.js +1 -1
- package/umd/Stepper.js +1 -1
- package/umd/Table.js +2 -2
- package/umd/Tabs.js +1 -1
- package/umd/Tag.js +1 -1
- package/umd/TextField.js +1 -1
- package/umd/TimePicker.js +7 -7
- package/umd/Title.js +1 -1
- package/umd/ToggleButton.js +5 -5
- package/umd/Transfer.js +1 -1
- package/umd/Tree.js +4 -4
- package/umd/Upload.js +1 -1
- package/umd/locale.js +1 -1
- /package/_verture/{modalContext-5df08980.js → modalContext-7b512b0c.js} +0 -0
- /package/_verture/{typeof-c310ee4a.js → typeof-b240b062.js} +0 -0
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
import { _ as _typeof } from './typeof-b240b062.js';
|
|
2
|
+
|
|
3
|
+
var regeneratorRuntime$1 = {exports: {}};
|
|
4
|
+
|
|
5
|
+
(function (module) {
|
|
6
|
+
var _typeof$1 = _typeof.exports["default"];
|
|
7
|
+
function _regeneratorRuntime() {
|
|
8
|
+
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
|
9
|
+
return e;
|
|
10
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
11
|
+
var t,
|
|
12
|
+
e = {},
|
|
13
|
+
r = Object.prototype,
|
|
14
|
+
n = r.hasOwnProperty,
|
|
15
|
+
o = Object.defineProperty || function (t, e, r) {
|
|
16
|
+
t[e] = r.value;
|
|
17
|
+
},
|
|
18
|
+
i = "function" == typeof Symbol ? Symbol : {},
|
|
19
|
+
a = i.iterator || "@@iterator",
|
|
20
|
+
c = i.asyncIterator || "@@asyncIterator",
|
|
21
|
+
u = i.toStringTag || "@@toStringTag";
|
|
22
|
+
function define(t, e, r) {
|
|
23
|
+
return Object.defineProperty(t, e, {
|
|
24
|
+
value: r,
|
|
25
|
+
enumerable: !0,
|
|
26
|
+
configurable: !0,
|
|
27
|
+
writable: !0
|
|
28
|
+
}), t[e];
|
|
29
|
+
}
|
|
30
|
+
try {
|
|
31
|
+
define({}, "");
|
|
32
|
+
} catch (t) {
|
|
33
|
+
define = function define(t, e, r) {
|
|
34
|
+
return t[e] = r;
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function wrap(t, e, r, n) {
|
|
38
|
+
var i = e && e.prototype instanceof Generator ? e : Generator,
|
|
39
|
+
a = Object.create(i.prototype),
|
|
40
|
+
c = new Context(n || []);
|
|
41
|
+
return o(a, "_invoke", {
|
|
42
|
+
value: makeInvokeMethod(t, r, c)
|
|
43
|
+
}), a;
|
|
44
|
+
}
|
|
45
|
+
function tryCatch(t, e, r) {
|
|
46
|
+
try {
|
|
47
|
+
return {
|
|
48
|
+
type: "normal",
|
|
49
|
+
arg: t.call(e, r)
|
|
50
|
+
};
|
|
51
|
+
} catch (t) {
|
|
52
|
+
return {
|
|
53
|
+
type: "throw",
|
|
54
|
+
arg: t
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
e.wrap = wrap;
|
|
59
|
+
var h = "suspendedStart",
|
|
60
|
+
l = "suspendedYield",
|
|
61
|
+
f = "executing",
|
|
62
|
+
s = "completed",
|
|
63
|
+
y = {};
|
|
64
|
+
function Generator() {}
|
|
65
|
+
function GeneratorFunction() {}
|
|
66
|
+
function GeneratorFunctionPrototype() {}
|
|
67
|
+
var p = {};
|
|
68
|
+
define(p, a, function () {
|
|
69
|
+
return this;
|
|
70
|
+
});
|
|
71
|
+
var d = Object.getPrototypeOf,
|
|
72
|
+
v = d && d(d(values([])));
|
|
73
|
+
v && v !== r && n.call(v, a) && (p = v);
|
|
74
|
+
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
|
75
|
+
function defineIteratorMethods(t) {
|
|
76
|
+
["next", "throw", "return"].forEach(function (e) {
|
|
77
|
+
define(t, e, function (t) {
|
|
78
|
+
return this._invoke(e, t);
|
|
79
|
+
});
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
function AsyncIterator(t, e) {
|
|
83
|
+
function invoke(r, o, i, a) {
|
|
84
|
+
var c = tryCatch(t[r], t, o);
|
|
85
|
+
if ("throw" !== c.type) {
|
|
86
|
+
var u = c.arg,
|
|
87
|
+
h = u.value;
|
|
88
|
+
return h && "object" == _typeof$1(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
|
89
|
+
invoke("next", t, i, a);
|
|
90
|
+
}, function (t) {
|
|
91
|
+
invoke("throw", t, i, a);
|
|
92
|
+
}) : e.resolve(h).then(function (t) {
|
|
93
|
+
u.value = t, i(u);
|
|
94
|
+
}, function (t) {
|
|
95
|
+
return invoke("throw", t, i, a);
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
a(c.arg);
|
|
99
|
+
}
|
|
100
|
+
var r;
|
|
101
|
+
o(this, "_invoke", {
|
|
102
|
+
value: function value(t, n) {
|
|
103
|
+
function callInvokeWithMethodAndArg() {
|
|
104
|
+
return new e(function (e, r) {
|
|
105
|
+
invoke(t, n, e, r);
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
function makeInvokeMethod(e, r, n) {
|
|
113
|
+
var o = h;
|
|
114
|
+
return function (i, a) {
|
|
115
|
+
if (o === f) throw new Error("Generator is already running");
|
|
116
|
+
if (o === s) {
|
|
117
|
+
if ("throw" === i) throw a;
|
|
118
|
+
return {
|
|
119
|
+
value: t,
|
|
120
|
+
done: !0
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
for (n.method = i, n.arg = a;;) {
|
|
124
|
+
var c = n.delegate;
|
|
125
|
+
if (c) {
|
|
126
|
+
var u = maybeInvokeDelegate(c, n);
|
|
127
|
+
if (u) {
|
|
128
|
+
if (u === y) continue;
|
|
129
|
+
return u;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
|
133
|
+
if (o === h) throw o = s, n.arg;
|
|
134
|
+
n.dispatchException(n.arg);
|
|
135
|
+
} else "return" === n.method && n.abrupt("return", n.arg);
|
|
136
|
+
o = f;
|
|
137
|
+
var p = tryCatch(e, r, n);
|
|
138
|
+
if ("normal" === p.type) {
|
|
139
|
+
if (o = n.done ? s : l, p.arg === y) continue;
|
|
140
|
+
return {
|
|
141
|
+
value: p.arg,
|
|
142
|
+
done: n.done
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
function maybeInvokeDelegate(e, r) {
|
|
150
|
+
var n = r.method,
|
|
151
|
+
o = e.iterator[n];
|
|
152
|
+
if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
|
|
153
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
|
154
|
+
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
|
155
|
+
var a = i.arg;
|
|
156
|
+
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
|
|
157
|
+
}
|
|
158
|
+
function pushTryEntry(t) {
|
|
159
|
+
var e = {
|
|
160
|
+
tryLoc: t[0]
|
|
161
|
+
};
|
|
162
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
|
163
|
+
}
|
|
164
|
+
function resetTryEntry(t) {
|
|
165
|
+
var e = t.completion || {};
|
|
166
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
|
167
|
+
}
|
|
168
|
+
function Context(t) {
|
|
169
|
+
this.tryEntries = [{
|
|
170
|
+
tryLoc: "root"
|
|
171
|
+
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
|
172
|
+
}
|
|
173
|
+
function values(e) {
|
|
174
|
+
if (e || "" === e) {
|
|
175
|
+
var r = e[a];
|
|
176
|
+
if (r) return r.call(e);
|
|
177
|
+
if ("function" == typeof e.next) return e;
|
|
178
|
+
if (!isNaN(e.length)) {
|
|
179
|
+
var o = -1,
|
|
180
|
+
i = function next() {
|
|
181
|
+
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
|
182
|
+
return next.value = t, next.done = !0, next;
|
|
183
|
+
};
|
|
184
|
+
return i.next = i;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
throw new TypeError(_typeof$1(e) + " is not iterable");
|
|
188
|
+
}
|
|
189
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
|
190
|
+
value: GeneratorFunctionPrototype,
|
|
191
|
+
configurable: !0
|
|
192
|
+
}), o(GeneratorFunctionPrototype, "constructor", {
|
|
193
|
+
value: GeneratorFunction,
|
|
194
|
+
configurable: !0
|
|
195
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
|
196
|
+
var e = "function" == typeof t && t.constructor;
|
|
197
|
+
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
|
198
|
+
}, e.mark = function (t) {
|
|
199
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
|
200
|
+
}, e.awrap = function (t) {
|
|
201
|
+
return {
|
|
202
|
+
__await: t
|
|
203
|
+
};
|
|
204
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
|
205
|
+
return this;
|
|
206
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
|
207
|
+
void 0 === i && (i = Promise);
|
|
208
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
|
209
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
|
210
|
+
return t.done ? t.value : a.next();
|
|
211
|
+
});
|
|
212
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
|
213
|
+
return this;
|
|
214
|
+
}), define(g, "toString", function () {
|
|
215
|
+
return "[object Generator]";
|
|
216
|
+
}), e.keys = function (t) {
|
|
217
|
+
var e = Object(t),
|
|
218
|
+
r = [];
|
|
219
|
+
for (var n in e) r.push(n);
|
|
220
|
+
return r.reverse(), function next() {
|
|
221
|
+
for (; r.length;) {
|
|
222
|
+
var t = r.pop();
|
|
223
|
+
if (t in e) return next.value = t, next.done = !1, next;
|
|
224
|
+
}
|
|
225
|
+
return next.done = !0, next;
|
|
226
|
+
};
|
|
227
|
+
}, e.values = values, Context.prototype = {
|
|
228
|
+
constructor: Context,
|
|
229
|
+
reset: function reset(e) {
|
|
230
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
|
|
231
|
+
},
|
|
232
|
+
stop: function stop() {
|
|
233
|
+
this.done = !0;
|
|
234
|
+
var t = this.tryEntries[0].completion;
|
|
235
|
+
if ("throw" === t.type) throw t.arg;
|
|
236
|
+
return this.rval;
|
|
237
|
+
},
|
|
238
|
+
dispatchException: function dispatchException(e) {
|
|
239
|
+
if (this.done) throw e;
|
|
240
|
+
var r = this;
|
|
241
|
+
function handle(n, o) {
|
|
242
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
|
243
|
+
}
|
|
244
|
+
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
|
245
|
+
var i = this.tryEntries[o],
|
|
246
|
+
a = i.completion;
|
|
247
|
+
if ("root" === i.tryLoc) return handle("end");
|
|
248
|
+
if (i.tryLoc <= this.prev) {
|
|
249
|
+
var c = n.call(i, "catchLoc"),
|
|
250
|
+
u = n.call(i, "finallyLoc");
|
|
251
|
+
if (c && u) {
|
|
252
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
253
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
254
|
+
} else if (c) {
|
|
255
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
256
|
+
} else {
|
|
257
|
+
if (!u) throw new Error("try statement without catch or finally");
|
|
258
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
abrupt: function abrupt(t, e) {
|
|
264
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
265
|
+
var o = this.tryEntries[r];
|
|
266
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
267
|
+
var i = o;
|
|
268
|
+
break;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
|
272
|
+
var a = i ? i.completion : {};
|
|
273
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
|
274
|
+
},
|
|
275
|
+
complete: function complete(t, e) {
|
|
276
|
+
if ("throw" === t.type) throw t.arg;
|
|
277
|
+
return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
|
|
278
|
+
},
|
|
279
|
+
finish: function finish(t) {
|
|
280
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
281
|
+
var r = this.tryEntries[e];
|
|
282
|
+
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
"catch": function _catch(t) {
|
|
286
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
287
|
+
var r = this.tryEntries[e];
|
|
288
|
+
if (r.tryLoc === t) {
|
|
289
|
+
var n = r.completion;
|
|
290
|
+
if ("throw" === n.type) {
|
|
291
|
+
var o = n.arg;
|
|
292
|
+
resetTryEntry(r);
|
|
293
|
+
}
|
|
294
|
+
return o;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
throw new Error("illegal catch attempt");
|
|
298
|
+
},
|
|
299
|
+
delegateYield: function delegateYield(e, r, n) {
|
|
300
|
+
return this.delegate = {
|
|
301
|
+
iterator: values(e),
|
|
302
|
+
resultName: r,
|
|
303
|
+
nextLoc: n
|
|
304
|
+
}, "next" === this.method && (this.arg = t), y;
|
|
305
|
+
}
|
|
306
|
+
}, e;
|
|
307
|
+
}
|
|
308
|
+
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
309
|
+
} (regeneratorRuntime$1));
|
|
310
|
+
|
|
311
|
+
// TODO(Babel 8): Remove this file.
|
|
312
|
+
|
|
313
|
+
var runtime = regeneratorRuntime$1.exports();
|
|
314
|
+
var regenerator = runtime;
|
|
315
|
+
|
|
316
|
+
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
|
317
|
+
try {
|
|
318
|
+
regeneratorRuntime = runtime;
|
|
319
|
+
} catch (accidentalStrictMode) {
|
|
320
|
+
if (typeof globalThis === "object") {
|
|
321
|
+
globalThis.regeneratorRuntime = runtime;
|
|
322
|
+
} else {
|
|
323
|
+
Function("r", "regeneratorRuntime = r")(runtime);
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
export { regenerator as r };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { TextField } from '../TextField/index.js';
|
|
4
|
-
import {
|
|
4
|
+
import { _ as _slicedToArray } from './slicedToArray-75fa4188.js';
|
|
5
5
|
import { RadioGroup } from '../RadioGroup/index.js';
|
|
6
6
|
import Select from '../Select/index.js';
|
|
7
7
|
import { CheckboxGroup } from '../CheckboxGroup/index.js';
|
|
@@ -53,4 +53,4 @@ function _slicedToArray(arr, i) {
|
|
|
53
53
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { _slicedToArray as _, _arrayWithHoles as a, _unsupportedIterableToArray as b, _nonIterableRest as c, _arrayLikeToArray as d };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { d as _arrayLikeToArray, b as _unsupportedIterableToArray } from './slicedToArray-75fa4188.js';
|
|
2
|
+
|
|
3
|
+
function _arrayWithoutHoles(arr) {
|
|
4
|
+
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
function _iterableToArray(iter) {
|
|
8
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
function _nonIterableSpread() {
|
|
12
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function _toConsumableArray(arr) {
|
|
16
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { _toConsumableArray as _, _iterableToArray as a };
|
|
@@ -78,5 +78,20 @@ function debounce(func, delay) {
|
|
|
78
78
|
}, delay);
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
|
+
/**
|
|
82
|
+
* @description 查询元素是不是在父元素内
|
|
83
|
+
* @param {HTMLElement} el 当前元素
|
|
84
|
+
* @param {any} parent 父元素的匹配器
|
|
85
|
+
*/
|
|
86
|
+
const closest = (el, selector) => {
|
|
87
|
+
const matchesSelector = el.matches || el.webkitMatchesSelector || el.mozMatchesSelector || el.msMatchesSelector;
|
|
88
|
+
while (el) {
|
|
89
|
+
if (matchesSelector.call(el, selector)) {
|
|
90
|
+
break;
|
|
91
|
+
}
|
|
92
|
+
el = el.parentElement;
|
|
93
|
+
}
|
|
94
|
+
return el;
|
|
95
|
+
};
|
|
81
96
|
|
|
82
|
-
export { getOverlaySize as a, debounce as d, getReplaceField as g, isRemoteLoad as i, toArray as t };
|
|
97
|
+
export { getOverlaySize as a, closest as c, debounce as d, getReplaceField as g, isRemoteLoad as i, toArray as t };
|
package/index.d.ts
CHANGED
|
@@ -96,6 +96,8 @@ export { default as Progress } from './Progress';
|
|
|
96
96
|
export * from './Progress';
|
|
97
97
|
export { default as Querying } from './Querying';
|
|
98
98
|
export * from './Querying';
|
|
99
|
+
export { default as QuickReply } from './QuickReply';
|
|
100
|
+
export * from './QuickReply';
|
|
99
101
|
export { default as Radio } from './Radio';
|
|
100
102
|
export * from './Radio';
|
|
101
103
|
export { default as RadioGroup } from './RadioGroup';
|
package/index.js
CHANGED
|
@@ -5,7 +5,7 @@ export { Breadcrumbs } from './Breadcrumbs/index.js';
|
|
|
5
5
|
export { Button } from './Button/index.js';
|
|
6
6
|
export { ButtonGroup } from './ButtonGroup/index.js';
|
|
7
7
|
export { Carousel } from './Carousel/index.js';
|
|
8
|
-
export { C as Cascader } from './_verture/index-
|
|
8
|
+
export { C as Cascader } from './_verture/index-466a3496.js';
|
|
9
9
|
export { Checkbox } from './Checkbox/index.js';
|
|
10
10
|
export { CheckboxGroup } from './CheckboxGroup/index.js';
|
|
11
11
|
export { Collapse } from './Collapse/index.js';
|
|
@@ -24,8 +24,8 @@ export { D as Dropdown } from './_verture/index-da9097d3.js';
|
|
|
24
24
|
export { default as DynamicMultiBox } from './DynamicMultiBox/index.js';
|
|
25
25
|
export { default as Empty } from './Empty/index.js';
|
|
26
26
|
export { default as Form } from './Form/index.js';
|
|
27
|
-
export { F as FormItem } from './_verture/index-
|
|
28
|
-
export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-
|
|
27
|
+
export { F as FormItem } from './_verture/index-f518e244.js';
|
|
28
|
+
export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-7b512b0c.js';
|
|
29
29
|
export { default as GlobalContext, changeConfirmLocale, getConfirmLocale } from './GlobalContext/index.js';
|
|
30
30
|
export { default as Help } from './Help/index.js';
|
|
31
31
|
export { default as HelperText } from './HelperText/index.js';
|
|
@@ -47,6 +47,7 @@ export { PopConfirm } from './PopConfirm/index.js';
|
|
|
47
47
|
export { Popover } from './Popover/index.js';
|
|
48
48
|
export { Progress } from './Progress/index.js';
|
|
49
49
|
export { default as Querying } from './Querying/index.js';
|
|
50
|
+
export { QuickReply, QuickReplyCode } from './QuickReply/index.js';
|
|
50
51
|
export { Radio } from './Radio/index.js';
|
|
51
52
|
export { RadioGroup } from './RadioGroup/index.js';
|
|
52
53
|
export { Search } from './Search/index.js';
|
|
@@ -70,7 +71,7 @@ export { Title } from './Title/index.js';
|
|
|
70
71
|
export { ToggleButton, ToggleButtonGroup } from './ToggleButton/index.js';
|
|
71
72
|
export { Tooltip } from './Tooltip/index.js';
|
|
72
73
|
export { SSortablejs, Transfer } from './Transfer/index.js';
|
|
73
|
-
export { T as Tree } from './_verture/index-
|
|
74
|
+
export { T as Tree } from './_verture/index-3156e3ef.js';
|
|
74
75
|
export { default as Upload } from './Upload/index.js';
|
|
75
76
|
export { default as locale } from './locale/index.js';
|
|
76
77
|
import 'react/jsx-runtime';
|
|
@@ -91,11 +92,12 @@ import '@para-ui/icons/Forbid';
|
|
|
91
92
|
import 'react-slick';
|
|
92
93
|
import '@para-ui/icons/RightCircleF';
|
|
93
94
|
import '@para-ui/icons/LeftCircleF';
|
|
94
|
-
import './_verture/
|
|
95
|
+
import './_verture/toConsumableArray-c7a8028f.js';
|
|
96
|
+
import './_verture/slicedToArray-75fa4188.js';
|
|
95
97
|
import './_verture/defineProperty-1d116156.js';
|
|
96
98
|
import './_verture/typeof-adeedc13.js';
|
|
97
99
|
import 'rc-motion';
|
|
98
|
-
import './_verture/typeof-
|
|
100
|
+
import './_verture/typeof-b240b062.js';
|
|
99
101
|
import 'rc-tree/lib/utils/conductUtil';
|
|
100
102
|
import '@para-ui/icons/Right';
|
|
101
103
|
import '@para-ui/icons/CloseCircleF';
|
|
@@ -109,7 +111,7 @@ import '@para-ui/icons/RightTriangleF';
|
|
|
109
111
|
import 'react-color';
|
|
110
112
|
import '@para-ui/icons/Search';
|
|
111
113
|
import '@para-ui/icons/Close';
|
|
112
|
-
import './_verture/utils-
|
|
114
|
+
import './_verture/utils-c17b5265.js';
|
|
113
115
|
import './_verture/useGlobalProps-1e416658.js';
|
|
114
116
|
import '@para-ui/icons/Copy';
|
|
115
117
|
import '@para-ui/icons/CheckS';
|
|
@@ -132,6 +134,7 @@ import '@para-ui/icons/Panel';
|
|
|
132
134
|
import '@para-ui/icons/PlusCircleF';
|
|
133
135
|
import '@para-ui/icons/Delete';
|
|
134
136
|
import '@para-ui/icons/Drag';
|
|
137
|
+
import './_verture/index-d6093d1c.js';
|
|
135
138
|
import './_verture/sortable.esm-49896035.js';
|
|
136
139
|
import '@para-ui/icons/LinkGroup';
|
|
137
140
|
import '@para-ui/icons/UploadFile';
|
|
@@ -151,6 +154,11 @@ import 'rc-pagination';
|
|
|
151
154
|
import '@para-ui/icons/DoubleLeft';
|
|
152
155
|
import '@para-ui/icons/WarningCircle';
|
|
153
156
|
import 'rc-progress';
|
|
157
|
+
import '@para-ui/icons/Plus';
|
|
158
|
+
import '@para-ui/icons/EditOutline';
|
|
159
|
+
import '@para-ui/icons/Message';
|
|
160
|
+
import '@para-ui/icons/Set';
|
|
161
|
+
import './_verture/index-d63bd287.js';
|
|
154
162
|
import 'rc-slider';
|
|
155
163
|
import './_verture/tinycolor-ece3542d.js';
|
|
156
164
|
import 'rc-steps';
|
|
@@ -168,8 +176,6 @@ import '@para-ui/icons/ScreenF';
|
|
|
168
176
|
import '@para-ui/icons/UpTriangleF';
|
|
169
177
|
import '@para-ui/icons/DownTriangleF';
|
|
170
178
|
import 'rc-tabs';
|
|
171
|
-
import '@para-ui/icons/Plus';
|
|
172
|
-
import '@para-ui/icons/EditOutline';
|
|
173
179
|
import '@wangeditor/editor-for-react';
|
|
174
180
|
import '@wangeditor/editor';
|
|
175
181
|
import '@para-ui/icons/PreviewClose';
|
package/locale/en-US.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ declare const _default: {
|
|
|
16
16
|
fullPath: string;
|
|
17
17
|
pleaseSelect: string;
|
|
18
18
|
selected: string;
|
|
19
|
+
searching: string;
|
|
19
20
|
};
|
|
20
21
|
DatePicker: {
|
|
21
22
|
lang: {
|
|
@@ -108,6 +109,19 @@ declare const _default: {
|
|
|
108
109
|
Querying: {
|
|
109
110
|
querying: string;
|
|
110
111
|
};
|
|
112
|
+
QuickReply: {
|
|
113
|
+
back: string;
|
|
114
|
+
add: string;
|
|
115
|
+
edit: string;
|
|
116
|
+
sort: string;
|
|
117
|
+
del: string;
|
|
118
|
+
delTip: string;
|
|
119
|
+
batchDel: string;
|
|
120
|
+
quickReply: string;
|
|
121
|
+
confirm: string;
|
|
122
|
+
cancel: string;
|
|
123
|
+
pleaseEnter: string;
|
|
124
|
+
};
|
|
111
125
|
Select: {
|
|
112
126
|
searchPlaceholder: string;
|
|
113
127
|
more: string;
|
package/locale/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ declare const _default: {
|
|
|
17
17
|
fullPath: string;
|
|
18
18
|
pleaseSelect: string;
|
|
19
19
|
selected: string;
|
|
20
|
+
searching: string;
|
|
20
21
|
};
|
|
21
22
|
DatePicker: {
|
|
22
23
|
lang: {
|
|
@@ -109,6 +110,19 @@ declare const _default: {
|
|
|
109
110
|
Querying: {
|
|
110
111
|
querying: string;
|
|
111
112
|
};
|
|
113
|
+
QuickReply: {
|
|
114
|
+
back: string;
|
|
115
|
+
add: string;
|
|
116
|
+
edit: string;
|
|
117
|
+
sort: string;
|
|
118
|
+
del: string;
|
|
119
|
+
delTip: string;
|
|
120
|
+
batchDel: string;
|
|
121
|
+
quickReply: string;
|
|
122
|
+
confirm: string;
|
|
123
|
+
cancel: string;
|
|
124
|
+
pleaseEnter: string;
|
|
125
|
+
};
|
|
112
126
|
Select: {
|
|
113
127
|
searchPlaceholder: string;
|
|
114
128
|
more: string;
|
|
@@ -196,6 +210,7 @@ declare const _default: {
|
|
|
196
210
|
fullPath: string;
|
|
197
211
|
pleaseSelect: string;
|
|
198
212
|
selected: string;
|
|
213
|
+
searching: string;
|
|
199
214
|
};
|
|
200
215
|
DatePicker: {
|
|
201
216
|
lang: {
|
|
@@ -288,6 +303,19 @@ declare const _default: {
|
|
|
288
303
|
Querying: {
|
|
289
304
|
querying: string;
|
|
290
305
|
};
|
|
306
|
+
QuickReply: {
|
|
307
|
+
back: string;
|
|
308
|
+
add: string;
|
|
309
|
+
edit: string;
|
|
310
|
+
sort: string;
|
|
311
|
+
del: string;
|
|
312
|
+
delTip: string;
|
|
313
|
+
batchDel: string;
|
|
314
|
+
quickReply: string;
|
|
315
|
+
confirm: string;
|
|
316
|
+
cancel: string;
|
|
317
|
+
pleaseEnter: string;
|
|
318
|
+
};
|
|
291
319
|
Select: {
|
|
292
320
|
searchPlaceholder: string;
|
|
293
321
|
more: string;
|
package/locale/index.js
CHANGED
|
@@ -15,7 +15,8 @@ var enUS = {
|
|
|
15
15
|
"ok": "Ok",
|
|
16
16
|
"fullPath": "Full path",
|
|
17
17
|
"pleaseSelect": "Please select",
|
|
18
|
-
"selected": "selected"
|
|
18
|
+
"selected": "selected",
|
|
19
|
+
"searching": "Searching"
|
|
19
20
|
},
|
|
20
21
|
"DatePicker": {
|
|
21
22
|
"lang": {
|
|
@@ -108,6 +109,19 @@ var enUS = {
|
|
|
108
109
|
"Querying": {
|
|
109
110
|
"querying": "Data querying"
|
|
110
111
|
},
|
|
112
|
+
"QuickReply": {
|
|
113
|
+
"back": "Back",
|
|
114
|
+
"add": "Add",
|
|
115
|
+
"edit": "Edit",
|
|
116
|
+
"sort": "Sort",
|
|
117
|
+
"del": "Delete",
|
|
118
|
+
"delTip": "After deletion, this reply will no longer be usable. Are you sure you want to delete it?",
|
|
119
|
+
"batchDel": "Batch Delete",
|
|
120
|
+
"quickReply": "Quick reply",
|
|
121
|
+
"confirm": "Confirm",
|
|
122
|
+
"cancel": "Cancel",
|
|
123
|
+
"pleaseEnter": "Please enter"
|
|
124
|
+
},
|
|
111
125
|
"Select": {
|
|
112
126
|
"searchPlaceholder": "Please enter",
|
|
113
127
|
"more": "More"
|
|
@@ -195,7 +209,8 @@ var zhCN = {
|
|
|
195
209
|
"ok": "确定",
|
|
196
210
|
"fullPath": "完整路径",
|
|
197
211
|
"pleaseSelect": "请选择",
|
|
198
|
-
"selected": "已选中"
|
|
212
|
+
"selected": "已选中",
|
|
213
|
+
"searching": "搜索中"
|
|
199
214
|
},
|
|
200
215
|
"DatePicker": {
|
|
201
216
|
"lang": {
|
|
@@ -288,6 +303,19 @@ var zhCN = {
|
|
|
288
303
|
"Querying": {
|
|
289
304
|
"querying": "数据查询中"
|
|
290
305
|
},
|
|
306
|
+
"QuickReply": {
|
|
307
|
+
"back": "返回",
|
|
308
|
+
"add": "添加",
|
|
309
|
+
"edit": "编辑",
|
|
310
|
+
"sort": "排序",
|
|
311
|
+
"del": "删除",
|
|
312
|
+
"delTip": "删除后此回复将无法使用,确认要删除吗?",
|
|
313
|
+
"batchDel": "批量删除",
|
|
314
|
+
"quickReply": "快捷回复",
|
|
315
|
+
"confirm": "确 认",
|
|
316
|
+
"cancel": "取 消",
|
|
317
|
+
"pleaseEnter": "请输入"
|
|
318
|
+
},
|
|
291
319
|
"Select": {
|
|
292
320
|
"searchPlaceholder": "请输入",
|
|
293
321
|
"more": "更多"
|
package/locale/zh-CN.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ declare const _default: {
|
|
|
16
16
|
fullPath: string;
|
|
17
17
|
pleaseSelect: string;
|
|
18
18
|
selected: string;
|
|
19
|
+
searching: string;
|
|
19
20
|
};
|
|
20
21
|
DatePicker: {
|
|
21
22
|
lang: {
|
|
@@ -108,6 +109,19 @@ declare const _default: {
|
|
|
108
109
|
Querying: {
|
|
109
110
|
querying: string;
|
|
110
111
|
};
|
|
112
|
+
QuickReply: {
|
|
113
|
+
back: string;
|
|
114
|
+
add: string;
|
|
115
|
+
edit: string;
|
|
116
|
+
sort: string;
|
|
117
|
+
del: string;
|
|
118
|
+
delTip: string;
|
|
119
|
+
batchDel: string;
|
|
120
|
+
quickReply: string;
|
|
121
|
+
confirm: string;
|
|
122
|
+
cancel: string;
|
|
123
|
+
pleaseEnter: string;
|
|
124
|
+
};
|
|
111
125
|
Select: {
|
|
112
126
|
searchPlaceholder: string;
|
|
113
127
|
more: string;
|