@qin-ui/antdv-next-pro 1.1.5 → 1.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-37368080] .ant-form-item {
1
+ .pro-table_search-form[data-v-c418e780] [class*='-form-item'] {
2
2
  margin: 0;
3
3
  }
4
- .pro-table_search-form_expand-toggle-button[data-v-37368080] {
4
+ .pro-table_search-form_expand-toggle-button[data-v-c418e780] {
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-37368080] {
10
+ .pro-table_search-form .transition[data-v-c418e780] {
11
11
  transition: all 0.25s;
12
12
  }
13
13
  .pro-table_search-form-container[data-v-f115fbbe] {
@@ -36,23 +36,23 @@
36
36
  .pro-table_column-control_button[data-v-246b0faf] svg {
37
37
  transform: scale(1.2, 1.4);
38
38
  }
39
- .pro-table_header[data-v-a5d71b88] {
39
+ .pro-table_header[data-v-da8d2778] {
40
40
  display: flex;
41
41
  align-items: center;
42
42
  justify-content: flex-end;
43
43
  }
44
- .pro-table_header[data-v-a5d71b88]:empty {
44
+ .pro-table_header[data-v-da8d2778]:empty {
45
45
  display: none;
46
46
  }
47
- .pro-table_header + .pro-table_header_content[data-v-a5d71b88] {
47
+ .pro-table_header + .pro-table_header_content[data-v-da8d2778] {
48
48
  margin-top: 16px;
49
49
  }
50
- .pro-table_header_button-bar[data-v-a5d71b88] {
50
+ .pro-table_header_button-bar[data-v-da8d2778] {
51
51
  flex: 1;
52
52
  }
53
- .pro-table_header_toolbar[data-v-a5d71b88] {
53
+ .pro-table_header_toolbar[data-v-da8d2778] {
54
54
  margin-left: 12px;
55
55
  }
56
- .pro-table[data-v-a5d71b88] .ant-pagination .ant-pagination-total-text {
56
+ .pro-table[data-v-da8d2778] [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_CONFIG = {
5
5
  "pro-table": {
6
6
  injectionKey: Symbol(""),
package/es/table/index.js CHANGED
@@ -67,7 +67,9 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
67
67
  expandStatus.value = false;
68
68
  if (formRef.value && __props.expand) {
69
69
  const formEl = formRef.value.$el;
70
- const formItemsEl = formEl.querySelectorAll(".ant-form-item>[path]");
70
+ const formItemsEl = formEl.querySelectorAll(
71
+ "[class*='-form-item'] > [path]"
72
+ );
71
73
  const observer = new IntersectionObserver(
72
74
  (entries) => {
73
75
  expandStatus.value = entries.some((e) => {
@@ -101,7 +103,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
101
103
  const proFormEl = (_a = formRef.value) == null ? void 0 : _a.$el;
102
104
  const { height = 0 } = ((_b = proFormEl == null ? void 0 : proFormEl.getBoundingClientRect) == null ? void 0 : _b.call(proFormEl)) || {};
103
105
  proFormHeight.value = height;
104
- 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;
106
+ 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;
105
107
  },
106
108
  { flush: "post", immediate: true }
107
109
  );
@@ -222,7 +224,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
222
224
  };
223
225
  }
224
226
  });
225
- const SearchForm = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-37368080"]]);
227
+ const SearchForm = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-c418e780"]]);
226
228
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
227
229
  __name: "DefaultSearchFormContainer",
228
230
  setup(__props) {
@@ -677,7 +679,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
677
679
  };
678
680
  }
679
681
  });
680
- const BaseTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a5d71b88"]]);
682
+ const BaseTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-da8d2778"]]);
681
683
  const useTable = useTable$1;
682
684
  export {
683
685
  BaseTable as default,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qin-ui/antdv-next-pro",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "基于 antdv-next 的二次封装组件",
5
5
  "type": "module",
6
6
  "module": "es/index.js",