star-horse-lowcode 2.8.10 → 2.8.12
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 -1
- package/dist/assets/index.css +1 -1
- package/dist/index.es.js +233 -234
- package/dist/types/index.d.ts +85 -84
- package/package.json +6 -6
package/dist/types/index.d.ts
CHANGED
|
@@ -2,14 +2,21 @@ 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';
|
|
5
6
|
import { ComponentProvideOptions } from 'vue';
|
|
7
|
+
import { ComponentProvideOptions as ComponentProvideOptions_2 } from '@vue/runtime-core';
|
|
6
8
|
import { ComputedRef } from 'vue';
|
|
9
|
+
import { ComputedRef as ComputedRef_2 } from '@vue/reactivity';
|
|
7
10
|
import { CreateComponentPublicInstanceWithMixins } from 'vue';
|
|
11
|
+
import { CreateComponentPublicInstanceWithMixins as CreateComponentPublicInstanceWithMixins_2 } from '@vue/runtime-core';
|
|
8
12
|
import { CSSProperties } from 'vue';
|
|
9
13
|
import { DefineComponent } from 'vue';
|
|
10
14
|
import { ExtractPropTypes } from 'vue';
|
|
15
|
+
import { ExtractPropTypes as ExtractPropTypes_2 } from '@vue/runtime-core';
|
|
11
16
|
import { GlobalComponents } from 'vue';
|
|
17
|
+
import { GlobalComponents as GlobalComponents_2 } from '@vue/runtime-core';
|
|
12
18
|
import { GlobalDirectives } from 'vue';
|
|
19
|
+
import { GlobalDirectives as GlobalDirectives_2 } from '@vue/runtime-core';
|
|
13
20
|
import { JSONEditorSelection } from 'vanilla-jsoneditor';
|
|
14
21
|
import { JSONParser } from 'vanilla-jsoneditor';
|
|
15
22
|
import { JSONPathParser } from 'vanilla-jsoneditor';
|
|
@@ -18,10 +25,13 @@ import { OnRenderMenu } from 'vanilla-jsoneditor';
|
|
|
18
25
|
import { OnRenderValue } from 'vanilla-jsoneditor';
|
|
19
26
|
import { Pinia } from 'pinia';
|
|
20
27
|
import { PropType } from 'vue';
|
|
28
|
+
import { PropType as PropType_2 } from '@vue/runtime-core';
|
|
21
29
|
import { PublicProps } from 'vue';
|
|
30
|
+
import { PublicProps as PublicProps_2 } from '@vue/runtime-core';
|
|
22
31
|
import { QueryLanguageId } from 'vue3-ts-jsoneditor';
|
|
23
32
|
import { Reactive } from 'vue';
|
|
24
33
|
import { Ref } from 'vue';
|
|
34
|
+
import { Ref as Ref_2 } from '@vue/reactivity';
|
|
25
35
|
import { RouteLocationNormalized } from 'vue-router';
|
|
26
36
|
import { Router } from 'vue-router';
|
|
27
37
|
import { ShallowRef } from 'vue';
|
|
@@ -4875,17 +4885,13 @@ options: {
|
|
|
4875
4885
|
type: PropType<any>;
|
|
4876
4886
|
};
|
|
4877
4887
|
currentMode: {
|
|
4878
|
-
type:
|
|
4888
|
+
type: PropType<any>;
|
|
4879
4889
|
default: string;
|
|
4880
4890
|
};
|
|
4881
4891
|
modeList: {
|
|
4882
4892
|
type: ArrayConstructor;
|
|
4883
4893
|
default: () => string[];
|
|
4884
4894
|
};
|
|
4885
|
-
language: {
|
|
4886
|
-
type: StringConstructor;
|
|
4887
|
-
default: string;
|
|
4888
|
-
};
|
|
4889
4895
|
modelValue: {
|
|
4890
4896
|
type: PropType<{}>;
|
|
4891
4897
|
};
|
|
@@ -4899,97 +4905,92 @@ options: {
|
|
|
4899
4905
|
type: PropType<any>;
|
|
4900
4906
|
};
|
|
4901
4907
|
currentMode: {
|
|
4902
|
-
type:
|
|
4908
|
+
type: PropType<any>;
|
|
4903
4909
|
default: string;
|
|
4904
4910
|
};
|
|
4905
4911
|
modeList: {
|
|
4906
4912
|
type: ArrayConstructor;
|
|
4907
4913
|
default: () => string[];
|
|
4908
4914
|
};
|
|
4909
|
-
language: {
|
|
4910
|
-
type: StringConstructor;
|
|
4911
|
-
default: string;
|
|
4912
|
-
};
|
|
4913
4915
|
modelValue: {
|
|
4914
4916
|
type: PropType<{}>;
|
|
4915
4917
|
};
|
|
4916
4918
|
}>> & Readonly<{
|
|
4917
4919
|
"onUpdate:modelValue"?: (value: {}) => any;
|
|
4918
4920
|
}>, {
|
|
4919
|
-
currentMode:
|
|
4921
|
+
currentMode: any;
|
|
4920
4922
|
modeList: unknown[];
|
|
4921
|
-
language: string;
|
|
4922
4923
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
4923
|
-
editor:
|
|
4924
|
-
modelValue:
|
|
4924
|
+
editor: CreateComponentPublicInstanceWithMixins_2<Readonly<ExtractPropTypes_2< {
|
|
4925
|
+
modelValue: PropType_2<unknown>;
|
|
4925
4926
|
value: {
|
|
4926
|
-
type:
|
|
4927
|
+
type: PropType_2<unknown>;
|
|
4927
4928
|
default: any;
|
|
4928
4929
|
};
|
|
4929
4930
|
json: {
|
|
4930
|
-
type:
|
|
4931
|
+
type: PropType_2<unknown>;
|
|
4931
4932
|
default: any;
|
|
4932
4933
|
};
|
|
4933
|
-
text:
|
|
4934
|
-
jsonString:
|
|
4934
|
+
text: PropType_2<string>;
|
|
4935
|
+
jsonString: PropType_2<string>;
|
|
4935
4936
|
selection: {
|
|
4936
|
-
type:
|
|
4937
|
+
type: PropType_2<JSONEditorSelection>;
|
|
4937
4938
|
default: any;
|
|
4938
4939
|
};
|
|
4939
4940
|
mode: {
|
|
4940
|
-
type:
|
|
4941
|
+
type: PropType_2<"table" | "text" | "tree">;
|
|
4941
4942
|
default: string;
|
|
4942
4943
|
};
|
|
4943
4944
|
mainMenuBar: {
|
|
4944
|
-
type:
|
|
4945
|
+
type: PropType_2<boolean>;
|
|
4945
4946
|
default: any;
|
|
4946
4947
|
};
|
|
4947
4948
|
navigationBar: {
|
|
4948
|
-
type:
|
|
4949
|
+
type: PropType_2<boolean>;
|
|
4949
4950
|
default: any;
|
|
4950
4951
|
};
|
|
4951
4952
|
statusBar: {
|
|
4952
|
-
type:
|
|
4953
|
+
type: PropType_2<boolean>;
|
|
4953
4954
|
default: any;
|
|
4954
4955
|
};
|
|
4955
4956
|
askToFormat: {
|
|
4956
|
-
type:
|
|
4957
|
+
type: PropType_2<boolean>;
|
|
4957
4958
|
default: any;
|
|
4958
4959
|
};
|
|
4959
4960
|
readOnly: {
|
|
4960
|
-
type:
|
|
4961
|
+
type: PropType_2<boolean>;
|
|
4961
4962
|
default: any;
|
|
4962
4963
|
};
|
|
4963
|
-
indentation:
|
|
4964
|
-
tabSize:
|
|
4964
|
+
indentation: PropType_2<string | number>;
|
|
4965
|
+
tabSize: PropType_2<number>;
|
|
4965
4966
|
escapeControlCharacters: {
|
|
4966
|
-
type:
|
|
4967
|
+
type: PropType_2<boolean>;
|
|
4967
4968
|
default: any;
|
|
4968
4969
|
};
|
|
4969
4970
|
escapeUnicodeCharacters: {
|
|
4970
|
-
type:
|
|
4971
|
+
type: PropType_2<boolean>;
|
|
4971
4972
|
default: any;
|
|
4972
4973
|
};
|
|
4973
4974
|
flattenColumns: {
|
|
4974
|
-
type:
|
|
4975
|
+
type: PropType_2<boolean>;
|
|
4975
4976
|
default: any;
|
|
4976
4977
|
};
|
|
4977
|
-
validator:
|
|
4978
|
-
parser:
|
|
4979
|
-
validationParser:
|
|
4980
|
-
pathParser:
|
|
4981
|
-
queryLanguagesIds:
|
|
4982
|
-
queryLanguageId:
|
|
4983
|
-
onClassName:
|
|
4984
|
-
onRenderValue:
|
|
4985
|
-
onRenderMenu:
|
|
4986
|
-
height:
|
|
4978
|
+
validator: PropType_2<Validator>;
|
|
4979
|
+
parser: PropType_2<JSONParser>;
|
|
4980
|
+
validationParser: PropType_2<JSONParser>;
|
|
4981
|
+
pathParser: PropType_2<JSONPathParser>;
|
|
4982
|
+
queryLanguagesIds: PropType_2<QueryLanguageId[]>;
|
|
4983
|
+
queryLanguageId: PropType_2<QueryLanguageId>;
|
|
4984
|
+
onClassName: PropType_2<OnClassName>;
|
|
4985
|
+
onRenderValue: PropType_2<OnRenderValue>;
|
|
4986
|
+
onRenderMenu: PropType_2<OnRenderMenu>;
|
|
4987
|
+
height: PropType_2<string | number>;
|
|
4987
4988
|
fullWidthButton: {
|
|
4988
|
-
type:
|
|
4989
|
+
type: PropType_2<boolean>;
|
|
4989
4990
|
default: any;
|
|
4990
4991
|
};
|
|
4991
4992
|
darkTheme: {
|
|
4992
|
-
type:
|
|
4993
|
+
type: PropType_2<boolean>;
|
|
4993
4994
|
default: any;
|
|
4994
4995
|
};
|
|
4995
4996
|
}>> & Readonly<{
|
|
@@ -5006,16 +5007,16 @@ onError?: (...args: any[]) => any;
|
|
|
5006
5007
|
onFocus?: (...args: any[]) => any;
|
|
5007
5008
|
onBlur?: (...args: any[]) => any;
|
|
5008
5009
|
}>, {
|
|
5009
|
-
max:
|
|
5010
|
-
getHeight:
|
|
5010
|
+
max: Ref_2<boolean, boolean>;
|
|
5011
|
+
getHeight: ComputedRef_2< {
|
|
5011
5012
|
height: string;
|
|
5012
5013
|
} | {
|
|
5013
5014
|
height?: undefined;
|
|
5014
5015
|
}>;
|
|
5015
|
-
container:
|
|
5016
|
-
darkThemeStyle:
|
|
5017
|
-
fallbackSlot:
|
|
5018
|
-
}, {}, {}, {},
|
|
5016
|
+
container: Ref_2<HTMLDivElement, HTMLDivElement>;
|
|
5017
|
+
darkThemeStyle: ComputedRef_2<boolean>;
|
|
5018
|
+
fallbackSlot: Ref_2<boolean, boolean>;
|
|
5019
|
+
}, {}, {}, {}, ComponentOptionsMixin_2, ComponentOptionsMixin_2, ("error" | "blur" | "change" | "focus" | "update:modelValue" | "update:json" | "update:text" | "update:jsonString" | "update:selection" | "change-mode" | "update:mode" | "change-query-language")[], PublicProps_2, {
|
|
5019
5020
|
selection: JSONEditorSelection;
|
|
5020
5021
|
mainMenuBar: boolean;
|
|
5021
5022
|
navigationBar: boolean;
|
|
@@ -5030,83 +5031,83 @@ fullWidthButton: boolean;
|
|
|
5030
5031
|
darkTheme: boolean;
|
|
5031
5032
|
value: any;
|
|
5032
5033
|
json: any;
|
|
5033
|
-
}, true, {}, {},
|
|
5034
|
+
}, true, {}, {}, GlobalComponents_2, GlobalDirectives_2, string, {}, any, ComponentProvideOptions_2, {
|
|
5034
5035
|
P: {};
|
|
5035
5036
|
B: {};
|
|
5036
5037
|
D: {};
|
|
5037
5038
|
C: {};
|
|
5038
5039
|
M: {};
|
|
5039
5040
|
Defaults: {};
|
|
5040
|
-
}, Readonly<
|
|
5041
|
-
modelValue:
|
|
5041
|
+
}, Readonly<ExtractPropTypes_2< {
|
|
5042
|
+
modelValue: PropType_2<unknown>;
|
|
5042
5043
|
value: {
|
|
5043
|
-
type:
|
|
5044
|
+
type: PropType_2<unknown>;
|
|
5044
5045
|
default: any;
|
|
5045
5046
|
};
|
|
5046
5047
|
json: {
|
|
5047
|
-
type:
|
|
5048
|
+
type: PropType_2<unknown>;
|
|
5048
5049
|
default: any;
|
|
5049
5050
|
};
|
|
5050
|
-
text:
|
|
5051
|
-
jsonString:
|
|
5051
|
+
text: PropType_2<string>;
|
|
5052
|
+
jsonString: PropType_2<string>;
|
|
5052
5053
|
selection: {
|
|
5053
|
-
type:
|
|
5054
|
+
type: PropType_2<JSONEditorSelection>;
|
|
5054
5055
|
default: any;
|
|
5055
5056
|
};
|
|
5056
5057
|
mode: {
|
|
5057
|
-
type:
|
|
5058
|
+
type: PropType_2<"table" | "text" | "tree">;
|
|
5058
5059
|
default: string;
|
|
5059
5060
|
};
|
|
5060
5061
|
mainMenuBar: {
|
|
5061
|
-
type:
|
|
5062
|
+
type: PropType_2<boolean>;
|
|
5062
5063
|
default: any;
|
|
5063
5064
|
};
|
|
5064
5065
|
navigationBar: {
|
|
5065
|
-
type:
|
|
5066
|
+
type: PropType_2<boolean>;
|
|
5066
5067
|
default: any;
|
|
5067
5068
|
};
|
|
5068
5069
|
statusBar: {
|
|
5069
|
-
type:
|
|
5070
|
+
type: PropType_2<boolean>;
|
|
5070
5071
|
default: any;
|
|
5071
5072
|
};
|
|
5072
5073
|
askToFormat: {
|
|
5073
|
-
type:
|
|
5074
|
+
type: PropType_2<boolean>;
|
|
5074
5075
|
default: any;
|
|
5075
5076
|
};
|
|
5076
5077
|
readOnly: {
|
|
5077
|
-
type:
|
|
5078
|
+
type: PropType_2<boolean>;
|
|
5078
5079
|
default: any;
|
|
5079
5080
|
};
|
|
5080
|
-
indentation:
|
|
5081
|
-
tabSize:
|
|
5081
|
+
indentation: PropType_2<string | number>;
|
|
5082
|
+
tabSize: PropType_2<number>;
|
|
5082
5083
|
escapeControlCharacters: {
|
|
5083
|
-
type:
|
|
5084
|
+
type: PropType_2<boolean>;
|
|
5084
5085
|
default: any;
|
|
5085
5086
|
};
|
|
5086
5087
|
escapeUnicodeCharacters: {
|
|
5087
|
-
type:
|
|
5088
|
+
type: PropType_2<boolean>;
|
|
5088
5089
|
default: any;
|
|
5089
5090
|
};
|
|
5090
5091
|
flattenColumns: {
|
|
5091
|
-
type:
|
|
5092
|
+
type: PropType_2<boolean>;
|
|
5092
5093
|
default: any;
|
|
5093
5094
|
};
|
|
5094
|
-
validator:
|
|
5095
|
-
parser:
|
|
5096
|
-
validationParser:
|
|
5097
|
-
pathParser:
|
|
5098
|
-
queryLanguagesIds:
|
|
5099
|
-
queryLanguageId:
|
|
5100
|
-
onClassName:
|
|
5101
|
-
onRenderValue:
|
|
5102
|
-
onRenderMenu:
|
|
5103
|
-
height:
|
|
5095
|
+
validator: PropType_2<Validator>;
|
|
5096
|
+
parser: PropType_2<JSONParser>;
|
|
5097
|
+
validationParser: PropType_2<JSONParser>;
|
|
5098
|
+
pathParser: PropType_2<JSONPathParser>;
|
|
5099
|
+
queryLanguagesIds: PropType_2<QueryLanguageId[]>;
|
|
5100
|
+
queryLanguageId: PropType_2<QueryLanguageId>;
|
|
5101
|
+
onClassName: PropType_2<OnClassName>;
|
|
5102
|
+
onRenderValue: PropType_2<OnRenderValue>;
|
|
5103
|
+
onRenderMenu: PropType_2<OnRenderMenu>;
|
|
5104
|
+
height: PropType_2<string | number>;
|
|
5104
5105
|
fullWidthButton: {
|
|
5105
|
-
type:
|
|
5106
|
+
type: PropType_2<boolean>;
|
|
5106
5107
|
default: any;
|
|
5107
5108
|
};
|
|
5108
5109
|
darkTheme: {
|
|
5109
|
-
type:
|
|
5110
|
+
type: PropType_2<boolean>;
|
|
5110
5111
|
default: any;
|
|
5111
5112
|
};
|
|
5112
5113
|
}>> & Readonly<{
|
|
@@ -5123,15 +5124,15 @@ onError?: (...args: any[]) => any;
|
|
|
5123
5124
|
onFocus?: (...args: any[]) => any;
|
|
5124
5125
|
onBlur?: (...args: any[]) => any;
|
|
5125
5126
|
}>, {
|
|
5126
|
-
max:
|
|
5127
|
-
getHeight:
|
|
5127
|
+
max: Ref_2<boolean, boolean>;
|
|
5128
|
+
getHeight: ComputedRef_2< {
|
|
5128
5129
|
height: string;
|
|
5129
5130
|
} | {
|
|
5130
5131
|
height?: undefined;
|
|
5131
5132
|
}>;
|
|
5132
|
-
container:
|
|
5133
|
-
darkThemeStyle:
|
|
5134
|
-
fallbackSlot:
|
|
5133
|
+
container: Ref_2<HTMLDivElement, HTMLDivElement>;
|
|
5134
|
+
darkThemeStyle: ComputedRef_2<boolean>;
|
|
5135
|
+
fallbackSlot: Ref_2<boolean, boolean>;
|
|
5135
5136
|
}, {}, {}, {}, {
|
|
5136
5137
|
selection: JSONEditorSelection;
|
|
5137
5138
|
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.12",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"description": "星马低代码核心库,提供了低代码平台的基础功能和组件库。此库可引用到您的项目中,快速构建表单和列表。",
|
|
8
8
|
"keywords": [
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"unplugin-vue-components": "^29.0.0",
|
|
90
90
|
"uuid": "^11.1.0",
|
|
91
91
|
"vite-plugin-dts": "^4.5.4",
|
|
92
|
-
"vue": "^3.5.
|
|
92
|
+
"vue": "^3.5.21",
|
|
93
93
|
"vue-eslint-parser": "^10.2.0",
|
|
94
94
|
"vue-i18n": "^11.1.11",
|
|
95
95
|
"vue-m-message": "^4.0.2",
|
|
@@ -104,16 +104,16 @@
|
|
|
104
104
|
"@types/prismjs": "^1.26.5",
|
|
105
105
|
"@types/sortablejs": "^1.15.8",
|
|
106
106
|
"@types/uuid": "^10.0.0",
|
|
107
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
108
|
-
"@typescript-eslint/parser": "^8.
|
|
107
|
+
"@typescript-eslint/eslint-plugin": "^8.42.0",
|
|
108
|
+
"@typescript-eslint/parser": "^8.42.0",
|
|
109
109
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
110
110
|
"eslint": "^9.34.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.
|
|
116
|
-
"terser": "^5.
|
|
115
|
+
"sass-embedded": "^1.92.0",
|
|
116
|
+
"terser": "^5.44.0",
|
|
117
117
|
"vite": "^7.1.4"
|
|
118
118
|
},
|
|
119
119
|
"engines": {
|