cnhis-design-vue 3.1.19-beta.2 → 3.1.19-beta.3

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 (44) hide show
  1. package/README.md +123 -0
  2. package/es/components/big-table/index.d.ts +1 -1
  3. package/es/components/big-table/src/BigTable.vue.d.ts +1 -1
  4. package/es/components/big-table/src/components/edit-form/edit-date.js +2 -1
  5. package/es/components/big-table/src/hooks/useEvent2.js +18 -24
  6. package/es/components/button-print/index.d.ts +1 -1
  7. package/es/components/button-print/src/ButtonPrint.vue.d.ts +1 -1
  8. package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +1 -1
  9. package/es/components/drag-layout/index.d.ts +1 -1
  10. package/es/components/drag-layout/src/DragLayout.vue.d.ts +1 -1
  11. package/es/components/form-config/index.d.ts +2 -2
  12. package/es/components/form-config/src/FormConfig.vue.d.ts +2 -2
  13. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -1
  14. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +1 -1
  15. package/es/components/form-render/index.d.ts +1 -1
  16. package/es/components/form-render/src/FormRender.vue.d.ts +1 -1
  17. package/es/components/form-render/src/components/renderer/cascader.d.ts +9 -2
  18. package/es/components/form-render/src/components/renderer/cascader.js +38 -5
  19. package/es/components/form-render/src/components/renderer/inputGroup.d.ts +1 -1
  20. package/es/components/form-table/index.d.ts +1 -1
  21. package/es/components/form-table/src/FormTable.vue.d.ts +1 -1
  22. package/es/components/form-table/src/components/index.d.ts +1 -1
  23. package/es/components/form-table/src/components/table-age.vue.d.ts +1 -1
  24. package/es/components/grid/src/hooks2.js +1 -0
  25. package/es/components/index.css +1 -1
  26. package/es/components/info-header/index.d.ts +1 -1
  27. package/es/components/info-header/src/InfoHeader.vue.d.ts +1 -1
  28. package/es/components/scale-view/index.d.ts +1 -1
  29. package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -1
  30. package/es/components/scale-view/src/hooks/use-component.d.ts +2 -2
  31. package/es/components/select-label/index.d.ts +4 -4
  32. package/es/components/select-label/src/LabelFormContent.vue.d.ts +2 -2
  33. package/es/components/select-label/src/SelectLabel.vue.d.ts +2 -2
  34. package/es/components/select-person/index.d.ts +1 -1
  35. package/es/components/select-person/src/SelectPerson.vue.d.ts +1 -1
  36. package/es/components/shortcut-setter/index.d.ts +1 -1
  37. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -1
  38. package/es/components/steps-wheel/index.d.ts +17 -0
  39. package/es/components/steps-wheel/src/StepsWheel.js +133 -97
  40. package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +17 -0
  41. package/es/components/steps-wheel/style/index.css +1 -1
  42. package/es/components/time-line/index.d.ts +1 -1
  43. package/es/components/time-line/src/TimeLine.vue.d.ts +1 -1
  44. package/package.json +6 -5
@@ -1,8 +1,11 @@
1
- import { defineComponent, computed, ref, watch, openBlock, createElementBlock, createElementVNode, Fragment, renderList, normalizeClass, createCommentVNode, renderSlot, toDisplayString, createBlock, unref, normalizeStyle, withCtx, withDirectives, vShow, createTextVNode } from 'vue';
2
- import { NTooltip } from 'naive-ui';
1
+ import { defineComponent, computed, toRefs, ref, watch, openBlock, createElementBlock, normalizeStyle, unref, createElementVNode, Fragment, renderList, normalizeClass, createCommentVNode, renderSlot, toDisplayString, createBlock, withCtx, withDirectives, vShow, createVNode, createTextVNode } from 'vue';
2
+ import { NTooltip, NEmpty } from 'naive-ui';
3
3
  import _export_sfc from '../../../_virtual/plugin-vue_export-helper.js';
4
4
 
5
- const _hoisted_1 = { class: "stepOut" };
5
+ const _hoisted_1 = {
6
+ key: 0,
7
+ class: "stepOut"
8
+ };
6
9
  const _hoisted_2 = { style: { "list-style": "none" } };
7
10
  const _hoisted_3 = ["title"];
8
11
  const _hoisted_4 = /* @__PURE__ */ createElementVNode("ul", { class: "nodeTipContent" }, [
@@ -28,7 +31,7 @@ const _hoisted_4 = /* @__PURE__ */ createElementVNode("ul", { class: "nodeTipCon
28
31
  const _hoisted_5 = { class: "stepBottomBox" };
29
32
  const _hoisted_6 = ["title"];
30
33
  const _hoisted_7 = ["title"];
31
- const _hoisted_8 = { class: "statusTime" };
34
+ const _hoisted_8 = { key: 1 };
32
35
  const _hoisted_9 = { key: 1 };
33
36
  const _sfc_main = /* @__PURE__ */ defineComponent({
34
37
  __name: "StepsWheel",
@@ -53,6 +56,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
53
56
  lastNodeRender: {
54
57
  type: Boolean,
55
58
  default: false
59
+ },
60
+ noDataMsg: {
61
+ type: String,
62
+ default: "\u6682\u65E0\u8282\u70B9\u6570\u636E"
56
63
  }
57
64
  },
58
65
  setup(__props) {
@@ -63,10 +70,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
63
70
  const lastNodeRenderShow = computed(() => {
64
71
  return props.lastNodeRender;
65
72
  });
73
+ const { noDataMsg } = toRefs(props);
74
+ const stepItemRef = ref(null);
75
+ const countBoxWidth = computed(() => {
76
+ var _a;
77
+ let min = 68;
78
+ if ((_a = stepItemRef == null ? void 0 : stepItemRef.value) == null ? void 0 : _a.length) {
79
+ let element = stepItemRef.value[0];
80
+ let style = window.getComputedStyle ? window.getComputedStyle(element) : element.currentStyle;
81
+ min = isNaN(parseInt(style["min-width"])) ? 68 : parseInt(style["min-width"]);
82
+ }
83
+ let width = 20 + props.stepInfo.cols * min;
84
+ return `${width}px`;
85
+ });
66
86
  const stepInfoList = ref([]);
67
87
  const handleNode = (nodeList, cols) => {
68
88
  let length = nodeList.length + 1;
69
- let rows = Math.ceil(length / cols);
89
+ let rows = Math.ceil(nodeList.length / cols);
70
90
  let sort = true;
71
91
  let arr = new Array();
72
92
  for (var i = 0; i < rows; i++) {
@@ -105,10 +125,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
105
125
  stepInfoList.value = list;
106
126
  };
107
127
  const lineCircleLeft = (stepItem) => {
108
- return stepItem.rowIndex % 2 == 0 && stepItem.nodeType == "frist";
128
+ const { list = [] } = props.stepInfo;
129
+ return stepItem.rowIndex % 2 == 0 && stepItem.nodeType == "frist" && stepItem.nodeIndex !== list.length;
109
130
  };
110
131
  const lineCircleRight = (stepItem) => {
111
- return stepItem.rowIndex % 2 != 0 && stepItem.nodeType == "last";
132
+ const { list = [] } = props.stepInfo;
133
+ return stepItem.rowIndex % 2 != 0 && stepItem.nodeType == "last" && stepItem.nodeIndex !== list.length;
112
134
  };
113
135
  const lineActiveShow = (stepItem, index) => {
114
136
  if (stepItem.rowIndex % 2 == 0) {
@@ -164,99 +186,113 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
164
186
  }
165
187
  }, { immediate: true, deep: true });
166
188
  return (_ctx, _cache) => {
167
- return openBlock(), createElementBlock("div", _hoisted_1, [
168
- createElementVNode("ul", _hoisted_2, [
169
- (openBlock(true), createElementBlock(Fragment, null, renderList(stepInfoList.value, (stepItem, index) => {
170
- return openBlock(), createElementBlock("li", {
171
- class: normalizeClass(["stepItem", { [`stepItem_${index + 1}`]: true, [`${stepItem == null ? void 0 : stepItem.stepId}`]: (stepItem == null ? void 0 : stepItem.stepId) ? true : false }]),
172
- key: (stepItem == null ? void 0 : stepItem.stepId) || index
173
- }, [
174
- stepItem ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
175
- createCommentVNode(" \u6B65\u9AA4\u5934\u90E8\u4FE1\u606F "),
176
- createElementVNode("div", {
177
- class: normalizeClass(["stepTopBox", { finished: handleFinishLastNodeCss(index) }])
178
- }, [
179
- renderSlot(_ctx.$slots, "stepTopBox", {}, () => [
180
- createElementVNode("span", {
181
- title: stepItem.title
182
- }, toDisplayString(stepItem.title), 9, _hoisted_3)
183
- ])
184
- ], 2),
185
- createCommentVNode(" \u6B65\u9AA4\u6761\u7684\u8282\u70B9\uFF0C\u6B64\u5904\u4E3A\u5706\u5708 "),
186
- __props.toolTipShow ? (openBlock(), createBlock(unref(NTooltip), {
187
- key: 0,
188
- placement: "top",
189
- "show-arrow": true,
190
- trigger: "hover",
191
- style: normalizeStyle({ opacity: "0.88" })
192
- }, {
193
- trigger: withCtx(() => [
194
- createElementVNode("div", {
195
- class: normalizeClass(["icon", {
196
- active: __props.currentStep >= stepItem.nodeIndex,
197
- finished: handleFinishLastNodeCss(index)
198
- }])
199
- }, null, 2)
200
- ]),
201
- default: withCtx(() => [
202
- renderSlot(_ctx.$slots, "nodeTipBox", {
203
- stepId: stepItem.stepId
204
- }, () => [
205
- _hoisted_4
189
+ return openBlock(), createElementBlock("div", {
190
+ class: "step-wheel-box",
191
+ style: normalizeStyle({ minWidth: unref(countBoxWidth) })
192
+ }, [
193
+ stepInfoList.value.length ? (openBlock(), createElementBlock("div", _hoisted_1, [
194
+ createElementVNode("ul", _hoisted_2, [
195
+ (openBlock(true), createElementBlock(Fragment, null, renderList(stepInfoList.value, (stepItem, index) => {
196
+ return openBlock(), createElementBlock("li", {
197
+ class: normalizeClass(["stepItem", { [`stepItem_${index + 1}`]: true, [`${stepItem == null ? void 0 : stepItem.stepId}`]: (stepItem == null ? void 0 : stepItem.stepId) ? true : false }]),
198
+ ref_for: true,
199
+ ref_key: "stepItemRef",
200
+ ref: stepItemRef,
201
+ key: (stepItem == null ? void 0 : stepItem.stepId) || index
202
+ }, [
203
+ stepItem ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
204
+ createCommentVNode(" \u6B65\u9AA4\u5934\u90E8\u4FE1\u606F "),
205
+ createElementVNode("div", {
206
+ class: normalizeClass(["stepTopBox", { finished: handleFinishLastNodeCss(index) }])
207
+ }, [
208
+ renderSlot(_ctx.$slots, "stepTopBox", {}, () => [
209
+ createElementVNode("span", {
210
+ title: stepItem.title
211
+ }, toDisplayString(stepItem.title), 9, _hoisted_3)
206
212
  ])
207
- ]),
208
- _: 2
209
- }, 1032, ["style"])) : (openBlock(), createElementBlock("div", {
210
- key: 1,
211
- class: normalizeClass(["icon", {
212
- active: __props.currentStep >= stepItem.nodeIndex,
213
- finished: handleFinishLastNodeCss(index)
214
- }])
215
- }, null, 2)),
216
- createCommentVNode(" \u6B65\u9AA4\u6761\u8FDE\u63A5\u7EBF\uFF0C\u52A8\u6001\u663E\u793A "),
217
- stepItem.nodeType !== "last" ? withDirectives((openBlock(), createElementBlock("div", {
218
- key: 2,
219
- class: normalizeClass(["line", {
220
- lineActive: lineActiveShow(stepItem, index),
221
- finished: handleFinishLastNodeLine(index)
222
- }])
223
- }, null, 2)), [
224
- [vShow, lastLineHidden(index)]
225
- ]) : createCommentVNode("v-if", true),
226
- createCommentVNode(" \u6B65\u9AA4\u6761\u5F2F\u66F2\u8FDE\u7EBF\uFF0C\u52A8\u6001\u6E32\u67D3 "),
227
- lineCircleLeft(stepItem) || lineCircleRight(stepItem) ? (openBlock(), createElementBlock("div", {
228
- key: 3,
229
- class: normalizeClass({
230
- lineCircleActive: __props.currentStep > stepItem.nodeIndex,
231
- lineCircleRight: lineCircleRight(stepItem),
232
- lineCircleLeft: lineCircleLeft(stepItem)
233
- })
234
- }, null, 2)) : createCommentVNode("v-if", true),
235
- createCommentVNode(" \u6B65\u9AA4\u5E95\u90E8\u4FE1\u606F "),
236
- createElementVNode("div", _hoisted_5, [
237
- renderSlot(_ctx.$slots, "stepBottomBox", {}, () => [
238
- createCommentVNode(" \u6B65\u9AA4\u540D\u79F0 "),
239
- createElementVNode("p", {
240
- class: normalizeClass(["stepLabel", { labelFinsh: handleFinishLastNodeCss(index) }]),
241
- title: stepItem.label
242
- }, toDisplayString(stepItem.label), 11, _hoisted_6),
243
- withDirectives(createElementVNode("p", {
244
- class: "stepExtra",
245
- title: stepItem.person
246
- }, toDisplayString(stepItem.person), 9, _hoisted_7), [
247
- [vShow, stepItem.person]
213
+ ], 2),
214
+ createCommentVNode(" \u6B65\u9AA4\u6761\u7684\u8282\u70B9\uFF0C\u6B64\u5904\u4E3A\u5706\u5708 "),
215
+ __props.toolTipShow ? (openBlock(), createBlock(unref(NTooltip), {
216
+ key: 0,
217
+ placement: "top",
218
+ "show-arrow": true,
219
+ trigger: "hover",
220
+ style: normalizeStyle({ opacity: "0.88" })
221
+ }, {
222
+ trigger: withCtx(() => [
223
+ createElementVNode("div", {
224
+ class: normalizeClass(["icon", {
225
+ active: __props.currentStep >= stepItem.nodeIndex,
226
+ finished: handleFinishLastNodeCss(index)
227
+ }])
228
+ }, null, 2)
229
+ ]),
230
+ default: withCtx(() => [
231
+ renderSlot(_ctx.$slots, "nodeTipBox", {
232
+ stepId: stepItem.stepId
233
+ }, () => [
234
+ _hoisted_4
235
+ ])
248
236
  ]),
249
- createCommentVNode(" \u6B65\u9AA4\u65F6\u95F4 "),
250
- createElementVNode("p", _hoisted_8, toDisplayString(stepItem.statusTime), 1)
237
+ _: 2
238
+ }, 1032, ["style"])) : (openBlock(), createElementBlock("div", {
239
+ key: 1,
240
+ class: normalizeClass(["icon", {
241
+ active: __props.currentStep >= stepItem.nodeIndex,
242
+ finished: handleFinishLastNodeCss(index)
243
+ }])
244
+ }, null, 2)),
245
+ createCommentVNode(" \u6B65\u9AA4\u6761\u8FDE\u63A5\u7EBF\uFF0C\u52A8\u6001\u663E\u793A "),
246
+ stepItem.nodeType !== "last" ? withDirectives((openBlock(), createElementBlock("div", {
247
+ key: 2,
248
+ class: normalizeClass(["line", {
249
+ lineActive: lineActiveShow(stepItem, index),
250
+ finished: handleFinishLastNodeLine(index)
251
+ }])
252
+ }, null, 2)), [
253
+ [vShow, lastLineHidden(index)]
254
+ ]) : createCommentVNode("v-if", true),
255
+ createCommentVNode(" \u6B65\u9AA4\u6761\u5F2F\u66F2\u8FDE\u7EBF\uFF0C\u52A8\u6001\u6E32\u67D3 "),
256
+ lineCircleLeft(stepItem) || lineCircleRight(stepItem) ? (openBlock(), createElementBlock("div", {
257
+ key: 3,
258
+ class: normalizeClass({
259
+ lineCircleActive: __props.currentStep > stepItem.nodeIndex,
260
+ lineCircleRight: lineCircleRight(stepItem),
261
+ lineCircleLeft: lineCircleLeft(stepItem)
262
+ })
263
+ }, null, 2)) : createCommentVNode("v-if", true),
264
+ createCommentVNode(" \u6B65\u9AA4\u5E95\u90E8\u4FE1\u606F "),
265
+ createElementVNode("div", _hoisted_5, [
266
+ renderSlot(_ctx.$slots, "stepBottomBox", {}, () => [
267
+ createCommentVNode(" \u6B65\u9AA4\u540D\u79F0 "),
268
+ withDirectives(createElementVNode("p", {
269
+ class: normalizeClass(["stepLabel", { labelFinsh: handleFinishLastNodeCss(index) }]),
270
+ title: stepItem.label
271
+ }, toDisplayString(stepItem.label), 11, _hoisted_6), [
272
+ [vShow, stepItem.label]
273
+ ]),
274
+ withDirectives(createElementVNode("p", {
275
+ class: "stepExtra",
276
+ title: stepItem.person
277
+ }, toDisplayString(stepItem.person), 9, _hoisted_7), [
278
+ [vShow, stepItem.person]
279
+ ]),
280
+ createCommentVNode(" \u6B65\u9AA4\u65F6\u95F4 "),
281
+ withDirectives(createElementVNode("p", { class: "statusTime" }, toDisplayString(stepItem.statusTime), 513), [
282
+ [vShow, stepItem.statusTime]
283
+ ])
284
+ ])
251
285
  ])
252
- ])
253
- ], 64)) : (openBlock(), createElementBlock("div", _hoisted_9, [
254
- createCommentVNode("null\u5143\u7D20\u5360\u4F4D")
255
- ]))
256
- ], 2);
257
- }), 128))
258
- ])
259
- ]);
286
+ ], 64)) : (openBlock(), createElementBlock("div", _hoisted_8, [
287
+ createCommentVNode("null\u5143\u7D20\u5360\u4F4D")
288
+ ]))
289
+ ], 2);
290
+ }), 128))
291
+ ])
292
+ ])) : (openBlock(), createElementBlock("div", _hoisted_9, [
293
+ createVNode(unref(NEmpty), { description: unref(noDataMsg) }, null, 8, ["description"])
294
+ ]))
295
+ ], 4);
260
296
  };
261
297
  }
262
298
  });
@@ -18,6 +18,10 @@ declare const _default: import("vue").DefineComponent<{
18
18
  type: BooleanConstructor;
19
19
  default: boolean;
20
20
  };
21
+ noDataMsg: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
21
25
  }, {
22
26
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
23
27
  stepInfo: {
@@ -39,11 +43,18 @@ declare const _default: import("vue").DefineComponent<{
39
43
  type: BooleanConstructor;
40
44
  default: boolean;
41
45
  };
46
+ noDataMsg: {
47
+ type: StringConstructor;
48
+ default: string;
49
+ };
42
50
  }>> & {
43
51
  [x: `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
44
52
  }>>;
45
53
  nodeRowCount: import("vue").ComputedRef<number>;
46
54
  lastNodeRenderShow: import("vue").ComputedRef<boolean>;
55
+ noDataMsg: import("vue").Ref<string>;
56
+ stepItemRef: any;
57
+ countBoxWidth: import("vue").ComputedRef<string>;
47
58
  stepInfoList: import("vue").Ref<any[]>;
48
59
  handleNode: (nodeList: any[], cols: number) => void;
49
60
  lineCircleLeft: (stepItem: any) => boolean;
@@ -54,6 +65,7 @@ declare const _default: import("vue").DefineComponent<{
54
65
  handleFinishLastNodeCss: (index: number) => boolean;
55
66
  handleFinishLastNodeLine: (index: number) => boolean;
56
67
  NTooltip: any;
68
+ NEmpty: any;
57
69
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
58
70
  stepInfo: {
59
71
  type: ObjectConstructor;
@@ -74,7 +86,12 @@ declare const _default: import("vue").DefineComponent<{
74
86
  type: BooleanConstructor;
75
87
  default: boolean;
76
88
  };
89
+ noDataMsg: {
90
+ type: StringConstructor;
91
+ default: string;
92
+ };
77
93
  }>>, {
94
+ noDataMsg: string;
78
95
  stepInfo: Record<string, any>;
79
96
  currentStep: number;
80
97
  toolTipShow: boolean;
@@ -1 +1 @@
1
- .stepOut{display:flex;font-family:PingFangSC-Medium,PingFang SC;font-size:16px;font-weight:500;height:100%;justify-content:center;width:100%}.stepOut .stepItem{float:left;font-family:SimSun;font-size:16px;height:180px;min-width:65px;position:relative;text-align:center;top:48px;width:15%}.stepOut .stepItem .lineCircleRight{border:1px dashed rgba(3,2,2,.4);border-left:none;border-left:0 dashed rgba(3,2,2,.4)!important;border-radius:0 25px 25px 0;display:block;height:100%;left:55%;position:absolute;top:6px;width:30%}.stepOut .stepItem .lineCircleLeft{border-color:#fff;border-bottom:1px dashed rgba(3,2,2,.4);border-left:none;border-left:1px dashed rgba(3,2,2,.4);border-radius:25px 0 0 25px;border-right:0 dashed rgba(3,2,2,.4)!important;border-top:1px dashed rgba(3,2,2,.4);display:block;height:100%;left:15%;position:absolute;top:6px;width:30%}.stepOut .stepItem .lineCircleActive{border:1px solid #2563f4}.stepOut .stepItem .icon{background:#969696;border-radius:50%;height:13px;margin:0 auto;position:relative;width:13px;z-index:888}.stepOut .stepItem .active{background-color:#2563f4}.stepOut .stepItem .finished{background-color:#5dc055!important;border-color:#5dc055!important;color:#fff!important}.stepOut .stepItem .labelFinsh{color:#5dc055!important}.stepOut .stepItem .line{border-bottom:1px dashed rgba(3,2,2,.4);left:55%;position:absolute;top:6px;width:90%;z-index:111}.stepOut .stepItem .lineActive{border-bottom:1px solid #2563f4}.stepOut .stepItem .stepTopBox{background:rgba(110,153,255,.11);border-radius:4px;color:#2563f4;cursor:pointer;height:40px;left:50%;line-height:40px;max-width:70%;min-width:65px;overflow:hidden;padding:0 5px;position:absolute;text-overflow:ellipsis;top:-48px;transform:translateX(-50%);white-space:nowrap}.stepOut .stepItem .stepBottomBox{align-items:center;cursor:pointer;display:flex;flex-direction:column;min-width:65px;width:100%}.stepOut .stepItem .stepLabel{color:#212121;line-height:36px;width:100%}.stepOut .stepItem .stepExtra,.stepOut .stepItem .stepLabel{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stepOut .stepItem .stepExtra{border:1px solid #cacaca;border-radius:4px;height:26px;width:68px}.stepOut .stepItem .statusTime{color:rgba(0,0,0,.6);font-size:14px;font-weight:400;height:34px;margin:0;width:89px}.nodeTipContent{margin:0;max-height:200px;max-width:400px;overflow:auto;padding:0;text-align:center}.nodeTipContent li{list-style:none;margin-bottom:5px}.nodeTipContent li p{margin:0}
1
+ .step-wheel-box{font-family:PingFangSC-Medium,PingFang SC;font-size:16px;font-weight:500;height:100%;width:100%}.step-wheel-box .stepOut{display:flex;justify-content:center}.step-wheel-box .stepOut .stepItem{float:left;font-family:SimSun;font-size:16px;height:180px;min-width:68px;position:relative;text-align:center;top:48px;width:15%}.step-wheel-box .stepOut .stepItem .lineCircleRight{border:1px dashed rgba(3,2,2,.4);border-left:none;border-left:0 dashed rgba(3,2,2,.4)!important;border-radius:0 25px 25px 0;display:block;height:100%;left:55%;position:absolute;top:6px;width:30%}.step-wheel-box .stepOut .stepItem .lineCircleLeft{border-color:#fff;border-bottom:1px dashed rgba(3,2,2,.4);border-left:none;border-left:1px dashed rgba(3,2,2,.4);border-radius:25px 0 0 25px;border-right:0 dashed rgba(3,2,2,.4)!important;border-top:1px dashed rgba(3,2,2,.4);display:block;height:100%;left:15%;position:absolute;top:6px;width:30%}.step-wheel-box .stepOut .stepItem .lineCircleActive{border:1px solid #2563f4}.step-wheel-box .stepOut .stepItem .icon{background:#969696;border-radius:50%;height:13px;margin:0 auto;position:relative;width:13px;z-index:888}.step-wheel-box .stepOut .stepItem .active{background-color:#2563f4}.step-wheel-box .stepOut .stepItem .finished{background-color:#5dc055!important;border-color:#5dc055!important;color:#fff!important}.step-wheel-box .stepOut .stepItem .labelFinsh{color:#5dc055!important}.step-wheel-box .stepOut .stepItem .line{border-bottom:1px dashed rgba(3,2,2,.4);left:55%;position:absolute;top:6px;width:90%;z-index:111}.step-wheel-box .stepOut .stepItem .lineActive{border-bottom:1px solid #2563f4}.step-wheel-box .stepOut .stepItem .stepTopBox{background:rgba(110,153,255,.11);border-radius:4px;color:#2563f4;cursor:pointer;height:40px;left:50%;line-height:40px;max-width:70%;min-width:68px;overflow:hidden;padding:0 5px;position:absolute;text-overflow:ellipsis;top:-48px;transform:translateX(-50%);white-space:nowrap}.step-wheel-box .stepOut .stepItem .stepBottomBox{align-items:center;cursor:pointer;display:flex;flex-direction:column;min-width:68px;width:100%}.step-wheel-box .stepOut .stepItem .stepLabel{color:#212121;line-height:36px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.step-wheel-box .stepOut .stepItem .stepExtra{border:1px solid #cacaca;border-radius:4px;height:26px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:68px}.step-wheel-box .stepOut .stepItem .statusTime{color:rgba(0,0,0,.6);font-size:14px;font-weight:400;height:34px;margin:0;width:89px}.nodeTipContent{margin:0;max-height:200px;max-width:400px;overflow:auto;padding:0;text-align:center}.nodeTipContent li{list-style:none;margin-bottom:5px}.nodeTipContent li p{margin:0}
@@ -50,7 +50,7 @@ declare const TimeLine: SFCWithInstall<import("vue").DefineComponent<{
50
50
  }> | undefined;
51
51
  themeClass: import("vue").Ref<string> | undefined;
52
52
  onRender: (() => void) | undefined;
53
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
53
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
54
54
  time: import("vue").PropType<string | number>;
55
55
  title: StringConstructor;
56
56
  content: StringConstructor;
@@ -53,7 +53,7 @@ declare const _default: import("vue").DefineComponent<{
53
53
  }> | undefined;
54
54
  themeClass: import("vue").Ref<string> | undefined;
55
55
  onRender: (() => void) | undefined;
56
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
56
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
57
57
  time: PropType<string | number>;
58
58
  title: StringConstructor;
59
59
  content: StringConstructor;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "3.1.19-beta.2",
3
+ "version": "3.1.19-beta.3",
4
4
  "license": "ISC",
5
5
  "module": "./es/components/index.js",
6
6
  "main": "./es/components/index.js",
@@ -10,10 +10,11 @@
10
10
  "es/components/*(.css,.less)"
11
11
  ],
12
12
  "files": [
13
- "es"
13
+ "es",
14
+ "README.md"
14
15
  ],
15
16
  "peerDependencies": {
16
- "naive-ui": "^2.29.1",
17
+ "naive-ui": "^2.30.0",
17
18
  "vue": "^3.2.0"
18
19
  },
19
20
  "dependencies": {
@@ -42,7 +43,7 @@
42
43
  "min-dash": "^3.8.1",
43
44
  "min-dom": "^3.2.1",
44
45
  "moment": "^2.29.1",
45
- "naive-ui": "^2.29.1",
46
+ "naive-ui": "^2.30.0",
46
47
  "rimraf": "^3.0.2",
47
48
  "spark-md5": "^3.0.2",
48
49
  "tiny-svg": "^2.2.4",
@@ -65,5 +66,5 @@
65
66
  "iOS 7",
66
67
  "last 3 iOS versions"
67
68
  ],
68
- "gitHead": "6cdac6ec5a98755712260db0ba068706fc884c4b"
69
+ "gitHead": "5f995d11ded4d06a117d3b58ca21f6d7ae9c8885"
69
70
  }