xrk-components 2.0.0-beta.97 → 2.0.0-beta.98
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/lib/index.css +10 -1
- package/lib/index.esm.js +29 -21
- package/lib/index.umd.js +29 -21
- package/lib/packages/xrk/table/index.d.ts +5 -1
- package/package.json +1 -1
package/lib/index.css
CHANGED
|
@@ -19813,6 +19813,10 @@
|
|
|
19813
19813
|
display: grid;
|
|
19814
19814
|
grid-template-columns: repeat(var(--column-num), 1fr);
|
|
19815
19815
|
gap: 10px 16px;
|
|
19816
|
+
-webkit-box-align: end;
|
|
19817
|
+
-webkit-align-items: flex-end;
|
|
19818
|
+
-ms-flex-align: end;
|
|
19819
|
+
align-items: flex-end;
|
|
19816
19820
|
}
|
|
19817
19821
|
.xrk-search[data-v-a1781a06] > .xrk-form .xrk-form-item {
|
|
19818
19822
|
margin-bottom: 0px;
|
|
@@ -19833,6 +19837,9 @@
|
|
|
19833
19837
|
.xrk-search[data-v-a1781a06] > .xrk-form .xrk-form-item .xrk-select__caret {
|
|
19834
19838
|
color: #161616 !important;
|
|
19835
19839
|
}
|
|
19840
|
+
.xrk-search[data-v-a1781a06] > .xrk-form .xrk-form-item .xrk-input__count-inner {
|
|
19841
|
+
background: transparent;
|
|
19842
|
+
}
|
|
19836
19843
|
.xrk-search[data-v-a1781a06] > .xrk-form .xrk-form-item__label {
|
|
19837
19844
|
padding-right: 6px !important;
|
|
19838
19845
|
}
|
|
@@ -19843,7 +19850,6 @@
|
|
|
19843
19850
|
margin-left: 0;
|
|
19844
19851
|
}
|
|
19845
19852
|
.xrk-search .btn-group[data-v-a1781a06] {
|
|
19846
|
-
margin-top: 24px;
|
|
19847
19853
|
display: -webkit-box;
|
|
19848
19854
|
display: -webkit-flex;
|
|
19849
19855
|
display: -ms-flexbox;
|
|
@@ -20530,6 +20536,9 @@
|
|
|
20530
20536
|
.base-layout-menu .main-menu[data-v-cbc34618]::-webkit-scrollbar {
|
|
20531
20537
|
display: none; /* Chrome/Safari/Opera */
|
|
20532
20538
|
}
|
|
20539
|
+
.base-layout-menu .main-menu[data-v-cbc34618] .xrk-collapse-item {
|
|
20540
|
+
padding: 0 8px 0 4px;
|
|
20541
|
+
}
|
|
20533
20542
|
.base-layout-menu .main-menu[data-v-cbc34618] .xrk-collapse-item__content {
|
|
20534
20543
|
padding-bottom: 0;
|
|
20535
20544
|
}
|
package/lib/index.esm.js
CHANGED
|
@@ -71495,7 +71495,7 @@ script$F.__file = "packages/base/button/button.vue";
|
|
|
71495
71495
|
|
|
71496
71496
|
var _hoisted_1$i = /*#__PURE__*/ createTextVNode("更多");
|
|
71497
71497
|
var _hoisted_2$b = { class: "btn-group" };
|
|
71498
|
-
var _hoisted_3$
|
|
71498
|
+
var _hoisted_3$9 = ["onClick"];
|
|
71499
71499
|
var __default__$C = {
|
|
71500
71500
|
name: 'base-button-more'
|
|
71501
71501
|
};
|
|
@@ -71614,7 +71614,7 @@ var script$E = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$C
|
|
|
71614
71614
|
(_b = (_a = popoverRef.value) === null || _a === void 0 ? void 0 : _a.hide) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
71615
71615
|
(_c = (btn.onClick || btn.click)) === null || _c === void 0 ? void 0 : _c();
|
|
71616
71616
|
}
|
|
71617
|
-
}, toDisplayString(btn.content), 11 /* TEXT, CLASS, PROPS */, _hoisted_3$
|
|
71617
|
+
}, toDisplayString(btn.content), 11 /* TEXT, CLASS, PROPS */, _hoisted_3$9));
|
|
71618
71618
|
}), 128 /* KEYED_FRAGMENT */))
|
|
71619
71619
|
])
|
|
71620
71620
|
]; }),
|
|
@@ -71830,7 +71830,7 @@ var _hoisted_2$a = {
|
|
|
71830
71830
|
key: 0,
|
|
71831
71831
|
style: { "position": "absolute", "width": "100%", "height": "100%", "left": "0", "top": "0" }
|
|
71832
71832
|
};
|
|
71833
|
-
var _hoisted_3$
|
|
71833
|
+
var _hoisted_3$8 = {
|
|
71834
71834
|
key: 0,
|
|
71835
71835
|
style: { "position": "absolute", "width": "100%", "height": "100%", "left": "0", "top": "0" }
|
|
71836
71836
|
};
|
|
@@ -72074,7 +72074,7 @@ var script$C = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$A
|
|
|
72074
72074
|
var _a;
|
|
72075
72075
|
return [
|
|
72076
72076
|
((_a = unref(slots)) === null || _a === void 0 ? void 0 : _a.default)
|
|
72077
|
-
? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
72077
|
+
? (openBlock(), createElementBlock("div", _hoisted_3$8, [
|
|
72078
72078
|
renderSlot(_ctx.$slots, "default", {
|
|
72079
72079
|
slotScope: { activeIndex: activeIndex.value }
|
|
72080
72080
|
})
|
|
@@ -74249,9 +74249,8 @@ var script$k = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$i
|
|
|
74249
74249
|
script$k.__scopeId = "data-v-17eda5db";
|
|
74250
74250
|
script$k.__file = "packages/base/form/form-item.vue";
|
|
74251
74251
|
|
|
74252
|
-
var _hoisted_1$c = { class: "btn-group" };
|
|
74253
|
-
var _hoisted_2$8 = { class: "btn-group-
|
|
74254
|
-
var _hoisted_3$8 = { class: "btn-group-right" };
|
|
74252
|
+
var _hoisted_1$c = { class: "btn-group-left" };
|
|
74253
|
+
var _hoisted_2$8 = { class: "btn-group-right" };
|
|
74255
74254
|
var __default__$h = {
|
|
74256
74255
|
name: 'xrk-search'
|
|
74257
74256
|
};
|
|
@@ -74278,9 +74277,11 @@ var script$j = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$h
|
|
|
74278
74277
|
var searchBtn = computed(function () { return (__assign({ text: '搜索', show: true }, props.searchBtn)); });
|
|
74279
74278
|
var resetBtn = computed(function () { return (__assign({ text: '重置', show: true }, props.resetBtn)); });
|
|
74280
74279
|
var columnNum = ref(5);
|
|
74281
|
-
var searchStyle =
|
|
74282
|
-
|
|
74283
|
-
|
|
74280
|
+
var searchStyle = computed(function () {
|
|
74281
|
+
return {
|
|
74282
|
+
'--column-num': columnNum.value,
|
|
74283
|
+
'--column-len': props.columns.length
|
|
74284
|
+
};
|
|
74284
74285
|
});
|
|
74285
74286
|
var isExpand = ref(false);
|
|
74286
74287
|
var getCurrentColumns = computed(function () {
|
|
@@ -74425,12 +74426,12 @@ var script$j = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$h
|
|
|
74425
74426
|
handleResetClick: handleResetClick
|
|
74426
74427
|
});
|
|
74427
74428
|
return function (_ctx, _cache) {
|
|
74428
|
-
var _a, _b;
|
|
74429
|
+
var _a, _b, _c, _d, _e;
|
|
74429
74430
|
return (openBlock(), createElementBlock("div", {
|
|
74430
74431
|
class: normalizeClass(["xrk-search", {
|
|
74431
|
-
'xrk-search-line': ((_a = __props.columns) === null || _a === void 0 ? void 0 : _a.length) < columnNum.value
|
|
74432
|
+
'xrk-search-line': ((_a = __props.columns) === null || _a === void 0 ? void 0 : _a.length) && ((_b = __props.columns) === null || _b === void 0 ? void 0 : _b.length) < columnNum.value
|
|
74432
74433
|
}]),
|
|
74433
|
-
style: normalizeStyle(
|
|
74434
|
+
style: normalizeStyle(__assign({ marginBottom: ((_c = __props.columns) === null || _c === void 0 ? void 0 : _c.length) ? '16px' : 0 }, unref(searchStyle)))
|
|
74434
74435
|
}, [
|
|
74435
74436
|
createVNode(script$b, {
|
|
74436
74437
|
model: searchValue,
|
|
@@ -74466,8 +74467,11 @@ var script$j = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$h
|
|
|
74466
74467
|
]; }),
|
|
74467
74468
|
_: 1 /* STABLE */
|
|
74468
74469
|
}, 8 /* PROPS */, ["model"]),
|
|
74469
|
-
createElementVNode("div",
|
|
74470
|
-
|
|
74470
|
+
createElementVNode("div", {
|
|
74471
|
+
class: "btn-group",
|
|
74472
|
+
style: normalizeStyle({ marginTop: ((_d = __props.columns) === null || _d === void 0 ? void 0 : _d.length) ? '24px' : 0 })
|
|
74473
|
+
}, [
|
|
74474
|
+
createElementVNode("div", _hoisted_1$c, [
|
|
74471
74475
|
(unref(searchBtn).show)
|
|
74472
74476
|
? (openBlock(), createBlock(script$F, {
|
|
74473
74477
|
key: 0,
|
|
@@ -74493,7 +74497,7 @@ var script$j = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$h
|
|
|
74493
74497
|
_: 1 /* STABLE */
|
|
74494
74498
|
}))
|
|
74495
74499
|
: createCommentVNode("v-if", true),
|
|
74496
|
-
(__props.columns && ((
|
|
74500
|
+
(__props.columns && ((_e = __props.columns) === null || _e === void 0 ? void 0 : _e.length) > columnNum.value * 2)
|
|
74497
74501
|
? (openBlock(), createBlock(script$F, {
|
|
74498
74502
|
key: 2,
|
|
74499
74503
|
type: "default",
|
|
@@ -74517,7 +74521,7 @@ var script$j = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$h
|
|
|
74517
74521
|
}))
|
|
74518
74522
|
: createCommentVNode("v-if", true)
|
|
74519
74523
|
]),
|
|
74520
|
-
createElementVNode("div",
|
|
74524
|
+
createElementVNode("div", _hoisted_2$8, [
|
|
74521
74525
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.otherComponents, function (_a, index) {
|
|
74522
74526
|
var render = _a.render;
|
|
74523
74527
|
return (openBlock(), createBlock(unref(BaseSearchRender), {
|
|
@@ -74526,7 +74530,7 @@ var script$j = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$h
|
|
|
74526
74530
|
}, null, 8 /* PROPS */, ["render"]));
|
|
74527
74531
|
}), 128 /* KEYED_FRAGMENT */))
|
|
74528
74532
|
])
|
|
74529
|
-
])
|
|
74533
|
+
], 4 /* STYLE */)
|
|
74530
74534
|
], 6 /* CLASS, STYLE */));
|
|
74531
74535
|
};
|
|
74532
74536
|
} }));
|
|
@@ -77324,6 +77328,11 @@ var script$3 = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$3
|
|
|
77324
77328
|
var menusRef = ref();
|
|
77325
77329
|
var activeMenus = ref([]);
|
|
77326
77330
|
var _menus = ref([]);
|
|
77331
|
+
var paddingLeft = computed(function () {
|
|
77332
|
+
if (props.level === 0)
|
|
77333
|
+
return (props.level + 1) * 12 + 'px';
|
|
77334
|
+
return (props.level + 1) * 16 + 'px';
|
|
77335
|
+
});
|
|
77327
77336
|
var checkHasChild = function (menu) {
|
|
77328
77337
|
return Array.isArray(menu.menuList) && menu.menuList.length > 0;
|
|
77329
77338
|
};
|
|
@@ -77378,7 +77387,7 @@ var script$3 = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$3
|
|
|
77378
77387
|
title: withCtx(function () { return [
|
|
77379
77388
|
createElementVNode("div", {
|
|
77380
77389
|
style: normalizeStyle({
|
|
77381
|
-
paddingLeft: (
|
|
77390
|
+
paddingLeft: unref(paddingLeft)
|
|
77382
77391
|
}),
|
|
77383
77392
|
class: normalizeClass(menuClassName),
|
|
77384
77393
|
name: menu.url,
|
|
@@ -77423,7 +77432,7 @@ var script$3 = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$3
|
|
|
77423
77432
|
}, [
|
|
77424
77433
|
createElementVNode("div", {
|
|
77425
77434
|
style: normalizeStyle({
|
|
77426
|
-
paddingLeft: (
|
|
77435
|
+
paddingLeft: unref(paddingLeft)
|
|
77427
77436
|
}),
|
|
77428
77437
|
class: normalizeClass(menuClassName),
|
|
77429
77438
|
name: menu.name
|
|
@@ -77897,7 +77906,6 @@ var script$1 = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$1
|
|
|
77897
77906
|
(!__props.searchConfig.hide)
|
|
77898
77907
|
? (openBlock(), createBlock(script$j, {
|
|
77899
77908
|
key: 1,
|
|
77900
|
-
style: { "margin-bottom": "16px" },
|
|
77901
77909
|
ref_key: "XrkSearchRef",
|
|
77902
77910
|
ref: XrkSearchRef,
|
|
77903
77911
|
columns: __props.searchConfig.searchColumns,
|
package/lib/index.umd.js
CHANGED
|
@@ -71498,7 +71498,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
71498
71498
|
|
|
71499
71499
|
var _hoisted_1$i = /*#__PURE__*/ vue.createTextVNode("更多");
|
|
71500
71500
|
var _hoisted_2$b = { class: "btn-group" };
|
|
71501
|
-
var _hoisted_3$
|
|
71501
|
+
var _hoisted_3$9 = ["onClick"];
|
|
71502
71502
|
var __default__$C = {
|
|
71503
71503
|
name: 'base-button-more'
|
|
71504
71504
|
};
|
|
@@ -71617,7 +71617,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
71617
71617
|
(_b = (_a = popoverRef.value) === null || _a === void 0 ? void 0 : _a.hide) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
71618
71618
|
(_c = (btn.onClick || btn.click)) === null || _c === void 0 ? void 0 : _c();
|
|
71619
71619
|
}
|
|
71620
|
-
}, vue.toDisplayString(btn.content), 11 /* TEXT, CLASS, PROPS */, _hoisted_3$
|
|
71620
|
+
}, vue.toDisplayString(btn.content), 11 /* TEXT, CLASS, PROPS */, _hoisted_3$9));
|
|
71621
71621
|
}), 128 /* KEYED_FRAGMENT */))
|
|
71622
71622
|
])
|
|
71623
71623
|
]; }),
|
|
@@ -71833,7 +71833,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
71833
71833
|
key: 0,
|
|
71834
71834
|
style: { "position": "absolute", "width": "100%", "height": "100%", "left": "0", "top": "0" }
|
|
71835
71835
|
};
|
|
71836
|
-
var _hoisted_3$
|
|
71836
|
+
var _hoisted_3$8 = {
|
|
71837
71837
|
key: 0,
|
|
71838
71838
|
style: { "position": "absolute", "width": "100%", "height": "100%", "left": "0", "top": "0" }
|
|
71839
71839
|
};
|
|
@@ -72077,7 +72077,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
72077
72077
|
var _a;
|
|
72078
72078
|
return [
|
|
72079
72079
|
((_a = vue.unref(slots)) === null || _a === void 0 ? void 0 : _a.default)
|
|
72080
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
72080
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$8, [
|
|
72081
72081
|
vue.renderSlot(_ctx.$slots, "default", {
|
|
72082
72082
|
slotScope: { activeIndex: activeIndex.value }
|
|
72083
72083
|
})
|
|
@@ -74252,9 +74252,8 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
74252
74252
|
script$k.__scopeId = "data-v-17eda5db";
|
|
74253
74253
|
script$k.__file = "packages/base/form/form-item.vue";
|
|
74254
74254
|
|
|
74255
|
-
var _hoisted_1$c = { class: "btn-group" };
|
|
74256
|
-
var _hoisted_2$8 = { class: "btn-group-
|
|
74257
|
-
var _hoisted_3$8 = { class: "btn-group-right" };
|
|
74255
|
+
var _hoisted_1$c = { class: "btn-group-left" };
|
|
74256
|
+
var _hoisted_2$8 = { class: "btn-group-right" };
|
|
74258
74257
|
var __default__$h = {
|
|
74259
74258
|
name: 'xrk-search'
|
|
74260
74259
|
};
|
|
@@ -74281,9 +74280,11 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
74281
74280
|
var searchBtn = vue.computed(function () { return (__assign({ text: '搜索', show: true }, props.searchBtn)); });
|
|
74282
74281
|
var resetBtn = vue.computed(function () { return (__assign({ text: '重置', show: true }, props.resetBtn)); });
|
|
74283
74282
|
var columnNum = vue.ref(5);
|
|
74284
|
-
var searchStyle = vue.
|
|
74285
|
-
|
|
74286
|
-
|
|
74283
|
+
var searchStyle = vue.computed(function () {
|
|
74284
|
+
return {
|
|
74285
|
+
'--column-num': columnNum.value,
|
|
74286
|
+
'--column-len': props.columns.length
|
|
74287
|
+
};
|
|
74287
74288
|
});
|
|
74288
74289
|
var isExpand = vue.ref(false);
|
|
74289
74290
|
var getCurrentColumns = vue.computed(function () {
|
|
@@ -74428,12 +74429,12 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
74428
74429
|
handleResetClick: handleResetClick
|
|
74429
74430
|
});
|
|
74430
74431
|
return function (_ctx, _cache) {
|
|
74431
|
-
var _a, _b;
|
|
74432
|
+
var _a, _b, _c, _d, _e;
|
|
74432
74433
|
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
74433
74434
|
class: vue.normalizeClass(["xrk-search", {
|
|
74434
|
-
'xrk-search-line': ((_a = __props.columns) === null || _a === void 0 ? void 0 : _a.length) < columnNum.value
|
|
74435
|
+
'xrk-search-line': ((_a = __props.columns) === null || _a === void 0 ? void 0 : _a.length) && ((_b = __props.columns) === null || _b === void 0 ? void 0 : _b.length) < columnNum.value
|
|
74435
74436
|
}]),
|
|
74436
|
-
style: vue.normalizeStyle(
|
|
74437
|
+
style: vue.normalizeStyle(__assign({ marginBottom: ((_c = __props.columns) === null || _c === void 0 ? void 0 : _c.length) ? '16px' : 0 }, vue.unref(searchStyle)))
|
|
74437
74438
|
}, [
|
|
74438
74439
|
vue.createVNode(script$b, {
|
|
74439
74440
|
model: searchValue,
|
|
@@ -74469,8 +74470,11 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
74469
74470
|
]; }),
|
|
74470
74471
|
_: 1 /* STABLE */
|
|
74471
74472
|
}, 8 /* PROPS */, ["model"]),
|
|
74472
|
-
vue.createElementVNode("div",
|
|
74473
|
-
|
|
74473
|
+
vue.createElementVNode("div", {
|
|
74474
|
+
class: "btn-group",
|
|
74475
|
+
style: vue.normalizeStyle({ marginTop: ((_d = __props.columns) === null || _d === void 0 ? void 0 : _d.length) ? '24px' : 0 })
|
|
74476
|
+
}, [
|
|
74477
|
+
vue.createElementVNode("div", _hoisted_1$c, [
|
|
74474
74478
|
(vue.unref(searchBtn).show)
|
|
74475
74479
|
? (vue.openBlock(), vue.createBlock(script$F, {
|
|
74476
74480
|
key: 0,
|
|
@@ -74496,7 +74500,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
74496
74500
|
_: 1 /* STABLE */
|
|
74497
74501
|
}))
|
|
74498
74502
|
: vue.createCommentVNode("v-if", true),
|
|
74499
|
-
(__props.columns && ((
|
|
74503
|
+
(__props.columns && ((_e = __props.columns) === null || _e === void 0 ? void 0 : _e.length) > columnNum.value * 2)
|
|
74500
74504
|
? (vue.openBlock(), vue.createBlock(script$F, {
|
|
74501
74505
|
key: 2,
|
|
74502
74506
|
type: "default",
|
|
@@ -74520,7 +74524,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
74520
74524
|
}))
|
|
74521
74525
|
: vue.createCommentVNode("v-if", true)
|
|
74522
74526
|
]),
|
|
74523
|
-
vue.createElementVNode("div",
|
|
74527
|
+
vue.createElementVNode("div", _hoisted_2$8, [
|
|
74524
74528
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.otherComponents, function (_a, index) {
|
|
74525
74529
|
var render = _a.render;
|
|
74526
74530
|
return (vue.openBlock(), vue.createBlock(vue.unref(BaseSearchRender), {
|
|
@@ -74529,7 +74533,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
74529
74533
|
}, null, 8 /* PROPS */, ["render"]));
|
|
74530
74534
|
}), 128 /* KEYED_FRAGMENT */))
|
|
74531
74535
|
])
|
|
74532
|
-
])
|
|
74536
|
+
], 4 /* STYLE */)
|
|
74533
74537
|
], 6 /* CLASS, STYLE */));
|
|
74534
74538
|
};
|
|
74535
74539
|
} }));
|
|
@@ -77327,6 +77331,11 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
77327
77331
|
var menusRef = vue.ref();
|
|
77328
77332
|
var activeMenus = vue.ref([]);
|
|
77329
77333
|
var _menus = vue.ref([]);
|
|
77334
|
+
var paddingLeft = vue.computed(function () {
|
|
77335
|
+
if (props.level === 0)
|
|
77336
|
+
return (props.level + 1) * 12 + 'px';
|
|
77337
|
+
return (props.level + 1) * 16 + 'px';
|
|
77338
|
+
});
|
|
77330
77339
|
var checkHasChild = function (menu) {
|
|
77331
77340
|
return Array.isArray(menu.menuList) && menu.menuList.length > 0;
|
|
77332
77341
|
};
|
|
@@ -77381,7 +77390,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
77381
77390
|
title: vue.withCtx(function () { return [
|
|
77382
77391
|
vue.createElementVNode("div", {
|
|
77383
77392
|
style: vue.normalizeStyle({
|
|
77384
|
-
paddingLeft: (
|
|
77393
|
+
paddingLeft: vue.unref(paddingLeft)
|
|
77385
77394
|
}),
|
|
77386
77395
|
class: vue.normalizeClass(menuClassName),
|
|
77387
77396
|
name: menu.url,
|
|
@@ -77426,7 +77435,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
77426
77435
|
}, [
|
|
77427
77436
|
vue.createElementVNode("div", {
|
|
77428
77437
|
style: vue.normalizeStyle({
|
|
77429
|
-
paddingLeft: (
|
|
77438
|
+
paddingLeft: vue.unref(paddingLeft)
|
|
77430
77439
|
}),
|
|
77431
77440
|
class: vue.normalizeClass(menuClassName),
|
|
77432
77441
|
name: menu.name
|
|
@@ -77900,7 +77909,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
77900
77909
|
(!__props.searchConfig.hide)
|
|
77901
77910
|
? (vue.openBlock(), vue.createBlock(script$j, {
|
|
77902
77911
|
key: 1,
|
|
77903
|
-
style: { "margin-bottom": "16px" },
|
|
77904
77912
|
ref_key: "XrkSearchRef",
|
|
77905
77913
|
ref: XrkSearchRef,
|
|
77906
77914
|
columns: __props.searchConfig.searchColumns,
|
|
@@ -32,7 +32,11 @@ export declare type XrkTableRef<S extends Record<string, any> = any, T extends R
|
|
|
32
32
|
/**
|
|
33
33
|
* 刷新当前页,可传入自定义参数(只会作用与这次列表获取,相同变量会被search组件设置的值覆盖)
|
|
34
34
|
*/
|
|
35
|
-
initCurrentList: (customQuery?: S
|
|
35
|
+
initCurrentList: (customQuery?: S, config?: {
|
|
36
|
+
noToTop?: boolean;
|
|
37
|
+
noScroll?: boolean;
|
|
38
|
+
noChange?: boolean;
|
|
39
|
+
}) => Promise<void>;
|
|
36
40
|
/**
|
|
37
41
|
* 回到第一页,并刷新列表,可传入自定义参数(只会作用与这次列表获取,相同变量会被search组件设置的值覆盖)
|
|
38
42
|
*/
|