star-horse-lowcode 2.8.6 → 2.8.7

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/dist/index.es.js CHANGED
@@ -151366,7 +151366,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
151366
151366
  title: _ctx.field.preps?.appendAction?.actionTitle,
151367
151367
  style: { "cursor": "pointer" },
151368
151368
  "icon-class": _ctx.field.preps?.appendAction?.icon || "document",
151369
- onClick: _cache[2] || (_cache[2] = ($event) => _ctx.field.preps?.appendAction?.actions(formData.value))
151369
+ onClick: _cache[2] || (_cache[2] = ($event) => _ctx.field.preps?.appendAction?.actions?.(formData.value))
151370
151370
  }, null, 8, ["title", "icon-class"])
151371
151371
  ]),
151372
151372
  key: "3"
@@ -151403,7 +151403,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
151403
151403
 
151404
151404
  /* unplugin-vue-components disabled */
151405
151405
 
151406
- const inputItem = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-277d463f"]]);
151406
+ const inputItem = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-6c8ee7f0"]]);
151407
151407
 
151408
151408
  const inputItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
151409
151409
  __proto__: null,
@@ -248408,7 +248408,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
248408
248408
  if (item.tabName == tabName) {
248409
248409
  props.item.tabList.splice(index, 1);
248410
248410
  props.item.fieldName = props.item.tabList[0]?.tabName;
248411
- let closeAction = props.item.actions["close"];
248411
+ let closeAction = props.item.actions?.["close"];
248412
248412
  closeAction && closeAction(item);
248413
248413
  return false;
248414
248414
  }
@@ -248430,8 +248430,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
248430
248430
  onTabRemove: closeOperation,
248431
248431
  closable: _ctx.item.closable,
248432
248432
  addable: _ctx.item.addable,
248433
- onTabChange: _cache[2] || (_cache[2] = (data) => _ctx.item.actions["tabChange"]?.(data)),
248434
- onTabAdd: _cache[3] || (_cache[3] = (data) => _ctx.item.actions["tabAdd"]?.(data))
248433
+ onTabChange: _cache[2] || (_cache[2] = (data) => _ctx.item.actions?.["tabChange"]?.(data)),
248434
+ onTabAdd: _cache[3] || (_cache[3] = (data) => _ctx.item.actions?.["tabAdd"]?.(data))
248435
248435
  }, {
248436
248436
  default: withCtx(() => [
248437
248437
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.item.tabList, (tabItem, key) => {
@@ -248505,7 +248505,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
248505
248505
 
248506
248506
  /* unplugin-vue-components disabled */
248507
248507
 
248508
- const tabItem = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-14a707c2"]]);
248508
+ const tabItem = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-0879544d"]]);
248509
248509
 
248510
248510
  const tabItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
248511
248511
  __proto__: null,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "star-horse-lowcode",
3
3
  "private": false,
4
4
  "author": "l_1019@163.com",
5
- "version": "2.8.6",
5
+ "version": "2.8.7",
6
6
  "type": "module",
7
7
  "description": "星马低代码核心库,提供了低代码平台的基础功能和组件库。此库可引用到您的项目中,快速构建表单和列表。",
8
8
  "keywords": [
@@ -89,7 +89,7 @@
89
89
  "unplugin-vue-components": "^29.0.0",
90
90
  "uuid": "^11.1.0",
91
91
  "vite-plugin-dts": "^4.5.4",
92
- "vue": "^3.5.18",
92
+ "vue": "^3.5.19",
93
93
  "vue-eslint-parser": "^10.2.0",
94
94
  "vue-i18n": "^11.1.11",
95
95
  "vue-m-message": "^4.0.2",