star-horse-lowcode 2.7.43 → 2.7.45

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.
@@ -1670,6 +1670,8 @@ export declare function convertToCamelCase(str: string): string;
1670
1670
  */
1671
1671
  export declare function copy(msg: string): void;
1672
1672
 
1673
+ export declare function copyText(text: any): Promise<void>;
1674
+
1673
1675
  /**
1674
1676
  * 动态创建组件
1675
1677
  * @param compInfo 组件信息
@@ -1800,7 +1802,7 @@ check: {
1800
1802
  type: FunctionConstructor;
1801
1803
  };
1802
1804
  cron: {
1803
- type: ObjectConstructor;
1805
+ type: PropType<String>;
1804
1806
  };
1805
1807
  radioParent: {};
1806
1808
  }>> & Readonly<{
@@ -1814,7 +1816,7 @@ checkboxList: Ref<any[], any[]>;
1814
1816
  radioValue: Ref<number, number>;
1815
1817
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1816
1818
  update: (...args: any[]) => void;
1817
- }, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
1819
+ }, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
1818
1820
  P: {};
1819
1821
  B: {};
1820
1822
  D: {};
@@ -1826,7 +1828,7 @@ check: {
1826
1828
  type: FunctionConstructor;
1827
1829
  };
1828
1830
  cron: {
1829
- type: ObjectConstructor;
1831
+ type: PropType<String>;
1830
1832
  };
1831
1833
  radioParent: {};
1832
1834
  }>> & Readonly<{
@@ -1857,7 +1859,7 @@ checkboxList: Ref<any[], any[]>;
1857
1859
  radioValue: Ref<number, number>;
1858
1860
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1859
1861
  update: (...args: any[]) => void;
1860
- }, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
1862
+ }, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
1861
1863
  P: {};
1862
1864
  B: {};
1863
1865
  D: {};
@@ -1899,7 +1901,7 @@ checkboxList: Ref<any[], any[]>;
1899
1901
  radioValue: Ref<number, number>;
1900
1902
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1901
1903
  update: (...args: any[]) => void;
1902
- }, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
1904
+ }, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
1903
1905
  P: {};
1904
1906
  B: {};
1905
1907
  D: {};
@@ -1942,7 +1944,7 @@ workday: Ref<number, number>;
1942
1944
  radioValue: Ref<number, number>;
1943
1945
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1944
1946
  update: (...args: any[]) => void;
1945
- }, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
1947
+ }, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
1946
1948
  P: {};
1947
1949
  B: {};
1948
1950
  D: {};
@@ -1985,7 +1987,7 @@ checkboxList: Ref<any[], any[]>;
1985
1987
  radioValue: Ref<number, number>;
1986
1988
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1987
1989
  update: (...args: any[]) => void;
1988
- }, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
1990
+ }, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
1989
1991
  P: {};
1990
1992
  B: {};
1991
1993
  D: {};
@@ -2028,7 +2030,7 @@ weekday: Ref<number, number>;
2028
2030
  radioValue: Ref<number, number>;
2029
2031
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2030
2032
  update: (...args: any[]) => void;
2031
- }, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
2033
+ }, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
2032
2034
  P: {};
2033
2035
  B: {};
2034
2036
  D: {};
@@ -2072,7 +2074,7 @@ checkboxList: Ref<any[], any[]>;
2072
2074
  radioValue: Ref<number, number>;
2073
2075
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2074
2076
  update: (...args: any[]) => void;
2075
- }, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
2077
+ }, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
2076
2078
  P: {};
2077
2079
  B: {};
2078
2080
  D: {};
@@ -2097,7 +2099,7 @@ average02: Ref<number, number>;
2097
2099
  checkboxList: Ref<any[], any[]>;
2098
2100
  radioValue: Ref<number, number>;
2099
2101
  }, {}, {}, {}, {}>;
2100
- }, any, ComponentProvideOptions, {
2102
+ }, HTMLDivElement, ComponentProvideOptions, {
2101
2103
  P: {};
2102
2104
  B: {};
2103
2105
  D: {};
@@ -2822,6 +2824,7 @@ export declare interface FieldInfo {
2822
2824
  minWidth?: number;
2823
2825
  /**
2824
2826
  * 备选数据列表,目前仅支持下拉
2827
+ * 废弃,请根据具体业务在preps 中添加 values 或者data
2825
2828
  */
2826
2829
  optionList?: SelectOption[] | Ref<SelectOption[]>;
2827
2830
  /**
@@ -4561,6 +4564,9 @@ export declare type SearchProps = {
4561
4564
  */
4562
4565
  params?: CompParams;
4563
4566
  preps?: any;
4567
+ /**
4568
+ * 废弃,请根据具体业务在preps 中添加 values 或者data
4569
+ */
4564
4570
  optionList?: SelectOption[] | Ref<SelectOption[]>;
4565
4571
  };
4566
4572
 
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.43",
5
+ "version": "2.7.45",
6
6
  "type": "module",
7
- "description": "星马低代码平台",
7
+ "description": "星马低代码核心库,提供了低代码平台的基础功能和组件库。此库可引用到您的项目中,快速构建表单和列表。",
8
8
  "keywords": [
9
9
  "lowcode",
10
10
  "low-code",
@@ -13,8 +13,8 @@
13
13
  "star-horse-lowcode",
14
14
  "星马",
15
15
  "低代码",
16
- "低代码平台",
17
- "星马低代码平台"
16
+ "低代码库",
17
+ "星马低代码核心库"
18
18
  ],
19
19
  "license": "MIT",
20
20
  "homepage": "none",
@@ -23,7 +23,7 @@
23
23
  "url": "none"
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
  },
@@ -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.5",
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.42.0",
94
+ "terser": "^5.43.1",
95
95
  "ttf2woff": "^3.0.0",
96
96
  "vite": "^6.3.5"
97
97
  },