bkui-vue 0.0.1-beta.393 → 0.0.1-beta.395

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 (175) hide show
  1. package/dist/index.cjs.js +36 -36
  2. package/dist/index.esm.js +93 -49
  3. package/dist/index.umd.js +36 -36
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/index.js +1 -353
  7. package/lib/alert/index.js +1 -251
  8. package/lib/animate-number/index.js +1 -226
  9. package/lib/backtop/index.js +1 -260
  10. package/lib/badge/badge.css +0 -2
  11. package/lib/badge/badge.less +2 -2
  12. package/lib/badge/badge.variable.css +0 -2
  13. package/lib/badge/index.js +1 -274
  14. package/lib/breadcrumb/index.js +1 -329
  15. package/lib/button/index.js +1 -371
  16. package/lib/card/index.js +1 -326
  17. package/lib/cascader/index.js +1 -2168
  18. package/lib/checkbox/index.js +1 -571
  19. package/lib/code-diff/index.js +1 -5520
  20. package/lib/collapse/collapse-panel.d.ts +11 -0
  21. package/lib/collapse/index.d.ts +20 -5
  22. package/lib/collapse/index.js +1 -698
  23. package/lib/collapse/props.d.ts +5 -0
  24. package/lib/color-picker/index.js +1 -2816
  25. package/lib/components.d.ts +2 -0
  26. package/lib/components.js +1 -759
  27. package/lib/container/index.js +1 -369
  28. package/lib/date-picker/index.js +1 -5601
  29. package/lib/dialog/index.js +1 -545
  30. package/lib/directives/index.js +2 -1427
  31. package/lib/directives/index.js.LICENSE.txt +14 -0
  32. package/lib/dist.index.js +1 -166
  33. package/lib/divider/index.js +1 -512
  34. package/lib/dropdown/index.js +1 -414
  35. package/lib/exception/exception.d.ts +13 -0
  36. package/lib/exception/index.d.ts +2 -0
  37. package/lib/exception/index.js +1 -405
  38. package/lib/fixed-navbar/index.js +1 -214
  39. package/lib/form/index.js +1 -986
  40. package/lib/icon/angle-double-down-line.js +1 -426
  41. package/lib/icon/angle-double-left-line.js +1 -426
  42. package/lib/icon/angle-double-left.js +1 -426
  43. package/lib/icon/angle-double-right-line.js +1 -426
  44. package/lib/icon/angle-double-right.js +1 -426
  45. package/lib/icon/angle-double-up-line.js +1 -426
  46. package/lib/icon/angle-down-fill.js +1 -426
  47. package/lib/icon/angle-down-line.js +1 -426
  48. package/lib/icon/angle-down.js +1 -426
  49. package/lib/icon/angle-left.js +1 -426
  50. package/lib/icon/angle-right.js +1 -426
  51. package/lib/icon/angle-up-fill.js +1 -426
  52. package/lib/icon/angle-up.js +1 -426
  53. package/lib/icon/archive-fill.js +1 -426
  54. package/lib/icon/arrows-left.js +1 -426
  55. package/lib/icon/arrows-right.js +1 -426
  56. package/lib/icon/audio-fill.js +1 -426
  57. package/lib/icon/bk.js +1 -426
  58. package/lib/icon/circle.js +1 -426
  59. package/lib/icon/close-line.js +1 -426
  60. package/lib/icon/close.js +1 -426
  61. package/lib/icon/code.js +1 -426
  62. package/lib/icon/cog-shape.js +1 -426
  63. package/lib/icon/collapse-left.js +1 -426
  64. package/lib/icon/copy.js +1 -426
  65. package/lib/icon/data-shape.js +1 -426
  66. package/lib/icon/del.js +1 -426
  67. package/lib/icon/doc-fill.js +1 -426
  68. package/lib/icon/done.js +1 -426
  69. package/lib/icon/down-shape.js +1 -426
  70. package/lib/icon/down-small.js +1 -426
  71. package/lib/icon/edit-line.js +1 -426
  72. package/lib/icon/ellipsis.js +1 -426
  73. package/lib/icon/enlarge-line.js +1 -426
  74. package/lib/icon/error.js +1 -426
  75. package/lib/icon/excel-fill.js +1 -426
  76. package/lib/icon/exclamation-circle-shape.js +1 -426
  77. package/lib/icon/eye.js +1 -426
  78. package/lib/icon/filliscreen-line.js +1 -426
  79. package/lib/icon/folder-open.js +1 -426
  80. package/lib/icon/folder-shape-open.js +1 -426
  81. package/lib/icon/folder-shape.js +1 -426
  82. package/lib/icon/folder.js +1 -426
  83. package/lib/icon/funnel.js +1 -426
  84. package/lib/icon/help-document-fill.js +1 -426
  85. package/lib/icon/help-fill.js +1 -426
  86. package/lib/icon/help.js +1 -426
  87. package/lib/icon/image-fill.js +1 -426
  88. package/lib/icon/img-placehoulder.js +1 -448
  89. package/lib/icon/index.js +1 -2275
  90. package/lib/icon/info-line.js +1 -448
  91. package/lib/icon/info.js +1 -448
  92. package/lib/icon/left-shape.js +1 -448
  93. package/lib/icon/left-turn-line.js +1 -448
  94. package/lib/icon/narrow-line.js +1 -448
  95. package/lib/icon/original.js +1 -448
  96. package/lib/icon/pdf-fill.js +1 -448
  97. package/lib/icon/play-shape.js +1 -448
  98. package/lib/icon/plus.js +1 -448
  99. package/lib/icon/ppt-fill.js +1 -448
  100. package/lib/icon/qq.js +1 -448
  101. package/lib/icon/right-shape.js +1 -448
  102. package/lib/icon/right-turn-line.js +1 -448
  103. package/lib/icon/search.js +1 -448
  104. package/lib/icon/share.js +1 -448
  105. package/lib/icon/spinner.js +1 -448
  106. package/lib/icon/success.js +1 -448
  107. package/lib/icon/switcher-loading.js +1 -448
  108. package/lib/icon/text-file.js +1 -448
  109. package/lib/icon/text-fill.js +1 -448
  110. package/lib/icon/transfer.js +1 -448
  111. package/lib/icon/tree-application-shape.js +1 -448
  112. package/lib/icon/unfull-screen.js +1 -448
  113. package/lib/icon/unvisible.js +1 -448
  114. package/lib/icon/up-shape.js +1 -448
  115. package/lib/icon/upload.js +1 -448
  116. package/lib/icon/video-fill.js +1 -448
  117. package/lib/icon/warn.js +1 -448
  118. package/lib/icon/weixin.js +1 -448
  119. package/lib/image/index.js +1 -873
  120. package/lib/index.js +1 -169
  121. package/lib/info-box/index.js +1 -1784
  122. package/lib/input/index.d.ts +4 -4
  123. package/lib/input/index.js +1 -846
  124. package/lib/input/input.d.ts +1 -1
  125. package/lib/link/index.js +1 -226
  126. package/lib/loading/index.js +1 -309
  127. package/lib/menu/index.js +1 -796
  128. package/lib/message/index.js +1 -401
  129. package/lib/modal/index.js +1 -395
  130. package/lib/navigation/index.js +1 -431
  131. package/lib/notify/index.js +1 -430
  132. package/lib/overflow-title/index.js +1 -512
  133. package/lib/pagination/index.js +1 -1026
  134. package/lib/plugin-popover/index.js +1 -2581
  135. package/lib/plugins/index.js +1 -130
  136. package/lib/popover/index.js +1 -2587
  137. package/lib/popover2/index.js +1 -172
  138. package/lib/preset.js +1 -129
  139. package/lib/process/index.js +1 -1417
  140. package/lib/progress/index.js +1 -479
  141. package/lib/radio/index.js +1 -649
  142. package/lib/rate/index.js +1 -358
  143. package/lib/resize-layout/index.js +1 -495
  144. package/lib/search-select/index.js +1 -3388
  145. package/lib/search-select/search-select.css +1 -1
  146. package/lib/search-select/search-select.less +1 -1
  147. package/lib/search-select/search-select.variable.css +1 -1
  148. package/lib/select/index.d.ts +9 -9
  149. package/lib/select/index.js +1 -2819
  150. package/lib/select/select.css +0 -1
  151. package/lib/select/select.d.ts +3 -3
  152. package/lib/select/select.less +0 -1
  153. package/lib/select/select.variable.css +0 -1
  154. package/lib/select/selectTagInput.d.ts +1 -1
  155. package/lib/shared/index.js +1 -2813
  156. package/lib/shared/vue-types.d.ts +1 -1
  157. package/lib/sideslider/index.js +1 -1362
  158. package/lib/slider/index.js +1 -2060
  159. package/lib/steps/index.js +1 -1504
  160. package/lib/swiper/index.js +1 -374
  161. package/lib/switcher/index.js +1 -308
  162. package/lib/tab/index.d.ts +10 -6
  163. package/lib/tab/index.js +1 -919
  164. package/lib/tab/props.d.ts +6 -0
  165. package/lib/table/index.js +1 -6635
  166. package/lib/table-column/index.js +1 -737
  167. package/lib/tag/index.js +1 -278
  168. package/lib/tag-input/index.js +1 -1897
  169. package/lib/time-picker/index.js +1 -142
  170. package/lib/timeline/index.js +1 -315
  171. package/lib/transfer/index.js +1 -658
  172. package/lib/tree/index.js +1 -2917
  173. package/lib/upload/index.js +1 -3735
  174. package/lib/virtual-render/index.js +1 -825
  175. package/package.json +2 -1
@@ -1,448 +1 @@
1
- (function webpackUniversalModuleDefinition(root, factory) {
2
- if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory(require("vue"));
4
- else if(typeof define === 'function' && define.amd)
5
- define(["vue"], factory);
6
- else {
7
- var a = typeof exports === 'object' ? factory(require("vue")) : factory(root["vue"]);
8
- for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
- }
10
- })(self, (__WEBPACK_EXTERNAL_MODULE__748__) => {
11
- return /******/ (() => { // webpackBootstrap
12
- /******/ "use strict";
13
- /******/ var __webpack_modules__ = ({
14
-
15
- /***/ 9430:
16
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
17
-
18
-
19
- // EXPORTS
20
- __webpack_require__.d(__webpack_exports__, {
21
- "Z": () => (/* binding */ icon)
22
- });
23
-
24
- // EXTERNAL MODULE: external "vue"
25
- var external_vue_ = __webpack_require__(748);
26
- ;// CONCATENATED MODULE: ../../node_modules/tslib/tslib.es6.js
27
- /******************************************************************************
28
- Copyright (c) Microsoft Corporation.
29
-
30
- Permission to use, copy, modify, and/or distribute this software for any
31
- purpose with or without fee is hereby granted.
32
-
33
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
34
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
35
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
36
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
37
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
38
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
39
- PERFORMANCE OF THIS SOFTWARE.
40
- ***************************************************************************** */
41
- /* global Reflect, Promise */
42
-
43
- var extendStatics = function(d, b) {
44
- extendStatics = Object.setPrototypeOf ||
45
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
46
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
47
- return extendStatics(d, b);
48
- };
49
-
50
- function __extends(d, b) {
51
- if (typeof b !== "function" && b !== null)
52
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
53
- extendStatics(d, b);
54
- function __() { this.constructor = d; }
55
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
56
- }
57
-
58
- var __assign = function() {
59
- __assign = Object.assign || function __assign(t) {
60
- for (var s, i = 1, n = arguments.length; i < n; i++) {
61
- s = arguments[i];
62
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
63
- }
64
- return t;
65
- }
66
- return __assign.apply(this, arguments);
67
- }
68
-
69
- function __rest(s, e) {
70
- var t = {};
71
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
72
- t[p] = s[p];
73
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
74
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
75
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
76
- t[p[i]] = s[p[i]];
77
- }
78
- return t;
79
- }
80
-
81
- function __decorate(decorators, target, key, desc) {
82
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
83
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
84
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
85
- return c > 3 && r && Object.defineProperty(target, key, r), r;
86
- }
87
-
88
- function __param(paramIndex, decorator) {
89
- return function (target, key) { decorator(target, key, paramIndex); }
90
- }
91
-
92
- function __metadata(metadataKey, metadataValue) {
93
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
94
- }
95
-
96
- function __awaiter(thisArg, _arguments, P, generator) {
97
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
98
- return new (P || (P = Promise))(function (resolve, reject) {
99
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
100
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
101
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
102
- step((generator = generator.apply(thisArg, _arguments || [])).next());
103
- });
104
- }
105
-
106
- function __generator(thisArg, body) {
107
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
108
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
109
- function verb(n) { return function (v) { return step([n, v]); }; }
110
- function step(op) {
111
- if (f) throw new TypeError("Generator is already executing.");
112
- while (_) try {
113
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
114
- if (y = 0, t) op = [op[0] & 2, t.value];
115
- switch (op[0]) {
116
- case 0: case 1: t = op; break;
117
- case 4: _.label++; return { value: op[1], done: false };
118
- case 5: _.label++; y = op[1]; op = [0]; continue;
119
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
120
- default:
121
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
122
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
123
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
124
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
125
- if (t[2]) _.ops.pop();
126
- _.trys.pop(); continue;
127
- }
128
- op = body.call(thisArg, _);
129
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
130
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
131
- }
132
- }
133
-
134
- var __createBinding = Object.create ? (function(o, m, k, k2) {
135
- if (k2 === undefined) k2 = k;
136
- var desc = Object.getOwnPropertyDescriptor(m, k);
137
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
138
- desc = { enumerable: true, get: function() { return m[k]; } };
139
- }
140
- Object.defineProperty(o, k2, desc);
141
- }) : (function(o, m, k, k2) {
142
- if (k2 === undefined) k2 = k;
143
- o[k2] = m[k];
144
- });
145
-
146
- function __exportStar(m, o) {
147
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
148
- }
149
-
150
- function __values(o) {
151
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
152
- if (m) return m.call(o);
153
- if (o && typeof o.length === "number") return {
154
- next: function () {
155
- if (o && i >= o.length) o = void 0;
156
- return { value: o && o[i++], done: !o };
157
- }
158
- };
159
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
160
- }
161
-
162
- function __read(o, n) {
163
- var m = typeof Symbol === "function" && o[Symbol.iterator];
164
- if (!m) return o;
165
- var i = m.call(o), r, ar = [], e;
166
- try {
167
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
168
- }
169
- catch (error) { e = { error: error }; }
170
- finally {
171
- try {
172
- if (r && !r.done && (m = i["return"])) m.call(i);
173
- }
174
- finally { if (e) throw e.error; }
175
- }
176
- return ar;
177
- }
178
-
179
- /** @deprecated */
180
- function __spread() {
181
- for (var ar = [], i = 0; i < arguments.length; i++)
182
- ar = ar.concat(__read(arguments[i]));
183
- return ar;
184
- }
185
-
186
- /** @deprecated */
187
- function __spreadArrays() {
188
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
189
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
190
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
191
- r[k] = a[j];
192
- return r;
193
- }
194
-
195
- function __spreadArray(to, from, pack) {
196
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
197
- if (ar || !(i in from)) {
198
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
199
- ar[i] = from[i];
200
- }
201
- }
202
- return to.concat(ar || Array.prototype.slice.call(from));
203
- }
204
-
205
- function __await(v) {
206
- return this instanceof __await ? (this.v = v, this) : new __await(v);
207
- }
208
-
209
- function __asyncGenerator(thisArg, _arguments, generator) {
210
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
211
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
212
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
213
- function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
214
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
215
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
216
- function fulfill(value) { resume("next", value); }
217
- function reject(value) { resume("throw", value); }
218
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
219
- }
220
-
221
- function __asyncDelegator(o) {
222
- var i, p;
223
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
224
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
225
- }
226
-
227
- function __asyncValues(o) {
228
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
229
- var m = o[Symbol.asyncIterator], i;
230
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
231
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
232
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
233
- }
234
-
235
- function __makeTemplateObject(cooked, raw) {
236
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
237
- return cooked;
238
- };
239
-
240
- var __setModuleDefault = Object.create ? (function(o, v) {
241
- Object.defineProperty(o, "default", { enumerable: true, value: v });
242
- }) : function(o, v) {
243
- o["default"] = v;
244
- };
245
-
246
- function __importStar(mod) {
247
- if (mod && mod.__esModule) return mod;
248
- var result = {};
249
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
250
- __setModuleDefault(result, mod);
251
- return result;
252
- }
253
-
254
- function __importDefault(mod) {
255
- return (mod && mod.__esModule) ? mod : { default: mod };
256
- }
257
-
258
- function __classPrivateFieldGet(receiver, state, kind, f) {
259
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
260
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
261
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
262
- }
263
-
264
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
265
- if (kind === "m") throw new TypeError("Private method is not writable");
266
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
267
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
268
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
269
- }
270
-
271
- function __classPrivateFieldIn(state, receiver) {
272
- if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
273
- return typeof state === "function" ? receiver === state : state.has(receiver);
274
- }
275
-
276
- ;// CONCATENATED MODULE: ../../packages/icon/icons/icon.tsx
277
-
278
-
279
- /*
280
- * Tencent is pleased to support the open source community by making
281
- * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
282
- *
283
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
284
- *
285
- * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
286
- *
287
- * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
288
- *
289
- * ---------------------------------------------------
290
- * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
291
- * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
292
- * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
293
- * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
294
- *
295
- * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
296
- * the Software.
297
- *
298
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
299
- * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
300
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
301
- * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
302
- * IN THE SOFTWARE.
303
- */
304
-
305
-
306
-
307
- function generate(node, key, rootAttrs) {
308
- return (0,external_vue_.h)(node.name, Object.assign(Object.assign({
309
- key: key
310
- }, node.attributes), {
311
- style: "".concat(node.attributes.style, " ").concat(rootAttrs || '')
312
- }), (node.elements || []).map(function (element, index) {
313
- return generate(element, "".concat(key, "-").concat(node.name, "-").concat(index));
314
- }));
315
- }
316
-
317
- var bkIcon = function bkIcon(props, context) {
318
- var _a = Object.assign(Object.assign({}, context.attrs), props),
319
- data = _a.data,
320
- name = _a.name,
321
- width = _a.width,
322
- height = _a.height,
323
- fill = _a.fill,
324
- restProps = __rest(_a, ["data", "name", "width", "height", "fill"]);
325
-
326
- var rootAttrs = "width: ".concat(width, "; height: ").concat(height, "; fill: ").concat(fill);
327
- var iconBoxStyle = {
328
- display: 'inline-flex',
329
- 'align-items': 'center',
330
- 'justify-content': 'center'
331
- };
332
- return (0,external_vue_.createVNode)("span", (0,external_vue_.mergeProps)({
333
- "style": iconBoxStyle
334
- }, restProps), [generate(data, name, rootAttrs)]);
335
- };
336
-
337
- bkIcon.inheritAttrs = false;
338
- bkIcon.displayName = 'bkIcon';
339
- /* harmony default export */ const icon = (bkIcon);
340
-
341
- /***/ }),
342
-
343
- /***/ 748:
344
- /***/ ((module) => {
345
-
346
- module.exports = __WEBPACK_EXTERNAL_MODULE__748__;
347
-
348
- /***/ })
349
-
350
- /******/ });
351
- /************************************************************************/
352
- /******/ // The module cache
353
- /******/ var __webpack_module_cache__ = {};
354
- /******/
355
- /******/ // The require function
356
- /******/ function __webpack_require__(moduleId) {
357
- /******/ // Check if module is in cache
358
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
359
- /******/ if (cachedModule !== undefined) {
360
- /******/ return cachedModule.exports;
361
- /******/ }
362
- /******/ // Create a new module (and put it into the cache)
363
- /******/ var module = __webpack_module_cache__[moduleId] = {
364
- /******/ // no module.id needed
365
- /******/ // no module.loaded needed
366
- /******/ exports: {}
367
- /******/ };
368
- /******/
369
- /******/ // Execute the module function
370
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
371
- /******/
372
- /******/ // Return the exports of the module
373
- /******/ return module.exports;
374
- /******/ }
375
- /******/
376
- /************************************************************************/
377
- /******/ /* webpack/runtime/compat get default export */
378
- /******/ (() => {
379
- /******/ // getDefaultExport function for compatibility with non-harmony modules
380
- /******/ __webpack_require__.n = (module) => {
381
- /******/ var getter = module && module.__esModule ?
382
- /******/ () => (module['default']) :
383
- /******/ () => (module);
384
- /******/ __webpack_require__.d(getter, { a: getter });
385
- /******/ return getter;
386
- /******/ };
387
- /******/ })();
388
- /******/
389
- /******/ /* webpack/runtime/define property getters */
390
- /******/ (() => {
391
- /******/ // define getter functions for harmony exports
392
- /******/ __webpack_require__.d = (exports, definition) => {
393
- /******/ for(var key in definition) {
394
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
395
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
396
- /******/ }
397
- /******/ }
398
- /******/ };
399
- /******/ })();
400
- /******/
401
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
402
- /******/ (() => {
403
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
404
- /******/ })();
405
- /******/
406
- /******/ /* webpack/runtime/make namespace object */
407
- /******/ (() => {
408
- /******/ // define __esModule on exports
409
- /******/ __webpack_require__.r = (exports) => {
410
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
411
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
412
- /******/ }
413
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
414
- /******/ };
415
- /******/ })();
416
- /******/
417
- /************************************************************************/
418
- var __webpack_exports__ = {};
419
- // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
420
- (() => {
421
- __webpack_require__.r(__webpack_exports__);
422
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
423
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
424
- /* harmony export */ });
425
- /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(748);
426
- /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);
427
- /* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9430);
428
-
429
-
430
- 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":"M896 671.3599999999999c0-2.5599999999999996-0.6399999999999999-4.4799999999999995-1.2799999999999998-7.04-0.6399999999999999-1.92-0.6399999999999999-3.84-1.2799999999999998-5.119999999999999s-1.2799999999999998-2.5599999999999996-1.92-3.1999999999999997c-1.2799999999999998-2.5599999999999996-2.5599999999999996-4.4799999999999995-4.4799999999999995-6.3999999999999995 0 0 0 0 0-0.6399999999999999l-356.48-384c-10.239999999999998-11.52-26.88-11.52-37.12 0l-356.48 384c0 0 0 0.6399999999999999 0 0.6399999999999999-1.92 1.92-2.5599999999999996 3.84-3.84 6.3999999999999995-0.6399999999999999 1.2799999999999998-1.92 2.5599999999999996-2.5599999999999996 3.84s-0.6399999999999999 3.1999999999999997-1.2799999999999998 5.119999999999999c-0.6399999999999999 1.2799999999999998-1.2799999999999998 3.84-1.2799999999999998 6.3999999999999995 0 0 0 0.6399999999999999 0 0.6399999999999999 0 1.92 0.6399999999999999 3.1999999999999997 0.6399999999999999 4.4799999999999995 0 2.5599999999999996 0.6399999999999999 4.4799999999999995 1.2799999999999998 7.04s1.92 4.4799999999999995 3.1999999999999997 6.3999999999999995c0.6399999999999999 1.2799999999999998 1.2799999999999998 2.5599999999999996 1.92 3.84 0 0 0 0 0.6399999999999999 0.6399999999999999 1.2799999999999998 1.92 3.1999999999999997 3.1999999999999997 5.119999999999999 4.4799999999999995 1.2799999999999998 0.6399999999999999 2.5599999999999996 1.92 3.84 2.5599999999999996s2.5599999999999996 0.6399999999999999 3.84 1.2799999999999998c1.92 0 3.84 1.2799999999999998 6.3999999999999995 1.2799999999999998 0 0 0.6399999999999999 0 0.6399999999999999 0h712.96c3.84 0 7.68-0.6399999999999999 10.879999999999999-2.5599999999999996 0.6399999999999999 0 0.6399999999999999-0.6399999999999999 1.2799999999999998-0.6399999999999999 3.1999999999999997-1.92 5.76-3.84 8.32-6.3999999999999995 0 0 0 0 0.6399999999999999 0 0.6399999999999999-1.2799999999999998 1.2799999999999998-2.5599999999999996 1.92-3.84 1.2799999999999998-1.92 2.5599999999999996-3.84 3.1999999999999997-6.3999999999999995 0.6399999999999999-1.92 0.6399999999999999-4.4799999999999995 1.2799999999999998-7.04 0-1.92 0.6399999999999999-3.1999999999999997 0.6399999999999999-4.4799999999999995-0.6399999999999999-0.6399999999999999-0.6399999999999999-1.2799999999999998-0.6399999999999999-1.2799999999999998z"}}]}');
431
-
432
- var upShape = function upShape(props, context) {
433
- var p = Object.assign(Object.assign({}, props), context.attrs);
434
- return (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(_icon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,vue__WEBPACK_IMPORTED_MODULE_0__.mergeProps)(p, {
435
- "data": data,
436
- "name": "upShape"
437
- }), null);
438
- };
439
-
440
- upShape.displayName = 'upShape';
441
- upShape.inheritAttrs = false;
442
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (upShape);
443
- })();
444
-
445
- /******/ return __webpack_exports__;
446
- /******/ })()
447
- ;
448
- });
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("vue"));else if("function"==typeof define&&define.amd)define(["vue"],t);else{var r="object"==typeof exports?t(require("vue")):t(e.vue);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(self,(e=>(()=>{"use strict";var t={9430:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(748);function o(e,t,r){return(0,n.h)(e.name,Object.assign(Object.assign({key:t},e.attributes),{style:"".concat(e.attributes.style," ").concat(r||"")}),(e.elements||[]).map((function(r,n){return o(r,"".concat(t,"-").concat(e.name,"-").concat(n))})))}Object.create,Object.create;var a=function(e,t){var r=Object.assign(Object.assign({},t.attrs),e),a=r.data,i=r.name,c=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 o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(r,["data","name","width","height","fill"]),u="width: ".concat(c,"; 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),[o(a,i,u)])};a.inheritAttrs=!1,a.displayName="bkIcon";const i=a},748:t=>{t.exports=e}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var a=r[e]={exports:{}};return t[e](a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{n.r(o),n.d(o,{default:()=>i});var e=n(748),t=n(9430),r=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":"M896 671.3599999999999c0-2.5599999999999996-0.6399999999999999-4.4799999999999995-1.2799999999999998-7.04-0.6399999999999999-1.92-0.6399999999999999-3.84-1.2799999999999998-5.119999999999999s-1.2799999999999998-2.5599999999999996-1.92-3.1999999999999997c-1.2799999999999998-2.5599999999999996-2.5599999999999996-4.4799999999999995-4.4799999999999995-6.3999999999999995 0 0 0 0 0-0.6399999999999999l-356.48-384c-10.239999999999998-11.52-26.88-11.52-37.12 0l-356.48 384c0 0 0 0.6399999999999999 0 0.6399999999999999-1.92 1.92-2.5599999999999996 3.84-3.84 6.3999999999999995-0.6399999999999999 1.2799999999999998-1.92 2.5599999999999996-2.5599999999999996 3.84s-0.6399999999999999 3.1999999999999997-1.2799999999999998 5.119999999999999c-0.6399999999999999 1.2799999999999998-1.2799999999999998 3.84-1.2799999999999998 6.3999999999999995 0 0 0 0.6399999999999999 0 0.6399999999999999 0 1.92 0.6399999999999999 3.1999999999999997 0.6399999999999999 4.4799999999999995 0 2.5599999999999996 0.6399999999999999 4.4799999999999995 1.2799999999999998 7.04s1.92 4.4799999999999995 3.1999999999999997 6.3999999999999995c0.6399999999999999 1.2799999999999998 1.2799999999999998 2.5599999999999996 1.92 3.84 0 0 0 0 0.6399999999999999 0.6399999999999999 1.2799999999999998 1.92 3.1999999999999997 3.1999999999999997 5.119999999999999 4.4799999999999995 1.2799999999999998 0.6399999999999999 2.5599999999999996 1.92 3.84 2.5599999999999996s2.5599999999999996 0.6399999999999999 3.84 1.2799999999999998c1.92 0 3.84 1.2799999999999998 6.3999999999999995 1.2799999999999998 0 0 0.6399999999999999 0 0.6399999999999999 0h712.96c3.84 0 7.68-0.6399999999999999 10.879999999999999-2.5599999999999996 0.6399999999999999 0 0.6399999999999999-0.6399999999999999 1.2799999999999998-0.6399999999999999 3.1999999999999997-1.92 5.76-3.84 8.32-6.3999999999999995 0 0 0 0 0.6399999999999999 0 0.6399999999999999-1.2799999999999998 1.2799999999999998-2.5599999999999996 1.92-3.84 1.2799999999999998-1.92 2.5599999999999996-3.84 3.1999999999999997-6.3999999999999995 0.6399999999999999-1.92 0.6399999999999999-4.4799999999999995 1.2799999999999998-7.04 0-1.92 0.6399999999999999-3.1999999999999997 0.6399999999999999-4.4799999999999995-0.6399999999999999-0.6399999999999999-0.6399999999999999-1.2799999999999998-0.6399999999999999-1.2799999999999998z"}}]}'),a=function(n,o){var a=Object.assign(Object.assign({},n),o.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(a,{data:r,name:"upShape"}),null)};a.displayName="upShape",a.inheritAttrs=!1;const i=a})(),o})()));