bkui-vue 0.0.1-beta.166 → 0.0.1-beta.169
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 +53 -53
- package/dist/index.esm.js +399 -250
- package/dist/index.umd.js +53 -53
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/cascader/cascader-panel.d.ts +16 -0
- package/lib/cascader/cascader.css +3 -0
- package/lib/cascader/cascader.d.ts +14 -0
- package/lib/cascader/cascader.less +3 -0
- package/lib/cascader/cascader.variable.css +3 -0
- package/lib/cascader/index.d.ts +47 -1
- package/lib/cascader/index.js +1 -1
- package/lib/date-picker/index.js +1 -1
- package/lib/pagination/index.js +1 -1
- package/lib/popover2/index.d.ts +24 -1
- package/lib/popover2/index.js +1 -1
- package/lib/popover2/plugin-popover.d.ts +7 -0
- package/lib/popover2/popover2.d.ts +11 -0
- package/lib/popover2/props.d.ts +8 -0
- package/lib/popover2/use-floating.d.ts +1 -1
- package/lib/popover2/use-popover-init.d.ts +13 -0
- package/lib/popover2/use-popper-id.d.ts +1 -1
- package/lib/select/index.d.ts +4 -4
- package/lib/select/select.d.ts +1 -1
- package/lib/sideslider/index.js +1 -1
- package/lib/styles/reset.css +36 -0
- package/lib/styles/reset.less +26 -0
- package/lib/styles/reset.variable.css +36 -0
- package/lib/table/const.d.ts +2 -0
- package/lib/table/index.d.ts +7 -1
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/head-filter.css +4 -0
- package/lib/table/plugins/head-filter.less +5 -0
- package/lib/table/plugins/head-filter.variable.css +4 -0
- package/lib/table/table.css +4 -0
- package/lib/table/table.d.ts +10 -8
- package/lib/table/table.variable.css +4 -0
- package/lib/tag-input/index.js +1 -1
- package/package.json +1 -1
- package/lib/table/plugins/head-sort.css +0 -22
package/dist/index.esm.js
CHANGED
@@ -8083,153 +8083,144 @@ const angleDownFill = (props2, context) => {
|
|
8083
8083
|
};
|
8084
8084
|
angleDownFill.displayName = "angleDownFill";
|
8085
8085
|
angleDownFill.inheritAttrs = false;
|
8086
|
-
|
8087
|
-
const
|
8088
|
-
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8089
|
-
return createVNode(bkIcon, mergeProps(p2, {
|
8090
|
-
"data": data$F,
|
8091
|
-
"name": "angleDownLine"
|
8092
|
-
}), null);
|
8093
|
-
};
|
8094
|
-
angleDownLine.displayName = "angleDownLine";
|
8095
|
-
angleDownLine.inheritAttrs = false;
|
8096
|
-
const data$E = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M288 448L336 400 512 576 688 400 736 448 512 672z"}}]}');
|
8086
|
+
JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 762.56L98.72 349.28 189.28 258.72 512 581.44 834.72 258.72 925.28 349.28 512 762.56z"}}]}');
|
8087
|
+
const data$F = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M288 448L336 400 512 576 688 400 736 448 512 672z"}}]}');
|
8097
8088
|
const angleDown = (props2, context) => {
|
8098
8089
|
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8099
8090
|
return createVNode(bkIcon, mergeProps(p2, {
|
8100
|
-
"data": data$
|
8091
|
+
"data": data$F,
|
8101
8092
|
"name": "angleDown"
|
8102
8093
|
}), null);
|
8103
8094
|
};
|
8104
8095
|
angleDown.displayName = "angleDown";
|
8105
8096
|
angleDown.inheritAttrs = false;
|
8106
|
-
const data$
|
8097
|
+
const data$E = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M376 504L600 280 648 328 472 504 648 680 600 728 376 504z"}}]}');
|
8107
8098
|
const angleLeft = (props2, context) => {
|
8108
8099
|
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8109
8100
|
return createVNode(bkIcon, mergeProps(p2, {
|
8110
|
-
"data": data$
|
8101
|
+
"data": data$E,
|
8111
8102
|
"name": "angleLeft"
|
8112
8103
|
}), null);
|
8113
8104
|
};
|
8114
8105
|
angleLeft.displayName = "angleLeft";
|
8115
8106
|
angleLeft.inheritAttrs = false;
|
8116
|
-
const data$
|
8107
|
+
const data$D = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M424 728L376 680 552 504 376 328 424 280 648 504 424 728z"}}]}');
|
8117
8108
|
const angleRight = (props2, context) => {
|
8118
8109
|
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8119
8110
|
return createVNode(bkIcon, mergeProps(p2, {
|
8120
|
-
"data": data$
|
8111
|
+
"data": data$D,
|
8121
8112
|
"name": "angleRight"
|
8122
8113
|
}), null);
|
8123
8114
|
};
|
8124
8115
|
angleRight.displayName = "angleRight";
|
8125
8116
|
angleRight.inheritAttrs = false;
|
8126
|
-
const data$
|
8117
|
+
const data$C = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 704L96 256 187.04 256 512 256 836.96 256 928 256 512 704z"}}]}');
|
8127
8118
|
const angleUpFill = (props2, context) => {
|
8128
8119
|
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8129
8120
|
return createVNode(bkIcon, mergeProps(p2, {
|
8130
|
-
"data": data$
|
8121
|
+
"data": data$C,
|
8131
8122
|
"name": "angleUpFill"
|
8132
8123
|
}), null);
|
8133
8124
|
};
|
8134
8125
|
angleUpFill.displayName = "angleUpFill";
|
8135
8126
|
angleUpFill.inheritAttrs = false;
|
8136
|
-
const data$
|
8127
|
+
const data$B = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 368L736 592 688 640 512 464 336 640 288 592 512 368z"}}]}');
|
8137
8128
|
const angleUp = (props2, context) => {
|
8138
8129
|
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8139
8130
|
return createVNode(bkIcon, mergeProps(p2, {
|
8140
|
-
"data": data$
|
8131
|
+
"data": data$B,
|
8141
8132
|
"name": "angleUp"
|
8142
8133
|
}), null);
|
8143
8134
|
};
|
8144
8135
|
angleUp.displayName = "angleUp";
|
8145
8136
|
angleUp.inheritAttrs = false;
|
8146
|
-
const data$
|
8137
|
+
const data$A = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1194.667","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"fill-rule":"evenodd","d":"M661.331584 0C696.6651477333332 0 745.9971968 20.667040213333333 770.6658858666666 45.333077333333335L978.6642816 253.3329224533333C1003.3316394666667 278.00029312 1024 327.33370112 1024 362.66728575999997L1024 1130.6680490666665C1024 1166.0002986666666 995.3336490666667 1194.6666666666665 959.9974143999999 1194.6666666666665L64 1194.6666666666665C28.666351530666663 1194.6666666666665 0 1166.0002986666666 0 1130.6680490666665L0 64C0 28.666367530666665 28.667684991999998 0 64 0L661.331584 0ZM224 522.6666666666666L138.66666666666666 522.6666666666666 138.66666666666666 818.6666666666666 309.3333333333333 818.6666666666666 309.3333333333333 605.3333333333333 224 605.3333333333333 224 522.6666666666666ZM245.33333333333331 669.3333333333333L245.33333333333331 754.6666666666666 202.66666666666666 754.6666666666666 202.66666666666666 669.3333333333333 245.33333333333331 669.3333333333333ZM309.3333333333333 437.3333333333333L224 437.3333333333333 224 522.6666666666666 309.3333333333333 522.6666666666666 309.3333333333333 437.3333333333333ZM224 352L138.66666666666666 352 138.66666666666666 437.3333333333333 224 437.3333333333333 224 352ZM309.3333333333333 266.66666666666663L224 266.66666666666663 224 352 309.3333333333333 352 309.3333333333333 266.66666666666663ZM682.6666666666666 90.66615466666667L682.6666666666666 341.33352362666665 933.3325610666667 341.33352362666665C929.3322325333334 329.9992546133333 923.3317418666667 318.66631850666664 918.6646911999999 313.9992661333333L709.9995776000001 105.33269930666667C705.3325269333333 100.66564736 693.9982634666667 94.66648490666667 682.6666666666666 90.66615466666667ZM224 181.33333333333331L138.66666666666666 181.33333333333331 138.66666666666666 266.66666666666663 224 266.66666666666663 224 181.33333333333331ZM309.3333333333333 96L224 96 224 181.33333333333331 309.3333333333333 181.33333333333331 309.3333333333333 96Z"}}]}');
|
8147
8138
|
const archiveFill = (props2, context) => {
|
8148
8139
|
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8149
8140
|
return createVNode(bkIcon, mergeProps(p2, {
|
8150
|
-
"data": data$
|
8141
|
+
"data": data$A,
|
8151
8142
|
"name": "archiveFill"
|
8152
8143
|
}), null);
|
8153
8144
|
};
|
8154
8145
|
archiveFill.displayName = "archiveFill";
|
8155
8146
|
archiveFill.inheritAttrs = false;
|
8156
|
-
const data$
|
8147
|
+
const data$z = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","class":"bk-icon","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M416 480h320v64H416l96 96-48 48L288 512l176-176L512 384 416 480z"}}]}');
|
8157
8148
|
const arrowsLeft = (props2, context) => {
|
8158
8149
|
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8159
8150
|
return createVNode(bkIcon, mergeProps(p2, {
|
8160
|
-
"data": data$
|
8151
|
+
"data": data$z,
|
8161
8152
|
"name": "arrowsLeft"
|
8162
8153
|
}), null);
|
8163
8154
|
};
|
8164
8155
|
arrowsLeft.displayName = "arrowsLeft";
|
8165
8156
|
arrowsLeft.inheritAttrs = false;
|
8166
|
-
const data$
|
8157
|
+
const data$y = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M608 480H288v64H608l-96 96 48 48L736 512l-176-176L512 384Z"}}]}');
|
8167
8158
|
const arrowsRight = (props2, context) => {
|
8168
8159
|
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8169
8160
|
return createVNode(bkIcon, mergeProps(p2, {
|
8170
|
-
"data": data$
|
8161
|
+
"data": data$y,
|
8171
8162
|
"name": "arrowsRight"
|
8172
8163
|
}), null);
|
8173
8164
|
};
|
8174
8165
|
arrowsRight.displayName = "arrowsRight";
|
8175
8166
|
arrowsRight.inheritAttrs = false;
|
8176
|
-
const data$
|
8167
|
+
const data$x = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1303.273","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M664.4363636363637 0C676.8000000000001 0 688.5818181818182 4.945454545454545 697.3090909090909 13.672727272727274L697.3090909090909 13.672727272727274 1010.3272727272728 326.6909090909091C1019.0545454545455 335.41818181818184 1024 347.3454545454546 1024 359.70909090909095L1024 359.70909090909095 1024 1256.7272727272727C1024 1282.4727272727273 1003.2 1303.2727272727273 977.4545454545455 1303.2727272727273L977.4545454545455 1303.2727272727273 46.54545454545455 1303.2727272727273C20.8 1303.2727272727273 0 1282.4727272727273 0 1256.7272727272727L0 1256.7272727272727 0 46.54545454545455C0 20.8 20.8 0 46.54545454545455 0L46.54545454545455 0ZM655.2545466181818 560.2713367272728L460.52727249454546 619.8349730909091C436.9818181818182 626.5804288 417.7636361309091 651.1440616727273 417.7636361309091 674.6895173818182L417.7636361309091 880.1077015272728C417.7636361309091 880.1077015272728 403.6363636363636 870.5622434909092 372.19999976727274 875.0167924363637 326 881.6349742545455 288.5818181818182 917.016790109091 288.5818181818182 954.1804264727273 288.5818181818182 991.3440628363637 326 1014.1258798545455 372.19999976727274 1007.5076980363638 418.4 1001.016790109091 452.2545454545455 966.6531560727274 452.2545454545455 929.4895197090908L452.2545454545455 754.1076992000001C452.2545454545455 737.5622469818182 472.10908858181824 730.562243490909 472.10908858181824 730.562243490909L644.3090897454546 676.5986071272727C644.3090897454546 676.5986071272727 663.4000011636364 670.2349730909091 663.4000011636364 687.7986071272728L663.4000011636364 828.689519709091C663.4000011636364 828.689519709091 645.8363624727273 818.6349707636364 614.4 822.4531549090909 568.2000011636363 828.053154909091 530.7818170181819 862.6713367272728 530.7818170181819 899.8349730909091 530.7818170181819 936.9986094545455 568.2000011636363 960.5440651636363 614.4 954.9440651636363 660.5999988363636 949.3440651636365 698.0181829818182 914.7258833454546 698.0181829818182 877.5622469818182L698.0181829818182 590.8167912727273C698.0181829818182 567.1440616727273 678.9272715636364 553.5258810181818 655.2545466181818 560.2713367272728ZM642.9090909090909 107.34545454545454L642.9090909090909 381.0909090909091 916.6545454545455 381.0909090909091 642.9090909090909 107.34545454545454Z"}}]}');
|
8177
8168
|
const audioFill = (props2, context) => {
|
8178
8169
|
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8179
8170
|
return createVNode(bkIcon, mergeProps(p2, {
|
8180
|
-
"data": data$
|
8171
|
+
"data": data$x,
|
8181
8172
|
"name": "audioFill"
|
8182
8173
|
}), null);
|
8183
8174
|
};
|
8184
8175
|
audioFill.displayName = "audioFill";
|
8185
8176
|
audioFill.inheritAttrs = false;
|
8186
8177
|
JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M384 289.28c103.50933333333333 18.986666666666665 183.89333333333332 99.37066666666666 202.62399999999997 201.344l5.3759999999999994 37.376c1.664 83.62666666666667 32.59733333333333 159.7013333333333 82.94399999999999 218.70933333333335 32.72533333333333 37.84533333333333 81.024 62.29333333333333 135.08266666666665 63.53066666666667 2.9013333333333335 0.128 6.0586666666666655 0.21333333333333332 9.216 0.21333333333333332 49.834666666666664 0 95.488-17.962666666666664 130.81599999999997-47.78666666666667 47.40266666666666-42.367999999999995 77.312-104.10666666666665 77.312-172.79999999999998 0-13.952-1.2373333333333334-27.562666666666665-3.584-40.831999999999994-15.786666666666665-115.62666666666667-96.29866666666666-210.43200000000002-203.73333333333335-246.91199999999998-5.8453333333333335-59.98933333333333-33.49333333333333-112.21333333333332-75.47733333333332-148.224-37.33333333333333-34.432-87.03999999999999-55.42399999999999-141.61066666666665-55.42399999999999-15.445333333333332 0-30.506666666666664 1.664-45.01333333333333 4.864-50.986666666666665 13.141333333333332-95.01866666666666 42.83733333333333-126.208 83.072-5.333333333333333 6.143999999999999-8.362666666666666 13.568-8.362666666666666 21.674666666666667 0 9.685333333333332 4.309333333333333 18.389333333333333 11.136 24.27733333333333l3.8826666666666663 0.042666666666666665c-16.21333333333333-4.053333333333333-34.901333333333326-6.613333333333333-54.10133333333333-7.04-6.101333333333333-0.38399999999999995-12.927999999999999-0.6399999999999999-19.797333333333334-0.6399999999999999s-13.696 0.21333333333333332-20.43733333333333 0.6826666666666666l0.9386666666666665-10.922666666666666c2.1333333333333333-25.813333333333333 17.194666666666667-47.70133333333334 38.656-59.30666666666666 9.173333333333332-6.015999999999999 14.933333333333332-15.872 14.933333333333332-27.093333333333334 0-17.749333333333333-14.378666666666668-32.128-32.128-32.128-6.528 0-12.629333333333332 1.9626666666666666-17.706666666666663 5.333333333333333-21.290666666666667 13.653333333333332-38.18666666666667 32.81066666666666-48.81066666666666 55.42399999999999-15.274666666666665-6.442666666666666-32.85333333333333-10.709333333333333-51.413333333333334-10.709333333333333-8.661333333333333 0-17.109333333333332 0.9386666666666665-25.258666666666663 2.6879999999999997-14.037333333333333 3.1999999999999997-24.959999999999997 16.256-24.959999999999997 31.872 0 18.090666666666664 14.677333333333332 32.768 32.768 32.768 2.474666666666667 0 4.906666666666666-0.29866666666666664 7.253333333333334-0.8106666666666666 2.1333333333333333-0.29866666666666664 4.8213333333333335-0.512 7.552-0.512 18.048 0 34.176 8.405333333333333 44.629333333333335 21.546666666666667l0.08533333333333333 0.128c-122.24000000000001 28.16-197.12 139.51999999999998-240 236.79999999999998-33.28 74.88-80.63999999999999 215.67999999999998-24.319999999999997 316.79999999999995 29.610666666666663 61.056 88.96 103.55199999999999 158.72 108.75733333333332l704.64 0.042666666666666665c17.663999999999998 0 32-14.336 32-32s-14.336-32-32-32h-704c-46.848-4.906666666666666-85.80266666666667-34.474666666666664-103.97866666666665-75.34933333333333-44.50133333333333-80.17066666666666 3.498666666666667-208.81066666666666 26.538666666666664-260.65066666666667 65.91999999999999-147.2 156.79999999999998-217.59999999999997 275.84-206.71999999999997zM480 229.12c22.826666666666668-30.976 55.296-53.63199999999999 92.88533333333334-63.744 10.069333333333333-2.1759999999999997 20.266666666666666-3.2426666666666666 30.72-3.2426666666666666 37.888 0 72.448 14.250666666666667 98.60266666666666 37.67466666666667 31.786666666666665 28.8 51.754666666666665 70.39999999999999 51.754666666666665 116.69333333333333 0 1.2373333333333334 0 2.474666666666667-0.042666666666666665 3.7119999999999997l0 32.46933333333333 24.959999999999997 3.84c95.27466666666666 23.296 167.25333333333333 101.50399999999999 180.992 198.4 1.92 10.495999999999999 2.944 21.119999999999997 2.944 32 0 52.522666666666666-23.59466666666667 99.49866666666665-60.75733333333333 130.98666666666665-21.503999999999998 16.554666666666666-48.512 26.368-77.824 26.368-4.224 0-8.448-0.21333333333333332-12.586666666666666-0.5973333333333333 0.512 0.042666666666666665 0.512 0.042666666666666665 0.512 0.042666666666666665-35.583999999999996 0-67.54133333333333-15.530666666666665-89.472-40.19199999999999-39.38133333333333-48.768-63.40266666666666-111.18933333333332-64.08533333333332-179.15733333333333l-5.76-42.410666666666664c-22.954666666666668-111.744-100.30933333333333-201.38666666666666-202.58133333333333-241.152-1.1093333333333333-0.6399999999999999 0.21333333333333332-0.5546666666666666 1.5359999999999998-0.5546666666666666 10.239999999999998 0 19.413333333333334-4.522666666666666 25.599999999999998-11.690666666666667z"}}]}');
|
8187
|
-
const data$
|
8178
|
+
const data$w = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 0c-17.919999999999998 0-32 14.08-32 32s14.08 32 32 32c247.04 0 448 200.95999999999998 448 448 0 17.919999999999998 14.08 32 32 32s32-14.08 32-32c0-282.24-229.76-512-512-512z"}}]}');
|
8188
8179
|
const circle = (props2, context) => {
|
8189
8180
|
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8190
8181
|
return createVNode(bkIcon, mergeProps(p2, {
|
8191
|
-
"data": data$
|
8182
|
+
"data": data$w,
|
8192
8183
|
"name": "circle"
|
8193
8184
|
}), null);
|
8194
8185
|
};
|
8195
8186
|
circle.displayName = "circle";
|
8196
8187
|
circle.inheritAttrs = false;
|
8197
|
-
const data$
|
8188
|
+
const data$v = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M902.56 166.56L857.44 121.44 512 466.72 166.56 121.44 121.44 166.56 466.72 512 121.44 857.44 166.56 902.56 512 557.28 857.44 902.56 902.56 857.44 557.28 512 902.56 166.56z"}}]}');
|
8198
8189
|
const closeLine = (props2, context) => {
|
8199
8190
|
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8200
8191
|
return createVNode(bkIcon, mergeProps(p2, {
|
8201
|
-
"data": data$
|
8192
|
+
"data": data$v,
|
8202
8193
|
"name": "closeLine"
|
8203
8194
|
}), null);
|
8204
8195
|
};
|
8205
8196
|
closeLine.displayName = "closeLine";
|
8206
8197
|
closeLine.inheritAttrs = false;
|
8207
|
-
const data$
|
8198
|
+
const data$u = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","class":"bk-icon","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;","overflow":"hidden","viewBox":"0 0 1024 1024"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM670.4 625.1l-45.3 45.3L512 557.3 398.9 670.4l-45.3-45.3L466.7 512 353.6 398.9l45.3-45.3L512 466.7l113.1-113.1 45.3 45.3L557.3 512 670.4 625.1z"}}]}');
|
8208
8199
|
const close$1 = (props2, context) => {
|
8209
8200
|
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8210
8201
|
return createVNode(bkIcon, mergeProps(p2, {
|
8211
|
-
"data": data$
|
8202
|
+
"data": data$u,
|
8212
8203
|
"name": "close"
|
8213
8204
|
}), null);
|
8214
8205
|
};
|
8215
8206
|
close$1.displayName = "close";
|
8216
8207
|
close$1.inheritAttrs = false;
|
8217
8208
|
JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M1011.1999999999999 489.59999999999997l-224-224c-12.799999999999999-12.799999999999999-32.64-12.799999999999999-45.44 0s-12.799999999999999 32.64 0 45.44l201.59999999999997 200.95999999999998-201.59999999999997 201.59999999999997c-12.799999999999999 12.799999999999999-12.799999999999999 32.64 0 45.44 6.3999999999999995 6.3999999999999995 14.719999999999999 9.6 22.4 9.6s16.64-3.1999999999999997 22.4-9.6l224-224c12.799999999999999-12.799999999999999 12.799999999999999-33.28 0.6399999999999999-45.44z"}},{"type":"element","name":"path","attributes":{"d":"M282.24 265.59999999999997c-12.799999999999999-12.799999999999999-32.64-12.799999999999999-45.44 0l-224 224c-12.799999999999999 12.799999999999999-12.799999999999999 32.64 0 45.44l224 224c6.3999999999999995 5.76 14.719999999999999 8.959999999999999 23.04 8.959999999999999s16.64-3.1999999999999997 22.4-9.6c12.799999999999999-12.799999999999999 12.799999999999999-32.64 0-45.44l-201.59999999999997-200.95999999999998 201.59999999999997-201.59999999999997c12.159999999999998-12.159999999999998 12.159999999999998-32.64 0-44.8z"}},{"type":"element","name":"path","attributes":{"d":"M616.3199999999999 129.27999999999997c-16.64-5.119999999999999-34.56 5.119999999999999-39.04 22.4l-192 704c-4.4799999999999995 17.28 5.119999999999999 34.56 22.4 39.04 2.5599999999999996 0.6399999999999999 5.76 1.2799999999999998 8.32 1.2799999999999998 14.08 0 26.88-9.6 30.72-23.68l192-704c4.4799999999999995-16.64-5.119999999999999-34.56-22.4-39.04z"}}]}');
|
8218
|
-
const data$
|
8209
|
+
const data$t = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M608 512A96 96 0 0 1 512 608 96 96 0 0 1 416 512 96 96 0 0 1 608 512z"}},{"type":"element","name":"path","attributes":{"d":"M860.8 558.4c4.8-30.4 4.8-62.4 0-92.8l67.2-57.6c9.6-8 14.4-22.4 9.6-35.2-19.2-59.2-51.2-115.2-92.8-161.6-6.4-6.4-14.4-11.2-24-11.2-3.2 0-8 0-11.2 1.6l-83.2 30.4c-24-19.2-52.8-35.2-81.6-46.4l-16-86.4c-1.6-12.8-12.8-22.4-25.6-25.6-60.8-12.8-124.8-12.8-185.6 0-12.8 3.2-22.4 12.8-24 25.6l-16 86.4c-28.8 11.2-56 27.2-81.6 46.4l-83.2-30.4c-3.2-1.6-6.4-1.6-11.2-1.6-9.6 0-17.6 3.2-24 11.2-41.6 46.4-73.6 100.8-92.8 161.6-4.8 12.8 0 27.2 9.6 35.2l67.2 57.6C160 496 160 528 163.2 558.4L96 616c-9.6 8-14.4 22.4-9.6 35.2 19.2 59.2 51.2 115.2 92.8 161.6 6.4 6.4 14.4 11.2 24 11.2 3.2 0 8 0 11.2-1.6l83.2-30.4c24 19.2 52.8 35.2 81.6 46.4l16 86.4c1.6 12.8 12.8 22.4 25.6 25.6 60.8 12.8 124.8 12.8 185.6 0 12.8-3.2 22.4-12.8 25.6-25.6l16-86.4c28.8-11.2 56-27.2 81.6-46.4l83.2 30.4c3.2 1.6 6.4 1.6 11.2 1.6 9.6 0 17.6-3.2 24-11.2 41.6-46.4 73.6-100.8 92.8-161.6 3.2-12.8 0-27.2-11.2-35.2L860.8 558.4zM512 672c-88 0-160-72-160-160s72-160 160-160 160 72 160 160S600 672 512 672z"}}]}');
|
8219
8210
|
const cogShape = (props2, context) => {
|
8220
8211
|
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8221
8212
|
return createVNode(bkIcon, mergeProps(p2, {
|
8222
|
-
"data": data$
|
8213
|
+
"data": data$t,
|
8223
8214
|
"name": "cogShape"
|
8224
8215
|
}), null);
|
8225
8216
|
};
|
8226
8217
|
cogShape.displayName = "cogShape";
|
8227
8218
|
cogShape.inheritAttrs = false;
|
8228
|
-
const data$
|
8219
|
+
const data$s = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M496 216l-76.32 76.32 152.64 152.8H64v101.76H572.16l-152.48 152.8L496 776 775.52 496Zm362.4 0v560H960v-560Z"}}]}');
|
8229
8220
|
const collapseLeft = (props2, context) => {
|
8230
8221
|
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8231
8222
|
return createVNode(bkIcon, mergeProps(p2, {
|
8232
|
-
"data": data$
|
8223
|
+
"data": data$s,
|
8233
8224
|
"name": "collapseLeft"
|
8234
8225
|
}), null);
|
8235
8226
|
};
|
@@ -8237,94 +8228,94 @@ collapseLeft.displayName = "collapseLeft";
|
|
8237
8228
|
collapseLeft.inheritAttrs = false;
|
8238
8229
|
JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M864 128H288c-17.6 0-32 14.4-32 32v96h-96c-17.6 0-32 14.4-32 32v576c0 17.6 14.4 32 32 32h576c17.6 0 32-14.4 32-32v-96h96c17.6 0 32-14.4 32-32V160C896 142.4 881.6 128 864 128zM704 704v64 64H192V320h64 64 384V704zM832 704h-64V288c0-17.6-14.4-32-32-32H320v-64h512V704z"}},{"type":"element","name":"path","attributes":{"d":"M275.2 419.2H611.2V483.2H275.2z"}},{"type":"element","name":"path","attributes":{"d":"M272 544H608V608H272z"}},{"type":"element","name":"path","attributes":{"d":"M272 672H608V736H272z"}}]}');
|
8239
8230
|
JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1170.2857142857142","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M176.27428571428572 248.68571428571425c100.74209523809523 24.673523809523807 216.40533333333332 38.863238095238096 335.335619047619 38.863238095238096s234.5935238095238-14.14095238095238 345.38057142857144-40.86247619047619c106.30095238095238-27.209142857142858 167.00952380952378-74.02057142857143 167.00952380952378-100.35199999999999 0-49.00571428571428-180.66285714285715-146.28571428571428-512-146.28571428571428s-512 95.81714285714285-512 146.28571428571428c0 26.33142857142857 60.70857142857143 73.14285714285714 176.27428571428572 102.4z"}},{"type":"element","name":"path","attributes":{"d":"M856.5028571428571 923.7942857142857c-99.2304761904762 25.6-213.13828571428573 40.27733333333333-330.45942857142853 40.27733333333333-4.924952380952381 0-9.849904761904762-0.04876190476190476-14.774857142857142-0.09752380952380953-3.4620952380952374 0.04876190476190476-8.387047619047618 0.09752380952380953-13.360761904761905 0.09752380952380953-117.32114285714286 0-231.18019047619046-14.677333333333332-339.87047619047615-42.37409523809524-113.37142857142858 37.156571428571425-157.98857142857142 81.77371428571428-157.98857142857142 102.25371428571428 0 49.00571428571428 180.66285714285715 146.28571428571428 512 146.28571428571428s512-95.08571428571427 512-146.28571428571428c0-20.479999999999997-44.61714285714286-65.09714285714286-167.49714285714285-100.2057142857143z"}},{"type":"element","name":"path","attributes":{"d":"M856.5028571428571 626.8342857142857c-103.37523809523809 25.063619047619046-222.0617142857143 39.44838095238095-344.16152380952377 39.44838095238095s-240.73752380952382-14.384761904761904-354.4990476190476-41.54514285714286c-113.27390476190476 37.20533333333333-157.8910476190476 82.55390476190476-157.8910476190476 106.69104761904762 0 49.00571428571428 180.66285714285715 146.28571428571428 512 146.28571428571428s512-95.08571428571427 512-146.28571428571428c0-24.137142857142855-44.61714285714286-69.48571428571428-167.49714285714285-104.5942857142857z"}},{"type":"element","name":"path","attributes":{"d":"M856.5028571428571 332.0685714285714h-13.165714285714285c-99.42552380952381 25.40495238095238-213.62590476190476 40.03352380952381-331.23961904761904 40.22857142857142-3.072 0-6.534095238095238 0.04876190476190476-10.04495238095238 0.04876190476190476-114.00533333333333 0-224.88990476190475-13.604571428571429-330.9958095238095-39.30209523809524l-2.8769523809523805 1.9504761904761905c-123.61142857142858 30.72-168.22857142857143 77.53142857142858-168.22857142857143 99.47428571428571 0 49.00571428571428 180.66285714285715 146.28571428571428 512 146.28571428571428s512-95.81714285714285 512-146.28571428571428c0-21.942857142857143-44.61714285714286-68.7542857142857-167.49714285714285-102.4z"}}]}');
|
8240
|
-
const data$
|
8231
|
+
const data$r = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M928 224H672v-64c0-35.2-28.8-64-64-64H416c-35.2 0-64 28.8-64 64v64H96v64h112v576c0 35.2 28.8 64 64 64h480c35.2 0 64-28.8 64-64V288h112V224zM432 160h160c9.6 0 16 6.4 16 16v48H416v-48C416 166.4 422.4 160 432 160zM736 864H288c-9.6 0-16-6.4-16-16V288h480v560C752 857.6 745.6 864 736 864z"}},{"type":"element","name":"path","attributes":{"d":"M576 400H640V752H576V400z"}},{"type":"element","name":"path","attributes":{"d":"M384 400H448V752H384V400z"}}]}');
|
8241
8232
|
const del = (props2, context) => {
|
8242
8233
|
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8243
8234
|
return createVNode(bkIcon, mergeProps(p2, {
|
8244
|
-
"data": data$
|
8235
|
+
"data": data$r,
|
8245
8236
|
"name": "del"
|
8246
8237
|
}), null);
|
8247
8238
|
};
|
8248
8239
|
del.displayName = "del";
|
8249
8240
|
del.inheritAttrs = false;
|
8250
8241
|
JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1097.143","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M698.6979072 34.411393901714284C704.0406784 39.04304329142857 707.1085714285714 45.76605271771429 707.1085714285714 52.83693527771428L707.1085714285714 1069.3276013714285C707.1085714285714 1076.3886738285712 704.0452278857143 1083.1024822857141 698.7138852571428 1087.7323337142855 693.3825389714286 1092.362185142857 686.3058176 1094.453295542857 679.3142857142858 1093.4647442285714L66.27961892571427 1005.9371263999999C42.24804234971429 1002.5144795428571 24.393142857142855 981.9369252571428 24.393142857142855 957.6628406857142L24.393142857142855 164.50169709714285C24.393142857142855 140.22761252571428 42.24804234971429 119.65005750857142 66.27961892571427 116.22741138285714L66.32838107428572 116.22741138285714 679.2655250285715 28.699792423131427C686.2647552000001 27.695727027199997 693.355136 29.77974452662857 698.6979072 34.411393901714284ZM950.9180964571428 122.22512566857142C977.8485504 122.22512566857142 999.68 144.05657417142857 999.68 170.9870306742857L999.68 951.1775049142856C999.68 978.1079625142856 977.8485504 999.9394121142856 950.9180964571428 999.9394121142856L755.8704749714285 999.9394121142856 755.8704749714285 902.4156013714285 902.1561892571428 902.4156013714285 902.1561892571428 219.7489353142857 755.8704749714285 219.7489353142857 755.8704749714285 122.22512566857142 950.9180964571428 122.22512566857142ZM268.25142857142856 366.03464959999997L170.72761892571427 366.03464959999997 170.72761892571427 756.1298870857141 268.25142857142856 756.1298870857141 365.7752382171428 658.606076342857 463.2990464 756.1298870857141 560.8228571428571 756.1298870857141 560.8228571428571 366.03464959999997 463.2990464 366.03464959999997 463.2990464 609.3077906285713 365.7752382171428 512.3203620571429 268.73904749714285 609.8441727999999 268.25142857142856 366.03464959999997Z"}}]}');
|
8251
|
-
const data$
|
8242
|
+
const data$q = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M704 352l48 48-304 304-176-176 48-48 128 128z"}}]}');
|
8252
8243
|
const done = (props2, context) => {
|
8253
8244
|
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8254
8245
|
return createVNode(bkIcon, mergeProps(p2, {
|
8255
|
-
"data": data$
|
8246
|
+
"data": data$q,
|
8256
8247
|
"name": "done"
|
8257
8248
|
}), null);
|
8258
8249
|
};
|
8259
8250
|
done.displayName = "done";
|
8260
8251
|
done.inheritAttrs = false;
|
8261
|
-
const data$
|
8252
|
+
const data$p = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 768c-6.3999999999999995 0-13.44-2.5599999999999996-18.56-8.32l-356.48-384c-8.32-8.959999999999999-10.879999999999999-23.04-7.04-35.199999999999996s14.08-20.479999999999997 25.599999999999998-20.479999999999997h712.96c11.52 0 21.119999999999997 8.32 25.599999999999998 20.479999999999997s1.2799999999999998 26.24-7.04 35.199999999999996l-356.48 384c-5.119999999999999 5.76-12.159999999999998 8.32-18.56 8.32z"}}]}');
|
8262
8253
|
const downShape = (props2, context) => {
|
8263
8254
|
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8264
8255
|
return createVNode(bkIcon, mergeProps(p2, {
|
8265
|
-
"data": data$
|
8256
|
+
"data": data$p,
|
8266
8257
|
"name": "downShape"
|
8267
8258
|
}), null);
|
8268
8259
|
};
|
8269
8260
|
downShape.displayName = "downShape";
|
8270
8261
|
downShape.inheritAttrs = false;
|
8271
|
-
const data$
|
8262
|
+
const data$o = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","class":"bk-icon","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;","overflow":"hidden","viewBox":"0 0 1024 1024"},"elements":[{"type":"element","name":"path","attributes":{"d":"M288 448L336 400 512 576 688 400 736 448 512 672z"}}]}');
|
8272
8263
|
const downSmall = (props2, context) => {
|
8273
8264
|
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8274
8265
|
return createVNode(bkIcon, mergeProps(p2, {
|
8275
|
-
"data": data$
|
8266
|
+
"data": data$o,
|
8276
8267
|
"name": "downSmall"
|
8277
8268
|
}), null);
|
8278
8269
|
};
|
8279
8270
|
downSmall.displayName = "downSmall";
|
8280
8271
|
downSmall.inheritAttrs = false;
|
8281
|
-
const data$
|
8272
|
+
const data$n = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M609.6 201.6L203.2 609.6 203.2 710.4 304 710.4 712 304z"}},{"type":"element","name":"path","attributes":{"d":"M128 800H896V896H128z"}},{"type":"element","name":"path","attributes":{"d":"M683.6717566325265 128.04165515828316L785.4933559547056 229.86680878681256 740.2377321198037 275.1208529300033 638.4161327976245 173.2956993014738z"}}]}');
|
8282
8273
|
const editLine = (props2, context) => {
|
8283
8274
|
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8284
8275
|
return createVNode(bkIcon, mergeProps(p2, {
|
8285
|
-
"data": data$
|
8276
|
+
"data": data$n,
|
8286
8277
|
"name": "editLine"
|
8287
8278
|
}), null);
|
8288
8279
|
};
|
8289
8280
|
editLine.displayName = "editLine";
|
8290
8281
|
editLine.inheritAttrs = false;
|
8291
|
-
const data$
|
8282
|
+
const data$m = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M320 512c0 35.199999999999996-28.8 64-64 64s-64-28.8-64-64c0-35.199999999999996 28.8-64 64-64s64 28.8 64 64zM512 448c-35.199999999999996 0-64 28.8-64 64s28.8 64 64 64 64-28.8 64-64c0-35.199999999999996-28.8-64-64-64zM768 448c-35.199999999999996 0-64 28.8-64 64s28.8 64 64 64 64-28.8 64-64c0-35.199999999999996-28.8-64-64-64z"}}]}');
|
8292
8283
|
const ellipsis = (props2, context) => {
|
8293
8284
|
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8294
8285
|
return createVNode(bkIcon, mergeProps(p2, {
|
8295
|
-
"data": data$
|
8286
|
+
"data": data$m,
|
8296
8287
|
"name": "ellipsis"
|
8297
8288
|
}), null);
|
8298
8289
|
};
|
8299
8290
|
ellipsis.displayName = "ellipsis";
|
8300
8291
|
ellipsis.inheritAttrs = false;
|
8301
8292
|
JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M885.76 840.64l-148.96-149.12a344.16 344.16 0 1 0-45.28 45.28l149.12 148.96a32 32 0 1 0 45.12-45.12ZM472 752A280 280 0 1 1 752 472 280.32 280.32 0 0 1 472 752Z"}},{"type":"element","name":"path","attributes":{"d":"M576 448H496V368a32 32 0 0 0-64 0v80H352a32 32 0 0 0 0 64h80v80a32 32 0 0 0 64 0V512h80a32 32 0 0 0 0-64Z"}}]}');
|
8302
|
-
const data$
|
8293
|
+
const data$l = 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":"M452.7573333333333 510.91200000000003L225.83338666666668 737.8346666666666 286.1730133333333 798.1738666666666 513.0965333333334 571.2511999999999 739.8399999999999 797.9946666666666 797.9946666666666 739.8399999999999 571.2511999999999 513.0965333333334 798.1738666666666 286.1730133333333 737.8346666666666 225.83338666666668 510.91200000000003 452.7573333333333 283.9867733333333 225.83338666666668 225.83338666666668 283.9867733333333 452.7573333333333 510.91200000000003Z","clip-rule":"evenodd"}}]}');
|
8303
8294
|
const error = (props2, context) => {
|
8304
8295
|
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8305
8296
|
return createVNode(bkIcon, mergeProps(p2, {
|
8306
|
-
"data": data$
|
8297
|
+
"data": data$l,
|
8307
8298
|
"name": "error"
|
8308
8299
|
}), null);
|
8309
8300
|
};
|
8310
8301
|
error.displayName = "error";
|
8311
8302
|
error.inheritAttrs = false;
|
8312
8303
|
JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1097.143","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M698.6369535999999 21.90055387428571C703.9797248 26.53220315428571 707.0476178285713 33.25521261714285 707.0476178285713 40.326095360000004L707.0476178285713 1056.8167606857141C707.0476178285713 1063.8778368 703.9842779428571 1070.5916416 698.6529316571427 1075.2214930285713 693.3215890285713 1079.8513481142857 686.2448676571429 1081.9424548571428 679.2533321142857 1080.953903542857L66.21866678857141 993.4262857142858C42.18708992 990.0036388571428 24.332190354285718 969.4260845714285 24.332190354285718 945.152L24.332190354285718 151.99085714285712C24.332190354285718 127.71677257142855 42.18708992 107.13921718857142 66.21866678857141 103.71657142857141L66.26742857142857 103.71657142857141 679.2045714285714 16.188952502857138C686.2038015999999 15.18488685714286 693.2941824 17.26890459428571 698.6369535999999 21.90055387428571ZM950.8571428571428 109.71428571428571C977.7876004571428 109.71428571428571 999.6190463999999 131.54573421714286 999.6190463999999 158.4761903542857L999.6190463999999 938.6666678857142C999.6190463999999 965.5971218285714 977.7876004571428 987.4285714285713 950.8571428571428 987.4285714285713L755.8095250285714 987.4285714285713 755.8095250285714 889.9047606857142 902.0952393142857 889.9047606857142 902.0952393142857 207.23809536 755.8095250285714 207.23809536 755.8095250285714 109.71428571428571 950.8571428571428 109.71428571428571ZM287.69523821714284 353.52381074285717L170.6666667885714 353.52381074285717 307.2 548.5714285714286 170.6666667885714 743.6190463999999 287.69523821714284 743.6190463999999 365.71428571428567 632.1493321142857 443.7333321142857 743.6190463999999 560.7619035428571 743.6190463999999 424.2285714285714 548.5714285714286 560.7619035428571 353.52381074285717 443.7333321142857 353.52381074285717 365.71428571428567 464.9935250285714 287.69523821714284 353.52381074285717Z"}}]}');
|
8313
|
-
const data$
|
8304
|
+
const data$k = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 64C264 64 64 264 64 512s200 448 448 448 448-200 448-448S760 64 512 64zM512 768c-27.2 0-48-20.8-48-48s20.8-48 48-48c27.2 0 48 20.8 48 48S539.2 768 512 768zM560 308.8L544 608c0 17.6-14.4 32-32 32-17.6 0-32-14.4-32-32l-16-299.2c0-1.6 0-3.2 0-4.8 0-27.2 20.8-48 48-48 27.2 0 48 20.8 48 48C560 305.6 560 307.2 560 308.8z"}}]}');
|
8314
8305
|
const exclamationCircleShape = (props2, context) => {
|
8315
8306
|
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8316
8307
|
return createVNode(bkIcon, mergeProps(p2, {
|
8317
|
-
"data": data$
|
8308
|
+
"data": data$k,
|
8318
8309
|
"name": "exclamationCircleShape"
|
8319
8310
|
}), null);
|
8320
8311
|
};
|
8321
8312
|
exclamationCircleShape.displayName = "exclamationCircleShape";
|
8322
8313
|
exclamationCircleShape.inheritAttrs = false;
|
8323
|
-
const data$
|
8314
|
+
const data$j = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 384a128 128 0 1 0 128 128A128 128 0 0 0 512 384Zm0 192a64 64 0 1 1 64-64A64 64 0 0 1 512 576Z"}},{"type":"element","name":"path","attributes":{"d":"M512 240C264.64 240 64 512 64 512S264.64 784 512 784 960 512 960 512 759.36 240 512 240Zm0 480C352 720 208 580.96 147.04 512 208 442.88 352 304 512 304s304 139.04 364.96 208C816 581.12 672 720 512 720Z"}}]}');
|
8324
8315
|
const eye = (props2, context) => {
|
8325
8316
|
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8326
8317
|
return createVNode(bkIcon, mergeProps(p2, {
|
8327
|
-
"data": data$
|
8318
|
+
"data": data$j,
|
8328
8319
|
"name": "eye"
|
8329
8320
|
}), null);
|
8330
8321
|
};
|
@@ -8332,28 +8323,37 @@ eye.displayName = "eye";
|
|
8332
8323
|
eye.inheritAttrs = false;
|
8333
8324
|
JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M128 384L192 384 192 192 384 192 384 128 128 128 128 384Z"}},{"type":"element","name":"path","attributes":{"d":"M640 128L640 192 832 192 832 384 896 384 896 128 640 128Z"}},{"type":"element","name":"path","attributes":{"d":"M192 640L128 640 128 896 384 896 384 832 192 832 192 640Z"}},{"type":"element","name":"path","attributes":{"d":"M832 832L640 832 640 896 896 896 896 640 832 640 832 832Z"}}]}');
|
8334
8325
|
JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M928 320h-35.199999999999996c-15.402666666666665-73.55733333333333-79.744-128-156.75733333333332-128 0 0-0.042666666666666665 0-0.042666666666666665 0h-288v-32c0-53.034666666666666-42.96533333333333-96-96-96h-256c-53.034666666666666 0-96 42.96533333333333-96 96v640c0 88.36266666666667 71.63733333333333 160 160 160h704c0.38399999999999995 0 0.8533333333333333 0 1.3226666666666667 0 51.199999999999996 0 92.88533333333334-40.61866666666666 94.67733333333332-91.34933333333333l64-452.65066666666667c0-53.034666666666666-42.96533333333333-96-96-96zM64 800v-640c0-17.663999999999998 14.336-32 32-32h256c17.663999999999998 0 32 14.336 32 32v64c0 17.663999999999998 14.336 32 32 32h320c41.42933333333333 0.128 76.71466666666666 26.496 90.02666666666666 63.31733333333333l-538.0266666666666 0.6826666666666666c-0.38399999999999995 0-0.8533333333333333 0-1.3226666666666667 0-51.199999999999996 0-92.88533333333334 40.61866666666666-94.67733333333332 91.34933333333333l-64 452.65066666666667c0.128 9.856 1.7493333333333334 19.328 4.650666666666666 28.202666666666666-39.97866666666667-12.842666666666666-68.47999999999999-49.151999999999994-68.65066666666667-92.16zM896 864c0 17.663999999999998-14.336 32-32 32h-640c-0.08533333333333333 0-0.21333333333333332 0-0.29866666666666664 0-16.08533333333333 0-29.39733333333333-11.861333333333334-31.658666666666665-27.349333333333334l64-452.65066666666667c0-17.663999999999998 14.336-32 32-32h640c0.08533333333333333 0 0.21333333333333332 0 0.29866666666666664 0 16.08533333333333 0 29.39733333333333 11.861333333333334 31.658666666666665 27.349333333333334z"}}]}');
|
8335
|
-
const data$
|
8326
|
+
const data$i = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M202.24 421.11999999999995c1.792-56.23466666666667 47.78666666666667-101.12 104.27733333333333-101.12 0.46933333333333327 0 0.9386666666666665 0 1.408 0l568.2346666666666 0c0.17066666666666666 0 0.38399999999999995 0 0.5973333333333333 0 7.082666666666666 0 12.799999999999999-5.717333333333333 12.799999999999999-12.799999999999999 0-1.3653333333333333-0.21333333333333332-2.6879999999999997-0.6399999999999999-3.925333333333333-21.205333333333332-65.024-81.40799999999999-111.27466666666666-152.40533333333332-111.27466666666666-0.17066666666666666 0-0.38399999999999995 0-0.5546666666666666 0h-287.9573333333333v-32c0-53.034666666666666-42.96533333333333-96-96-96h-256c-53.034666666666666 0-96 42.96533333333333-96 96v640c0 0.9813333333333333-0.042666666666666665 2.0906666666666665-0.042666666666666665 3.2426666666666666 0 77.056 54.44266666666667 141.39733333333334 126.976 156.58666666666664 0.896-1.92 0.8106666666666666-4.394666666666666 0.8106666666666666-6.8693333333333335s0.08533333333333333-4.949333333333334 0.256-7.381333333333332z"}},{"type":"element","name":"path","attributes":{"d":"M960 384h-652.16c-22.954666666666668 0-41.599999999999994 18.645333333333333-41.599999999999994 41.599999999999994l-74.24 521.5999999999999c-0.42666666666666664 1.92-0.6399999999999999 4.1386666666666665-0.6399999999999999 6.3999999999999995s0.256 4.4799999999999995 0.6826666666666666 6.613333333333333l703.9573333333333-0.21333333333333332c35.327999999999996 0 64-28.672 64-64l64-448c0-35.327999999999996-28.672-64-64-64z"}}]}');
|
8336
8327
|
const folderShapeOpen = (props2, context) => {
|
8337
8328
|
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8338
8329
|
return createVNode(bkIcon, mergeProps(p2, {
|
8339
|
-
"data": data$
|
8330
|
+
"data": data$i,
|
8340
8331
|
"name": "folderShapeOpen"
|
8341
8332
|
}), null);
|
8342
8333
|
};
|
8343
8334
|
folderShapeOpen.displayName = "folderShapeOpen";
|
8344
8335
|
folderShapeOpen.inheritAttrs = false;
|
8345
8336
|
JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M864 192h-416v-32c0-53.034666666666666-42.96533333333333-96-96-96h-256c-53.034666666666666 0-96 42.96533333333333-96 96v640c0 88.36266666666667 71.63733333333333 160 160 160h704c88.36266666666667 0 160-71.63733333333333 160-160v-448c0-88.36266666666667-71.63733333333333-160-160-160z"}}]}');
|
8346
|
-
const data$
|
8337
|
+
const data$h = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M864 960h-704c-88.36266666666667 0-160-71.63733333333333-160-160v-640c0-53.034666666666666 42.96533333333333-96 96-96h256c53.034666666666666 0 96 42.96533333333333 96 96v32h416c88.36266666666667 0 160 71.63733333333333 160 160v448c0 88.36266666666667-71.63733333333333 160-160 160zM96 128c-17.663999999999998 0-32 14.336-32 32v640c0 53.034666666666666 42.96533333333333 96 96 96h704c53.034666666666666 0 96-42.96533333333333 96-96v-448c0-53.034666666666666-42.96533333333333-96-96-96h-448c-17.663999999999998 0-32-14.336-32-32v-64c0-17.663999999999998-14.336-32-32-32z"}}]}');
|
8347
8338
|
const folder = (props2, context) => {
|
8348
8339
|
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8349
8340
|
return createVNode(bkIcon, mergeProps(p2, {
|
8350
|
-
"data": data$
|
8341
|
+
"data": data$h,
|
8351
8342
|
"name": "folder"
|
8352
8343
|
}), null);
|
8353
8344
|
};
|
8354
8345
|
folder.displayName = "folder";
|
8355
8346
|
folder.inheritAttrs = false;
|
8356
|
-
JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M860.8 128H163.2a32 32 0 0 0-27.36 52l295.2 336 0.96 0V896l160-82.72V516.8l0.96 0 295.2-336A32 32 0 0 0 860.8 128Z"}}]}');
|
8347
|
+
const data$g = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M860.8 128H163.2a32 32 0 0 0-27.36 52l295.2 336 0.96 0V896l160-82.72V516.8l0.96 0 295.2-336A32 32 0 0 0 860.8 128Z"}}]}');
|
8348
|
+
const funnel = (props2, context) => {
|
8349
|
+
const p2 = __spreadValues(__spreadValues({}, props2), context.attrs);
|
8350
|
+
return createVNode(bkIcon, mergeProps(p2, {
|
8351
|
+
"data": data$g,
|
8352
|
+
"name": "funnel"
|
8353
|
+
}), null);
|
8354
|
+
};
|
8355
|
+
funnel.displayName = "funnel";
|
8356
|
+
funnel.inheritAttrs = false;
|
8357
8357
|
JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","class":"bk-icon","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;","overflow":"hidden","viewBox":"0 0 1024 1024"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 64C264 64 64 264 64 512c0 57.6 11.2 113.6 32 166.4V896c0 17.6 14.4 32 32 32h217.6C576 1019.2 836.8 908.8 928 678.4S908.8 187.2 678.4 96C625.6 75.2 569.6 64 512 64zM500.8 721.6c-27.2 0-48-20.8-48-48s20.8-48 48-48c27.2 0 48 20.8 48 48S528 721.6 500.8 721.6zM587.2 507.2c-36.8 20.8-48 35.2-48 62.4v14.4H464v-16c-3.2-44.8 11.2-70.4 51.2-92.8 36.8-22.4 48-35.2 48-60.8s-20.8-44.8-52.8-44.8c-28.8-1.6-52.8 19.2-56 48 0 1.6 0 1.6 0 3.2h-76.8c1.6-70.4 49.6-118.4 136-118.4 80 0 132.8 44.8 132.8 110.4C648 454.4 627.2 484.8 587.2 507.2z"}}]}');
|
8358
8358
|
JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","class":"bk-icon","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;","overflow":"hidden","viewBox":"0 0 1024 1024"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 64C264 64 64 264 64 512s200 448 448 448 448-200 448-448S760 64 512 64zM500.8 721.6c-27.2 0-48-20.8-48-48s20.8-48 48-48c27.2 0 48 20.8 48 48S528 721.6 500.8 721.6zM587.2 507.2c-36.8 20.8-48 35.2-48 62.4v14.4H464v-16c-3.2-44.8 11.2-70.4 51.2-92.8 36.8-22.4 48-35.2 48-60.8s-20.8-44.8-52.8-44.8c-28.8-1.6-52.8 19.2-56 48 0 1.6 0 1.6 0 3.2h-76.8c1.6-70.4 49.6-118.4 136-118.4 80 0 132.8 44.8 132.8 110.4C648 454.4 627.2 484.8 587.2 507.2z"}}]}');
|
8359
8359
|
JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","class":"bk-icon","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;","overflow":"hidden","viewBox":"0 0 1024 1024"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 128c212.8 0 384 171.2 384 384S724.8 896 512 896 128 724.8 128 512 299.2 128 512 128M512 64C264 64 64 264 64 512s200 448 448 448 448-200 448-448S760 64 512 64z"}},{"type":"element","name":"path","attributes":{"d":"M548.8 673.6A48 48 0 0 1 500.8 721.6 48 48 0 0 1 452.8 673.6 48 48 0 0 1 548.8 673.6z"}},{"type":"element","name":"path","attributes":{"d":"M513.6 302.4c80 0 132.8 44.8 132.8 110.4 0 41.6-20.8 72-60.8 96-40 24-48 35.2-48 62.4v14.4H464v-16c-3.2-44.8 11.2-70.4 51.2-92.8 36.8-22.4 48-35.2 48-60.8s-20.8-44.8-52.8-44.8c-28.8-1.6-52.8 19.2-56 48 0 1.6 0 1.6 0 3.2h-76.8C377.6 352 427.2 302.4 513.6 302.4z"}}]}');
|
@@ -11330,7 +11330,8 @@ const PopoverProps = __spreadValues({
|
|
11330
11330
|
disableTeleport: PropTypes.bool.def(false),
|
11331
11331
|
autoPlacement: PropTypes.bool.def(false),
|
11332
11332
|
autoVisibility: PropTypes.bool.def(true),
|
11333
|
-
disableOutsideClick: PropTypes.bool.def(false)
|
11333
|
+
disableOutsideClick: PropTypes.bool.def(false),
|
11334
|
+
disableTransform: PropTypes.bool.def(false)
|
11334
11335
|
}, EventProps$1);
|
11335
11336
|
var Reference = defineComponent({
|
11336
11337
|
name: "PopReference",
|
@@ -12609,10 +12610,11 @@ var usePlatform = () => {
|
|
12609
12610
|
};
|
12610
12611
|
};
|
12611
12612
|
const getClippingRect2 = ({}) => {
|
12613
|
+
var _a, _b;
|
12612
12614
|
const {
|
12613
|
-
width,
|
12614
|
-
height
|
12615
|
-
} = document.fullscreenElement.getBoundingClientRect();
|
12615
|
+
width = 0,
|
12616
|
+
height = 0
|
12617
|
+
} = (_b = (_a = document.fullscreenElement) == null ? void 0 : _a.getBoundingClientRect()) != null ? _b : {};
|
12616
12618
|
return {
|
12617
12619
|
width,
|
12618
12620
|
height,
|
@@ -12638,7 +12640,8 @@ var useFloating = (props2, ctx, refReference, refContent, refArrow, refRoot) =>
|
|
12638
12640
|
};
|
12639
12641
|
const themeList = ["dark", "light"];
|
12640
12642
|
const compTheme = computed(() => {
|
12641
|
-
|
12643
|
+
var _a, _b;
|
12644
|
+
const themes2 = (_b = (_a = props2.theme) == null ? void 0 : _a.split(/\s+/)) != null ? _b : [];
|
12642
12645
|
themes2.sort((a2, b2) => Number(themeList.includes(b2)) - Number(themeList.includes(a2)));
|
12643
12646
|
const systemThemes = themes2;
|
12644
12647
|
const customThemes = themes2.filter((item) => !themeList.includes(item));
|
@@ -12662,15 +12665,16 @@ var useFloating = (props2, ctx, refReference, refContent, refArrow, refRoot) =>
|
|
12662
12665
|
root
|
12663
12666
|
};
|
12664
12667
|
};
|
12665
|
-
const resolvePopOptions = (elArrow) => {
|
12666
|
-
|
12667
|
-
|
12668
|
+
const resolvePopOptions = (elArrow, props3) => {
|
12669
|
+
var _a;
|
12670
|
+
const middleware = [offset(props3.offset), shift({
|
12671
|
+
padding: props3.padding
|
12668
12672
|
})];
|
12669
12673
|
const options = {
|
12670
|
-
placement:
|
12674
|
+
placement: props3.placement,
|
12671
12675
|
middleware
|
12672
12676
|
};
|
12673
|
-
if (
|
12677
|
+
if (props3.arrow) {
|
12674
12678
|
middleware.push(arrow({
|
12675
12679
|
element: elArrow
|
12676
12680
|
}));
|
@@ -12684,18 +12688,18 @@ var useFloating = (props2, ctx, refReference, refContent, refArrow, refRoot) =>
|
|
12684
12688
|
if (isHideMiddlewareAvailable()) {
|
12685
12689
|
options.middleware.push(hide());
|
12686
12690
|
}
|
12687
|
-
if (isElementFullScreen()) {
|
12691
|
+
if (isElementFullScreen() || props3.isVirtualEl) {
|
12688
12692
|
const {
|
12689
12693
|
getElementRects,
|
12690
12694
|
getDimensions: getDimensions2,
|
12691
12695
|
getClippingRect: getClippingRect2
|
12692
12696
|
} = usePlatform();
|
12693
12697
|
Object.assign(options, {
|
12694
|
-
platform: {
|
12698
|
+
platform: __spreadProps(__spreadValues({}, (_a = props3 == null ? void 0 : props3.platform) != null ? _a : {}), {
|
12695
12699
|
getElementRects,
|
12696
12700
|
getDimensions: getDimensions2,
|
12697
12701
|
getClippingRect: getClippingRect2
|
12698
|
-
}
|
12702
|
+
})
|
12699
12703
|
});
|
12700
12704
|
}
|
12701
12705
|
return options;
|
@@ -12707,6 +12711,9 @@ var useFloating = (props2, ctx, refReference, refContent, refArrow, refRoot) =>
|
|
12707
12711
|
if (target instanceof Text) {
|
12708
12712
|
return resolveTargetElement(target.nextElementSibling);
|
12709
12713
|
}
|
12714
|
+
if (typeof (target == null ? void 0 : target.getBoundingClientRect) === "function") {
|
12715
|
+
return target;
|
12716
|
+
}
|
12710
12717
|
return null;
|
12711
12718
|
};
|
12712
12719
|
const customThemeCls = compTheme.value.customThemes.join(" ");
|
@@ -12721,22 +12728,30 @@ var useFloating = (props2, ctx, refReference, refContent, refArrow, refRoot) =>
|
|
12721
12728
|
};
|
12722
12729
|
const updatePopContentStyle = (elContent, x2, y2, middlewareData) => {
|
12723
12730
|
var _a;
|
12724
|
-
|
12725
|
-
|
12726
|
-
|
12727
|
-
|
12728
|
-
|
12731
|
+
if (props2.disableTransform) {
|
12732
|
+
Object.assign(elContent.style, {
|
12733
|
+
left: `${getRoundPixelVal(x2)}px`,
|
12734
|
+
top: `${getRoundPixelVal(y2)}px`
|
12735
|
+
});
|
12736
|
+
} else {
|
12737
|
+
Object.assign(elContent.style, {
|
12738
|
+
left: "0",
|
12739
|
+
top: "0",
|
12740
|
+
transform: `translate3d(${getRoundPixelVal(x2)}px,${getRoundPixelVal(y2)}px,0)`
|
12741
|
+
});
|
12742
|
+
}
|
12729
12743
|
const referenceHidden = isHideMiddlewareAvailable() ? (_a = middlewareData.hide) == null ? void 0 : _a.referenceHidden : false;
|
12730
12744
|
Object.assign(elContent.style, {
|
12731
12745
|
visibility: referenceHidden ? "hidden" : "visible"
|
12732
12746
|
});
|
12733
12747
|
};
|
12734
12748
|
const updateArrowStyle = (elArrow, resolvedPlacement, middlewareData) => {
|
12749
|
+
var _a;
|
12735
12750
|
if (props2.arrow) {
|
12736
12751
|
const {
|
12737
12752
|
x: arrowX,
|
12738
12753
|
y: arrowY
|
12739
|
-
} = middlewareData.arrow;
|
12754
|
+
} = (_a = middlewareData.arrow) != null ? _a : {};
|
12740
12755
|
elArrow.setAttribute("data-arrow", resolvedPlacement);
|
12741
12756
|
const arrowConfig = {
|
12742
12757
|
left: "",
|
@@ -12764,19 +12779,20 @@ var useFloating = (props2, ctx, refReference, refContent, refArrow, refRoot) =>
|
|
12764
12779
|
elContent
|
12765
12780
|
} = resolvePopElements();
|
12766
12781
|
cleanup = autoUpdate(elReference, elContent, () => {
|
12767
|
-
updatePopover();
|
12782
|
+
updatePopover(null, props2);
|
12768
12783
|
});
|
12769
12784
|
};
|
12770
|
-
const updatePopover = () => {
|
12785
|
+
const updatePopover = (virtualEl = null, props3 = {}) => {
|
12771
12786
|
const {
|
12772
12787
|
elReference,
|
12773
12788
|
elContent,
|
12774
12789
|
elArrow
|
12775
12790
|
} = resolvePopElements();
|
12776
|
-
|
12791
|
+
const targetEl = virtualEl || elReference;
|
12792
|
+
if (!targetEl)
|
12777
12793
|
return;
|
12778
|
-
const options = resolvePopOptions(elArrow);
|
12779
|
-
computePosition(
|
12794
|
+
const options = resolvePopOptions(elArrow, props3);
|
12795
|
+
computePosition(targetEl, elContent, options).then(({
|
12780
12796
|
x: x2,
|
12781
12797
|
y: y2,
|
12782
12798
|
placement,
|
@@ -12887,9 +12903,9 @@ let popContainerId = null;
|
|
12887
12903
|
let fullscreenReferId = null;
|
12888
12904
|
let parentNodeReferId = null;
|
12889
12905
|
var usePopperId = (props2, prefix = "#") => {
|
12890
|
-
const getPrefixId = (
|
12906
|
+
const getPrefixId = (isFullscreen = false, root) => {
|
12891
12907
|
let resolvedBoundary = null;
|
12892
|
-
const
|
12908
|
+
const resolveBoundary = (fn2) => {
|
12893
12909
|
if (resolvedBoundary === null) {
|
12894
12910
|
fn2();
|
12895
12911
|
}
|
@@ -12905,7 +12921,7 @@ var usePopperId = (props2, prefix = "#") => {
|
|
12905
12921
|
}
|
12906
12922
|
};
|
12907
12923
|
const resolveFullScreenBoundary = () => {
|
12908
|
-
if (
|
12924
|
+
if (isFullscreen) {
|
12909
12925
|
resolvedBoundary = `[data-fllsrn-id=${fullscreenReferId}]`;
|
12910
12926
|
}
|
12911
12927
|
};
|
@@ -12919,10 +12935,10 @@ var usePopperId = (props2, prefix = "#") => {
|
|
12919
12935
|
resolvedBoundary = props2.boundary;
|
12920
12936
|
}
|
12921
12937
|
};
|
12922
|
-
|
12923
|
-
|
12924
|
-
|
12925
|
-
|
12938
|
+
resolveBoundary(resolveParentBoundary);
|
12939
|
+
resolveBoundary(resolveCommonBoundary);
|
12940
|
+
resolveBoundary(resolveFullScreenBoundary);
|
12941
|
+
resolveBoundary(() => {
|
12926
12942
|
resolvedBoundary = typeof props2.boundary === "string" ? props2.boundary : `${prefix}${popContainerId}`;
|
12927
12943
|
});
|
12928
12944
|
return resolvedBoundary;
|
@@ -12962,6 +12978,117 @@ var usePopperId = (props2, prefix = "#") => {
|
|
12962
12978
|
resetFullscreenElementTag
|
12963
12979
|
};
|
12964
12980
|
};
|
12981
|
+
var usePopoverInit = (props2, ctx, refReference, refContent, refArrow, refRoot) => {
|
12982
|
+
let storeEvents = null;
|
12983
|
+
const isFullscreen = ref(false);
|
12984
|
+
const {
|
12985
|
+
localIsShow,
|
12986
|
+
showPopover,
|
12987
|
+
hidePopover,
|
12988
|
+
updatePopover,
|
12989
|
+
resolveTriggerEvents,
|
12990
|
+
resolvePopElements,
|
12991
|
+
isElementFullScreen,
|
12992
|
+
cleanup,
|
12993
|
+
createPopInstance
|
12994
|
+
} = useFloating(props2, ctx, refReference, refContent, refArrow, refRoot);
|
12995
|
+
const showFn = () => {
|
12996
|
+
showPopover();
|
12997
|
+
};
|
12998
|
+
const hideFn = () => {
|
12999
|
+
hidePopover();
|
13000
|
+
};
|
13001
|
+
const initPopInstance = () => {
|
13002
|
+
createPopInstance();
|
13003
|
+
if (props2.always) {
|
13004
|
+
showPopover();
|
13005
|
+
} else {
|
13006
|
+
addEventToPopTargetEl();
|
13007
|
+
}
|
13008
|
+
};
|
13009
|
+
const addEventToPopTargetEl = () => {
|
13010
|
+
const { elReference, elContent } = resolvePopElements();
|
13011
|
+
storeEvents = resolveTriggerEvents();
|
13012
|
+
if (Array.isArray(storeEvents)) {
|
13013
|
+
addEventToTargetEl(elReference, storeEvents);
|
13014
|
+
} else {
|
13015
|
+
const { content, reference: reference2 } = storeEvents;
|
13016
|
+
addEventToTargetEl(elReference, reference2);
|
13017
|
+
addEventToTargetEl(elContent, content);
|
13018
|
+
}
|
13019
|
+
};
|
13020
|
+
const addEventToTargetEl = (target, evets) => {
|
13021
|
+
evets.forEach(([event, listener]) => {
|
13022
|
+
if (event && typeof listener === "function") {
|
13023
|
+
target.addEventListener(event, listener);
|
13024
|
+
}
|
13025
|
+
});
|
13026
|
+
};
|
13027
|
+
const removeEventListener2 = () => {
|
13028
|
+
if (storeEvents == null ? void 0 : storeEvents.length) {
|
13029
|
+
const { elReference } = resolvePopElements();
|
13030
|
+
if (elReference) {
|
13031
|
+
storeEvents.forEach(([event, listener]) => {
|
13032
|
+
if (event && typeof listener === "function") {
|
13033
|
+
elReference.removeEventListener(event, listener);
|
13034
|
+
}
|
13035
|
+
});
|
13036
|
+
}
|
13037
|
+
storeEvents = null;
|
13038
|
+
}
|
13039
|
+
};
|
13040
|
+
const updateBoundary = () => {
|
13041
|
+
const { elReference, root } = resolvePopElements();
|
13042
|
+
boundary.value = getPrefixId(isFullscreen.value, root || elReference);
|
13043
|
+
};
|
13044
|
+
const { getPrefixId, resetFullscreenElementTag } = usePopperId(props2, "#");
|
13045
|
+
const boundary = ref();
|
13046
|
+
const beforeInstanceUnmount = () => {
|
13047
|
+
if (typeof cleanup === "function") {
|
13048
|
+
cleanup();
|
13049
|
+
}
|
13050
|
+
removeEventListener2();
|
13051
|
+
};
|
13052
|
+
const handleFullscreenChange = () => {
|
13053
|
+
isFullscreen.value = isElementFullScreen();
|
13054
|
+
resetFullscreenElementTag();
|
13055
|
+
updateBoundary();
|
13056
|
+
updatePopover(null, props2);
|
13057
|
+
};
|
13058
|
+
const onMountedFn = () => {
|
13059
|
+
if (props2.disabled) {
|
13060
|
+
return;
|
13061
|
+
}
|
13062
|
+
initPopInstance();
|
13063
|
+
updateBoundary();
|
13064
|
+
document.body.addEventListener("fullscreenchange", handleFullscreenChange);
|
13065
|
+
};
|
13066
|
+
const onUnmountedFn = () => {
|
13067
|
+
beforeInstanceUnmount();
|
13068
|
+
document.body.removeEventListener("fullscreenchange", handleFullscreenChange);
|
13069
|
+
};
|
13070
|
+
const handleClickOutside = (_e) => {
|
13071
|
+
ctx.emit(EMITEVENTS$1.CLICK_OUTSIDE, { isShow: localIsShow.value, event: _e });
|
13072
|
+
if (props2.disableOutsideClick || props2.always || props2.disabled || props2.trigger === "manual") {
|
13073
|
+
return;
|
13074
|
+
}
|
13075
|
+
if (localIsShow.value) {
|
13076
|
+
hideFn();
|
13077
|
+
}
|
13078
|
+
};
|
13079
|
+
return {
|
13080
|
+
onMountedFn,
|
13081
|
+
onUnmountedFn,
|
13082
|
+
handleClickOutside,
|
13083
|
+
beforeInstanceUnmount,
|
13084
|
+
updateBoundary,
|
13085
|
+
initPopInstance,
|
13086
|
+
updatePopover,
|
13087
|
+
showFn,
|
13088
|
+
hideFn,
|
13089
|
+
boundary
|
13090
|
+
};
|
13091
|
+
};
|
12965
13092
|
var Component$p = defineComponent({
|
12966
13093
|
name: "Popover2",
|
12967
13094
|
components: {
|
@@ -12985,32 +13112,21 @@ var Component$p = defineComponent({
|
|
12985
13112
|
const refArrow = ref();
|
12986
13113
|
const refRoot = ref();
|
12987
13114
|
const isFullscreen = ref(false);
|
12988
|
-
let storeEvents = null;
|
12989
13115
|
const {
|
12990
|
-
localIsShow,
|
12991
13116
|
showPopover,
|
12992
|
-
hidePopover
|
12993
|
-
resolveTriggerEvents,
|
12994
|
-
updatePopover,
|
12995
|
-
resolvePopElements,
|
12996
|
-
isElementFullScreen,
|
12997
|
-
cleanup,
|
12998
|
-
createPopInstance
|
13117
|
+
hidePopover
|
12999
13118
|
} = useFloating(props2, ctx, refReference, refContent, refArrow, refRoot);
|
13000
|
-
const
|
13001
|
-
|
13002
|
-
|
13003
|
-
|
13004
|
-
|
13005
|
-
|
13006
|
-
|
13007
|
-
|
13008
|
-
|
13009
|
-
|
13010
|
-
|
13011
|
-
addEventToPopTargetEl();
|
13012
|
-
}
|
13013
|
-
};
|
13119
|
+
const {
|
13120
|
+
onMountedFn,
|
13121
|
+
onUnmountedFn,
|
13122
|
+
handleClickOutside,
|
13123
|
+
beforeInstanceUnmount,
|
13124
|
+
updateBoundary,
|
13125
|
+
initPopInstance,
|
13126
|
+
showFn,
|
13127
|
+
hideFn,
|
13128
|
+
boundary
|
13129
|
+
} = usePopoverInit(props2, ctx, refReference, refContent, refArrow, refRoot);
|
13014
13130
|
if (!props2.always && !props2.disabled) {
|
13015
13131
|
watch(() => props2.isShow, () => {
|
13016
13132
|
props2.isShow ? showPopover() : hidePopover();
|
@@ -13025,91 +13141,16 @@ var Component$p = defineComponent({
|
|
13025
13141
|
beforeInstanceUnmount();
|
13026
13142
|
}
|
13027
13143
|
});
|
13028
|
-
const addEventToPopTargetEl = () => {
|
13029
|
-
const {
|
13030
|
-
elReference,
|
13031
|
-
elContent
|
13032
|
-
} = resolvePopElements();
|
13033
|
-
storeEvents = resolveTriggerEvents();
|
13034
|
-
if (Array.isArray(storeEvents)) {
|
13035
|
-
addEventToTargetEl(elReference, storeEvents);
|
13036
|
-
} else {
|
13037
|
-
const {
|
13038
|
-
content: content2,
|
13039
|
-
reference: reference2
|
13040
|
-
} = storeEvents;
|
13041
|
-
addEventToTargetEl(elReference, reference2);
|
13042
|
-
addEventToTargetEl(elContent, content2);
|
13043
|
-
}
|
13044
|
-
};
|
13045
|
-
const addEventToTargetEl = (target, evets) => {
|
13046
|
-
evets.forEach(([event, listener]) => {
|
13047
|
-
target.addEventListener(event, listener);
|
13048
|
-
});
|
13049
|
-
};
|
13050
|
-
const removeEventListener2 = () => {
|
13051
|
-
if (storeEvents == null ? void 0 : storeEvents.length) {
|
13052
|
-
const {
|
13053
|
-
elReference
|
13054
|
-
} = resolvePopElements();
|
13055
|
-
if (elReference) {
|
13056
|
-
storeEvents.forEach(([event, listener]) => {
|
13057
|
-
elReference.removeEventListener(event, listener);
|
13058
|
-
});
|
13059
|
-
}
|
13060
|
-
storeEvents = null;
|
13061
|
-
}
|
13062
|
-
};
|
13063
|
-
const updateBoundary = () => {
|
13064
|
-
const {
|
13065
|
-
elReference,
|
13066
|
-
root
|
13067
|
-
} = resolvePopElements();
|
13068
|
-
boundary.value = getPrefixId(isFullscreen.value, root || elReference);
|
13069
|
-
};
|
13070
|
-
const {
|
13071
|
-
getPrefixId,
|
13072
|
-
resetFullscreenElementTag
|
13073
|
-
} = usePopperId(props2, "#");
|
13074
|
-
const boundary = ref();
|
13075
13144
|
updateBoundary();
|
13076
|
-
|
13077
|
-
|
13078
|
-
|
13079
|
-
|
13080
|
-
|
13081
|
-
};
|
13082
|
-
const handleFullscrennChange = () => {
|
13083
|
-
isFullscreen.value = isElementFullScreen();
|
13084
|
-
resetFullscreenElementTag();
|
13085
|
-
updateBoundary();
|
13086
|
-
updatePopover();
|
13145
|
+
onMounted(onMountedFn);
|
13146
|
+
onUnmounted(onUnmountedFn);
|
13147
|
+
const transBoundary = computed(() => (isFullscreen.value || !disableTeleport) && typeof boundary.value === "string");
|
13148
|
+
const show2 = () => {
|
13149
|
+
showFn();
|
13087
13150
|
};
|
13088
|
-
|
13089
|
-
|
13090
|
-
return;
|
13091
|
-
}
|
13092
|
-
initPopInstance();
|
13093
|
-
updateBoundary();
|
13094
|
-
document.body.addEventListener("fullscreenchange", handleFullscrennChange);
|
13095
|
-
});
|
13096
|
-
onUnmounted(() => {
|
13097
|
-
beforeInstanceUnmount();
|
13098
|
-
document.body.removeEventListener("fullscreenchange", handleFullscrennChange);
|
13099
|
-
});
|
13100
|
-
const handleClickOutside = (_e) => {
|
13101
|
-
ctx.emit(EMITEVENTS$1.CLICK_OUTSIDE, {
|
13102
|
-
isShow: localIsShow.value,
|
13103
|
-
event: _e
|
13104
|
-
});
|
13105
|
-
if (props2.disableOutsideClick || props2.always || props2.disabled || props2.trigger === "manual") {
|
13106
|
-
return;
|
13107
|
-
}
|
13108
|
-
if (localIsShow.value) {
|
13109
|
-
hide2();
|
13110
|
-
}
|
13151
|
+
const hide2 = () => {
|
13152
|
+
hideFn();
|
13111
13153
|
};
|
13112
|
-
const transBoundary = computed(() => (isFullscreen.value || !disableTeleport) && typeof boundary.value === "string");
|
13113
13154
|
return {
|
13114
13155
|
boundary,
|
13115
13156
|
arrow: props2.arrow,
|
@@ -15393,10 +15434,12 @@ var Component$h = defineComponent({
|
|
15393
15434
|
return (_b = (_a = slots.default) == null ? void 0 : _a.call(slots)) != null ? _b : "Content";
|
15394
15435
|
},
|
15395
15436
|
footer: () => {
|
15396
|
-
|
15397
|
-
|
15398
|
-
|
15399
|
-
|
15437
|
+
if (slots.footer) {
|
15438
|
+
return createVNode("div", {
|
15439
|
+
"class": "bk-sideslider-footer"
|
15440
|
+
}, [slots.footer()]);
|
15441
|
+
}
|
15442
|
+
return null;
|
15400
15443
|
}
|
15401
15444
|
};
|
15402
15445
|
const className = `bk-sideslider-wrapper ${props2.scrollable ? "scroll-able" : ""} ${props2.extCls}`;
|
@@ -15700,6 +15743,7 @@ var EMITEVENTS = /* @__PURE__ */ ((EMITEVENTS2) => {
|
|
15700
15743
|
EMITEVENTS2["COLUMN_PICK"] = "columnPick";
|
15701
15744
|
EMITEVENTS2["COLUMN_SORT"] = "columnSort";
|
15702
15745
|
EMITEVENTS2["COLUMN_FILTER"] = "columnFilter";
|
15746
|
+
EMITEVENTS2["COLUMN_FILTER_SAVE"] = "colFilterSave";
|
15703
15747
|
EMITEVENTS2["ROW_CLICK"] = "rowClick";
|
15704
15748
|
EMITEVENTS2["ROW_DBL_CLICK"] = "rowDblclick";
|
15705
15749
|
EMITEVENTS2["ROW_EXPAND_CLICK"] = "rowExpand";
|
@@ -15720,7 +15764,8 @@ const EMIT_EVENT_TYPES = {
|
|
15720
15764
|
["pageLimitChange"]: EMPTY$1,
|
15721
15765
|
["pageValueChange"]: EMPTY$1,
|
15722
15766
|
["settingChange"]: EMPTY$1,
|
15723
|
-
["scrollBottom"]: EMPTY$1
|
15767
|
+
["scrollBottom"]: EMPTY$1,
|
15768
|
+
["colFilterSave"]: EMPTY$1
|
15724
15769
|
};
|
15725
15770
|
const TABLE_ROW_ATTRIBUTE = {
|
15726
15771
|
ROW_INDEX: "__$table_row_index",
|
@@ -15882,7 +15927,9 @@ const tableProps = {
|
|
15882
15927
|
filter: PropTypes.oneOfType([
|
15883
15928
|
PropTypes.shape({
|
15884
15929
|
list: PropTypes.arrayOf(PropTypes.any).def([]),
|
15885
|
-
filterFn: PropTypes.func.def(void 0)
|
15930
|
+
filterFn: PropTypes.func.def(void 0),
|
15931
|
+
btnSave: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]).def("\u786E\u5B9A"),
|
15932
|
+
btnReset: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]).def("\u91CD\u7F6E")
|
15886
15933
|
}),
|
15887
15934
|
PropTypes.bool,
|
15888
15935
|
PropTypes.string
|
@@ -16338,6 +16385,9 @@ var Component$e = defineComponent({
|
|
16338
16385
|
context.emit("change", listCurrent2);
|
16339
16386
|
});
|
16340
16387
|
watch(smallListCurrent, (smallListCurrent2) => {
|
16388
|
+
if (!props2.small) {
|
16389
|
+
return;
|
16390
|
+
}
|
16341
16391
|
context.emit("update:modelValue", smallListCurrent2);
|
16342
16392
|
context.emit("change", smallListCurrent2);
|
16343
16393
|
});
|
@@ -16603,7 +16653,7 @@ var HeadFilter = defineComponent({
|
|
16603
16653
|
column: PropTypes.any.def({}),
|
16604
16654
|
height: PropTypes.number.def(LINE_HEIGHT)
|
16605
16655
|
},
|
16606
|
-
emits: ["change"],
|
16656
|
+
emits: ["change", "filterSave"],
|
16607
16657
|
setup(props2, {
|
16608
16658
|
emit
|
16609
16659
|
}) {
|
@@ -16638,14 +16688,23 @@ var HeadFilter = defineComponent({
|
|
16638
16688
|
});
|
16639
16689
|
const filterFn = typeof column.filter.filterFn === "function" ? (checked, row, index, data2) => column.filter.filterFn(checked, row, props2.column, index, data2) : (checked, row) => checked.length ? checked.includes(getRowText(row, resolvePropVal(column, "field", [column, row]), column)) : true;
|
16640
16690
|
const handleBtnSaveClick = () => {
|
16641
|
-
|
16642
|
-
|
16643
|
-
state.isOpen = false;
|
16644
|
-
return;
|
16645
|
-
}
|
16646
|
-
emit("change", [...state.checked], filterFn);
|
16691
|
+
handleFilterChange(true);
|
16692
|
+
emit("filterSave", [...state.checked]);
|
16647
16693
|
state.isOpen = false;
|
16648
16694
|
};
|
16695
|
+
const handleFilterChange = (btnSaveClick = false) => {
|
16696
|
+
const {
|
16697
|
+
disabled
|
16698
|
+
} = resolveBtnOption(btnSave, "\u786E\u5B9A");
|
16699
|
+
if (disabled || btnSaveClick) {
|
16700
|
+
if (props2.column.filter === "custom") {
|
16701
|
+
emit("change", [...state.checked], null);
|
16702
|
+
state.isOpen = false;
|
16703
|
+
return;
|
16704
|
+
}
|
16705
|
+
emit("change", [...state.checked], filterFn);
|
16706
|
+
}
|
16707
|
+
};
|
16649
16708
|
const handleBtnResetClick = () => {
|
16650
16709
|
if (state.checked.length) {
|
16651
16710
|
state.checked.splice(0, state.checked.length);
|
@@ -16653,6 +16712,46 @@ var HeadFilter = defineComponent({
|
|
16653
16712
|
nextTick(() => emit("change", state.checked, filterFn));
|
16654
16713
|
}
|
16655
16714
|
};
|
16715
|
+
const resolveBtnOption = (opt, defText) => {
|
16716
|
+
const disabled = opt === "disabled" || opt === false;
|
16717
|
+
const text = typeof opt === "string" ? opt : defText;
|
16718
|
+
return {
|
16719
|
+
disabled,
|
16720
|
+
text
|
16721
|
+
};
|
16722
|
+
};
|
16723
|
+
const {
|
16724
|
+
btnSave,
|
16725
|
+
btnReset
|
16726
|
+
} = column.filter;
|
16727
|
+
const renderSaveBtn = () => {
|
16728
|
+
const {
|
16729
|
+
disabled,
|
16730
|
+
text
|
16731
|
+
} = resolveBtnOption(btnSave, "\u786E\u5B9A");
|
16732
|
+
if (disabled) {
|
16733
|
+
return createVNode("span", {
|
16734
|
+
"class": "btn-filter-save disabled"
|
16735
|
+
}, [text]);
|
16736
|
+
}
|
16737
|
+
return createVNode("span", {
|
16738
|
+
"class": "btn-filter-save",
|
16739
|
+
"onClick": handleBtnSaveClick
|
16740
|
+
}, [text]);
|
16741
|
+
};
|
16742
|
+
const renderResetBtn = () => {
|
16743
|
+
const {
|
16744
|
+
disabled,
|
16745
|
+
text
|
16746
|
+
} = resolveBtnOption(btnReset, "\u91CD\u7F6E");
|
16747
|
+
if (disabled) {
|
16748
|
+
return "";
|
16749
|
+
}
|
16750
|
+
return createVNode("span", {
|
16751
|
+
"class": ["btn-filter-reset", state.checked.length ? "" : "disable"],
|
16752
|
+
"onClick": handleBtnResetClick
|
16753
|
+
}, [text]);
|
16754
|
+
};
|
16656
16755
|
return () => createVNode(BkPopover2, mergeProps({
|
16657
16756
|
"trigger": "click",
|
16658
16757
|
"isShow": state.isOpen,
|
@@ -16665,7 +16764,7 @@ var HeadFilter = defineComponent({
|
|
16665
16764
|
"onAfterShow": () => handlePopShow(true),
|
16666
16765
|
"onAfterHidden": () => handlePopShow(false)
|
16667
16766
|
}), {
|
16668
|
-
default: () => createVNode(
|
16767
|
+
default: () => createVNode(funnel, {
|
16669
16768
|
"class": headClass.value
|
16670
16769
|
}, null),
|
16671
16770
|
content: () => {
|
@@ -16675,7 +16774,8 @@ var HeadFilter = defineComponent({
|
|
16675
16774
|
}, [createVNode(BkCheckboxGroup, {
|
16676
16775
|
"class": "content-list",
|
16677
16776
|
"modelValue": state.checked,
|
16678
|
-
"onUpdate:modelValue": ($event) => state.checked = $event
|
16777
|
+
"onUpdate:modelValue": ($event) => state.checked = $event,
|
16778
|
+
"onChange": () => handleFilterChange(false)
|
16679
16779
|
}, _isSlot$2(_slot = localData.value.map((item) => createVNode("div", {
|
16680
16780
|
"class": "list-item"
|
16681
16781
|
}, [createVNode(BkCheckbox, {
|
@@ -16686,15 +16786,9 @@ var HeadFilter = defineComponent({
|
|
16686
16786
|
default: () => [_slot]
|
16687
16787
|
}), createVNode("div", {
|
16688
16788
|
"class": "content-footer"
|
16689
|
-
}, [createVNode("span", {
|
16690
|
-
"class": "btn-filter-save",
|
16691
|
-
"onClick": handleBtnSaveClick
|
16692
|
-
}, [createTextVNode("\u786E\u5B9A")]), createVNode("span", {
|
16789
|
+
}, [renderSaveBtn(), createVNode("span", {
|
16693
16790
|
"class": "btn-filter-split"
|
16694
|
-
}, null),
|
16695
|
-
"class": ["btn-filter-reset", state.checked.length ? "" : "disable"],
|
16696
|
-
"onClick": handleBtnResetClick
|
16697
|
-
}, [createTextVNode("\u91CD\u7F6E")])])]);
|
16791
|
+
}, null), renderResetBtn()])]);
|
16698
16792
|
}
|
16699
16793
|
});
|
16700
16794
|
}
|
@@ -17196,10 +17290,17 @@ class TableRender {
|
|
17196
17290
|
index
|
17197
17291
|
}]);
|
17198
17292
|
};
|
17293
|
+
const filterSave = (values) => {
|
17294
|
+
this.context.emit(EMITEVENTS.COLUMN_FILTER_SAVE, {
|
17295
|
+
column,
|
17296
|
+
values
|
17297
|
+
});
|
17298
|
+
};
|
17199
17299
|
return createVNode(HeadFilter, {
|
17200
17300
|
"column": column,
|
17201
17301
|
"height": this.props.headHeight,
|
17202
|
-
"onChange": handleFilterChange
|
17302
|
+
"onChange": handleFilterChange,
|
17303
|
+
"onFilterSave": filterSave
|
17203
17304
|
}, null);
|
17204
17305
|
}
|
17205
17306
|
renderHeader() {
|
@@ -18651,9 +18752,11 @@ var Component$c = defineComponent({
|
|
18651
18752
|
const defaultPasteFn = (value) => {
|
18652
18753
|
const target = [];
|
18653
18754
|
const textArr = value.split(";");
|
18755
|
+
const regx = /^[a-zA-Z][a-zA-Z_]*/g;
|
18654
18756
|
textArr.forEach((item) => {
|
18655
|
-
|
18656
|
-
|
18757
|
+
const matchValue = item.match(regx);
|
18758
|
+
if (matchValue) {
|
18759
|
+
const finalItem = matchValue.join("");
|
18657
18760
|
target.push({
|
18658
18761
|
[props2.saveKey]: finalItem,
|
18659
18762
|
[props2.displayKey]: finalItem
|
@@ -18670,7 +18773,9 @@ var Component$c = defineComponent({
|
|
18670
18773
|
const {
|
18671
18774
|
maxData,
|
18672
18775
|
saveKey,
|
18673
|
-
|
18776
|
+
displayKey,
|
18777
|
+
pasteFn,
|
18778
|
+
allowCreate
|
18674
18779
|
} = props2;
|
18675
18780
|
const value = e.clipboardData.getData("text");
|
18676
18781
|
const valArr = pasteFn ? pasteFn(value) : defaultPasteFn(value);
|
@@ -18679,7 +18784,10 @@ var Component$c = defineComponent({
|
|
18679
18784
|
const nodes = getSelectedTagNodes();
|
18680
18785
|
const index = getTagInputItemSite();
|
18681
18786
|
const localInitData = listState.localList.map((data2) => data2[saveKey]);
|
18682
|
-
tags = tags.filter((tag2) =>
|
18787
|
+
tags = tags.filter((tag2) => {
|
18788
|
+
const canSelected = (tag2 == null ? void 0 : tag2.trim()) && !tagList.value.includes(tag2);
|
18789
|
+
return allowCreate ? canSelected : canSelected && localInitData.includes(tag2);
|
18790
|
+
});
|
18683
18791
|
if (maxData !== -1) {
|
18684
18792
|
const selectedLength = listState.selectedTagList.length;
|
18685
18793
|
if (selectedLength < maxData) {
|
@@ -18691,7 +18799,13 @@ var Component$c = defineComponent({
|
|
18691
18799
|
tags = [];
|
18692
18800
|
}
|
18693
18801
|
}
|
18694
|
-
const localTags =
|
18802
|
+
const localTags = allowCreate ? tags.map((tag2) => {
|
18803
|
+
const localTag = listState.localList.find((localTag2) => localTag2[saveKey] === tag2);
|
18804
|
+
return localTag != null ? localTag : {
|
18805
|
+
[saveKey]: tag2,
|
18806
|
+
[displayKey]: tag2
|
18807
|
+
};
|
18808
|
+
}) : listState.localList.filter((tag2) => tags.includes(tag2[saveKey]));
|
18695
18809
|
if (tags.length) {
|
18696
18810
|
listState.selectedTagList.splice(index, 0, ...localTags);
|
18697
18811
|
swapElementPositions(tagInputItemRef.value, nodes[index]);
|
@@ -22814,6 +22928,7 @@ const dateTableProps = {
|
|
22814
22928
|
}
|
22815
22929
|
};
|
22816
22930
|
var DateTable = defineComponent({
|
22931
|
+
name: "DateTable",
|
22817
22932
|
props: dateTableProps,
|
22818
22933
|
emits: ["pick", "pick-click", "changeRange"],
|
22819
22934
|
setup(props2, {
|
@@ -23920,6 +24035,7 @@ const dateRangePanelProps = {
|
|
23920
24035
|
}
|
23921
24036
|
};
|
23922
24037
|
var DateRangePanel = defineComponent({
|
24038
|
+
name: "DateRangePanel",
|
23923
24039
|
props: dateRangePanelProps,
|
23924
24040
|
emits: ["pick", "pick-success"],
|
23925
24041
|
setup(props2, {
|
@@ -24080,7 +24196,12 @@ var DateRangePanel = defineComponent({
|
|
24080
24196
|
if (shortcut.onClick) {
|
24081
24197
|
shortcut.onClick(shortcut, index);
|
24082
24198
|
}
|
24083
|
-
|
24199
|
+
const value = typeof shortcut.value === "function" ? shortcut.value() : shortcut.value;
|
24200
|
+
const [form2, to] = value;
|
24201
|
+
state.rangeState.from = form2;
|
24202
|
+
state.rangeState.to = to;
|
24203
|
+
state.dates = [form2, to];
|
24204
|
+
emit("pick", value, false, "shortcut", shortcut);
|
24084
24205
|
if (props2.shortcutClose) {
|
24085
24206
|
emit("pick-success");
|
24086
24207
|
}
|
@@ -27440,6 +27561,8 @@ const BkDropdown = withInstallProps(Dropdown, { DropdownMenu, DropdownItem });
|
|
27440
27561
|
var CascaderPanel = defineComponent({
|
27441
27562
|
name: "CascaderPanel",
|
27442
27563
|
props: {
|
27564
|
+
width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).def("auto"),
|
27565
|
+
height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).def(216),
|
27443
27566
|
store: PropTypes.object.def({}),
|
27444
27567
|
modelValue: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.number).def([]), PropTypes.arrayOf(PropTypes.string).def([])])
|
27445
27568
|
},
|
@@ -27455,6 +27578,14 @@ var CascaderPanel = defineComponent({
|
|
27455
27578
|
});
|
27456
27579
|
const activePath = ref([]);
|
27457
27580
|
const checkValue = ref([]);
|
27581
|
+
const getSizeComputed = (value) => {
|
27582
|
+
if (typeof value === "number") {
|
27583
|
+
return `${value}px`;
|
27584
|
+
}
|
27585
|
+
return value;
|
27586
|
+
};
|
27587
|
+
const panelHeight = getSizeComputed(props2.height);
|
27588
|
+
const panelWidth = getSizeComputed(props2.width);
|
27458
27589
|
const updateCheckValue = (value) => {
|
27459
27590
|
if (value.length === 0) {
|
27460
27591
|
menus.list = menus.list.slice(0, 1);
|
@@ -27555,30 +27686,40 @@ var CascaderPanel = defineComponent({
|
|
27555
27686
|
isCheckedNode,
|
27556
27687
|
checkValue,
|
27557
27688
|
checkNode,
|
27558
|
-
iconRender
|
27689
|
+
iconRender,
|
27690
|
+
panelWidth,
|
27691
|
+
panelHeight
|
27559
27692
|
};
|
27560
27693
|
},
|
27561
27694
|
render() {
|
27562
27695
|
return createVNode("div", {
|
27563
27696
|
"class": "bk-cascader-panel-wrapper"
|
27564
27697
|
}, [this.menus.list.map((menu2) => createVNode("ul", {
|
27565
|
-
"class": "bk-cascader-panel"
|
27566
|
-
|
27567
|
-
|
27568
|
-
|
27569
|
-
}
|
27570
|
-
|
27571
|
-
|
27572
|
-
|
27573
|
-
|
27574
|
-
|
27575
|
-
|
27576
|
-
|
27577
|
-
|
27578
|
-
|
27579
|
-
|
27580
|
-
|
27581
|
-
|
27698
|
+
"class": "bk-cascader-panel bk-scroll-y",
|
27699
|
+
"style": {
|
27700
|
+
height: this.panelHeight,
|
27701
|
+
width: this.panelWidth
|
27702
|
+
}
|
27703
|
+
}, [menu2.map((node) => {
|
27704
|
+
var _a, _b;
|
27705
|
+
return createVNode("li", mergeProps({
|
27706
|
+
"class": ["bk-cascader-node", {
|
27707
|
+
"is-selected": this.isNodeInPath(node)
|
27708
|
+
}, {
|
27709
|
+
"is-disabled": node.isDisabled
|
27710
|
+
}, {
|
27711
|
+
"is-checked": this.isCheckedNode(node, this.checkValue)
|
27712
|
+
}]
|
27713
|
+
}, this.nodeEvent(node)), [node.config.multiple && createVNode(BkCheckbox, {
|
27714
|
+
"disabled": node.isDisabled,
|
27715
|
+
"modelValue": node.checked,
|
27716
|
+
"onUpdate:modelValue": ($event) => node.checked = $event,
|
27717
|
+
"onChange": (val) => this.checkNode(node, val)
|
27718
|
+
}, null), (_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a, {
|
27719
|
+
node,
|
27720
|
+
data: node.data
|
27721
|
+
}), !node.isLeaf ? this.iconRender(node) : ""]);
|
27722
|
+
})]))]);
|
27582
27723
|
}
|
27583
27724
|
});
|
27584
27725
|
class Node$1 {
|
@@ -27696,7 +27837,9 @@ var Component$6 = defineComponent({
|
|
27696
27837
|
childrenKey: PropTypes.string.def("children"),
|
27697
27838
|
separator: PropTypes.string.def("/"),
|
27698
27839
|
limitOneLine: PropTypes.bool.def(false),
|
27699
|
-
extCls: PropTypes.string.def("")
|
27840
|
+
extCls: PropTypes.string.def(""),
|
27841
|
+
scrollHeight: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).def(216),
|
27842
|
+
scrollWidth: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).def("auto")
|
27700
27843
|
},
|
27701
27844
|
emits: ["update:modelValue", "change", "clear", "toggle"],
|
27702
27845
|
setup(props2, {
|
@@ -27736,7 +27879,7 @@ var Component$6 = defineComponent({
|
|
27736
27879
|
}));
|
27737
27880
|
return;
|
27738
27881
|
}
|
27739
|
-
(_a = popover3 == null ? void 0 : popover3.value) == null ? void 0 : _a.hide();
|
27882
|
+
!props2.checkAnyLevel && ((_a = popover3 == null ? void 0 : popover3.value) == null ? void 0 : _a.hide());
|
27740
27883
|
if (val.length === 0) {
|
27741
27884
|
selectedText.value = "";
|
27742
27885
|
} else {
|
@@ -27758,10 +27901,10 @@ var Component$6 = defineComponent({
|
|
27758
27901
|
current.splice(index, 1);
|
27759
27902
|
updateValue(current);
|
27760
27903
|
};
|
27761
|
-
const modelValueChangeHandler = (value) => {
|
27904
|
+
const modelValueChangeHandler = (value, oldValue) => {
|
27762
27905
|
updateValue(value);
|
27763
27906
|
emit("update:modelValue", value);
|
27764
|
-
emit("change", value);
|
27907
|
+
oldValue !== void 0 && emit("change", value);
|
27765
27908
|
};
|
27766
27909
|
const listChangeHandler = () => {
|
27767
27910
|
store.value = new Store(props2);
|
@@ -27854,9 +27997,15 @@ var Component$6 = defineComponent({
|
|
27854
27997
|
}, [createVNode(CascaderPanel, {
|
27855
27998
|
"store": this.store,
|
27856
27999
|
"ref": "cascaderPanel",
|
28000
|
+
"width": this.scrollWidth,
|
28001
|
+
"height": this.scrollHeight,
|
27857
28002
|
"modelValue": this.checkedValue,
|
27858
28003
|
"onUpdate:modelValue": ($event) => this.checkedValue = $event
|
27859
|
-
},
|
28004
|
+
}, {
|
28005
|
+
default: (scope) => this.$slots.default ? this.$slots.default(scope) : createVNode("span", {
|
28006
|
+
"class": "bk-cascader-node-name"
|
28007
|
+
}, [scope.node.name])
|
28008
|
+
})])
|
27860
28009
|
})]);
|
27861
28010
|
}
|
27862
28011
|
});
|