bkui-vue 0.0.2-beta.82 → 0.0.2-beta.84
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.
- package/dist/index.cjs.js +135 -161
- package/dist/index.esm.js +16449 -19088
- package/dist/index.umd.js +135 -161
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/index.js +321 -1
- package/lib/alert/index.js +214 -1
- package/lib/animate-number/index.js +155 -1
- package/lib/backtop/index.js +188 -1
- package/lib/badge/index.js +235 -1
- package/lib/breadcrumb/index.js +309 -1
- package/lib/button/index.js +321 -1
- package/lib/card/index.js +285 -1
- package/lib/cascader/index.js +2036 -2
- package/lib/checkbox/index.js +542 -1
- package/lib/code-diff/index.js +5501 -1
- package/lib/collapse/index.js +570 -1
- package/lib/collapse-transition/index.js +177 -1
- package/lib/color-picker/index.js +2665 -1
- package/lib/components.js +530 -1
- package/lib/config-provider/index.js +365 -1
- package/lib/container/index.js +391 -1
- package/lib/date-picker/index.js +5555 -1
- package/lib/dialog/index.js +975 -2
- package/lib/directives/index.js +1375 -2
- package/lib/dist.index.js +87 -1
- package/lib/divider/index.js +169 -1
- package/lib/dropdown/index.js +369 -1
- package/lib/exception/index.js +385 -1
- package/lib/fixed-navbar/index.js +154 -1
- package/lib/form/index.js +952 -1
- package/lib/hooks.js +73 -1
- package/lib/icon/angle-double-down-line.js +191 -1
- package/lib/icon/angle-double-left-line.js +191 -1
- package/lib/icon/angle-double-left.js +191 -1
- package/lib/icon/angle-double-right-line.js +191 -1
- package/lib/icon/angle-double-right.js +191 -1
- package/lib/icon/angle-double-up-line.js +191 -1
- package/lib/icon/angle-down-fill.js +191 -1
- package/lib/icon/angle-down-line.js +191 -1
- package/lib/icon/angle-down.js +191 -1
- package/lib/icon/angle-left.js +191 -1
- package/lib/icon/angle-right.js +191 -1
- package/lib/icon/angle-up-fill.js +191 -1
- package/lib/icon/angle-up.js +191 -1
- package/lib/icon/archive-fill.js +191 -1
- package/lib/icon/arrows-left.js +191 -1
- package/lib/icon/arrows-right.js +191 -1
- package/lib/icon/assistant.js +191 -1
- package/lib/icon/audio-fill.js +191 -1
- package/lib/icon/bk.js +191 -1
- package/lib/icon/circle.js +191 -1
- package/lib/icon/close-line.js +191 -1
- package/lib/icon/close.js +191 -1
- package/lib/icon/code.js +191 -1
- package/lib/icon/cog-shape.js +191 -1
- package/lib/icon/collapse-left.js +191 -1
- package/lib/icon/copy-shape.js +191 -1
- package/lib/icon/copy.js +191 -1
- package/lib/icon/data-shape.js +191 -1
- package/lib/icon/del.js +191 -1
- package/lib/icon/doc-fill.js +191 -1
- package/lib/icon/done.js +191 -1
- package/lib/icon/down-shape.js +191 -1
- package/lib/icon/down-small.js +191 -1
- package/lib/icon/edit-line.js +191 -1
- package/lib/icon/ellipsis.js +191 -1
- package/lib/icon/enlarge-line.js +191 -1
- package/lib/icon/error.js +191 -1
- package/lib/icon/excel-fill.js +191 -1
- package/lib/icon/exclamation-circle-shape.js +191 -1
- package/lib/icon/eye.js +191 -1
- package/lib/icon/filliscreen-line.js +191 -1
- package/lib/icon/fix-line.js +191 -1
- package/lib/icon/fix-shape.js +191 -1
- package/lib/icon/folder-open.js +191 -1
- package/lib/icon/folder-shape-open.js +191 -1
- package/lib/icon/folder-shape.js +191 -1
- package/lib/icon/folder.js +191 -1
- package/lib/icon/funnel.js +191 -1
- package/lib/icon/help-document-fill.js +191 -1
- package/lib/icon/help-fill.js +191 -1
- package/lib/icon/help.js +191 -1
- package/lib/icon/image-fill.js +276 -1
- package/lib/icon/img-error.js +276 -1
- package/lib/icon/img-placehoulder.js +276 -1
- package/lib/icon/index.js +2399 -1
- package/lib/icon/info-line.js +276 -1
- package/lib/icon/info.js +276 -1
- package/lib/icon/left-shape.js +276 -1
- package/lib/icon/left-turn-line.js +276 -1
- package/lib/icon/narrow-line.js +276 -1
- package/lib/icon/original.js +276 -1
- package/lib/icon/pdf-fill.js +276 -1
- package/lib/icon/play-shape.js +276 -1
- package/lib/icon/plus.js +276 -1
- package/lib/icon/ppt-fill.js +276 -1
- package/lib/icon/qq.js +276 -1
- package/lib/icon/right-shape.js +276 -1
- package/lib/icon/right-turn-line.js +276 -1
- package/lib/icon/search.js +276 -1
- package/lib/icon/share.js +276 -1
- package/lib/icon/spinner.js +276 -1
- package/lib/icon/success.js +276 -1
- package/lib/icon/switcher-loading.js +276 -1
- package/lib/icon/text-file.js +276 -1
- package/lib/icon/text-fill.js +276 -1
- package/lib/icon/transfer.js +276 -1
- package/lib/icon/tree-application-shape.js +276 -1
- package/lib/icon/unfull-screen.js +276 -1
- package/lib/icon/unvisible.js +276 -1
- package/lib/icon/up-shape.js +276 -1
- package/lib/icon/upload.js +276 -1
- package/lib/icon/video-fill.js +276 -1
- package/lib/icon/warn.js +276 -1
- package/lib/icon/weixin-pro.js +276 -1
- package/lib/icon/weixin.js +276 -1
- package/lib/image/index.js +641 -1
- package/lib/index.js +97 -1
- package/lib/info-box/index.js +1165 -2
- package/lib/input/index.js +1218 -2
- package/lib/link/index.js +160 -1
- package/lib/loading/index.js +381 -1
- package/lib/locale/index.js +465 -1
- package/lib/menu/index.js +724 -1
- package/lib/message/index.js +1795 -2
- package/lib/modal/index.js +396 -1
- package/lib/navigation/index.js +367 -1
- package/lib/notify/index.js +397 -1
- package/lib/overflow-title/index.js +461 -1
- package/lib/pagination/index.js +880 -1
- package/lib/plugin-popover/index.js +4089 -1
- package/lib/plugins/index.js +63 -1
- package/lib/pop-confirm/index.js +273 -1
- package/lib/popover/index.js +4097 -1
- package/lib/popover2/index.js +107 -1
- package/lib/preset.js +93 -1
- package/lib/process/index.js +759 -2
- package/lib/progress/index.js +431 -1
- package/lib/radio/index.js +627 -1
- package/lib/rate/index.js +338 -1
- package/lib/resize-layout/index.js +429 -1
- package/lib/search-select/index.js +2729 -2
- package/lib/search-select/search-select.css +1 -3
- package/lib/search-select/search-select.less +1 -3
- package/lib/search-select/search-select.variable.css +1 -3
- package/lib/select/index.js +2251 -2
- package/lib/shared/index.js +2873 -1
- package/lib/sideslider/index.js +714 -2
- package/lib/slider/index.js +1291 -2
- package/lib/steps/index.js +825 -2
- package/lib/swiper/index.js +336 -1
- package/lib/switcher/index.js +277 -1
- package/lib/tab/index.js +914 -1
- package/lib/table/index.js +6421 -1
- package/lib/table/plugins/use-column-resize.d.ts +1 -1
- package/lib/table-column/index.js +763 -1
- package/lib/tag/index.js +233 -1
- package/lib/tag-input/index.js +1660 -1
- package/lib/tag-input/tag-input.d.ts +2 -14
- package/lib/time-picker/index.js +71 -1
- package/lib/timeline/index.js +241 -1
- package/lib/transfer/index.js +673 -1
- package/lib/tree/index.js +2686 -1
- package/lib/upload/index.js +2874 -2
- package/lib/virtual-render/index.js +865 -1
- package/package.json +13 -2
- package/lib/cascader/index.js.LICENSE.txt +0 -1
- package/lib/dialog/index.js.LICENSE.txt +0 -1
- package/lib/directives/index.js.LICENSE.txt +0 -14
- package/lib/info-box/index.js.LICENSE.txt +0 -1
- package/lib/input/index.js.LICENSE.txt +0 -1
- package/lib/message/index.js.LICENSE.txt +0 -6
- package/lib/process/index.js.LICENSE.txt +0 -1
- package/lib/search-select/index.js.LICENSE.txt +0 -1
- package/lib/select/index.js.LICENSE.txt +0 -1
- package/lib/sideslider/index.js.LICENSE.txt +0 -1
- package/lib/slider/index.js.LICENSE.txt +0 -1
- package/lib/steps/index.js.LICENSE.txt +0 -1
- package/lib/upload/index.js.LICENSE.txt +0 -1
@@ -1 +1,276 @@
|
|
1
|
-
import*as
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
2
|
+
/******/ var __webpack_modules__ = ({
|
3
|
+
|
4
|
+
/***/ 5226:
|
5
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
6
|
+
|
7
|
+
|
8
|
+
// EXPORTS
|
9
|
+
__webpack_require__.d(__webpack_exports__, {
|
10
|
+
Z: () => (/* binding */ icon)
|
11
|
+
});
|
12
|
+
|
13
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
14
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
15
|
+
if (source == null) return {};
|
16
|
+
var target = {};
|
17
|
+
var sourceKeys = Object.keys(source);
|
18
|
+
var key, i;
|
19
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
20
|
+
key = sourceKeys[i];
|
21
|
+
if (excluded.indexOf(key) >= 0) continue;
|
22
|
+
target[key] = source[key];
|
23
|
+
}
|
24
|
+
return target;
|
25
|
+
}
|
26
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
27
|
+
|
28
|
+
function _objectWithoutProperties(source, excluded) {
|
29
|
+
if (source == null) return {};
|
30
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
31
|
+
var key, i;
|
32
|
+
if (Object.getOwnPropertySymbols) {
|
33
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
34
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
35
|
+
key = sourceSymbolKeys[i];
|
36
|
+
if (excluded.indexOf(key) >= 0) continue;
|
37
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
38
|
+
target[key] = source[key];
|
39
|
+
}
|
40
|
+
}
|
41
|
+
return target;
|
42
|
+
}
|
43
|
+
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
44
|
+
var defineProperty = __webpack_require__(6666);
|
45
|
+
// EXTERNAL MODULE: external "vue"
|
46
|
+
var external_vue_ = __webpack_require__(6609);
|
47
|
+
;// CONCATENATED MODULE: ../../packages/icon/icons/icon.tsx
|
48
|
+
|
49
|
+
|
50
|
+
var _excluded = ["data", "name", "width", "height", "fill"];
|
51
|
+
|
52
|
+
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; }
|
53
|
+
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) { (0,defineProperty/* default */.Z)(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; }
|
54
|
+
/*
|
55
|
+
* Tencent is pleased to support the open source community by making
|
56
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
57
|
+
*
|
58
|
+
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
|
59
|
+
*
|
60
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
61
|
+
*
|
62
|
+
* License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
|
63
|
+
*
|
64
|
+
* ---------------------------------------------------
|
65
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
66
|
+
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
|
67
|
+
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
|
68
|
+
* to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
69
|
+
*
|
70
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
|
71
|
+
* the Software.
|
72
|
+
*
|
73
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
74
|
+
* THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
75
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
76
|
+
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
77
|
+
* IN THE SOFTWARE.
|
78
|
+
*/
|
79
|
+
|
80
|
+
function generate(node, key, rootAttrs) {
|
81
|
+
return (0,external_vue_.h)(node.name, _objectSpread(_objectSpread({
|
82
|
+
key: key
|
83
|
+
}, node.attributes), {}, {
|
84
|
+
style: "".concat(node.attributes.style, " ").concat(rootAttrs || '')
|
85
|
+
}), (node.elements || []).map(function (element, index) {
|
86
|
+
return generate(element, "".concat(key, "-").concat(node.name, "-").concat(index));
|
87
|
+
}));
|
88
|
+
}
|
89
|
+
var bkIcon = function bkIcon(props, context) {
|
90
|
+
var _context$attrs$props = _objectSpread(_objectSpread({}, context.attrs), props),
|
91
|
+
data = _context$attrs$props.data,
|
92
|
+
name = _context$attrs$props.name,
|
93
|
+
width = _context$attrs$props.width,
|
94
|
+
height = _context$attrs$props.height,
|
95
|
+
fill = _context$attrs$props.fill,
|
96
|
+
restProps = _objectWithoutProperties(_context$attrs$props, _excluded);
|
97
|
+
var rootAttrs = "width: ".concat(width, "; height: ").concat(height, "; fill: ").concat(fill);
|
98
|
+
var iconBoxStyle = {
|
99
|
+
display: 'inline-flex',
|
100
|
+
'align-items': 'center',
|
101
|
+
'justify-content': 'center'
|
102
|
+
};
|
103
|
+
return (0,external_vue_.createVNode)("span", (0,external_vue_.mergeProps)({
|
104
|
+
"style": iconBoxStyle
|
105
|
+
}, restProps), [generate(data, name, rootAttrs)]);
|
106
|
+
};
|
107
|
+
bkIcon.inheritAttrs = false;
|
108
|
+
bkIcon.displayName = 'bkIcon';
|
109
|
+
/* harmony default export */ const icon = (bkIcon);
|
110
|
+
|
111
|
+
/***/ }),
|
112
|
+
|
113
|
+
/***/ 6609:
|
114
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
115
|
+
|
116
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
117
|
+
var y = x => () => x
|
118
|
+
module.exports = x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps });
|
119
|
+
|
120
|
+
/***/ }),
|
121
|
+
|
122
|
+
/***/ 6666:
|
123
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
124
|
+
|
125
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
126
|
+
/* harmony export */ Z: () => (/* binding */ _defineProperty)
|
127
|
+
/* harmony export */ });
|
128
|
+
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3795);
|
129
|
+
|
130
|
+
function _defineProperty(obj, key, value) {
|
131
|
+
key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(key);
|
132
|
+
if (key in obj) {
|
133
|
+
Object.defineProperty(obj, key, {
|
134
|
+
value: value,
|
135
|
+
enumerable: true,
|
136
|
+
configurable: true,
|
137
|
+
writable: true
|
138
|
+
});
|
139
|
+
} else {
|
140
|
+
obj[key] = value;
|
141
|
+
}
|
142
|
+
return obj;
|
143
|
+
}
|
144
|
+
|
145
|
+
/***/ }),
|
146
|
+
|
147
|
+
/***/ 9745:
|
148
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
149
|
+
|
150
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
151
|
+
/* harmony export */ Z: () => (/* binding */ _toPrimitive)
|
152
|
+
/* harmony export */ });
|
153
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6522);
|
154
|
+
|
155
|
+
function _toPrimitive(input, hint) {
|
156
|
+
if ((0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(input) !== "object" || input === null) return input;
|
157
|
+
var prim = input[Symbol.toPrimitive];
|
158
|
+
if (prim !== undefined) {
|
159
|
+
var res = prim.call(input, hint || "default");
|
160
|
+
if ((0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(res) !== "object") return res;
|
161
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
162
|
+
}
|
163
|
+
return (hint === "string" ? String : Number)(input);
|
164
|
+
}
|
165
|
+
|
166
|
+
/***/ }),
|
167
|
+
|
168
|
+
/***/ 3795:
|
169
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
170
|
+
|
171
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
172
|
+
/* harmony export */ Z: () => (/* binding */ _toPropertyKey)
|
173
|
+
/* harmony export */ });
|
174
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6522);
|
175
|
+
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9745);
|
176
|
+
|
177
|
+
|
178
|
+
function _toPropertyKey(arg) {
|
179
|
+
var key = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(arg, "string");
|
180
|
+
return (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(key) === "symbol" ? key : String(key);
|
181
|
+
}
|
182
|
+
|
183
|
+
/***/ }),
|
184
|
+
|
185
|
+
/***/ 6522:
|
186
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
187
|
+
|
188
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
189
|
+
/* harmony export */ Z: () => (/* binding */ _typeof)
|
190
|
+
/* harmony export */ });
|
191
|
+
function _typeof(obj) {
|
192
|
+
"@babel/helpers - typeof";
|
193
|
+
|
194
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
195
|
+
return typeof obj;
|
196
|
+
} : function (obj) {
|
197
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
198
|
+
}, _typeof(obj);
|
199
|
+
}
|
200
|
+
|
201
|
+
/***/ })
|
202
|
+
|
203
|
+
/******/ });
|
204
|
+
/************************************************************************/
|
205
|
+
/******/ // The module cache
|
206
|
+
/******/ var __webpack_module_cache__ = {};
|
207
|
+
/******/
|
208
|
+
/******/ // The require function
|
209
|
+
/******/ function __webpack_require__(moduleId) {
|
210
|
+
/******/ // Check if module is in cache
|
211
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
212
|
+
/******/ if (cachedModule !== undefined) {
|
213
|
+
/******/ return cachedModule.exports;
|
214
|
+
/******/ }
|
215
|
+
/******/ // Create a new module (and put it into the cache)
|
216
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
217
|
+
/******/ // no module.id needed
|
218
|
+
/******/ // no module.loaded needed
|
219
|
+
/******/ exports: {}
|
220
|
+
/******/ };
|
221
|
+
/******/
|
222
|
+
/******/ // Execute the module function
|
223
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
224
|
+
/******/
|
225
|
+
/******/ // Return the exports of the module
|
226
|
+
/******/ return module.exports;
|
227
|
+
/******/ }
|
228
|
+
/******/
|
229
|
+
/************************************************************************/
|
230
|
+
/******/ /* webpack/runtime/define property getters */
|
231
|
+
/******/ (() => {
|
232
|
+
/******/ // define getter functions for harmony exports
|
233
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
234
|
+
/******/ for(var key in definition) {
|
235
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
236
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
237
|
+
/******/ }
|
238
|
+
/******/ }
|
239
|
+
/******/ };
|
240
|
+
/******/ })();
|
241
|
+
/******/
|
242
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
243
|
+
/******/ (() => {
|
244
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
245
|
+
/******/ })();
|
246
|
+
/******/
|
247
|
+
/************************************************************************/
|
248
|
+
var __webpack_exports__ = {};
|
249
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
250
|
+
(() => {
|
251
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
252
|
+
/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__)
|
253
|
+
/* harmony export */ });
|
254
|
+
/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6666);
|
255
|
+
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6609);
|
256
|
+
/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5226);
|
257
|
+
|
258
|
+
|
259
|
+
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; }
|
260
|
+
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) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(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; }
|
261
|
+
|
262
|
+
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":"M832 512a320 320 0 1 1-76.96-208H672v64H864V176H800v82.08A384 384 0 1 0 896 512Z"}}]}');
|
263
|
+
var rightTurnLine = function rightTurnLine(props, context) {
|
264
|
+
var p = _objectSpread(_objectSpread({}, props), context.attrs);
|
265
|
+
return (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(_icon__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z, (0,vue__WEBPACK_IMPORTED_MODULE_0__.mergeProps)(p, {
|
266
|
+
"data": data,
|
267
|
+
"name": "rightTurnLine"
|
268
|
+
}), null);
|
269
|
+
};
|
270
|
+
rightTurnLine.displayName = 'rightTurnLine';
|
271
|
+
rightTurnLine.inheritAttrs = false;
|
272
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (rightTurnLine);
|
273
|
+
})();
|
274
|
+
|
275
|
+
var __webpack_exports__default = __webpack_exports__.Z;
|
276
|
+
export { __webpack_exports__default as default };
|
package/lib/icon/search.js
CHANGED
@@ -1 +1,276 @@
|
|
1
|
-
import*as
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
2
|
+
/******/ var __webpack_modules__ = ({
|
3
|
+
|
4
|
+
/***/ 5226:
|
5
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
6
|
+
|
7
|
+
|
8
|
+
// EXPORTS
|
9
|
+
__webpack_require__.d(__webpack_exports__, {
|
10
|
+
Z: () => (/* binding */ icon)
|
11
|
+
});
|
12
|
+
|
13
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
14
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
15
|
+
if (source == null) return {};
|
16
|
+
var target = {};
|
17
|
+
var sourceKeys = Object.keys(source);
|
18
|
+
var key, i;
|
19
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
20
|
+
key = sourceKeys[i];
|
21
|
+
if (excluded.indexOf(key) >= 0) continue;
|
22
|
+
target[key] = source[key];
|
23
|
+
}
|
24
|
+
return target;
|
25
|
+
}
|
26
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
27
|
+
|
28
|
+
function _objectWithoutProperties(source, excluded) {
|
29
|
+
if (source == null) return {};
|
30
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
31
|
+
var key, i;
|
32
|
+
if (Object.getOwnPropertySymbols) {
|
33
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
34
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
35
|
+
key = sourceSymbolKeys[i];
|
36
|
+
if (excluded.indexOf(key) >= 0) continue;
|
37
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
38
|
+
target[key] = source[key];
|
39
|
+
}
|
40
|
+
}
|
41
|
+
return target;
|
42
|
+
}
|
43
|
+
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
44
|
+
var defineProperty = __webpack_require__(6666);
|
45
|
+
// EXTERNAL MODULE: external "vue"
|
46
|
+
var external_vue_ = __webpack_require__(6609);
|
47
|
+
;// CONCATENATED MODULE: ../../packages/icon/icons/icon.tsx
|
48
|
+
|
49
|
+
|
50
|
+
var _excluded = ["data", "name", "width", "height", "fill"];
|
51
|
+
|
52
|
+
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; }
|
53
|
+
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) { (0,defineProperty/* default */.Z)(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; }
|
54
|
+
/*
|
55
|
+
* Tencent is pleased to support the open source community by making
|
56
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
57
|
+
*
|
58
|
+
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
|
59
|
+
*
|
60
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
61
|
+
*
|
62
|
+
* License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
|
63
|
+
*
|
64
|
+
* ---------------------------------------------------
|
65
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
66
|
+
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
|
67
|
+
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
|
68
|
+
* to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
69
|
+
*
|
70
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
|
71
|
+
* the Software.
|
72
|
+
*
|
73
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
74
|
+
* THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
75
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
76
|
+
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
77
|
+
* IN THE SOFTWARE.
|
78
|
+
*/
|
79
|
+
|
80
|
+
function generate(node, key, rootAttrs) {
|
81
|
+
return (0,external_vue_.h)(node.name, _objectSpread(_objectSpread({
|
82
|
+
key: key
|
83
|
+
}, node.attributes), {}, {
|
84
|
+
style: "".concat(node.attributes.style, " ").concat(rootAttrs || '')
|
85
|
+
}), (node.elements || []).map(function (element, index) {
|
86
|
+
return generate(element, "".concat(key, "-").concat(node.name, "-").concat(index));
|
87
|
+
}));
|
88
|
+
}
|
89
|
+
var bkIcon = function bkIcon(props, context) {
|
90
|
+
var _context$attrs$props = _objectSpread(_objectSpread({}, context.attrs), props),
|
91
|
+
data = _context$attrs$props.data,
|
92
|
+
name = _context$attrs$props.name,
|
93
|
+
width = _context$attrs$props.width,
|
94
|
+
height = _context$attrs$props.height,
|
95
|
+
fill = _context$attrs$props.fill,
|
96
|
+
restProps = _objectWithoutProperties(_context$attrs$props, _excluded);
|
97
|
+
var rootAttrs = "width: ".concat(width, "; height: ").concat(height, "; fill: ").concat(fill);
|
98
|
+
var iconBoxStyle = {
|
99
|
+
display: 'inline-flex',
|
100
|
+
'align-items': 'center',
|
101
|
+
'justify-content': 'center'
|
102
|
+
};
|
103
|
+
return (0,external_vue_.createVNode)("span", (0,external_vue_.mergeProps)({
|
104
|
+
"style": iconBoxStyle
|
105
|
+
}, restProps), [generate(data, name, rootAttrs)]);
|
106
|
+
};
|
107
|
+
bkIcon.inheritAttrs = false;
|
108
|
+
bkIcon.displayName = 'bkIcon';
|
109
|
+
/* harmony default export */ const icon = (bkIcon);
|
110
|
+
|
111
|
+
/***/ }),
|
112
|
+
|
113
|
+
/***/ 6609:
|
114
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
115
|
+
|
116
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
117
|
+
var y = x => () => x
|
118
|
+
module.exports = x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps });
|
119
|
+
|
120
|
+
/***/ }),
|
121
|
+
|
122
|
+
/***/ 6666:
|
123
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
124
|
+
|
125
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
126
|
+
/* harmony export */ Z: () => (/* binding */ _defineProperty)
|
127
|
+
/* harmony export */ });
|
128
|
+
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3795);
|
129
|
+
|
130
|
+
function _defineProperty(obj, key, value) {
|
131
|
+
key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(key);
|
132
|
+
if (key in obj) {
|
133
|
+
Object.defineProperty(obj, key, {
|
134
|
+
value: value,
|
135
|
+
enumerable: true,
|
136
|
+
configurable: true,
|
137
|
+
writable: true
|
138
|
+
});
|
139
|
+
} else {
|
140
|
+
obj[key] = value;
|
141
|
+
}
|
142
|
+
return obj;
|
143
|
+
}
|
144
|
+
|
145
|
+
/***/ }),
|
146
|
+
|
147
|
+
/***/ 9745:
|
148
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
149
|
+
|
150
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
151
|
+
/* harmony export */ Z: () => (/* binding */ _toPrimitive)
|
152
|
+
/* harmony export */ });
|
153
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6522);
|
154
|
+
|
155
|
+
function _toPrimitive(input, hint) {
|
156
|
+
if ((0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(input) !== "object" || input === null) return input;
|
157
|
+
var prim = input[Symbol.toPrimitive];
|
158
|
+
if (prim !== undefined) {
|
159
|
+
var res = prim.call(input, hint || "default");
|
160
|
+
if ((0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(res) !== "object") return res;
|
161
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
162
|
+
}
|
163
|
+
return (hint === "string" ? String : Number)(input);
|
164
|
+
}
|
165
|
+
|
166
|
+
/***/ }),
|
167
|
+
|
168
|
+
/***/ 3795:
|
169
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
170
|
+
|
171
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
172
|
+
/* harmony export */ Z: () => (/* binding */ _toPropertyKey)
|
173
|
+
/* harmony export */ });
|
174
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6522);
|
175
|
+
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9745);
|
176
|
+
|
177
|
+
|
178
|
+
function _toPropertyKey(arg) {
|
179
|
+
var key = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(arg, "string");
|
180
|
+
return (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(key) === "symbol" ? key : String(key);
|
181
|
+
}
|
182
|
+
|
183
|
+
/***/ }),
|
184
|
+
|
185
|
+
/***/ 6522:
|
186
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
187
|
+
|
188
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
189
|
+
/* harmony export */ Z: () => (/* binding */ _typeof)
|
190
|
+
/* harmony export */ });
|
191
|
+
function _typeof(obj) {
|
192
|
+
"@babel/helpers - typeof";
|
193
|
+
|
194
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
195
|
+
return typeof obj;
|
196
|
+
} : function (obj) {
|
197
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
198
|
+
}, _typeof(obj);
|
199
|
+
}
|
200
|
+
|
201
|
+
/***/ })
|
202
|
+
|
203
|
+
/******/ });
|
204
|
+
/************************************************************************/
|
205
|
+
/******/ // The module cache
|
206
|
+
/******/ var __webpack_module_cache__ = {};
|
207
|
+
/******/
|
208
|
+
/******/ // The require function
|
209
|
+
/******/ function __webpack_require__(moduleId) {
|
210
|
+
/******/ // Check if module is in cache
|
211
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
212
|
+
/******/ if (cachedModule !== undefined) {
|
213
|
+
/******/ return cachedModule.exports;
|
214
|
+
/******/ }
|
215
|
+
/******/ // Create a new module (and put it into the cache)
|
216
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
217
|
+
/******/ // no module.id needed
|
218
|
+
/******/ // no module.loaded needed
|
219
|
+
/******/ exports: {}
|
220
|
+
/******/ };
|
221
|
+
/******/
|
222
|
+
/******/ // Execute the module function
|
223
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
224
|
+
/******/
|
225
|
+
/******/ // Return the exports of the module
|
226
|
+
/******/ return module.exports;
|
227
|
+
/******/ }
|
228
|
+
/******/
|
229
|
+
/************************************************************************/
|
230
|
+
/******/ /* webpack/runtime/define property getters */
|
231
|
+
/******/ (() => {
|
232
|
+
/******/ // define getter functions for harmony exports
|
233
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
234
|
+
/******/ for(var key in definition) {
|
235
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
236
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
237
|
+
/******/ }
|
238
|
+
/******/ }
|
239
|
+
/******/ };
|
240
|
+
/******/ })();
|
241
|
+
/******/
|
242
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
243
|
+
/******/ (() => {
|
244
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
245
|
+
/******/ })();
|
246
|
+
/******/
|
247
|
+
/************************************************************************/
|
248
|
+
var __webpack_exports__ = {};
|
249
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
250
|
+
(() => {
|
251
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
252
|
+
/* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__)
|
253
|
+
/* harmony export */ });
|
254
|
+
/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6666);
|
255
|
+
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6609);
|
256
|
+
/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5226);
|
257
|
+
|
258
|
+
|
259
|
+
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; }
|
260
|
+
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) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(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; }
|
261
|
+
|
262
|
+
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":"M842.56 797.28l-151.52-151.52a336 336 0 1 0-45.28 45.28l151.52 151.52a32 32 0 0 0 45.28-45.28ZM432 704A272 272 0 1 1 704 432 272 272 0 0 1 432 704Z"}}]}');
|
263
|
+
var search = function search(props, context) {
|
264
|
+
var p = _objectSpread(_objectSpread({}, props), context.attrs);
|
265
|
+
return (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(_icon__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z, (0,vue__WEBPACK_IMPORTED_MODULE_0__.mergeProps)(p, {
|
266
|
+
"data": data,
|
267
|
+
"name": "search"
|
268
|
+
}), null);
|
269
|
+
};
|
270
|
+
search.displayName = 'search';
|
271
|
+
search.inheritAttrs = false;
|
272
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (search);
|
273
|
+
})();
|
274
|
+
|
275
|
+
var __webpack_exports__default = __webpack_exports__.Z;
|
276
|
+
export { __webpack_exports__default as default };
|