star-horse-lowcode 3.0.2 → 3.0.4

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.
Files changed (173) hide show
  1. package/README.md +10 -0
  2. package/dist/api/WebSocketUtils.d.ts +100 -0
  3. package/dist/api/date_utils.d.ts +58 -0
  4. package/dist/api/device.d.ts +21 -0
  5. package/dist/api/finger_utils.d.ts +9 -0
  6. package/dist/api/form_utils.d.ts +140 -0
  7. package/dist/api/pcas-code.json.d.ts +185519 -0
  8. package/dist/api/settings.d.ts +1 -0
  9. package/dist/api/star_horse_apis.d.ts +93 -0
  10. package/dist/api/star_horse_utils.d.ts +213 -0
  11. package/dist/api/system.d.ts +78 -0
  12. package/dist/api/user_func.d.ts +22 -0
  13. package/dist/api/valid_utils.d.ts +7 -0
  14. package/dist/assets/index.css +1 -1
  15. package/dist/components/comp/ShDynamicForm.vue.d.ts +56 -0
  16. package/dist/components/comp/ShForm.vue.d.ts +58 -0
  17. package/dist/components/comp/ShTableListColumn.vue.d.ts +79 -0
  18. package/dist/components/comp/StarHorseDataSelector.vue.d.ts +107 -0
  19. package/dist/components/comp/StarHorseDataView.vue.d.ts +161 -0
  20. package/dist/components/comp/StarHorseDialog.vue.d.ts +231 -0
  21. package/dist/components/comp/StarHorseDraggable.vue.d.ts +82 -0
  22. package/dist/components/comp/StarHorseForm.vue.d.ts +176 -0
  23. package/dist/components/comp/StarHorseFormItem.vue.d.ts +26 -0
  24. package/dist/components/comp/StarHorseFormList.vue.d.ts +165 -0
  25. package/dist/components/comp/StarHorseFormTable.vue.d.ts +71 -0
  26. package/dist/components/comp/StarHorseIcon.vue.d.ts +119 -0
  27. package/dist/components/comp/StarHorseItem.vue.d.ts +106 -0
  28. package/dist/components/comp/StarHorseJsonEditor.vue.d.ts +44 -0
  29. package/dist/components/comp/StarHorsePopover.vue.d.ts +50 -0
  30. package/dist/components/comp/StarHorseSearchComp.vue.d.ts +48 -0
  31. package/dist/components/comp/StarHorseSearchForm.vue.d.ts +77 -0
  32. package/dist/components/comp/StarHorseStaticTable.vue.d.ts +101 -0
  33. package/dist/components/comp/StarHorseTableColumn.vue.d.ts +106 -0
  34. package/dist/components/comp/StarHorseTableComp.vue.d.ts +42 -0
  35. package/dist/components/comp/StarHorseTree.vue.d.ts +264 -0
  36. package/dist/components/comp/app/MainBar.vue.d.ts +20 -0
  37. package/dist/components/comp/app/MainContainer.vue.d.ts +18 -0
  38. package/dist/components/comp/app/MainContent.vue.d.ts +26 -0
  39. package/dist/components/comp/app/MainSubBar.vue.d.ts +38 -0
  40. package/dist/components/comp/app/MenuShot.vue.d.ts +64 -0
  41. package/dist/components/comp/index.d.ts +25 -0
  42. package/dist/components/comp/items/UTableColumn.vue.d.ts +72 -0
  43. package/dist/components/comp/items/boxItem.vue.d.ts +22 -0
  44. package/dist/components/comp/items/callitem.d.ts +2 -0
  45. package/dist/components/comp/items/dytableItem.vue.d.ts +22 -0
  46. package/dist/components/comp/items/tableColumn.vue.d.ts +86 -0
  47. package/dist/components/comp/items/tablebtn.vue.d.ts +60 -0
  48. package/dist/components/comp/selfcomp.d.ts +2 -0
  49. package/dist/components/comp/utils/DataPicker.vue.d.ts +85 -0
  50. package/dist/components/cron/Crontab-Day.vue.d.ts +29 -0
  51. package/dist/components/cron/Crontab-Hour.vue.d.ts +28 -0
  52. package/dist/components/cron/Crontab-Min.vue.d.ts +28 -0
  53. package/dist/components/cron/Crontab-Month.vue.d.ts +28 -0
  54. package/dist/components/cron/Crontab-Second.vue.d.ts +31 -0
  55. package/dist/components/cron/Crontab-Week.vue.d.ts +29 -0
  56. package/dist/components/cron/Crontab-Year.vue.d.ts +30 -0
  57. package/dist/components/cron/Crontab.vue.d.ts +15 -0
  58. package/dist/components/enums/ModuleEnums.d.ts +10 -0
  59. package/dist/components/enums/ServiceEnums.d.ts +18 -0
  60. package/dist/components/formcomp/items/allitem.d.ts +2 -0
  61. package/dist/components/formcomp/items/area-item.vue.d.ts +23 -0
  62. package/dist/components/formcomp/items/audio-item.vue.d.ts +23 -0
  63. package/dist/components/formcomp/items/autocomplete-item.vue.d.ts +23 -0
  64. package/dist/components/formcomp/items/barcode-item.vue.d.ts +23 -0
  65. package/dist/components/formcomp/items/button-item.vue.d.ts +23 -0
  66. package/dist/components/formcomp/items/cascade-item.vue.d.ts +23 -0
  67. package/dist/components/formcomp/items/checkbox-item.vue.d.ts +23 -0
  68. package/dist/components/formcomp/items/color-item.vue.d.ts +23 -0
  69. package/dist/components/formcomp/items/cron-item.vue.d.ts +23 -0
  70. package/dist/components/formcomp/items/datapicker-item.vue.d.ts +23 -0
  71. package/dist/components/formcomp/items/datetime-item.vue.d.ts +23 -0
  72. package/dist/components/formcomp/items/depart-item.vue.d.ts +16 -0
  73. package/dist/components/formcomp/items/dialog-input-item.vue.d.ts +23 -0
  74. package/dist/components/formcomp/items/dialog-item.vue.d.ts +23 -0
  75. package/dist/components/formcomp/items/divider-item.vue.d.ts +23 -0
  76. package/dist/components/formcomp/items/drawer-item.vue.d.ts +23 -0
  77. package/dist/components/formcomp/items/empty-item.vue.d.ts +16 -0
  78. package/dist/components/formcomp/items/html-item.vue.d.ts +23 -0
  79. package/dist/components/formcomp/items/htmleditor-item.vue.d.ts +23 -0
  80. package/dist/components/formcomp/items/icon-item.vue.d.ts +23 -0
  81. package/dist/components/formcomp/items/image-item.vue.d.ts +23 -0
  82. package/dist/components/formcomp/items/index.d.ts +50 -0
  83. package/dist/components/formcomp/items/input-item.vue.d.ts +17 -0
  84. package/dist/components/formcomp/items/input-tag-item.vue.d.ts +23 -0
  85. package/dist/components/formcomp/items/json-array-item.vue.d.ts +23 -0
  86. package/dist/components/formcomp/items/json-item.vue.d.ts +23 -0
  87. package/dist/components/formcomp/items/markdown-item.vue.d.ts +23 -0
  88. package/dist/components/formcomp/items/number-item.vue.d.ts +23 -0
  89. package/dist/components/formcomp/items/number-range-item.vue.d.ts +23 -0
  90. package/dist/components/formcomp/items/page-select-item.vue.d.ts +23 -0
  91. package/dist/components/formcomp/items/password-item.vue.d.ts +23 -0
  92. package/dist/components/formcomp/items/qrcode-item.vue.d.ts +23 -0
  93. package/dist/components/formcomp/items/radio-item.vue.d.ts +23 -0
  94. package/dist/components/formcomp/items/rate-item.vue.d.ts +23 -0
  95. package/dist/components/formcomp/items/select-item.vue.d.ts +23 -0
  96. package/dist/components/formcomp/items/signature-item.vue.d.ts +23 -0
  97. package/dist/components/formcomp/items/slider-item.vue.d.ts +23 -0
  98. package/dist/components/formcomp/items/starhorse-form-item.vue.d.ts +23 -0
  99. package/dist/components/formcomp/items/switch-item.vue.d.ts +23 -0
  100. package/dist/components/formcomp/items/tag-item.vue.d.ts +23 -0
  101. package/dist/components/formcomp/items/text-item.vue.d.ts +23 -0
  102. package/dist/components/formcomp/items/textarea-item.vue.d.ts +23 -0
  103. package/dist/components/formcomp/items/time-item.vue.d.ts +23 -0
  104. package/dist/components/formcomp/items/time-picker-item.vue.d.ts +23 -0
  105. package/dist/components/formcomp/items/transfer-item.vue.d.ts +23 -0
  106. package/dist/components/formcomp/items/tselect-item.vue.d.ts +23 -0
  107. package/dist/components/formcomp/items/unknown-item.vue.d.ts +16 -0
  108. package/dist/components/formcomp/items/upload-item.vue.d.ts +23 -0
  109. package/dist/components/formcomp/items/user-item.vue.d.ts +23 -0
  110. package/dist/components/formcomp/items/usercomp-item.vue.d.ts +24 -0
  111. package/dist/components/formcomp/items/view-markdown-item.vue.d.ts +23 -0
  112. package/dist/components/formcomp/utils/EditDataDialog.vue.d.ts +55 -0
  113. package/dist/components/formcomp/utils/FieldList.vue.d.ts +7 -0
  114. package/dist/components/formcomp/utils/ItemRelationEventUtils.d.ts +32 -0
  115. package/dist/components/formcomp/utils/prefixSuffixUtils.d.ts +28 -0
  116. package/dist/components/help.vue.d.ts +26 -0
  117. package/dist/components/menu/MenuItem.vue.d.ts +49 -0
  118. package/dist/components/system/ContentMenu.vue.d.ts +77 -0
  119. package/dist/components/system/PageConfig.vue.d.ts +66 -0
  120. package/dist/components/system/StarHorseButtonList.vue.d.ts +72 -0
  121. package/dist/components/system/StarHorseEditor.vue.d.ts +82 -0
  122. package/dist/components/system/StarHorseMenu.vue.d.ts +40 -0
  123. package/dist/components/system/StarHorseSidebar.vue.d.ts +13 -0
  124. package/dist/components/system/StarHorseSvg.vue.d.ts +112 -0
  125. package/dist/components/system/SvgLoader.vue.d.ts +59 -0
  126. package/dist/components/system/SystemComp.d.ts +2 -0
  127. package/dist/components/system/index.d.ts +8 -0
  128. package/dist/components/types/ApiUrls.d.ts +171 -0
  129. package/dist/components/types/BtnAction.d.ts +35 -0
  130. package/dist/components/types/BtnAuth.d.ts +43 -0
  131. package/dist/components/types/CompInfo.d.ts +50 -0
  132. package/dist/components/types/DialogProps.d.ts +54 -0
  133. package/dist/components/types/DyCompField.d.ts +14 -0
  134. package/dist/components/types/DynamicNode.d.ts +34 -0
  135. package/dist/components/types/FormType.d.ts +113 -0
  136. package/dist/components/types/ItemPreps.d.ts +151 -0
  137. package/dist/components/types/MenusInfo.d.ts +44 -0
  138. package/dist/components/types/PageFieldInfo.d.ts +547 -0
  139. package/dist/components/types/PageProps.d.ts +177 -0
  140. package/dist/components/types/Params.d.ts +146 -0
  141. package/dist/components/types/RuleType.d.ts +10 -0
  142. package/dist/components/types/SearchProps.d.ts +59 -0
  143. package/dist/components/types/ShortKey.d.ts +30 -0
  144. package/dist/components/types/StarHorseType.d.ts +18 -0
  145. package/dist/components/types/UserinfoType.d.ts +46 -0
  146. package/dist/components/types/index.d.ts +18 -0
  147. package/dist/index.d.ts +53 -0
  148. package/dist/index.es.js +8 -8
  149. package/dist/lang/en_US.d.ts +730 -0
  150. package/dist/lang/index.d.ts +17 -0
  151. package/dist/lang/zh_CN.d.ts +731 -0
  152. package/dist/main.d.ts +0 -0
  153. package/dist/plugins/AblesPlugin.d.ts +48 -0
  154. package/dist/plugins/registerCompPlugin.d.ts +10 -0
  155. package/dist/router/index.d.ts +2 -0
  156. package/dist/store/ButtonPermission.d.ts +32 -0
  157. package/dist/store/ConsumerView.d.ts +22 -0
  158. package/dist/store/CopyerOperation.d.ts +35 -0
  159. package/dist/store/DesignForm.d.ts +1728 -0
  160. package/dist/store/DesignPage.d.ts +149 -0
  161. package/dist/store/DynamicForm.d.ts +52 -0
  162. package/dist/store/GlobalConfig.d.ts +13 -0
  163. package/dist/store/SelfOperation.d.ts +651 -0
  164. package/dist/store/UserInfo.d.ts +44 -0
  165. package/dist/store/index.d.ts +2 -0
  166. package/dist/theme/localStorge.d.ts +10 -0
  167. package/dist/theme/theme.d.ts +24 -0
  168. package/dist/types/index.d.ts +6 -10604
  169. package/dist/utils/FieldOperationUtils.d.ts +6 -0
  170. package/dist/utils/auth.d.ts +25 -0
  171. package/dist/utils/message.d.ts +25 -0
  172. package/dist/utils/preview.d.ts +16 -0
  173. package/package.json +18 -16
@@ -0,0 +1,66 @@
1
+ type __VLS_Props = {
2
+ hideDefaultConfig?: boolean;
3
+ modelValue: boolean;
4
+ direction?: string;
5
+ resizable?: boolean;
6
+ title?: string;
7
+ compSize?: string;
8
+ };
9
+ declare var __VLS_28: {
10
+ form: any;
11
+ }, __VLS_224: {
12
+ form: any;
13
+ }, __VLS_226: {
14
+ form: any;
15
+ }, __VLS_303: {
16
+ form: any;
17
+ }, __VLS_305: {
18
+ form: any;
19
+ }, __VLS_307: {
20
+ form: any;
21
+ }, __VLS_309: {
22
+ form: any;
23
+ }, __VLS_311: {
24
+ form: any;
25
+ };
26
+ type __VLS_Slots = {} & {
27
+ header?: (props: typeof __VLS_28) => any;
28
+ } & {
29
+ content?: (props: typeof __VLS_224) => any;
30
+ } & {
31
+ default?: (props: typeof __VLS_226) => any;
32
+ } & {
33
+ footer?: (props: typeof __VLS_303) => any;
34
+ } & {
35
+ header?: (props: typeof __VLS_305) => any;
36
+ } & {
37
+ content?: (props: typeof __VLS_307) => any;
38
+ } & {
39
+ default?: (props: typeof __VLS_309) => any;
40
+ } & {
41
+ footer?: (props: typeof __VLS_311) => any;
42
+ };
43
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
44
+ getConfigInfo: () => any;
45
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
46
+ "update:modelValue": (...args: any[]) => void;
47
+ saveData: (...args: any[]) => void;
48
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
49
+ "onUpdate:modelValue"?: (...args: any[]) => any;
50
+ onSaveData?: (...args: any[]) => any;
51
+ }>, {
52
+ title: string;
53
+ direction: string;
54
+ compSize: string;
55
+ modelValue: boolean;
56
+ hideDefaultConfig: boolean;
57
+ resizable: boolean;
58
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
59
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
60
+ declare const _default: typeof __VLS_export;
61
+ export default _default;
62
+ type __VLS_WithSlots<T, S> = T & {
63
+ new (): {
64
+ $slots: S;
65
+ };
66
+ };
@@ -0,0 +1,72 @@
1
+ import { ApiUrls } from '../types/ApiUrls';
2
+ import { PreValid } from '../types/BtnAuth';
3
+ import { DialogProps } from '../types/DialogProps';
4
+ import { UserFuncInfo } from '../types/PageFieldInfo';
5
+ import { PropType } from 'vue';
6
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
7
+ dialogProps: {
8
+ type: PropType<DialogProps>;
9
+ required: true;
10
+ };
11
+ compUrl: {
12
+ type: PropType<ApiUrls>;
13
+ required: true;
14
+ };
15
+ viewFlag: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ extendBtns: {
20
+ type: PropType<UserFuncInfo[]>;
21
+ };
22
+ preValidFunc: {
23
+ type: PropType<Array<PreValid>>;
24
+ };
25
+ btnPermissions: {
26
+ type: PropType<any>;
27
+ required: false;
28
+ };
29
+ }>, {
30
+ setFormData: (val: any) => void;
31
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
32
+ upload: (...args: any[]) => void;
33
+ uploadError: (...args: any[]) => void;
34
+ uploadSuccess: (...args: any[]) => void;
35
+ tableCompFunc: (...args: any[]) => void;
36
+ uploadProcess: (...args: any[]) => void;
37
+ btnOperation: (...args: any[]) => void;
38
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
39
+ dialogProps: {
40
+ type: PropType<DialogProps>;
41
+ required: true;
42
+ };
43
+ compUrl: {
44
+ type: PropType<ApiUrls>;
45
+ required: true;
46
+ };
47
+ viewFlag: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ extendBtns: {
52
+ type: PropType<UserFuncInfo[]>;
53
+ };
54
+ preValidFunc: {
55
+ type: PropType<Array<PreValid>>;
56
+ };
57
+ btnPermissions: {
58
+ type: PropType<any>;
59
+ required: false;
60
+ };
61
+ }>> & Readonly<{
62
+ onUpload?: (...args: any[]) => any;
63
+ onUploadError?: (...args: any[]) => any;
64
+ onUploadSuccess?: (...args: any[]) => any;
65
+ onTableCompFunc?: (...args: any[]) => any;
66
+ onUploadProcess?: (...args: any[]) => any;
67
+ onBtnOperation?: (...args: any[]) => any;
68
+ }>, {
69
+ viewFlag: boolean;
70
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
71
+ declare const _default: typeof __VLS_export;
72
+ export default _default;
@@ -0,0 +1,82 @@
1
+ import { PropType } from 'vue';
2
+ import { EditorView } from '@codemirror/view';
3
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ funcName: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
8
+ fieldName: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ lang: {
13
+ type: StringConstructor;
14
+ default: any;
15
+ };
16
+ theme: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ boxHeight: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
24
+ btnList: {
25
+ type: PropType<Array<any>>;
26
+ default: () => any[];
27
+ };
28
+ helpMsg: {
29
+ type: StringConstructor;
30
+ };
31
+ value: {
32
+ type: PropType<string>;
33
+ };
34
+ }>, {
35
+ editor: import('vue').Ref<EditorView, EditorView>;
36
+ setValue: (val: any) => void;
37
+ setAutoCompletion: (dbName: string, datas: any) => void;
38
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
39
+ "update:value": (value: string) => any;
40
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
41
+ funcName: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
45
+ fieldName: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
49
+ lang: {
50
+ type: StringConstructor;
51
+ default: any;
52
+ };
53
+ theme: {
54
+ type: StringConstructor;
55
+ default: string;
56
+ };
57
+ boxHeight: {
58
+ type: StringConstructor;
59
+ default: string;
60
+ };
61
+ btnList: {
62
+ type: PropType<Array<any>>;
63
+ default: () => any[];
64
+ };
65
+ helpMsg: {
66
+ type: StringConstructor;
67
+ };
68
+ value: {
69
+ type: PropType<string>;
70
+ };
71
+ }>> & Readonly<{
72
+ "onUpdate:value"?: (value: string) => any;
73
+ }>, {
74
+ lang: string;
75
+ funcName: string;
76
+ fieldName: string;
77
+ boxHeight: string;
78
+ theme: string;
79
+ btnList: any[];
80
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
81
+ declare const _default: typeof __VLS_export;
82
+ export default _default;
@@ -0,0 +1,40 @@
1
+ import { PropType } from 'vue';
2
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ preps: {
4
+ type: PropType<any>;
5
+ default: () => {
6
+ id: string;
7
+ value: string;
8
+ icon: string;
9
+ label: string;
10
+ children: string;
11
+ };
12
+ };
13
+ dataList: {
14
+ type: PropType<any>;
15
+ };
16
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
+ selectItem: (...args: any[]) => void;
18
+ "update:dataList": (value: any) => void;
19
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
20
+ preps: {
21
+ type: PropType<any>;
22
+ default: () => {
23
+ id: string;
24
+ value: string;
25
+ icon: string;
26
+ label: string;
27
+ children: string;
28
+ };
29
+ };
30
+ dataList: {
31
+ type: PropType<any>;
32
+ };
33
+ }>> & Readonly<{
34
+ onSelectItem?: (...args: any[]) => any;
35
+ "onUpdate:dataList"?: (value: any) => any;
36
+ }>, {
37
+ preps: any;
38
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
39
+ declare const _default: typeof __VLS_export;
40
+ export default _default;
@@ -0,0 +1,13 @@
1
+ declare var __VLS_8: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_8) => any;
4
+ };
5
+ declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1,112 @@
1
+ import { PropType } from 'vue';
2
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ className: {
4
+ type: StringConstructor;
5
+ };
6
+ title: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ size: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ width: {
15
+ type: NumberConstructor;
16
+ default: number;
17
+ };
18
+ height: {
19
+ type: NumberConstructor;
20
+ default: number;
21
+ };
22
+ data: {
23
+ type: PropType<any>;
24
+ default: {};
25
+ };
26
+ borderOffset: {
27
+ type: NumberConstructor;
28
+ default: number;
29
+ };
30
+ color: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ backgroundColor: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ borderColor: {
39
+ type: StringConstructor;
40
+ default: string;
41
+ };
42
+ borderWidth: {
43
+ type: NumberConstructor;
44
+ default: number;
45
+ };
46
+ cursor: {
47
+ type: StringConstructor;
48
+ default: string;
49
+ };
50
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
51
+ className: {
52
+ type: StringConstructor;
53
+ };
54
+ title: {
55
+ type: StringConstructor;
56
+ default: string;
57
+ };
58
+ size: {
59
+ type: StringConstructor;
60
+ default: string;
61
+ };
62
+ width: {
63
+ type: NumberConstructor;
64
+ default: number;
65
+ };
66
+ height: {
67
+ type: NumberConstructor;
68
+ default: number;
69
+ };
70
+ data: {
71
+ type: PropType<any>;
72
+ default: {};
73
+ };
74
+ borderOffset: {
75
+ type: NumberConstructor;
76
+ default: number;
77
+ };
78
+ color: {
79
+ type: StringConstructor;
80
+ default: string;
81
+ };
82
+ backgroundColor: {
83
+ type: StringConstructor;
84
+ default: string;
85
+ };
86
+ borderColor: {
87
+ type: StringConstructor;
88
+ default: string;
89
+ };
90
+ borderWidth: {
91
+ type: NumberConstructor;
92
+ default: number;
93
+ };
94
+ cursor: {
95
+ type: StringConstructor;
96
+ default: string;
97
+ };
98
+ }>> & Readonly<{}>, {
99
+ data: any;
100
+ title: string;
101
+ size: string;
102
+ height: number;
103
+ width: number;
104
+ color: string;
105
+ cursor: string;
106
+ borderOffset: number;
107
+ backgroundColor: string;
108
+ borderColor: string;
109
+ borderWidth: number;
110
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
111
+ declare const _default: typeof __VLS_export;
112
+ export default _default;
@@ -0,0 +1,59 @@
1
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ path: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ size: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ cursor: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ marginLeft: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ marginRight: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ color: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
27
+ path: {
28
+ type: StringConstructor;
29
+ required: true;
30
+ };
31
+ size: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ cursor: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ marginLeft: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ marginRight: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ color: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ }>> & Readonly<{}>, {
52
+ size: string;
53
+ marginLeft: string;
54
+ marginRight: string;
55
+ color: string;
56
+ cursor: string;
57
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
58
+ declare const _default: typeof __VLS_export;
59
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import { App } from 'vue';
2
+ export default function install(app: App<Element>): void;
@@ -0,0 +1,8 @@
1
+ export { default as StarHorseButtonList } from './StarHorseButtonList.vue';
2
+ export { default as StarHorseMenu } from './StarHorseMenu.vue';
3
+ export { default as StarHorseSvg } from './StarHorseSvg.vue';
4
+ export { default as ContentMenu } from './ContentMenu.vue';
5
+ export { default as StarHorseEditor } from './StarHorseEditor.vue';
6
+ export { default as StarHorseSidebar } from './StarHorseSidebar.vue';
7
+ export { default as SvgLoader } from './SvgLoader.vue';
8
+ export { default as PageConfig } from './PageConfig.vue';
@@ -0,0 +1,171 @@
1
+ import { SearchParams } from './Params';
2
+ /**
3
+ * 组件用到的属性
4
+ */
5
+ export type ApiUrls = {
6
+ /**
7
+ * 分页接口
8
+ */
9
+ pageListUrl: string;
10
+ /**
11
+ * merge接口
12
+ */
13
+ mergeUrl: string;
14
+ /**
15
+ * merge暂存接口
16
+ */
17
+ mergeDraftUrl: string;
18
+ /**
19
+ * 批量Merge接口
20
+ */
21
+ batchMergeUrl: string;
22
+ /**
23
+ * 批量暂存接口
24
+ */
25
+ batchMergeDraftUrl: string;
26
+ /**
27
+ * 根据Id获取数据接口
28
+ */
29
+ loadByIdUrl: string;
30
+ /**
31
+ * 根据Id获取数据接口
32
+ */
33
+ loadByIdForViewUrl: string;
34
+ /**
35
+ * 删除数据接口
36
+ */
37
+ deleteUrl: string;
38
+ /**
39
+ * 根据条件删除数据
40
+ */
41
+ deleteByConditionUrl?: string;
42
+ /**
43
+ * 导出数据接口
44
+ */
45
+ exportAllUrl?: string;
46
+ /**
47
+ * 下载模板接口
48
+ */
49
+ downloadTemplateUrl?: string;
50
+ /**
51
+ * 自定义查询接口 返回满足条件的所有数据
52
+ */
53
+ listConditionUrl?: string;
54
+ /**
55
+ * 自定义查询接口 返回满足条件的一条数据
56
+ */
57
+ oneConditionUrl?: string;
58
+ /**
59
+ * 上载接口
60
+ */
61
+ uploadUrl?: string;
62
+ /**
63
+ * 导入数据接口
64
+ */
65
+ importUrl?: string;
66
+ /**
67
+ * 执行接口
68
+ */
69
+ executeUrl?: string;
70
+ /**
71
+ * 修改字段接口
72
+ */
73
+ modifyColumnsUrl?: string;
74
+ /**
75
+ * 接口路径前缀
76
+ */
77
+ basePrefix?: string;
78
+ /**
79
+ * 权限接口,此接口需要用户自己赋值,如果不赋值则使用系统默认接口
80
+ */
81
+ permissionsUrl?: string;
82
+ /**
83
+ * 应用名称
84
+ */
85
+ appName?: string;
86
+ /**
87
+ * 权限隔离属性字段,如果提供则所有Post请求都会带上该字段
88
+ * 接口过滤条件
89
+ */
90
+ condition?: Array<SearchParams>;
91
+ /**
92
+ * 是否接口转发
93
+ */
94
+ redirect?: boolean;
95
+ /**
96
+ * 接口请求方式
97
+ */
98
+ httpMethod?: string;
99
+ /**
100
+ * 数据请求方式
101
+ */
102
+ dataType?: string;
103
+ /**
104
+ * 分页接口
105
+ */
106
+ pageAction?: Function;
107
+ /**
108
+ * 编辑接口
109
+ */
110
+ mergeAction?: Function;
111
+ /**
112
+ * 编辑暂存接口
113
+ */
114
+ mergeDraftAction?: Function;
115
+ /**
116
+ * 批量编辑接口
117
+ */
118
+ batchMergeAction?: Function;
119
+ /**
120
+ * 批量编辑暂存接口
121
+ */
122
+ batchMergeDraftAction?: Function;
123
+ /**
124
+ * 根据Id获取数据接口
125
+ */
126
+ loadByIdAction?: Function;
127
+ /**
128
+ * 删除数据接口
129
+ */
130
+ deleteAction?: Function;
131
+ /**
132
+ * 根据条件删除数据
133
+ */
134
+ deleteByConditionAction?: Function;
135
+ /**
136
+ * 导出数据接口
137
+ */
138
+ exportDataAction?: Function;
139
+ /**
140
+ * 下载模板接口
141
+ */
142
+ downloadTemplateAction?: Function;
143
+ /**
144
+ * 自定义查询接口
145
+ */
146
+ queryConditionAction?: Function;
147
+ /**
148
+ * 自定义查询接口
149
+ */
150
+ queryOneByConditionAction?: Function;
151
+ /**
152
+ * 上载接口
153
+ */
154
+ uploadAction?: Function;
155
+ /**
156
+ * 导入数据接口
157
+ */
158
+ importAction?: Function;
159
+ /**
160
+ * 执行接口
161
+ */
162
+ executeAction?: Function;
163
+ /**
164
+ * 修改字段接口,
165
+ * 接收的参数为:{
166
+ * columnsInfo:{},//要修改的字段及修改后的值
167
+ * conditions:[] //修改条件
168
+ * }
169
+ */
170
+ modifyColumnsAction?: Function;
171
+ };
@@ -0,0 +1,35 @@
1
+ import { SearchParams } from './Params';
2
+ export declare interface DynamicParamField {
3
+ paramName: string;
4
+ matchType: string;
5
+ defaultValue?: any;
6
+ }
7
+ /**
8
+ * 按钮事件
9
+ */
10
+ export declare interface BtnAction {
11
+ viewType: "inter" | "comp" | "code" | "method";
12
+ idDynamicForm?: string;
13
+ componentName?: string;
14
+ isDynamicParam?: string;
15
+ params?: SearchParams[] | DynamicParamField[];
16
+ url?: string;
17
+ method?: string;
18
+ needConfirm?: string;
19
+ confirmMsg?: string;
20
+ needRefresh?: string;
21
+ /**
22
+ * 接口执行完成后的动作,
23
+ * assignCurrentName 赋值当前名称
24
+ * assignForm 赋值给表单
25
+ */
26
+ afterAction?: string;
27
+ /**
28
+ * 执行函数
29
+ */
30
+ actions?: Function;
31
+ /**
32
+ * js代码块
33
+ */
34
+ code?: string;
35
+ }