bkui-vue 0.0.2-beta.78 → 0.0.2-beta.79

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 (211) hide show
  1. package/dist/index.cjs.js +64 -64
  2. package/dist/index.esm.js +12188 -12269
  3. package/dist/index.umd.js +65 -65
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/index.js +1 -321
  7. package/lib/alert/index.js +1 -214
  8. package/lib/animate-number/index.js +1 -155
  9. package/lib/backtop/index.js +1 -188
  10. package/lib/badge/index.js +1 -235
  11. package/lib/breadcrumb/index.js +1 -309
  12. package/lib/button/index.js +1 -321
  13. package/lib/card/index.js +1 -285
  14. package/lib/cascader/index.js +2 -2036
  15. package/lib/cascader/index.js.LICENSE.txt +1 -0
  16. package/lib/checkbox/index.js +1 -542
  17. package/lib/code-diff/index.js +1 -5501
  18. package/lib/collapse/index.js +1 -570
  19. package/lib/collapse-transition/index.js +1 -178
  20. package/lib/color-picker/index.js +1 -2665
  21. package/lib/components.js +1 -530
  22. package/lib/config-provider/index.js +1 -365
  23. package/lib/container/index.js +1 -391
  24. package/lib/date-picker/index.js +1 -5527
  25. package/lib/dialog/dialog.css +2 -0
  26. package/lib/dialog/dialog.variable.css +2 -0
  27. package/lib/dialog/index.js +2 -975
  28. package/lib/dialog/index.js.LICENSE.txt +1 -0
  29. package/lib/directives/index.js +2 -1375
  30. package/lib/directives/index.js.LICENSE.txt +14 -0
  31. package/lib/dist.index.js +1 -87
  32. package/lib/divider/index.js +1 -169
  33. package/lib/dropdown/index.js +1 -369
  34. package/lib/exception/index.js +1 -385
  35. package/lib/fixed-navbar/index.js +1 -154
  36. package/lib/form/index.js +1 -924
  37. package/lib/hooks.js +1 -73
  38. package/lib/icon/angle-double-down-line.js +1 -191
  39. package/lib/icon/angle-double-left-line.js +1 -191
  40. package/lib/icon/angle-double-left.js +1 -191
  41. package/lib/icon/angle-double-right-line.js +1 -191
  42. package/lib/icon/angle-double-right.js +1 -191
  43. package/lib/icon/angle-double-up-line.js +1 -191
  44. package/lib/icon/angle-down-fill.js +1 -191
  45. package/lib/icon/angle-down-line.js +1 -191
  46. package/lib/icon/angle-down.js +1 -191
  47. package/lib/icon/angle-left.js +1 -191
  48. package/lib/icon/angle-right.js +1 -191
  49. package/lib/icon/angle-up-fill.js +1 -191
  50. package/lib/icon/angle-up.js +1 -191
  51. package/lib/icon/archive-fill.js +1 -191
  52. package/lib/icon/arrows-left.js +1 -191
  53. package/lib/icon/arrows-right.js +1 -191
  54. package/lib/icon/assistant.js +1 -191
  55. package/lib/icon/audio-fill.js +1 -191
  56. package/lib/icon/bk.js +1 -191
  57. package/lib/icon/circle.js +1 -191
  58. package/lib/icon/close-line.js +1 -191
  59. package/lib/icon/close.js +1 -191
  60. package/lib/icon/code.js +1 -191
  61. package/lib/icon/cog-shape.js +1 -191
  62. package/lib/icon/collapse-left.js +1 -191
  63. package/lib/icon/copy-shape.js +1 -191
  64. package/lib/icon/copy.js +1 -191
  65. package/lib/icon/data-shape.js +1 -191
  66. package/lib/icon/del.js +1 -191
  67. package/lib/icon/doc-fill.js +1 -191
  68. package/lib/icon/done.js +1 -191
  69. package/lib/icon/down-shape.js +1 -191
  70. package/lib/icon/down-small.js +1 -191
  71. package/lib/icon/edit-line.js +1 -191
  72. package/lib/icon/ellipsis.js +1 -191
  73. package/lib/icon/enlarge-line.js +1 -191
  74. package/lib/icon/error.js +1 -191
  75. package/lib/icon/excel-fill.js +1 -191
  76. package/lib/icon/exclamation-circle-shape.js +1 -191
  77. package/lib/icon/eye.js +1 -191
  78. package/lib/icon/filliscreen-line.js +1 -191
  79. package/lib/icon/fix-line.js +1 -191
  80. package/lib/icon/fix-shape.js +1 -191
  81. package/lib/icon/folder-open.js +1 -191
  82. package/lib/icon/folder-shape-open.js +1 -191
  83. package/lib/icon/folder-shape.js +1 -191
  84. package/lib/icon/folder.js +1 -191
  85. package/lib/icon/funnel.js +1 -191
  86. package/lib/icon/help-document-fill.js +1 -191
  87. package/lib/icon/help-fill.js +1 -191
  88. package/lib/icon/help.js +1 -191
  89. package/lib/icon/image-fill.js +1 -276
  90. package/lib/icon/img-error.js +1 -276
  91. package/lib/icon/img-placehoulder.js +1 -276
  92. package/lib/icon/index.js +1 -2399
  93. package/lib/icon/info-line.js +1 -276
  94. package/lib/icon/info.js +1 -276
  95. package/lib/icon/left-shape.js +1 -276
  96. package/lib/icon/left-turn-line.js +1 -276
  97. package/lib/icon/narrow-line.js +1 -276
  98. package/lib/icon/original.js +1 -276
  99. package/lib/icon/pdf-fill.js +1 -276
  100. package/lib/icon/play-shape.js +1 -276
  101. package/lib/icon/plus.js +1 -276
  102. package/lib/icon/ppt-fill.js +1 -276
  103. package/lib/icon/qq.js +1 -276
  104. package/lib/icon/right-shape.js +1 -276
  105. package/lib/icon/right-turn-line.js +1 -276
  106. package/lib/icon/search.js +1 -276
  107. package/lib/icon/share.js +1 -276
  108. package/lib/icon/spinner.js +1 -276
  109. package/lib/icon/success.js +1 -276
  110. package/lib/icon/switcher-loading.js +1 -276
  111. package/lib/icon/text-file.js +1 -276
  112. package/lib/icon/text-fill.js +1 -276
  113. package/lib/icon/transfer.js +1 -276
  114. package/lib/icon/tree-application-shape.js +1 -276
  115. package/lib/icon/unfull-screen.js +1 -276
  116. package/lib/icon/unvisible.js +1 -276
  117. package/lib/icon/up-shape.js +1 -276
  118. package/lib/icon/upload.js +1 -276
  119. package/lib/icon/video-fill.js +1 -276
  120. package/lib/icon/warn.js +1 -276
  121. package/lib/icon/weixin-pro.js +1 -276
  122. package/lib/icon/weixin.js +1 -276
  123. package/lib/image/index.js +1 -641
  124. package/lib/index.js +1 -97
  125. package/lib/info-box/index.js +2 -1165
  126. package/lib/info-box/index.js.LICENSE.txt +1 -0
  127. package/lib/info-box/info-box.css +2 -0
  128. package/lib/info-box/info-box.less +2 -1
  129. package/lib/info-box/info-box.variable.css +2 -0
  130. package/lib/input/index.js +2 -1218
  131. package/lib/input/index.js.LICENSE.txt +1 -0
  132. package/lib/link/index.js +1 -160
  133. package/lib/loading/index.js +1 -381
  134. package/lib/locale/index.js +1 -465
  135. package/lib/menu/index.js +1 -724
  136. package/lib/message/index.js +2 -1795
  137. package/lib/message/index.js.LICENSE.txt +6 -0
  138. package/lib/modal/index.js +1 -396
  139. package/lib/modal/modal.css +2 -0
  140. package/lib/modal/modal.variable.css +2 -0
  141. package/lib/navigation/index.js +1 -367
  142. package/lib/notify/index.js +1 -397
  143. package/lib/overflow-title/index.js +1 -486
  144. package/lib/pagination/index.js +1 -880
  145. package/lib/plugin-popover/index.js +1 -3905
  146. package/lib/plugins/index.js +1 -63
  147. package/lib/pop-confirm/index.js +1 -273
  148. package/lib/popover/index.js +1 -3913
  149. package/lib/popover2/index.js +1 -107
  150. package/lib/preset.js +1 -93
  151. package/lib/process/index.js +2 -759
  152. package/lib/process/index.js.LICENSE.txt +1 -0
  153. package/lib/progress/index.js +1 -431
  154. package/lib/radio/index.js +1 -627
  155. package/lib/rate/index.js +1 -338
  156. package/lib/resize-layout/index.js +1 -429
  157. package/lib/search-select/index.js +2 -2729
  158. package/lib/search-select/index.js.LICENSE.txt +1 -0
  159. package/lib/select/index.js +2 -2240
  160. package/lib/select/index.js.LICENSE.txt +1 -0
  161. package/lib/shared/index.js +1 -2689
  162. package/lib/sideslider/index.js +2 -714
  163. package/lib/sideslider/index.js.LICENSE.txt +1 -0
  164. package/lib/slider/index.js +2 -1291
  165. package/lib/slider/index.js.LICENSE.txt +1 -0
  166. package/lib/steps/index.js +2 -825
  167. package/lib/steps/index.js.LICENSE.txt +1 -0
  168. package/lib/swiper/index.js +1 -336
  169. package/lib/switcher/index.js +1 -277
  170. package/lib/tab/index.js +1 -914
  171. package/lib/table/components/table-column.d.ts +2 -0
  172. package/lib/table/const.d.ts +24 -2
  173. package/lib/table/index.d.ts +38 -0
  174. package/lib/table/index.js +1 -6406
  175. package/lib/table/plugins/use-column-resize.d.ts +30 -10
  176. package/lib/table/plugins/use-fixed-column.d.ts +9 -9
  177. package/lib/table/plugins/use-pagination.d.ts +7 -4
  178. package/lib/table/props.d.ts +22 -1
  179. package/lib/table/render.d.ts +7 -17
  180. package/lib/table/table.css +4 -1
  181. package/lib/table/table.d.ts +44 -23
  182. package/lib/table/table.less +4 -1
  183. package/lib/table/table.variable.css +4 -1
  184. package/lib/table/use-attributes.d.ts +55 -0
  185. package/lib/table/use-column.d.ts +177 -53
  186. package/lib/table/use-common.d.ts +1602 -76
  187. package/lib/table/use-render.d.ts +11 -0
  188. package/lib/table/utils.d.ts +22 -16
  189. package/lib/table-column/index.d.ts +6 -0
  190. package/lib/table-column/index.js +1 -731
  191. package/lib/tag/index.js +1 -233
  192. package/lib/tag-input/index.js +1 -1660
  193. package/lib/time-picker/index.js +1 -71
  194. package/lib/timeline/index.js +1 -241
  195. package/lib/transfer/index.js +1 -673
  196. package/lib/tree/index.d.ts +12 -0
  197. package/lib/tree/index.js +1 -2445
  198. package/lib/tree/props.d.ts +8 -1
  199. package/lib/tree/tree.d.ts +7 -0
  200. package/lib/tree/use-node-action.d.ts +2 -1
  201. package/lib/tree/use-node-attribute.d.ts +2 -0
  202. package/lib/tree/use-search.d.ts +2 -2
  203. package/lib/tree/util.d.ts +2 -2
  204. package/lib/upload/index.js +2 -2874
  205. package/lib/upload/index.js.LICENSE.txt +1 -0
  206. package/lib/virtual-render/index.d.ts +12 -0
  207. package/lib/virtual-render/index.js +1 -792
  208. package/lib/virtual-render/props.d.ts +4 -0
  209. package/lib/virtual-render/v-virtual-render.d.ts +19 -1
  210. package/lib/virtual-render/virtual-render.d.ts +7 -0
  211. package/package.json +1 -2
package/lib/icon/copy.js CHANGED
@@ -1,191 +1 @@
1
- import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
2
- /******/ // The require scope
3
- /******/ var __webpack_require__ = {};
4
- /******/
5
- /************************************************************************/
6
- /******/ /* webpack/runtime/define property getters */
7
- /******/ (() => {
8
- /******/ // define getter functions for harmony exports
9
- /******/ __webpack_require__.d = (exports, definition) => {
10
- /******/ for(var key in definition) {
11
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
12
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
13
- /******/ }
14
- /******/ }
15
- /******/ };
16
- /******/ })();
17
- /******/
18
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
19
- /******/ (() => {
20
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
21
- /******/ })();
22
- /******/
23
- /************************************************************************/
24
- var __webpack_exports__ = {};
25
-
26
- // EXPORTS
27
- __webpack_require__.d(__webpack_exports__, {
28
- Z: () => (/* binding */ icons_copy)
29
- });
30
-
31
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
32
- function _typeof(obj) {
33
- "@babel/helpers - typeof";
34
-
35
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
36
- return typeof obj;
37
- } : function (obj) {
38
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
39
- }, _typeof(obj);
40
- }
41
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
42
-
43
- function _toPrimitive(input, hint) {
44
- if (_typeof(input) !== "object" || input === null) return input;
45
- var prim = input[Symbol.toPrimitive];
46
- if (prim !== undefined) {
47
- var res = prim.call(input, hint || "default");
48
- if (_typeof(res) !== "object") return res;
49
- throw new TypeError("@@toPrimitive must return a primitive value.");
50
- }
51
- return (hint === "string" ? String : Number)(input);
52
- }
53
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
54
-
55
-
56
- function _toPropertyKey(arg) {
57
- var key = _toPrimitive(arg, "string");
58
- return _typeof(key) === "symbol" ? key : String(key);
59
- }
60
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
61
-
62
- function _defineProperty(obj, key, value) {
63
- key = _toPropertyKey(key);
64
- if (key in obj) {
65
- Object.defineProperty(obj, key, {
66
- value: value,
67
- enumerable: true,
68
- configurable: true,
69
- writable: true
70
- });
71
- } else {
72
- obj[key] = value;
73
- }
74
- return obj;
75
- }
76
- ;// CONCATENATED MODULE: external "vue"
77
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
78
- var y = x => () => x
79
- const external_vue_namespaceObject = x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps });
80
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
81
- function _objectWithoutPropertiesLoose(source, excluded) {
82
- if (source == null) return {};
83
- var target = {};
84
- var sourceKeys = Object.keys(source);
85
- var key, i;
86
- for (i = 0; i < sourceKeys.length; i++) {
87
- key = sourceKeys[i];
88
- if (excluded.indexOf(key) >= 0) continue;
89
- target[key] = source[key];
90
- }
91
- return target;
92
- }
93
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
94
-
95
- function _objectWithoutProperties(source, excluded) {
96
- if (source == null) return {};
97
- var target = _objectWithoutPropertiesLoose(source, excluded);
98
- var key, i;
99
- if (Object.getOwnPropertySymbols) {
100
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
101
- for (i = 0; i < sourceSymbolKeys.length; i++) {
102
- key = sourceSymbolKeys[i];
103
- if (excluded.indexOf(key) >= 0) continue;
104
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
105
- target[key] = source[key];
106
- }
107
- }
108
- return target;
109
- }
110
- ;// CONCATENATED MODULE: ../../packages/icon/icons/icon.tsx
111
-
112
-
113
- var _excluded = ["data", "name", "width", "height", "fill"];
114
-
115
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
116
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
117
- /*
118
- * Tencent is pleased to support the open source community by making
119
- * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
120
- *
121
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
122
- *
123
- * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
124
- *
125
- * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
126
- *
127
- * ---------------------------------------------------
128
- * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
129
- * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
130
- * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
131
- * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
132
- *
133
- * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
134
- * the Software.
135
- *
136
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
137
- * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
138
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
139
- * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
140
- * IN THE SOFTWARE.
141
- */
142
-
143
- function generate(node, key, rootAttrs) {
144
- return (0,external_vue_namespaceObject.h)(node.name, _objectSpread(_objectSpread({
145
- key: key
146
- }, node.attributes), {}, {
147
- style: "".concat(node.attributes.style, " ").concat(rootAttrs || '')
148
- }), (node.elements || []).map(function (element, index) {
149
- return generate(element, "".concat(key, "-").concat(node.name, "-").concat(index));
150
- }));
151
- }
152
- var bkIcon = function bkIcon(props, context) {
153
- var _context$attrs$props = _objectSpread(_objectSpread({}, context.attrs), props),
154
- data = _context$attrs$props.data,
155
- name = _context$attrs$props.name,
156
- width = _context$attrs$props.width,
157
- height = _context$attrs$props.height,
158
- fill = _context$attrs$props.fill,
159
- restProps = _objectWithoutProperties(_context$attrs$props, _excluded);
160
- var rootAttrs = "width: ".concat(width, "; height: ").concat(height, "; fill: ").concat(fill);
161
- var iconBoxStyle = {
162
- display: 'inline-flex',
163
- 'align-items': 'center',
164
- 'justify-content': 'center'
165
- };
166
- return (0,external_vue_namespaceObject.createVNode)("span", (0,external_vue_namespaceObject.mergeProps)({
167
- "style": iconBoxStyle
168
- }, restProps), [generate(data, name, rootAttrs)]);
169
- };
170
- bkIcon.inheritAttrs = false;
171
- bkIcon.displayName = 'bkIcon';
172
- /* harmony default export */ const icon = (bkIcon);
173
- ;// CONCATENATED MODULE: ../../packages/icon/icons/copy.tsx
174
-
175
-
176
- function copy_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
177
- function copy_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? copy_ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : copy_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
178
-
179
- var data = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M864 128H288c-17.6 0-32 14.4-32 32v96h-96c-17.6 0-32 14.4-32 32v576c0 17.6 14.4 32 32 32h576c17.6 0 32-14.4 32-32v-96h96c17.6 0 32-14.4 32-32V160C896 142.4 881.6 128 864 128zM704 704v64 64H192V320h64 64 384V704zM832 704h-64V288c0-17.6-14.4-32-32-32H320v-64h512V704z"}},{"type":"element","name":"path","attributes":{"d":"M275.2 419.2H611.2V483.2H275.2z"}},{"type":"element","name":"path","attributes":{"d":"M272 544H608V608H272z"}},{"type":"element","name":"path","attributes":{"d":"M272 672H608V736H272z"}}]}');
180
- var copy = function copy(props, context) {
181
- var p = copy_objectSpread(copy_objectSpread({}, props), context.attrs);
182
- return (0,external_vue_namespaceObject.createVNode)(icon, (0,external_vue_namespaceObject.mergeProps)(p, {
183
- "data": data,
184
- "name": "copy"
185
- }), null);
186
- };
187
- copy.displayName = 'copy';
188
- copy.inheritAttrs = false;
189
- /* harmony default export */ const icons_copy = (copy);
190
- var __webpack_exports__default = __webpack_exports__.Z;
191
- export { __webpack_exports__default as default };
1
+ import*as e from"vue";var t={d:(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},r={};t.d(r,{Z:()=>m});const n=(a={createVNode:()=>e.createVNode,h:()=>e.h,mergeProps:()=>e.mergeProps},c={},t.d(c,a),c);var a,c;function o(e,t,r){return(0,n.h)(e.name,Object.assign(Object.assign({key:t},e.attributes),{style:"".concat(e.attributes.style," ").concat(r||"")}),(e.elements||[]).map((function(r,n){return o(r,"".concat(t,"-").concat(e.name,"-").concat(n))})))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var s=function(e,t){var r=Object.assign(Object.assign({},t.attrs),e),a=r.data,c=r.name,s=r.width,i=r.height,l=r.fill,p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}(r,["data","name","width","height","fill"]),m="width: ".concat(s,"; height: ").concat(i,"; fill: ").concat(l);return(0,n.createVNode)("span",(0,n.mergeProps)({style:{display:"inline-flex","align-items":"center","justify-content":"center"}},p),[o(a,c,m)])};s.inheritAttrs=!1,s.displayName="bkIcon";const i=s;var l=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M864 128H288c-17.6 0-32 14.4-32 32v96h-96c-17.6 0-32 14.4-32 32v576c0 17.6 14.4 32 32 32h576c17.6 0 32-14.4 32-32v-96h96c17.6 0 32-14.4 32-32V160C896 142.4 881.6 128 864 128zM704 704v64 64H192V320h64 64 384V704zM832 704h-64V288c0-17.6-14.4-32-32-32H320v-64h512V704z"}},{"type":"element","name":"path","attributes":{"d":"M275.2 419.2H611.2V483.2H275.2z"}},{"type":"element","name":"path","attributes":{"d":"M272 544H608V608H272z"}},{"type":"element","name":"path","attributes":{"d":"M272 672H608V736H272z"}}]}'),p=function(e,t){var r=Object.assign(Object.assign({},e),t.attrs);return(0,n.createVNode)(i,(0,n.mergeProps)(r,{data:l,name:"copy"}),null)};p.displayName="copy",p.inheritAttrs=!1;const m=p;var h=r.Z;export{h as default};
@@ -1,191 +1 @@
1
- import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
2
- /******/ // The require scope
3
- /******/ var __webpack_require__ = {};
4
- /******/
5
- /************************************************************************/
6
- /******/ /* webpack/runtime/define property getters */
7
- /******/ (() => {
8
- /******/ // define getter functions for harmony exports
9
- /******/ __webpack_require__.d = (exports, definition) => {
10
- /******/ for(var key in definition) {
11
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
12
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
13
- /******/ }
14
- /******/ }
15
- /******/ };
16
- /******/ })();
17
- /******/
18
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
19
- /******/ (() => {
20
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
21
- /******/ })();
22
- /******/
23
- /************************************************************************/
24
- var __webpack_exports__ = {};
25
-
26
- // EXPORTS
27
- __webpack_require__.d(__webpack_exports__, {
28
- Z: () => (/* binding */ data_shape)
29
- });
30
-
31
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
32
- function _typeof(obj) {
33
- "@babel/helpers - typeof";
34
-
35
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
36
- return typeof obj;
37
- } : function (obj) {
38
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
39
- }, _typeof(obj);
40
- }
41
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
42
-
43
- function _toPrimitive(input, hint) {
44
- if (_typeof(input) !== "object" || input === null) return input;
45
- var prim = input[Symbol.toPrimitive];
46
- if (prim !== undefined) {
47
- var res = prim.call(input, hint || "default");
48
- if (_typeof(res) !== "object") return res;
49
- throw new TypeError("@@toPrimitive must return a primitive value.");
50
- }
51
- return (hint === "string" ? String : Number)(input);
52
- }
53
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
54
-
55
-
56
- function _toPropertyKey(arg) {
57
- var key = _toPrimitive(arg, "string");
58
- return _typeof(key) === "symbol" ? key : String(key);
59
- }
60
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
61
-
62
- function _defineProperty(obj, key, value) {
63
- key = _toPropertyKey(key);
64
- if (key in obj) {
65
- Object.defineProperty(obj, key, {
66
- value: value,
67
- enumerable: true,
68
- configurable: true,
69
- writable: true
70
- });
71
- } else {
72
- obj[key] = value;
73
- }
74
- return obj;
75
- }
76
- ;// CONCATENATED MODULE: external "vue"
77
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
78
- var y = x => () => x
79
- const external_vue_namespaceObject = x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps });
80
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
81
- function _objectWithoutPropertiesLoose(source, excluded) {
82
- if (source == null) return {};
83
- var target = {};
84
- var sourceKeys = Object.keys(source);
85
- var key, i;
86
- for (i = 0; i < sourceKeys.length; i++) {
87
- key = sourceKeys[i];
88
- if (excluded.indexOf(key) >= 0) continue;
89
- target[key] = source[key];
90
- }
91
- return target;
92
- }
93
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
94
-
95
- function _objectWithoutProperties(source, excluded) {
96
- if (source == null) return {};
97
- var target = _objectWithoutPropertiesLoose(source, excluded);
98
- var key, i;
99
- if (Object.getOwnPropertySymbols) {
100
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
101
- for (i = 0; i < sourceSymbolKeys.length; i++) {
102
- key = sourceSymbolKeys[i];
103
- if (excluded.indexOf(key) >= 0) continue;
104
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
105
- target[key] = source[key];
106
- }
107
- }
108
- return target;
109
- }
110
- ;// CONCATENATED MODULE: ../../packages/icon/icons/icon.tsx
111
-
112
-
113
- var _excluded = ["data", "name", "width", "height", "fill"];
114
-
115
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
116
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
117
- /*
118
- * Tencent is pleased to support the open source community by making
119
- * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
120
- *
121
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
122
- *
123
- * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
124
- *
125
- * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
126
- *
127
- * ---------------------------------------------------
128
- * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
129
- * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
130
- * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
131
- * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
132
- *
133
- * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
134
- * the Software.
135
- *
136
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
137
- * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
138
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
139
- * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
140
- * IN THE SOFTWARE.
141
- */
142
-
143
- function generate(node, key, rootAttrs) {
144
- return (0,external_vue_namespaceObject.h)(node.name, _objectSpread(_objectSpread({
145
- key: key
146
- }, node.attributes), {}, {
147
- style: "".concat(node.attributes.style, " ").concat(rootAttrs || '')
148
- }), (node.elements || []).map(function (element, index) {
149
- return generate(element, "".concat(key, "-").concat(node.name, "-").concat(index));
150
- }));
151
- }
152
- var bkIcon = function bkIcon(props, context) {
153
- var _context$attrs$props = _objectSpread(_objectSpread({}, context.attrs), props),
154
- data = _context$attrs$props.data,
155
- name = _context$attrs$props.name,
156
- width = _context$attrs$props.width,
157
- height = _context$attrs$props.height,
158
- fill = _context$attrs$props.fill,
159
- restProps = _objectWithoutProperties(_context$attrs$props, _excluded);
160
- var rootAttrs = "width: ".concat(width, "; height: ").concat(height, "; fill: ").concat(fill);
161
- var iconBoxStyle = {
162
- display: 'inline-flex',
163
- 'align-items': 'center',
164
- 'justify-content': 'center'
165
- };
166
- return (0,external_vue_namespaceObject.createVNode)("span", (0,external_vue_namespaceObject.mergeProps)({
167
- "style": iconBoxStyle
168
- }, restProps), [generate(data, name, rootAttrs)]);
169
- };
170
- bkIcon.inheritAttrs = false;
171
- bkIcon.displayName = 'bkIcon';
172
- /* harmony default export */ const icon = (bkIcon);
173
- ;// CONCATENATED MODULE: ../../packages/icon/icons/data-shape.tsx
174
-
175
-
176
- function data_shape_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
177
- function data_shape_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? data_shape_ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : data_shape_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
178
-
179
- var data = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1170.2857142857142","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M176.27428571428572 248.68571428571425c100.74209523809523 24.673523809523807 216.40533333333332 38.863238095238096 335.335619047619 38.863238095238096s234.5935238095238-14.14095238095238 345.38057142857144-40.86247619047619c106.30095238095238-27.209142857142858 167.00952380952378-74.02057142857143 167.00952380952378-100.35199999999999 0-49.00571428571428-180.66285714285715-146.28571428571428-512-146.28571428571428s-512 95.81714285714285-512 146.28571428571428c0 26.33142857142857 60.70857142857143 73.14285714285714 176.27428571428572 102.4z"}},{"type":"element","name":"path","attributes":{"d":"M856.5028571428571 923.7942857142857c-99.2304761904762 25.6-213.13828571428573 40.27733333333333-330.45942857142853 40.27733333333333-4.924952380952381 0-9.849904761904762-0.04876190476190476-14.774857142857142-0.09752380952380953-3.4620952380952374 0.04876190476190476-8.387047619047618 0.09752380952380953-13.360761904761905 0.09752380952380953-117.32114285714286 0-231.18019047619046-14.677333333333332-339.87047619047615-42.37409523809524-113.37142857142858 37.156571428571425-157.98857142857142 81.77371428571428-157.98857142857142 102.25371428571428 0 49.00571428571428 180.66285714285715 146.28571428571428 512 146.28571428571428s512-95.08571428571427 512-146.28571428571428c0-20.479999999999997-44.61714285714286-65.09714285714286-167.49714285714285-100.2057142857143z"}},{"type":"element","name":"path","attributes":{"d":"M856.5028571428571 626.8342857142857c-103.37523809523809 25.063619047619046-222.0617142857143 39.44838095238095-344.16152380952377 39.44838095238095s-240.73752380952382-14.384761904761904-354.4990476190476-41.54514285714286c-113.27390476190476 37.20533333333333-157.8910476190476 82.55390476190476-157.8910476190476 106.69104761904762 0 49.00571428571428 180.66285714285715 146.28571428571428 512 146.28571428571428s512-95.08571428571427 512-146.28571428571428c0-24.137142857142855-44.61714285714286-69.48571428571428-167.49714285714285-104.5942857142857z"}},{"type":"element","name":"path","attributes":{"d":"M856.5028571428571 332.0685714285714h-13.165714285714285c-99.42552380952381 25.40495238095238-213.62590476190476 40.03352380952381-331.23961904761904 40.22857142857142-3.072 0-6.534095238095238 0.04876190476190476-10.04495238095238 0.04876190476190476-114.00533333333333 0-224.88990476190475-13.604571428571429-330.9958095238095-39.30209523809524l-2.8769523809523805 1.9504761904761905c-123.61142857142858 30.72-168.22857142857143 77.53142857142858-168.22857142857143 99.47428571428571 0 49.00571428571428 180.66285714285715 146.28571428571428 512 146.28571428571428s512-95.81714285714285 512-146.28571428571428c0-21.942857142857143-44.61714285714286-68.7542857142857-167.49714285714285-102.4z"}}]}');
180
- var dataShape = function dataShape(props, context) {
181
- var p = data_shape_objectSpread(data_shape_objectSpread({}, props), context.attrs);
182
- return (0,external_vue_namespaceObject.createVNode)(icon, (0,external_vue_namespaceObject.mergeProps)(p, {
183
- "data": data,
184
- "name": "dataShape"
185
- }), null);
186
- };
187
- dataShape.displayName = 'dataShape';
188
- dataShape.inheritAttrs = false;
189
- /* harmony default export */ const data_shape = (dataShape);
190
- var __webpack_exports__default = __webpack_exports__.Z;
191
- export { __webpack_exports__default as default };
1
+ import*as e from"vue";var t={d:(e,r)=>{for(var a in r)t.o(r,a)&&!t.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:r[a]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},r={};t.d(r,{Z:()=>m});const a=(n={createVNode:()=>e.createVNode,h:()=>e.h,mergeProps:()=>e.mergeProps},c={},t.d(c,n),c);var n,c;function s(e,t,r){return(0,a.h)(e.name,Object.assign(Object.assign({key:t},e.attributes),{style:"".concat(e.attributes.style," ").concat(r||"")}),(e.elements||[]).map((function(r,a){return s(r,"".concat(t,"-").concat(e.name,"-").concat(a))})))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var o=function(e,t){var r=Object.assign(Object.assign({},t.attrs),e),n=r.data,c=r.name,o=r.width,i=r.height,l=r.fill,p=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(a=Object.getOwnPropertySymbols(e);n<a.length;n++)t.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(r[a[n]]=e[a[n]])}return r}(r,["data","name","width","height","fill"]),m="width: ".concat(o,"; height: ").concat(i,"; fill: ").concat(l);return(0,a.createVNode)("span",(0,a.mergeProps)({style:{display:"inline-flex","align-items":"center","justify-content":"center"}},p),[s(n,c,m)])};o.inheritAttrs=!1,o.displayName="bkIcon";const i=o;var l=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1170.2857142857142","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M176.27428571428572 248.68571428571425c100.74209523809523 24.673523809523807 216.40533333333332 38.863238095238096 335.335619047619 38.863238095238096s234.5935238095238-14.14095238095238 345.38057142857144-40.86247619047619c106.30095238095238-27.209142857142858 167.00952380952378-74.02057142857143 167.00952380952378-100.35199999999999 0-49.00571428571428-180.66285714285715-146.28571428571428-512-146.28571428571428s-512 95.81714285714285-512 146.28571428571428c0 26.33142857142857 60.70857142857143 73.14285714285714 176.27428571428572 102.4z"}},{"type":"element","name":"path","attributes":{"d":"M856.5028571428571 923.7942857142857c-99.2304761904762 25.6-213.13828571428573 40.27733333333333-330.45942857142853 40.27733333333333-4.924952380952381 0-9.849904761904762-0.04876190476190476-14.774857142857142-0.09752380952380953-3.4620952380952374 0.04876190476190476-8.387047619047618 0.09752380952380953-13.360761904761905 0.09752380952380953-117.32114285714286 0-231.18019047619046-14.677333333333332-339.87047619047615-42.37409523809524-113.37142857142858 37.156571428571425-157.98857142857142 81.77371428571428-157.98857142857142 102.25371428571428 0 49.00571428571428 180.66285714285715 146.28571428571428 512 146.28571428571428s512-95.08571428571427 512-146.28571428571428c0-20.479999999999997-44.61714285714286-65.09714285714286-167.49714285714285-100.2057142857143z"}},{"type":"element","name":"path","attributes":{"d":"M856.5028571428571 626.8342857142857c-103.37523809523809 25.063619047619046-222.0617142857143 39.44838095238095-344.16152380952377 39.44838095238095s-240.73752380952382-14.384761904761904-354.4990476190476-41.54514285714286c-113.27390476190476 37.20533333333333-157.8910476190476 82.55390476190476-157.8910476190476 106.69104761904762 0 49.00571428571428 180.66285714285715 146.28571428571428 512 146.28571428571428s512-95.08571428571427 512-146.28571428571428c0-24.137142857142855-44.61714285714286-69.48571428571428-167.49714285714285-104.5942857142857z"}},{"type":"element","name":"path","attributes":{"d":"M856.5028571428571 332.0685714285714h-13.165714285714285c-99.42552380952381 25.40495238095238-213.62590476190476 40.03352380952381-331.23961904761904 40.22857142857142-3.072 0-6.534095238095238 0.04876190476190476-10.04495238095238 0.04876190476190476-114.00533333333333 0-224.88990476190475-13.604571428571429-330.9958095238095-39.30209523809524l-2.8769523809523805 1.9504761904761905c-123.61142857142858 30.72-168.22857142857143 77.53142857142858-168.22857142857143 99.47428571428571 0 49.00571428571428 180.66285714285715 146.28571428571428 512 146.28571428571428s512-95.81714285714285 512-146.28571428571428c0-21.942857142857143-44.61714285714286-68.7542857142857-167.49714285714285-102.4z"}}]}'),p=function(e,t){var r=Object.assign(Object.assign({},e),t.attrs);return(0,a.createVNode)(i,(0,a.mergeProps)(r,{data:l,name:"dataShape"}),null)};p.displayName="dataShape",p.inheritAttrs=!1;const m=p;var d=r.Z;export{d as default};
package/lib/icon/del.js CHANGED
@@ -1,191 +1 @@
1
- import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
2
- /******/ // The require scope
3
- /******/ var __webpack_require__ = {};
4
- /******/
5
- /************************************************************************/
6
- /******/ /* webpack/runtime/define property getters */
7
- /******/ (() => {
8
- /******/ // define getter functions for harmony exports
9
- /******/ __webpack_require__.d = (exports, definition) => {
10
- /******/ for(var key in definition) {
11
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
12
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
13
- /******/ }
14
- /******/ }
15
- /******/ };
16
- /******/ })();
17
- /******/
18
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
19
- /******/ (() => {
20
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
21
- /******/ })();
22
- /******/
23
- /************************************************************************/
24
- var __webpack_exports__ = {};
25
-
26
- // EXPORTS
27
- __webpack_require__.d(__webpack_exports__, {
28
- Z: () => (/* binding */ icons_del)
29
- });
30
-
31
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
32
- function _typeof(obj) {
33
- "@babel/helpers - typeof";
34
-
35
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
36
- return typeof obj;
37
- } : function (obj) {
38
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
39
- }, _typeof(obj);
40
- }
41
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
42
-
43
- function _toPrimitive(input, hint) {
44
- if (_typeof(input) !== "object" || input === null) return input;
45
- var prim = input[Symbol.toPrimitive];
46
- if (prim !== undefined) {
47
- var res = prim.call(input, hint || "default");
48
- if (_typeof(res) !== "object") return res;
49
- throw new TypeError("@@toPrimitive must return a primitive value.");
50
- }
51
- return (hint === "string" ? String : Number)(input);
52
- }
53
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
54
-
55
-
56
- function _toPropertyKey(arg) {
57
- var key = _toPrimitive(arg, "string");
58
- return _typeof(key) === "symbol" ? key : String(key);
59
- }
60
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
61
-
62
- function _defineProperty(obj, key, value) {
63
- key = _toPropertyKey(key);
64
- if (key in obj) {
65
- Object.defineProperty(obj, key, {
66
- value: value,
67
- enumerable: true,
68
- configurable: true,
69
- writable: true
70
- });
71
- } else {
72
- obj[key] = value;
73
- }
74
- return obj;
75
- }
76
- ;// CONCATENATED MODULE: external "vue"
77
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
78
- var y = x => () => x
79
- const external_vue_namespaceObject = x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps });
80
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
81
- function _objectWithoutPropertiesLoose(source, excluded) {
82
- if (source == null) return {};
83
- var target = {};
84
- var sourceKeys = Object.keys(source);
85
- var key, i;
86
- for (i = 0; i < sourceKeys.length; i++) {
87
- key = sourceKeys[i];
88
- if (excluded.indexOf(key) >= 0) continue;
89
- target[key] = source[key];
90
- }
91
- return target;
92
- }
93
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
94
-
95
- function _objectWithoutProperties(source, excluded) {
96
- if (source == null) return {};
97
- var target = _objectWithoutPropertiesLoose(source, excluded);
98
- var key, i;
99
- if (Object.getOwnPropertySymbols) {
100
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
101
- for (i = 0; i < sourceSymbolKeys.length; i++) {
102
- key = sourceSymbolKeys[i];
103
- if (excluded.indexOf(key) >= 0) continue;
104
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
105
- target[key] = source[key];
106
- }
107
- }
108
- return target;
109
- }
110
- ;// CONCATENATED MODULE: ../../packages/icon/icons/icon.tsx
111
-
112
-
113
- var _excluded = ["data", "name", "width", "height", "fill"];
114
-
115
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
116
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
117
- /*
118
- * Tencent is pleased to support the open source community by making
119
- * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
120
- *
121
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
122
- *
123
- * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
124
- *
125
- * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
126
- *
127
- * ---------------------------------------------------
128
- * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
129
- * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
130
- * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
131
- * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
132
- *
133
- * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
134
- * the Software.
135
- *
136
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
137
- * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
138
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
139
- * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
140
- * IN THE SOFTWARE.
141
- */
142
-
143
- function generate(node, key, rootAttrs) {
144
- return (0,external_vue_namespaceObject.h)(node.name, _objectSpread(_objectSpread({
145
- key: key
146
- }, node.attributes), {}, {
147
- style: "".concat(node.attributes.style, " ").concat(rootAttrs || '')
148
- }), (node.elements || []).map(function (element, index) {
149
- return generate(element, "".concat(key, "-").concat(node.name, "-").concat(index));
150
- }));
151
- }
152
- var bkIcon = function bkIcon(props, context) {
153
- var _context$attrs$props = _objectSpread(_objectSpread({}, context.attrs), props),
154
- data = _context$attrs$props.data,
155
- name = _context$attrs$props.name,
156
- width = _context$attrs$props.width,
157
- height = _context$attrs$props.height,
158
- fill = _context$attrs$props.fill,
159
- restProps = _objectWithoutProperties(_context$attrs$props, _excluded);
160
- var rootAttrs = "width: ".concat(width, "; height: ").concat(height, "; fill: ").concat(fill);
161
- var iconBoxStyle = {
162
- display: 'inline-flex',
163
- 'align-items': 'center',
164
- 'justify-content': 'center'
165
- };
166
- return (0,external_vue_namespaceObject.createVNode)("span", (0,external_vue_namespaceObject.mergeProps)({
167
- "style": iconBoxStyle
168
- }, restProps), [generate(data, name, rootAttrs)]);
169
- };
170
- bkIcon.inheritAttrs = false;
171
- bkIcon.displayName = 'bkIcon';
172
- /* harmony default export */ const icon = (bkIcon);
173
- ;// CONCATENATED MODULE: ../../packages/icon/icons/del.tsx
174
-
175
-
176
- function del_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
177
- function del_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? del_ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : del_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
178
-
179
- var data = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M928 224H672v-64c0-35.2-28.8-64-64-64H416c-35.2 0-64 28.8-64 64v64H96v64h112v576c0 35.2 28.8 64 64 64h480c35.2 0 64-28.8 64-64V288h112V224zM432 160h160c9.6 0 16 6.4 16 16v48H416v-48C416 166.4 422.4 160 432 160zM736 864H288c-9.6 0-16-6.4-16-16V288h480v560C752 857.6 745.6 864 736 864z"}},{"type":"element","name":"path","attributes":{"d":"M576 400H640V752H576V400z"}},{"type":"element","name":"path","attributes":{"d":"M384 400H448V752H384V400z"}}]}');
180
- var del = function del(props, context) {
181
- var p = del_objectSpread(del_objectSpread({}, props), context.attrs);
182
- return (0,external_vue_namespaceObject.createVNode)(icon, (0,external_vue_namespaceObject.mergeProps)(p, {
183
- "data": data,
184
- "name": "del"
185
- }), null);
186
- };
187
- del.displayName = 'del';
188
- del.inheritAttrs = false;
189
- /* harmony default export */ const icons_del = (del);
190
- var __webpack_exports__default = __webpack_exports__.Z;
191
- export { __webpack_exports__default as default };
1
+ import*as e from"vue";var t={d:(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},r={};t.d(r,{Z:()=>m});const n=(a={createVNode:()=>e.createVNode,h:()=>e.h,mergeProps:()=>e.mergeProps},c={},t.d(c,a),c);var a,c;function o(e,t,r){return(0,n.h)(e.name,Object.assign(Object.assign({key:t},e.attributes),{style:"".concat(e.attributes.style," ").concat(r||"")}),(e.elements||[]).map((function(r,n){return o(r,"".concat(t,"-").concat(e.name,"-").concat(n))})))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var s=function(e,t){var r=Object.assign(Object.assign({},t.attrs),e),a=r.data,c=r.name,s=r.width,i=r.height,l=r.fill,p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}(r,["data","name","width","height","fill"]),m="width: ".concat(s,"; height: ").concat(i,"; fill: ").concat(l);return(0,n.createVNode)("span",(0,n.mergeProps)({style:{display:"inline-flex","align-items":"center","justify-content":"center"}},p),[o(a,c,m)])};s.inheritAttrs=!1,s.displayName="bkIcon";const i=s;var l=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M928 224H672v-64c0-35.2-28.8-64-64-64H416c-35.2 0-64 28.8-64 64v64H96v64h112v576c0 35.2 28.8 64 64 64h480c35.2 0 64-28.8 64-64V288h112V224zM432 160h160c9.6 0 16 6.4 16 16v48H416v-48C416 166.4 422.4 160 432 160zM736 864H288c-9.6 0-16-6.4-16-16V288h480v560C752 857.6 745.6 864 736 864z"}},{"type":"element","name":"path","attributes":{"d":"M576 400H640V752H576V400z"}},{"type":"element","name":"path","attributes":{"d":"M384 400H448V752H384V400z"}}]}'),p=function(e,t){var r=Object.assign(Object.assign({},e),t.attrs);return(0,n.createVNode)(i,(0,n.mergeProps)(r,{data:l,name:"del"}),null)};p.displayName="del",p.inheritAttrs=!1;const m=p;var d=r.Z;export{d as default};