bkui-vue 0.0.2-beta.78.beta.1 → 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 (212) hide show
  1. package/dist/index.cjs.js +161 -135
  2. package/dist/index.esm.js +18864 -16279
  3. package/dist/index.umd.js +161 -135
  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/tag-input/tag-input.d.ts +2 -4
  194. package/lib/time-picker/index.js +1 -71
  195. package/lib/timeline/index.js +1 -241
  196. package/lib/transfer/index.js +1 -673
  197. package/lib/tree/index.d.ts +12 -0
  198. package/lib/tree/index.js +1 -2445
  199. package/lib/tree/props.d.ts +8 -1
  200. package/lib/tree/tree.d.ts +7 -0
  201. package/lib/tree/use-node-action.d.ts +2 -1
  202. package/lib/tree/use-node-attribute.d.ts +2 -0
  203. package/lib/tree/use-search.d.ts +2 -2
  204. package/lib/tree/util.d.ts +2 -2
  205. package/lib/upload/index.js +2 -2874
  206. package/lib/upload/index.js.LICENSE.txt +1 -0
  207. package/lib/virtual-render/index.d.ts +12 -0
  208. package/lib/virtual-render/index.js +1 -792
  209. package/lib/virtual-render/props.d.ts +4 -0
  210. package/lib/virtual-render/v-virtual-render.d.ts +19 -1
  211. package/lib/virtual-render/virtual-render.d.ts +7 -0
  212. package/package.json +3 -4
@@ -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 */ enlarge_line)
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/enlarge-line.tsx
174
-
175
-
176
- function enlarge_line_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 enlarge_line_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? enlarge_line_ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : enlarge_line_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":"M885.76 840.64l-148.96-149.12a344.16 344.16 0 1 0-45.28 45.28l149.12 148.96a32 32 0 1 0 45.12-45.12ZM472 752A280 280 0 1 1 752 472 280.32 280.32 0 0 1 472 752Z"}},{"type":"element","name":"path","attributes":{"d":"M576 448H496V368a32 32 0 0 0-64 0v80H352a32 32 0 0 0 0 64h80v80a32 32 0 0 0 64 0V512h80a32 32 0 0 0 0-64Z"}}]}');
180
- var enlargeLine = function enlargeLine(props, context) {
181
- var p = enlarge_line_objectSpread(enlarge_line_objectSpread({}, props), context.attrs);
182
- return (0,external_vue_namespaceObject.createVNode)(icon, (0,external_vue_namespaceObject.mergeProps)(p, {
183
- "data": data,
184
- "name": "enlargeLine"
185
- }), null);
186
- };
187
- enlargeLine.displayName = 'enlargeLine';
188
- enlargeLine.inheritAttrs = false;
189
- /* harmony default export */ const enlarge_line = (enlargeLine);
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},o={},t.d(o,n),o);var n,o;function i(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 i(r,"".concat(t,"-").concat(e.name,"-").concat(a))})))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var c=function(e,t){var r=Object.assign(Object.assign({},t.attrs),e),n=r.data,o=r.name,c=r.width,s=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(c,"; height: ").concat(s,"; fill: ").concat(l);return(0,a.createVNode)("span",(0,a.mergeProps)({style:{display:"inline-flex","align-items":"center","justify-content":"center"}},p),[i(n,o,m)])};c.inheritAttrs=!1,c.displayName="bkIcon";const s=c;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":"M885.76 840.64l-148.96-149.12a344.16 344.16 0 1 0-45.28 45.28l149.12 148.96a32 32 0 1 0 45.12-45.12ZM472 752A280 280 0 1 1 752 472 280.32 280.32 0 0 1 472 752Z"}},{"type":"element","name":"path","attributes":{"d":"M576 448H496V368a32 32 0 0 0-64 0v80H352a32 32 0 0 0 0 64h80v80a32 32 0 0 0 64 0V512h80a32 32 0 0 0 0-64Z"}}]}'),p=function(e,t){var r=Object.assign(Object.assign({},e),t.attrs);return(0,a.createVNode)(s,(0,a.mergeProps)(r,{data:l,name:"enlargeLine"}),null)};p.displayName="enlargeLine",p.inheritAttrs=!1;const m=p;var d=r.Z;export{d as default};
package/lib/icon/error.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_error)
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/error.tsx
174
-
175
-
176
- function error_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 error_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? error_ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : error_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":{"fill-rule":"evenodd","d":"M452.7573333333333 510.91200000000003L225.83338666666668 737.8346666666666 286.1730133333333 798.1738666666666 513.0965333333334 571.2511999999999 739.8399999999999 797.9946666666666 797.9946666666666 739.8399999999999 571.2511999999999 513.0965333333334 798.1738666666666 286.1730133333333 737.8346666666666 225.83338666666668 510.91200000000003 452.7573333333333 283.9867733333333 225.83338666666668 225.83338666666668 283.9867733333333 452.7573333333333 510.91200000000003Z","clip-rule":"evenodd"}}]}');
180
- var error = function error(props, context) {
181
- var p = error_objectSpread(error_objectSpread({}, props), context.attrs);
182
- return (0,external_vue_namespaceObject.createVNode)(icon, (0,external_vue_namespaceObject.mergeProps)(p, {
183
- "data": data,
184
- "name": "error"
185
- }), null);
186
- };
187
- error.displayName = 'error';
188
- error.inheritAttrs = false;
189
- /* harmony default export */ const icons_error = (error);
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:()=>d});const n=(a={createVNode:()=>e.createVNode,h:()=>e.h,mergeProps:()=>e.mergeProps},o={},t.d(o,a),o);var a,o;function c(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 c(r,"".concat(t,"-").concat(e.name,"-").concat(n))})))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var i=function(e,t){var r=Object.assign(Object.assign({},t.attrs),e),a=r.data,o=r.name,i=r.width,s=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"]),d="width: ".concat(i,"; height: ").concat(s,"; fill: ").concat(l);return(0,n.createVNode)("span",(0,n.mergeProps)({style:{display:"inline-flex","align-items":"center","justify-content":"center"}},p),[c(a,o,d)])};i.inheritAttrs=!1,i.displayName="bkIcon";const s=i;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":{"fill-rule":"evenodd","d":"M452.7573333333333 510.91200000000003L225.83338666666668 737.8346666666666 286.1730133333333 798.1738666666666 513.0965333333334 571.2511999999999 739.8399999999999 797.9946666666666 797.9946666666666 739.8399999999999 571.2511999999999 513.0965333333334 798.1738666666666 286.1730133333333 737.8346666666666 225.83338666666668 510.91200000000003 452.7573333333333 283.9867733333333 225.83338666666668 225.83338666666668 283.9867733333333 452.7573333333333 510.91200000000003Z","clip-rule":"evenodd"}}]}'),p=function(e,t){var r=Object.assign(Object.assign({},e),t.attrs);return(0,n.createVNode)(s,(0,n.mergeProps)(r,{data:l,name:"error"}),null)};p.displayName="error",p.inheritAttrs=!1;const d=p;var m=r.Z;export{m 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 */ excel_fill)
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/excel-fill.tsx
174
-
175
-
176
- function excel_fill_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 excel_fill_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? excel_fill_ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : excel_fill_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 1097.143","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M698.6369535999999 21.90055387428571C703.9797248 26.53220315428571 707.0476178285713 33.25521261714285 707.0476178285713 40.326095360000004L707.0476178285713 1056.8167606857141C707.0476178285713 1063.8778368 703.9842779428571 1070.5916416 698.6529316571427 1075.2214930285713 693.3215890285713 1079.8513481142857 686.2448676571429 1081.9424548571428 679.2533321142857 1080.953903542857L66.21866678857141 993.4262857142858C42.18708992 990.0036388571428 24.332190354285718 969.4260845714285 24.332190354285718 945.152L24.332190354285718 151.99085714285712C24.332190354285718 127.71677257142855 42.18708992 107.13921718857142 66.21866678857141 103.71657142857141L66.26742857142857 103.71657142857141 679.2045714285714 16.188952502857138C686.2038015999999 15.18488685714286 693.2941824 17.26890459428571 698.6369535999999 21.90055387428571ZM950.8571428571428 109.71428571428571C977.7876004571428 109.71428571428571 999.6190463999999 131.54573421714286 999.6190463999999 158.4761903542857L999.6190463999999 938.6666678857142C999.6190463999999 965.5971218285714 977.7876004571428 987.4285714285713 950.8571428571428 987.4285714285713L755.8095250285714 987.4285714285713 755.8095250285714 889.9047606857142 902.0952393142857 889.9047606857142 902.0952393142857 207.23809536 755.8095250285714 207.23809536 755.8095250285714 109.71428571428571 950.8571428571428 109.71428571428571ZM287.69523821714284 353.52381074285717L170.6666667885714 353.52381074285717 307.2 548.5714285714286 170.6666667885714 743.6190463999999 287.69523821714284 743.6190463999999 365.71428571428567 632.1493321142857 443.7333321142857 743.6190463999999 560.7619035428571 743.6190463999999 424.2285714285714 548.5714285714286 560.7619035428571 353.52381074285717 443.7333321142857 353.52381074285717 365.71428571428567 464.9935250285714 287.69523821714284 353.52381074285717Z"}}]}');
180
- var excelFill = function excelFill(props, context) {
181
- var p = excel_fill_objectSpread(excel_fill_objectSpread({}, props), context.attrs);
182
- return (0,external_vue_namespaceObject.createVNode)(icon, (0,external_vue_namespaceObject.mergeProps)(p, {
183
- "data": data,
184
- "name": "excelFill"
185
- }), null);
186
- };
187
- excelFill.displayName = 'excelFill';
188
- excelFill.inheritAttrs = false;
189
- /* harmony default export */ const excel_fill = (excelFill);
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},o={},t.d(o,a),o);var a,o;function c(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 c(r,"".concat(t,"-").concat(e.name,"-").concat(n))})))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var i=function(e,t){var r=Object.assign(Object.assign({},t.attrs),e),a=r.data,o=r.name,i=r.width,s=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(i,"; height: ").concat(s,"; fill: ").concat(l);return(0,n.createVNode)("span",(0,n.mergeProps)({style:{display:"inline-flex","align-items":"center","justify-content":"center"}},p),[c(a,o,m)])};i.inheritAttrs=!1,i.displayName="bkIcon";const s=i;var l=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1097.143","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M698.6369535999999 21.90055387428571C703.9797248 26.53220315428571 707.0476178285713 33.25521261714285 707.0476178285713 40.326095360000004L707.0476178285713 1056.8167606857141C707.0476178285713 1063.8778368 703.9842779428571 1070.5916416 698.6529316571427 1075.2214930285713 693.3215890285713 1079.8513481142857 686.2448676571429 1081.9424548571428 679.2533321142857 1080.953903542857L66.21866678857141 993.4262857142858C42.18708992 990.0036388571428 24.332190354285718 969.4260845714285 24.332190354285718 945.152L24.332190354285718 151.99085714285712C24.332190354285718 127.71677257142855 42.18708992 107.13921718857142 66.21866678857141 103.71657142857141L66.26742857142857 103.71657142857141 679.2045714285714 16.188952502857138C686.2038015999999 15.18488685714286 693.2941824 17.26890459428571 698.6369535999999 21.90055387428571ZM950.8571428571428 109.71428571428571C977.7876004571428 109.71428571428571 999.6190463999999 131.54573421714286 999.6190463999999 158.4761903542857L999.6190463999999 938.6666678857142C999.6190463999999 965.5971218285714 977.7876004571428 987.4285714285713 950.8571428571428 987.4285714285713L755.8095250285714 987.4285714285713 755.8095250285714 889.9047606857142 902.0952393142857 889.9047606857142 902.0952393142857 207.23809536 755.8095250285714 207.23809536 755.8095250285714 109.71428571428571 950.8571428571428 109.71428571428571ZM287.69523821714284 353.52381074285717L170.6666667885714 353.52381074285717 307.2 548.5714285714286 170.6666667885714 743.6190463999999 287.69523821714284 743.6190463999999 365.71428571428567 632.1493321142857 443.7333321142857 743.6190463999999 560.7619035428571 743.6190463999999 424.2285714285714 548.5714285714286 560.7619035428571 353.52381074285717 443.7333321142857 353.52381074285717 365.71428571428567 464.9935250285714 287.69523821714284 353.52381074285717Z"}}]}'),p=function(e,t){var r=Object.assign(Object.assign({},e),t.attrs);return(0,n.createVNode)(s,(0,n.mergeProps)(r,{data:l,name:"excelFill"}),null)};p.displayName="excelFill",p.inheritAttrs=!1;const m=p;var d=r.Z;export{d as default};