uiw 4.21.25 → 4.21.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/uiw.js +39 -17
- package/dist/uiw.min.js +1 -1
- package/dist/uiw.min.js.LICENSE.txt +17 -12
- package/package.json +60 -60
package/dist/uiw.js
CHANGED
|
@@ -14,20 +14,22 @@ return /******/ (() => { // webpackBootstrap
|
|
|
14
14
|
/***/ 448:
|
|
15
15
|
/***/ (function(module) {
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
* @uiw/copy-to-clipboard v1.0.
|
|
19
|
-
* Copy to clipboard.
|
|
17
|
+
/**!
|
|
18
|
+
* @uiw/copy-to-clipboard v1.0.14
|
|
19
|
+
* Copy to clipboard.
|
|
20
20
|
*
|
|
21
|
-
* Copyright (c)
|
|
22
|
-
* https://github.com/uiwjs/copy-to-clipboard.git
|
|
21
|
+
* Copyright (c) 2023 Kenny Wang
|
|
22
|
+
* https://github.com/uiwjs/copy-to-clipboard.git
|
|
23
23
|
*
|
|
24
|
-
*
|
|
24
|
+
* @website: https://uiwjs.github.io/copy-to-clipboard
|
|
25
|
+
|
|
26
|
+
* Licensed under the MIT license
|
|
25
27
|
*/
|
|
26
28
|
|
|
27
29
|
(function (global, factory) {
|
|
28
30
|
true ? module.exports = factory() :
|
|
29
31
|
0;
|
|
30
|
-
}(this, (function () { 'use strict';
|
|
32
|
+
})(this, (function () { 'use strict';
|
|
31
33
|
|
|
32
34
|
/**
|
|
33
35
|
* *** This styling is an extra step which is likely not required. ***
|
|
@@ -82,7 +84,7 @@ return /******/ (() => { // webpackBootstrap
|
|
|
82
84
|
|
|
83
85
|
return copyTextToClipboard;
|
|
84
86
|
|
|
85
|
-
}))
|
|
87
|
+
}));
|
|
86
88
|
//# sourceMappingURL=copy-to-clipboard.umd.js.map
|
|
87
89
|
|
|
88
90
|
|
|
@@ -2216,11 +2218,14 @@ var react_button_group_esm_excluded = ["prefixCls", "vertical", "children", "cla
|
|
|
2216
2218
|
|
|
2217
2219
|
;// CONCATENATED MODULE: ../../node_modules/@uiw/formatter/esm/index.js
|
|
2218
2220
|
/**!
|
|
2219
|
-
* @uiw/formatter v2.0.
|
|
2221
|
+
* @uiw/formatter v2.0.2
|
|
2220
2222
|
* Get a formatted date.
|
|
2221
2223
|
*
|
|
2222
|
-
* Copyright (c)
|
|
2224
|
+
* Copyright (c) 2023 Kenny Wang <wowohoo@qq.com>
|
|
2223
2225
|
* https://github.com/uiwjs/date-formatter.git
|
|
2226
|
+
*
|
|
2227
|
+
* @website: https://github.com/uiwjs/date-formatter.git
|
|
2228
|
+
|
|
2224
2229
|
* Licensed under the MIT license
|
|
2225
2230
|
*/
|
|
2226
2231
|
|
|
@@ -2245,7 +2250,7 @@ function formatter(str, date, utc) {
|
|
|
2245
2250
|
var chars = args[1];
|
|
2246
2251
|
var name = args[0];
|
|
2247
2252
|
if (utc === true) {
|
|
2248
|
-
name = "getUTC".concat(name.slice(3));
|
|
2253
|
+
name = "getUTC".concat(String(name).slice(3));
|
|
2249
2254
|
}
|
|
2250
2255
|
if (!date) {
|
|
2251
2256
|
date = new Date();
|
|
@@ -2783,12 +2788,22 @@ var normalizeDelay = delay => delay && typeof delay === 'object' ? delay : {
|
|
|
2783
2788
|
}
|
|
2784
2789
|
function _hide() {
|
|
2785
2790
|
if (!isOpen) return;
|
|
2786
|
-
zIndex.current
|
|
2791
|
+
if (zIndex.current <= 999) {
|
|
2792
|
+
zIndex.current = 999;
|
|
2793
|
+
} else {
|
|
2794
|
+
zIndex.current -= 1;
|
|
2795
|
+
}
|
|
2787
2796
|
setIsOpen(false);
|
|
2788
2797
|
}
|
|
2789
2798
|
function _show() {
|
|
2799
|
+
var _triggerRef$current;
|
|
2790
2800
|
if (isOpen) return;
|
|
2791
|
-
|
|
2801
|
+
var nodeIndex = (_triggerRef$current = triggerRef.current) == null ? void 0 : _triggerRef$current.style.zIndex;
|
|
2802
|
+
if (nodeIndex) {
|
|
2803
|
+
zIndex.current = Number(nodeIndex) + 1;
|
|
2804
|
+
} else {
|
|
2805
|
+
zIndex.current += 1;
|
|
2806
|
+
}
|
|
2792
2807
|
setIsOpen(true);
|
|
2793
2808
|
}
|
|
2794
2809
|
function handleEnter(node, isAppearing) {
|
|
@@ -2833,6 +2848,9 @@ var normalizeDelay = delay => delay && typeof delay === 'object' ? delay : {
|
|
|
2833
2848
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)((external_root_React_commonjs2_react_commonjs_react_amd_react_default()).Fragment, {
|
|
2834
2849
|
children: [/*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.cloneElement)(child, Object.assign({}, child.props, _extends({}, triggerProps, {
|
|
2835
2850
|
ref: triggerRef,
|
|
2851
|
+
style: {
|
|
2852
|
+
zIndex: zIndex.current
|
|
2853
|
+
},
|
|
2836
2854
|
className: [child.props.className, disabled ? prefixCls + "-disabled" : null].filter(Boolean).join(' ').trim()
|
|
2837
2855
|
}))), /*#__PURE__*/(0,jsx_runtime.jsx)(Overlay, _extends({}, overlayProps, {
|
|
2838
2856
|
style: _extends({}, overlayProps.style, overlayStyl),
|
|
@@ -3505,7 +3523,6 @@ function DatePickerYear(props) {
|
|
|
3505
3523
|
var date = new Date(activeYear);
|
|
3506
3524
|
date.setFullYear(year);
|
|
3507
3525
|
setActiveYear(date);
|
|
3508
|
-
onSelected(year, true);
|
|
3509
3526
|
} else {
|
|
3510
3527
|
onSelected(year);
|
|
3511
3528
|
}
|
|
@@ -4681,6 +4698,11 @@ function Cascader(props) {
|
|
|
4681
4698
|
var RadioAbstract_excluded = ["prefixCls", "type", "disabled", "value", "className", "style", "children", "size", "checked", "onChange"];
|
|
4682
4699
|
|
|
4683
4700
|
|
|
4701
|
+
/**
|
|
4702
|
+
* Constructs a type by picking all properties from `HTMLInputProps` and then removing `size`.
|
|
4703
|
+
* Omit: https://www.typescriptlang.org/docs/handbook/utility-types.html#omittk
|
|
4704
|
+
*/
|
|
4705
|
+
|
|
4684
4706
|
|
|
4685
4707
|
var RadioAbstract = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().forwardRef((props, ref) => {
|
|
4686
4708
|
var {
|
|
@@ -10645,12 +10667,12 @@ function SearchTree(props) {
|
|
|
10645
10667
|
|
|
10646
10668
|
|
|
10647
10669
|
|
|
10648
|
-
var CheckedStatus
|
|
10649
|
-
(function (CheckedStatus) {
|
|
10670
|
+
var CheckedStatus = /*#__PURE__*/function (CheckedStatus) {
|
|
10650
10671
|
CheckedStatus[CheckedStatus["UnChecked"] = 0] = "UnChecked";
|
|
10651
10672
|
CheckedStatus[CheckedStatus["AllChecked"] = 1] = "AllChecked";
|
|
10652
10673
|
CheckedStatus[CheckedStatus["Indeterminate"] = 2] = "Indeterminate";
|
|
10653
|
-
|
|
10674
|
+
return CheckedStatus;
|
|
10675
|
+
}(CheckedStatus || {});
|
|
10654
10676
|
function Transfer(props) {
|
|
10655
10677
|
var {
|
|
10656
10678
|
placeholder,
|