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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/es/components/button-print/src/utils/print.d.ts +1 -1
  2. package/es/components/button-print/src/utils/print.js +1 -1
  3. package/es/components/calendar/index.d.ts +1 -11
  4. package/es/components/calendar/src/Calendar.vue.d.ts +1 -11
  5. package/es/components/callback/src/components/render/popupMaps.d.ts +72 -70
  6. package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
  7. package/es/components/classification/src/index.vue.d.ts +0 -3
  8. package/es/components/default-page/index.d.ts +71 -0
  9. package/es/components/default-page/index.js +1 -0
  10. package/es/components/default-page/src/constants/index.d.ts +19 -0
  11. package/es/components/default-page/src/constants/index.js +1 -0
  12. package/es/components/default-page/src/index.vue.d.ts +72 -0
  13. package/es/components/default-page/src/index.vue.js +1 -0
  14. package/es/components/default-page/src/index.vue2.js +1 -0
  15. package/es/components/default-page/style/index.css +1 -0
  16. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
  17. package/es/components/field-set/src/FieldColor.vue.d.ts +1 -1
  18. package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
  19. package/es/components/field-set/src/components/Row.vue.d.ts +1 -1
  20. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue2.js +1 -1
  21. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  22. package/es/components/iho-table/index.d.ts +72 -70
  23. package/es/components/iho-table/src/IhoTable.vue.d.ts +72 -70
  24. package/es/components/iho-table/src/IhoTable.vue2.js +1 -1
  25. package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +3 -1
  26. package/es/components/iho-table/src/hooks/tapHooks/index.js +1 -1
  27. package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +1 -0
  28. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +2 -1
  29. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.js +1 -1
  30. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.js +1 -1
  31. package/es/components/iho-table/src/plugins/verticalTablePlugin/index.js +1 -1
  32. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/index.d.ts +112 -0
  33. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/index.js +1 -0
  34. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useColumn2Data.d.ts +2 -0
  35. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useColumn2Data.js +1 -0
  36. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useCurrentColumn.d.ts +2 -0
  37. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useCurrentColumn.js +1 -0
  38. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useData2Column.d.ts +2 -0
  39. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useData2Column.js +1 -0
  40. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useEditCell.d.ts +2 -0
  41. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useEditCell.js +1 -0
  42. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useEventConvert.d.ts +2 -0
  43. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useEventConvert.js +1 -0
  44. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useExpose.d.ts +2 -0
  45. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useExpose.js +1 -0
  46. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useHeaderCSS.d.ts +2 -0
  47. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useHeaderCSS.js +1 -0
  48. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useHoverColumn.d.ts +2 -0
  49. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useHoverColumn.js +1 -0
  50. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useTriggerRow.d.ts +2 -0
  51. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useTriggerRow.js +1 -0
  52. package/es/components/iho-table/src/plugins/verticalTablePlugin/{renderer.d.ts → src/renderer.d.ts} +2 -1
  53. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/renderer.js +1 -0
  54. package/es/components/iho-table/src/plugins/verticalTablePlugin/{types.d.ts → src/types.d.ts} +3 -3
  55. package/es/components/iho-table/src/plugins/verticalTablePlugin/{utils.d.ts → src/utils.d.ts} +7 -6
  56. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/utils.js +1 -0
  57. package/es/components/iho-table/src/types/index.d.ts +33 -4
  58. package/es/components/iho-table/src/types/pluginType.d.ts +1 -0
  59. package/es/components/index.css +1 -1
  60. package/es/components/index.d.ts +4 -1
  61. package/es/components/index.js +1 -1
  62. package/es/components/step-notice/index.d.ts +301 -0
  63. package/es/components/step-notice/index.js +1 -0
  64. package/es/components/step-notice/src/StepNotice.vue.d.ts +279 -0
  65. package/es/components/step-notice/src/StepNotice.vue.js +1 -0
  66. package/es/components/step-notice/src/StepNotice.vue2.js +1 -0
  67. package/es/components/step-notice/src/components/NoticeConnection.vue.d.ts +39 -0
  68. package/es/components/step-notice/src/components/NoticeConnection.vue.js +1 -0
  69. package/es/components/step-notice/src/components/NoticeConnection.vue2.js +1 -0
  70. package/es/components/step-notice/src/components/NoticeItem.vue.d.ts +148 -0
  71. package/es/components/step-notice/src/components/NoticeItem.vue.js +1 -0
  72. package/es/components/step-notice/src/components/NoticeItem.vue2.js +1 -0
  73. package/es/components/step-notice/src/components/NoticeItemAside.vue.d.ts +35 -0
  74. package/es/components/step-notice/src/components/NoticeItemAside.vue.js +1 -0
  75. package/es/components/step-notice/src/components/NoticeItemAside.vue2.js +1 -0
  76. package/es/components/step-notice/src/components/NoticeOperationList.vue.d.ts +49 -0
  77. package/es/components/step-notice/src/components/NoticeOperationList.vue.js +1 -0
  78. package/es/components/step-notice/src/components/NoticeOperationList.vue2.js +1 -0
  79. package/es/components/step-notice/src/hooks/useTheme.d.ts +1 -0
  80. package/es/components/step-notice/src/hooks/useTheme.js +1 -0
  81. package/es/components/step-notice/src/types.d.ts +32 -0
  82. package/es/components/step-notice/src/types.js +1 -0
  83. package/es/components/step-notice/src/utils.d.ts +3 -0
  84. package/es/components/step-notice/src/utils.js +1 -0
  85. package/es/components/step-notice/style/index.css +1 -0
  86. package/es/env.d.ts +25 -25
  87. package/es/shared/assets/img/defaultCover/10reload.jpg.js +1 -0
  88. package/es/shared/assets/img/defaultCover/1tab.jpg.js +1 -0
  89. package/es/shared/assets/img/defaultCover/2menu.jpg.js +1 -0
  90. package/es/shared/assets/img/defaultCover/3view.jpg.js +1 -0
  91. package/es/shared/assets/img/defaultCover/4system.jpg.js +1 -0
  92. package/es/shared/assets/img/defaultCover/5location.jpg.js +1 -0
  93. package/es/shared/assets/img/defaultCover/6notfound.jpg.js +1 -0
  94. package/es/shared/assets/img/defaultCover/7loading.jpg.js +1 -0
  95. package/es/shared/assets/img/defaultCover/8nopermission.jpg.js +1 -0
  96. package/es/shared/assets/img/defaultCover/9nodata.jpg.js +1 -0
  97. package/es/shared/components/JSONTree/JSONTree.vue.d.ts +26 -0
  98. package/es/shared/components/JSONTree/JSONTree.vue.js +1 -0
  99. package/es/shared/components/JSONTree/JSONTree.vue2.js +1 -0
  100. package/es/shared/components/JSONTree/index.d.ts +2 -0
  101. package/es/shared/components/JSONTree/index.js +1 -0
  102. package/es/shared/package.json.js +1 -1
  103. package/package.json +2 -2
  104. package/es/components/iho-table/src/plugins/verticalTablePlugin/renderer.js +0 -1
  105. package/es/components/iho-table/src/plugins/verticalTablePlugin/utils.js +0 -1
  106. /package/es/components/iho-table/src/plugins/verticalTablePlugin/{constants.d.ts → src/constants.d.ts} +0 -0
  107. /package/es/components/iho-table/src/plugins/verticalTablePlugin/{constants.js → src/constants.js} +0 -0
  108. /package/es/components/iho-table/src/plugins/verticalTablePlugin/{types.js → src/types.js} +0 -0
@@ -0,0 +1,279 @@
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
+ lineType: "dashed" | "solid";
9
+ topText: (string | import("../..").AnyFn<any[], any>)[];
10
+ footerText: string | import("../..").AnyFn<any[], any>;
11
+ content: string | import("../..").AnyFn<any[], any>;
12
+ subContent: string | import("../..").AnyFn<any[], any>;
13
+ noticeList: Partial<{
14
+ header: string | import("../..").AnyFn<any[], any>;
15
+ content: string | import("../..").AnyFn<any[], any>;
16
+ subContent: string | import("../..").AnyFn<any[], any>;
17
+ }>[];
18
+ operationList: Partial<Partial<{
19
+ header: string | import("../..").AnyFn<any[], any>;
20
+ content: string | import("../..").AnyFn<any[], any>;
21
+ subContent: string | import("../..").AnyFn<any[], any>;
22
+ }> & {
23
+ type: "warning" | "primary";
24
+ subHeader: string | import("../..").AnyFn<any[], any>;
25
+ remark: string | import("../..").AnyFn<any[], any>;
26
+ }>[];
27
+ }>[]>;
28
+ default: () => never[];
29
+ };
30
+ rowCapacity: {
31
+ type: NumberConstructor;
32
+ default: number;
33
+ };
34
+ }, {
35
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
36
+ items: {
37
+ type: PropType<Partial<{
38
+ header: string | import("../..").AnyFn<any[], any>;
39
+ type: "warning" | "normal" | "primary";
40
+ lineType: "dashed" | "solid";
41
+ topText: (string | import("../..").AnyFn<any[], any>)[];
42
+ footerText: string | import("../..").AnyFn<any[], any>;
43
+ content: string | import("../..").AnyFn<any[], any>;
44
+ subContent: string | import("../..").AnyFn<any[], any>;
45
+ noticeList: Partial<{
46
+ header: string | import("../..").AnyFn<any[], any>;
47
+ content: string | import("../..").AnyFn<any[], any>;
48
+ subContent: string | import("../..").AnyFn<any[], any>;
49
+ }>[];
50
+ operationList: Partial<Partial<{
51
+ header: string | import("../..").AnyFn<any[], any>;
52
+ content: string | import("../..").AnyFn<any[], any>;
53
+ subContent: string | import("../..").AnyFn<any[], any>;
54
+ }> & {
55
+ type: "warning" | "primary";
56
+ subHeader: string | import("../..").AnyFn<any[], any>;
57
+ remark: string | import("../..").AnyFn<any[], any>;
58
+ }>[];
59
+ }>[]>;
60
+ default: () => never[];
61
+ };
62
+ rowCapacity: {
63
+ type: NumberConstructor;
64
+ default: number;
65
+ };
66
+ }>> & {
67
+ onItemClick?: ((...args: any[]) => any) | undefined;
68
+ }>>;
69
+ emit: (event: "itemClick", ...args: any[]) => void;
70
+ itemGroups: import("vue").ComputedRef<StepNotice.InternalItem[][]>;
71
+ onClick: (item: StepNotice.Item) => void;
72
+ theme: import("vue").ComputedRef<import("vue").CSSProperties>;
73
+ keyRef: import("vue").Ref<number>;
74
+ reload: () => void;
75
+ wrapperRef: import("vue").Ref<HTMLElement | undefined>;
76
+ width: import("vue").Ref<number>;
77
+ NoticeItem: import("vue").DefineComponent<{
78
+ item: {
79
+ type: PropType<StepNotice.InternalItem>;
80
+ required: true;
81
+ };
82
+ }, {
83
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
84
+ item: {
85
+ type: PropType<StepNotice.InternalItem>;
86
+ required: true;
87
+ };
88
+ }>> & {}>>;
89
+ itemRef: import("vue").Ref<StepNotice.InternalItem>;
90
+ classList: import("vue").ComputedRef<string[]>;
91
+ frontStyle: import("vue").ComputedRef<{
92
+ minHeight: string;
93
+ }>;
94
+ popperDisabled: import("vue").ComputedRef<boolean>;
95
+ NoticeConnection: import("vue").DefineComponent<{
96
+ item: {
97
+ type: PropType<StepNotice.InternalItem>;
98
+ required: true;
99
+ };
100
+ }, {
101
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
102
+ item: {
103
+ type: PropType<StepNotice.InternalItem>;
104
+ required: true;
105
+ };
106
+ }>> & {}>>;
107
+ itemRef: import("vue").Ref<StepNotice.InternalItem>;
108
+ pointStyle: import("vue").ComputedRef<{
109
+ opacity: number;
110
+ }>;
111
+ verticalLineHeight: import("vue").Ref<number>;
112
+ horizonLineWidth: import("vue").Ref<number>;
113
+ subHorizonWidth: import("vue").Ref<number>;
114
+ wrapperRef: import("vue").Ref<HTMLElement | undefined>;
115
+ calculatePositionRect: () => void;
116
+ lineStyles: import("vue").ComputedRef<{
117
+ width: string;
118
+ height: string;
119
+ }>;
120
+ iconStyle: import("vue").ComputedRef<{
121
+ top: string;
122
+ }>;
123
+ widthAppend: typeof import("../../../shared/utils").widthAppend;
124
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
125
+ item: {
126
+ type: PropType<StepNotice.InternalItem>;
127
+ required: true;
128
+ };
129
+ }>>, {}>;
130
+ NoticeItemAside: import("vue").DefineComponent<{
131
+ item: {
132
+ type: PropType<StepNotice.InternalItem>;
133
+ required: true;
134
+ };
135
+ }, {
136
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
137
+ item: {
138
+ type: PropType<StepNotice.InternalItem>;
139
+ required: true;
140
+ };
141
+ }>> & {}>>;
142
+ getPositionInList: (index: number) => "center" | "first" | "last";
143
+ placementMap: {
144
+ first: string;
145
+ center: string;
146
+ last: string;
147
+ };
148
+ getPlacement: (index: number) => string;
149
+ getAsideClassList: (noticeItem: Partial<{
150
+ header: string | import("../..").AnyFn<any[], any>;
151
+ content: string | import("../..").AnyFn<any[], any>;
152
+ subContent: string | import("../..").AnyFn<any[], any>;
153
+ }>, index: number) => (string | {
154
+ 'is-active': string | import("../..").AnyFn<any[], any> | undefined;
155
+ })[];
156
+ theme: import("vue").ComputedRef<import("vue").CSSProperties>;
157
+ NPopover: any;
158
+ parseRender: typeof import("./utils").parseRender;
159
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
160
+ item: {
161
+ type: PropType<StepNotice.InternalItem>;
162
+ required: true;
163
+ };
164
+ }>>, {}>;
165
+ NoticeOperationList: import("vue").DefineComponent<{
166
+ operationList: {
167
+ type: PropType<Partial<Partial<{
168
+ header: string | import("../..").AnyFn<any[], any>;
169
+ content: string | import("../..").AnyFn<any[], any>;
170
+ subContent: string | import("../..").AnyFn<any[], any>;
171
+ }> & {
172
+ type: "warning" | "primary";
173
+ subHeader: string | import("../..").AnyFn<any[], any>;
174
+ remark: string | import("../..").AnyFn<any[], any>;
175
+ }>[] | undefined>;
176
+ required: true;
177
+ };
178
+ }, {
179
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
180
+ operationList: {
181
+ type: PropType<Partial<Partial<{
182
+ header: string | import("../..").AnyFn<any[], any>;
183
+ content: string | import("../..").AnyFn<any[], any>;
184
+ subContent: string | import("../..").AnyFn<any[], any>;
185
+ }> & {
186
+ type: "warning" | "primary";
187
+ subHeader: string | import("../..").AnyFn<any[], any>;
188
+ remark: string | import("../..").AnyFn<any[], any>;
189
+ }>[] | undefined>;
190
+ required: true;
191
+ };
192
+ }>> & {}>>;
193
+ theme: import("vue").ComputedRef<import("vue").CSSProperties>;
194
+ 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<{}>>, {}>;
195
+ 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<{}>>, {}>;
196
+ parseRender: typeof import("./utils").parseRender;
197
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
198
+ operationList: {
199
+ type: PropType<Partial<Partial<{
200
+ header: string | import("../..").AnyFn<any[], any>;
201
+ content: string | import("../..").AnyFn<any[], any>;
202
+ subContent: string | import("../..").AnyFn<any[], any>;
203
+ }> & {
204
+ type: "warning" | "primary";
205
+ subHeader: string | import("../..").AnyFn<any[], any>;
206
+ remark: string | import("../..").AnyFn<any[], any>;
207
+ }>[] | undefined>;
208
+ required: true;
209
+ };
210
+ }>>, {}>;
211
+ NPopover: any;
212
+ parseRender: typeof import("./utils").parseRender;
213
+ parseTitle: typeof import("./utils").parseTitle;
214
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
215
+ item: {
216
+ type: PropType<StepNotice.InternalItem>;
217
+ required: true;
218
+ };
219
+ }>>, {}>;
220
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "itemClick"[], "itemClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
221
+ items: {
222
+ type: PropType<Partial<{
223
+ header: string | import("../..").AnyFn<any[], any>;
224
+ type: "warning" | "normal" | "primary";
225
+ lineType: "dashed" | "solid";
226
+ topText: (string | import("../..").AnyFn<any[], any>)[];
227
+ footerText: string | import("../..").AnyFn<any[], any>;
228
+ content: string | import("../..").AnyFn<any[], any>;
229
+ subContent: string | import("../..").AnyFn<any[], any>;
230
+ noticeList: Partial<{
231
+ header: string | import("../..").AnyFn<any[], any>;
232
+ content: string | import("../..").AnyFn<any[], any>;
233
+ subContent: string | import("../..").AnyFn<any[], any>;
234
+ }>[];
235
+ operationList: Partial<Partial<{
236
+ header: string | import("../..").AnyFn<any[], any>;
237
+ content: string | import("../..").AnyFn<any[], any>;
238
+ subContent: string | import("../..").AnyFn<any[], any>;
239
+ }> & {
240
+ type: "warning" | "primary";
241
+ subHeader: string | import("../..").AnyFn<any[], any>;
242
+ remark: string | import("../..").AnyFn<any[], any>;
243
+ }>[];
244
+ }>[]>;
245
+ default: () => never[];
246
+ };
247
+ rowCapacity: {
248
+ type: NumberConstructor;
249
+ default: number;
250
+ };
251
+ }>> & {
252
+ onItemClick?: ((...args: any[]) => any) | undefined;
253
+ }, {
254
+ items: Partial<{
255
+ header: string | import("../..").AnyFn<any[], any>;
256
+ type: "warning" | "normal" | "primary";
257
+ lineType: "dashed" | "solid";
258
+ topText: (string | import("../..").AnyFn<any[], any>)[];
259
+ footerText: string | import("../..").AnyFn<any[], any>;
260
+ content: string | import("../..").AnyFn<any[], any>;
261
+ subContent: string | import("../..").AnyFn<any[], any>;
262
+ noticeList: Partial<{
263
+ header: string | import("../..").AnyFn<any[], any>;
264
+ content: string | import("../..").AnyFn<any[], any>;
265
+ subContent: string | import("../..").AnyFn<any[], any>;
266
+ }>[];
267
+ operationList: Partial<Partial<{
268
+ header: string | import("../..").AnyFn<any[], any>;
269
+ content: string | import("../..").AnyFn<any[], any>;
270
+ subContent: string | import("../..").AnyFn<any[], any>;
271
+ }> & {
272
+ type: "warning" | "primary";
273
+ subHeader: string | import("../..").AnyFn<any[], any>;
274
+ remark: string | import("../..").AnyFn<any[], any>;
275
+ }>[];
276
+ }>[];
277
+ rowCapacity: number;
278
+ }>;
279
+ 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,148 @@
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
+ NoticeConnection: import("vue").DefineComponent<{
24
+ item: {
25
+ type: PropType<StepNotice.InternalItem>;
26
+ required: true;
27
+ };
28
+ }, {
29
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
30
+ item: {
31
+ type: PropType<StepNotice.InternalItem>;
32
+ required: true;
33
+ };
34
+ }>> & {}>>;
35
+ itemRef: import("vue").Ref<StepNotice.InternalItem>;
36
+ pointStyle: import("vue").ComputedRef<{
37
+ opacity: number;
38
+ }>;
39
+ verticalLineHeight: import("vue").Ref<number>;
40
+ horizonLineWidth: import("vue").Ref<number>;
41
+ subHorizonWidth: import("vue").Ref<number>;
42
+ wrapperRef: import("vue").Ref<HTMLElement | undefined>;
43
+ calculatePositionRect: () => void;
44
+ lineStyles: import("vue").ComputedRef<{
45
+ width: string;
46
+ height: string;
47
+ }>;
48
+ iconStyle: import("vue").ComputedRef<{
49
+ top: string;
50
+ }>;
51
+ widthAppend: typeof widthAppend;
52
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
53
+ item: {
54
+ type: PropType<StepNotice.InternalItem>;
55
+ required: true;
56
+ };
57
+ }>>, {}>;
58
+ NoticeItemAside: import("vue").DefineComponent<{
59
+ item: {
60
+ type: PropType<StepNotice.InternalItem>;
61
+ required: true;
62
+ };
63
+ }, {
64
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
65
+ item: {
66
+ type: PropType<StepNotice.InternalItem>;
67
+ required: true;
68
+ };
69
+ }>> & {}>>;
70
+ getPositionInList: (index: number) => "center" | "first" | "last";
71
+ placementMap: {
72
+ first: string;
73
+ center: string;
74
+ last: string;
75
+ };
76
+ getPlacement: (index: number) => string;
77
+ getAsideClassList: (noticeItem: Partial<{
78
+ header: string | import("../../..").AnyFn<any[], any>;
79
+ content: string | import("../../..").AnyFn<any[], any>;
80
+ subContent: string | import("../../..").AnyFn<any[], any>;
81
+ }>, index: number) => (string | {
82
+ 'is-active': string | import("../../..").AnyFn<any[], any> | undefined;
83
+ })[];
84
+ theme: import("vue").ComputedRef<import("vue").CSSProperties>;
85
+ NPopover: any;
86
+ parseRender: typeof parseRender;
87
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
88
+ item: {
89
+ type: PropType<StepNotice.InternalItem>;
90
+ required: true;
91
+ };
92
+ }>>, {}>;
93
+ NoticeOperationList: import("vue").DefineComponent<{
94
+ operationList: {
95
+ type: PropType<Partial<Partial<{
96
+ header: string | import("../../..").AnyFn<any[], any>;
97
+ content: string | import("../../..").AnyFn<any[], any>;
98
+ subContent: string | import("../../..").AnyFn<any[], any>;
99
+ }> & {
100
+ type: "warning" | "primary";
101
+ subHeader: string | import("../../..").AnyFn<any[], any>;
102
+ remark: string | import("../../..").AnyFn<any[], any>;
103
+ }>[] | undefined>;
104
+ required: true;
105
+ };
106
+ }, {
107
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
108
+ operationList: {
109
+ type: PropType<Partial<Partial<{
110
+ header: string | import("../../..").AnyFn<any[], any>;
111
+ content: string | import("../../..").AnyFn<any[], any>;
112
+ subContent: string | import("../../..").AnyFn<any[], any>;
113
+ }> & {
114
+ type: "warning" | "primary";
115
+ subHeader: string | import("../../..").AnyFn<any[], any>;
116
+ remark: string | import("../../..").AnyFn<any[], any>;
117
+ }>[] | undefined>;
118
+ required: true;
119
+ };
120
+ }>> & {}>>;
121
+ theme: import("vue").ComputedRef<import("vue").CSSProperties>;
122
+ 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<{}>>, {}>;
123
+ 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<{}>>, {}>;
124
+ parseRender: typeof parseRender;
125
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
126
+ operationList: {
127
+ type: PropType<Partial<Partial<{
128
+ header: string | import("../../..").AnyFn<any[], any>;
129
+ content: string | import("../../..").AnyFn<any[], any>;
130
+ subContent: string | import("../../..").AnyFn<any[], any>;
131
+ }> & {
132
+ type: "warning" | "primary";
133
+ subHeader: string | import("../../..").AnyFn<any[], any>;
134
+ remark: string | import("../../..").AnyFn<any[], any>;
135
+ }>[] | undefined>;
136
+ required: true;
137
+ };
138
+ }>>, {}>;
139
+ NPopover: any;
140
+ parseRender: typeof parseRender;
141
+ parseTitle: typeof parseTitle;
142
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
143
+ item: {
144
+ type: PropType<StepNotice.InternalItem>;
145
+ required: true;
146
+ };
147
+ }>>, {}>;
148
+ 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,createBlock as n,unref as s,withCtx as r,createElementVNode as m,normalizeClass as l,createElementBlock as a,Fragment as c,renderList as p,resolveDynamicComponent as u,createCommentVNode as v,normalizeStyle as d,createVNode as _}from"vue";import{widthAppend as f}from"../../../../shared/utils/index.js";import y from"./NoticeConnection.vue.js";import h from"./NoticeItemAside.vue.js";import x from"./NoticeOperationList.vue.js";import{NPopover as b}from"naive-ui";import{parseRender as C,parseTitle as T}from"../utils.js";const k={key:0,class:"step-notice__itemHeader"},g=["title"],j={key:0,class:"step-notice__itemFrontContent"},F=["title"],L=["title"],N={key:1,class:"step-notice__itemFooter"};var H=t({__name:"NoticeItem",props:{item:{type:Object,required:!0}},setup(t){const H=e(t,"item"),I=i((()=>["step-notice__item",`step-notice__item--${H.value.type||"primary"}`,"step-notice__item--"+((H.value.lineType||"solid")+"Line")])),w=i((()=>{const t=H.value;return{minHeight:f(t.content||t.subContent||(null==t?void 0:t.footerText)?81:44)}})),O=i((()=>{var t,e;return!(null==(e=null==(t=H.value)?void 0:t.operationList)?void 0:e.length)}));return(e,i)=>(o(),n(s(b),{disabled:s(O),"keep-alive-on-hover":"",placement:"bottom-start",animated:!1,"show-arrow":!1},{trigger:r((()=>{var e,i;return[m("section",{class:l(s(I))},[(null==(e=t.item.topText)?void 0:e.length)?(o(),a("section",k,[(o(!0),a(c,null,p(t.item.topText,((t,e)=>(o(),a("span",{key:e},[(o(),n(u(s(C)(t))))])))),128))])):v("v-if",!0),m("section",{class:"step-notice__itemFront",style:d(s(w))},[m("header",{class:"step-notice__itemFrontHeader",title:s(T)(t.item.header)},[(o(),n(u(s(C)(t.item.header))))],8,g),t.item.content||t.item.subContent?(o(),a("section",j,[m("div",{class:"step-notice__itemFrontContentText",title:s(T)(t.item.content)},[(o(),n(u(s(C)(t.item.content))))],8,F),m("div",{class:"step-notice__itemFrontContentSubText",title:s(T)(t.item.subContent)},[(o(),n(u(s(C)(t.item.subContent))))],8,L)])):v("v-if",!0)],4),t.item.footerText?(o(),a("footer",N,[(o(),n(u(s(C)(t.item.footerText))))])):v("v-if",!0),(null==(i=t.item.noticeList)?void 0:i.length)?(o(),n(h,{key:2,item:t.item},null,8,["item"])):v("v-if",!0),t.item.nextItem?(o(),n(y,{key:3,item:t.item},null,8,["item"])):v("v-if",!0)],2)]})),default:r((()=>[_(x,{"operation-list":t.item.operationList},null,8,["operation-list"])])),_:1},8,["disabled"]))}});export{H 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};