@bytenew/bn-bus-ui 1.1.470 → 1.1.472
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/common.scss +156 -0
- package/dist/{assocTableSearch-SM_CVRX-.js → assocTableSearch-C5ouliZa.js} +7 -7
- package/dist/bn-bus-ui.es.js +37 -35
- package/dist/bn-bus-ui.umd.js +11 -11
- package/dist/{chooseIPaasData-DiAPNq8e.js → chooseIPaasData-C8iUu-LZ.js} +6 -6
- package/dist/{defaultSet-Boe-aClL.js → defaultSet-DGBaFuZQ.js} +1 -1
- package/dist/{formItemFooter-C0SDJMxy.js → formItemFooter-jI2qEjHk.js} +1 -1
- package/dist/{funcExprDialog-CKoqNPue.js → funcExprDialog-CSGEhbhs.js} +1 -1
- package/dist/{index-DCr-qI8F.js → index-B57kfOip.js} +1 -1
- package/dist/{index-dtWlyRj-.js → index-BR9kvW1T.js} +1 -1
- package/dist/{index-KJF9VIbe.js → index-BZ8-gv9u.js} +2 -2
- package/dist/{index-Dkl99LDZ.js → index-C1_5Z6Qv.js} +19 -19
- package/dist/{index-DlNSw-zS.js → index-CL60mJ8V.js} +2 -2
- package/dist/{index-D3daAln-.js → index-CaKKCOSs.js} +2 -2
- package/dist/{index-lzPnhV2Q.js → index-CpJCIuWy.js} +2 -2
- package/dist/{index-9MLVEBZS.js → index-D9K3c_6Q.js} +1 -1
- package/dist/{index-BOhA9OGm.js → index-DEqgNfIp.js} +2 -2
- package/dist/{index-CpMrxNzG.js → index-Da4V7O6p.js} +2 -2
- package/dist/{index-DPGbX4XR.js → index-DuwRrkFb.js} +2 -2
- package/dist/{index-YQou7VCy.js → index-G37JKf0D.js} +3 -3
- package/dist/{index-E-HfEN1t.js → index-GEQExkYN.js} +2 -2
- package/dist/{index-CrcC6CKv.js → index-R6zcJL9N.js} +3 -3
- package/dist/{index-CcX7k7tk.js → index-j0qILWOg.js} +2 -2
- package/dist/{index-B07Kr2nU.js → index-qBEetQ44.js} +2 -2
- package/dist/{index-DiRAOgjV.js → index-qgDSj6jv.js} +2 -2
- package/dist/{install-CJTJBoxT.js → install-E8f6xhdJ.js} +1376 -1325
- package/dist/install.css +1 -1
- package/dist/{setOption-U0Qwipo4.js → setOption-5WE9OeTL.js} +1 -1
- package/dist/{setRelationOption-1zzfQ9Wn.js → setRelationOption-BqsgX1sm.js} +106 -110
- package/dist/setRelationOption.css +1 -1
- package/package.json +1 -1
package/common.scss
CHANGED
|
@@ -841,3 +841,159 @@ $border-directions: (
|
|
|
841
841
|
overflow: hidden;
|
|
842
842
|
margin-bottom: 0;
|
|
843
843
|
}
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
// ========== Bn-table 公共表格样式(vxe-table / vxe-grid)==========
|
|
847
|
+
// 表头背景色
|
|
848
|
+
$bn-table-header-bg: #fbfbfb;
|
|
849
|
+
// 表格内外边框、单元格分割线颜色
|
|
850
|
+
$bn-table-border-color: #f0f2f5;
|
|
851
|
+
// 表格外层圆角
|
|
852
|
+
$bn-table-radius: 8px;
|
|
853
|
+
// 表头行高 / 数据行行高(与 vxe cellConfig.height 一致)
|
|
854
|
+
$bn-table-row-height: 48px;
|
|
855
|
+
// 表头文字颜色
|
|
856
|
+
$bn-table-text-header: rgba(0, 0, 0, 0.85);
|
|
857
|
+
// 表体单元格文字颜色
|
|
858
|
+
$bn-table-text-body: #606266;
|
|
859
|
+
// 行 hover 背景色
|
|
860
|
+
$bn-table-row-hover-bg: #f5f7fa;
|
|
861
|
+
// 行选中(current)背景色
|
|
862
|
+
$bn-table-row-current-bg: rgb(236, 245, 255);
|
|
863
|
+
|
|
864
|
+
.Bn-table {
|
|
865
|
+
--vxe-ui-table-border-color: #{$bn-table-border-color};
|
|
866
|
+
border-radius: $bn-table-radius;
|
|
867
|
+
overflow: hidden;
|
|
868
|
+
border-color: $bn-table-border-color;
|
|
869
|
+
|
|
870
|
+
.vxe-table--render-wrapper,
|
|
871
|
+
.vxe-table--main-wrapper {
|
|
872
|
+
border-radius: $bn-table-radius;
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
.vxe-table--border-line {
|
|
876
|
+
border-color: $bn-table-border-color;
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
.Bn-table-header-row {
|
|
881
|
+
.vxe-header--column {
|
|
882
|
+
padding: 0;
|
|
883
|
+
background-color: $bn-table-header-bg;
|
|
884
|
+
font-size: 14px;
|
|
885
|
+
font-weight: 600;
|
|
886
|
+
color: $bn-table-text-header;
|
|
887
|
+
height: $bn-table-row-height;
|
|
888
|
+
border-color: $bn-table-border-color;
|
|
889
|
+
|
|
890
|
+
.vxe-cell {
|
|
891
|
+
padding: 0 12px;
|
|
892
|
+
max-height: $bn-table-row-height;
|
|
893
|
+
line-height: $bn-table-row-height;
|
|
894
|
+
overflow: hidden;
|
|
895
|
+
|
|
896
|
+
.vxe-cell--title {
|
|
897
|
+
width: 100%;
|
|
898
|
+
overflow: hidden;
|
|
899
|
+
text-overflow: ellipsis;
|
|
900
|
+
white-space: nowrap;
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
.vxe-checkbox--icon {
|
|
906
|
+
font-weight: 100;
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
.vxe-cell--checkbox {
|
|
910
|
+
margin-right: 1px;
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
.Bn-table-body-row {
|
|
915
|
+
background-color: #fff;
|
|
916
|
+
color: $bn-table-text-body;
|
|
917
|
+
font-size: 14px;
|
|
918
|
+
|
|
919
|
+
&.row--current {
|
|
920
|
+
background-color: $bn-table-row-current-bg !important;
|
|
921
|
+
|
|
922
|
+
> .col--checkbox::before {
|
|
923
|
+
content: "";
|
|
924
|
+
position: absolute;
|
|
925
|
+
left: 0;
|
|
926
|
+
top: 0;
|
|
927
|
+
display: block;
|
|
928
|
+
width: 3px;
|
|
929
|
+
height: 100%;
|
|
930
|
+
background-color: #2783f2;
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
&.row--hover {
|
|
935
|
+
background-color: $bn-table-row-hover-bg !important;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
&.row--current.row--hover {
|
|
939
|
+
background-color: $bn-table-row-current-bg !important;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
.vxe-body--column {
|
|
943
|
+
border-color: $bn-table-border-color;
|
|
944
|
+
height: $bn-table-row-height;
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
// 表体允许多行展示(如规则列表「条件」「店铺」等),行高随内容增高,最小 48px
|
|
949
|
+
.Bn-table--wrap-row {
|
|
950
|
+
.Bn-table-body-row {
|
|
951
|
+
.vxe-body--column {
|
|
952
|
+
height: auto;
|
|
953
|
+
min-height: $bn-table-row-height;
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
.Bn-table-cell:not(.workOrderTable-cell, .workOrder-vxe-number-cell).vxe-body--column {
|
|
958
|
+
.vxe-cell {
|
|
959
|
+
line-height: 22px;
|
|
960
|
+
padding: 13px 12px;
|
|
961
|
+
white-space: normal;
|
|
962
|
+
word-break: break-all;
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
// show-overflow 列仍为单行省略
|
|
967
|
+
.col--ellipsis .vxe-cell {
|
|
968
|
+
line-height: $bn-table-row-height;
|
|
969
|
+
padding: 0 12px;
|
|
970
|
+
white-space: nowrap;
|
|
971
|
+
word-break: normal;
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
.Bn-table-cell {
|
|
976
|
+
.vxe-checkbox--icon {
|
|
977
|
+
font-weight: 100;
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
.vxe-checkbox--label {
|
|
981
|
+
display: none;
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
&:not(.workOrderTable-cell, .workOrder-vxe-number-cell).vxe-body--column {
|
|
985
|
+
height: auto;
|
|
986
|
+
padding: 0;
|
|
987
|
+
|
|
988
|
+
.vxe-cell {
|
|
989
|
+
max-height: none;
|
|
990
|
+
padding: 0 12px;
|
|
991
|
+
color: $bn-table-text-body;
|
|
992
|
+
font-size: 14px;
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
.vxe-cell--checkbox {
|
|
996
|
+
line-height: $bn-table-row-height;
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { cloneDeep as w } from "lodash";
|
|
2
|
-
import { _ as R,
|
|
3
|
-
import { resolveComponent as
|
|
2
|
+
import { _ as R, ad as T } from "./install-E8f6xhdJ.js";
|
|
3
|
+
import { resolveComponent as h, resolveDirective as I, openBlock as b, createBlock as _, withCtx as c, withDirectives as V, createElementBlock as v, createElementVNode as t, createVNode as i, createTextVNode as D, Fragment as x, renderList as U, createCommentVNode as k } from "vue";
|
|
4
4
|
const F = {
|
|
5
5
|
id: "",
|
|
6
6
|
//规则id
|
|
@@ -173,8 +173,8 @@ const F = {
|
|
|
173
173
|
class: "w-empty"
|
|
174
174
|
}, P = { class: "w-flex-center w-flex-wrap w-flex-column-gap25 w-margin-top10" }, j = { class: "w-flex-center" }, A = { class: "w-flex-center" }, J = { class: "w-flex-center" }, M = { class: "w-flex-center w-margin-top10" }, q = { class: "w-flex-right" };
|
|
175
175
|
function H(s, e, r, C, l, g) {
|
|
176
|
-
const d =
|
|
177
|
-
return
|
|
176
|
+
const d = h("el-button"), y = h("BnCondition"), p = h("BnCheck"), m = h("el-tooltip"), o = h("el-dialog"), n = I("loading");
|
|
177
|
+
return b(), _(o, {
|
|
178
178
|
modelValue: l.visible,
|
|
179
179
|
"onUpdate:modelValue": e[5] || (e[5] = (a) => l.visible = a),
|
|
180
180
|
title: "设置数据筛选",
|
|
@@ -207,7 +207,7 @@ function H(s, e, r, C, l, g) {
|
|
|
207
207
|
])
|
|
208
208
|
]),
|
|
209
209
|
default: c(() => [
|
|
210
|
-
V((
|
|
210
|
+
V((b(), v("div", L, [
|
|
211
211
|
t("div", O, [
|
|
212
212
|
e[7] || (e[7] = t("div", { class: "w-flex-center w-flex-column-gap4" }, [
|
|
213
213
|
t("div", { class: "w-line-height20" }, "设置筛选条件"),
|
|
@@ -228,7 +228,7 @@ function H(s, e, r, C, l, g) {
|
|
|
228
228
|
])
|
|
229
229
|
]),
|
|
230
230
|
t("div", N, [
|
|
231
|
-
(
|
|
231
|
+
(b(!0), v(x, null, U(l.ruleData.columnRules, (a, f) => (b(), _(y, {
|
|
232
232
|
key: f,
|
|
233
233
|
modelValue: l.ruleData.columnRules[f],
|
|
234
234
|
"onUpdate:modelValue": (u) => l.ruleData.columnRules[f] = u,
|
|
@@ -248,7 +248,7 @@ function H(s, e, r, C, l, g) {
|
|
|
248
248
|
allowSelectColumn: "",
|
|
249
249
|
onDel: (u) => l.ruleData.columnRules.splice(f, 1)
|
|
250
250
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "columnList", "other-column-list", "postFunc", "onDel"]))), 128)),
|
|
251
|
-
l.ruleData.columnRules.length == 0 ? (
|
|
251
|
+
l.ruleData.columnRules.length == 0 ? (b(), v("div", B, " 请设置筛选条件 ")) : k("", !0)
|
|
252
252
|
]),
|
|
253
253
|
e[12] || (e[12] = t("div", { class: "w-flex-center w-flex-column-gap4 w-margin-top10" }, [
|
|
254
254
|
t("div", { class: "w-line-height20" }, "筛选结果"),
|
package/dist/bn-bus-ui.es.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { B as e, a as o, b as r, c as
|
|
1
|
+
import { B as e, a as o, b as r, c as B, d as t, f as i, g as m, h as d, i as l, j as p, k as F, l as C, m as c, n as g, o as u, p as h, q as D, r as b, s as S, t as T, u as R, v as f, w as x, x as A, y as O, z as P, A as y, C as k, D as I, E as V, F as W, G as v, H as w, I as E, J as G, K as J, L, M as N, N as M, O as U, P as j, Q as q, R as z, S as H, T as K, U as Q, V as Z, W as X, e as Y, Z as _, a0 as $, a1 as aa, a2 as sa, a3 as na, a5 as ea, a6 as oa, a8 as ra, a9 as Ba, aa as ta, ab as ia, ac as ma, ad as da, ae as la } from "./install-E8f6xhdJ.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
export {
|
|
4
4
|
e as BnAddress,
|
|
5
5
|
o as BnAddressForm,
|
|
6
6
|
r as BnAdvancedFilter,
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
B as BnBatchForm,
|
|
8
|
+
t as BnBatchFormDialog,
|
|
9
9
|
i as BnCascader,
|
|
10
10
|
m as BnCascaderPanel,
|
|
11
11
|
d as BnCheck,
|
|
@@ -18,27 +18,27 @@ export {
|
|
|
18
18
|
u as BnDateDualForm,
|
|
19
19
|
h as BnDateForm,
|
|
20
20
|
D as BnDatePicker,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
21
|
+
b as BnDrop,
|
|
22
|
+
S as BnEmptyTip,
|
|
23
|
+
T as BnExportOrder,
|
|
24
|
+
R as BnFileForm,
|
|
25
|
+
f as BnFileView,
|
|
26
|
+
x as BnFilterOption,
|
|
27
|
+
A as BnFilterView,
|
|
28
|
+
O as BnFunExpr,
|
|
29
|
+
P as BnImportOrder,
|
|
30
30
|
y as BnImportTemplate,
|
|
31
31
|
k as BnInpNum,
|
|
32
32
|
I as BnMenus,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
33
|
+
V as BnNumberForm,
|
|
34
|
+
W as BnOrderCard,
|
|
35
|
+
v as BnOrderDetail,
|
|
36
|
+
w as BnOrderShare,
|
|
37
|
+
E as BnRadio,
|
|
38
|
+
G as BnRadioForm,
|
|
39
|
+
J as BnReceiveForm,
|
|
40
|
+
L as BnRelation,
|
|
41
|
+
N as BnRelationForm,
|
|
42
42
|
M as BnSelect,
|
|
43
43
|
U as BnSelectForm,
|
|
44
44
|
j as BnSmartForm,
|
|
@@ -47,19 +47,21 @@ export {
|
|
|
47
47
|
H as BnWebLog,
|
|
48
48
|
K as BnWorkSettingDrop,
|
|
49
49
|
Q as addressParse,
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
Z as bnTableBind,
|
|
51
|
+
X as bnTableWrapBind,
|
|
52
|
+
Y as default,
|
|
53
|
+
_ as getApiBaseUrl,
|
|
52
54
|
$ as getGlobalConfig,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
55
|
+
aa as getSearchComponents,
|
|
56
|
+
sa as getWatchComponents,
|
|
57
|
+
na as idsToTexts,
|
|
58
|
+
ea as insertText,
|
|
59
|
+
oa as mainAppRouterPush,
|
|
60
|
+
ra as recordApiLog,
|
|
61
|
+
Ba as searchValueToJson,
|
|
62
|
+
ta as setGlobalConfig,
|
|
63
|
+
ia as tidyComponents,
|
|
64
|
+
ma as tidyJumpSearchData,
|
|
65
|
+
da as tidyRuleComponents,
|
|
66
|
+
la as tidyShowSubDataFile
|
|
65
67
|
};
|