star-horse-lowcode 2.8.14 → 2.8.16

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.
@@ -104,7 +104,7 @@ default: any[];
104
104
  };
105
105
  btnTextContinue: {
106
106
  type: StringConstructor;
107
- default: string;
107
+ default: any;
108
108
  };
109
109
  title: {
110
110
  type: StringConstructor;
@@ -199,7 +199,7 @@ default: any[];
199
199
  };
200
200
  btnTextContinue: {
201
201
  type: StringConstructor;
202
- default: string;
202
+ default: any;
203
203
  };
204
204
  title: {
205
205
  type: StringConstructor;
@@ -253,6 +253,10 @@ isActive: {
253
253
  type: BooleanConstructor;
254
254
  default: boolean;
255
255
  };
256
+ showLine: {
257
+ type: BooleanConstructor;
258
+ default: boolean;
259
+ };
256
260
  styles: {
257
261
  type: ObjectConstructor;
258
262
  default: () => void;
@@ -276,6 +280,10 @@ isActive: {
276
280
  type: BooleanConstructor;
277
281
  default: boolean;
278
282
  };
283
+ showLine: {
284
+ type: BooleanConstructor;
285
+ default: boolean;
286
+ };
279
287
  styles: {
280
288
  type: ObjectConstructor;
281
289
  default: () => void;
@@ -288,6 +296,7 @@ default: boolean;
288
296
  onSelectNode?: (...args: any[]) => any;
289
297
  }>, {
290
298
  isActive: boolean;
299
+ showLine: boolean;
291
300
  styles: Record<string, any>;
292
301
  isDesign: boolean;
293
302
  }, {}, {}, {}, string, ComponentProvideOptions, true, {
@@ -1121,7 +1130,7 @@ export declare function blobData(url: string, method?: string): Promise<any>;
1121
1130
 
1122
1131
  export declare const boxContainer: DefineComponent<ExtractPropTypes< {
1123
1132
  parentField: {
1124
- type: ObjectConstructor;
1133
+ type: PropType<any>;
1125
1134
  };
1126
1135
  isDesign: {
1127
1136
  type: BooleanConstructor;
@@ -1148,7 +1157,7 @@ type: PropType<any>;
1148
1157
  "update:formData": (value: any) => any;
1149
1158
  }, string, PublicProps, Readonly<ExtractPropTypes< {
1150
1159
  parentField: {
1151
- type: ObjectConstructor;
1160
+ type: PropType<any>;
1152
1161
  };
1153
1162
  isDesign: {
1154
1163
  type: BooleanConstructor;
@@ -1284,7 +1293,7 @@ export declare function camelCaseToUnderline(str: string): string;
1284
1293
 
1285
1294
  export declare const cardContainer: DefineComponent<ExtractPropTypes< {
1286
1295
  parentField: {
1287
- type: StringConstructor;
1296
+ type: PropType<any>;
1288
1297
  };
1289
1298
  isDesign: {
1290
1299
  type: BooleanConstructor;
@@ -1295,7 +1304,8 @@ type: BooleanConstructor;
1295
1304
  default: boolean;
1296
1305
  };
1297
1306
  disabled: {
1298
- type: PropType<Boolean | String>;
1307
+ type: BooleanConstructor;
1308
+ default: boolean;
1299
1309
  };
1300
1310
  formInfo: {
1301
1311
  type: PropType<any>;
@@ -1310,7 +1320,7 @@ type: PropType<any>;
1310
1320
  "update:formData": (value: any) => any;
1311
1321
  }, string, PublicProps, Readonly<ExtractPropTypes< {
1312
1322
  parentField: {
1313
- type: StringConstructor;
1323
+ type: PropType<any>;
1314
1324
  };
1315
1325
  isDesign: {
1316
1326
  type: BooleanConstructor;
@@ -1321,7 +1331,8 @@ type: BooleanConstructor;
1321
1331
  default: boolean;
1322
1332
  };
1323
1333
  disabled: {
1324
- type: PropType<Boolean | String>;
1334
+ type: BooleanConstructor;
1335
+ default: boolean;
1325
1336
  };
1326
1337
  formInfo: {
1327
1338
  type: PropType<any>;
@@ -1335,6 +1346,7 @@ type: PropType<any>;
1335
1346
  }>> & Readonly<{
1336
1347
  "onUpdate:formData"?: (value: any) => any;
1337
1348
  }>, {
1349
+ disabled: boolean;
1338
1350
  isDesign: boolean;
1339
1351
  showFormItem: boolean;
1340
1352
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -1388,7 +1400,7 @@ export declare function closeLoad(): void;
1388
1400
 
1389
1401
  export declare const collapseContainer: DefineComponent<ExtractPropTypes< {
1390
1402
  parentField: {
1391
- type: StringConstructor;
1403
+ type: PropType<any>;
1392
1404
  };
1393
1405
  isDesign: {
1394
1406
  type: BooleanConstructor;
@@ -1399,7 +1411,8 @@ type: BooleanConstructor;
1399
1411
  default: boolean;
1400
1412
  };
1401
1413
  disabled: {
1402
- type: PropType<Boolean | String>;
1414
+ type: BooleanConstructor;
1415
+ default: boolean;
1403
1416
  };
1404
1417
  formInfo: {
1405
1418
  type: PropType<any>;
@@ -1414,7 +1427,7 @@ type: PropType<any>;
1414
1427
  "update:formData": (value: any) => any;
1415
1428
  }, string, PublicProps, Readonly<ExtractPropTypes< {
1416
1429
  parentField: {
1417
- type: StringConstructor;
1430
+ type: PropType<any>;
1418
1431
  };
1419
1432
  isDesign: {
1420
1433
  type: BooleanConstructor;
@@ -1425,7 +1438,8 @@ type: BooleanConstructor;
1425
1438
  default: boolean;
1426
1439
  };
1427
1440
  disabled: {
1428
- type: PropType<Boolean | String>;
1441
+ type: BooleanConstructor;
1442
+ default: boolean;
1429
1443
  };
1430
1444
  formInfo: {
1431
1445
  type: PropType<any>;
@@ -1439,6 +1453,7 @@ type: PropType<any>;
1439
1453
  }>> & Readonly<{
1440
1454
  "onUpdate:formData"?: (value: any) => any;
1441
1455
  }>, {
1456
+ disabled: boolean;
1442
1457
  isDesign: boolean;
1443
1458
  showFormItem: boolean;
1444
1459
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -2461,7 +2476,7 @@ export declare function dynamicUrlOperation(preps: any, queryInfo?: SearchParams
2461
2476
 
2462
2477
  export declare const dytableContainer: DefineComponent<ExtractPropTypes< {
2463
2478
  parentField: {
2464
- type: StringConstructor;
2479
+ type: PropType<any>;
2465
2480
  };
2466
2481
  isDesign: {
2467
2482
  type: BooleanConstructor;
@@ -2472,7 +2487,8 @@ type: BooleanConstructor;
2472
2487
  default: boolean;
2473
2488
  };
2474
2489
  disabled: {
2475
- type: PropType<Boolean | String>;
2490
+ type: BooleanConstructor;
2491
+ default: boolean;
2476
2492
  };
2477
2493
  formInfo: {
2478
2494
  type: PropType<any>;
@@ -2487,7 +2503,7 @@ type: PropType<any>;
2487
2503
  "update:formData": (value: any) => any;
2488
2504
  }, string, PublicProps, Readonly<ExtractPropTypes< {
2489
2505
  parentField: {
2490
- type: StringConstructor;
2506
+ type: PropType<any>;
2491
2507
  };
2492
2508
  isDesign: {
2493
2509
  type: BooleanConstructor;
@@ -2498,7 +2514,8 @@ type: BooleanConstructor;
2498
2514
  default: boolean;
2499
2515
  };
2500
2516
  disabled: {
2501
- type: PropType<Boolean | String>;
2517
+ type: BooleanConstructor;
2518
+ default: boolean;
2502
2519
  };
2503
2520
  formInfo: {
2504
2521
  type: PropType<any>;
@@ -2512,6 +2529,7 @@ type: PropType<any>;
2512
2529
  }>> & Readonly<{
2513
2530
  "onUpdate:formData"?: (value: any) => any;
2514
2531
  }>, {
2532
+ disabled: boolean;
2515
2533
  isDesign: boolean;
2516
2534
  showFormItem: boolean;
2517
2535
  }, {}, {}, {}, string, ComponentProvideOptions, true, {
@@ -2652,6 +2670,10 @@ export declare interface FieldInfo {
2652
2670
  * 折叠容器(collapse)数据
2653
2671
  */
2654
2672
  collapseList?: CollapseList[];
2673
+ /**
2674
+ * 分栏容器(splitter)数据
2675
+ */
2676
+ splitterList?: SplitterList[];
2655
2677
  /**
2656
2678
  * 传统table布局表单,对应动态表格(dytable)容器
2657
2679
  */
@@ -2752,9 +2774,6 @@ export declare function formFieldMapping(fieldList: PageFieldInfo): {
2752
2774
  formFields: FieldInfo[];
2753
2775
  };
2754
2776
 
2755
- /**
2756
- * 客户端生成唯一指纹
2757
- */
2758
2777
  /**
2759
2778
  * 生成设备 ID
2760
2779
  * @param userIp
@@ -2779,7 +2798,7 @@ export declare function getMenuId(): string;
2779
2798
  * Get请求
2780
2799
  * @param url
2781
2800
  */
2782
- export declare function getRequest(url: string): Promise<AxiosResponse<any, any>>;
2801
+ export declare function getRequest(url: string): Promise<AxiosResponse<any, any, {}>>;
2783
2802
 
2784
2803
  export declare const htmleditorItem: DefineComponent<__VLS_PublicProps_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2785
2804
  selectItem: (...args: any[]) => void;
@@ -2819,7 +2838,7 @@ showFormItem: boolean;
2819
2838
  * @param data 请求参数
2820
2839
  * @param method 请求方法
2821
2840
  */
2822
- export declare function httpRequest(url: string, method: string, data: any): Promise<AxiosResponse<any, any>>;
2841
+ export declare function httpRequest(url: string, method: string, data: any): Promise<AxiosResponse<any, any, {}>>;
2823
2842
 
2824
2843
  export declare const iconItem: DefineComponent<__VLS_PublicProps_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2825
2844
  selectItem: (...args: any[]) => void;
@@ -3022,8 +3041,11 @@ showFormItem: boolean;
3022
3041
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
3023
3042
 
3024
3043
  declare enum LangType {
3025
- EN_US = "en_us",
3026
- ZH_CN = "zh_cn"
3044
+ EN_US = "en_US",
3045
+ ZH_CN = "zh_CN",
3046
+ ZH_TW = "zh_TW",
3047
+ JA_JP = "ja_JP",
3048
+ DE_DE = "de_DE"
3027
3049
  }
3028
3050
 
3029
3051
  /**
@@ -3359,7 +3381,7 @@ export declare const piniaInstance: Pinia;
3359
3381
  * @param url
3360
3382
  * @param data
3361
3383
  */
3362
- export declare function postRequest(url: string, data: Array<any> | any): Promise<AxiosResponse<any, any>>;
3384
+ export declare function postRequest(url: string, data: Array<any> | any): Promise<AxiosResponse<any, any, {}>>;
3363
3385
 
3364
3386
  /**
3365
3387
  * 按钮响应事件前置校验
@@ -3862,6 +3884,12 @@ isSearch: boolean;
3862
3884
  showFormItem: boolean;
3863
3885
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
3864
3886
 
3887
+ /**
3888
+ * Splitter 容器信息
3889
+ */
3890
+ export declare interface SplitterList extends TabFieldInfo {
3891
+ }
3892
+
3865
3893
  export declare const starHorseAxios: AxiosInstance;
3866
3894
 
3867
3895
  export declare const StarHorseButtonList: DefineComponent<ExtractPropTypes< {
@@ -4264,7 +4292,7 @@ of<T>(...items: T[]): T[];
4264
4292
  readonly [Symbol.species]: ArrayConstructor;
4265
4293
  };
4266
4294
  default: () => {
4267
- name: string;
4295
+ name: any;
4268
4296
  value: string;
4269
4297
  }[];
4270
4298
  };
@@ -4347,7 +4375,7 @@ of<T>(...items: T[]): T[];
4347
4375
  readonly [Symbol.species]: ArrayConstructor;
4348
4376
  };
4349
4377
  default: () => {
4350
- name: string;
4378
+ name: any;
4351
4379
  value: string;
4352
4380
  }[];
4353
4381
  };
@@ -4598,7 +4626,7 @@ of<T>(...items: T[]): T[];
4598
4626
  readonly [Symbol.species]: ArrayConstructor;
4599
4627
  };
4600
4628
  default: () => {
4601
- name: string;
4629
+ name: any;
4602
4630
  value: string;
4603
4631
  }[];
4604
4632
  };
@@ -4704,7 +4732,7 @@ of<T>(...items: T[]): T[];
4704
4732
  readonly [Symbol.species]: ArrayConstructor;
4705
4733
  };
4706
4734
  default: () => {
4707
- name: string;
4735
+ name: any;
4708
4736
  value: string;
4709
4737
  }[];
4710
4738
  };
@@ -5933,7 +5961,7 @@ default: boolean;
5933
5961
  };
5934
5962
  treeTitle: {
5935
5963
  type: StringConstructor;
5936
- default: () => string;
5964
+ default: () => any;
5937
5965
  };
5938
5966
  expand: {
5939
5967
  type: BooleanConstructor;
@@ -5988,7 +6016,7 @@ type: PropType<ApiUrls>;
5988
6016
  };
5989
6017
  btnTitle: {
5990
6018
  type: StringConstructor;
5991
- default: () => string;
6019
+ default: () => any;
5992
6020
  };
5993
6021
  btnVisible: {
5994
6022
  type: BooleanConstructor;
@@ -5996,7 +6024,7 @@ default: boolean;
5996
6024
  };
5997
6025
  rmvTitle: {
5998
6026
  type: StringConstructor;
5999
- default: () => string;
6027
+ default: () => any;
6000
6028
  };
6001
6029
  rmvVisible: {
6002
6030
  type: BooleanConstructor;
@@ -6048,7 +6076,7 @@ default: boolean;
6048
6076
  };
6049
6077
  treeTitle: {
6050
6078
  type: StringConstructor;
6051
- default: () => string;
6079
+ default: () => any;
6052
6080
  };
6053
6081
  expand: {
6054
6082
  type: BooleanConstructor;
@@ -6103,7 +6131,7 @@ type: PropType<ApiUrls>;
6103
6131
  };
6104
6132
  btnTitle: {
6105
6133
  type: StringConstructor;
6106
- default: () => string;
6134
+ default: () => any;
6107
6135
  };
6108
6136
  btnVisible: {
6109
6137
  type: BooleanConstructor;
@@ -6111,7 +6139,7 @@ default: boolean;
6111
6139
  };
6112
6140
  rmvTitle: {
6113
6141
  type: StringConstructor;
6114
- default: () => string;
6142
+ default: () => any;
6115
6143
  };
6116
6144
  rmvVisible: {
6117
6145
  type: BooleanConstructor;
@@ -6215,7 +6243,7 @@ showFormItem: boolean;
6215
6243
 
6216
6244
  export declare const tabContainer: DefineComponent<ExtractPropTypes< {
6217
6245
  parentField: {
6218
- type: StringConstructor;
6246
+ type: PropType<any>;
6219
6247
  };
6220
6248
  isDesign: {
6221
6249
  type: BooleanConstructor;
@@ -6226,7 +6254,8 @@ type: BooleanConstructor;
6226
6254
  default: boolean;
6227
6255
  };
6228
6256
  disabled: {
6229
- type: PropType<Boolean | String>;
6257
+ type: BooleanConstructor;
6258
+ default: boolean;
6230
6259
  };
6231
6260
  formInfo: {
6232
6261
  type: PropType<any>;
@@ -6241,7 +6270,7 @@ type: PropType<any>;
6241
6270
  "update:formData": (value: any) => any;
6242
6271
  }, string, PublicProps, Readonly<ExtractPropTypes< {
6243
6272
  parentField: {
6244
- type: StringConstructor;
6273
+ type: PropType<any>;
6245
6274
  };
6246
6275
  isDesign: {
6247
6276
  type: BooleanConstructor;
@@ -6252,7 +6281,8 @@ type: BooleanConstructor;
6252
6281
  default: boolean;
6253
6282
  };
6254
6283
  disabled: {
6255
- type: PropType<Boolean | String>;
6284
+ type: BooleanConstructor;
6285
+ default: boolean;
6256
6286
  };
6257
6287
  formInfo: {
6258
6288
  type: PropType<any>;
@@ -6266,6 +6296,7 @@ type: PropType<any>;
6266
6296
  }>> & Readonly<{
6267
6297
  "onUpdate:formData"?: (value: any) => any;
6268
6298
  }>, {
6299
+ disabled: boolean;
6269
6300
  isDesign: boolean;
6270
6301
  showFormItem: boolean;
6271
6302
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -6320,7 +6351,7 @@ export declare interface TabFieldInfo {
6320
6351
 
6321
6352
  export declare const tableContainer: DefineComponent<ExtractPropTypes< {
6322
6353
  parentField: {
6323
- type: StringConstructor;
6354
+ type: PropType<any>;
6324
6355
  };
6325
6356
  isDesign: {
6326
6357
  type: BooleanConstructor;
@@ -6331,7 +6362,8 @@ type: BooleanConstructor;
6331
6362
  default: boolean;
6332
6363
  };
6333
6364
  disabled: {
6334
- type: PropType<Boolean | String>;
6365
+ type: BooleanConstructor;
6366
+ default: boolean;
6335
6367
  };
6336
6368
  formInfo: {
6337
6369
  type: PropType<any>;
@@ -6346,7 +6378,7 @@ type: PropType<any>;
6346
6378
  "update:formData": (value: any) => any;
6347
6379
  }, string, PublicProps, Readonly<ExtractPropTypes< {
6348
6380
  parentField: {
6349
- type: StringConstructor;
6381
+ type: PropType<any>;
6350
6382
  };
6351
6383
  isDesign: {
6352
6384
  type: BooleanConstructor;
@@ -6357,7 +6389,8 @@ type: BooleanConstructor;
6357
6389
  default: boolean;
6358
6390
  };
6359
6391
  disabled: {
6360
- type: PropType<Boolean | String>;
6392
+ type: BooleanConstructor;
6393
+ default: boolean;
6361
6394
  };
6362
6395
  formInfo: {
6363
6396
  type: PropType<any>;
@@ -6371,6 +6404,7 @@ type: PropType<any>;
6371
6404
  }>> & Readonly<{
6372
6405
  "onUpdate:formData"?: (value: any) => any;
6373
6406
  }>, {
6407
+ disabled: boolean;
6374
6408
  isDesign: boolean;
6375
6409
  showFormItem: boolean;
6376
6410
  }, {}, {}, {}, string, ComponentProvideOptions, true, {
@@ -6551,7 +6585,7 @@ showFormItem: boolean;
6551
6585
  * @param url
6552
6586
  * @param data
6553
6587
  */
6554
- export declare function uploadRequest(url: string, data: Array<any>): Promise<AxiosResponse<any, any>>;
6588
+ export declare function uploadRequest(url: string, data: Array<any>): Promise<AxiosResponse<any, any, {}>>;
6555
6589
 
6556
6590
  /**
6557
6591
  * 参数解码
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.14",
5
+ "version": "2.8.16",
6
6
  "type": "module",
7
7
  "description": "星马低代码核心库,提供了低代码平台的基础功能和组件库。此库可引用到您的项目中,快速构建表单和列表。",
8
8
  "keywords": [
@@ -68,14 +68,14 @@
68
68
  "@tailwindcss/vite": "^4.1.13",
69
69
  "@vitejs/plugin-vue-jsx": "^5.1.1",
70
70
  "@vueup/vue-quill": "^1.2.0",
71
- "axios": "^1.11.0",
71
+ "axios": "^1.12.0",
72
72
  "element-plus": "^2.11.2",
73
73
  "eslint-config-prettier": "^10.1.8",
74
74
  "eslint-plugin-prettier": "^5.5.4",
75
- "globals": "^16.3.0",
75
+ "globals": "^16.4.0",
76
76
  "jquery": "^3.7.1",
77
77
  "json5": "^2.2.3",
78
- "md-editor-v3": "^5.8.4",
78
+ "md-editor-v3": "^5.8.5",
79
79
  "path": "^0.12.7",
80
80
  "pinia": "^3.0.3",
81
81
  "pinia-plugin-persistedstate": "^4.5.0",
@@ -87,7 +87,7 @@
87
87
  "unplugin-auto-import": "^20.1.0",
88
88
  "unplugin-element-plus": "^0.10.0",
89
89
  "unplugin-vue-components": "^29.0.0",
90
- "uuid": "^12.0.0",
90
+ "uuid": "^13.0.0",
91
91
  "vite-plugin-dts": "^4.5.4",
92
92
  "vue": "^3.5.21",
93
93
  "vue-eslint-parser": "^10.2.0",
@@ -104,8 +104,8 @@
104
104
  "@types/prismjs": "^1.26.5",
105
105
  "@types/sortablejs": "^1.15.8",
106
106
  "@types/uuid": "^10.0.0",
107
- "@typescript-eslint/eslint-plugin": "^8.42.0",
108
- "@typescript-eslint/parser": "^8.42.0",
107
+ "@typescript-eslint/eslint-plugin": "^8.43.0",
108
+ "@typescript-eslint/parser": "^8.43.0",
109
109
  "@vitejs/plugin-vue": "^6.0.1",
110
110
  "eslint": "^9.35.0",
111
111
  "eslint-config-prettier": "^10.1.8",
@@ -114,7 +114,7 @@
114
114
  "prettier": "^3.6.2",
115
115
  "sass-embedded": "^1.92.1",
116
116
  "terser": "^5.44.0",
117
- "vite": "^7.1.4"
117
+ "vite": "^7.1.5"
118
118
  },
119
119
  "engines": {
120
120
  "node": ">=20.13.0"