@open-condo/ui 1.14.0 → 1.16.0

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.
Files changed (46) hide show
  1. package/dist/colors/index.d.ts.map +1 -1
  2. package/dist/colors/index.js +3 -3
  3. package/dist/components/Alert/alert.d.ts +1 -1
  4. package/dist/components/Alert/alert.d.ts.map +1 -1
  5. package/dist/components/Banner/banner.d.ts.map +1 -1
  6. package/dist/components/Button/button.d.ts +2 -2
  7. package/dist/components/Button/button.d.ts.map +1 -1
  8. package/dist/components/Card/card.d.ts +1 -1
  9. package/dist/components/Card/card.d.ts.map +1 -1
  10. package/dist/components/Carousel/carousel.d.ts +1 -1
  11. package/dist/components/Carousel/carousel.d.ts.map +1 -1
  12. package/dist/components/Checkbox/checkbox.d.ts +1 -1
  13. package/dist/components/Checkbox/checkbox.d.ts.map +1 -1
  14. package/dist/components/List/list.d.ts +1 -1
  15. package/dist/components/List/list.d.ts.map +1 -1
  16. package/dist/components/Markdown/markdown.d.ts.map +1 -1
  17. package/dist/components/Modal/modal.d.ts +1 -1
  18. package/dist/components/Modal/modal.d.ts.map +1 -1
  19. package/dist/components/Radio/index.d.ts +7 -0
  20. package/dist/components/Radio/index.d.ts.map +1 -0
  21. package/dist/components/Radio/radio.d.ts +14 -0
  22. package/dist/components/Radio/radio.d.ts.map +1 -0
  23. package/dist/components/Radio/radiogroup.d.ts +18 -0
  24. package/dist/components/Radio/radiogroup.d.ts.map +1 -0
  25. package/dist/components/Space/index.d.ts +4 -0
  26. package/dist/components/Space/index.d.ts.map +1 -0
  27. package/dist/components/Space/space.d.ts +9 -0
  28. package/dist/components/Space/space.d.ts.map +1 -0
  29. package/dist/components/Tag/tag.d.ts.map +1 -1
  30. package/dist/components/Typography/index.d.ts +2 -2
  31. package/dist/components/Typography/index.d.ts.map +1 -1
  32. package/dist/components/Typography/link.d.ts.map +1 -1
  33. package/dist/components/Typography/paragraph.d.ts +2 -2
  34. package/dist/components/Typography/paragraph.d.ts.map +1 -1
  35. package/dist/components/Typography/text.d.ts +2 -2
  36. package/dist/components/Typography/text.d.ts.map +1 -1
  37. package/dist/components/Typography/title.d.ts +1 -1
  38. package/dist/components/Typography/title.d.ts.map +1 -1
  39. package/dist/components/_utils/analytics.d.ts +18 -0
  40. package/dist/components/_utils/analytics.d.ts.map +1 -1
  41. package/dist/index.d.ts +4 -0
  42. package/dist/index.d.ts.map +1 -1
  43. package/dist/index.js +791 -225
  44. package/dist/styles.css +503 -0
  45. package/dist/styles.min.css +1 -1
  46. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -42016,8 +42016,6 @@ __webpack_require__.d(__webpack_exports__, {
42016
42016
  "colors": function() { return /* binding */ colors; }
42017
42017
  });
42018
42018
 
42019
- ;// CONCATENATED MODULE: ./src/colors/colors.json
42020
- var colors_namespaceObject = JSON.parse('{"white":"#fff","black":"#222222","brandGradient":{"1":"linear-gradient(90deg, #e2ffeb 0%, #e7f4ff 100%)","3":"linear-gradient(90deg, #85eba4 0%, #9fd5ff 100%)","5":"linear-gradient(90deg, #4cd174 0%, #6db8f2 100%)","7":"linear-gradient(90deg, #2abb56 0%, #3996dd 100%)"},"green":{"1":"#ebfaef","3":"#88e2a3","5":"#39ce66","7":"#00b538"},"red":{"1":"#ffeceb","3":"#ff938e","5":"#ff3b30","7":"#ec0000"},"yellow":{"1":"#fef8dd","3":"#fcea99","5":"#fadd56","7":"#e9c000"},"orange":{"1":"#fff5e6","3":"#ffbf66","5":"#ff9500","7":"#da7f00"},"blue":{"1":"#e7f4ff","3":"#7dc0f8","5":"#2696f3","7":"#0b78d2"},"purple":{"1":"#f2e9ff","3":"#9e7add","5":"#5e22c6","7":"#4b1c9e"},"pink":{"1":"#ffeef3","3":"#f38aa7","5":"#eb3468","7":"#d21f52"},"brown":{"1":"#f8f1e7","3":"#d2aa6e","5":"#b4710d","7":"#8d590c"},"teal":{"1":"#e9f3f2","3":"#6db8b3","5":"#1c7e79","7":"#135754"},"cyan":{"1":"#edfcf8","3":"#a0e5d2","5":"#5eceb0","7":"#249677"},"gray":{"1":"#f2f4f6","3":"#e1e5ed","5":"#d0d3e5","7":"#707695"}}');
42021
42019
  ;// CONCATENATED MODULE: ./src/colors/colors.ts
42022
42020
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
42023
42021
 
@@ -42305,10 +42303,12 @@ var typeMap = {
42305
42303
  typ: m('')
42306
42304
  }], false)
42307
42305
  };
42306
+ ;// CONCATENATED MODULE: ./src/colors/colors.json
42307
+ var colors_colors_namespaceObject = JSON.parse('{"white":"#fff","black":"#222222","brandGradient":{"1":"linear-gradient(90deg, #e2ffeb 0%, #e7f4ff 100%)","3":"linear-gradient(90deg, #85eba4 0%, #9fd5ff 100%)","5":"linear-gradient(90deg, #4cd174 0%, #6db8f2 100%)","7":"linear-gradient(90deg, #2abb56 0%, #3996dd 100%)"},"green":{"1":"#ebfaef","3":"#88e2a3","5":"#39ce66","7":"#00b538"},"red":{"1":"#ffeceb","3":"#ff938e","5":"#ff3b30","7":"#ec0000"},"yellow":{"1":"#fef8dd","3":"#fcea99","5":"#fadd56","7":"#e9c000"},"orange":{"1":"#fff5e6","3":"#ffbf66","5":"#ff9500","7":"#da7f00"},"blue":{"1":"#e7f4ff","3":"#7dc0f8","5":"#2696f3","7":"#0b78d2"},"purple":{"1":"#f2e9ff","3":"#9e7add","5":"#5e22c6","7":"#4b1c9e"},"pink":{"1":"#ffeef3","3":"#f38aa7","5":"#eb3468","7":"#d21f52"},"brown":{"1":"#f8f1e7","3":"#d2aa6e","5":"#b4710d","7":"#8d590c"},"teal":{"1":"#e9f3f2","3":"#6db8b3","5":"#1c7e79","7":"#135754"},"cyan":{"1":"#edfcf8","3":"#a0e5d2","5":"#5eceb0","7":"#249677"},"gray":{"1":"#f2f4f6","3":"#e1e5ed","5":"#d0d3e5","7":"#707695"}}');
42308
42308
  ;// CONCATENATED MODULE: ./src/colors/index.ts
42309
42309
 
42310
42310
 
42311
- var colors = Convert.toColorPalette(JSON.stringify(colors_namespaceObject));
42311
+ var colors = Convert.toColorPalette(JSON.stringify(colors_colors_namespaceObject));
42312
42312
 
42313
42313
 
42314
42314
  /***/ }),
@@ -46754,13 +46754,13 @@ __webpack_require__.d(__webpack_exports__, {
46754
46754
  "List": function() { return /* reexport */ List_list_List; },
46755
46755
  "Markdown": function() { return /* reexport */ Markdown; },
46756
46756
  "Modal": function() { return /* reexport */ Modal_modal_Modal; },
46757
+ "Radio": function() { return /* reexport */ Radio_radio_Radio; },
46758
+ "RadioGroup": function() { return /* reexport */ radiogroup_RadioGroup; },
46759
+ "Space": function() { return /* reexport */ space_Space; },
46757
46760
  "Tag": function() { return /* reexport */ tag_Tag; },
46758
46761
  "Typography": function() { return /* reexport */ Typography; }
46759
46762
  });
46760
46763
 
46761
- // EXTERNAL MODULE: external "react"
46762
- var external_react_ = __webpack_require__(8156);
46763
- var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
46764
46764
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/extends.js
46765
46765
  var esm_extends = __webpack_require__(7896);
46766
46766
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
@@ -46769,6 +46769,9 @@ var slicedToArray = __webpack_require__(96234);
46769
46769
  var defineProperty = __webpack_require__(56666);
46770
46770
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js
46771
46771
  var objectSpread2 = __webpack_require__(33028);
46772
+ // EXTERNAL MODULE: external "react"
46773
+ var external_react_ = __webpack_require__(8156);
46774
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
46772
46775
  ;// CONCATENATED MODULE: ../../node_modules/@ant-design/icons-svg/es/asn/CheckCircleFilled.js
46773
46776
  // This icon file is generated automatically.
46774
46777
  var CheckCircleFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z" } }] }, "name": "check-circle", "theme": "filled" };
@@ -47348,11 +47351,11 @@ var defaultGetPrefixCls = function defaultGetPrefixCls(suffixCls, customizePrefi
47348
47351
  return suffixCls ? "ant-".concat(suffixCls) : 'ant';
47349
47352
  };
47350
47353
  // zombieJ: 🚨 Do not pass `defaultRenderEmpty` here since it will case circular dependency.
47351
- var context_ConfigContext = /*#__PURE__*/external_react_.createContext({
47354
+ var ConfigContext = /*#__PURE__*/external_react_.createContext({
47352
47355
  // We provide a default function for Context without provider
47353
47356
  getPrefixCls: defaultGetPrefixCls
47354
47357
  });
47355
- var ConfigConsumer = context_ConfigContext.Consumer;
47358
+ var ConfigConsumer = ConfigContext.Consumer;
47356
47359
  /** @deprecated Use hooks instead. This is a legacy function */
47357
47360
  function withConfigConsumer(config) {
47358
47361
  return function withConfigConsumerFunc(Component) {
@@ -47564,7 +47567,7 @@ var Alert = function Alert(_a) {
47564
47567
  closed = _React$useState2[0],
47565
47568
  setClosed = _React$useState2[1];
47566
47569
  var ref = external_react_.useRef();
47567
- var _React$useContext = external_react_.useContext(context_ConfigContext),
47570
+ var _React$useContext = external_react_.useContext(ConfigContext),
47568
47571
  getPrefixCls = _React$useContext.getPrefixCls,
47569
47572
  direction = _React$useContext.direction;
47570
47573
  var prefixCls = getPrefixCls('alert', customizePrefixCls);
@@ -47653,6 +47656,120 @@ var alert_Alert = function Alert(props) {
47653
47656
 
47654
47657
 
47655
47658
 
47659
+ // EXTERNAL MODULE: ./node_modules/classnames/index.js
47660
+ var node_modules_classnames_0 = __webpack_require__(94184);
47661
+ var node_modules_classnames_default_0 = /*#__PURE__*/__webpack_require__.n(node_modules_classnames_0);
47662
+ // EXTERNAL MODULE: ../../node_modules/lodash/identity.js
47663
+ var identity = __webpack_require__(23059);
47664
+ var identity_default = /*#__PURE__*/__webpack_require__.n(identity);
47665
+ // EXTERNAL MODULE: ../../node_modules/lodash/isString.js
47666
+ var isString = __webpack_require__(85505);
47667
+ var isString_default = /*#__PURE__*/__webpack_require__.n(isString);
47668
+ ;// CONCATENATED MODULE: ./package.json
47669
+ var package_namespaceObject = {"i8":"1.16.0"};
47670
+ ;// CONCATENATED MODULE: ./src/components/_utils/analytics.ts
47671
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
47672
+
47673
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
47674
+
47675
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
47676
+
47677
+
47678
+
47679
+
47680
+ var ANALYTICS_HANDLER_NAME = 'CondoWebSendAnalyticsEvent';
47681
+ function extractChildrenContent(children) {
47682
+ if (isString_default()(children)) {
47683
+ return children;
47684
+ } else if (Array.isArray(children)) {
47685
+ var stringChildren = children.map(extractChildrenContent).filter((identity_default()));
47686
+
47687
+ if (stringChildren.length) {
47688
+ return stringChildren.join(':');
47689
+ }
47690
+ }
47691
+
47692
+ return null;
47693
+ }
47694
+ function sendAnalyticsClickEvent(component, data) {
47695
+ if (typeof window !== 'undefined') {
47696
+ var location = window.location.href;
47697
+
47698
+ var params = _objectSpread({
47699
+ event: 'click',
47700
+ location: location,
47701
+ component: component
47702
+ }, data);
47703
+
47704
+ parent.postMessage({
47705
+ handler: ANALYTICS_HANDLER_NAME,
47706
+ params: params,
47707
+ type: 'condo-ui',
47708
+ version: package_namespaceObject.i8
47709
+ }, '*');
47710
+ }
47711
+ }
47712
+ function sendAnalyticsCheckEvent(component, data) {
47713
+ if (typeof window !== 'undefined') {
47714
+ var location = window.location.href;
47715
+
47716
+ var params = _objectSpread({
47717
+ event: 'check',
47718
+ location: location,
47719
+ component: component
47720
+ }, data);
47721
+
47722
+ parent.postMessage({
47723
+ handler: ANALYTICS_HANDLER_NAME,
47724
+ params: params,
47725
+ type: 'condo-ui',
47726
+ version: package_namespaceObject.i8
47727
+ }, '*');
47728
+ }
47729
+ }
47730
+ ;// CONCATENATED MODULE: ./src/components/_utils/hooks/useSize.ts
47731
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
47732
+
47733
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
47734
+
47735
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
47736
+
47737
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
47738
+
47739
+ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
47740
+
47741
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
47742
+
47743
+
47744
+ var useSize = function useSize(ref) {
47745
+ var _useState = (0,external_react_.useState)({
47746
+ width: 1200,
47747
+ height: 1000
47748
+ }),
47749
+ _useState2 = _slicedToArray(_useState, 2),
47750
+ size = _useState2[0],
47751
+ setSize = _useState2[1];
47752
+
47753
+ (0,external_react_.useEffect)(function () {
47754
+ if (!ref || !ref.current) return;
47755
+ var observer = new ResizeObserver(function (entries) {
47756
+ if (entries.length == 1) {
47757
+ var entry = entries[0];
47758
+ setSize({
47759
+ width: entry.contentRect.width,
47760
+ height: entry.contentRect.height
47761
+ });
47762
+ }
47763
+ });
47764
+ observer.observe(ref.current);
47765
+ return function () {
47766
+ return observer.disconnect();
47767
+ };
47768
+ }, [ref]);
47769
+ return size;
47770
+ };
47771
+ ;// CONCATENATED MODULE: ./src/components/_utils/hooks/index.ts
47772
+
47656
47773
  // EXTERNAL MODULE: ../../node_modules/rc-util/es/omit.js
47657
47774
  var es_omit = __webpack_require__(94899);
47658
47775
  ;// CONCATENATED MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js
@@ -47726,13 +47843,13 @@ var NoCompactStyle = function NoCompactStyle(_ref) {
47726
47843
  var CompactItem = function CompactItem(_a) {
47727
47844
  var children = _a.children,
47728
47845
  otherProps = Compact_rest(_a, ["children"]);
47729
- return /*#__PURE__*/React.createElement(SpaceCompactItemContext.Provider, {
47846
+ return /*#__PURE__*/external_react_.createElement(SpaceCompactItemContext.Provider, {
47730
47847
  value: otherProps
47731
47848
  }, children);
47732
47849
  };
47733
47850
  var Compact = function Compact(props) {
47734
47851
  var _classNames2;
47735
- var _React$useContext = React.useContext(ConfigContext),
47852
+ var _React$useContext = external_react_.useContext(ConfigContext),
47736
47853
  getPrefixCls = _React$useContext.getPrefixCls,
47737
47854
  directionConfig = _React$useContext.direction;
47738
47855
  var _props$size = props.size,
@@ -47744,13 +47861,13 @@ var Compact = function Compact(props) {
47744
47861
  children = props.children,
47745
47862
  restProps = Compact_rest(props, ["size", "direction", "block", "prefixCls", "className", "children"]);
47746
47863
  var prefixCls = getPrefixCls('space-compact', customizePrefixCls);
47747
- var clx = classNames(prefixCls, (_classNames2 = {}, _defineProperty(_classNames2, "".concat(prefixCls, "-rtl"), directionConfig === 'rtl'), _defineProperty(_classNames2, "".concat(prefixCls, "-block"), block), _defineProperty(_classNames2, "".concat(prefixCls, "-vertical"), direction === 'vertical'), _classNames2), className);
47748
- var compactItemContext = React.useContext(SpaceCompactItemContext);
47749
- var childNodes = toArray(children);
47750
- var nodes = React.useMemo(function () {
47864
+ var clx = node_modules_classnames_default()(prefixCls, (_classNames2 = {}, (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-rtl"), directionConfig === 'rtl'), (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-block"), block), (0,defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-vertical"), direction === 'vertical'), _classNames2), className);
47865
+ var compactItemContext = external_react_.useContext(SpaceCompactItemContext);
47866
+ var childNodes = (0,Children_toArray/* default */.Z)(children);
47867
+ var nodes = external_react_.useMemo(function () {
47751
47868
  return childNodes.map(function (child, i) {
47752
47869
  var key = child && child.key || "".concat(prefixCls, "-item-").concat(i);
47753
- return /*#__PURE__*/React.createElement(CompactItem, {
47870
+ return /*#__PURE__*/external_react_.createElement(CompactItem, {
47754
47871
  key: key,
47755
47872
  compactSize: size,
47756
47873
  compactDirection: direction,
@@ -47763,11 +47880,11 @@ var Compact = function Compact(props) {
47763
47880
  if (childNodes.length === 0) {
47764
47881
  return null;
47765
47882
  }
47766
- return /*#__PURE__*/React.createElement("div", _extends({
47883
+ return /*#__PURE__*/external_react_.createElement("div", (0,esm_extends/* default */.Z)({
47767
47884
  className: clx
47768
47885
  }, restProps), nodes);
47769
47886
  };
47770
- /* harmony default export */ var space_Compact = ((/* unused pure expression or super */ null && (Compact)));
47887
+ /* harmony default export */ var space_Compact = (Compact);
47771
47888
  ;// CONCATENATED MODULE: ./node_modules/antd/es/_util/type.js
47772
47889
  // https://stackoverflow.com/questions/46176165/ways-to-get-string-literal-type-of-array-values-without-enum-overhead
47773
47890
  var tuple = function tuple() {
@@ -48013,7 +48130,7 @@ var Wave = /*#__PURE__*/function (_React$Component) {
48013
48130
  }]);
48014
48131
  return Wave;
48015
48132
  }(external_react_.Component);
48016
- Wave.contextType = context_ConfigContext;
48133
+ Wave.contextType = ConfigContext;
48017
48134
  /* harmony default export */ var wave = (Wave);
48018
48135
  ;// CONCATENATED MODULE: ./node_modules/antd/es/button/button-group.js
48019
48136
 
@@ -48035,7 +48152,7 @@ var button_group_rest = undefined && undefined.__rest || function (s, e) {
48035
48152
  var GroupSizeContext = /*#__PURE__*/external_react_.createContext(undefined);
48036
48153
  var ButtonGroup = function ButtonGroup(props) {
48037
48154
  var _classNames;
48038
- var _React$useContext = external_react_.useContext(context_ConfigContext),
48155
+ var _React$useContext = external_react_.useContext(ConfigContext),
48039
48156
  getPrefixCls = _React$useContext.getPrefixCls,
48040
48157
  direction = _React$useContext.direction;
48041
48158
  var customizePrefixCls = props.prefixCls,
@@ -48172,7 +48289,7 @@ var button_rest = undefined && undefined.__rest || function (s, e) {
48172
48289
 
48173
48290
  var rxTwoCNChar = /^[\u4e00-\u9fa5]{2}$/;
48174
48291
  var isTwoCNChar = rxTwoCNChar.test.bind(rxTwoCNChar);
48175
- function isString(str) {
48292
+ function button_isString(str) {
48176
48293
  return typeof str === 'string';
48177
48294
  }
48178
48295
  function isUnBorderedButtonType(type) {
@@ -48186,7 +48303,7 @@ function insertSpace(child, needInserted) {
48186
48303
  }
48187
48304
  var SPACE = needInserted ? ' ' : '';
48188
48305
  // strictNullChecks oops.
48189
- if (typeof child !== 'string' && typeof child !== 'number' && isString(child.type) && isTwoCNChar(child.props.children)) {
48306
+ if (typeof child !== 'string' && typeof child !== 'number' && button_isString(child.type) && isTwoCNChar(child.props.children)) {
48190
48307
  return cloneElement(child, {
48191
48308
  children: child.props.children.split('').join(SPACE)
48192
48309
  });
@@ -48267,7 +48384,7 @@ var InternalButton = function InternalButton(props, ref) {
48267
48384
  _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2),
48268
48385
  hasTwoCNChar = _React$useState4[0],
48269
48386
  setHasTwoCNChar = _React$useState4[1];
48270
- var _React$useContext = external_react_.useContext(context_ConfigContext),
48387
+ var _React$useContext = external_react_.useContext(ConfigContext),
48271
48388
  getPrefixCls = _React$useContext.getPrefixCls,
48272
48389
  autoInsertSpaceInButton = _React$useContext.autoInsertSpaceInButton,
48273
48390
  direction = _React$useContext.direction;
@@ -48372,59 +48489,6 @@ Button.__ANT_BUTTON = true;
48372
48489
  ;// CONCATENATED MODULE: ./node_modules/antd/es/button/index.js
48373
48490
 
48374
48491
  /* harmony default export */ var es_button = (button_button);
48375
- // EXTERNAL MODULE: ./node_modules/classnames/index.js
48376
- var node_modules_classnames_0 = __webpack_require__(94184);
48377
- var node_modules_classnames_default_0 = /*#__PURE__*/__webpack_require__.n(node_modules_classnames_0);
48378
- // EXTERNAL MODULE: ../../node_modules/lodash/isString.js
48379
- var lodash_isString = __webpack_require__(85505);
48380
- var isString_default = /*#__PURE__*/__webpack_require__.n(lodash_isString);
48381
- // EXTERNAL MODULE: ../../node_modules/lodash/identity.js
48382
- var identity = __webpack_require__(23059);
48383
- var identity_default = /*#__PURE__*/__webpack_require__.n(identity);
48384
- ;// CONCATENATED MODULE: ./package.json
48385
- var package_namespaceObject = {"i8":"1.14.0"};
48386
- ;// CONCATENATED MODULE: ./src/components/_utils/analytics.ts
48387
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
48388
-
48389
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { analytics_defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
48390
-
48391
- function analytics_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
48392
-
48393
-
48394
-
48395
-
48396
- var ANALYTICS_HANDLER_NAME = 'CondoWebSendAnalyticsEvent';
48397
- function extractChildrenContent(children) {
48398
- if (isString_default()(children)) {
48399
- return children;
48400
- } else if (Array.isArray(children)) {
48401
- var stringChildren = children.map(extractChildrenContent).filter((identity_default()));
48402
-
48403
- if (stringChildren.length) {
48404
- return stringChildren.join(':');
48405
- }
48406
- }
48407
-
48408
- return null;
48409
- }
48410
- function sendAnalyticsClickEvent(component, data) {
48411
- if (typeof window !== 'undefined') {
48412
- var location = window.location.href;
48413
-
48414
- var params = _objectSpread({
48415
- event: 'click',
48416
- location: location,
48417
- component: component
48418
- }, data);
48419
-
48420
- parent.postMessage({
48421
- handler: ANALYTICS_HANDLER_NAME,
48422
- params: params,
48423
- type: 'condo-ui',
48424
- version: package_namespaceObject.i8
48425
- }, '*');
48426
- }
48427
- }
48428
48492
  ;// CONCATENATED MODULE: ./src/components/Button/button.tsx
48429
48493
  var button_excluded = ["type", "className", "icon", "children", "onClick", "stateless"];
48430
48494
 
@@ -48494,39 +48558,84 @@ var TYPOGRAPHY_CLASS_PREFIX = 'condo-typography';
48494
48558
  var TEXT_SIZES = (/* unused pure expression or super */ null && (['large', 'medium', 'small']));
48495
48559
  var TEXT_TYPES = (/* unused pure expression or super */ null && (['secondary', 'inverted', 'danger', 'warning', 'info', 'success']));
48496
48560
  var TOOLTIP_CLASS_PREFIX = 'condo-tooltip';
48497
- ;// CONCATENATED MODULE: ./src/components/Typography/title.tsx
48498
- var title_excluded = ["level", "type"];
48561
+ ;// CONCATENATED MODULE: ./src/components/Typography/link.tsx
48562
+ function link_extends() { link_extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return link_extends.apply(this, arguments); }
48499
48563
 
48500
- function title_extends() { title_extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return title_extends.apply(this, arguments); }
48564
+ function link_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
48501
48565
 
48502
- function title_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
48503
48566
 
48504
- function title_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = title_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
48505
48567
 
48506
- function title_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
48507
48568
 
48508
48569
 
48509
48570
 
48571
+ var Link = /*#__PURE__*/external_react_default().forwardRef(function (props, ref) {
48572
+ var size = props.size,
48573
+ onClick = props.onClick,
48574
+ children = props.children,
48575
+ href = props.href;
48576
+ var className = node_modules_classnames_default_0()(link_defineProperty({}, "".concat(TYPOGRAPHY_CLASS_PREFIX, "-").concat(size), size)); // NOTE: Used wrapper destructuring to explicitly pass component props, which is marked as internal in antd
48510
48577
 
48578
+ var componentProps = {
48579
+ component: 'a'
48580
+ };
48581
+ var handleClick = (0,external_react_.useCallback)(function (event) {
48582
+ var stringContent = extractChildrenContent(children);
48511
48583
 
48512
- var Title = /*#__PURE__*/external_react_default().forwardRef(function (props, ref) {
48513
- var _props$level = props.level,
48514
- level = _props$level === void 0 ? 1 : _props$level,
48515
- type = props.type,
48516
- rest = title_objectWithoutProperties(props, title_excluded);
48584
+ if (stringContent) {
48585
+ sendAnalyticsClickEvent('Typography.Link', {
48586
+ value: stringContent,
48587
+ href: href
48588
+ });
48589
+ }
48517
48590
 
48518
- var className = node_modules_classnames_default_0()(title_defineProperty({}, "".concat(TYPOGRAPHY_CLASS_PREFIX, "-").concat(type), type)); // NOTE: Used wrapper destructuring to explicitly pass component props, which is marked as internal in antd
48591
+ if (onClick) {
48592
+ onClick(event);
48593
+ }
48594
+ }, [children, onClick, href]);
48595
+ return /*#__PURE__*/external_react_default().createElement(Base/* default */.Z, link_extends({}, props, {
48596
+ className: className,
48597
+ prefixCls: TYPOGRAPHY_CLASS_PREFIX,
48598
+ ref: ref,
48599
+ onClick: handleClick
48600
+ }, componentProps));
48601
+ });
48602
+ Link.displayName = 'Typography.Link';
48603
+
48604
+ ;// CONCATENATED MODULE: ./src/components/Typography/paragraph.tsx
48605
+ var paragraph_excluded = ["type", "size"];
48606
+
48607
+ function paragraph_extends() { paragraph_extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return paragraph_extends.apply(this, arguments); }
48608
+
48609
+ function paragraph_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
48610
+
48611
+ function paragraph_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = paragraph_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
48612
+
48613
+ function paragraph_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
48614
+
48615
+
48616
+
48617
+
48618
+
48619
+ var Paragraph = /*#__PURE__*/external_react_default().forwardRef(function (props, ref) {
48620
+ var _classNames;
48621
+
48622
+ var type = props.type,
48623
+ _props$size = props.size,
48624
+ size = _props$size === void 0 ? 'lg' : _props$size,
48625
+ rest = paragraph_objectWithoutProperties(props, paragraph_excluded);
48626
+
48627
+ var className = node_modules_classnames_default_0()((_classNames = {}, paragraph_defineProperty(_classNames, "".concat(TYPOGRAPHY_CLASS_PREFIX, "-").concat(type), type), paragraph_defineProperty(_classNames, "".concat(TYPOGRAPHY_CLASS_PREFIX, "-").concat(size), size), _classNames)); // NOTE: Used wrapper destructuring to explicitly pass component props, which is marked as internal in antd
48519
48628
 
48520
48629
  var componentProps = {
48521
- component: "h".concat(level)
48630
+ component: 'div'
48522
48631
  };
48523
- return /*#__PURE__*/external_react_default().createElement(Base/* default */.Z, title_extends({}, rest, {
48632
+ return /*#__PURE__*/external_react_default().createElement(Base/* default */.Z, paragraph_extends({}, rest, {
48524
48633
  prefixCls: TYPOGRAPHY_CLASS_PREFIX,
48525
48634
  ref: ref,
48526
48635
  className: className
48527
48636
  }, componentProps));
48528
48637
  });
48529
- Title.displayName = 'Typography.Title';
48638
+ Paragraph.displayName = 'Typography.Paragraph';
48530
48639
 
48531
48640
  // EXTERNAL MODULE: ../../node_modules/lodash/merge.js
48532
48641
  var merge = __webpack_require__(98537);
@@ -48588,84 +48697,39 @@ var Text = /*#__PURE__*/external_react_default().forwardRef(function (props, ref
48588
48697
  });
48589
48698
  Text.displayName = 'Typography.Text';
48590
48699
 
48591
- ;// CONCATENATED MODULE: ./src/components/Typography/link.tsx
48592
- function link_extends() { link_extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return link_extends.apply(this, arguments); }
48700
+ ;// CONCATENATED MODULE: ./src/components/Typography/title.tsx
48701
+ var title_excluded = ["level", "type"];
48593
48702
 
48594
- function link_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
48703
+ function title_extends() { title_extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return title_extends.apply(this, arguments); }
48595
48704
 
48705
+ function title_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
48596
48706
 
48707
+ function title_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = title_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
48597
48708
 
48709
+ function title_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
48598
48710
 
48599
48711
 
48600
48712
 
48601
- var Link = /*#__PURE__*/external_react_default().forwardRef(function (props, ref) {
48602
- var size = props.size,
48603
- onClick = props.onClick,
48604
- children = props.children,
48605
- href = props.href;
48606
- var className = node_modules_classnames_default_0()(link_defineProperty({}, "".concat(TYPOGRAPHY_CLASS_PREFIX, "-").concat(size), size)); // NOTE: Used wrapper destructuring to explicitly pass component props, which is marked as internal in antd
48607
48713
 
48608
- var componentProps = {
48609
- component: 'a'
48610
- };
48611
- var handleClick = (0,external_react_.useCallback)(function (event) {
48612
- var stringContent = extractChildrenContent(children);
48613
48714
 
48614
- if (stringContent) {
48615
- sendAnalyticsClickEvent('Typography.Link', {
48616
- value: stringContent,
48617
- href: href
48618
- });
48619
- }
48620
-
48621
- if (onClick) {
48622
- onClick(event);
48623
- }
48624
- }, [children, onClick, href]);
48625
- return /*#__PURE__*/external_react_default().createElement(Base/* default */.Z, link_extends({}, props, {
48626
- className: className,
48627
- prefixCls: TYPOGRAPHY_CLASS_PREFIX,
48628
- ref: ref,
48629
- onClick: handleClick
48630
- }, componentProps));
48631
- });
48632
- Link.displayName = 'Typography.Link';
48633
-
48634
- ;// CONCATENATED MODULE: ./src/components/Typography/paragraph.tsx
48635
- var paragraph_excluded = ["type", "size"];
48636
-
48637
- function paragraph_extends() { paragraph_extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return paragraph_extends.apply(this, arguments); }
48638
-
48639
- function paragraph_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
48640
-
48641
- function paragraph_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = paragraph_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
48642
-
48643
- function paragraph_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
48644
-
48645
-
48646
-
48647
-
48648
-
48649
- var Paragraph = /*#__PURE__*/external_react_default().forwardRef(function (props, ref) {
48650
- var _classNames;
48651
-
48652
- var type = props.type,
48653
- _props$size = props.size,
48654
- size = _props$size === void 0 ? 'lg' : _props$size,
48655
- rest = paragraph_objectWithoutProperties(props, paragraph_excluded);
48715
+ var Title = /*#__PURE__*/external_react_default().forwardRef(function (props, ref) {
48716
+ var _props$level = props.level,
48717
+ level = _props$level === void 0 ? 1 : _props$level,
48718
+ type = props.type,
48719
+ rest = title_objectWithoutProperties(props, title_excluded);
48656
48720
 
48657
- var className = node_modules_classnames_default_0()((_classNames = {}, paragraph_defineProperty(_classNames, "".concat(TYPOGRAPHY_CLASS_PREFIX, "-").concat(type), type), paragraph_defineProperty(_classNames, "".concat(TYPOGRAPHY_CLASS_PREFIX, "-").concat(size), size), _classNames)); // NOTE: Used wrapper destructuring to explicitly pass component props, which is marked as internal in antd
48721
+ var className = node_modules_classnames_default_0()(title_defineProperty({}, "".concat(TYPOGRAPHY_CLASS_PREFIX, "-").concat(type), type)); // NOTE: Used wrapper destructuring to explicitly pass component props, which is marked as internal in antd
48658
48722
 
48659
48723
  var componentProps = {
48660
- component: 'div'
48724
+ component: "h".concat(level)
48661
48725
  };
48662
- return /*#__PURE__*/external_react_default().createElement(Base/* default */.Z, paragraph_extends({}, rest, {
48726
+ return /*#__PURE__*/external_react_default().createElement(Base/* default */.Z, title_extends({}, rest, {
48663
48727
  prefixCls: TYPOGRAPHY_CLASS_PREFIX,
48664
48728
  ref: ref,
48665
48729
  className: className
48666
48730
  }, componentProps));
48667
48731
  });
48668
- Paragraph.displayName = 'Typography.Paragraph';
48732
+ Title.displayName = 'Typography.Title';
48669
48733
 
48670
48734
  ;// CONCATENATED MODULE: ./src/components/Typography/index.ts
48671
48735
 
@@ -48680,49 +48744,6 @@ var Typography = {
48680
48744
  Paragraph: Paragraph
48681
48745
  };
48682
48746
 
48683
- ;// CONCATENATED MODULE: ./src/components/_utils/hooks/useSize.ts
48684
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
48685
-
48686
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
48687
-
48688
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
48689
-
48690
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
48691
-
48692
- function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
48693
-
48694
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
48695
-
48696
-
48697
- var useSize = function useSize(ref) {
48698
- var _useState = (0,external_react_.useState)({
48699
- width: 1200,
48700
- height: 1000
48701
- }),
48702
- _useState2 = _slicedToArray(_useState, 2),
48703
- size = _useState2[0],
48704
- setSize = _useState2[1];
48705
-
48706
- (0,external_react_.useEffect)(function () {
48707
- if (!ref || !ref.current) return;
48708
- var observer = new ResizeObserver(function (entries) {
48709
- if (entries.length == 1) {
48710
- var entry = entries[0];
48711
- setSize({
48712
- width: entry.contentRect.width,
48713
- height: entry.contentRect.height
48714
- });
48715
- }
48716
- });
48717
- observer.observe(ref.current);
48718
- return function () {
48719
- return observer.disconnect();
48720
- };
48721
- }, [ref]);
48722
- return size;
48723
- };
48724
- ;// CONCATENATED MODULE: ./src/components/_utils/hooks/index.ts
48725
-
48726
48747
  ;// CONCATENATED MODULE: ./src/components/Banner/banner.tsx
48727
48748
  function banner_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
48728
48749
 
@@ -48862,7 +48883,7 @@ var SkeletonAvatar = function SkeletonAvatar(props) {
48862
48883
  shape = _props$shape === void 0 ? 'circle' : _props$shape,
48863
48884
  _props$size = props.size,
48864
48885
  size = _props$size === void 0 ? 'default' : _props$size;
48865
- var _React$useContext = external_react_.useContext(context_ConfigContext),
48886
+ var _React$useContext = external_react_.useContext(ConfigContext),
48866
48887
  getPrefixCls = _React$useContext.getPrefixCls;
48867
48888
  var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
48868
48889
  var otherProps = (0,es_omit/* default */.Z)(props, ['prefixCls', 'className']);
@@ -48893,7 +48914,7 @@ var SkeletonButton = function SkeletonButton(props) {
48893
48914
  block = _props$block === void 0 ? false : _props$block,
48894
48915
  _props$size = props.size,
48895
48916
  size = _props$size === void 0 ? 'default' : _props$size;
48896
- var _React$useContext = external_react_.useContext(context_ConfigContext),
48917
+ var _React$useContext = external_react_.useContext(ConfigContext),
48897
48918
  getPrefixCls = _React$useContext.getPrefixCls;
48898
48919
  var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
48899
48920
  var otherProps = (0,es_omit/* default */.Z)(props, ['prefixCls']);
@@ -48940,7 +48961,7 @@ var SkeletonNode = function SkeletonNode(props) {
48940
48961
  style = props.style,
48941
48962
  active = props.active,
48942
48963
  children = props.children;
48943
- var _React$useContext = external_react_.useContext(context_ConfigContext),
48964
+ var _React$useContext = external_react_.useContext(ConfigContext),
48944
48965
  getPrefixCls = _React$useContext.getPrefixCls;
48945
48966
  var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
48946
48967
  var cls = node_modules_classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-active"), active), className);
@@ -48964,7 +48985,7 @@ var SkeletonImage = function SkeletonImage(props) {
48964
48985
  className = props.className,
48965
48986
  style = props.style,
48966
48987
  active = props.active;
48967
- var _React$useContext = external_react_.useContext(context_ConfigContext),
48988
+ var _React$useContext = external_react_.useContext(ConfigContext),
48968
48989
  getPrefixCls = _React$useContext.getPrefixCls;
48969
48990
  var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
48970
48991
  var cls = node_modules_classnames_default()(prefixCls, "".concat(prefixCls, "-element"), (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-active"), active), className);
@@ -48999,7 +49020,7 @@ var SkeletonInput = function SkeletonInput(props) {
48999
49020
  block = props.block,
49000
49021
  _props$size = props.size,
49001
49022
  size = _props$size === void 0 ? 'default' : _props$size;
49002
- var _React$useContext = external_react_.useContext(context_ConfigContext),
49023
+ var _React$useContext = external_react_.useContext(ConfigContext),
49003
49024
  getPrefixCls = _React$useContext.getPrefixCls;
49004
49025
  var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
49005
49026
  var otherProps = (0,es_omit/* default */.Z)(props, ['prefixCls']);
@@ -49147,7 +49168,7 @@ var Skeleton = function Skeleton(props) {
49147
49168
  paragraph = _props$paragraph === void 0 ? true : _props$paragraph,
49148
49169
  active = props.active,
49149
49170
  round = props.round;
49150
- var _React$useContext = external_react_.useContext(context_ConfigContext),
49171
+ var _React$useContext = external_react_.useContext(ConfigContext),
49151
49172
  getPrefixCls = _React$useContext.getPrefixCls,
49152
49173
  direction = _React$useContext.direction;
49153
49174
  var prefixCls = getPrefixCls('skeleton', customizePrefixCls);
@@ -55547,7 +55568,7 @@ function tabs_Tabs(_a) {
55547
55568
  var customizePrefixCls = props.prefixCls,
55548
55569
  _props$moreIcon = props.moreIcon,
55549
55570
  moreIcon = _props$moreIcon === void 0 ? /*#__PURE__*/external_react_.createElement(icons_EllipsisOutlined, null) : _props$moreIcon;
55550
- var _React$useContext = external_react_.useContext(context_ConfigContext),
55571
+ var _React$useContext = external_react_.useContext(ConfigContext),
55551
55572
  getPrefixCls = _React$useContext.getPrefixCls,
55552
55573
  direction = _React$useContext.direction,
55553
55574
  getPopupContainer = _React$useContext.getPopupContainer;
@@ -55658,7 +55679,7 @@ function getAction(actions) {
55658
55679
  }
55659
55680
  var Card = /*#__PURE__*/external_react_.forwardRef(function (props, ref) {
55660
55681
  var _extends2, _classNames;
55661
- var _React$useContext = external_react_.useContext(context_ConfigContext),
55682
+ var _React$useContext = external_react_.useContext(ConfigContext),
55662
55683
  getPrefixCls = _React$useContext.getPrefixCls,
55663
55684
  direction = _React$useContext.direction;
55664
55685
  var size = external_react_.useContext(config_provider_SizeContext);
@@ -58423,7 +58444,7 @@ var Carousel = /*#__PURE__*/external_react_.forwardRef(function (_a, ref) {
58423
58444
  _a$vertical = _a.vertical,
58424
58445
  vertical = _a$vertical === void 0 ? dotPosition === 'left' || dotPosition === 'right' : _a$vertical,
58425
58446
  props = carousel_rest(_a, ["dots", "arrows", "draggable", "dotPosition", "vertical"]);
58426
- var _React$useContext = external_react_.useContext(context_ConfigContext),
58447
+ var _React$useContext = external_react_.useContext(ConfigContext),
58427
58448
  getPrefixCls = _React$useContext.getPrefixCls,
58428
58449
  direction = _React$useContext.direction;
58429
58450
  var slickRef = external_react_.useRef();
@@ -58771,7 +58792,7 @@ var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) {
58771
58792
  style = _a.style,
58772
58793
  onChange = _a.onChange,
58773
58794
  restProps = Group_rest(_a, ["defaultValue", "children", "options", "prefixCls", "className", "style", "onChange"]);
58774
- var _React$useContext = external_react_.useContext(context_ConfigContext),
58795
+ var _React$useContext = external_react_.useContext(ConfigContext),
58775
58796
  getPrefixCls = _React$useContext.getPrefixCls,
58776
58797
  direction = _React$useContext.direction;
58777
58798
  var _React$useState = external_react_.useState(restProps.value || defaultValue || []),
@@ -58910,7 +58931,7 @@ var InternalCheckbox = function InternalCheckbox(_a, ref) {
58910
58931
  skipGroup = _a$skipGroup === void 0 ? false : _a$skipGroup,
58911
58932
  disabled = _a.disabled,
58912
58933
  restProps = Checkbox_rest(_a, ["prefixCls", "className", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]);
58913
- var _React$useContext = external_react_.useContext(context_ConfigContext),
58934
+ var _React$useContext = external_react_.useContext(ConfigContext),
58914
58935
  getPrefixCls = _React$useContext.getPrefixCls,
58915
58936
  direction = _React$useContext.direction;
58916
58937
  var checkboxGroup = external_react_.useContext(GroupContext);
@@ -59279,7 +59300,7 @@ var useLocaleReceiver = function useLocaleReceiver(componentName, defaultLocale)
59279
59300
 
59280
59301
 
59281
59302
  var Empty = function Empty() {
59282
- var _React$useContext = external_react_.useContext(context_ConfigContext),
59303
+ var _React$useContext = external_react_.useContext(ConfigContext),
59283
59304
  getPrefixCls = _React$useContext.getPrefixCls;
59284
59305
  var prefixCls = getPrefixCls('empty-img-default');
59285
59306
  return /*#__PURE__*/external_react_.createElement("svg", {
@@ -59332,7 +59353,7 @@ var Empty = function Empty() {
59332
59353
 
59333
59354
 
59334
59355
  var Simple = function Simple() {
59335
- var _React$useContext = external_react_.useContext(context_ConfigContext),
59356
+ var _React$useContext = external_react_.useContext(ConfigContext),
59336
59357
  getPrefixCls = _React$useContext.getPrefixCls;
59337
59358
  var prefixCls = getPrefixCls('empty-img-simple');
59338
59359
  return /*#__PURE__*/external_react_.createElement("svg", {
@@ -59392,7 +59413,7 @@ var empty_Empty = function Empty(_a) {
59392
59413
  children = _a.children,
59393
59414
  imageStyle = _a.imageStyle,
59394
59415
  restProps = empty_rest(_a, ["className", "prefixCls", "image", "description", "children", "imageStyle"]);
59395
- var _React$useContext = external_react_.useContext(context_ConfigContext),
59416
+ var _React$useContext = external_react_.useContext(ConfigContext),
59396
59417
  getPrefixCls = _React$useContext.getPrefixCls,
59397
59418
  direction = _React$useContext.direction;
59398
59419
  return /*#__PURE__*/external_react_.createElement(locale_provider_LocaleReceiver, {
@@ -59628,7 +59649,7 @@ var Row = /*#__PURE__*/external_react_.forwardRef(function (props, ref) {
59628
59649
  gutter = _props$gutter === void 0 ? 0 : _props$gutter,
59629
59650
  wrap = props.wrap,
59630
59651
  others = row_rest(props, ["prefixCls", "justify", "align", "className", "style", "children", "gutter", "wrap"]);
59631
- var _React$useContext = external_react_.useContext(context_ConfigContext),
59652
+ var _React$useContext = external_react_.useContext(ConfigContext),
59632
59653
  getPrefixCls = _React$useContext.getPrefixCls,
59633
59654
  direction = _React$useContext.direction;
59634
59655
  var _React$useState3 = external_react_.useState({
@@ -65183,7 +65204,7 @@ var InternalSelect = function InternalSelect(_a, ref) {
65183
65204
  customStatus = _a.status,
65184
65205
  showArrow = _a.showArrow,
65185
65206
  props = select_rest(_a, ["prefixCls", "bordered", "className", "getPopupContainer", "dropdownClassName", "popupClassName", "listHeight", "placement", "listItemHeight", "size", "disabled", "notFoundContent", "status", "showArrow"]);
65186
- var _React$useContext = external_react_.useContext(context_ConfigContext),
65207
+ var _React$useContext = external_react_.useContext(ConfigContext),
65187
65208
  getContextPopupContainer = _React$useContext.getPopupContainer,
65188
65209
  getPrefixCls = _React$useContext.getPrefixCls,
65189
65210
  renderEmpty = _React$useContext.renderEmpty,
@@ -65335,7 +65356,7 @@ var Pagination_Pagination = function Pagination(_a) {
65335
65356
  restProps = Pagination_rest(_a, ["prefixCls", "selectPrefixCls", "className", "size", "locale", "selectComponentClass", "responsive", "showSizeChanger"]);
65336
65357
  var _useBreakpoint = hooks_useBreakpoint(responsive),
65337
65358
  xs = _useBreakpoint.xs;
65338
- var _React$useContext = external_react_.useContext(context_ConfigContext),
65359
+ var _React$useContext = external_react_.useContext(ConfigContext),
65339
65360
  getPrefixCls = _React$useContext.getPrefixCls,
65340
65361
  direction = _React$useContext.direction,
65341
65362
  _React$useContext$pag = _React$useContext.pagination,
@@ -65528,7 +65549,7 @@ var Spin = function Spin(props) {
65528
65549
  };
65529
65550
  var SpinFC = function SpinFC(props) {
65530
65551
  var customizePrefixCls = props.prefixCls;
65531
- var _React$useContext = external_react_.useContext(context_ConfigContext),
65552
+ var _React$useContext = external_react_.useContext(ConfigContext),
65532
65553
  getPrefixCls = _React$useContext.getPrefixCls;
65533
65554
  var spinPrefixCls = getPrefixCls('spin', customizePrefixCls);
65534
65555
  var spinClassProps = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, props), {
@@ -65571,7 +65592,7 @@ function parseFlex(flex) {
65571
65592
  var sizes = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'];
65572
65593
  var Col = /*#__PURE__*/external_react_.forwardRef(function (props, ref) {
65573
65594
  var _classNames;
65574
- var _React$useContext = external_react_.useContext(context_ConfigContext),
65595
+ var _React$useContext = external_react_.useContext(ConfigContext),
65575
65596
  getPrefixCls = _React$useContext.getPrefixCls,
65576
65597
  direction = _React$useContext.direction;
65577
65598
  var _React$useContext2 = external_react_.useContext(grid_RowContext),
@@ -65659,7 +65680,7 @@ var Item_Meta = function Meta(_a) {
65659
65680
  title = _a.title,
65660
65681
  description = _a.description,
65661
65682
  others = Item_rest(_a, ["prefixCls", "className", "avatar", "title", "description"]);
65662
- var _useContext = (0,external_react_.useContext)(context_ConfigContext),
65683
+ var _useContext = (0,external_react_.useContext)(ConfigContext),
65663
65684
  getPrefixCls = _useContext.getPrefixCls;
65664
65685
  var prefixCls = getPrefixCls('list', customizePrefixCls);
65665
65686
  var classString = node_modules_classnames_default()("".concat(prefixCls, "-item-meta"), className);
@@ -65687,7 +65708,7 @@ var Item_InternalItem = function InternalItem(_a, ref) {
65687
65708
  var _useContext2 = (0,external_react_.useContext)(ListContext),
65688
65709
  grid = _useContext2.grid,
65689
65710
  itemLayout = _useContext2.itemLayout;
65690
- var _useContext3 = (0,external_react_.useContext)(context_ConfigContext),
65711
+ var _useContext3 = (0,external_react_.useContext)(ConfigContext),
65691
65712
  getPrefixCls = _useContext3.getPrefixCls;
65692
65713
  var isItemContainsTextNodeAndNotSingular = function isItemContainsTextNodeAndNotSingular() {
65693
65714
  var result;
@@ -65804,7 +65825,7 @@ function list_List(_a) {
65804
65825
  _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2),
65805
65826
  paginationSize = _React$useState4[0],
65806
65827
  setPaginationSize = _React$useState4[1];
65807
- var _React$useContext = external_react_.useContext(context_ConfigContext),
65828
+ var _React$useContext = external_react_.useContext(ConfigContext),
65808
65829
  getPrefixCls = _React$useContext.getPrefixCls,
65809
65830
  renderEmpty = _React$useContext.renderEmpty,
65810
65831
  direction = _React$useContext.direction;
@@ -66036,15 +66057,15 @@ List_list_List.displayName = 'List';
66036
66057
 
66037
66058
 
66038
66059
 
66060
+ // EXTERNAL MODULE: ../../node_modules/lodash/omit.js
66061
+ var lodash_omit = __webpack_require__(17620);
66062
+ var omit_default = /*#__PURE__*/__webpack_require__.n(lodash_omit);
66039
66063
  // EXTERNAL MODULE: ./node_modules/react-markdown/src/react-markdown.js
66040
66064
  var react_markdown = __webpack_require__(38456);
66041
66065
  var react_markdown_default = /*#__PURE__*/__webpack_require__.n(react_markdown);
66042
66066
  // EXTERNAL MODULE: ../../node_modules/remark-gfm/index.js
66043
66067
  var remark_gfm = __webpack_require__(40940);
66044
66068
  var remark_gfm_default = /*#__PURE__*/__webpack_require__.n(remark_gfm);
66045
- // EXTERNAL MODULE: ../../node_modules/lodash/omit.js
66046
- var lodash_omit = __webpack_require__(17620);
66047
- var omit_default = /*#__PURE__*/__webpack_require__.n(lodash_omit);
66048
66069
  ;// CONCATENATED MODULE: ./src/components/Markdown/markdown.tsx
66049
66070
  var markdown_excluded = ["children"];
66050
66071
 
@@ -67069,7 +67090,7 @@ var ProviderChildren = function ProviderChildren(props) {
67069
67090
  disabled: componentDisabled
67070
67091
  }, childNode);
67071
67092
  }
67072
- return /*#__PURE__*/external_react_.createElement(context_ConfigContext.Provider, {
67093
+ return /*#__PURE__*/external_react_.createElement(ConfigContext.Provider, {
67073
67094
  value: memoedConfig
67074
67095
  }, childNode);
67075
67096
  };
@@ -67094,7 +67115,7 @@ var ConfigProvider = function ConfigProvider(props) {
67094
67115
  });
67095
67116
  };
67096
67117
  /** @private internal Usage. do not use in your production */
67097
- ConfigProvider.ConfigContext = context_ConfigContext;
67118
+ ConfigProvider.ConfigContext = ConfigContext;
67098
67119
  ConfigProvider.SizeContext = config_provider_SizeContext;
67099
67120
  ConfigProvider.config = setGlobalConfig;
67100
67121
  /* harmony default export */ var config_provider = (ConfigProvider);
@@ -68365,7 +68386,7 @@ if (canUseDocElement()) {
68365
68386
  var Modal = function Modal(props) {
68366
68387
  var _classNames;
68367
68388
  var _a;
68368
- var _React$useContext = external_react_.useContext(context_ConfigContext),
68389
+ var _React$useContext = external_react_.useContext(ConfigContext),
68369
68390
  getContextPopupContainer = _React$useContext.getPopupContainer,
68370
68391
  getPrefixCls = _React$useContext.getPrefixCls,
68371
68392
  direction = _React$useContext.direction;
@@ -68761,7 +68782,7 @@ var HookModal = function HookModal(_ref, ref) {
68761
68782
  _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2),
68762
68783
  innerConfig = _React$useState4[0],
68763
68784
  setInnerConfig = _React$useState4[1];
68764
- var _React$useContext = external_react_.useContext(context_ConfigContext),
68785
+ var _React$useContext = external_react_.useContext(ConfigContext),
68765
68786
  direction = _React$useContext.direction,
68766
68787
  getPrefixCls = _React$useContext.getPrefixCls;
68767
68788
  var prefixCls = getPrefixCls('modal');
@@ -69089,7 +69110,7 @@ var CheckableTag = function CheckableTag(_a) {
69089
69110
  onChange = _a.onChange,
69090
69111
  onClick = _a.onClick,
69091
69112
  restProps = CheckableTag_rest(_a, ["prefixCls", "className", "checked", "onChange", "onClick"]);
69092
- var _React$useContext = external_react_.useContext(context_ConfigContext),
69113
+ var _React$useContext = external_react_.useContext(ConfigContext),
69093
69114
  getPrefixCls = _React$useContext.getPrefixCls;
69094
69115
  var handleClick = function handleClick(e) {
69095
69116
  onChange === null || onChange === void 0 ? void 0 : onChange(!checked);
@@ -69141,7 +69162,7 @@ var InternalTag = function InternalTag(_a, ref) {
69141
69162
  _a$closable = _a.closable,
69142
69163
  closable = _a$closable === void 0 ? false : _a$closable,
69143
69164
  props = tag_rest(_a, ["prefixCls", "className", "style", "children", "icon", "color", "onClose", "closeIcon", "closable"]);
69144
- var _React$useContext = external_react_.useContext(context_ConfigContext),
69165
+ var _React$useContext = external_react_.useContext(ConfigContext),
69145
69166
  getPrefixCls = _React$useContext.getPrefixCls,
69146
69167
  direction = _React$useContext.direction;
69147
69168
  var _React$useState = external_react_.useState(true),
@@ -69233,6 +69254,549 @@ tag_Tag.displayName = 'Tag';
69233
69254
 
69234
69255
 
69235
69256
 
69257
+ ;// CONCATENATED MODULE: ./node_modules/antd/es/radio/context.js
69258
+
69259
+ var RadioGroupContext = /*#__PURE__*/external_react_.createContext(null);
69260
+ var RadioGroupContextProvider = RadioGroupContext.Provider;
69261
+ /* harmony default export */ var radio_context = (RadioGroupContext);
69262
+ var RadioOptionTypeContext = /*#__PURE__*/external_react_.createContext(null);
69263
+ var RadioOptionTypeContextProvider = RadioOptionTypeContext.Provider;
69264
+ ;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radio.js
69265
+
69266
+
69267
+ var radio_rest = undefined && undefined.__rest || function (s, e) {
69268
+ var t = {};
69269
+ for (var p in s) {
69270
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
69271
+ }
69272
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
69273
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
69274
+ }
69275
+ return t;
69276
+ };
69277
+
69278
+
69279
+
69280
+
69281
+
69282
+
69283
+
69284
+
69285
+
69286
+
69287
+ var InternalRadio = function InternalRadio(props, ref) {
69288
+ var _classNames;
69289
+ var groupContext = external_react_.useContext(radio_context);
69290
+ var radioOptionTypeContext = external_react_.useContext(RadioOptionTypeContext);
69291
+ var _React$useContext = external_react_.useContext(ConfigContext),
69292
+ getPrefixCls = _React$useContext.getPrefixCls,
69293
+ direction = _React$useContext.direction;
69294
+ var innerRef = external_react_.useRef();
69295
+ var mergedRef = (0,es_ref/* composeRef */.sQ)(ref, innerRef);
69296
+ var _useContext = (0,external_react_.useContext)(FormItemInputContext),
69297
+ isFormItemInput = _useContext.isFormItemInput;
69298
+ false ? 0 : void 0;
69299
+ var onChange = function onChange(e) {
69300
+ var _a, _b;
69301
+ (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, e);
69302
+ (_b = groupContext === null || groupContext === void 0 ? void 0 : groupContext.onChange) === null || _b === void 0 ? void 0 : _b.call(groupContext, e);
69303
+ };
69304
+ var customizePrefixCls = props.prefixCls,
69305
+ className = props.className,
69306
+ children = props.children,
69307
+ style = props.style,
69308
+ customDisabled = props.disabled,
69309
+ restProps = radio_rest(props, ["prefixCls", "className", "children", "style", "disabled"]);
69310
+ var radioPrefixCls = getPrefixCls('radio', customizePrefixCls);
69311
+ var prefixCls = ((groupContext === null || groupContext === void 0 ? void 0 : groupContext.optionType) || radioOptionTypeContext) === 'button' ? "".concat(radioPrefixCls, "-button") : radioPrefixCls;
69312
+ var radioProps = (0,esm_extends/* default */.Z)({}, restProps);
69313
+ // ===================== Disabled =====================
69314
+ var disabled = external_react_.useContext(config_provider_DisabledContext);
69315
+ radioProps.disabled = customDisabled || disabled;
69316
+ if (groupContext) {
69317
+ radioProps.name = groupContext.name;
69318
+ radioProps.onChange = onChange;
69319
+ radioProps.checked = props.value === groupContext.value;
69320
+ radioProps.disabled = radioProps.disabled || groupContext.disabled;
69321
+ }
69322
+ var wrapperClassString = node_modules_classnames_default()("".concat(prefixCls, "-wrapper"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-checked"), radioProps.checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-disabled"), radioProps.disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className);
69323
+ return (
69324
+ /*#__PURE__*/
69325
+ // eslint-disable-next-line jsx-a11y/label-has-associated-control
69326
+ external_react_.createElement("label", {
69327
+ className: wrapperClassString,
69328
+ style: style,
69329
+ onMouseEnter: props.onMouseEnter,
69330
+ onMouseLeave: props.onMouseLeave
69331
+ }, /*#__PURE__*/external_react_.createElement(rc_checkbox_es, (0,esm_extends/* default */.Z)({}, radioProps, {
69332
+ type: "radio",
69333
+ prefixCls: prefixCls,
69334
+ ref: mergedRef
69335
+ })), children !== undefined ? /*#__PURE__*/external_react_.createElement("span", null, children) : null)
69336
+ );
69337
+ };
69338
+ var Radio = /*#__PURE__*/external_react_.forwardRef(InternalRadio);
69339
+ if (false) {}
69340
+ /* harmony default export */ var radio_radio = (Radio);
69341
+ ;// CONCATENATED MODULE: ./node_modules/antd/es/radio/group.js
69342
+
69343
+
69344
+
69345
+
69346
+
69347
+
69348
+
69349
+
69350
+
69351
+
69352
+
69353
+ var RadioGroup = /*#__PURE__*/external_react_.forwardRef(function (props, ref) {
69354
+ var _classNames;
69355
+ var _React$useContext = external_react_.useContext(ConfigContext),
69356
+ getPrefixCls = _React$useContext.getPrefixCls,
69357
+ direction = _React$useContext.direction;
69358
+ var size = external_react_.useContext(config_provider_SizeContext);
69359
+ var _useMergedState = (0,hooks_useMergedState/* default */.Z)(props.defaultValue, {
69360
+ value: props.value
69361
+ }),
69362
+ _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2),
69363
+ value = _useMergedState2[0],
69364
+ setValue = _useMergedState2[1];
69365
+ var onRadioChange = function onRadioChange(ev) {
69366
+ var lastValue = value;
69367
+ var val = ev.target.value;
69368
+ if (!('value' in props)) {
69369
+ setValue(val);
69370
+ }
69371
+ var onChange = props.onChange;
69372
+ if (onChange && val !== lastValue) {
69373
+ onChange(ev);
69374
+ }
69375
+ };
69376
+ var customizePrefixCls = props.prefixCls,
69377
+ _props$className = props.className,
69378
+ className = _props$className === void 0 ? '' : _props$className,
69379
+ options = props.options,
69380
+ _props$buttonStyle = props.buttonStyle,
69381
+ buttonStyle = _props$buttonStyle === void 0 ? 'outline' : _props$buttonStyle,
69382
+ disabled = props.disabled,
69383
+ children = props.children,
69384
+ customizeSize = props.size,
69385
+ style = props.style,
69386
+ id = props.id,
69387
+ onMouseEnter = props.onMouseEnter,
69388
+ onMouseLeave = props.onMouseLeave,
69389
+ onFocus = props.onFocus,
69390
+ onBlur = props.onBlur;
69391
+ var prefixCls = getPrefixCls('radio', customizePrefixCls);
69392
+ var groupPrefixCls = "".concat(prefixCls, "-group");
69393
+ var childrenToRender = children;
69394
+ // 如果存在 options, 优先使用
69395
+ if (options && options.length > 0) {
69396
+ childrenToRender = options.map(function (option) {
69397
+ if (typeof option === 'string' || typeof option === 'number') {
69398
+ // 此处类型自动推导为 string
69399
+ return /*#__PURE__*/external_react_.createElement(radio_radio, {
69400
+ key: option.toString(),
69401
+ prefixCls: prefixCls,
69402
+ disabled: disabled,
69403
+ value: option,
69404
+ checked: value === option
69405
+ }, option);
69406
+ }
69407
+ // 此处类型自动推导为 { label: string value: string }
69408
+ return /*#__PURE__*/external_react_.createElement(radio_radio, {
69409
+ key: "radio-group-value-options-".concat(option.value),
69410
+ prefixCls: prefixCls,
69411
+ disabled: option.disabled || disabled,
69412
+ value: option.value,
69413
+ checked: value === option.value,
69414
+ style: option.style
69415
+ }, option.label);
69416
+ });
69417
+ }
69418
+ var mergedSize = customizeSize || size;
69419
+ var classString = node_modules_classnames_default()(groupPrefixCls, "".concat(groupPrefixCls, "-").concat(buttonStyle), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-").concat(mergedSize), mergedSize), (0,defineProperty/* default */.Z)(_classNames, "".concat(groupPrefixCls, "-rtl"), direction === 'rtl'), _classNames), className);
69420
+ return /*#__PURE__*/external_react_.createElement("div", (0,esm_extends/* default */.Z)({}, getDataOrAriaProps(props), {
69421
+ className: classString,
69422
+ style: style,
69423
+ onMouseEnter: onMouseEnter,
69424
+ onMouseLeave: onMouseLeave,
69425
+ onFocus: onFocus,
69426
+ onBlur: onBlur,
69427
+ id: id,
69428
+ ref: ref
69429
+ }), /*#__PURE__*/external_react_.createElement(RadioGroupContextProvider, {
69430
+ value: {
69431
+ onChange: onRadioChange,
69432
+ value: value,
69433
+ disabled: props.disabled,
69434
+ name: props.name,
69435
+ optionType: props.optionType
69436
+ }
69437
+ }, childrenToRender));
69438
+ });
69439
+ /* harmony default export */ var group = (/*#__PURE__*/external_react_.memo(RadioGroup));
69440
+ ;// CONCATENATED MODULE: ./node_modules/antd/es/radio/radioButton.js
69441
+
69442
+ var radioButton_rest = undefined && undefined.__rest || function (s, e) {
69443
+ var t = {};
69444
+ for (var p in s) {
69445
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
69446
+ }
69447
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
69448
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
69449
+ }
69450
+ return t;
69451
+ };
69452
+
69453
+
69454
+
69455
+
69456
+ var RadioButton = function RadioButton(props, ref) {
69457
+ var _React$useContext = external_react_.useContext(ConfigContext),
69458
+ getPrefixCls = _React$useContext.getPrefixCls;
69459
+ var customizePrefixCls = props.prefixCls,
69460
+ radioProps = radioButton_rest(props, ["prefixCls"]);
69461
+ var prefixCls = getPrefixCls('radio', customizePrefixCls);
69462
+ return /*#__PURE__*/external_react_.createElement(RadioOptionTypeContextProvider, {
69463
+ value: "button"
69464
+ }, /*#__PURE__*/external_react_.createElement(radio_radio, (0,esm_extends/* default */.Z)({
69465
+ prefixCls: prefixCls
69466
+ }, radioProps, {
69467
+ type: "radio",
69468
+ ref: ref
69469
+ })));
69470
+ };
69471
+ /* harmony default export */ var radioButton = (/*#__PURE__*/external_react_.forwardRef(RadioButton));
69472
+ ;// CONCATENATED MODULE: ./node_modules/antd/es/radio/index.js
69473
+
69474
+
69475
+
69476
+
69477
+ var radio_Radio = radio_radio;
69478
+ radio_Radio.Button = radioButton;
69479
+ radio_Radio.Group = group;
69480
+ radio_Radio.__ANT_RADIO = true;
69481
+ /* harmony default export */ var es_radio = (radio_Radio);
69482
+ ;// CONCATENATED MODULE: ./src/components/Radio/radio.tsx
69483
+ var radio_excluded = ["label", "labelProps", "disabled", "onChange", "children"];
69484
+
69485
+ function radio_extends() { radio_extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return radio_extends.apply(this, arguments); }
69486
+
69487
+ function radio_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = radio_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
69488
+
69489
+ function radio_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
69490
+
69491
+
69492
+
69493
+
69494
+
69495
+ var RADIO_CLASS_PREFIX = 'condo-radio';
69496
+
69497
+ var Radio_radio_Radio = function Radio(props) {
69498
+ var label = props.label,
69499
+ labelProps = props.labelProps,
69500
+ disabled = props.disabled,
69501
+ onChange = props.onChange,
69502
+ children = props.children,
69503
+ rest = radio_objectWithoutProperties(props, radio_excluded);
69504
+
69505
+ var handleChange = (0,external_react_.useCallback)(function (event) {
69506
+ var stringContent = label ? label : extractChildrenContent(children);
69507
+
69508
+ if (stringContent) {
69509
+ sendAnalyticsCheckEvent('Radio', {
69510
+ value: stringContent
69511
+ });
69512
+ }
69513
+
69514
+ if (onChange) {
69515
+ onChange(event);
69516
+ }
69517
+ }, [onChange, children, label]);
69518
+ return /*#__PURE__*/external_react_default().createElement(es_radio, radio_extends({}, rest, {
69519
+ prefixCls: RADIO_CLASS_PREFIX,
69520
+ disabled: disabled,
69521
+ onChange: handleChange
69522
+ }), label ? /*#__PURE__*/external_react_default().createElement(Typography.Text, radio_extends({
69523
+ size: "medium",
69524
+ disabled: disabled
69525
+ }, labelProps), label) : children);
69526
+ };
69527
+
69528
+
69529
+ ;// CONCATENATED MODULE: ./src/components/Radio/radiogroup.tsx
69530
+ var radiogroup_excluded = ["groups", "icon"];
69531
+
69532
+ function radiogroup_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = radiogroup_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
69533
+
69534
+ function radiogroup_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
69535
+
69536
+ function radiogroup_extends() { radiogroup_extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return radiogroup_extends.apply(this, arguments); }
69537
+
69538
+ function radiogroup_slicedToArray(arr, i) { return radiogroup_arrayWithHoles(arr) || radiogroup_iterableToArrayLimit(arr, i) || radiogroup_unsupportedIterableToArray(arr, i) || radiogroup_nonIterableRest(); }
69539
+
69540
+ function radiogroup_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
69541
+
69542
+ function radiogroup_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return radiogroup_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return radiogroup_arrayLikeToArray(o, minLen); }
69543
+
69544
+ function radiogroup_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
69545
+
69546
+ function radiogroup_iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
69547
+
69548
+ function radiogroup_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
69549
+
69550
+
69551
+
69552
+
69553
+
69554
+ var RADIO_GROUP_CLASS_PREFIX = 'condo-radio';
69555
+
69556
+ var GroupWithIcon = function GroupWithIcon(_ref) {
69557
+ var name = _ref.name,
69558
+ options = _ref.options,
69559
+ icon = _ref.icon;
69560
+
69561
+ var _useState = (0,external_react_.useState)(false),
69562
+ _useState2 = radiogroup_slicedToArray(_useState, 2),
69563
+ open = _useState2[0],
69564
+ setOpen = _useState2[1];
69565
+
69566
+ var onGroupClick = (0,external_react_.useCallback)(function () {
69567
+ setOpen(!open);
69568
+ }, [open]);
69569
+ var rootClassName = node_modules_classnames_default_0()("".concat(RADIO_GROUP_CLASS_PREFIX, "-group-container"), {
69570
+ open: open
69571
+ });
69572
+ return /*#__PURE__*/external_react_default().createElement("div", {
69573
+ key: name,
69574
+ className: rootClassName
69575
+ }, /*#__PURE__*/external_react_default().createElement("div", {
69576
+ className: "".concat(RADIO_GROUP_CLASS_PREFIX, "-group-title"),
69577
+ onClick: onGroupClick
69578
+ }, /*#__PURE__*/external_react_default().createElement("span", {
69579
+ className: "".concat(RADIO_GROUP_CLASS_PREFIX, "-group-icon")
69580
+ }, icon), /*#__PURE__*/external_react_default().createElement(Typography.Text, null, name)), /*#__PURE__*/external_react_default().createElement(space_Space, {
69581
+ direction: "vertical",
69582
+ size: 12
69583
+ }, options.map(function (_ref2) {
69584
+ var value = _ref2.value,
69585
+ label = _ref2.label,
69586
+ radioProps = _ref2.radioProps;
69587
+ return /*#__PURE__*/external_react_default().createElement(Radio_radio_Radio, radiogroup_extends({
69588
+ key: value,
69589
+ label: label,
69590
+ value: value
69591
+ }, radioProps));
69592
+ })));
69593
+ };
69594
+
69595
+ var radiogroup_RadioGroup = function RadioGroup(props) {
69596
+ var groups = props.groups,
69597
+ icon = props.icon,
69598
+ rest = radiogroup_objectWithoutProperties(props, radiogroup_excluded);
69599
+
69600
+ return /*#__PURE__*/external_react_default().createElement(es_radio.Group, radiogroup_extends({}, rest, {
69601
+ prefixCls: RADIO_GROUP_CLASS_PREFIX
69602
+ }), groups.map(function (group) {
69603
+ return /*#__PURE__*/external_react_default().createElement(GroupWithIcon, {
69604
+ name: group.name,
69605
+ options: group.options,
69606
+ key: group.name,
69607
+ icon: icon
69608
+ });
69609
+ }));
69610
+ };
69611
+
69612
+
69613
+ ;// CONCATENATED MODULE: ./src/components/Radio/index.ts
69614
+
69615
+
69616
+
69617
+
69618
+ ;// CONCATENATED MODULE: ./node_modules/antd/es/space/Item.js
69619
+
69620
+
69621
+
69622
+
69623
+ function space_Item_Item(_ref) {
69624
+ var className = _ref.className,
69625
+ direction = _ref.direction,
69626
+ index = _ref.index,
69627
+ marginDirection = _ref.marginDirection,
69628
+ children = _ref.children,
69629
+ split = _ref.split,
69630
+ wrap = _ref.wrap;
69631
+ var _React$useContext = external_react_.useContext(SpaceContext),
69632
+ horizontalSize = _React$useContext.horizontalSize,
69633
+ verticalSize = _React$useContext.verticalSize,
69634
+ latestIndex = _React$useContext.latestIndex,
69635
+ supportFlexGap = _React$useContext.supportFlexGap;
69636
+ var style = {};
69637
+ if (!supportFlexGap) {
69638
+ if (direction === 'vertical') {
69639
+ if (index < latestIndex) {
69640
+ style = {
69641
+ marginBottom: horizontalSize / (split ? 2 : 1)
69642
+ };
69643
+ }
69644
+ } else {
69645
+ style = (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, index < latestIndex && (0,defineProperty/* default */.Z)({}, marginDirection, horizontalSize / (split ? 2 : 1))), wrap && {
69646
+ paddingBottom: verticalSize
69647
+ });
69648
+ }
69649
+ }
69650
+ if (children === null || children === undefined) {
69651
+ return null;
69652
+ }
69653
+ return /*#__PURE__*/external_react_.createElement(external_react_.Fragment, null, /*#__PURE__*/external_react_.createElement("div", {
69654
+ className: className,
69655
+ style: style
69656
+ }, children), index < latestIndex && split && /*#__PURE__*/external_react_.createElement("span", {
69657
+ className: "".concat(className, "-split"),
69658
+ style: style
69659
+ }, split));
69660
+ }
69661
+ ;// CONCATENATED MODULE: ./node_modules/antd/es/space/index.js
69662
+
69663
+
69664
+
69665
+ var space_rest = undefined && undefined.__rest || function (s, e) {
69666
+ var t = {};
69667
+ for (var p in s) {
69668
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
69669
+ }
69670
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
69671
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
69672
+ }
69673
+ return t;
69674
+ };
69675
+
69676
+
69677
+
69678
+
69679
+
69680
+
69681
+
69682
+ var SpaceContext = /*#__PURE__*/external_react_.createContext({
69683
+ latestIndex: 0,
69684
+ horizontalSize: 0,
69685
+ verticalSize: 0,
69686
+ supportFlexGap: false
69687
+ });
69688
+ var spaceSize = {
69689
+ small: 8,
69690
+ middle: 16,
69691
+ large: 24
69692
+ };
69693
+ function getNumberSize(size) {
69694
+ return typeof size === 'string' ? spaceSize[size] : size || 0;
69695
+ }
69696
+ var Space = function Space(props) {
69697
+ var _classNames;
69698
+ var _React$useContext = external_react_.useContext(ConfigContext),
69699
+ getPrefixCls = _React$useContext.getPrefixCls,
69700
+ space = _React$useContext.space,
69701
+ directionConfig = _React$useContext.direction;
69702
+ var _props$size = props.size,
69703
+ size = _props$size === void 0 ? (space === null || space === void 0 ? void 0 : space.size) || 'small' : _props$size,
69704
+ align = props.align,
69705
+ className = props.className,
69706
+ children = props.children,
69707
+ _props$direction = props.direction,
69708
+ direction = _props$direction === void 0 ? 'horizontal' : _props$direction,
69709
+ customizePrefixCls = props.prefixCls,
69710
+ split = props.split,
69711
+ style = props.style,
69712
+ _props$wrap = props.wrap,
69713
+ wrap = _props$wrap === void 0 ? false : _props$wrap,
69714
+ otherProps = space_rest(props, ["size", "align", "className", "children", "direction", "prefixCls", "split", "style", "wrap"]);
69715
+ var supportFlexGap = useFlexGapSupport();
69716
+ var _React$useMemo = external_react_.useMemo(function () {
69717
+ return (Array.isArray(size) ? size : [size, size]).map(function (item) {
69718
+ return getNumberSize(item);
69719
+ });
69720
+ }, [size]),
69721
+ _React$useMemo2 = (0,slicedToArray/* default */.Z)(_React$useMemo, 2),
69722
+ horizontalSize = _React$useMemo2[0],
69723
+ verticalSize = _React$useMemo2[1];
69724
+ var childNodes = (0,Children_toArray/* default */.Z)(children, {
69725
+ keepEmpty: true
69726
+ });
69727
+ var mergedAlign = align === undefined && direction === 'horizontal' ? 'center' : align;
69728
+ var prefixCls = getPrefixCls('space', customizePrefixCls);
69729
+ var cn = node_modules_classnames_default()(prefixCls, "".concat(prefixCls, "-").concat(direction), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), directionConfig === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-align-").concat(mergedAlign), mergedAlign), _classNames), className);
69730
+ var itemClassName = "".concat(prefixCls, "-item");
69731
+ var marginDirection = directionConfig === 'rtl' ? 'marginLeft' : 'marginRight';
69732
+ // Calculate latest one
69733
+ var latestIndex = 0;
69734
+ var nodes = childNodes.map(function (child, i) {
69735
+ if (child !== null && child !== undefined) {
69736
+ latestIndex = i;
69737
+ }
69738
+ var key = child && child.key || "".concat(itemClassName, "-").concat(i);
69739
+ return /*#__PURE__*/external_react_.createElement(space_Item_Item, {
69740
+ className: itemClassName,
69741
+ key: key,
69742
+ direction: direction,
69743
+ index: i,
69744
+ marginDirection: marginDirection,
69745
+ split: split,
69746
+ wrap: wrap
69747
+ }, child);
69748
+ });
69749
+ var spaceContext = external_react_.useMemo(function () {
69750
+ return {
69751
+ horizontalSize: horizontalSize,
69752
+ verticalSize: verticalSize,
69753
+ latestIndex: latestIndex,
69754
+ supportFlexGap: supportFlexGap
69755
+ };
69756
+ }, [horizontalSize, verticalSize, latestIndex, supportFlexGap]);
69757
+ // =========================== Render ===========================
69758
+ if (childNodes.length === 0) {
69759
+ return null;
69760
+ }
69761
+ var gapStyle = {};
69762
+ if (wrap) {
69763
+ gapStyle.flexWrap = 'wrap';
69764
+ // Patch for gap not support
69765
+ if (!supportFlexGap) {
69766
+ gapStyle.marginBottom = -verticalSize;
69767
+ }
69768
+ }
69769
+ if (supportFlexGap) {
69770
+ gapStyle.columnGap = horizontalSize;
69771
+ gapStyle.rowGap = verticalSize;
69772
+ }
69773
+ return /*#__PURE__*/external_react_.createElement("div", (0,esm_extends/* default */.Z)({
69774
+ className: cn,
69775
+ style: (0,esm_extends/* default */.Z)((0,esm_extends/* default */.Z)({}, gapStyle), style)
69776
+ }, otherProps), /*#__PURE__*/external_react_.createElement(SpaceContext.Provider, {
69777
+ value: spaceContext
69778
+ }, nodes));
69779
+ };
69780
+ var CompoundedSpace = Space;
69781
+ CompoundedSpace.Compact = space_Compact;
69782
+ /* harmony default export */ var space = (CompoundedSpace);
69783
+ ;// CONCATENATED MODULE: ./src/components/Space/space.tsx
69784
+ function space_extends() { space_extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return space_extends.apply(this, arguments); }
69785
+
69786
+
69787
+
69788
+ var SPACE_CLASS_PREFIX = 'condo-space';
69789
+
69790
+ var space_Space = function Space(props) {
69791
+ return /*#__PURE__*/external_react_default().createElement(space, space_extends({
69792
+ prefixCls: SPACE_CLASS_PREFIX
69793
+ }, props));
69794
+ };
69795
+
69796
+
69797
+ ;// CONCATENATED MODULE: ./src/components/Space/index.ts
69798
+
69799
+
69236
69800
  ;// CONCATENATED MODULE: ./src/index.ts
69237
69801
 
69238
69802
 
@@ -69246,6 +69810,8 @@ tag_Tag.displayName = 'Tag';
69246
69810
 
69247
69811
 
69248
69812
 
69813
+
69814
+
69249
69815
  }();
69250
69816
  /******/ return __webpack_exports__;
69251
69817
  /******/ })()