el-plus 0.0.84 → 0.0.86-beta.0
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/CHANGELOG.md +12 -0
- package/dist/index.full.js +7 -3
- package/dist/index.full.min.js +2 -2
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +2 -2
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +7 -3
- package/docs/api-examples.md +49 -0
- package/docs/components/attachment.md +111 -0
- package/docs/components/buttons.md +108 -0
- package/docs/components/custom-column.md +70 -0
- package/docs/components/date-picker-range.md +61 -0
- package/docs/components/dialog.md +104 -0
- package/docs/components/footer-info.md +101 -0
- package/docs/components/form.md +186 -0
- package/docs/components/header.md +89 -0
- package/docs/components/index.md +23 -0
- package/docs/components/input.md +109 -0
- package/docs/components/link.md +63 -0
- package/docs/components/search-list-page.md +81 -0
- package/docs/components/select.md +163 -0
- package/docs/components/table.md +133 -0
- package/docs/components/title.md +70 -0
- package/docs/components/use-choose-dialog.md +115 -0
- package/docs/components/use-confirm-dialog.md +87 -0
- package/docs/components/use-form-dialog.md +87 -0
- package/docs/guide/markdown-examples.md +85 -0
- package/docs/index.md +25 -0
- package/docs/pages/detail.md +74 -0
- package/docs/pages/list.md +73 -0
- package/es/cli/src/commands/gen-docs.d.ts +2 -0
- package/es/cli/src/commands/install.d.ts +13 -0
- package/es/cli/src/commands/parse.d.ts +2 -0
- package/es/cli/src/index.d.ts +2 -0
- package/es/cli/src/parser/image-parser.d.ts +8 -0
- package/es/cli/src/parser/modao.d.ts +54 -0
- package/es/components/buttons/index.d.ts +45 -45
- package/es/components/buttons/src/buttons-vue.d.ts +16 -16
- package/es/components/buttons/src/buttons.d.ts +1 -1
- package/es/components/date-picker-range/index.d.ts +3 -3
- package/es/components/date-picker-range/src/date-picker-range.vue.d.ts +1 -1
- package/es/components/footer-info/index.d.ts +3 -3
- package/es/components/footer-info/src/footer-info.vue.d.ts +1 -1
- package/es/components/form/src/form-item-vue.mjs +6 -2
- package/es/components/form/src/form-item-vue.mjs.map +1 -1
- package/es/components/header/index.d.ts +3 -3
- package/es/components/header/src/header.d.ts +1 -1
- package/es/components/header/src/header.mjs.map +1 -1
- package/es/components/header/src/header.vue.d.ts +1 -1
- package/es/components/input/index.d.ts +3 -3
- package/es/components/input/src/input.vue.d.ts +1 -1
- package/es/components/link/index.d.ts +6 -6
- package/es/components/link/src/link.d.ts +1 -1
- package/es/components/link/src/link.vue.d.ts +3 -3
- package/es/components/search-list-page/index.d.ts +12 -12
- package/es/components/search-list-page/src/search-list-page.vue.d.ts +4 -4
- package/es/components/search-list-page/src/use-search-list-page.d.ts +4 -4
- package/es/package.json.mjs +1 -1
- package/lib/cli/src/commands/gen-docs.d.ts +2 -0
- package/lib/cli/src/commands/install.d.ts +13 -0
- package/lib/cli/src/commands/parse.d.ts +2 -0
- package/lib/cli/src/index.d.ts +2 -0
- package/lib/cli/src/parser/image-parser.d.ts +8 -0
- package/lib/cli/src/parser/modao.d.ts +54 -0
- package/lib/components/buttons/index.d.ts +45 -45
- package/lib/components/buttons/src/buttons-vue.d.ts +16 -16
- package/lib/components/buttons/src/buttons.d.ts +1 -1
- package/lib/components/date-picker-range/index.d.ts +3 -3
- package/lib/components/date-picker-range/src/date-picker-range.vue.d.ts +1 -1
- package/lib/components/footer-info/index.d.ts +3 -3
- package/lib/components/footer-info/src/footer-info.vue.d.ts +1 -1
- package/lib/components/form/src/form-item-vue.js +5 -1
- package/lib/components/form/src/form-item-vue.js.map +1 -1
- package/lib/components/header/index.d.ts +3 -3
- package/lib/components/header/src/header.d.ts +1 -1
- package/lib/components/header/src/header.js.map +1 -1
- package/lib/components/header/src/header.vue.d.ts +1 -1
- package/lib/components/input/index.d.ts +3 -3
- package/lib/components/input/src/input.vue.d.ts +1 -1
- package/lib/components/link/index.d.ts +6 -6
- package/lib/components/link/src/link.d.ts +1 -1
- package/lib/components/link/src/link.vue.d.ts +3 -3
- package/lib/components/search-list-page/index.d.ts +12 -12
- package/lib/components/search-list-page/src/search-list-page.vue.d.ts +4 -4
- package/lib/components/search-list-page/src/use-search-list-page.d.ts +4 -4
- package/lib/package.json.js +1 -1
- package/package.json +2 -1
|
@@ -525,8 +525,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
525
525
|
"onUpdate:start"?: ((value: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => import("element-plus").ModelValueType | null) | ((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => import("element-plus").ModelValueType | null))[], unknown, unknown> | undefined) => any) | undefined;
|
|
526
526
|
"onUpdate:end"?: ((value: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => import("element-plus").ModelValueType | null) | ((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => import("element-plus").ModelValueType | null))[], unknown, unknown> | undefined) => any) | undefined;
|
|
527
527
|
}>, {
|
|
528
|
-
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>;
|
|
529
528
|
type: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => import("element-plus").DatePickerType) | ((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => import("element-plus").DatePickerType))[], unknown, unknown>;
|
|
529
|
+
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>;
|
|
530
530
|
placement: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "left" | "right" | "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement) | ((new (...args: any[]) => "left" | "right" | "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement))[], import("element-plus").Placement, unknown>;
|
|
531
531
|
disabled: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
532
532
|
modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => import("element-plus").ModelValueType | null) | ((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => import("element-plus").ModelValueType | null))[], unknown, unknown>;
|
|
@@ -13,8 +13,8 @@ export declare const EpFooterInfo: {
|
|
|
13
13
|
readonly default: () => {};
|
|
14
14
|
};
|
|
15
15
|
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
16
|
-
readonly modelValue: Record<string, any>;
|
|
17
16
|
readonly list: import("./src/footer-info").FooterInfoFieldConfig[];
|
|
17
|
+
readonly modelValue: Record<string, any>;
|
|
18
18
|
readonly fieldMap: import("./src/footer-info").FooterInfoFieldMap;
|
|
19
19
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
20
20
|
P: {};
|
|
@@ -37,8 +37,8 @@ export declare const EpFooterInfo: {
|
|
|
37
37
|
readonly default: () => {};
|
|
38
38
|
};
|
|
39
39
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
40
|
-
readonly modelValue: Record<string, any>;
|
|
41
40
|
readonly list: import("./src/footer-info").FooterInfoFieldConfig[];
|
|
41
|
+
readonly modelValue: Record<string, any>;
|
|
42
42
|
readonly fieldMap: import("./src/footer-info").FooterInfoFieldMap;
|
|
43
43
|
}>;
|
|
44
44
|
__isFragment?: never;
|
|
@@ -58,8 +58,8 @@ export declare const EpFooterInfo: {
|
|
|
58
58
|
readonly default: () => {};
|
|
59
59
|
};
|
|
60
60
|
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
61
|
-
readonly modelValue: Record<string, any>;
|
|
62
61
|
readonly list: import("./src/footer-info").FooterInfoFieldConfig[];
|
|
62
|
+
readonly modelValue: Record<string, any>;
|
|
63
63
|
readonly fieldMap: import("./src/footer-info").FooterInfoFieldMap;
|
|
64
64
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin;
|
|
65
65
|
export default EpFooterInfo;
|
|
@@ -26,8 +26,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
26
26
|
readonly default: () => {};
|
|
27
27
|
};
|
|
28
28
|
}>> & Readonly<{}>, {
|
|
29
|
-
readonly modelValue: Record<string, any>;
|
|
30
29
|
readonly list: FooterInfoFieldConfig[];
|
|
30
|
+
readonly modelValue: Record<string, any>;
|
|
31
31
|
readonly fieldMap: import("./footer-info").FooterInfoFieldMap;
|
|
32
32
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
33
33
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useAttrs, createVNode, mergeProps } from 'vue';
|
|
1
|
+
import { defineComponent, useAttrs, computed, createVNode, mergeProps } from 'vue';
|
|
2
2
|
import { createNameSpace } from '../../../utils/bem.mjs';
|
|
3
3
|
import { useFormItemSlots, useFormItemRules } from './hooks/use-form-item.mjs';
|
|
4
4
|
import { ElFormItem } from 'element-plus';
|
|
@@ -25,9 +25,13 @@ var EpFormItem = /* @__PURE__ */ defineComponent({
|
|
|
25
25
|
disabled,
|
|
26
26
|
...formItemProps2
|
|
27
27
|
} = props;
|
|
28
|
+
const isShowLabel = computed(() => {
|
|
29
|
+
if (!props.label) return false;
|
|
30
|
+
return props.isShowLabel;
|
|
31
|
+
});
|
|
28
32
|
return () => {
|
|
29
33
|
return createVNode(ElFormItem, mergeProps({
|
|
30
|
-
"class": [bem.b(), bem.is("hide-label", !
|
|
34
|
+
"class": [bem.b(), bem.is("hide-label", !isShowLabel.value), prepareClassNames()],
|
|
31
35
|
"style": prepareStyles()
|
|
32
36
|
}, {
|
|
33
37
|
...prepareProps(formItemProps2, [...expandFormItemPropsKeys]),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-item-vue.mjs","sources":["../../../../../../packages/components/form/src/form-item-vue.tsx"],"sourcesContent":["import { defineComponent, useAttrs } from 'vue'\nimport { createNameSpace } from '@el-plus/utils/bem'\nimport { useFormItemRules, useFormItemSlots } from './hooks/use-form-item'\nimport { ElFormItem } from 'element-plus'\n\nimport { formItemProps, expandFormItemPropsKeys } from './form-item'\nimport {\n prepareProps,\n prepareEvents,\n prepareClassNames,\n prepareStyles,\n} from '@el-plus/utils/props'\nconst bem = createNameSpace('form-item')\nexport default defineComponent({\n name: 'EpFormItem',\n inheritAttrs: false,\n props: formItemProps,\n setup(props, { emit }) {\n // const {} = useFormItem(props)\n const attrs = useAttrs()\n const { scopedSlots } = useFormItemSlots(props,emit)\n const { rules } = useFormItemRules(props)\n const { props: childProps, disabled, ...formItemProps } = props // eslint-disable-line\n return () => {\n return (\n <ElFormItem\n class={[\n bem.b(),\n bem.is('hide-label', !
|
|
1
|
+
{"version":3,"file":"form-item-vue.mjs","sources":["../../../../../../packages/components/form/src/form-item-vue.tsx"],"sourcesContent":["import { defineComponent, useAttrs ,computed} from 'vue'\nimport { createNameSpace } from '@el-plus/utils/bem'\nimport { useFormItemRules, useFormItemSlots } from './hooks/use-form-item'\nimport { ElFormItem } from 'element-plus'\n\nimport { formItemProps, expandFormItemPropsKeys } from './form-item'\nimport {\n prepareProps,\n prepareEvents,\n prepareClassNames,\n prepareStyles,\n} from '@el-plus/utils/props'\nconst bem = createNameSpace('form-item')\nexport default defineComponent({\n name: 'EpFormItem',\n inheritAttrs: false,\n props: formItemProps,\n setup(props, { emit }) {\n // const {} = useFormItem(props)\n const attrs = useAttrs()\n const { scopedSlots } = useFormItemSlots(props,emit)\n const { rules } = useFormItemRules(props)\n const { props: childProps, disabled, ...formItemProps } = props // eslint-disable-line\n const isShowLabel = computed(() =>{\n if(!props.label) return false\n return props.isShowLabel\n })\n return () => {\n return (\n <ElFormItem\n class={[\n bem.b(),\n bem.is('hide-label', !isShowLabel.value),\n prepareClassNames(),\n ]}\n style={prepareStyles()}\n v-slots={scopedSlots}\n {...{\n ...prepareProps(formItemProps, [...expandFormItemPropsKeys]),\n rules,\n 'label-width': attrs['form-label-width'],\n }}\n // scopedSlots={scopedSlots}\n // label={label}\n // prop={prop}\n // rules={mergeRules}\n // {...{ props: formItemProps }}\n />\n )\n }\n },\n})\n"],"names":["bem","createNameSpace","name","inheritAttrs","props","formItemProps","setup","emit","attrs","useAttrs","scopedSlots","useFormItemSlots","rules","useFormItemRules","childProps","disabled","isShowLabel","computed","label","_createVNode","ElFormItem","_mergeProps","b","is","value","prepareClassNames","prepareStyles","prepareProps","expandFormItemPropsKeys"],"mappings":";;;;;;;AAYA,MAAMA,GAAAA,GAAMC,gBAAgB,WAAW,CAAA;AACvC,iDAA+B;AAAA,EAC7BC,IAAAA,EAAM,YAAA;AAAA,EACNC,YAAAA,EAAc,KAAA;AAAA,EACdC,KAAAA,EAAOC,aAAAA;AAAAA,EACPC,MAAMF,KAAAA,EAAO;AAAA,IAAEG;AAAAA,GAAK,EAAG;AAErB,IAAA,MAAMC,QAAQC,QAAAA,EAAS;AACvB,IAAA,MAAM;AAAA,MAAEC;AAAAA,KAAY,GAAIC,gBAAAA,CAAiBP,KAAAA,EAAMG,IAAI,CAAA;AACnD,IAAA,MAAM;AAAA,MAAEK;AAAAA,KAAM,GAAIC,iBAAiBT,KAAK,CAAA;AACxC,IAAA,MAAM;AAAA,MAAEA,KAAAA,EAAOU,UAAAA;AAAAA,MAAYC,QAAAA;AAAAA,MAAU,GAAGV;AAAAA,KAAc,GAAID,KAAAA;AAC1D,IAAA,MAAMY,WAAAA,GAAcC,SAAS,MAAK;AAChC,MAAA,IAAG,CAACb,KAAAA,CAAMc,KAAAA,EAAO,OAAO,KAAA;AACxB,MAAA,OAAOd,KAAAA,CAAMY,WAAAA;AAAAA,IACf,CAAC,CAAA;AACD,IAAA,OAAO,MAAM;AACX,MAAA,OAAAG,WAAAA,CAAAC,YAAAC,UAAAA,CAAA;AAAA,QAAA,OAAA,EAEW,CACLrB,GAAAA,CAAIsB,CAAAA,EAAE,EACNtB,GAAAA,CAAIuB,EAAAA,CAAG,YAAA,EAAc,CAACP,WAAAA,CAAYQ,KAAK,CAAA,EACvCC,mBAAmB,CAAA;AAAA,QACpB,SACMC,aAAAA;AAAc,OAAC,EAAA;AAAA,QAGpB,GAAGC,YAAAA,CAAatB,cAAAA,EAAe,CAAC,GAAGuB,uBAAuB,CAAC,CAAA;AAAA,QAC3DhB,KAAAA;AAAAA,QACA,aAAA,EAAeJ,MAAM,kBAAkB;AAAA,OAAC,GAJjCE,WAAW,CAAA;AAAA,IAa1B,CAAA;AAAA,EACF;AACF,CAAC,CAAA;;;;"}
|
|
@@ -58,6 +58,7 @@ export declare const EpHeader: {
|
|
|
58
58
|
readonly isShowAttachmentButton: boolean;
|
|
59
59
|
readonly fileList: Record<string, any>[];
|
|
60
60
|
readonly attachmentProps: {
|
|
61
|
+
readonly permission?: `${string}:${string}` | undefined;
|
|
61
62
|
readonly mode?: import("el-plus/es/hooks/use-navigation").PageMode | undefined;
|
|
62
63
|
readonly formatColumns?: Partial<import("element-plus").TableColumnCtx & {
|
|
63
64
|
[key: string]: any;
|
|
@@ -73,7 +74,6 @@ export declare const EpHeader: {
|
|
|
73
74
|
show?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
74
75
|
hide?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
75
76
|
}>[] | undefined;
|
|
76
|
-
readonly permission?: `${string}:${string}` | undefined;
|
|
77
77
|
readonly openType?: "dialog" | "normal" | undefined;
|
|
78
78
|
readonly isType?: boolean | undefined;
|
|
79
79
|
readonly isNote?: boolean | undefined;
|
|
@@ -146,6 +146,7 @@ export declare const EpHeader: {
|
|
|
146
146
|
readonly isShowAttachmentButton: boolean;
|
|
147
147
|
readonly fileList: Record<string, any>[];
|
|
148
148
|
readonly attachmentProps: {
|
|
149
|
+
readonly permission?: `${string}:${string}` | undefined;
|
|
149
150
|
readonly mode?: import("el-plus/es/hooks/use-navigation").PageMode | undefined;
|
|
150
151
|
readonly formatColumns?: Partial<import("element-plus").TableColumnCtx & {
|
|
151
152
|
[key: string]: any;
|
|
@@ -161,7 +162,6 @@ export declare const EpHeader: {
|
|
|
161
162
|
show?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
162
163
|
hide?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
163
164
|
}>[] | undefined;
|
|
164
|
-
readonly permission?: `${string}:${string}` | undefined;
|
|
165
165
|
readonly openType?: "dialog" | "normal" | undefined;
|
|
166
166
|
readonly isType?: boolean | undefined;
|
|
167
167
|
readonly isNote?: boolean | undefined;
|
|
@@ -219,6 +219,7 @@ export declare const EpHeader: {
|
|
|
219
219
|
readonly isShowAttachmentButton: boolean;
|
|
220
220
|
readonly fileList: Record<string, any>[];
|
|
221
221
|
readonly attachmentProps: {
|
|
222
|
+
readonly permission?: `${string}:${string}` | undefined;
|
|
222
223
|
readonly mode?: import("el-plus/es/hooks/use-navigation").PageMode | undefined;
|
|
223
224
|
readonly formatColumns?: Partial<import("element-plus").TableColumnCtx & {
|
|
224
225
|
[key: string]: any;
|
|
@@ -234,7 +235,6 @@ export declare const EpHeader: {
|
|
|
234
235
|
show?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
235
236
|
hide?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
236
237
|
}>[] | undefined;
|
|
237
|
-
readonly permission?: `${string}:${string}` | undefined;
|
|
238
238
|
readonly openType?: "dialog" | "normal" | undefined;
|
|
239
239
|
readonly isType?: boolean | undefined;
|
|
240
240
|
readonly isNote?: boolean | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import type { AttachmentProps } from 'el-plus/es/components/attachment';
|
|
3
3
|
import type { PageMode } from 'el-plus/es/hooks/use-navigation';
|
|
4
|
-
export type defaultButtonsProps = '
|
|
4
|
+
export type defaultButtonsProps = 'edit' | 'save' | 'cancel' | 'refresh' | 'auditLog';
|
|
5
5
|
export declare const headerProps: {
|
|
6
6
|
readonly mode: {
|
|
7
7
|
readonly type: PropType<PageMode>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"header.mjs","sources":["../../../../../../packages/components/header/src/header.ts"],"sourcesContent":["import type { ExtractPropTypes, PropType } from 'vue'\nimport { buttonsProps } from '@el-plus/components/buttons'\nimport type { AttachmentProps } from '@el-plus/components/attachment'\nimport type { PageMode } from '@el-plus/hooks/use-navigation'\nexport type defaultButtonsProps =\n | '
|
|
1
|
+
{"version":3,"file":"header.mjs","sources":["../../../../../../packages/components/header/src/header.ts"],"sourcesContent":["import type { ExtractPropTypes, PropType } from 'vue'\nimport { buttonsProps } from '@el-plus/components/buttons'\nimport type { AttachmentProps } from '@el-plus/components/attachment'\nimport type { PageMode } from '@el-plus/hooks/use-navigation'\nexport type defaultButtonsProps =\n | 'edit'\n | 'save'\n | 'cancel'\n | 'refresh'\n | 'auditLog'\n\nexport const headerProps = {\n // 页面模式\n mode: {\n type: String as PropType<PageMode>,\n },\n allowBack: {\n type: Boolean,\n default: true,\n },\n buttons: {\n ...buttonsProps.list,\n },\n name: String, // 权限前缀\n // 要展示的默认按钮\n defaultButtons: {\n type: Array as PropType<defaultButtonsProps[]>,\n },\n // 工作流id\n workflowId: String,\n // 是否显示附件按钮\n isShowAttachmentButton: {\n type: Boolean,\n default: false,\n },\n // 附件列表\n fileList: {\n type: Array as PropType<Record<string, any>[]>,\n default: () => [],\n },\n attachmentProps: {\n type: Object as PropType<AttachmentProps>,\n default: () => {},\n },\n} as const\nexport type HeaderProps = ExtractPropTypes<typeof headerProps>\n\nexport const headerEmits = {}\nexport type HeaderEmits = typeof headerEmits\n"],"names":[],"mappings":";;AAWO,MAAM,WAAA,GAAc;AAAA;AAAA,EAEzB,IAAA,EAAM;AAAA,IACJ,IAAA,EAAM;AAAA,GACR;AAAA,EACA,SAAA,EAAW;AAAA,IACT,IAAA,EAAM,OAAA;AAAA,IACN,OAAA,EAAS;AAAA,GACX;AAAA,EACA,OAAA,EAAS;AAAA,IACP,GAAG,YAAA,CAAa;AAAA,GAClB;AAAA,EACA,IAAA,EAAM,MAAA;AAAA;AAAA;AAAA,EAEN,cAAA,EAAgB;AAAA,IACd,IAAA,EAAM;AAAA,GACR;AAAA;AAAA,EAEA,UAAA,EAAY,MAAA;AAAA;AAAA,EAEZ,sBAAA,EAAwB;AAAA,IACtB,IAAA,EAAM,OAAA;AAAA,IACN,OAAA,EAAS;AAAA,GACX;AAAA;AAAA,EAEA,QAAA,EAAU;AAAA,IACR,IAAA,EAAM,KAAA;AAAA,IACN,OAAA,EAAS,MAAM;AAAC,GAClB;AAAA,EACA,eAAA,EAAiB;AAAA,IACf,IAAA,EAAM,MAAA;AAAA,IACN,SAAS,MAAM;AAAA,IAAC;AAAA;AAEpB;AAGO,MAAM,cAAc;;;;"}
|
|
@@ -74,6 +74,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
74
74
|
readonly isShowAttachmentButton: boolean;
|
|
75
75
|
readonly fileList: Record<string, any>[];
|
|
76
76
|
readonly attachmentProps: {
|
|
77
|
+
readonly permission?: `${string}:${string}` | undefined;
|
|
77
78
|
readonly mode?: import("el-plus/es/hooks").PageMode | undefined;
|
|
78
79
|
readonly formatColumns?: Partial<import("element-plus").TableColumnCtx & {
|
|
79
80
|
[key: string]: any;
|
|
@@ -89,7 +90,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
89
90
|
show?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
90
91
|
hide?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
91
92
|
}>[] | undefined;
|
|
92
|
-
readonly permission?: `${string}:${string}` | undefined;
|
|
93
93
|
readonly openType?: "dialog" | "normal" | undefined;
|
|
94
94
|
readonly isType?: boolean | undefined;
|
|
95
95
|
readonly isNote?: boolean | undefined;
|
|
@@ -129,8 +129,8 @@ export declare const EpInput: {
|
|
|
129
129
|
mouseleave: (evt: MouseEvent) => void;
|
|
130
130
|
"update:modelValue": (value: string) => void;
|
|
131
131
|
}, import("vue").PublicProps, {
|
|
132
|
-
id: string;
|
|
133
132
|
type: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string) | (() => import("element-plus").InputType) | ((new (...args: any[]) => string) | (() => import("element-plus").InputType))[], unknown, unknown>;
|
|
133
|
+
id: string;
|
|
134
134
|
disabled: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
135
135
|
modelValue: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
|
|
136
136
|
autofocus: boolean;
|
|
@@ -275,8 +275,8 @@ export declare const EpInput: {
|
|
|
275
275
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
276
276
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
277
277
|
}>, {}, {}, {}, {}, {
|
|
278
|
-
id: string;
|
|
279
278
|
type: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string) | (() => import("element-plus").InputType) | ((new (...args: any[]) => string) | (() => import("element-plus").InputType))[], unknown, unknown>;
|
|
279
|
+
id: string;
|
|
280
280
|
disabled: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
281
281
|
modelValue: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
|
|
282
282
|
autofocus: boolean;
|
|
@@ -431,8 +431,8 @@ export declare const EpInput: {
|
|
|
431
431
|
mouseleave: (evt: MouseEvent) => void;
|
|
432
432
|
"update:modelValue": (value: string) => void;
|
|
433
433
|
}, string, {
|
|
434
|
-
id: string;
|
|
435
434
|
type: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string) | (() => import("element-plus").InputType) | ((new (...args: any[]) => string) | (() => import("element-plus").InputType))[], unknown, unknown>;
|
|
435
|
+
id: string;
|
|
436
436
|
disabled: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
437
437
|
modelValue: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
|
|
438
438
|
autofocus: boolean;
|
|
@@ -235,8 +235,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
235
235
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
236
236
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
237
237
|
}>, {
|
|
238
|
-
id: string;
|
|
239
238
|
type: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("element-plus").InputType) | ((new (...args: any[]) => string) | (() => import("element-plus").InputType))[], unknown, unknown>;
|
|
239
|
+
id: string;
|
|
240
240
|
disabled: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
241
241
|
modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
|
|
242
242
|
autofocus: boolean;
|
|
@@ -5,7 +5,7 @@ export declare const EpLink: {
|
|
|
5
5
|
};
|
|
6
6
|
readonly type: {
|
|
7
7
|
readonly default: "primary";
|
|
8
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "success" | "
|
|
8
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "success" | "primary" | "warning" | "info" | "default" | "danger", unknown>>;
|
|
9
9
|
readonly required: false;
|
|
10
10
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
11
11
|
readonly __epPropKey: true;
|
|
@@ -27,8 +27,8 @@ export declare const EpLink: {
|
|
|
27
27
|
__epPropKey: true;
|
|
28
28
|
};
|
|
29
29
|
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
30
|
+
readonly type: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "success" | "primary" | "warning" | "info" | "default" | "danger", unknown>;
|
|
30
31
|
readonly target: string;
|
|
31
|
-
readonly type: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "success" | "default" | "primary" | "warning" | "info" | "danger", unknown>;
|
|
32
32
|
readonly disabled: boolean;
|
|
33
33
|
readonly underline: import("element-plus/es/utils/index.js").EpPropMergeType<readonly [BooleanConstructor, StringConstructor], boolean | "hover" | "always" | "never", unknown>;
|
|
34
34
|
readonly href: string;
|
|
@@ -45,7 +45,7 @@ export declare const EpLink: {
|
|
|
45
45
|
};
|
|
46
46
|
readonly type: {
|
|
47
47
|
readonly default: "primary";
|
|
48
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "success" | "
|
|
48
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "success" | "primary" | "warning" | "info" | "default" | "danger", unknown>>;
|
|
49
49
|
readonly required: false;
|
|
50
50
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
51
51
|
readonly __epPropKey: true;
|
|
@@ -67,8 +67,8 @@ export declare const EpLink: {
|
|
|
67
67
|
__epPropKey: true;
|
|
68
68
|
};
|
|
69
69
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
70
|
+
readonly type: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "success" | "primary" | "warning" | "info" | "default" | "danger", unknown>;
|
|
70
71
|
readonly target: string;
|
|
71
|
-
readonly type: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "success" | "default" | "primary" | "warning" | "info" | "danger", unknown>;
|
|
72
72
|
readonly disabled: boolean;
|
|
73
73
|
readonly underline: import("element-plus/es/utils/index.js").EpPropMergeType<readonly [BooleanConstructor, StringConstructor], boolean | "hover" | "always" | "never", unknown>;
|
|
74
74
|
readonly href: string;
|
|
@@ -82,7 +82,7 @@ export declare const EpLink: {
|
|
|
82
82
|
};
|
|
83
83
|
readonly type: {
|
|
84
84
|
readonly default: "primary";
|
|
85
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "success" | "
|
|
85
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "success" | "primary" | "warning" | "info" | "default" | "danger", unknown>>;
|
|
86
86
|
readonly required: false;
|
|
87
87
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
88
88
|
readonly __epPropKey: true;
|
|
@@ -104,8 +104,8 @@ export declare const EpLink: {
|
|
|
104
104
|
__epPropKey: true;
|
|
105
105
|
};
|
|
106
106
|
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
107
|
+
readonly type: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "success" | "primary" | "warning" | "info" | "default" | "danger", unknown>;
|
|
107
108
|
readonly target: string;
|
|
108
|
-
readonly type: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "success" | "default" | "primary" | "warning" | "info" | "danger", unknown>;
|
|
109
109
|
readonly disabled: boolean;
|
|
110
110
|
readonly underline: import("element-plus/es/utils/index.js").EpPropMergeType<readonly [BooleanConstructor, StringConstructor], boolean | "hover" | "always" | "never", unknown>;
|
|
111
111
|
readonly href: string;
|
|
@@ -5,7 +5,7 @@ export declare const linkProps: {
|
|
|
5
5
|
};
|
|
6
6
|
readonly type: {
|
|
7
7
|
readonly default: "primary";
|
|
8
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "
|
|
8
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "primary" | "warning" | "info" | "default" | "danger", unknown>>;
|
|
9
9
|
readonly required: false;
|
|
10
10
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
11
11
|
readonly __epPropKey: true;
|
|
@@ -8,7 +8,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
8
8
|
};
|
|
9
9
|
readonly type: {
|
|
10
10
|
readonly default: "primary";
|
|
11
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "
|
|
11
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "primary" | "warning" | "info" | "default" | "danger", unknown>>;
|
|
12
12
|
readonly required: false;
|
|
13
13
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
14
14
|
readonly __epPropKey: true;
|
|
@@ -35,7 +35,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
35
35
|
};
|
|
36
36
|
readonly type: {
|
|
37
37
|
readonly default: "primary";
|
|
38
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "
|
|
38
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "primary" | "warning" | "info" | "default" | "danger", unknown>>;
|
|
39
39
|
readonly required: false;
|
|
40
40
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
41
41
|
readonly __epPropKey: true;
|
|
@@ -57,8 +57,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
57
57
|
__epPropKey: true;
|
|
58
58
|
};
|
|
59
59
|
}>> & Readonly<{}>, {
|
|
60
|
+
readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "primary" | "warning" | "info" | "default" | "danger", unknown>;
|
|
60
61
|
readonly target: string;
|
|
61
|
-
readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "default" | "primary" | "warning" | "info" | "danger", unknown>;
|
|
62
62
|
readonly disabled: boolean;
|
|
63
63
|
readonly underline: import("element-plus/es/utils").EpPropMergeType<readonly [BooleanConstructor, StringConstructor], boolean | "hover" | "always" | "never", unknown>;
|
|
64
64
|
readonly href: string;
|
|
@@ -356,9 +356,10 @@ export declare const EpSearchListPage: {
|
|
|
356
356
|
readonly allowDragLastColumn: boolean;
|
|
357
357
|
readonly preserveExpandedContent: boolean;
|
|
358
358
|
readonly nativeScrollbar: boolean;
|
|
359
|
-
readonly method?: import("axios").Method | undefined;
|
|
360
|
-
readonly load?: ((row: any, treeNode: import("element-plus").TreeNode, resolve: (data: any[]) => void) => void) | undefined;
|
|
361
359
|
readonly width?: string | number | undefined;
|
|
360
|
+
readonly height?: string | number | undefined;
|
|
361
|
+
readonly load?: ((row: any, treeNode: import("element-plus").TreeNode, resolve: (data: any[]) => void) => void) | undefined;
|
|
362
|
+
readonly method?: import("axios").Method | undefined;
|
|
362
363
|
readonly api?: import("el-plus/es/types/axios").Api | undefined;
|
|
363
364
|
readonly reqData?: Record<string, any> | undefined;
|
|
364
365
|
readonly reqParams?: Record<string, any> | undefined;
|
|
@@ -391,7 +392,6 @@ export declare const EpSearchListPage: {
|
|
|
391
392
|
readonly selectable?: ((row: import("element-plus/es/components/table/src/table/defaults.js").DefaultRow, index: number) => boolean) | undefined;
|
|
392
393
|
readonly indexFormatter?: number | ((index: number) => number) | undefined;
|
|
393
394
|
readonly customColumnModule?: string | number | undefined;
|
|
394
|
-
readonly height?: string | number | undefined;
|
|
395
395
|
readonly maxHeight?: string | number | undefined;
|
|
396
396
|
readonly sumText?: string | undefined;
|
|
397
397
|
readonly currentRowKey?: string | number | undefined;
|
|
@@ -2350,8 +2350,8 @@ export declare const EpSearchListPage: {
|
|
|
2350
2350
|
readonly statusIcon: boolean;
|
|
2351
2351
|
readonly validateOnRuleChange: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2352
2352
|
readonly scrollToError: boolean;
|
|
2353
|
-
readonly modelValue?: Record<string, unknown> | undefined;
|
|
2354
2353
|
readonly rules?: Partial<Record<string, import("element-plus/es/utils/typescript.js").Arrayable<import("element-plus").FormItemRule>>> | undefined;
|
|
2354
|
+
readonly modelValue?: Record<string, unknown> | undefined;
|
|
2355
2355
|
readonly model?: Record<string, any> | undefined;
|
|
2356
2356
|
readonly onToggleStatus?: ((status: boolean) => any) | undefined;
|
|
2357
2357
|
readonly onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
@@ -3003,9 +3003,10 @@ export declare const EpSearchListPage: {
|
|
|
3003
3003
|
readonly allowDragLastColumn: boolean;
|
|
3004
3004
|
readonly preserveExpandedContent: boolean;
|
|
3005
3005
|
readonly nativeScrollbar: boolean;
|
|
3006
|
-
readonly method?: import("axios").Method | undefined;
|
|
3007
|
-
readonly load?: ((row: any, treeNode: import("element-plus").TreeNode, resolve: (data: any[]) => void) => void) | undefined;
|
|
3008
3006
|
readonly width?: string | number | undefined;
|
|
3007
|
+
readonly height?: string | number | undefined;
|
|
3008
|
+
readonly load?: ((row: any, treeNode: import("element-plus").TreeNode, resolve: (data: any[]) => void) => void) | undefined;
|
|
3009
|
+
readonly method?: import("axios").Method | undefined;
|
|
3009
3010
|
readonly api?: import("el-plus/es/types/axios").Api | undefined;
|
|
3010
3011
|
readonly reqData?: Record<string, any> | undefined;
|
|
3011
3012
|
readonly reqParams?: Record<string, any> | undefined;
|
|
@@ -3038,7 +3039,6 @@ export declare const EpSearchListPage: {
|
|
|
3038
3039
|
readonly selectable?: ((row: import("element-plus/es/components/table/src/table/defaults.js").DefaultRow, index: number) => boolean) | undefined;
|
|
3039
3040
|
readonly indexFormatter?: number | ((index: number) => number) | undefined;
|
|
3040
3041
|
readonly customColumnModule?: string | number | undefined;
|
|
3041
|
-
readonly height?: string | number | undefined;
|
|
3042
3042
|
readonly maxHeight?: string | number | undefined;
|
|
3043
3043
|
readonly sumText?: string | undefined;
|
|
3044
3044
|
readonly currentRowKey?: string | number | undefined;
|
|
@@ -4997,8 +4997,8 @@ export declare const EpSearchListPage: {
|
|
|
4997
4997
|
readonly statusIcon: boolean;
|
|
4998
4998
|
readonly validateOnRuleChange: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
4999
4999
|
readonly scrollToError: boolean;
|
|
5000
|
-
readonly modelValue?: Record<string, unknown> | undefined;
|
|
5001
5000
|
readonly rules?: Partial<Record<string, import("element-plus/es/utils/typescript.js").Arrayable<import("element-plus").FormItemRule>>> | undefined;
|
|
5001
|
+
readonly modelValue?: Record<string, unknown> | undefined;
|
|
5002
5002
|
readonly model?: Record<string, any> | undefined;
|
|
5003
5003
|
readonly onToggleStatus?: ((status: boolean) => any) | undefined;
|
|
5004
5004
|
readonly onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
@@ -5597,9 +5597,10 @@ export declare const EpSearchListPage: {
|
|
|
5597
5597
|
readonly allowDragLastColumn: boolean;
|
|
5598
5598
|
readonly preserveExpandedContent: boolean;
|
|
5599
5599
|
readonly nativeScrollbar: boolean;
|
|
5600
|
-
readonly method?: import("axios").Method | undefined;
|
|
5601
|
-
readonly load?: ((row: any, treeNode: import("element-plus").TreeNode, resolve: (data: any[]) => void) => void) | undefined;
|
|
5602
5600
|
readonly width?: string | number | undefined;
|
|
5601
|
+
readonly height?: string | number | undefined;
|
|
5602
|
+
readonly load?: ((row: any, treeNode: import("element-plus").TreeNode, resolve: (data: any[]) => void) => void) | undefined;
|
|
5603
|
+
readonly method?: import("axios").Method | undefined;
|
|
5603
5604
|
readonly api?: import("el-plus/es/types/axios").Api | undefined;
|
|
5604
5605
|
readonly reqData?: Record<string, any> | undefined;
|
|
5605
5606
|
readonly reqParams?: Record<string, any> | undefined;
|
|
@@ -5632,7 +5633,6 @@ export declare const EpSearchListPage: {
|
|
|
5632
5633
|
readonly selectable?: ((row: import("element-plus/es/components/table/src/table/defaults.js").DefaultRow, index: number) => boolean) | undefined;
|
|
5633
5634
|
readonly indexFormatter?: number | ((index: number) => number) | undefined;
|
|
5634
5635
|
readonly customColumnModule?: string | number | undefined;
|
|
5635
|
-
readonly height?: string | number | undefined;
|
|
5636
5636
|
readonly maxHeight?: string | number | undefined;
|
|
5637
5637
|
readonly sumText?: string | undefined;
|
|
5638
5638
|
readonly currentRowKey?: string | number | undefined;
|
|
@@ -7515,8 +7515,8 @@ export declare const EpSearchListPage: {
|
|
|
7515
7515
|
readonly statusIcon: boolean;
|
|
7516
7516
|
readonly validateOnRuleChange: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
7517
7517
|
readonly scrollToError: boolean;
|
|
7518
|
-
readonly modelValue?: Record<string, unknown> | undefined;
|
|
7519
7518
|
readonly rules?: Partial<Record<string, import("element-plus/es/utils/typescript.js").Arrayable<import("element-plus").FormItemRule>>> | undefined;
|
|
7519
|
+
readonly modelValue?: Record<string, unknown> | undefined;
|
|
7520
7520
|
readonly model?: Record<string, any> | undefined;
|
|
7521
7521
|
readonly onToggleStatus?: ((status: boolean) => any) | undefined;
|
|
7522
7522
|
readonly onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
@@ -309,9 +309,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
309
309
|
readonly allowDragLastColumn: boolean;
|
|
310
310
|
readonly preserveExpandedContent: boolean;
|
|
311
311
|
readonly nativeScrollbar: boolean;
|
|
312
|
-
readonly method?: import("axios").Method | undefined;
|
|
313
|
-
readonly load?: ((row: any, treeNode: import("element-plus").TreeNode, resolve: (data: any[]) => void) => void) | undefined;
|
|
314
312
|
readonly width?: string | number | undefined;
|
|
313
|
+
readonly height?: string | number | undefined;
|
|
314
|
+
readonly load?: ((row: any, treeNode: import("element-plus").TreeNode, resolve: (data: any[]) => void) => void) | undefined;
|
|
315
|
+
readonly method?: import("axios").Method | undefined;
|
|
315
316
|
readonly api?: import("el-plus/es/types").Api | undefined;
|
|
316
317
|
readonly reqData?: Record<string, any> | undefined;
|
|
317
318
|
readonly reqParams?: Record<string, any> | undefined;
|
|
@@ -344,7 +345,6 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
344
345
|
readonly selectable?: ((row: import("element-plus/es/components/table/src/table/defaults").DefaultRow, index: number) => boolean) | undefined;
|
|
345
346
|
readonly indexFormatter?: number | ((index: number) => number) | undefined;
|
|
346
347
|
readonly customColumnModule?: string | number | undefined;
|
|
347
|
-
readonly height?: string | number | undefined;
|
|
348
348
|
readonly maxHeight?: string | number | undefined;
|
|
349
349
|
readonly sumText?: string | undefined;
|
|
350
350
|
readonly currentRowKey?: string | number | undefined;
|
|
@@ -2227,8 +2227,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
2227
2227
|
readonly statusIcon: boolean;
|
|
2228
2228
|
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2229
2229
|
readonly scrollToError: boolean;
|
|
2230
|
-
readonly modelValue?: Record<string, unknown> | undefined;
|
|
2231
2230
|
readonly rules?: Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>> | undefined;
|
|
2231
|
+
readonly modelValue?: Record<string, unknown> | undefined;
|
|
2232
2232
|
readonly model?: Record<string, any> | undefined;
|
|
2233
2233
|
readonly onToggleStatus?: ((status: boolean) => any) | undefined;
|
|
2234
2234
|
readonly onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
@@ -307,9 +307,10 @@ export declare const useSearchListPage: (props: SearchListPageProps, config?: {}
|
|
|
307
307
|
readonly allowDragLastColumn: boolean;
|
|
308
308
|
readonly preserveExpandedContent: boolean;
|
|
309
309
|
readonly nativeScrollbar: boolean;
|
|
310
|
-
readonly method?: import("axios").Method | undefined;
|
|
311
|
-
readonly load?: ((row: any, treeNode: import("element-plus").TreeNode, resolve: (data: any[]) => void) => void) | undefined;
|
|
312
310
|
readonly width?: string | number | undefined;
|
|
311
|
+
readonly height?: string | number | undefined;
|
|
312
|
+
readonly load?: ((row: any, treeNode: import("element-plus").TreeNode, resolve: (data: any[]) => void) => void) | undefined;
|
|
313
|
+
readonly method?: import("axios").Method | undefined;
|
|
313
314
|
readonly api?: import("el-plus/es/types").Api | undefined;
|
|
314
315
|
readonly reqData?: Record<string, any> | undefined;
|
|
315
316
|
readonly reqParams?: Record<string, any> | undefined;
|
|
@@ -342,7 +343,6 @@ export declare const useSearchListPage: (props: SearchListPageProps, config?: {}
|
|
|
342
343
|
readonly selectable?: ((row: import("element-plus/es/components/table/src/table/defaults").DefaultRow, index: number) => boolean) | undefined;
|
|
343
344
|
readonly indexFormatter?: number | ((index: number) => number) | undefined;
|
|
344
345
|
readonly customColumnModule?: string | number | undefined;
|
|
345
|
-
readonly height?: string | number | undefined;
|
|
346
346
|
readonly maxHeight?: string | number | undefined;
|
|
347
347
|
readonly sumText?: string | undefined;
|
|
348
348
|
readonly currentRowKey?: string | number | undefined;
|
|
@@ -2225,8 +2225,8 @@ export declare const useSearchListPage: (props: SearchListPageProps, config?: {}
|
|
|
2225
2225
|
readonly statusIcon: boolean;
|
|
2226
2226
|
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2227
2227
|
readonly scrollToError: boolean;
|
|
2228
|
-
readonly modelValue?: Record<string, unknown> | undefined;
|
|
2229
2228
|
readonly rules?: Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>> | undefined;
|
|
2229
|
+
readonly modelValue?: Record<string, unknown> | undefined;
|
|
2230
2230
|
readonly model?: Record<string, any> | undefined;
|
|
2231
2231
|
readonly onToggleStatus?: ((status: boolean) => any) | undefined;
|
|
2232
2232
|
readonly onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
package/es/package.json.mjs
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
export type AgentType = 'claude-code' | 'qoder' | 'cursor' | 'windsurf' | 'trae' | 'trae-cn' | 'cline' | 'copilot' | 'gemini-cli' | 'opencode' | 'goose' | 'universal';
|
|
3
|
+
export interface AgentConfig {
|
|
4
|
+
name: string;
|
|
5
|
+
displayName: string;
|
|
6
|
+
skillsDir: string;
|
|
7
|
+
globalSkillsDir: string | undefined;
|
|
8
|
+
detectInstalled: () => Promise<boolean>;
|
|
9
|
+
installMode: 'skill' | 'rules';
|
|
10
|
+
rulesFile?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const agents: Record<AgentType, AgentConfig>;
|
|
13
|
+
export declare const installCommand: Command;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ParsedPageData } from './modao.js';
|
|
2
|
+
export declare function isImageFile(filePath: string): boolean;
|
|
3
|
+
export declare class ImageParseError extends Error {
|
|
4
|
+
constructor(message: string);
|
|
5
|
+
}
|
|
6
|
+
export declare function generateImageParsePrompt(filePath: string): string;
|
|
7
|
+
export declare function parseImage(filePath: string): Promise<ParsedPageData>;
|
|
8
|
+
export declare function parseAIEditorResponse(jsonResponse: string, filePath: string): ParsedPageData;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export type ListSectionType = 'form' | 'toolbar' | 'table' | 'dialog';
|
|
2
|
+
export type DetailSectionType = 'header' | 'title' | 'form' | 'table' | 'attachment' | 'footer' | 'dialog';
|
|
3
|
+
export type SectionType = ListSectionType | DetailSectionType;
|
|
4
|
+
export type ParseErrorType = 'access_denied' | 'content_invalid' | 'timeout' | 'network' | 'unknown';
|
|
5
|
+
export declare class ParseError extends Error {
|
|
6
|
+
type: ParseErrorType;
|
|
7
|
+
needsBrowserAgent: boolean;
|
|
8
|
+
constructor(message: string, type: ParseErrorType, needsBrowserAgent?: boolean);
|
|
9
|
+
}
|
|
10
|
+
export type PageType = 'list' | 'detail' | 'mixed';
|
|
11
|
+
export type FormFieldType = 'input' | 'select' | 'date' | 'dateRange' | 'textarea' | 'number' | 'radio' | 'checkbox' | 'unknown';
|
|
12
|
+
export declare const VALID_FORM_FIELD_TYPES: FormFieldType[];
|
|
13
|
+
export interface FormField {
|
|
14
|
+
label: string;
|
|
15
|
+
fieldType: FormFieldType;
|
|
16
|
+
}
|
|
17
|
+
export interface PageSection {
|
|
18
|
+
type: SectionType;
|
|
19
|
+
title?: string;
|
|
20
|
+
labels: string[];
|
|
21
|
+
buttons: string[];
|
|
22
|
+
tableHeaders: string[];
|
|
23
|
+
formFields?: FormField[];
|
|
24
|
+
}
|
|
25
|
+
export interface ParsedPageData {
|
|
26
|
+
title: string;
|
|
27
|
+
sections: PageSection[];
|
|
28
|
+
pageType: PageType;
|
|
29
|
+
rawText: string;
|
|
30
|
+
url: string;
|
|
31
|
+
}
|
|
32
|
+
export declare class ModaoParser {
|
|
33
|
+
private browser;
|
|
34
|
+
private page;
|
|
35
|
+
private checkAccessDenied;
|
|
36
|
+
private checkPageContentValid;
|
|
37
|
+
init(): Promise<void>;
|
|
38
|
+
close(): Promise<void>;
|
|
39
|
+
parse(url: string): Promise<ParsedPageData>;
|
|
40
|
+
private delay;
|
|
41
|
+
}
|
|
42
|
+
export declare function parseModaoPage(url: string): Promise<ParsedPageData>;
|
|
43
|
+
export interface ParseResult {
|
|
44
|
+
success: boolean;
|
|
45
|
+
data?: ParsedPageData;
|
|
46
|
+
needsBrowserAgent?: boolean;
|
|
47
|
+
error?: {
|
|
48
|
+
type: ParseErrorType;
|
|
49
|
+
message: string;
|
|
50
|
+
};
|
|
51
|
+
url: string;
|
|
52
|
+
}
|
|
53
|
+
export declare function parseModaoPageWithFallback(url: string): Promise<ParseResult>;
|
|
54
|
+
export declare function generateBrowserAgentPrompt(url: string): string;
|