@qin-ui/antd-vue-pro 1.1.13 → 1.1.14

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
@@ -1,6 +1,6 @@
1
1
  import "./style.css";
2
- import { _ as _sfc_main } from "./form/index-c1a5e7f6.js";
3
- import { l, B, d, i, C, b, f, F, k, G, R, e, j, U, h, m, p, n, s, q, u, r, t } from "./form/index-c1a5e7f6.js";
2
+ import { _ as _sfc_main } from "./form/index-297bff03.js";
3
+ import { l, B, d, i, C, b, f, F, k, G, R, e, j, U, h, m, p, n, s, q, u, r, t } from "./form/index-297bff03.js";
4
4
  import BaseTable from "./table/index.js";
5
5
  import { useTable } from "./table/index.js";
6
6
  import _sfc_main$1 from "./component-provider/index.js";
package/es/style.css CHANGED
@@ -22,10 +22,10 @@
22
22
  .search .expand-transition[data-v-917bc550] {
23
23
  transition: all 0.25s;
24
24
  }
25
- .control-icon[data-v-012257d9] {
25
+ .control-icon[data-v-169dc2ef] {
26
26
  cursor: pointer;
27
27
  }
28
- .control-icon[data-v-012257d9] :hover {
28
+ .control-icon[data-v-169dc2ef] :hover {
29
29
  color: #1677ff;
30
30
  }
31
31
  .search-container[data-v-c00ace37] {
@@ -44,11 +44,11 @@
44
44
  padding: 24px 24px 16px;
45
45
  background-color: #fff;
46
46
  }
47
- .pro-table[data-v-4b9e440a] {
47
+ .pro-table[data-v-e79a9d0e] {
48
48
  display: flex;
49
49
  flex-direction: column;
50
50
  min-width: 800px;
51
51
  }
52
- .pro-table[data-v-4b9e440a] .ant-pagination .ant-pagination-total-text {
52
+ .pro-table[data-v-e79a9d0e] .ant-pagination .ant-pagination-total-text {
53
53
  flex: 1;
54
54
  }
package/es/table/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { createVNode, defineComponent, ref, onMounted, openBlock, createElementBlock, unref, normalizeStyle, createElementVNode, withCtx, createTextVNode, createBlock, toDisplayString, createCommentVNode, mergeModels, useModel, computed, watch, Fragment, renderList, withModifiers, renderSlot, useAttrs, useSlots, mergeProps, createSlots, normalizeProps, guardReactiveProps, nextTick } from "vue";
2
2
  import { Button, Space, Dropdown, Menu, MenuItem, Checkbox, MenuDivider, Table } from "ant-design-vue";
3
3
  import { useInjectProps, INJECT_KEYS } from "../component-provider/index.js";
4
- import { A as AntdIcon, _ as _sfc_main$6, g as get, a as _export_sfc, o as omit, b as _sfc_main$7, c as cloneDeep, u as useForm } from "../form/index-c1a5e7f6.js";
4
+ import { A as AntdIcon, _ as _sfc_main$6, g as get, a as _export_sfc, o as omit, b as _sfc_main$7, c as cloneDeep, u as useForm } from "../form/index-297bff03.js";
5
5
  var ColumnHeightOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" } }] }, "name": "column-height", "theme": "outlined" };
6
6
  const ColumnHeightOutlinedSvg = ColumnHeightOutlined$2;
7
7
  function _objectSpread$2(target) {
@@ -368,8 +368,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
368
368
  };
369
369
  }
370
370
  });
371
- const Control_vue_vue_type_style_index_0_scoped_012257d9_lang = "";
372
- const Control = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-012257d9"]]);
371
+ const Control_vue_vue_type_style_index_0_scoped_169dc2ef_lang = "";
372
+ const Control = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-169dc2ef"]]);
373
373
  const DefaultSearchContainer_vue_vue_type_style_index_0_scoped_c00ace37_lang = "";
374
374
  const _sfc_main$3 = {};
375
375
  const _hoisted_1$3 = { class: "search-container" };
@@ -562,7 +562,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
562
562
  ]),
563
563
  _: 3
564
564
  }, 8, ["component"])) : createCommentVNode("", true),
565
- _ctx.showControl ? (openBlock(), createBlock(unref(_sfc_main$7), {
565
+ _ctx.showControl || Object.hasOwn(_ctx.$slots, "buttons") ? (openBlock(), createBlock(unref(_sfc_main$7), {
566
566
  key: 1,
567
567
  component: _ctx.controlContainer
568
568
  }, {
@@ -604,8 +604,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
604
604
  };
605
605
  }
606
606
  });
607
- const Table_vue_vue_type_style_index_0_scoped_4b9e440a_lang = "";
608
- const BaseTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4b9e440a"]]);
607
+ const Table_vue_vue_type_style_index_0_scoped_e79a9d0e_lang = "";
608
+ const BaseTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e79a9d0e"]]);
609
609
  const getDefaultPagination = () => ({ current: 1, pageSize: 10, total: 0 });
610
610
  const useTable = ({
611
611
  columns: initColumns = [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qin-ui/antd-vue-pro",
3
- "version": "1.1.13",
3
+ "version": "1.1.14",
4
4
  "description": "二次封装antd vue组件",
5
5
  "type": "module",
6
6
  "main": "",
@@ -33,9 +33,6 @@
33
33
  "bugs": {
34
34
  "url": "https://github.com/dufan3715/pro-components/issues"
35
35
  },
36
- "devDependencies": {
37
- "vue-component-type-helpers": "^1.8.22"
38
- },
39
36
  "dependencies": {
40
37
  "@ant-design/icons-vue": "^7.0.1"
41
38
  }