@das-fed/ui 7.1.0-dev.2 → 7.1.0-dev.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +5 -5
- package/packages/business-components/device-panel/i18n/index.d.ts +40 -0
- package/packages/business-components/device-panel/index.js +20689 -19303
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/hooks/use-knowledge.d.ts +6 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/knowledge/Index.vue.d.ts +6 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/knowledge/apis.d.ts +4 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/knowledge/components/use-info/Info.vue.d.ts +44 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/knowledge/components/use-info/downloadFile.d.ts +8 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/knowledge/components/use-info/info.d.ts +24 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/knowledge/utils/get-file-details.d.ts +2 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/use-knowledge.d.ts +6 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/knowledge/Index.vue.d.ts +6 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/knowledge/apis.d.ts +4 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/knowledge/components/use-info/Info.vue.d.ts +44 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/knowledge/components/use-info/downloadFile.d.ts +8 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/knowledge/components/use-info/info.d.ts +24 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/knowledge/utils/get-file-details.d.ts +2 -0
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/process-form/index.js +675 -655
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/src/utils/common-methods.d.ts +6 -0
- package/packages/business-components/video-dialog/index.js +48 -46
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/style.css +1 -1
- package/packages/business-components/video-dialog/style.css.gz +0 -0
- package/packages/components/dialog/index.d.ts +3 -0
- package/packages/components/dialog/index.js +279 -184
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dialog/src/Index.vue.d.ts +1 -0
- package/packages/components/dialog/src/directives/dialogResize.d.ts +2 -0
- package/packages/components/dialog/src/type.d.ts +2 -0
- package/packages/components/dialog/style.css +1 -1
- package/packages/components/dialog/style.css.gz +0 -0
|
Binary file
|
|
@@ -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,4 @@
|
|
|
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;
|
|
@@ -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,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,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,4 @@
|
|
|
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;
|
|
@@ -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,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 {};
|