cnhis-design-vue 3.2.1-release.2 → 3.2.2-beta.10
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/README.md +87 -87
- package/es/components/biunique-chat/index.d.ts +750 -562
- package/es/components/biunique-chat/index.js +1 -1
- package/es/components/biunique-chat/src/Index.vue.d.ts +1213 -0
- package/es/components/biunique-chat/src/Index.vue.js +1 -0
- package/es/components/biunique-chat/src/Index.vue2.js +1 -0
- package/es/components/biunique-chat/src/api/index.d.ts +2 -5
- package/es/components/biunique-chat/src/api/index.js +1 -1
- package/es/components/biunique-chat/src/components/ChatFile.vue.d.ts +241 -0
- package/es/components/biunique-chat/src/components/ChatFile.vue.js +1 -0
- package/es/components/biunique-chat/src/components/ChatFile.vue2.js +1 -0
- package/es/components/biunique-chat/src/components/ChatFooter.vue.d.ts +3 -5
- package/es/components/biunique-chat/src/components/ChatFooter.vue2.js +1 -1
- package/es/components/biunique-chat/src/components/ChatHeader.vue.d.ts +639 -0
- package/es/components/biunique-chat/src/components/ChatHeader.vue2.js +1 -1
- package/es/components/biunique-chat/src/components/ChatMain.vue.d.ts +61 -5
- package/es/components/biunique-chat/src/components/ChatMain.vue2.js +1 -1
- package/es/components/biunique-chat/src/components/ChatRecord.vue.d.ts +101 -0
- package/es/components/biunique-chat/src/components/ChatRecord.vue.js +1 -0
- package/es/components/biunique-chat/src/components/ChatRecord.vue2.js +1 -0
- package/es/components/biunique-chat/src/components/ChatSet.vue.d.ts +246 -0
- package/es/components/biunique-chat/src/components/ChatSet.vue.js +1 -0
- package/es/components/biunique-chat/src/components/ChatSet.vue2.js +1 -0
- package/es/components/biunique-chat/src/components/PersonProfile.vue.d.ts +59 -0
- package/es/components/biunique-chat/src/components/PersonProfile.vue.js +1 -0
- package/es/components/biunique-chat/src/components/PersonProfile.vue2.js +1 -0
- package/es/components/biunique-chat/src/components/SiderList.vue.d.ts +18 -28
- package/es/components/biunique-chat/src/components/SiderList.vue2.js +1 -1
- package/es/components/biunique-chat/src/hooks/useState.d.ts +7 -0
- package/es/components/biunique-chat/src/hooks/useState.js +1 -0
- package/es/components/biunique-chat/src/types/index.d.ts +10 -0
- package/es/components/biunique-chat/src/utils/index.d.ts +6 -0
- package/es/components/biunique-chat/src/utils/index.js +1 -0
- package/es/components/biunique-chat/style/iconfont.ttf +0 -0
- package/es/components/biunique-chat/style/index.css +1 -1
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
- package/es/components/button-print/src/utils/print.d.ts +2 -1
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +74 -70
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
- package/es/components/classification/src/index.vue.d.ts +3 -3
- package/es/components/default-page/index.d.ts +71 -0
- package/es/components/default-page/index.js +1 -0
- package/es/components/default-page/src/constants/index.d.ts +19 -0
- package/es/components/default-page/src/constants/index.js +1 -0
- package/es/components/default-page/src/index.vue.d.ts +72 -0
- package/es/components/default-page/src/index.vue.js +1 -0
- package/es/components/default-page/src/index.vue2.js +1 -0
- package/es/components/default-page/style/index.css +1 -0
- package/es/components/expand-field/src/components/form.vue2.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/useCommon.d.ts +1 -0
- package/es/components/fabric-chart/src/hooks/useCommon.js +1 -1
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +1 -1
- package/es/components/field-set/src/FieldColor.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
- package/es/components/field-set/src/components/Row.vue.d.ts +1 -1
- package/es/components/form-config/src/hooks/useSortalbeConfig.js +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue2.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/useSelectedSetting.d.ts +3 -4
- package/es/components/form-render/src/hooks/useSelectedSetting.js +1 -1
- package/es/components/iho-table/index.d.ts +74 -70
- package/es/components/iho-table/src/IhoTable.vue.d.ts +74 -70
- package/es/components/iho-table/src/IhoTable.vue2.js +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +3 -1
- package/es/components/iho-table/src/hooks/tapHooks/index.js +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +1 -0
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +2 -1
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.js +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +1 -0
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/headerPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/index.d.ts +117 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/index.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useColumn2Data.d.ts +2 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useColumn2Data.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useCurrentColumn.d.ts +2 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useCurrentColumn.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useData2Column.d.ts +2 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useData2Column.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useEditCell.d.ts +2 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useEditCell.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useEventConvert.d.ts +2 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useEventConvert.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useExpose.d.ts +2 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useExpose.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useHeaderCSS.d.ts +2 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useHeaderCSS.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useHoverColumn.d.ts +2 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useHoverColumn.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useTriggerRow.d.ts +2 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useTriggerRow.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/{renderer.d.ts → src/renderer.d.ts} +2 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/renderer.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/{types.d.ts → src/types.d.ts} +4 -3
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/types.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/{utils.d.ts → src/utils.d.ts} +8 -6
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/utils.js +1 -0
- package/es/components/iho-table/src/types/index.d.ts +34 -4
- package/es/components/iho-table/src/types/pluginType.d.ts +1 -0
- package/es/components/iho-table/src/utils/index.d.ts +1 -1
- package/es/components/iho-table/src/utils/index.js +1 -1
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +4 -1
- package/es/components/index.js +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
- package/es/components/select-person/src/SearchMultiple.vue.d.ts +0 -6
- package/es/components/step-notice/index.d.ts +310 -0
- package/es/components/step-notice/index.js +1 -0
- package/es/components/step-notice/src/StepNotice.vue.d.ts +288 -0
- package/es/components/step-notice/src/StepNotice.vue.js +1 -0
- package/es/components/step-notice/src/StepNotice.vue2.js +1 -0
- package/es/components/step-notice/src/components/NoticeConnection.vue.d.ts +39 -0
- package/es/components/step-notice/src/components/NoticeConnection.vue.js +1 -0
- package/es/components/step-notice/src/components/NoticeConnection.vue2.js +1 -0
- package/es/components/step-notice/src/components/NoticeItem.vue.d.ts +151 -0
- package/es/components/step-notice/src/components/NoticeItem.vue.js +1 -0
- package/es/components/step-notice/src/components/NoticeItem.vue2.js +1 -0
- package/es/components/step-notice/src/components/NoticeItemAside.vue.d.ts +35 -0
- package/es/components/step-notice/src/components/NoticeItemAside.vue.js +1 -0
- package/es/components/step-notice/src/components/NoticeItemAside.vue2.js +1 -0
- package/es/components/step-notice/src/components/NoticeOperationList.vue.d.ts +49 -0
- package/es/components/step-notice/src/components/NoticeOperationList.vue.js +1 -0
- package/es/components/step-notice/src/components/NoticeOperationList.vue2.js +1 -0
- package/es/components/step-notice/src/hooks/useTheme.d.ts +1 -0
- package/es/components/step-notice/src/hooks/useTheme.js +1 -0
- package/es/components/step-notice/src/types.d.ts +33 -0
- package/es/components/step-notice/src/types.js +1 -0
- package/es/components/step-notice/src/utils.d.ts +3 -0
- package/es/components/step-notice/src/utils.js +1 -0
- package/es/components/step-notice/style/index.css +1 -0
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/defaultCover/10reload.jpg.js +1 -0
- package/es/shared/assets/img/defaultCover/1tab.jpg.js +1 -0
- package/es/shared/assets/img/defaultCover/2menu.jpg.js +1 -0
- package/es/shared/assets/img/defaultCover/3view.jpg.js +1 -0
- package/es/shared/assets/img/defaultCover/4system.jpg.js +1 -0
- package/es/shared/assets/img/defaultCover/5location.jpg.js +1 -0
- package/es/shared/assets/img/defaultCover/6notfound.jpg.js +1 -0
- package/es/shared/assets/img/defaultCover/7loading.jpg.js +1 -0
- package/es/shared/assets/img/defaultCover/8nopermission.jpg.js +1 -0
- package/es/shared/assets/img/defaultCover/9nodata.jpg.js +1 -0
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/table_style_2.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/components/JSONTree/JSONTree.vue.d.ts +26 -0
- package/es/shared/components/JSONTree/JSONTree.vue.js +1 -0
- package/es/shared/components/JSONTree/JSONTree.vue2.js +1 -0
- package/es/shared/components/JSONTree/index.d.ts +2 -0
- package/es/shared/components/JSONTree/index.js +1 -0
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
- package/es/shared/hooks/index.js +1 -1
- package/es/shared/hooks/useTheme.d.ts +1 -0
- package/es/shared/hooks/useTheme.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/fabricjs/index.d.ts +6823 -0
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/package.json +2 -2
- package/es/components/biunique-chat/src/BiuniqueChat.vue.d.ts +0 -1005
- package/es/components/biunique-chat/src/BiuniqueChat.vue.js +0 -1
- package/es/components/biunique-chat/src/BiuniqueChat.vue2.js +0 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/renderer.js +0 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/utils.js +0 -1
- /package/es/components/{iho-table/src/plugins/verticalTablePlugin/types.js → biunique-chat/src/types/index.js} +0 -0
- /package/es/components/iho-table/src/plugins/verticalTablePlugin/{constants.d.ts → src/constants.d.ts} +0 -0
- /package/es/components/iho-table/src/plugins/verticalTablePlugin/{constants.js → src/constants.js} +0 -0
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
import { useVersion } from '../../../shared/hooks';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { StepNotice } from '../../../components/step-notice/src/types';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
items: {
|
|
6
|
+
type: PropType<Partial<{
|
|
7
|
+
header: string | import("../..").AnyFn<any[], any>;
|
|
8
|
+
type: "warning" | "normal" | "primary";
|
|
9
|
+
icon: "warning" | import("../..").AnyFn<any[], any>;
|
|
10
|
+
lineType: "dashed" | "solid";
|
|
11
|
+
topText: (string | import("../..").AnyFn<any[], any>)[];
|
|
12
|
+
footerText: string | import("../..").AnyFn<any[], any>;
|
|
13
|
+
content: string | import("../..").AnyFn<any[], any>;
|
|
14
|
+
subContent: string | import("../..").AnyFn<any[], any>;
|
|
15
|
+
noticeList: Partial<{
|
|
16
|
+
header: string | import("../..").AnyFn<any[], any>;
|
|
17
|
+
content: string | import("../..").AnyFn<any[], any>;
|
|
18
|
+
subContent: string | import("../..").AnyFn<any[], any>;
|
|
19
|
+
}>[];
|
|
20
|
+
operationList: Partial<Partial<{
|
|
21
|
+
header: string | import("../..").AnyFn<any[], any>;
|
|
22
|
+
content: string | import("../..").AnyFn<any[], any>;
|
|
23
|
+
subContent: string | import("../..").AnyFn<any[], any>;
|
|
24
|
+
}> & {
|
|
25
|
+
type: "warning" | "primary";
|
|
26
|
+
subHeader: string | import("../..").AnyFn<any[], any>;
|
|
27
|
+
remark: string | import("../..").AnyFn<any[], any>;
|
|
28
|
+
}>[];
|
|
29
|
+
}>[]>;
|
|
30
|
+
default: () => never[];
|
|
31
|
+
};
|
|
32
|
+
rowCapacity: {
|
|
33
|
+
type: NumberConstructor;
|
|
34
|
+
default: number;
|
|
35
|
+
};
|
|
36
|
+
}, {
|
|
37
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
38
|
+
items: {
|
|
39
|
+
type: PropType<Partial<{
|
|
40
|
+
header: string | import("../..").AnyFn<any[], any>;
|
|
41
|
+
type: "warning" | "normal" | "primary";
|
|
42
|
+
icon: "warning" | import("../..").AnyFn<any[], any>;
|
|
43
|
+
lineType: "dashed" | "solid";
|
|
44
|
+
topText: (string | import("../..").AnyFn<any[], any>)[];
|
|
45
|
+
footerText: string | import("../..").AnyFn<any[], any>;
|
|
46
|
+
content: string | import("../..").AnyFn<any[], any>;
|
|
47
|
+
subContent: string | import("../..").AnyFn<any[], any>;
|
|
48
|
+
noticeList: Partial<{
|
|
49
|
+
header: string | import("../..").AnyFn<any[], any>;
|
|
50
|
+
content: string | import("../..").AnyFn<any[], any>;
|
|
51
|
+
subContent: string | import("../..").AnyFn<any[], any>;
|
|
52
|
+
}>[];
|
|
53
|
+
operationList: Partial<Partial<{
|
|
54
|
+
header: string | import("../..").AnyFn<any[], any>;
|
|
55
|
+
content: string | import("../..").AnyFn<any[], any>;
|
|
56
|
+
subContent: string | import("../..").AnyFn<any[], any>;
|
|
57
|
+
}> & {
|
|
58
|
+
type: "warning" | "primary";
|
|
59
|
+
subHeader: string | import("../..").AnyFn<any[], any>;
|
|
60
|
+
remark: string | import("../..").AnyFn<any[], any>;
|
|
61
|
+
}>[];
|
|
62
|
+
}>[]>;
|
|
63
|
+
default: () => never[];
|
|
64
|
+
};
|
|
65
|
+
rowCapacity: {
|
|
66
|
+
type: NumberConstructor;
|
|
67
|
+
default: number;
|
|
68
|
+
};
|
|
69
|
+
}>> & {
|
|
70
|
+
onItemClick?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
}>>;
|
|
72
|
+
emit: (event: "itemClick", ...args: any[]) => void;
|
|
73
|
+
itemGroups: import("vue").ComputedRef<StepNotice.InternalItem[][]>;
|
|
74
|
+
onClick: (item: StepNotice.Item) => void;
|
|
75
|
+
theme: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
76
|
+
keyRef: import("vue").Ref<number>;
|
|
77
|
+
reload: () => void;
|
|
78
|
+
wrapperRef: import("vue").Ref<HTMLElement | undefined>;
|
|
79
|
+
width: import("vue").Ref<number>;
|
|
80
|
+
useVersion: typeof useVersion;
|
|
81
|
+
NoticeItem: import("vue").DefineComponent<{
|
|
82
|
+
item: {
|
|
83
|
+
type: PropType<StepNotice.InternalItem>;
|
|
84
|
+
required: true;
|
|
85
|
+
};
|
|
86
|
+
}, {
|
|
87
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
88
|
+
item: {
|
|
89
|
+
type: PropType<StepNotice.InternalItem>;
|
|
90
|
+
required: true;
|
|
91
|
+
};
|
|
92
|
+
}>> & {}>>;
|
|
93
|
+
itemRef: import("vue").Ref<StepNotice.InternalItem>;
|
|
94
|
+
classList: import("vue").ComputedRef<string[]>;
|
|
95
|
+
frontStyle: import("vue").ComputedRef<{
|
|
96
|
+
minHeight: string;
|
|
97
|
+
}>;
|
|
98
|
+
popperDisabled: import("vue").ComputedRef<boolean>;
|
|
99
|
+
renderIcon: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
100
|
+
[key: string]: any;
|
|
101
|
+
}> | import("../..").AnyFn<any[], any> | null;
|
|
102
|
+
NoticeConnection: import("vue").DefineComponent<{
|
|
103
|
+
item: {
|
|
104
|
+
type: PropType<StepNotice.InternalItem>;
|
|
105
|
+
required: true;
|
|
106
|
+
};
|
|
107
|
+
}, {
|
|
108
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
109
|
+
item: {
|
|
110
|
+
type: PropType<StepNotice.InternalItem>;
|
|
111
|
+
required: true;
|
|
112
|
+
};
|
|
113
|
+
}>> & {}>>;
|
|
114
|
+
itemRef: import("vue").Ref<StepNotice.InternalItem>;
|
|
115
|
+
pointStyle: import("vue").ComputedRef<{
|
|
116
|
+
opacity: number;
|
|
117
|
+
}>;
|
|
118
|
+
verticalLineHeight: import("vue").Ref<number>;
|
|
119
|
+
horizonLineWidth: import("vue").Ref<number>;
|
|
120
|
+
subHorizonWidth: import("vue").Ref<number>;
|
|
121
|
+
wrapperRef: import("vue").Ref<HTMLElement | undefined>;
|
|
122
|
+
calculatePositionRect: () => void;
|
|
123
|
+
lineStyles: import("vue").ComputedRef<{
|
|
124
|
+
width: string;
|
|
125
|
+
height: string;
|
|
126
|
+
}>;
|
|
127
|
+
iconStyle: import("vue").ComputedRef<{
|
|
128
|
+
top: string;
|
|
129
|
+
}>;
|
|
130
|
+
widthAppend: typeof import("../../../shared/utils").widthAppend;
|
|
131
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
132
|
+
item: {
|
|
133
|
+
type: PropType<StepNotice.InternalItem>;
|
|
134
|
+
required: true;
|
|
135
|
+
};
|
|
136
|
+
}>>, {}>;
|
|
137
|
+
NoticeItemAside: import("vue").DefineComponent<{
|
|
138
|
+
item: {
|
|
139
|
+
type: PropType<StepNotice.InternalItem>;
|
|
140
|
+
required: true;
|
|
141
|
+
};
|
|
142
|
+
}, {
|
|
143
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
144
|
+
item: {
|
|
145
|
+
type: PropType<StepNotice.InternalItem>;
|
|
146
|
+
required: true;
|
|
147
|
+
};
|
|
148
|
+
}>> & {}>>;
|
|
149
|
+
getPositionInList: (index: number) => "center" | "first" | "last";
|
|
150
|
+
placementMap: {
|
|
151
|
+
first: string;
|
|
152
|
+
center: string;
|
|
153
|
+
last: string;
|
|
154
|
+
};
|
|
155
|
+
getPlacement: (index: number) => string;
|
|
156
|
+
getAsideClassList: (noticeItem: Partial<{
|
|
157
|
+
header: string | import("../..").AnyFn<any[], any>;
|
|
158
|
+
content: string | import("../..").AnyFn<any[], any>;
|
|
159
|
+
subContent: string | import("../..").AnyFn<any[], any>;
|
|
160
|
+
}>, index: number) => (string | {
|
|
161
|
+
'is-active': string | import("../..").AnyFn<any[], any> | undefined;
|
|
162
|
+
})[];
|
|
163
|
+
theme: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
164
|
+
NPopover: any;
|
|
165
|
+
parseRender: typeof import("./utils").parseRender;
|
|
166
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
167
|
+
item: {
|
|
168
|
+
type: PropType<StepNotice.InternalItem>;
|
|
169
|
+
required: true;
|
|
170
|
+
};
|
|
171
|
+
}>>, {}>;
|
|
172
|
+
NoticeOperationList: import("vue").DefineComponent<{
|
|
173
|
+
operationList: {
|
|
174
|
+
type: PropType<Partial<Partial<{
|
|
175
|
+
header: string | import("../..").AnyFn<any[], any>;
|
|
176
|
+
content: string | import("../..").AnyFn<any[], any>;
|
|
177
|
+
subContent: string | import("../..").AnyFn<any[], any>;
|
|
178
|
+
}> & {
|
|
179
|
+
type: "warning" | "primary";
|
|
180
|
+
subHeader: string | import("../..").AnyFn<any[], any>;
|
|
181
|
+
remark: string | import("../..").AnyFn<any[], any>;
|
|
182
|
+
}>[] | undefined>;
|
|
183
|
+
required: true;
|
|
184
|
+
};
|
|
185
|
+
}, {
|
|
186
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
187
|
+
operationList: {
|
|
188
|
+
type: PropType<Partial<Partial<{
|
|
189
|
+
header: string | import("../..").AnyFn<any[], any>;
|
|
190
|
+
content: string | import("../..").AnyFn<any[], any>;
|
|
191
|
+
subContent: string | import("../..").AnyFn<any[], any>;
|
|
192
|
+
}> & {
|
|
193
|
+
type: "warning" | "primary";
|
|
194
|
+
subHeader: string | import("../..").AnyFn<any[], any>;
|
|
195
|
+
remark: string | import("../..").AnyFn<any[], any>;
|
|
196
|
+
}>[] | undefined>;
|
|
197
|
+
required: true;
|
|
198
|
+
};
|
|
199
|
+
}>> & {}>>;
|
|
200
|
+
theme: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
201
|
+
CheckmarkCircle: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
202
|
+
CloseCircle: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
203
|
+
parseRender: typeof import("./utils").parseRender;
|
|
204
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
205
|
+
operationList: {
|
|
206
|
+
type: PropType<Partial<Partial<{
|
|
207
|
+
header: string | import("../..").AnyFn<any[], any>;
|
|
208
|
+
content: string | import("../..").AnyFn<any[], any>;
|
|
209
|
+
subContent: string | import("../..").AnyFn<any[], any>;
|
|
210
|
+
}> & {
|
|
211
|
+
type: "warning" | "primary";
|
|
212
|
+
subHeader: string | import("../..").AnyFn<any[], any>;
|
|
213
|
+
remark: string | import("../..").AnyFn<any[], any>;
|
|
214
|
+
}>[] | undefined>;
|
|
215
|
+
required: true;
|
|
216
|
+
};
|
|
217
|
+
}>>, {}>;
|
|
218
|
+
NPopover: any;
|
|
219
|
+
parseRender: typeof import("./utils").parseRender;
|
|
220
|
+
parseTitle: typeof import("./utils").parseTitle;
|
|
221
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
222
|
+
item: {
|
|
223
|
+
type: PropType<StepNotice.InternalItem>;
|
|
224
|
+
required: true;
|
|
225
|
+
};
|
|
226
|
+
}>>, {}>;
|
|
227
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "itemClick"[], "itemClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
228
|
+
items: {
|
|
229
|
+
type: PropType<Partial<{
|
|
230
|
+
header: string | import("../..").AnyFn<any[], any>;
|
|
231
|
+
type: "warning" | "normal" | "primary";
|
|
232
|
+
icon: "warning" | import("../..").AnyFn<any[], any>;
|
|
233
|
+
lineType: "dashed" | "solid";
|
|
234
|
+
topText: (string | import("../..").AnyFn<any[], any>)[];
|
|
235
|
+
footerText: string | import("../..").AnyFn<any[], any>;
|
|
236
|
+
content: string | import("../..").AnyFn<any[], any>;
|
|
237
|
+
subContent: string | import("../..").AnyFn<any[], any>;
|
|
238
|
+
noticeList: Partial<{
|
|
239
|
+
header: string | import("../..").AnyFn<any[], any>;
|
|
240
|
+
content: string | import("../..").AnyFn<any[], any>;
|
|
241
|
+
subContent: string | import("../..").AnyFn<any[], any>;
|
|
242
|
+
}>[];
|
|
243
|
+
operationList: Partial<Partial<{
|
|
244
|
+
header: string | import("../..").AnyFn<any[], any>;
|
|
245
|
+
content: string | import("../..").AnyFn<any[], any>;
|
|
246
|
+
subContent: string | import("../..").AnyFn<any[], any>;
|
|
247
|
+
}> & {
|
|
248
|
+
type: "warning" | "primary";
|
|
249
|
+
subHeader: string | import("../..").AnyFn<any[], any>;
|
|
250
|
+
remark: string | import("../..").AnyFn<any[], any>;
|
|
251
|
+
}>[];
|
|
252
|
+
}>[]>;
|
|
253
|
+
default: () => never[];
|
|
254
|
+
};
|
|
255
|
+
rowCapacity: {
|
|
256
|
+
type: NumberConstructor;
|
|
257
|
+
default: number;
|
|
258
|
+
};
|
|
259
|
+
}>> & {
|
|
260
|
+
onItemClick?: ((...args: any[]) => any) | undefined;
|
|
261
|
+
}, {
|
|
262
|
+
items: Partial<{
|
|
263
|
+
header: string | import("../..").AnyFn<any[], any>;
|
|
264
|
+
type: "warning" | "normal" | "primary";
|
|
265
|
+
icon: "warning" | import("../..").AnyFn<any[], any>;
|
|
266
|
+
lineType: "dashed" | "solid";
|
|
267
|
+
topText: (string | import("../..").AnyFn<any[], any>)[];
|
|
268
|
+
footerText: string | import("../..").AnyFn<any[], any>;
|
|
269
|
+
content: string | import("../..").AnyFn<any[], any>;
|
|
270
|
+
subContent: string | import("../..").AnyFn<any[], any>;
|
|
271
|
+
noticeList: Partial<{
|
|
272
|
+
header: string | import("../..").AnyFn<any[], any>;
|
|
273
|
+
content: string | import("../..").AnyFn<any[], any>;
|
|
274
|
+
subContent: string | import("../..").AnyFn<any[], any>;
|
|
275
|
+
}>[];
|
|
276
|
+
operationList: Partial<Partial<{
|
|
277
|
+
header: string | import("../..").AnyFn<any[], any>;
|
|
278
|
+
content: string | import("../..").AnyFn<any[], any>;
|
|
279
|
+
subContent: string | import("../..").AnyFn<any[], any>;
|
|
280
|
+
}> & {
|
|
281
|
+
type: "warning" | "primary";
|
|
282
|
+
subHeader: string | import("../..").AnyFn<any[], any>;
|
|
283
|
+
remark: string | import("../..").AnyFn<any[], any>;
|
|
284
|
+
}>[];
|
|
285
|
+
}>[];
|
|
286
|
+
rowCapacity: number;
|
|
287
|
+
}>;
|
|
288
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./StepNotice.vue2.js";import t from"../../../_virtual/_plugin-vue_export-helper.js";var r=t(e,[["__file","StepNotice.vue"]]);export{r as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,computed as t,ref as o,watch as s,openBlock as i,createElementBlock as r,mergeProps as a,unref as n,Fragment as p,renderList as c,createBlock as m,createCommentVNode as l}from"vue";import"../../../shared/utils/index.js";import{cloneDeep as u}from"lodash-es";import"naive-ui";import{useDebounceFn as h,useElementSize as f}from"@vueuse/core";import"date-fns";import"@vue/shared";import"@vueuse/shared";import"../../../shared/hooks/selectHooks/useSearchContent.js";import"@vicons/ionicons5";import{useVersion as y}from"../../../shared/hooks/useVersion.js";import d from"./components/NoticeItem.vue.js";import{useStepNoticeTheme as k}from"./hooks/useTheme.js";var v=e({__name:"StepNotice",props:{items:{type:Array,default:()=>[]},rowCapacity:{type:Number,default:4}},emits:["itemClick"],setup(e,{expose:v,emit:C}){const w=e,_=t((()=>{const e=[],t=u(w.items);for(let o=0;o<t.length;o+=w.rowCapacity)e.push(t.slice(o,o+w.rowCapacity).map(((e,s,i)=>{const r=t[o+s+1];return Object.assign(e,{isGroupLast:s===i.length-1,nextItem:r}),e})));return e}));const g=k(),j=o(0),x=h((()=>{j.value++}),200);s([()=>w.items,()=>w.rowCapacity],x,{deep:!0});const N=o(),{width:b}=f(N);return s(b,((e,t)=>{t&&x()})),v({reload:x}),(t,o)=>(i(),r("section",a({class:"step-notice",style:n(g),ref_key:"wrapperRef",ref:N},n(y)()),[(i(),r("section",{key:j.value},[(i(!0),r(p,null,c(n(_),((t,o)=>(i(),r("section",{key:o,class:"step-notice__group"},[(i(!0),r(p,null,c(t,((e,t)=>(i(),m(d,{item:e,key:t,onClick:t=>function(e){C("itemClick",e)}(e)},null,8,["item","onClick"])))),128)),t.length<e.rowCapacity?(i(!0),r(p,{key:0},c(e.rowCapacity-t.length,(e=>(i(),r("span",{key:e,class:"step-notice__placeholder"})))),128)):l("v-if",!0)])))),128))]))],16))}});export{v as default};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { widthAppend } from '../../../../shared/utils';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { StepNotice } from '../../../../components/step-notice';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
item: {
|
|
6
|
+
type: PropType<StepNotice.InternalItem>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
}, {
|
|
10
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
item: {
|
|
12
|
+
type: PropType<StepNotice.InternalItem>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
}>> & {}>>;
|
|
16
|
+
itemRef: import("vue").Ref<StepNotice.InternalItem>;
|
|
17
|
+
pointStyle: import("vue").ComputedRef<{
|
|
18
|
+
opacity: number;
|
|
19
|
+
}>;
|
|
20
|
+
verticalLineHeight: import("vue").Ref<number>;
|
|
21
|
+
horizonLineWidth: import("vue").Ref<number>;
|
|
22
|
+
subHorizonWidth: import("vue").Ref<number>;
|
|
23
|
+
wrapperRef: import("vue").Ref<HTMLElement | undefined>;
|
|
24
|
+
calculatePositionRect: () => void;
|
|
25
|
+
lineStyles: import("vue").ComputedRef<{
|
|
26
|
+
width: string;
|
|
27
|
+
height: string;
|
|
28
|
+
}>;
|
|
29
|
+
iconStyle: import("vue").ComputedRef<{
|
|
30
|
+
top: string;
|
|
31
|
+
}>;
|
|
32
|
+
widthAppend: typeof widthAppend;
|
|
33
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
item: {
|
|
35
|
+
type: PropType<StepNotice.InternalItem>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
}>>, {}>;
|
|
39
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./NoticeConnection.vue2.js";import o from"../../../../_virtual/_plugin-vue_export-helper.js";var t=o(e,[["__file","NoticeConnection.vue"]]);export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,toRef as t,computed as i,ref as n,onMounted as l,openBlock as o,createElementBlock as r,normalizeStyle as s,unref as u,createElementVNode as a,createCommentVNode as v}from"vue";import{widthAppend as c}from"../../../../shared/utils/index.js";import{isEmpty as p}from"lodash-es";const d={key:1,class:"step-notice__itemArrowSubLine step-notice__itemArrowLine--vertical"};var m=e({__name:"NoticeConnection",props:{item:{type:Object,required:!0}},setup(e){const m=t(e,"item"),f=i((()=>{var e,t;return{opacity:(null==(e=m.value)?void 0:e.isGroupLast)||!(null==(t=m.value.noticeList)?void 0:t.length)?1:0}})),_=n(0),g=n(0),L=n(0),h=n();l((function(){var e,t,i;if(!h.value)return;const n=h.value.parentElement;if(n)if(null==(e=m.value)?void 0:e.isGroupLast){const e=null==(i=null==(t=null==n?void 0:n.parentElement)?void 0:t.nextElementSibling)?void 0:i.querySelector(".step-notice__item");if(!e)return;const l=e.getBoundingClientRect(),o=n.getBoundingClientRect();_.value=(l.top-o.bottom)/2,L.value=o.left+(o.right-o.left)/2-(l.left+(l.right-l.left)/2)-24}else{const e=n.nextElementSibling;if(!e)return;g.value=e.getBoundingClientRect().left-n.getBoundingClientRect().right}}));const w=i((()=>{var e;return{width:c((null==(e=m.value)?void 0:e.isGroupLast)?16:g.value-8),height:c(_.value)}})),y=i((()=>{var e,t,i;return{top:c((null==(e=m.value)?void 0:e.isGroupLast)?2*_.value-8-(p(null==(i=null==(t=m.value)?void 0:t.nextItem)?void 0:i.topText)?0:20):4)}}));return(t,i)=>(o(),r("section",{class:"step-notice__itemArrow",style:s({"--step-info-offset":u(c)(L.value)}),ref_key:"wrapperRef",ref:h},[a("div",{class:"step-notice__itemArrowPoint",style:s(u(f))},null,4),a("div",{class:"step-notice__itemArrowLine",style:s(u(w))},[e.item.isGroupLast?(o(),r("div",{key:0,class:"step-notice__itemArrowSubLine step-notice__itemArrowLine--horizon",style:s({width:u(c)(L.value)})},null,4)):v("v-if",!0),e.item.isGroupLast?(o(),r("div",d)):v("v-if",!0),a("div",{class:"step-notice__itemArrowIcon",style:s(u(y))},null,4)],4)],4))}});export{m as default};
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { widthAppend } from '../../../../shared/utils';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { StepNotice } from '../../../../components/step-notice/src/types';
|
|
4
|
+
import { parseRender, parseTitle } from '../../../../components/step-notice/src/utils';
|
|
5
|
+
declare const _default: import("vue").DefineComponent<{
|
|
6
|
+
item: {
|
|
7
|
+
type: PropType<StepNotice.InternalItem>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
item: {
|
|
13
|
+
type: PropType<StepNotice.InternalItem>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
}>> & {}>>;
|
|
17
|
+
itemRef: import("vue").Ref<StepNotice.InternalItem>;
|
|
18
|
+
classList: import("vue").ComputedRef<string[]>;
|
|
19
|
+
frontStyle: import("vue").ComputedRef<{
|
|
20
|
+
minHeight: string;
|
|
21
|
+
}>;
|
|
22
|
+
popperDisabled: import("vue").ComputedRef<boolean>;
|
|
23
|
+
renderIcon: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}> | import("../../..").AnyFn<any[], any> | null;
|
|
26
|
+
NoticeConnection: import("vue").DefineComponent<{
|
|
27
|
+
item: {
|
|
28
|
+
type: PropType<StepNotice.InternalItem>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
}, {
|
|
32
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
+
item: {
|
|
34
|
+
type: PropType<StepNotice.InternalItem>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
}>> & {}>>;
|
|
38
|
+
itemRef: import("vue").Ref<StepNotice.InternalItem>;
|
|
39
|
+
pointStyle: import("vue").ComputedRef<{
|
|
40
|
+
opacity: number;
|
|
41
|
+
}>;
|
|
42
|
+
verticalLineHeight: import("vue").Ref<number>;
|
|
43
|
+
horizonLineWidth: import("vue").Ref<number>;
|
|
44
|
+
subHorizonWidth: import("vue").Ref<number>;
|
|
45
|
+
wrapperRef: import("vue").Ref<HTMLElement | undefined>;
|
|
46
|
+
calculatePositionRect: () => void;
|
|
47
|
+
lineStyles: import("vue").ComputedRef<{
|
|
48
|
+
width: string;
|
|
49
|
+
height: string;
|
|
50
|
+
}>;
|
|
51
|
+
iconStyle: import("vue").ComputedRef<{
|
|
52
|
+
top: string;
|
|
53
|
+
}>;
|
|
54
|
+
widthAppend: typeof widthAppend;
|
|
55
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
56
|
+
item: {
|
|
57
|
+
type: PropType<StepNotice.InternalItem>;
|
|
58
|
+
required: true;
|
|
59
|
+
};
|
|
60
|
+
}>>, {}>;
|
|
61
|
+
NoticeItemAside: import("vue").DefineComponent<{
|
|
62
|
+
item: {
|
|
63
|
+
type: PropType<StepNotice.InternalItem>;
|
|
64
|
+
required: true;
|
|
65
|
+
};
|
|
66
|
+
}, {
|
|
67
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
68
|
+
item: {
|
|
69
|
+
type: PropType<StepNotice.InternalItem>;
|
|
70
|
+
required: true;
|
|
71
|
+
};
|
|
72
|
+
}>> & {}>>;
|
|
73
|
+
getPositionInList: (index: number) => "center" | "first" | "last";
|
|
74
|
+
placementMap: {
|
|
75
|
+
first: string;
|
|
76
|
+
center: string;
|
|
77
|
+
last: string;
|
|
78
|
+
};
|
|
79
|
+
getPlacement: (index: number) => string;
|
|
80
|
+
getAsideClassList: (noticeItem: Partial<{
|
|
81
|
+
header: string | import("../../..").AnyFn<any[], any>;
|
|
82
|
+
content: string | import("../../..").AnyFn<any[], any>;
|
|
83
|
+
subContent: string | import("../../..").AnyFn<any[], any>;
|
|
84
|
+
}>, index: number) => (string | {
|
|
85
|
+
'is-active': string | import("../../..").AnyFn<any[], any> | undefined;
|
|
86
|
+
})[];
|
|
87
|
+
theme: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
88
|
+
NPopover: any;
|
|
89
|
+
parseRender: typeof parseRender;
|
|
90
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
91
|
+
item: {
|
|
92
|
+
type: PropType<StepNotice.InternalItem>;
|
|
93
|
+
required: true;
|
|
94
|
+
};
|
|
95
|
+
}>>, {}>;
|
|
96
|
+
NoticeOperationList: import("vue").DefineComponent<{
|
|
97
|
+
operationList: {
|
|
98
|
+
type: PropType<Partial<Partial<{
|
|
99
|
+
header: string | import("../../..").AnyFn<any[], any>;
|
|
100
|
+
content: string | import("../../..").AnyFn<any[], any>;
|
|
101
|
+
subContent: string | import("../../..").AnyFn<any[], any>;
|
|
102
|
+
}> & {
|
|
103
|
+
type: "warning" | "primary";
|
|
104
|
+
subHeader: string | import("../../..").AnyFn<any[], any>;
|
|
105
|
+
remark: string | import("../../..").AnyFn<any[], any>;
|
|
106
|
+
}>[] | undefined>;
|
|
107
|
+
required: true;
|
|
108
|
+
};
|
|
109
|
+
}, {
|
|
110
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
111
|
+
operationList: {
|
|
112
|
+
type: PropType<Partial<Partial<{
|
|
113
|
+
header: string | import("../../..").AnyFn<any[], any>;
|
|
114
|
+
content: string | import("../../..").AnyFn<any[], any>;
|
|
115
|
+
subContent: string | import("../../..").AnyFn<any[], any>;
|
|
116
|
+
}> & {
|
|
117
|
+
type: "warning" | "primary";
|
|
118
|
+
subHeader: string | import("../../..").AnyFn<any[], any>;
|
|
119
|
+
remark: string | import("../../..").AnyFn<any[], any>;
|
|
120
|
+
}>[] | undefined>;
|
|
121
|
+
required: true;
|
|
122
|
+
};
|
|
123
|
+
}>> & {}>>;
|
|
124
|
+
theme: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
125
|
+
CheckmarkCircle: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
126
|
+
CloseCircle: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
127
|
+
parseRender: typeof parseRender;
|
|
128
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
129
|
+
operationList: {
|
|
130
|
+
type: PropType<Partial<Partial<{
|
|
131
|
+
header: string | import("../../..").AnyFn<any[], any>;
|
|
132
|
+
content: string | import("../../..").AnyFn<any[], any>;
|
|
133
|
+
subContent: string | import("../../..").AnyFn<any[], any>;
|
|
134
|
+
}> & {
|
|
135
|
+
type: "warning" | "primary";
|
|
136
|
+
subHeader: string | import("../../..").AnyFn<any[], any>;
|
|
137
|
+
remark: string | import("../../..").AnyFn<any[], any>;
|
|
138
|
+
}>[] | undefined>;
|
|
139
|
+
required: true;
|
|
140
|
+
};
|
|
141
|
+
}>>, {}>;
|
|
142
|
+
NPopover: any;
|
|
143
|
+
parseRender: typeof parseRender;
|
|
144
|
+
parseTitle: typeof parseTitle;
|
|
145
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
146
|
+
item: {
|
|
147
|
+
type: PropType<StepNotice.InternalItem>;
|
|
148
|
+
required: true;
|
|
149
|
+
};
|
|
150
|
+
}>>, {}>;
|
|
151
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./NoticeItem.vue2.js";import t from"../../../../_virtual/_plugin-vue_export-helper.js";var r=t(e,[["__file","NoticeItem.vue"]]);export{r as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as t,toRef as e,computed as i,openBlock as o,createElementBlock as n,normalizeClass as s,unref as r,createElementVNode as l,createBlock as m,resolveDynamicComponent as a,Fragment as c,renderList as p,createCommentVNode as u,createVNode as v,withCtx as _,normalizeStyle as d,h as f}from"vue";import{widthAppend as y}from"../../../../shared/utils/index.js";import{AlertCircle as h}from"@vicons/ionicons5";import x from"./NoticeConnection.vue.js";import b from"./NoticeItemAside.vue.js";import g from"./NoticeOperationList.vue.js";import{NPopover as C}from"naive-ui";import{parseRender as T,parseTitle as k}from"../utils.js";const j={class:"step-notice__icon"},F={key:0,class:"step-notice__itemHeader"},L=["title"],w={key:0,class:"step-notice__itemFrontContent"},N=["title"],H=["title"],I={key:1,class:"step-notice__itemFooter"};var O=t({__name:"NoticeItem",props:{item:{type:Object,required:!0}},setup(t){const O=e(t,"item"),q=i((()=>["step-notice__item",`step-notice__item--${O.value.type||"primary"}`,"step-notice__item--"+((O.value.lineType||"solid")+"Line")])),A=i((()=>{const t=O.value;return{minHeight:y(t.content||t.subContent||(null==t?void 0:t.footerText)?81:44)}})),S=i((()=>{var t,e;return!(null==(e=null==(t=O.value)?void 0:t.operationList)?void 0:e.length)}));function $(){var t;const e=null==(t=O.value)?void 0:t.icon;return e?"warning"===e?f(h,{class:"step-notice__icon--warning"}):e:null}return(e,i)=>{var f,y;return o(),n("section",{class:s(r(q))},[l("span",j,[(o(),m(a($)))]),(null==(f=t.item.topText)?void 0:f.length)?(o(),n("section",F,[(o(!0),n(c,null,p(t.item.topText,((t,e)=>(o(),n("span",{key:e},[(o(),m(a(r(T)(t))))])))),128))])):u("v-if",!0),v(r(C),{disabled:r(S),"keep-alive-on-hover":"",placement:"bottom-start",animated:!1,"show-arrow":!1},{trigger:_((()=>[l("section",{class:"step-notice__itemFront",style:d(r(A))},[l("header",{class:"step-notice__itemFrontHeader",title:r(k)(t.item.header)},[(o(),m(a(r(T)(t.item.header))))],8,L),t.item.content||t.item.subContent?(o(),n("section",w,[l("div",{class:"step-notice__itemFrontContentText",title:r(k)(t.item.content)},[(o(),m(a(r(T)(t.item.content))))],8,N),l("div",{class:"step-notice__itemFrontContentSubText",title:r(k)(t.item.subContent)},[(o(),m(a(r(T)(t.item.subContent))))],8,H)])):u("v-if",!0)],4)])),default:_((()=>[v(g,{"operation-list":t.item.operationList},null,8,["operation-list"])])),_:1},8,["disabled"]),t.item.footerText?(o(),n("footer",I,[(o(),m(a(r(T)(t.item.footerText))))])):u("v-if",!0),(null==(y=t.item.noticeList)?void 0:y.length)?(o(),m(b,{key:2,item:t.item},null,8,["item"])):u("v-if",!0),t.item.nextItem?(o(),m(x,{key:3,item:t.item},null,8,["item"])):u("v-if",!0)],2)}}});export{O as default};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { StepNotice } from '../../../../components/step-notice';
|
|
3
|
+
import { parseRender } from '../../../../components/step-notice/src/utils';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
item: {
|
|
6
|
+
type: PropType<StepNotice.InternalItem>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
}, {
|
|
10
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
item: {
|
|
12
|
+
type: PropType<StepNotice.InternalItem>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
}>> & {}>>;
|
|
16
|
+
getPositionInList: (index: number) => "center" | "first" | "last";
|
|
17
|
+
placementMap: {
|
|
18
|
+
first: string;
|
|
19
|
+
center: string;
|
|
20
|
+
last: string;
|
|
21
|
+
};
|
|
22
|
+
getPlacement: (index: number) => string;
|
|
23
|
+
getAsideClassList: (noticeItem: StepNotice.NoticeItem, index: number) => (string | {
|
|
24
|
+
'is-active': string | import("../../..").AnyFn<any[], any> | undefined;
|
|
25
|
+
})[];
|
|
26
|
+
theme: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
27
|
+
NPopover: any;
|
|
28
|
+
parseRender: typeof parseRender;
|
|
29
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
item: {
|
|
31
|
+
type: PropType<StepNotice.InternalItem>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
}>>, {}>;
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./NoticeItemAside.vue2.js";import t from"../../../../_virtual/_plugin-vue_export-helper.js";var i=t(e,[["__file","NoticeItemAside.vue"]]);export{i as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,openBlock as t,createElementBlock as n,Fragment as i,renderList as s,createBlock as o,unref as r,withCtx as c,createElementVNode as l,normalizeClass as m,normalizeStyle as u,resolveDynamicComponent as a,createCommentVNode as p}from"vue";import{NPopover as d}from"naive-ui";import{useStepNoticeTheme as f}from"../hooks/useTheme.js";import{parseRender as _}from"../utils.js";const h={class:"step-notice__itemAside"},v=l("i",{class:"step-notice__itemAsidePopperBridge"},null,-1);var g=e({__name:"NoticeItemAside",props:{item:{type:Object,required:!0}},setup(e){const g=e;function A(e){return 1===g.item.noticeList.length?"center":0===e?"first":e<g.item.noticeList.length-1?"center":"last"}const b={first:"right-start",center:"right-center",last:"right-end"};function k(e){return b[A(e)]}function y(e,t){return[`step-notice__itemAsideElement--${A(t)}`,{"is-active":e.content||e.subContent}]}const j=f();return(f,g)=>(t(),n("section",h,[(t(!0),n(i,null,s(e.item.noticeList,((e,s)=>(t(),o(r(d),{raw:"","keep-alive-on-hover":"",placement:k(s),animated:!1,"show-arrow":!1,key:s},{trigger:c((()=>[l("div",{class:m(["step-notice__itemAsideElement",...y(e,s)])},null,2)])),default:c((()=>[l("div",{class:m(["step-notice__itemAsidePopper",...y(e,s)]),style:u(r(j))},[l("header",null,[(t(),o(a(r(_)(e.header))))]),e.content||e.subContent?(t(),n(i,{key:0},[l("section",null,[(t(),o(a(r(_)(e.content))))]),l("footer",null,[(t(),o(a(r(_)(e.subContent))))])],64)):p("v-if",!0),v],6)])),_:2},1032,["placement"])))),128))]))}});export{g as default};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { parseRender } from '../../../../components/step-notice/src/utils';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
operationList: {
|
|
5
|
+
type: PropType<Partial<Partial<{
|
|
6
|
+
header: string | import("../../..").AnyFn<any[], any>;
|
|
7
|
+
content: string | import("../../..").AnyFn<any[], any>;
|
|
8
|
+
subContent: string | import("../../..").AnyFn<any[], any>;
|
|
9
|
+
}> & {
|
|
10
|
+
type: "warning" | "primary";
|
|
11
|
+
subHeader: string | import("../../..").AnyFn<any[], any>;
|
|
12
|
+
remark: string | import("../../..").AnyFn<any[], any>;
|
|
13
|
+
}>[] | undefined>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
}, {
|
|
17
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
operationList: {
|
|
19
|
+
type: PropType<Partial<Partial<{
|
|
20
|
+
header: string | import("../../..").AnyFn<any[], any>;
|
|
21
|
+
content: string | import("../../..").AnyFn<any[], any>;
|
|
22
|
+
subContent: string | import("../../..").AnyFn<any[], any>;
|
|
23
|
+
}> & {
|
|
24
|
+
type: "warning" | "primary";
|
|
25
|
+
subHeader: string | import("../../..").AnyFn<any[], any>;
|
|
26
|
+
remark: string | import("../../..").AnyFn<any[], any>;
|
|
27
|
+
}>[] | undefined>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
}>> & {}>>;
|
|
31
|
+
theme: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
32
|
+
CheckmarkCircle: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
33
|
+
CloseCircle: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
34
|
+
parseRender: typeof parseRender;
|
|
35
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
|
+
operationList: {
|
|
37
|
+
type: PropType<Partial<Partial<{
|
|
38
|
+
header: string | import("../../..").AnyFn<any[], any>;
|
|
39
|
+
content: string | import("../../..").AnyFn<any[], any>;
|
|
40
|
+
subContent: string | import("../../..").AnyFn<any[], any>;
|
|
41
|
+
}> & {
|
|
42
|
+
type: "warning" | "primary";
|
|
43
|
+
subHeader: string | import("../../..").AnyFn<any[], any>;
|
|
44
|
+
remark: string | import("../../..").AnyFn<any[], any>;
|
|
45
|
+
}>[] | undefined>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
}>>, {}>;
|
|
49
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./NoticeOperationList.vue2.js";import t from"../../../../_virtual/_plugin-vue_export-helper.js";var i=t(e,[["__file","NoticeOperationList.vue"]]);export{i as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,openBlock as t,createElementBlock as i,normalizeStyle as o,unref as s,Fragment as r,renderList as n,normalizeClass as a,createElementVNode as p,createBlock as m,resolveDynamicComponent as c}from"vue";import{CloseCircle as _,CheckmarkCircle as l}from"@vicons/ionicons5";import{useStepNoticeTheme as d}from"../hooks/useTheme.js";import{parseRender as I}from"../utils.js";const O={class:"step-notice__itemOperationItemHeaderWrapper"},u={class:"step-notice__itemOperationItemHeader"},y={class:"step-notice__itemOperationItemSubHeader"},v={class:"step-notice__itemOperationItemContentWrapper"},f={class:"step-notice__itemOperationItemContent"},k={class:"step-notice__itemOperationItemSubContent"},H={class:"step-notice__itemOperationItemRemark"};var b=e({__name:"NoticeOperationList",props:{operationList:{type:Array,required:!0}},setup(e){const b=d();return(d,h)=>(t(),i("section",{class:"step-notice__itemOperationWrapper",style:o(s(b))},[(t(!0),i(r,null,n(e.operationList,((e,o)=>(t(),i("section",{key:o,class:a(["step-notice__itemOperationItem",`step-notice__itemOperationItem--${e.type||"primary"}`])},[p("header",O,["warning"===e.type?(t(),m(s(_),{key:0,class:"step-notice__itemOperationItemHeaderIcon"})):(t(),m(s(l),{key:1,class:"step-notice__itemOperationItemHeaderIcon"})),p("div",u,[(t(),m(c(s(I)(e.header))))]),p("div",y,[(t(),m(c(s(I)(e.subHeader))))])]),p("section",v,[p("div",f,[(t(),m(c(s(I)(e.content))))]),p("div",k,[(t(),m(c(s(I)(e.subContent))))])]),p("footer",H,[(t(),m(c(s(I)(e.remark))))])],2)))),128))],4))}});export{b as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useStepNoticeTheme(): import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useTheme as e}from"../../../../shared/hooks/useTheme.js";import"vue";import"@vueuse/core";import"date-fns";import"lodash-es";import"@vue/shared";import"../../../../shared/utils/index.js";import"@vueuse/shared";import"../../../../shared/hooks/selectHooks/useSearchContent.js";import"@vicons/ionicons5";import"naive-ui";function t(){return e({"--step-notice-primary":"#2563f4","--step-notice-primary-light":"#2563f426","--step-notice-warning":"#ff0000","--step-notice-warning-light":"#ffcbcb","--step-notice-normal":"#a9a9a9","--step-notice-normal-light":"#e6e6e6","--step-notice-not-accepted-0":"#cccccc","--step-notice-not-accepted-1":"#b2b2b2","--step-notice-not-accepted-2":"#7f7f7f","--step-notice-accepted-0":"#ff7700","--step-notice-accepted-1":"#dc0000","--step-notice-accepted-2":"#9f0000"})}export{t as useStepNoticeTheme};
|