@das-fed/ui 7.1.0-dev.3 → 7.1.0-dev.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/package.json +5 -5
  2. package/packages/business-components/device-panel/i18n/index.d.ts +40 -0
  3. package/packages/business-components/device-panel/index.js +20871 -19465
  4. package/packages/business-components/device-panel/index.js.gz +0 -0
  5. package/packages/business-components/device-panel/src/components/alarmDevicePanel/hooks/use-knowledge.d.ts +6 -0
  6. package/packages/business-components/device-panel/src/components/alarmDevicePanel/knowledge/Index.vue.d.ts +6 -0
  7. package/packages/business-components/device-panel/src/components/alarmDevicePanel/knowledge/apis.d.ts +5 -0
  8. package/packages/business-components/device-panel/src/components/alarmDevicePanel/knowledge/components/use-info/Info.vue.d.ts +44 -0
  9. package/packages/business-components/device-panel/src/components/alarmDevicePanel/knowledge/components/use-info/downloadFile.d.ts +8 -0
  10. package/packages/business-components/device-panel/src/components/alarmDevicePanel/knowledge/components/use-info/info.d.ts +24 -0
  11. package/packages/business-components/device-panel/src/components/alarmDevicePanel/knowledge/utils/get-file-details.d.ts +2 -0
  12. package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/use-knowledge.d.ts +6 -0
  13. package/packages/business-components/device-panel/src/components/devicePanelModal/knowledge/Index.vue.d.ts +6 -0
  14. package/packages/business-components/device-panel/src/components/devicePanelModal/knowledge/apis.d.ts +5 -0
  15. package/packages/business-components/device-panel/src/components/devicePanelModal/knowledge/components/use-info/Info.vue.d.ts +44 -0
  16. package/packages/business-components/device-panel/src/components/devicePanelModal/knowledge/components/use-info/downloadFile.d.ts +8 -0
  17. package/packages/business-components/device-panel/src/components/devicePanelModal/knowledge/components/use-info/info.d.ts +24 -0
  18. package/packages/business-components/device-panel/src/components/devicePanelModal/knowledge/utils/get-file-details.d.ts +2 -0
  19. package/packages/business-components/device-panel/style.css +1 -1
  20. package/packages/business-components/device-panel/style.css.gz +0 -0
  21. package/packages/business-components/process-form/index.js +675 -655
  22. package/packages/business-components/process-form/index.js.gz +0 -0
  23. package/packages/business-components/process-form/src/utils/common-methods.d.ts +6 -0
  24. package/packages/business-components/video-dialog/index.js +1 -1
  25. package/packages/business-components/video-dialog/index.js.gz +0 -0
  26. package/packages/components/dialog/index.d.ts +3 -0
  27. package/packages/components/dialog/index.js +279 -184
  28. package/packages/components/dialog/index.js.gz +0 -0
  29. package/packages/components/dialog/src/Index.vue.d.ts +1 -0
  30. package/packages/components/dialog/src/directives/dialogResize.d.ts +2 -0
  31. package/packages/components/dialog/src/type.d.ts +2 -0
  32. package/packages/components/dialog/style.css +1 -1
  33. package/packages/components/dialog/style.css.gz +0 -0
@@ -0,0 +1,6 @@
1
+ export declare const useKnowledge: (emitFn: (type: string, data?: any) => void) => {
2
+ knowledgeVue: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
3
+ [key: string]: any;
4
+ }>;
5
+ knowledgeRef: import("vue").Ref<any, any>;
6
+ };
@@ -0,0 +1,6 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ emitFn: (...args: any[]) => void;
3
+ }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
4
+ onEmitFn?: ((...args: any[]) => any) | undefined;
5
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ export default _default;
@@ -0,0 +1,5 @@
1
+ export declare const getAuthDocs: (payload?: any, payloadConfig?: import("@das-fed/utils/curring-http/type").CurringConfig) => import("@das-fed/utils/curring-http/type").CurringRes;
2
+ export declare const getDocs: (payload?: any, payloadConfig?: import("@das-fed/utils/curring-http/type").CurringConfig) => import("@das-fed/utils/curring-http/type").CurringRes;
3
+ export declare const getFileDetails: (payload?: any, payloadConfig?: import("@das-fed/utils/curring-http/type").CurringConfig) => import("@das-fed/utils/curring-http/type").CurringRes;
4
+ export declare const getDeviceDetailApi: (payload?: any, payloadConfig?: import("@das-fed/utils/curring-http/type").CurringConfig) => import("@das-fed/utils/curring-http/type").CurringRes;
5
+ export declare const logApi: (payload?: any, payloadConfig?: import("@das-fed/utils/curring-http/type").CurringConfig) => import("@das-fed/utils/curring-http/type").CurringRes;
@@ -0,0 +1,44 @@
1
+ import { type PropType } from 'vue';
2
+ import { type DetailData } from './info';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ visible: {
5
+ type: BooleanConstructor;
6
+ required: true;
7
+ default: boolean;
8
+ };
9
+ detailId: {
10
+ type: StringConstructor;
11
+ default: null;
12
+ required: false;
13
+ };
14
+ fetchDetail: {
15
+ type: PropType<(id: string) => Promise<DetailData>>;
16
+ required: true;
17
+ };
18
+ }>, {
19
+ backToParent: () => void;
20
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
+ close: () => any;
22
+ back: (id: string | null) => any;
23
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
24
+ visible: {
25
+ type: BooleanConstructor;
26
+ required: true;
27
+ default: boolean;
28
+ };
29
+ detailId: {
30
+ type: StringConstructor;
31
+ default: null;
32
+ required: false;
33
+ };
34
+ fetchDetail: {
35
+ type: PropType<(id: string) => Promise<DetailData>>;
36
+ required: true;
37
+ };
38
+ }>> & Readonly<{
39
+ onClose?: (() => any) | undefined;
40
+ onBack?: ((id: string | null) => any) | undefined;
41
+ }>, {
42
+ detailId: string;
43
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
44
+ export default _default;
@@ -0,0 +1,8 @@
1
+ declare const downloadFileByFile: (file: File) => void;
2
+ /**
3
+ * 下载文件
4
+ * @param path 文件链接
5
+ * @param filename 下载文件名
6
+ */
7
+ declare const downloadFile: (path: any, filename: string, fileType?: string) => void;
8
+ export { downloadFile, downloadFileByFile };
@@ -0,0 +1,24 @@
1
+ import type { Ref } from 'vue';
2
+ /** 详情数据类型 */
3
+ export interface DetailData {
4
+ id: string | null;
5
+ title: string;
6
+ summary: string;
7
+ content: string;
8
+ path: string;
9
+ fileList: [];
10
+ descList: [];
11
+ }
12
+ interface InfoOptions {
13
+ visible: Ref<boolean>;
14
+ fetchDetail: (id: string) => Promise<DetailData>;
15
+ }
16
+ interface InfoReturn {
17
+ currentId: Ref<string | null>;
18
+ loading: Ref<boolean>;
19
+ detailData: Ref<DetailData | null>;
20
+ enterDetail: (id: string) => Promise<void>;
21
+ backToParent: () => void;
22
+ }
23
+ export declare function useInfo(options: InfoOptions): InfoReturn;
24
+ export {};
@@ -0,0 +1,2 @@
1
+ export declare const getFileTypeImage: (type?: string, item?: any) => string;
2
+ export declare const getFileType: (type: string) => any;
@@ -0,0 +1,6 @@
1
+ export declare const useKnowledge: (emitFn: (type: string, data?: any) => void) => {
2
+ knowledgeVue: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
3
+ [key: string]: any;
4
+ }>;
5
+ knowledgeRef: import("vue").Ref<any, any>;
6
+ };
@@ -0,0 +1,6 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ emitFn: (...args: any[]) => void;
3
+ }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
4
+ onEmitFn?: ((...args: any[]) => any) | undefined;
5
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ export default _default;
@@ -0,0 +1,5 @@
1
+ export declare const getAuthDocs: (payload?: any, payloadConfig?: import("@das-fed/utils/curring-http/type").CurringConfig) => import("@das-fed/utils/curring-http/type").CurringRes;
2
+ export declare const getDocs: (payload?: any, payloadConfig?: import("@das-fed/utils/curring-http/type").CurringConfig) => import("@das-fed/utils/curring-http/type").CurringRes;
3
+ export declare const getFileDetails: (payload?: any, payloadConfig?: import("@das-fed/utils/curring-http/type").CurringConfig) => import("@das-fed/utils/curring-http/type").CurringRes;
4
+ export declare const getDeviceDetailApi: (payload?: any, payloadConfig?: import("@das-fed/utils/curring-http/type").CurringConfig) => import("@das-fed/utils/curring-http/type").CurringRes;
5
+ export declare const logApi: (payload?: any, payloadConfig?: import("@das-fed/utils/curring-http/type").CurringConfig) => import("@das-fed/utils/curring-http/type").CurringRes;
@@ -0,0 +1,44 @@
1
+ import { type PropType } from 'vue';
2
+ import { type DetailData } from './info';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ visible: {
5
+ type: BooleanConstructor;
6
+ required: true;
7
+ default: boolean;
8
+ };
9
+ detailId: {
10
+ type: StringConstructor;
11
+ default: null;
12
+ required: false;
13
+ };
14
+ fetchDetail: {
15
+ type: PropType<(id: string) => Promise<DetailData>>;
16
+ required: true;
17
+ };
18
+ }>, {
19
+ backToParent: () => void;
20
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
+ close: () => any;
22
+ back: (id: string | null) => any;
23
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
24
+ visible: {
25
+ type: BooleanConstructor;
26
+ required: true;
27
+ default: boolean;
28
+ };
29
+ detailId: {
30
+ type: StringConstructor;
31
+ default: null;
32
+ required: false;
33
+ };
34
+ fetchDetail: {
35
+ type: PropType<(id: string) => Promise<DetailData>>;
36
+ required: true;
37
+ };
38
+ }>> & Readonly<{
39
+ onClose?: (() => any) | undefined;
40
+ onBack?: ((id: string | null) => any) | undefined;
41
+ }>, {
42
+ detailId: string;
43
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
44
+ export default _default;
@@ -0,0 +1,8 @@
1
+ declare const downloadFileByFile: (file: File) => void;
2
+ /**
3
+ * 下载文件
4
+ * @param path 文件链接
5
+ * @param filename 下载文件名
6
+ */
7
+ declare const downloadFile: (path: any, filename: string, fileType?: string) => void;
8
+ export { downloadFile, downloadFileByFile };
@@ -0,0 +1,24 @@
1
+ import type { Ref } from 'vue';
2
+ /** 详情数据类型 */
3
+ export interface DetailData {
4
+ id: string | null;
5
+ title: string;
6
+ summary: string;
7
+ content: string;
8
+ path: string;
9
+ fileList: [];
10
+ descList: [];
11
+ }
12
+ interface InfoOptions {
13
+ visible: Ref<boolean>;
14
+ fetchDetail: (id: string) => Promise<DetailData>;
15
+ }
16
+ interface InfoReturn {
17
+ currentId: Ref<string | null>;
18
+ loading: Ref<boolean>;
19
+ detailData: Ref<DetailData | null>;
20
+ enterDetail: (id: string) => Promise<void>;
21
+ backToParent: () => void;
22
+ }
23
+ export declare function useInfo(options: InfoOptions): InfoReturn;
24
+ export {};
@@ -0,0 +1,2 @@
1
+ export declare const getFileTypeImage: (type?: string, item?: any) => string;
2
+ export declare const getFileType: (type: string) => any;