bkui-vue 0.0.1-beta.387 → 0.0.1-beta.389

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 (150) hide show
  1. package/dist/index.cjs.js +22 -22
  2. package/dist/index.esm.js +1 -0
  3. package/dist/index.umd.js +23 -23
  4. package/lib/affix/index.js +353 -1
  5. package/lib/alert/index.js +251 -1
  6. package/lib/animate-number/index.js +226 -1
  7. package/lib/backtop/index.js +260 -1
  8. package/lib/badge/index.js +274 -1
  9. package/lib/breadcrumb/index.js +329 -1
  10. package/lib/button/index.js +371 -1
  11. package/lib/card/index.js +326 -1
  12. package/lib/cascader/index.js +2168 -1
  13. package/lib/checkbox/index.js +571 -1
  14. package/lib/code-diff/index.js +5520 -1
  15. package/lib/collapse/index.js +698 -1
  16. package/lib/color-picker/index.js +2816 -1
  17. package/lib/components.js +759 -1
  18. package/lib/container/index.js +369 -1
  19. package/lib/date-picker/index.js +5601 -1
  20. package/lib/dialog/index.js +545 -1
  21. package/lib/directives/index.js +1428 -2
  22. package/lib/dist.index.js +166 -1
  23. package/lib/divider/index.js +512 -1
  24. package/lib/dropdown/index.js +414 -1
  25. package/lib/exception/index.js +405 -1
  26. package/lib/fixed-navbar/index.js +214 -1
  27. package/lib/form/index.js +986 -1
  28. package/lib/icon/angle-double-down-line.js +426 -1
  29. package/lib/icon/angle-double-left-line.js +426 -1
  30. package/lib/icon/angle-double-left.js +426 -1
  31. package/lib/icon/angle-double-right-line.js +426 -1
  32. package/lib/icon/angle-double-right.js +426 -1
  33. package/lib/icon/angle-double-up-line.js +426 -1
  34. package/lib/icon/angle-down-fill.js +426 -1
  35. package/lib/icon/angle-down-line.js +426 -1
  36. package/lib/icon/angle-down.js +426 -1
  37. package/lib/icon/angle-left.js +426 -1
  38. package/lib/icon/angle-right.js +426 -1
  39. package/lib/icon/angle-up-fill.js +426 -1
  40. package/lib/icon/angle-up.js +426 -1
  41. package/lib/icon/archive-fill.js +426 -1
  42. package/lib/icon/arrows-left.js +426 -1
  43. package/lib/icon/arrows-right.js +426 -1
  44. package/lib/icon/audio-fill.js +426 -1
  45. package/lib/icon/bk.js +426 -1
  46. package/lib/icon/circle.js +426 -1
  47. package/lib/icon/close-line.js +426 -1
  48. package/lib/icon/close.js +426 -1
  49. package/lib/icon/code.js +426 -1
  50. package/lib/icon/cog-shape.js +426 -1
  51. package/lib/icon/collapse-left.js +426 -1
  52. package/lib/icon/copy.js +426 -1
  53. package/lib/icon/data-shape.js +426 -1
  54. package/lib/icon/del.js +426 -1
  55. package/lib/icon/doc-fill.js +426 -1
  56. package/lib/icon/done.js +426 -1
  57. package/lib/icon/down-shape.js +426 -1
  58. package/lib/icon/down-small.js +426 -1
  59. package/lib/icon/edit-line.js +426 -1
  60. package/lib/icon/ellipsis.js +426 -1
  61. package/lib/icon/enlarge-line.js +426 -1
  62. package/lib/icon/error.js +426 -1
  63. package/lib/icon/excel-fill.js +426 -1
  64. package/lib/icon/exclamation-circle-shape.js +426 -1
  65. package/lib/icon/eye.js +426 -1
  66. package/lib/icon/filliscreen-line.js +426 -1
  67. package/lib/icon/folder-open.js +426 -1
  68. package/lib/icon/folder-shape-open.js +426 -1
  69. package/lib/icon/folder-shape.js +426 -1
  70. package/lib/icon/folder.js +426 -1
  71. package/lib/icon/funnel.js +426 -1
  72. package/lib/icon/help-document-fill.js +426 -1
  73. package/lib/icon/help-fill.js +426 -1
  74. package/lib/icon/help.js +426 -1
  75. package/lib/icon/image-fill.js +426 -1
  76. package/lib/icon/img-placehoulder.js +448 -1
  77. package/lib/icon/index.js +2275 -1
  78. package/lib/icon/info-line.js +448 -1
  79. package/lib/icon/info.js +448 -1
  80. package/lib/icon/left-shape.js +448 -1
  81. package/lib/icon/left-turn-line.js +448 -1
  82. package/lib/icon/narrow-line.js +448 -1
  83. package/lib/icon/original.js +448 -1
  84. package/lib/icon/pdf-fill.js +448 -1
  85. package/lib/icon/play-shape.js +448 -1
  86. package/lib/icon/plus.js +448 -1
  87. package/lib/icon/ppt-fill.js +448 -1
  88. package/lib/icon/qq.js +448 -1
  89. package/lib/icon/right-shape.js +448 -1
  90. package/lib/icon/right-turn-line.js +448 -1
  91. package/lib/icon/search.js +448 -1
  92. package/lib/icon/share.js +448 -1
  93. package/lib/icon/spinner.js +448 -1
  94. package/lib/icon/success.js +448 -1
  95. package/lib/icon/switcher-loading.js +448 -1
  96. package/lib/icon/text-file.js +448 -1
  97. package/lib/icon/text-fill.js +448 -1
  98. package/lib/icon/transfer.js +448 -1
  99. package/lib/icon/tree-application-shape.js +448 -1
  100. package/lib/icon/unfull-screen.js +448 -1
  101. package/lib/icon/unvisible.js +448 -1
  102. package/lib/icon/up-shape.js +448 -1
  103. package/lib/icon/upload.js +448 -1
  104. package/lib/icon/video-fill.js +448 -1
  105. package/lib/icon/warn.js +448 -1
  106. package/lib/icon/weixin.js +448 -1
  107. package/lib/image/index.js +873 -1
  108. package/lib/index.js +169 -1
  109. package/lib/info-box/index.js +1784 -1
  110. package/lib/input/index.js +846 -1
  111. package/lib/link/index.js +226 -1
  112. package/lib/loading/index.js +309 -1
  113. package/lib/menu/index.js +796 -1
  114. package/lib/message/index.js +401 -1
  115. package/lib/modal/index.js +395 -1
  116. package/lib/navigation/index.js +431 -1
  117. package/lib/notify/index.js +430 -1
  118. package/lib/overflow-title/index.js +512 -1
  119. package/lib/pagination/index.js +1026 -1
  120. package/lib/plugin-popover/index.js +2448 -1
  121. package/lib/plugins/index.js +130 -1
  122. package/lib/popover/index.js +2454 -1
  123. package/lib/popover2/index.js +172 -1
  124. package/lib/preset.js +129 -1
  125. package/lib/process/index.js +1417 -1
  126. package/lib/progress/index.js +479 -1
  127. package/lib/radio/index.js +649 -1
  128. package/lib/rate/index.js +358 -1
  129. package/lib/resize-layout/index.js +495 -1
  130. package/lib/search-select/index.js +3388 -1
  131. package/lib/select/index.js +2819 -1
  132. package/lib/shared/index.js +2813 -1
  133. package/lib/sideslider/index.js +1362 -1
  134. package/lib/slider/index.js +2060 -1
  135. package/lib/steps/index.js +1504 -1
  136. package/lib/swiper/index.js +374 -1
  137. package/lib/switcher/index.js +308 -1
  138. package/lib/tab/index.js +919 -1
  139. package/lib/table/index.js +6635 -1
  140. package/lib/table-column/index.js +737 -1
  141. package/lib/tag/index.js +278 -1
  142. package/lib/tag-input/index.js +1897 -1
  143. package/lib/time-picker/index.js +142 -1
  144. package/lib/timeline/index.js +315 -1
  145. package/lib/transfer/index.js +658 -1
  146. package/lib/tree/index.js +2917 -1
  147. package/lib/upload/index.js +3735 -1
  148. package/lib/virtual-render/index.js +825 -1
  149. package/package.json +1 -3
  150. package/lib/directives/index.js.LICENSE.txt +0 -14
@@ -1 +1,658 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("../icon/"),require("../input"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../icon/","../input"],t);else{var r="object"==typeof exports?t(require("../shared"),require("vue"),require("../icon/"),require("../input")):t(e["../shared"],e.vue,e["../icon/"],e["../input"]);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(self,((e,t,r,n)=>(()=>{"use strict";var o={7685:e=>{e.exports=r},8133:e=>{e.exports=n},4212:t=>{t.exports=e},748:e=>{e.exports=t}},a={};function u(e){var t=a[e];if(void 0!==t)return t.exports;var r=a[e]={exports:{}};return o[e](r,r.exports,u),r.exports}u.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return u.d(t,{a:t}),t},u.d=(e,t)=>{for(var r in t)u.o(t,r)&&!u.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},u.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return(()=>{u.r(l),u.d(l,{default:()=>f});var e=u(4212);function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function r(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,r){if(e){if("string"==typeof e)return t(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,r):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var n,o=u(748),a=u(7685),s=u(8133),i=u.n(s);!function(e){e.OBJECT_ARRAY="objectArray",e.BASE_ARRAY="baseArray",e.NOT_ARRAY="notArray"}(n||(n={}));var c={title:e.PropTypes.arrayOf(e.PropTypes.string).def([]),extCls:e.PropTypes.string.def(""),searchPlaceholder:e.PropTypes.string.def(""),settingKey:e.PropTypes.string.def("id"),displayKey:e.PropTypes.string.def("value"),sortKey:e.PropTypes.string.def("value"),showOverflowTips:e.PropTypes.bool.def(!1),searchable:e.PropTypes.bool.def(!1),sortable:e.PropTypes.bool.def(!1),sourceList:e.PropTypes.arrayOf(e.PropTypes.any).def([]),targetList:e.PropTypes.arrayOf(e.PropTypes.any).def([]),emptyContent:e.PropTypes.arrayOf(e.PropTypes.string).def([])};const d=(0,o.defineComponent)({name:"Transfer",props:c,emits:["change","update:targetList"],setup:function(e,t){var a=t.emit,u=(0,o.computed)((function(){return Array.isArray(e.sourceList)?e.sourceList.every((function(e){return e.toString().includes("[object Object]")}))?n.OBJECT_ARRAY:n.BASE_ARRAY:n.NOT_ARRAY})),l=(0,o.computed)((function(){return u.value===n.BASE_ARRAY?"value":e.settingKey})),s=(0,o.computed)((function(){return u.value===n.BASE_ARRAY?"value":e.displayKey})),i=(0,o.computed)((function(){return e.sortKey||s.value})),c=(0,o.computed)((function(){switch(u.value){case n.BASE_ARRAY:return r(new Set(e.sourceList)).map((function(e){return{value:e}}));case n.OBJECT_ARRAY:return r(e.sourceList);default:return[]}})),d=(0,o.toRefs)(e).targetList,f=function(e,t,r){var n=(0,o.ref)([]),a=(0,o.ref)([]),u=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&(n.value=[],a.value=[]),e.value.forEach((function(e){var o=e[r.value];t.value.includes(o)?a.value.push(e):n.value.push(e)}))};return u(),(0,o.watch)((function(){return[e,t,r]}),(function(){u(!0)}),{deep:!0}),{selectList:n,selectedList:a}}(c,d,l),p=f.selectList,v=f.selectedList,y=function(e,t){var r=(0,o.ref)(""),n=(0,o.computed)((function(){return e.value.filter((function(e){var n=e[t.value];return!(n instanceof Object)&&n.toString().includes(r.value)}))}));return{selectSearchQuery:r,selectListSearch:n}}(p,s),h=y.selectSearchQuery,m=y.selectListSearch,b=(0,o.computed)((function(){return r(m.value).sort((function(e,t){return e[i.value]>t[i.value]?1:-1}))})),g=(0,o.computed)((function(){return r(v.value).sort((function(e,t){return e[i.value]>t[i.value]?1:-1}))}));(0,o.watch)((function(){return[p,v]}),(function(){S()}),{deep:!0});var A=function(e,t){var r=l.value;return e.some((function(e){return e[r]===t[r]}))&&t.disabled},S=function(){var e=p.value.map((function(e){return e[l.value]})),t=v.value.map((function(e){return e[l.value]}));a("update:targetList",t),a("change",u.value===n.BASE_ARRAY?e:p.value.map((function(e){return(0,o.toRaw)(e)})),u.value===n.BASE_ARRAY?t:v.value.map((function(e){return(0,o.toRaw)(e)})),t)};return{selectSearchQuery:h,selectListSearch:m,selectedList:v,selectListSort:b,selectedListSort:g,settingCode:l,displayCode:s,allToRight:function(){p.value=r(c.value.filter((function(e){return A(p.value,e)}))),v.value=r(c.value.filter((function(e){return!A(p.value,e)}))),S()},allToLeft:function(){p.value=r(c.value.filter((function(e){return!A(v.value,e)}))),v.value=r(c.value.filter((function(e){return A(v.value,e)}))),S()},handleItemClick:function(e,t){var n;if(!e.disabled){var o=e[l.value],a=t?p:v,u=t?v:p,s=a.value.findIndex((function(e){return e[l.value]===o}));(n=u.value).push.apply(n,r(a.value.splice(s,1))),S()}}}},render:function(){var e=this,t=this.sortable?this.selectListSort:this.selectListSearch,r=this.sortable?this.selectedListSort:this.selectedList,n=function(n){var a,u,l="left-header"===n,s="".concat(l?null!==(a=e.title[0])&&void 0!==a?a:"源列表":null!==(u=e.title[1])&&void 0!==u?u:"目标列表"),i=l?!t.length:!r.length;return e.$slots[n]?(0,o.createVNode)("div",{class:"slot-header"},[e.$slots[n]()]):(0,o.createVNode)("div",{class:"header"},["".concat(s,"(").concat(l?t.length:r.length,")"),(0,o.createVNode)("span",{class:{disabled:i},onClick:function(){i||(l?e.allToRight():e.allToLeft())}},[l?"选择全部":"清空"])])},u=function(t){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,o.createVNode)("div",{class:["item-content",{"is-disabled":t.disabled}]},[(0,o.createVNode)("span",{class:"content-text",title:t[e.displayCode]},[t[e.displayCode]]),(0,o.createVNode)("span",{class:"icon-wrapper"},[r?(0,o.createVNode)(a.ArrowsRight,{class:"bk-icon icon-move"},null):(0,o.createVNode)(a.Error,{class:"bk-icon icon-delete"},null)])])},l=function(n){var a="left"===n,l=a?t:r,s=a?"source-option":"target-option",i=a?"left-empty-content":"right-empty-content";return l.length?(0,o.createVNode)("ul",{class:["content",e.searchable&&a?"is-search":""]},[l.map((function(t){var r,n,l;return(0,o.createVNode)("li",{key:t[e.settingCode],class:[e.$slots[s]?"custom-item":""],onClick:function(){return e.handleItemClick(t,a)}},[null!==(l=null===(n=(r=e.$slots)[s])||void 0===n?void 0:n.call(r,t))&&void 0!==l?l:u(t,a)])}))]):function(t){var r,n="left-empty-content"===t,a=null!==(r=n?e.emptyContent[0]:e.emptyContent[1])&&void 0!==r?r:n?"无数据":"未选择任何项";return e.$slots[t]?(0,o.createVNode)("div",null,[e.$slots[t]()]):(0,o.createVNode)("div",{class:"empty"},[a])}(i)};return(0,o.createVNode)("div",{class:["bk-transfer",this.extCls]},[(0,o.createVNode)("div",{class:"source-list"},[n("left-header"),this.searchable&&(0,o.createVNode)(i(),{modelValue:e.selectSearchQuery,"onUpdate:modelValue":function(t){return e.selectSearchQuery=t},class:"transfer-search-input",clearable:!0,placeholder:this.searchPlaceholder||"搜索"},{prefix:function(){return(0,o.createVNode)(a.Search,{class:"icon-search"},null)}}),l("left")]),(0,o.createVNode)(a.Transfer,{class:"transfer"},null),(0,o.createVNode)("div",{class:"target-list"},[n("right-header"),l("right")])])}}),f=(0,e.withInstall)(d)})(),l})()));
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory(require("../shared"), require("vue"), require("../icon/"), require("../input"));
4
+ else if(typeof define === 'function' && define.amd)
5
+ define(["../shared", "vue", "../icon/", "../input"], factory);
6
+ else {
7
+ var a = typeof exports === 'object' ? factory(require("../shared"), require("vue"), require("../icon/"), require("../input")) : factory(root["../shared"], root["vue"], root["../icon/"], root["../input"]);
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__7685__, __WEBPACK_EXTERNAL_MODULE__8133__) => {
11
+ return /******/ (() => { // webpackBootstrap
12
+ /******/ "use strict";
13
+ /******/ var __webpack_modules__ = ({
14
+
15
+ /***/ 7685:
16
+ /***/ ((module) => {
17
+
18
+ module.exports = __WEBPACK_EXTERNAL_MODULE__7685__;
19
+
20
+ /***/ }),
21
+
22
+ /***/ 8133:
23
+ /***/ ((module) => {
24
+
25
+ module.exports = __WEBPACK_EXTERNAL_MODULE__8133__;
26
+
27
+ /***/ }),
28
+
29
+ /***/ 4212:
30
+ /***/ ((module) => {
31
+
32
+ module.exports = __WEBPACK_EXTERNAL_MODULE__4212__;
33
+
34
+ /***/ }),
35
+
36
+ /***/ 748:
37
+ /***/ ((module) => {
38
+
39
+ module.exports = __WEBPACK_EXTERNAL_MODULE__748__;
40
+
41
+ /***/ })
42
+
43
+ /******/ });
44
+ /************************************************************************/
45
+ /******/ // The module cache
46
+ /******/ var __webpack_module_cache__ = {};
47
+ /******/
48
+ /******/ // The require function
49
+ /******/ function __webpack_require__(moduleId) {
50
+ /******/ // Check if module is in cache
51
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
52
+ /******/ if (cachedModule !== undefined) {
53
+ /******/ return cachedModule.exports;
54
+ /******/ }
55
+ /******/ // Create a new module (and put it into the cache)
56
+ /******/ var module = __webpack_module_cache__[moduleId] = {
57
+ /******/ // no module.id needed
58
+ /******/ // no module.loaded needed
59
+ /******/ exports: {}
60
+ /******/ };
61
+ /******/
62
+ /******/ // Execute the module function
63
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
64
+ /******/
65
+ /******/ // Return the exports of the module
66
+ /******/ return module.exports;
67
+ /******/ }
68
+ /******/
69
+ /************************************************************************/
70
+ /******/ /* webpack/runtime/compat get default export */
71
+ /******/ (() => {
72
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
73
+ /******/ __webpack_require__.n = (module) => {
74
+ /******/ var getter = module && module.__esModule ?
75
+ /******/ () => (module['default']) :
76
+ /******/ () => (module);
77
+ /******/ __webpack_require__.d(getter, { a: getter });
78
+ /******/ return getter;
79
+ /******/ };
80
+ /******/ })();
81
+ /******/
82
+ /******/ /* webpack/runtime/define property getters */
83
+ /******/ (() => {
84
+ /******/ // define getter functions for harmony exports
85
+ /******/ __webpack_require__.d = (exports, definition) => {
86
+ /******/ for(var key in definition) {
87
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
88
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
89
+ /******/ }
90
+ /******/ }
91
+ /******/ };
92
+ /******/ })();
93
+ /******/
94
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
95
+ /******/ (() => {
96
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
97
+ /******/ })();
98
+ /******/
99
+ /******/ /* webpack/runtime/make namespace object */
100
+ /******/ (() => {
101
+ /******/ // define __esModule on exports
102
+ /******/ __webpack_require__.r = (exports) => {
103
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
104
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
105
+ /******/ }
106
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
107
+ /******/ };
108
+ /******/ })();
109
+ /******/
110
+ /************************************************************************/
111
+ var __webpack_exports__ = {};
112
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
113
+ (() => {
114
+ // ESM COMPAT FLAG
115
+ __webpack_require__.r(__webpack_exports__);
116
+
117
+ // EXPORTS
118
+ __webpack_require__.d(__webpack_exports__, {
119
+ "default": () => (/* binding */ src)
120
+ });
121
+
122
+ // EXTERNAL MODULE: external "../shared"
123
+ var external_shared_ = __webpack_require__(4212);
124
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
125
+ function _arrayLikeToArray(arr, len) {
126
+ if (len == null || len > arr.length) len = arr.length;
127
+
128
+ for (var i = 0, arr2 = new Array(len); i < len; i++) {
129
+ arr2[i] = arr[i];
130
+ }
131
+
132
+ return arr2;
133
+ }
134
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
135
+
136
+ function _arrayWithoutHoles(arr) {
137
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
138
+ }
139
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
140
+ function _iterableToArray(iter) {
141
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
142
+ }
143
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
144
+
145
+ function _unsupportedIterableToArray(o, minLen) {
146
+ if (!o) return;
147
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
148
+ var n = Object.prototype.toString.call(o).slice(8, -1);
149
+ if (n === "Object" && o.constructor) n = o.constructor.name;
150
+ if (n === "Map" || n === "Set") return Array.from(o);
151
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
152
+ }
153
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
154
+ function _nonIterableSpread() {
155
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
156
+ }
157
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
158
+
159
+
160
+
161
+
162
+ function _toConsumableArray(arr) {
163
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
164
+ }
165
+ // EXTERNAL MODULE: external "vue"
166
+ var external_vue_ = __webpack_require__(748);
167
+ // EXTERNAL MODULE: external "../icon/"
168
+ var _ = __webpack_require__(7685);
169
+ // EXTERNAL MODULE: external "../input"
170
+ var external_input_ = __webpack_require__(8133);
171
+ var external_input_default = /*#__PURE__*/__webpack_require__.n(external_input_);
172
+ ;// CONCATENATED MODULE: ../../packages/transfer/src/const.ts
173
+ /*
174
+ * Tencent is pleased to support the open source community by making
175
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
176
+ *
177
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
178
+ *
179
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
180
+ *
181
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
182
+ *
183
+ * ---------------------------------------------------
184
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
185
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
186
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
187
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
188
+ *
189
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
190
+ * the Software.
191
+ *
192
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
193
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
194
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
195
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
196
+ * IN THE SOFTWARE.
197
+ */
198
+ // 非数组,基础数据数组,对象数组
199
+ var ArrayType;
200
+
201
+ (function (ArrayType) {
202
+ ArrayType["OBJECT_ARRAY"] = "objectArray";
203
+ ArrayType["BASE_ARRAY"] = "baseArray";
204
+ ArrayType["NOT_ARRAY"] = "notArray";
205
+ })(ArrayType || (ArrayType = {}));
206
+ ;// CONCATENATED MODULE: ../../packages/transfer/src/props.ts
207
+ /*
208
+ * Tencent is pleased to support the open source community by making
209
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
210
+ *
211
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
212
+ *
213
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
214
+ *
215
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
216
+ *
217
+ * ---------------------------------------------------
218
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
219
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
220
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
221
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
222
+ *
223
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
224
+ * the Software.
225
+ *
226
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
227
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
228
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
229
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
230
+ * IN THE SOFTWARE.
231
+ */
232
+
233
+ var transferProps = {
234
+ // 顶部title(title[0]: 左侧title,title[1]: 右侧title,)
235
+ title: external_shared_.PropTypes.arrayOf(external_shared_.PropTypes.string).def([]),
236
+ // 自定义class
237
+ extCls: external_shared_.PropTypes.string.def(''),
238
+ // 搜索框 placeholder
239
+ searchPlaceholder: external_shared_.PropTypes.string.def(''),
240
+ // 唯一key值
241
+ settingKey: external_shared_.PropTypes.string.def('id'),
242
+ // 循环list时,显示字段的key值(当list为普通数组时可不传传了也无效)
243
+ displayKey: external_shared_.PropTypes.string.def('value'),
244
+ // 排序所依据的key(当list为普通数组时可不传,默认按照index值排序)
245
+ sortKey: external_shared_.PropTypes.string.def('value'),
246
+ // 内容超出是否显示tooltip
247
+ showOverflowTips: external_shared_.PropTypes.bool.def(false),
248
+ // 是否开启搜索
249
+ searchable: external_shared_.PropTypes.bool.def(false),
250
+ // 是否开启排序功能
251
+ sortable: external_shared_.PropTypes.bool.def(false),
252
+ // 穿梭框数据源(支持普通数组)
253
+ sourceList: external_shared_.PropTypes.arrayOf(external_shared_.PropTypes.any).def([]),
254
+ // 默认已选择的数据源
255
+ targetList: external_shared_.PropTypes.arrayOf(external_shared_.PropTypes.any).def([]),
256
+ // 穿梭框无数据时提示文案
257
+ emptyContent: external_shared_.PropTypes.arrayOf(external_shared_.PropTypes.string).def([])
258
+ };
259
+ ;// CONCATENATED MODULE: ../../packages/transfer/src/transfer.tsx
260
+
261
+
262
+
263
+ /**
264
+ * Tencent is pleased to support the open source community by making
265
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
266
+ *
267
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
268
+ *
269
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
270
+ *
271
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
272
+ *
273
+ * ---------------------------------------------------
274
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
275
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
276
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
277
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
278
+ *
279
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
280
+ * the Software.
281
+ *
282
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
283
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
284
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
285
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
286
+ * IN THE SOFTWARE.
287
+ */
288
+
289
+ /* eslint-disable arrow-body-style */
290
+
291
+
292
+
293
+
294
+ // 生成数据
295
+
296
+ function useTransferData(sourceData, targetList, settingCode) {
297
+ var selectList = (0,external_vue_.ref)([]);
298
+ var selectedList = (0,external_vue_.ref)([]);
299
+
300
+ var transformData = function transformData() {
301
+ var isChange = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
302
+
303
+ if (isChange) {
304
+ // watch监听时需要清空重新按照targetList赋值
305
+ selectList.value = [];
306
+ selectedList.value = [];
307
+ }
308
+
309
+ sourceData.value.forEach(function (s) {
310
+ var keyId = s[settingCode.value];
311
+
312
+ if (targetList.value.includes(keyId)) {
313
+ selectedList.value.push(s);
314
+ } else {
315
+ selectList.value.push(s);
316
+ }
317
+ });
318
+ };
319
+
320
+ transformData();
321
+ (0,external_vue_.watch)(function () {
322
+ return [sourceData, targetList, settingCode];
323
+ }, function () {
324
+ transformData(true);
325
+ }, {
326
+ deep: true
327
+ });
328
+ return {
329
+ selectList: selectList,
330
+ selectedList: selectedList
331
+ };
332
+ } // 搜索
333
+
334
+
335
+ function useSelectListSearch(selectList, displayCode) {
336
+ var selectSearchQuery = (0,external_vue_.ref)('');
337
+ var selectListSearch = (0,external_vue_.computed)(function () {
338
+ return selectList.value.filter(function (select) {
339
+ var val = select[displayCode.value];
340
+ if (val instanceof Object) return false;
341
+ return val.toString().includes(selectSearchQuery.value);
342
+ });
343
+ });
344
+ return {
345
+ selectSearchQuery: selectSearchQuery,
346
+ selectListSearch: selectListSearch
347
+ };
348
+ }
349
+
350
+ /* harmony default export */ const transfer = ((0,external_vue_.defineComponent)({
351
+ name: 'Transfer',
352
+ props: transferProps,
353
+ emits: ['change', 'update:targetList'],
354
+ setup: function setup(props, _ref) {
355
+ var emit = _ref.emit;
356
+ // 区分数据是基础数据数组(false)还是对象数组(true)
357
+ var sourceListType = (0,external_vue_.computed)(function () {
358
+ if (Array.isArray(props.sourceList)) {
359
+ var isObjectArray = props.sourceList.every(function (s) {
360
+ return s.toString().includes('[object Object]');
361
+ });
362
+ return isObjectArray ? ArrayType.OBJECT_ARRAY : ArrayType.BASE_ARRAY;
363
+ }
364
+
365
+ return ArrayType.NOT_ARRAY;
366
+ });
367
+ var settingCode = (0,external_vue_.computed)(function () {
368
+ return sourceListType.value === ArrayType.BASE_ARRAY ? 'value' : props.settingKey;
369
+ });
370
+ var displayCode = (0,external_vue_.computed)(function () {
371
+ return sourceListType.value === ArrayType.BASE_ARRAY ? 'value' : props.displayKey;
372
+ });
373
+ var sortCode = (0,external_vue_.computed)(function () {
374
+ return props.sortKey || displayCode.value;
375
+ }); // 处理为统一格式
376
+
377
+ var sourceData = (0,external_vue_.computed)(function () {
378
+ switch (sourceListType.value) {
379
+ case ArrayType.BASE_ARRAY:
380
+ // 封装为对象
381
+ return _toConsumableArray(new Set(props.sourceList)).map(function (s) {
382
+ return {
383
+ value: s
384
+ };
385
+ });
386
+
387
+ case ArrayType.OBJECT_ARRAY:
388
+ return _toConsumableArray(props.sourceList);
389
+
390
+ default:
391
+ return [];
392
+ }
393
+ }); // 获取左右列表
394
+
395
+ var _toRefs = (0,external_vue_.toRefs)(props),
396
+ targetList = _toRefs.targetList;
397
+
398
+ var _useTransferData = useTransferData(sourceData, targetList, settingCode),
399
+ selectList = _useTransferData.selectList,
400
+ selectedList = _useTransferData.selectedList; // 使用搜索
401
+
402
+
403
+ var _useSelectListSearch = useSelectListSearch(selectList, displayCode),
404
+ selectSearchQuery = _useSelectListSearch.selectSearchQuery,
405
+ selectListSearch = _useSelectListSearch.selectListSearch;
406
+
407
+ var selectListSort = (0,external_vue_.computed)(function () {
408
+ return _toConsumableArray(selectListSearch.value).sort(function (a, b) {
409
+ var va = a[sortCode.value];
410
+ var vb = b[sortCode.value];
411
+ return va > vb ? 1 : -1;
412
+ });
413
+ });
414
+ var selectedListSort = (0,external_vue_.computed)(function () {
415
+ return _toConsumableArray(selectedList.value).sort(function (a, b) {
416
+ var va = a[sortCode.value];
417
+ var vb = b[sortCode.value];
418
+ return va > vb ? 1 : -1;
419
+ });
420
+ });
421
+ (0,external_vue_.watch)(function () {
422
+ return [selectList, selectedList];
423
+ }, function () {
424
+ handleEmitUpdateTargetList();
425
+ }, {
426
+ deep: true
427
+ });
428
+ /** 全选、清空操作过滤禁用选项 */
429
+
430
+ var handleCheckAllItemSelect = function handleCheckAllItemSelect(list, source) {
431
+ var itemKey = settingCode.value;
432
+ return list.some(function (val) {
433
+ return val[itemKey] === source[itemKey];
434
+ }) && source.disabled;
435
+ };
436
+ /** 全选 */
437
+
438
+
439
+ var allToRight = function allToRight() {
440
+ // 清空源列表 除源列表禁用选项
441
+ selectList.value = _toConsumableArray(sourceData.value.filter(function (source) {
442
+ return handleCheckAllItemSelect(selectList.value, source);
443
+ })); // 填满目标列表 除源列表禁用选项
444
+
445
+ selectedList.value = _toConsumableArray(sourceData.value.filter(function (source) {
446
+ return !handleCheckAllItemSelect(selectList.value, source);
447
+ })); // 全选搜索结果
448
+ // selectedList.value.push(...selectListSearch.value)
449
+
450
+ handleEmitUpdateTargetList();
451
+ };
452
+ /** 移除 */
453
+
454
+
455
+ var allToLeft = function allToLeft() {
456
+ // 填满源列表 除目标列表禁用选项
457
+ selectList.value = _toConsumableArray(sourceData.value.filter(function (source) {
458
+ return !handleCheckAllItemSelect(selectedList.value, source);
459
+ })); // 清空目标列表 除目标列表禁用选项
460
+
461
+ selectedList.value = _toConsumableArray(sourceData.value.filter(function (source) {
462
+ return handleCheckAllItemSelect(selectedList.value, source);
463
+ }));
464
+ handleEmitUpdateTargetList();
465
+ };
466
+ /**
467
+ * @desc 列表项 click 事件
468
+ * @param { string } itemKey settingCode值
469
+ * @param { boolean } isLeft 左右面板
470
+ */
471
+
472
+
473
+ var handleItemClick = function handleItemClick(item, isLeft) {
474
+ var _to$value;
475
+
476
+ if (item.disabled) return;
477
+ var itemKey = item[settingCode.value];
478
+ var from = isLeft ? selectList : selectedList;
479
+ var to = isLeft ? selectedList : selectList;
480
+ var index = from.value.findIndex(function (item) {
481
+ return item[settingCode.value] === itemKey;
482
+ });
483
+
484
+ (_to$value = to.value).push.apply(_to$value, _toConsumableArray(from.value.splice(index, 1)));
485
+
486
+ handleEmitUpdateTargetList();
487
+ }; // emit事件,只有用户交互才会触发,如果是程序修改不会触发
488
+
489
+
490
+ var handleEmitUpdateTargetList = function handleEmitUpdateTargetList() {
491
+ var restList = selectList.value.map(function (item) {
492
+ return item[settingCode.value];
493
+ });
494
+ var targetList = selectedList.value.map(function (item) {
495
+ return item[settingCode.value];
496
+ });
497
+ emit('update:targetList', targetList);
498
+ emit('change', sourceListType.value === ArrayType.BASE_ARRAY ? restList : selectList.value.map(function (v) {
499
+ return (0,external_vue_.toRaw)(v);
500
+ }), sourceListType.value === ArrayType.BASE_ARRAY ? targetList : selectedList.value.map(function (v) {
501
+ return (0,external_vue_.toRaw)(v);
502
+ }), targetList);
503
+ };
504
+
505
+ return {
506
+ selectSearchQuery: selectSearchQuery,
507
+ selectListSearch: selectListSearch,
508
+ selectedList: selectedList,
509
+ selectListSort: selectListSort,
510
+ selectedListSort: selectedListSort,
511
+ settingCode: settingCode,
512
+ displayCode: displayCode,
513
+ allToRight: allToRight,
514
+ allToLeft: allToLeft,
515
+ handleItemClick: handleItemClick
516
+ };
517
+ },
518
+ render: function render() {
519
+ var _this = this;
520
+
521
+ var leftList = this.sortable ? this.selectListSort : this.selectListSearch;
522
+ var rightList = this.sortable ? this.selectedListSort : this.selectedList;
523
+
524
+ var getHeaderHtml = function getHeaderHtml(dirct) {
525
+ var _a, _b;
526
+
527
+ var isLeft = dirct === 'left-header';
528
+ var titleText = isLeft ? "".concat((_a = _this.title[0]) !== null && _a !== void 0 ? _a : '源列表') : "".concat((_b = _this.title[1]) !== null && _b !== void 0 ? _b : '目标列表');
529
+ var isDisabled = isLeft ? !leftList.length : !rightList.length;
530
+
531
+ var headerClick = function headerClick() {
532
+ if (isDisabled) return;
533
+ isLeft ? _this.allToRight() : _this.allToLeft();
534
+ };
535
+
536
+ return _this.$slots[dirct] ? (0,external_vue_.createVNode)("div", {
537
+ "class": "slot-header"
538
+ }, [_this.$slots[dirct]()]) : (0,external_vue_.createVNode)("div", {
539
+ "class": "header"
540
+ }, ["".concat(titleText, "\uFF08").concat(isLeft ? leftList.length : rightList.length, "\uFF09"), (0,external_vue_.createVNode)("span", {
541
+ "class": {
542
+ disabled: isDisabled
543
+ },
544
+ "onClick": function onClick() {
545
+ return headerClick();
546
+ }
547
+ }, [isLeft ? '选择全部' : '清空'])]);
548
+ };
549
+
550
+ var getEmptyHtml = function getEmptyHtml(dirct) {
551
+ var _a;
552
+
553
+ var isLeft = dirct === 'left-empty-content';
554
+ var emptyText = (_a = isLeft ? _this.emptyContent[0] : _this.emptyContent[1]) !== null && _a !== void 0 ? _a : isLeft ? '无数据' : '未选择任何项';
555
+ return _this.$slots[dirct] ? (0,external_vue_.createVNode)("div", null, [_this.$slots[dirct]()]) : (0,external_vue_.createVNode)("div", {
556
+ "class": "empty"
557
+ }, [emptyText]);
558
+ };
559
+
560
+ var getDefaultListHtml = function getDefaultListHtml(item) {
561
+ var isLeft = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
562
+ return (0,external_vue_.createVNode)("div", {
563
+ "class": ['item-content', {
564
+ 'is-disabled': item.disabled
565
+ }]
566
+ }, [(0,external_vue_.createVNode)("span", {
567
+ "class": "content-text",
568
+ "title": item[_this.displayCode]
569
+ }, [item[_this.displayCode]]), (0,external_vue_.createVNode)("span", {
570
+ "class": "icon-wrapper"
571
+ }, [isLeft ? (0,external_vue_.createVNode)(_.ArrowsRight, {
572
+ "class": "bk-icon icon-move"
573
+ }, null) : (0,external_vue_.createVNode)(_.Error, {
574
+ "class": "bk-icon icon-delete"
575
+ }, null)])]);
576
+ };
577
+
578
+ var getListContentHtml = function getListContentHtml(dirct) {
579
+ var isLeft = dirct === 'left';
580
+ var list = isLeft ? leftList : rightList;
581
+ var slotName = isLeft ? 'source-option' : 'target-option';
582
+ var emptySlotName = isLeft ? 'left-empty-content' : 'right-empty-content';
583
+ return list.length ? (0,external_vue_.createVNode)("ul", {
584
+ "class": ['content', _this.searchable && isLeft ? 'is-search' : '']
585
+ }, [list.map(function (item) {
586
+ var _a, _b, _c;
587
+
588
+ return (0,external_vue_.createVNode)("li", {
589
+ "key": item[_this.settingCode],
590
+ "class": [_this.$slots[slotName] ? 'custom-item' : ''],
591
+ "onClick": function onClick() {
592
+ return _this.handleItemClick(item, isLeft);
593
+ }
594
+ }, [(_c = (_b = (_a = _this.$slots)[slotName]) === null || _b === void 0 ? void 0 : _b.call(_a, item)) !== null && _c !== void 0 ? _c : getDefaultListHtml(item, isLeft)]);
595
+ })]) : getEmptyHtml(emptySlotName);
596
+ };
597
+
598
+ return (0,external_vue_.createVNode)("div", {
599
+ "class": ['bk-transfer', this.extCls]
600
+ }, [(0,external_vue_.createVNode)("div", {
601
+ "class": "source-list"
602
+ }, [getHeaderHtml('left-header'), this.searchable && (0,external_vue_.createVNode)((external_input_default()), {
603
+ "modelValue": _this.selectSearchQuery,
604
+ "onUpdate:modelValue": function onUpdateModelValue($event) {
605
+ return _this.selectSearchQuery = $event;
606
+ },
607
+ "class": "transfer-search-input",
608
+ "clearable": true,
609
+ "placeholder": this.searchPlaceholder || '搜索'
610
+ }, {
611
+ prefix: function prefix() {
612
+ return (0,external_vue_.createVNode)(_.Search, {
613
+ "class": "icon-search"
614
+ }, null);
615
+ }
616
+ }), getListContentHtml('left')]), (0,external_vue_.createVNode)(_.Transfer, {
617
+ "class": "transfer"
618
+ }, null), (0,external_vue_.createVNode)("div", {
619
+ "class": "target-list"
620
+ }, [getHeaderHtml('right-header'), getListContentHtml('right')])]);
621
+ }
622
+ }));
623
+ ;// CONCATENATED MODULE: ../../packages/transfer/src/index.ts
624
+ /**
625
+ * Tencent is pleased to support the open source community by making
626
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
627
+ *
628
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
629
+ *
630
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
631
+ *
632
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
633
+ *
634
+ * ---------------------------------------------------
635
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
636
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
637
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
638
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
639
+ *
640
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
641
+ * the Software.
642
+ *
643
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
644
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
645
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
646
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
647
+ * IN THE SOFTWARE.
648
+ */
649
+
650
+
651
+ var Transfer = (0,external_shared_.withInstall)(transfer);
652
+ /* harmony default export */ const src = (Transfer);
653
+ })();
654
+
655
+ /******/ return __webpack_exports__;
656
+ /******/ })()
657
+ ;
658
+ });