@qin-ui/antd-vue-pro 1.0.26 → 1.0.27

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,6 +1,6 @@
1
1
  import { defineComponent, provide, renderSlot } from "vue";
2
2
  import "ant-design-vue";
3
- import { I as INJECT_COMPONENT_PROPS_KEYS } from "../form/index-416cf600.js";
3
+ import { I as INJECT_COMPONENT_PROPS_KEYS } from "../form/index-5e5da646.js";
4
4
  import { PRO_TABLE_INJECT_COMPONENT_PROPS_KEYS } from "../table/index.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "index",
@@ -16418,6 +16418,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
16418
16418
  }
16419
16419
  return "value";
16420
16420
  });
16421
+ const formDisabled = useInjectDisabled();
16421
16422
  const mergedAttrs = computed(() => {
16422
16423
  const compType = componentType.value;
16423
16424
  const initProps = getInitProps({
@@ -16433,7 +16434,13 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
16433
16434
  Object.assign(methods, rewriteMethod("onBlur"), rewriteMethod("onFocus"));
16434
16435
  break;
16435
16436
  }
16436
- return { ...initProps, ...attrs, ...methods, onFocus: void 0 };
16437
+ return {
16438
+ ...initProps,
16439
+ ...attrs,
16440
+ ...methods,
16441
+ onFocus: void 0,
16442
+ disabled: attrs.disabled ?? formDisabled.value ?? initProps.disabled
16443
+ };
16437
16444
  });
16438
16445
  const is = computed(() => {
16439
16446
  return COMPONENT_MAP.get(props.component) ?? props.component;
@@ -16487,7 +16494,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
16487
16494
  };
16488
16495
  }
16489
16496
  });
16490
- const index_vue_vue_type_style_index_0_scoped_cabd909c_lang = "";
16497
+ const index_vue_vue_type_style_index_0_scoped_86724ea3_lang = "";
16491
16498
  const _export_sfc = (sfc, props) => {
16492
16499
  const target = sfc.__vccOpts || sfc;
16493
16500
  for (const [key, val] of props) {
@@ -16495,7 +16502,7 @@ const _export_sfc = (sfc, props) => {
16495
16502
  }
16496
16503
  return target;
16497
16504
  };
16498
- const BaseField = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-cabd909c"]]);
16505
+ const BaseField = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-86724ea3"]]);
16499
16506
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
16500
16507
  ...{
16501
16508
  name: "ContainerFragment",
package/es/form/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { k, B, d, h, C, b, f, F, j, l, I, R, e, i, U, g, _, m, p, n, s, q, u, r, t } from "./index-416cf600.js";
1
+ import { k, B, d, h, C, b, f, F, j, l, I, R, e, i, U, g, _, m, p, n, s, q, u, r, t } from "./index-5e5da646.js";
2
2
  import "vue";
3
3
  import "ant-design-vue";
4
4
  export {
package/es/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./style.css";
2
- import { _ as _sfc_main } from "./form/index-416cf600.js";
3
- import { k, B, d, h, C, b, f, F, j, l, I, R, e, i, U, g, m, p, n, s, q, u, r, t } from "./form/index-416cf600.js";
2
+ import { _ as _sfc_main } from "./form/index-5e5da646.js";
3
+ import { k, B, d, h, C, b, f, F, j, l, I, R, e, i, U, g, m, p, n, s, q, u, r, t } from "./form/index-5e5da646.js";
4
4
  import BaseTable from "./table/index.js";
5
5
  import { PRO_TABLE_INIT_COMPONENT_PROPS_MAP, PRO_TABLE_INJECT_COMPONENT_PROPS_KEYS, useTable } from "./table/index.js";
6
6
  import _sfc_main$1 from "./component-provider/index.js";
package/es/style.css CHANGED
@@ -1,4 +1,4 @@
1
- .field-component[data-v-cabd909c] {
1
+ .field-component[data-v-86724ea3] {
2
2
  width: 100%;
3
3
  min-width: 120px;
4
4
  }
package/es/table/index.js CHANGED
@@ -1,6 +1,6 @@
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, inject, 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
- import { A as AntdIcon, _ as _sfc_main$6, a as _export_sfc, o as omit, b as _sfc_main$7, c as cloneDeep, u as useForm } from "../form/index-416cf600.js";
3
+ import { A as AntdIcon, _ as _sfc_main$6, a as _export_sfc, o as omit, b as _sfc_main$7, c as cloneDeep, u as useForm } from "../form/index-5e5da646.js";
4
4
  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" };
5
5
  const ColumnHeightOutlinedSvg = ColumnHeightOutlined$2;
6
6
  function _objectSpread$2(target) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qin-ui/antd-vue-pro",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "description": "二次封装antd vue组件",
5
5
  "type": "module",
6
6
  "main": "",