cnhis-design-vue 3.1.13-beta.7 → 3.1.13

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 (51) hide show
  1. package/es/packages/big-table/src/BigTable.vue.d.ts +6 -15
  2. package/es/packages/big-table/src/BigTable.vue_vue_type_script_setup_true_lang.js +11 -2
  3. package/es/packages/big-table/src/bigTableEmits.js +2 -1
  4. package/es/packages/big-table/src/hooks/useColumnConfigAdaptor.d.ts +12 -0
  5. package/es/packages/big-table/src/hooks/useColumnConfigAdaptor.js +91 -0
  6. package/es/packages/button-print/index.d.ts +15 -1
  7. package/es/packages/button-print/src/ButtonPrint.vue.d.ts +199 -185
  8. package/es/packages/button-print/src/ButtonPrint.vue_vue_type_script_setup_true_lang.js +39 -4
  9. package/es/packages/button-print/src/utils/print.d.ts +41 -0
  10. package/es/packages/button-print/src/utils/print.js +325 -0
  11. package/es/packages/fabric-chart/index.d.ts +3 -4
  12. package/es/packages/fabric-chart/src/FabricChart.vue.d.ts +3 -4
  13. package/es/packages/fabric-chart/src/FabricChart.vue_vue_type_script_setup_true_lang.js +21 -12
  14. package/es/packages/fabric-chart/src/hooks/useBottom.js +2 -3
  15. package/es/packages/fabric-chart/src/hooks/useCenter.js +33 -11
  16. package/es/packages/fabric-chart/src/hooks/useCumputedPoint.d.ts +2 -2
  17. package/es/packages/fabric-chart/src/hooks/useCumputedPoint.js +27 -13
  18. package/es/packages/fabric-chart/src/hooks/useGrid.js +18 -13
  19. package/es/packages/fabric-chart/src/hooks/useLeft.js +63 -40
  20. package/es/packages/fabric-chart/src/hooks/useRight.js +2 -2
  21. package/es/packages/fabric-chart/src/interface.d.ts +6 -3
  22. package/es/packages/fabric-chart/src/utils/index.d.ts +6815 -6815
  23. package/es/packages/form-render/index.d.ts +297 -0
  24. package/es/packages/form-render/src/FormRender.vue.d.ts +297 -0
  25. package/es/packages/form-render/src/FormRender.vue_vue_type_script_setup_true_lang.js +34 -24
  26. package/es/packages/form-render/src/components/renderer/formItem.js +6 -4
  27. package/es/packages/form-render/src/hooks/useAnchor.js +3 -3
  28. package/es/packages/form-render/src/hooks/useFieldListAdaptor.js +2 -2
  29. package/es/packages/form-render/src/hooks/useFieldVisitor.js +3 -0
  30. package/es/packages/form-render/src/hooks/useFormItemDeps.js +2 -3
  31. package/es/packages/form-render/src/utils/index.d.ts +1 -0
  32. package/es/packages/form-render/src/utils/index.js +4 -1
  33. package/es/packages/form-render/style/index.css +25 -7
  34. package/es/packages/form-table/src/hooks/useNuiThemeOverrides.d.ts +4 -0
  35. package/es/packages/form-table/src/hooks/useNuiThemeOverrides.js +18 -0
  36. package/es/packages/index.css +193 -9
  37. package/es/packages/index.d.ts +2 -1
  38. package/es/packages/index.js +3 -0
  39. package/es/packages/steps-wheel/index.d.ts +548 -0
  40. package/es/packages/steps-wheel/index.js +11 -0
  41. package/es/packages/steps-wheel/src/StepsWheel.js +4 -0
  42. package/es/packages/steps-wheel/src/StepsWheel.vue.d.ts +547 -0
  43. package/es/packages/steps-wheel/src/StepsWheel.vue_vue_type_script_setup_true_lang.js +252 -0
  44. package/es/packages/steps-wheel/style/index.css +161 -0
  45. package/es/packages/time-line/index.d.ts +1 -0
  46. package/es/packages/time-line/src/TimeLine.vue.d.ts +1 -0
  47. package/es/packages/time-line/src/TimeLine.vue_vue_type_script_setup_true_lang.js +6 -1
  48. package/es/packages/time-line/style/index.css +7 -2
  49. package/package.json +1 -1
  50. package/es/packages/button-print/src/utils/print.es.min.d.ts +0 -2
  51. package/es/packages/button-print/src/utils/print.es.min.js +0 -2532
@@ -0,0 +1,252 @@
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';
3
+
4
+ const _hoisted_1 = { class: "stepOut" };
5
+ const _hoisted_2 = { style: { "list-style": "none" } };
6
+ const _hoisted_3 = ["title"];
7
+ const _hoisted_4 = /* @__PURE__ */ createElementVNode("ul", { class: "nodeTipContent" }, [
8
+ /* @__PURE__ */ createElementVNode("li", null, [
9
+ /* @__PURE__ */ createElementVNode("p", null, [
10
+ /* @__PURE__ */ createElementVNode("span", { style: { "margin-right": "10px" } }, "(1)"),
11
+ /* @__PURE__ */ createTextVNode(" 2022-07-30 14:15:12 ")
12
+ ]),
13
+ /* @__PURE__ */ createElementVNode("p", null, "\u5468\u8001\u5E08"),
14
+ /* @__PURE__ */ createElementVNode("p", null, "\u6B65\u9AA4\u6761\u63D0\u793A"),
15
+ /* @__PURE__ */ createElementVNode("p", null, "\u54B1\u8FD9\u662F\u6D4B\u8BD5\u6848\u4F8B,\u8BF7\u4F7F\u7528\u63D2\u69FD\uFF1A#nodeTipBox \u81EA\u5B9A\u4E49")
16
+ ]),
17
+ /* @__PURE__ */ createElementVNode("li", null, [
18
+ /* @__PURE__ */ createElementVNode("p", null, [
19
+ /* @__PURE__ */ createElementVNode("span", { style: { "margin-right": "10px" } }, "(2)"),
20
+ /* @__PURE__ */ createTextVNode(" 2022-07-30 14:15:12 ")
21
+ ]),
22
+ /* @__PURE__ */ createElementVNode("p", null, "\u5468\u8001\u5E08"),
23
+ /* @__PURE__ */ createElementVNode("p", null, "\u6B65\u9AA4\u6761\u63D0\u793A"),
24
+ /* @__PURE__ */ createElementVNode("p", null, "\u54B1\u8FD9\u662F\u4E2A\u6D4B\u8BD5\u6848\u4F8B,\u8BF7\u4F7F\u7528\u63D2\u69FD\uFF1A#nodeTipBox \u81EA\u5B9A\u4E49")
25
+ ])
26
+ ], -1);
27
+ const _hoisted_5 = { class: "stepBottomBox" };
28
+ const _hoisted_6 = ["title"];
29
+ const _hoisted_7 = ["title"];
30
+ const _hoisted_8 = { class: "statusTime" };
31
+ const _hoisted_9 = { key: 1 };
32
+ var script = /* @__PURE__ */ defineComponent({
33
+ __name: "StepsWheel",
34
+ props: {
35
+ stepInfo: {
36
+ type: Object,
37
+ default: () => {
38
+ return {
39
+ list: [],
40
+ cols: 6
41
+ };
42
+ }
43
+ },
44
+ currentStep: {
45
+ type: Number,
46
+ default: 1
47
+ },
48
+ toolTipShow: {
49
+ type: Boolean,
50
+ default: true
51
+ }
52
+ },
53
+ setup(__props) {
54
+ const props = __props;
55
+ const nodeRowCount = computed(() => {
56
+ return Math.ceil(stepInfoList.value.length / props.stepInfo.cols);
57
+ });
58
+ const stepInfoList = ref([]);
59
+ const handleNode = (nodeList, cols) => {
60
+ let length = nodeList.length + 1;
61
+ let rows = Math.ceil(length / cols);
62
+ let sort = true;
63
+ let arr = new Array();
64
+ for (var i = 0; i < rows; i++) {
65
+ arr[i] = new Array(cols);
66
+ arr[i].fill(null);
67
+ }
68
+ let x = 0, y = 0;
69
+ for (let i2 = 1; i2 < length; i2++) {
70
+ arr[x][y] = Object.assign(nodeList[i2 - 1], {
71
+ nodeIndex: i2,
72
+ rowIndex: x + 1
73
+ });
74
+ if (sort) {
75
+ if (i2 % cols != 0) {
76
+ y++;
77
+ } else {
78
+ sort = !sort;
79
+ x++;
80
+ }
81
+ } else {
82
+ if (i2 % cols != 0) {
83
+ y--;
84
+ } else {
85
+ sort = !sort;
86
+ x++;
87
+ }
88
+ }
89
+ }
90
+ let list = [];
91
+ arr.map((v) => {
92
+ v.map((a, i2) => a && (a.sort = i2));
93
+ v[0] && (v[0].nodeType = "frist");
94
+ v[v.length - 1] && (v[v.length - 1].nodeType = "last");
95
+ list = [...list, ...v];
96
+ });
97
+ stepInfoList.value = list;
98
+ };
99
+ const lineCircleLeft = (stepItem) => {
100
+ return stepItem.rowIndex % 2 == 0 && stepItem.nodeType == "frist";
101
+ };
102
+ const lineCircleRight = (stepItem) => {
103
+ return stepItem.rowIndex % 2 != 0 && stepItem.nodeType == "last";
104
+ };
105
+ const lineActiveShow = (stepItem, index) => {
106
+ if (stepItem.rowIndex % 2 == 0) {
107
+ return props.currentStep >= index + (props.stepInfo.cols - 2 * stepItem.sort);
108
+ } else {
109
+ return props.currentStep >= index + 2;
110
+ }
111
+ };
112
+ const format2DArray = (baseArray, cols) => {
113
+ let len = baseArray.length;
114
+ let lineNum = len % cols === 0 ? len / cols : Math.floor(len / cols + 1);
115
+ let res = [];
116
+ for (let i = 0; i < lineNum; i++) {
117
+ let temp = baseArray.slice(i * cols, i * cols + cols);
118
+ res.push(temp);
119
+ }
120
+ return res;
121
+ };
122
+ const lastLineHidden = (index) => {
123
+ const { cols } = props.stepInfo;
124
+ let arr = format2DArray(stepInfoList.value, cols);
125
+ let lastRow = arr[arr.length - 1].filter((v) => v);
126
+ if (nodeRowCount.value % 2 == 0) {
127
+ return index != lastRow[lastRow.length - 1].nodeIndex - (props.stepInfo.cols - 2 * lastRow[lastRow.length - 1].sort);
128
+ } else {
129
+ return index != lastRow[lastRow.length - 1].nodeIndex - 1;
130
+ }
131
+ };
132
+ const handleFinishLastNodeCss = (index) => {
133
+ const { cols } = props.stepInfo;
134
+ let arr = format2DArray(stepInfoList.value, cols);
135
+ let lastRow = arr[arr.length - 1].filter((v) => v);
136
+ if (nodeRowCount.value % 2 == 0) {
137
+ return index == lastRow[lastRow.length - 1].nodeIndex - (props.stepInfo.cols - 2 * lastRow[lastRow.length - 1].sort);
138
+ } else {
139
+ return index == lastRow[lastRow.length - 1].nodeIndex - 1;
140
+ }
141
+ };
142
+ const handleFinishLastNodeLine = (index) => {
143
+ const { cols } = props.stepInfo;
144
+ let arr = format2DArray(stepInfoList.value, cols);
145
+ let lastRow = arr[arr.length - 1].filter((v) => v);
146
+ if (nodeRowCount.value % 2 == 0) {
147
+ return index == lastRow[lastRow.length - 1].nodeIndex - (props.stepInfo.cols - 2 * lastRow[lastRow.length - 1].sort) - 1;
148
+ } else {
149
+ return index == lastRow[lastRow.length - 1].nodeIndex - 2;
150
+ }
151
+ };
152
+ watch(() => props.stepInfo, (val) => {
153
+ var _a;
154
+ if ((_a = val == null ? void 0 : val.list) == null ? void 0 : _a.length) {
155
+ handleNode(val.list, val.cols);
156
+ }
157
+ }, { immediate: true, deep: true });
158
+ return (_ctx, _cache) => {
159
+ return openBlock(), createElementBlock("div", _hoisted_1, [
160
+ createElementVNode("ul", _hoisted_2, [
161
+ (openBlock(true), createElementBlock(Fragment, null, renderList(stepInfoList.value, (stepItem, index) => {
162
+ return openBlock(), createElementBlock("li", {
163
+ class: normalizeClass(["stepItem", { [`stepItem_${index + 1}`]: true }]),
164
+ key: index
165
+ }, [
166
+ stepItem ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
167
+ createCommentVNode(" \u6B65\u9AA4\u5934\u90E8\u4FE1\u606F "),
168
+ createElementVNode("div", {
169
+ class: normalizeClass(["stepTopBox", { finished: handleFinishLastNodeCss(index) }])
170
+ }, [
171
+ renderSlot(_ctx.$slots, "stepTopBox", {}, () => [
172
+ createElementVNode("span", {
173
+ title: stepItem.title
174
+ }, toDisplayString(stepItem.title), 9, _hoisted_3)
175
+ ])
176
+ ], 2),
177
+ createCommentVNode(" \u6B65\u9AA4\u6761\u7684\u8282\u70B9\uFF0C\u6B64\u5904\u4E3A\u5706\u5708 "),
178
+ __props.toolTipShow ? (openBlock(), createBlock(unref(NTooltip), {
179
+ key: 0,
180
+ placement: "top",
181
+ "show-arrow": true,
182
+ trigger: "hover",
183
+ style: normalizeStyle({ opacity: "0.88" })
184
+ }, {
185
+ trigger: withCtx(() => [
186
+ createElementVNode("div", {
187
+ class: normalizeClass(["icon", {
188
+ active: __props.currentStep >= stepItem.nodeIndex,
189
+ finished: handleFinishLastNodeCss(index)
190
+ }])
191
+ }, null, 2)
192
+ ]),
193
+ default: withCtx(() => [
194
+ renderSlot(_ctx.$slots, "nodeTipBox", {}, () => [
195
+ _hoisted_4
196
+ ])
197
+ ]),
198
+ _: 2
199
+ }, 1032, ["style"])) : (openBlock(), createElementBlock("div", {
200
+ key: 1,
201
+ class: normalizeClass(["icon", {
202
+ active: __props.currentStep >= stepItem.nodeIndex,
203
+ finished: handleFinishLastNodeCss(index)
204
+ }])
205
+ }, null, 2)),
206
+ createCommentVNode(" \u6B65\u9AA4\u6761\u8FDE\u63A5\u7EBF\uFF0C\u52A8\u6001\u663E\u793A "),
207
+ stepItem.nodeType !== "last" ? withDirectives((openBlock(), createElementBlock("div", {
208
+ key: 2,
209
+ class: normalizeClass(["line", {
210
+ lineActive: lineActiveShow(stepItem, index),
211
+ finished: handleFinishLastNodeLine(index)
212
+ }])
213
+ }, null, 2)), [
214
+ [vShow, lastLineHidden(index)]
215
+ ]) : createCommentVNode("v-if", true),
216
+ createCommentVNode(" \u6B65\u9AA4\u6761\u5F2F\u66F2\u8FDE\u7EBF\uFF0C\u52A8\u6001\u6E32\u67D3 "),
217
+ lineCircleLeft(stepItem) || lineCircleRight(stepItem) ? (openBlock(), createElementBlock("div", {
218
+ key: 3,
219
+ class: normalizeClass({
220
+ lineCircleActive: __props.currentStep > stepItem.nodeIndex,
221
+ lineCircleRight: lineCircleRight(stepItem),
222
+ lineCircleLeft: lineCircleLeft(stepItem)
223
+ })
224
+ }, null, 2)) : createCommentVNode("v-if", true),
225
+ createCommentVNode(" \u6B65\u9AA4\u5E95\u90E8\u4FE1\u606F "),
226
+ createElementVNode("div", _hoisted_5, [
227
+ renderSlot(_ctx.$slots, "stepBottomBox", {}, () => [
228
+ createCommentVNode(" \u6B65\u9AA4\u540D\u79F0 "),
229
+ createElementVNode("p", {
230
+ class: normalizeClass(["stepLabel", { labelFinsh: handleFinishLastNodeCss(index) }]),
231
+ title: stepItem.label
232
+ }, toDisplayString(stepItem.label), 11, _hoisted_6),
233
+ createElementVNode("p", {
234
+ class: "stepExtra",
235
+ title: stepItem.person
236
+ }, toDisplayString(stepItem.person), 9, _hoisted_7),
237
+ createCommentVNode(" \u6B65\u9AA4\u65F6\u95F4 "),
238
+ createElementVNode("p", _hoisted_8, toDisplayString(stepItem.statusTime), 1)
239
+ ])
240
+ ])
241
+ ], 64)) : (openBlock(), createElementBlock("div", _hoisted_9, [
242
+ createCommentVNode("null\u5143\u7D20\u5360\u4F4D")
243
+ ]))
244
+ ], 2);
245
+ }), 128))
246
+ ])
247
+ ]);
248
+ };
249
+ }
250
+ });
251
+
252
+ export { script as default };
@@ -0,0 +1,161 @@
1
+ .stepOut {
2
+ width: 100%;
3
+ height: 100%;
4
+ display: flex;
5
+ justify-content: center;
6
+ font-size: 16px;
7
+ font-weight: 500;
8
+ font-family: PingFangSC-Medium, PingFang SC;
9
+ }
10
+ .stepOut .stepItem {
11
+ width: 15%;
12
+ min-width: 65px;
13
+ height: 180px;
14
+ float: left;
15
+ font-family: SimSun;
16
+ font-size: 16px;
17
+ text-align: center;
18
+ position: relative;
19
+ top: 48px;
20
+ }
21
+ .stepOut .stepItem .lineCircleRight {
22
+ left: 55%;
23
+ top: 6px;
24
+ position: absolute;
25
+ display: block;
26
+ border-left-color: white;
27
+ border-left-width: 0px;
28
+ width: 30%;
29
+ border-color: white white white white;
30
+ border-left-style: hidden;
31
+ border-left: none;
32
+ border-top: 1px dashed rgba(3, 2, 2, 0.4);
33
+ border-right: 1px dashed rgba(3, 2, 2, 0.4);
34
+ border-bottom: 1px dashed rgba(3, 2, 2, 0.4);
35
+ border-left: 0px dashed rgba(3, 2, 2, 0.4) !important;
36
+ height: 100%;
37
+ border-radius: 0px 25px 25px 0px;
38
+ }
39
+ .stepOut .stepItem .lineCircleLeft {
40
+ left: 15%;
41
+ top: 6px;
42
+ position: absolute;
43
+ display: block;
44
+ border-left-color: white;
45
+ border-left-width: 0px;
46
+ width: 30%;
47
+ border-color: white white white white;
48
+ border-left-style: hidden;
49
+ border-left: none;
50
+ border-top: 1px dashed rgba(3, 2, 2, 0.4);
51
+ border-right: 0px dashed rgba(3, 2, 2, 0.4) !important;
52
+ border-bottom: 1px dashed rgba(3, 2, 2, 0.4);
53
+ border-left: 1px dashed rgba(3, 2, 2, 0.4);
54
+ height: 100%;
55
+ border-radius: 25px 0px 0px 25px;
56
+ }
57
+ .stepOut .stepItem .lineCircleActive {
58
+ border-top: 1px solid #2563f4;
59
+ border-right: 1px solid #2563f4;
60
+ border-bottom: 1px solid #2563f4;
61
+ border-left: 1px solid #2563f4;
62
+ }
63
+ .stepOut .stepItem .icon {
64
+ width: 13px;
65
+ height: 13px;
66
+ border-radius: 50%;
67
+ background: #969696;
68
+ margin: 0 auto;
69
+ position: relative;
70
+ z-index: 888;
71
+ }
72
+ .stepOut .stepItem .active {
73
+ background-color: #2563f4;
74
+ }
75
+ .stepOut .stepItem .finished {
76
+ background-color: #5dc055 !important;
77
+ color: #fff !important;
78
+ border-color: #5dc055 !important;
79
+ }
80
+ .stepOut .stepItem .labelFinsh {
81
+ color: #5dc055 !important;
82
+ }
83
+ .stepOut .stepItem .line {
84
+ position: absolute;
85
+ top: 6px;
86
+ left: 55%;
87
+ border-bottom: 1px dashed rgba(3, 2, 2, 0.4);
88
+ width: 90%;
89
+ z-index: 111;
90
+ }
91
+ .stepOut .stepItem .lineActive {
92
+ border-bottom: 1px solid #2563f4;
93
+ }
94
+ .stepOut .stepItem .stepTopBox {
95
+ position: absolute;
96
+ top: -48px;
97
+ left: 50%;
98
+ transform: translateX(-50%);
99
+ max-width: 70%;
100
+ min-width: 65px;
101
+ height: 40px;
102
+ line-height: 40px;
103
+ white-space: nowrap;
104
+ text-overflow: ellipsis;
105
+ overflow: hidden;
106
+ background: rgba(110, 153, 255, 0.11);
107
+ border-radius: 4px;
108
+ color: #2563f4;
109
+ padding: 0px 5px;
110
+ cursor: pointer;
111
+ }
112
+ .stepOut .stepItem .stepBottomBox {
113
+ cursor: pointer;
114
+ width: 100%;
115
+ min-width: 65px;
116
+ display: flex;
117
+ flex-direction: column;
118
+ align-items: center;
119
+ }
120
+ .stepOut .stepItem .stepLabel {
121
+ width: 100%;
122
+ color: #212121;
123
+ line-height: 36px;
124
+ margin: 0;
125
+ white-space: nowrap;
126
+ text-overflow: ellipsis;
127
+ overflow: hidden;
128
+ }
129
+ .stepOut .stepItem .stepExtra {
130
+ width: 68px;
131
+ height: 26px;
132
+ border-radius: 4px;
133
+ border: 1px solid #cacaca;
134
+ margin: 0;
135
+ white-space: nowrap;
136
+ text-overflow: ellipsis;
137
+ overflow: hidden;
138
+ }
139
+ .stepOut .stepItem .statusTime {
140
+ color: rgba(0, 0, 0, 0.6);
141
+ font-size: 14px;
142
+ font-weight: 400;
143
+ width: 89px;
144
+ height: 34px;
145
+ margin: 0;
146
+ }
147
+ .nodeTipContent {
148
+ max-height: 200px;
149
+ max-width: 400px;
150
+ overflow: auto;
151
+ text-align: center;
152
+ padding: 0;
153
+ margin: 0;
154
+ }
155
+ .nodeTipContent li {
156
+ list-style: none;
157
+ margin-bottom: 5px;
158
+ }
159
+ .nodeTipContent li p {
160
+ margin: 0;
161
+ }
@@ -13,6 +13,7 @@ declare const TimeLine: SFCWithInstall<import("vue").DefineComponent<{
13
13
  title: string;
14
14
  name: string;
15
15
  time: string;
16
+ extraText?: string | undefined;
16
17
  content: string;
17
18
  }[];
18
19
  }[];
@@ -4,6 +4,7 @@ declare type SubItem = {
4
4
  title: string;
5
5
  name: string;
6
6
  time: string;
7
+ extraText?: string;
7
8
  content: string;
8
9
  };
9
10
  declare type Item = {
@@ -1,8 +1,12 @@
1
- import { defineComponent, openBlock, createBlock, unref, withCtx, createElementBlock, Fragment, renderList, createVNode, createTextVNode, toDisplayString, createElementVNode } from 'vue';
1
+ import { defineComponent, openBlock, createBlock, unref, withCtx, createElementBlock, Fragment, renderList, createVNode, createTextVNode, toDisplayString, createElementVNode, createCommentVNode } from 'vue';
2
2
  import { NTimeline, NTimelineItem, NSpace, NButton } from 'naive-ui';
3
3
 
4
4
  const _hoisted_1 = { class: "content" };
5
5
  const _hoisted_2 = { class: "content-name" };
6
+ const _hoisted_3 = {
7
+ key: 0,
8
+ class: "content-extra"
9
+ };
6
10
  var script = /* @__PURE__ */ defineComponent({
7
11
  __name: "TimeLine",
8
12
  props: {
@@ -43,6 +47,7 @@ var script = /* @__PURE__ */ defineComponent({
43
47
  ]),
44
48
  _: 2
45
49
  }, 1024),
50
+ t.extraText ? (openBlock(), createElementBlock("p", _hoisted_3, toDisplayString(t.extraText), 1)) : createCommentVNode("v-if", true),
46
51
  createElementVNode("p", null, toDisplayString(t.content), 1)
47
52
  ])
48
53
  ]),
@@ -18,11 +18,13 @@
18
18
  font-size: 14px;
19
19
  margin-bottom: 10px;
20
20
  }
21
- .c-time-line .content-name {
21
+ .c-time-line .content-name,
22
+ .c-time-line .content-extra {
22
23
  font-size: 16px;
23
24
  font-weight: 600;
24
25
  }
25
- .c-time-line .content-name + span {
26
+ .c-time-line .content-name + span,
27
+ .c-time-line .content-extra + span {
26
28
  color: #666;
27
29
  }
28
30
  .c-time-line .content p {
@@ -30,3 +32,6 @@
30
32
  line-height: 20px;
31
33
  text-align: left;
32
34
  }
35
+ .c-time-line .content-extra {
36
+ margin-bottom: 8px !important;
37
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
3
  "private": false,
4
- "version": "3.1.13-beta.7",
4
+ "version": "3.1.13",
5
5
  "license": "ISC",
6
6
  "module": "es/packages/index.js",
7
7
  "main": "es/packages/index.js",
@@ -1,2 +0,0 @@
1
- export { Yi as default };
2
- declare function Yi(): void;