Bläddra i källkod

dev&build: 调整打包逻辑,删除弃用富文本编辑器

Roxas 4 år sedan
förälder
incheckning
1aca82bce5
100 ändrade filer med 36127 tillägg och 57086 borttagningar
  1. 7
    1
      .babelrc
  2. 2
    2
      eslib/AllocWantedModal/index.js
  3. 1
    1
      eslib/AllocWantedModal/index.js.map
  4. 17718
    44
      eslib/BraftEditor/index.js
  5. 1
    1
      eslib/BraftEditor/index.js.map
  6. 1
    1
      eslib/Common/index.js
  7. 4
    3
      eslib/ConsumeListView/index.js
  8. 1
    1
      eslib/ConsumeListView/index.js.map
  9. 0
    17689
      eslib/Draft-eeda2ee2.js
  10. 0
    1
      eslib/Draft-eeda2ee2.js.map
  11. 0
    2
      eslib/Editor/index.d.ts
  12. 1
    5
      eslib/Editor/index.js
  13. 1
    1
      eslib/Editor/index.js.map
  14. 1
    1
      eslib/Modal/index.js
  15. 1
    1
      eslib/Modal/index.js.map
  16. 43
    10
      eslib/PayPlatformOptions/index.js
  17. 1
    1
      eslib/PayPlatformOptions/index.js.map
  18. 4
    2
      eslib/Payment/index.js
  19. 1
    1
      eslib/Payment/index.js.map
  20. 43
    7
      eslib/PriceOptions/index.js
  21. 1
    1
      eslib/PriceOptions/index.js.map
  22. 0
    21
      eslib/RichTextEditor/index.d.ts
  23. 0
    201
      eslib/RichTextEditor/index.js
  24. 0
    1
      eslib/RichTextEditor/index.js.map
  25. 0
    3
      eslib/RichTextEditorForSlate/index.d.ts
  26. 0
    10257
      eslib/RichTextEditorForSlate/index.js
  27. 0
    1
      eslib/RichTextEditorForSlate/index.js.map
  28. 2
    2
      eslib/WaitPayInfoView/index.js
  29. 1
    1
      eslib/WaitPayInfoView/index.js.map
  30. 2
    5
      eslib/WantedPublishPopover/index.d.ts
  31. 13
    10
      eslib/WantedPublishPopover/index.js
  32. 1
    1
      eslib/WantedPublishPopover/index.js.map
  33. 3
    2
      eslib/WantedPublishView/index.js
  34. 1
    1
      eslib/WantedPublishView/index.js.map
  35. 0
    7
      eslib/_react-dom_commonjs-external-d3012e04.js
  36. 0
    1
      eslib/_react-dom_commonjs-external-d3012e04.js.map
  37. 0
    178
      eslib/_rollupPluginBabelHelpers-22a1b8cb.js
  38. 0
    1
      eslib/_rollupPluginBabelHelpers-22a1b8cb.js.map
  39. 0
    0
      eslib/defineProperty-18999f8e.d.ts
  40. 17
    0
      eslib/defineProperty-18999f8e.js
  41. 1
    0
      eslib/defineProperty-18999f8e.js.map
  42. 4
    2
      eslib/index.js
  43. 1
    1
      eslib/index.js.map
  44. 0
    0
      eslib/inherits-6cb67931.d.ts
  45. 87
    0
      eslib/inherits-6cb67931.js
  46. 1
    0
      eslib/inherits-6cb67931.js.map
  47. 0
    0
      eslib/slicedToArray-4cd9e6d3.d.ts
  48. 44
    0
      eslib/slicedToArray-4cd9e6d3.js
  49. 1
    0
      eslib/slicedToArray-4cd9e6d3.js.map
  50. 0
    0
      eslib/utils-6b513b37.d.ts
  51. 2
    2
      eslib/utils-6b513b37.js
  52. 1
    1
      eslib/utils-6b513b37.js.map
  53. 6
    6
      lib/AllocWantedModal/index.js
  54. 1
    1
      lib/AllocWantedModal/index.js.map
  55. 17787
    112
      lib/BraftEditor/index.js
  56. 1
    1
      lib/BraftEditor/index.js.map
  57. 1
    1
      lib/Common/index.js
  58. 9
    8
      lib/ConsumeListView/index.js
  59. 1
    1
      lib/ConsumeListView/index.js.map
  60. 0
    17697
      lib/Draft-4ccef031.js
  61. 0
    1
      lib/Draft-4ccef031.js.map
  62. 0
    2
      lib/Editor/index.d.ts
  63. 1
    7
      lib/Editor/index.js
  64. 1
    1
      lib/Editor/index.js.map
  65. 6
    6
      lib/Modal/index.js
  66. 1
    1
      lib/Modal/index.js.map
  67. 44
    11
      lib/PayPlatformOptions/index.js
  68. 1
    1
      lib/PayPlatformOptions/index.js.map
  69. 4
    2
      lib/Payment/index.js
  70. 1
    1
      lib/Payment/index.js.map
  71. 45
    9
      lib/PriceOptions/index.js
  72. 1
    1
      lib/PriceOptions/index.js.map
  73. 0
    21
      lib/RichTextEditor/index.d.ts
  74. 0
    208
      lib/RichTextEditor/index.js
  75. 0
    1
      lib/RichTextEditor/index.js.map
  76. 0
    3
      lib/RichTextEditorForSlate/index.d.ts
  77. 0
    10264
      lib/RichTextEditorForSlate/index.js
  78. 0
    1
      lib/RichTextEditorForSlate/index.js.map
  79. 6
    6
      lib/WaitPayInfoView/index.js
  80. 1
    1
      lib/WaitPayInfoView/index.js.map
  81. 2
    5
      lib/WantedPublishPopover/index.d.ts
  82. 17
    14
      lib/WantedPublishPopover/index.js
  83. 1
    1
      lib/WantedPublishPopover/index.js.map
  84. 8
    7
      lib/WantedPublishView/index.js
  85. 1
    1
      lib/WantedPublishView/index.js.map
  86. 0
    14
      lib/_react-dom_commonjs-external-55867475.js
  87. 0
    1
      lib/_react-dom_commonjs-external-55867475.js.map
  88. 0
    189
      lib/_rollupPluginBabelHelpers-0494a5d0.js
  89. 0
    1
      lib/_rollupPluginBabelHelpers-0494a5d0.js.map
  90. 0
    0
      lib/defineProperty-ba7cd53d.d.ts
  91. 19
    0
      lib/defineProperty-ba7cd53d.js
  92. 1
    0
      lib/defineProperty-ba7cd53d.js.map
  93. 4
    2
      lib/index.js
  94. 1
    1
      lib/index.js.map
  95. 0
    0
      lib/inherits-c86d64c1.d.ts
  96. 94
    0
      lib/inherits-c86d64c1.js
  97. 1
    0
      lib/inherits-c86d64c1.js.map
  98. 0
    0
      lib/slicedToArray-172f4624.d.ts
  99. 46
    0
      lib/slicedToArray-172f4624.js
  100. 0
    0
      lib/slicedToArray-172f4624.js.map

+ 7
- 1
.babelrc Visa fil

@@ -1,6 +1,12 @@
1 1
 {
2 2
   "presets": [
3
-    "@babel/preset-env",
3
+    [
4
+      "@babel/preset-env",
5
+      {
6
+        "targets": "last 2 versions, ie 10",
7
+        "modules": false
8
+      }
9
+    ],
4 10
     "@babel/preset-react",
5 11
     "@babel/preset-typescript"
6 12
   ],

+ 2
- 2
eslib/AllocWantedModal/index.js Visa fil

@@ -1,11 +1,11 @@
1
-import { a as _inherits, b as _createClass, c as _classCallCheck, d as _possibleConstructorReturn, e as _getPrototypeOf } from '../_rollupPluginBabelHelpers-22a1b8cb.js';
1
+import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _getPrototypeOf, e as _createClass } from '../inherits-6cb67931.js';
2 2
 import React from 'react';
3 3
 import 'react-dom';
4 4
 import { Modal } from '../Modal/index.js';
5 5
 import { s as styleInject } from '../style-inject.es-1f59c1d0.js';
6 6
 import { Tooltip, Input, Button, Popover } from 'antd';
7 7
 
8
-const img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAACMUlEQVQ4T52Uz4tSURTHPxP9oCkKy0UuIqvZSAsrHHgLEaFSDCJoU0GpQaBgqOCmP6AWKrR5kIELNzZZUUQLlReFFowOboQK2oyLkgExsxqJoprixlx5yXs1dXbvnO/93HPPO+dM8WfbCuwANgNfgA/A0OzIlElgH3AIsBrEl4EXwEvguz4+CdsIHAV2/yVjEX4PVFez/SXXwzYAJ4GdawBJyWfggQTqYSKj/f8AklKR4V1gRcJ2rWY1Zvl8PqumaW8n4YFAwFqpVCb988BzCTsCzMiDDodjut1uX11YWGh4PJ470p/L5ZRIJHI+kUhcU1V1UXfRR+CWhF0ARPHHpqrqbCwWC7darXm32z2Xz+fdoVDobL1ef+z1eu8ZlOO2gIkeChrVKpPJHEylUhd7vd5rm822V9O0it/vf2hS16qAbQfOmBW+3W6HnU6nMhgMlux2+5XRaLRion0iYJuAsJGgWq2e8Pv9x5vN5lOXy6V0Op1XiqLkh8PhNwN9WdbsHLBFL6jVaqc8Hs+xYrE4FwwGnyWTyZl0On2p2+0uKopyo9/vf9XpfwA3JcwNHND/zUajcblUKpWj0WhT+qPRqD2bzUbi8fj1QqHwRgfrA/clbBtwGlgnBRaLZb3Rc0z8j4COfgJmgcP/MQEiw/LkbAqwGCmxMdZq7wDRKmI9/Tbo8ltk6NQ/2YTcAWrA+EeY7TPRewK4B5jWwcRB8Syxy5YmLzGD6XViQuSm/QSINjC0n/ltqZBTCKFgAAAAAElFTkSuQmCC";
8
+var img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAACMUlEQVQ4T52Uz4tSURTHPxP9oCkKy0UuIqvZSAsrHHgLEaFSDCJoU0GpQaBgqOCmP6AWKrR5kIELNzZZUUQLlReFFowOboQK2oyLkgExsxqJoprixlx5yXs1dXbvnO/93HPPO+dM8WfbCuwANgNfgA/A0OzIlElgH3AIsBrEl4EXwEvguz4+CdsIHAV2/yVjEX4PVFez/SXXwzYAJ4GdawBJyWfggQTqYSKj/f8AklKR4V1gRcJ2rWY1Zvl8PqumaW8n4YFAwFqpVCb988BzCTsCzMiDDodjut1uX11YWGh4PJ470p/L5ZRIJHI+kUhcU1V1UXfRR+CWhF0ARPHHpqrqbCwWC7darXm32z2Xz+fdoVDobL1ef+z1eu8ZlOO2gIkeChrVKpPJHEylUhd7vd5rm822V9O0it/vf2hS16qAbQfOmBW+3W6HnU6nMhgMlux2+5XRaLRion0iYJuAsJGgWq2e8Pv9x5vN5lOXy6V0Op1XiqLkh8PhNwN9WdbsHLBFL6jVaqc8Hs+xYrE4FwwGnyWTyZl0On2p2+0uKopyo9/vf9XpfwA3JcwNHND/zUajcblUKpWj0WhT+qPRqD2bzUbi8fj1QqHwRgfrA/clbBtwGlgnBRaLZb3Rc0z8j4COfgJmgcP/MQEiw/LkbAqwGCmxMdZq7wDRKmI9/Tbo8ltk6NQ/2YTcAWrA+EeY7TPRewK4B5jWwcRB8Syxy5YmLzGD6XViQuSm/QSINjC0n/ltqZBTCKFgAAAAAElFTkSuQmCC";
9 9
 
10 10
 var css = ".AllocWantedModal_wantedModalContent__1VodF {\n  background-color: white;\n  width: 360px;\n  height: 314px;\n  padding: 22px 28px;\n  border-radius: 7px;\n}\n.AllocWantedModal_wantedModalContent__1VodF .AllocWantedModal_title__31i9F {\n  font-size: 18px;\n  font-weight: 400;\n  text-align: center;\n}\n.AllocWantedModal_wantedModalContent__1VodF .AllocWantedModal_wantedValueText___uNQe {\n  color: #565656;\n  margin-top: 48px;\n  font-size: 14px;\n  line-height: 20px;\n  text-align: center;\n}\n.AllocWantedModal_wantedModalContent__1VodF .AllocWantedModal_wantedInputNumber__3MyO5 {\n  margin: 11px auto;\n  text-align: center;\n}\n.AllocWantedModal_wantedModalContent__1VodF .AllocWantedModal_wantedInputNumber__3MyO5 .ant-input {\n  color: #FB4B56;\n}\n.AllocWantedModal_wantedModalContent__1VodF .AllocWantedModal_wantedValueTipBottom__3WBt0 {\n  margin: 0 auto;\n  font-size: 12px;\n  text-align: center;\n  width: 208px;\n  color: #9B9B9B;\n}\n.AllocWantedModal_wantedModalContent__1VodF .AllocWantedModal_buttonRow__FegZX {\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  margin-top: 23px;\n}\n.AllocWantedModal_wantedModalContent__1VodF .AllocWantedModal_buttonRow__FegZX .AllocWantedModal_confirmButton__1yXDN {\n  color: white;\n  background-color: #71C135;\n  width: 170px;\n  height: 36px;\n}\n.AllocWantedModal_wantedModalContent__1VodF .AllocWantedModal_buttonRow__FegZX .AllocWantedModal_confirmButton__1yXDN:hover,\n.AllocWantedModal_wantedModalContent__1VodF .AllocWantedModal_buttonRow__FegZX .AllocWantedModal_confirmButton__1yXDN:focus {\n  outline: none;\n  border-color: #8cd158;\n}\n.AllocWantedModal_wantedModalContent__1VodF .AllocWantedModal_buttonRow__FegZX .AllocWantedModal_tipsButton__UmFpw {\n  margin-left: 22px;\n  width: 20px;\n}\n.AllocWantedModal_wantedModalContent__1VodF .AllocWantedModal_buttonRow__FegZX .AllocWantedModal_tipsButton__UmFpw .schedule {\n  font-size: 18px;\n  cursor: pointer;\n}\n.AllocWantedModal_closeButton__1d4p- {\n  position: absolute;\n  right: 10px;\n  top: 10px;\n  display: block;\n  width: 20px;\n  height: 20px;\n  border-radius: 50%;\n  cursor: pointer;\n}\n.AllocWantedModal_closeButton__1d4p- img {\n  width: 100%;\n  height: 100%;\n}\n.AllocWantedModal_tipsView__3my0J h6 {\n  margin: 0;\n  font-size: 12px;\n  line-height: 22px;\n  color: #3D3D3D;\n}\n.AllocWantedModal_tipsView__3my0J div {\n  font-size: 12px;\n}\n.AllocWantedModal_outRangeTextTip__3R4mw .ant-tooltip-inner {\n  color: red;\n}\n";
11 11
 var styles = {

+ 1
- 1
eslib/AllocWantedModal/index.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 17718
- 44
eslib/BraftEditor/index.js
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 1
- 1
eslib/BraftEditor/index.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 1
- 1
eslib/Common/index.js Visa fil

@@ -1,4 +1,4 @@
1
-import '../_rollupPluginBabelHelpers-22a1b8cb.js';
1
+import '../inherits-6cb67931.js';
2 2
 import 'react';
3 3
 import 'react-dom';
4 4
 export { default as Modal } from '../Modal/index.js';

+ 4
- 3
eslib/ConsumeListView/index.js Visa fil

@@ -1,11 +1,12 @@
1
-import { a as _inherits, b as _createClass, c as _classCallCheck, d as _possibleConstructorReturn, e as _getPrototypeOf, f as _defineProperty } from '../_rollupPluginBabelHelpers-22a1b8cb.js';
1
+import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _getPrototypeOf, e as _createClass } from '../inherits-6cb67931.js';
2 2
 import React, { Component } from 'react';
3 3
 import { s as styleInject } from '../style-inject.es-1f59c1d0.js';
4
+import { _ as _defineProperty } from '../defineProperty-18999f8e.js';
4 5
 import '../_commonjsHelpers-97e6d7b1.js';
5 6
 import { c as classnames } from '../index-c9837619.js';
6
-import { a as addImageProcess } from '../utils-3a540bc8.js';
7
+import { a as addImageProcess } from '../utils-6b513b37.js';
7 8
 
8
-const img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAABvklEQVQ4T62UTygEcRTHv29MIsqfk6OL5CYH5aKd9Wfj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zUhqKUiZAHGVXJYLwPdpshPnRDRM4fl5+7uKL/0c1WXdOSie5Dh3wZcyoR7SQttO9z+M5MOWEsStFQmsTAoOwVK7qM64d5P6ayKJj9EqHBa5Q4kx2/ujqR1Exnsq493HH2muFN98oNtJ0g7s3Ul5/vwbSab+G+gDqFybE11pYkYAAAAASUVORK5CYII=";
9 10
 
10 11
 var css = ".ConsumeListView_wrapper__wlJjh {\n  display: flex;\n  justify-content: center;\n}\n.ConsumeListView_wrapper__wlJjh .ConsumeListView_consumelist__2dMCR {\n  padding: 0;\n  margin: 0;\n  display: flex;\n  flex-wrap: wrap;\n  padding-top: 10px;\n}\n.ConsumeListView_wrapper__wlJjh .ConsumeListView_consumelist__2dMCR li {\n  list-style: none;\n}\n.ConsumeListView_wrapper__wlJjh .ConsumeListView_consumelist__2dMCR .ConsumeListView_consumeItem__1QGpJ {\n  margin: 0 6px 10px;\n  text-align: center;\n  position: relative;\n}\n.ConsumeListView_wrapper__wlJjh .ConsumeListView_consumelist__2dMCR .ConsumeListView_consumeItem__1QGpJ .ConsumeListView_kingdomIcon__1nBe5 {\n  position: absolute;\n  width: 24px;\n  height: 22px;\n  left: -6px;\n  top: -12px;\n}\n.ConsumeListView_wrapper__wlJjh .ConsumeListView_consumelist__2dMCR .ConsumeListView_consumeItem__1QGpJ .ConsumeListView_avatar__1H-E5 {\n  margin: 0 auto 4px;\n  width: 36px;\n  height: 36px;\n  background-size: cover;\n  border-radius: 50%;\n}\n.ConsumeListView_wrapper__wlJjh .ConsumeListView_consumelist__2dMCR .ConsumeListView_consumeItem__1QGpJ .ConsumeListView_gray__3do1I {\n  color: #9b9b9b;\n  font-size: 12px;\n}\n.ConsumeListView_wrapper__wlJjh .ConsumeListView_consumelist__2dMCR .ConsumeListView_toggle__3eBTC {\n  margin: 0 6px 10px;\n  width: 36px;\n  height: 36px;\n  line-height: 36px;\n  background-color: #ececec;\n  border-radius: 50%;\n  color: #a8adb6;\n  cursor: pointer;\n  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAACv0lEQVRIS8WXTW8SURSGzzAYNSYCA7SCUEqBioLtohvjD9CN7ozG36AmXfsRafxYN9b+BqNx50r3GjddqEVRRgSRVr4GWmOsERjfOwEzVYa5lAokEwJzznnOe865d+4IxPFRVXVPrVY73Wq1TgmCMIffYbjZ2q4b+E/GfysWi+WZw+F4it+/zMIKvQwAszcajXnYXEIwl1kwdh8JVPC1bLVaF5FE3cjHEFytVs8hyH04jvMAu9gUkexlp9P5uJv/P2DABCi9hbJehUPPinAkpKL8d6H8BpJQ9fbbAjOooigP8H2BIyi3CaAPJUm6qIdvAwN6G0qvcUfswxDK7wB+vePyB9zu6aNdKK9ROioUn+/0XAOz6W02m6kBBolXe1EUxSibdg0MtQn09Sav9yB2UL0A1QmBbQ6VSmWNd50OAu2sc5fL5WVTfAYD9WTQgP34Y9DOClB7D05X+nHcBdslAf19jnKfNAr2cmWVDuzfR7HoFCFTUyaqR8lUhr7/2KITc/Gu9mjrC6a4iLtjRhHfvv9Ea1/L5JLsNBML94Qz6OukTBWlTt5Dbjp2JGgUtsTAW7i713DxqSql0jkqrJfIKdloNhbpCmfQV8k0VZUNOuwZo2gkQFBmFPanKVibRFxpOUefC0VyOmw0E4+QqCt7s8mgH0ipbdKEb5wiIUB7N0UD9yy13l/O5CmbXyfJfpBm49MkihbSoKuA1jdpcsJD4aDfdA5gUDIdrr+jZLIFyuQK5AD8+NEQvXknU63+jUKTPgoGvDxQ1gJtuPpeTkw1U8+mnPU2MuWngN/DBW0bLe14A8mj3x+zX7TS+ryGi6JrMtoGMrItk6VULpcTqPtQHhIQuuB2uxOjfSwy1SM5CHQmYCRHn/azcjSHvQ586Mdb/aIb+oFeD2eHQOxM87j6eoXBBrGMa2evMPoE/sdL22+mI4T0ou1LqAAAAABJRU5ErkJggg==);\n  background-position: center;\n}\n.ConsumeListView_wrapper__wlJjh .ConsumeListView_consumelist__2dMCR .ConsumeListView_toggle__3eBTC.ConsumeListView_expand__3l80q {\n  transform: rotate(180deg);\n}\n";
11 12
 var styles = {

+ 1
- 1
eslib/ConsumeListView/index.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 0
- 17689
eslib/Draft-eeda2ee2.js
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 0
- 1
eslib/Draft-eeda2ee2.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 0
- 2
eslib/Editor/index.d.ts Visa fil

@@ -1,3 +1 @@
1 1
 export { default as BraftEditor } from "../BraftEditor/index";
2
-export { default as RichTextEditor } from "../RichTextEditor/index";
3
-export { default as RichTextEditorForSlate } from "../RichTextEditorForSlate/index";

+ 1
- 5
eslib/Editor/index.js Visa fil

@@ -1,12 +1,8 @@
1
-import '../_rollupPluginBabelHelpers-22a1b8cb.js';
2 1
 import 'react';
3 2
 import 'react-dom';
4 3
 import '../style-inject.es-1f59c1d0.js';
5 4
 import '../_commonjsHelpers-97e6d7b1.js';
6
-import '../Draft-eeda2ee2.js';
7
-import '../_react-dom_commonjs-external-d3012e04.js';
5
+import '../slicedToArray-4cd9e6d3.js';
8 6
 export { default as BraftEditor } from '../BraftEditor/index.js';
9 7
 import 'react-dom/server';
10
-export { default as RichTextEditor } from '../RichTextEditor/index.js';
11
-export { default as RichTextEditorForSlate } from '../RichTextEditorForSlate/index.js';
12 8
 //# sourceMappingURL=index.js.map

+ 1
- 1
eslib/Editor/index.js.map Visa fil

@@ -1 +1 @@
1
-{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
1
+{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}

+ 1
- 1
eslib/Modal/index.js Visa fil

@@ -1,4 +1,4 @@
1
-import { _ as _typeof, a as _inherits, b as _createClass, c as _classCallCheck, d as _possibleConstructorReturn, e as _getPrototypeOf } from '../_rollupPluginBabelHelpers-22a1b8cb.js';
1
+import { _ as _typeof, a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _getPrototypeOf, e as _createClass } from '../inherits-6cb67931.js';
2 2
 import React from 'react';
3 3
 import { createPortal } from 'react-dom';
4 4
 import { s as styleInject } from '../style-inject.es-1f59c1d0.js';

+ 1
- 1
eslib/Modal/index.js.map Visa fil

@@ -1 +1 @@
1
-{"version":3,"file":"index.js","sources":["../../src/components/Common/Utils/utils.ts","../../src/components/Common/Modal/index.tsx"],"sourcesContent":["export function isBrowser() {\r\n  return !(typeof window === undefined);\r\n}","import React from 'react';\r\nimport { createPortal } from 'react-dom';\r\nimport { isBrowser } from '../Utils/utils';\r\n\r\nimport styles from './Modal.less';\r\n\r\nexport interface ModalProps {\r\n  visible: boolean\r\n  onCancel: (e: any) => void\r\n  container?: HTMLElement | null\r\n}\r\n\r\nexport class Modal extends React.PureComponent<ModalProps> {\r\n  static hasShowWarning = false;\r\n\r\n  render() {\r\n    if (!isBrowser()) return null; // 服务端无需渲染下列代码,渲染也会出错\r\n    const DEFAULT_CONTAINER: HTMLElement | null = document.getElementById('container');\r\n    const { children, visible, onCancel, container = DEFAULT_CONTAINER } = this.props\r\n    let finalMountContainer: HTMLElement = document.body;\r\n    if (!container) {\r\n      if (!DEFAULT_CONTAINER) {\r\n        if (!Modal.hasShowWarning) {\r\n          Modal.hasShowWarning = true;\r\n        }\r\n        finalMountContainer = document.body;\r\n      } else {\r\n        if (!Modal.hasShowWarning) {\r\n          Modal.hasShowWarning = true;\r\n        }\r\n        finalMountContainer = DEFAULT_CONTAINER;\r\n      }\r\n    }\r\n    return visible && createPortal(\r\n      <div className={ styles.wrapper }>\r\n        <div\r\n          className={ styles.overlay }\r\n          onClick={ onCancel }\r\n        />\r\n        <div\r\n          className={ styles.container }\r\n        >\r\n          { children }\r\n        </div>\r\n      </div>,\r\n      finalMountContainer,\r\n    )\r\n  }\r\n}\r\n\r\nexport default Modal;"],"names":["isBrowser","window","undefined","Modal","DEFAULT_CONTAINER","document","getElementById","props","children","visible","onCancel","container","finalMountContainer","body","hasShowWarning","createPortal","React","createElement","className","styles","wrapper","overlay","onClick","PureComponent"],"mappings":";;;;;AAAM,SAAUA,SAAV,GAAmB;SAChB,EAAE,QAAOC,MAAP,yCAAOA,MAAP,OAAkBC,SAApB;;;;;;;;;;;;ICWIC,KAAb;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;AAAA,6BAGQ;UACA,CAACH,SAAS,IAAI,OAAO,IAAP;UACZI,iBAAiB,GAAuBC,QAAQ,CAACC,cAAT,CAAwB,WAAxB;AAF1C,wBAGmE,KAAKC,KAHxE;AAAA,UAGIC,QAHJ,eAGIA,QAHJ;AAAA,UAGcC,OAHd,eAGcA,OAHd;AAAA,UAGuBC,QAHvB,eAGuBA,QAHvB;AAAA,8CAGiCC,SAHjC;AAAA,UAGiCA,SAHjC,sCAG6CP,iBAH7C;UAIAQ,mBAAmB,GAAgBP,QAAQ,CAACQ;;UAC5C,CAACF,WAAW;YACV,CAACP,mBAAmB;cAClB,CAACD,KAAK,CAACW,gBAAgB;AACzBX,YAAAA,KAAK,CAACW,cAAN,GAAuB,IAAvB;;;AAEFF,UAAAA,mBAAmB,GAAGP,QAAQ,CAACQ,IAA/B;AAJF,eAKO;cACD,CAACV,KAAK,CAACW,gBAAgB;AACzBX,YAAAA,KAAK,CAACW,cAAN,GAAuB,IAAvB;;;AAEFF,UAAAA,mBAAmB,GAAGR,iBAAtB;;;;aAGGK,OAAO,IAAIM,YAAY,CAC5BC,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AAAKC,QAAAA,SAAS,EAAGC,MAAM,CAACC;AAAxB,OAAA,EACEJ,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AACEC,QAAAA,SAAS,EAAGC,MAAM,CAACE,OADrB;AAEEC,QAAAA,OAAO,EAAGZ;AAFZ,OAAA,CADF,EAKEM,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AACEC,QAAAA,SAAS,EAAGC,MAAM,CAACR;AADrB,OAAA,EAGIH,QAHJ,CALF,CAD4B,EAY5BI,mBAZ4B;;AArBlC;;AAAA;AAAA,EAA2BI,KAAK,CAACO,aAAjC;AACSpB,KAAA,CAAAW,cAAA,GAAiB,KAAjB;;;;;"}
1
+{"version":3,"file":"index.js","sources":["../../src/components/Common/Utils/utils.ts","../../src/components/Common/Modal/index.tsx"],"sourcesContent":["export function isBrowser() {\r\n  return !(typeof window === undefined);\r\n}","import React from 'react';\r\nimport { createPortal } from 'react-dom';\r\nimport { isBrowser } from '../Utils/utils';\r\n\r\nimport styles from './Modal.less';\r\n\r\nexport interface ModalProps {\r\n  visible: boolean\r\n  onCancel: (e: any) => void\r\n  container?: HTMLElement | null\r\n}\r\n\r\nexport class Modal extends React.PureComponent<ModalProps> {\r\n  static hasShowWarning = false;\r\n\r\n  render() {\r\n    if (!isBrowser()) return null; // 服务端无需渲染下列代码,渲染也会出错\r\n    const DEFAULT_CONTAINER: HTMLElement | null = document.getElementById('container');\r\n    const { children, visible, onCancel, container = DEFAULT_CONTAINER } = this.props\r\n    let finalMountContainer: HTMLElement = document.body;\r\n    if (!container) {\r\n      if (!DEFAULT_CONTAINER) {\r\n        if (!Modal.hasShowWarning) {\r\n          Modal.hasShowWarning = true;\r\n        }\r\n        finalMountContainer = document.body;\r\n      } else {\r\n        if (!Modal.hasShowWarning) {\r\n          Modal.hasShowWarning = true;\r\n        }\r\n        finalMountContainer = DEFAULT_CONTAINER;\r\n      }\r\n    }\r\n    return visible && createPortal(\r\n      <div className={ styles.wrapper }>\r\n        <div\r\n          className={ styles.overlay }\r\n          onClick={ onCancel }\r\n        />\r\n        <div\r\n          className={ styles.container }\r\n        >\r\n          { children }\r\n        </div>\r\n      </div>,\r\n      finalMountContainer,\r\n    )\r\n  }\r\n}\r\n\r\nexport default Modal;"],"names":["isBrowser","window","undefined","Modal","DEFAULT_CONTAINER","document","getElementById","props","children","visible","onCancel","container","finalMountContainer","body","hasShowWarning","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;"}

+ 43
- 10
eslib/PayPlatformOptions/index.js
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 1
- 1
eslib/PayPlatformOptions/index.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 4
- 2
eslib/Payment/index.js Visa fil

@@ -1,13 +1,15 @@
1
-import '../_rollupPluginBabelHelpers-22a1b8cb.js';
1
+import '../inherits-6cb67931.js';
2 2
 import 'react';
3 3
 import 'react-dom';
4 4
 import '../Modal/index.js';
5 5
 import '../style-inject.es-1f59c1d0.js';
6
+import '../defineProperty-18999f8e.js';
6 7
 import '../_commonjsHelpers-97e6d7b1.js';
7 8
 import '../index-c9837619.js';
8
-import '../utils-3a540bc8.js';
9
+import '../utils-6b513b37.js';
9 10
 export { default as ConsumeListView } from '../ConsumeListView/index.js';
10 11
 export { default as PayPlatformOptions } from '../PayPlatformOptions/index.js';
12
+import '../slicedToArray-4cd9e6d3.js';
11 13
 import 'antd';
12 14
 export { default as PriceOptions } from '../PriceOptions/index.js';
13 15
 export { default as WaitPayInfoView } from '../WaitPayInfoView/index.js';

+ 1
- 1
eslib/Payment/index.js.map Visa fil

@@ -1 +1 @@
1
-{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
1
+{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}

+ 43
- 7
eslib/PriceOptions/index.js Visa fil

@@ -1,11 +1,13 @@
1
-import { h as _slicedToArray, f as _defineProperty, g as _objectSpread2 } from '../_rollupPluginBabelHelpers-22a1b8cb.js';
2 1
 import React, { useState } from 'react';
3 2
 import { s as styleInject } from '../style-inject.es-1f59c1d0.js';
3
+import { _ as _defineProperty } from '../defineProperty-18999f8e.js';
4 4
 import '../_commonjsHelpers-97e6d7b1.js';
5 5
 import { c as classnames } from '../index-c9837619.js';
6
+import { e as exportStyleSizeClass } from '../utils-6b513b37.js';
7
+import { _ as _slicedToArray } from '../slicedToArray-4cd9e6d3.js';
6 8
 import { Input } from 'antd';
7 9
 
8
-var css = ".PriceOptions_options__ifYbC {\n  border-bottom: 1px dashed #00000017;\n}\n.PriceOptions_options__ifYbC p {\n  font-size: 14px;\n  font-weight: 400;\n  color: #616a79;\n  margin-bottom: 20px;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx {\n  padding-right: 0;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx .PriceOptions_priceItem__3CPe3 {\n  background: rgba(243, 243, 243, 0.14);\n  border-radius: 4px;\n  border: 1px solid #cfcfcf;\n  font-size: 14px;\n  font-weight: 600;\n  color: #616a79;\n  display: inline-block;\n  text-align: center;\n  vertical-align: top;\n  height: 30px;\n  width: 70px;\n  line-height: 30px;\n  cursor: pointer;\n  margin: 6px;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx .PriceOptions_priceItem__3CPe3.PriceOptions_active__154by {\n  background: rgba(255, 50, 102, 0.1);\n  border-radius: 4px;\n  border: 1px solid #ff3266;\n  color: #616a79;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx .PriceOptions_priceInput__2JFc0 {\n  display: inline-block;\n  min-width: 70px;\n  width: auto;\n  margin: 6px;\n  text-align: center;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx button {\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n  height: 30px;\n  width: 50px;\n  vertical-align: top;\n  padding: 0 5px;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx .PriceOptions_rate__17U-9 {\n  margin-left: 10px;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx .PriceOptions_rate__17U-9 i {\n  margin-right: 5px;\n  color: #1790FF;\n}\n.PriceOptions_options__ifYbC.PriceOptions_small__2UZ7N {\n  padding: 0 0 12px 0;\n  border-bottom: none;\n}\n.PriceOptions_options__ifYbC.PriceOptions_small__2UZ7N p {\n  margin-bottom: 8px;\n}\n.PriceOptions_options__ifYbC.PriceOptions_small__2UZ7N .PriceOptions_infoItem__246mx {\n  text-align: center;\n}\n.PriceOptions_options__ifYbC.PriceOptions_small__2UZ7N .PriceOptions_infoItem__246mx .PriceOptions_priceItem__3CPe3 {\n  border-radius: 6px;\n  height: 32px;\n  width: 72px;\n  margin: 0 0 12px 19px;\n}\n.PriceOptions_options__ifYbC.PriceOptions_small__2UZ7N .PriceOptions_infoItem__246mx .PriceOptions_priceItem__3CPe3:first-child {\n  margin: 0 0 12px 0px;\n}\n.PriceOptions_options__ifYbC.PriceOptions_small__2UZ7N .PriceOptions_infoItem__246mx .PriceOptions_priceInput__2JFc0 {\n  display: block;\n  width: 254px;\n  border-radius: 6px;\n  height: 32px;\n}\n.PriceOptions_options__ifYbC.PriceOptions_multi__2fM8z {\n  padding: 20px 20px;\n}\n.PriceOptions_options__ifYbC.PriceOptions_multi__2fM8z p {\n  font-size: 14px;\n  font-weight: 400;\n  color: #616a79;\n}\n.PriceOptions_options__ifYbC.PriceOptions_multi__2fM8z .PriceOptions_infoItem__246mx {\n  padding-right: 0;\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n}\n.PriceOptions_options__ifYbC.PriceOptions_multi__2fM8z .PriceOptions_infoItem__246mx .PriceOptions_priceBtn__1UaE8 {\n  display: flex;\n  justify-content: space-between;\n}\n.PriceOptions_options__ifYbC.PriceOptions_multi__2fM8z .PriceOptions_infoItem__246mx .PriceOptions_priceItem__3CPe3 {\n  display: inline-block;\n  background-color: #fff;\n  width: 74px;\n  height: 36px;\n  line-height: 36px;\n  border-radius: 4px;\n  border: 1px solid #cfcfcf;\n}\n.PriceOptions_options__ifYbC.PriceOptions_multi__2fM8z .PriceOptions_infoItem__246mx .PriceOptions_priceItem__3CPe3.PriceOptions_active__154by {\n  background-color: #fff;\n  color: #FF3266FF;\n  border-radius: 4px;\n  border: 1px solid #ff3266;\n}\n.PriceOptions_options__ifYbC.PriceOptions_multi__2fM8z .PriceOptions_infoItem__246mx .PriceOptions_priceInput__2JFc0 {\n  border-radius: 6px;\n  height: 36px;\n  width: auto;\n}\n";
10
+var css = ".PriceOptions_options__ifYbC {\n  border-bottom: 1px dashed #00000017;\n}\n.PriceOptions_options__ifYbC p {\n  font-size: 14px;\n  font-weight: 400;\n  color: #616a79;\n  margin-bottom: 20px;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx {\n  padding-right: 0;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx .PriceOptions_priceItem__3CPe3 {\n  background: rgba(243, 243, 243, 0.14);\n  border-radius: 4px;\n  border: 1px solid #cfcfcf;\n  font-size: 14px;\n  font-weight: 600;\n  color: #616a79;\n  display: inline-block;\n  text-align: center;\n  vertical-align: top;\n  height: 30px;\n  width: 70px;\n  line-height: 30px;\n  cursor: pointer;\n  margin: 6px;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx .PriceOptions_priceItem__3CPe3.PriceOptions_active__154by {\n  background: rgba(255, 50, 102, 0.1);\n  border-radius: 4px;\n  border: 1px solid #ff3266;\n  color: #616a79;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx .PriceOptions_priceInput__2JFc0 {\n  display: inline-block;\n  min-width: 70px;\n  width: auto;\n  margin: 6px;\n  text-align: center;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx button {\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n  height: 30px;\n  width: 50px;\n  vertical-align: top;\n  padding: 0 5px;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx .PriceOptions_rate__17U-9 {\n  margin-left: 10px;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx .PriceOptions_rate__17U-9 i {\n  margin-right: 5px;\n  color: #1790FF;\n}\n.PriceOptions_options__ifYbC.PriceOptions_multi__2fM8z p {\n  font-size: 14px;\n  font-weight: 400;\n  color: #616a79;\n}\n.PriceOptions_options__ifYbC.PriceOptions_multi__2fM8z .PriceOptions_infoItem__246mx {\n  padding-right: 0;\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n}\n.PriceOptions_options__ifYbC.PriceOptions_multi__2fM8z .PriceOptions_infoItem__246mx .PriceOptions_priceBtn__1UaE8 {\n  display: flex;\n  justify-content: space-between;\n}\n.PriceOptions_options__ifYbC.PriceOptions_multi__2fM8z .PriceOptions_infoItem__246mx .PriceOptions_priceItem__3CPe3 {\n  display: inline-block;\n  background-color: #fff;\n  border-radius: 4px;\n  border: 1px solid #cfcfcf;\n}\n.PriceOptions_options__ifYbC.PriceOptions_multi__2fM8z .PriceOptions_infoItem__246mx .PriceOptions_priceItem__3CPe3.PriceOptions_active__154by {\n  background-color: #fff;\n  color: #FF3266FF;\n  border: 1px solid #ff3266;\n}\n.PriceOptions_options__ifYbC.PriceOptions_multi__2fM8z .PriceOptions_infoItem__246mx .PriceOptions_priceInput__2JFc0 {\n  width: 222px;\n  width: auto;\n}\n";
9 11
 var styles = {
10 12
   "options": "PriceOptions_options__ifYbC",
11 13
   "infoItem": "PriceOptions_infoItem__246mx",
@@ -13,18 +15,52 @@ var styles = {
13 15
   "active": "PriceOptions_active__154by",
14 16
   "priceInput": "PriceOptions_priceInput__2JFc0",
15 17
   "rate": "PriceOptions_rate__17U-9",
16
-  "small": "PriceOptions_small__2UZ7N",
17 18
   "multi": "PriceOptions_multi__2fM8z",
18 19
   "priceBtn": "PriceOptions_priceBtn__1UaE8"
19 20
 };
20 21
 styleInject(css);
21 22
 
23
+function ownKeys(object, enumerableOnly) {
24
+  var keys = Object.keys(object);
25
+
26
+  if (Object.getOwnPropertySymbols) {
27
+    var symbols = Object.getOwnPropertySymbols(object);
28
+    if (enumerableOnly) symbols = symbols.filter(function (sym) {
29
+      return Object.getOwnPropertyDescriptor(object, sym).enumerable;
30
+    });
31
+    keys.push.apply(keys, symbols);
32
+  }
33
+
34
+  return keys;
35
+}
36
+
37
+function _objectSpread(target) {
38
+  for (var i = 1; i < arguments.length; i++) {
39
+    var source = arguments[i] != null ? arguments[i] : {};
40
+
41
+    if (i % 2) {
42
+      ownKeys(Object(source), true).forEach(function (key) {
43
+        _defineProperty(target, key, source[key]);
44
+      });
45
+    } else if (Object.getOwnPropertyDescriptors) {
46
+      Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
47
+    } else {
48
+      ownKeys(Object(source)).forEach(function (key) {
49
+        Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
50
+      });
51
+    }
52
+  }
53
+
54
+  return target;
55
+}
56
+
22 57
 var PriceOptions = function PriceOptions(_ref) {
23 58
   var price = _ref.price,
24 59
       onPriceChange = _ref.onPriceChange,
25 60
       _ref$rowMode = _ref.rowMode,
26 61
       rowMode = _ref$rowMode === void 0 ? "single" : _ref$rowMode,
27 62
       _ref$size = _ref.size,
63
+      size = _ref$size === void 0 ? "normal" : _ref$size,
28 64
       _ref$focusScroll = _ref.focusScroll,
29 65
       focusScroll = _ref$focusScroll === void 0 ? true : _ref$focusScroll,
30 66
       _ref$withTitle = _ref.withTitle,
@@ -64,16 +100,16 @@ var PriceOptions = function PriceOptions(_ref) {
64 100
       setInputPrice = _useState4[1];
65 101
 
66 102
   return React.createElement("div", {
67
-    className: classnames(styles.options, _defineProperty({}, styles.multi, rowMode === "multi"))
103
+    className: classnames(styles.options, _objectSpread(_defineProperty({}, styles.multi, rowMode === "multi"), exportStyleSizeClass(styles, size)))
68 104
   }, withTitle ? titleText || null : null, React.createElement("div", {
69 105
     className: styles.infoItem
70 106
   }, React.createElement("span", {
71 107
     className: styles.priceBtn
72 108
   }, defaultOptions.map(function (item) {
73
-    var _objectSpread2$1;
109
+    var _objectSpread3;
74 110
 
75 111
     return React.createElement("span", {
76
-      className: classnames(_objectSpread2((_objectSpread2$1 = {}, _defineProperty(_objectSpread2$1, styles.priceItem, true), _defineProperty(_objectSpread2$1, styles.active, price === item && !inputStatus), _objectSpread2$1), injectOptions.priceBtnClass)),
112
+      className: classnames(_objectSpread((_objectSpread3 = {}, _defineProperty(_objectSpread3, styles.priceItem, true), _defineProperty(_objectSpread3, styles.active, price === item && !inputStatus), _objectSpread3), injectOptions.priceBtnClass)),
77 113
       key: item,
78 114
       onClick: function onClick() {
79 115
         onPriceChange(item);
@@ -82,7 +118,7 @@ var PriceOptions = function PriceOptions(_ref) {
82 118
     }, priceRender(item));
83 119
   })), React.createElement(Input, {
84 120
     ref: inputRef,
85
-    className: classnames(styles.priceInput, _objectSpread2({}, injectOptions.priceInputClass)),
121
+    className: classnames(styles.priceInput, _objectSpread({}, injectOptions.priceInputClass)),
86 122
     onMouseEnter: function onMouseEnter() {
87 123
       if (inputStatus && inputRef && inputRef.current) {
88 124
         inputRef.current.focus();

+ 1
- 1
eslib/PriceOptions/index.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 0
- 21
eslib/RichTextEditor/index.d.ts Visa fil

@@ -1,21 +0,0 @@
1
-/// <reference types="react" />
2
-import React from "react";
3
-import { EditorState, DraftEditorCommand, ContentBlock } from "draft-js";
4
-interface RichTextEditorProps {
5
-}
6
-interface RichTextEditorState {
7
-    editorState: EditorState;
8
-}
9
-declare class RichTextEditor extends React.Component<RichTextEditorProps, RichTextEditorState> {
10
-    constructor(props: RichTextEditorProps);
11
-    onChange: (editorState: EditorState) => void;
12
-    handleKeyCommand(command: DraftEditorCommand, editorState: EditorState): "not-handled" | "handled";
13
-    _onBoldClick(): void;
14
-    _onLinkClick(): void;
15
-    _onEmojiClick(e: React.MouseEvent, emojiCode: string): void;
16
-    _onCheckRange(): void;
17
-    defaultBlockStyleFn(contentBlock: ContentBlock): string;
18
-    defaultBlockRenderFn(contentBlock: ContentBlock): ContentBlock;
19
-    render(): JSX.Element;
20
-}
21
-export { RichTextEditor as default };

+ 0
- 201
eslib/RichTextEditor/index.js Visa fil

@@ -1,201 +0,0 @@
1
-import { a as _inherits, b as _createClass, c as _classCallCheck, d as _possibleConstructorReturn, e as _getPrototypeOf, i as _assertThisInitialized } from '../_rollupPluginBabelHelpers-22a1b8cb.js';
2
-import React from 'react';
3
-import 'react-dom';
4
-import { s as styleInject } from '../style-inject.es-1f59c1d0.js';
5
-import '../_commonjsHelpers-97e6d7b1.js';
6
-import { a as Draft_4, b as Draft_3, c as Draft_15, d as Draft_14, e as Draft_20, f as Draft_1 } from '../Draft-eeda2ee2.js';
7
-import '../_react-dom_commonjs-external-d3012e04.js';
8
-
9
-var css = ".RichTextEditor_wrapper__A033L .RichTextEditor_btnListWrapper__3iF9d {\n  display: flex;\n}\n.RichTextEditor_wrapper__A033L .RichTextEditor_editorWrapper__PzQ_1 {\n  border: 1px solid #ccc;\n}\n";
10
-var styles = {
11
-  "wrapper": "RichTextEditor_wrapper__A033L",
12
-  "btnListWrapper": "RichTextEditor_btnListWrapper__3iF9d",
13
-  "editorWrapper": "RichTextEditor_editorWrapper__PzQ_1"
14
-};
15
-styleInject(css);
16
-
17
-var Link = function Link(props) {
18
-  var _props$contentState$g = props.contentState.getEntity(props.entityKey).getData(),
19
-      url = _props$contentState$g.url;
20
-
21
-  return React.createElement("a", {
22
-    href: url
23
-  }, props.children);
24
-};
25
-
26
-var decorator = new Draft_4([{
27
-  strategy: function strategy(contentBlock, callback, contentState) {
28
-    contentBlock.findEntityRanges(function (character) {
29
-      var entityKey = character.getEntity();
30
-      return entityKey !== null && contentState.getEntity(entityKey).getType() === 'LINK';
31
-    }, function () {
32
-      callback.apply(void 0, arguments);
33
-    });
34
-  },
35
-  component: Link
36
-}, {
37
-  strategy: function strategy(contentBlock, callback, contentState) {
38
-    contentBlock.findEntityRanges(function (character) {
39
-      var entityKey = character.getEntity();
40
-      return entityKey !== null && contentState.getEntity(entityKey).getType() === 'EMOJI';
41
-    }, function () {
42
-      callback.apply(void 0, arguments);
43
-    });
44
-  },
45
-  component: function component(props) {
46
-    return React.createElement("i", {
47
-      style: {
48
-        display: 'inline-block',
49
-        height: '18px',
50
-        width: '18px',
51
-        backgroundImage: "url(https://i.pinimg.com/originals/03/7e/79/037e79b2fb52127537be79110891ae3f.png)",
52
-        backgroundSize: '100% 100%',
53
-        color: 'transparent'
54
-      }
55
-    }, "e");
56
-  }
57
-}]);
58
-
59
-var RichTextEditor =
60
-/*#__PURE__*/
61
-function (_React$Component) {
62
-  _inherits(RichTextEditor, _React$Component);
63
-
64
-  function RichTextEditor(props) {
65
-    var _this;
66
-
67
-    _classCallCheck(this, RichTextEditor);
68
-
69
-    _this = _possibleConstructorReturn(this, _getPrototypeOf(RichTextEditor).call(this, props));
70
-    _this.state = {
71
-      editorState: Draft_3.createEmpty(decorator)
72
-    };
73
-
74
-    _this.onChange = function (editorState) {
75
-      return _this.setState({
76
-        editorState: editorState
77
-      });
78
-    };
79
-
80
-    _this.handleKeyCommand = _this.handleKeyCommand.bind(_assertThisInitialized(_this));
81
-    _this.defaultBlockStyleFn = _this.defaultBlockStyleFn.bind(_assertThisInitialized(_this));
82
-    return _this;
83
-  }
84
-
85
-  _createClass(RichTextEditor, [{
86
-    key: "handleKeyCommand",
87
-    value: function handleKeyCommand(command, editorState) {
88
-      var newState = Draft_15.handleKeyCommand(editorState, command);
89
-      console.log('command: ', command);
90
-      console.log('newState: ', newState);
91
-
92
-      if (newState) {
93
-        this.onChange(newState);
94
-        return "handled";
95
-      }
96
-
97
-      switch (command) {
98
-        case 'backspace':
99
-          var contentState = editorState.getCurrentContent();
100
-          var selectionState = editorState.getSelection();
101
-          var _ref = [selectionState.getStartOffset(), selectionState.getEndOffset()],
102
-              startOffset = _ref[0],
103
-              endOffset = _ref[1];
104
-
105
-          if (startOffset === endOffset) {
106
-            console.log(selectionState.getAnchorKey());
107
-          }
108
-
109
-          break;
110
-      }
111
-
112
-      return "not-handled";
113
-    }
114
-  }, {
115
-    key: "_onBoldClick",
116
-    value: function _onBoldClick() {
117
-      this.onChange(Draft_15.toggleInlineStyle(this.state.editorState, 'BOLD'));
118
-    }
119
-  }, {
120
-    key: "_onLinkClick",
121
-    value: function _onLinkClick() {
122
-      var editorState = this.state.editorState;
123
-      var contentState = editorState.getCurrentContent();
124
-      var selectionState = editorState.getSelection();
125
-      var contentStateWithEntity = contentState.createEntity('LINK', 'MUTABLE', {
126
-        url: 'http://www.zombo.com'
127
-      });
128
-      var entityKey = contentStateWithEntity.getLastCreatedEntityKey();
129
-      var contentStateWithLink = Draft_14.applyEntity(contentStateWithEntity, selectionState, entityKey);
130
-      var newEditorState = Draft_3.push(editorState, contentStateWithLink, 'apply-entity');
131
-      this.onChange(newEditorState);
132
-    }
133
-  }, {
134
-    key: "_onEmojiClick",
135
-    value: function _onEmojiClick(e, emojiCode) {
136
-      var editorState = this.state.editorState;
137
-      var contentState = editorState.getCurrentContent();
138
-      var selectionState = editorState.getSelection();
139
-      var EMOJIEntity = contentState.createEntity('EMOJI', 'IMMUTABLE', {
140
-        emojiCode: emojiCode
141
-      });
142
-      var entityKey = EMOJIEntity.getLastCreatedEntityKey();
143
-      var ncsWithEntity = Draft_14.insertText(contentState, selectionState, 'e', undefined, entityKey);
144
-      var newEditorState = Draft_3.push(editorState, ncsWithEntity, 'insert-characters');
145
-      this.onChange(newEditorState);
146
-    }
147
-  }, {
148
-    key: "_onCheckRange",
149
-    value: function _onCheckRange() {
150
-      console.log(this.state.editorState.getCurrentContent());
151
-      console.log(Draft_20(this.state.editorState.getCurrentContent()));
152
-    }
153
-  }, {
154
-    key: "defaultBlockStyleFn",
155
-    value: function defaultBlockStyleFn(contentBlock) {
156
-      var type = contentBlock.getType();
157
-      return "";
158
-    }
159
-  }, {
160
-    key: "defaultBlockRenderFn",
161
-    value: function defaultBlockRenderFn(contentBlock) {
162
-      var type = contentBlock.getType();
163
-      return contentBlock;
164
-    }
165
-  }, {
166
-    key: "render",
167
-    value: function render() {
168
-      var _this2 = this;
169
-
170
-      var editorState = this.state.editorState;
171
-      return React.createElement("div", {
172
-        className: styles.wrapper
173
-      }, React.createElement("div", {
174
-        className: styles.btnListWrapper
175
-      }, React.createElement("button", {
176
-        onClick: this._onBoldClick.bind(this)
177
-      }, "Bold"), React.createElement("button", {
178
-        onClick: this._onCheckRange.bind(this)
179
-      }, "Check"), React.createElement("button", {
180
-        onClick: this._onLinkClick.bind(this)
181
-      }, "Link"), React.createElement("button", {
182
-        onClick: function onClick(e) {
183
-          return _this2._onEmojiClick(e, '0011');
184
-        }
185
-      }, "Emoji")), React.createElement("div", {
186
-        className: styles.editorWrapper
187
-      }, React.createElement(Draft_1, {
188
-        editorState: editorState,
189
-        blockStyleFn: this.defaultBlockStyleFn,
190
-        blockRendererFn: this.defaultBlockRenderFn,
191
-        handleKeyCommand: this.handleKeyCommand,
192
-        onChange: this.onChange
193
-      })));
194
-    }
195
-  }]);
196
-
197
-  return RichTextEditor;
198
-}(React.Component);
199
-
200
-export default RichTextEditor;
201
-//# sourceMappingURL=index.js.map

+ 0
- 1
eslib/RichTextEditor/index.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 0
- 3
eslib/RichTextEditorForSlate/index.d.ts Visa fil

@@ -1,3 +0,0 @@
1
-/// <reference types="react" />
2
-declare const RichTextEditorForSlate: () => JSX.Element;
3
-export { RichTextEditorForSlate as default };

+ 0
- 10257
eslib/RichTextEditorForSlate/index.js
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 0
- 1
eslib/RichTextEditorForSlate/index.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 2
- 2
eslib/WaitPayInfoView/index.js Visa fil

@@ -1,4 +1,4 @@
1
-import { a as _inherits, b as _createClass, c as _classCallCheck, d as _possibleConstructorReturn, e as _getPrototypeOf } from '../_rollupPluginBabelHelpers-22a1b8cb.js';
1
+import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _getPrototypeOf, e as _createClass } from '../inherits-6cb67931.js';
2 2
 import React, { Component } from 'react';
3 3
 import { s as styleInject } from '../style-inject.es-1f59c1d0.js';
4 4
 import '../_commonjsHelpers-97e6d7b1.js';
@@ -10,7 +10,7 @@ var styles = {
10 10
 };
11 11
 styleInject(css);
12 12
 
13
-const img = "data:image/svg+xml,%3c%3fxml version='1.0' encoding='UTF-8'%3f%3e%3csvg width='48px' height='43px' viewBox='0 0 48 43' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e %3c!-- Generator: Sketch 50.2 (55047) - http://www.bohemiancoding.com/sketch --%3e %3ctitle%3ekcxq_popovers_icon_tanhao%3c/title%3e %3cdesc%3eCreated with Sketch.%3c/desc%3e %3cdefs%3e%3c/defs%3e %3cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3e %3cg id='%e5%8f%a6%e5%ae%a2%e7%bd%91_%e7%9b%b4%e6%92%ad%e8%af%be_%e8%af%be%e7%a8%8b%e4%bb%8b%e7%bb%8d%e8%af%a6%e6%83%85_%e8%b4%ad%e4%b9%b0%e6%8f%90%e7%a4%ba%e5%bc%b9%e7%aa%97' transform='translate(-936.000000%2c -190.000000)' fill-rule='nonzero'%3e %3cg id='Group-22' transform='translate(690.000000%2c 110.000000)'%3e %3cg id='kcxq_popovers_icon_tanhao' transform='translate(246.000000%2c 80.000000)'%3e %3cpath d='M48%2c21.5 C48%2c33.3736626 38.3645756%2c43 26.4797048%2c43 C21.1306273%2c43 17.0391144%2c42.1506173 13.2841328%2c38.9300412 C11.8140221%2c37.6736626 1.700369%2c43.2123457 0.177121771%2c39.2839506 C-1.06273063%2c36.0987654 5.95129151%2c29.2506173 5.31365314%2c27.0740741 C4.76457565%2c25.1806584 4.95940959%2c23.5703704 4.95940959%2c21.5 C4.95940959%2c9.62633745 14.5948339%2c0 26.4797048%2c0 C38.3645756%2c0 48%2c9.62633745 48%2c21.5 Z' id='Shape' fill='%231790FF'%3e%3c/path%3e %3cg id='Group' transform='translate(23.848708%2c 8.193416)' fill='white'%3e %3cpath d='M2.5%2c27.4971098 C1.13235294%2c27.4971098 0%2c26.3794628 0%2c24.9971098 C0%2c23.6147569 1.13235294%2c22.4971098 2.5%2c22.4971098 C3.86764706%2c22.4971098 5%2c23.6147569 5%2c24.9971098 C5%2c26.3794628 3.86764706%2c27.4971098 2.5%2c27.4971098 Z M2.5%2c19.4219653 C1.13235294%2c19.4219653 0%2c18.1919075 0%2c16.6705202 L0%2c2.75144509 C0%2c1.24624277 1.13235294%2c0 2.5%2c0 C3.86764706%2c0 5%2c1.2300578 5%2c2.75144509 L5%2c16.6705202 C5%2c18.1919075 3.86764706%2c19.4219653 2.5%2c19.4219653 Z' id='Shape'%3e%3c/path%3e %3c/g%3e %3c/g%3e %3c/g%3e %3c/g%3e %3c/g%3e%3c/svg%3e";
13
+var img = "data:image/svg+xml,%3c%3fxml version='1.0' encoding='UTF-8'%3f%3e%3csvg width='48px' height='43px' viewBox='0 0 48 43' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e %3c!-- Generator: Sketch 50.2 (55047) - http://www.bohemiancoding.com/sketch --%3e %3ctitle%3ekcxq_popovers_icon_tanhao%3c/title%3e %3cdesc%3eCreated with Sketch.%3c/desc%3e %3cdefs%3e%3c/defs%3e %3cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3e %3cg id='%e5%8f%a6%e5%ae%a2%e7%bd%91_%e7%9b%b4%e6%92%ad%e8%af%be_%e8%af%be%e7%a8%8b%e4%bb%8b%e7%bb%8d%e8%af%a6%e6%83%85_%e8%b4%ad%e4%b9%b0%e6%8f%90%e7%a4%ba%e5%bc%b9%e7%aa%97' transform='translate(-936.000000%2c -190.000000)' fill-rule='nonzero'%3e %3cg id='Group-22' transform='translate(690.000000%2c 110.000000)'%3e %3cg id='kcxq_popovers_icon_tanhao' transform='translate(246.000000%2c 80.000000)'%3e %3cpath d='M48%2c21.5 C48%2c33.3736626 38.3645756%2c43 26.4797048%2c43 C21.1306273%2c43 17.0391144%2c42.1506173 13.2841328%2c38.9300412 C11.8140221%2c37.6736626 1.700369%2c43.2123457 0.177121771%2c39.2839506 C-1.06273063%2c36.0987654 5.95129151%2c29.2506173 5.31365314%2c27.0740741 C4.76457565%2c25.1806584 4.95940959%2c23.5703704 4.95940959%2c21.5 C4.95940959%2c9.62633745 14.5948339%2c0 26.4797048%2c0 C38.3645756%2c0 48%2c9.62633745 48%2c21.5 Z' id='Shape' fill='%231790FF'%3e%3c/path%3e %3cg id='Group' transform='translate(23.848708%2c 8.193416)' fill='white'%3e %3cpath d='M2.5%2c27.4971098 C1.13235294%2c27.4971098 0%2c26.3794628 0%2c24.9971098 C0%2c23.6147569 1.13235294%2c22.4971098 2.5%2c22.4971098 C3.86764706%2c22.4971098 5%2c23.6147569 5%2c24.9971098 C5%2c26.3794628 3.86764706%2c27.4971098 2.5%2c27.4971098 Z M2.5%2c19.4219653 C1.13235294%2c19.4219653 0%2c18.1919075 0%2c16.6705202 L0%2c2.75144509 C0%2c1.24624277 1.13235294%2c0 2.5%2c0 C3.86764706%2c0 5%2c1.2300578 5%2c2.75144509 L5%2c16.6705202 C5%2c18.1919075 3.86764706%2c19.4219653 2.5%2c19.4219653 Z' id='Shape'%3e%3c/path%3e %3c/g%3e %3c/g%3e %3c/g%3e %3c/g%3e %3c/g%3e%3c/svg%3e";
14 14
 
15 15
 var Button = function Button() {
16 16
   for (var _len = arguments.length, props = new Array(_len), _key = 0; _key < _len; _key++) {

+ 1
- 1
eslib/WaitPayInfoView/index.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 2
- 5
eslib/WantedPublishPopover/index.d.ts Visa fil

@@ -1,11 +1,8 @@
1 1
 /// <reference types="react" />
2 2
 import React from 'react';
3
+import { PopoverProps } from 'antd/lib/popover';
3 4
 interface WantedPublishPopoverProp {
4
-    popoverConfig?: {
5
-        placement?: "left" | "top" | "right" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom" | undefined;
6
-        trigger?: "hover" | "focus" | "click" | "contextMenu" | undefined;
7
-        getPopupContainer?: any;
8
-    };
5
+    popoverConfig?: PopoverProps;
9 6
     handleConfirm?: Function;
10 7
 }
11 8
 interface WantedPublishPopoverState {

+ 13
- 10
eslib/WantedPublishPopover/index.js Visa fil

@@ -1,19 +1,19 @@
1
-import { a as _inherits, b as _createClass, c as _classCallCheck, d as _possibleConstructorReturn, e as _getPrototypeOf } from '../_rollupPluginBabelHelpers-22a1b8cb.js';
1
+import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _getPrototypeOf, e as _createClass } from '../inherits-6cb67931.js';
2 2
 import React from 'react';
3 3
 import { s as styleInject } from '../style-inject.es-1f59c1d0.js';
4
+import '../defineProperty-18999f8e.js';
4 5
 import '../_commonjsHelpers-97e6d7b1.js';
5 6
 import '../index-c9837619.js';
6 7
 import { Popover } from 'antd';
7 8
 import WantedPublishView from '../WantedPublishView/index.js';
8 9
 
9
-const img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAAAFNElEQVRYR82Yf0jcdRjH33enp1NbTQ3FdKhTY64hTTsURc6keQeSqIPSQJIiMHM3zj8ST/BE/And+c8wmSSMomHl4EaaP2aeuq/R1MwrraEgLVbLXcvpReY847l9v3I7774/LKUHjuN79/k8z+v7+fG8n89Hhv+pyf4F1xEAxwE8BSAIQDAAPwB/AnCwnzsAVgHsSI0jFcwfwEkA8QAiRAYj0BUACwDsIvtALJgcwLMA0tjREevfs90tADcBbAg5EAN2FEAegFAhZyL/3wYwBeB7vvZCYFEAzgIIEBlUSjMCYwA4vXXiA6N1lAuApvGg7DaAL7zB+QILB1DA7rKDguL80shNegbxBkZbv4jd/gcNxfmfYHftbjxvYDR9CYdFxMahDfExm/tcP3mC0RQWHzIUF+5HAGPcgydYPoBn+MCSk5ODm5ubs4qKigadTq8b6rHuFRUVcYmJicf0ev2swAuTOnwC4L7niD0J4FW+zvHx8YEMw+gjIiKOz8zM3MjIyPhwa2vLp9xUV1cntra2VioUCv+WlpYug8EwLwD3HYAbnmApANL5OlZVVZ0wm806hUKhpHbz8/Nfq1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TVJDh81XgJwnQOLY8Vasp+CgoKI3t7ed5VKJSmGy4aGhvrz8vIskp096kDF5TUOjCpR7X4c9fX1nS0sLCQJ27XV1dXbubm5HTabjSpZqfYTgAEOLAzAOake+vv787VaLSVlsh2Hw/EgODiY8iHsdvsdjUbTMT09/UCi3x9oeXJgtLvKpDgYHR0tzMnJoQISOzs7zq6urss9PT0LAwMDF0JDQ6mOw9ra2t38/Hzz5OTkHxJ8k0Lc5MDo+3UArsTJZ3K5HOPj469kZmbmsFDbHR0dH+j1+hl6TklJCRkZGdGFh4fH0PP6+vq94uJi8/DwsNh6/0sAt9y18kUAiXxQ/v7+MoZhXktLS8uidk6n82FbW9ul2trab937JSUlBVmt1vORkZGx9LvD4bhfWlpqtlgsvwm8NykIqcNf7mBUsb7E19FoNJ6qr6+vojbb29t/NzY2vt/Q0ECnnz0WGxsbODEx8U50dLSrhFpeXrYlJCRcFAD7BYBrN7uDkXzQOqOzoU+zWCwarVarNRgMF9vb2+nU49OioqKUDMO8HRIScjQ7O/u9hYUFoV1KZwCbJxg9vwDgjNA6U6vVx8bGxlzliZCFhYX5xcTEHJmbm1sXaEvnzysAtryB0eIvAeAS6EO2caoJuJjeSutTAFyL+xDtdwCkqbsViq9T0mHW/ZsArlLacx8IX2C0AV4G8PQBjxqlh34AP3vG4TvwkihrDhCOTkZ0+KBqYo8JXRHQyKkBnPiPR4524CAAnwlXCIzjOc3e9AhKlogXoCspOnnz5jSxYBSPLlaeB/AcAFfZLNHuAvgKwK9i+kkB4/xRjqP6jXSQhJpPKUi4aYToc08MEF8ek9KfRo675qRv7qqTu+6kVLAv28+I7SuQ1E7/AHTQdDZ7M6+KAAAAAElFTkSuQmCC";
10 11
 
11
-var css = ".WantedPublishPopover_wanted_wrapper__3jkl0 {\n  width: 366px;\n  height: 424px;\n  font-size: 18px;\n  text-align: center;\n}\n.WantedPublishPopover_wanted_wrapper__3jkl0 .WantedPublishPopover_close_btn__1j-1P {\n  position: absolute;\n  top: 10px;\n  right: 16px;\n  width: 20px;\n  height: 20px;\n}\n.WantedPublishPopover_wanted_wrapper__3jkl0 .WantedPublishPopover_close_btn__1j-1P > button {\n  border: none;\n  padding: 0px;\n  margin: 0px;\n  cursor: pointer;\n}\n.WantedPublishPopover_wanted_wrapper__3jkl0 .WantedPublishPopover_close_btn__1j-1P > button > img {\n  width: 100%;\n}\n";
12
+var css = ".WantedPublishPopover_wantedWrapper__3CrCz {\n  width: 366px;\n  height: 424px;\n  font-size: 18px;\n  text-align: center;\n}\n.WantedPublishPopover_wantedWrapper__3CrCz .WantedPublishPopover_closeBtnWrapper__1KV58 {\n  position: absolute;\n  top: 10px;\n  right: 16px;\n  width: 20px;\n  height: 20px;\n}\n.WantedPublishPopover_wantedWrapper__3CrCz .WantedPublishPopover_closeBtnWrapper__1KV58:focus {\n  outline: none;\n}\n.WantedPublishPopover_wantedWrapper__3CrCz .WantedPublishPopover_closeBtnWrapper__1KV58 > div.WantedPublishPopover_closeBtn__1aBMB {\n  border: none;\n  padding: 0px;\n  margin: 0px;\n  cursor: pointer;\n}\n.WantedPublishPopover_wantedWrapper__3CrCz .WantedPublishPopover_closeBtnWrapper__1KV58 > div.WantedPublishPopover_closeBtn__1aBMB > img {\n  width: 100%;\n}\n";
12 13
 var styles = {
13
-  "wanted_wrapper": "WantedPublishPopover_wanted_wrapper__3jkl0",
14
-  "close_btn": "WantedPublishPopover_close_btn__1j-1P",
15
-  "wantedWrapper": "WantedPublishPopover_wanted_wrapper__3jkl0",
16
-  "closeBtn": "WantedPublishPopover_close_btn__1j-1P"
14
+  "wantedWrapper": "WantedPublishPopover_wantedWrapper__3CrCz",
15
+  "closeBtnWrapper": "WantedPublishPopover_closeBtnWrapper__1KV58",
16
+  "closeBtn": "WantedPublishPopover_closeBtn__1aBMB"
17 17
 };
18 18
 styleInject(css);
19 19
 
@@ -128,10 +128,13 @@ function (_React$Component) {
128 128
         }
129 129
       }, popoverConfig, {
130 130
         content: React.createElement("div", {
131
-          className: styles.wanted_wrapper
131
+          className: styles.wantedWrapper
132 132
         }, React.createElement("div", {
133
-          className: styles.close_btn
134
-        }, React.createElement("button", {
133
+          role: "button",
134
+          tabIndex: 1,
135
+          className: styles.closeBtnWrapper
136
+        }, React.createElement("div", {
137
+          className: styles.closeBtn,
135 138
           onClick: this.handleClose
136 139
         }, React.createElement("img", {
137 140
           src: img,

+ 1
- 1
eslib/WantedPublishPopover/index.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 3
- 2
eslib/WantedPublishView/index.js
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 1
- 1
eslib/WantedPublishView/index.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 0
- 7
eslib/_react-dom_commonjs-external-d3012e04.js Visa fil

@@ -1,7 +0,0 @@
1
-import React from 'react';
2
-import reactDom from 'react-dom';
3
-
4
-
5
-
6
-export { React as R, reactDom as r };
7
-//# sourceMappingURL=_react-dom_commonjs-external-d3012e04.js.map

+ 0
- 1
eslib/_react-dom_commonjs-external-d3012e04.js.map Visa fil

@@ -1 +0,0 @@
1
-{"version":3,"file":"_react-dom_commonjs-external-d3012e04.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}

+ 0
- 178
eslib/_rollupPluginBabelHelpers-22a1b8cb.js Visa fil

@@ -1,178 +0,0 @@
1
-function _typeof(obj) {
2
-  "@babel/helpers - typeof";
3
-
4
-  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
5
-    _typeof = function (obj) {
6
-      return typeof obj;
7
-    };
8
-  } else {
9
-    _typeof = function (obj) {
10
-      return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
11
-    };
12
-  }
13
-
14
-  return _typeof(obj);
15
-}
16
-
17
-function _classCallCheck(instance, Constructor) {
18
-  if (!(instance instanceof Constructor)) {
19
-    throw new TypeError("Cannot call a class as a function");
20
-  }
21
-}
22
-
23
-function _defineProperties(target, props) {
24
-  for (var i = 0; i < props.length; i++) {
25
-    var descriptor = props[i];
26
-    descriptor.enumerable = descriptor.enumerable || false;
27
-    descriptor.configurable = true;
28
-    if ("value" in descriptor) descriptor.writable = true;
29
-    Object.defineProperty(target, descriptor.key, descriptor);
30
-  }
31
-}
32
-
33
-function _createClass(Constructor, protoProps, staticProps) {
34
-  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
35
-  if (staticProps) _defineProperties(Constructor, staticProps);
36
-  return Constructor;
37
-}
38
-
39
-function _defineProperty(obj, key, value) {
40
-  if (key in obj) {
41
-    Object.defineProperty(obj, key, {
42
-      value: value,
43
-      enumerable: true,
44
-      configurable: true,
45
-      writable: true
46
-    });
47
-  } else {
48
-    obj[key] = value;
49
-  }
50
-
51
-  return obj;
52
-}
53
-
54
-function ownKeys(object, enumerableOnly) {
55
-  var keys = Object.keys(object);
56
-
57
-  if (Object.getOwnPropertySymbols) {
58
-    var symbols = Object.getOwnPropertySymbols(object);
59
-    if (enumerableOnly) symbols = symbols.filter(function (sym) {
60
-      return Object.getOwnPropertyDescriptor(object, sym).enumerable;
61
-    });
62
-    keys.push.apply(keys, symbols);
63
-  }
64
-
65
-  return keys;
66
-}
67
-
68
-function _objectSpread2(target) {
69
-  for (var i = 1; i < arguments.length; i++) {
70
-    var source = arguments[i] != null ? arguments[i] : {};
71
-
72
-    if (i % 2) {
73
-      ownKeys(Object(source), true).forEach(function (key) {
74
-        _defineProperty(target, key, source[key]);
75
-      });
76
-    } else if (Object.getOwnPropertyDescriptors) {
77
-      Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
78
-    } else {
79
-      ownKeys(Object(source)).forEach(function (key) {
80
-        Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
81
-      });
82
-    }
83
-  }
84
-
85
-  return target;
86
-}
87
-
88
-function _inherits(subClass, superClass) {
89
-  if (typeof superClass !== "function" && superClass !== null) {
90
-    throw new TypeError("Super expression must either be null or a function");
91
-  }
92
-
93
-  subClass.prototype = Object.create(superClass && superClass.prototype, {
94
-    constructor: {
95
-      value: subClass,
96
-      writable: true,
97
-      configurable: true
98
-    }
99
-  });
100
-  if (superClass) _setPrototypeOf(subClass, superClass);
101
-}
102
-
103
-function _getPrototypeOf(o) {
104
-  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
105
-    return o.__proto__ || Object.getPrototypeOf(o);
106
-  };
107
-  return _getPrototypeOf(o);
108
-}
109
-
110
-function _setPrototypeOf(o, p) {
111
-  _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
112
-    o.__proto__ = p;
113
-    return o;
114
-  };
115
-
116
-  return _setPrototypeOf(o, p);
117
-}
118
-
119
-function _assertThisInitialized(self) {
120
-  if (self === void 0) {
121
-    throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
122
-  }
123
-
124
-  return self;
125
-}
126
-
127
-function _possibleConstructorReturn(self, call) {
128
-  if (call && (typeof call === "object" || typeof call === "function")) {
129
-    return call;
130
-  }
131
-
132
-  return _assertThisInitialized(self);
133
-}
134
-
135
-function _slicedToArray(arr, i) {
136
-  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
137
-}
138
-
139
-function _arrayWithHoles(arr) {
140
-  if (Array.isArray(arr)) return arr;
141
-}
142
-
143
-function _iterableToArrayLimit(arr, i) {
144
-  if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
145
-    return;
146
-  }
147
-
148
-  var _arr = [];
149
-  var _n = true;
150
-  var _d = false;
151
-  var _e = undefined;
152
-
153
-  try {
154
-    for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
155
-      _arr.push(_s.value);
156
-
157
-      if (i && _arr.length === i) break;
158
-    }
159
-  } catch (err) {
160
-    _d = true;
161
-    _e = err;
162
-  } finally {
163
-    try {
164
-      if (!_n && _i["return"] != null) _i["return"]();
165
-    } finally {
166
-      if (_d) throw _e;
167
-    }
168
-  }
169
-
170
-  return _arr;
171
-}
172
-
173
-function _nonIterableRest() {
174
-  throw new TypeError("Invalid attempt to destructure non-iterable instance");
175
-}
176
-
177
-export { _typeof as _, _inherits as a, _createClass as b, _classCallCheck as c, _possibleConstructorReturn as d, _getPrototypeOf as e, _defineProperty as f, _objectSpread2 as g, _slicedToArray as h, _assertThisInitialized as i };
178
-//# sourceMappingURL=_rollupPluginBabelHelpers-22a1b8cb.js.map

+ 0
- 1
eslib/_rollupPluginBabelHelpers-22a1b8cb.js.map Visa fil

@@ -1 +0,0 @@
1
-{"version":3,"file":"_rollupPluginBabelHelpers-22a1b8cb.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}

eslib/Draft-eeda2ee2.d.ts → eslib/defineProperty-18999f8e.d.ts Visa fil


+ 17
- 0
eslib/defineProperty-18999f8e.js Visa fil

@@ -0,0 +1,17 @@
1
+function _defineProperty(obj, key, value) {
2
+  if (key in obj) {
3
+    Object.defineProperty(obj, key, {
4
+      value: value,
5
+      enumerable: true,
6
+      configurable: true,
7
+      writable: true
8
+    });
9
+  } else {
10
+    obj[key] = value;
11
+  }
12
+
13
+  return obj;
14
+}
15
+
16
+export { _defineProperty as _ };
17
+//# sourceMappingURL=defineProperty-18999f8e.js.map

+ 1
- 0
eslib/defineProperty-18999f8e.js.map Visa fil

@@ -0,0 +1 @@
1
+{"version":3,"file":"defineProperty-18999f8e.js","sources":["../node_modules/@babel/runtime/helpers/esm/defineProperty.js"],"sourcesContent":["export default function _defineProperty(obj, key, value) {\n  if (key in obj) {\n    Object.defineProperty(obj, key, {\n      value: value,\n      enumerable: true,\n      configurable: true,\n      writable: true\n    });\n  } else {\n    obj[key] = value;\n  }\n\n  return obj;\n}"],"names":[],"mappings":"AAAe,SAAS,eAAe,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE;AACzD,EAAE,IAAI,GAAG,IAAI,GAAG,EAAE;AAClB,IAAI,MAAM,CAAC,cAAc,CAAC,GAAG,EAAE,GAAG,EAAE;AACpC,MAAM,KAAK,EAAE,KAAK;AAClB,MAAM,UAAU,EAAE,IAAI;AACtB,MAAM,YAAY,EAAE,IAAI;AACxB,MAAM,QAAQ,EAAE,IAAI;AACpB,KAAK,CAAC,CAAC;AACP,GAAG,MAAM;AACT,IAAI,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;AACrB,GAAG;AACH;AACA,EAAE,OAAO,GAAG,CAAC;AACb;;;;"}

+ 4
- 2
eslib/index.js Visa fil

@@ -1,13 +1,15 @@
1
-import './_rollupPluginBabelHelpers-22a1b8cb.js';
1
+import './inherits-6cb67931.js';
2 2
 import 'react';
3 3
 import 'react-dom';
4 4
 export { default as Modal } from './Modal/index.js';
5 5
 import './style-inject.es-1f59c1d0.js';
6
+import './defineProperty-18999f8e.js';
6 7
 import './_commonjsHelpers-97e6d7b1.js';
7 8
 import './index-c9837619.js';
8
-import './utils-3a540bc8.js';
9
+import './utils-6b513b37.js';
9 10
 export { default as ConsumeListView } from './ConsumeListView/index.js';
10 11
 export { default as PayPlatformOptions } from './PayPlatformOptions/index.js';
12
+import './slicedToArray-4cd9e6d3.js';
11 13
 import 'antd';
12 14
 export { default as PriceOptions } from './PriceOptions/index.js';
13 15
 export { default as WaitPayInfoView } from './WaitPayInfoView/index.js';

+ 1
- 1
eslib/index.js.map Visa fil

@@ -1 +1 @@
1
-{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
1
+{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}

eslib/_rollupPluginBabelHelpers-22a1b8cb.d.ts → eslib/inherits-6cb67931.d.ts Visa fil


+ 87
- 0
eslib/inherits-6cb67931.js Visa fil

@@ -0,0 +1,87 @@
1
+function _classCallCheck(instance, Constructor) {
2
+  if (!(instance instanceof Constructor)) {
3
+    throw new TypeError("Cannot call a class as a function");
4
+  }
5
+}
6
+
7
+function _defineProperties(target, props) {
8
+  for (var i = 0; i < props.length; i++) {
9
+    var descriptor = props[i];
10
+    descriptor.enumerable = descriptor.enumerable || false;
11
+    descriptor.configurable = true;
12
+    if ("value" in descriptor) descriptor.writable = true;
13
+    Object.defineProperty(target, descriptor.key, descriptor);
14
+  }
15
+}
16
+
17
+function _createClass(Constructor, protoProps, staticProps) {
18
+  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
19
+  if (staticProps) _defineProperties(Constructor, staticProps);
20
+  return Constructor;
21
+}
22
+
23
+function _typeof(obj) {
24
+  "@babel/helpers - typeof";
25
+
26
+  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
27
+    _typeof = function _typeof(obj) {
28
+      return typeof obj;
29
+    };
30
+  } else {
31
+    _typeof = function _typeof(obj) {
32
+      return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
33
+    };
34
+  }
35
+
36
+  return _typeof(obj);
37
+}
38
+
39
+function _assertThisInitialized(self) {
40
+  if (self === void 0) {
41
+    throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
42
+  }
43
+
44
+  return self;
45
+}
46
+
47
+function _possibleConstructorReturn(self, call) {
48
+  if (call && (_typeof(call) === "object" || typeof call === "function")) {
49
+    return call;
50
+  }
51
+
52
+  return _assertThisInitialized(self);
53
+}
54
+
55
+function _getPrototypeOf(o) {
56
+  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
57
+    return o.__proto__ || Object.getPrototypeOf(o);
58
+  };
59
+  return _getPrototypeOf(o);
60
+}
61
+
62
+function _setPrototypeOf(o, p) {
63
+  _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
64
+    o.__proto__ = p;
65
+    return o;
66
+  };
67
+
68
+  return _setPrototypeOf(o, p);
69
+}
70
+
71
+function _inherits(subClass, superClass) {
72
+  if (typeof superClass !== "function" && superClass !== null) {
73
+    throw new TypeError("Super expression must either be null or a function");
74
+  }
75
+
76
+  subClass.prototype = Object.create(superClass && superClass.prototype, {
77
+    constructor: {
78
+      value: subClass,
79
+      writable: true,
80
+      configurable: true
81
+    }
82
+  });
83
+  if (superClass) _setPrototypeOf(subClass, superClass);
84
+}
85
+
86
+export { _typeof as _, _inherits as a, _classCallCheck as b, _possibleConstructorReturn as c, _getPrototypeOf as d, _createClass as e };
87
+//# sourceMappingURL=inherits-6cb67931.js.map

+ 1
- 0
eslib/inherits-6cb67931.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


lib/Draft-4ccef031.d.ts → eslib/slicedToArray-4cd9e6d3.d.ts Visa fil


+ 44
- 0
eslib/slicedToArray-4cd9e6d3.js Visa fil

@@ -0,0 +1,44 @@
1
+function _arrayWithHoles(arr) {
2
+  if (Array.isArray(arr)) return arr;
3
+}
4
+
5
+function _iterableToArrayLimit(arr, i) {
6
+  if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
7
+    return;
8
+  }
9
+
10
+  var _arr = [];
11
+  var _n = true;
12
+  var _d = false;
13
+  var _e = undefined;
14
+
15
+  try {
16
+    for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
17
+      _arr.push(_s.value);
18
+
19
+      if (i && _arr.length === i) break;
20
+    }
21
+  } catch (err) {
22
+    _d = true;
23
+    _e = err;
24
+  } finally {
25
+    try {
26
+      if (!_n && _i["return"] != null) _i["return"]();
27
+    } finally {
28
+      if (_d) throw _e;
29
+    }
30
+  }
31
+
32
+  return _arr;
33
+}
34
+
35
+function _nonIterableRest() {
36
+  throw new TypeError("Invalid attempt to destructure non-iterable instance");
37
+}
38
+
39
+function _slicedToArray(arr, i) {
40
+  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
41
+}
42
+
43
+export { _slicedToArray as _ };
44
+//# sourceMappingURL=slicedToArray-4cd9e6d3.js.map

+ 1
- 0
eslib/slicedToArray-4cd9e6d3.js.map Visa fil

@@ -0,0 +1 @@
1
+{"version":3,"file":"slicedToArray-4cd9e6d3.js","sources":["../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"],"sourcesContent":["export default function _arrayWithHoles(arr) {\n  if (Array.isArray(arr)) return arr;\n}","export default function _iterableToArrayLimit(arr, i) {\n  if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === \"[object Arguments]\")) {\n    return;\n  }\n\n  var _arr = [];\n  var _n = true;\n  var _d = false;\n  var _e = undefined;\n\n  try {\n    for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n      _arr.push(_s.value);\n\n      if (i && _arr.length === i) break;\n    }\n  } catch (err) {\n    _d = true;\n    _e = err;\n  } finally {\n    try {\n      if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n    } finally {\n      if (_d) throw _e;\n    }\n  }\n\n  return _arr;\n}","export default function _nonIterableRest() {\n  throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n}","import arrayWithHoles from \"./arrayWithHoles\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit\";\nimport nonIterableRest from \"./nonIterableRest\";\nexport default function _slicedToArray(arr, i) {\n  return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || nonIterableRest();\n}"],"names":["arrayWithHoles","iterableToArrayLimit","nonIterableRest"],"mappings":"AAAe,SAAS,eAAe,CAAC,GAAG,EAAE;AAC7C,EAAE,IAAI,KAAK,CAAC,O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C;AACd;;CAAC,DC5Bc,SAAS,gBAAgB,GAAG;AAC3C,EAAE,MAAM,IAAI,SAAS,CAAC,sDAAsD,CAAC,CAAC;AAC9E;;CAAC,DCCc,SAAS,cAAc,CAAC,GAAG,EAAE,CAAC,EAAE;AAC/C,EAAE,OAAOA,eAAc,CAAC,GAAG,CAAC,IAAIC,qBAAoB,CAAC,GAAG,EAAE,CAAC,CAAC,IAAIC,gBAAe,EAAE,CAAC;AAClF;;;;"}

eslib/utils-3a540bc8.d.ts → eslib/utils-6b513b37.d.ts Visa fil


eslib/utils-3a540bc8.js → eslib/utils-6b513b37.js Visa fil

@@ -1,4 +1,4 @@
1
-import { f as _defineProperty } from './_rollupPluginBabelHelpers-22a1b8cb.js';
1
+import { _ as _defineProperty } from './defineProperty-18999f8e.js';
2 2
 
3 3
 var IMAGE_PROCESS = '?x-oss-process=image/resize,h_350';
4 4
 var IMAGE_PROCESS_SMALL = '?x-oss-process=image/resize,h_100';
@@ -32,4 +32,4 @@ function exportStyleSizeClass(styles, size) {
32 32
 }
33 33
 
34 34
 export { addImageProcess as a, exportStyleSizeClass as e };
35
-//# sourceMappingURL=utils-3a540bc8.js.map
35
+//# sourceMappingURL=utils-6b513b37.js.map

eslib/utils-3a540bc8.js.map → eslib/utils-6b513b37.js.map Visa fil

@@ -1 +1 @@
1
-{"version":3,"file":"utils-3a540bc8.js","sources":["../src/components/Payment/Utils/utils.ts"],"sourcesContent":["\r\nexport const IMAGE_PROCESS = '?x-oss-process=image/resize,h_350';\r\nexport const IMAGE_PROCESS_SMALL = '?x-oss-process=image/resize,h_100';\r\nexport const IMAGE_PROCESS_LARGE = '?x-oss-process=image/resize,h_500';\r\n\r\ninterface AddImageProcessOptions {\r\n  small?: boolean;\r\n  large?: boolean;\r\n  custom?: boolean;\r\n  width?: string;\r\n  height?: string;\r\n}\r\n\r\nexport function addImageProcess(url: string, options: AddImageProcessOptions = { width: '36px', height: '36px' }) {\r\n  // 防止重复添加导致的url不正确\r\n  if (url && url.indexOf('x-oss-process') > -1) {\r\n    return url;\r\n  }\r\n  if (options.small) {\r\n    return url + IMAGE_PROCESS_SMALL;\r\n  }\r\n  if (options.large) {\r\n    return url + IMAGE_PROCESS_LARGE;\r\n  }\r\n  if (options.custom) {\r\n    return `${url}?x-oss-process=image/resize,limit_0,m_fill,w_${options.width},h_${options.height}`;\r\n  }\r\n  return url + IMAGE_PROCESS;\r\n}\r\n\r\nexport function formatMoney(input: any, fuzz = 2) {\r\n  if (isNaN(+input)) {\r\n    return input;\r\n  }\r\n  return (+input).toFixed(fuzz);\r\n}\r\n\r\ntype classSize = 'small'|'normal'|'large';\r\n\r\nexport function exportStyleSizeClass(styles: any, size: classSize) {\r\n  return {\r\n    [styles[size]]: true,\r\n  }\r\n}"],"names":["IMAGE_PROCESS","IMAGE_PROCESS_SMALL","IMAGE_PROCESS_LARGE","addImageProcess","url","options","width","height","indexOf","small","large","custom","exportStyleSizeClass","styles","size"],"mappings":";;AACO,IAAMA,aAAa,GAAG,mCAAtB;AACA,IAAMC,mBAAmB,GAAG,mCAA5B;AACA,IAAMC,mBAAmB,GAAG,mCAA5B;AAUD,SAAUC,eAAV,CAA0BC,GAA1B,EAA0G;AAAA,MAAnEC,OAAmE,uEAAjC;AAAEC,IAAAA,KAAK,EAAE,MAAT;AAAiBC,IAAAA,MAAM,EAAE;AAAzB,GAAiC;;MAE1GH,GAAG,IAAIA,GAAG,CAACI,OAAJ,CAAY,eAAZ,IAA+B,CAAC,GAAG;WACrCJ;;;MAELC,OAAO,CAACI,OAAO;WACVL,GAAG,GAAGH;;;MAEXI,OAAO,CAACK,OAAO;WACVN,GAAG,GAAGF;;;MAEXG,OAAO,CAACM,QAAQ;qBACRP,6DAAmDC,OAAO,CAACC,qBAAWD,OAAO,CAACE;;;SAEnFH,GAAG,GAAGJ;;AAYT,SAAUY,oBAAV,CAA+BC,MAA/B,EAA4CC,IAA5C,EAA2D;6BAE5DD,MAAM,CAACC,IAAD,GAAS;;;;;"}
1
+{"version":3,"file":"utils-6b513b37.js","sources":["../src/components/Payment/Utils/utils.ts"],"sourcesContent":["\r\nexport const IMAGE_PROCESS = '?x-oss-process=image/resize,h_350';\r\nexport const IMAGE_PROCESS_SMALL = '?x-oss-process=image/resize,h_100';\r\nexport const IMAGE_PROCESS_LARGE = '?x-oss-process=image/resize,h_500';\r\n\r\ninterface AddImageProcessOptions {\r\n  small?: boolean;\r\n  large?: boolean;\r\n  custom?: boolean;\r\n  width?: string;\r\n  height?: string;\r\n}\r\n\r\nexport function addImageProcess(url: string, options: AddImageProcessOptions = { width: '36px', height: '36px' }) {\r\n  // 防止重复添加导致的url不正确\r\n  if (url && url.indexOf('x-oss-process') > -1) {\r\n    return url;\r\n  }\r\n  if (options.small) {\r\n    return url + IMAGE_PROCESS_SMALL;\r\n  }\r\n  if (options.large) {\r\n    return url + IMAGE_PROCESS_LARGE;\r\n  }\r\n  if (options.custom) {\r\n    return `${url}?x-oss-process=image/resize,limit_0,m_fill,w_${options.width},h_${options.height}`;\r\n  }\r\n  return url + IMAGE_PROCESS;\r\n}\r\n\r\nexport function formatMoney(input: any, fuzz = 2) {\r\n  if (isNaN(+input)) {\r\n    return input;\r\n  }\r\n  return (+input).toFixed(fuzz);\r\n}\r\n\r\ntype classSize = 'small'|'normal'|'large';\r\n\r\nexport function exportStyleSizeClass(styles: any, size: classSize) {\r\n  return {\r\n    [styles[size]]: true,\r\n  }\r\n}"],"names":["IMAGE_PROCESS","IMAGE_PROCESS_SMALL","IMAGE_PROCESS_LARGE","addImageProcess","url","options","width","height","indexOf","small","large","custom","exportStyleSizeClass","styles","size"],"mappings":";;AACO,IAAMA,aAAa,GAAG,mCAAtB;AACA,IAAMC,mBAAmB,GAAG,mCAA5B;AACA,IAAMC,mBAAmB,GAAG,mCAA5B;AAUD,SAAUC,eAAV,CAA0BC,GAA1B,EAA0G;MAAnEC,OAAmE,uEAAjC;AAAEC,IAAAA,KAAK,EAAE,MAAT;AAAiBC,IAAAA,MAAM,EAAE;AAAzB;;MAEzEH,GAAG,IAAIA,GAAG,CAACI,OAAJ,CAAY,eAAZ,IAA+B,CAAC,GAAG;WACrCJ;;;MAELC,OAAO,CAACI,OAAO;WACVL,GAAG,GAAGH;;;MAEXI,OAAO,CAACK,OAAO;WACVN,GAAG,GAAGF;;;MAEXG,OAAO,CAACM,QAAQ;qBACRP,6DAAmDC,OAAO,CAACC,qBAAWD,OAAO,CAACE;;;SAEnFH,GAAG,GAAGJ;;AAYT,SAAUY,oBAAV,CAA+BC,MAA/B,EAA4CC,IAA5C,EAA2D;6BAE5DD,MAAM,CAACC,IAAD,GAAS;;;;;"}

+ 6
- 6
lib/AllocWantedModal/index.js Visa fil

@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4 4
 
5 5
 function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
6 6
 
7
-var _rollupPluginBabelHelpers = require('../_rollupPluginBabelHelpers-0494a5d0.js');
7
+var inherits = require('../inherits-c86d64c1.js');
8 8
 var React = require('react');
9 9
 var React__default = _interopDefault(React);
10 10
 require('react-dom');
@@ -12,7 +12,7 @@ var Modal = require('../Modal/index.js');
12 12
 var styleInject_es = require('../style-inject.es-dcee06b6.js');
13 13
 var antd = require('antd');
14 14
 
15
-const img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAACMUlEQVQ4T52Uz4tSURTHPxP9oCkKy0UuIqvZSAsrHHgLEaFSDCJoU0GpQaBgqOCmP6AWKrR5kIELNzZZUUQLlReFFowOboQK2oyLkgExsxqJoprixlx5yXs1dXbvnO/93HPPO+dM8WfbCuwANgNfgA/A0OzIlElgH3AIsBrEl4EXwEvguz4+CdsIHAV2/yVjEX4PVFez/SXXwzYAJ4GdawBJyWfggQTqYSKj/f8AklKR4V1gRcJ2rWY1Zvl8PqumaW8n4YFAwFqpVCb988BzCTsCzMiDDodjut1uX11YWGh4PJ470p/L5ZRIJHI+kUh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Kopyo9/vf9XpfwA3JcwNHND/zUajcblUKpWj0WhT+qPRqD2bzUbi8fj1QqHwRgfrA/clbBtwGlgnBRaLZb3Rc0z8j4COfgJmgcP/MQEiw/LkbAqwGCmxMdZq7wDRKmI9/Tbo8ltk6NQ/2YTcAWrA+EeY7TPRewK4B5jWwcRB8Syxy5YmLzGD6XViQuSm/QSINjC0n/ltqZBTCKFgAAAAAElFTkSuQmCC";
16 16
 
17 17
 var css = ".AllocWantedModal_wantedModalContent__1VodF {\n  background-color: white;\n  width: 360px;\n  height: 314px;\n  padding: 22px 28px;\n  border-radius: 7px;\n}\n.AllocWantedModal_wantedModalContent__1VodF .AllocWantedModal_title__31i9F {\n  font-size: 18px;\n  font-weight: 400;\n  text-align: center;\n}\n.AllocWantedModal_wantedModalContent__1VodF .AllocWantedModal_wantedValueText___uNQe {\n  color: #565656;\n  margin-top: 48px;\n  font-size: 14px;\n  line-height: 20px;\n  text-align: center;\n}\n.AllocWantedModal_wantedModalContent__1VodF .AllocWantedModal_wantedInputNumber__3MyO5 {\n  margin: 11px auto;\n  text-align: center;\n}\n.AllocWantedModal_wantedModalContent__1VodF .AllocWantedModal_wantedInputNumber__3MyO5 .ant-input {\n  color: #FB4B56;\n}\n.AllocWantedModal_wantedModalContent__1VodF .AllocWantedModal_wantedValueTipBottom__3WBt0 {\n  margin: 0 auto;\n  font-size: 12px;\n  text-align: center;\n  width: 208px;\n  color: #9B9B9B;\n}\n.AllocWantedModal_wantedModalContent__1VodF .AllocWantedModal_buttonRow__FegZX {\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  margin-top: 23px;\n}\n.AllocWantedModal_wantedModalContent__1VodF .AllocWantedModal_buttonRow__FegZX .AllocWantedModal_confirmButton__1yXDN {\n  color: white;\n  background-color: #71C135;\n  width: 170px;\n  height: 36px;\n}\n.AllocWantedModal_wantedModalContent__1VodF .AllocWantedModal_buttonRow__FegZX .AllocWantedModal_confirmButton__1yXDN:hover,\n.AllocWantedModal_wantedModalContent__1VodF .AllocWantedModal_buttonRow__FegZX .AllocWantedModal_confirmButton__1yXDN:focus {\n  outline: none;\n  border-color: #8cd158;\n}\n.AllocWantedModal_wantedModalContent__1VodF .AllocWantedModal_buttonRow__FegZX .AllocWantedModal_tipsButton__UmFpw {\n  margin-left: 22px;\n  width: 20px;\n}\n.AllocWantedModal_wantedModalContent__1VodF .AllocWantedModal_buttonRow__FegZX .AllocWantedModal_tipsButton__UmFpw .schedule {\n  font-size: 18px;\n  cursor: pointer;\n}\n.AllocWantedModal_closeButton__1d4p- {\n  position: absolute;\n  right: 10px;\n  top: 10px;\n  display: block;\n  width: 20px;\n  height: 20px;\n  border-radius: 50%;\n  cursor: pointer;\n}\n.AllocWantedModal_closeButton__1d4p- img {\n  width: 100%;\n  height: 100%;\n}\n.AllocWantedModal_tipsView__3my0J h6 {\n  margin: 0;\n  font-size: 12px;\n  line-height: 22px;\n  color: #3D3D3D;\n}\n.AllocWantedModal_tipsView__3my0J div {\n  font-size: 12px;\n}\n.AllocWantedModal_outRangeTextTip__3R4mw .ant-tooltip-inner {\n  color: red;\n}\n";
18 18
 var styles = {
@@ -33,14 +33,14 @@ styleInject_es.styleInject(css);
33 33
 var AllocWantedModal =
34 34
 /*#__PURE__*/
35 35
 function (_React$Component) {
36
-  _rollupPluginBabelHelpers._inherits(AllocWantedModal, _React$Component);
36
+  inherits._inherits(AllocWantedModal, _React$Component);
37 37
 
38 38
   function AllocWantedModal(props) {
39 39
     var _this;
40 40
 
41
-    _rollupPluginBabelHelpers._classCallCheck(this, AllocWantedModal);
41
+    inherits._classCallCheck(this, AllocWantedModal);
42 42
 
43
-    _this = _rollupPluginBabelHelpers._possibleConstructorReturn(this, _rollupPluginBabelHelpers._getPrototypeOf(AllocWantedModal).call(this, props));
43
+    _this = inherits._possibleConstructorReturn(this, inherits._getPrototypeOf(AllocWantedModal).call(this, props));
44 44
 
45 45
     _this.handleSendValueChange = function (v) {
46 46
       if (_this.state.outRangeTip) {
@@ -206,7 +206,7 @@ function (_React$Component) {
206 206
     return _this;
207 207
   }
208 208
 
209
-  _rollupPluginBabelHelpers._createClass(AllocWantedModal, [{
209
+  inherits._createClass(AllocWantedModal, [{
210 210
     key: "render",
211 211
     value: function render() {
212 212
       var _this2 = this;

+ 1
- 1
lib/AllocWantedModal/index.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 17787
- 112
lib/BraftEditor/index.js
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 1
- 1
lib/BraftEditor/index.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 1
- 1
lib/Common/index.js Visa fil

@@ -2,7 +2,7 @@
2 2
 
3 3
 Object.defineProperty(exports, '__esModule', { value: true });
4 4
 
5
-require('../_rollupPluginBabelHelpers-0494a5d0.js');
5
+require('../inherits-c86d64c1.js');
6 6
 require('react');
7 7
 require('react-dom');
8 8
 var Modal = require('../Modal/index.js');

+ 9
- 8
lib/ConsumeListView/index.js Visa fil

@@ -4,15 +4,16 @@ Object.defineProperty(exports, '__esModule', { value: true });
4 4
 
5 5
 function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
6 6
 
7
-var _rollupPluginBabelHelpers = require('../_rollupPluginBabelHelpers-0494a5d0.js');
7
+var inherits = require('../inherits-c86d64c1.js');
8 8
 var React = require('react');
9 9
 var React__default = _interopDefault(React);
10 10
 var styleInject_es = require('../style-inject.es-dcee06b6.js');
11
+var defineProperty = require('../defineProperty-ba7cd53d.js');
11 12
 require('../_commonjsHelpers-72d386ba.js');
12 13
 var index = require('../index-44e17595.js');
13
-var utils = require('../utils-3b83a370.js');
14
+var utils = require('../utils-b800dc99.js');
14 15
 
15
-const img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAABvklEQVQ4T62UTygEcRTHv29MIsqfk6OL5CYH5aKd9WfjwqxEnBzExYWTCEWJJGove5H8OTA1uwdCrOWAi83ZwUXJi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dOSie5Dh3wZcyoR7SQttO9z+M5MOWEsStFQmsTAoOwVK7qM64d5P6ayKJj9EqHBa5Q4kx2/ujqR1Exnsq493HH2muFN98oNtJ0g7s3Ul5/vwbSab+G+gDqFybE11pYkYAAAAASUVORK5CYII=";
16 17
 
17 18
 var css = ".ConsumeListView_wrapper__wlJjh {\n  display: flex;\n  justify-content: center;\n}\n.ConsumeListView_wrapper__wlJjh .ConsumeListView_consumelist__2dMCR {\n  padding: 0;\n  margin: 0;\n  display: flex;\n  flex-wrap: wrap;\n  padding-top: 10px;\n}\n.ConsumeListView_wrapper__wlJjh .ConsumeListView_consumelist__2dMCR li {\n  list-style: none;\n}\n.ConsumeListView_wrapper__wlJjh .ConsumeListView_consumelist__2dMCR .ConsumeListView_consumeItem__1QGpJ {\n  margin: 0 6px 10px;\n  text-align: center;\n  position: relative;\n}\n.ConsumeListView_wrapper__wlJjh .ConsumeListView_consumelist__2dMCR .ConsumeListView_consumeItem__1QGpJ .ConsumeListView_kingdomIcon__1nBe5 {\n  position: absolute;\n  width: 24px;\n  height: 22px;\n  left: -6px;\n  top: -12px;\n}\n.ConsumeListView_wrapper__wlJjh .ConsumeListView_consumelist__2dMCR .ConsumeListView_consumeItem__1QGpJ .ConsumeListView_avatar__1H-E5 {\n  margin: 0 auto 4px;\n  width: 36px;\n  height: 36px;\n  background-size: cover;\n  border-radius: 50%;\n}\n.ConsumeListView_wrapper__wlJjh .ConsumeListView_consumelist__2dMCR .ConsumeListView_consumeItem__1QGpJ .ConsumeListView_gray__3do1I {\n  color: #9b9b9b;\n  font-size: 12px;\n}\n.ConsumeListView_wrapper__wlJjh .ConsumeListView_consumelist__2dMCR .ConsumeListView_toggle__3eBTC {\n  margin: 0 6px 10px;\n  width: 36px;\n  height: 36px;\n  line-height: 36px;\n  background-color: #ececec;\n  border-radius: 50%;\n  color: #a8adb6;\n  cursor: pointer;\n  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAACv0lEQVRIS8WXTW8SURSGzzAYNSYCA7SCUEqBioLtohvjD9CN7ozG36AmXfsRafxYN9b+BqNx50r3GjddqEVRRgSRVr4GWmOsERjfOwEzVYa5lAokEwJzznnOe865d+4IxPFRVXVPrVY73Wq1TgmCMIffYbjZ2q4b+E/GfysWi+WZw+F4it+/zMIKvQwAszcajXnYXEIwl1kwdh8JVPC1bLVaF5FE3cjHEFytVs8hyH04jvMAu9gUkexlp9P5uJv/P2DABCi9hbJehUPPinAkpKL8d6H8BpJQ9fbbAjOooigP8H2BIyi3CaAPJUm6qIdvAwN6G0qvcUfswxDK7wB+vePyB9zu6aNdKK9ROioUn+/0XAOz6W02m6kBBolXe1EUxSibdg0MtQn09Sav9yB2UL0A1QmBbQ6VSmWNd50OAu2sc5fL5WVTfAYD9WTQgP34Y9DOClB7D05X+nHcBdslAf19jnKfNAr2cmWVDuzfR7HoFCFTUyaqR8lUhr7/2KITc/Gu9mjrC6a4iLtjRhHfvv9Ea1/L5JLsNBML94Qz6OukTBWlTt5Dbjp2JGgUtsTAW7i713DxqSql0jkqrJfIKdloNhbpCmfQV8k0VZUNOuwZo2gkQFBmFPanKVibRFxpOUefC0VyOmw0E4+QqCt7s8mgH0ipbdKEb5wiIUB7N0UD9yy13l/O5CmbXyfJfpBm49MkihbSoKuA1jdpcsJD4aDfdA5gUDIdrr+jZLIFyuQK5AD8+NEQvXknU63+jUKTPgoGvDxQ1gJtuPpeTkw1U8+mnPU2MuWngN/DBW0bLe14A8mj3x+zX7TS+ryGi6JrMtoGMrItk6VULpcTqPtQHhIQuuB2uxOjfSwy1SM5CHQmYCRHn/azcjSHvQ586Mdb/aIb+oFeD2eHQOxM87j6eoXBBrGMa2evMPoE/sdL22+mI4T0ou1LqAAAAABJRU5ErkJggg==);\n  background-position: center;\n}\n.ConsumeListView_wrapper__wlJjh .ConsumeListView_consumelist__2dMCR .ConsumeListView_toggle__3eBTC.ConsumeListView_expand__3l80q {\n  transform: rotate(180deg);\n}\n";
18 19
 var styles = {
@@ -32,15 +33,15 @@ var DEFAULT_AVATAR = '//links-comment.oss-cn-beijing.aliyuncs.com/comment/201808
32 33
 var ConsumeListView =
33 34
 /*#__PURE__*/
34 35
 function (_Component) {
35
-  _rollupPluginBabelHelpers._inherits(ConsumeListView, _Component);
36
+  inherits._inherits(ConsumeListView, _Component);
36 37
 
37 38
   function ConsumeListView() {
38
-    _rollupPluginBabelHelpers._classCallCheck(this, ConsumeListView);
39
+    inherits._classCallCheck(this, ConsumeListView);
39 40
 
40
-    return _rollupPluginBabelHelpers._possibleConstructorReturn(this, _rollupPluginBabelHelpers._getPrototypeOf(ConsumeListView).apply(this, arguments));
41
+    return inherits._possibleConstructorReturn(this, inherits._getPrototypeOf(ConsumeListView).apply(this, arguments));
41 42
   }
42 43
 
43
-  _rollupPluginBabelHelpers._createClass(ConsumeListView, [{
44
+  inherits._createClass(ConsumeListView, [{
44 45
     key: "renderConsumeItem",
45 46
     value: function renderConsumeItem() {
46 47
       var _this$props = this.props,
@@ -121,7 +122,7 @@ function (_Component) {
121 122
         onClick: function onClick() {
122 123
           return onToggleChange();
123 124
         },
124
-        className: index.classnames(styles.toggle, _rollupPluginBabelHelpers._defineProperty({}, styles.expand, isToggle)),
125
+        className: index.classnames(styles.toggle, defineProperty._defineProperty({}, styles.expand, isToggle)),
125 126
         style: {
126 127
           width: "".concat(avatarSize, "px"),
127 128
           height: "".concat(avatarSize, "px"),

+ 1
- 1
lib/ConsumeListView/index.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 0
- 17697
lib/Draft-4ccef031.js
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 0
- 1
lib/Draft-4ccef031.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 0
- 2
lib/Editor/index.d.ts Visa fil

@@ -1,3 +1 @@
1 1
 export { default as BraftEditor } from "../BraftEditor/index";
2
-export { default as RichTextEditor } from "../RichTextEditor/index";
3
-export { default as RichTextEditorForSlate } from "../RichTextEditorForSlate/index";

+ 1
- 7
lib/Editor/index.js Visa fil

@@ -2,21 +2,15 @@
2 2
 
3 3
 Object.defineProperty(exports, '__esModule', { value: true });
4 4
 
5
-require('../_rollupPluginBabelHelpers-0494a5d0.js');
6 5
 require('react');
7 6
 require('react-dom');
8 7
 require('../style-inject.es-dcee06b6.js');
9 8
 require('../_commonjsHelpers-72d386ba.js');
10
-require('../Draft-4ccef031.js');
11
-require('../_react-dom_commonjs-external-55867475.js');
9
+require('../slicedToArray-172f4624.js');
12 10
 var BraftEditor = require('../BraftEditor/index.js');
13 11
 require('react-dom/server');
14
-var RichTextEditor = require('../RichTextEditor/index.js');
15
-var RichTextEditorForSlate = require('../RichTextEditorForSlate/index.js');
16 12
 
17 13
 
18 14
 
19 15
 exports.BraftEditor = BraftEditor.default;
20
-exports.RichTextEditor = RichTextEditor.default;
21
-exports.RichTextEditorForSlate = RichTextEditorForSlate.default;
22 16
 //# sourceMappingURL=index.js.map

+ 1
- 1
lib/Editor/index.js.map Visa fil

@@ -1 +1 @@
1
-{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
1
+{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}

+ 6
- 6
lib/Modal/index.js Visa fil

@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4 4
 
5 5
 function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
6 6
 
7
-var _rollupPluginBabelHelpers = require('../_rollupPluginBabelHelpers-0494a5d0.js');
7
+var inherits = require('../inherits-c86d64c1.js');
8 8
 var React = require('react');
9 9
 var React__default = _interopDefault(React);
10 10
 var reactDom = require('react-dom');
@@ -12,7 +12,7 @@ var reactDom__default = _interopDefault(reactDom);
12 12
 var styleInject_es = require('../style-inject.es-dcee06b6.js');
13 13
 
14 14
 function isBrowser() {
15
-  return !((typeof window === "undefined" ? "undefined" : _rollupPluginBabelHelpers._typeof(window)) === undefined);
15
+  return !((typeof window === "undefined" ? "undefined" : inherits._typeof(window)) === undefined);
16 16
 }
17 17
 
18 18
 var css = ".Modal_wrapper__2hzaC {\n  position: fixed;\n  width: 100vw;\n  height: 100vh;\n  top: 0;\n  left: 0;\n  z-index: 1000;\n}\n.Modal_overlay__3iNdm {\n  width: 100vw;\n  height: 100vh;\n  background: #000;\n  animation: Modal_overlayer__1zSH9 0.3s forwards;\n}\n.Modal_container__2veos {\n  position: absolute;\n  top: 20%;\n  left: 50%;\n  animation: Modal_container__2veos 0.3s forwards;\n}\n@keyframes Modal_overlayer__1zSH9 {\n  from {\n    opacity: 0;\n  }\n  to {\n    opacity: 0.3;\n  }\n}\n@keyframes Modal_container__2veos {\n  from {\n    transform: translateX(-50%) scale(0, 0);\n  }\n  to {\n    transform: translateX(-50%) scale(1, 1);\n  }\n}\n";
@@ -27,15 +27,15 @@ styleInject_es.styleInject(css);
27 27
 var Modal =
28 28
 /*#__PURE__*/
29 29
 function (_React$PureComponent) {
30
-  _rollupPluginBabelHelpers._inherits(Modal, _React$PureComponent);
30
+  inherits._inherits(Modal, _React$PureComponent);
31 31
 
32 32
   function Modal() {
33
-    _rollupPluginBabelHelpers._classCallCheck(this, Modal);
33
+    inherits._classCallCheck(this, Modal);
34 34
 
35
-    return _rollupPluginBabelHelpers._possibleConstructorReturn(this, _rollupPluginBabelHelpers._getPrototypeOf(Modal).apply(this, arguments));
35
+    return inherits._possibleConstructorReturn(this, inherits._getPrototypeOf(Modal).apply(this, arguments));
36 36
   }
37 37
 
38
-  _rollupPluginBabelHelpers._createClass(Modal, [{
38
+  inherits._createClass(Modal, [{
39 39
     key: "render",
40 40
     value: function render() {
41 41
       if (!isBrowser()) return null;

+ 1
- 1
lib/Modal/index.js.map Visa fil

@@ -1 +1 @@
1
-{"version":3,"file":"index.js","sources":["../../src/components/Common/Utils/utils.ts","../../src/components/Common/Modal/index.tsx"],"sourcesContent":["export function isBrowser() {\r\n  return !(typeof window === undefined);\r\n}","import React from 'react';\r\nimport { createPortal } from 'react-dom';\r\nimport { isBrowser } from '../Utils/utils';\r\n\r\nimport styles from './Modal.less';\r\n\r\nexport interface ModalProps {\r\n  visible: boolean\r\n  onCancel: (e: any) => void\r\n  container?: HTMLElement | null\r\n}\r\n\r\nexport class Modal extends React.PureComponent<ModalProps> {\r\n  static hasShowWarning = false;\r\n\r\n  render() {\r\n    if (!isBrowser()) return null; // 服务端无需渲染下列代码,渲染也会出错\r\n    const DEFAULT_CONTAINER: HTMLElement | null = document.getElementById('container');\r\n    const { children, visible, onCancel, container = DEFAULT_CONTAINER } = this.props\r\n    let finalMountContainer: HTMLElement = document.body;\r\n    if (!container) {\r\n      if (!DEFAULT_CONTAINER) {\r\n        if (!Modal.hasShowWarning) {\r\n          Modal.hasShowWarning = true;\r\n        }\r\n        finalMountContainer = document.body;\r\n      } else {\r\n        if (!Modal.hasShowWarning) {\r\n          Modal.hasShowWarning = true;\r\n        }\r\n        finalMountContainer = DEFAULT_CONTAINER;\r\n      }\r\n    }\r\n    return visible && createPortal(\r\n      <div className={ styles.wrapper }>\r\n        <div\r\n          className={ styles.overlay }\r\n          onClick={ onCancel }\r\n        />\r\n        <div\r\n          className={ styles.container }\r\n        >\r\n          { children }\r\n        </div>\r\n      </div>,\r\n      finalMountContainer,\r\n    )\r\n  }\r\n}\r\n\r\nexport default Modal;"],"names":["isBrowser","window","undefined","Modal","DEFAULT_CONTAINER","document","getElementById","props","children","visible","onCancel","container","finalMountContainer","body","hasShowWarning","createPortal","React","createElement","className","styles","wrapper","overlay","onClick","PureComponent"],"mappings":";;;;;;;;;;;;;AAAM,SAAUA,SAAV,GAAmB;SAChB,EAAE,QAAOC,MAAP,mEAAOA,MAAP,OAAkBC,SAApB;;;;;;;;;;;;ICWIC,KAAb;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;AAAA,6BAGQ;UACA,CAACH,SAAS,IAAI,OAAO,IAAP;UACZI,iBAAiB,GAAuBC,QAAQ,CAACC,cAAT,CAAwB,WAAxB;AAF1C,wBAGmE,KAAKC,KAHxE;AAAA,UAGIC,QAHJ,eAGIA,QAHJ;AAAA,UAGcC,OAHd,eAGcA,OAHd;AAAA,UAGuBC,QAHvB,eAGuBA,QAHvB;AAAA,8CAGiCC,SAHjC;AAAA,UAGiCA,SAHjC,sCAG6CP,iBAH7C;UAIAQ,mBAAmB,GAAgBP,QAAQ,CAACQ;;UAC5C,CAACF,WAAW;YACV,CAACP,mBAAmB;cAClB,CAACD,KAAK,CAACW,gBAAgB;AACzBX,YAAAA,KAAK,CAACW,cAAN,GAAuB,IAAvB;;;AAEFF,UAAAA,mBAAmB,GAAGP,QAAQ,CAACQ,IAA/B;AAJF,eAKO;cACD,CAACV,KAAK,CAACW,gBAAgB;AACzBX,YAAAA,KAAK,CAACW,cAAN,GAAuB,IAAvB;;;AAEFF,UAAAA,mBAAmB,GAAGR,iBAAtB;;;;aAGGK,OAAO,IAAIM,qBAAY,CAC5BC,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AAAKC,QAAAA,SAAS,EAAGC,MAAM,CAACC;AAAxB,OAAA,EACEJ,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AACEC,QAAAA,SAAS,EAAGC,MAAM,CAACE,OADrB;AAEEC,QAAAA,OAAO,EAAGZ;AAFZ,OAAA,CADF,EAKEM,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AACEC,QAAAA,SAAS,EAAGC,MAAM,CAACR;AADrB,OAAA,EAGIH,QAHJ,CALF,CAD4B,EAY5BI,mBAZ4B;;AArBlC;;AAAA;AAAA,EAA2BI,cAAK,CAACO,aAAjC;AACSpB,KAAA,CAAAW,cAAA,GAAiB,KAAjB;;;;;"}
1
+{"version":3,"file":"index.js","sources":["../../src/components/Common/Utils/utils.ts","../../src/components/Common/Modal/index.tsx"],"sourcesContent":["export function isBrowser() {\r\n  return !(typeof window === undefined);\r\n}","import React from 'react';\r\nimport { createPortal } from 'react-dom';\r\nimport { isBrowser } from '../Utils/utils';\r\n\r\nimport styles from './Modal.less';\r\n\r\nexport interface ModalProps {\r\n  visible: boolean\r\n  onCancel: (e: any) => void\r\n  container?: HTMLElement | null\r\n}\r\n\r\nexport class Modal extends React.PureComponent<ModalProps> {\r\n  static hasShowWarning = false;\r\n\r\n  render() {\r\n    if (!isBrowser()) return null; // 服务端无需渲染下列代码,渲染也会出错\r\n    const DEFAULT_CONTAINER: HTMLElement | null = document.getElementById('container');\r\n    const { children, visible, onCancel, container = DEFAULT_CONTAINER } = this.props\r\n    let finalMountContainer: HTMLElement = document.body;\r\n    if (!container) {\r\n      if (!DEFAULT_CONTAINER) {\r\n        if (!Modal.hasShowWarning) {\r\n          Modal.hasShowWarning = true;\r\n        }\r\n        finalMountContainer = document.body;\r\n      } else {\r\n        if (!Modal.hasShowWarning) {\r\n          Modal.hasShowWarning = true;\r\n        }\r\n        finalMountContainer = DEFAULT_CONTAINER;\r\n      }\r\n    }\r\n    return visible && createPortal(\r\n      <div className={ styles.wrapper }>\r\n        <div\r\n          className={ styles.overlay }\r\n          onClick={ onCancel }\r\n        />\r\n        <div\r\n          className={ styles.container }\r\n        >\r\n          { children }\r\n        </div>\r\n      </div>,\r\n      finalMountContainer,\r\n    )\r\n  }\r\n}\r\n\r\nexport default Modal;"],"names":["isBrowser","window","undefined","Modal","DEFAULT_CONTAINER","document","getElementById","props","children","visible","onCancel","container","finalMountContainer","body","hasShowWarning","createPortal","React","createElement","className","styles","wrapper","overlay","onClick","PureComponent"],"mappings":";;;;;;;;;;;;;AAAM,SAAUA,SAAV,GAAmB;SAChB,EAAE,QAAOC,wDAAAA,OAAP,MAAkBC,SAApB;;;;;;;;;;;;ICWIC,KAAb;AAAA;AAAA,8BAAA;;;;;;;;;;;6BAGQ;UACA,CAACH,SAAS,IAAI,OAAO,IAAP;UACZI,iBAAiB,GAAuBC,QAAQ,CAACC,cAAT,CAAwB,WAAxB;wBACyB,KAAKC;UAApEC,QAHJ,eAGIA;UAAUC,OAHd,eAGcA;UAASC,QAHvB,eAGuBA;8CAAUC;UAAAA,SAHjC,sCAG6CP;UAC7CQ,mBAAmB,GAAgBP,QAAQ,CAACQ;;UAC5C,CAACF,WAAW;YACV,CAACP,mBAAmB;cAClB,CAACD,KAAK,CAACW,gBAAgB;AACzBX,YAAAA,KAAK,CAACW,cAAN,GAAuB,IAAvB;;;AAEFF,UAAAA,mBAAmB,GAAGP,QAAQ,CAACQ,IAA/B;AAJF,eAKO;cACD,CAACV,KAAK,CAACW,gBAAgB;AACzBX,YAAAA,KAAK,CAACW,cAAN,GAAuB,IAAvB;;;AAEFF,UAAAA,mBAAmB,GAAGR,iBAAtB;;;;aAGGK,OAAO,IAAIM,qBAAY,CAC5BC,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AAAKC,QAAAA,SAAS,EAAGC,MAAM,CAACC;AAAxB,OAAA,EACEJ,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AACEC,QAAAA,SAAS,EAAGC,MAAM,CAACE,OADrB;AAEEC,QAAAA,OAAO,EAAGZ;AAFZ,OAAA,CADF,EAKEM,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AACEC,QAAAA,SAAS,EAAGC,MAAM,CAACR;AADrB,OAAA,EAGIH,QAHJ,CALF,CAD4B,EAY5BI,mBAZ4B;;;;;CArBlC,CAA2BI,cAAK,CAACO,aAAjC;AACSpB,KAAA,CAAAW,cAAA,GAAiB,KAAjB;;;;;"}

+ 44
- 11
lib/PayPlatformOptions/index.js
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 1
- 1
lib/PayPlatformOptions/index.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 4
- 2
lib/Payment/index.js Visa fil

@@ -2,16 +2,18 @@
2 2
 
3 3
 Object.defineProperty(exports, '__esModule', { value: true });
4 4
 
5
-require('../_rollupPluginBabelHelpers-0494a5d0.js');
5
+require('../inherits-c86d64c1.js');
6 6
 require('react');
7 7
 require('react-dom');
8 8
 require('../Modal/index.js');
9 9
 require('../style-inject.es-dcee06b6.js');
10
+require('../defineProperty-ba7cd53d.js');
10 11
 require('../_commonjsHelpers-72d386ba.js');
11 12
 require('../index-44e17595.js');
12
-require('../utils-3b83a370.js');
13
+require('../utils-b800dc99.js');
13 14
 var ConsumeListView = require('../ConsumeListView/index.js');
14 15
 var PayPlatformOptions = require('../PayPlatformOptions/index.js');
16
+require('../slicedToArray-172f4624.js');
15 17
 require('antd');
16 18
 var PriceOptions = require('../PriceOptions/index.js');
17 19
 var WaitPayInfoView = require('../WaitPayInfoView/index.js');

+ 1
- 1
lib/Payment/index.js.map Visa fil

@@ -1 +1 @@
1
-{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}

+ 45
- 9
lib/PriceOptions/index.js Visa fil

@@ -4,15 +4,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
4 4
 
5 5
 function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
6 6
 
7
-var _rollupPluginBabelHelpers = require('../_rollupPluginBabelHelpers-0494a5d0.js');
8 7
 var React = require('react');
9 8
 var React__default = _interopDefault(React);
10 9
 var styleInject_es = require('../style-inject.es-dcee06b6.js');
10
+var defineProperty = require('../defineProperty-ba7cd53d.js');
11 11
 require('../_commonjsHelpers-72d386ba.js');
12 12
 var index = require('../index-44e17595.js');
13
+var utils = require('../utils-b800dc99.js');
14
+var slicedToArray = require('../slicedToArray-172f4624.js');
13 15
 var antd = require('antd');
14 16
 
15
-var css = ".PriceOptions_options__ifYbC {\n  border-bottom: 1px dashed #00000017;\n}\n.PriceOptions_options__ifYbC p {\n  font-size: 14px;\n  font-weight: 400;\n  color: #616a79;\n  margin-bottom: 20px;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx {\n  padding-right: 0;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx .PriceOptions_priceItem__3CPe3 {\n  background: rgba(243, 243, 243, 0.14);\n  border-radius: 4px;\n  border: 1px solid #cfcfcf;\n  font-size: 14px;\n  font-weight: 600;\n  color: #616a79;\n  display: inline-block;\n  text-align: center;\n  vertical-align: top;\n  height: 30px;\n  width: 70px;\n  line-height: 30px;\n  cursor: pointer;\n  margin: 6px;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx .PriceOptions_priceItem__3CPe3.PriceOptions_active__154by {\n  background: rgba(255, 50, 102, 0.1);\n  border-radius: 4px;\n  border: 1px solid #ff3266;\n  color: #616a79;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx .PriceOptions_priceInput__2JFc0 {\n  display: inline-block;\n  min-width: 70px;\n  width: auto;\n  margin: 6px;\n  text-align: center;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx button {\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n  height: 30px;\n  width: 50px;\n  vertical-align: top;\n  padding: 0 5px;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx .PriceOptions_rate__17U-9 {\n  margin-left: 10px;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx .PriceOptions_rate__17U-9 i {\n  margin-right: 5px;\n  color: #1790FF;\n}\n.PriceOptions_options__ifYbC.PriceOptions_small__2UZ7N {\n  padding: 0 0 12px 0;\n  border-bottom: none;\n}\n.PriceOptions_options__ifYbC.PriceOptions_small__2UZ7N p {\n  margin-bottom: 8px;\n}\n.PriceOptions_options__ifYbC.PriceOptions_small__2UZ7N .PriceOptions_infoItem__246mx {\n  text-align: center;\n}\n.PriceOptions_options__ifYbC.PriceOptions_small__2UZ7N .PriceOptions_infoItem__246mx .PriceOptions_priceItem__3CPe3 {\n  border-radius: 6px;\n  height: 32px;\n  width: 72px;\n  margin: 0 0 12px 19px;\n}\n.PriceOptions_options__ifYbC.PriceOptions_small__2UZ7N .PriceOptions_infoItem__246mx .PriceOptions_priceItem__3CPe3:first-child {\n  margin: 0 0 12px 0px;\n}\n.PriceOptions_options__ifYbC.PriceOptions_small__2UZ7N .PriceOptions_infoItem__246mx .PriceOptions_priceInput__2JFc0 {\n  display: block;\n  width: 254px;\n  border-radius: 6px;\n  height: 32px;\n}\n.PriceOptions_options__ifYbC.PriceOptions_multi__2fM8z {\n  padding: 20px 20px;\n}\n.PriceOptions_options__ifYbC.PriceOptions_multi__2fM8z p {\n  font-size: 14px;\n  font-weight: 400;\n  color: #616a79;\n}\n.PriceOptions_options__ifYbC.PriceOptions_multi__2fM8z .PriceOptions_infoItem__246mx {\n  padding-right: 0;\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n}\n.PriceOptions_options__ifYbC.PriceOptions_multi__2fM8z .PriceOptions_infoItem__246mx .PriceOptions_priceBtn__1UaE8 {\n  display: flex;\n  justify-content: space-between;\n}\n.PriceOptions_options__ifYbC.PriceOptions_multi__2fM8z .PriceOptions_infoItem__246mx .PriceOptions_priceItem__3CPe3 {\n  display: inline-block;\n  background-color: #fff;\n  width: 74px;\n  height: 36px;\n  line-height: 36px;\n  border-radius: 4px;\n  border: 1px solid #cfcfcf;\n}\n.PriceOptions_options__ifYbC.PriceOptions_multi__2fM8z .PriceOptions_infoItem__246mx .PriceOptions_priceItem__3CPe3.PriceOptions_active__154by {\n  background-color: #fff;\n  color: #FF3266FF;\n  border-radius: 4px;\n  border: 1px solid #ff3266;\n}\n.PriceOptions_options__ifYbC.PriceOptions_multi__2fM8z .PriceOptions_infoItem__246mx .PriceOptions_priceInput__2JFc0 {\n  border-radius: 6px;\n  height: 36px;\n  width: auto;\n}\n";
17
+var css = ".PriceOptions_options__ifYbC {\n  border-bottom: 1px dashed #00000017;\n}\n.PriceOptions_options__ifYbC p {\n  font-size: 14px;\n  font-weight: 400;\n  color: #616a79;\n  margin-bottom: 20px;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx {\n  padding-right: 0;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx .PriceOptions_priceItem__3CPe3 {\n  background: rgba(243, 243, 243, 0.14);\n  border-radius: 4px;\n  border: 1px solid #cfcfcf;\n  font-size: 14px;\n  font-weight: 600;\n  color: #616a79;\n  display: inline-block;\n  text-align: center;\n  vertical-align: top;\n  height: 30px;\n  width: 70px;\n  line-height: 30px;\n  cursor: pointer;\n  margin: 6px;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx .PriceOptions_priceItem__3CPe3.PriceOptions_active__154by {\n  background: rgba(255, 50, 102, 0.1);\n  border-radius: 4px;\n  border: 1px solid #ff3266;\n  color: #616a79;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx .PriceOptions_priceInput__2JFc0 {\n  display: inline-block;\n  min-width: 70px;\n  width: auto;\n  margin: 6px;\n  text-align: center;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx button {\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n  height: 30px;\n  width: 50px;\n  vertical-align: top;\n  padding: 0 5px;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx .PriceOptions_rate__17U-9 {\n  margin-left: 10px;\n}\n.PriceOptions_options__ifYbC .PriceOptions_infoItem__246mx .PriceOptions_rate__17U-9 i {\n  margin-right: 5px;\n  color: #1790FF;\n}\n.PriceOptions_options__ifYbC.PriceOptions_multi__2fM8z p {\n  font-size: 14px;\n  font-weight: 400;\n  color: #616a79;\n}\n.PriceOptions_options__ifYbC.PriceOptions_multi__2fM8z .PriceOptions_infoItem__246mx {\n  padding-right: 0;\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n}\n.PriceOptions_options__ifYbC.PriceOptions_multi__2fM8z .PriceOptions_infoItem__246mx .PriceOptions_priceBtn__1UaE8 {\n  display: flex;\n  justify-content: space-between;\n}\n.PriceOptions_options__ifYbC.PriceOptions_multi__2fM8z .PriceOptions_infoItem__246mx .PriceOptions_priceItem__3CPe3 {\n  display: inline-block;\n  background-color: #fff;\n  border-radius: 4px;\n  border: 1px solid #cfcfcf;\n}\n.PriceOptions_options__ifYbC.PriceOptions_multi__2fM8z .PriceOptions_infoItem__246mx .PriceOptions_priceItem__3CPe3.PriceOptions_active__154by {\n  background-color: #fff;\n  color: #FF3266FF;\n  border: 1px solid #ff3266;\n}\n.PriceOptions_options__ifYbC.PriceOptions_multi__2fM8z .PriceOptions_infoItem__246mx .PriceOptions_priceInput__2JFc0 {\n  width: 222px;\n  width: auto;\n}\n";
16 18
 var styles = {
17 19
   "options": "PriceOptions_options__ifYbC",
18 20
   "infoItem": "PriceOptions_infoItem__246mx",
@@ -20,18 +22,52 @@ var styles = {
20 22
   "active": "PriceOptions_active__154by",
21 23
   "priceInput": "PriceOptions_priceInput__2JFc0",
22 24
   "rate": "PriceOptions_rate__17U-9",
23
-  "small": "PriceOptions_small__2UZ7N",
24 25
   "multi": "PriceOptions_multi__2fM8z",
25 26
   "priceBtn": "PriceOptions_priceBtn__1UaE8"
26 27
 };
27 28
 styleInject_es.styleInject(css);
28 29
 
30
+function ownKeys(object, enumerableOnly) {
31
+  var keys = Object.keys(object);
32
+
33
+  if (Object.getOwnPropertySymbols) {
34
+    var symbols = Object.getOwnPropertySymbols(object);
35
+    if (enumerableOnly) symbols = symbols.filter(function (sym) {
36
+      return Object.getOwnPropertyDescriptor(object, sym).enumerable;
37
+    });
38
+    keys.push.apply(keys, symbols);
39
+  }
40
+
41
+  return keys;
42
+}
43
+
44
+function _objectSpread(target) {
45
+  for (var i = 1; i < arguments.length; i++) {
46
+    var source = arguments[i] != null ? arguments[i] : {};
47
+
48
+    if (i % 2) {
49
+      ownKeys(Object(source), true).forEach(function (key) {
50
+        defineProperty._defineProperty(target, key, source[key]);
51
+      });
52
+    } else if (Object.getOwnPropertyDescriptors) {
53
+      Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
54
+    } else {
55
+      ownKeys(Object(source)).forEach(function (key) {
56
+        Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
57
+      });
58
+    }
59
+  }
60
+
61
+  return target;
62
+}
63
+
29 64
 var PriceOptions = function PriceOptions(_ref) {
30 65
   var price = _ref.price,
31 66
       onPriceChange = _ref.onPriceChange,
32 67
       _ref$rowMode = _ref.rowMode,
33 68
       rowMode = _ref$rowMode === void 0 ? "single" : _ref$rowMode,
34 69
       _ref$size = _ref.size,
70
+      size = _ref$size === void 0 ? "normal" : _ref$size,
35 71
       _ref$focusScroll = _ref.focusScroll,
36 72
       focusScroll = _ref$focusScroll === void 0 ? true : _ref$focusScroll,
37 73
       _ref$withTitle = _ref.withTitle,
@@ -61,26 +97,26 @@ var PriceOptions = function PriceOptions(_ref) {
61 97
   var defaultOptions = priceOptions;
62 98
 
63 99
   var _useState = React.useState(false),
64
-      _useState2 = _rollupPluginBabelHelpers._slicedToArray(_useState, 2),
100
+      _useState2 = slicedToArray._slicedToArray(_useState, 2),
65 101
       inputStatus = _useState2[0],
66 102
       setInputStatus = _useState2[1];
67 103
 
68 104
   var _useState3 = React.useState(''),
69
-      _useState4 = _rollupPluginBabelHelpers._slicedToArray(_useState3, 2),
105
+      _useState4 = slicedToArray._slicedToArray(_useState3, 2),
70 106
       inputPrice = _useState4[0],
71 107
       setInputPrice = _useState4[1];
72 108
 
73 109
   return React__default.createElement("div", {
74
-    className: index.classnames(styles.options, _rollupPluginBabelHelpers._defineProperty({}, styles.multi, rowMode === "multi"))
110
+    className: index.classnames(styles.options, _objectSpread(defineProperty._defineProperty({}, styles.multi, rowMode === "multi"), utils.exportStyleSizeClass(styles, size)))
75 111
   }, withTitle ? titleText || null : null, React__default.createElement("div", {
76 112
     className: styles.infoItem
77 113
   }, React__default.createElement("span", {
78 114
     className: styles.priceBtn
79 115
   }, defaultOptions.map(function (item) {
80
-    var _objectSpread2;
116
+    var _objectSpread3;
81 117
 
82 118
     return React__default.createElement("span", {
83
-      className: index.classnames(_rollupPluginBabelHelpers._objectSpread2((_objectSpread2 = {}, _rollupPluginBabelHelpers._defineProperty(_objectSpread2, styles.priceItem, true), _rollupPluginBabelHelpers._defineProperty(_objectSpread2, styles.active, price === item && !inputStatus), _objectSpread2), injectOptions.priceBtnClass)),
119
+      className: index.classnames(_objectSpread((_objectSpread3 = {}, defineProperty._defineProperty(_objectSpread3, styles.priceItem, true), defineProperty._defineProperty(_objectSpread3, styles.active, price === item && !inputStatus), _objectSpread3), injectOptions.priceBtnClass)),
84 120
       key: item,
85 121
       onClick: function onClick() {
86 122
         onPriceChange(item);
@@ -89,7 +125,7 @@ var PriceOptions = function PriceOptions(_ref) {
89 125
     }, priceRender(item));
90 126
   })), React__default.createElement(antd.Input, {
91 127
     ref: inputRef,
92
-    className: index.classnames(styles.priceInput, _rollupPluginBabelHelpers._objectSpread2({}, injectOptions.priceInputClass)),
128
+    className: index.classnames(styles.priceInput, _objectSpread({}, injectOptions.priceInputClass)),
93 129
     onMouseEnter: function onMouseEnter() {
94 130
       if (inputStatus && inputRef && inputRef.current) {
95 131
         inputRef.current.focus();

+ 1
- 1
lib/PriceOptions/index.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 0
- 21
lib/RichTextEditor/index.d.ts Visa fil

@@ -1,21 +0,0 @@
1
-/// <reference types="react" />
2
-import React from "react";
3
-import { EditorState, DraftEditorCommand, ContentBlock } from "draft-js";
4
-interface RichTextEditorProps {
5
-}
6
-interface RichTextEditorState {
7
-    editorState: EditorState;
8
-}
9
-declare class RichTextEditor extends React.Component<RichTextEditorProps, RichTextEditorState> {
10
-    constructor(props: RichTextEditorProps);
11
-    onChange: (editorState: EditorState) => void;
12
-    handleKeyCommand(command: DraftEditorCommand, editorState: EditorState): "handled" | "not-handled";
13
-    _onBoldClick(): void;
14
-    _onLinkClick(): void;
15
-    _onEmojiClick(e: React.MouseEvent, emojiCode: string): void;
16
-    _onCheckRange(): void;
17
-    defaultBlockStyleFn(contentBlock: ContentBlock): string;
18
-    defaultBlockRenderFn(contentBlock: ContentBlock): ContentBlock;
19
-    render(): JSX.Element;
20
-}
21
-export { RichTextEditor as default };

+ 0
- 208
lib/RichTextEditor/index.js Visa fil

@@ -1,208 +0,0 @@
1
-'use strict';
2
-
3
-Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
-function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
6
-
7
-var _rollupPluginBabelHelpers = require('../_rollupPluginBabelHelpers-0494a5d0.js');
8
-var React = require('react');
9
-var React__default = _interopDefault(React);
10
-require('react-dom');
11
-var styleInject_es = require('../style-inject.es-dcee06b6.js');
12
-require('../_commonjsHelpers-72d386ba.js');
13
-var Draft = require('../Draft-4ccef031.js');
14
-require('../_react-dom_commonjs-external-55867475.js');
15
-
16
-var css = ".RichTextEditor_wrapper__A033L .RichTextEditor_btnListWrapper__3iF9d {\n  display: flex;\n}\n.RichTextEditor_wrapper__A033L .RichTextEditor_editorWrapper__PzQ_1 {\n  border: 1px solid #ccc;\n}\n";
17
-var styles = {
18
-  "wrapper": "RichTextEditor_wrapper__A033L",
19
-  "btnListWrapper": "RichTextEditor_btnListWrapper__3iF9d",
20
-  "editorWrapper": "RichTextEditor_editorWrapper__PzQ_1"
21
-};
22
-styleInject_es.styleInject(css);
23
-
24
-var Link = function Link(props) {
25
-  var _props$contentState$g = props.contentState.getEntity(props.entityKey).getData(),
26
-      url = _props$contentState$g.url;
27
-
28
-  return React__default.createElement("a", {
29
-    href: url
30
-  }, props.children);
31
-};
32
-
33
-var decorator = new Draft.Draft_4([{
34
-  strategy: function strategy(contentBlock, callback, contentState) {
35
-    contentBlock.findEntityRanges(function (character) {
36
-      var entityKey = character.getEntity();
37
-      return entityKey !== null && contentState.getEntity(entityKey).getType() === 'LINK';
38
-    }, function () {
39
-      callback.apply(void 0, arguments);
40
-    });
41
-  },
42
-  component: Link
43
-}, {
44
-  strategy: function strategy(contentBlock, callback, contentState) {
45
-    contentBlock.findEntityRanges(function (character) {
46
-      var entityKey = character.getEntity();
47
-      return entityKey !== null && contentState.getEntity(entityKey).getType() === 'EMOJI';
48
-    }, function () {
49
-      callback.apply(void 0, arguments);
50
-    });
51
-  },
52
-  component: function component(props) {
53
-    return React__default.createElement("i", {
54
-      style: {
55
-        display: 'inline-block',
56
-        height: '18px',
57
-        width: '18px',
58
-        backgroundImage: "url(https://i.pinimg.com/originals/03/7e/79/037e79b2fb52127537be79110891ae3f.png)",
59
-        backgroundSize: '100% 100%',
60
-        color: 'transparent'
61
-      }
62
-    }, "e");
63
-  }
64
-}]);
65
-
66
-var RichTextEditor =
67
-/*#__PURE__*/
68
-function (_React$Component) {
69
-  _rollupPluginBabelHelpers._inherits(RichTextEditor, _React$Component);
70
-
71
-  function RichTextEditor(props) {
72
-    var _this;
73
-
74
-    _rollupPluginBabelHelpers._classCallCheck(this, RichTextEditor);
75
-
76
-    _this = _rollupPluginBabelHelpers._possibleConstructorReturn(this, _rollupPluginBabelHelpers._getPrototypeOf(RichTextEditor).call(this, props));
77
-    _this.state = {
78
-      editorState: Draft.Draft_3.createEmpty(decorator)
79
-    };
80
-
81
-    _this.onChange = function (editorState) {
82
-      return _this.setState({
83
-        editorState: editorState
84
-      });
85
-    };
86
-
87
-    _this.handleKeyCommand = _this.handleKeyCommand.bind(_rollupPluginBabelHelpers._assertThisInitialized(_this));
88
-    _this.defaultBlockStyleFn = _this.defaultBlockStyleFn.bind(_rollupPluginBabelHelpers._assertThisInitialized(_this));
89
-    return _this;
90
-  }
91
-
92
-  _rollupPluginBabelHelpers._createClass(RichTextEditor, [{
93
-    key: "handleKeyCommand",
94
-    value: function handleKeyCommand(command, editorState) {
95
-      var newState = Draft.Draft_15.handleKeyCommand(editorState, command);
96
-      console.log('command: ', command);
97
-      console.log('newState: ', newState);
98
-
99
-      if (newState) {
100
-        this.onChange(newState);
101
-        return "handled";
102
-      }
103
-
104
-      switch (command) {
105
-        case 'backspace':
106
-          var contentState = editorState.getCurrentContent();
107
-          var selectionState = editorState.getSelection();
108
-          var _ref = [selectionState.getStartOffset(), selectionState.getEndOffset()],
109
-              startOffset = _ref[0],
110
-              endOffset = _ref[1];
111
-
112
-          if (startOffset === endOffset) {
113
-            console.log(selectionState.getAnchorKey());
114
-          }
115
-
116
-          break;
117
-      }
118
-
119
-      return "not-handled";
120
-    }
121
-  }, {
122
-    key: "_onBoldClick",
123
-    value: function _onBoldClick() {
124
-      this.onChange(Draft.Draft_15.toggleInlineStyle(this.state.editorState, 'BOLD'));
125
-    }
126
-  }, {
127
-    key: "_onLinkClick",
128
-    value: function _onLinkClick() {
129
-      var editorState = this.state.editorState;
130
-      var contentState = editorState.getCurrentContent();
131
-      var selectionState = editorState.getSelection();
132
-      var contentStateWithEntity = contentState.createEntity('LINK', 'MUTABLE', {
133
-        url: 'http://www.zombo.com'
134
-      });
135
-      var entityKey = contentStateWithEntity.getLastCreatedEntityKey();
136
-      var contentStateWithLink = Draft.Draft_14.applyEntity(contentStateWithEntity, selectionState, entityKey);
137
-      var newEditorState = Draft.Draft_3.push(editorState, contentStateWithLink, 'apply-entity');
138
-      this.onChange(newEditorState);
139
-    }
140
-  }, {
141
-    key: "_onEmojiClick",
142
-    value: function _onEmojiClick(e, emojiCode) {
143
-      var editorState = this.state.editorState;
144
-      var contentState = editorState.getCurrentContent();
145
-      var selectionState = editorState.getSelection();
146
-      var EMOJIEntity = contentState.createEntity('EMOJI', 'IMMUTABLE', {
147
-        emojiCode: emojiCode
148
-      });
149
-      var entityKey = EMOJIEntity.getLastCreatedEntityKey();
150
-      var ncsWithEntity = Draft.Draft_14.insertText(contentState, selectionState, 'e', undefined, entityKey);
151
-      var newEditorState = Draft.Draft_3.push(editorState, ncsWithEntity, 'insert-characters');
152
-      this.onChange(newEditorState);
153
-    }
154
-  }, {
155
-    key: "_onCheckRange",
156
-    value: function _onCheckRange() {
157
-      console.log(this.state.editorState.getCurrentContent());
158
-      console.log(Draft.Draft_20(this.state.editorState.getCurrentContent()));
159
-    }
160
-  }, {
161
-    key: "defaultBlockStyleFn",
162
-    value: function defaultBlockStyleFn(contentBlock) {
163
-      var type = contentBlock.getType();
164
-      return "";
165
-    }
166
-  }, {
167
-    key: "defaultBlockRenderFn",
168
-    value: function defaultBlockRenderFn(contentBlock) {
169
-      var type = contentBlock.getType();
170
-      return contentBlock;
171
-    }
172
-  }, {
173
-    key: "render",
174
-    value: function render() {
175
-      var _this2 = this;
176
-
177
-      var editorState = this.state.editorState;
178
-      return React__default.createElement("div", {
179
-        className: styles.wrapper
180
-      }, React__default.createElement("div", {
181
-        className: styles.btnListWrapper
182
-      }, React__default.createElement("button", {
183
-        onClick: this._onBoldClick.bind(this)
184
-      }, "Bold"), React__default.createElement("button", {
185
-        onClick: this._onCheckRange.bind(this)
186
-      }, "Check"), React__default.createElement("button", {
187
-        onClick: this._onLinkClick.bind(this)
188
-      }, "Link"), React__default.createElement("button", {
189
-        onClick: function onClick(e) {
190
-          return _this2._onEmojiClick(e, '0011');
191
-        }
192
-      }, "Emoji")), React__default.createElement("div", {
193
-        className: styles.editorWrapper
194
-      }, React__default.createElement(Draft.Draft_1, {
195
-        editorState: editorState,
196
-        blockStyleFn: this.defaultBlockStyleFn,
197
-        blockRendererFn: this.defaultBlockRenderFn,
198
-        handleKeyCommand: this.handleKeyCommand,
199
-        onChange: this.onChange
200
-      })));
201
-    }
202
-  }]);
203
-
204
-  return RichTextEditor;
205
-}(React__default.Component);
206
-
207
-exports.default = RichTextEditor;
208
-//# sourceMappingURL=index.js.map

+ 0
- 1
lib/RichTextEditor/index.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 0
- 3
lib/RichTextEditorForSlate/index.d.ts Visa fil

@@ -1,3 +0,0 @@
1
-/// <reference types="react" />
2
-declare const RichTextEditorForSlate: () => JSX.Element;
3
-export { RichTextEditorForSlate as default };

+ 0
- 10264
lib/RichTextEditorForSlate/index.js
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 0
- 1
lib/RichTextEditorForSlate/index.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 6
- 6
lib/WaitPayInfoView/index.js Visa fil

@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4 4
 
5 5
 function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
6 6
 
7
-var _rollupPluginBabelHelpers = require('../_rollupPluginBabelHelpers-0494a5d0.js');
7
+var inherits = require('../inherits-c86d64c1.js');
8 8
 var React = require('react');
9 9
 var React__default = _interopDefault(React);
10 10
 var styleInject_es = require('../style-inject.es-dcee06b6.js');
@@ -17,7 +17,7 @@ var styles = {
17 17
 };
18 18
 styleInject_es.styleInject(css);
19 19
 
20
-const img = "data:image/svg+xml,%3c%3fxml version='1.0' encoding='UTF-8'%3f%3e%3csvg width='48px' height='43px' viewBox='0 0 48 43' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e %3c!-- Generator: Sketch 50.2 (55047) - http://www.bohemiancoding.com/sketch --%3e %3ctitle%3ekcxq_popovers_icon_tanhao%3c/title%3e %3cdesc%3eCreated with Sketch.%3c/desc%3e %3cdefs%3e%3c/defs%3e %3cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3e %3cg id='%e5%8f%a6%e5%ae%a2%e7%bd%91_%e7%9b%b4%e6%92%ad%e8%af%be_%e8%af%be%e7%a8%8b%e4%bb%8b%e7%bb%8d%e8%af%a6%e6%83%85_%e8%b4%ad%e4%b9%b0%e6%8f%90%e7%a4%ba%e5%bc%b9%e7%aa%97' transform='translate(-936.000000%2c -190.000000)' fill-rule='nonzero'%3e %3cg id='Group-22' transform='translate(690.000000%2c 110.000000)'%3e %3cg id='kcxq_popovers_icon_tanhao' transform='translate(246.000000%2c 80.000000)'%3e %3cpath d='M48%2c21.5 C48%2c33.3736626 38.3645756%2c43 26.4797048%2c43 C21.1306273%2c43 17.0391144%2c42.1506173 13.2841328%2c38.9300412 C11.8140221%2c37.6736626 1.700369%2c43.2123457 0.177121771%2c39.2839506 C-1.06273063%2c36.0987654 5.95129151%2c29.2506173 5.31365314%2c27.0740741 C4.76457565%2c25.1806584 4.95940959%2c23.5703704 4.95940959%2c21.5 C4.95940959%2c9.62633745 14.5948339%2c0 26.4797048%2c0 C38.3645756%2c0 48%2c9.62633745 48%2c21.5 Z' id='Shape' fill='%231790FF'%3e%3c/path%3e %3cg id='Group' transform='translate(23.848708%2c 8.193416)' fill='white'%3e %3cpath d='M2.5%2c27.4971098 C1.13235294%2c27.4971098 0%2c26.3794628 0%2c24.9971098 C0%2c23.6147569 1.13235294%2c22.4971098 2.5%2c22.4971098 C3.86764706%2c22.4971098 5%2c23.6147569 5%2c24.9971098 C5%2c26.3794628 3.86764706%2c27.4971098 2.5%2c27.4971098 Z M2.5%2c19.4219653 C1.13235294%2c19.4219653 0%2c18.1919075 0%2c16.6705202 L0%2c2.75144509 C0%2c1.24624277 1.13235294%2c0 2.5%2c0 C3.86764706%2c0 5%2c1.2300578 5%2c2.75144509 L5%2c16.6705202 C5%2c18.1919075 3.86764706%2c19.4219653 2.5%2c19.4219653 Z' id='Shape'%3e%3c/path%3e %3c/g%3e %3c/g%3e %3c/g%3e %3c/g%3e %3c/g%3e%3c/svg%3e";
20
+var img = "data:image/svg+xml,%3c%3fxml version='1.0' encoding='UTF-8'%3f%3e%3csvg width='48px' height='43px' viewBox='0 0 48 43' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e %3c!-- Generator: Sketch 50.2 (55047) - http://www.bohemiancoding.com/sketch --%3e %3ctitle%3ekcxq_popovers_icon_tanhao%3c/title%3e %3cdesc%3eCreated with Sketch.%3c/desc%3e %3cdefs%3e%3c/defs%3e %3cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3e %3cg id='%e5%8f%a6%e5%ae%a2%e7%bd%91_%e7%9b%b4%e6%92%ad%e8%af%be_%e8%af%be%e7%a8%8b%e4%bb%8b%e7%bb%8d%e8%af%a6%e6%83%85_%e8%b4%ad%e4%b9%b0%e6%8f%90%e7%a4%ba%e5%bc%b9%e7%aa%97' transform='translate(-936.000000%2c -190.000000)' fill-rule='nonzero'%3e %3cg id='Group-22' transform='translate(690.000000%2c 110.000000)'%3e %3cg id='kcxq_popovers_icon_tanhao' transform='translate(246.000000%2c 80.000000)'%3e %3cpath d='M48%2c21.5 C48%2c33.3736626 38.3645756%2c43 26.4797048%2c43 C21.1306273%2c43 17.0391144%2c42.1506173 13.2841328%2c38.9300412 C11.8140221%2c37.6736626 1.700369%2c43.2123457 0.177121771%2c39.2839506 C-1.06273063%2c36.0987654 5.95129151%2c29.2506173 5.31365314%2c27.0740741 C4.76457565%2c25.1806584 4.95940959%2c23.5703704 4.95940959%2c21.5 C4.95940959%2c9.62633745 14.5948339%2c0 26.4797048%2c0 C38.3645756%2c0 48%2c9.62633745 48%2c21.5 Z' id='Shape' fill='%231790FF'%3e%3c/path%3e %3cg id='Group' transform='translate(23.848708%2c 8.193416)' fill='white'%3e %3cpath d='M2.5%2c27.4971098 C1.13235294%2c27.4971098 0%2c26.3794628 0%2c24.9971098 C0%2c23.6147569 1.13235294%2c22.4971098 2.5%2c22.4971098 C3.86764706%2c22.4971098 5%2c23.6147569 5%2c24.9971098 C5%2c26.3794628 3.86764706%2c27.4971098 2.5%2c27.4971098 Z M2.5%2c19.4219653 C1.13235294%2c19.4219653 0%2c18.1919075 0%2c16.6705202 L0%2c2.75144509 C0%2c1.24624277 1.13235294%2c0 2.5%2c0 C3.86764706%2c0 5%2c1.2300578 5%2c2.75144509 L5%2c16.6705202 C5%2c18.1919075 3.86764706%2c19.4219653 2.5%2c19.4219653 Z' id='Shape'%3e%3c/path%3e %3c/g%3e %3c/g%3e %3c/g%3e %3c/g%3e %3c/g%3e%3c/svg%3e";
21 21
 
22 22
 var Button = function Button() {
23 23
   for (var _len = arguments.length, props = new Array(_len), _key = 0; _key < _len; _key++) {
@@ -30,15 +30,15 @@ var Button = function Button() {
30 30
 var WaitPayInfoView =
31 31
 /*#__PURE__*/
32 32
 function (_Component) {
33
-  _rollupPluginBabelHelpers._inherits(WaitPayInfoView, _Component);
33
+  inherits._inherits(WaitPayInfoView, _Component);
34 34
 
35 35
   function WaitPayInfoView() {
36
-    _rollupPluginBabelHelpers._classCallCheck(this, WaitPayInfoView);
36
+    inherits._classCallCheck(this, WaitPayInfoView);
37 37
 
38
-    return _rollupPluginBabelHelpers._possibleConstructorReturn(this, _rollupPluginBabelHelpers._getPrototypeOf(WaitPayInfoView).apply(this, arguments));
38
+    return inherits._possibleConstructorReturn(this, inherits._getPrototypeOf(WaitPayInfoView).apply(this, arguments));
39 39
   }
40 40
 
41
-  _rollupPluginBabelHelpers._createClass(WaitPayInfoView, [{
41
+  inherits._createClass(WaitPayInfoView, [{
42 42
     key: "render",
43 43
     value: function render() {
44 44
       var _this$props = this.props,

+ 1
- 1
lib/WaitPayInfoView/index.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 2
- 5
lib/WantedPublishPopover/index.d.ts Visa fil

@@ -1,11 +1,8 @@
1 1
 /// <reference types="react" />
2 2
 import React from 'react';
3
+import { PopoverProps } from 'antd/lib/popover';
3 4
 interface WantedPublishPopoverProp {
4
-    popoverConfig?: {
5
-        placement?: "left" | "top" | "right" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom" | undefined;
6
-        trigger?: "hover" | "focus" | "click" | "contextMenu" | undefined;
7
-        getPopupContainer?: any;
8
-    };
5
+    popoverConfig?: PopoverProps;
9 6
     handleConfirm?: Function;
10 7
 }
11 8
 interface WantedPublishPopoverState {

+ 17
- 14
lib/WantedPublishPopover/index.js Visa fil

@@ -4,37 +4,37 @@ Object.defineProperty(exports, '__esModule', { value: true });
4 4
 
5 5
 function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
6 6
 
7
-var _rollupPluginBabelHelpers = require('../_rollupPluginBabelHelpers-0494a5d0.js');
7
+var inherits = require('../inherits-c86d64c1.js');
8 8
 var React = require('react');
9 9
 var React__default = _interopDefault(React);
10 10
 var styleInject_es = require('../style-inject.es-dcee06b6.js');
11
+require('../defineProperty-ba7cd53d.js');
11 12
 require('../_commonjsHelpers-72d386ba.js');
12 13
 require('../index-44e17595.js');
13 14
 var antd = require('antd');
14 15
 var WantedPublishView = require('../WantedPublishView/index.js');
15 16
 
16
-const img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAAAFNElEQVRYR82Yf0jcdRjH33enp1NbTQ3FdKhTY64hTTsURc6keQeSqIPSQJIiMHM3zj8ST/BE/And+c8wmSSMomHl4EaaP2aeuq/R1MwrraEgLVbLXcvpReY847l9v3I7774/LKUHjuN79/k8z+v7+fG8n89Hhv+pyf4F1xEAxwE8BSAIQDAAPwB/AnCwnzsAVgHsSI0jFcwfwEkA8QAiRAYj0BUACwDsIvtALJgcwLMA0tjREevfs90tADcBbAg5EAN2FEAegFAhZyL/3wYwBeB7vvZCYFEAzgIIEBlUSjMCYwA4vXXiA6N1lAuApvGg7DaAL7zB+QILB1DA7rKDguL80shNegbxBkZbv4jd/gcNxfmfYHftbjxvYDR9CYdFxMahDfExm/tcP3mC0RQWHzIUF+5HAGPcgydYPoBn+MCSk5ODm5ubs4qKigadTq8b6rHuFRUVcYmJicf0ev2swAuTOnwC4L7niD0J4FW+zvHx8YEMw+gjIiKOz8zM3MjIyPhwa2vLp9xUV1cntra2VioUCv+WlpYug8EwLwD3HYAbnmApANL5OlZVVZ0wm806hUKhpHbz8/Nfq1Sqns3NzT1wdXV1J41GYwXXdnZ2lklNTb0sAEaK8JEnGKWHSKH1xY2Cn59fILVdXFz8RqVSXdrY2Nid16amptM1NT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1dXbubm5HTabjSpZqfYTgAEOLAzAOake+vv787VaLSVlsh2Hw/EgODiY8iHsdvsdjUbTMT09/UCi3x9oeXJgtLvKpDgYHR0tzMnJoQISOzs7zq6urss9PT0LAwMDF0JDQ6mOw9ra2t38/Hzz5OTkHxJ8k0Lc5MDo+3UArsTJZ3K5HOPj469kZmbmsFDbHR0dH+j1+hl6TklJCRkZGdGFh4fH0PP6+vq94uJi8/DwsNh6/0sAt9y18kUAiXxQ/v7+MoZhXktLS8uidk6n82FbW9ul2trab937JSUlBVmt1vORkZGx9LvD4bhfWlpqtlgsvwm8NykIqcNf7mBUsb7E19FoNJ6qr6+vojbb29t/NzY2vt/Q0ECnnz0WGxsbODEx8U50dLSrhFpeXrYlJCRcFAD7BYBrN7uDkXzQOqOzoU+zWCwarVarNRgMF9vb2+nU49OioqKUDMO8HRIScjQ7O/u9hYUFoV1KZwCbJxg9vwDgjNA6U6vVx8bGxlzliZCFhYX5xcTEHJmbm1sXaEvnzysAtryB0eIvAeAS6EO2caoJuJjeSutTAFyL+xDtdwCkqbsViq9T0mHW/ZsArlLacx8IX2C0AV4G8PQBjxqlh34AP3vG4TvwkihrDhCOTkZ0+KBqYo8JXRHQyKkBnPiPR4524CAAnwlXCIzjOc3e9AhKlogXoCspOnnz5jSxYBSPLlaeB/AcAFfZLNHuAvgKwK9i+kkB4/xRjqP6jXSQhJpPKUi4aYToc08MEF8ek9KfRo675qRv7qqTu+6kVLAv28+I7SuQ1E7/AHTQdDZ7M6+KAAAAAElFTkSuQmCC";
17 18
 
18
-var css = ".WantedPublishPopover_wanted_wrapper__3jkl0 {\n  width: 366px;\n  height: 424px;\n  font-size: 18px;\n  text-align: center;\n}\n.WantedPublishPopover_wanted_wrapper__3jkl0 .WantedPublishPopover_close_btn__1j-1P {\n  position: absolute;\n  top: 10px;\n  right: 16px;\n  width: 20px;\n  height: 20px;\n}\n.WantedPublishPopover_wanted_wrapper__3jkl0 .WantedPublishPopover_close_btn__1j-1P > button {\n  border: none;\n  padding: 0px;\n  margin: 0px;\n  cursor: pointer;\n}\n.WantedPublishPopover_wanted_wrapper__3jkl0 .WantedPublishPopover_close_btn__1j-1P > button > img {\n  width: 100%;\n}\n";
19
+var css = ".WantedPublishPopover_wantedWrapper__3CrCz {\n  width: 366px;\n  height: 424px;\n  font-size: 18px;\n  text-align: center;\n}\n.WantedPublishPopover_wantedWrapper__3CrCz .WantedPublishPopover_closeBtnWrapper__1KV58 {\n  position: absolute;\n  top: 10px;\n  right: 16px;\n  width: 20px;\n  height: 20px;\n}\n.WantedPublishPopover_wantedWrapper__3CrCz .WantedPublishPopover_closeBtnWrapper__1KV58:focus {\n  outline: none;\n}\n.WantedPublishPopover_wantedWrapper__3CrCz .WantedPublishPopover_closeBtnWrapper__1KV58 > div.WantedPublishPopover_closeBtn__1aBMB {\n  border: none;\n  padding: 0px;\n  margin: 0px;\n  cursor: pointer;\n}\n.WantedPublishPopover_wantedWrapper__3CrCz .WantedPublishPopover_closeBtnWrapper__1KV58 > div.WantedPublishPopover_closeBtn__1aBMB > img {\n  width: 100%;\n}\n";
19 20
 var styles = {
20
-  "wanted_wrapper": "WantedPublishPopover_wanted_wrapper__3jkl0",
21
-  "close_btn": "WantedPublishPopover_close_btn__1j-1P",
22
-  "wantedWrapper": "WantedPublishPopover_wanted_wrapper__3jkl0",
23
-  "closeBtn": "WantedPublishPopover_close_btn__1j-1P"
21
+  "wantedWrapper": "WantedPublishPopover_wantedWrapper__3CrCz",
22
+  "closeBtnWrapper": "WantedPublishPopover_closeBtnWrapper__1KV58",
23
+  "closeBtn": "WantedPublishPopover_closeBtn__1aBMB"
24 24
 };
25 25
 styleInject_es.styleInject(css);
26 26
 
27 27
 var WantedPublishPopover =
28 28
 /*#__PURE__*/
29 29
 function (_React$Component) {
30
-  _rollupPluginBabelHelpers._inherits(WantedPublishPopover, _React$Component);
30
+  inherits._inherits(WantedPublishPopover, _React$Component);
31 31
 
32 32
   function WantedPublishPopover(props) {
33 33
     var _this;
34 34
 
35
-    _rollupPluginBabelHelpers._classCallCheck(this, WantedPublishPopover);
35
+    inherits._classCallCheck(this, WantedPublishPopover);
36 36
 
37
-    _this = _rollupPluginBabelHelpers._possibleConstructorReturn(this, _rollupPluginBabelHelpers._getPrototypeOf(WantedPublishPopover).call(this, props));
37
+    _this = inherits._possibleConstructorReturn(this, inherits._getPrototypeOf(WantedPublishPopover).call(this, props));
38 38
 
39 39
     _this.handleClose = function () {
40 40
       var handleConfirm = _this.props.handleConfirm;
@@ -85,7 +85,7 @@ function (_React$Component) {
85 85
     return _this;
86 86
   }
87 87
 
88
-  _rollupPluginBabelHelpers._createClass(WantedPublishPopover, [{
88
+  inherits._createClass(WantedPublishPopover, [{
89 89
     key: "renderInitView",
90 90
     value: function renderInitView() {
91 91
       var _this2 = this;
@@ -135,10 +135,13 @@ function (_React$Component) {
135 135
         }
136 136
       }, popoverConfig, {
137 137
         content: React__default.createElement("div", {
138
-          className: styles.wanted_wrapper
138
+          className: styles.wantedWrapper
139 139
         }, React__default.createElement("div", {
140
-          className: styles.close_btn
141
-        }, React__default.createElement("button", {
140
+          role: "button",
141
+          tabIndex: 1,
142
+          className: styles.closeBtnWrapper
143
+        }, React__default.createElement("div", {
144
+          className: styles.closeBtn,
142 145
           onClick: this.handleClose
143 146
         }, React__default.createElement("img", {
144 147
           src: img,

+ 1
- 1
lib/WantedPublishPopover/index.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 8
- 7
lib/WantedPublishView/index.js
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 1
- 1
lib/WantedPublishView/index.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 0
- 14
lib/_react-dom_commonjs-external-55867475.js Visa fil

@@ -1,14 +0,0 @@
1
-'use strict';
2
-
3
-function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
-
5
-var React = require('react');
6
-var React__default = _interopDefault(React);
7
-var reactDom = require('react-dom');
8
-var reactDom__default = _interopDefault(reactDom);
9
-
10
-
11
-
12
-exports.React = React__default;
13
-exports.require$$3 = reactDom__default;
14
-//# sourceMappingURL=_react-dom_commonjs-external-55867475.js.map

+ 0
- 1
lib/_react-dom_commonjs-external-55867475.js.map Visa fil

@@ -1 +0,0 @@
1
-{"version":3,"file":"_react-dom_commonjs-external-d3012e04.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}

+ 0
- 189
lib/_rollupPluginBabelHelpers-0494a5d0.js Visa fil

@@ -1,189 +0,0 @@
1
-'use strict';
2
-
3
-function _typeof(obj) {
4
-  "@babel/helpers - typeof";
5
-
6
-  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
7
-    _typeof = function (obj) {
8
-      return typeof obj;
9
-    };
10
-  } else {
11
-    _typeof = function (obj) {
12
-      return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
13
-    };
14
-  }
15
-
16
-  return _typeof(obj);
17
-}
18
-
19
-function _classCallCheck(instance, Constructor) {
20
-  if (!(instance instanceof Constructor)) {
21
-    throw new TypeError("Cannot call a class as a function");
22
-  }
23
-}
24
-
25
-function _defineProperties(target, props) {
26
-  for (var i = 0; i < props.length; i++) {
27
-    var descriptor = props[i];
28
-    descriptor.enumerable = descriptor.enumerable || false;
29
-    descriptor.configurable = true;
30
-    if ("value" in descriptor) descriptor.writable = true;
31
-    Object.defineProperty(target, descriptor.key, descriptor);
32
-  }
33
-}
34
-
35
-function _createClass(Constructor, protoProps, staticProps) {
36
-  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
37
-  if (staticProps) _defineProperties(Constructor, staticProps);
38
-  return Constructor;
39
-}
40
-
41
-function _defineProperty(obj, key, value) {
42
-  if (key in obj) {
43
-    Object.defineProperty(obj, key, {
44
-      value: value,
45
-      enumerable: true,
46
-      configurable: true,
47
-      writable: true
48
-    });
49
-  } else {
50
-    obj[key] = value;
51
-  }
52
-
53
-  return obj;
54
-}
55
-
56
-function ownKeys(object, enumerableOnly) {
57
-  var keys = Object.keys(object);
58
-
59
-  if (Object.getOwnPropertySymbols) {
60
-    var symbols = Object.getOwnPropertySymbols(object);
61
-    if (enumerableOnly) symbols = symbols.filter(function (sym) {
62
-      return Object.getOwnPropertyDescriptor(object, sym).enumerable;
63
-    });
64
-    keys.push.apply(keys, symbols);
65
-  }
66
-
67
-  return keys;
68
-}
69
-
70
-function _objectSpread2(target) {
71
-  for (var i = 1; i < arguments.length; i++) {
72
-    var source = arguments[i] != null ? arguments[i] : {};
73
-
74
-    if (i % 2) {
75
-      ownKeys(Object(source), true).forEach(function (key) {
76
-        _defineProperty(target, key, source[key]);
77
-      });
78
-    } else if (Object.getOwnPropertyDescriptors) {
79
-      Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
80
-    } else {
81
-      ownKeys(Object(source)).forEach(function (key) {
82
-        Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
83
-      });
84
-    }
85
-  }
86
-
87
-  return target;
88
-}
89
-
90
-function _inherits(subClass, superClass) {
91
-  if (typeof superClass !== "function" && superClass !== null) {
92
-    throw new TypeError("Super expression must either be null or a function");
93
-  }
94
-
95
-  subClass.prototype = Object.create(superClass && superClass.prototype, {
96
-    constructor: {
97
-      value: subClass,
98
-      writable: true,
99
-      configurable: true
100
-    }
101
-  });
102
-  if (superClass) _setPrototypeOf(subClass, superClass);
103
-}
104
-
105
-function _getPrototypeOf(o) {
106
-  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
107
-    return o.__proto__ || Object.getPrototypeOf(o);
108
-  };
109
-  return _getPrototypeOf(o);
110
-}
111
-
112
-function _setPrototypeOf(o, p) {
113
-  _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
114
-    o.__proto__ = p;
115
-    return o;
116
-  };
117
-
118
-  return _setPrototypeOf(o, p);
119
-}
120
-
121
-function _assertThisInitialized(self) {
122
-  if (self === void 0) {
123
-    throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
124
-  }
125
-
126
-  return self;
127
-}
128
-
129
-function _possibleConstructorReturn(self, call) {
130
-  if (call && (typeof call === "object" || typeof call === "function")) {
131
-    return call;
132
-  }
133
-
134
-  return _assertThisInitialized(self);
135
-}
136
-
137
-function _slicedToArray(arr, i) {
138
-  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
139
-}
140
-
141
-function _arrayWithHoles(arr) {
142
-  if (Array.isArray(arr)) return arr;
143
-}
144
-
145
-function _iterableToArrayLimit(arr, i) {
146
-  if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
147
-    return;
148
-  }
149
-
150
-  var _arr = [];
151
-  var _n = true;
152
-  var _d = false;
153
-  var _e = undefined;
154
-
155
-  try {
156
-    for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
157
-      _arr.push(_s.value);
158
-
159
-      if (i && _arr.length === i) break;
160
-    }
161
-  } catch (err) {
162
-    _d = true;
163
-    _e = err;
164
-  } finally {
165
-    try {
166
-      if (!_n && _i["return"] != null) _i["return"]();
167
-    } finally {
168
-      if (_d) throw _e;
169
-    }
170
-  }
171
-
172
-  return _arr;
173
-}
174
-
175
-function _nonIterableRest() {
176
-  throw new TypeError("Invalid attempt to destructure non-iterable instance");
177
-}
178
-
179
-exports._assertThisInitialized = _assertThisInitialized;
180
-exports._classCallCheck = _classCallCheck;
181
-exports._createClass = _createClass;
182
-exports._defineProperty = _defineProperty;
183
-exports._getPrototypeOf = _getPrototypeOf;
184
-exports._inherits = _inherits;
185
-exports._objectSpread2 = _objectSpread2;
186
-exports._possibleConstructorReturn = _possibleConstructorReturn;
187
-exports._slicedToArray = _slicedToArray;
188
-exports._typeof = _typeof;
189
-//# sourceMappingURL=_rollupPluginBabelHelpers-0494a5d0.js.map

+ 0
- 1
lib/_rollupPluginBabelHelpers-0494a5d0.js.map Visa fil

@@ -1 +0,0 @@
1
-{"version":3,"file":"_rollupPluginBabelHelpers-22a1b8cb.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}

lib/_rollupPluginBabelHelpers-0494a5d0.d.ts → lib/defineProperty-ba7cd53d.d.ts Visa fil


+ 19
- 0
lib/defineProperty-ba7cd53d.js Visa fil

@@ -0,0 +1,19 @@
1
+'use strict';
2
+
3
+function _defineProperty(obj, key, value) {
4
+  if (key in obj) {
5
+    Object.defineProperty(obj, key, {
6
+      value: value,
7
+      enumerable: true,
8
+      configurable: true,
9
+      writable: true
10
+    });
11
+  } else {
12
+    obj[key] = value;
13
+  }
14
+
15
+  return obj;
16
+}
17
+
18
+exports._defineProperty = _defineProperty;
19
+//# sourceMappingURL=defineProperty-ba7cd53d.js.map

+ 1
- 0
lib/defineProperty-ba7cd53d.js.map Visa fil

@@ -0,0 +1 @@
1
+{"version":3,"file":"defineProperty-18999f8e.js","sources":["../node_modules/@babel/runtime/helpers/esm/defineProperty.js"],"sourcesContent":["export default function _defineProperty(obj, key, value) {\n  if (key in obj) {\n    Object.defineProperty(obj, key, {\n      value: value,\n      enumerable: true,\n      configurable: true,\n      writable: true\n    });\n  } else {\n    obj[key] = value;\n  }\n\n  return obj;\n}"],"names":[],"mappings":";;AAAe,SAAS,eAAe,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE;AACzD,EAAE,IAAI,GAAG,IAAI,GAAG,EAAE;AAClB,IAAI,MAAM,CAAC,cAAc,CAAC,GAAG,EAAE,GAAG,EAAE;AACpC,MAAM,KAAK,EAAE,KAAK;AAClB,MAAM,UAAU,EAAE,IAAI;AACtB,MAAM,YAAY,EAAE,IAAI;AACxB,MAAM,QAAQ,EAAE,IAAI;AACpB,KAAK,CAAC,CAAC;AACP,GAAG,MAAM;AACT,IAAI,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;AACrB,GAAG;AACH;AACA,EAAE,OAAO,GAAG,CAAC;AACb;;;;"}

+ 4
- 2
lib/index.js Visa fil

@@ -2,16 +2,18 @@
2 2
 
3 3
 Object.defineProperty(exports, '__esModule', { value: true });
4 4
 
5
-require('./_rollupPluginBabelHelpers-0494a5d0.js');
5
+require('./inherits-c86d64c1.js');
6 6
 require('react');
7 7
 require('react-dom');
8 8
 var Modal = require('./Modal/index.js');
9 9
 require('./style-inject.es-dcee06b6.js');
10
+require('./defineProperty-ba7cd53d.js');
10 11
 require('./_commonjsHelpers-72d386ba.js');
11 12
 require('./index-44e17595.js');
12
-require('./utils-3b83a370.js');
13
+require('./utils-b800dc99.js');
13 14
 var ConsumeListView = require('./ConsumeListView/index.js');
14 15
 var PayPlatformOptions = require('./PayPlatformOptions/index.js');
16
+require('./slicedToArray-172f4624.js');
15 17
 require('antd');
16 18
 var PriceOptions = require('./PriceOptions/index.js');
17 19
 var WaitPayInfoView = require('./WaitPayInfoView/index.js');

+ 1
- 1
lib/index.js.map Visa fil

@@ -1 +1 @@
1
-{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}

src/components/Editor/RichTextEditorForSlate/RichTextEditorForSlate.less → lib/inherits-c86d64c1.d.ts Visa fil


+ 94
- 0
lib/inherits-c86d64c1.js Visa fil

@@ -0,0 +1,94 @@
1
+'use strict';
2
+
3
+function _classCallCheck(instance, Constructor) {
4
+  if (!(instance instanceof Constructor)) {
5
+    throw new TypeError("Cannot call a class as a function");
6
+  }
7
+}
8
+
9
+function _defineProperties(target, props) {
10
+  for (var i = 0; i < props.length; i++) {
11
+    var descriptor = props[i];
12
+    descriptor.enumerable = descriptor.enumerable || false;
13
+    descriptor.configurable = true;
14
+    if ("value" in descriptor) descriptor.writable = true;
15
+    Object.defineProperty(target, descriptor.key, descriptor);
16
+  }
17
+}
18
+
19
+function _createClass(Constructor, protoProps, staticProps) {
20
+  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
21
+  if (staticProps) _defineProperties(Constructor, staticProps);
22
+  return Constructor;
23
+}
24
+
25
+function _typeof(obj) {
26
+  "@babel/helpers - typeof";
27
+
28
+  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
29
+    _typeof = function _typeof(obj) {
30
+      return typeof obj;
31
+    };
32
+  } else {
33
+    _typeof = function _typeof(obj) {
34
+      return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
35
+    };
36
+  }
37
+
38
+  return _typeof(obj);
39
+}
40
+
41
+function _assertThisInitialized(self) {
42
+  if (self === void 0) {
43
+    throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
44
+  }
45
+
46
+  return self;
47
+}
48
+
49
+function _possibleConstructorReturn(self, call) {
50
+  if (call && (_typeof(call) === "object" || typeof call === "function")) {
51
+    return call;
52
+  }
53
+
54
+  return _assertThisInitialized(self);
55
+}
56
+
57
+function _getPrototypeOf(o) {
58
+  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
59
+    return o.__proto__ || Object.getPrototypeOf(o);
60
+  };
61
+  return _getPrototypeOf(o);
62
+}
63
+
64
+function _setPrototypeOf(o, p) {
65
+  _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
66
+    o.__proto__ = p;
67
+    return o;
68
+  };
69
+
70
+  return _setPrototypeOf(o, p);
71
+}
72
+
73
+function _inherits(subClass, superClass) {
74
+  if (typeof superClass !== "function" && superClass !== null) {
75
+    throw new TypeError("Super expression must either be null or a function");
76
+  }
77
+
78
+  subClass.prototype = Object.create(superClass && superClass.prototype, {
79
+    constructor: {
80
+      value: subClass,
81
+      writable: true,
82
+      configurable: true
83
+    }
84
+  });
85
+  if (superClass) _setPrototypeOf(subClass, superClass);
86
+}
87
+
88
+exports._classCallCheck = _classCallCheck;
89
+exports._createClass = _createClass;
90
+exports._getPrototypeOf = _getPrototypeOf;
91
+exports._inherits = _inherits;
92
+exports._possibleConstructorReturn = _possibleConstructorReturn;
93
+exports._typeof = _typeof;
94
+//# sourceMappingURL=inherits-c86d64c1.js.map

+ 1
- 0
lib/inherits-c86d64c1.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 0
- 0
lib/slicedToArray-172f4624.d.ts Visa fil


+ 46
- 0
lib/slicedToArray-172f4624.js Visa fil

@@ -0,0 +1,46 @@
1
+'use strict';
2
+
3
+function _arrayWithHoles(arr) {
4
+  if (Array.isArray(arr)) return arr;
5
+}
6
+
7
+function _iterableToArrayLimit(arr, i) {
8
+  if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
9
+    return;
10
+  }
11
+
12
+  var _arr = [];
13
+  var _n = true;
14
+  var _d = false;
15
+  var _e = undefined;
16
+
17
+  try {
18
+    for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
19
+      _arr.push(_s.value);
20
+
21
+      if (i && _arr.length === i) break;
22
+    }
23
+  } catch (err) {
24
+    _d = true;
25
+    _e = err;
26
+  } finally {
27
+    try {
28
+      if (!_n && _i["return"] != null) _i["return"]();
29
+    } finally {
30
+      if (_d) throw _e;
31
+    }
32
+  }
33
+
34
+  return _arr;
35
+}
36
+
37
+function _nonIterableRest() {
38
+  throw new TypeError("Invalid attempt to destructure non-iterable instance");
39
+}
40
+
41
+function _slicedToArray(arr, i) {
42
+  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
43
+}
44
+
45
+exports._slicedToArray = _slicedToArray;
46
+//# sourceMappingURL=slicedToArray-172f4624.js.map

+ 0
- 0
lib/slicedToArray-172f4624.js.map Visa fil


Vissa filer visades inte eftersom för många filer har ändrats