star-horse-lowcode 2.7.66 → 2.7.68

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.
@@ -960,6 +960,18 @@ isDesign: boolean;
960
960
  showFormItem: boolean;
961
961
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
962
962
 
963
+ /**
964
+ * base64转字符串
965
+ * @param param
966
+ */
967
+ export declare function base64Decode(param: string): string;
968
+
969
+ /**
970
+ * 字符串转base64
971
+ * @param param
972
+ */
973
+ export declare function base64Encode(param: string): string;
974
+
963
975
  /**
964
976
  * 批量列表数据默认值
965
977
  * @param datas
@@ -2243,16 +2255,50 @@ export declare interface CustomerItem {
2243
2255
  }
2244
2256
 
2245
2257
  declare interface DataDropdownProps {
2258
+ /**
2259
+ * 模型值
2260
+ */
2246
2261
  modelValue: ModelValueType;
2262
+ /**
2263
+ * 接口地址
2264
+ */
2247
2265
  dataUrl?: string;
2266
+ /**
2267
+ * 页码
2268
+ */
2248
2269
  pageSize?: number;
2270
+ /**
2271
+ * 数据
2272
+ */
2249
2273
  datas?: Array<any>;
2274
+ /**
2275
+ * 标题
2276
+ */
2250
2277
  title?: string;
2278
+ /**
2279
+ * 组件大小
2280
+ */
2251
2281
  compSize?: string;
2282
+ /**
2283
+ * 显示名称
2284
+ */
2252
2285
  displayName?: string;
2286
+ /**
2287
+ * 显示值
2288
+ */
2253
2289
  displayValue?: string;
2290
+ /**
2291
+ * 是否多选
2292
+ */
2254
2293
  multiple?: boolean;
2294
+ /**
2295
+ * 是否严格选择
2296
+ */
2255
2297
  checkStrictly?: boolean;
2298
+ /**
2299
+ * 是否只选叶子节点
2300
+ */
2301
+ selectLeaf?: boolean;
2256
2302
  }
2257
2303
 
2258
2304
  declare interface DataSelectorProps {
@@ -2269,6 +2315,7 @@ declare interface DataSelectorProps {
2269
2315
  multiple?: boolean;
2270
2316
  disabled?: boolean;
2271
2317
  checkStrictly?: boolean;
2318
+ selectLeaf?: boolean;
2272
2319
  style?: CSSProperties;
2273
2320
  }
2274
2321
 
@@ -4177,6 +4224,12 @@ isDesign: boolean;
4177
4224
  showFormItem: boolean;
4178
4225
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
4179
4226
 
4227
+ /**
4228
+ * 对象转base64
4229
+ * @param object
4230
+ */
4231
+ export declare function objectToBase64(object: any): string;
4232
+
4180
4233
  export declare const operationConfirm: (msg: string) => Promise<boolean>;
4181
4234
 
4182
4235
  /**
@@ -5351,9 +5404,11 @@ viewFlag: boolean;
5351
5404
  export declare const StarHorseDataSelector: DefineComponent<DataSelectorProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
5352
5405
  "update:modelValue": (modelValue: any) => any;
5353
5406
  selectedData: (selectData: any) => any;
5407
+ "update:selectedData": (selectData: any) => any;
5354
5408
  }, string, PublicProps, Readonly<DataSelectorProps> & Readonly<{
5355
5409
  "onUpdate:modelValue"?: (modelValue: any) => any;
5356
5410
  onSelectedData?: (selectData: any) => any;
5411
+ "onUpdate:selectedData"?: (selectData: any) => any;
5357
5412
  }>, {
5358
5413
  placeholder: string;
5359
5414
  displayName: string;
@@ -5363,6 +5418,7 @@ displayValue: string;
5363
5418
  pageSize: number;
5364
5419
  multiple: boolean;
5365
5420
  checkStrictly: boolean;
5421
+ selectLeaf: boolean;
5366
5422
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
5367
5423
  dataPickerRef: CreateComponentPublicInstanceWithMixins<Readonly<DataDropdownProps> & Readonly<{
5368
5424
  "onUpdate:modelValue"?: (modelValue: any) => any;
@@ -5377,6 +5433,7 @@ displayValue: string;
5377
5433
  pageSize: number;
5378
5434
  multiple: boolean;
5379
5435
  checkStrictly: boolean;
5436
+ selectLeaf: boolean;
5380
5437
  }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
5381
5438
  orgTreeRef: unknown;
5382
5439
  }, any, ComponentProvideOptions, {
@@ -5397,6 +5454,7 @@ displayValue: string;
5397
5454
  pageSize: number;
5398
5455
  multiple: boolean;
5399
5456
  checkStrictly: boolean;
5457
+ selectLeaf: boolean;
5400
5458
  }>;
5401
5459
  }, any>;
5402
5460
 
@@ -8776,6 +8834,18 @@ showFormItem: boolean;
8776
8834
  */
8777
8835
  export declare function uploadRequest(url: string, data: Array<any>): Promise<AxiosResponse<any, any>>;
8778
8836
 
8837
+ /**
8838
+ * 参数解码
8839
+ * @param param
8840
+ */
8841
+ export declare function uriDecode(param: string): string;
8842
+
8843
+ /**
8844
+ * 参数编码
8845
+ * @param param
8846
+ */
8847
+ export declare function uriEncode(param: string | number | boolean): string;
8848
+
8779
8849
  /**
8780
8850
  * 用户权限控制
8781
8851
  */
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.66",
5
+ "version": "2.7.68",
6
6
  "type": "module",
7
7
  "description": "星马低代码核心库,提供了低代码平台的基础功能和组件库。此库可引用到您的项目中,快速构建表单和列表。",
8
8
  "keywords": [
@@ -100,8 +100,8 @@
100
100
  "@types/prismjs": "^1.26.5",
101
101
  "@types/sortablejs": "^1.15.8",
102
102
  "@types/uuid": "^10.0.0",
103
- "@typescript-eslint/eslint-plugin": "^8.38.0",
104
- "@typescript-eslint/parser": "^8.38.0",
103
+ "@typescript-eslint/eslint-plugin": "^8.39.0",
104
+ "@typescript-eslint/parser": "^8.39.0",
105
105
  "@vitejs/plugin-vue": "^6.0.1",
106
106
  "eslint": "^9.32.0",
107
107
  "eslint-config-prettier": "^10.1.8",