bkui-vue 0.0.1-beta.391 → 0.0.1-beta.393

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/dist/index.cjs.js +35 -35
  2. package/dist/index.esm.js +856 -857
  3. package/dist/index.umd.js +9 -9
  4. package/lib/affix/index.js +128 -60
  5. package/lib/alert/index.js +124 -56
  6. package/lib/animate-number/index.js +106 -42
  7. package/lib/backtop/index.js +133 -61
  8. package/lib/badge/index.js +114 -50
  9. package/lib/breadcrumb/index.js +133 -67
  10. package/lib/button/index.js +147 -68
  11. package/lib/card/index.js +154 -69
  12. package/lib/cascader/index.js +242 -168
  13. package/lib/checkbox/index.js +139 -77
  14. package/lib/code-diff/index.js +121 -79
  15. package/lib/collapse/index.js +150 -84
  16. package/lib/color-picker/index.js +245 -193
  17. package/lib/components.js +671 -434
  18. package/lib/container/index.js +125 -64
  19. package/lib/date-picker/index.js +563 -462
  20. package/lib/dialog/index.js +198 -108
  21. package/lib/directives/index.js +138 -92
  22. package/lib/dist.index.js +133 -48
  23. package/lib/divider/index.js +118 -50
  24. package/lib/dropdown/index.js +155 -73
  25. package/lib/exception/index.js +145 -97
  26. package/lib/fixed-navbar/index.js +107 -43
  27. package/lib/form/index.js +193 -107
  28. package/lib/icon/angle-double-down-line.js +90 -30
  29. package/lib/icon/angle-double-left-line.js +90 -30
  30. package/lib/icon/angle-double-left.js +90 -30
  31. package/lib/icon/angle-double-right-line.js +90 -30
  32. package/lib/icon/angle-double-right.js +90 -30
  33. package/lib/icon/angle-double-up-line.js +90 -30
  34. package/lib/icon/angle-down-fill.js +90 -30
  35. package/lib/icon/angle-down-line.js +90 -30
  36. package/lib/icon/angle-down.js +90 -30
  37. package/lib/icon/angle-left.js +90 -30
  38. package/lib/icon/angle-right.js +90 -30
  39. package/lib/icon/angle-up-fill.js +90 -30
  40. package/lib/icon/angle-up.js +90 -30
  41. package/lib/icon/archive-fill.js +90 -30
  42. package/lib/icon/arrows-left.js +90 -30
  43. package/lib/icon/arrows-right.js +90 -30
  44. package/lib/icon/audio-fill.js +90 -30
  45. package/lib/icon/bk.js +90 -30
  46. package/lib/icon/circle.js +90 -30
  47. package/lib/icon/close-line.js +90 -30
  48. package/lib/icon/close.js +90 -30
  49. package/lib/icon/code.js +90 -30
  50. package/lib/icon/cog-shape.js +90 -30
  51. package/lib/icon/collapse-left.js +90 -30
  52. package/lib/icon/copy.js +90 -30
  53. package/lib/icon/data-shape.js +90 -30
  54. package/lib/icon/del.js +90 -30
  55. package/lib/icon/doc-fill.js +90 -30
  56. package/lib/icon/done.js +90 -30
  57. package/lib/icon/down-shape.js +90 -30
  58. package/lib/icon/down-small.js +90 -30
  59. package/lib/icon/edit-line.js +90 -30
  60. package/lib/icon/ellipsis.js +90 -30
  61. package/lib/icon/enlarge-line.js +90 -30
  62. package/lib/icon/error.js +90 -30
  63. package/lib/icon/excel-fill.js +90 -30
  64. package/lib/icon/exclamation-circle-shape.js +90 -30
  65. package/lib/icon/eye.js +90 -30
  66. package/lib/icon/filliscreen-line.js +90 -30
  67. package/lib/icon/folder-open.js +90 -30
  68. package/lib/icon/folder-shape-open.js +90 -30
  69. package/lib/icon/folder-shape.js +90 -30
  70. package/lib/icon/folder.js +90 -30
  71. package/lib/icon/funnel.js +90 -30
  72. package/lib/icon/help-document-fill.js +90 -30
  73. package/lib/icon/help-fill.js +90 -30
  74. package/lib/icon/help.js +90 -30
  75. package/lib/icon/image-fill.js +90 -30
  76. package/lib/icon/img-placehoulder.js +88 -52
  77. package/lib/icon/index.js +255 -267
  78. package/lib/icon/info-line.js +88 -52
  79. package/lib/icon/info.js +88 -52
  80. package/lib/icon/left-shape.js +88 -52
  81. package/lib/icon/left-turn-line.js +88 -52
  82. package/lib/icon/narrow-line.js +88 -52
  83. package/lib/icon/original.js +88 -52
  84. package/lib/icon/pdf-fill.js +88 -52
  85. package/lib/icon/play-shape.js +88 -52
  86. package/lib/icon/plus.js +88 -52
  87. package/lib/icon/ppt-fill.js +88 -52
  88. package/lib/icon/qq.js +88 -52
  89. package/lib/icon/right-shape.js +88 -52
  90. package/lib/icon/right-turn-line.js +88 -52
  91. package/lib/icon/search.js +88 -52
  92. package/lib/icon/share.js +88 -52
  93. package/lib/icon/spinner.js +88 -52
  94. package/lib/icon/success.js +88 -52
  95. package/lib/icon/switcher-loading.js +88 -52
  96. package/lib/icon/text-file.js +88 -52
  97. package/lib/icon/text-fill.js +88 -52
  98. package/lib/icon/transfer.js +88 -52
  99. package/lib/icon/tree-application-shape.js +88 -52
  100. package/lib/icon/unfull-screen.js +88 -52
  101. package/lib/icon/unvisible.js +88 -52
  102. package/lib/icon/up-shape.js +88 -52
  103. package/lib/icon/upload.js +88 -52
  104. package/lib/icon/video-fill.js +88 -52
  105. package/lib/icon/warn.js +88 -52
  106. package/lib/icon/weixin.js +88 -52
  107. package/lib/image/index.js +213 -164
  108. package/lib/index.js +134 -50
  109. package/lib/info-box/index.js +206 -152
  110. package/lib/input/index.js +167 -99
  111. package/lib/link/index.js +115 -47
  112. package/lib/loading/index.js +127 -67
  113. package/lib/menu/index.js +156 -92
  114. package/lib/message/index.js +148 -76
  115. package/lib/modal/index.js +151 -85
  116. package/lib/navigation/index.js +134 -66
  117. package/lib/notify/index.js +153 -81
  118. package/lib/overflow-title/index.js +128 -92
  119. package/lib/pagination/index.js +220 -131
  120. package/lib/plugin-popover/index.js +329 -148
  121. package/lib/plugins/index.js +100 -33
  122. package/lib/popover/index.js +332 -153
  123. package/lib/popover2/index.js +99 -35
  124. package/lib/preset.js +104 -37
  125. package/lib/process/index.js +134 -92
  126. package/lib/progress/index.js +127 -63
  127. package/lib/radio/index.js +142 -81
  128. package/lib/rate/index.js +127 -63
  129. package/lib/resize-layout/index.js +147 -79
  130. package/lib/search-select/index.js +220 -168
  131. package/lib/select/index.js +394 -315
  132. package/lib/shared/index.js +203 -228
  133. package/lib/sideslider/index.js +137 -88
  134. package/lib/slider/index.js +196 -147
  135. package/lib/steps/index.js +152 -105
  136. package/lib/swiper/index.js +126 -62
  137. package/lib/switcher/index.js +133 -65
  138. package/lib/tab/index.js +188 -118
  139. package/lib/table/index.js +572 -457
  140. package/lib/table-column/index.js +197 -129
  141. package/lib/tag/index.js +130 -58
  142. package/lib/tag-input/index.js +277 -175
  143. package/lib/time-picker/index.js +111 -40
  144. package/lib/timeline/index.js +114 -50
  145. package/lib/transfer/index.js +174 -89
  146. package/lib/tree/index.js +235 -158
  147. package/lib/upload/index.js +227 -173
  148. package/lib/virtual-render/index.js +154 -86
  149. package/package.json +1 -1
@@ -1,9 +1,15 @@
1
- import * as __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__ from "../shared";
2
- import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
3
- import * as __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__ from "../icon";
4
- import * as __WEBPACK_EXTERNAL_MODULE__progress_ed4d3a99__ from "../progress";
5
- import * as __WEBPACK_EXTERNAL_MODULE__button_59c00871__ from "../button";
6
- /******/ var __webpack_modules__ = ({
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory(require("../shared"), require("vue"), require("../icon"), require("../progress"), require("../button"));
4
+ else if(typeof define === 'function' && define.amd)
5
+ define(["../shared", "vue", "../icon", "../progress", "../button"], factory);
6
+ else {
7
+ var a = typeof exports === 'object' ? factory(require("../shared"), require("vue"), require("../icon"), require("../progress"), require("../button")) : factory(root["../shared"], root["vue"], root["../icon"], root["../progress"], root["../button"]);
8
+ for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
+ }
10
+ })(self, (__WEBPACK_EXTERNAL_MODULE__4212__, __WEBPACK_EXTERNAL_MODULE__748__, __WEBPACK_EXTERNAL_MODULE__6870__, __WEBPACK_EXTERNAL_MODULE__3522__, __WEBPACK_EXTERNAL_MODULE__4976__) => {
11
+ return /******/ (() => { // webpackBootstrap
12
+ /******/ var __webpack_modules__ = ({
7
13
 
8
14
  /***/ 7162:
9
15
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
@@ -1516,78 +1522,130 @@ try {
1516
1522
  }));
1517
1523
 
1518
1524
 
1525
+ /***/ }),
1526
+
1527
+ /***/ 4976:
1528
+ /***/ ((module) => {
1529
+
1530
+ "use strict";
1531
+ module.exports = __WEBPACK_EXTERNAL_MODULE__4976__;
1532
+
1533
+ /***/ }),
1534
+
1535
+ /***/ 6870:
1536
+ /***/ ((module) => {
1537
+
1538
+ "use strict";
1539
+ module.exports = __WEBPACK_EXTERNAL_MODULE__6870__;
1540
+
1541
+ /***/ }),
1542
+
1543
+ /***/ 3522:
1544
+ /***/ ((module) => {
1545
+
1546
+ "use strict";
1547
+ module.exports = __WEBPACK_EXTERNAL_MODULE__3522__;
1548
+
1549
+ /***/ }),
1550
+
1551
+ /***/ 4212:
1552
+ /***/ ((module) => {
1553
+
1554
+ "use strict";
1555
+ module.exports = __WEBPACK_EXTERNAL_MODULE__4212__;
1556
+
1557
+ /***/ }),
1558
+
1559
+ /***/ 748:
1560
+ /***/ ((module) => {
1561
+
1562
+ "use strict";
1563
+ module.exports = __WEBPACK_EXTERNAL_MODULE__748__;
1564
+
1519
1565
  /***/ })
1520
1566
 
1521
- /******/ });
1567
+ /******/ });
1522
1568
  /************************************************************************/
1523
- /******/ // The module cache
1524
- /******/ var __webpack_module_cache__ = {};
1525
- /******/
1526
- /******/ // The require function
1527
- /******/ function __webpack_require__(moduleId) {
1528
- /******/ // Check if module is in cache
1529
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
1530
- /******/ if (cachedModule !== undefined) {
1531
- /******/ return cachedModule.exports;
1569
+ /******/ // The module cache
1570
+ /******/ var __webpack_module_cache__ = {};
1571
+ /******/
1572
+ /******/ // The require function
1573
+ /******/ function __webpack_require__(moduleId) {
1574
+ /******/ // Check if module is in cache
1575
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
1576
+ /******/ if (cachedModule !== undefined) {
1577
+ /******/ return cachedModule.exports;
1578
+ /******/ }
1579
+ /******/ // Create a new module (and put it into the cache)
1580
+ /******/ var module = __webpack_module_cache__[moduleId] = {
1581
+ /******/ // no module.id needed
1582
+ /******/ // no module.loaded needed
1583
+ /******/ exports: {}
1584
+ /******/ };
1585
+ /******/
1586
+ /******/ // Execute the module function
1587
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
1588
+ /******/
1589
+ /******/ // Return the exports of the module
1590
+ /******/ return module.exports;
1532
1591
  /******/ }
1533
- /******/ // Create a new module (and put it into the cache)
1534
- /******/ var module = __webpack_module_cache__[moduleId] = {
1535
- /******/ // no module.id needed
1536
- /******/ // no module.loaded needed
1537
- /******/ exports: {}
1538
- /******/ };
1539
- /******/
1540
- /******/ // Execute the module function
1541
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
1542
- /******/
1543
- /******/ // Return the exports of the module
1544
- /******/ return module.exports;
1545
- /******/ }
1546
- /******/
1592
+ /******/
1547
1593
  /************************************************************************/
1548
- /******/ /* webpack/runtime/compat get default export */
1549
- /******/ (() => {
1550
- /******/ // getDefaultExport function for compatibility with non-harmony modules
1551
- /******/ __webpack_require__.n = (module) => {
1552
- /******/ var getter = module && module.__esModule ?
1553
- /******/ () => (module['default']) :
1554
- /******/ () => (module);
1555
- /******/ __webpack_require__.d(getter, { a: getter });
1556
- /******/ return getter;
1557
- /******/ };
1558
- /******/ })();
1559
- /******/
1560
- /******/ /* webpack/runtime/define property getters */
1561
- /******/ (() => {
1562
- /******/ // define getter functions for harmony exports
1563
- /******/ __webpack_require__.d = (exports, definition) => {
1564
- /******/ for(var key in definition) {
1565
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
1566
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
1594
+ /******/ /* webpack/runtime/compat get default export */
1595
+ /******/ (() => {
1596
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
1597
+ /******/ __webpack_require__.n = (module) => {
1598
+ /******/ var getter = module && module.__esModule ?
1599
+ /******/ () => (module['default']) :
1600
+ /******/ () => (module);
1601
+ /******/ __webpack_require__.d(getter, { a: getter });
1602
+ /******/ return getter;
1603
+ /******/ };
1604
+ /******/ })();
1605
+ /******/
1606
+ /******/ /* webpack/runtime/define property getters */
1607
+ /******/ (() => {
1608
+ /******/ // define getter functions for harmony exports
1609
+ /******/ __webpack_require__.d = (exports, definition) => {
1610
+ /******/ for(var key in definition) {
1611
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
1612
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
1613
+ /******/ }
1567
1614
  /******/ }
1568
- /******/ }
1569
- /******/ };
1570
- /******/ })();
1571
- /******/
1572
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
1573
- /******/ (() => {
1574
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
1575
- /******/ })();
1576
- /******/
1615
+ /******/ };
1616
+ /******/ })();
1617
+ /******/
1618
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
1619
+ /******/ (() => {
1620
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
1621
+ /******/ })();
1622
+ /******/
1623
+ /******/ /* webpack/runtime/make namespace object */
1624
+ /******/ (() => {
1625
+ /******/ // define __esModule on exports
1626
+ /******/ __webpack_require__.r = (exports) => {
1627
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
1628
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
1629
+ /******/ }
1630
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
1631
+ /******/ };
1632
+ /******/ })();
1633
+ /******/
1577
1634
  /************************************************************************/
1578
1635
  var __webpack_exports__ = {};
1579
- // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
1636
+ // This entry need to be wrapped in an IIFE because it need to be in strict mode.
1580
1637
  (() => {
1638
+ "use strict";
1639
+ // ESM COMPAT FLAG
1640
+ __webpack_require__.r(__webpack_exports__);
1581
1641
 
1582
1642
  // EXPORTS
1583
1643
  __webpack_require__.d(__webpack_exports__, {
1584
- "Z": () => (/* binding */ src)
1644
+ "default": () => (/* binding */ src)
1585
1645
  });
1586
1646
 
1587
- ;// CONCATENATED MODULE: external "../shared"
1588
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1589
- var y = x => () => x
1590
- const external_shared_namespaceObject = x({ ["classes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.classes, ["isNullOrUndef"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.isNullOrUndef, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstall });
1647
+ // EXTERNAL MODULE: external "../shared"
1648
+ var external_shared_ = __webpack_require__(4212);
1591
1649
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
1592
1650
  function _defineProperty(obj, key, value) {
1593
1651
  if (key in obj) {
@@ -1603,10 +1661,8 @@ function _defineProperty(obj, key, value) {
1603
1661
 
1604
1662
  return obj;
1605
1663
  }
1606
- ;// CONCATENATED MODULE: external "vue"
1607
- var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1608
- var external_vue_y = x => () => x
1609
- const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["TransitionGroup"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.TransitionGroup, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["shallowRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.shallowRef, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["vShow"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vShow, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
1664
+ // EXTERNAL MODULE: external "vue"
1665
+ var external_vue_ = __webpack_require__(748);
1610
1666
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
1611
1667
  var regenerator = __webpack_require__(7162);
1612
1668
  var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
@@ -2134,14 +2190,11 @@ function _nonIterableRest() {
2134
2190
  function _slicedToArray(arr, i) {
2135
2191
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
2136
2192
  }
2137
- ;// CONCATENATED MODULE: external "../icon"
2138
- var external_icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
2139
- var external_icon_y = x => () => x
2140
- const external_icon_namespaceObject = external_icon_x({ ["ArchiveFill"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.ArchiveFill, ["AudioFill"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.AudioFill, ["Del"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.Del, ["Done"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.Done, ["ImageFill"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.ImageFill, ["Plus"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.Plus, ["RightTurnLine"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.RightTurnLine, ["TextFill"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.TextFill, ["Upload"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.Upload, ["VideoFill"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.VideoFill });
2141
- ;// CONCATENATED MODULE: external "../progress"
2142
- var external_progress_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
2143
- var external_progress_y = x => () => x
2144
- const external_progress_namespaceObject = external_progress_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE__progress_ed4d3a99__["default"] });
2193
+ // EXTERNAL MODULE: external "../icon"
2194
+ var external_icon_ = __webpack_require__(6870);
2195
+ // EXTERNAL MODULE: external "../progress"
2196
+ var external_progress_ = __webpack_require__(3522);
2197
+ var external_progress_default = /*#__PURE__*/__webpack_require__.n(external_progress_);
2145
2198
  ;// CONCATENATED MODULE: ../../packages/upload/src/upload-list.tsx
2146
2199
 
2147
2200
 
@@ -2180,10 +2233,10 @@ const external_progress_namespaceObject = external_progress_x({ ["default"]: ()
2180
2233
 
2181
2234
 
2182
2235
  function _isSlot(s) {
2183
- return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_namespaceObject.isVNode)(s);
2236
+ return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_.isVNode)(s);
2184
2237
  }
2185
2238
 
2186
- /* harmony default export */ const upload_list = ((0,external_vue_namespaceObject.defineComponent)({
2239
+ /* harmony default export */ const upload_list = ((0,external_vue_.defineComponent)({
2187
2240
  name: 'UploadList',
2188
2241
  props: {
2189
2242
  theme: props.theme,
@@ -2196,22 +2249,22 @@ function _isSlot(s) {
2196
2249
  var slots = _ref.slots,
2197
2250
  emit = _ref.emit;
2198
2251
 
2199
- var _toRefs = (0,external_vue_namespaceObject.toRefs)(props),
2252
+ var _toRefs = (0,external_vue_.toRefs)(props),
2200
2253
  theme = _toRefs.theme,
2201
2254
  disabled = _toRefs.disabled,
2202
2255
  multiple = _toRefs.multiple;
2203
2256
 
2204
2257
  var classBlock = "".concat(CLASS_PREFIX, "-list");
2205
- var isPhotowall = (0,external_vue_namespaceObject.computed)(function () {
2258
+ var isPhotowall = (0,external_vue_.computed)(function () {
2206
2259
  return theme.value === EThemes.PICTURE;
2207
2260
  });
2208
- var isSinglePhoto = (0,external_vue_namespaceObject.computed)(function () {
2261
+ var isSinglePhoto = (0,external_vue_.computed)(function () {
2209
2262
  return isPhotowall.value && !multiple.value;
2210
2263
  });
2211
- var classNames = (0,external_vue_namespaceObject.computed)(function () {
2264
+ var classNames = (0,external_vue_.computed)(function () {
2212
2265
  var _classes;
2213
2266
 
2214
- return (0,external_shared_namespaceObject.classes)((_classes = {}, _defineProperty(_classes, classBlock, true), _defineProperty(_classes, "".concat(classBlock, "--").concat(theme.value), true), _defineProperty(_classes, "".concat(classBlock, "--disabled"), disabled.value), _classes));
2267
+ return (0,external_shared_.classes)((_classes = {}, _defineProperty(_classes, classBlock, true), _defineProperty(_classes, "".concat(classBlock, "--").concat(theme.value), true), _defineProperty(_classes, "".concat(classBlock, "--disabled"), disabled.value), _classes));
2215
2268
  });
2216
2269
 
2217
2270
  function formatSize(value) {
@@ -2232,13 +2285,13 @@ function _isSlot(s) {
2232
2285
  var Photowall = function Photowall() {
2233
2286
  var _slot;
2234
2287
 
2235
- return (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.TransitionGroup, {
2288
+ return (0,external_vue_.createVNode)(external_vue_.TransitionGroup, {
2236
2289
  "name": "".concat(classBlock, "__item")
2237
2290
  }, _isSlot(_slot = props.files.map(function (file) {
2238
2291
  var _classes2;
2239
2292
 
2240
- var classNames = (0,external_shared_namespaceObject.classes)((_classes2 = {}, _defineProperty(_classes2, "".concat(classBlock, "__item"), true), _defineProperty(_classes2, "".concat(classBlock, "__item-picture"), true), _defineProperty(_classes2, "".concat(classBlock, "__item--").concat(file.status), true), _classes2));
2241
- return (0,external_vue_namespaceObject.createVNode)("li", {
2293
+ var classNames = (0,external_shared_.classes)((_classes2 = {}, _defineProperty(_classes2, "".concat(classBlock, "__item"), true), _defineProperty(_classes2, "".concat(classBlock, "__item-picture"), true), _defineProperty(_classes2, "".concat(classBlock, "__item--").concat(file.status), true), _classes2));
2294
+ return (0,external_vue_.createVNode)("li", {
2242
2295
  "key": file.uid,
2243
2296
  "class": classNames
2244
2297
  }, [(slots === null || slots === void 0 ? void 0 : slots.file) ? slots.file({
@@ -2252,11 +2305,11 @@ function _isSlot(s) {
2252
2305
  };
2253
2306
 
2254
2307
  var PhotoItem = function PhotoItem(file) {
2255
- return [(0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("img", {
2308
+ return [(0,external_vue_.withDirectives)((0,external_vue_.createVNode)("img", {
2256
2309
  "src": file.url,
2257
2310
  "class": "".concat(classBlock, "__picture-item-thumbnail"),
2258
2311
  "alt": ""
2259
- }, null), [[external_vue_namespaceObject.vShow, file.status !== 'uploading']]), (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [file.status === 'uploading' && (0,external_vue_namespaceObject.createVNode)(external_progress_namespaceObject["default"], {
2312
+ }, null), [[external_vue_.vShow, file.status !== 'uploading']]), (0,external_vue_.createVNode)(external_vue_.Fragment, null, [file.status === 'uploading' && (0,external_vue_.createVNode)((external_progress_default()), {
2260
2313
  "class": "".concat(classBlock, "__picture-item-progress"),
2261
2314
  "type": "circle",
2262
2315
  "color": "#3a84ff",
@@ -2266,9 +2319,9 @@ function _isSlot(s) {
2266
2319
  color: '#fff'
2267
2320
  },
2268
2321
  "percent": file.percentage
2269
- }, null)]), (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [!disabled.value && (0,external_vue_namespaceObject.createVNode)("div", {
2322
+ }, null)]), (0,external_vue_.createVNode)(external_vue_.Fragment, null, [!disabled.value && (0,external_vue_.createVNode)("div", {
2270
2323
  "class": "".concat(classBlock, "__picture-item-actions")
2271
- }, [(0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Del, {
2324
+ }, [(0,external_vue_.createVNode)(external_icon_.Del, {
2272
2325
  "class": "action-icon",
2273
2326
  "onClick": function onClick(e) {
2274
2327
  return handleRemove(file, e);
@@ -2279,13 +2332,13 @@ function _isSlot(s) {
2279
2332
  var Normal = function Normal() {
2280
2333
  var _slot2;
2281
2334
 
2282
- return (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.TransitionGroup, {
2335
+ return (0,external_vue_.createVNode)(external_vue_.TransitionGroup, {
2283
2336
  "name": "".concat(classBlock, "__item")
2284
2337
  }, _isSlot(_slot2 = props.files.map(function (file) {
2285
2338
  var _classes3;
2286
2339
 
2287
- var classNames = (0,external_shared_namespaceObject.classes)((_classes3 = {}, _defineProperty(_classes3, "".concat(classBlock, "__item"), true), _defineProperty(_classes3, "".concat(classBlock, "__item--").concat(file.status), true), _classes3));
2288
- return (0,external_vue_namespaceObject.createVNode)("li", {
2340
+ var classNames = (0,external_shared_.classes)((_classes3 = {}, _defineProperty(_classes3, "".concat(classBlock, "__item"), true), _defineProperty(_classes3, "".concat(classBlock, "__item--").concat(file.status), true), _classes3));
2341
+ return (0,external_vue_.createVNode)("li", {
2289
2342
  "key": file.uid,
2290
2343
  "class": classNames
2291
2344
  }, [(slots === null || slots === void 0 ? void 0 : slots.file) ? slots.file({
@@ -2308,60 +2361,60 @@ function _isSlot(s) {
2308
2361
  type = _ref3[0];
2309
2362
 
2310
2363
  var iconMap = {
2311
- text: external_icon_namespaceObject.TextFill,
2312
- image: external_icon_namespaceObject.ImageFill,
2313
- application: external_icon_namespaceObject.TextFill,
2314
- video: external_icon_namespaceObject.VideoFill,
2315
- audio: external_icon_namespaceObject.AudioFill
2364
+ text: external_icon_.TextFill,
2365
+ image: external_icon_.ImageFill,
2366
+ application: external_icon_.TextFill,
2367
+ video: external_icon_.VideoFill,
2368
+ audio: external_icon_.AudioFill
2316
2369
  };
2317
- var icon = iconMap[type] || external_icon_namespaceObject.TextFill;
2370
+ var icon = iconMap[type] || external_icon_.TextFill;
2318
2371
  var zipType = ['application/zip', 'application/rar', 'application/tar', 'application/gz', 'application/x-gzip'];
2319
2372
 
2320
2373
  if (zipType.includes(rawType)) {
2321
- icon = external_icon_namespaceObject.ArchiveFill;
2374
+ icon = external_icon_.ArchiveFill;
2322
2375
  }
2323
2376
 
2324
- return (0,external_vue_namespaceObject.h)(icon, {
2377
+ return (0,external_vue_.h)(icon, {
2325
2378
  "class": "".concat(classBlock, "__item-file-icon")
2326
2379
  });
2327
2380
  };
2328
2381
 
2329
2382
  var NormalItem = function NormalItem(file) {
2330
- return [(0,external_vue_namespaceObject.createVNode)("div", {
2383
+ return [(0,external_vue_.createVNode)("div", {
2331
2384
  "class": "".concat(classBlock, "__item-icon")
2332
- }, [file.isPic ? (0,external_vue_namespaceObject.createVNode)("img", {
2385
+ }, [file.isPic ? (0,external_vue_.createVNode)("img", {
2333
2386
  "src": file.url,
2334
2387
  "class": "".concat(classBlock, "__item-thumbnail"),
2335
2388
  "alt": ""
2336
- }, null) : FileIcon(file)]), (0,external_vue_namespaceObject.createVNode)("div", {
2389
+ }, null) : FileIcon(file)]), (0,external_vue_.createVNode)("div", {
2337
2390
  "class": "".concat(classBlock, "__item-summary")
2338
- }, [(0,external_vue_namespaceObject.createVNode)("div", {
2391
+ }, [(0,external_vue_.createVNode)("div", {
2339
2392
  "class": "".concat(classBlock, "__item-name"),
2340
2393
  "title": file.name
2341
- }, [file.name]), file.status !== 'uploading' && (0,external_vue_namespaceObject.createVNode)("div", {
2394
+ }, [file.name]), file.status !== 'uploading' && (0,external_vue_.createVNode)("div", {
2342
2395
  "class": "".concat(classBlock, "__item-message"),
2343
2396
  "title": file.statusText
2344
- }, [file.status === 'success' && (0,external_vue_namespaceObject.createVNode)("span", null, [(0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Done, {
2397
+ }, [file.status === 'success' && (0,external_vue_.createVNode)("span", null, [(0,external_vue_.createVNode)(external_icon_.Done, {
2345
2398
  "class": "".concat(classBlock, "__item-message-success-icon")
2346
- }, null), file.statusText || '上传成功']), file.status === 'fail' && (0,external_vue_namespaceObject.createVNode)("span", null, [file.statusText || '上传失败'])]), file.status === 'uploading' && (0,external_vue_namespaceObject.createVNode)(external_progress_namespaceObject["default"], {
2399
+ }, null), file.statusText || '上传成功']), file.status === 'fail' && (0,external_vue_.createVNode)("span", null, [file.statusText || '上传失败'])]), file.status === 'uploading' && (0,external_vue_.createVNode)((external_progress_default()), {
2347
2400
  "class": "".concat(classBlock, "__item-progress"),
2348
2401
  "showText": false,
2349
2402
  "percent": file.percentage,
2350
2403
  "size": "small"
2351
- }, null), file.status !== 'fail' && (0,external_vue_namespaceObject.createVNode)("div", {
2404
+ }, null), file.status !== 'fail' && (0,external_vue_.createVNode)("div", {
2352
2405
  "class": "".concat(classBlock, "__item-speed")
2353
- }, [(0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("span", {
2406
+ }, [(0,external_vue_.withDirectives)((0,external_vue_.createVNode)("span", {
2354
2407
  "class": "".concat(classBlock, "__item-speed-size")
2355
- }, [formatSize(file.size)]), [[external_vue_namespaceObject.vShow, file.size]]), (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("span", {
2408
+ }, [formatSize(file.size)]), [[external_vue_.vShow, file.size]]), (0,external_vue_.withDirectives)((0,external_vue_.createVNode)("span", {
2356
2409
  "class": "".concat(classBlock, "__item-speed-percentage")
2357
- }, [file.percentage, (0,external_vue_namespaceObject.createTextVNode)("%")]), [[external_vue_namespaceObject.vShow, file.status === 'uploading']])]), !disabled.value && (0,external_vue_namespaceObject.createVNode)("div", {
2410
+ }, [file.percentage, (0,external_vue_.createTextVNode)("%")]), [[external_vue_.vShow, file.status === 'uploading']])]), !disabled.value && (0,external_vue_.createVNode)("div", {
2358
2411
  "class": "".concat(classBlock, "__item-actions")
2359
- }, [file.status === 'fail' && (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.RightTurnLine, {
2412
+ }, [file.status === 'fail' && (0,external_vue_.createVNode)(external_icon_.RightTurnLine, {
2360
2413
  "class": "".concat(classBlock, "__item-retry-icon"),
2361
2414
  "onClick": function onClick(e) {
2362
2415
  return handleRetry(file, e);
2363
2416
  }
2364
- }, null), (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Del, {
2417
+ }, null), (0,external_vue_.createVNode)(external_icon_.Del, {
2365
2418
  "class": "".concat(classBlock, "__item-del-icon"),
2366
2419
  "onClick": function onClick(e) {
2367
2420
  return handleRemove(file, e);
@@ -2372,16 +2425,15 @@ function _isSlot(s) {
2372
2425
  return function () {
2373
2426
  var _a;
2374
2427
 
2375
- return (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [isSinglePhoto.value ? (slots === null || slots === void 0 ? void 0 : slots.innerTrigger) && (slots === null || slots === void 0 ? void 0 : slots.innerTrigger((_a = props.files) === null || _a === void 0 ? void 0 : _a[0])) : (0,external_vue_namespaceObject.createVNode)("ul", {
2428
+ return (0,external_vue_.createVNode)(external_vue_.Fragment, null, [isSinglePhoto.value ? (slots === null || slots === void 0 ? void 0 : slots.innerTrigger) && (slots === null || slots === void 0 ? void 0 : slots.innerTrigger((_a = props.files) === null || _a === void 0 ? void 0 : _a[0])) : (0,external_vue_.createVNode)("ul", {
2376
2429
  "class": classNames.value
2377
2430
  }, [isPhotowall.value ? Photowall() : Normal(), (slots === null || slots === void 0 ? void 0 : slots.innerTrigger) && (slots === null || slots === void 0 ? void 0 : slots.innerTrigger())])]);
2378
2431
  };
2379
2432
  }
2380
2433
  }));
2381
- ;// CONCATENATED MODULE: external "../button"
2382
- var external_button_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
2383
- var external_button_y = x => () => x
2384
- const external_button_namespaceObject = external_button_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE__button_59c00871__["default"] });
2434
+ // EXTERNAL MODULE: external "../button"
2435
+ var external_button_ = __webpack_require__(4976);
2436
+ var external_button_default = /*#__PURE__*/__webpack_require__.n(external_button_);
2385
2437
  ;// CONCATENATED MODULE: ../../packages/upload/src/upload-trigger.tsx
2386
2438
 
2387
2439
 
@@ -2418,7 +2470,7 @@ const external_button_namespaceObject = external_button_x({ ["default"]: () => _
2418
2470
 
2419
2471
 
2420
2472
 
2421
- /* harmony default export */ const upload_trigger = ((0,external_vue_namespaceObject.defineComponent)({
2473
+ /* harmony default export */ const upload_trigger = ((0,external_vue_.defineComponent)({
2422
2474
  name: 'UploadTrigger',
2423
2475
  props: {
2424
2476
  theme: props.theme,
@@ -2434,7 +2486,7 @@ const external_button_namespaceObject = external_button_x({ ["default"]: () => _
2434
2486
  var slots = _ref.slots,
2435
2487
  emit = _ref.emit;
2436
2488
 
2437
- var _toRefs = (0,external_vue_namespaceObject.toRefs)(props),
2489
+ var _toRefs = (0,external_vue_.toRefs)(props),
2438
2490
  theme = _toRefs.theme,
2439
2491
  disabled = _toRefs.disabled,
2440
2492
  file = _toRefs.file,
@@ -2442,28 +2494,28 @@ const external_button_namespaceObject = external_button_x({ ["default"]: () => _
2442
2494
  accept = _toRefs.accept;
2443
2495
 
2444
2496
  var classBlock = "".concat(CLASS_PREFIX, "-trigger");
2445
- var isButton = (0,external_vue_namespaceObject.computed)(function () {
2497
+ var isButton = (0,external_vue_.computed)(function () {
2446
2498
  return theme.value === EThemes.BUTTON;
2447
2499
  });
2448
- var isDrag = (0,external_vue_namespaceObject.computed)(function () {
2500
+ var isDrag = (0,external_vue_.computed)(function () {
2449
2501
  return theme.value === EThemes.DRAGGABLE;
2450
2502
  });
2451
- var isPicture = (0,external_vue_namespaceObject.computed)(function () {
2503
+ var isPicture = (0,external_vue_.computed)(function () {
2452
2504
  return theme.value === EThemes.PICTURE;
2453
2505
  });
2454
- var isSinglePicture = (0,external_vue_namespaceObject.computed)(function () {
2506
+ var isSinglePicture = (0,external_vue_.computed)(function () {
2455
2507
  return isPicture.value && !multiple.value;
2456
2508
  });
2457
- var acceptTypes = (0,external_vue_namespaceObject.computed)(function () {
2509
+ var acceptTypes = (0,external_vue_.computed)(function () {
2458
2510
  return isPicture.value && !accept.value ? 'image/png,image/jpeg,image/jpg' : accept.value;
2459
2511
  });
2460
- var inputEl = (0,external_vue_namespaceObject.ref)(null);
2461
- var classNames = (0,external_vue_namespaceObject.computed)(function () {
2512
+ var inputEl = (0,external_vue_.ref)(null);
2513
+ var classNames = (0,external_vue_.computed)(function () {
2462
2514
  var _classes;
2463
2515
 
2464
2516
  var _a, _b, _c;
2465
2517
 
2466
- return (0,external_shared_namespaceObject.classes)((_classes = {}, _defineProperty(_classes, classBlock, true), _defineProperty(_classes, "".concat(classBlock, "--").concat(theme.value), true), _defineProperty(_classes, "".concat(classBlock, "--single-picture"), isSinglePicture.value), _defineProperty(_classes, "".concat(classBlock, "--has-file"), (_a = file.value) !== null && _a !== void 0 ? _a : false), _defineProperty(_classes, "".concat(classBlock, "--").concat((_b = file.value) === null || _b === void 0 ? void 0 : _b.status), (_c = file.value) !== null && _c !== void 0 ? _c : false), _defineProperty(_classes, "".concat(classBlock, "--dragover"), dragover.value), _defineProperty(_classes, "".concat(classBlock, "--disabled"), disabled.value), _classes));
2518
+ return (0,external_shared_.classes)((_classes = {}, _defineProperty(_classes, classBlock, true), _defineProperty(_classes, "".concat(classBlock, "--").concat(theme.value), true), _defineProperty(_classes, "".concat(classBlock, "--single-picture"), isSinglePicture.value), _defineProperty(_classes, "".concat(classBlock, "--has-file"), (_a = file.value) !== null && _a !== void 0 ? _a : false), _defineProperty(_classes, "".concat(classBlock, "--").concat((_b = file.value) === null || _b === void 0 ? void 0 : _b.status), (_c = file.value) !== null && _c !== void 0 ? _c : false), _defineProperty(_classes, "".concat(classBlock, "--dragover"), dragover.value), _defineProperty(_classes, "".concat(classBlock, "--disabled"), disabled.value), _classes));
2467
2519
  });
2468
2520
 
2469
2521
  var invoke = function invoke() {
@@ -2502,7 +2554,7 @@ const external_button_namespaceObject = external_button_x({ ["default"]: () => _
2502
2554
  e.preventDefault();
2503
2555
  }
2504
2556
 
2505
- var dragover = (0,external_vue_namespaceObject.ref)(false);
2557
+ var dragover = (0,external_vue_.ref)(false);
2506
2558
 
2507
2559
  var Dragger = function Dragger() {
2508
2560
  var handleDrop = function handleDrop(e) {
@@ -2556,41 +2608,41 @@ const external_button_namespaceObject = external_button_x({ ["default"]: () => _
2556
2608
  dragover.value = false;
2557
2609
  };
2558
2610
 
2559
- var classNames = (0,external_shared_namespaceObject.classes)(_defineProperty({}, "".concat(classBlock, "__draggable"), true));
2560
- return (0,external_vue_namespaceObject.createVNode)("div", {
2611
+ var classNames = (0,external_shared_.classes)(_defineProperty({}, "".concat(classBlock, "__draggable"), true));
2612
+ return (0,external_vue_.createVNode)("div", {
2561
2613
  "class": classNames,
2562
2614
  "onDrop": handleDrop,
2563
2615
  "onDragover": handleDragover,
2564
2616
  "onDragleave": handleDragleave
2565
- }, [slots["default"] ? slots["default"]() : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Upload, {
2617
+ }, [slots["default"] ? slots["default"]() : (0,external_vue_.createVNode)(external_vue_.Fragment, null, [(0,external_vue_.createVNode)(external_icon_.Upload, {
2566
2618
  "class": "".concat(classBlock, "__draggable-icon")
2567
- }, null), (0,external_vue_namespaceObject.createVNode)("div", {
2619
+ }, null), (0,external_vue_.createVNode)("div", {
2568
2620
  "class": "".concat(classBlock, "__draggable-text")
2569
- }, [(0,external_vue_namespaceObject.createTextVNode)("\u5C06\u6587\u4EF6\u62D6\u5230\u6B64\u5904\u6216"), (0,external_vue_namespaceObject.createVNode)("span", {
2621
+ }, [(0,external_vue_.createTextVNode)("\u5C06\u6587\u4EF6\u62D6\u5230\u6B64\u5904\u6216"), (0,external_vue_.createVNode)("span", {
2570
2622
  "class": "".concat(classBlock, "__draggable-upload-link")
2571
- }, [(0,external_vue_namespaceObject.createTextVNode)("\u70B9\u51FB\u4E0A\u4F20")])])])]);
2623
+ }, [(0,external_vue_.createTextVNode)("\u70B9\u51FB\u4E0A\u4F20")])])])]);
2572
2624
  };
2573
2625
 
2574
2626
  var Picture = function Picture() {
2575
- return (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [isSinglePicture.value && props.file ? SinglePicture(props.file) : DefaultPicture()]);
2627
+ return (0,external_vue_.createVNode)(external_vue_.Fragment, null, [isSinglePicture.value && props.file ? SinglePicture(props.file) : DefaultPicture()]);
2576
2628
  };
2577
2629
 
2578
2630
  var DefaultPicture = function DefaultPicture() {
2579
- return (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [slots["default"] ? slots["default"]() : (0,external_vue_namespaceObject.createVNode)("div", {
2631
+ return (0,external_vue_.createVNode)(external_vue_.Fragment, null, [slots["default"] ? slots["default"]() : (0,external_vue_.createVNode)("div", {
2580
2632
  "class": "".concat(classBlock, "__picture-inner")
2581
- }, [(0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Plus, {
2633
+ }, [(0,external_vue_.createVNode)(external_icon_.Plus, {
2582
2634
  "class": "".concat(classBlock, "__picture-icon")
2583
- }, null), (0,external_vue_namespaceObject.createVNode)("div", {
2635
+ }, null), (0,external_vue_.createVNode)("div", {
2584
2636
  "class": "".concat(classBlock, "__picture-text")
2585
- }, [(0,external_vue_namespaceObject.createTextVNode)("\u70B9\u51FB\u4E0A\u4F20")])])]);
2637
+ }, [(0,external_vue_.createTextVNode)("\u70B9\u51FB\u4E0A\u4F20")])])]);
2586
2638
  };
2587
2639
 
2588
2640
  var SinglePicture = function SinglePicture(file) {
2589
- return [(0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("img", {
2641
+ return [(0,external_vue_.withDirectives)((0,external_vue_.createVNode)("img", {
2590
2642
  "src": file.url,
2591
2643
  "class": "".concat(classBlock, "__picture-thumbnail"),
2592
2644
  "alt": ""
2593
- }, null), [[external_vue_namespaceObject.vShow, file.status !== 'uploading']]), (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [file.status === 'uploading' && (0,external_vue_namespaceObject.createVNode)(external_progress_namespaceObject["default"], {
2645
+ }, null), [[external_vue_.vShow, file.status !== 'uploading']]), (0,external_vue_.createVNode)(external_vue_.Fragment, null, [file.status === 'uploading' && (0,external_vue_.createVNode)((external_progress_default()), {
2594
2646
  "class": "".concat(classBlock, "__picture-progress"),
2595
2647
  "type": "circle",
2596
2648
  "color": "#3a84ff",
@@ -2600,9 +2652,9 @@ const external_button_namespaceObject = external_button_x({ ["default"]: () => _
2600
2652
  color: '#fff'
2601
2653
  },
2602
2654
  "percent": file.percentage
2603
- }, null)]), (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [!props.disabled && (0,external_vue_namespaceObject.createVNode)("div", {
2655
+ }, null)]), (0,external_vue_.createVNode)(external_vue_.Fragment, null, [!props.disabled && (0,external_vue_.createVNode)("div", {
2604
2656
  "class": "".concat(classBlock, "__picture-actions")
2605
- }, [(0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Del, {
2657
+ }, [(0,external_vue_.createVNode)(external_icon_.Del, {
2606
2658
  "class": "action-icon",
2607
2659
  "onClick": function onClick(e) {
2608
2660
  return handleRemove(file, e);
@@ -2611,15 +2663,15 @@ const external_button_namespaceObject = external_button_x({ ["default"]: () => _
2611
2663
  };
2612
2664
 
2613
2665
  var Button = function Button() {
2614
- return (0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
2666
+ return (0,external_vue_.createVNode)((external_button_default()), {
2615
2667
  "disabled": disabled.value
2616
2668
  }, {
2617
2669
  "default": function _default() {
2618
- return [(0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Upload, {
2670
+ return [(0,external_vue_.createVNode)(external_icon_.Upload, {
2619
2671
  "class": "".concat(classBlock, "__button-icon")
2620
- }, null), (0,external_vue_namespaceObject.createVNode)("span", {
2672
+ }, null), (0,external_vue_.createVNode)("span", {
2621
2673
  "class": "".concat(classBlock, "__button-text")
2622
- }, [(0,external_vue_namespaceObject.createTextVNode)("\u4E0A\u4F20\u6587\u4EF6")])];
2674
+ }, [(0,external_vue_.createTextVNode)("\u4E0A\u4F20\u6587\u4EF6")])];
2623
2675
  }
2624
2676
  });
2625
2677
  };
@@ -2633,12 +2685,12 @@ const external_button_namespaceObject = external_button_x({ ["default"]: () => _
2633
2685
  return function () {
2634
2686
  var _a;
2635
2687
 
2636
- return (0,external_vue_namespaceObject.createVNode)("div", {
2688
+ return (0,external_vue_.createVNode)("div", {
2637
2689
  "class": classNames.value,
2638
2690
  "tabindex": "0",
2639
2691
  "onClick": handleClick,
2640
2692
  "onKeydown": handleKeydown
2641
- }, [slots.trigger ? [slots.trigger(), (_a = slots === null || slots === void 0 ? void 0 : slots["default"]) === null || _a === void 0 ? void 0 : _a.call(slots)] : Trigger(), (0,external_vue_namespaceObject.createVNode)("input", {
2693
+ }, [slots.trigger ? [slots.trigger(), (_a = slots === null || slots === void 0 ? void 0 : slots["default"]) === null || _a === void 0 ? void 0 : _a.call(slots)] : Trigger(), (0,external_vue_.createVNode)("input", {
2642
2694
  "ref": inputEl,
2643
2695
  "class": "".concat(classBlock, "__input-file"),
2644
2696
  "tabindex": "-1",
@@ -2818,7 +2870,7 @@ var ajaxUpload = function ajaxUpload(option) {
2818
2870
  key = _Object$entries2$_i[0],
2819
2871
  value = _Object$entries2$_i[1];
2820
2872
 
2821
- if ((0,external_shared_namespaceObject.isNullOrUndef)(value)) continue;
2873
+ if ((0,external_shared_.isNullOrUndef)(value)) continue;
2822
2874
  xhr.setRequestHeader(key, String(value));
2823
2875
  }
2824
2876
  }
@@ -2991,7 +3043,7 @@ var sliceSend = function sliceSend(option, file, blockCount, hash, progressList,
2991
3043
  key = _Object$entries4$_i[0],
2992
3044
  value = _Object$entries4$_i[1];
2993
3045
 
2994
- if ((0,external_shared_namespaceObject.isNullOrUndef)(value)) continue;
3046
+ if ((0,external_shared_.isNullOrUndef)(value)) continue;
2995
3047
  xhr.setRequestHeader(key, String(value));
2996
3048
  }
2997
3049
  }
@@ -3085,7 +3137,7 @@ function buildFileId(index) {
3085
3137
  }
3086
3138
 
3087
3139
  /* harmony default export */ const use_file_handler = (function (props, hooks) {
3088
- var maxImgSize = (0,external_vue_namespaceObject.computed)(function () {
3140
+ var maxImgSize = (0,external_vue_.computed)(function () {
3089
3141
  var _a;
3090
3142
 
3091
3143
  if (typeof props.size === 'number') {
@@ -3094,7 +3146,7 @@ function buildFileId(index) {
3094
3146
 
3095
3147
  return (_a = props === null || props === void 0 ? void 0 : props.size) === null || _a === void 0 ? void 0 : _a.maxImgSize;
3096
3148
  });
3097
- var maxFileSize = (0,external_vue_namespaceObject.computed)(function () {
3149
+ var maxFileSize = (0,external_vue_.computed)(function () {
3098
3150
  var _a;
3099
3151
 
3100
3152
  if (typeof props.size === 'number') {
@@ -3104,7 +3156,7 @@ function buildFileId(index) {
3104
3156
  return (_a = props === null || props === void 0 ? void 0 : props.size) === null || _a === void 0 ? void 0 : _a.maxImgSize;
3105
3157
  }); // 文件列表,包括选择的和已上传
3106
3158
 
3107
- var fileList = (0,external_vue_namespaceObject.ref)([]);
3159
+ var fileList = (0,external_vue_.ref)([]);
3108
3160
 
3109
3161
  function findFile(rawFile) {
3110
3162
  return fileList.value.find(function (item) {
@@ -3303,7 +3355,7 @@ function buildFileId(index) {
3303
3355
  }));
3304
3356
  }
3305
3357
 
3306
- (0,external_vue_namespaceObject.watch)(function () {
3358
+ (0,external_vue_.watch)(function () {
3307
3359
  return props.files;
3308
3360
  }, function (files) {
3309
3361
  fileList.value = files.map(function (file) {
@@ -3373,7 +3425,7 @@ function upload_arrayLikeToArray(arr, len) { if (len == null || len > arr.length
3373
3425
 
3374
3426
 
3375
3427
 
3376
- /* harmony default export */ const upload = ((0,external_vue_namespaceObject.defineComponent)({
3428
+ /* harmony default export */ const upload = ((0,external_vue_.defineComponent)({
3377
3429
  name: 'Upload',
3378
3430
  props: props,
3379
3431
  emits: ['exceed', 'progress', 'success', 'error', 'delete', 'done'],
@@ -3381,21 +3433,21 @@ function upload_arrayLikeToArray(arr, len) { if (len == null || len > arr.length
3381
3433
  var slots = _ref.slots,
3382
3434
  emit = _ref.emit,
3383
3435
  expose = _ref.expose;
3384
- var requests = (0,external_vue_namespaceObject.shallowRef)({});
3385
- var isPhotowall = (0,external_vue_namespaceObject.computed)(function () {
3436
+ var requests = (0,external_vue_.shallowRef)({});
3437
+ var isPhotowall = (0,external_vue_.computed)(function () {
3386
3438
  return props.theme === EThemes.PICTURE;
3387
3439
  });
3388
- var isSinglePhoto = (0,external_vue_namespaceObject.computed)(function () {
3440
+ var isSinglePhoto = (0,external_vue_.computed)(function () {
3389
3441
  return isPhotowall.value && !props.multiple;
3390
3442
  });
3391
- var classNames = (0,external_vue_namespaceObject.computed)(function () {
3443
+ var classNames = (0,external_vue_.computed)(function () {
3392
3444
  var _classes;
3393
3445
 
3394
3446
  var _a;
3395
3447
 
3396
- return (0,external_shared_namespaceObject.classes)((_classes = {}, _defineProperty(_classes, CLASS_PREFIX, true), _defineProperty(_classes, "".concat(CLASS_PREFIX, "--").concat(props.theme), true), _defineProperty(_classes, "".concat(CLASS_PREFIX, "--disabled"), props.disabled), _defineProperty(_classes, "".concat(CLASS_PREFIX, "--single-picture"), isSinglePhoto.value), _defineProperty(_classes, props.extCls, (_a = props.extCls) !== null && _a !== void 0 ? _a : false), _classes));
3448
+ return (0,external_shared_.classes)((_classes = {}, _defineProperty(_classes, CLASS_PREFIX, true), _defineProperty(_classes, "".concat(CLASS_PREFIX, "--").concat(props.theme), true), _defineProperty(_classes, "".concat(CLASS_PREFIX, "--disabled"), props.disabled), _defineProperty(_classes, "".concat(CLASS_PREFIX, "--single-picture"), isSinglePhoto.value), _defineProperty(_classes, props.extCls, (_a = props.extCls) !== null && _a !== void 0 ? _a : false), _classes));
3397
3449
  });
3398
- var triggerProps = (0,external_vue_namespaceObject.computed)(function () {
3450
+ var triggerProps = (0,external_vue_.computed)(function () {
3399
3451
  return {
3400
3452
  theme: props.theme,
3401
3453
  multiple: props.multiple,
@@ -3608,7 +3660,7 @@ function upload_arrayLikeToArray(arr, len) { if (len == null || len > arr.length
3608
3660
  });
3609
3661
  }
3610
3662
 
3611
- (0,external_vue_namespaceObject.onBeforeUnmount)(function () {
3663
+ (0,external_vue_.onBeforeUnmount)(function () {
3612
3664
  fileList.value.forEach(function (_ref2) {
3613
3665
  var url = _ref2.url;
3614
3666
  if (url === null || url === void 0 ? void 0 : url.startsWith('blob:')) URL.revokeObjectURL(url);
@@ -3619,13 +3671,13 @@ function upload_arrayLikeToArray(arr, len) { if (len == null || len > arr.length
3619
3671
  handleRetry: handleRetry
3620
3672
  });
3621
3673
  return function () {
3622
- return (0,external_vue_namespaceObject.createVNode)("div", {
3674
+ return (0,external_vue_.createVNode)("div", {
3623
3675
  "class": classNames.value
3624
- }, [!isPhotowall.value && (0,external_vue_namespaceObject.createVNode)(upload_trigger, (0,external_vue_namespaceObject.mergeProps)(triggerProps.value, {
3676
+ }, [!isPhotowall.value && (0,external_vue_.createVNode)(upload_trigger, (0,external_vue_.mergeProps)(triggerProps.value, {
3625
3677
  "onChange": handleFiles
3626
- }), slots), slots.tip ? slots.tip() : props.tip && (0,external_vue_namespaceObject.createVNode)("div", {
3678
+ }), slots), slots.tip ? slots.tip() : props.tip && (0,external_vue_.createVNode)("div", {
3627
3679
  "class": "".concat(CLASS_PREFIX, "__tip")
3628
- }, [props.tip]), (0,external_vue_namespaceObject.createVNode)(upload_list, {
3680
+ }, [props.tip]), (0,external_vue_.createVNode)(upload_list, {
3629
3681
  "files": fileList.value,
3630
3682
  "theme": props.theme,
3631
3683
  "disabled": props.disabled,
@@ -3634,7 +3686,7 @@ function upload_arrayLikeToArray(arr, len) { if (len == null || len > arr.length
3634
3686
  "onRetry": handleRetry
3635
3687
  }, {
3636
3688
  innerTrigger: function innerTrigger(file) {
3637
- return isPhotowall.value && (0,external_vue_namespaceObject.createVNode)(upload_trigger, (0,external_vue_namespaceObject.mergeProps)(triggerProps.value, {
3689
+ return isPhotowall.value && (0,external_vue_.createVNode)(upload_trigger, (0,external_vue_.mergeProps)(triggerProps.value, {
3638
3690
  "file": file,
3639
3691
  "onChange": handleFiles,
3640
3692
  "onRemove": handleRemove
@@ -3673,9 +3725,11 @@ function upload_arrayLikeToArray(arr, len) { if (len == null || len > arr.length
3673
3725
  */
3674
3726
 
3675
3727
 
3676
- var Upload = (0,external_shared_namespaceObject.withInstall)(upload);
3728
+ var Upload = (0,external_shared_.withInstall)(upload);
3677
3729
  /* harmony default export */ const src = (Upload);
3678
3730
  })();
3679
3731
 
3680
- var __webpack_exports__default = __webpack_exports__.Z;
3681
- export { __webpack_exports__default as default };
3732
+ /******/ return __webpack_exports__;
3733
+ /******/ })()
3734
+ ;
3735
+ });