knt-shared 1.5.8 → 1.5.9

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 +1 @@
1
- {"version":3,"file":"useTableEdit.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/hooks/useTableEdit.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAmB,MAAM,UAAU,CAAC;AAG9E;;;GAGG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,WAAW,CAAC,eAAe,CAAC,EACnC,UAAU,EAAE,GAAG,CAAC,SAAS,EAAE,CAAC,EAC5B,SAAS,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,MAAM,GAAG,MAAM;;;;wBAwCtB,SAAS,WAAW,WAAW,KAAG,OAAO;2BAmBtC,SAAS,UAAU,WAAW,KAAG,GAAG;2BA0BpC,SAAS,UAAU,WAAW,SAAS,GAAG,KAAG,IAAI;iCAmB3C,SAAS,UAAU,WAAW,KAAG,MAAM,GAAG,SAAS;wBAc5D,SAAS,WAAW,WAAW,KAAG,IAAI;uBAqEjC,SAAS,KAAG,OAAO,CAAC,OAAO,CAAC;yBAiGhC,SAAS,KAAG,IAAI;wBA6BX,SAAS,KAAG,OAAO,CAAC,IAAI,CAAC;wBAgC1B,KAAK,GAAG,QAAQ,KAAc,OAAO,CAAC,IAAI,CAAC;0BAmChD,SAAS,EAAE;wBAWP,OAAO,CAAC,OAAO,CAAC;0BAqBpB,IAAI;+BA1PG,SAAS,KAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;EAoRlE"}
1
+ {"version":3,"file":"useTableEdit.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/hooks/useTableEdit.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAmB,MAAM,UAAU,CAAC;AAG9E;;;GAGG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,WAAW,CAAC,eAAe,CAAC,EACnC,UAAU,EAAE,GAAG,CAAC,SAAS,EAAE,CAAC,EAC5B,SAAS,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,MAAM,GAAG,MAAM;;;;wBAwCtB,SAAS,WAAW,WAAW,KAAG,OAAO;2BAmBtC,SAAS,UAAU,WAAW,KAAG,GAAG;2BA0BpC,SAAS,UAAU,WAAW,SAAS,GAAG,KAAG,IAAI;iCAmB3C,SAAS,UAAU,WAAW,KAAG,MAAM,GAAG,SAAS;wBAc5D,SAAS,WAAW,WAAW,KAAG,IAAI;uBAqEjC,SAAS,KAAG,OAAO,CAAC,OAAO,CAAC;yBAgGhC,SAAS,KAAG,IAAI;wBA6BX,SAAS,KAAG,OAAO,CAAC,IAAI,CAAC;wBA8B1B,KAAK,GAAG,QAAQ,KAAc,OAAO,CAAC,IAAI,CAAC;0BAmChD,SAAS,EAAE;wBAWP,OAAO,CAAC,OAAO,CAAC;0BAqBpB,IAAI;+BAvPG,SAAS,KAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;EAiRlE"}
package/dist/index.cjs.js CHANGED
@@ -4010,7 +4010,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
4010
4010
  };
4011
4011
  }
4012
4012
  });
4013
- const BasicReadonlyField = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-055a0eb6"]]);
4013
+ const BasicReadonlyField = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-ef9a435f"]]);
4014
4014
  function useReadonlyField(options) {
4015
4015
  const defaultEmptyText = (options == null ? void 0 : options.defaultEmptyText) || "-";
4016
4016
  const globalLabelMap = (options == null ? void 0 : options.globalLabelMap) || {};
@@ -5799,7 +5799,6 @@ function useTableEdit(props, dataSource, getRowKey) {
5799
5799
  delete editValueMap[recordKey];
5800
5800
  delete originalDataMap[recordKey];
5801
5801
  delete validationErrorMap[recordKey];
5802
- webVue.Message.success("保存成功");
5803
5802
  return true;
5804
5803
  };
5805
5804
  const cancelEdit = (record) => {
@@ -5839,7 +5838,6 @@ function useTableEdit(props, dataSource, getRowKey) {
5839
5838
  delete editValueMap[recordKey];
5840
5839
  delete originalDataMap[recordKey];
5841
5840
  delete validationErrorMap[recordKey];
5842
- webVue.Message.success("删除成功");
5843
5841
  };
5844
5842
  const addRow = async (position = "bottom") => {
5845
5843
  let newRecord = {};