bkui-vue 1.0.3-beta.16 → 1.0.3-beta.18
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 +31 -31
- package/dist/index.esm.js +3963 -3942
- package/dist/index.umd.js +31 -31
- package/lib/modal/index.js +1 -1
- package/lib/plugin-popover/index.js +3 -3
- package/lib/popover/index.js +3 -3
- package/lib/table/index.js +254 -189
- package/lib/table/plugins/use-observer-resize.d.ts +5 -0
- package/lib/table/use-attributes.d.ts +4 -42
- package/package.json +1 -1
package/lib/modal/index.js
CHANGED
@@ -576,7 +576,7 @@ var propsMixin = {
|
|
576
576
|
// 是否允许点击遮罩关闭弹窗
|
577
577
|
quickClose: shared_namespaceObject.PropTypes.bool.def(true),
|
578
578
|
// 是否显示在body内(即与id#app同级
|
579
|
-
transfer: shared_namespaceObject.PropTypes.oneOfType([Boolean, String, HTMLElement]).def(
|
579
|
+
transfer: shared_namespaceObject.PropTypes.oneOfType([Boolean, String, HTMLElement]).def(true),
|
580
580
|
// 弹出层z-index,实际显示的值会自动+1。为了抱证在遮罩上正常显示
|
581
581
|
zIndex: shared_namespaceObject.PropTypes.oneOfType([String, Number]),
|
582
582
|
// 内容区最大高度
|
@@ -3087,9 +3087,9 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
3087
3087
|
var delay = resolvePopoverDelay()[0];
|
3088
3088
|
// 设置settimeout避免hidePopover导致显示问题
|
3089
3089
|
popShowTimerId = setTimeout(function () {
|
3090
|
-
if (popHideTimerId) {
|
3091
|
-
|
3092
|
-
}
|
3090
|
+
// if (popHideTimerId) {
|
3091
|
+
// clearTimeout(popHideTimerId);
|
3092
|
+
// }
|
3093
3093
|
if (!props.disabled) {
|
3094
3094
|
localIsShow.value = true;
|
3095
3095
|
}
|
package/lib/popover/index.js
CHANGED
@@ -3090,9 +3090,9 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
3090
3090
|
var delay = resolvePopoverDelay()[0];
|
3091
3091
|
// 设置settimeout避免hidePopover导致显示问题
|
3092
3092
|
popShowTimerId = setTimeout(function () {
|
3093
|
-
if (popHideTimerId) {
|
3094
|
-
|
3095
|
-
}
|
3093
|
+
// if (popHideTimerId) {
|
3094
|
+
// clearTimeout(popHideTimerId);
|
3095
|
+
// }
|
3096
3096
|
if (!props.disabled) {
|
3097
3097
|
localIsShow.value = true;
|
3098
3098
|
}
|
package/lib/table/index.js
CHANGED
@@ -8,10 +8,10 @@ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_virtual_render_927587a8__ fro
|
|
8
8
|
import "../virtual-render/virtual-render.less";
|
9
9
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_isElement_e6b2a6ce__ from "lodash/isElement";
|
10
10
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__ from "lodash/throttle";
|
11
|
-
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_loading_dcf0e69a__ from "../loading";
|
12
|
-
import "../loading/loading.less";
|
13
11
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_debounce_3540babe__ from "lodash/debounce";
|
14
12
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_get_9427f899__ from "lodash/get";
|
13
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_loading_dcf0e69a__ from "../loading";
|
14
|
+
import "../loading/loading.less";
|
15
15
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_checkbox_13b1cb4a__ from "../checkbox";
|
16
16
|
import "../checkbox/checkbox.less";
|
17
17
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
|
@@ -122,7 +122,7 @@ function defineProperty_defineProperty(obj, key, value) {
|
|
122
122
|
;// CONCATENATED MODULE: external "vue"
|
123
123
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
124
124
|
var external_vue_y = x => () => x
|
125
|
-
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["isProxy"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isProxy, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["toRaw"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRaw, ["toRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRef, ["unref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.unref, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
|
125
|
+
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["isProxy"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isProxy, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["toRaw"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRaw, ["toRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRef, ["unref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.unref, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["watchEffect"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watchEffect });
|
126
126
|
;// CONCATENATED MODULE: ../../packages/table/src/const.ts
|
127
127
|
|
128
128
|
/*
|
@@ -1471,176 +1471,6 @@ function _toConsumableArray(arr) {
|
|
1471
1471
|
updateFixClass: updateFixClass
|
1472
1472
|
};
|
1473
1473
|
});
|
1474
|
-
;// CONCATENATED MODULE: external "../loading"
|
1475
|
-
var loading_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1476
|
-
var loading_y = x => () => x
|
1477
|
-
const loading_namespaceObject = loading_x({ ["BkLoadingMode"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_loading_dcf0e69a__.BkLoadingMode, ["BkLoadingSize"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_loading_dcf0e69a__.BkLoadingSize, ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_loading_dcf0e69a__["default"] });
|
1478
|
-
;// CONCATENATED MODULE: external "../loading/loading.less"
|
1479
|
-
var loading_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1480
|
-
var loading_less_y = x => () => x
|
1481
|
-
const loading_less_namespaceObject = loading_less_x({ });
|
1482
|
-
;// CONCATENATED MODULE: ../../packages/table/src/plugins/use-scroll-loading.tsx
|
1483
|
-
|
1484
|
-
|
1485
|
-
/*
|
1486
|
-
* Tencent is pleased to support the open source community by making
|
1487
|
-
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1488
|
-
*
|
1489
|
-
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
|
1490
|
-
*
|
1491
|
-
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1492
|
-
*
|
1493
|
-
* License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
|
1494
|
-
*
|
1495
|
-
* ---------------------------------------------------
|
1496
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
1497
|
-
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
|
1498
|
-
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
|
1499
|
-
* to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
1500
|
-
*
|
1501
|
-
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
|
1502
|
-
* the Software.
|
1503
|
-
*
|
1504
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
1505
|
-
* THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
1506
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
1507
|
-
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
1508
|
-
* IN THE SOFTWARE.
|
1509
|
-
*/
|
1510
|
-
|
1511
|
-
|
1512
|
-
|
1513
|
-
|
1514
|
-
/* harmony default export */ const use_scroll_loading = (function (props, ctx) {
|
1515
|
-
var refScrollLoading = (0,external_vue_namespaceObject.toRef)(props, 'scrollLoading');
|
1516
|
-
var getLoadingOption = function getLoadingOption() {
|
1517
|
-
if (typeof refScrollLoading.value === 'boolean') {
|
1518
|
-
return {
|
1519
|
-
loading: !!refScrollLoading.value,
|
1520
|
-
inline: true,
|
1521
|
-
title: '',
|
1522
|
-
size: loading_namespaceObject.BkLoadingSize.Normal,
|
1523
|
-
mode: loading_namespaceObject.BkLoadingMode.Default,
|
1524
|
-
indicator: null
|
1525
|
-
};
|
1526
|
-
}
|
1527
|
-
return refScrollLoading.value;
|
1528
|
-
};
|
1529
|
-
var isRender = (0,external_vue_namespaceObject.computed)(function () {
|
1530
|
-
return refScrollLoading.value !== null && (typeof refScrollLoading.value === 'boolean' && refScrollLoading.value || typeof_typeof(refScrollLoading.value) === 'object');
|
1531
|
-
});
|
1532
|
-
var renderScrollLoading = function renderScrollLoading() {
|
1533
|
-
if (isRender.value) {
|
1534
|
-
var _ctx$slots$fixedBotto, _ctx$slots$fixedBotto2, _ctx$slots;
|
1535
|
-
var _getLoadingOption = getLoadingOption(),
|
1536
|
-
loading = _getLoadingOption.loading,
|
1537
|
-
size = _getLoadingOption.size,
|
1538
|
-
mode = _getLoadingOption.mode,
|
1539
|
-
title = _getLoadingOption.title,
|
1540
|
-
inline = _getLoadingOption.inline,
|
1541
|
-
indicator = _getLoadingOption.indicator;
|
1542
|
-
return (_ctx$slots$fixedBotto = (_ctx$slots$fixedBotto2 = (_ctx$slots = ctx.slots).fixedBottom) === null || _ctx$slots$fixedBotto2 === void 0 ? void 0 : _ctx$slots$fixedBotto2.call(_ctx$slots)) !== null && _ctx$slots$fixedBotto !== void 0 ? _ctx$slots$fixedBotto : (0,external_vue_namespaceObject.createVNode)(loading_namespaceObject["default"], {
|
1543
|
-
loading: loading,
|
1544
|
-
size: size,
|
1545
|
-
mode: mode,
|
1546
|
-
title: title,
|
1547
|
-
inline: inline,
|
1548
|
-
indicator: indicator
|
1549
|
-
}, null);
|
1550
|
-
}
|
1551
|
-
};
|
1552
|
-
return {
|
1553
|
-
renderScrollLoading: renderScrollLoading
|
1554
|
-
};
|
1555
|
-
});
|
1556
|
-
;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/native.js
|
1557
|
-
const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
1558
|
-
/* harmony default export */ const esm_browser_native = ({
|
1559
|
-
randomUUID
|
1560
|
-
});
|
1561
|
-
;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/rng.js
|
1562
|
-
// Unique ID creation requires a high quality random # generator. In the browser we therefore
|
1563
|
-
// require the crypto API and do not support built-in fallback to lower quality random number
|
1564
|
-
// generators (like Math.random()).
|
1565
|
-
let getRandomValues;
|
1566
|
-
const rnds8 = new Uint8Array(16);
|
1567
|
-
function rng() {
|
1568
|
-
// lazy load so that environments that need to polyfill have a chance to do so
|
1569
|
-
if (!getRandomValues) {
|
1570
|
-
// getRandomValues needs to be invoked in a context where "this" is a Crypto implementation.
|
1571
|
-
getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);
|
1572
|
-
|
1573
|
-
if (!getRandomValues) {
|
1574
|
-
throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
|
1575
|
-
}
|
1576
|
-
}
|
1577
|
-
|
1578
|
-
return getRandomValues(rnds8);
|
1579
|
-
}
|
1580
|
-
;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/stringify.js
|
1581
|
-
|
1582
|
-
/**
|
1583
|
-
* Convert array of 16 byte values to UUID string format of the form:
|
1584
|
-
* XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
1585
|
-
*/
|
1586
|
-
|
1587
|
-
const byteToHex = [];
|
1588
|
-
|
1589
|
-
for (let i = 0; i < 256; ++i) {
|
1590
|
-
byteToHex.push((i + 0x100).toString(16).slice(1));
|
1591
|
-
}
|
1592
|
-
|
1593
|
-
function unsafeStringify(arr, offset = 0) {
|
1594
|
-
// Note: Be careful editing this code! It's been tuned for performance
|
1595
|
-
// and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
|
1596
|
-
return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];
|
1597
|
-
}
|
1598
|
-
|
1599
|
-
function stringify(arr, offset = 0) {
|
1600
|
-
const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one
|
1601
|
-
// of the following:
|
1602
|
-
// - One or more input array values don't map to a hex octet (leading to
|
1603
|
-
// "undefined" in the uuid)
|
1604
|
-
// - Invalid input values for the RFC `version` or `variant` fields
|
1605
|
-
|
1606
|
-
if (!validate(uuid)) {
|
1607
|
-
throw TypeError('Stringified UUID is invalid');
|
1608
|
-
}
|
1609
|
-
|
1610
|
-
return uuid;
|
1611
|
-
}
|
1612
|
-
|
1613
|
-
/* harmony default export */ const esm_browser_stringify = ((/* unused pure expression or super */ null && (stringify)));
|
1614
|
-
;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/v4.js
|
1615
|
-
|
1616
|
-
|
1617
|
-
|
1618
|
-
|
1619
|
-
function v4(options, buf, offset) {
|
1620
|
-
if (esm_browser_native.randomUUID && !buf && !options) {
|
1621
|
-
return esm_browser_native.randomUUID();
|
1622
|
-
}
|
1623
|
-
|
1624
|
-
options = options || {};
|
1625
|
-
const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
|
1626
|
-
|
1627
|
-
rnds[6] = rnds[6] & 0x0f | 0x40;
|
1628
|
-
rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
|
1629
|
-
|
1630
|
-
if (buf) {
|
1631
|
-
offset = offset || 0;
|
1632
|
-
|
1633
|
-
for (let i = 0; i < 16; ++i) {
|
1634
|
-
buf[offset + i] = rnds[i];
|
1635
|
-
}
|
1636
|
-
|
1637
|
-
return buf;
|
1638
|
-
}
|
1639
|
-
|
1640
|
-
return unsafeStringify(rnds);
|
1641
|
-
}
|
1642
|
-
|
1643
|
-
/* harmony default export */ const esm_browser_v4 = (v4);
|
1644
1474
|
;// CONCATENATED MODULE: external "lodash/debounce"
|
1645
1475
|
var debounce_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1646
1476
|
var debounce_y = x => () => x
|
@@ -2579,6 +2409,94 @@ var index = (function () {
|
|
2579
2409
|
|
2580
2410
|
/* harmony default export */ const ResizeObserver_es = (index);
|
2581
2411
|
|
2412
|
+
;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/native.js
|
2413
|
+
const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
2414
|
+
/* harmony default export */ const esm_browser_native = ({
|
2415
|
+
randomUUID
|
2416
|
+
});
|
2417
|
+
;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/rng.js
|
2418
|
+
// Unique ID creation requires a high quality random # generator. In the browser we therefore
|
2419
|
+
// require the crypto API and do not support built-in fallback to lower quality random number
|
2420
|
+
// generators (like Math.random()).
|
2421
|
+
let getRandomValues;
|
2422
|
+
const rnds8 = new Uint8Array(16);
|
2423
|
+
function rng() {
|
2424
|
+
// lazy load so that environments that need to polyfill have a chance to do so
|
2425
|
+
if (!getRandomValues) {
|
2426
|
+
// getRandomValues needs to be invoked in a context where "this" is a Crypto implementation.
|
2427
|
+
getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);
|
2428
|
+
|
2429
|
+
if (!getRandomValues) {
|
2430
|
+
throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
|
2431
|
+
}
|
2432
|
+
}
|
2433
|
+
|
2434
|
+
return getRandomValues(rnds8);
|
2435
|
+
}
|
2436
|
+
;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/stringify.js
|
2437
|
+
|
2438
|
+
/**
|
2439
|
+
* Convert array of 16 byte values to UUID string format of the form:
|
2440
|
+
* XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
2441
|
+
*/
|
2442
|
+
|
2443
|
+
const byteToHex = [];
|
2444
|
+
|
2445
|
+
for (let i = 0; i < 256; ++i) {
|
2446
|
+
byteToHex.push((i + 0x100).toString(16).slice(1));
|
2447
|
+
}
|
2448
|
+
|
2449
|
+
function unsafeStringify(arr, offset = 0) {
|
2450
|
+
// Note: Be careful editing this code! It's been tuned for performance
|
2451
|
+
// and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
|
2452
|
+
return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];
|
2453
|
+
}
|
2454
|
+
|
2455
|
+
function stringify(arr, offset = 0) {
|
2456
|
+
const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one
|
2457
|
+
// of the following:
|
2458
|
+
// - One or more input array values don't map to a hex octet (leading to
|
2459
|
+
// "undefined" in the uuid)
|
2460
|
+
// - Invalid input values for the RFC `version` or `variant` fields
|
2461
|
+
|
2462
|
+
if (!validate(uuid)) {
|
2463
|
+
throw TypeError('Stringified UUID is invalid');
|
2464
|
+
}
|
2465
|
+
|
2466
|
+
return uuid;
|
2467
|
+
}
|
2468
|
+
|
2469
|
+
/* harmony default export */ const esm_browser_stringify = ((/* unused pure expression or super */ null && (stringify)));
|
2470
|
+
;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/v4.js
|
2471
|
+
|
2472
|
+
|
2473
|
+
|
2474
|
+
|
2475
|
+
function v4(options, buf, offset) {
|
2476
|
+
if (esm_browser_native.randomUUID && !buf && !options) {
|
2477
|
+
return esm_browser_native.randomUUID();
|
2478
|
+
}
|
2479
|
+
|
2480
|
+
options = options || {};
|
2481
|
+
const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
|
2482
|
+
|
2483
|
+
rnds[6] = rnds[6] & 0x0f | 0x40;
|
2484
|
+
rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
|
2485
|
+
|
2486
|
+
if (buf) {
|
2487
|
+
offset = offset || 0;
|
2488
|
+
|
2489
|
+
for (let i = 0; i < 16; ++i) {
|
2490
|
+
buf[offset + i] = rnds[i];
|
2491
|
+
}
|
2492
|
+
|
2493
|
+
return buf;
|
2494
|
+
}
|
2495
|
+
|
2496
|
+
return unsafeStringify(rnds);
|
2497
|
+
}
|
2498
|
+
|
2499
|
+
/* harmony default export */ const esm_browser_v4 = (v4);
|
2582
2500
|
;// CONCATENATED MODULE: ../../packages/table/src/utils.tsx
|
2583
2501
|
|
2584
2502
|
|
@@ -3076,6 +2994,147 @@ var getRawData = function getRawData(data) {
|
|
3076
2994
|
}
|
3077
2995
|
return data;
|
3078
2996
|
};
|
2997
|
+
;// CONCATENATED MODULE: ../../packages/table/src/plugins/use-observer-resize.tsx
|
2998
|
+
|
2999
|
+
/*
|
3000
|
+
* Tencent is pleased to support the open source community by making
|
3001
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
3002
|
+
*
|
3003
|
+
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
|
3004
|
+
*
|
3005
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
3006
|
+
*
|
3007
|
+
* License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
|
3008
|
+
*
|
3009
|
+
* ---------------------------------------------------
|
3010
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
3011
|
+
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
|
3012
|
+
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
|
3013
|
+
* to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
3014
|
+
*
|
3015
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
|
3016
|
+
* the Software.
|
3017
|
+
*
|
3018
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
3019
|
+
* THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
3020
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
3021
|
+
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
3022
|
+
* IN THE SOFTWARE.
|
3023
|
+
*/
|
3024
|
+
|
3025
|
+
|
3026
|
+
|
3027
|
+
/* harmony default export */ const use_observer_resize = (function (target, fn) {
|
3028
|
+
var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
|
3029
|
+
var immediate = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
|
3030
|
+
var instance = null;
|
3031
|
+
var dispose = function dispose() {
|
3032
|
+
if (instance) {
|
3033
|
+
instance.disconnect();
|
3034
|
+
instance = null;
|
3035
|
+
}
|
3036
|
+
};
|
3037
|
+
(0,external_vue_namespaceObject.watch)(target, function () {
|
3038
|
+
if (!(0,shared_namespaceObject.isElement)(target.value)) {
|
3039
|
+
return;
|
3040
|
+
}
|
3041
|
+
dispose();
|
3042
|
+
instance = observerResize(target.value, function () {
|
3043
|
+
fn === null || fn === void 0 || fn.apply.apply(fn, _toConsumableArray(args));
|
3044
|
+
}, 60, true, 'debounce');
|
3045
|
+
if (immediate) {
|
3046
|
+
instance.start();
|
3047
|
+
}
|
3048
|
+
}, {
|
3049
|
+
flush: 'post',
|
3050
|
+
immediate: true
|
3051
|
+
});
|
3052
|
+
return {
|
3053
|
+
instance: instance
|
3054
|
+
};
|
3055
|
+
});
|
3056
|
+
;// CONCATENATED MODULE: external "../loading"
|
3057
|
+
var loading_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
3058
|
+
var loading_y = x => () => x
|
3059
|
+
const loading_namespaceObject = loading_x({ ["BkLoadingMode"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_loading_dcf0e69a__.BkLoadingMode, ["BkLoadingSize"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_loading_dcf0e69a__.BkLoadingSize, ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_loading_dcf0e69a__["default"] });
|
3060
|
+
;// CONCATENATED MODULE: external "../loading/loading.less"
|
3061
|
+
var loading_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
3062
|
+
var loading_less_y = x => () => x
|
3063
|
+
const loading_less_namespaceObject = loading_less_x({ });
|
3064
|
+
;// CONCATENATED MODULE: ../../packages/table/src/plugins/use-scroll-loading.tsx
|
3065
|
+
|
3066
|
+
|
3067
|
+
/*
|
3068
|
+
* Tencent is pleased to support the open source community by making
|
3069
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
3070
|
+
*
|
3071
|
+
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
|
3072
|
+
*
|
3073
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
3074
|
+
*
|
3075
|
+
* License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
|
3076
|
+
*
|
3077
|
+
* ---------------------------------------------------
|
3078
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
3079
|
+
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
|
3080
|
+
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
|
3081
|
+
* to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
3082
|
+
*
|
3083
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
|
3084
|
+
* the Software.
|
3085
|
+
*
|
3086
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
3087
|
+
* THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
3088
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
3089
|
+
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
3090
|
+
* IN THE SOFTWARE.
|
3091
|
+
*/
|
3092
|
+
|
3093
|
+
|
3094
|
+
|
3095
|
+
|
3096
|
+
/* harmony default export */ const use_scroll_loading = (function (props, ctx) {
|
3097
|
+
var refScrollLoading = (0,external_vue_namespaceObject.toRef)(props, 'scrollLoading');
|
3098
|
+
var getLoadingOption = function getLoadingOption() {
|
3099
|
+
if (typeof refScrollLoading.value === 'boolean') {
|
3100
|
+
return {
|
3101
|
+
loading: !!refScrollLoading.value,
|
3102
|
+
inline: true,
|
3103
|
+
title: '',
|
3104
|
+
size: loading_namespaceObject.BkLoadingSize.Normal,
|
3105
|
+
mode: loading_namespaceObject.BkLoadingMode.Default,
|
3106
|
+
indicator: null
|
3107
|
+
};
|
3108
|
+
}
|
3109
|
+
return refScrollLoading.value;
|
3110
|
+
};
|
3111
|
+
var isRender = (0,external_vue_namespaceObject.computed)(function () {
|
3112
|
+
return refScrollLoading.value !== null && (typeof refScrollLoading.value === 'boolean' && refScrollLoading.value || typeof_typeof(refScrollLoading.value) === 'object');
|
3113
|
+
});
|
3114
|
+
var renderScrollLoading = function renderScrollLoading() {
|
3115
|
+
if (isRender.value) {
|
3116
|
+
var _ctx$slots$fixedBotto, _ctx$slots$fixedBotto2, _ctx$slots;
|
3117
|
+
var _getLoadingOption = getLoadingOption(),
|
3118
|
+
loading = _getLoadingOption.loading,
|
3119
|
+
size = _getLoadingOption.size,
|
3120
|
+
mode = _getLoadingOption.mode,
|
3121
|
+
title = _getLoadingOption.title,
|
3122
|
+
inline = _getLoadingOption.inline,
|
3123
|
+
indicator = _getLoadingOption.indicator;
|
3124
|
+
return (_ctx$slots$fixedBotto = (_ctx$slots$fixedBotto2 = (_ctx$slots = ctx.slots).fixedBottom) === null || _ctx$slots$fixedBotto2 === void 0 ? void 0 : _ctx$slots$fixedBotto2.call(_ctx$slots)) !== null && _ctx$slots$fixedBotto !== void 0 ? _ctx$slots$fixedBotto : (0,external_vue_namespaceObject.createVNode)(loading_namespaceObject["default"], {
|
3125
|
+
loading: loading,
|
3126
|
+
size: size,
|
3127
|
+
mode: mode,
|
3128
|
+
title: title,
|
3129
|
+
inline: inline,
|
3130
|
+
indicator: indicator
|
3131
|
+
}, null);
|
3132
|
+
}
|
3133
|
+
};
|
3134
|
+
return {
|
3135
|
+
renderScrollLoading: renderScrollLoading
|
3136
|
+
};
|
3137
|
+
});
|
3079
3138
|
;// CONCATENATED MODULE: ../../packages/table/src/plugins/use-pagination.tsx
|
3080
3139
|
|
3081
3140
|
|
@@ -3303,7 +3362,7 @@ function use_attributes_objectSpread(e) { for (var r = 1; r < arguments.length;
|
|
3303
3362
|
|
3304
3363
|
|
3305
3364
|
|
3306
|
-
|
3365
|
+
var tableSchemaResponse = function tableSchemaResponse(props) {
|
3307
3366
|
var t = (0,config_provider_namespaceObject.useLocale)('table');
|
3308
3367
|
var getDefaultSettings = function getDefaultSettings() {
|
3309
3368
|
var _ref, _SETTING_SIZE$size;
|
@@ -3968,7 +4027,8 @@ function use_attributes_objectSpread(e) { for (var r = 1; r < arguments.length;
|
|
3968
4027
|
formatData: formatData,
|
3969
4028
|
setIndexData: setIndexData
|
3970
4029
|
};
|
3971
|
-
}
|
4030
|
+
};
|
4031
|
+
/* harmony default export */ const use_attributes = (tableSchemaResponse);
|
3972
4032
|
;// CONCATENATED MODULE: ../../packages/table/src/use-column.ts
|
3973
4033
|
|
3974
4034
|
/*
|
@@ -4814,7 +4874,7 @@ function _isSlot(s) {
|
|
4814
4874
|
return resolvePropVal(item, ['id', 'field', 'type'], [item, index]);
|
4815
4875
|
};
|
4816
4876
|
var checkAll = (0,external_vue_namespaceObject.ref)(false);
|
4817
|
-
var
|
4877
|
+
var refSetting = (0,external_vue_namespaceObject.ref)(null);
|
4818
4878
|
var localSettings = (0,external_vue_namespaceObject.computed)(function () {
|
4819
4879
|
var deafultSettings = {
|
4820
4880
|
fields: props.columns.map(function (col) {
|
@@ -4849,6 +4909,7 @@ function _isSlot(s) {
|
|
4849
4909
|
checkedFields: localSettings.value.checked || []
|
4850
4910
|
};
|
4851
4911
|
var handleSaveClick = function handleSaveClick() {
|
4912
|
+
var _refSetting$value;
|
4852
4913
|
Object.assign(cachedValue, {
|
4853
4914
|
checkAll: checkAll.value,
|
4854
4915
|
activeSize: activeSize.value,
|
@@ -4861,17 +4922,21 @@ function _isSlot(s) {
|
|
4861
4922
|
height: activeHeight.value,
|
4862
4923
|
fields: (0,external_vue_namespaceObject.unref)(renderFields)
|
4863
4924
|
});
|
4864
|
-
|
4925
|
+
(_refSetting$value = refSetting.value) === null || _refSetting$value === void 0 || _refSetting$value.hide();
|
4865
4926
|
};
|
4866
4927
|
var handleCancelClick = function handleCancelClick() {
|
4928
|
+
var _refSetting$value2;
|
4867
4929
|
checkAll.value = cachedValue.checkAll;
|
4868
4930
|
activeSize.value = cachedValue.activeSize;
|
4869
4931
|
activeHeight.value = cachedValue.activeHeight;
|
4870
4932
|
checkedFields.value = cachedValue.checkedFields;
|
4871
|
-
|
4933
|
+
(_refSetting$value2 = refSetting.value) === null || _refSetting$value2 === void 0 || _refSetting$value2.hide();
|
4872
4934
|
};
|
4873
4935
|
var handleSettingClick = function handleSettingClick() {
|
4874
|
-
|
4936
|
+
if (localSettings.value.trigger === 'manual') {
|
4937
|
+
var _refSetting$value3;
|
4938
|
+
(_refSetting$value3 = refSetting.value) === null || _refSetting$value3 === void 0 || _refSetting$value3.show();
|
4939
|
+
}
|
4875
4940
|
};
|
4876
4941
|
var handleCheckAllClick = function handleCheckAllClick(e) {
|
4877
4942
|
e.stopImmediatePropagation();
|
@@ -4966,8 +5031,8 @@ function _isSlot(s) {
|
|
4966
5031
|
var _localSettings$value$2;
|
4967
5032
|
return props.settings ? (0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], (0,external_vue_namespaceObject.mergeProps)({
|
4968
5033
|
"trigger": (_localSettings$value$2 = localSettings.value.trigger) !== null && _localSettings$value$2 !== void 0 ? _localSettings$value$2 : 'manual',
|
4969
|
-
"isShow": isShow.value,
|
4970
5034
|
"placement": "bottom-end",
|
5035
|
+
"ref": refSetting,
|
4971
5036
|
"arrow": true
|
4972
5037
|
}, {
|
4973
5038
|
theme: theme
|
@@ -6621,6 +6686,7 @@ function table_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
6621
6686
|
|
6622
6687
|
|
6623
6688
|
|
6689
|
+
|
6624
6690
|
/* harmony default export */ const table = ((0,external_vue_namespaceObject.defineComponent)({
|
6625
6691
|
// eslint-disable-next-line vue/no-reserved-component-names
|
6626
6692
|
name: 'Table',
|
@@ -6677,6 +6743,11 @@ function table_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
6677
6743
|
hasScrollY: hasScrollYRef.value
|
6678
6744
|
};
|
6679
6745
|
});
|
6746
|
+
use_observer_resize(root, function () {
|
6747
|
+
(0,external_vue_namespaceObject.nextTick)(function () {
|
6748
|
+
resolveFixedColumns(tableOffsetRight.value);
|
6749
|
+
});
|
6750
|
+
});
|
6680
6751
|
var _useRender = use_render(props, ctx, tableSchema, styleRef, head, root, resetTableHeight),
|
6681
6752
|
renderTableBodySchema = _useRender.renderTableBodySchema,
|
6682
6753
|
renderTableFooter = _useRender.renderTableFooter,
|
@@ -6694,12 +6765,10 @@ function table_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
6694
6765
|
}
|
6695
6766
|
};
|
6696
6767
|
var isFirstLoad = (0,external_vue_namespaceObject.ref)(true);
|
6697
|
-
|
6698
|
-
|
6699
|
-
|
6700
|
-
}, function () {
|
6768
|
+
(0,external_vue_namespaceObject.watchEffect)(function () {
|
6769
|
+
tableSchema.formatColumns(columns);
|
6770
|
+
resolveFixedColumns(tableOffsetRight.value);
|
6701
6771
|
tableSchema.setIndexData().then(function () {
|
6702
|
-
tableSchema.formatColumns(columns);
|
6703
6772
|
tableSchema.formatDataSchema(props.data);
|
6704
6773
|
tableSchema.resetStartEndIndex();
|
6705
6774
|
if (isFirstLoad.value) {
|
@@ -6711,7 +6780,6 @@ function table_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
6711
6780
|
registerResizeEvent();
|
6712
6781
|
(0,external_vue_namespaceObject.nextTick)(function () {
|
6713
6782
|
updateOffsetRight();
|
6714
|
-
resolveFixedColumns(tableOffsetRight.value);
|
6715
6783
|
/**
|
6716
6784
|
* 确保在所有数据渲染完毕再执行fix column计算
|
6717
6785
|
*/
|
@@ -6720,9 +6788,6 @@ function table_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
|
|
6720
6788
|
});
|
6721
6789
|
});
|
6722
6790
|
});
|
6723
|
-
}, {
|
6724
|
-
immediate: true,
|
6725
|
-
deep: true
|
6726
6791
|
});
|
6727
6792
|
(0,external_vue_namespaceObject.watch)(function () {
|
6728
6793
|
return [props.height, props.maxHeight, props.minHeight];
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { IEmptyObject } from './const';
|
2
|
-
import { Column, Field, Settings,
|
2
|
+
import { Column, Field, Settings, TablePropTypes } from './props';
|
3
3
|
export type ITableFormatData = {
|
4
4
|
data: any[];
|
5
5
|
dataSchema: WeakMap<object, any>;
|
@@ -18,46 +18,7 @@ export type ITableFormatData = {
|
|
18
18
|
translateY: number;
|
19
19
|
};
|
20
20
|
};
|
21
|
-
|
22
|
-
setIndexData: () => Promise<void>;
|
23
|
-
formatColumns: (columns: Column[]) => void;
|
24
|
-
formatDataSchema: (data: any[]) => void;
|
25
|
-
setRowSelection: (row: any, isSelected: boolean) => void;
|
26
|
-
setRowExpand: (row: any, isExpand: boolean) => void;
|
27
|
-
setRowIndex: (row: any, index: number) => void;
|
28
|
-
setColumnAttribute: (col: Column, attrName: string, attrValue: ((...args: any[]) => boolean | number | void | string) | string | boolean | number) => void;
|
29
|
-
setColumnAttributeBySettings: (settings: Settings, checkedVal?: string[]) => void;
|
30
|
-
setAllColumnAttribute: (attrName: string, attrValue: ((...args: any[]) => boolean | number | void | string) | string | boolean | number) => void;
|
31
|
-
getColumnAttribute: (col: Column, attributeName: string) => string | boolean | Record<string, any>;
|
32
|
-
getColumnId: (col: Column) => string;
|
33
|
-
getColumnOrderWidth: (column: Column, orders?: string[]) => number;
|
34
|
-
isActiveColumn: (col: Column) => boolean;
|
35
|
-
isHiddenColumn: (col: Column) => boolean;
|
36
|
-
resolvePageData: (filterFn?: any, sortFn?: any, column?: Column, type?: string, sortScope?: SortScope) => void;
|
37
|
-
resolveByDefColumns: () => void;
|
38
|
-
resetStartEndIndex: () => void;
|
39
|
-
toggleRowSelection: (row: any) => void;
|
40
|
-
toggleAllSelection: (value?: boolean) => void;
|
41
|
-
setAllRowExpand: (value?: boolean) => void;
|
42
|
-
clearSelection: () => void;
|
43
|
-
clearColumnSort: (reset?: boolean) => void;
|
44
|
-
setColumnSortActive: (column: Column, active: boolean) => void;
|
45
|
-
getRowAttribute: (row: any | IEmptyObject, attrName: string) => any;
|
46
|
-
getRowSelection: () => any[];
|
47
|
-
resolveColumnWidth: (root: HTMLElement, autoWidth?: any, offsetWidth?: any) => void;
|
48
|
-
filter: () => void;
|
49
|
-
sortData: (column: Column) => void;
|
50
|
-
isCheckedAll: () => boolean;
|
51
|
-
hasCheckedRow: () => boolean;
|
52
|
-
setRowSelectionAll: (val: boolean) => void;
|
53
|
-
setRowIndeterminate: () => void;
|
54
|
-
updateSettings: (settings?: Settings, rowHeight?: number) => void;
|
55
|
-
changePageRowIndex: (sourceIndex: number, targetIndex: number) => void;
|
56
|
-
pageData: any[];
|
57
|
-
localPagination: any;
|
58
|
-
formatData: ITableFormatData;
|
59
|
-
};
|
60
|
-
declare const _default: (props: TablePropTypes) => {
|
21
|
+
declare const tableSchemaResponse: (props: TablePropTypes) => {
|
61
22
|
formatColumns: (columns: Column[]) => void;
|
62
23
|
formatDataSchema: (data: any[]) => void;
|
63
24
|
setRowSelection: (row: any, isSelected: boolean) => void;
|
@@ -96,4 +57,5 @@ declare const _default: (props: TablePropTypes) => {
|
|
96
57
|
formatData: ITableFormatData;
|
97
58
|
setIndexData: () => Promise<void>;
|
98
59
|
};
|
99
|
-
export
|
60
|
+
export type ITableResponse = ReturnType<typeof tableSchemaResponse>;
|
61
|
+
export default tableSchemaResponse;
|