uiw 4.10.1 → 4.10.2

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
@@ -1007,7 +1007,7 @@ try {
1007
1007
 
1008
1008
  /***/ }),
1009
1009
 
1010
- /***/ 215:
1010
+ /***/ 532:
1011
1011
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1012
1012
 
1013
1013
  "use strict";
@@ -1089,7 +1089,7 @@ __webpack_require__.d(__webpack_exports__, {
1089
1089
  "Tree": function() { return /* reexport */ Tree; },
1090
1090
  "TreeChecked": function() { return /* reexport */ TreeChecked; },
1091
1091
  "canUseDOM": function() { return /* reexport */ canUseDOM; },
1092
- "formatter": function() { return /* reexport */ esm_formatter; },
1092
+ "formatter": function() { return /* reexport */ formatter; },
1093
1093
  "getChildKeys": function() { return /* reexport */ getChildKeys; },
1094
1094
  "randomid": function() { return /* reexport */ randomid; }
1095
1095
  });
@@ -2643,9 +2643,7 @@ function Icon(props) {
2643
2643
  className: [prefixCls, className, prefixCls && verticalAlign ? prefixCls + "-" + verticalAlign : null, spin && prefixCls ? prefixCls + "-spin" : null].filter(Boolean).join(' ').trim()
2644
2644
  });
2645
2645
 
2646
- return /*#__PURE__*/(0,jsx_runtime.jsx)(TagName, _extends({}, propps, {
2647
- children: svg
2648
- }));
2646
+ return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement(TagName, _extends({}, propps), svg);
2649
2647
  }
2650
2648
  ;// CONCATENATED MODULE: ../react-button/esm/style/index.css
2651
2649
  // extracted by mini-css-extract-plugin
@@ -3365,7 +3363,7 @@ var react_button_group_esm_excluded = ["prefixCls", "vertical", "children", "cla
3365
3363
  }));
3366
3364
  ;// CONCATENATED MODULE: ../../node_modules/@uiw/formatter/esm/index.js
3367
3365
  /**!
3368
- * @uiw/formatter v1.3.1
3366
+ * @uiw/formatter v1.3.2
3369
3367
  * Get a formatted date.
3370
3368
  *
3371
3369
  * Copyright (c) 2022 Kenny Wang <wowohoo@qq.com>
@@ -10740,56 +10738,6 @@ function TreeChecked(_ref) {
10740
10738
  }
10741
10739
  }, props));
10742
10740
  }
10743
- ;// CONCATENATED MODULE: ./node_modules/@uiw/formatter/esm/index.js
10744
- /**!
10745
- * @uiw/formatter v1.3.1
10746
- * Get a formatted date.
10747
- *
10748
- * Copyright (c) 2022 Kenny Wang <wowohoo@qq.com>
10749
- * https://github.com/uiwjs/date-formatter.git
10750
- * Licensed under the MIT license
10751
- */
10752
- var esm_dateRegex = /(?=(YYYY|YY|MM|DD|HH|mm|ss|ms))\1([:/]*)/g;
10753
- var esm_timespan = {
10754
- YYYY: ['getFullYear', 4],
10755
- YY: ['getFullYear', 2],
10756
- MM: ['getMonth', 2, 1],
10757
- DD: ['getDate', 2],
10758
- HH: ['getHours', 2],
10759
- mm: ['getMinutes', 2],
10760
- ss: ['getSeconds', 2],
10761
- ms: ['getMilliseconds', 3]
10762
- };
10763
-
10764
- function esm_formatter(str, date, utc) {
10765
- if (typeof str !== 'string') {
10766
- date = str;
10767
- str = 'YYYY-MM-DD';
10768
- }
10769
-
10770
- return str.replace(esm_dateRegex, function (match, key, rest) {
10771
- var args = esm_timespan[key];
10772
- var chars = args[1];
10773
- var name = args[0];
10774
-
10775
- if (utc === true) {
10776
- name = "getUTC".concat(name.slice(3));
10777
- }
10778
-
10779
- if (!date) {
10780
- date = new Date();
10781
- }
10782
-
10783
- var val = "00".concat(String(date[name]() + (args[2] || 0)));
10784
- return val.slice(-chars) + (rest || '');
10785
- });
10786
- }
10787
-
10788
- esm_formatter.utc = function (str, date) {
10789
- return esm_formatter(str, date, true);
10790
- };
10791
-
10792
-
10793
10741
  ;// CONCATENATED MODULE: ./esm/index.js
10794
10742
 
10795
10743
 
@@ -10993,7 +10941,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__156__;
10993
10941
  /******/ // startup
10994
10942
  /******/ // Load entry module and return exports
10995
10943
  /******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined
10996
- /******/ var __webpack_exports__ = __webpack_require__(215);
10944
+ /******/ var __webpack_exports__ = __webpack_require__(532);
10997
10945
  /******/
10998
10946
  /******/ return __webpack_exports__;
10999
10947
  /******/ })()