star-horse-lowcode 2.7.74 → 2.7.76

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.
@@ -1063,7 +1063,7 @@ export declare function blobData(url: string, method?: string): Promise<any>;
1063
1063
 
1064
1064
  export declare const boxContainer: DefineComponent<ExtractPropTypes< {
1065
1065
  parentField: {
1066
- type: StringConstructor;
1066
+ type: ObjectConstructor;
1067
1067
  };
1068
1068
  isDesign: {
1069
1069
  type: BooleanConstructor;
@@ -1074,7 +1074,8 @@ type: BooleanConstructor;
1074
1074
  default: boolean;
1075
1075
  };
1076
1076
  disabled: {
1077
- type: PropType<Boolean | String>;
1077
+ type: BooleanConstructor;
1078
+ default: boolean;
1078
1079
  };
1079
1080
  formInfo: {
1080
1081
  type: PropType<any>;
@@ -1089,7 +1090,7 @@ type: PropType<any>;
1089
1090
  "update:formData": (value: any) => any;
1090
1091
  }, string, PublicProps, Readonly<ExtractPropTypes< {
1091
1092
  parentField: {
1092
- type: StringConstructor;
1093
+ type: ObjectConstructor;
1093
1094
  };
1094
1095
  isDesign: {
1095
1096
  type: BooleanConstructor;
@@ -1100,7 +1101,8 @@ type: BooleanConstructor;
1100
1101
  default: boolean;
1101
1102
  };
1102
1103
  disabled: {
1103
- type: PropType<Boolean | String>;
1104
+ type: BooleanConstructor;
1105
+ default: boolean;
1104
1106
  };
1105
1107
  formInfo: {
1106
1108
  type: PropType<any>;
@@ -1114,6 +1116,7 @@ type: PropType<any>;
1114
1116
  }>> & Readonly<{
1115
1117
  "onUpdate:formData"?: (value: any) => any;
1116
1118
  }>, {
1119
+ disabled: boolean;
1117
1120
  isDesign: boolean;
1118
1121
  showFormItem: boolean;
1119
1122
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -2267,6 +2270,18 @@ declare interface DataDropdownProps {
2267
2270
  * 接口地址
2268
2271
  */
2269
2272
  dataUrl?: string;
2273
+ /**
2274
+ * 是否使用代理
2275
+ */
2276
+ proxy?: boolean;
2277
+ /**
2278
+ * 代理地址
2279
+ */
2280
+ proxyUrl?: string;
2281
+ /**
2282
+ * 接口参数
2283
+ */
2284
+ params?: SearchParams[];
2270
2285
  /**
2271
2286
  * 页码
2272
2287
  */
@@ -2303,24 +2318,110 @@ declare interface DataDropdownProps {
2303
2318
  * 是否只选叶子节点
2304
2319
  */
2305
2320
  selectLeaf?: boolean;
2321
+ /**
2322
+ * 自动关闭弹窗
2323
+ */
2324
+ autoClose?: boolean;
2306
2325
  }
2307
2326
 
2327
+ export declare const DataPicker: DefineComponent<DataDropdownProps, {
2328
+ open: () => void;
2329
+ close: () => void;
2330
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2331
+ "update:modelValue": (modelValue: any) => any;
2332
+ dataSubmit: (data: any[]) => any;
2333
+ }, string, PublicProps, Readonly<DataDropdownProps> & Readonly<{
2334
+ "onUpdate:modelValue"?: (modelValue: any) => any;
2335
+ onDataSubmit?: (data: any[]) => any;
2336
+ }>, {
2337
+ displayName: string;
2338
+ compSize: string;
2339
+ pageSize: number;
2340
+ displayValue: string;
2341
+ multiple: boolean;
2342
+ checkStrictly: boolean;
2343
+ selectLeaf: boolean;
2344
+ autoClose: boolean;
2345
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
2346
+ orgTreeRef: unknown;
2347
+ }, any>;
2348
+
2308
2349
  declare interface DataSelectorProps {
2350
+ /**
2351
+ * 选中数据
2352
+ */
2309
2353
  modelValue: ModelValueType;
2354
+ /**
2355
+ * 选中数据
2356
+ */
2310
2357
  selectedData?: any;
2358
+ /**
2359
+ * 占位符
2360
+ */
2311
2361
  placeholder?: string;
2362
+ /**
2363
+ * 接口地址
2364
+ */
2312
2365
  dataUrl?: string;
2366
+ /**
2367
+ * 是否使用代理
2368
+ */
2369
+ proxy?: boolean;
2370
+ /**
2371
+ * 代理地址
2372
+ */
2373
+ proxyUrl?: string;
2374
+ /**
2375
+ * 接口参数
2376
+ */
2377
+ params?: SearchParams[];
2378
+ /**
2379
+ * 数据
2380
+ */
2313
2381
  datas?: Array<any>;
2382
+ /**
2383
+ * 页码
2384
+ */
2314
2385
  pageSize?: number;
2386
+ /**
2387
+ * 标题
2388
+ */
2315
2389
  title?: string;
2390
+ /**
2391
+ * 组件大小
2392
+ */
2316
2393
  compSize?: string;
2394
+ /**
2395
+ * 显示名称
2396
+ */
2317
2397
  displayName?: string;
2398
+ /**
2399
+ * 显示值
2400
+ */
2318
2401
  displayValue?: string;
2402
+ /**
2403
+ * 是否多选
2404
+ */
2319
2405
  multiple?: boolean;
2406
+ /**
2407
+ * 是否禁用
2408
+ */
2320
2409
  disabled?: boolean;
2410
+ /**
2411
+ * 严格模式
2412
+ */
2321
2413
  checkStrictly?: boolean;
2414
+ /**
2415
+ * 选择叶子节点
2416
+ */
2322
2417
  selectLeaf?: boolean;
2418
+ /**
2419
+ * 显示标签长度
2420
+ */
2323
2421
  showTagLength?: number;
2422
+ /**
2423
+ * 样式
2424
+ */
2324
2425
  style?: CSSProperties;
2325
2426
  }
2326
2427
 
@@ -5428,10 +5529,13 @@ showTagLength: number;
5428
5529
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
5429
5530
  dataPickerRef: CreateComponentPublicInstanceWithMixins<Readonly<DataDropdownProps> & Readonly<{
5430
5531
  "onUpdate:modelValue"?: (modelValue: any) => any;
5532
+ onDataSubmit?: (data: any[]) => any;
5431
5533
  }>, {
5432
5534
  open: () => void;
5535
+ close: () => void;
5433
5536
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
5434
5537
  "update:modelValue": (modelValue: any) => any;
5538
+ dataSubmit: (data: any[]) => any;
5435
5539
  }, PublicProps, {
5436
5540
  displayName: string;
5437
5541
  compSize: string;
@@ -5440,6 +5544,7 @@ displayValue: string;
5440
5544
  multiple: boolean;
5441
5545
  checkStrictly: boolean;
5442
5546
  selectLeaf: boolean;
5547
+ autoClose: boolean;
5443
5548
  }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
5444
5549
  orgTreeRef: unknown;
5445
5550
  }, any, ComponentProvideOptions, {
@@ -5451,8 +5556,10 @@ M: {};
5451
5556
  Defaults: {};
5452
5557
  }, Readonly<DataDropdownProps> & Readonly<{
5453
5558
  "onUpdate:modelValue"?: (modelValue: any) => any;
5559
+ onDataSubmit?: (data: any[]) => any;
5454
5560
  }>, {
5455
5561
  open: () => void;
5562
+ close: () => void;
5456
5563
  }, {}, {}, {}, {
5457
5564
  displayName: string;
5458
5565
  compSize: string;
@@ -5461,6 +5568,7 @@ displayValue: string;
5461
5568
  multiple: boolean;
5462
5569
  checkStrictly: boolean;
5463
5570
  selectLeaf: boolean;
5571
+ autoClose: boolean;
5464
5572
  }>;
5465
5573
  }, any>;
5466
5574
 
@@ -8828,8 +8936,8 @@ formInfo: Record<string, any>;
8828
8936
  field: any;
8829
8937
  bareFlag: boolean;
8830
8938
  isSearch: boolean;
8831
- parentField: Record<string, any>;
8832
8939
  isDesign: boolean;
8940
+ parentField: Record<string, any>;
8833
8941
  showFormItem: boolean;
8834
8942
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
8835
8943
 
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.7.74",
5
+ "version": "2.7.76",
6
6
  "type": "module",
7
7
  "description": "星马低代码核心库,提供了低代码平台的基础功能和组件库。此库可引用到您的项目中,快速构建表单和列表。",
8
8
  "keywords": [
@@ -62,14 +62,14 @@
62
62
  },
63
63
  "dependencies": {
64
64
  "@element-plus/icons-vue": "^2.3.2",
65
- "@eslint/js": "^9.32.0",
65
+ "@eslint/js": "^9.33.0",
66
66
  "@originjs/vite-plugin-commonjs": "^1.0.3",
67
67
  "@rollup/plugin-inject": "^5.0.5",
68
68
  "@tailwindcss/vite": "^4.1.11",
69
69
  "@vitejs/plugin-vue-jsx": "^5.0.1",
70
70
  "@vueup/vue-quill": "^1.2.0",
71
71
  "axios": "^1.11.0",
72
- "element-plus": "^2.10.5",
72
+ "element-plus": "^2.10.6",
73
73
  "eslint-config-prettier": "^10.1.8",
74
74
  "eslint-plugin-prettier": "^5.5.4",
75
75
  "globals": "^16.3.0",
@@ -100,21 +100,21 @@
100
100
  },
101
101
  "devDependencies": {
102
102
  "@types/jquery": "^3.5.32",
103
- "@types/node": "^24.2.0",
103
+ "@types/node": "^24.2.1",
104
104
  "@types/prismjs": "^1.26.5",
105
105
  "@types/sortablejs": "^1.15.8",
106
106
  "@types/uuid": "^10.0.0",
107
107
  "@typescript-eslint/eslint-plugin": "^8.39.0",
108
108
  "@typescript-eslint/parser": "^8.39.0",
109
109
  "@vitejs/plugin-vue": "^6.0.1",
110
- "eslint": "^9.32.0",
110
+ "eslint": "^9.33.0",
111
111
  "eslint-config-prettier": "^10.1.8",
112
112
  "eslint-plugin-prettier": "^5.5.4",
113
113
  "eslint-plugin-vue": "^10.4.0",
114
114
  "prettier": "^3.6.2",
115
115
  "sass-embedded": "^1.90.0",
116
116
  "terser": "^5.43.1",
117
- "vite": "^7.0.6"
117
+ "vite": "^7.1.1"
118
118
  },
119
119
  "engines": {
120
120
  "node": ">=20.13.0"