star-horse-lowcode 2.7.58 → 2.7.59
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 +9 -3
- package/dist/assets/index.css +1 -1
- package/dist/index.es.js +144 -101
- package/dist/types/index.d.ts +92 -72
- package/package.json +6 -6
package/dist/types/index.d.ts
CHANGED
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
+
import { AxiosInstance } from 'axios';
|
|
2
3
|
import { AxiosResponse } from 'axios';
|
|
3
4
|
import { ComponentOptionsMixin } from 'vue';
|
|
5
|
+
import { ComponentOptionsMixin as ComponentOptionsMixin_2 } from '@vue/runtime-core';
|
|
4
6
|
import { ComponentProvideOptions } from 'vue';
|
|
7
|
+
import { ComponentProvideOptions as ComponentProvideOptions_2 } from '@vue/runtime-core';
|
|
5
8
|
import { ComputedRef } from 'vue';
|
|
9
|
+
import { ComputedRef as ComputedRef_2 } from '@vue/reactivity';
|
|
6
10
|
import { CreateComponentPublicInstanceWithMixins } from 'vue';
|
|
11
|
+
import { CreateComponentPublicInstanceWithMixins as CreateComponentPublicInstanceWithMixins_2 } from '@vue/runtime-core';
|
|
7
12
|
import { CSSProperties } from 'vue';
|
|
8
13
|
import { DefineComponent } from 'vue';
|
|
9
14
|
import { ExtractPropTypes } from 'vue';
|
|
15
|
+
import { ExtractPropTypes as ExtractPropTypes_2 } from '@vue/runtime-core';
|
|
10
16
|
import { GlobalComponents } from 'vue';
|
|
17
|
+
import { GlobalComponents as GlobalComponents_2 } from '@vue/runtime-core';
|
|
11
18
|
import { GlobalDirectives } from 'vue';
|
|
19
|
+
import { GlobalDirectives as GlobalDirectives_2 } from '@vue/runtime-core';
|
|
12
20
|
import { JSONEditorSelection } from 'vanilla-jsoneditor';
|
|
13
21
|
import { JSONParser } from 'vanilla-jsoneditor';
|
|
14
22
|
import { JSONPathParser } from 'vanilla-jsoneditor';
|
|
@@ -17,10 +25,13 @@ import { OnRenderMenu } from 'vanilla-jsoneditor';
|
|
|
17
25
|
import { OnRenderValue } from 'vanilla-jsoneditor';
|
|
18
26
|
import { Pinia } from 'pinia';
|
|
19
27
|
import { PropType } from 'vue';
|
|
28
|
+
import { PropType as PropType_2 } from '@vue/runtime-core';
|
|
20
29
|
import { PublicProps } from 'vue';
|
|
30
|
+
import { PublicProps as PublicProps_2 } from '@vue/runtime-core';
|
|
21
31
|
import { QueryLanguageId } from 'vue3-ts-jsoneditor';
|
|
22
32
|
import { Reactive } from 'vue';
|
|
23
33
|
import { Ref } from 'vue';
|
|
34
|
+
import { Ref as Ref_2 } from '@vue/reactivity';
|
|
24
35
|
import { RouteLocationNormalized } from 'vue-router';
|
|
25
36
|
import { Router } from 'vue-router';
|
|
26
37
|
import { StoreDefinition } from 'pinia';
|
|
@@ -2379,9 +2390,11 @@ export declare const dateTypes: string[];
|
|
|
2379
2390
|
declare const _default: {
|
|
2380
2391
|
install: (app: App<Element>, options?: {
|
|
2381
2392
|
router?: Router;
|
|
2393
|
+
axiosInstance?: AxiosInstance;
|
|
2382
2394
|
elementPlusOptions?: any;
|
|
2383
2395
|
}) => void;
|
|
2384
2396
|
piniaInstance: Pinia;
|
|
2397
|
+
starHorseAxios: AxiosInstance;
|
|
2385
2398
|
};
|
|
2386
2399
|
export default _default;
|
|
2387
2400
|
|
|
@@ -3092,6 +3105,11 @@ export declare function formFieldMapping(fieldList: PageFieldInfo): {
|
|
|
3092
3105
|
*/
|
|
3093
3106
|
export declare function generateDeviceId(userIp: string): Promise<string>;
|
|
3094
3107
|
|
|
3108
|
+
/**
|
|
3109
|
+
* 获取axios实例
|
|
3110
|
+
*/
|
|
3111
|
+
export declare function getAxiosInstance(): AxiosInstance;
|
|
3112
|
+
|
|
3095
3113
|
export declare function getDynamicEvents(props: any, recall: Function): Record<string, any>;
|
|
3096
3114
|
|
|
3097
3115
|
/**
|
|
@@ -5272,6 +5290,8 @@ showFormItem: boolean;
|
|
|
5272
5290
|
isSearch: boolean;
|
|
5273
5291
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
5274
5292
|
|
|
5293
|
+
export declare const starHorseAxios: AxiosInstance;
|
|
5294
|
+
|
|
5275
5295
|
export declare const StarHorseButtonList: DefineComponent<ExtractPropTypes< {
|
|
5276
5296
|
dialogProps: {
|
|
5277
5297
|
type: PropType<DialogProps>;
|
|
@@ -6468,76 +6488,76 @@ currentMode: string;
|
|
|
6468
6488
|
modeList: unknown[];
|
|
6469
6489
|
language: string;
|
|
6470
6490
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
6471
|
-
editor:
|
|
6472
|
-
modelValue:
|
|
6491
|
+
editor: CreateComponentPublicInstanceWithMixins_2<Readonly<ExtractPropTypes_2< {
|
|
6492
|
+
modelValue: PropType_2<unknown>;
|
|
6473
6493
|
value: {
|
|
6474
|
-
type:
|
|
6494
|
+
type: PropType_2<unknown>;
|
|
6475
6495
|
default: any;
|
|
6476
6496
|
};
|
|
6477
6497
|
json: {
|
|
6478
|
-
type:
|
|
6498
|
+
type: PropType_2<unknown>;
|
|
6479
6499
|
default: any;
|
|
6480
6500
|
};
|
|
6481
|
-
text:
|
|
6482
|
-
jsonString:
|
|
6501
|
+
text: PropType_2<string>;
|
|
6502
|
+
jsonString: PropType_2<string>;
|
|
6483
6503
|
selection: {
|
|
6484
|
-
type:
|
|
6504
|
+
type: PropType_2<JSONEditorSelection>;
|
|
6485
6505
|
default: any;
|
|
6486
6506
|
};
|
|
6487
6507
|
mode: {
|
|
6488
|
-
type:
|
|
6508
|
+
type: PropType_2<"table" | "text" | "tree">;
|
|
6489
6509
|
default: string;
|
|
6490
6510
|
};
|
|
6491
6511
|
mainMenuBar: {
|
|
6492
|
-
type:
|
|
6512
|
+
type: PropType_2<boolean>;
|
|
6493
6513
|
default: any;
|
|
6494
6514
|
};
|
|
6495
6515
|
navigationBar: {
|
|
6496
|
-
type:
|
|
6516
|
+
type: PropType_2<boolean>;
|
|
6497
6517
|
default: any;
|
|
6498
6518
|
};
|
|
6499
6519
|
statusBar: {
|
|
6500
|
-
type:
|
|
6520
|
+
type: PropType_2<boolean>;
|
|
6501
6521
|
default: any;
|
|
6502
6522
|
};
|
|
6503
6523
|
askToFormat: {
|
|
6504
|
-
type:
|
|
6524
|
+
type: PropType_2<boolean>;
|
|
6505
6525
|
default: any;
|
|
6506
6526
|
};
|
|
6507
6527
|
readOnly: {
|
|
6508
|
-
type:
|
|
6528
|
+
type: PropType_2<boolean>;
|
|
6509
6529
|
default: any;
|
|
6510
6530
|
};
|
|
6511
|
-
indentation:
|
|
6512
|
-
tabSize:
|
|
6531
|
+
indentation: PropType_2<string | number>;
|
|
6532
|
+
tabSize: PropType_2<number>;
|
|
6513
6533
|
escapeControlCharacters: {
|
|
6514
|
-
type:
|
|
6534
|
+
type: PropType_2<boolean>;
|
|
6515
6535
|
default: any;
|
|
6516
6536
|
};
|
|
6517
6537
|
escapeUnicodeCharacters: {
|
|
6518
|
-
type:
|
|
6538
|
+
type: PropType_2<boolean>;
|
|
6519
6539
|
default: any;
|
|
6520
6540
|
};
|
|
6521
6541
|
flattenColumns: {
|
|
6522
|
-
type:
|
|
6542
|
+
type: PropType_2<boolean>;
|
|
6523
6543
|
default: any;
|
|
6524
6544
|
};
|
|
6525
|
-
validator:
|
|
6526
|
-
parser:
|
|
6527
|
-
validationParser:
|
|
6528
|
-
pathParser:
|
|
6529
|
-
queryLanguagesIds:
|
|
6530
|
-
queryLanguageId:
|
|
6531
|
-
onClassName:
|
|
6532
|
-
onRenderValue:
|
|
6533
|
-
onRenderMenu:
|
|
6534
|
-
height:
|
|
6545
|
+
validator: PropType_2<Validator>;
|
|
6546
|
+
parser: PropType_2<JSONParser>;
|
|
6547
|
+
validationParser: PropType_2<JSONParser>;
|
|
6548
|
+
pathParser: PropType_2<JSONPathParser>;
|
|
6549
|
+
queryLanguagesIds: PropType_2<QueryLanguageId[]>;
|
|
6550
|
+
queryLanguageId: PropType_2<QueryLanguageId>;
|
|
6551
|
+
onClassName: PropType_2<OnClassName>;
|
|
6552
|
+
onRenderValue: PropType_2<OnRenderValue>;
|
|
6553
|
+
onRenderMenu: PropType_2<OnRenderMenu>;
|
|
6554
|
+
height: PropType_2<string | number>;
|
|
6535
6555
|
fullWidthButton: {
|
|
6536
|
-
type:
|
|
6556
|
+
type: PropType_2<boolean>;
|
|
6537
6557
|
default: any;
|
|
6538
6558
|
};
|
|
6539
6559
|
darkTheme: {
|
|
6540
|
-
type:
|
|
6560
|
+
type: PropType_2<boolean>;
|
|
6541
6561
|
default: any;
|
|
6542
6562
|
};
|
|
6543
6563
|
}>> & Readonly<{
|
|
@@ -6554,16 +6574,16 @@ onError?: (...args: any[]) => any;
|
|
|
6554
6574
|
onFocus?: (...args: any[]) => any;
|
|
6555
6575
|
onBlur?: (...args: any[]) => any;
|
|
6556
6576
|
}>, {
|
|
6557
|
-
max:
|
|
6558
|
-
getHeight:
|
|
6577
|
+
max: Ref_2<boolean, boolean>;
|
|
6578
|
+
getHeight: ComputedRef_2< {
|
|
6559
6579
|
height: string;
|
|
6560
6580
|
} | {
|
|
6561
6581
|
height?: undefined;
|
|
6562
6582
|
}>;
|
|
6563
|
-
container:
|
|
6564
|
-
darkThemeStyle:
|
|
6565
|
-
fallbackSlot:
|
|
6566
|
-
}, {}, {}, {},
|
|
6583
|
+
container: Ref_2<HTMLDivElement, HTMLDivElement>;
|
|
6584
|
+
darkThemeStyle: ComputedRef_2<boolean>;
|
|
6585
|
+
fallbackSlot: Ref_2<boolean, boolean>;
|
|
6586
|
+
}, {}, {}, {}, 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, {
|
|
6567
6587
|
selection: JSONEditorSelection;
|
|
6568
6588
|
mainMenuBar: boolean;
|
|
6569
6589
|
navigationBar: boolean;
|
|
@@ -6578,83 +6598,83 @@ fullWidthButton: boolean;
|
|
|
6578
6598
|
darkTheme: boolean;
|
|
6579
6599
|
value: any;
|
|
6580
6600
|
json: any;
|
|
6581
|
-
}, true, {}, {},
|
|
6601
|
+
}, true, {}, {}, GlobalComponents_2, GlobalDirectives_2, string, {}, any, ComponentProvideOptions_2, {
|
|
6582
6602
|
P: {};
|
|
6583
6603
|
B: {};
|
|
6584
6604
|
D: {};
|
|
6585
6605
|
C: {};
|
|
6586
6606
|
M: {};
|
|
6587
6607
|
Defaults: {};
|
|
6588
|
-
}, Readonly<
|
|
6589
|
-
modelValue:
|
|
6608
|
+
}, Readonly<ExtractPropTypes_2< {
|
|
6609
|
+
modelValue: PropType_2<unknown>;
|
|
6590
6610
|
value: {
|
|
6591
|
-
type:
|
|
6611
|
+
type: PropType_2<unknown>;
|
|
6592
6612
|
default: any;
|
|
6593
6613
|
};
|
|
6594
6614
|
json: {
|
|
6595
|
-
type:
|
|
6615
|
+
type: PropType_2<unknown>;
|
|
6596
6616
|
default: any;
|
|
6597
6617
|
};
|
|
6598
|
-
text:
|
|
6599
|
-
jsonString:
|
|
6618
|
+
text: PropType_2<string>;
|
|
6619
|
+
jsonString: PropType_2<string>;
|
|
6600
6620
|
selection: {
|
|
6601
|
-
type:
|
|
6621
|
+
type: PropType_2<JSONEditorSelection>;
|
|
6602
6622
|
default: any;
|
|
6603
6623
|
};
|
|
6604
6624
|
mode: {
|
|
6605
|
-
type:
|
|
6625
|
+
type: PropType_2<"table" | "text" | "tree">;
|
|
6606
6626
|
default: string;
|
|
6607
6627
|
};
|
|
6608
6628
|
mainMenuBar: {
|
|
6609
|
-
type:
|
|
6629
|
+
type: PropType_2<boolean>;
|
|
6610
6630
|
default: any;
|
|
6611
6631
|
};
|
|
6612
6632
|
navigationBar: {
|
|
6613
|
-
type:
|
|
6633
|
+
type: PropType_2<boolean>;
|
|
6614
6634
|
default: any;
|
|
6615
6635
|
};
|
|
6616
6636
|
statusBar: {
|
|
6617
|
-
type:
|
|
6637
|
+
type: PropType_2<boolean>;
|
|
6618
6638
|
default: any;
|
|
6619
6639
|
};
|
|
6620
6640
|
askToFormat: {
|
|
6621
|
-
type:
|
|
6641
|
+
type: PropType_2<boolean>;
|
|
6622
6642
|
default: any;
|
|
6623
6643
|
};
|
|
6624
6644
|
readOnly: {
|
|
6625
|
-
type:
|
|
6645
|
+
type: PropType_2<boolean>;
|
|
6626
6646
|
default: any;
|
|
6627
6647
|
};
|
|
6628
|
-
indentation:
|
|
6629
|
-
tabSize:
|
|
6648
|
+
indentation: PropType_2<string | number>;
|
|
6649
|
+
tabSize: PropType_2<number>;
|
|
6630
6650
|
escapeControlCharacters: {
|
|
6631
|
-
type:
|
|
6651
|
+
type: PropType_2<boolean>;
|
|
6632
6652
|
default: any;
|
|
6633
6653
|
};
|
|
6634
6654
|
escapeUnicodeCharacters: {
|
|
6635
|
-
type:
|
|
6655
|
+
type: PropType_2<boolean>;
|
|
6636
6656
|
default: any;
|
|
6637
6657
|
};
|
|
6638
6658
|
flattenColumns: {
|
|
6639
|
-
type:
|
|
6659
|
+
type: PropType_2<boolean>;
|
|
6640
6660
|
default: any;
|
|
6641
6661
|
};
|
|
6642
|
-
validator:
|
|
6643
|
-
parser:
|
|
6644
|
-
validationParser:
|
|
6645
|
-
pathParser:
|
|
6646
|
-
queryLanguagesIds:
|
|
6647
|
-
queryLanguageId:
|
|
6648
|
-
onClassName:
|
|
6649
|
-
onRenderValue:
|
|
6650
|
-
onRenderMenu:
|
|
6651
|
-
height:
|
|
6662
|
+
validator: PropType_2<Validator>;
|
|
6663
|
+
parser: PropType_2<JSONParser>;
|
|
6664
|
+
validationParser: PropType_2<JSONParser>;
|
|
6665
|
+
pathParser: PropType_2<JSONPathParser>;
|
|
6666
|
+
queryLanguagesIds: PropType_2<QueryLanguageId[]>;
|
|
6667
|
+
queryLanguageId: PropType_2<QueryLanguageId>;
|
|
6668
|
+
onClassName: PropType_2<OnClassName>;
|
|
6669
|
+
onRenderValue: PropType_2<OnRenderValue>;
|
|
6670
|
+
onRenderMenu: PropType_2<OnRenderMenu>;
|
|
6671
|
+
height: PropType_2<string | number>;
|
|
6652
6672
|
fullWidthButton: {
|
|
6653
|
-
type:
|
|
6673
|
+
type: PropType_2<boolean>;
|
|
6654
6674
|
default: any;
|
|
6655
6675
|
};
|
|
6656
6676
|
darkTheme: {
|
|
6657
|
-
type:
|
|
6677
|
+
type: PropType_2<boolean>;
|
|
6658
6678
|
default: any;
|
|
6659
6679
|
};
|
|
6660
6680
|
}>> & Readonly<{
|
|
@@ -6671,15 +6691,15 @@ onError?: (...args: any[]) => any;
|
|
|
6671
6691
|
onFocus?: (...args: any[]) => any;
|
|
6672
6692
|
onBlur?: (...args: any[]) => any;
|
|
6673
6693
|
}>, {
|
|
6674
|
-
max:
|
|
6675
|
-
getHeight:
|
|
6694
|
+
max: Ref_2<boolean, boolean>;
|
|
6695
|
+
getHeight: ComputedRef_2< {
|
|
6676
6696
|
height: string;
|
|
6677
6697
|
} | {
|
|
6678
6698
|
height?: undefined;
|
|
6679
6699
|
}>;
|
|
6680
|
-
container:
|
|
6681
|
-
darkThemeStyle:
|
|
6682
|
-
fallbackSlot:
|
|
6700
|
+
container: Ref_2<HTMLDivElement, HTMLDivElement>;
|
|
6701
|
+
darkThemeStyle: ComputedRef_2<boolean>;
|
|
6702
|
+
fallbackSlot: Ref_2<boolean, boolean>;
|
|
6683
6703
|
}, {}, {}, {}, {
|
|
6684
6704
|
selection: JSONEditorSelection;
|
|
6685
6705
|
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.7.
|
|
5
|
+
"version": "2.7.59",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"description": "星马低代码核心库,提供了低代码平台的基础功能和组件库。此库可引用到您的项目中,快速构建表单和列表。",
|
|
8
8
|
"keywords": [
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"@tailwindcss/vite": "^4.1.11",
|
|
64
64
|
"@vitejs/plugin-vue-jsx": "^5.0.1",
|
|
65
65
|
"@vueup/vue-quill": "^1.2.0",
|
|
66
|
-
"axios": "^1.
|
|
66
|
+
"axios": "^1.11.0",
|
|
67
67
|
"element-plus": "^2.10.4",
|
|
68
68
|
"jquery": "^3.7.1",
|
|
69
69
|
"json5": "^2.2.3",
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
"unplugin-vue-components": "^28.8.0",
|
|
84
84
|
"uuid": "^11.1.0",
|
|
85
85
|
"vite-plugin-dts": "^4.5.4",
|
|
86
|
-
"vue": "^3.5.
|
|
87
|
-
"vue-i18n": "^11.1.
|
|
86
|
+
"vue": "^3.5.18",
|
|
87
|
+
"vue-i18n": "^11.1.11",
|
|
88
88
|
"vue-m-message": "^4.0.2",
|
|
89
89
|
"vue-router": "^4.5.1",
|
|
90
90
|
"vue3-barcode": "^1.0.1",
|
|
@@ -99,14 +99,14 @@
|
|
|
99
99
|
"@typescript-eslint/eslint-plugin": "^8.38.0",
|
|
100
100
|
"@typescript-eslint/parser": "^8.38.0",
|
|
101
101
|
"@vitejs/plugin-vue": "^6.0.0",
|
|
102
|
-
"eslint": "^9.
|
|
102
|
+
"eslint": "^9.32.0",
|
|
103
103
|
"prettier": "^3.6.2",
|
|
104
104
|
"eslint-config-prettier": "^10.1.8",
|
|
105
105
|
"eslint-plugin-prettier": "^5.5.3",
|
|
106
106
|
"eslint-plugin-vue": "^10.3.0",
|
|
107
107
|
"sass-embedded": "^1.89.2",
|
|
108
108
|
"terser": "^5.43.1",
|
|
109
|
-
"vite": "^7.0.
|
|
109
|
+
"vite": "^7.0.6"
|
|
110
110
|
},
|
|
111
111
|
"engines": {
|
|
112
112
|
"node": ">=20.13.0"
|