bkui-vue 1.0.3-beta.9 → 2.0.1-beta.2
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 +71 -73
- package/dist/index.esm.js +21328 -19060
- package/dist/index.umd.js +71 -73
- package/dist/locale/en.esm.js +1 -1
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/en.umd.js +1 -1
- package/dist/locale/en.umd.js.map +1 -1
- package/dist/locale/zh-cn.esm.js +1 -1
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +3 -0
- package/lib/alert/alert.variable.css +3 -0
- package/lib/backtop/backtop.variable.css +3 -0
- package/lib/badge/badge.variable.css +3 -0
- package/lib/breadcrumb/breadcrumb.variable.css +3 -0
- package/lib/button/button.variable.css +3 -0
- package/lib/card/card.variable.css +3 -0
- package/lib/cascader/cascader.variable.css +3 -0
- package/lib/checkbox/checkbox.variable.css +3 -0
- package/lib/checkbox/index.js +4 -4
- package/lib/code-diff/code-diff.variable.css +3 -0
- package/lib/collapse/collapse.css +11 -0
- package/lib/collapse/collapse.d.ts +11 -0
- package/lib/collapse/collapse.less +15 -1
- package/lib/collapse/collapse.variable.css +14 -0
- package/lib/collapse/index.d.ts +23 -0
- package/lib/collapse/index.js +9 -1
- package/lib/collapse/props.d.ts +8 -0
- package/lib/collapse-transition/collapse-transition.variable.css +3 -0
- package/lib/color-picker/color-picker.variable.css +3 -0
- package/lib/components.d.ts +2 -0
- package/lib/components.js +3 -1
- package/lib/config-provider/config-provider.d.ts +3 -0
- package/lib/config-provider/config-provider.variable.css +3 -0
- package/lib/config-provider/index.d.ts +4 -0
- package/lib/config-provider/token.d.ts +1 -0
- package/lib/container/container.variable.css +3 -0
- package/lib/date-picker/base/month-table.d.ts +2 -2
- package/lib/date-picker/date-picker.d.ts +1 -0
- package/lib/date-picker/date-picker.variable.css +3 -0
- package/lib/date-picker/index.d.ts +3 -0
- package/lib/date-picker/index.js +70 -32
- package/lib/date-picker/interface.d.ts +1 -1
- package/lib/date-picker/time-picker.d.ts +1 -0
- package/lib/date-picker/utils.d.ts +4 -0
- package/lib/dialog/dialog.css +176 -150
- package/lib/dialog/dialog.d.ts +40 -109
- package/lib/dialog/dialog.less +51 -124
- package/lib/dialog/dialog.variable.css +179 -150
- package/lib/dialog/index.d.ts +99 -263
- package/lib/dialog/index.js +244 -246
- package/lib/dialog/props.d.ts +10 -35
- package/lib/directives/index.js +0 -1
- package/lib/divider/divider.variable.css +3 -0
- package/lib/dropdown/dropdown.css +3 -1
- package/lib/dropdown/dropdown.variable.css +6 -1
- package/lib/exception/exception.variable.css +3 -0
- package/lib/fixed-navbar/fixed-navbar.variable.css +3 -0
- package/lib/form/form.variable.css +3 -0
- package/lib/form/index.js +3 -1
- package/lib/icon/image-fill.js +82 -167
- package/lib/icon/img-error.js +82 -167
- package/lib/icon/img-placehoulder.js +82 -167
- package/lib/icon/index.d.ts +1 -0
- package/lib/icon/index.js +87 -2427
- package/lib/icon/info-line.js +82 -167
- package/lib/icon/info.js +82 -167
- package/lib/icon/left-shape.js +82 -167
- package/lib/icon/left-turn-line.js +82 -167
- package/lib/icon/loading.js +82 -167
- package/lib/icon/narrow-line.js +82 -167
- package/lib/icon/original.js +82 -167
- package/lib/icon/pdf-fill.js +82 -167
- package/lib/icon/play-shape.js +82 -167
- package/lib/icon/plus.js +82 -167
- package/lib/icon/ppt-fill.js +82 -167
- package/lib/icon/qq.js +82 -167
- package/lib/icon/right-shape.js +82 -167
- package/lib/icon/right-turn-line.js +82 -167
- package/lib/icon/search.js +82 -167
- package/lib/icon/share.js +82 -167
- package/lib/icon/spinner.js +82 -167
- package/lib/icon/success.js +82 -167
- package/lib/icon/switcher-loading.js +82 -167
- package/lib/icon/text-all.d.ts +4 -0
- package/lib/icon/text-all.js +191 -0
- package/lib/icon/text-file.js +82 -167
- package/lib/icon/text-fill.js +82 -167
- package/lib/icon/transfer.js +82 -167
- package/lib/icon/tree-application-shape.js +82 -167
- package/lib/icon/unfull-screen.js +82 -167
- package/lib/icon/unvisible.js +82 -167
- package/lib/icon/up-shape.js +82 -167
- package/lib/icon/upload.js +82 -167
- package/lib/icon/video-fill.js +82 -167
- package/lib/icon/warn.js +82 -167
- package/lib/icon/weixin-pro.js +82 -167
- package/lib/icon/weixin.js +82 -167
- package/lib/image/image-viewer.variable.css +3 -0
- package/lib/image/image.variable.css +3 -0
- package/lib/image/index.js +5 -2
- package/lib/info-box/index.d.ts +2 -2
- package/lib/info-box/index.js +257 -516
- package/lib/info-box/info-box.css +58 -28
- package/lib/info-box/info-box.d.ts +18 -16
- package/lib/info-box/info-box.less +82 -51
- package/lib/info-box/info-box.variable.css +61 -28
- package/lib/info-box/render-component.d.ts +4 -0
- package/lib/input/index.js +7 -1
- package/lib/input/input.variable.css +3 -0
- package/lib/link/link.variable.css +3 -0
- package/lib/loading/loading.variable.css +3 -0
- package/lib/locale/index.js +4 -2
- package/lib/locale/lang/en.d.ts +1 -0
- package/lib/menu/menu.variable.css +3 -0
- package/lib/menu/submenu.variable.css +3 -0
- package/lib/message/message.variable.css +3 -0
- package/lib/modal/hooks.d.ts +6 -0
- package/lib/modal/index.d.ts +41 -309
- package/lib/modal/index.js +285 -671
- package/lib/modal/mask.d.ts +6 -0
- package/lib/modal/modal.css +155 -76
- package/lib/modal/modal.d.ts +18 -116
- package/lib/modal/modal.less +107 -55
- package/lib/modal/modal.variable.css +158 -76
- package/lib/modal/props.mixin.d.ts +5 -41
- package/lib/navigation/navigation.variable.css +3 -0
- package/lib/notify/notify.variable.css +3 -0
- package/lib/overflow-title/index.js +46 -52
- package/lib/pagination/index.js +2 -1
- package/lib/pagination/pagination.variable.css +3 -0
- package/lib/plugin-popover/index.d.ts +1 -1
- package/lib/plugin-popover/index.js +45 -26
- package/lib/pop-confirm/index.js +8 -5
- package/lib/pop-confirm/pop-confirm.variable.css +3 -0
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.js +45 -26
- package/lib/popover/plugin-popover.d.ts +4 -1
- package/lib/popover/popover.css +3 -1
- package/lib/popover/popover.less +4 -1
- package/lib/popover/popover.variable.css +6 -1
- package/lib/preset.d.ts +2 -0
- package/lib/process/process.variable.css +3 -0
- package/lib/progress/progress.variable.css +3 -0
- package/lib/radio/index.d.ts +29 -0
- package/lib/radio/index.js +39 -21
- package/lib/radio/radio-button.d.ts +10 -0
- package/lib/radio/radio-group.d.ts +10 -0
- package/lib/radio/radio.d.ts +10 -0
- package/lib/radio/radio.variable.css +3 -0
- package/lib/rate/rate.variable.css +3 -0
- package/lib/rate/star.variable.css +3 -0
- package/lib/resize-layout/index.js +1 -1
- package/lib/resize-layout/resize-layout.variable.css +3 -0
- package/lib/scrollbar/index.d.ts +15 -0
- package/lib/scrollbar/index.js +18763 -0
- package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +2 -0
- package/lib/scrollbar/scrollbar-core/helpers.d.ts +5 -0
- package/lib/scrollbar/scrollbar-core/index.d.ts +241 -0
- package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +5 -0
- package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +1 -0
- package/lib/scrollbar/scrollbar.css +75 -0
- package/lib/scrollbar/scrollbar.less +94 -0
- package/lib/scrollbar/scrollbar.variable.css +204 -0
- package/lib/search-select/index.d.ts +375 -16
- package/lib/search-select/index.js +701 -366
- package/lib/search-select/input.d.ts +14 -5
- package/lib/search-select/search-select.css +20 -6
- package/lib/search-select/search-select.d.ts +129 -7
- package/lib/search-select/search-select.less +16 -12
- package/lib/search-select/search-select.variable.css +23 -6
- package/lib/search-select/selected.d.ts +116 -6
- package/lib/search-select/utils.d.ts +19 -6
- package/lib/select/index.d.ts +124 -6
- package/lib/select/index.js +1336 -72
- package/lib/select/option.d.ts +3 -1
- package/lib/select/pinyin/core.d.ts +14 -0
- package/lib/select/pinyin/dict.d.ts +34 -0
- package/lib/select/pinyin/index.d.ts +2 -0
- package/lib/select/select.css +55 -12
- package/lib/select/select.d.ts +50 -2
- package/lib/select/select.less +69 -19
- package/lib/select/select.variable.css +58 -12
- package/lib/select/selectTagInput.d.ts +7 -0
- package/lib/select/type.d.ts +2 -3
- package/lib/shared/index.d.ts +0 -1
- package/lib/shared/index.js +70 -50
- package/lib/shared/utils.d.ts +12 -0
- package/lib/shared/vue-types.d.ts +5 -0
- package/lib/sideslider/index.d.ts +55 -185
- package/lib/sideslider/index.js +81 -55
- package/lib/sideslider/sideslider.css +26 -90
- package/lib/sideslider/sideslider.d.ts +25 -87
- package/lib/sideslider/sideslider.less +56 -132
- package/lib/sideslider/sideslider.variable.css +29 -90
- package/lib/slider/index.d.ts +19 -0
- package/lib/slider/index.js +45 -5
- package/lib/slider/slider.css +14 -0
- package/lib/slider/slider.d.ts +9 -0
- package/lib/slider/slider.less +15 -0
- package/lib/slider/slider.variable.css +17 -0
- package/lib/steps/steps.variable.css +3 -0
- package/lib/styles/mixins/animate.variable.css +3 -0
- package/lib/styles/mixins/popper.variable.css +3 -0
- package/lib/styles/mixins/scroll.variable.css +3 -0
- package/lib/styles/reset.css +1 -3
- package/lib/styles/reset.less +3 -6
- package/lib/styles/reset.variable.css +4 -3
- package/lib/styles/themes/themes.less +5 -0
- package/lib/swiper/swiper.variable.css +3 -0
- package/lib/switcher/switcher.variable.css +3 -0
- package/lib/tab/tab.variable.css +3 -0
- package/lib/table/cache.d.ts +11 -3
- package/lib/table/components/table-cell.d.ts +3 -2
- package/lib/table/components/table-column.d.ts +7 -17
- package/lib/table/const.d.ts +4 -4
- package/lib/table/index.d.ts +29 -64
- package/lib/table/index.js +18068 -613
- package/lib/table/plugins/head-filter.css +8 -4
- package/lib/table/plugins/head-filter.less +6 -3
- package/lib/table/plugins/head-filter.variable.css +11 -4
- package/lib/table/plugins/head-sort.variable.css +3 -0
- package/lib/table/plugins/settings.variable.css +3 -0
- package/lib/table/plugins/use-active-columns.d.ts +2 -2
- package/lib/table/plugins/use-column-template.d.ts +7 -0
- package/lib/table/plugins/use-draggable.d.ts +2 -2
- package/lib/table/plugins/use-fixed-column.d.ts +1 -1
- package/lib/table/plugins/use-observer-resize.d.ts +5 -0
- package/lib/table/plugins/use-pagination.d.ts +3 -1
- package/lib/table/plugins/use-shift-key.d.ts +11 -0
- package/lib/table/props.d.ts +17 -7
- package/lib/table/table.css +112 -58
- package/lib/table/table.d.ts +11 -0
- package/lib/table/table.less +46 -58
- package/lib/table/table.variable.css +115 -58
- package/lib/table/use-attributes.d.ts +6 -43
- package/lib/table/use-column.d.ts +9 -10
- package/lib/table/use-common.d.ts +1 -1
- package/lib/table/use-render.d.ts +1 -1
- package/lib/table/utils.d.ts +1 -1
- package/lib/table-column/index.d.ts +92 -266
- package/lib/table-column/index.js +24 -98
- package/lib/tag/tag.variable.css +3 -0
- package/lib/tag-input/index.d.ts +4 -4
- package/lib/tag-input/tag-input.d.ts +2 -2
- package/lib/tag-input/tag-input.variable.css +3 -0
- package/lib/tag-input/tag-props.d.ts +1 -1
- package/lib/tag-input/tag-render.d.ts +1 -1
- package/lib/time-picker/index.d.ts +38 -35
- package/lib/time-picker/time-picker.variable.css +3 -0
- package/lib/timeline/index.d.ts +80 -44
- package/lib/timeline/index.js +54 -65
- package/lib/timeline/timeline.d.ts +46 -29
- package/lib/timeline/timeline.variable.css +3 -0
- package/lib/transfer/transfer.variable.css +3 -0
- package/lib/tree/constant.d.ts +3 -1
- package/lib/tree/index.d.ts +44 -0
- package/lib/tree/index.js +17548 -25
- package/lib/tree/props.d.ts +18 -0
- package/lib/tree/tree.css +76 -2
- package/lib/tree/tree.d.ts +28 -2
- package/lib/tree/tree.variable.css +79 -2
- package/lib/tree/use-intersection-observer.d.ts +27 -0
- package/lib/tree/use-node-attribute.d.ts +9 -0
- package/lib/upload/index.d.ts +12 -0
- package/lib/upload/index.js +21 -30
- package/lib/upload/props.d.ts +3 -0
- package/lib/upload/upload-trigger.d.ts +6 -0
- package/lib/upload/upload.d.ts +6 -0
- package/lib/upload/upload.variable.css +3 -0
- package/lib/virtual-render/index.d.ts +36 -9
- package/lib/virtual-render/index.js +295 -80
- package/lib/virtual-render/props.d.ts +16 -0
- package/lib/virtual-render/use-fix-top.d.ts +2 -7
- package/lib/virtual-render/use-scrollbar.d.ts +24 -0
- package/lib/virtual-render/v-virtual-render.d.ts +2 -1
- package/lib/virtual-render/virtual-render.css +76 -2
- package/lib/virtual-render/virtual-render.d.ts +16 -3
- package/lib/virtual-render/virtual-render.less +3 -3
- package/lib/virtual-render/virtual-render.variable.css +79 -2
- package/package.json +1 -1
- package/lib/shared/mask.d.ts +0 -11
package/lib/icon/spinner.js
CHANGED
@@ -1,15 +1,82 @@
|
|
1
1
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
2
|
-
/******/
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
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__ = {};
|
7
25
|
|
8
26
|
// EXPORTS
|
9
27
|
__webpack_require__.d(__webpack_exports__, {
|
10
|
-
"default": () => (/* binding */
|
28
|
+
"default": () => (/* binding */ icons_spinner)
|
11
29
|
});
|
12
30
|
|
31
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
32
|
+
function _typeof(o) {
|
33
|
+
"@babel/helpers - typeof";
|
34
|
+
|
35
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
36
|
+
return typeof o;
|
37
|
+
} : function (o) {
|
38
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
39
|
+
}, _typeof(o);
|
40
|
+
}
|
41
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
42
|
+
|
43
|
+
function toPrimitive(t, r) {
|
44
|
+
if ("object" != _typeof(t) || !t) return t;
|
45
|
+
var e = t[Symbol.toPrimitive];
|
46
|
+
if (void 0 !== e) {
|
47
|
+
var i = e.call(t, r || "default");
|
48
|
+
if ("object" != _typeof(i)) return i;
|
49
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
50
|
+
}
|
51
|
+
return ("string" === r ? String : Number)(t);
|
52
|
+
}
|
53
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
54
|
+
|
55
|
+
|
56
|
+
function toPropertyKey(t) {
|
57
|
+
var i = toPrimitive(t, "string");
|
58
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
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 });
|
13
80
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
14
81
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
15
82
|
if (source == null) return {};
|
@@ -40,17 +107,13 @@ function _objectWithoutProperties(source, excluded) {
|
|
40
107
|
}
|
41
108
|
return target;
|
42
109
|
}
|
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
110
|
;// CONCATENATED MODULE: ../../packages/icon/icons/icon.tsx
|
48
111
|
|
49
112
|
|
50
113
|
var _excluded = ["data", "name", "width", "height", "fill"];
|
51
114
|
|
52
115
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
53
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (
|
116
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
54
117
|
/*
|
55
118
|
* Tencent is pleased to support the open source community by making
|
56
119
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -78,7 +141,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
78
141
|
*/
|
79
142
|
|
80
143
|
function generate(node, key, rootAttrs) {
|
81
|
-
return (0,
|
144
|
+
return (0,external_vue_namespaceObject.h)(node.name, _objectSpread(_objectSpread({
|
82
145
|
key: key
|
83
146
|
}, node.attributes), {}, {
|
84
147
|
style: "".concat(node.attributes.style, " ").concat(rootAttrs || '')
|
@@ -100,177 +163,29 @@ var bkIcon = function bkIcon(props, context) {
|
|
100
163
|
'align-items': 'center',
|
101
164
|
'justify-content': 'center'
|
102
165
|
};
|
103
|
-
return (0,
|
166
|
+
return (0,external_vue_namespaceObject.createVNode)("span", (0,external_vue_namespaceObject.mergeProps)({
|
104
167
|
"style": iconBoxStyle
|
105
168
|
}, restProps), [generate(data, name, rootAttrs)]);
|
106
169
|
};
|
107
170
|
bkIcon.inheritAttrs = false;
|
108
171
|
bkIcon.displayName = 'bkIcon';
|
109
172
|
/* 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 */ "default": () => (/* 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"])(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 */ "default": () => (/* binding */ toPrimitive)
|
152
|
-
/* harmony export */ });
|
153
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6522);
|
154
|
-
|
155
|
-
function toPrimitive(t, r) {
|
156
|
-
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
|
157
|
-
var e = t[Symbol.toPrimitive];
|
158
|
-
if (void 0 !== e) {
|
159
|
-
var i = e.call(t, r || "default");
|
160
|
-
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i)) return i;
|
161
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
162
|
-
}
|
163
|
-
return ("string" === r ? String : Number)(t);
|
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 */ "default": () => (/* 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(t) {
|
179
|
-
var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t, "string");
|
180
|
-
return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(i) ? i : String(i);
|
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 */ "default": () => (/* binding */ _typeof)
|
190
|
-
/* harmony export */ });
|
191
|
-
function _typeof(o) {
|
192
|
-
"@babel/helpers - typeof";
|
193
|
-
|
194
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
195
|
-
return typeof o;
|
196
|
-
} : function (o) {
|
197
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
198
|
-
}, _typeof(o);
|
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 */ "default": () => (__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);
|
173
|
+
;// CONCATENATED MODULE: ../../packages/icon/icons/spinner.tsx
|
257
174
|
|
258
175
|
|
259
|
-
function
|
260
|
-
function
|
176
|
+
function spinner_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
177
|
+
function spinner_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? spinner_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : spinner_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
261
178
|
|
262
179
|
var data = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","class":"lds-spin","preserveAspectRatio":"xMidYMid","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M874.3255040000001 512A55.125504 55.125504 0 0 1 819.2 567.125504 55.125504 55.125504 0 0 1 764.074496 512 55.125504 55.125504 0 0 1 874.3255040000001 512z"},"elements":[{"type":"element","name":"animateTransform","attributes":{"attributeName":"transform","begin":"-0.9166666666666666s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","type":"scale","values":"1.2 1.2;1 1"}},{"type":"element","name":"animate","attributes":{"attributeName":"fill-opacity","begin":"-0.9166666666666666s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","values":"1;0"}}]},{"type":"element","name":"path","attributes":{"fill-opacity":".917","d":"M826.5220089266763 693.5878203150381A55.978496 55.978496 0 0 1 750.0539613250309 714.0773719166838 55.978496 55.978496 0 0 1 729.5644097233852 637.6093243150382 55.978496 55.978496 0 0 1 826.5220089266763 693.5878203150381z"},"elements":[{"type":"element","name":"animateTransform","attributes":{"attributeName":"transform","begin":"-0.8333333333333334s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","type":"scale","values":"1.2 1.2;1 1"}},{"type":"element","name":"animate","attributes":{"attributeName":"fill-opacity","begin":"-0.8333333333333334s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","values":"1;0"}}]},{"type":"element","name":"path","attributes":{"fill-opacity":".833","d":"M694.0170969047495 827.2583983352753A56.83200000000001 56.83200000000001 0 0 1 616.3831411568723 806.4564425873981 56.83200000000001 56.83200000000001 0 0 1 637.1850969047495 728.8224868395207 56.83200000000001 56.83200000000001 0 0 1 694.0170969047495 827.2583983352753z"},"elements":[{"type":"element","name":"animateTransform","attributes":{"attributeName":"transform","begin":"-0.75s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","type":"scale","values":"1.2 1.2;1 1"}},{"type":"element","name":"animate","attributes":{"attributeName":"fill-opacity","begin":"-0.75s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","values":"1;0"}}]},{"type":"element","name":"path","attributes":{"fill-opacity":".75","d":"M512 876.8855040000001A57.685504 57.685504 0 0 1 454.314496 819.2 57.685504 57.685504 0 0 1 512 761.5144959999999 57.685504 57.685504 0 0 1 512 876.8855040000001z"},"elements":[{"type":"element","name":"animateTransform","attributes":{"attributeName":"transform","begin":"-0.6666666666666666s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","type":"scale","values":"1.2 1.2;1 1"}},{"type":"element","name":"animate","attributes":{"attributeName":"fill-opacity","begin":"-0.6666666666666666s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","values":"1;0"}}]},{"type":"element","name":"path","attributes":{"fill-opacity":".667","d":"M329.1269198807941 828.7408206328269A58.538495999999995 58.538495999999995 0 0 1 307.7003432454604 748.7757479974932 58.538495999999995 58.538495999999995 0 0 1 387.6654158807941 727.3491713621594 58.538495999999995 58.538495999999995 0 0 1 329.1269198807941 828.7408206328269z"},"elements":[{"type":"element","name":"animateTransform","attributes":{"attributeName":"transform","begin":"-0.5833333333333334s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","type":"scale","values":"1.2 1.2;1 1"}},{"type":"element","name":"animate","attributes":{"attributeName":"fill-opacity","begin":"-0.5833333333333334s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","values":"1;0"}}]},{"type":"element","name":"path","attributes":{"fill-opacity":".583","d":"M194.5170177632531 695.2980006130954A59.39199999999999 59.39199999999999 0 0 1 216.2559985448185 614.16701983153 59.39199999999999 59.39199999999999 0 0 1 297.3869793263839 635.9060006130953 59.39199999999999 59.39199999999999 0 0 1 194.5170177632531 695.2980006130954z"},"elements":[{"type":"element","name":"animateTransform","attributes":{"attributeName":"transform","begin":"-0.5s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","type":"scale","values":"1.2 1.2;1 1"}},{"type":"element","name":"animate","attributes":{"attributeName":"fill-opacity","begin":"-0.5s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","values":"1;0"}}]},{"type":"element","name":"path","attributes":{"fill-opacity":".5","d":"M144.55449600000003 512A60.245504000000004 60.245504000000004 0 0 1 204.80000000000004 451.754496 60.245504000000004 60.245504000000004 0 0 1 265.04550400000005 512 60.245504000000004 60.245504000000004 0 0 1 144.55449600000003 512z"},"elements":[{"type":"element","name":"animateTransform","attributes":{"attributeName":"transform","begin":"-0.4166666666666667s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","type":"scale","values":"1.2 1.2;1 1"}},{"type":"element","name":"animate","attributes":{"attributeName":"fill-opacity","begin":"-0.4166666666666667s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","values":"1;0"}}]},{"type":"element","name":"path","attributes":{"fill-opacity":".417","d":"M193.04947448121268 327.85151812453734A61.098496 61.098496 0 0 1 276.5115721502346 305.48791645551546 61.098496 61.098496 0 0 1 298.87517381925653 388.95001412453735 61.098496 61.098496 0 0 1 193.04947448121268 327.85151812453734z"},"elements":[{"type":"element","name":"animateTransform","attributes":{"attributeName":"transform","begin":"-0.3333333333333333s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","type":"scale","values":"1.2 1.2;1 1"}},{"type":"element","name":"animate","attributes":{"attributeName":"fill-opacity","begin":"-0.3333333333333333s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","values":"1;0"}}]},{"type":"element","name":"path","attributes":{"fill-opacity":".333","d":"M332.5476411431614 201.1754130120454A51.711999999999996 51.711999999999996 0 0 1 403.1875468236623 220.1033186925463 51.711999999999996 51.711999999999996 0 0 1 384.2596411431614 290.7432243730472 51.711999999999996 51.711999999999996 0 0 1 332.5476411431614 201.1754130120454z"},"elements":[{"type":"element","name":"animateTransform","attributes":{"attributeName":"transform","begin":"-0.25s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","type":"scale","values":"1.2 1.2;1 1"}},{"type":"element","name":"animate","attributes":{"attributeName":"fill-opacity","begin":"-0.25s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","values":"1;0"}}]},{"type":"element","name":"path","attributes":{"fill-opacity":".25","d":"M512 152.234496A52.565504000000004 52.565504000000004 0 0 1 564.565504 204.8 52.565504000000004 52.565504000000004 0 0 1 512 257.365504 52.565504000000004 52.565504000000004 0 0 1 512 152.234496z"},"elements":[{"type":"element","name":"animateTransform","attributes":{"attributeName":"transform","begin":"-0.16666666666666666s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","type":"scale","values":"1.2 1.2;1 1"}},{"type":"element","name":"animate","attributes":{"attributeName":"fill-opacity","begin":"-0.16666666666666666s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","values":"1;0"}}]},{"type":"element","name":"path","attributes":{"fill-opacity":".167","d":"M692.3075781671167 199.69299071449373A53.418496000000005 53.418496000000005 0 0 1 711.8601047350743 272.66401328245115 53.418496000000005 53.418496000000005 0 0 1 638.8890821671168 292.21653985040854 53.418496000000005 53.418496000000005 0 0 1 692.3075781671167 199.69299071449373z"},"elements":[{"type":"element","name":"animateTransform","attributes":{"attributeName":"transform","begin":"-0.08333333333333333s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","type":"scale","values":"1.2 1.2;1 1"}},{"type":"element","name":"animate","attributes":{"attributeName":"fill-opacity","begin":"-0.08333333333333333s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","values":"1;0"}}]},{"type":"element","name":"path","attributes":{"fill-opacity":".083","d":"M825.0362880000001 331.264A54.27213621356492 54.27213621356492 0 0 1 805.1712000000001 405.401088 54.27213621356492 54.27213621356492 0 0 1 731.034112 385.536 54.27213621356492 54.27213621356492 0 0 1 825.0362880000001 331.264z"},"elements":[{"type":"element","name":"animateTransform","attributes":{"attributeName":"transform","begin":"0s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","type":"scale","values":"1.2 1.2;1 1"}},{"type":"element","name":"animate","attributes":{"attributeName":"fill-opacity","begin":"0s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","values":"1;0"}}]}]}');
|
263
180
|
var spinner = function spinner(props, context) {
|
264
|
-
var p =
|
265
|
-
return (0,
|
181
|
+
var p = spinner_objectSpread(spinner_objectSpread({}, props), context.attrs);
|
182
|
+
return (0,external_vue_namespaceObject.createVNode)(icon, (0,external_vue_namespaceObject.mergeProps)(p, {
|
266
183
|
"data": data,
|
267
184
|
"name": "spinner"
|
268
185
|
}), null);
|
269
186
|
};
|
270
187
|
spinner.displayName = 'spinner';
|
271
188
|
spinner.inheritAttrs = false;
|
272
|
-
/* harmony default export */ const
|
273
|
-
})();
|
274
|
-
|
189
|
+
/* harmony default export */ const icons_spinner = (spinner);
|
275
190
|
var __webpack_exports__default = __webpack_exports__["default"];
|
276
191
|
export { __webpack_exports__default as default };
|
package/lib/icon/success.js
CHANGED
@@ -1,15 +1,82 @@
|
|
1
1
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
2
|
-
/******/
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
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__ = {};
|
7
25
|
|
8
26
|
// EXPORTS
|
9
27
|
__webpack_require__.d(__webpack_exports__, {
|
10
|
-
"default": () => (/* binding */
|
28
|
+
"default": () => (/* binding */ icons_success)
|
11
29
|
});
|
12
30
|
|
31
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
32
|
+
function _typeof(o) {
|
33
|
+
"@babel/helpers - typeof";
|
34
|
+
|
35
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
36
|
+
return typeof o;
|
37
|
+
} : function (o) {
|
38
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
39
|
+
}, _typeof(o);
|
40
|
+
}
|
41
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
42
|
+
|
43
|
+
function toPrimitive(t, r) {
|
44
|
+
if ("object" != _typeof(t) || !t) return t;
|
45
|
+
var e = t[Symbol.toPrimitive];
|
46
|
+
if (void 0 !== e) {
|
47
|
+
var i = e.call(t, r || "default");
|
48
|
+
if ("object" != _typeof(i)) return i;
|
49
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
50
|
+
}
|
51
|
+
return ("string" === r ? String : Number)(t);
|
52
|
+
}
|
53
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
54
|
+
|
55
|
+
|
56
|
+
function toPropertyKey(t) {
|
57
|
+
var i = toPrimitive(t, "string");
|
58
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
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 });
|
13
80
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
14
81
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
15
82
|
if (source == null) return {};
|
@@ -40,17 +107,13 @@ function _objectWithoutProperties(source, excluded) {
|
|
40
107
|
}
|
41
108
|
return target;
|
42
109
|
}
|
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
110
|
;// CONCATENATED MODULE: ../../packages/icon/icons/icon.tsx
|
48
111
|
|
49
112
|
|
50
113
|
var _excluded = ["data", "name", "width", "height", "fill"];
|
51
114
|
|
52
115
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
53
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (
|
116
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
54
117
|
/*
|
55
118
|
* Tencent is pleased to support the open source community by making
|
56
119
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -78,7 +141,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
78
141
|
*/
|
79
142
|
|
80
143
|
function generate(node, key, rootAttrs) {
|
81
|
-
return (0,
|
144
|
+
return (0,external_vue_namespaceObject.h)(node.name, _objectSpread(_objectSpread({
|
82
145
|
key: key
|
83
146
|
}, node.attributes), {}, {
|
84
147
|
style: "".concat(node.attributes.style, " ").concat(rootAttrs || '')
|
@@ -100,177 +163,29 @@ var bkIcon = function bkIcon(props, context) {
|
|
100
163
|
'align-items': 'center',
|
101
164
|
'justify-content': 'center'
|
102
165
|
};
|
103
|
-
return (0,
|
166
|
+
return (0,external_vue_namespaceObject.createVNode)("span", (0,external_vue_namespaceObject.mergeProps)({
|
104
167
|
"style": iconBoxStyle
|
105
168
|
}, restProps), [generate(data, name, rootAttrs)]);
|
106
169
|
};
|
107
170
|
bkIcon.inheritAttrs = false;
|
108
171
|
bkIcon.displayName = 'bkIcon';
|
109
172
|
/* 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 */ "default": () => (/* 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"])(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 */ "default": () => (/* binding */ toPrimitive)
|
152
|
-
/* harmony export */ });
|
153
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6522);
|
154
|
-
|
155
|
-
function toPrimitive(t, r) {
|
156
|
-
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
|
157
|
-
var e = t[Symbol.toPrimitive];
|
158
|
-
if (void 0 !== e) {
|
159
|
-
var i = e.call(t, r || "default");
|
160
|
-
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i)) return i;
|
161
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
162
|
-
}
|
163
|
-
return ("string" === r ? String : Number)(t);
|
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 */ "default": () => (/* 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(t) {
|
179
|
-
var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t, "string");
|
180
|
-
return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(i) ? i : String(i);
|
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 */ "default": () => (/* binding */ _typeof)
|
190
|
-
/* harmony export */ });
|
191
|
-
function _typeof(o) {
|
192
|
-
"@babel/helpers - typeof";
|
193
|
-
|
194
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
195
|
-
return typeof o;
|
196
|
-
} : function (o) {
|
197
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
198
|
-
}, _typeof(o);
|
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 */ "default": () => (__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);
|
173
|
+
;// CONCATENATED MODULE: ../../packages/icon/icons/success.tsx
|
257
174
|
|
258
175
|
|
259
|
-
function
|
260
|
-
function
|
176
|
+
function success_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
177
|
+
function success_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? success_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : success_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
261
178
|
|
262
179
|
var data = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","class":"bk-icon","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;","overflow":"hidden","viewBox":"0 0 1024 1024"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM485.7 670.3l-181-181L350 444l135.8 135.8L712 353.5l45.3 45.3L485.7 670.3z"}}]}');
|
263
180
|
var success = function success(props, context) {
|
264
|
-
var p =
|
265
|
-
return (0,
|
181
|
+
var p = success_objectSpread(success_objectSpread({}, props), context.attrs);
|
182
|
+
return (0,external_vue_namespaceObject.createVNode)(icon, (0,external_vue_namespaceObject.mergeProps)(p, {
|
266
183
|
"data": data,
|
267
184
|
"name": "success"
|
268
185
|
}), null);
|
269
186
|
};
|
270
187
|
success.displayName = 'success';
|
271
188
|
success.inheritAttrs = false;
|
272
|
-
/* harmony default export */ const
|
273
|
-
})();
|
274
|
-
|
189
|
+
/* harmony default export */ const icons_success = (success);
|
275
190
|
var __webpack_exports__default = __webpack_exports__["default"];
|
276
191
|
export { __webpack_exports__default as default };
|