yc-agent-ui 1.2.3 → 1.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/descriptions/index.d.ts +3 -3
- package/es/components/descriptions/src/index.vue.d.ts +1 -1
- package/es/components/dialog/index.d.ts +6 -6
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +4 -4
- package/es/components/dialog-form/src/index.vue.d.ts +4 -4
- package/es/components/display-item/index.d.ts +15 -15
- package/es/components/display-item/src/index.vue.d.ts +13 -13
- package/es/components/drawer-form/index.d.ts +22 -22
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- package/es/components/form/index.d.ts +43 -43
- package/es/components/form/src/form-content.vue.d.ts +15 -15
- package/es/components/form/src/index.vue.d.ts +21 -21
- package/es/components/form-item/index.d.ts +61 -61
- package/es/components/form-item/src/index.vue.d.ts +24 -24
- package/es/components/index.d.ts +1 -0
- package/es/components/page/index.d.ts +936 -936
- package/es/components/page/src/index.vue.d.ts +316 -316
- package/es/components/popover/index.d.ts +9 -9
- package/es/components/popover/src/index.vue.d.ts +3 -3
- package/es/components/search/index.d.ts +282 -282
- package/es/components/search/src/index.vue.d.ts +98 -98
- package/es/components/table/index.d.ts +9 -9
- package/es/components/table/src/index.vue.d.ts +1 -1
- package/es/components/table/src/table-column.vue.d.ts +34 -34
- package/es/components/utils/index.d.ts +1 -1
- package/es/components/yc-ai-chat/index.d.ts +2 -1
- package/es/components/yc-ai-chat/src/question-card.vue.d.ts +17 -0
- package/es/components/yc-ai-chat/src/question-validation.d.ts +5 -0
- package/es/components/yc-ai-chat/src/type.d.ts +51 -0
- package/es/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- package/es/components/yc-display-cards/capability.d.ts +4 -0
- package/es/components/yc-display-cards/index.d.ts +24 -0
- package/es/components/yc-display-cards/src/detail-card.vue.d.ts +10 -0
- package/es/components/yc-display-cards/src/metrics-card.vue.d.ts +8 -0
- package/es/components/yc-display-cards/src/table-card.vue.d.ts +12 -0
- package/es/components/yc-display-cards/src/types.d.ts +47 -0
- package/es/components/yc-input/src/input.vue.d.ts +1 -1
- package/es/components/yc-input/src/money-input.vue.d.ts +1 -1
- package/es/components/yc-plus-page/src/index.vue.d.ts +946 -946
- package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/es/components/yc-questionnaire/src/index.vue.d.ts +1 -1
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/hooks/usePlusFormReset.d.ts +132 -132
- package/es/index.css +11 -8
- package/es/index.mjs +2 -0
- package/es/packages/components/index.mjs +2 -0
- package/es/packages/components/yc-ai-chat/index.mjs +1 -0
- package/es/packages/components/yc-ai-chat/src/question-card.vue.mjs +5 -0
- package/es/packages/components/yc-ai-chat/src/question-card2.vue.mjs +613 -0
- package/es/packages/components/yc-ai-chat/src/question-validation.mjs +77 -0
- package/es/packages/components/yc-display-cards/capability.mjs +75 -0
- package/es/packages/components/yc-display-cards/index.mjs +10 -0
- package/es/packages/components/yc-display-cards/src/detail-card.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/detail-card2.vue.mjs +118 -0
- package/es/packages/components/yc-display-cards/src/metrics-card.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/metrics-card2.vue.mjs +132 -0
- package/es/packages/components/yc-display-cards/src/table-card.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/table-card2.vue.mjs +199 -0
- package/es/packages/components/yc-display-cards/src/types.mjs +1 -0
- package/es/packages/registry/load.mjs +9 -8
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/index.css +4 -1
- package/index.js +2546 -1335
- package/index.min.css +3 -0
- package/index.min.js +23 -23
- package/index.min.mjs +23 -23
- package/index.mjs +2535 -1328
- package/lib/components/descriptions/index.d.ts +3 -3
- package/lib/components/descriptions/src/index.vue.d.ts +1 -1
- package/lib/components/dialog/index.d.ts +6 -6
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +4 -4
- package/lib/components/dialog-form/src/index.vue.d.ts +4 -4
- package/lib/components/display-item/index.d.ts +15 -15
- package/lib/components/display-item/src/index.vue.d.ts +13 -13
- package/lib/components/drawer-form/index.d.ts +22 -22
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- package/lib/components/form/index.d.ts +43 -43
- package/lib/components/form/src/form-content.vue.d.ts +15 -15
- package/lib/components/form/src/index.vue.d.ts +21 -21
- package/lib/components/form-item/index.d.ts +61 -61
- package/lib/components/form-item/src/index.vue.d.ts +24 -24
- package/lib/components/index.d.ts +1 -0
- package/lib/components/page/index.d.ts +936 -936
- package/lib/components/page/src/index.vue.d.ts +316 -316
- package/lib/components/popover/index.d.ts +9 -9
- package/lib/components/popover/src/index.vue.d.ts +3 -3
- package/lib/components/search/index.d.ts +282 -282
- package/lib/components/search/src/index.vue.d.ts +98 -98
- package/lib/components/table/index.d.ts +9 -9
- package/lib/components/table/src/index.vue.d.ts +1 -1
- package/lib/components/table/src/table-column.vue.d.ts +34 -34
- package/lib/components/utils/index.d.ts +1 -1
- package/lib/components/yc-ai-chat/index.d.ts +2 -1
- package/lib/components/yc-ai-chat/src/question-card.vue.d.ts +17 -0
- package/lib/components/yc-ai-chat/src/question-validation.d.ts +5 -0
- package/lib/components/yc-ai-chat/src/type.d.ts +51 -0
- package/lib/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- package/lib/components/yc-display-cards/capability.d.ts +4 -0
- package/lib/components/yc-display-cards/index.d.ts +24 -0
- package/lib/components/yc-display-cards/src/detail-card.vue.d.ts +10 -0
- package/lib/components/yc-display-cards/src/metrics-card.vue.d.ts +8 -0
- package/lib/components/yc-display-cards/src/table-card.vue.d.ts +12 -0
- package/lib/components/yc-display-cards/src/types.d.ts +47 -0
- package/lib/components/yc-input/src/input.vue.d.ts +1 -1
- package/lib/components/yc-input/src/money-input.vue.d.ts +1 -1
- package/lib/components/yc-plus-page/src/index.vue.d.ts +946 -946
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/lib/components/yc-questionnaire/src/index.vue.d.ts +1 -1
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/hooks/usePlusFormReset.d.ts +132 -132
- package/lib/index.css +11 -8
- package/lib/index.js +12 -6
- package/lib/packages/components/index.js +12 -6
- package/lib/packages/components/yc-ai-chat/index.js +2 -0
- package/lib/packages/components/yc-ai-chat/src/question-card.vue.js +9 -0
- package/lib/packages/components/yc-ai-chat/src/question-card2.vue.js +617 -0
- package/lib/packages/components/yc-ai-chat/src/question-validation.js +81 -0
- package/lib/packages/components/yc-display-cards/capability.js +79 -0
- package/lib/packages/components/yc-display-cards/index.js +14 -0
- package/lib/packages/components/yc-display-cards/src/detail-card.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/detail-card2.vue.js +122 -0
- package/lib/packages/components/yc-display-cards/src/metrics-card.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/metrics-card2.vue.js +136 -0
- package/lib/packages/components/yc-display-cards/src/table-card.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/table-card2.vue.js +203 -0
- package/lib/packages/components/yc-display-cards/src/types.js +2 -0
- package/lib/packages/registry/load.js +9 -8
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +4 -1
- package/theme-chalk/plus-yc-ai-chat.css +1 -1
- package/theme-chalk/src/yc-ai-chat.scss +498 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const ID_PATTERN = /^[A-Za-z0-9_-]{1,64}$/;
|
|
4
|
+
const EVENT_TYPE_PATTERN = /^[A-Za-z0-9._-]{1,100}$/;
|
|
5
|
+
function codePointLength(value) {
|
|
6
|
+
return Array.from(value).length;
|
|
7
|
+
}
|
|
8
|
+
function hasForbiddenControl(value, allowLineBreaks) {
|
|
9
|
+
var _a;
|
|
10
|
+
for (const character of value) {
|
|
11
|
+
const point = (_a = character.codePointAt(0)) != null ? _a : 0;
|
|
12
|
+
if ((point >= 0 && point <= 31 || point >= 127 && point <= 159) && (!allowLineBreaks || point !== 9 && point !== 10 && point !== 13)) {
|
|
13
|
+
return true;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return false;
|
|
17
|
+
}
|
|
18
|
+
function validText(value, minimum, maximum, allowLineBreaks = false) {
|
|
19
|
+
const length = codePointLength(value);
|
|
20
|
+
return length >= minimum && length <= maximum && value.trim().length > 0 && !hasForbiddenControl(value, allowLineBreaks);
|
|
21
|
+
}
|
|
22
|
+
function validChatOtherText(value) {
|
|
23
|
+
return validText(value, 1, 2e3, true);
|
|
24
|
+
}
|
|
25
|
+
function validChatQuestionRequest(request) {
|
|
26
|
+
var _a, _b, _c;
|
|
27
|
+
if (request.schema !== "interaction.question.v1" || !validText(request.request_id, 1, 256) || !validText(request.tool_call_id, 1, 256) || request.questions.length < 1 || request.questions.length > 5) {
|
|
28
|
+
return false;
|
|
29
|
+
}
|
|
30
|
+
const questionIds = /* @__PURE__ */ new Set();
|
|
31
|
+
let hasEvent = false;
|
|
32
|
+
for (const question of request.questions) {
|
|
33
|
+
if (!ID_PATTERN.test(question.id) || questionIds.has(question.id) || !validText(question.title, 1, 500) || !["single", "multiple"].includes(question.selection_mode) || question.options.length < 1 || question.options.length > 10 || ((_a = question.other) == null ? void 0 : _a.enabled) !== true || ((_b = question.other) == null ? void 0 : _b.label) !== "\u5176\u4ED6") {
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
questionIds.add(question.id);
|
|
37
|
+
const optionIds = /* @__PURE__ */ new Set();
|
|
38
|
+
const optionLabels = /* @__PURE__ */ new Set();
|
|
39
|
+
for (const option of question.options) {
|
|
40
|
+
const normalizedLabel = option.label.trim();
|
|
41
|
+
if (!ID_PATTERN.test(option.id) || optionIds.has(option.id) || !validText(option.label, 1, 100) || normalizedLabel === "\u5176\u4ED6" || optionLabels.has(normalizedLabel) || option.description !== void 0 && option.description !== "" && !validText(option.description, 1, 300)) {
|
|
42
|
+
return false;
|
|
43
|
+
}
|
|
44
|
+
optionIds.add(option.id);
|
|
45
|
+
optionLabels.add(normalizedLabel);
|
|
46
|
+
if (option.event) {
|
|
47
|
+
hasEvent = true;
|
|
48
|
+
if (!EVENT_TYPE_PATTERN.test(option.event.type) || !Number.isInteger(option.event.version) || option.event.version < 1 || option.event.payload === null || typeof option.event.payload !== "object" || Array.isArray(option.event.payload)) {
|
|
49
|
+
return false;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
if (hasEvent && (request.questions.length !== 1 || ((_c = request.questions[0]) == null ? void 0 : _c.selection_mode) !== "single")) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
return true;
|
|
58
|
+
}
|
|
59
|
+
function validChatAnswersForRequest(request, answers) {
|
|
60
|
+
if (!validChatQuestionRequest(request)) return false;
|
|
61
|
+
if (answers.length !== request.questions.length) return false;
|
|
62
|
+
return request.questions.every((question, index) => {
|
|
63
|
+
const answer = answers[index];
|
|
64
|
+
if (!answer || answer.question_id !== question.id) return false;
|
|
65
|
+
const allowed = new Set(question.options.map((option) => option.id));
|
|
66
|
+
if (new Set(answer.selected_option_ids).size !== answer.selected_option_ids.length || answer.selected_option_ids.some((id) => !allowed.has(id))) {
|
|
67
|
+
return false;
|
|
68
|
+
}
|
|
69
|
+
if (answer.other_text !== null) {
|
|
70
|
+
return answer.selected_option_ids.length === 0 && validChatOtherText(answer.other_text);
|
|
71
|
+
}
|
|
72
|
+
if (question.selection_mode === "single") {
|
|
73
|
+
return answer.selected_option_ids.length === 1;
|
|
74
|
+
}
|
|
75
|
+
return answer.selected_option_ids.length >= 1;
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
exports.validChatAnswersForRequest = validChatAnswersForRequest;
|
|
80
|
+
exports.validChatOtherText = validChatOtherText;
|
|
81
|
+
exports.validChatQuestionRequest = validChatQuestionRequest;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var index = require('./index.js');
|
|
6
|
+
|
|
7
|
+
const capability = {
|
|
8
|
+
install: [index.YcDisplayTableCard, index.YcDisplayMetricsCard, index.YcDisplayDetailCard],
|
|
9
|
+
gallery: [
|
|
10
|
+
{
|
|
11
|
+
id: "yc.common.table",
|
|
12
|
+
title: "\u901A\u7528\u6570\u636E\u8868\u683C\u5361",
|
|
13
|
+
categories: ["\u5361\u7247\u4E0E\u5C55\u793A", "\u6570\u636E\u8868\u683C"],
|
|
14
|
+
component: index.YcDisplayTableCard,
|
|
15
|
+
props: {
|
|
16
|
+
title: "\u9879\u76EE\u6570\u91CF\u6309\u57CE\u5E02\u6C47\u603B",
|
|
17
|
+
subtitle: "\u5171 2,141 \u4E2A\u5DF2\u6388\u6743\u9879\u76EE",
|
|
18
|
+
summary: [
|
|
19
|
+
{ label: "\u5DF2\u8BC6\u522B\u57CE\u5E02", value: "359 \u4E2A" },
|
|
20
|
+
{ label: "\u672A\u8BC6\u522B", value: "185 \u4E2A" }
|
|
21
|
+
],
|
|
22
|
+
columns: [
|
|
23
|
+
{ key: "city", label: "\u6240\u5C5E\u57CE\u5E02" },
|
|
24
|
+
{ key: "count", label: "\u9879\u76EE\u6570", align: "right" }
|
|
25
|
+
],
|
|
26
|
+
rows: [
|
|
27
|
+
{ city: "\u91CD\u5E86", count: 74 },
|
|
28
|
+
{ city: "\u6210\u90FD", count: 72 },
|
|
29
|
+
{ city: "\u6C88\u9633", count: 46 }
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
id: "yc.common.metrics",
|
|
35
|
+
title: "\u6838\u5FC3\u6307\u6807\u6C47\u603B\u5361",
|
|
36
|
+
categories: ["\u5361\u7247\u4E0E\u5C55\u793A"],
|
|
37
|
+
component: index.YcDisplayMetricsCard,
|
|
38
|
+
props: {
|
|
39
|
+
title: "\u672C\u671F\u6536\u7F34\u6982\u89C8",
|
|
40
|
+
subtitle: "2026-11 \u622A\u81F3\u6628\u65E5",
|
|
41
|
+
items: [
|
|
42
|
+
{
|
|
43
|
+
label: "\u5B9E\u6536\u91D1\u989D",
|
|
44
|
+
value: "128,460.00",
|
|
45
|
+
unit: "\u5143",
|
|
46
|
+
trend: "+2.4%",
|
|
47
|
+
trendType: "up"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
label: "\u5F53\u671F\u6536\u7F34\u7387",
|
|
51
|
+
value: "94.6",
|
|
52
|
+
unit: "%",
|
|
53
|
+
description: "\u8F83\u4E0A\u6708\u63D0\u5347"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
id: "yc.common.detail",
|
|
60
|
+
title: "\u7ED3\u6784\u5316\u8BE6\u60C5\u5361",
|
|
61
|
+
categories: ["\u5361\u7247\u4E0E\u5C55\u793A"],
|
|
62
|
+
component: index.YcDisplayDetailCard,
|
|
63
|
+
props: {
|
|
64
|
+
title: "\u91D1\u78A7\u82B1\u56ED18 \xB7 \u623F\u5C4B\u8D26\u5355\u6982\u51B5",
|
|
65
|
+
subtitle: "1\u680B1\u5355\u51430603",
|
|
66
|
+
status: { text: "\u5DF2\u7ED3\u6E05", type: "success" },
|
|
67
|
+
fields: [
|
|
68
|
+
{ label: "\u7F34\u8D39\u4EBA", value: "\u5468\u5F3A\u660E" },
|
|
69
|
+
{ label: "\u6B20\u8D39\u672C\u91D1", value: "0.00 \u5143" },
|
|
70
|
+
{ label: "\u8FDD\u7EA6\u91D1", value: "0.00 \u5143" },
|
|
71
|
+
{ label: "\u5408\u8BA1\u6B20\u8D39", value: "0.00 \u5143" }
|
|
72
|
+
],
|
|
73
|
+
note: "\u5982\u9700\u67E5\u8BE2\u5176\u4ED6\u697C\u5C42\u623F\u53F7\uFF0C\u53EF\u7EE7\u7EED\u8865\u5145\u697C\u5C42\u4FE1\u606F\u3002"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
exports.default = capability;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var component = require('../../utils/src/component.js');
|
|
4
|
+
var tableCard = require('./src/table-card.vue.js');
|
|
5
|
+
var metricsCard = require('./src/metrics-card.vue.js');
|
|
6
|
+
var detailCard = require('./src/detail-card.vue.js');
|
|
7
|
+
|
|
8
|
+
const YcDisplayTableCard = component.withInstall(tableCard.default);
|
|
9
|
+
const YcDisplayMetricsCard = component.withInstall(metricsCard.default);
|
|
10
|
+
const YcDisplayDetailCard = component.withInstall(detailCard.default);
|
|
11
|
+
|
|
12
|
+
exports.YcDisplayDetailCard = YcDisplayDetailCard;
|
|
13
|
+
exports.YcDisplayMetricsCard = YcDisplayMetricsCard;
|
|
14
|
+
exports.YcDisplayTableCard = YcDisplayTableCard;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var detailCard_vue_vue_type_script_setup_true_lang = require('./detail-card2.vue.js');
|
|
6
|
+
var _pluginVue_exportHelper = require('../../../../_virtual/_plugin-vue_export-helper.js');
|
|
7
|
+
|
|
8
|
+
var DetailCard = /* @__PURE__ */ _pluginVue_exportHelper.default(detailCard_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-ceb0fb47"]]);
|
|
9
|
+
|
|
10
|
+
exports.default = DetailCard;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
|
|
7
|
+
const _hoisted_1 = { class: "yc-display-card yc-display-detail-card" };
|
|
8
|
+
const _hoisted_2 = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "yc-display-card__header"
|
|
11
|
+
};
|
|
12
|
+
const _hoisted_3 = { class: "yc-display-card__title-wrap" };
|
|
13
|
+
const _hoisted_4 = {
|
|
14
|
+
key: 0,
|
|
15
|
+
class: "yc-display-card__title"
|
|
16
|
+
};
|
|
17
|
+
const _hoisted_5 = {
|
|
18
|
+
key: 1,
|
|
19
|
+
class: "yc-display-card__subtitle"
|
|
20
|
+
};
|
|
21
|
+
const _hoisted_6 = {
|
|
22
|
+
key: 1,
|
|
23
|
+
class: "yc-display-detail-card__fields"
|
|
24
|
+
};
|
|
25
|
+
const _hoisted_7 = {
|
|
26
|
+
key: 2,
|
|
27
|
+
class: "yc-display-card__empty"
|
|
28
|
+
};
|
|
29
|
+
const _hoisted_8 = {
|
|
30
|
+
key: 3,
|
|
31
|
+
class: "yc-display-detail-card__note"
|
|
32
|
+
};
|
|
33
|
+
var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
34
|
+
...{ name: "YcDisplayDetailCard" },
|
|
35
|
+
__name: "detail-card",
|
|
36
|
+
props: {
|
|
37
|
+
title: { default: "" },
|
|
38
|
+
subtitle: { default: "" },
|
|
39
|
+
status: { default: void 0 },
|
|
40
|
+
fields: { default: () => [] },
|
|
41
|
+
note: { default: "" }
|
|
42
|
+
},
|
|
43
|
+
setup(__props) {
|
|
44
|
+
return (_ctx, _cache) => {
|
|
45
|
+
var _a, _b, _c;
|
|
46
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
47
|
+
__props.title || __props.subtitle || ((_a = __props.status) == null ? void 0 : _a.text) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
|
|
48
|
+
vue.createElementVNode("div", _hoisted_3, [
|
|
49
|
+
__props.title ? (vue.openBlock(), vue.createElementBlock(
|
|
50
|
+
"div",
|
|
51
|
+
_hoisted_4,
|
|
52
|
+
vue.toDisplayString(__props.title),
|
|
53
|
+
1
|
|
54
|
+
/* TEXT */
|
|
55
|
+
)) : vue.createCommentVNode("v-if", true),
|
|
56
|
+
__props.subtitle ? (vue.openBlock(), vue.createElementBlock(
|
|
57
|
+
"div",
|
|
58
|
+
_hoisted_5,
|
|
59
|
+
vue.toDisplayString(__props.subtitle),
|
|
60
|
+
1
|
|
61
|
+
/* TEXT */
|
|
62
|
+
)) : vue.createCommentVNode("v-if", true)
|
|
63
|
+
]),
|
|
64
|
+
((_b = __props.status) == null ? void 0 : _b.text) ? (vue.openBlock(), vue.createElementBlock(
|
|
65
|
+
"span",
|
|
66
|
+
{
|
|
67
|
+
key: 0,
|
|
68
|
+
class: vue.normalizeClass(["yc-display-detail-card__status", `is-${(_c = __props.status.type) != null ? _c : "info"}`])
|
|
69
|
+
},
|
|
70
|
+
vue.toDisplayString(__props.status.text),
|
|
71
|
+
3
|
|
72
|
+
/* TEXT, CLASS */
|
|
73
|
+
)) : vue.createCommentVNode("v-if", true)
|
|
74
|
+
])) : vue.createCommentVNode("v-if", true),
|
|
75
|
+
__props.fields.length ? (vue.openBlock(), vue.createElementBlock("dl", _hoisted_6, [
|
|
76
|
+
(vue.openBlock(true), vue.createElementBlock(
|
|
77
|
+
vue.Fragment,
|
|
78
|
+
null,
|
|
79
|
+
vue.renderList(__props.fields, (field, idx) => {
|
|
80
|
+
return vue.openBlock(), vue.createElementBlock(
|
|
81
|
+
"div",
|
|
82
|
+
{
|
|
83
|
+
key: `${field.label}-${idx}`,
|
|
84
|
+
class: vue.normalizeClass(["yc-display-detail-card__field", { "is-full": field.span === 2 }])
|
|
85
|
+
},
|
|
86
|
+
[
|
|
87
|
+
vue.createElementVNode(
|
|
88
|
+
"dt",
|
|
89
|
+
null,
|
|
90
|
+
vue.toDisplayString(field.label),
|
|
91
|
+
1
|
|
92
|
+
/* TEXT */
|
|
93
|
+
),
|
|
94
|
+
vue.createElementVNode(
|
|
95
|
+
"dd",
|
|
96
|
+
null,
|
|
97
|
+
vue.toDisplayString(field.value === void 0 || field.value === null || field.value === "" ? "\u2014" : field.value),
|
|
98
|
+
1
|
|
99
|
+
/* TEXT */
|
|
100
|
+
)
|
|
101
|
+
],
|
|
102
|
+
2
|
|
103
|
+
/* CLASS */
|
|
104
|
+
);
|
|
105
|
+
}),
|
|
106
|
+
128
|
|
107
|
+
/* KEYED_FRAGMENT */
|
|
108
|
+
))
|
|
109
|
+
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, "\u6682\u65E0\u53EF\u5C55\u793A\u7684\u8BE6\u60C5\u5B57\u6BB5")),
|
|
110
|
+
__props.note ? (vue.openBlock(), vue.createElementBlock(
|
|
111
|
+
"div",
|
|
112
|
+
_hoisted_8,
|
|
113
|
+
vue.toDisplayString(__props.note),
|
|
114
|
+
1
|
|
115
|
+
/* TEXT */
|
|
116
|
+
)) : vue.createCommentVNode("v-if", true)
|
|
117
|
+
]);
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
|
|
122
|
+
exports.default = _sfc_main;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var metricsCard_vue_vue_type_script_setup_true_lang = require('./metrics-card2.vue.js');
|
|
6
|
+
var _pluginVue_exportHelper = require('../../../../_virtual/_plugin-vue_export-helper.js');
|
|
7
|
+
|
|
8
|
+
var MetricsCard = /* @__PURE__ */ _pluginVue_exportHelper.default(metricsCard_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-3598faf5"]]);
|
|
9
|
+
|
|
10
|
+
exports.default = MetricsCard;
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
|
|
7
|
+
const _hoisted_1 = { class: "yc-display-card yc-display-metrics-card" };
|
|
8
|
+
const _hoisted_2 = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "yc-display-card__header"
|
|
11
|
+
};
|
|
12
|
+
const _hoisted_3 = { class: "yc-display-card__title-wrap" };
|
|
13
|
+
const _hoisted_4 = {
|
|
14
|
+
key: 0,
|
|
15
|
+
class: "yc-display-card__title"
|
|
16
|
+
};
|
|
17
|
+
const _hoisted_5 = {
|
|
18
|
+
key: 1,
|
|
19
|
+
class: "yc-display-card__subtitle"
|
|
20
|
+
};
|
|
21
|
+
const _hoisted_6 = {
|
|
22
|
+
key: 1,
|
|
23
|
+
class: "yc-display-metrics-card__grid"
|
|
24
|
+
};
|
|
25
|
+
const _hoisted_7 = { class: "yc-display-metrics-card__label" };
|
|
26
|
+
const _hoisted_8 = { class: "yc-display-metrics-card__value-row" };
|
|
27
|
+
const _hoisted_9 = { class: "yc-display-metrics-card__value" };
|
|
28
|
+
const _hoisted_10 = {
|
|
29
|
+
key: 0,
|
|
30
|
+
class: "yc-display-metrics-card__unit"
|
|
31
|
+
};
|
|
32
|
+
const _hoisted_11 = {
|
|
33
|
+
key: 0,
|
|
34
|
+
class: "yc-display-metrics-card__meta"
|
|
35
|
+
};
|
|
36
|
+
const _hoisted_12 = {
|
|
37
|
+
key: 1,
|
|
38
|
+
class: "yc-display-metrics-card__desc"
|
|
39
|
+
};
|
|
40
|
+
const _hoisted_13 = {
|
|
41
|
+
key: 2,
|
|
42
|
+
class: "yc-display-card__empty"
|
|
43
|
+
};
|
|
44
|
+
var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
45
|
+
...{ name: "YcDisplayMetricsCard" },
|
|
46
|
+
__name: "metrics-card",
|
|
47
|
+
props: {
|
|
48
|
+
title: { default: "" },
|
|
49
|
+
subtitle: { default: "" },
|
|
50
|
+
items: { default: () => [] }
|
|
51
|
+
},
|
|
52
|
+
setup(__props) {
|
|
53
|
+
return (_ctx, _cache) => {
|
|
54
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
55
|
+
__props.title || __props.subtitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
|
|
56
|
+
vue.createElementVNode("div", _hoisted_3, [
|
|
57
|
+
__props.title ? (vue.openBlock(), vue.createElementBlock(
|
|
58
|
+
"div",
|
|
59
|
+
_hoisted_4,
|
|
60
|
+
vue.toDisplayString(__props.title),
|
|
61
|
+
1
|
|
62
|
+
/* TEXT */
|
|
63
|
+
)) : vue.createCommentVNode("v-if", true),
|
|
64
|
+
__props.subtitle ? (vue.openBlock(), vue.createElementBlock(
|
|
65
|
+
"div",
|
|
66
|
+
_hoisted_5,
|
|
67
|
+
vue.toDisplayString(__props.subtitle),
|
|
68
|
+
1
|
|
69
|
+
/* TEXT */
|
|
70
|
+
)) : vue.createCommentVNode("v-if", true)
|
|
71
|
+
])
|
|
72
|
+
])) : vue.createCommentVNode("v-if", true),
|
|
73
|
+
__props.items.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [
|
|
74
|
+
(vue.openBlock(true), vue.createElementBlock(
|
|
75
|
+
vue.Fragment,
|
|
76
|
+
null,
|
|
77
|
+
vue.renderList(__props.items, (item, idx) => {
|
|
78
|
+
var _a;
|
|
79
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
80
|
+
key: `${item.label}-${idx}`,
|
|
81
|
+
class: "yc-display-metrics-card__item"
|
|
82
|
+
}, [
|
|
83
|
+
vue.createElementVNode(
|
|
84
|
+
"div",
|
|
85
|
+
_hoisted_7,
|
|
86
|
+
vue.toDisplayString(item.label),
|
|
87
|
+
1
|
|
88
|
+
/* TEXT */
|
|
89
|
+
),
|
|
90
|
+
vue.createElementVNode("div", _hoisted_8, [
|
|
91
|
+
vue.createElementVNode(
|
|
92
|
+
"span",
|
|
93
|
+
_hoisted_9,
|
|
94
|
+
vue.toDisplayString(item.value),
|
|
95
|
+
1
|
|
96
|
+
/* TEXT */
|
|
97
|
+
),
|
|
98
|
+
item.unit ? (vue.openBlock(), vue.createElementBlock(
|
|
99
|
+
"span",
|
|
100
|
+
_hoisted_10,
|
|
101
|
+
vue.toDisplayString(item.unit),
|
|
102
|
+
1
|
|
103
|
+
/* TEXT */
|
|
104
|
+
)) : vue.createCommentVNode("v-if", true)
|
|
105
|
+
]),
|
|
106
|
+
item.trend || item.description ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11, [
|
|
107
|
+
item.trend ? (vue.openBlock(), vue.createElementBlock(
|
|
108
|
+
"span",
|
|
109
|
+
{
|
|
110
|
+
key: 0,
|
|
111
|
+
class: vue.normalizeClass(["yc-display-metrics-card__trend", `is-${(_a = item.trendType) != null ? _a : "neutral"}`])
|
|
112
|
+
},
|
|
113
|
+
vue.toDisplayString(item.trend),
|
|
114
|
+
3
|
|
115
|
+
/* TEXT, CLASS */
|
|
116
|
+
)) : vue.createCommentVNode("v-if", true),
|
|
117
|
+
item.description ? (vue.openBlock(), vue.createElementBlock(
|
|
118
|
+
"span",
|
|
119
|
+
_hoisted_12,
|
|
120
|
+
vue.toDisplayString(item.description),
|
|
121
|
+
1
|
|
122
|
+
/* TEXT */
|
|
123
|
+
)) : vue.createCommentVNode("v-if", true)
|
|
124
|
+
])) : vue.createCommentVNode("v-if", true)
|
|
125
|
+
]);
|
|
126
|
+
}),
|
|
127
|
+
128
|
|
128
|
+
/* KEYED_FRAGMENT */
|
|
129
|
+
))
|
|
130
|
+
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_13, "\u6682\u65E0\u53EF\u5C55\u793A\u7684\u6307\u6807\u6570\u636E"))
|
|
131
|
+
]);
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
});
|
|
135
|
+
|
|
136
|
+
exports.default = _sfc_main;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var tableCard_vue_vue_type_script_setup_true_lang = require('./table-card2.vue.js');
|
|
6
|
+
var _pluginVue_exportHelper = require('../../../../_virtual/_plugin-vue_export-helper.js');
|
|
7
|
+
|
|
8
|
+
var TableCard = /* @__PURE__ */ _pluginVue_exportHelper.default(tableCard_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-8a770ce3"]]);
|
|
9
|
+
|
|
10
|
+
exports.default = TableCard;
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
|
|
7
|
+
const _hoisted_1 = { class: "yc-display-card yc-display-table-card" };
|
|
8
|
+
const _hoisted_2 = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "yc-display-card__header"
|
|
11
|
+
};
|
|
12
|
+
const _hoisted_3 = { class: "yc-display-card__title-wrap" };
|
|
13
|
+
const _hoisted_4 = {
|
|
14
|
+
key: 0,
|
|
15
|
+
class: "yc-display-card__title"
|
|
16
|
+
};
|
|
17
|
+
const _hoisted_5 = {
|
|
18
|
+
key: 1,
|
|
19
|
+
class: "yc-display-card__subtitle"
|
|
20
|
+
};
|
|
21
|
+
const _hoisted_6 = { class: "yc-display-card__badge" };
|
|
22
|
+
const _hoisted_7 = {
|
|
23
|
+
key: 1,
|
|
24
|
+
class: "yc-display-table-card__summary"
|
|
25
|
+
};
|
|
26
|
+
const _hoisted_8 = { class: "yc-display-table-card__summary-label" };
|
|
27
|
+
const _hoisted_9 = { class: "yc-display-table-card__summary-value" };
|
|
28
|
+
const _hoisted_10 = { class: "yc-display-table-card__scroll" };
|
|
29
|
+
const _hoisted_11 = {
|
|
30
|
+
key: 0,
|
|
31
|
+
class: "yc-display-table-card__table"
|
|
32
|
+
};
|
|
33
|
+
const _hoisted_12 = {
|
|
34
|
+
key: 1,
|
|
35
|
+
class: "yc-display-card__empty"
|
|
36
|
+
};
|
|
37
|
+
const _hoisted_13 = {
|
|
38
|
+
key: 2,
|
|
39
|
+
class: "yc-display-card__footer"
|
|
40
|
+
};
|
|
41
|
+
var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
42
|
+
...{ name: "YcDisplayTableCard" },
|
|
43
|
+
__name: "table-card",
|
|
44
|
+
props: {
|
|
45
|
+
title: { default: "" },
|
|
46
|
+
subtitle: { default: "" },
|
|
47
|
+
columns: { default: () => [] },
|
|
48
|
+
rows: { default: () => [] },
|
|
49
|
+
summary: { default: () => [] },
|
|
50
|
+
maxRows: { default: 10 }
|
|
51
|
+
},
|
|
52
|
+
setup(__props) {
|
|
53
|
+
const props = __props;
|
|
54
|
+
const expanded = vue.ref(false);
|
|
55
|
+
const normalizedColumns = vue.computed(() => {
|
|
56
|
+
if (props.columns.length > 0) return props.columns;
|
|
57
|
+
const first = props.rows[0];
|
|
58
|
+
if (!first || typeof first !== "object") return [];
|
|
59
|
+
return Object.keys(first).map((key) => ({ key, label: key }));
|
|
60
|
+
});
|
|
61
|
+
const hasMore = vue.computed(() => props.rows.length > props.maxRows);
|
|
62
|
+
const visibleRows = vue.computed(
|
|
63
|
+
() => expanded.value || !hasMore.value ? props.rows : props.rows.slice(0, props.maxRows)
|
|
64
|
+
);
|
|
65
|
+
function formatCell(row, col) {
|
|
66
|
+
const raw = row == null ? void 0 : row[col.key];
|
|
67
|
+
if (raw === void 0 || raw === null || raw === "") return "\u2014";
|
|
68
|
+
const text = typeof raw === "object" ? JSON.stringify(raw) : String(raw);
|
|
69
|
+
return col.unit ? `${text} ${col.unit}` : text;
|
|
70
|
+
}
|
|
71
|
+
return (_ctx, _cache) => {
|
|
72
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
73
|
+
__props.title || __props.subtitle || __props.rows.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
|
|
74
|
+
vue.createElementVNode("div", _hoisted_3, [
|
|
75
|
+
__props.title ? (vue.openBlock(), vue.createElementBlock(
|
|
76
|
+
"div",
|
|
77
|
+
_hoisted_4,
|
|
78
|
+
vue.toDisplayString(__props.title),
|
|
79
|
+
1
|
|
80
|
+
/* TEXT */
|
|
81
|
+
)) : vue.createCommentVNode("v-if", true),
|
|
82
|
+
__props.subtitle ? (vue.openBlock(), vue.createElementBlock(
|
|
83
|
+
"div",
|
|
84
|
+
_hoisted_5,
|
|
85
|
+
vue.toDisplayString(__props.subtitle),
|
|
86
|
+
1
|
|
87
|
+
/* TEXT */
|
|
88
|
+
)) : vue.createCommentVNode("v-if", true)
|
|
89
|
+
]),
|
|
90
|
+
vue.createElementVNode(
|
|
91
|
+
"span",
|
|
92
|
+
_hoisted_6,
|
|
93
|
+
"\u5171 " + vue.toDisplayString(__props.rows.length) + " \u6761",
|
|
94
|
+
1
|
|
95
|
+
/* TEXT */
|
|
96
|
+
)
|
|
97
|
+
])) : vue.createCommentVNode("v-if", true),
|
|
98
|
+
__props.summary.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
|
|
99
|
+
(vue.openBlock(true), vue.createElementBlock(
|
|
100
|
+
vue.Fragment,
|
|
101
|
+
null,
|
|
102
|
+
vue.renderList(__props.summary, (item) => {
|
|
103
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
104
|
+
key: item.label,
|
|
105
|
+
class: "yc-display-table-card__summary-item"
|
|
106
|
+
}, [
|
|
107
|
+
vue.createElementVNode(
|
|
108
|
+
"span",
|
|
109
|
+
_hoisted_8,
|
|
110
|
+
vue.toDisplayString(item.label),
|
|
111
|
+
1
|
|
112
|
+
/* TEXT */
|
|
113
|
+
),
|
|
114
|
+
vue.createElementVNode(
|
|
115
|
+
"strong",
|
|
116
|
+
_hoisted_9,
|
|
117
|
+
vue.toDisplayString(item.value),
|
|
118
|
+
1
|
|
119
|
+
/* TEXT */
|
|
120
|
+
)
|
|
121
|
+
]);
|
|
122
|
+
}),
|
|
123
|
+
128
|
|
124
|
+
/* KEYED_FRAGMENT */
|
|
125
|
+
))
|
|
126
|
+
])) : vue.createCommentVNode("v-if", true),
|
|
127
|
+
vue.createElementVNode("div", _hoisted_10, [
|
|
128
|
+
normalizedColumns.value.length && __props.rows.length ? (vue.openBlock(), vue.createElementBlock("table", _hoisted_11, [
|
|
129
|
+
vue.createElementVNode("thead", null, [
|
|
130
|
+
vue.createElementVNode("tr", null, [
|
|
131
|
+
(vue.openBlock(true), vue.createElementBlock(
|
|
132
|
+
vue.Fragment,
|
|
133
|
+
null,
|
|
134
|
+
vue.renderList(normalizedColumns.value, (col) => {
|
|
135
|
+
var _a;
|
|
136
|
+
return vue.openBlock(), vue.createElementBlock(
|
|
137
|
+
"th",
|
|
138
|
+
{
|
|
139
|
+
key: col.key,
|
|
140
|
+
style: vue.normalizeStyle({ textAlign: (_a = col.align) != null ? _a : "left" })
|
|
141
|
+
},
|
|
142
|
+
vue.toDisplayString(col.label),
|
|
143
|
+
5
|
|
144
|
+
/* TEXT, STYLE */
|
|
145
|
+
);
|
|
146
|
+
}),
|
|
147
|
+
128
|
|
148
|
+
/* KEYED_FRAGMENT */
|
|
149
|
+
))
|
|
150
|
+
])
|
|
151
|
+
]),
|
|
152
|
+
vue.createElementVNode("tbody", null, [
|
|
153
|
+
(vue.openBlock(true), vue.createElementBlock(
|
|
154
|
+
vue.Fragment,
|
|
155
|
+
null,
|
|
156
|
+
vue.renderList(visibleRows.value, (row, idx) => {
|
|
157
|
+
return vue.openBlock(), vue.createElementBlock("tr", { key: idx }, [
|
|
158
|
+
(vue.openBlock(true), vue.createElementBlock(
|
|
159
|
+
vue.Fragment,
|
|
160
|
+
null,
|
|
161
|
+
vue.renderList(normalizedColumns.value, (col) => {
|
|
162
|
+
var _a;
|
|
163
|
+
return vue.openBlock(), vue.createElementBlock(
|
|
164
|
+
"td",
|
|
165
|
+
{
|
|
166
|
+
key: col.key,
|
|
167
|
+
style: vue.normalizeStyle({ textAlign: (_a = col.align) != null ? _a : "left" })
|
|
168
|
+
},
|
|
169
|
+
vue.toDisplayString(formatCell(row, col)),
|
|
170
|
+
5
|
|
171
|
+
/* TEXT, STYLE */
|
|
172
|
+
);
|
|
173
|
+
}),
|
|
174
|
+
128
|
|
175
|
+
/* KEYED_FRAGMENT */
|
|
176
|
+
))
|
|
177
|
+
]);
|
|
178
|
+
}),
|
|
179
|
+
128
|
|
180
|
+
/* KEYED_FRAGMENT */
|
|
181
|
+
))
|
|
182
|
+
])
|
|
183
|
+
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_12, "\u6682\u65E0\u53EF\u5C55\u793A\u7684\u8868\u683C\u6570\u636E"))
|
|
184
|
+
]),
|
|
185
|
+
hasMore.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13, [
|
|
186
|
+
vue.createElementVNode(
|
|
187
|
+
"button",
|
|
188
|
+
{
|
|
189
|
+
type: "button",
|
|
190
|
+
class: "yc-display-card__toggle",
|
|
191
|
+
onClick: _cache[0] || (_cache[0] = ($event) => expanded.value = !expanded.value)
|
|
192
|
+
},
|
|
193
|
+
vue.toDisplayString(expanded.value ? "\u6536\u8D77\u660E\u7EC6" : `\u5C55\u5F00\u5168\u90E8 ${__props.rows.length} \u884C`),
|
|
194
|
+
1
|
|
195
|
+
/* TEXT */
|
|
196
|
+
)
|
|
197
|
+
])) : vue.createCommentVNode("v-if", true)
|
|
198
|
+
]);
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
});
|
|
202
|
+
|
|
203
|
+
exports.default = _sfc_main;
|