star-horse-lowcode 2.7.44 → 2.7.46

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
@@ -318,7 +318,7 @@ const useNamespace = (block, namespaceOverrides) => {
318
318
  };
319
319
 
320
320
  /**
321
- * @vue/shared v3.5.16
321
+ * @vue/shared v3.5.17
322
322
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
323
323
  * @license MIT
324
324
  **/
@@ -66285,41 +66285,6 @@ function getFingerId() {
66285
66285
  return sessionStorage.getItem("deviceId");
66286
66286
  }
66287
66287
 
66288
- /*!
66289
- * vue-router v4.5.1
66290
- * (c) 2025 Eduardo San Martin Morote
66291
- * @license MIT
66292
- */
66293
- var NavigationType;
66294
- (function(NavigationType2) {
66295
- NavigationType2["pop"] = "pop";
66296
- NavigationType2["push"] = "push";
66297
- })(NavigationType || (NavigationType = {}));
66298
- var NavigationDirection;
66299
- (function(NavigationDirection2) {
66300
- NavigationDirection2["back"] = "back";
66301
- NavigationDirection2["forward"] = "forward";
66302
- NavigationDirection2["unknown"] = "";
66303
- })(NavigationDirection || (NavigationDirection = {}));
66304
- Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : "");
66305
- var NavigationFailureType;
66306
- (function(NavigationFailureType2) {
66307
- NavigationFailureType2[NavigationFailureType2["aborted"] = 4] = "aborted";
66308
- NavigationFailureType2[NavigationFailureType2["cancelled"] = 8] = "cancelled";
66309
- NavigationFailureType2[NavigationFailureType2["duplicated"] = 16] = "duplicated";
66310
- })(NavigationFailureType || (NavigationFailureType = {}));
66311
- Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
66312
- Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
66313
- const routerKey = Symbol(process.env.NODE_ENV !== "production" ? "router" : "");
66314
- const routeLocationKey = Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
66315
- Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
66316
- function useRouter() {
66317
- return inject(routerKey);
66318
- }
66319
- function useRoute(_name) {
66320
- return inject(routeLocationKey);
66321
- }
66322
-
66323
66288
  const userStore = useUserInfoStore(piniaInstance);
66324
66289
  const service = axios.create({
66325
66290
  baseURL: "/",
@@ -66344,7 +66309,7 @@ service.interceptors.request.use(
66344
66309
  }
66345
66310
  );
66346
66311
  function getMenuId() {
66347
- const router = useRouter() ?? window.__hostRouter__;
66312
+ const router = window.__hostRouter__;
66348
66313
  const meta = router?.currentRoute?.value?.meta;
66349
66314
  let menuId = meta?.menuId;
66350
66315
  if (!menuId) {
@@ -92784,6 +92749,9 @@ async function compDynamicData(field) {
92784
92749
  if (unref(field.preps?.values)?.length > 0) {
92785
92750
  return unref(field.preps?.values);
92786
92751
  }
92752
+ if (unref(field.preps?.data)?.length > 0) {
92753
+ return unref(field.preps?.data);
92754
+ }
92787
92755
  if (unref(field?.optionList)?.length > 0) {
92788
92756
  return unref(field.optionList);
92789
92757
  }
@@ -92797,7 +92765,7 @@ async function compDynamicData(field) {
92797
92765
  reDataList = dicts;
92798
92766
  }
92799
92767
  } else {
92800
- reDataList = unref(temp?.preps?.values) || unref(temp?.optionList) || [];
92768
+ reDataList = [];
92801
92769
  }
92802
92770
  return reDataList;
92803
92771
  }
@@ -93076,9 +93044,14 @@ const batchModifyAction = (items, val, fieldName) => {
93076
93044
  }
93077
93045
  }
93078
93046
  };
93079
- function createComponent(compInfo, app) {
93080
- !app && console.log("app is null");
93081
- return app?.component(compInfo.name, {
93047
+ function createComponent(compInfo) {
93048
+ const app = __starHorseHostApp__;
93049
+ !app && console.log("app is null,please define __starHorseHostApp__");
93050
+ const existingComponent = app.component(compInfo.name);
93051
+ if (existingComponent) {
93052
+ return compInfo.name;
93053
+ }
93054
+ app?.component(compInfo.name, {
93082
93055
  components: compInfo.components || {},
93083
93056
  template: compInfo.template,
93084
93057
  data: () => compInfo.data || {},
@@ -93091,6 +93064,7 @@ function createComponent(compInfo, app) {
93091
93064
  onActivated: compInfo.onActivated,
93092
93065
  onDeactivated: compInfo.onDeactivated
93093
93066
  });
93067
+ return compInfo.name;
93094
93068
  }
93095
93069
  function removeEmptyCondition(condition) {
93096
93070
  const params = [];
@@ -93192,6 +93166,41 @@ const useSelfOperationStore = defineStore("selfOperation", () => {
93192
93166
  };
93193
93167
  });
93194
93168
 
93169
+ /*!
93170
+ * vue-router v4.5.1
93171
+ * (c) 2025 Eduardo San Martin Morote
93172
+ * @license MIT
93173
+ */
93174
+ var NavigationType;
93175
+ (function(NavigationType2) {
93176
+ NavigationType2["pop"] = "pop";
93177
+ NavigationType2["push"] = "push";
93178
+ })(NavigationType || (NavigationType = {}));
93179
+ var NavigationDirection;
93180
+ (function(NavigationDirection2) {
93181
+ NavigationDirection2["back"] = "back";
93182
+ NavigationDirection2["forward"] = "forward";
93183
+ NavigationDirection2["unknown"] = "";
93184
+ })(NavigationDirection || (NavigationDirection = {}));
93185
+ Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : "");
93186
+ var NavigationFailureType;
93187
+ (function(NavigationFailureType2) {
93188
+ NavigationFailureType2[NavigationFailureType2["aborted"] = 4] = "aborted";
93189
+ NavigationFailureType2[NavigationFailureType2["cancelled"] = 8] = "cancelled";
93190
+ NavigationFailureType2[NavigationFailureType2["duplicated"] = 16] = "duplicated";
93191
+ })(NavigationFailureType || (NavigationFailureType = {}));
93192
+ Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
93193
+ Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
93194
+ const routerKey = Symbol(process.env.NODE_ENV !== "production" ? "router" : "");
93195
+ const routeLocationKey = Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
93196
+ Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
93197
+ function useRouter() {
93198
+ return inject(routerKey);
93199
+ }
93200
+ function useRoute(_name) {
93201
+ return inject(routeLocationKey);
93202
+ }
93203
+
93195
93204
  const userOperation$1 = useSelfOperationStore(piniaInstance);
93196
93205
  const userFunction = (code, context, formData) => {
93197
93206
  if (!code) {
@@ -93758,6 +93767,9 @@ function getPrefix(data, prefix, parentIndex, index) {
93758
93767
  function checkVisible(item, dataForm) {
93759
93768
  return item.formVisible || dataForm["_" + item.fieldName + "Visible"];
93760
93769
  }
93770
+ function parseListData(item, val) {
93771
+ return unref(item.preps?.values)?.find((temp) => temp.value == val)?.name || unref(item.preps?.data)?.find((temp) => temp.value == val)?.name || unref(item.optionList)?.find((temp) => temp.value == val)?.name || val;
93772
+ }
93761
93773
 
93762
93774
  const _hoisted_1$W = { style: { "font-size": "12px" } };
93763
93775
  const _sfc_main$1N = /* @__PURE__ */ defineComponent({
@@ -93885,9 +93897,13 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
93885
93897
  } else if (selectType.includes(itemType.value)) {
93886
93898
  props.item.preps["placeholder"] = "请选择" + props.item.label;
93887
93899
  }
93888
- if (props.item?.type?.includes("range") && itemType.value == "datetime") {
93889
- props.item.preps["startPlaceholder"] = "请选择开始日期";
93890
- props.item.preps["endPlaceholder"] = "请选择结束日期";
93900
+ if (itemType.value == "datetime") {
93901
+ if (props.item?.type?.includes("range")) {
93902
+ props.item.preps["startPlaceholder"] = "请选择开始日期";
93903
+ props.item.preps["endPlaceholder"] = "请选择结束日期";
93904
+ } else {
93905
+ props.item.preps["placeholder"] = "请选择" + props.item.label;
93906
+ }
93891
93907
  } else if (itemType.value == "number-range") {
93892
93908
  props.item.preps["minPlaceholder"] = "请输入最小值";
93893
93909
  props.item.preps["maxPlaceholder"] = "请输入最大值";
@@ -94002,10 +94018,9 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
94002
94018
  isSearch: __props.isSearch,
94003
94019
  bareFlag: __props.bareFlag,
94004
94020
  field: __props.item,
94005
- dataIndex: __props.dataIndex,
94006
94021
  formData: dataForm.value,
94007
94022
  "onUpdate:formData": _cache[0] || (_cache[0] = ($event) => dataForm.value = $event)
94008
- }, null, 40, ["isDesign", "isSearch", "bareFlag", "field", "dataIndex", "formData"])),
94023
+ }, null, 40, ["isDesign", "isSearch", "bareFlag", "field", "formData"])),
94009
94024
  __props.item.brotherNodes ? (openBlock(), createElementBlock("div", _hoisted_1$V)) : createCommentVNode("", true),
94010
94025
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.item.brotherNodes, (temp, key) => {
94011
94026
  return openBlock(), createElementBlock(Fragment, {
@@ -94032,7 +94047,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
94032
94047
 
94033
94048
  /* unplugin-vue-components disabled */
94034
94049
 
94035
- const __unplugin_components_0$a = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["__scopeId", "data-v-341d4d90"]]);
94050
+ const __unplugin_components_0$a = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["__scopeId", "data-v-b2f76090"]]);
94036
94051
 
94037
94052
  const StarHorseItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
94038
94053
  __proto__: null,
@@ -94061,10 +94076,10 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
94061
94076
  return createDatetime(val);
94062
94077
  }
94063
94078
  if (type == "switch") {
94064
- return val == "1" || val == "Y" ? "是" : "否";
94079
+ return val === true || val == "1" || val == "Y" ? "是" : "否";
94065
94080
  }
94066
94081
  if (type == "select" || type == "radio" || type == "checkbox" || type == "cascader" || type == "tselect") {
94067
- return props.item.preps?.values?.find((item) => item.value == val)?.name || unref(props.item.optionList)?.find((item) => item.value == val)?.name || val;
94082
+ return parseListData(props.item, val);
94068
94083
  }
94069
94084
  return val;
94070
94085
  }
@@ -95044,7 +95059,7 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
95044
95059
  let item = props.item;
95045
95060
  let val = scope.row[item.hideName || item.fieldName];
95046
95061
  if (item.type == "select" || item.type == "checkbox" || item.type == "radio") {
95047
- return item.preps?.values?.find((temp) => String(temp.value) == val)?.name || unref(item.optionList)?.find((temp) => String(temp.value) == val)?.name || val;
95062
+ return parseListData(item, val);
95048
95063
  }
95049
95064
  if (item.type == "date" || item.type == "datetime") {
95050
95065
  return createDatetime(val);
@@ -157171,6 +157186,17 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
157171
157186
  emits: ["focusEvent", "blurEvent"],
157172
157187
  setup(__props, { emit: __emit }) {
157173
157188
  const props = __props;
157189
+ const compInfo = computed(
157190
+ () => {
157191
+ return {
157192
+ ...unref(props.item.preps?.compInfo),
157193
+ props: {
157194
+ data: { type: Object },
157195
+ item: { type: Object }
157196
+ }
157197
+ };
157198
+ }
157199
+ );
157174
157200
  const currentRow = ref();
157175
157201
  const focusEvent = (_column) => {
157176
157202
  };
@@ -157298,19 +157324,11 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
157298
157324
  }, null, 8, ["dataForm", "item", "column", "batchName", "compSize"])
157299
157325
  ]),
157300
157326
  default: withCtx(() => [
157301
- __props.item.preps.compField ? (openBlock(), createBlock(resolveDynamicComponent(
157302
- unref(createComponent)({
157303
- ...__props.item.preps.compField,
157304
- props: {
157305
- data: { type: Object },
157306
- item: { type: Object }
157307
- }
157308
- }, _ctx.__starHorseHostApp__)
157309
- ), {
157327
+ compInfo.value.name ? (openBlock(), createBlock(resolveDynamicComponent(unref(createComponent)(compInfo.value)), {
157310
157328
  key: 0,
157311
- data: scope.row,
157312
- item: __props.item
157313
- }, null, 8, ["data", "item"])) : createCommentVNode("", true)
157329
+ item: __props.item,
157330
+ data: scope.row
157331
+ }, null, 8, ["item", "data"])) : createCommentVNode("", true)
157314
157332
  ]),
157315
157333
  _: 2
157316
157334
  }, 1032, ["placement"])) : (openBlock(), createBlock(__unplugin_components_0$a, mergeProps({
@@ -157322,7 +157340,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
157322
157340
  compSize: __props.compSize,
157323
157341
  style: { ...__props.item.preps.styles }
157324
157342
  }, {
157325
- [toHandlerKey(__props.item.preps.compAction)]: ($event) => __props.item.preps.compFunc(scope.row)
157343
+ [toHandlerKey(__props.item.preps?.compAction)]: ($event) => __props.item.preps?.compFunc(scope.row)
157326
157344
  }), null, 16, ["dataForm", "item", "column", "batchName", "compSize", "style"]))
157327
157345
  ], 64)) : prototypeCheck(__props.item) ? (openBlock(), createBlock(resolveDynamicComponent(
157328
157346
  (__props.item.listPrototypeDisplay === true || __props.item.preps?.listPrototypeDisplay === true ? __props.item.type || "input" : __props.item.listPrototypeDisplay || __props.item.preps?.listPrototypeDisplay) + "-item"
@@ -157356,7 +157374,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
157356
157374
 
157357
157375
  /* unplugin-vue-components disabled */
157358
157376
 
157359
- const __unplugin_components_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-65efceb5"]]);
157377
+ const __unplugin_components_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-3f1b8777"]]);
157360
157378
 
157361
157379
  const StarHorseTableColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
157362
157380
  __proto__: null,
@@ -158232,7 +158250,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
158232
158250
 
158233
158251
  /* unplugin-vue-components disabled */
158234
158252
 
158235
- const __unplugin_components_2 = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__scopeId", "data-v-cf418143"]]);
158253
+ const __unplugin_components_2 = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__scopeId", "data-v-dd9a12b9"]]);
158236
158254
 
158237
158255
  const StarHorseButtonList = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
158238
158256
  __proto__: null,
@@ -159398,12 +159416,11 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
159398
159416
  key: 1,
159399
159417
  onTableCompFunc: _cache[1] || (_cache[1] = (fun) => tableCompFunc(fun)),
159400
159418
  compUrl: __props.compUrl,
159401
- btnPermission: unref(permissions),
159419
+ btnPermissions: unref(permissions),
159402
159420
  extendBtns: __props.extendBtns,
159403
159421
  dialogProps: unref(dialogProps),
159404
- showType: "dropdown",
159405
159422
  preValidFunc: __props.preValidFunc
159406
- }, null, 8, ["compUrl", "btnPermission", "extendBtns", "dialogProps", "preValidFunc"])) : createCommentVNode("", true)
159423
+ }, null, 8, ["compUrl", "btnPermissions", "extendBtns", "dialogProps", "preValidFunc"])) : createCommentVNode("", true)
159407
159424
  ]),
159408
159425
  createElementVNode("div", _hoisted_5$b, [
159409
159426
  createVNode(_component_star_horse_icon, {
@@ -159728,7 +159745,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
159728
159745
 
159729
159746
  /* unplugin-vue-components disabled */
159730
159747
 
159731
- const __unplugin_components_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-b768dfee"]]);
159748
+ const __unplugin_components_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-e12727ce"]]);
159732
159749
 
159733
159750
  const StarHorseTableComp = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
159734
159751
  __proto__: null,
@@ -184949,7 +184966,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
184949
184966
  modelValue: dialogInputVisible.value,
184950
184967
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dialogInputVisible.value = $event),
184951
184968
  disabled: unref(checkIsDisabled)(props),
184952
- "initial-content": formData.value[__props.field.fieldName],
184969
+ "initial-content": String(formData.value[__props.field.fieldName]),
184953
184970
  onConfirm: handleContentConfirm
184954
184971
  }, null, 8, ["modelValue", "disabled", "initial-content"]),
184955
184972
  createVNode(_component_starhorse_form_item, {
@@ -185056,7 +185073,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
185056
185073
 
185057
185074
  /* unplugin-vue-components disabled */
185058
185075
 
185059
- const inputItem = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-58f7626e"]]);
185076
+ const inputItem = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-6231ef28"]]);
185060
185077
 
185061
185078
  const inputItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
185062
185079
  __proto__: null,
@@ -187276,7 +187293,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
187276
187293
  default: withCtx(() => [
187277
187294
  createVNode(_component_el_tag, mergeProps(__props.field.preps, {
187278
187295
  type: tagType(formData.value[__props.field.fieldName]),
187279
- onClick: _cache[0] || (_cache[0] = ($event) => itemAction("click"))
187296
+ onClick: _cache[0] || (_cache[0] = ($event) => itemAction("click")),
187297
+ class: "relative"
187280
187298
  }), {
187281
187299
  default: withCtx(() => [
187282
187300
  createTextVNode(toDisplayString(__props.callBack && __props.callBack() || formData.value[__props.field.fieldName] || __props.field.preps?.placeholder || "请赋值" + __props.field.label), 1)
@@ -1675,9 +1675,8 @@ export declare function copyText(text: any): Promise<void>;
1675
1675
  /**
1676
1676
  * 动态创建组件
1677
1677
  * @param compInfo 组件信息
1678
- * @param app 父组件
1679
1678
  */
1680
- export declare function createComponent(compInfo: DyCompField, app: any): any;
1679
+ export declare function createComponent(compInfo: DyCompField): string;
1681
1680
 
1682
1681
  /**
1683
1682
  * 创建条件
@@ -2824,6 +2823,7 @@ export declare interface FieldInfo {
2824
2823
  minWidth?: number;
2825
2824
  /**
2826
2825
  * 备选数据列表,目前仅支持下拉
2826
+ * 废弃,请根据具体业务在preps 中添加 values 或者data
2827
2827
  */
2828
2828
  optionList?: SelectOption[] | Ref<SelectOption[]>;
2829
2829
  /**
@@ -3932,8 +3932,8 @@ onSelfFunc?: (...args: any[]) => any;
3932
3932
  onSelectItem?: (...args: any[]) => any;
3933
3933
  "onUpdate:formData"?: (value: any) => any;
3934
3934
  }>, {
3935
- formFieldList: unknown[];
3936
3935
  disabled: boolean;
3936
+ formFieldList: unknown[];
3937
3937
  isSearch: boolean;
3938
3938
  bareFlag: boolean;
3939
3939
  isDesign: boolean;
@@ -4563,6 +4563,9 @@ export declare type SearchProps = {
4563
4563
  */
4564
4564
  params?: CompParams;
4565
4565
  preps?: any;
4566
+ /**
4567
+ * 废弃,请根据具体业务在preps 中添加 values 或者data
4568
+ */
4566
4569
  optionList?: SelectOption[] | Ref<SelectOption[]>;
4567
4570
  };
4568
4571
 
@@ -5021,9 +5024,9 @@ selectedData: (selectData: any) => any;
5021
5024
  "onUpdate:modelValue"?: (modelValue: any) => any;
5022
5025
  onSelectedData?: (selectData: any) => any;
5023
5026
  }>, {
5027
+ displayName: string;
5024
5028
  disabled: boolean;
5025
5029
  compSize: string;
5026
- displayName: string;
5027
5030
  displayValue: string;
5028
5031
  pageSize: number;
5029
5032
  multiple: boolean;
@@ -5037,8 +5040,8 @@ open: () => void;
5037
5040
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
5038
5041
  "update:modelValue": (modelValue: any) => any;
5039
5042
  }, PublicProps, {
5040
- compSize: string;
5041
5043
  displayName: string;
5044
+ compSize: string;
5042
5045
  displayValue: string;
5043
5046
  pageSize: number;
5044
5047
  multiple: boolean;
@@ -5057,8 +5060,8 @@ Defaults: {};
5057
5060
  }>, {
5058
5061
  open: () => void;
5059
5062
  }, {}, {}, {}, {
5060
- compSize: string;
5061
5063
  displayName: string;
5064
+ compSize: string;
5062
5065
  displayValue: string;
5063
5066
  pageSize: number;
5064
5067
  multiple: boolean;
@@ -8320,8 +8323,8 @@ onSelfFunc?: (...args: any[]) => any;
8320
8323
  onSelectItem?: (...args: any[]) => any;
8321
8324
  "onUpdate:formData"?: (value: any) => any;
8322
8325
  }>, {
8323
- formFieldList: Record<string, any>;
8324
8326
  disabled: boolean;
8327
+ formFieldList: Record<string, any>;
8325
8328
  formInfo: Record<string, any>;
8326
8329
  field: any;
8327
8330
  isSearch: boolean;
package/package.json CHANGED
@@ -2,9 +2,9 @@
2
2
  "name": "star-horse-lowcode",
3
3
  "private": false,
4
4
  "author": "l_1019@163.com",
5
- "version": "2.7.44",
5
+ "version": "2.7.46",
6
6
  "type": "module",
7
- "description": "星马低代码平台",
7
+ "description": "星马低代码核心库,提供了低代码平台的基础功能和组件库。此库可引用到您的项目中,快速构建表单和列表。",
8
8
  "keywords": [
9
9
  "lowcode",
10
10
  "low-code",
@@ -13,17 +13,17 @@
13
13
  "star-horse-lowcode",
14
14
  "星马",
15
15
  "低代码",
16
- "低代码平台",
17
- "星马低代码平台"
16
+ "低代码库",
17
+ "星马低代码核心库"
18
18
  ],
19
19
  "license": "MIT",
20
- "homepage": "none",
20
+ "homepage": "https://gitee.com/lixingyu/knowledge_demo",
21
21
  "repository": {
22
22
  "type": "git",
23
- "url": "none"
23
+ "url": "https://gitee.com/lixingyu/knowledge_demo"
24
24
  },
25
25
  "main": "dist/index.es.js",
26
- "module": "dist/index.cjs.js",
26
+ "module": "dist/index.es.js",
27
27
  "types": "dist/types/index.d.ts",
28
28
  "files": [
29
29
  "dist"
@@ -31,8 +31,7 @@
31
31
  "exports": {
32
32
  ".": {
33
33
  "types": "./dist/types/index.d.ts",
34
- "import": "./dist/index.es.js",
35
- "require": "./dist/index.umd.js"
34
+ "import": "./dist/index.es.js"
36
35
  },
37
36
  "./*": "./dist/*"
38
37
  },
@@ -58,7 +57,7 @@
58
57
  "json5": "^2.2.3",
59
58
  "less": "^4.3.0",
60
59
  "less-loader": "^12.3.0",
61
- "md-editor-v3": "^5.7.0",
60
+ "md-editor-v3": "^5.7.1",
62
61
  "path": "^0.12.7",
63
62
  "pinia": "^3.0.3",
64
63
  "pinia-plugin-persistedstate": "^4.3.0",
@@ -71,12 +70,13 @@
71
70
  "svgicons2svgfont": "^15.0.1",
72
71
  "tailwindcss": "^4.1.10",
73
72
  "unplugin-auto-import": "^19.3.0",
73
+ "unplugin-element-plus": "^0.10.0",
74
74
  "unplugin-vue-components": "^28.7.0",
75
75
  "uuid": "^11.1.0",
76
76
  "vite-plugin-dts": "^4.5.4",
77
- "vue": "^3.5.16",
77
+ "vue": "^3.5.17",
78
78
  "vue-demi": "^0.14.10",
79
- "vue-i18n": "^11.1.6",
79
+ "vue-i18n": "^11.1.7",
80
80
  "vue-m-message": "^4.0.2",
81
81
  "vue-router": "^4.5.1",
82
82
  "vue3-barcode": "^1.0.1",
@@ -91,7 +91,7 @@
91
91
  "@vitejs/plugin-vue": "^5.2.4",
92
92
  "sass-embedded": "^1.89.2",
93
93
  "svg2ttf": "^6.0.3",
94
- "terser": "^5.43.0",
94
+ "terser": "^5.43.1",
95
95
  "ttf2woff": "^3.0.0",
96
96
  "vite": "^6.3.5"
97
97
  },