star-horse-lowcode 2.8.69 → 2.8.71

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.
@@ -604,12 +604,12 @@ title?(_: {}): any;
604
604
 
605
605
  declare const __VLS_component_6: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
606
606
 
607
- declare const __VLS_component_7: DefineComponent<__VLS_Props_46, {
607
+ declare const __VLS_component_7: DefineComponent<__VLS_Props_47, {
608
608
  getConfigInfo: () => any;
609
609
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
610
610
  "update:modelValue": (...args: any[]) => void;
611
611
  saveData: (...args: any[]) => void;
612
- }, string, PublicProps, Readonly<__VLS_Props_46> & Readonly<{
612
+ }, string, PublicProps, Readonly<__VLS_Props_47> & Readonly<{
613
613
  "onUpdate:modelValue"?: (...args: any[]) => any;
614
614
  onSaveData?: (...args: any[]) => any;
615
615
  }>, {
@@ -701,7 +701,9 @@ declare type __VLS_Props_44 = ItemPreps;
701
701
 
702
702
  declare type __VLS_Props_45 = ItemPreps;
703
703
 
704
- declare type __VLS_Props_46 = {
704
+ declare type __VLS_Props_46 = ItemPreps;
705
+
706
+ declare type __VLS_Props_47 = {
705
707
  hideDefaultConfig?: boolean;
706
708
  modelValue: boolean;
707
709
  direction?: string;
@@ -880,6 +882,10 @@ declare type __VLS_PublicProps_45 = {
880
882
  "formData"?: any;
881
883
  } & __VLS_Props_45;
882
884
 
885
+ declare type __VLS_PublicProps_46 = {
886
+ "formData"?: any;
887
+ } & __VLS_Props_46;
888
+
883
889
  declare type __VLS_PublicProps_5 = {
884
890
  "formData"?: any;
885
891
  } & __VLS_Props_5;
@@ -3514,6 +3520,14 @@ export declare function getDynamicEvents(props: any, recall: Function): Record<s
3514
3520
  */
3515
3521
  export declare function getFingerId(): string;
3516
3522
 
3523
+ /**
3524
+ * 存在映射关系时的校验函数
3525
+ * @param item
3526
+ * @param dataForm
3527
+ * @param prefix
3528
+ * @param parentIndex
3529
+ * @param index
3530
+ */
3517
3531
  export declare function getFormData(item: any, dataForm: any, prefix: string, parentIndex: any, index: any): any;
3518
3532
 
3519
3533
  export declare function getMenuId(): string;
@@ -3664,6 +3678,22 @@ onSelectItem?: (...args: any[]) => any;
3664
3678
  inputItemRef: unknown;
3665
3679
  }, any>;
3666
3680
 
3681
+ export declare const inputTagItem: DefineComponent<__VLS_PublicProps_46, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3682
+ selfFunc: (...args: any[]) => void;
3683
+ selectItem: (...args: any[]) => void;
3684
+ "update:formData": (value: any) => void;
3685
+ }, string, PublicProps, Readonly<__VLS_PublicProps_46> & Readonly<{
3686
+ onSelfFunc?: (...args: any[]) => any;
3687
+ onSelectItem?: (...args: any[]) => any;
3688
+ "onUpdate:formData"?: (value: any) => any;
3689
+ }>, {
3690
+ disabled: boolean;
3691
+ isDesign: boolean;
3692
+ bareFlag: boolean;
3693
+ isSearch: boolean;
3694
+ showFormItem: boolean;
3695
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
3696
+
3667
3697
  export declare const isDark: UseDarkReturn;
3668
3698
 
3669
3699
  /**
@@ -7475,6 +7505,10 @@ export declare interface TabFieldInfo {
7475
7505
  */
7476
7506
  batchFieldList?: Array<BatchFieldInfo>;
7477
7507
  preps?: Record<string, any>;
7508
+ /**
7509
+ * 当subFormFlag为Y是映射关系 1 表示1对一,n表示1 对多,默认1
7510
+ */
7511
+ mapping?: "1" | "n";
7478
7512
  }
7479
7513
 
7480
7514
  export declare const tableContainer: DefineComponent<ExtractPropTypes< {
package/package.json CHANGED
@@ -1,136 +1,136 @@
1
- {
2
- "name": "star-horse-lowcode",
3
- "private": false,
4
- "author": "l_1019@163.com",
5
- "version": "2.8.69",
6
- "type": "module",
7
- "description": "星马低代码核心库,提供了低代码平台的基础功能和组件库。此库可引用到您的项目中,快速构建表单和列表。",
8
- "keywords": [
9
- "lowcode",
10
- "low-code",
11
- "star",
12
- "star-horse",
13
- "star-horse-lowcode",
14
- "星马",
15
- "低代码",
16
- "低代码库",
17
- "星马低代码核心库"
18
- ],
19
- "license": "MIT",
20
- "homepage": "https://gitee.com/lixingyu/knowledge_demo",
21
- "repository": {
22
- "type": "git",
23
- "url": "https://gitee.com/lixingyu/knowledge_demo"
24
- },
25
- "main": "dist/index.es.js",
26
- "module": "dist/index.es.js",
27
- "types": "dist/types/index.d.ts",
28
- "files": [
29
- "dist",
30
- "!src",
31
- "!.git",
32
- "!node_modules",
33
- "!.vite-inspect"
34
- ],
35
- "exports": {
36
- ".": {
37
- "types": "./dist/types/index.d.ts",
38
- "import": "./dist/index.es.js"
39
- },
40
- "./*": "./dist/*"
41
- },
42
- "scripts": {
43
- "lint": "eslint .",
44
- "lint:fix": "eslint . --fix",
45
- "format": "prettier --write \"./**/*.{jsx,ts,tsx,vue,css,scss,html}\"",
46
- "serve": " vite --mode development",
47
- "build": "vite build --mode production",
48
- "preview": "vite preview --mode production",
49
- "clean": "rimraf node_modules/.vite && rimraf node_modules/.cache",
50
- "svgToFont": "node ./src/script/svgToFont.js",
51
- "createNodeImageList": "node ./script/createNodeImageList.js"
52
- },
53
- "prettier": {
54
- "overrides": [
55
- {
56
- "files": "*.ts",
57
- "options": {
58
- "parser": "typescript"
59
- }
60
- }
61
- ]
62
- },
63
- "dependencies": {
64
- "@codemirror/lang-cpp": "^6.0.3",
65
- "@codemirror/lang-css": "^6.3.1",
66
- "@codemirror/lang-go": "^6.0.1",
67
- "@codemirror/lang-html": "^6.4.11",
68
- "@codemirror/lang-java": "^6.0.2",
69
- "@codemirror/lang-javascript": "^6.2.5",
70
- "@codemirror/lang-json": "^6.0.2",
71
- "@codemirror/lang-markdown": "^6.5.0",
72
- "@codemirror/lang-python": "^6.2.1",
73
- "@codemirror/lang-sql": "^6.10.0",
74
- "@codemirror/lang-vue": "^0.1.3",
75
- "@codemirror/lang-xml": "^6.1.0",
76
- "@codemirror/lang-yaml": "^6.1.2",
77
- "@codemirror/theme-one-dark": "^6.1.3",
78
- "@replit/codemirror-minimap": "^0.5.2",
79
- "@selemondev/vue3-signature-pad": "^1.8.3",
80
- "@vueuse/core": "^14.2.1",
81
- "@wangeditor/editor": "^5.1.23",
82
- "@wangeditor/editor-for-vue": "^5.1.12",
83
- "axios": "^1.13.6",
84
- "codemirror": "^6.0.2",
85
- "element-plus": "^2.13.5",
86
- "jquery": "^4.0.0",
87
- "json5": "^2.2.3",
88
- "markdown-it": "^14.1.1",
89
- "md-editor-v3": "^6.4.0",
90
- "path": "^0.12.7",
91
- "pinia": "^3.0.4",
92
- "pinia-plugin-persistedstate": "^4.7.1",
93
- "preview-image-js": "^1.2.1",
94
- "qrcode.vue": "^3.8.0",
95
- "smooth-signature": "^1.1.0",
96
- "sortablejs": "^1.15.7",
97
- "sql-formatter": "^15.7.2",
98
- "tailwindcss": "^4.2.1",
99
- "thememirror": "^2.0.1",
100
- "uuid": "^13.0.0",
101
- "vanilla-jsoneditor": "^3.11.0",
102
- "vue": "^3.5.29",
103
- "vue-i18n": "^11.3.0",
104
- "vue-m-message": "^4.0.2",
105
- "vue-router": "^5.0.3",
106
- "vue3-barcode": "^1.0.1",
107
- "vue3-signature": "^0.4.4",
108
- "vue3-ts-jsoneditor": "^3.3.2",
109
- "vuedraggable-es": "^4.1.1"
110
- },
111
- "devDependencies": {
112
- "@eslint/js": "^10.0.1",
113
- "@rollup/plugin-inject": "^5.0.5",
114
- "@tailwindcss/vite": "^4.2.1",
115
- "@types/jquery": "^4.0.0",
116
- "@types/prismjs": "^1.26.6",
117
- "@types/sortablejs": "^1.15.9",
118
- "@typescript-eslint/eslint-plugin": "^8.57.0",
119
- "@typescript-eslint/parser": "^8.57.0",
120
- "@vitejs/plugin-vue": "^6.0.4",
121
- "eslint": "^10.0.2",
122
- "eslint-plugin-vue": "^10.8.0",
123
- "globals": "^17.4.0",
124
- "prettier": "^3.8.1",
125
- "sass-embedded": "^1.98.0",
126
- "terser": "^5.46.0",
127
- "unplugin-auto-import": "^21.0.0",
128
- "unplugin-vue-components": "^31.0.0",
129
- "vite": "^7.3.1",
130
- "vite-plugin-dts": "^4.5.4",
131
- "vue-eslint-parser": "^10.4.0"
132
- },
133
- "engines": {
134
- "node": ">=20.13.0"
135
- }
136
- }
1
+ {
2
+ "name": "star-horse-lowcode",
3
+ "private": false,
4
+ "author": "l_1019@163.com",
5
+ "version": "2.8.71",
6
+ "type": "module",
7
+ "description": "星马低代码核心库,提供了低代码平台的基础功能和组件库。此库可引用到您的项目中,快速构建表单和列表。",
8
+ "keywords": [
9
+ "lowcode",
10
+ "low-code",
11
+ "star",
12
+ "star-horse",
13
+ "star-horse-lowcode",
14
+ "星马",
15
+ "低代码",
16
+ "低代码库",
17
+ "星马低代码核心库"
18
+ ],
19
+ "license": "MIT",
20
+ "homepage": "https://gitee.com/lixingyu/knowledge_demo",
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "https://gitee.com/lixingyu/knowledge_demo"
24
+ },
25
+ "main": "dist/index.es.js",
26
+ "module": "dist/index.es.js",
27
+ "types": "dist/types/index.d.ts",
28
+ "files": [
29
+ "dist",
30
+ "!src",
31
+ "!.git",
32
+ "!node_modules",
33
+ "!.vite-inspect"
34
+ ],
35
+ "exports": {
36
+ ".": {
37
+ "types": "./dist/types/index.d.ts",
38
+ "import": "./dist/index.es.js"
39
+ },
40
+ "./*": "./dist/*"
41
+ },
42
+ "scripts": {
43
+ "lint": "eslint .",
44
+ "lint:fix": "eslint . --fix",
45
+ "format": "prettier --write \"./**/*.{jsx,ts,tsx,vue,css,scss,html}\"",
46
+ "serve": " vite --mode development",
47
+ "build": "vite build --mode production",
48
+ "preview": "vite preview --mode production",
49
+ "clean": "rimraf node_modules/.vite && rimraf node_modules/.cache",
50
+ "svgToFont": "node ./src/script/svgToFont.js",
51
+ "createNodeImageList": "node ./script/createNodeImageList.js"
52
+ },
53
+ "prettier": {
54
+ "overrides": [
55
+ {
56
+ "files": "*.ts",
57
+ "options": {
58
+ "parser": "typescript"
59
+ }
60
+ }
61
+ ]
62
+ },
63
+ "dependencies": {
64
+ "@codemirror/lang-cpp": "^6.0.3",
65
+ "@codemirror/lang-css": "^6.3.1",
66
+ "@codemirror/lang-go": "^6.0.1",
67
+ "@codemirror/lang-html": "^6.4.11",
68
+ "@codemirror/lang-java": "^6.0.2",
69
+ "@codemirror/lang-javascript": "^6.2.5",
70
+ "@codemirror/lang-json": "^6.0.2",
71
+ "@codemirror/lang-markdown": "^6.5.0",
72
+ "@codemirror/lang-python": "^6.2.1",
73
+ "@codemirror/lang-sql": "^6.10.0",
74
+ "@codemirror/lang-vue": "^0.1.3",
75
+ "@codemirror/lang-xml": "^6.1.0",
76
+ "@codemirror/lang-yaml": "^6.1.3",
77
+ "@codemirror/theme-one-dark": "^6.1.3",
78
+ "@replit/codemirror-minimap": "^0.5.2",
79
+ "@selemondev/vue3-signature-pad": "^1.8.6",
80
+ "@vueuse/core": "^14.2.1",
81
+ "@wangeditor/editor": "^5.1.23",
82
+ "@wangeditor/editor-for-vue": "^5.1.12",
83
+ "axios": "^1.13.6",
84
+ "codemirror": "^6.0.2",
85
+ "element-plus": "^2.13.6",
86
+ "jquery": "^4.0.0",
87
+ "json5": "^2.2.3",
88
+ "markdown-it": "^14.1.1",
89
+ "md-editor-v3": "^6.4.1",
90
+ "path": "^0.12.7",
91
+ "pinia": "^3.0.4",
92
+ "pinia-plugin-persistedstate": "^4.7.1",
93
+ "preview-image-js": "^1.2.1",
94
+ "qrcode.vue": "^3.8.0",
95
+ "smooth-signature": "^1.1.0",
96
+ "sortablejs": "^1.15.7",
97
+ "sql-formatter": "^15.7.2",
98
+ "tailwindcss": "^4.2.2",
99
+ "thememirror": "^2.0.1",
100
+ "uuid": "^13.0.0",
101
+ "vanilla-jsoneditor": "^3.11.0",
102
+ "vue": "^3.5.30",
103
+ "vue-i18n": "^11.3.0",
104
+ "vue-m-message": "^4.0.2",
105
+ "vue-router": "^5.0.4",
106
+ "vue3-barcode": "^1.0.1",
107
+ "vue3-signature": "^0.4.4",
108
+ "vue3-ts-jsoneditor": "^3.3.2",
109
+ "vuedraggable-es": "^4.1.1"
110
+ },
111
+ "devDependencies": {
112
+ "@eslint/js": "^10.0.1",
113
+ "@rollup/plugin-inject": "^5.0.5",
114
+ "@tailwindcss/vite": "^4.2.2",
115
+ "@types/jquery": "^4.0.0",
116
+ "@types/prismjs": "^1.26.6",
117
+ "@types/sortablejs": "^1.15.9",
118
+ "@typescript-eslint/eslint-plugin": "^8.57.2",
119
+ "@typescript-eslint/parser": "^8.57.2",
120
+ "@vitejs/plugin-vue": "^6.0.5",
121
+ "eslint": "^10.1.0",
122
+ "eslint-plugin-vue": "^10.8.0",
123
+ "globals": "^17.4.0",
124
+ "prettier": "^3.8.1",
125
+ "sass-embedded": "^1.98.0",
126
+ "terser": "^5.46.1",
127
+ "unplugin-auto-import": "^21.0.0",
128
+ "unplugin-vue-components": "^32.0.0",
129
+ "vite": "^7.3.1",
130
+ "vite-plugin-dts": "^4.5.4",
131
+ "vue-eslint-parser": "^10.4.0"
132
+ },
133
+ "engines": {
134
+ "node": ">=20.13.0"
135
+ }
136
+ }