bkui-vue 0.0.3-beta.1 → 0.0.3-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 +43 -43
- package/dist/index.esm.js +7047 -6942
- package/dist/index.umd.js +43 -43
- 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/config-provider/config-provider.d.ts +3 -0
- package/lib/config-provider/index.d.ts +4 -0
- package/lib/config-provider/token.d.ts +1 -0
- package/lib/icon/grag-fill.d.ts +4 -0
- package/lib/icon/grag-fill.js +191 -0
- package/lib/icon/index.d.ts +1 -0
- package/lib/icon/index.js +21 -1
- package/lib/locale/index.js +2 -0
- package/lib/locale/lang/en.d.ts +1 -0
- package/lib/preset.d.ts +2 -0
- package/lib/table/events.d.ts +10 -1
- package/lib/table/index.d.ts +39 -0
- package/lib/table/index.js +168 -23
- package/lib/table/plugins/use-draggable.d.ts +17 -0
- package/lib/table/props.d.ts +13 -0
- package/lib/table/table.css +24 -0
- package/lib/table/table.d.ts +15 -0
- package/lib/table/table.less +24 -0
- package/lib/table/table.variable.css +24 -0
- package/lib/table/use-attributes.d.ts +1 -0
- package/lib/table-column/index.js +5 -1
- package/package.json +1 -1
@@ -79,6 +79,7 @@ export declare const configProviderProps: {
|
|
79
79
|
emptyText: string;
|
80
80
|
confirm: string;
|
81
81
|
reset: string;
|
82
|
+
sort: string;
|
82
83
|
setting: {
|
83
84
|
title: string;
|
84
85
|
fields: {
|
@@ -219,6 +220,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
219
220
|
emptyText: string;
|
220
221
|
confirm: string;
|
221
222
|
reset: string;
|
223
|
+
sort: string;
|
222
224
|
setting: {
|
223
225
|
title: string;
|
224
226
|
fields: {
|
@@ -359,6 +361,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
359
361
|
emptyText: string;
|
360
362
|
confirm: string;
|
361
363
|
reset: string;
|
364
|
+
sort: string;
|
362
365
|
setting: {
|
363
366
|
title: string;
|
364
367
|
fields: {
|
@@ -107,6 +107,7 @@ declare const BkConfigProvider: {
|
|
107
107
|
emptyText: string;
|
108
108
|
confirm: string;
|
109
109
|
reset: string;
|
110
|
+
sort: string;
|
110
111
|
setting: {
|
111
112
|
title: string;
|
112
113
|
fields: {
|
@@ -298,6 +299,7 @@ declare const BkConfigProvider: {
|
|
298
299
|
emptyText: string;
|
299
300
|
confirm: string;
|
300
301
|
reset: string;
|
302
|
+
sort: string;
|
301
303
|
setting: {
|
302
304
|
title: string;
|
303
305
|
fields: {
|
@@ -460,6 +462,7 @@ declare const BkConfigProvider: {
|
|
460
462
|
emptyText: string;
|
461
463
|
confirm: string;
|
462
464
|
reset: string;
|
465
|
+
sort: string;
|
463
466
|
setting: {
|
464
467
|
title: string;
|
465
468
|
fields: {
|
@@ -604,6 +607,7 @@ declare const BkConfigProvider: {
|
|
604
607
|
emptyText: string;
|
605
608
|
confirm: string;
|
606
609
|
reset: string;
|
610
|
+
sort: string;
|
607
611
|
setting: {
|
608
612
|
title: string;
|
609
613
|
fields: {
|
@@ -0,0 +1,191 @@
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
2
|
+
/******/ // The require scope
|
3
|
+
/******/ var __webpack_require__ = {};
|
4
|
+
/******/
|
5
|
+
/************************************************************************/
|
6
|
+
/******/ /* webpack/runtime/define property getters */
|
7
|
+
/******/ (() => {
|
8
|
+
/******/ // define getter functions for harmony exports
|
9
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
10
|
+
/******/ for(var key in definition) {
|
11
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
12
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
13
|
+
/******/ }
|
14
|
+
/******/ }
|
15
|
+
/******/ };
|
16
|
+
/******/ })();
|
17
|
+
/******/
|
18
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
19
|
+
/******/ (() => {
|
20
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
21
|
+
/******/ })();
|
22
|
+
/******/
|
23
|
+
/************************************************************************/
|
24
|
+
var __webpack_exports__ = {};
|
25
|
+
|
26
|
+
// EXPORTS
|
27
|
+
__webpack_require__.d(__webpack_exports__, {
|
28
|
+
Z: () => (/* binding */ grag_fill)
|
29
|
+
});
|
30
|
+
|
31
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
32
|
+
function _typeof(obj) {
|
33
|
+
"@babel/helpers - typeof";
|
34
|
+
|
35
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
36
|
+
return typeof obj;
|
37
|
+
} : function (obj) {
|
38
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
39
|
+
}, _typeof(obj);
|
40
|
+
}
|
41
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
42
|
+
|
43
|
+
function _toPrimitive(input, hint) {
|
44
|
+
if (_typeof(input) !== "object" || input === null) return input;
|
45
|
+
var prim = input[Symbol.toPrimitive];
|
46
|
+
if (prim !== undefined) {
|
47
|
+
var res = prim.call(input, hint || "default");
|
48
|
+
if (_typeof(res) !== "object") return res;
|
49
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
50
|
+
}
|
51
|
+
return (hint === "string" ? String : Number)(input);
|
52
|
+
}
|
53
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
54
|
+
|
55
|
+
|
56
|
+
function _toPropertyKey(arg) {
|
57
|
+
var key = _toPrimitive(arg, "string");
|
58
|
+
return _typeof(key) === "symbol" ? key : String(key);
|
59
|
+
}
|
60
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
61
|
+
|
62
|
+
function _defineProperty(obj, key, value) {
|
63
|
+
key = _toPropertyKey(key);
|
64
|
+
if (key in obj) {
|
65
|
+
Object.defineProperty(obj, key, {
|
66
|
+
value: value,
|
67
|
+
enumerable: true,
|
68
|
+
configurable: true,
|
69
|
+
writable: true
|
70
|
+
});
|
71
|
+
} else {
|
72
|
+
obj[key] = value;
|
73
|
+
}
|
74
|
+
return obj;
|
75
|
+
}
|
76
|
+
;// CONCATENATED MODULE: external "vue"
|
77
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
78
|
+
var y = x => () => x
|
79
|
+
const external_vue_namespaceObject = x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps });
|
80
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
81
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
82
|
+
if (source == null) return {};
|
83
|
+
var target = {};
|
84
|
+
var sourceKeys = Object.keys(source);
|
85
|
+
var key, i;
|
86
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
87
|
+
key = sourceKeys[i];
|
88
|
+
if (excluded.indexOf(key) >= 0) continue;
|
89
|
+
target[key] = source[key];
|
90
|
+
}
|
91
|
+
return target;
|
92
|
+
}
|
93
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
94
|
+
|
95
|
+
function _objectWithoutProperties(source, excluded) {
|
96
|
+
if (source == null) return {};
|
97
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
98
|
+
var key, i;
|
99
|
+
if (Object.getOwnPropertySymbols) {
|
100
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
101
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
102
|
+
key = sourceSymbolKeys[i];
|
103
|
+
if (excluded.indexOf(key) >= 0) continue;
|
104
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
105
|
+
target[key] = source[key];
|
106
|
+
}
|
107
|
+
}
|
108
|
+
return target;
|
109
|
+
}
|
110
|
+
;// CONCATENATED MODULE: ../../packages/icon/icons/icon.tsx
|
111
|
+
|
112
|
+
|
113
|
+
var _excluded = ["data", "name", "width", "height", "fill"];
|
114
|
+
|
115
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
116
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
117
|
+
/*
|
118
|
+
* Tencent is pleased to support the open source community by making
|
119
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
120
|
+
*
|
121
|
+
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
|
122
|
+
*
|
123
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
124
|
+
*
|
125
|
+
* License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
|
126
|
+
*
|
127
|
+
* ---------------------------------------------------
|
128
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
129
|
+
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
|
130
|
+
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
|
131
|
+
* to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
132
|
+
*
|
133
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
|
134
|
+
* the Software.
|
135
|
+
*
|
136
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
137
|
+
* THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
138
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
139
|
+
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
140
|
+
* IN THE SOFTWARE.
|
141
|
+
*/
|
142
|
+
|
143
|
+
function generate(node, key, rootAttrs) {
|
144
|
+
return (0,external_vue_namespaceObject.h)(node.name, _objectSpread(_objectSpread({
|
145
|
+
key: key
|
146
|
+
}, node.attributes), {}, {
|
147
|
+
style: "".concat(node.attributes.style, " ").concat(rootAttrs || '')
|
148
|
+
}), (node.elements || []).map(function (element, index) {
|
149
|
+
return generate(element, "".concat(key, "-").concat(node.name, "-").concat(index));
|
150
|
+
}));
|
151
|
+
}
|
152
|
+
var bkIcon = function bkIcon(props, context) {
|
153
|
+
var _context$attrs$props = _objectSpread(_objectSpread({}, context.attrs), props),
|
154
|
+
data = _context$attrs$props.data,
|
155
|
+
name = _context$attrs$props.name,
|
156
|
+
width = _context$attrs$props.width,
|
157
|
+
height = _context$attrs$props.height,
|
158
|
+
fill = _context$attrs$props.fill,
|
159
|
+
restProps = _objectWithoutProperties(_context$attrs$props, _excluded);
|
160
|
+
var rootAttrs = "width: ".concat(width, "; height: ").concat(height, "; fill: ").concat(fill);
|
161
|
+
var iconBoxStyle = {
|
162
|
+
display: 'inline-flex',
|
163
|
+
'align-items': 'center',
|
164
|
+
'justify-content': 'center'
|
165
|
+
};
|
166
|
+
return (0,external_vue_namespaceObject.createVNode)("span", (0,external_vue_namespaceObject.mergeProps)({
|
167
|
+
"style": iconBoxStyle
|
168
|
+
}, restProps), [generate(data, name, rootAttrs)]);
|
169
|
+
};
|
170
|
+
bkIcon.inheritAttrs = false;
|
171
|
+
bkIcon.displayName = 'bkIcon';
|
172
|
+
/* harmony default export */ const icon = (bkIcon);
|
173
|
+
;// CONCATENATED MODULE: ../../packages/icon/icons/grag-fill.tsx
|
174
|
+
|
175
|
+
|
176
|
+
function grag_fill_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
177
|
+
function grag_fill_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? grag_fill_ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : grag_fill_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
178
|
+
|
179
|
+
var data = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"fill-rule":"evenodd","d":"M696.96 64a112 112 0 1 1-111.04 112A112 112 0 0 1 696.96 64ZM327.04 64a112 112 0 1 1-111.04 112A112 112 0 0 1 327.04 64ZM696.96 400a112 112 0 1 1-111.04 112A112 112 0 0 1 696.96 400ZM327.04 400a112 112 0 1 1-111.04 112A112 112 0 0 1 327.04 400ZM696.96 736a112 112 0 1 1-111.04 112A112 112 0 0 1 696.96 736ZM327.04 736a112 112 0 1 1-111.04 112A112 112 0 0 1 327.04 736Z"}}]}');
|
180
|
+
var gragFill = function gragFill(props, context) {
|
181
|
+
var p = grag_fill_objectSpread(grag_fill_objectSpread({}, props), context.attrs);
|
182
|
+
return (0,external_vue_namespaceObject.createVNode)(icon, (0,external_vue_namespaceObject.mergeProps)(p, {
|
183
|
+
"data": data,
|
184
|
+
"name": "gragFill"
|
185
|
+
}), null);
|
186
|
+
};
|
187
|
+
gragFill.displayName = 'gragFill';
|
188
|
+
gragFill.inheritAttrs = false;
|
189
|
+
/* harmony default export */ const grag_fill = (gragFill);
|
190
|
+
var __webpack_exports__default = __webpack_exports__.Z;
|
191
|
+
export { __webpack_exports__default as default };
|
package/lib/icon/index.d.ts
CHANGED
@@ -46,6 +46,7 @@ export { default as FolderShapeOpen } from '../icon/folder-shape-open';
|
|
46
46
|
export { default as FolderShape } from '../icon/folder-shape';
|
47
47
|
export { default as Folder } from '../icon/folder';
|
48
48
|
export { default as Funnel } from '../icon/funnel';
|
49
|
+
export { default as GragFill } from '../icon/grag-fill';
|
49
50
|
export { default as HelpDocumentFill } from '../icon/help-document-fill';
|
50
51
|
export { default as HelpFill } from '../icon/help-fill';
|
51
52
|
export { default as Help } from '../icon/help';
|
package/lib/icon/index.js
CHANGED
@@ -1251,6 +1251,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1251
1251
|
YX: () => (/* reexport */ folder_shape),
|
1252
1252
|
Gn: () => (/* reexport */ folder_shape_open),
|
1253
1253
|
oe: () => (/* reexport */ icons_funnel),
|
1254
|
+
TE: () => (/* reexport */ grag_fill),
|
1254
1255
|
WW: () => (/* reexport */ icons_help),
|
1255
1256
|
iL: () => (/* reexport */ help_document_fill),
|
1256
1257
|
Tv: () => (/* reexport */ help_fill),
|
@@ -2112,6 +2113,23 @@ var funnel = function funnel(props, context) {
|
|
2112
2113
|
funnel.displayName = 'funnel';
|
2113
2114
|
funnel.inheritAttrs = false;
|
2114
2115
|
/* harmony default export */ const icons_funnel = (funnel);
|
2116
|
+
;// CONCATENATED MODULE: ../../packages/icon/icons/grag-fill.tsx
|
2117
|
+
|
2118
|
+
|
2119
|
+
function grag_fill_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
2120
|
+
function grag_fill_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? grag_fill_ownKeys(Object(source), !0).forEach(function (key) { (0,defineProperty/* default */.Z)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : grag_fill_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
2121
|
+
|
2122
|
+
var grag_fill_data = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"fill-rule":"evenodd","d":"M696.96 64a112 112 0 1 1-111.04 112A112 112 0 0 1 696.96 64ZM327.04 64a112 112 0 1 1-111.04 112A112 112 0 0 1 327.04 64ZM696.96 400a112 112 0 1 1-111.04 112A112 112 0 0 1 696.96 400ZM327.04 400a112 112 0 1 1-111.04 112A112 112 0 0 1 327.04 400ZM696.96 736a112 112 0 1 1-111.04 112A112 112 0 0 1 696.96 736ZM327.04 736a112 112 0 1 1-111.04 112A112 112 0 0 1 327.04 736Z"}}]}');
|
2123
|
+
var gragFill = function gragFill(props, context) {
|
2124
|
+
var p = grag_fill_objectSpread(grag_fill_objectSpread({}, props), context.attrs);
|
2125
|
+
return (0,external_vue_.createVNode)(icon/* default */.Z, (0,external_vue_.mergeProps)(p, {
|
2126
|
+
"data": grag_fill_data,
|
2127
|
+
"name": "gragFill"
|
2128
|
+
}), null);
|
2129
|
+
};
|
2130
|
+
gragFill.displayName = 'gragFill';
|
2131
|
+
gragFill.inheritAttrs = false;
|
2132
|
+
/* harmony default export */ const grag_fill = (gragFill);
|
2115
2133
|
;// CONCATENATED MODULE: ../../packages/icon/icons/help-document-fill.tsx
|
2116
2134
|
|
2117
2135
|
|
@@ -2340,6 +2358,7 @@ var weixin = __webpack_require__(4273);
|
|
2340
2358
|
|
2341
2359
|
|
2342
2360
|
|
2361
|
+
|
2343
2362
|
|
2344
2363
|
|
2345
2364
|
})();
|
@@ -2392,6 +2411,7 @@ var __webpack_exports__FolderOpen = __webpack_exports__.P7;
|
|
2392
2411
|
var __webpack_exports__FolderShape = __webpack_exports__.YX;
|
2393
2412
|
var __webpack_exports__FolderShapeOpen = __webpack_exports__.Gn;
|
2394
2413
|
var __webpack_exports__Funnel = __webpack_exports__.oe;
|
2414
|
+
var __webpack_exports__GragFill = __webpack_exports__.TE;
|
2395
2415
|
var __webpack_exports__Help = __webpack_exports__.WW;
|
2396
2416
|
var __webpack_exports__HelpDocumentFill = __webpack_exports__.iL;
|
2397
2417
|
var __webpack_exports__HelpFill = __webpack_exports__.Tv;
|
@@ -2429,4 +2449,4 @@ var __webpack_exports__VideoFill = __webpack_exports__.EU;
|
|
2429
2449
|
var __webpack_exports__Warn = __webpack_exports__.uU;
|
2430
2450
|
var __webpack_exports__Weixin = __webpack_exports__.$L;
|
2431
2451
|
var __webpack_exports__WeixinPro = __webpack_exports__.lS;
|
2432
|
-
export { __webpack_exports__AngleDoubleDownLine as AngleDoubleDownLine, __webpack_exports__AngleDoubleLeft as AngleDoubleLeft, __webpack_exports__AngleDoubleLeftLine as AngleDoubleLeftLine, __webpack_exports__AngleDoubleRight as AngleDoubleRight, __webpack_exports__AngleDoubleRightLine as AngleDoubleRightLine, __webpack_exports__AngleDoubleUpLine as AngleDoubleUpLine, __webpack_exports__AngleDown as AngleDown, __webpack_exports__AngleDownFill as AngleDownFill, __webpack_exports__AngleDownLine as AngleDownLine, __webpack_exports__AngleLeft as AngleLeft, __webpack_exports__AngleRight as AngleRight, __webpack_exports__AngleUp as AngleUp, __webpack_exports__AngleUpFill as AngleUpFill, __webpack_exports__ArchiveFill as ArchiveFill, __webpack_exports__ArrowsLeft as ArrowsLeft, __webpack_exports__ArrowsRight as ArrowsRight, __webpack_exports__Assistant as Assistant, __webpack_exports__AudioFill as AudioFill, __webpack_exports__Bk as Bk, __webpack_exports__Circle as Circle, __webpack_exports__Close as Close, __webpack_exports__CloseLine as CloseLine, __webpack_exports__Code as Code, __webpack_exports__CogShape as CogShape, __webpack_exports__CollapseLeft as CollapseLeft, __webpack_exports__Copy as Copy, __webpack_exports__CopyShape as CopyShape, __webpack_exports__DataShape as DataShape, __webpack_exports__Del as Del, __webpack_exports__DocFill as DocFill, __webpack_exports__Done as Done, __webpack_exports__DownShape as DownShape, __webpack_exports__DownSmall as DownSmall, __webpack_exports__EditLine as EditLine, __webpack_exports__Ellipsis as Ellipsis, __webpack_exports__EnlargeLine as EnlargeLine, __webpack_exports__Error as Error, __webpack_exports__ExcelFill as ExcelFill, __webpack_exports__ExclamationCircleShape as ExclamationCircleShape, __webpack_exports__Eye as Eye, __webpack_exports__FilliscreenLine as FilliscreenLine, __webpack_exports__FixLine as FixLine, __webpack_exports__FixShape as FixShape, __webpack_exports__Folder as Folder, __webpack_exports__FolderOpen as FolderOpen, __webpack_exports__FolderShape as FolderShape, __webpack_exports__FolderShapeOpen as FolderShapeOpen, __webpack_exports__Funnel as Funnel, __webpack_exports__Help as Help, __webpack_exports__HelpDocumentFill as HelpDocumentFill, __webpack_exports__HelpFill as HelpFill, __webpack_exports__ImageFill as ImageFill, __webpack_exports__ImgError as ImgError, __webpack_exports__ImgPlacehoulder as ImgPlacehoulder, __webpack_exports__Info as Info, __webpack_exports__InfoLine as InfoLine, __webpack_exports__LeftShape as LeftShape, __webpack_exports__LeftTurnLine as LeftTurnLine, __webpack_exports__Loading as Loading, __webpack_exports__NarrowLine as NarrowLine, __webpack_exports__Original as Original, __webpack_exports__PdfFill as PdfFill, __webpack_exports__PlayShape as PlayShape, __webpack_exports__Plus as Plus, __webpack_exports__PptFill as PptFill, __webpack_exports__Qq as Qq, __webpack_exports__RightShape as RightShape, __webpack_exports__RightTurnLine as RightTurnLine, __webpack_exports__Search as Search, __webpack_exports__Share as Share, __webpack_exports__Spinner as Spinner, __webpack_exports__Success as Success, __webpack_exports__SwitcherLoading as SwitcherLoading, __webpack_exports__TextFile as TextFile, __webpack_exports__TextFill as TextFill, __webpack_exports__Transfer as Transfer, __webpack_exports__TreeApplicationShape as TreeApplicationShape, __webpack_exports__UnfullScreen as UnfullScreen, __webpack_exports__Unvisible as Unvisible, __webpack_exports__UpShape as UpShape, __webpack_exports__Upload as Upload, __webpack_exports__VideoFill as VideoFill, __webpack_exports__Warn as Warn, __webpack_exports__Weixin as Weixin, __webpack_exports__WeixinPro as WeixinPro };
|
2452
|
+
export { __webpack_exports__AngleDoubleDownLine as AngleDoubleDownLine, __webpack_exports__AngleDoubleLeft as AngleDoubleLeft, __webpack_exports__AngleDoubleLeftLine as AngleDoubleLeftLine, __webpack_exports__AngleDoubleRight as AngleDoubleRight, __webpack_exports__AngleDoubleRightLine as AngleDoubleRightLine, __webpack_exports__AngleDoubleUpLine as AngleDoubleUpLine, __webpack_exports__AngleDown as AngleDown, __webpack_exports__AngleDownFill as AngleDownFill, __webpack_exports__AngleDownLine as AngleDownLine, __webpack_exports__AngleLeft as AngleLeft, __webpack_exports__AngleRight as AngleRight, __webpack_exports__AngleUp as AngleUp, __webpack_exports__AngleUpFill as AngleUpFill, __webpack_exports__ArchiveFill as ArchiveFill, __webpack_exports__ArrowsLeft as ArrowsLeft, __webpack_exports__ArrowsRight as ArrowsRight, __webpack_exports__Assistant as Assistant, __webpack_exports__AudioFill as AudioFill, __webpack_exports__Bk as Bk, __webpack_exports__Circle as Circle, __webpack_exports__Close as Close, __webpack_exports__CloseLine as CloseLine, __webpack_exports__Code as Code, __webpack_exports__CogShape as CogShape, __webpack_exports__CollapseLeft as CollapseLeft, __webpack_exports__Copy as Copy, __webpack_exports__CopyShape as CopyShape, __webpack_exports__DataShape as DataShape, __webpack_exports__Del as Del, __webpack_exports__DocFill as DocFill, __webpack_exports__Done as Done, __webpack_exports__DownShape as DownShape, __webpack_exports__DownSmall as DownSmall, __webpack_exports__EditLine as EditLine, __webpack_exports__Ellipsis as Ellipsis, __webpack_exports__EnlargeLine as EnlargeLine, __webpack_exports__Error as Error, __webpack_exports__ExcelFill as ExcelFill, __webpack_exports__ExclamationCircleShape as ExclamationCircleShape, __webpack_exports__Eye as Eye, __webpack_exports__FilliscreenLine as FilliscreenLine, __webpack_exports__FixLine as FixLine, __webpack_exports__FixShape as FixShape, __webpack_exports__Folder as Folder, __webpack_exports__FolderOpen as FolderOpen, __webpack_exports__FolderShape as FolderShape, __webpack_exports__FolderShapeOpen as FolderShapeOpen, __webpack_exports__Funnel as Funnel, __webpack_exports__GragFill as GragFill, __webpack_exports__Help as Help, __webpack_exports__HelpDocumentFill as HelpDocumentFill, __webpack_exports__HelpFill as HelpFill, __webpack_exports__ImageFill as ImageFill, __webpack_exports__ImgError as ImgError, __webpack_exports__ImgPlacehoulder as ImgPlacehoulder, __webpack_exports__Info as Info, __webpack_exports__InfoLine as InfoLine, __webpack_exports__LeftShape as LeftShape, __webpack_exports__LeftTurnLine as LeftTurnLine, __webpack_exports__Loading as Loading, __webpack_exports__NarrowLine as NarrowLine, __webpack_exports__Original as Original, __webpack_exports__PdfFill as PdfFill, __webpack_exports__PlayShape as PlayShape, __webpack_exports__Plus as Plus, __webpack_exports__PptFill as PptFill, __webpack_exports__Qq as Qq, __webpack_exports__RightShape as RightShape, __webpack_exports__RightTurnLine as RightTurnLine, __webpack_exports__Search as Search, __webpack_exports__Share as Share, __webpack_exports__Spinner as Spinner, __webpack_exports__Success as Success, __webpack_exports__SwitcherLoading as SwitcherLoading, __webpack_exports__TextFile as TextFile, __webpack_exports__TextFill as TextFill, __webpack_exports__Transfer as Transfer, __webpack_exports__TreeApplicationShape as TreeApplicationShape, __webpack_exports__UnfullScreen as UnfullScreen, __webpack_exports__Unvisible as Unvisible, __webpack_exports__UpShape as UpShape, __webpack_exports__Upload as Upload, __webpack_exports__VideoFill as VideoFill, __webpack_exports__Warn as Warn, __webpack_exports__Weixin as Weixin, __webpack_exports__WeixinPro as WeixinPro };
|
package/lib/locale/index.js
CHANGED
@@ -134,6 +134,7 @@ var en = {
|
|
134
134
|
emptyText: 'No Data',
|
135
135
|
confirm: 'Confirm',
|
136
136
|
reset: 'Reset',
|
137
|
+
sort: 'Sort',
|
137
138
|
setting: {
|
138
139
|
title: 'Table Settings',
|
139
140
|
fields: {
|
@@ -342,6 +343,7 @@ var zhCn = {
|
|
342
343
|
emptyText: '暂无数据',
|
343
344
|
confirm: '确定',
|
344
345
|
reset: '重置',
|
346
|
+
sort: '排序',
|
345
347
|
setting: {
|
346
348
|
title: '表格设置',
|
347
349
|
fields: {
|
package/lib/locale/lang/en.d.ts
CHANGED
package/lib/preset.d.ts
CHANGED
@@ -80,6 +80,7 @@ declare const _default: {
|
|
80
80
|
emptyText: string;
|
81
81
|
confirm: string;
|
82
82
|
reset: string;
|
83
|
+
sort: string;
|
83
84
|
setting: {
|
84
85
|
title: string;
|
85
86
|
fields: {
|
@@ -219,6 +220,7 @@ declare const _default: {
|
|
219
220
|
emptyText: string;
|
220
221
|
confirm: string;
|
221
222
|
reset: string;
|
223
|
+
sort: string;
|
222
224
|
setting: {
|
223
225
|
title: string;
|
224
226
|
fields: {
|
package/lib/table/events.d.ts
CHANGED
@@ -28,7 +28,8 @@ export declare const enum EMIT_EVENTS {
|
|
28
28
|
CELL_CLICK = "cellClick",
|
29
29
|
CELL_DBL_CLICK = "cellDblclick",
|
30
30
|
NATIVE_CLICK = "click",
|
31
|
-
NATIVE_DBL_CLICK = "dblclick"
|
31
|
+
NATIVE_DBL_CLICK = "dblclick",
|
32
|
+
DRAG_END = "dragend"
|
32
33
|
}
|
33
34
|
export declare const EVENT_COL_PICK: (_cols: IColumnActive[]) => boolean;
|
34
35
|
export declare const EVENT_COL_FILTER: (_args: {
|
@@ -94,6 +95,10 @@ export declare const EVENT_SCROLL_FN: (_args: {
|
|
94
95
|
scrollLeft: number;
|
95
96
|
bottom: number;
|
96
97
|
}) => boolean;
|
98
|
+
export declare const EVENT_DRAGEND_FN: (_args: {
|
99
|
+
sourceEvent: DragEvent;
|
100
|
+
data: any[];
|
101
|
+
}) => boolean;
|
97
102
|
export declare const EMIT_EVENT_TYPES: {
|
98
103
|
columnPick: (_cols: IColumnActive[]) => boolean;
|
99
104
|
columnFilter: (_args: {
|
@@ -173,6 +178,10 @@ export declare const EMIT_EVENT_TYPES: {
|
|
173
178
|
}) => boolean;
|
174
179
|
rowMouseEnter: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
175
180
|
rowMouseLeave: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
181
|
+
dragend: (_args: {
|
182
|
+
sourceEvent: DragEvent;
|
183
|
+
data: any[];
|
184
|
+
}) => boolean;
|
176
185
|
};
|
177
186
|
export declare const CELL_EVENT_TYPES: {
|
178
187
|
click: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
package/lib/table/index.d.ts
CHANGED
@@ -48,8 +48,13 @@ declare const BkTable: {
|
|
48
48
|
observerResize?: boolean;
|
49
49
|
prependStyle?: import("vue").CSSProperties;
|
50
50
|
isFlex?: boolean;
|
51
|
+
rowDraggable?: any;
|
51
52
|
class?: unknown;
|
52
53
|
style?: unknown;
|
54
|
+
onDragend?: (_args: {
|
55
|
+
sourceEvent: DragEvent;
|
56
|
+
data: any[];
|
57
|
+
}) => any;
|
53
58
|
onSelect?: (_args: {
|
54
59
|
row: any;
|
55
60
|
index: Number;
|
@@ -249,6 +254,9 @@ declare const BkTable: {
|
|
249
254
|
};
|
250
255
|
rowIndex: number;
|
251
256
|
columnIndex: number;
|
257
|
+
}) => void) & ((event: import("./events").EMIT_EVENTS.DRAG_END, _args: {
|
258
|
+
sourceEvent: DragEvent;
|
259
|
+
data: any[];
|
252
260
|
}) => void);
|
253
261
|
$el: any;
|
254
262
|
$options: import("vue").ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
@@ -403,7 +411,14 @@ declare const BkTable: {
|
|
403
411
|
} & {
|
404
412
|
default: boolean;
|
405
413
|
};
|
414
|
+
rowDraggable: import("vue-types").VueTypeDef<any> & {
|
415
|
+
default: any;
|
416
|
+
};
|
406
417
|
}>> & {
|
418
|
+
onDragend?: (_args: {
|
419
|
+
sourceEvent: DragEvent;
|
420
|
+
data: any[];
|
421
|
+
}) => any;
|
407
422
|
onSelect?: (_args: {
|
408
423
|
row: any;
|
409
424
|
index: Number;
|
@@ -561,6 +576,10 @@ declare const BkTable: {
|
|
561
576
|
}) => boolean;
|
562
577
|
rowMouseEnter: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
563
578
|
rowMouseLeave: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
579
|
+
dragend: (_args: {
|
580
|
+
sourceEvent: DragEvent;
|
581
|
+
data: any[];
|
582
|
+
}) => boolean;
|
564
583
|
}, string, {
|
565
584
|
data: any[];
|
566
585
|
thead: import("./props").Thead;
|
@@ -602,6 +621,7 @@ declare const BkTable: {
|
|
602
621
|
observerResize: boolean;
|
603
622
|
prependStyle: import("vue").CSSProperties;
|
604
623
|
isFlex: boolean;
|
624
|
+
rowDraggable: any;
|
605
625
|
}, {}, string, {}> & {
|
606
626
|
beforeCreate?: (() => void) | (() => void)[];
|
607
627
|
created?: (() => void) | (() => void)[];
|
@@ -774,7 +794,14 @@ declare const BkTable: {
|
|
774
794
|
} & {
|
775
795
|
default: boolean;
|
776
796
|
};
|
797
|
+
rowDraggable: import("vue-types").VueTypeDef<any> & {
|
798
|
+
default: any;
|
799
|
+
};
|
777
800
|
}>> & {
|
801
|
+
onDragend?: (_args: {
|
802
|
+
sourceEvent: DragEvent;
|
803
|
+
data: any[];
|
804
|
+
}) => any;
|
778
805
|
onSelect?: (_args: {
|
779
806
|
row: any;
|
780
807
|
index: Number;
|
@@ -1009,7 +1036,14 @@ declare const BkTable: {
|
|
1009
1036
|
} & {
|
1010
1037
|
default: boolean;
|
1011
1038
|
};
|
1039
|
+
rowDraggable: import("vue-types").VueTypeDef<any> & {
|
1040
|
+
default: any;
|
1041
|
+
};
|
1012
1042
|
}>> & {
|
1043
|
+
onDragend?: (_args: {
|
1044
|
+
sourceEvent: DragEvent;
|
1045
|
+
data: any[];
|
1046
|
+
}) => any;
|
1013
1047
|
onSelect?: (_args: {
|
1014
1048
|
row: any;
|
1015
1049
|
index: Number;
|
@@ -1167,6 +1201,10 @@ declare const BkTable: {
|
|
1167
1201
|
}) => boolean;
|
1168
1202
|
rowMouseEnter: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
1169
1203
|
rowMouseLeave: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
1204
|
+
dragend: (_args: {
|
1205
|
+
sourceEvent: DragEvent;
|
1206
|
+
data: any[];
|
1207
|
+
}) => boolean;
|
1170
1208
|
}, string, {
|
1171
1209
|
data: any[];
|
1172
1210
|
thead: import("./props").Thead;
|
@@ -1208,6 +1246,7 @@ declare const BkTable: {
|
|
1208
1246
|
observerResize: boolean;
|
1209
1247
|
prependStyle: import("vue").CSSProperties;
|
1210
1248
|
isFlex: boolean;
|
1249
|
+
rowDraggable: any;
|
1211
1250
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Readonly<{
|
1212
1251
|
Column: import("vue").DefineComponent<{
|
1213
1252
|
label: import("vue-types").VueTypeDef<import("./props").LabelFunctionString>;
|