@lingshugroup/web-plus 1.2.1 → 1.3.1
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/lib/index.css +1 -1
- package/lib/index.css.br +0 -0
- package/lib/index.css.gz +0 -0
- package/lib/node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/xlsx/index.cjs +38 -0
- package/lib/node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/xlsx/index.js +21633 -0
- package/lib/node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/xlsx/index.js.br +0 -0
- package/lib/node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/xlsx/index.js.gz +0 -0
- package/lib/packages/ls-components/components/_hooks/usePreviewHook/index.cjs +1 -1
- package/lib/packages/ls-components/components/_hooks/usePreviewHook/index.js +23 -23
- package/lib/packages/ls-components/components/_hooks/usePreviewHook/index.js.br +0 -0
- package/lib/packages/ls-components/components/_hooks/usePreviewHook/index.js.gz +0 -0
- package/lib/packages/ls-components/components/_hooks/useRouterHook/index.cjs +1 -1
- package/lib/packages/ls-components/components/_hooks/useRouterHook/index.js +38 -37
- package/lib/packages/ls-components/components/_hooks/useRouterHook/index.js.br +0 -0
- package/lib/packages/ls-components/components/_hooks/useRouterHook/index.js.gz +0 -0
- package/lib/packages/ls-components/components/backTop/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/backTop/Index.vue/index.js +1 -1
- package/lib/packages/ls-components/components/bellMessage/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/bellMessage/Index.vue/index.js +2 -2
- package/lib/packages/ls-components/components/breadcrumb/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/breadcrumb/Index.vue/index.js +3 -3
- package/lib/packages/ls-components/components/button/Button.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/button/Button.vue/index.js +1 -1
- package/lib/packages/ls-components/components/chart/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/chart/Index.vue/index.js +1 -1
- package/lib/packages/ls-components/components/chart/config/index/index.js +6 -1
- package/lib/packages/ls-components/components/chart/config/template/bar/index.cjs +1 -1
- package/lib/packages/ls-components/components/chart/config/template/bar/index.js +76 -71
- package/lib/packages/ls-components/components/chart/config/template/bar/index.js.br +0 -0
- package/lib/packages/ls-components/components/chart/config/template/bar/index.js.gz +0 -0
- package/lib/packages/ls-components/components/chart/config/template/line/index.cjs +1 -1
- package/lib/packages/ls-components/components/chart/config/template/line/index.js +57 -57
- package/lib/packages/ls-components/components/chart/config/template/line/index.js.br +0 -0
- package/lib/packages/ls-components/components/chart/config/template/line/index.js.gz +0 -0
- package/lib/packages/ls-components/components/descriptions/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/descriptions/Index.vue/index.js +2 -2
- package/lib/packages/ls-components/components/descriptions/Index.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/descriptions/Index.vue/index2.js +2 -2
- package/lib/packages/ls-components/components/descriptions/Index.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/descriptions/Index.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/dialog/types/index.cjs +1 -1
- package/lib/packages/ls-components/components/dialog/types/index.js +16 -9
- package/lib/packages/ls-components/components/icon/types/index.cjs +1 -1
- package/lib/packages/ls-components/components/icon/types/index.js +42 -3
- package/lib/packages/ls-components/components/icon/types/index.js.br +0 -0
- package/lib/packages/ls-components/components/icon/types/index.js.gz +0 -0
- package/lib/packages/ls-components/components/menu/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/menu/Index.vue/index.js +1 -1
- package/lib/packages/ls-components/components/menu/Index.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/menu/Index.vue/index2.js +6 -6
- package/lib/packages/ls-components/components/menu/Index.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/menu/Index.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/menu/types/index.cjs +1 -1
- package/lib/packages/ls-components/components/menu/types/index.js +6 -6
- package/lib/packages/ls-components/components/preview/components/Image.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/preview/components/Image.vue/index.js +2 -2
- package/lib/packages/ls-components/components/preview/components/Image.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/preview/components/Image.vue/index2.js +43 -42
- package/lib/packages/ls-components/components/preview/components/Image.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/preview/components/Image.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_docx/Docx.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/preview_docx/Docx.vue/index.js +1 -1
- package/lib/packages/ls-components/components/preview_docx/Docx.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/preview_docx/Docx.vue/index2.js +1 -1
- package/lib/packages/ls-components/components/preview_docx/Docx.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/preview_docx/Docx.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_docx/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/preview_docx/Index.vue/index.js +2 -2
- package/lib/packages/ls-components/components/preview_docx/Index.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/preview_docx/Index.vue/index2.js +1 -1
- package/lib/packages/ls-components/components/preview_docx/Index.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/preview_docx/Index.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_image/Image.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/preview_image/Image.vue/index.js +1 -1
- package/lib/packages/ls-components/components/preview_image/Image.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/preview_image/Image.vue/index2.js +1 -1
- package/lib/packages/ls-components/components/preview_image/Image.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/preview_image/Image.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_image/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/preview_image/Index.vue/index.js +2 -2
- package/lib/packages/ls-components/components/preview_image/Index.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/preview_image/Index.vue/index2.js +1 -1
- package/lib/packages/ls-components/components/preview_image/Index.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/preview_image/Index.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_pdf/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/preview_pdf/Index.vue/index.js +2 -2
- package/lib/packages/ls-components/components/preview_pdf/Index.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/preview_pdf/Index.vue/index2.js +1 -1
- package/lib/packages/ls-components/components/preview_pdf/Index.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/preview_pdf/Index.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_xlsx/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/preview_xlsx/Index.vue/index.js +1 -1
- package/lib/packages/ls-components/components/preview_xlsx/Index.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/preview_xlsx/Index.vue/index2.js +1 -1
- package/lib/packages/ls-components/components/preview_xlsx/Index.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/preview_xlsx/Index.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_xlsx/Xlsx.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/preview_xlsx/Xlsx.vue/index.js +2 -2
- package/lib/packages/ls-components/components/preview_xlsx/Xlsx.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/preview_xlsx/Xlsx.vue/index2.js +172 -153
- package/lib/packages/ls-components/components/preview_xlsx/Xlsx.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/preview_xlsx/Xlsx.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_xlsx/config/index.cjs +1 -0
- package/lib/packages/ls-components/components/preview_xlsx/config/index.js +115 -0
- package/lib/packages/ls-components/components/preview_xlsx/config/index.js.br +0 -0
- package/lib/packages/ls-components/components/preview_xlsx/config/index.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_xlsx/types/index.cjs +1 -1
- package/lib/packages/ls-components/components/preview_xlsx/types/index.js +6 -2
- package/lib/packages/ls-components/components/tree/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/tree/Index.vue/index.js +2 -2
- package/lib/packages/ls-components/components/tree/Index.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/tree/Index.vue/index2.js +83 -75
- package/lib/packages/ls-components/components/tree/Index.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/tree/Index.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/upload/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/upload/Index.vue/index.js +2 -2
- package/lib/packages/ls-components/components/upload/Index.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/upload/Index.vue/index2.js +1 -1
- package/lib/packages/ls-components/components/upload/Index.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/upload/Index.vue/index2.js.gz +0 -0
- package/lib/types/components/_constants/aria.d.ts +17 -0
- package/lib/types/components/_constants/index.d.ts +2 -0
- package/lib/types/components/_constants/previewType.d.ts +22 -0
- package/lib/types/components/_constants/token.d.ts +1 -0
- package/lib/types/components/_directives/auth.d.ts +12 -0
- package/lib/types/components/_directives/index.d.ts +2 -0
- package/lib/types/components/_hooks/index.d.ts +6 -0
- package/lib/types/components/_hooks/useColorthiefHook.d.ts +3 -0
- package/lib/types/components/_hooks/useDelayLoader.d.ts +4 -0
- package/lib/types/components/_hooks/useGlobalConfig.d.ts +1 -0
- package/lib/types/components/_hooks/useNamespace.d.ts +20 -0
- package/lib/types/components/_hooks/useOptionHook.d.ts +14 -0
- package/lib/types/components/_hooks/usePreviewHook.d.ts +6 -0
- package/lib/types/components/_hooks/useRouterHook.d.ts +9376 -0
- package/lib/types/components/_hooks/useSelectOptionsHook.d.ts +3 -0
- package/lib/types/components/_hooks/useTableListHook.d.ts +23 -0
- package/lib/types/components/_hooks/useWSHook.d.ts +7 -0
- package/lib/types/components/_hooks/useZIndex.d.ts +5 -0
- package/lib/types/components/_types/index.d.ts +9 -0
- package/lib/types/components/_utils/check.d.ts +55 -0
- package/lib/types/components/_utils/config.d.ts +7 -0
- package/lib/types/components/_utils/dom.d.ts +2 -0
- package/lib/types/components/_utils/index.d.ts +3 -0
- package/lib/types/components/_utils/power.d.ts +1 -0
- package/lib/types/components/_utils/runtime.d.ts +31 -0
- package/lib/types/components/_utils/types.d.ts +149 -0
- package/lib/types/components/_utils/utils.d.ts +44 -0
- package/lib/types/components/_utils/validate.d.ts +96 -0
- package/lib/types/components/backTop/Index.vue.d.ts +27 -0
- package/lib/types/components/backTop/index.d.ts +34 -0
- package/lib/types/components/backTop/types.d.ts +4 -0
- package/lib/types/components/bellMessage/Index.vue.d.ts +26 -0
- package/lib/types/components/bellMessage/index.d.ts +61 -0
- package/lib/types/components/bellMessage/types.d.ts +24 -0
- package/lib/types/components/breadcrumb/Index.vue.d.ts +17 -0
- package/lib/types/components/breadcrumb/index.d.ts +43 -0
- package/lib/types/components/breadcrumb/types.d.ts +12 -0
- package/lib/types/components/button/Button.vue.d.ts +27 -0
- package/lib/types/components/button/ButtonGroup.vue.d.ts +31 -0
- package/lib/types/components/button/index.d.ts +79 -0
- package/lib/types/components/button/types.d.ts +10 -0
- package/lib/types/components/chart/Index.vue.d.ts +30 -0
- package/lib/types/components/chart/config/base.d.ts +36 -0
- package/lib/types/components/chart/config/index.d.ts +12 -0
- package/lib/types/components/chart/config/template/bar.d.ts +1 -0
- package/lib/types/components/chart/config/template/line.d.ts +1 -0
- package/lib/types/components/chart/config/template/pie.d.ts +2 -0
- package/lib/types/components/chart/index.d.ts +69 -0
- package/lib/types/components/chart/types.d.ts +54 -0
- package/lib/types/components/confirm/Index.vue.d.ts +87 -0
- package/lib/types/components/confirm/index.d.ts +182 -0
- package/lib/types/components/confirm/types.d.ts +28 -0
- package/lib/types/components/containerBox/Index.vue.d.ts +30 -0
- package/lib/types/components/containerBox/index.d.ts +40 -0
- package/lib/types/components/containerBox/types.d.ts +5 -0
- package/lib/types/components/descriptions/Index.vue.d.ts +38 -0
- package/lib/types/components/descriptions/index.d.ts +51 -0
- package/lib/types/components/descriptions/types.d.ts +22 -0
- package/lib/types/components/dialog/Index.vue.d.ts +387 -0
- package/lib/types/components/dialog/index.d.ts +159 -0
- package/lib/types/components/dialog/types.d.ts +35 -0
- package/lib/types/components/editor/Index.vue.d.ts +37 -0
- package/lib/types/components/editor/index.d.ts +88 -0
- package/lib/types/components/editor/types.d.ts +15 -0
- package/lib/types/components/form/Form.vue.d.ts +667 -0
- package/lib/types/components/form/FormItem.vue.d.ts +1367 -0
- package/lib/types/components/form/index.d.ts +2635 -0
- package/lib/types/components/form/types.d.ts +112 -0
- package/lib/types/components/icon/Index.vue.d.ts +46 -0
- package/lib/types/components/icon/index.d.ts +76 -0
- package/lib/types/components/icon/types.d.ts +54 -0
- package/lib/types/components/index.d.ts +4 -0
- package/lib/types/components/jsonEditor/Index.vue.d.ts +13 -0
- package/lib/types/components/jsonEditor/index.d.ts +36 -0
- package/lib/types/components/jsonEditor/types.d.ts +4 -0
- package/lib/types/components/layout/Index.vue.d.ts +54 -0
- package/lib/types/components/layout/components/CommandList.vue.d.ts +103 -0
- package/lib/types/components/layout/components/Header.vue.d.ts +119 -0
- package/lib/types/components/layout/index.d.ts +81 -0
- package/lib/types/components/layout/types.d.ts +55 -0
- package/lib/types/components/list/List.vue.d.ts +1630 -0
- package/lib/types/components/list/index.d.ts +617 -0
- package/lib/types/components/list/types.d.ts +141 -0
- package/lib/types/components/live/Index.vue.d.ts +22 -0
- package/lib/types/components/live/index.d.ts +54 -0
- package/lib/types/components/live/types.d.ts +7 -0
- package/lib/types/components/map/Index.vue.d.ts +137 -0
- package/lib/types/components/map/index.d.ts +241 -0
- package/lib/types/components/map/types.d.ts +61 -0
- package/lib/types/components/menu/Index.vue.d.ts +193 -0
- package/lib/types/components/menu/MenuItem.vue.d.ts +59 -0
- package/lib/types/components/menu/index.d.ts +141 -0
- package/lib/types/components/menu/types.d.ts +100 -0
- package/lib/types/components/preview/Index.vue.d.ts +67 -0
- package/lib/types/components/preview/components/Docx.vue.d.ts +12 -0
- package/lib/types/components/preview/components/Image.vue.d.ts +63 -0
- package/lib/types/components/preview/components/Pdf.vue.d.ts +16 -0
- package/lib/types/components/preview/components/Xlsx.vue.d.ts +21 -0
- package/lib/types/components/preview/components/pdfs/Annotation.vue.d.ts +22 -0
- package/lib/types/components/preview/components/pdfs/PdfItem.vue.d.ts +58 -0
- package/lib/types/components/preview/components/pdfs/Text.vue.d.ts +17 -0
- package/lib/types/components/preview/components/pdfs/XFA.vue.d.ts +13 -0
- package/lib/types/components/preview/components/pdfs/annotations.d.ts +5 -0
- package/lib/types/components/preview/components/pdfs/destination.d.ts +7 -0
- package/lib/types/components/preview/components/pdfs/highlight.d.ts +6 -0
- package/lib/types/components/preview/components/pdfs/linkService.d.ts +71 -0
- package/lib/types/components/preview/components/pdfs/miscellaneous.d.ts +3 -0
- package/lib/types/components/preview/composable.d.ts +30 -0
- package/lib/types/components/preview/index.d.ts +130 -0
- package/lib/types/components/preview/types.d.ts +143 -0
- package/lib/types/components/preview_docx/Docx.vue.d.ts +12 -0
- package/lib/types/components/preview_docx/Index.vue.d.ts +61 -0
- package/lib/types/components/preview_docx/index.d.ts +121 -0
- package/lib/types/components/preview_docx/types.d.ts +5 -0
- package/lib/types/components/preview_image/Image.vue.d.ts +64 -0
- package/lib/types/components/preview_image/Index.vue.d.ts +76 -0
- package/lib/types/components/preview_image/index.d.ts +125 -0
- package/lib/types/components/preview_image/types.d.ts +25 -0
- package/lib/types/components/preview_pdf/Index.vue.d.ts +61 -0
- package/lib/types/components/preview_pdf/Pdf.vue.d.ts +16 -0
- package/lib/types/components/preview_pdf/composable.d.ts +30 -0
- package/lib/types/components/preview_pdf/index.d.ts +121 -0
- package/lib/types/components/preview_pdf/pdfs/Annotation.vue.d.ts +22 -0
- package/lib/types/components/preview_pdf/pdfs/PdfItem.vue.d.ts +58 -0
- package/lib/types/components/preview_pdf/pdfs/Text.vue.d.ts +17 -0
- package/lib/types/components/preview_pdf/pdfs/XFA.vue.d.ts +13 -0
- package/lib/types/components/preview_pdf/pdfs/annotations.d.ts +5 -0
- package/lib/types/components/preview_pdf/pdfs/destination.d.ts +7 -0
- package/lib/types/components/preview_pdf/pdfs/highlight.d.ts +6 -0
- package/lib/types/components/preview_pdf/pdfs/linkService.d.ts +71 -0
- package/lib/types/components/preview_pdf/pdfs/miscellaneous.d.ts +3 -0
- package/lib/types/components/preview_pdf/types.d.ts +79 -0
- package/lib/types/components/preview_xlsx/Index.vue.d.ts +61 -0
- package/lib/types/components/preview_xlsx/Xlsx.vue.d.ts +24 -0
- package/lib/types/components/preview_xlsx/config.d.ts +66 -0
- package/lib/types/components/preview_xlsx/index.d.ts +121 -0
- package/lib/types/components/preview_xlsx/types.d.ts +21 -0
- package/lib/types/components/print/Index.vue.d.ts +34 -0
- package/lib/types/components/print/index.d.ts +52 -0
- package/lib/types/components/print/types.d.ts +10 -0
- package/lib/types/components/table/Table.vue.d.ts +640 -0
- package/lib/types/components/table/index.d.ts +343 -0
- package/lib/types/components/table/types.d.ts +63 -0
- package/lib/types/components/tree/Index.vue.d.ts +83 -0
- package/lib/types/components/tree/index.d.ts +159 -0
- package/lib/types/components/tree/types.d.ts +35 -0
- package/lib/types/components/upload/Index.vue.d.ts +456 -0
- package/lib/types/components/upload/index.d.ts +3 -0
- package/lib/types/components/upload/types.d.ts +54 -0
- package/package.json +2 -1
- package/lib/flowBox/index.cjs +0 -1
- package/lib/flowBox/index.js +0 -12
- package/lib/packages/ls-components/components/flowBox/Index.vue/index.cjs +0 -1
- package/lib/packages/ls-components/components/flowBox/Index.vue/index.js +0 -7
- package/lib/packages/ls-components/components/flowBox/Index.vue/index2.cjs +0 -1
- package/lib/packages/ls-components/components/flowBox/Index.vue/index2.js +0 -125
- package/lib/packages/ls-components/components/flowBox/Index.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/flowBox/Index.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/flowBox/types/index.cjs +0 -1
- package/lib/packages/ls-components/components/flowBox/types/index.js +0 -32
- /package/lib/packages/ls-components/components/_constants/{prviewType → previewType}/index.cjs +0 -0
- /package/lib/packages/ls-components/components/_constants/{prviewType → previewType}/index.js +0 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { EpPropFinalized } from '../_utils/types';
|
|
2
|
+
export type MarkerAnchorType = 'top-left' | 'top-center' | 'top-right' | 'middle-left' | 'center' | 'middle-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
|
|
3
|
+
export declare const lsMapProps: {
|
|
4
|
+
securityCode: {
|
|
5
|
+
readonly type: globalThis.PropType<string>;
|
|
6
|
+
readonly required: false;
|
|
7
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
8
|
+
__epPropKey: true;
|
|
9
|
+
};
|
|
10
|
+
mapKey: {
|
|
11
|
+
readonly type: globalThis.PropType<string>;
|
|
12
|
+
readonly required: false;
|
|
13
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
14
|
+
__epPropKey: true;
|
|
15
|
+
};
|
|
16
|
+
width: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
17
|
+
height: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
18
|
+
searchWord: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
19
|
+
center: EpPropFinalized<(ArrayConstructor | null)[], unknown, unknown, () => null, boolean>;
|
|
20
|
+
zoom: EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
21
|
+
zooms: EpPropFinalized<{
|
|
22
|
+
(arrayLength: number): number[];
|
|
23
|
+
(...items: number[]): number[];
|
|
24
|
+
new (arrayLength: number): number[];
|
|
25
|
+
new (...items: number[]): number[];
|
|
26
|
+
isArray(arg: any): arg is any[];
|
|
27
|
+
readonly prototype: any[];
|
|
28
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
29
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
30
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
31
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
32
|
+
of<T>(...items: T[]): T[];
|
|
33
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
34
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
35
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
36
|
+
}, unknown, unknown, number[], boolean>;
|
|
37
|
+
areaColor: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
38
|
+
showMarker: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
39
|
+
markerList: EpPropFinalized<{
|
|
40
|
+
(arrayLength: number): any[];
|
|
41
|
+
(...items: any[]): any[];
|
|
42
|
+
new (arrayLength: number): any[];
|
|
43
|
+
new (...items: any[]): any[];
|
|
44
|
+
isArray(arg: any): arg is any[];
|
|
45
|
+
readonly prototype: any[];
|
|
46
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
47
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
48
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
49
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
50
|
+
of<T>(...items: T[]): T[];
|
|
51
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
52
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
53
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
54
|
+
}, unknown, unknown, () => never[], boolean>;
|
|
55
|
+
markerIcon: EpPropFinalized<ObjectConstructor, unknown, unknown, null, boolean>;
|
|
56
|
+
markerIconSize: EpPropFinalized<ArrayConstructor, unknown, unknown, () => number[], boolean>;
|
|
57
|
+
showMarkerDialog: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
58
|
+
markerDialogContent: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
59
|
+
markerDialogAnchor: EpPropFinalized<(new (...args: any[]) => "top-left" | "top-center" | "top-right" | "middle-left" | "center" | "middle-right" | "bottom-left" | "bottom-center" | "bottom-right") | (() => MarkerAnchorType) | (((new (...args: any[]) => "top-left" | "top-center" | "top-right" | "middle-left" | "center" | "middle-right" | "bottom-left" | "bottom-center" | "bottom-right") | (() => MarkerAnchorType)) | null)[], unknown, unknown, string, boolean>;
|
|
60
|
+
markerDialogOffset: EpPropFinalized<ArrayConstructor, unknown, unknown, () => number[], boolean>;
|
|
61
|
+
};
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { MenuBaseType } from './types';
|
|
2
|
+
import { CreateComponentPublicInstanceWithMixins, ComputedOptions, MethodOptions, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent, PublicProps } from 'vue';
|
|
3
|
+
import { EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
|
|
4
|
+
import { MenuItemClicked } from 'element-plus';
|
|
5
|
+
import { NavigationFailure } from 'vue-router';
|
|
6
|
+
import { EpPropFinalized, EpPropMergeType } from '../_utils/types';
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: Partial<Record<string, (_: {}) => any>>;
|
|
10
|
+
refs: {
|
|
11
|
+
lsComMenu: CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
12
|
+
readonly mode: EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "vertical", boolean>;
|
|
13
|
+
readonly defaultActive: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
14
|
+
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
15
|
+
readonly uniqueOpened: BooleanConstructor;
|
|
16
|
+
readonly router: BooleanConstructor;
|
|
17
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
|
|
18
|
+
readonly collapse: BooleanConstructor;
|
|
19
|
+
readonly backgroundColor: StringConstructor;
|
|
20
|
+
readonly textColor: StringConstructor;
|
|
21
|
+
readonly activeTextColor: StringConstructor;
|
|
22
|
+
readonly closeOnClickOutside: BooleanConstructor;
|
|
23
|
+
readonly collapseTransition: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
24
|
+
readonly ellipsis: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
25
|
+
readonly popperOffset: EpPropFinalized<NumberConstructor, unknown, unknown, 6, boolean>;
|
|
26
|
+
readonly ellipsisIcon: EpPropFinalized<(new (...args: any[]) => (string | globalThis.Component<any, any, any, ComputedOptions, MethodOptions>) & {}) | (() => string | globalThis.Component<any, any, any, ComputedOptions, MethodOptions>) | ((new (...args: any[]) => (string | globalThis.Component<any, any, any, ComputedOptions, MethodOptions>) & {}) | (() => string | globalThis.Component<any, any, any, ComputedOptions, MethodOptions>))[], unknown, unknown, () => any, boolean>;
|
|
27
|
+
readonly popperEffect: EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, "dark", boolean>;
|
|
28
|
+
readonly popperClass: StringConstructor;
|
|
29
|
+
readonly showTimeout: EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
30
|
+
readonly hideTimeout: EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
31
|
+
}>> & {
|
|
32
|
+
onSelect?: ((index: string, indexPath: string[], item: MenuItemClicked, routerResult?: Promise<void | NavigationFailure> | undefined) => any) | undefined;
|
|
33
|
+
onClose?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
34
|
+
onOpen?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
35
|
+
}, () => globalThis.VNode< RendererNode, RendererElement, {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
38
|
+
close: (index: string, indexPath: string[]) => boolean;
|
|
39
|
+
open: (index: string, indexPath: string[]) => boolean;
|
|
40
|
+
select: (index: string, indexPath: string[], item: MenuItemClicked, routerResult?: Promise<void | NavigationFailure> | undefined) => boolean;
|
|
41
|
+
}, VNodeProps & AllowedComponentProps & ComponentCustomProps, {
|
|
42
|
+
readonly ellipsis: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
43
|
+
readonly collapse: boolean;
|
|
44
|
+
readonly mode: EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
45
|
+
readonly defaultActive: string;
|
|
46
|
+
readonly defaultOpeneds: string[];
|
|
47
|
+
readonly menuTrigger: EpPropMergeType<StringConstructor, "click" | "hover", unknown>;
|
|
48
|
+
readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
49
|
+
readonly popperOffset: number;
|
|
50
|
+
readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | globalThis.Component<any, any, any, ComputedOptions, MethodOptions>) & {}) | (() => string | globalThis.Component<any, any, any, ComputedOptions, MethodOptions>) | ((new (...args: any[]) => (string | globalThis.Component<any, any, any, ComputedOptions, MethodOptions>) & {}) | (() => string | globalThis.Component<any, any, any, ComputedOptions, MethodOptions>))[], unknown, unknown>;
|
|
51
|
+
readonly popperEffect: string;
|
|
52
|
+
readonly showTimeout: number;
|
|
53
|
+
readonly hideTimeout: number;
|
|
54
|
+
readonly uniqueOpened: boolean;
|
|
55
|
+
readonly router: boolean;
|
|
56
|
+
readonly closeOnClickOutside: boolean;
|
|
57
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
58
|
+
P: {};
|
|
59
|
+
B: {};
|
|
60
|
+
D: {};
|
|
61
|
+
C: {};
|
|
62
|
+
M: {};
|
|
63
|
+
Defaults: {};
|
|
64
|
+
}, Readonly<globalThis.ExtractPropTypes<{
|
|
65
|
+
readonly mode: EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "vertical", boolean>;
|
|
66
|
+
readonly defaultActive: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
67
|
+
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
68
|
+
readonly uniqueOpened: BooleanConstructor;
|
|
69
|
+
readonly router: BooleanConstructor;
|
|
70
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
|
|
71
|
+
readonly collapse: BooleanConstructor;
|
|
72
|
+
readonly backgroundColor: StringConstructor;
|
|
73
|
+
readonly textColor: StringConstructor;
|
|
74
|
+
readonly activeTextColor: StringConstructor;
|
|
75
|
+
readonly closeOnClickOutside: BooleanConstructor;
|
|
76
|
+
readonly collapseTransition: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
77
|
+
readonly ellipsis: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
78
|
+
readonly popperOffset: EpPropFinalized<NumberConstructor, unknown, unknown, 6, boolean>;
|
|
79
|
+
readonly ellipsisIcon: EpPropFinalized<(new (...args: any[]) => (string | globalThis.Component<any, any, any, ComputedOptions, MethodOptions>) & {}) | (() => string | globalThis.Component<any, any, any, ComputedOptions, MethodOptions>) | ((new (...args: any[]) => (string | globalThis.Component<any, any, any, ComputedOptions, MethodOptions>) & {}) | (() => string | globalThis.Component<any, any, any, ComputedOptions, MethodOptions>))[], unknown, unknown, () => any, boolean>;
|
|
80
|
+
readonly popperEffect: EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, "dark", boolean>;
|
|
81
|
+
readonly popperClass: StringConstructor;
|
|
82
|
+
readonly showTimeout: EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
83
|
+
readonly hideTimeout: EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
84
|
+
}>> & {
|
|
85
|
+
onSelect?: ((index: string, indexPath: string[], item: MenuItemClicked, routerResult?: Promise<void | NavigationFailure> | undefined) => any) | undefined;
|
|
86
|
+
onClose?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
87
|
+
onOpen?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
88
|
+
}, () => globalThis.VNode< RendererNode, RendererElement, {
|
|
89
|
+
[key: string]: any;
|
|
90
|
+
}>, {}, {}, {}, {
|
|
91
|
+
readonly ellipsis: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
92
|
+
readonly collapse: boolean;
|
|
93
|
+
readonly mode: EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
94
|
+
readonly defaultActive: string;
|
|
95
|
+
readonly defaultOpeneds: string[];
|
|
96
|
+
readonly menuTrigger: EpPropMergeType<StringConstructor, "click" | "hover", unknown>;
|
|
97
|
+
readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
98
|
+
readonly popperOffset: number;
|
|
99
|
+
readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | globalThis.Component<any, any, any, ComputedOptions, MethodOptions>) & {}) | (() => string | globalThis.Component<any, any, any, ComputedOptions, MethodOptions>) | ((new (...args: any[]) => (string | globalThis.Component<any, any, any, ComputedOptions, MethodOptions>) & {}) | (() => string | globalThis.Component<any, any, any, ComputedOptions, MethodOptions>))[], unknown, unknown>;
|
|
100
|
+
readonly popperEffect: string;
|
|
101
|
+
readonly showTimeout: number;
|
|
102
|
+
readonly hideTimeout: number;
|
|
103
|
+
readonly uniqueOpened: boolean;
|
|
104
|
+
readonly router: boolean;
|
|
105
|
+
readonly closeOnClickOutside: boolean;
|
|
106
|
+
}> | null;
|
|
107
|
+
};
|
|
108
|
+
rootEl: any;
|
|
109
|
+
};
|
|
110
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
111
|
+
declare const __VLS_component: DefineComponent<globalThis.ExtractPropTypes<{
|
|
112
|
+
menuConfigList: EpPropFinalized<{
|
|
113
|
+
(arrayLength: number): MenuBaseType[];
|
|
114
|
+
(...items: MenuBaseType[]): MenuBaseType[];
|
|
115
|
+
new (arrayLength: number): MenuBaseType[];
|
|
116
|
+
new (...items: MenuBaseType[]): MenuBaseType[];
|
|
117
|
+
isArray(arg: any): arg is any[];
|
|
118
|
+
readonly prototype: any[];
|
|
119
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
120
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
121
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
122
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
123
|
+
of<T>(...items: T[]): T[];
|
|
124
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
125
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
126
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
127
|
+
}, unknown, unknown, () => never[], boolean>;
|
|
128
|
+
needPermission: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
129
|
+
permissionList: EpPropFinalized<{
|
|
130
|
+
(arrayLength: number): (string | number)[];
|
|
131
|
+
(...items: (string | number)[]): (string | number)[];
|
|
132
|
+
new (arrayLength: number): (string | number)[];
|
|
133
|
+
new (...items: (string | number)[]): (string | number)[];
|
|
134
|
+
isArray(arg: any): arg is any[];
|
|
135
|
+
readonly prototype: any[];
|
|
136
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
137
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
138
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
139
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
140
|
+
of<T>(...items: T[]): T[];
|
|
141
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
142
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
143
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
144
|
+
}, unknown, unknown, () => never[], boolean>;
|
|
145
|
+
hoverColor: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
146
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
147
|
+
menuConfigList: EpPropFinalized<{
|
|
148
|
+
(arrayLength: number): MenuBaseType[];
|
|
149
|
+
(...items: MenuBaseType[]): MenuBaseType[];
|
|
150
|
+
new (arrayLength: number): MenuBaseType[];
|
|
151
|
+
new (...items: MenuBaseType[]): MenuBaseType[];
|
|
152
|
+
isArray(arg: any): arg is any[];
|
|
153
|
+
readonly prototype: any[];
|
|
154
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
155
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
156
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
157
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
158
|
+
of<T>(...items: T[]): T[];
|
|
159
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
160
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
161
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
162
|
+
}, unknown, unknown, () => never[], boolean>;
|
|
163
|
+
needPermission: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
164
|
+
permissionList: EpPropFinalized<{
|
|
165
|
+
(arrayLength: number): (string | number)[];
|
|
166
|
+
(...items: (string | number)[]): (string | number)[];
|
|
167
|
+
new (arrayLength: number): (string | number)[];
|
|
168
|
+
new (...items: (string | number)[]): (string | number)[];
|
|
169
|
+
isArray(arg: any): arg is any[];
|
|
170
|
+
readonly prototype: any[];
|
|
171
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
172
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
173
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
174
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
175
|
+
of<T>(...items: T[]): T[];
|
|
176
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
177
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
178
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
179
|
+
}, unknown, unknown, () => never[], boolean>;
|
|
180
|
+
hoverColor: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
181
|
+
}>> & Readonly<{}>, {
|
|
182
|
+
menuConfigList: MenuBaseType[];
|
|
183
|
+
needPermission: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
184
|
+
permissionList: (string | number)[];
|
|
185
|
+
hoverColor: string;
|
|
186
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
187
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
188
|
+
export default _default;
|
|
189
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
190
|
+
new (): {
|
|
191
|
+
$slots: S;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { EpPropFinalized, EpPropMergeType } from '../_utils/types';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: Partial<Record<any, (_: {}) => any>> & Partial<Record<any, (_: {}) => any>>;
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: any;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: DefineComponent<globalThis.ExtractPropTypes<{
|
|
11
|
+
needPermission: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
12
|
+
permissionList: EpPropFinalized<{
|
|
13
|
+
(arrayLength: number): (string | number)[];
|
|
14
|
+
(...items: (string | number)[]): (string | number)[];
|
|
15
|
+
new (arrayLength: number): (string | number)[];
|
|
16
|
+
new (...items: (string | number)[]): (string | number)[];
|
|
17
|
+
isArray(arg: any): arg is any[];
|
|
18
|
+
readonly prototype: any[];
|
|
19
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
20
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
21
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
22
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
23
|
+
of<T>(...items: T[]): T[];
|
|
24
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
25
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
26
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
27
|
+
}, unknown, unknown, () => never[], boolean>;
|
|
28
|
+
item: EpPropFinalized<ObjectConstructor, unknown, unknown, () => {}, boolean>;
|
|
29
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
30
|
+
needPermission: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
31
|
+
permissionList: EpPropFinalized<{
|
|
32
|
+
(arrayLength: number): (string | number)[];
|
|
33
|
+
(...items: (string | number)[]): (string | number)[];
|
|
34
|
+
new (arrayLength: number): (string | number)[];
|
|
35
|
+
new (...items: (string | number)[]): (string | number)[];
|
|
36
|
+
isArray(arg: any): arg is any[];
|
|
37
|
+
readonly prototype: any[];
|
|
38
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
39
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
40
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
41
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
42
|
+
of<T>(...items: T[]): T[];
|
|
43
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
44
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
45
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
46
|
+
}, unknown, unknown, () => never[], boolean>;
|
|
47
|
+
item: EpPropFinalized<ObjectConstructor, unknown, unknown, () => {}, boolean>;
|
|
48
|
+
}>> & Readonly<{}>, {
|
|
49
|
+
item: Record<string, any>;
|
|
50
|
+
needPermission: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
51
|
+
permissionList: (string | number)[];
|
|
52
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
53
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
54
|
+
export default _default;
|
|
55
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
56
|
+
new (): {
|
|
57
|
+
$slots: S;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { App, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
2
|
+
import { LSOptions, EpPropFinalized, EpPropMergeType } from '../_utils/types';
|
|
3
|
+
import { MenuBaseType } from './types';
|
|
4
|
+
declare const LSMenu: {
|
|
5
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
6
|
+
menuConfigList: EpPropFinalized<{
|
|
7
|
+
(arrayLength: number): MenuBaseType[];
|
|
8
|
+
(...items: MenuBaseType[]): MenuBaseType[];
|
|
9
|
+
new (arrayLength: number): MenuBaseType[];
|
|
10
|
+
new (...items: MenuBaseType[]): MenuBaseType[];
|
|
11
|
+
isArray(arg: any): arg is any[];
|
|
12
|
+
readonly prototype: any[];
|
|
13
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
14
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
15
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
16
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
17
|
+
of<T>(...items: T[]): T[];
|
|
18
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
19
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
20
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
21
|
+
}, unknown, unknown, () => never[], boolean>;
|
|
22
|
+
needPermission: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
23
|
+
permissionList: EpPropFinalized<{
|
|
24
|
+
(arrayLength: number): (string | number)[];
|
|
25
|
+
(...items: (string | number)[]): (string | number)[];
|
|
26
|
+
new (arrayLength: number): (string | number)[];
|
|
27
|
+
new (...items: (string | number)[]): (string | number)[];
|
|
28
|
+
isArray(arg: any): arg is any[];
|
|
29
|
+
readonly prototype: any[];
|
|
30
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
31
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
32
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
33
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
34
|
+
of<T>(...items: T[]): T[];
|
|
35
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
36
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
37
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
38
|
+
}, unknown, unknown, () => never[], boolean>;
|
|
39
|
+
hoverColor: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
40
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
41
|
+
menuConfigList: MenuBaseType[];
|
|
42
|
+
needPermission: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
43
|
+
permissionList: (string | number)[];
|
|
44
|
+
hoverColor: string;
|
|
45
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
46
|
+
P: {};
|
|
47
|
+
B: {};
|
|
48
|
+
D: {};
|
|
49
|
+
C: {};
|
|
50
|
+
M: {};
|
|
51
|
+
Defaults: {};
|
|
52
|
+
}, Readonly<globalThis.ExtractPropTypes<{
|
|
53
|
+
menuConfigList: EpPropFinalized<{
|
|
54
|
+
(arrayLength: number): MenuBaseType[];
|
|
55
|
+
(...items: MenuBaseType[]): MenuBaseType[];
|
|
56
|
+
new (arrayLength: number): MenuBaseType[];
|
|
57
|
+
new (...items: MenuBaseType[]): MenuBaseType[];
|
|
58
|
+
isArray(arg: any): arg is any[];
|
|
59
|
+
readonly prototype: any[];
|
|
60
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
61
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
62
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
63
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
64
|
+
of<T>(...items: T[]): T[];
|
|
65
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
66
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
67
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
68
|
+
}, unknown, unknown, () => never[], boolean>;
|
|
69
|
+
needPermission: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
70
|
+
permissionList: EpPropFinalized<{
|
|
71
|
+
(arrayLength: number): (string | number)[];
|
|
72
|
+
(...items: (string | number)[]): (string | number)[];
|
|
73
|
+
new (arrayLength: number): (string | number)[];
|
|
74
|
+
new (...items: (string | number)[]): (string | number)[];
|
|
75
|
+
isArray(arg: any): arg is any[];
|
|
76
|
+
readonly prototype: any[];
|
|
77
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
78
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
79
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
80
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
81
|
+
of<T>(...items: T[]): T[];
|
|
82
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
83
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
84
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
85
|
+
}, unknown, unknown, () => never[], boolean>;
|
|
86
|
+
hoverColor: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
87
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
88
|
+
menuConfigList: MenuBaseType[];
|
|
89
|
+
needPermission: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
90
|
+
permissionList: (string | number)[];
|
|
91
|
+
hoverColor: string;
|
|
92
|
+
}>;
|
|
93
|
+
__isFragment?: never;
|
|
94
|
+
__isTeleport?: never;
|
|
95
|
+
__isSuspense?: never;
|
|
96
|
+
} & ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
97
|
+
menuConfigList: EpPropFinalized<{
|
|
98
|
+
(arrayLength: number): MenuBaseType[];
|
|
99
|
+
(...items: MenuBaseType[]): MenuBaseType[];
|
|
100
|
+
new (arrayLength: number): MenuBaseType[];
|
|
101
|
+
new (...items: MenuBaseType[]): MenuBaseType[];
|
|
102
|
+
isArray(arg: any): arg is any[];
|
|
103
|
+
readonly prototype: any[];
|
|
104
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
105
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
106
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
107
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
108
|
+
of<T>(...items: T[]): T[];
|
|
109
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
110
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
111
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
112
|
+
}, unknown, unknown, () => never[], boolean>;
|
|
113
|
+
needPermission: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
114
|
+
permissionList: EpPropFinalized<{
|
|
115
|
+
(arrayLength: number): (string | number)[];
|
|
116
|
+
(...items: (string | number)[]): (string | number)[];
|
|
117
|
+
new (arrayLength: number): (string | number)[];
|
|
118
|
+
new (...items: (string | number)[]): (string | number)[];
|
|
119
|
+
isArray(arg: any): arg is any[];
|
|
120
|
+
readonly prototype: any[];
|
|
121
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
122
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
123
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
124
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
125
|
+
of<T>(...items: T[]): T[];
|
|
126
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
127
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
128
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
129
|
+
}, unknown, unknown, () => never[], boolean>;
|
|
130
|
+
hoverColor: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
131
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
132
|
+
menuConfigList: MenuBaseType[];
|
|
133
|
+
needPermission: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
134
|
+
permissionList: (string | number)[];
|
|
135
|
+
hoverColor: string;
|
|
136
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
137
|
+
$slots: Partial<Record<string, (_: {}) => any>>;
|
|
138
|
+
}) & {
|
|
139
|
+
install: (app: App, options?: LSOptions) => void;
|
|
140
|
+
};
|
|
141
|
+
export default LSMenu;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { IconConfigType } from '../_types';
|
|
2
|
+
import { LocationQueryRaw } from 'vue-router';
|
|
3
|
+
import { EpPropFinalized } from '../_utils/types';
|
|
4
|
+
export type MenuBaseType = {
|
|
5
|
+
title: string;
|
|
6
|
+
name: string;
|
|
7
|
+
path?: string;
|
|
8
|
+
key?: string;
|
|
9
|
+
cpoPath?: string;
|
|
10
|
+
iconConfig?: IconConfigType;
|
|
11
|
+
leaf?: boolean;
|
|
12
|
+
hideMenu?: boolean;
|
|
13
|
+
redirect?: string;
|
|
14
|
+
pCode?: string | number;
|
|
15
|
+
iconSlot?: string;
|
|
16
|
+
defJump?: boolean;
|
|
17
|
+
link?: string;
|
|
18
|
+
children?: Array<MenuBaseType>;
|
|
19
|
+
};
|
|
20
|
+
export type BCListItemType = {
|
|
21
|
+
title: string;
|
|
22
|
+
name?: string;
|
|
23
|
+
};
|
|
24
|
+
export type MenuBCListType = {
|
|
25
|
+
bcList?: Array<BCListItemType>;
|
|
26
|
+
};
|
|
27
|
+
export interface ConfigItemType extends MenuBaseType, MenuBCListType {
|
|
28
|
+
}
|
|
29
|
+
export interface MenuItemType extends ConfigItemType {
|
|
30
|
+
children?: Array<MenuBaseType>;
|
|
31
|
+
}
|
|
32
|
+
export type JumpParamsType = {
|
|
33
|
+
name?: string | symbol;
|
|
34
|
+
title?: string;
|
|
35
|
+
path?: string;
|
|
36
|
+
query?: LocationQueryRaw;
|
|
37
|
+
link?: string;
|
|
38
|
+
};
|
|
39
|
+
export type GroupOptionType = {
|
|
40
|
+
id: number;
|
|
41
|
+
groupId: number;
|
|
42
|
+
groupName: string;
|
|
43
|
+
};
|
|
44
|
+
export declare const lsEmitNames: string[];
|
|
45
|
+
export declare const lsMenuProps: {
|
|
46
|
+
menuConfigList: EpPropFinalized<{
|
|
47
|
+
(arrayLength: number): MenuBaseType[];
|
|
48
|
+
(...items: MenuBaseType[]): MenuBaseType[];
|
|
49
|
+
new (arrayLength: number): MenuBaseType[];
|
|
50
|
+
new (...items: MenuBaseType[]): MenuBaseType[];
|
|
51
|
+
isArray(arg: any): arg is any[];
|
|
52
|
+
readonly prototype: any[];
|
|
53
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
54
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
55
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
56
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
57
|
+
of<T>(...items: T[]): T[];
|
|
58
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
59
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
60
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
61
|
+
}, unknown, unknown, () => never[], boolean>;
|
|
62
|
+
needPermission: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
63
|
+
permissionList: EpPropFinalized<{
|
|
64
|
+
(arrayLength: number): (string | number)[];
|
|
65
|
+
(...items: (string | number)[]): (string | number)[];
|
|
66
|
+
new (arrayLength: number): (string | number)[];
|
|
67
|
+
new (...items: (string | number)[]): (string | number)[];
|
|
68
|
+
isArray(arg: any): arg is any[];
|
|
69
|
+
readonly prototype: any[];
|
|
70
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
71
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
72
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
73
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
74
|
+
of<T>(...items: T[]): T[];
|
|
75
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
76
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
77
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
78
|
+
}, unknown, unknown, () => never[], boolean>;
|
|
79
|
+
hoverColor: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
80
|
+
};
|
|
81
|
+
export declare const lsMenuItemProps: {
|
|
82
|
+
needPermission: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
83
|
+
permissionList: EpPropFinalized<{
|
|
84
|
+
(arrayLength: number): (string | number)[];
|
|
85
|
+
(...items: (string | number)[]): (string | number)[];
|
|
86
|
+
new (arrayLength: number): (string | number)[];
|
|
87
|
+
new (...items: (string | number)[]): (string | number)[];
|
|
88
|
+
isArray(arg: any): arg is any[];
|
|
89
|
+
readonly prototype: any[];
|
|
90
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
91
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
92
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
93
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
94
|
+
of<T>(...items: T[]): T[];
|
|
95
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
96
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
97
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
98
|
+
}, unknown, unknown, () => never[], boolean>;
|
|
99
|
+
item: EpPropFinalized<ObjectConstructor, unknown, unknown, () => {}, boolean>;
|
|
100
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<globalThis.ExtractPropTypes<{
|
|
3
|
+
type: {
|
|
4
|
+
type: globalThis.PropType<"docx" | "pdf" | "xlsx" | "image">;
|
|
5
|
+
require: boolean;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
source: {};
|
|
9
|
+
zoomSize: {
|
|
10
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
11
|
+
default: number;
|
|
12
|
+
};
|
|
13
|
+
needLoading: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
loadingOption: {
|
|
18
|
+
type: ObjectConstructor;
|
|
19
|
+
default: () => {
|
|
20
|
+
text: string;
|
|
21
|
+
background: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
modelValue: {
|
|
25
|
+
type: globalThis.PropType<boolean>;
|
|
26
|
+
};
|
|
27
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
28
|
+
"update:modelValue": (value: boolean | undefined) => any;
|
|
29
|
+
} & {
|
|
30
|
+
loadComplete: () => any;
|
|
31
|
+
loadError: () => any;
|
|
32
|
+
}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
33
|
+
type: {
|
|
34
|
+
type: globalThis.PropType<"docx" | "pdf" | "xlsx" | "image">;
|
|
35
|
+
require: boolean;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
source: {};
|
|
39
|
+
zoomSize: {
|
|
40
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
41
|
+
default: number;
|
|
42
|
+
};
|
|
43
|
+
needLoading: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
loadingOption: {
|
|
48
|
+
type: ObjectConstructor;
|
|
49
|
+
default: () => {
|
|
50
|
+
text: string;
|
|
51
|
+
background: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
modelValue: {
|
|
55
|
+
type: globalThis.PropType<boolean>;
|
|
56
|
+
};
|
|
57
|
+
}>> & Readonly<{
|
|
58
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
59
|
+
onLoadComplete?: (() => any) | undefined;
|
|
60
|
+
onLoadError?: (() => any) | undefined;
|
|
61
|
+
}>, {
|
|
62
|
+
type: "docx" | "pdf" | "xlsx" | "image";
|
|
63
|
+
zoomSize: string | number;
|
|
64
|
+
needLoading: boolean;
|
|
65
|
+
loadingOption: Record<string, any>;
|
|
66
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
67
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { EpPropFinalized, EpPropMergeType } from '../../_utils/types';
|
|
3
|
+
declare const _default: DefineComponent<globalThis.ExtractPropTypes<{
|
|
4
|
+
source: EpPropFinalized<(ArrayBufferConstructor | StringConstructor)[], unknown, unknown, null, boolean>;
|
|
5
|
+
onClose: FunctionConstructor;
|
|
6
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
7
|
+
source: EpPropFinalized<(ArrayBufferConstructor | StringConstructor)[], unknown, unknown, null, boolean>;
|
|
8
|
+
onClose: FunctionConstructor;
|
|
9
|
+
}>> & Readonly<{}>, {
|
|
10
|
+
source: EpPropMergeType<(ArrayBufferConstructor | StringConstructor)[], unknown, unknown>;
|
|
11
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
12
|
+
export default _default;
|