cnhis-design-vue 3.2.1-release.2 → 3.2.2-beta.2

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 (130) hide show
  1. package/README.md +87 -87
  2. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  3. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
  4. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
  5. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
  6. package/es/components/button-print/src/utils/print.d.ts +1 -1
  7. package/es/components/button-print/src/utils/print.js +1 -1
  8. package/es/components/callback/src/components/render/popupMaps.d.ts +72 -70
  9. package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
  10. package/es/components/classification/src/index.vue.d.ts +3 -3
  11. package/es/components/default-page/index.d.ts +71 -0
  12. package/es/components/default-page/index.js +1 -0
  13. package/es/components/default-page/src/constants/index.d.ts +19 -0
  14. package/es/components/default-page/src/constants/index.js +1 -0
  15. package/es/components/default-page/src/index.vue.d.ts +72 -0
  16. package/es/components/default-page/src/index.vue.js +1 -0
  17. package/es/components/default-page/src/index.vue2.js +1 -0
  18. package/es/components/default-page/style/index.css +1 -0
  19. package/es/components/expand-field/src/components/form.vue2.js +1 -1
  20. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
  21. package/es/components/field-set/src/FieldColor.vue.d.ts +2 -2
  22. package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
  23. package/es/components/field-set/src/components/Row.vue.d.ts +1 -1
  24. package/es/components/field-set/src/components/edit-dialog.vue.d.ts +1 -1
  25. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue2.js +1 -1
  26. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  27. package/es/components/iho-table/index.d.ts +72 -70
  28. package/es/components/iho-table/src/IhoTable.vue.d.ts +72 -70
  29. package/es/components/iho-table/src/IhoTable.vue2.js +1 -1
  30. package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +3 -1
  31. package/es/components/iho-table/src/hooks/tapHooks/index.js +1 -1
  32. package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +1 -0
  33. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +2 -1
  34. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.js +1 -1
  35. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.js +1 -1
  36. package/es/components/iho-table/src/plugins/verticalTablePlugin/index.js +1 -1
  37. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/index.d.ts +112 -0
  38. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/index.js +1 -0
  39. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useColumn2Data.d.ts +2 -0
  40. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useColumn2Data.js +1 -0
  41. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useCurrentColumn.d.ts +2 -0
  42. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useCurrentColumn.js +1 -0
  43. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useData2Column.d.ts +2 -0
  44. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useData2Column.js +1 -0
  45. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useEditCell.d.ts +2 -0
  46. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useEditCell.js +1 -0
  47. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useEventConvert.d.ts +2 -0
  48. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useEventConvert.js +1 -0
  49. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useExpose.d.ts +2 -0
  50. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useExpose.js +1 -0
  51. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useHeaderCSS.d.ts +2 -0
  52. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useHeaderCSS.js +1 -0
  53. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useHoverColumn.d.ts +2 -0
  54. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useHoverColumn.js +1 -0
  55. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useTriggerRow.d.ts +2 -0
  56. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useTriggerRow.js +1 -0
  57. package/es/components/iho-table/src/plugins/verticalTablePlugin/{renderer.d.ts → src/renderer.d.ts} +2 -1
  58. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/renderer.js +1 -0
  59. package/es/components/iho-table/src/plugins/verticalTablePlugin/{types.d.ts → src/types.d.ts} +3 -3
  60. package/es/components/iho-table/src/plugins/verticalTablePlugin/{utils.d.ts → src/utils.d.ts} +7 -6
  61. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/utils.js +1 -0
  62. package/es/components/iho-table/src/types/index.d.ts +33 -4
  63. package/es/components/iho-table/src/types/pluginType.d.ts +1 -0
  64. package/es/components/index.css +1 -1
  65. package/es/components/index.d.ts +4 -1
  66. package/es/components/index.js +1 -1
  67. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  68. package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
  69. package/es/components/select-person/src/SearchMultiple.vue.d.ts +0 -6
  70. package/es/components/step-notice/index.d.ts +309 -0
  71. package/es/components/step-notice/index.js +1 -0
  72. package/es/components/step-notice/src/StepNotice.vue.d.ts +286 -0
  73. package/es/components/step-notice/src/StepNotice.vue.js +1 -0
  74. package/es/components/step-notice/src/StepNotice.vue2.js +1 -0
  75. package/es/components/step-notice/src/components/NoticeConnection.vue.d.ts +39 -0
  76. package/es/components/step-notice/src/components/NoticeConnection.vue.js +1 -0
  77. package/es/components/step-notice/src/components/NoticeConnection.vue2.js +1 -0
  78. package/es/components/step-notice/src/components/NoticeItem.vue.d.ts +151 -0
  79. package/es/components/step-notice/src/components/NoticeItem.vue.js +1 -0
  80. package/es/components/step-notice/src/components/NoticeItem.vue2.js +1 -0
  81. package/es/components/step-notice/src/components/NoticeItemAside.vue.d.ts +35 -0
  82. package/es/components/step-notice/src/components/NoticeItemAside.vue.js +1 -0
  83. package/es/components/step-notice/src/components/NoticeItemAside.vue2.js +1 -0
  84. package/es/components/step-notice/src/components/NoticeOperationList.vue.d.ts +49 -0
  85. package/es/components/step-notice/src/components/NoticeOperationList.vue.js +1 -0
  86. package/es/components/step-notice/src/components/NoticeOperationList.vue2.js +1 -0
  87. package/es/components/step-notice/src/hooks/useTheme.d.ts +1 -0
  88. package/es/components/step-notice/src/hooks/useTheme.js +1 -0
  89. package/es/components/step-notice/src/types.d.ts +33 -0
  90. package/es/components/step-notice/src/types.js +1 -0
  91. package/es/components/step-notice/src/utils.d.ts +3 -0
  92. package/es/components/step-notice/src/utils.js +1 -0
  93. package/es/components/step-notice/style/index.css +1 -0
  94. package/es/env.d.ts +25 -25
  95. package/es/shared/assets/img/defaultCover/10reload.jpg.js +1 -0
  96. package/es/shared/assets/img/defaultCover/1tab.jpg.js +1 -0
  97. package/es/shared/assets/img/defaultCover/2menu.jpg.js +1 -0
  98. package/es/shared/assets/img/defaultCover/3view.jpg.js +1 -0
  99. package/es/shared/assets/img/defaultCover/4system.jpg.js +1 -0
  100. package/es/shared/assets/img/defaultCover/5location.jpg.js +1 -0
  101. package/es/shared/assets/img/defaultCover/6notfound.jpg.js +1 -0
  102. package/es/shared/assets/img/defaultCover/7loading.jpg.js +1 -0
  103. package/es/shared/assets/img/defaultCover/8nopermission.jpg.js +1 -0
  104. package/es/shared/assets/img/defaultCover/9nodata.jpg.js +1 -0
  105. package/es/shared/assets/img/failure.png.js +1 -1
  106. package/es/shared/assets/img/no-permission.png.js +1 -1
  107. package/es/shared/assets/img/nodata.png.js +1 -1
  108. package/es/shared/assets/img/notfound.png.js +1 -1
  109. package/es/shared/assets/img/qr.png.js +1 -1
  110. package/es/shared/assets/img/success.png.js +1 -1
  111. package/es/shared/assets/img/table_style_2.png.js +1 -1
  112. package/es/shared/assets/img/video.png.js +1 -1
  113. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  114. package/es/shared/assets/img/xb_big.png.js +1 -1
  115. package/es/shared/assets/img/xb_small.png.js +1 -1
  116. package/es/shared/components/JSONTree/JSONTree.vue.d.ts +26 -0
  117. package/es/shared/components/JSONTree/JSONTree.vue.js +1 -0
  118. package/es/shared/components/JSONTree/JSONTree.vue2.js +1 -0
  119. package/es/shared/components/JSONTree/index.d.ts +2 -0
  120. package/es/shared/components/JSONTree/index.js +1 -0
  121. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
  122. package/es/shared/package.json.js +1 -1
  123. package/es/shared/utils/fabricjs/index.d.ts +6823 -0
  124. package/es/shared/utils/tapable/index.d.ts +139 -0
  125. package/package.json +2 -2
  126. package/es/components/iho-table/src/plugins/verticalTablePlugin/renderer.js +0 -1
  127. package/es/components/iho-table/src/plugins/verticalTablePlugin/utils.js +0 -1
  128. /package/es/components/iho-table/src/plugins/verticalTablePlugin/{constants.d.ts → src/constants.d.ts} +0 -0
  129. /package/es/components/iho-table/src/plugins/verticalTablePlugin/{constants.js → src/constants.js} +0 -0
  130. /package/es/components/iho-table/src/plugins/verticalTablePlugin/{types.js → src/types.js} +0 -0
@@ -0,0 +1,286 @@
1
+ import { PropType } from 'vue';
2
+ import { StepNotice } from '../../../components/step-notice/src/types';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ items: {
5
+ type: PropType<Partial<{
6
+ header: string | import("../..").AnyFn<any[], any>;
7
+ type: "warning" | "normal" | "primary";
8
+ icon: "warning" | import("../..").AnyFn<any[], any>;
9
+ lineType: "dashed" | "solid";
10
+ topText: (string | import("../..").AnyFn<any[], any>)[];
11
+ footerText: string | import("../..").AnyFn<any[], any>;
12
+ content: string | import("../..").AnyFn<any[], any>;
13
+ subContent: string | import("../..").AnyFn<any[], any>;
14
+ noticeList: Partial<{
15
+ header: string | import("../..").AnyFn<any[], any>;
16
+ content: string | import("../..").AnyFn<any[], any>;
17
+ subContent: string | import("../..").AnyFn<any[], any>;
18
+ }>[];
19
+ operationList: 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
+ }>[];
28
+ }>[]>;
29
+ default: () => never[];
30
+ };
31
+ rowCapacity: {
32
+ type: NumberConstructor;
33
+ default: number;
34
+ };
35
+ }, {
36
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
37
+ items: {
38
+ type: PropType<Partial<{
39
+ header: string | import("../..").AnyFn<any[], any>;
40
+ type: "warning" | "normal" | "primary";
41
+ icon: "warning" | import("../..").AnyFn<any[], any>;
42
+ lineType: "dashed" | "solid";
43
+ topText: (string | import("../..").AnyFn<any[], any>)[];
44
+ footerText: string | import("../..").AnyFn<any[], any>;
45
+ content: string | import("../..").AnyFn<any[], any>;
46
+ subContent: string | import("../..").AnyFn<any[], any>;
47
+ noticeList: Partial<{
48
+ header: string | import("../..").AnyFn<any[], any>;
49
+ content: string | import("../..").AnyFn<any[], any>;
50
+ subContent: string | import("../..").AnyFn<any[], any>;
51
+ }>[];
52
+ operationList: Partial<Partial<{
53
+ header: string | import("../..").AnyFn<any[], any>;
54
+ content: string | import("../..").AnyFn<any[], any>;
55
+ subContent: string | import("../..").AnyFn<any[], any>;
56
+ }> & {
57
+ type: "warning" | "primary";
58
+ subHeader: string | import("../..").AnyFn<any[], any>;
59
+ remark: string | import("../..").AnyFn<any[], any>;
60
+ }>[];
61
+ }>[]>;
62
+ default: () => never[];
63
+ };
64
+ rowCapacity: {
65
+ type: NumberConstructor;
66
+ default: number;
67
+ };
68
+ }>> & {
69
+ onItemClick?: ((...args: any[]) => any) | undefined;
70
+ }>>;
71
+ emit: (event: "itemClick", ...args: any[]) => void;
72
+ itemGroups: import("vue").ComputedRef<StepNotice.InternalItem[][]>;
73
+ onClick: (item: StepNotice.Item) => void;
74
+ theme: import("vue").ComputedRef<import("vue").CSSProperties>;
75
+ keyRef: import("vue").Ref<number>;
76
+ reload: () => void;
77
+ wrapperRef: import("vue").Ref<HTMLElement | undefined>;
78
+ width: import("vue").Ref<number>;
79
+ NoticeItem: import("vue").DefineComponent<{
80
+ item: {
81
+ type: PropType<StepNotice.InternalItem>;
82
+ required: true;
83
+ };
84
+ }, {
85
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
86
+ item: {
87
+ type: PropType<StepNotice.InternalItem>;
88
+ required: true;
89
+ };
90
+ }>> & {}>>;
91
+ itemRef: import("vue").Ref<StepNotice.InternalItem>;
92
+ classList: import("vue").ComputedRef<string[]>;
93
+ frontStyle: import("vue").ComputedRef<{
94
+ minHeight: string;
95
+ }>;
96
+ popperDisabled: import("vue").ComputedRef<boolean>;
97
+ renderIcon: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
98
+ [key: string]: any;
99
+ }> | import("../..").AnyFn<any[], any> | null;
100
+ NoticeConnection: import("vue").DefineComponent<{
101
+ item: {
102
+ type: PropType<StepNotice.InternalItem>;
103
+ required: true;
104
+ };
105
+ }, {
106
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
107
+ item: {
108
+ type: PropType<StepNotice.InternalItem>;
109
+ required: true;
110
+ };
111
+ }>> & {}>>;
112
+ itemRef: import("vue").Ref<StepNotice.InternalItem>;
113
+ pointStyle: import("vue").ComputedRef<{
114
+ opacity: number;
115
+ }>;
116
+ verticalLineHeight: import("vue").Ref<number>;
117
+ horizonLineWidth: import("vue").Ref<number>;
118
+ subHorizonWidth: import("vue").Ref<number>;
119
+ wrapperRef: import("vue").Ref<HTMLElement | undefined>;
120
+ calculatePositionRect: () => void;
121
+ lineStyles: import("vue").ComputedRef<{
122
+ width: string;
123
+ height: string;
124
+ }>;
125
+ iconStyle: import("vue").ComputedRef<{
126
+ top: string;
127
+ }>;
128
+ widthAppend: typeof import("../../../shared/utils").widthAppend;
129
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
130
+ item: {
131
+ type: PropType<StepNotice.InternalItem>;
132
+ required: true;
133
+ };
134
+ }>>, {}>;
135
+ NoticeItemAside: import("vue").DefineComponent<{
136
+ item: {
137
+ type: PropType<StepNotice.InternalItem>;
138
+ required: true;
139
+ };
140
+ }, {
141
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
142
+ item: {
143
+ type: PropType<StepNotice.InternalItem>;
144
+ required: true;
145
+ };
146
+ }>> & {}>>;
147
+ getPositionInList: (index: number) => "center" | "first" | "last";
148
+ placementMap: {
149
+ first: string;
150
+ center: string;
151
+ last: string;
152
+ };
153
+ getPlacement: (index: number) => string;
154
+ getAsideClassList: (noticeItem: Partial<{
155
+ header: string | import("../..").AnyFn<any[], any>;
156
+ content: string | import("../..").AnyFn<any[], any>;
157
+ subContent: string | import("../..").AnyFn<any[], any>;
158
+ }>, index: number) => (string | {
159
+ 'is-active': string | import("../..").AnyFn<any[], any> | undefined;
160
+ })[];
161
+ theme: import("vue").ComputedRef<import("vue").CSSProperties>;
162
+ NPopover: any;
163
+ parseRender: typeof import("./utils").parseRender;
164
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
165
+ item: {
166
+ type: PropType<StepNotice.InternalItem>;
167
+ required: true;
168
+ };
169
+ }>>, {}>;
170
+ NoticeOperationList: import("vue").DefineComponent<{
171
+ operationList: {
172
+ type: PropType<Partial<Partial<{
173
+ header: string | import("../..").AnyFn<any[], any>;
174
+ content: string | import("../..").AnyFn<any[], any>;
175
+ subContent: string | import("../..").AnyFn<any[], any>;
176
+ }> & {
177
+ type: "warning" | "primary";
178
+ subHeader: string | import("../..").AnyFn<any[], any>;
179
+ remark: string | import("../..").AnyFn<any[], any>;
180
+ }>[] | undefined>;
181
+ required: true;
182
+ };
183
+ }, {
184
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
185
+ operationList: {
186
+ type: PropType<Partial<Partial<{
187
+ header: string | import("../..").AnyFn<any[], any>;
188
+ content: string | import("../..").AnyFn<any[], any>;
189
+ subContent: string | import("../..").AnyFn<any[], any>;
190
+ }> & {
191
+ type: "warning" | "primary";
192
+ subHeader: string | import("../..").AnyFn<any[], any>;
193
+ remark: string | import("../..").AnyFn<any[], any>;
194
+ }>[] | undefined>;
195
+ required: true;
196
+ };
197
+ }>> & {}>>;
198
+ theme: import("vue").ComputedRef<import("vue").CSSProperties>;
199
+ 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<{}>>, {}>;
200
+ 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<{}>>, {}>;
201
+ parseRender: typeof import("./utils").parseRender;
202
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
203
+ operationList: {
204
+ type: PropType<Partial<Partial<{
205
+ header: string | import("../..").AnyFn<any[], any>;
206
+ content: string | import("../..").AnyFn<any[], any>;
207
+ subContent: string | import("../..").AnyFn<any[], any>;
208
+ }> & {
209
+ type: "warning" | "primary";
210
+ subHeader: string | import("../..").AnyFn<any[], any>;
211
+ remark: string | import("../..").AnyFn<any[], any>;
212
+ }>[] | undefined>;
213
+ required: true;
214
+ };
215
+ }>>, {}>;
216
+ NPopover: any;
217
+ parseRender: typeof import("./utils").parseRender;
218
+ parseTitle: typeof import("./utils").parseTitle;
219
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
220
+ item: {
221
+ type: PropType<StepNotice.InternalItem>;
222
+ required: true;
223
+ };
224
+ }>>, {}>;
225
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "itemClick"[], "itemClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
226
+ items: {
227
+ type: PropType<Partial<{
228
+ header: string | import("../..").AnyFn<any[], any>;
229
+ type: "warning" | "normal" | "primary";
230
+ icon: "warning" | import("../..").AnyFn<any[], any>;
231
+ lineType: "dashed" | "solid";
232
+ topText: (string | import("../..").AnyFn<any[], any>)[];
233
+ footerText: string | import("../..").AnyFn<any[], any>;
234
+ content: string | import("../..").AnyFn<any[], any>;
235
+ subContent: string | import("../..").AnyFn<any[], any>;
236
+ noticeList: Partial<{
237
+ header: string | import("../..").AnyFn<any[], any>;
238
+ content: string | import("../..").AnyFn<any[], any>;
239
+ subContent: string | import("../..").AnyFn<any[], any>;
240
+ }>[];
241
+ operationList: Partial<Partial<{
242
+ header: string | import("../..").AnyFn<any[], any>;
243
+ content: string | import("../..").AnyFn<any[], any>;
244
+ subContent: string | import("../..").AnyFn<any[], any>;
245
+ }> & {
246
+ type: "warning" | "primary";
247
+ subHeader: string | import("../..").AnyFn<any[], any>;
248
+ remark: string | import("../..").AnyFn<any[], any>;
249
+ }>[];
250
+ }>[]>;
251
+ default: () => never[];
252
+ };
253
+ rowCapacity: {
254
+ type: NumberConstructor;
255
+ default: number;
256
+ };
257
+ }>> & {
258
+ onItemClick?: ((...args: any[]) => any) | undefined;
259
+ }, {
260
+ items: Partial<{
261
+ header: string | import("../..").AnyFn<any[], any>;
262
+ type: "warning" | "normal" | "primary";
263
+ icon: "warning" | import("../..").AnyFn<any[], any>;
264
+ lineType: "dashed" | "solid";
265
+ topText: (string | import("../..").AnyFn<any[], any>)[];
266
+ footerText: string | import("../..").AnyFn<any[], any>;
267
+ content: string | import("../..").AnyFn<any[], any>;
268
+ subContent: string | import("../..").AnyFn<any[], any>;
269
+ noticeList: Partial<{
270
+ header: string | import("../..").AnyFn<any[], any>;
271
+ content: string | import("../..").AnyFn<any[], any>;
272
+ subContent: string | import("../..").AnyFn<any[], any>;
273
+ }>[];
274
+ operationList: Partial<Partial<{
275
+ header: string | import("../..").AnyFn<any[], any>;
276
+ content: string | import("../..").AnyFn<any[], any>;
277
+ subContent: string | import("../..").AnyFn<any[], any>;
278
+ }> & {
279
+ type: "warning" | "primary";
280
+ subHeader: string | import("../..").AnyFn<any[], any>;
281
+ remark: string | import("../..").AnyFn<any[], any>;
282
+ }>[];
283
+ }>[];
284
+ rowCapacity: number;
285
+ }>;
286
+ 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,normalizeStyle as a,unref as c,Fragment as p,renderList as n,createBlock as l,createCommentVNode as m}from"vue";import{useDebounceFn as u,useElementSize as y}from"@vueuse/core";import{cloneDeep as f}from"lodash-es";import k from"./components/NoticeItem.vue.js";import{useStepNoticeTheme as h}from"./hooks/useTheme.js";var C=e({__name:"StepNotice",props:{items:{type:Array,default:()=>[]},rowCapacity:{type:Number,default:4}},emits:["itemClick"],setup(e,{expose:C,emit:d}){const w=e,v=t((()=>{const e=[],t=f(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 _=h(),g=o(0),j=u((()=>{g.value++}),200);s([()=>w.items,()=>w.rowCapacity],j,{deep:!0});const x=o(),{width:N}=y(x);return s(N,((e,t)=>{t&&j()})),C({reload:j}),(t,o)=>(i(),r("section",{class:"step-notice",style:a(c(_)),ref_key:"wrapperRef",ref:x},[(i(),r("section",{key:g.value},[(i(!0),r(p,null,n(c(v),((t,o)=>(i(),r("section",{key:o,class:"step-notice__group"},[(i(!0),r(p,null,n(t,((e,t)=>(i(),l(k,{item:e,key:t,onClick:t=>function(e){d("itemClick",e)}(e)},null,8,["item","onClick"])))),128)),t.length<e.rowCapacity?(i(!0),r(p,{key:0},n(e.rowCapacity-t.length,(e=>(i(),r("span",{key:e,class:"step-notice__placeholder"})))),128)):m("v-if",!0)])))),128))]))],4))}});export{C 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};