3h1-ui 2.15.3 → 2.15.4

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/es/index.js CHANGED
@@ -7758,6 +7758,31 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
7758
7758
  deep: true
7759
7759
  }
7760
7760
  );
7761
+ const isScroll = ref(false);
7762
+ onMounted(() => {
7763
+ window.addEventListener(
7764
+ "scroll",
7765
+ () => {
7766
+ if (isScroll.value)
7767
+ return;
7768
+ isScroll.value = true;
7769
+ },
7770
+ true
7771
+ );
7772
+ window.addEventListener(
7773
+ "scrollend",
7774
+ () => {
7775
+ isScroll.value = false;
7776
+ },
7777
+ true
7778
+ );
7779
+ });
7780
+ onUnmounted(() => {
7781
+ window.removeEventListener("scroll", () => {
7782
+ });
7783
+ window.removeEventListener("scrollend", () => {
7784
+ });
7785
+ });
7761
7786
  const loadKv = () => {
7762
7787
  const columns = props2.columns;
7763
7788
  let dicData = [];
@@ -7819,7 +7844,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
7819
7844
  return [
7820
7845
  createVNode(unref(Popover), {
7821
7846
  overlayClassName: "table-children-err-popover",
7822
- visible: !!((_a2 = rulesRef == null ? void 0 : rulesRef[`${column.dataIndex}-${record.uuid}Info`]) == null ? void 0 : _a2.show)
7847
+ visible: !!((_a2 = rulesRef == null ? void 0 : rulesRef[`${column.dataIndex}-${record.uuid}Info`]) == null ? void 0 : _a2.show) && !isScroll.value
7823
7848
  }, {
7824
7849
  content: withCtx(() => {
7825
7850
  var _a3;
@@ -7891,8 +7916,8 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
7891
7916
  };
7892
7917
  }
7893
7918
  });
7894
- const Table_vue_vue_type_style_index_0_scoped_9cf892ac_lang = "";
7895
- const Table = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-9cf892ac"]]);
7919
+ const Table_vue_vue_type_style_index_0_scoped_5d979e6e_lang = "";
7920
+ const Table = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-5d979e6e"]]);
7896
7921
  const modal = "";
7897
7922
  useI18n$1();
7898
7923
  const modalProps = {
package/es/style.css CHANGED
@@ -24879,40 +24879,40 @@ span.iconify {
24879
24879
  .shy-tinymce-container textarea {
24880
24880
  z-index: -1;
24881
24881
  visibility: hidden;
24882
- }.shy-table-edit-icon-plus[data-v-9cf892ac] {
24882
+ }.shy-table-edit-icon-plus[data-v-5d979e6e] {
24883
24883
  width: 30px;
24884
24884
  height: 30px;
24885
24885
  font-size: 30px;
24886
24886
  cursor: pointer;
24887
24887
  display: flex;
24888
24888
  }
24889
- .table-children[data-v-9cf892ac] .ant-form-item {
24889
+ .table-children[data-v-5d979e6e] .ant-form-item {
24890
24890
  margin-bottom: 0 !important;
24891
24891
  }
24892
- .table-children-required[data-v-9cf892ac] {
24892
+ .table-children-required[data-v-5d979e6e] {
24893
24893
  color: #ff4d4f;
24894
24894
  margin-right: 4px;
24895
24895
  }
24896
- .table-children[data-v-9cf892ac] .ant-table-cell {
24896
+ .table-children[data-v-5d979e6e] .ant-table-cell {
24897
24897
  padding: 8px !important;
24898
24898
  }
24899
- .table-children[data-v-9cf892ac] .ant-table-cell .ant-form-item-explain {
24899
+ .table-children[data-v-5d979e6e] .ant-table-cell .ant-form-item-explain {
24900
24900
  display: none;
24901
24901
  }
24902
- .table-children-delete-wrapper[data-v-9cf892ac] {
24902
+ .table-children-delete-wrapper[data-v-5d979e6e] {
24903
24903
  display: flex;
24904
24904
  height: 100%;
24905
24905
  justify-content: center;
24906
24906
  }
24907
- .table-children-delete-wrapper:hover .table-children-delete-item[data-v-9cf892ac] {
24907
+ .table-children-delete-wrapper:hover .table-children-delete-item[data-v-5d979e6e] {
24908
24908
  display: flex;
24909
24909
  justify-content: center;
24910
24910
  align-items: center;
24911
24911
  }
24912
- .table-children-delete-wrapper:hover .table-children-delete-index[data-v-9cf892ac] {
24912
+ .table-children-delete-wrapper:hover .table-children-delete-index[data-v-5d979e6e] {
24913
24913
  display: none;
24914
24914
  }
24915
- .table-children-delete-item[data-v-9cf892ac] {
24915
+ .table-children-delete-item[data-v-5d979e6e] {
24916
24916
  background-color: red;
24917
24917
  border-radius: 50%;
24918
24918
  width: 30px;
@@ -24921,7 +24921,7 @@ span.iconify {
24921
24921
  display: none;
24922
24922
  cursor: pointer;
24923
24923
  }
24924
- .table-children-delete-index[data-v-9cf892ac] {
24924
+ .table-children-delete-index[data-v-5d979e6e] {
24925
24925
  user-select: none;
24926
24926
  display: inline-block;
24927
24927
  }@media screen and (max-height: 600px) {
package/lib/index.js CHANGED
@@ -7782,6 +7782,31 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
7782
7782
  deep: true
7783
7783
  }
7784
7784
  );
7785
+ const isScroll = vue.ref(false);
7786
+ vue.onMounted(() => {
7787
+ window.addEventListener(
7788
+ "scroll",
7789
+ () => {
7790
+ if (isScroll.value)
7791
+ return;
7792
+ isScroll.value = true;
7793
+ },
7794
+ true
7795
+ );
7796
+ window.addEventListener(
7797
+ "scrollend",
7798
+ () => {
7799
+ isScroll.value = false;
7800
+ },
7801
+ true
7802
+ );
7803
+ });
7804
+ vue.onUnmounted(() => {
7805
+ window.removeEventListener("scroll", () => {
7806
+ });
7807
+ window.removeEventListener("scrollend", () => {
7808
+ });
7809
+ });
7785
7810
  const loadKv = () => {
7786
7811
  const columns = props2.columns;
7787
7812
  let dicData = [];
@@ -7843,7 +7868,7 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
7843
7868
  return [
7844
7869
  vue.createVNode(vue.unref(antDesignVue.Popover), {
7845
7870
  overlayClassName: "table-children-err-popover",
7846
- visible: !!((_a2 = rulesRef == null ? void 0 : rulesRef[`${column.dataIndex}-${record.uuid}Info`]) == null ? void 0 : _a2.show)
7871
+ visible: !!((_a2 = rulesRef == null ? void 0 : rulesRef[`${column.dataIndex}-${record.uuid}Info`]) == null ? void 0 : _a2.show) && !isScroll.value
7847
7872
  }, {
7848
7873
  content: vue.withCtx(() => {
7849
7874
  var _a3;
@@ -7915,8 +7940,8 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
7915
7940
  };
7916
7941
  }
7917
7942
  });
7918
- const Table_vue_vue_type_style_index_0_scoped_9cf892ac_lang = "";
7919
- const Table = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-9cf892ac"]]);
7943
+ const Table_vue_vue_type_style_index_0_scoped_5d979e6e_lang = "";
7944
+ const Table = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-5d979e6e"]]);
7920
7945
  const modal = "";
7921
7946
  use.useI18n();
7922
7947
  const modalProps = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "3h1-ui",
3
- "version": "2.15.3",
3
+ "version": "2.15.4",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -30,8 +30,8 @@
30
30
  "vxe-table": "^4.3.6",
31
31
  "xe-utils": "^3.5.7",
32
32
  "@shy-plugins/use": "1.0.9",
33
- "@shy-plugins/tinymce": "^1.0.6",
34
- "@shy-plugins/utils": "1.1.1"
33
+ "@shy-plugins/utils": "1.1.1",
34
+ "@shy-plugins/tinymce": "^1.0.6"
35
35
  },
36
36
  "types": "es/ui/index.d.ts",
37
37
  "devDependencies": {