star-horse-lowcode 2.8.11 → 2.8.13
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 +1851 -1564
- package/dist/types/index.d.ts +75 -94
- 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';
|
|
@@ -4885,17 +4875,13 @@ options: {
|
|
|
4885
4875
|
type: PropType<any>;
|
|
4886
4876
|
};
|
|
4887
4877
|
currentMode: {
|
|
4888
|
-
type:
|
|
4878
|
+
type: PropType<any>;
|
|
4889
4879
|
default: string;
|
|
4890
4880
|
};
|
|
4891
4881
|
modeList: {
|
|
4892
4882
|
type: ArrayConstructor;
|
|
4893
4883
|
default: () => string[];
|
|
4894
4884
|
};
|
|
4895
|
-
language: {
|
|
4896
|
-
type: StringConstructor;
|
|
4897
|
-
default: string;
|
|
4898
|
-
};
|
|
4899
4885
|
modelValue: {
|
|
4900
4886
|
type: PropType<{}>;
|
|
4901
4887
|
};
|
|
@@ -4909,97 +4895,92 @@ options: {
|
|
|
4909
4895
|
type: PropType<any>;
|
|
4910
4896
|
};
|
|
4911
4897
|
currentMode: {
|
|
4912
|
-
type:
|
|
4898
|
+
type: PropType<any>;
|
|
4913
4899
|
default: string;
|
|
4914
4900
|
};
|
|
4915
4901
|
modeList: {
|
|
4916
4902
|
type: ArrayConstructor;
|
|
4917
4903
|
default: () => string[];
|
|
4918
4904
|
};
|
|
4919
|
-
language: {
|
|
4920
|
-
type: StringConstructor;
|
|
4921
|
-
default: string;
|
|
4922
|
-
};
|
|
4923
4905
|
modelValue: {
|
|
4924
4906
|
type: PropType<{}>;
|
|
4925
4907
|
};
|
|
4926
4908
|
}>> & Readonly<{
|
|
4927
4909
|
"onUpdate:modelValue"?: (value: {}) => any;
|
|
4928
4910
|
}>, {
|
|
4929
|
-
currentMode:
|
|
4911
|
+
currentMode: any;
|
|
4930
4912
|
modeList: unknown[];
|
|
4931
|
-
language: string;
|
|
4932
4913
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
4933
|
-
editor:
|
|
4934
|
-
modelValue:
|
|
4914
|
+
editor: CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
4915
|
+
modelValue: PropType<unknown>;
|
|
4935
4916
|
value: {
|
|
4936
|
-
type:
|
|
4917
|
+
type: PropType<unknown>;
|
|
4937
4918
|
default: any;
|
|
4938
4919
|
};
|
|
4939
4920
|
json: {
|
|
4940
|
-
type:
|
|
4921
|
+
type: PropType<unknown>;
|
|
4941
4922
|
default: any;
|
|
4942
4923
|
};
|
|
4943
|
-
text:
|
|
4944
|
-
jsonString:
|
|
4924
|
+
text: PropType<string>;
|
|
4925
|
+
jsonString: PropType<string>;
|
|
4945
4926
|
selection: {
|
|
4946
|
-
type:
|
|
4927
|
+
type: PropType<JSONEditorSelection>;
|
|
4947
4928
|
default: any;
|
|
4948
4929
|
};
|
|
4949
4930
|
mode: {
|
|
4950
|
-
type:
|
|
4931
|
+
type: PropType<"table" | "text" | "tree">;
|
|
4951
4932
|
default: string;
|
|
4952
4933
|
};
|
|
4953
4934
|
mainMenuBar: {
|
|
4954
|
-
type:
|
|
4935
|
+
type: PropType<boolean>;
|
|
4955
4936
|
default: any;
|
|
4956
4937
|
};
|
|
4957
4938
|
navigationBar: {
|
|
4958
|
-
type:
|
|
4939
|
+
type: PropType<boolean>;
|
|
4959
4940
|
default: any;
|
|
4960
4941
|
};
|
|
4961
4942
|
statusBar: {
|
|
4962
|
-
type:
|
|
4943
|
+
type: PropType<boolean>;
|
|
4963
4944
|
default: any;
|
|
4964
4945
|
};
|
|
4965
4946
|
askToFormat: {
|
|
4966
|
-
type:
|
|
4947
|
+
type: PropType<boolean>;
|
|
4967
4948
|
default: any;
|
|
4968
4949
|
};
|
|
4969
4950
|
readOnly: {
|
|
4970
|
-
type:
|
|
4951
|
+
type: PropType<boolean>;
|
|
4971
4952
|
default: any;
|
|
4972
4953
|
};
|
|
4973
|
-
indentation:
|
|
4974
|
-
tabSize:
|
|
4954
|
+
indentation: PropType<string | number>;
|
|
4955
|
+
tabSize: PropType<number>;
|
|
4975
4956
|
escapeControlCharacters: {
|
|
4976
|
-
type:
|
|
4957
|
+
type: PropType<boolean>;
|
|
4977
4958
|
default: any;
|
|
4978
4959
|
};
|
|
4979
4960
|
escapeUnicodeCharacters: {
|
|
4980
|
-
type:
|
|
4961
|
+
type: PropType<boolean>;
|
|
4981
4962
|
default: any;
|
|
4982
4963
|
};
|
|
4983
4964
|
flattenColumns: {
|
|
4984
|
-
type:
|
|
4965
|
+
type: PropType<boolean>;
|
|
4985
4966
|
default: any;
|
|
4986
4967
|
};
|
|
4987
|
-
validator:
|
|
4988
|
-
parser:
|
|
4989
|
-
validationParser:
|
|
4990
|
-
pathParser:
|
|
4991
|
-
queryLanguagesIds:
|
|
4992
|
-
queryLanguageId:
|
|
4993
|
-
onClassName:
|
|
4994
|
-
onRenderValue:
|
|
4995
|
-
onRenderMenu:
|
|
4996
|
-
height:
|
|
4968
|
+
validator: PropType<Validator>;
|
|
4969
|
+
parser: PropType<JSONParser>;
|
|
4970
|
+
validationParser: PropType<JSONParser>;
|
|
4971
|
+
pathParser: PropType<JSONPathParser>;
|
|
4972
|
+
queryLanguagesIds: PropType<QueryLanguageId[]>;
|
|
4973
|
+
queryLanguageId: PropType<QueryLanguageId>;
|
|
4974
|
+
onClassName: PropType<OnClassName>;
|
|
4975
|
+
onRenderValue: PropType<OnRenderValue>;
|
|
4976
|
+
onRenderMenu: PropType<OnRenderMenu>;
|
|
4977
|
+
height: PropType<string | number>;
|
|
4997
4978
|
fullWidthButton: {
|
|
4998
|
-
type:
|
|
4979
|
+
type: PropType<boolean>;
|
|
4999
4980
|
default: any;
|
|
5000
4981
|
};
|
|
5001
4982
|
darkTheme: {
|
|
5002
|
-
type:
|
|
4983
|
+
type: PropType<boolean>;
|
|
5003
4984
|
default: any;
|
|
5004
4985
|
};
|
|
5005
4986
|
}>> & Readonly<{
|
|
@@ -5016,16 +4997,16 @@ onError?: (...args: any[]) => any;
|
|
|
5016
4997
|
onFocus?: (...args: any[]) => any;
|
|
5017
4998
|
onBlur?: (...args: any[]) => any;
|
|
5018
4999
|
}>, {
|
|
5019
|
-
max:
|
|
5020
|
-
getHeight:
|
|
5000
|
+
max: Ref<boolean, boolean>;
|
|
5001
|
+
getHeight: ComputedRef< {
|
|
5021
5002
|
height: string;
|
|
5022
5003
|
} | {
|
|
5023
5004
|
height?: undefined;
|
|
5024
5005
|
}>;
|
|
5025
|
-
container:
|
|
5026
|
-
darkThemeStyle:
|
|
5027
|
-
fallbackSlot:
|
|
5028
|
-
}, {}, {}, {},
|
|
5006
|
+
container: Ref<HTMLDivElement, HTMLDivElement>;
|
|
5007
|
+
darkThemeStyle: ComputedRef<boolean>;
|
|
5008
|
+
fallbackSlot: Ref<boolean, boolean>;
|
|
5009
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("error" | "blur" | "change" | "focus" | "update:modelValue" | "update:json" | "update:text" | "update:jsonString" | "update:selection" | "change-mode" | "update:mode" | "change-query-language")[], PublicProps, {
|
|
5029
5010
|
selection: JSONEditorSelection;
|
|
5030
5011
|
mainMenuBar: boolean;
|
|
5031
5012
|
navigationBar: boolean;
|
|
@@ -5040,83 +5021,83 @@ fullWidthButton: boolean;
|
|
|
5040
5021
|
darkTheme: boolean;
|
|
5041
5022
|
value: any;
|
|
5042
5023
|
json: any;
|
|
5043
|
-
}, true, {}, {},
|
|
5024
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
5044
5025
|
P: {};
|
|
5045
5026
|
B: {};
|
|
5046
5027
|
D: {};
|
|
5047
5028
|
C: {};
|
|
5048
5029
|
M: {};
|
|
5049
5030
|
Defaults: {};
|
|
5050
|
-
}, Readonly<
|
|
5051
|
-
modelValue:
|
|
5031
|
+
}, Readonly<ExtractPropTypes< {
|
|
5032
|
+
modelValue: PropType<unknown>;
|
|
5052
5033
|
value: {
|
|
5053
|
-
type:
|
|
5034
|
+
type: PropType<unknown>;
|
|
5054
5035
|
default: any;
|
|
5055
5036
|
};
|
|
5056
5037
|
json: {
|
|
5057
|
-
type:
|
|
5038
|
+
type: PropType<unknown>;
|
|
5058
5039
|
default: any;
|
|
5059
5040
|
};
|
|
5060
|
-
text:
|
|
5061
|
-
jsonString:
|
|
5041
|
+
text: PropType<string>;
|
|
5042
|
+
jsonString: PropType<string>;
|
|
5062
5043
|
selection: {
|
|
5063
|
-
type:
|
|
5044
|
+
type: PropType<JSONEditorSelection>;
|
|
5064
5045
|
default: any;
|
|
5065
5046
|
};
|
|
5066
5047
|
mode: {
|
|
5067
|
-
type:
|
|
5048
|
+
type: PropType<"table" | "text" | "tree">;
|
|
5068
5049
|
default: string;
|
|
5069
5050
|
};
|
|
5070
5051
|
mainMenuBar: {
|
|
5071
|
-
type:
|
|
5052
|
+
type: PropType<boolean>;
|
|
5072
5053
|
default: any;
|
|
5073
5054
|
};
|
|
5074
5055
|
navigationBar: {
|
|
5075
|
-
type:
|
|
5056
|
+
type: PropType<boolean>;
|
|
5076
5057
|
default: any;
|
|
5077
5058
|
};
|
|
5078
5059
|
statusBar: {
|
|
5079
|
-
type:
|
|
5060
|
+
type: PropType<boolean>;
|
|
5080
5061
|
default: any;
|
|
5081
5062
|
};
|
|
5082
5063
|
askToFormat: {
|
|
5083
|
-
type:
|
|
5064
|
+
type: PropType<boolean>;
|
|
5084
5065
|
default: any;
|
|
5085
5066
|
};
|
|
5086
5067
|
readOnly: {
|
|
5087
|
-
type:
|
|
5068
|
+
type: PropType<boolean>;
|
|
5088
5069
|
default: any;
|
|
5089
5070
|
};
|
|
5090
|
-
indentation:
|
|
5091
|
-
tabSize:
|
|
5071
|
+
indentation: PropType<string | number>;
|
|
5072
|
+
tabSize: PropType<number>;
|
|
5092
5073
|
escapeControlCharacters: {
|
|
5093
|
-
type:
|
|
5074
|
+
type: PropType<boolean>;
|
|
5094
5075
|
default: any;
|
|
5095
5076
|
};
|
|
5096
5077
|
escapeUnicodeCharacters: {
|
|
5097
|
-
type:
|
|
5078
|
+
type: PropType<boolean>;
|
|
5098
5079
|
default: any;
|
|
5099
5080
|
};
|
|
5100
5081
|
flattenColumns: {
|
|
5101
|
-
type:
|
|
5082
|
+
type: PropType<boolean>;
|
|
5102
5083
|
default: any;
|
|
5103
5084
|
};
|
|
5104
|
-
validator:
|
|
5105
|
-
parser:
|
|
5106
|
-
validationParser:
|
|
5107
|
-
pathParser:
|
|
5108
|
-
queryLanguagesIds:
|
|
5109
|
-
queryLanguageId:
|
|
5110
|
-
onClassName:
|
|
5111
|
-
onRenderValue:
|
|
5112
|
-
onRenderMenu:
|
|
5113
|
-
height:
|
|
5085
|
+
validator: PropType<Validator>;
|
|
5086
|
+
parser: PropType<JSONParser>;
|
|
5087
|
+
validationParser: PropType<JSONParser>;
|
|
5088
|
+
pathParser: PropType<JSONPathParser>;
|
|
5089
|
+
queryLanguagesIds: PropType<QueryLanguageId[]>;
|
|
5090
|
+
queryLanguageId: PropType<QueryLanguageId>;
|
|
5091
|
+
onClassName: PropType<OnClassName>;
|
|
5092
|
+
onRenderValue: PropType<OnRenderValue>;
|
|
5093
|
+
onRenderMenu: PropType<OnRenderMenu>;
|
|
5094
|
+
height: PropType<string | number>;
|
|
5114
5095
|
fullWidthButton: {
|
|
5115
|
-
type:
|
|
5096
|
+
type: PropType<boolean>;
|
|
5116
5097
|
default: any;
|
|
5117
5098
|
};
|
|
5118
5099
|
darkTheme: {
|
|
5119
|
-
type:
|
|
5100
|
+
type: PropType<boolean>;
|
|
5120
5101
|
default: any;
|
|
5121
5102
|
};
|
|
5122
5103
|
}>> & Readonly<{
|
|
@@ -5133,15 +5114,15 @@ onError?: (...args: any[]) => any;
|
|
|
5133
5114
|
onFocus?: (...args: any[]) => any;
|
|
5134
5115
|
onBlur?: (...args: any[]) => any;
|
|
5135
5116
|
}>, {
|
|
5136
|
-
max:
|
|
5137
|
-
getHeight:
|
|
5117
|
+
max: Ref<boolean, boolean>;
|
|
5118
|
+
getHeight: ComputedRef< {
|
|
5138
5119
|
height: string;
|
|
5139
5120
|
} | {
|
|
5140
5121
|
height?: undefined;
|
|
5141
5122
|
}>;
|
|
5142
|
-
container:
|
|
5143
|
-
darkThemeStyle:
|
|
5144
|
-
fallbackSlot:
|
|
5123
|
+
container: Ref<HTMLDivElement, HTMLDivElement>;
|
|
5124
|
+
darkThemeStyle: ComputedRef<boolean>;
|
|
5125
|
+
fallbackSlot: Ref<boolean, boolean>;
|
|
5145
5126
|
}, {}, {}, {}, {
|
|
5146
5127
|
selection: JSONEditorSelection;
|
|
5147
5128
|
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.13",
|
|
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.
|
|
65
|
+
"@eslint/js": "^9.35.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.13",
|
|
69
69
|
"@vitejs/plugin-vue-jsx": "^5.1.1",
|
|
70
70
|
"@vueup/vue-quill": "^1.2.0",
|
|
71
71
|
"axios": "^1.11.0",
|
|
72
|
-
"element-plus": "^2.11.
|
|
72
|
+
"element-plus": "^2.11.2",
|
|
73
73
|
"eslint-config-prettier": "^10.1.8",
|
|
74
74
|
"eslint-plugin-prettier": "^5.5.4",
|
|
75
75
|
"globals": "^16.3.0",
|
|
@@ -83,15 +83,15 @@
|
|
|
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.13",
|
|
87
87
|
"unplugin-auto-import": "^20.1.0",
|
|
88
88
|
"unplugin-element-plus": "^0.10.0",
|
|
89
89
|
"unplugin-vue-components": "^29.0.0",
|
|
90
|
-
"uuid": "^
|
|
90
|
+
"uuid": "^12.0.0",
|
|
91
91
|
"vite-plugin-dts": "^4.5.4",
|
|
92
92
|
"vue": "^3.5.21",
|
|
93
93
|
"vue-eslint-parser": "^10.2.0",
|
|
94
|
-
"vue-i18n": "^11.1.
|
|
94
|
+
"vue-i18n": "^11.1.12",
|
|
95
95
|
"vue-m-message": "^4.0.2",
|
|
96
96
|
"vue-router": "^4.5.1",
|
|
97
97
|
"vue3-barcode": "^1.0.1",
|
|
@@ -100,19 +100,19 @@
|
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
102
|
"@types/jquery": "^3.5.33",
|
|
103
|
-
"@types/node": "^24.3.
|
|
103
|
+
"@types/node": "^24.3.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.42.0",
|
|
108
108
|
"@typescript-eslint/parser": "^8.42.0",
|
|
109
109
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
110
|
-
"eslint": "^9.
|
|
110
|
+
"eslint": "^9.35.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
|
-
"sass-embedded": "^1.92.
|
|
115
|
+
"sass-embedded": "^1.92.1",
|
|
116
116
|
"terser": "^5.44.0",
|
|
117
117
|
"vite": "^7.1.4"
|
|
118
118
|
},
|