uiw 4.21.24 → 4.21.26

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 CHANGED
@@ -14,20 +14,22 @@ return /******/ (() => { // webpackBootstrap
14
14
  /***/ 448:
15
15
  /***/ (function(module) {
16
16
 
17
- /*!
18
- * @uiw/copy-to-clipboard v1.0.12
19
- * Copy to clipboard.
17
+ /**!
18
+ * @uiw/copy-to-clipboard v1.0.14
19
+ * Copy to clipboard.
20
20
  *
21
- * Copyright (c) 2021 Kenny Wang
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
- * Licensed under the MIT license.
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.1
2221
+ * @uiw/formatter v2.0.2
2220
2222
  * Get a formatted date.
2221
2223
  *
2222
- * Copyright (c) 2022 Kenny Wang <wowohoo@qq.com>
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();
@@ -3505,7 +3510,6 @@ function DatePickerYear(props) {
3505
3510
  var date = new Date(activeYear);
3506
3511
  date.setFullYear(year);
3507
3512
  setActiveYear(date);
3508
- onSelected(year, true);
3509
3513
  } else {
3510
3514
  onSelected(year);
3511
3515
  }
@@ -4681,6 +4685,11 @@ function Cascader(props) {
4681
4685
  var RadioAbstract_excluded = ["prefixCls", "type", "disabled", "value", "className", "style", "children", "size", "checked", "onChange"];
4682
4686
 
4683
4687
 
4688
+ /**
4689
+ * Constructs a type by picking all properties from `HTMLInputProps` and then removing `size`.
4690
+ * Omit: https://www.typescriptlang.org/docs/handbook/utility-types.html#omittk
4691
+ */
4692
+
4684
4693
 
4685
4694
  var RadioAbstract = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().forwardRef((props, ref) => {
4686
4695
  var {
@@ -7002,7 +7011,7 @@ function MonthPicker(props) {
7002
7011
  setType(captionType);
7003
7012
  } else {
7004
7013
  var year = new Date(panelDate).getFullYear();
7005
- var curPanelDate = new Date(new Date(panelDate).setFullYear(type === 'next' ? year + 1 : year - 1));
7014
+ var curPanelDate = new Date(new Date(panelDate).setFullYear(captionType === 'next' ? year + 1 : year - 1));
7006
7015
  setPanelDate(curPanelDate);
7007
7016
  }
7008
7017
  }
@@ -10645,12 +10654,12 @@ function SearchTree(props) {
10645
10654
 
10646
10655
 
10647
10656
 
10648
- var CheckedStatus;
10649
- (function (CheckedStatus) {
10657
+ var CheckedStatus = /*#__PURE__*/function (CheckedStatus) {
10650
10658
  CheckedStatus[CheckedStatus["UnChecked"] = 0] = "UnChecked";
10651
10659
  CheckedStatus[CheckedStatus["AllChecked"] = 1] = "AllChecked";
10652
10660
  CheckedStatus[CheckedStatus["Indeterminate"] = 2] = "Indeterminate";
10653
- })(CheckedStatus || (CheckedStatus = {}));
10661
+ return CheckedStatus;
10662
+ }(CheckedStatus || {});
10654
10663
  function Transfer(props) {
10655
10664
  var {
10656
10665
  placeholder,