qk-pc-ui 4.4.8 → 4.5.0

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/qk-pc-ui.css CHANGED
@@ -1 +1 @@
1
- .tmain[data-v-99560092]{display:flex;justify-content:space-between}.havfilter[data-v-d1493ac1]{color:#5af;fill:#5af}.myicon[data-v-d1493ac1]{width:21px;height:21px;padding-left:3px}.myiframe[data-v-b3676893]{width:100%;height:calc(100% - 10px);padding:0;margin:0;border:none}.myicon[data-v-649142b2],.myicon[data-v-db66bcd0]{width:21px;height:21px;padding-left:3px}.filtercheck .el-checkbox{height:18px}.mt[data-v-f86507f7]{height:100%}.qktab[data-v-f86507f7]{height:100%;width:100%}.tabmain[data-v-f86507f7]{height:100%;width:100%;padding:5px;box-sizing:border-box}.example-showcase .el-dropdown-link[data-v-f86507f7]{cursor:pointer;color:var(--el-color-primary);display:flex;align-items:center}.havfilter[data-v-f86507f7]{color:#5af;fill:#5af}.filtercheck[data-v-f86507f7]{padding:10px 0}.myform em{color:#a1a1a1;display:inline-block;margin-left:20px}.pagemain[data-v-5cf6ee2d]{height:100%;width:100%;padding:10px;box-sizing:border-box;display:flex;flex-direction:column}.tool[data-v-5cf6ee2d]{margin-top:17px;box-sizing:border-box}.dataList[data-v-5cf6ee2d]{flex-grow:1;overflow:hidden}.myform[data-v-5cf6ee2d]{max-height:78vh;overflow:auto}.myform .el-form-item__content em{color:#a1a1a1;display:inline-block;margin-left:20px}.pagemain[data-v-c70e6865]{height:100%;width:100%;padding:10px;box-sizing:border-box;display:flex;flex-direction:column}.filter[data-v-c70e6865]{height:35px}.tool[data-v-c70e6865]{margin-top:17px;height:37px}.dataList[data-v-c70e6865]{flex-grow:1;overflow:auto}.myform[data-v-c70e6865]{max-height:78vh;overflow:auto}.total[data-v-c70e6865]{padding:10px 0}.total-item[data-v-c70e6865]{display:inline-flex;padding:18px;min-width:200px;border:1px solid #e2e2e2;margin-right:10px;border-radius:5px;margin-bottom:5px;justify-content:center}.mytime .el-date-editor{top:3px}.mytime[data-v-a4141bcd]{display:inline-flex;position:relative}.w-e-toolbar,.w-e-text-container{z-index:auto!important}.w-e-text-container{flex-grow:1}.richText{height:100%;width:100%;display:flex;flex-direction:column}.avatar-uploader .avatar[data-v-573c5c1a]{height:100px;display:block}.avatar-uploader .avatar[data-v-ac4d5873]{height:100px;display:block}.avatar-uploader .el-upload{border:1px dashed var(--el-border-color);border-radius:6px;cursor:pointer;position:relative;overflow:hidden;transition:var(--el-transition-duration-fast)}.avatar-uploader .el-upload:hover{border-color:var(--el-color-primary)}.el-icon.avatar-uploader-icon{font-size:28px;color:#8c939d;height:100px;width:100px;text-align:center}.qrCodeWrap[data-v-b36aa023]{display:inline-block;background-color:#fff;width:95%;height:98%;overflow:hidden;border-radius:20px;border:1px solid #ccc}.qrWrap[data-v-b36aa023]{--background-image: url(//proxy.ip239.com/saas/images/qrblack.jpg);background-repeat:no-repeat;background-size:100% 100%;color:#fff;padding:80px 0;text-align:center}.qrCode[data-v-b36aa023]{width:250px;height:250px;border-radius:10px;overflow:hidden;margin:0 auto}.instructionsbtn[data-v-b36aa023]{text-align:center;padding:20px 0}.instructionsWrap[data-v-b36aa023]{text-align:center;padding-top:50px;font:30px/40px 宋体}.wfbox[data-v-3045f4e5]{display:flex;justify-content:space-between;align-items:flex-end;width:50px;height:25px;box-sizing:border-box;border:1px solid #e2e2e2;padding:2px}.wf[data-v-3045f4e5]{background-color:#5af;width:5px;height:100%;box-sizing:border-box}.nwf[data-v-3045f4e5]{border:1px solid #e2e2e2;width:5px;height:100%;box-sizing:border-box;background-color:#e2e2e2}.wf1[data-v-3045f4e5]{height:50%}.wf2[data-v-3045f4e5]{height:60%}.wf3[data-v-3045f4e5]{height:70%}.wf4[data-v-3045f4e5]{height:80%}.wf5[data-v-3045f4e5]{height:90%}.wf6[data-v-3045f4e5]{height:100%}.status[data-v-3045f4e5]{font-weight:700;line-height:25px}.amount[data-v-758dcbbe]{color:#f50;font-weight:700}.t[data-v-758dcbbe]{text-align:center}.myrow[data-v-a6878b5a]{display:flex;font-size:1rem;padding-bottom:1rem}.tlab[data-v-a6878b5a]{text-align:right;color:gray;width:170px}.tval[data-v-a6878b5a]{color:#0094ff}td[data-v-a6878b5a],textarea[data-v-a6878b5a]{padding:10px 0;color:#0094ff}.desc[data-v-a6878b5a]{width:400px;border:none;outline:none;font-size:1em;font-weight:700;padding:0;margin:0}.el-message{z-index:2400}.icon{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.icon-list[data-v-5c41495a]{display:grid;grid-template-columns:repeat(auto-fill,100px);height:80vh;width:100%;overflow:auto}.icon-item[data-v-5c41495a]{width:100px;height:100px;text-align:center}i[data-v-5c41495a]{font-size:60px;line-height:normal}.mytag[data-v-1c303808]{margin:0 4px}.myradio .el-radio-button__inner{display:flex;align-items:center;height:37px}.demo-tabs[data-v-593b57e9]{height:100%;width:100%}.demo-tabs .el-tabs__content{height:calc(100% - 45px)}.el-tab-pane{height:100%}
1
+ .tmain[data-v-99560092]{display:flex;justify-content:space-between}.havfilter[data-v-5e6d06a7]{color:#5af;fill:#5af}.myicon[data-v-5e6d06a7]{width:21px;height:21px;padding-left:3px}.myiframe[data-v-b3676893]{width:100%;height:calc(100% - 10px);padding:0;margin:0;border:none}.myicon[data-v-649142b2],.myicon[data-v-db66bcd0]{width:21px;height:21px;padding-left:3px}.filtercheck .el-checkbox{height:18px}.mt[data-v-f86507f7]{height:100%}.qktab[data-v-f86507f7]{height:100%;width:100%}.tabmain[data-v-f86507f7]{height:100%;width:100%;padding:5px;box-sizing:border-box}.example-showcase .el-dropdown-link[data-v-f86507f7]{cursor:pointer;color:var(--el-color-primary);display:flex;align-items:center}.havfilter[data-v-f86507f7]{color:#5af;fill:#5af}.filtercheck[data-v-f86507f7]{padding:10px 0}.myform em{color:#a1a1a1;display:inline-block;margin-left:20px}.pagemain[data-v-5cf6ee2d]{height:100%;width:100%;padding:10px;box-sizing:border-box;display:flex;flex-direction:column}.tool[data-v-5cf6ee2d]{margin-top:17px;box-sizing:border-box}.dataList[data-v-5cf6ee2d]{flex-grow:1;overflow:hidden}.myform[data-v-5cf6ee2d]{max-height:78vh;overflow:auto}.myform .el-form-item__content em{color:#a1a1a1;display:inline-block;margin-left:20px}.pagemain[data-v-c70e6865]{height:100%;width:100%;padding:10px;box-sizing:border-box;display:flex;flex-direction:column}.filter[data-v-c70e6865]{height:35px}.tool[data-v-c70e6865]{margin-top:17px;height:37px}.dataList[data-v-c70e6865]{flex-grow:1;overflow:auto}.myform[data-v-c70e6865]{max-height:78vh;overflow:auto}.total[data-v-c70e6865]{padding:10px 0}.total-item[data-v-c70e6865]{display:inline-flex;padding:18px;min-width:200px;border:1px solid #e2e2e2;margin-right:10px;border-radius:5px;margin-bottom:5px;justify-content:center}.mytime .el-date-editor{top:3px}.mytime[data-v-a4141bcd]{display:inline-flex;position:relative}.w-e-toolbar,.w-e-text-container{z-index:auto!important}.w-e-text-container{flex-grow:1}.richText{height:100%;width:100%;display:flex;flex-direction:column}.avatar-uploader .avatar[data-v-573c5c1a]{height:100px;display:block}.avatar-uploader .avatar[data-v-ac4d5873]{height:100px;display:block}.avatar-uploader .el-upload{border:1px dashed var(--el-border-color);border-radius:6px;cursor:pointer;position:relative;overflow:hidden;transition:var(--el-transition-duration-fast)}.avatar-uploader .el-upload:hover{border-color:var(--el-color-primary)}.el-icon.avatar-uploader-icon{font-size:28px;color:#8c939d;height:100px;width:100px;text-align:center}.qrCodeWrap[data-v-b36aa023]{display:inline-block;background-color:#fff;width:95%;height:98%;overflow:hidden;border-radius:20px;border:1px solid #ccc}.qrWrap[data-v-b36aa023]{--background-image: url(//proxy.ip239.com/saas/images/qrblack.jpg);background-repeat:no-repeat;background-size:100% 100%;color:#fff;padding:80px 0;text-align:center}.qrCode[data-v-b36aa023]{width:250px;height:250px;border-radius:10px;overflow:hidden;margin:0 auto}.instructionsbtn[data-v-b36aa023]{text-align:center;padding:20px 0}.instructionsWrap[data-v-b36aa023]{text-align:center;padding-top:50px;font:30px/40px 宋体}.wfbox[data-v-3045f4e5]{display:flex;justify-content:space-between;align-items:flex-end;width:50px;height:25px;box-sizing:border-box;border:1px solid #e2e2e2;padding:2px}.wf[data-v-3045f4e5]{background-color:#5af;width:5px;height:100%;box-sizing:border-box}.nwf[data-v-3045f4e5]{border:1px solid #e2e2e2;width:5px;height:100%;box-sizing:border-box;background-color:#e2e2e2}.wf1[data-v-3045f4e5]{height:50%}.wf2[data-v-3045f4e5]{height:60%}.wf3[data-v-3045f4e5]{height:70%}.wf4[data-v-3045f4e5]{height:80%}.wf5[data-v-3045f4e5]{height:90%}.wf6[data-v-3045f4e5]{height:100%}.status[data-v-3045f4e5]{font-weight:700;line-height:25px}.amount[data-v-758dcbbe]{color:#f50;font-weight:700}.t[data-v-758dcbbe]{text-align:center}.myrow[data-v-a6878b5a]{display:flex;font-size:1rem;padding-bottom:1rem}.tlab[data-v-a6878b5a]{text-align:right;color:gray;width:170px}.tval[data-v-a6878b5a]{color:#0094ff}td[data-v-a6878b5a],textarea[data-v-a6878b5a]{padding:10px 0;color:#0094ff}.desc[data-v-a6878b5a]{width:400px;border:none;outline:none;font-size:1em;font-weight:700;padding:0;margin:0}.el-message{z-index:2400}.icon{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.icon-list[data-v-5c41495a]{display:grid;grid-template-columns:repeat(auto-fill,100px);height:80vh;width:100%;overflow:auto}.icon-item[data-v-5c41495a]{width:100px;height:100px;text-align:center}i[data-v-5c41495a]{font-size:60px;line-height:normal}.mytag[data-v-1c303808]{margin:0 4px}.myradio .el-radio-button__inner{display:flex;align-items:center;height:37px}.demo-tabs[data-v-593b57e9]{height:100%;width:100%}.demo-tabs .el-tabs__content{height:calc(100% - 45px)}.el-tab-pane{height:100%}
package/dist/qk-pc-ui.mjs CHANGED
@@ -1362,11 +1362,11 @@ var CRC32 = /* @__PURE__ */ function() {
1362
1362
  _e[R].name = "!Directory", y > 0 && G !== K && (_e[G].name = "!MiniFAT"), _e[M[0]].name = "!FAT", _e.fat_addrs = M, _e.ssz = w;
1363
1363
  var pe = {}, we = [], Be = [], De = [];
1364
1364
  A(R, _e, se, we, y, pe, Be, G), p(Be, De, we), we.shift();
1365
- var be = {
1365
+ var Le = {
1366
1366
  FileIndex: Be,
1367
1367
  FullPaths: De
1368
1368
  };
1369
- return v && v.raw && (be.raw = { header: Z, sectors: se }), be;
1369
+ return v && v.raw && (Le.raw = { header: Z, sectors: se }), Le;
1370
1370
  }
1371
1371
  function _(x) {
1372
1372
  if (x[x.l] == 80 && x[x.l + 1] == 75) return [0, 0];
@@ -1577,7 +1577,7 @@ var CRC32 = /* @__PURE__ */ function() {
1577
1577
  pe > 0 && (pe < 4096 ? J += pe + 63 >> 6 : ee += pe + 511 >> 9);
1578
1578
  }
1579
1579
  }
1580
- for (var we = te.FullPaths.length + 3 >> 2, Be = J + 7 >> 3, De = J + 127 >> 7, be = Be + ee + we + De, Ie = be + 127 >> 7, Ue = Ie <= 109 ? 0 : Math.ceil((Ie - 109) / 127); be + Ie + Ue + 127 >> 7 > Ie; ) Ue = ++Ie <= 109 ? 0 : Math.ceil((Ie - 109) / 127);
1580
+ for (var we = te.FullPaths.length + 3 >> 2, Be = J + 7 >> 3, De = J + 127 >> 7, Le = Be + ee + we + De, Ie = Le + 127 >> 7, Ue = Ie <= 109 ? 0 : Math.ceil((Ie - 109) / 127); Le + Ie + Ue + 127 >> 7 > Ie; ) Ue = ++Ie <= 109 ? 0 : Math.ceil((Ie - 109) / 127);
1581
1581
  var Ae = [1, Ue, Ie, De, we, ee, J, 0];
1582
1582
  return te.FileIndex[0].size = J << 6, Ae[7] = (te.FileIndex[0].start = Ae[0] + Ae[1] + Ae[2] + Ae[3] + Ae[4] + Ae[5]) + (Ae[6] + 7 >> 3), Ae;
1583
1583
  }(x), y = new_buf(w[7] << 9), S = 0, R = 0;
@@ -1786,7 +1786,7 @@ var CRC32 = /* @__PURE__ */ function() {
1786
1786
  for (var v = new Array(x), g = 0; g < x; ++g) v[g] = 0;
1787
1787
  return v;
1788
1788
  }
1789
- function Le(x, v, g) {
1789
+ function be(x, v, g) {
1790
1790
  var w = 1, y = 0, S = 0, R = 0, G = 0, O = x.length, M = ae ? new Uint16Array(32) : Te(32);
1791
1791
  for (S = 0; S < 32; ++S) M[S] = 0;
1792
1792
  for (S = O; S < g; ++S) x[S] = 0;
@@ -1811,13 +1811,13 @@ var CRC32 = /* @__PURE__ */ function() {
1811
1811
  }
1812
1812
  (function() {
1813
1813
  for (var x = [], v = 0; v < 32; v++) x.push(5);
1814
- Le(x, Me, 32);
1814
+ be(x, Me, 32);
1815
1815
  var g = [];
1816
1816
  for (v = 0; v <= 143; v++) g.push(8);
1817
1817
  for (; v <= 255; v++) g.push(9);
1818
1818
  for (; v <= 279; v++) g.push(7);
1819
1819
  for (; v <= 287; v++) g.push(8);
1820
- Le(g, Re, 288);
1820
+ be(g, Re, 288);
1821
1821
  })();
1822
1822
  var qe = /* @__PURE__ */ function() {
1823
1823
  for (var v = ae ? new Uint8Array(32768) : [], g = 0, w = 0; g < ne.length - 1; ++g)
@@ -1913,7 +1913,7 @@ var CRC32 = /* @__PURE__ */ function() {
1913
1913
  var _e = se.slice(0, g), pe = se.slice(g);
1914
1914
  for (Z = g; Z < 286; ++Z) _e[Z] = 0;
1915
1915
  for (Z = w; Z < 30; ++Z) pe[Z] = 0;
1916
- return ze = Le(_e, Xe, 286), je = Le(pe, He, 30), v;
1916
+ return ze = be(_e, Xe, 286), je = be(pe, He, 30), v;
1917
1917
  }
1918
1918
  function Qe(x, v) {
1919
1919
  if (x[0] == 3 && !(x[1] & 3))
@@ -15856,26 +15856,36 @@ const _hoisted_1$k = { style: { display: "inline-block", width: "100px" } }, _ho
15856
15856
  const t = reactive({
15857
15857
  isVisible: !1,
15858
15858
  filterText: "",
15859
+ showColumnItemArray: [],
15860
+ columnItemArray: [],
15859
15861
  filterList: []
15860
- }), a = r, n = e, i = computed(() => {
15861
- let f = [];
15862
- return n.srcTabData.forEach((c) => {
15863
- let _ = c[n.columnInfo.dataKey];
15864
- _ && !f.Exists((h) => h == _) && f.push(_);
15865
- }), f;
15866
- }), l = computed(() => t.filterText ? i.value.Where((f) => f.text.indexOf(t.filterText) >= 0) : i.value), s = (f) => {
15867
- f && (t.filterList = []), a("change", n.columnInfo, t.filterList), t.isVisible = !1;
15862
+ }), a = r, n = e, i = () => {
15863
+ let c = [];
15864
+ return n.srcTabData.forEach((_) => {
15865
+ let h = _[n.columnInfo.dataKey];
15866
+ h && !c.Exists((u) => u == h) && c.push(h);
15867
+ }), c;
15868
+ };
15869
+ watch(() => t.isVisible, (c) => {
15870
+ c && (t.columnItemArray = i(), t.showColumnItemArray = t.columnItemArray);
15871
+ });
15872
+ const l = (c) => {
15873
+ t.filterText ? t.showColumnItemArray = t.columnItemArray.Where((_) => _.indexOf(t.filterText) >= 0) : t.showColumnItemArray = t.columnItemArray;
15874
+ }, s = (c) => {
15875
+ c && (t.filterList = []), a("change", n.columnInfo, t.filterList), t.isVisible = !1;
15868
15876
  }, o = async () => {
15869
- t.filterList = l.value.Where((f) => !t.filterList.Exists((c) => c == f.text)).Select((f) => f.text), s(!1);
15877
+ t.filterList = t.showColumnItemArray.Where((c) => !t.filterList.Exists((_) => _ == c)).Select((c) => c), s(!1);
15878
+ }, f = () => {
15879
+ t.filterList = [...t.showColumnItemArray], s(!1);
15870
15880
  };
15871
- return (f, c) => (openBlock(), createElementBlock("div", null, [
15881
+ return (c, _) => (openBlock(), createElementBlock("div", null, [
15872
15882
  createElementVNode("span", null, toDisplayString(unref(L)(e.columnInfo.title)), 1),
15873
15883
  e.columnInfo.isFilter ? (openBlock(), createBlock(unref(ElPopover), {
15874
15884
  trigger: "click",
15875
15885
  key: e.columnInfo.Id,
15876
15886
  width: "400px",
15877
15887
  visible: t.isVisible,
15878
- "onUpdate:visible": c[6] || (c[6] = (_) => t.isVisible = _)
15888
+ "onUpdate:visible": _[4] || (_[4] = (h) => t.isVisible = h)
15879
15889
  }, {
15880
15890
  reference: withCtx(() => [
15881
15891
  createElementVNode("div", _hoisted_1$j, [
@@ -15904,18 +15914,19 @@ const _hoisted_1$k = { style: { display: "inline-block", width: "100px" } }, _ho
15904
15914
  createElementVNode("div", null, [
15905
15915
  createVNode(unref(ElInput), {
15906
15916
  modelValue: t.filterText,
15907
- "onUpdate:modelValue": c[0] || (c[0] = (_) => t.filterText = _)
15917
+ "onUpdate:modelValue": _[0] || (_[0] = (h) => t.filterText = h),
15918
+ onInput: l
15908
15919
  }, null, 8, ["modelValue"]),
15909
15920
  createVNode(unref(ElCheckboxGroup), {
15910
15921
  modelValue: t.filterList,
15911
- "onUpdate:modelValue": c[1] || (c[1] = (_) => t.filterList = _),
15922
+ "onUpdate:modelValue": _[1] || (_[1] = (h) => t.filterList = h),
15912
15923
  class: "filtercheck",
15913
- onChange: c[2] || (c[2] = (_) => f.onChange(f.item))
15924
+ style: { "max-height": "600px", "overflow-y": "auto" }
15914
15925
  }, {
15915
15926
  default: withCtx(() => [
15916
- (openBlock(!0), createElementBlock(Fragment, null, renderList(l.value, (_) => (openBlock(), createBlock(unref(ElCheckbox), {
15917
- label: _,
15918
- value: _,
15927
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(t.showColumnItemArray, (h) => (openBlock(), createBlock(unref(ElCheckbox), {
15928
+ label: h,
15929
+ value: h,
15919
15930
  style: { width: "400px" }
15920
15931
  }, null, 8, ["label", "value"]))), 256))
15921
15932
  ]),
@@ -15926,7 +15937,7 @@ const _hoisted_1$k = { style: { display: "inline-block", width: "100px" } }, _ho
15926
15937
  createVNode(unref(ElButton), {
15927
15938
  size: "small",
15928
15939
  type: "primary",
15929
- onClick: c[3] || (c[3] = (_) => s(!1))
15940
+ onClick: _[2] || (_[2] = (h) => s(!1))
15930
15941
  }, {
15931
15942
  default: withCtx(() => [
15932
15943
  createTextVNode(toDisplayString(unref(L)("确定")), 1)
@@ -15936,30 +15947,41 @@ const _hoisted_1$k = { style: { display: "inline-block", width: "100px" } }, _ho
15936
15947
  createVNode(unref(ElButton), {
15937
15948
  size: "small",
15938
15949
  type: "danger",
15939
- onClick: c[4] || (c[4] = (_) => s(!0))
15950
+ onClick: _[3] || (_[3] = (h) => s(!0))
15940
15951
  }, {
15941
15952
  default: withCtx(() => [
15942
15953
  createTextVNode(toDisplayString(unref(L)("清空")), 1)
15943
15954
  ]),
15944
15955
  _: 1
15945
15956
  }),
15946
- createVNode(unref(ElButton), {
15957
+ t.filterList.length > 0 ? (openBlock(), createBlock(unref(ElButton), {
15958
+ key: 0,
15947
15959
  size: "small",
15948
15960
  type: "primary",
15949
- onClick: c[5] || (c[5] = (_) => o(f.item))
15961
+ onClick: o
15950
15962
  }, {
15951
15963
  default: withCtx(() => [
15952
15964
  createTextVNode(toDisplayString(unref(L)("反选")), 1)
15953
15965
  ]),
15954
15966
  _: 1
15955
- })
15967
+ })) : (openBlock(), createBlock(unref(ElButton), {
15968
+ key: 1,
15969
+ size: "small",
15970
+ type: "primary",
15971
+ onClick: f
15972
+ }, {
15973
+ default: withCtx(() => [
15974
+ createTextVNode(toDisplayString(unref(L)("全选")), 1)
15975
+ ]),
15976
+ _: 1
15977
+ }))
15956
15978
  ])
15957
15979
  ]),
15958
15980
  _: 1
15959
15981
  }, 8, ["visible"])) : createCommentVNode("", !0)
15960
15982
  ]));
15961
15983
  }
15962
- }, DataColumnTitle = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-d1493ac1"]]), _hoisted_1$i = ["src"], _sfc_main$q = {
15984
+ }, DataColumnTitle = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-5e6d06a7"]]), _hoisted_1$i = ["src"], _sfc_main$q = {
15963
15985
  __name: "byDialog",
15964
15986
  props: {
15965
15987
  modelValue: { type: Boolean, default: !1 },