@qin-ui/antd-vue-pro 2.1.5 → 2.1.6

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.
@@ -1,13 +1,13 @@
1
- .pro-table_search-form[data-v-41da0f82] .ant-form-item {
1
+ .pro-table_search-form[data-v-fffc2a28] [class*='-form-item'] {
2
2
  margin: 0;
3
3
  }
4
- .pro-table_search-form_expand-toggle-button[data-v-41da0f82] {
4
+ .pro-table_search-form_expand-toggle-button[data-v-fffc2a28] {
5
5
  display: flex;
6
6
  align-items: center;
7
7
  padding: 0;
8
8
  padding-left: 4px;
9
9
  }
10
- .pro-table_search-form .transition[data-v-41da0f82] {
10
+ .pro-table_search-form .transition[data-v-fffc2a28] {
11
11
  transition: all 0.25s;
12
12
  }
13
13
  .pro-table_search-form-container[data-v-c385cd54] {
@@ -36,23 +36,23 @@
36
36
  .pro-table_column-control_button[data-v-d503f78a] svg {
37
37
  transform: scale(1.2, 1.4);
38
38
  }
39
- .pro-table_header[data-v-291baca6] {
39
+ .pro-table_header[data-v-0e17ddec] {
40
40
  display: flex;
41
41
  align-items: center;
42
42
  justify-content: flex-end;
43
43
  }
44
- .pro-table_header[data-v-291baca6]:empty {
44
+ .pro-table_header[data-v-0e17ddec]:empty {
45
45
  display: none;
46
46
  }
47
- .pro-table_header + .pro-table_header_content[data-v-291baca6] {
47
+ .pro-table_header + .pro-table_header_content[data-v-0e17ddec] {
48
48
  margin-top: 16px;
49
49
  }
50
- .pro-table_header_button-bar[data-v-291baca6] {
50
+ .pro-table_header_button-bar[data-v-0e17ddec] {
51
51
  flex: 1;
52
52
  }
53
- .pro-table_header_toolbar[data-v-291baca6] {
53
+ .pro-table_header_toolbar[data-v-0e17ddec] {
54
54
  margin-left: 12px;
55
55
  }
56
- .pro-table[data-v-291baca6] .ant-pagination .ant-pagination-total-text {
56
+ .pro-table[data-v-0e17ddec] [class*='-pagination'] [class*='-pagination-total-text'] {
57
57
  flex: 1;
58
58
  }
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, provide, renderSlot } from "vue";
2
2
  import { g as getObject } from "../core/index-BrBzu6aj.js";
3
- const getPopupContainer = (triggerNode) => triggerNode.closest(".ant-form");
3
+ const getPopupContainer = (triggerNode) => triggerNode.closest("form[class*='-form']");
4
4
  const INJECT_COMPONENTS = Symbol("INJECT_COMPONENTS");
5
5
  const INJECT_CONFIG = {
6
6
  "pro-table": {
package/es/table/index.js CHANGED
@@ -68,7 +68,9 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
68
68
  expandStatus.value = false;
69
69
  if (formRef.value && __props.expand) {
70
70
  const formEl = formRef.value.$el;
71
- const formItemsEl = formEl.querySelectorAll(".ant-form-item>[path]");
71
+ const formItemsEl = formEl.querySelectorAll(
72
+ "[class*='-form-item'] > [path]"
73
+ );
72
74
  const observer = new IntersectionObserver(
73
75
  (entries) => {
74
76
  expandStatus.value = entries.some((e) => {
@@ -102,7 +104,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
102
104
  const proFormEl = (_a = formRef.value) == null ? void 0 : _a.$el;
103
105
  const { height = 0 } = ((_b = proFormEl == null ? void 0 : proFormEl.getBoundingClientRect) == null ? void 0 : _b.call(proFormEl)) || {};
104
106
  proFormHeight.value = height;
105
- rowHeight = (_e = (_d = (_c = proFormEl == null ? void 0 : proFormEl.querySelector(".ant-form-item")) == null ? void 0 : _c.getBoundingClientRect) == null ? void 0 : _d.call(_c)) == null ? void 0 : _e.height;
107
+ rowHeight = (_e = (_d = (_c = proFormEl == null ? void 0 : proFormEl.querySelector("[class*='-form-item']")) == null ? void 0 : _c.getBoundingClientRect) == null ? void 0 : _d.call(_c)) == null ? void 0 : _e.height;
106
108
  },
107
109
  { flush: "post", immediate: true }
108
110
  );
@@ -223,7 +225,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
223
225
  };
224
226
  }
225
227
  });
226
- const SearchForm = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-41da0f82"]]);
228
+ const SearchForm = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-fffc2a28"]]);
227
229
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
228
230
  __name: "DefaultSearchFormContainer",
229
231
  setup(__props) {
@@ -688,7 +690,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
688
690
  };
689
691
  }
690
692
  });
691
- const BaseTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-291baca6"]]);
693
+ const BaseTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0e17ddec"]]);
692
694
  const useTable = useTable$1;
693
695
  export {
694
696
  BaseTable as default,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qin-ui/antd-vue-pro",
3
- "version": "2.1.5",
3
+ "version": "2.1.6",
4
4
  "description": "二次封装antd vue组件",
5
5
  "type": "module",
6
6
  "module": "es/index.js",