star-horse-lowcode 2.8.19 → 2.8.20
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.
- package/README.md +2 -0
- package/dist/assets/index.css +1 -1
- package/dist/index.es.js +4532 -4237
- package/dist/types/index.d.ts +76 -82
- package/package.json +10 -10
package/dist/types/index.d.ts
CHANGED
|
@@ -2,21 +2,14 @@ import { App } from 'vue';
|
|
|
2
2
|
import { AxiosInstance } from 'axios';
|
|
3
3
|
import { AxiosResponse } from 'axios';
|
|
4
4
|
import { ComponentOptionsMixin } from 'vue';
|
|
5
|
-
import { ComponentOptionsMixin as ComponentOptionsMixin_2 } from '@vue/runtime-core';
|
|
6
5
|
import { ComponentProvideOptions } from 'vue';
|
|
7
|
-
import { ComponentProvideOptions as ComponentProvideOptions_2 } from '@vue/runtime-core';
|
|
8
6
|
import { ComputedRef } from 'vue';
|
|
9
|
-
import { ComputedRef as ComputedRef_2 } from '@vue/reactivity';
|
|
10
7
|
import { CreateComponentPublicInstanceWithMixins } from 'vue';
|
|
11
|
-
import { CreateComponentPublicInstanceWithMixins as CreateComponentPublicInstanceWithMixins_2 } from '@vue/runtime-core';
|
|
12
8
|
import { CSSProperties } from 'vue';
|
|
13
9
|
import { DefineComponent } from 'vue';
|
|
14
10
|
import { ExtractPropTypes } from 'vue';
|
|
15
|
-
import { ExtractPropTypes as ExtractPropTypes_2 } from '@vue/runtime-core';
|
|
16
11
|
import { GlobalComponents } from 'vue';
|
|
17
|
-
import { GlobalComponents as GlobalComponents_2 } from '@vue/runtime-core';
|
|
18
12
|
import { GlobalDirectives } from 'vue';
|
|
19
|
-
import { GlobalDirectives as GlobalDirectives_2 } from '@vue/runtime-core';
|
|
20
13
|
import { JSONEditorSelection } from 'vanilla-jsoneditor';
|
|
21
14
|
import { JSONParser } from 'vanilla-jsoneditor';
|
|
22
15
|
import { JSONPathParser } from 'vanilla-jsoneditor';
|
|
@@ -25,13 +18,10 @@ import { OnRenderMenu } from 'vanilla-jsoneditor';
|
|
|
25
18
|
import { OnRenderValue } from 'vanilla-jsoneditor';
|
|
26
19
|
import { Pinia } from 'pinia';
|
|
27
20
|
import { PropType } from 'vue';
|
|
28
|
-
import { PropType as PropType_2 } from '@vue/runtime-core';
|
|
29
21
|
import { PublicProps } from 'vue';
|
|
30
|
-
import { PublicProps as PublicProps_2 } from '@vue/runtime-core';
|
|
31
22
|
import { QueryLanguageId } from 'vue3-ts-jsoneditor';
|
|
32
23
|
import { Reactive } from 'vue';
|
|
33
24
|
import { Ref } from 'vue';
|
|
34
|
-
import { Ref as Ref_2 } from '@vue/reactivity';
|
|
35
25
|
import { RouteLocationNormalized } from 'vue-router';
|
|
36
26
|
import { Router } from 'vue-router';
|
|
37
27
|
import { ShallowRef } from 'vue';
|
|
@@ -1061,6 +1051,10 @@ export declare function base64Decode(param: string): string;
|
|
|
1061
1051
|
*/
|
|
1062
1052
|
export declare function base64Encode(param: string): string;
|
|
1063
1053
|
|
|
1054
|
+
export declare const baseEvent: (eventName: string, recall?: Function) => (e: Event) => void;
|
|
1055
|
+
|
|
1056
|
+
export declare const baseRelationEvent: (props: any, relationDetails: RelationDetail[], actionName: string) => (e: Event) => void;
|
|
1057
|
+
|
|
1064
1058
|
/**
|
|
1065
1059
|
* 批量列表数据默认值
|
|
1066
1060
|
* @param datas
|
|
@@ -4990,76 +4984,76 @@ type: PropType<{}>;
|
|
|
4990
4984
|
currentMode: any;
|
|
4991
4985
|
modeList: unknown[];
|
|
4992
4986
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
4993
|
-
editor:
|
|
4994
|
-
modelValue:
|
|
4987
|
+
editor: CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
4988
|
+
modelValue: PropType<unknown>;
|
|
4995
4989
|
value: {
|
|
4996
|
-
type:
|
|
4990
|
+
type: PropType<unknown>;
|
|
4997
4991
|
default: any;
|
|
4998
4992
|
};
|
|
4999
4993
|
json: {
|
|
5000
|
-
type:
|
|
4994
|
+
type: PropType<unknown>;
|
|
5001
4995
|
default: any;
|
|
5002
4996
|
};
|
|
5003
|
-
text:
|
|
5004
|
-
jsonString:
|
|
4997
|
+
text: PropType<string>;
|
|
4998
|
+
jsonString: PropType<string>;
|
|
5005
4999
|
selection: {
|
|
5006
|
-
type:
|
|
5000
|
+
type: PropType<JSONEditorSelection>;
|
|
5007
5001
|
default: any;
|
|
5008
5002
|
};
|
|
5009
5003
|
mode: {
|
|
5010
|
-
type:
|
|
5004
|
+
type: PropType<"table" | "text" | "tree">;
|
|
5011
5005
|
default: string;
|
|
5012
5006
|
};
|
|
5013
5007
|
mainMenuBar: {
|
|
5014
|
-
type:
|
|
5008
|
+
type: PropType<boolean>;
|
|
5015
5009
|
default: any;
|
|
5016
5010
|
};
|
|
5017
5011
|
navigationBar: {
|
|
5018
|
-
type:
|
|
5012
|
+
type: PropType<boolean>;
|
|
5019
5013
|
default: any;
|
|
5020
5014
|
};
|
|
5021
5015
|
statusBar: {
|
|
5022
|
-
type:
|
|
5016
|
+
type: PropType<boolean>;
|
|
5023
5017
|
default: any;
|
|
5024
5018
|
};
|
|
5025
5019
|
askToFormat: {
|
|
5026
|
-
type:
|
|
5020
|
+
type: PropType<boolean>;
|
|
5027
5021
|
default: any;
|
|
5028
5022
|
};
|
|
5029
5023
|
readOnly: {
|
|
5030
|
-
type:
|
|
5024
|
+
type: PropType<boolean>;
|
|
5031
5025
|
default: any;
|
|
5032
5026
|
};
|
|
5033
|
-
indentation:
|
|
5034
|
-
tabSize:
|
|
5027
|
+
indentation: PropType<string | number>;
|
|
5028
|
+
tabSize: PropType<number>;
|
|
5035
5029
|
escapeControlCharacters: {
|
|
5036
|
-
type:
|
|
5030
|
+
type: PropType<boolean>;
|
|
5037
5031
|
default: any;
|
|
5038
5032
|
};
|
|
5039
5033
|
escapeUnicodeCharacters: {
|
|
5040
|
-
type:
|
|
5034
|
+
type: PropType<boolean>;
|
|
5041
5035
|
default: any;
|
|
5042
5036
|
};
|
|
5043
5037
|
flattenColumns: {
|
|
5044
|
-
type:
|
|
5038
|
+
type: PropType<boolean>;
|
|
5045
5039
|
default: any;
|
|
5046
5040
|
};
|
|
5047
|
-
validator:
|
|
5048
|
-
parser:
|
|
5049
|
-
validationParser:
|
|
5050
|
-
pathParser:
|
|
5051
|
-
queryLanguagesIds:
|
|
5052
|
-
queryLanguageId:
|
|
5053
|
-
onClassName:
|
|
5054
|
-
onRenderValue:
|
|
5055
|
-
onRenderMenu:
|
|
5056
|
-
height:
|
|
5041
|
+
validator: PropType<Validator>;
|
|
5042
|
+
parser: PropType<JSONParser>;
|
|
5043
|
+
validationParser: PropType<JSONParser>;
|
|
5044
|
+
pathParser: PropType<JSONPathParser>;
|
|
5045
|
+
queryLanguagesIds: PropType<QueryLanguageId[]>;
|
|
5046
|
+
queryLanguageId: PropType<QueryLanguageId>;
|
|
5047
|
+
onClassName: PropType<OnClassName>;
|
|
5048
|
+
onRenderValue: PropType<OnRenderValue>;
|
|
5049
|
+
onRenderMenu: PropType<OnRenderMenu>;
|
|
5050
|
+
height: PropType<string | number>;
|
|
5057
5051
|
fullWidthButton: {
|
|
5058
|
-
type:
|
|
5052
|
+
type: PropType<boolean>;
|
|
5059
5053
|
default: any;
|
|
5060
5054
|
};
|
|
5061
5055
|
darkTheme: {
|
|
5062
|
-
type:
|
|
5056
|
+
type: PropType<boolean>;
|
|
5063
5057
|
default: any;
|
|
5064
5058
|
};
|
|
5065
5059
|
}>> & Readonly<{
|
|
@@ -5076,16 +5070,16 @@ onError?: (...args: any[]) => any;
|
|
|
5076
5070
|
onFocus?: (...args: any[]) => any;
|
|
5077
5071
|
onBlur?: (...args: any[]) => any;
|
|
5078
5072
|
}>, {
|
|
5079
|
-
max:
|
|
5080
|
-
getHeight:
|
|
5073
|
+
max: Ref<boolean, boolean>;
|
|
5074
|
+
getHeight: ComputedRef< {
|
|
5081
5075
|
height: string;
|
|
5082
5076
|
} | {
|
|
5083
5077
|
height?: undefined;
|
|
5084
5078
|
}>;
|
|
5085
|
-
container:
|
|
5086
|
-
darkThemeStyle:
|
|
5087
|
-
fallbackSlot:
|
|
5088
|
-
}, {}, {}, {},
|
|
5079
|
+
container: Ref<HTMLDivElement, HTMLDivElement>;
|
|
5080
|
+
darkThemeStyle: ComputedRef<boolean>;
|
|
5081
|
+
fallbackSlot: Ref<boolean, boolean>;
|
|
5082
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("error" | "blur" | "change" | "focus" | "update:modelValue" | "update:json" | "update:text" | "update:jsonString" | "update:selection" | "change-mode" | "update:mode" | "change-query-language")[], PublicProps, {
|
|
5089
5083
|
selection: JSONEditorSelection;
|
|
5090
5084
|
mainMenuBar: boolean;
|
|
5091
5085
|
navigationBar: boolean;
|
|
@@ -5100,83 +5094,83 @@ fullWidthButton: boolean;
|
|
|
5100
5094
|
darkTheme: boolean;
|
|
5101
5095
|
value: any;
|
|
5102
5096
|
json: any;
|
|
5103
|
-
}, true, {}, {},
|
|
5097
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
5104
5098
|
P: {};
|
|
5105
5099
|
B: {};
|
|
5106
5100
|
D: {};
|
|
5107
5101
|
C: {};
|
|
5108
5102
|
M: {};
|
|
5109
5103
|
Defaults: {};
|
|
5110
|
-
}, Readonly<
|
|
5111
|
-
modelValue:
|
|
5104
|
+
}, Readonly<ExtractPropTypes< {
|
|
5105
|
+
modelValue: PropType<unknown>;
|
|
5112
5106
|
value: {
|
|
5113
|
-
type:
|
|
5107
|
+
type: PropType<unknown>;
|
|
5114
5108
|
default: any;
|
|
5115
5109
|
};
|
|
5116
5110
|
json: {
|
|
5117
|
-
type:
|
|
5111
|
+
type: PropType<unknown>;
|
|
5118
5112
|
default: any;
|
|
5119
5113
|
};
|
|
5120
|
-
text:
|
|
5121
|
-
jsonString:
|
|
5114
|
+
text: PropType<string>;
|
|
5115
|
+
jsonString: PropType<string>;
|
|
5122
5116
|
selection: {
|
|
5123
|
-
type:
|
|
5117
|
+
type: PropType<JSONEditorSelection>;
|
|
5124
5118
|
default: any;
|
|
5125
5119
|
};
|
|
5126
5120
|
mode: {
|
|
5127
|
-
type:
|
|
5121
|
+
type: PropType<"table" | "text" | "tree">;
|
|
5128
5122
|
default: string;
|
|
5129
5123
|
};
|
|
5130
5124
|
mainMenuBar: {
|
|
5131
|
-
type:
|
|
5125
|
+
type: PropType<boolean>;
|
|
5132
5126
|
default: any;
|
|
5133
5127
|
};
|
|
5134
5128
|
navigationBar: {
|
|
5135
|
-
type:
|
|
5129
|
+
type: PropType<boolean>;
|
|
5136
5130
|
default: any;
|
|
5137
5131
|
};
|
|
5138
5132
|
statusBar: {
|
|
5139
|
-
type:
|
|
5133
|
+
type: PropType<boolean>;
|
|
5140
5134
|
default: any;
|
|
5141
5135
|
};
|
|
5142
5136
|
askToFormat: {
|
|
5143
|
-
type:
|
|
5137
|
+
type: PropType<boolean>;
|
|
5144
5138
|
default: any;
|
|
5145
5139
|
};
|
|
5146
5140
|
readOnly: {
|
|
5147
|
-
type:
|
|
5141
|
+
type: PropType<boolean>;
|
|
5148
5142
|
default: any;
|
|
5149
5143
|
};
|
|
5150
|
-
indentation:
|
|
5151
|
-
tabSize:
|
|
5144
|
+
indentation: PropType<string | number>;
|
|
5145
|
+
tabSize: PropType<number>;
|
|
5152
5146
|
escapeControlCharacters: {
|
|
5153
|
-
type:
|
|
5147
|
+
type: PropType<boolean>;
|
|
5154
5148
|
default: any;
|
|
5155
5149
|
};
|
|
5156
5150
|
escapeUnicodeCharacters: {
|
|
5157
|
-
type:
|
|
5151
|
+
type: PropType<boolean>;
|
|
5158
5152
|
default: any;
|
|
5159
5153
|
};
|
|
5160
5154
|
flattenColumns: {
|
|
5161
|
-
type:
|
|
5155
|
+
type: PropType<boolean>;
|
|
5162
5156
|
default: any;
|
|
5163
5157
|
};
|
|
5164
|
-
validator:
|
|
5165
|
-
parser:
|
|
5166
|
-
validationParser:
|
|
5167
|
-
pathParser:
|
|
5168
|
-
queryLanguagesIds:
|
|
5169
|
-
queryLanguageId:
|
|
5170
|
-
onClassName:
|
|
5171
|
-
onRenderValue:
|
|
5172
|
-
onRenderMenu:
|
|
5173
|
-
height:
|
|
5158
|
+
validator: PropType<Validator>;
|
|
5159
|
+
parser: PropType<JSONParser>;
|
|
5160
|
+
validationParser: PropType<JSONParser>;
|
|
5161
|
+
pathParser: PropType<JSONPathParser>;
|
|
5162
|
+
queryLanguagesIds: PropType<QueryLanguageId[]>;
|
|
5163
|
+
queryLanguageId: PropType<QueryLanguageId>;
|
|
5164
|
+
onClassName: PropType<OnClassName>;
|
|
5165
|
+
onRenderValue: PropType<OnRenderValue>;
|
|
5166
|
+
onRenderMenu: PropType<OnRenderMenu>;
|
|
5167
|
+
height: PropType<string | number>;
|
|
5174
5168
|
fullWidthButton: {
|
|
5175
|
-
type:
|
|
5169
|
+
type: PropType<boolean>;
|
|
5176
5170
|
default: any;
|
|
5177
5171
|
};
|
|
5178
5172
|
darkTheme: {
|
|
5179
|
-
type:
|
|
5173
|
+
type: PropType<boolean>;
|
|
5180
5174
|
default: any;
|
|
5181
5175
|
};
|
|
5182
5176
|
}>> & Readonly<{
|
|
@@ -5193,15 +5187,15 @@ onError?: (...args: any[]) => any;
|
|
|
5193
5187
|
onFocus?: (...args: any[]) => any;
|
|
5194
5188
|
onBlur?: (...args: any[]) => any;
|
|
5195
5189
|
}>, {
|
|
5196
|
-
max:
|
|
5197
|
-
getHeight:
|
|
5190
|
+
max: Ref<boolean, boolean>;
|
|
5191
|
+
getHeight: ComputedRef< {
|
|
5198
5192
|
height: string;
|
|
5199
5193
|
} | {
|
|
5200
5194
|
height?: undefined;
|
|
5201
5195
|
}>;
|
|
5202
|
-
container:
|
|
5203
|
-
darkThemeStyle:
|
|
5204
|
-
fallbackSlot:
|
|
5196
|
+
container: Ref<HTMLDivElement, HTMLDivElement>;
|
|
5197
|
+
darkThemeStyle: ComputedRef<boolean>;
|
|
5198
|
+
fallbackSlot: Ref<boolean, boolean>;
|
|
5205
5199
|
}, {}, {}, {}, {
|
|
5206
5200
|
selection: JSONEditorSelection;
|
|
5207
5201
|
mainMenuBar: boolean;
|
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.
|
|
5
|
+
"version": "2.8.20",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"description": "星马低代码核心库,提供了低代码平台的基础功能和组件库。此库可引用到您的项目中,快速构建表单和列表。",
|
|
8
8
|
"keywords": [
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@element-plus/icons-vue": "^2.3.2",
|
|
65
|
-
"@eslint/js": "^9.
|
|
65
|
+
"@eslint/js": "^9.37.0",
|
|
66
66
|
"@originjs/vite-plugin-commonjs": "^1.0.3",
|
|
67
67
|
"@rollup/plugin-inject": "^5.0.5",
|
|
68
|
-
"@tailwindcss/vite": "^4.1.
|
|
68
|
+
"@tailwindcss/vite": "^4.1.14",
|
|
69
69
|
"@vitejs/plugin-vue-jsx": "^5.1.1",
|
|
70
70
|
"@vueup/vue-quill": "^1.2.0",
|
|
71
71
|
"axios": "^1.12.2",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"globals": "^16.4.0",
|
|
76
76
|
"jquery": "^3.7.1",
|
|
77
77
|
"json5": "^2.2.3",
|
|
78
|
-
"md-editor-v3": "^6.0
|
|
78
|
+
"md-editor-v3": "^6.1.0",
|
|
79
79
|
"path": "^0.12.7",
|
|
80
80
|
"pinia": "^3.0.3",
|
|
81
81
|
"pinia-plugin-persistedstate": "^4.5.0",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"quill-image-uploader": "^1.3.0",
|
|
84
84
|
"smooth-signature": "^1.1.0",
|
|
85
85
|
"sortablejs": "^1.15.6",
|
|
86
|
-
"tailwindcss": "^4.1.
|
|
86
|
+
"tailwindcss": "^4.1.14",
|
|
87
87
|
"unplugin-auto-import": "^20.2.0",
|
|
88
88
|
"unplugin-element-plus": "^0.10.0",
|
|
89
89
|
"unplugin-vue-components": "^29.1.0",
|
|
@@ -100,21 +100,21 @@
|
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
102
|
"@types/jquery": "^3.5.33",
|
|
103
|
-
"@types/node": "^24.
|
|
103
|
+
"@types/node": "^24.7.1",
|
|
104
104
|
"@types/prismjs": "^1.26.5",
|
|
105
105
|
"@types/sortablejs": "^1.15.8",
|
|
106
106
|
"@types/uuid": "^11.0.0",
|
|
107
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
108
|
-
"@typescript-eslint/parser": "^8.
|
|
107
|
+
"@typescript-eslint/eslint-plugin": "^8.46.0",
|
|
108
|
+
"@typescript-eslint/parser": "^8.46.0",
|
|
109
109
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
110
|
-
"eslint": "^9.
|
|
110
|
+
"eslint": "^9.37.0",
|
|
111
111
|
"eslint-config-prettier": "^10.1.8",
|
|
112
112
|
"eslint-plugin-prettier": "^5.5.4",
|
|
113
113
|
"eslint-plugin-vue": "^10.5.0",
|
|
114
114
|
"prettier": "^3.6.2",
|
|
115
115
|
"sass-embedded": "^1.93.2",
|
|
116
116
|
"terser": "^5.44.0",
|
|
117
|
-
"vite": "^7.1.
|
|
117
|
+
"vite": "^7.1.9"
|
|
118
118
|
},
|
|
119
119
|
"engines": {
|
|
120
120
|
"node": ">=20.13.0"
|